Doc: using modifiers for snippet variable values

You can use the :c, :l, and :u modifiers to convert the
case of variable values.

Change-Id: I4abffcf1b4545eafdef0d243e68813076e8fc1ce
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Debugger: More robust way to dereference lldb.SBValue

Change-Id: Id8f2ad9e46c88302d523b879558f65b4a86b0e2c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Updater: Only try to fetch updates once (even if it fails)

Do not repeatedly try to fetch updates, but only once.

Change-Id: Id177b6677077e97132c7b40af3de35015a9c7658
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
MainWindow: Delay restoreWindowState

QLayout calls setMinimumSize, which breaks maximized state on Windows.

Task-number: QTCREATORBUG-9586
Change-Id: Ibd9ceb8bccbdf26c6369e86ad4918835d645ca1e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Debugger: Ensure maximum number of elements in QMap display

Change-Id: I7de69c49245daf03ffd3e257cbd08f25b7bedd1d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Update Russian translation

Change-Id: I7a103dd3b416999be9a67fee7b839e42d596ec2f
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
QmlProfiler: Hide timline and show loading indicators when profiling

This is a temporary fix to work around the fact that the profiler's
loading indicator won't show on top of the timeline view. It's not
particularly beautiful but at least the UI doesn't just "hang" anymore.
A final solution has to be provided in qtdeclarative by allowing widgets
to be placed on top of QML scenes. In principle it's also possible to
change the loading indicators to be actual windows and by doing that have
them stay on top, but the result would be very messy.

Change-Id: Ic774b0792786d7d278da5ba0beda4531f0dba77d
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlDesigner.FormEditor: crash fix

Anchors and/or anchor targets might be invalid.
e.g.: anchors.left: parent

We have to check this.

Task-number: QTCREATORBUG-11255
Change-Id: Ib939292d0f89cc1d22119972627c03f1e85043db
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner.MetaInfo: Properly resolve prototypes from different plugins

If there is a non <cpp> export for the CppComponentValue
we use it.

Task-number: QTCREATORBUG-11205
Change-Id: Ia82c8fc5f567245f5d04b0fd91819bf443312e17
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlDesigner.PropertyEditor: Ading missing QtQuick 2 only properties

Those properties are QtQuick 2 only and were missing in the
property editor.

Change-Id: Ie58a4eac86b945bdde24d32fc373396268bb593e
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
QmlDesigner.MetaInfo: Adding convincience function for testing

Change-Id: Ic9faddd21fdf80357b1360951a1cc054546866e9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Squish: Fix logged output of tst_git_clone

The clone log contains escape as a character (unicode 0x1b) which
makes the creation of the results.xml fail. This patch removes these
for unquoted text logs.

Change-Id: Ia5312c4cf41dbf9c40732e48ebe4694f79f39bb2
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
QmlDesigner.PropertyEditor: Crash fix

There is no guarantee that the selection is still valid, when
changeExpression() is called. The signal might be triggered by an
EditingFinished() signal that was emitted after the selection was changed.

Just ignoring the change is not the ideal solution, but there is not much
more we can do.

Task-number: QTCREATORBUG-11249
Change-Id: I770dade680b0b8a052efd910b636829d1037e3ad
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Mac: Prevent switching to discrete GPU on startup

By default, OpenGL-based apps will switch multi-GPU
Macs over to discrete graphics hardware.

It is possible to prevent this, and it makes sense
to do so for Qt Creator since its users will typically
be more concerned with power usage than raw OpenGL
performance.

Commit 8166a34f makes the necessary change to QtBase
and this commit enables the non-switching behavior
by adding the NSSupportsAutomaticGraphicsSwitching
key to the Info.plist

Change-Id: Iea6ef4b4922645f792cfb9b8b0b8860f5b2c0674
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
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>