<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qbs.git/src/lib/corelib/language/projectresolver.cpp, branch 1.3</title>
<subtitle>code.qt.io: qbs/qbs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/'/>
<entry>
<title>Don't evaluate module properties twice for groups with fileTagsFilter.</title>
<updated>2015-02-17T12:20:47+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@theqtcompany.com</email>
</author>
<published>2015-02-17T10:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=4492084b6e0c6b277326131cf917325ec5173e3a'/>
<id>4492084b6e0c6b277326131cf917325ec5173e3a</id>
<content type='text'>
Change-Id: Ib7c1f1b6b35a0ca7d5794da72cc1de3d5068eac2
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib7c1f1b6b35a0ca7d5794da72cc1de3d5068eac2
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Amend property evaluation optimization.</title>
<updated>2015-02-16T09:52:44+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@theqtcompany.com</email>
</author>
<published>2015-02-13T16:44:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=59c61da6ec4027c0a52a57a6357f58a07f2e1a96'/>
<id>59c61da6ec4027c0a52a57a6357f58a07f2e1a96</id>
<content type='text'>
There is code further down in the chain (e.g. setupBuildEnvironment())
that expects the first module instance it finds to contain the right
definition for all its properties. So make sure that is the case.

Change-Id: I55f10d626f5be7ec8502f54e0b1a9673df0b5d93
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is code further down in the chain (e.g. setupBuildEnvironment())
that expects the first module instance it finds to contain the right
definition for all its properties. So make sure that is the case.

Change-Id: I55f10d626f5be7ec8502f54e0b1a9673df0b5d93
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't evaluate properties that will never be seen.</title>
<updated>2015-02-13T14:33:12+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@theqtcompany.com</email>
</author>
<published>2015-02-12T17:33:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=f53d724eec925180e94cda4bd7db6b86eba0f82b'/>
<id>f53d724eec925180e94cda4bd7db6b86eba0f82b</id>
<content type='text'>
During project resolving, we can make use of our knowledge
of how the PropertyFinder works, skipping evaluation for
"shadowed" properties.
In the long term, we might want to get rid of the nested
modules map altogether and replace it with a "flat" map
(with special support for mergeable list values).

Task-number: QBS-746
Change-Id: I75f62239daadce1f8826444a2e3b3a51d581df98
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During project resolving, we can make use of our knowledge
of how the PropertyFinder works, skipping evaluation for
"shadowed" properties.
In the long term, we might want to get rid of the nested
modules map altogether and replace it with a "flat" map
(with special support for mergeable list values).

Task-number: QBS-746
Change-Id: I75f62239daadce1f8826444a2e3b3a51d581df98
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix scalar property lookup some more</title>
<updated>2015-02-10T10:57:56+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@theqtcompany.com</email>
</author>
<published>2015-02-09T13:36:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=6cd2ec6266f29d08ed337357049faea7a93c1b7c'/>
<id>6cd2ec6266f29d08ed337357049faea7a93c1b7c</id>
<content type='text'>
Let there be a product P that depends on module A. Module A depends on
module B.A sets B.foo to 1. Default value of B.foo is 0.  The value of
product.moduleProperty("B", "foo") is 1.

Now add the direct dependency B to P. P does not overwrite the default
value of B.foo. The overwritten value of B.foo from A takes
precedence.

This semantics change is needed to make sure that adding/removing
modules to a product does not change property values in surprising
ways.

Task-number: QBS-736
Change-Id: I73152a24649bc670a9075e82998ef2b0d8709a84
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let there be a product P that depends on module A. Module A depends on
module B.A sets B.foo to 1. Default value of B.foo is 0.  The value of
product.moduleProperty("B", "foo") is 1.

Now add the direct dependency B to P. P does not overwrite the default
value of B.foo. The overwritten value of B.foo from A takes
precedence.

This semantics change is needed to make sure that adding/removing
modules to a product does not change property values in surprising
ways.

Task-number: QBS-736
Change-Id: I73152a24649bc670a9075e82998ef2b0d8709a84
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix look-up of scalar properties</title>
<updated>2015-01-29T15:19:02+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@theqtcompany.com</email>
</author>
<published>2015-01-29T13:10:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=db0dc474c2bea9a108f0ae4b7575cfab395556e2'/>
<id>db0dc474c2bea9a108f0ae4b7575cfab395556e2</id>
<content type='text'>
The property map of a product used to contain all modules of the
dependency tree as direct children. The same was true for the
product's Item. This setup was done in
ModuleLoader::createAdditionalModuleInstancesInProduct.
The whole approach led to problems when retrieving module values
from modules deeper in the dependency hierarchy. Basic idea of this
fix is to make ProjectResolver::resolveModule recursively walk the
module dependency tree instead of trying to gather information on the
root level.

