Debugger: Fix Qt 5 QHostAddress autotest

Dumper was working, but the default constructor doesn't do
the parsing already nowadays.

Change-Id: I098b0a03ad7d994b5746f3a4a6c39d29133509b0
Reviewed-by: hjk <hjk121@nokiamail.com>
Android: Search for a suitable emulator before starting a new avd

Note, that we don't know the names of the started avds, so we look
for a avd that has the same abi and apiLevel.

Task-number: QTCREATORBUG-10411
Change-Id: I5f6ff3ee0dddcf2bb8fca981ccedf437e32da677
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Debugger: Have 64bit debuggers handle 32bit targets, too

Prefer 32bit debuggers if possible though. In the setup Robert
used there is only a 64bit CDB and thus the debugger of his
64bit Qt was unset.

Add unit tests to make sure changes will not effect currently
working setups.

Task-number: QTCREATORBUG-10463
Change-Id: I4afae314bc75d4465dbc8de5b2a4267a521a4ea1
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Debugger: Work around strange GDB behavior with overload resolution

Contrary to the documention, using the default (i.e. 'on') it seems to _require_
xplicit casting of function pointers:
 (gdb) p &Myns::QMetaType::typeName
    -> $1 = (const char *(*)(int)) 0xb7cf73b0 <Myns::QMetaType::typeName(int)>
 (gdb) p Myns::QMetaType::typeName(1024)
     -> 31^error,msg="Couldn't find method Myns::QMetaType::typeName"
But we can work around on the dumper side. So let's use the default from now on.

Change-Id: I3e2a87df797c6abab6183b4c121b843e5035cd47
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Leave GDB default setting for 'set overload resolution'

... and work around the pecularities on the dumper side instead.

Change-Id: I0c2703aae13dabc0f3f45efb46bd556c8741a15f
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Some autotest cosmetics

Change-Id: Ib174e84f97511b28cd7649c219a62fe606186bf2
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Try to extract Qt version from QtCore

This won't work without inferior calls (e.g. when loading core files),
so the old code is needed as fallback.

Change-Id: I1c9efc06374b00bc391bf55528546ccefc60349b
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Adjust QDateTime dumper after Qt 5.2 changes

Task-number: QTCREATORBUG-10232
Change-Id: I10551a258edb9456c4a9f93a3bfb374a8f07fc7d
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Fix QVariant{Map,Hash} dumper with Qt 5

Change-Id: I5be3b960a7a3091dc77555883d93e3d89b17381d
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Fix the way to register/add new debuggers

DebuggerItemManager::registerDebugger() should return the id
of the added debugger in order to use it when setting a kit's debugger
(addDebugger() creates and adds a copy of the passed
debugger object with a unique id).

The DebuggerKitInformation::setDebugger() method should set only already
existing and registered debuggers.

Task-number: QTCREATORBUG-10436

Change-Id: Icdcd1ed92aafe9eda44abf831aa9983dd6801980
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Git: Fix popup message for merge

Change-Id: Ie3ef79343b84d615255b70b786347c57511c3309
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
qmljs: added qmljsconstants.h

Moved Document::Language, Import::Type and StaticAnalysis::Severity
enums to qmljsconstants.h and renamed values removing the redundant
part.
Thus the effective length changed little or improved
(Document::QmlLanguage => Language::Qml).

The separate file allows better reuse of enum values without introducing
circular dependencies.

Change-Id: I5186d7c04f5d3f6c289068b919be5ff1ff118326
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
qmljs: simple tracking of used modules

Change-Id: Idc977a8c5a6c6caa3749599cb6f4a236046f53d7
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Remove setting of Qt::AA_DontCreateNativeWidgetSiblings .

Change qtbase 72a7882cec07a9ad187c9e1772fb08f59a4b9519
avoids unnecessary creation of native siblings in Qt 5.

Task-number: QTBUG-34138
Change-Id: Ie6b847f57a40d56028c771628f31acb182179066
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Fix build on windows in debuggerkitinformation.

Change-Id: I45137f08147d073f8c111c94a6303a90085183ef
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
CdbExt: version bump

Change-Id: I3912bb9da93acd4474a15a6f6a8736e547e84ea1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
QmlDesigner.PropertyEditor: adding color constants

Change-Id: Iced7b432da397485015a4ea4a3e742f0ab475b6a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner.PropertyEditor: adding functionality to ComboBox

* Adding the ExtendedFunctionButton
* Adding blue highlight for modified values

Change-Id: I2035ebba61b27ec5c75f02abc3a435709cc69f43
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner.PropertyEditor: adding functionality to LineEdit

* Adding the ExtendedFunctionButton
* Adding blue highlight for modified values

Change-Id: I44f7d3bfbf58f0fe60321b5c696d3e3ba9c6578f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner.PropertyEditor: adding functionality to SpinBox

* Adding blue highlight for modified values

Change-Id: I8d68dc2e23a7c1c3d2055a5be13d7f57e94860ed
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>