Fix names spelling in the contributor list

Change-Id: I057f0ae070e4b66628dd2ff64aa716dc2000f594
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Dmitry Savchenko <dmitry.a.sav@gmail.com>
Reviewed-by: Viktor Ostashevskyi <ostash@ostash.kiev.ua>
Reviewed-by: Andrey M. Tokarev <andrey.m.tokarev@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QmlDesigner: Support for enums in alias properties

Also the qmlpuppet could not handle enums in combination
with alias properties. Enums on alias properties are handled as
bindings. This is just an intermediate solution until we refactor
the handling of enums in the model.

Do not integrate this patch to 3.0 or master.

Task-number: QTCREATORBUG-10114
Change-Id: I022637285deb5ff13b61d761d89b3ae1201575db
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
QmlDesigner: Support for enums in alias properties

Enums in combination with alias properties were not supported.
The QML Engine does not distinguish between bindings
and enums in this case.
We want to distinguish between bindings/expressions and literal
enums. This is not possible with the current code model, so we use
a list of hardcoded enum keys for Qt Quick.

There a several issues we want to properly fix in the future.

*  Make the model aware of enums. Currently enums are strings
   (the key) in the model. This has historical reasons. Instead
   we should use a custom type registered to QVariant that handles
   the scope, key and integer value.

*  The code model should be fully aware of enums even in the alias case.

Do not integrate this patch to 3.0 or master.

Task-number: QTCREATORBUG-10114
Change-Id: I780a201202f0949b1e2eb2f2525ddb031e1cd18b
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
QmlDesigner.MetaInfo: fix handling of enum scopes

The codel model does not provide enum scopes at the moment.
As a fallback we use class names, but this fails if we use
the original cpp class name from the <cpp> package.
For this reason we always try to find an export
with a package different from <cpp>.
As a final solution the code model should be able to
provide the enum scopes.

Task-number: QTCREATORBUG-10114
Change-Id: I15396c83590426ab0b9b55c8646a89c8d5712683
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Git: Fix crash on show stash

* show() is called with a QString reference to the model
* And editor is opened, which triggers stateChanged()
* stateChanged() updates StashDialog, which refreshes the model with an
  empty directory (another bug)
* The QString name reference is invalidated => crash on access

Task-number: QTCREATORBUG-10397
Change-Id: I0c4077f8c4fc90905568f80d1cd89f61c4cd2cba
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
TextEditors: Fix document changed indicator in case of splits

Since the changed signal was moved from the editor to the document, we
now need to set up all the connections in the setupDocumentSignals.
Otherwise split editors, which get a different document after creation,
do no longer set up the right connections.

Task-number: QTCREATORBUG-10301
Change-Id: Ifc7b426abf87ab73ea37379c1a55e5af2005fc43
Reviewed-by: David Schulz <david.schulz@digia.com>
Debugger: Keep more secondary dialogs on top of the main window

Change-Id: I1e4283a5727db976d999d4cf4c7e444de8592566
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
CppEditor: Sort project parts in CppPreProcessorDialog

Change-Id: I6184eaede3b89933d4ac54a18004319409e72347
Reviewed-by: David Schulz <david.schulz@digia.com>
CppEditor: Show scrollbar in preprocessor dialog as needed.

Change-Id: I88493d24a13b67b0768664db0504ce62d0a101aa
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Help: Only open 'internal' documentation links in Qt Creator

Open external webpages in external browser.

Task-number: QTCREATORBUG-8433
Change-Id: I760f6c5705046a6f8b7ebec3cd7b32253738e0df
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Target: Overwrite displayname we got from our file

... use the current kit name instead (in case it was renamed since
saving the project).

Task-number: QTCREATORBUG-10401
Change-Id: If329d3441eb27a4322cb346849e4b73296d5bf88
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Avoid holding on lots of data with C++ Find Usages

The snapshots at the moment of search were held as long as the
corresponding search result panel was kept, to allow mapping of the old
symbol to the corresponding symbol in the new snapshot.
Now we just save the file name and ID of the old symbol.

Change-Id: Iaf3c9ca27ec2b788f142bd0dd6b86e34e66d5c8b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Android: Remove bestMatch calls in fallback code in buildTargetSDK

besdtMatch finds a ndk version that is at most the targetApi passed into it.
Since we are passing in the fallback and lowest possible api level that qt
supports, the function would return at most the lowest supported version.
That's not very useful and cannot have worked, so simpy return the fallback
version directly.

Change-Id: I5e4757639099af4d207f928b0335d28efd75a02b
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Android: Distinguish between platforms in the ndk and the sdk

The available platforms in the ndk might not be the same as in the sdk.
This patch is renames everything using the ndk platform list to
ndkPlatforms, except the highestAvailablePlatform which wrongly uses
the ndk platform list.

Change-Id: I02d9b68bbc27b0c748281678fe654d5f4244578d
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Android: Rework sdkTargets() to cache the output of adb

Also rename/change highestAvailablePlatform to highestAvailableSdk.
This fixes a bug reported on irc, where the lists for sdk and ndk
were different and the highestAvailablePlatform was not available
as in the sdk.

Change-Id: I17fec9e8ce1913e933ddcf8eaa21d6bb6e14c5be
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Fixes in translated messages.

Change-Id: Ie1aa0547281d9a1ab31f00e44c4e09dd96c60543
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
BaseQtVersion: Make qmakeProperty(versionInfo, name, ...) protected

This is a low level method which is not useful for normal usage.

Change-Id: I5fd1c019856a8a84299f5b11c159ea6b0f5131a9
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
BaseQtVersion: Make sure qmake variables are up to date.

Otherwise, qmake properties can be wrongly read as empty.

Change-Id: If63a306664758c01529b437fca30f5222b75f02f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
DebuggerKitInformation: Invalid ids are ok

Invalid Ids are used to for "No Debugger", so do not try to fix
those values.

Change-Id: I141f969524e1faffa66a22c2a08ef18ec4d7fc23
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
DebuggerKitInformation: Make setup() handle new kits

Those return a invalid QVariant, so handle that explicitly.

Change-Id: I50726552aeb76d21032c119c5ea2db48e6d88e8b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>