QmlDesigner.PropertyEditor: fixing layout issues

There were serious layout issues in the property editor.
While not 100% reliable reproducible they were quite annoying (TASK).

The reason for the issues were the existence of several QtQuickViews and
changing visibility of items.
The pane for Item and the empty pane for no selection use different
QtQuickViews in a StackWidget. Somehow visibility of items is not always
updated properly when changing the QtQuickView in the stack.

Solution: Do not use visibility but stack order instead.
For the layout margins/targets all controls are now always visible, but
unused margins/targets get disabled.

Task-number: QTBUG-36141
Change-Id: Iec62b81796301aaf483606d9aca5a4ad3572e98b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Squish: Fix tst_git_clone

Change-Id: I9ee7bfb01d2618f426450182552cec0263af02ec
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
do not look for mkspecs/ directories in project trees

this pretty surprising behavior would interfere with building the
examples from an installed qt tree with qmakes from other qt builds.

.qmake.conf (and .qmake.cache) files provide a possibility to explicitly
"anchor" project roots, so there is no point in having a second, even
more magic way to do it.

Task-number: QTBUG-35485
Change-Id: I8fd4fda67cabafdf55e7a98282dcdfaffb4a405e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
(cherry picked from qtbase/65a676372c533e8b35117081ec0aa1a94e1500e5)
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Git: Fixed bug with branches missing from a list

Change-Id: Id4fa9f6c4f874c9b1ac5112efceaf0c22ed84d00
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
qml: accept qmltypeinfo with larger minor version

Change-Id: I56559f6d9bd128069e2c270e033c958a6a239c3a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
qml: avoid dumping or reading type info multiple times

Change-Id: Id0c52f6a96a5c36893f64cbc96cc7eee300e6afa
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlDesigner.PropertyEditor: Adding label to origin control

Task-number: QTCREATORBUG-11229
Change-Id: Ie884565f1cc75fc9554466b8fdea413f385c9200
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
QmlDesigner.ContextMenu: Crash fix

The root item cannot be "filled".
Adding a try catch block just in case.

Task-number: QTCREATORBUG-10476
Change-Id: Ic5c5efddd78194275d7d6e393eb945d6c9d89ed0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
AndroidDebugSupport: Set more accurate so-libsearch path

Task-number: QTCREATORBUG-10382

Change-Id: I6c38fda8a4bf70ae93f6ec7dd671878589056124
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
(cherry picked from commit eb5b9596398c401d043d20f81fd8b68b02ec5168)
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QmakeParser: Do not leak temporaries into cache of files

This prevents an access to free'd memory when opening qtcreator.pro.

Looks like qml2puppet.pro gets added to that cache in QMakeVfs::writeFile
with part of the including pro-file's filename in it. That part gets
cleaned when that containing ProFile goes out of scope, leaving a key in
QMakeVfs::m_files free'd but accessible.

Change-Id: I80b43d2fbb66c214647497ea97e6e3a587e274d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Squish: Fix tst_default_settings for Mac

lldb from Xcode is recognized as well.

Change-Id: I4c79b5362ced38461aa4f823d4e303093f81fcac
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: Add expected error message for newer Xcode

Change-Id: Ib6af4b61d4ca7bd32b3e3e9dcb837a91692a1dfe
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: Add workaround to avoid AUT crash on Mac

The crash was actually only in tst_SCOM05 as WELP suite is
completely disabled.

Change-Id: I32d9bef43dc50eb8d3c71a5b1d6e7894c7d74276
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: Fix tst_rename_file on Mac

Change-Id: Idca881989a673d3f220379d3a233c851ee75e248
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Valgrind: Initialize shortenTemplates-setting.

Purify reports "Uninitialized Memory Read" for shortenTemplates.

Change-Id: Ieab51cd78bf9fc7bbc539ef3158e0f57a12579d7
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
qml: make dumping errors more chatty

Change-Id: I1471ba9459a1e48a03e26aa5dc008072460447be
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Add purify2tasks.pl for converting Rational Purify logs into .tasks files.

Change-Id: I2fcaa0149fb6fbe65a8a0041823abe5c86db3bba
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Doc: make the Android setup instructions more prominent

Feedback from users indicates that they cannot find the
instructions for setting up the Android development environment.
Added links to the instructions in several high level topics.
Also, moved the Qt 5 instructions above the Qt 4 instructions
in "Connecting Android Devices".

Change-Id: Ie31bc27b959ac5a7146f00a576a900b932c07a98
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
C++: Remove unused functions in Lexer

Change-Id: I79285a9fc72f26bdfb7c1600d4e7680e02062593
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
C++: Minor cleanup in lexer tests

Use a typedef for the list

Change-Id: Ie921226f9b72fdbedd9926ae166979a4cd1ad540
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>