Fix some property types in qbs' qbs project file.

"property path" is wrong for these; they're just strings.

Change-Id: I050b937ee213441a1d19e48a60eef58cfa6b3ba7
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix installation of library in qbs project file.

There were two bugs:
    - For a static build, the library was not installed.
    - For a shared build, the symlinks were not installed.

Change-Id: Ib34b733ca59d6ad27b91663ed0527ed50ef6aa99
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Store the right build configuration.

The build config we serialized did not contain overridden values.

Change-Id: Ie2841466dc49ad67e7b8f397398533e0e13df207
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Separate between overridden values and others in command-line frontend.

The current code is too simplistic in that it just pretends the whole
configuration was explicitly set on the command line. This can lead to
precedence problems regarding module properties set in project files and
profiles.

Change-Id: I50113486159308a9660be7b86d2e2240527df73e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Rename "qbsPath" preference setting to "qbsSearchPaths".

The old name is grammatically incorrect and also not descriptive enough.
The new one is also consistent with the project and product
properties that amend the respective setting.

Change-Id: I7be6b3d986fdb1f232623bf9b471ab21e04ed9f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Clean up manual tests.

Turn some manual tests that add coverage of a feature into autotests.
Turn some manual tests that demonstrate a feature into examples.
Remove some manual tests that do neither.

Change-Id: Ie54005e1ba5aad07319eb864cc5ad70e26308080
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add documentation for "global" built-in functions.

Change-Id: Iba2a19d182da70b761f33532d47b0c43dfbf6ae5
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Fix broken property reference.

Change-Id: I1a1e68e1e866bde33e6002125eb79eff20e52c88
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Add missing include statement.

Currently compiles without, but that's a coincidence.

Change-Id: Ifc48a2bdef3b71ab49771678ba1c1aa0a152c03a
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix file tagger pattern matching.

When first creating a FileTagger object, we implicitly set the pattern
syntax to "RegExp". On restoring, we set it to "WildCard".
We now use wildcards always, as the documentation says.
Note that the only reason the bug has not manifested itself yet is that
the shortcut in FileInfo::globMatches() catches all our existing file
tags.

Change-Id: Ibedb54fb3a890ae6ab35a8f073d85cc4ebfc36bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix filetag for "C" file extension.

Such files should be considered C++, not C.

Change-Id: Ifc9608eb5196b250694f0dec2a769a1f65c11a79
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add missing description for "ln" commands.

These missing descriptions are the cause for weird empty lines appearing
in Qt Creator's compile output.

Change-Id: I67af9adf816496595d5fd3d8bdb372e06aa7c8b1
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Doc: document the remaining language items and their properties.

Task-number: QBS-203

Change-Id: I1f0bd6b3861e3887a21088f0dea4d24b83c0736e
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix autotest.

The "raw backslash" case does not add anything of use, and most likely
produces invalid C++.

Change-Id: I6d86d2e3a9a4cb3ff7682c5e97475c3e7d5a1c6b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Prevent the .gitignore file from being packaged by git-archive.

Change-Id: I2a8ebd755ab2c12c0b0f3ca97a5ee48184674e8d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
fix static build

Change-Id: Idd750eca86e123e01a61b68046115b54e951ae40
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix use_installed.pri

The lib version number must be taken into account.

Change-Id: Ic97dc43ef526e8f528c94ed15d92e498b143fc7d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
fix crash on missing Depends items in Export items

Task-number: QBS-442

Change-Id: I6f08ca595665fca35451027c79be99f5ebcefb9f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix look-up of scalar module properties.

These must not be searched for recursively. For instance, if such a
property is set to different values in different instantiating modules,
there is no sensible heuristic which value should be used. The current
implementation just takes the one found first, which is just as wrong as
any other solution that looks beyond what is set directly in the product
or artifact.

Change-Id: I65c29538a437872e2d1e1c4043f2c5cfa301ebb9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
make qbs-config-ui a non-console application

Task-number: QBS-445

Change-Id: Ib26846fefb620e4ade6b7d7b727e21fdf44b9103
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>