Use getNativeSetting instead of sw_vers for increased performance.

Change-Id: I9dd122b592870eecd8bb011c52fc88e6374a4fce
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix "addedFilePersistent" autotest.

This one failed in about 1 of 1000 runs (Windows only), presumably
because the OS sometimes flushes the file to disk on its own, so that
our call to waitForNewTimestamp() came too late.

Change-Id: I3866ea9d081549e8a7daa33733f581f8cc96d97e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Use the same string conversion functions names as in QtCore.

Change-Id: I1e120436a2cdc4503004dd1b981d2b059313c7b9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Use localizedDescription instead of description when printing NSErrors.

This messages will be much more user-friendly and context-appropriate.

Change-Id: I57cf08f9c3f866e65cd506ffb9a7fda3304933c2
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Properly retain/release the propertyListObject held by the plist object.

Change-Id: I0e47a41ee9206ac91fa890af443e3c660183d1a8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix potential uncaught exception when reading files with PropertyList.

Change-Id: I4182704fa75b15a24c9d8dfceba02f40fc57928b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Rename PropertyList API functions for better self-documentation.

Change-Id: I5435e99c68646340bf6a2608819cfaef31146646
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add support for reading JSON plists in the PropertyList extension.

Change-Id: I3e0386373c2b4a530a9c4c77f5db6d84c7d0043f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add support for reading the plist format in the PropertyList extension.

Change-Id: I6ed526b13e0cc418b89c3d95fad04e930049b08c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Improvements to fuzzy test.

- When checking out a commit, also update the submodules.
- Check for non-zero exit codes from git.
- Print information when a faulty commit was detected.

Change-Id: I8171a81899f97fbdaf76ffd49af42a2a46e1a62a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Shut up warning by stupid compilers.

Change-Id: I90b8e60680aa1d6d2f02a6a4f91ab5bf218c64c8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
introduce qbs::LanguageInfo class

This public API can be used to get information about the qbs
language items. Currently it's only used for qbs-qmltypes.
This change will enable us to un-export ScriptEngine and Loader.

Change-Id: I0c92c7f6e37f6444c51198729cbb5435dc90bb40
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Include languageinfo.h in qbs.h.

Change-Id: I829f66f21aebef1c81903eb255b6a09a6ca15f71
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Make the "lib" part of plugin and library locations configurable.

Can now be set to e.g. "lib64" if required.

Task-number: QBS-343
Change-Id: I6f34ade37f39400cc5fde63133a464565feb34c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
fix includes in scriptengine.h

Change-Id: Iaafcfcd916ca1fe19a7f6268b5a08a7c1a0a518c
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
rename JsImport.fileNames to filePaths

Because that's what it is.

Change-Id: I0b018e3ff5902f63b1b9067d2ce0ee46edfdac91
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
rename name variable to filePath

Because, that's what it is.

Change-Id: Ic97cd21f545c839c96b03f62ff1b6f10aea5e8a6
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
move ResolvedFileContext to separate files

Change-Id: I066ea8aa826c254de82b9591ab4b6eec23665b0d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Add retina display support to the default Info.plist.

Task-number: QBS-529

Change-Id: I77c5db7f0e3516ac3022468a2c242ffcf5441401
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Make fuzzy test more thorough.

"Successful" incremental builds can also be an error, if a clean build
fails for the same project.

Change-Id: I9f52d840fbda53a906c039e1ee0db2c656db6f8e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>