Change-Id: Icf1325272f90d7924437f41ca6f403d7264ce84c
Task-number: QBS-726
Task-number: QBS-706
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The property map of a product used to contain all modules of the
dependency tree as direct children. The same was true for the
product's Item. This setup was done in
ModuleLoader::createAdditionalModuleInstancesInProduct.
The whole approach led to problems when retrieving module values
from modules deeper in the dependency hierarchy. Basic idea of this
fix is to make ProjectResolver::resolveModule recursively walk the
module dependency tree instead of trying to gather information on the
root level.

Change-Id: Icf1325272f90d7924437f41ca6f403d7264ce84c
Task-number: QBS-726
Task-number: QBS-706
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update License</title>
<updated>2015-01-26T11:31:29+00:00</updated>
<author>
<name>Eike Ziller</name>
<email>eike.ziller@theqtcompany.com</email>
</author>
<published>2015-01-15T09:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=8dc50118a0ece90a997aaa93cd834dbd75f90639'/>
<id>8dc50118a0ece90a997aaa93cd834dbd75f90639</id>
<content type='text'>
Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>more fine-grained cache disabling</title>
<updated>2015-01-21T11:36:30+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@theqtcompany.com</email>
</author>
<published>2015-01-20T15:52:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=ff18f6944becdfb77f3294af80d5b7e9f8688fef'/>
<id>ff18f6944becdfb77f3294af80d5b7e9f8688fef</id>
<content type='text'>
Disable caching only for properties that reference product in some way.
This fixes the performance regression introduced by 0d477159e6.
Additionally, the property cache in ModuleProperties must be disabled
too. Otherwise we might return wrong cached values.

Task-number: QBS-729
Task-number: QBS-732
Change-Id: I4c46e4c5ddf20053851d7ee5e9a51f6f3f082a6d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable caching only for properties that reference product in some way.
This fixes the performance regression introduced by 0d477159e6.
Additionally, the property cache in ModuleProperties must be disabled
too. Otherwise we might return wrong cached values.

Task-number: QBS-729
Task-number: QBS-732
Change-Id: I4c46e4c5ddf20053851d7ee5e9a51f6f3f082a6d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix product variable in Export items</title>
<updated>2015-01-20T11:06:01+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@theqtcompany.com</email>
</author>
<published>2015-01-19T10:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=0d477159e67ef4e0dd665b8c5ba8850b11145afe'/>
<id>0d477159e67ef4e0dd665b8c5ba8850b11145afe</id>
<content type='text'>
Consider a module M that's exported by Product B.
Product A depends on product B and thus depends on M.
This patch fixes the product variable in M that was referring to the
exporting product B, not the importing product A.

Task-number: QBS-729
Change-Id: Ia30b7159aa5d5ec37fe6257300e6c16205141f86
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consider a module M that's exported by Product B.
Product A depends on product B and thus depends on M.
This patch fixes the product variable in M that was referring to the
exporting product B, not the importing product A.

Task-number: QBS-729
Change-Id: Ia30b7159aa5d5ec37fe6257300e6c16205141f86
Reviewed-by: Christian Kandeler &lt;christian.kandeler@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix compilation with minimal Qt configuration</title>
<updated>2014-12-23T11:19:17+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@theqtcompany.com</email>
</author>
<published>2014-12-23T10:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=83437f04cc5a98be615294eab04a8e24bfb54d69'/>
<id>83437f04cc5a98be615294eab04a8e24bfb54d69</id>
<content type='text'>
Add missing includes.

Change-Id: I8473af332919ef4c2d9e66f56c6d15b136ec3a54
Task-number: QBS-719
Reviewed-by: Jake Petroules &lt;jake.petroules@petroules.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing includes.

Change-Id: I8473af332919ef4c2d9e66f56c6d15b136ec3a54
Task-number: QBS-719
Reviewed-by: Jake Petroules &lt;jake.petroules@petroules.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>License update.</title>
<updated>2014-10-16T10:05:13+00:00</updated>
<author>
<name>Eike Ziller</name>
<email>eike.ziller@theqtcompany.com</email>
</author>
<published>2014-10-15T13:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=d3e83e2345bc84658de6764f43a088cc8a117898'/>
<id>d3e83e2345bc84658de6764f43a088cc8a117898</id>
<content type='text'>
Add LGPLv3 option.

Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add LGPLv3 option.

Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
