<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qbs.git/src/lib/buildgraph/rulesevaluationcontext.cpp, branch dynablaster</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>Some minor improvements to the Error class.</title>
<updated>2013-06-18T08:57:25+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2013-06-14T08:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=b1d926024ddded2a43cc182c2d97839bb528def4'/>
<id>b1d926024ddded2a43cc182c2d97839bb528def4</id>
<content type='text'>
- Rename "Error" to "ErrorInfo", to make clear that this class conveys
information about errors, including that there might not actually be
one.
- Rename "ErrorData" to "ErrorItem", to make clear that these are parts
of an aggregate structure.
- Introduce ErrorInfo::hasError() for quick checking of whether an error
occurred.

Change-Id: Icea6ed5240d6d14bd30e9cea189c6babd7004792
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rename "Error" to "ErrorInfo", to make clear that this class conveys
information about errors, including that there might not actually be
one.
- Rename "ErrorData" to "ErrorItem", to make clear that these are parts
of an aggregate structure.
- Introduce ErrorInfo::hasError() for quick checking of whether an error
occurred.

Change-Id: Icea6ed5240d6d14bd30e9cea189c6babd7004792
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Help compiler with branch prediction.</title>
<updated>2013-04-12T13:10:46+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2013-04-12T07:43:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=6c64c84c7fd22f82d4ed423d57889a65e72097b8'/>
<id>6c64c84c7fd22f82d4ed423d57889a65e72097b8</id>
<content type='text'>
Mark error checks in potentially performance-sensitive
contexts with Q_UNLIKELY. Actual benefits unknown,
but it cannot hurt.

Change-Id: If3d2375965e6342b5d7a0b46ad2c8a41fd3567d0
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mark error checks in potentially performance-sensitive
contexts with Q_UNLIKELY. Actual benefits unknown,
but it cannot hurt.

Change-Id: If3d2375965e6342b5d7a0b46ad2c8a41fd3567d0
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cache Rule.prepare scripts as function objects</title>
<updated>2013-03-27T09:19:13+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@digia.com</email>
</author>
<published>2013-03-25T17:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=fabbefc70fe6308436cf6b4e32ba8c7b0d62da6e'/>
<id>fabbefc70fe6308436cf6b4e32ba8c7b0d62da6e</id>
<content type='text'>
For Rule.prepare a function object is created on demand. This function
object is called on every rule application. The QScriptProgram cache
turns out to be quite useless.

This caching approach saves roughly 5% of time of the whole resolve
phase.

Magic persistence number changed, because the createCommands
method now expects prepare scripts in function form.

Change-Id: Ie531dcfb5f21578548a5961ddaa6086ae441a2b0
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Rule.prepare a function object is created on demand. This function
object is called on every rule application. The QScriptProgram cache
turns out to be quite useless.

This caching approach saves roughly 5% of time of the whole resolve
phase.

Magic persistence number changed, because the createCommands
method now expects prepare scripts in function form.

Change-Id: Ie531dcfb5f21578548a5961ddaa6086ae441a2b0
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replace Q_ASSERT with QBS_ASSERT / QBS_CHECK</title>
<updated>2013-02-14T15:29:33+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@digia.com</email>
</author>
<published>2013-02-08T16:59:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=ae7a95dedfe93dcd4841d833e79b61c71f06c87a'/>
<id>ae7a95dedfe93dcd4841d833e79b61c71f06c87a</id>
<content type='text'>
Change-Id: I9f4d43b9b7be7e4ce814963d1feee81605a9d2eb
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9f4d43b9b7be7e4ce814963d1feee81605a9d2eb
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove global log sink.</title>
<updated>2013-02-06T09:36:05+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2013-01-31T17:23:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=aea6cbfa9d96f3f76bbc3b81362c54c9322b3fcb'/>
<id>aea6cbfa9d96f3f76bbc3b81362c54c9322b3fcb</id>
<content type='text'>
Applications may not want to use the same log sink for all builds.

The logging facility is also decoupled from the command-line client in other
ways:
    - The LogWriter modifiers for output channel and text color are gone,
      since this type of decision should not be made by low-level code.
      Instead, the "highlight" string can be forwarded to the log sink.
    - The console logger now lives in app/shared, as it must never be used
      by library code.

Change-Id: I8863a554c9b74577320ef23f6f934a74e0f0cbb0
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Applications may not want to use the same log sink for all builds.

The logging facility is also decoupled from the command-line client in other
ways:
    - The LogWriter modifiers for output channel and text color are gone,
      since this type of decision should not be made by low-level code.
      Instead, the "highlight" string can be forwarded to the log sink.
    - The console logger now lives in app/shared, as it must never be used
      by library code.

Change-Id: I8863a554c9b74577320ef23f6f934a74e0f0cbb0
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyright year</title>
<updated>2013-01-09T13:51:06+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@digia.com</email>
</author>
<published>2013-01-09T13:28:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=5c30d81b8c0fe398a35465e962b941bcdf05e792'/>
<id>5c30d81b8c0fe398a35465e962b941bcdf05e792</id>
<content type='text'>
Change-Id: Ic2962e57ede037b910d7e77b01b0163f0a22cb7d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic2962e57ede037b910d7e77b01b0163f0a22cb7d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Some engine-related optimizations.</title>
<updated>2012-12-05T10:10:57+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2012-11-30T09:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=a42474e5ce1c06ef2bfdc5d0ce8098b8e43be22b'/>
<id>a42474e5ce1c06ef2bfdc5d0ce8098b8e43be22b</id>
<content type='text'>
- Re-enable script program cache; it is safe to use now.
- Create a new evaluation context only for the first build of a project.
- To help with all of this, use a shared pointer for
  RulesEvaluationContext, as it does not have a clear owner.

Change-Id: I90a7fcaf855573b756f29daff37038e98aa7c1fe
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Re-enable script program cache; it is safe to use now.
- Create a new evaluation context only for the first build of a project.
- To help with all of this, use a shared pointer for
  RulesEvaluationContext, as it does not have a clear owner.

Change-Id: I90a7fcaf855573b756f29daff37038e98aa7c1fe
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Split up buildgraph.h and buildgraph.cpp.</title>
<updated>2012-12-04T10:49:46+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2012-11-29T16:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=c552cb2ab5c3be9d2c6209b076a71c9e37209c29'/>
<id>c552cb2ab5c3be9d2c6209b076a71c9e37209c29</id>
<content type='text'>
Move things to the appropriate places.

Change-Id: I2f201ccdf9c465a8c3201e229629b756cc258495
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move things to the appropriate places.

Change-Id: I2f201ccdf9c465a8c3201e229629b756cc258495
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move engine-related functionality out of BuildGraph.</title>
<updated>2012-12-03T10:07:09+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@digia.com</email>
</author>
<published>2012-11-29T15:25:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qbs.git/commit/?id=29150c3efdf0afee63317486760bc7b7a30cac3d'/>
<id>29150c3efdf0afee63317486760bc7b7a30cac3d</id>
<content type='text'>
Change-Id: I5da16ea99bce3e6f737f37770fb0fe3e2e5c0214
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5da16ea99bce3e6f737f37770fb0fe3e2e5c0214
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
