Do lazy allocation of CodeLocation's private pointer.

Objects created using the default constructor are always overwritten
with a new one, so we do not need to create the private pointer for
those. This actually has a measurable effect, since there are a lot
of default-initialized CodeLocation objects (e.g. each item has one).

Change-Id: Ice53242cd22b4f2ac883bb29f6f186f287a455d6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
fix warning in autotest

Give the command a proper description.

Change-Id: I7598197262a5ed77403af7fba361589def6c0063
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix compilation on Windows.

Apparently, the friend declaration needs to have the linkage specified
as well.

Change-Id: Ied1d8c6a69688d82dba041ec42cd2ede4da5a55e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
libqtprofilesetup: Fix some module names for Qt 4.

The internal name does not have the "qt" prefix.

Change-Id: Idccab0f7debefdc6657750528d9ec31dfbe16075
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Do not match files in build directories as source files.

This can currently happen if the user builds in the source dir and uses
recursive wildcards.

Change-Id: I5f3be03313640af046478ca55a381f14605176d4
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
purge superfluous Q_UNUSEDs

Change-Id: I8c5a8550d033585749f49b042785d310f6f6a21e
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
remove documentation for non-existent property

Change-Id: Ic5308c126298c0d8452fb79d9066aaf12a4beedd
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix command line parser tests.

Some of these tests succeeded for the wrong reason.

Change-Id: I3b7cffb871b512aed1c41d217f58a0d1e0599ad6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
make the MinGW build of setup-qt work for non-admin users

We now embed a manifest in the MinGW build of qbs-setup-qt.

Task-number: QBS-275
Change-Id: Id984987a57850c0aed23a7c6852c15e447a2f096
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
make jsextensions docs known to Qt Creator

Change-Id: I1c00a577b8b94c5114138b35da1f7e15ddad3344
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Doc: extensions to JavaScript built-ins

Change-Id: Ia19ed4f48e19c28a2a78d294d4671e3efaf32c9c
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
introduce Array.uniqueConcat

Preparation for fixing QBS-501.

Change-Id: I00fee37347e320de4a598da093a8eb99df934d55
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
check for unknown item types in modules too

Change-Id: Ie1d2aad08fc08c597a76dec045da3d6017a0d058
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
remove ModUtils.uniqueConcat in favor of Array.uniqueConcat

Change-Id: Ia74e0733006066529f1c257f1f1ebab7446a7142
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix duplicate arguments in linker command line

Task-number: QBS-501

Change-Id: I103041729bcdef35bd62a3ed8ec9190c684d17b5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Small refactoring in Executor.

- Reduce the scope of some code only relevant to one respective
function.
- Introduce small functions for identifiable tasks.
As a result, the top-level build function becomes less cluttered and it
is easier to grasp what is going on.

Change-Id: I4a12ad0f3f94211630460d4e51cd0bdfec3c4166
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix handling additionalProductFileTags

Rules that produce additionalProductFileTags added to the rule graph,
but they are not reachable from the product.
'additionalProductFileTags' declared deprecated in product scope, because
it's enough to use 'Product.type' property, as it can hold the list of
file tags). 'Module.additionalProductFileTags' property renamed to
'additionalProductTypes' as it's more appropriate name.

Change-Id: I6e55199162b29dace5bbbad7e2c9eda46f47f424
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Merge remote-tracking branch 'origin/1.1'

Change-Id: Ieeeeb2a30358031b11a902e97c8b8a0046df76d6