C++: handle braced return statements in indenter.

Task-number: QTCREATORBUG-9314

Change-Id: I59c026cce02b85eeb54f4d10d5c9fb0c59bfe28a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
ProjectExplorerSettingsPage: Do not have a const setter.

Change-Id: Ic0a71ce49b9f65894860562b8414772cd839152c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
ProjectExplorerSettings: Keep environmentId.

Make sure to not change the environmentId when editing something
in the settings page.

Task-number: QTCREATORBUG-9359
Change-Id: I7fc891cb3a69f08b1c2ea3f963a2deb01ddca9b2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Editors: "Split New Window" --> "Open in New Window"

Change-Id: Icbf27edc8b3d7bd73504b449491f70056220c99f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
C++: fix Q_CREATOR_RUN macro handling

Moved it from the handleIfDefDirective to the pre-defined macros, so
that #if defined() can also see it.

Task-number: QTCREATORBUG-9322
Change-Id: Icbecad5c885dd2374b559969c99631c3ddc73844
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Debugger: Improve wording of the "Close buffers on exit" option

Change-Id: Icb94fc1123f0b1f675356e9f3c347f25a6c3cb53
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
MiniProjectTargetSelector: Work with no sidebar

Fix MiniProjectTargetSelector becoming too small when no sidebar is
displayed.

Task-number: QTCREATORBUG-9423
Change-Id: I40f9093f7217448c3b29a699aa8e07710127d608
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Doc: opening the editor in a new window

Change-Id: I9a265b10c91950754c710ee270cae4530a808ea8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Debugger: Add specific customization hook for dumper initialization

We need to distiguish between start of GDB itself (a.k.a .gdbinit-style
customization) and after the dumper machinery is initialized, which is
nowadays often delayed until the first stop hook.

Change-Id: I40f1e7225c2043b8bcb7d50eef948bb3c9162bb6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
DiffEditor: Rename DiffEditorEditable to DiffEditor

More in line with current naming conventions.

Change-Id: I63f6677bd12d82f6749032996585d761f1a74fb7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QtLocalPeer: Remove superfluous static member

Change-Id: Ib78b8459e742df6d57a52a4f3ebcd3359d8497b1
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Always check for availability of python with GDB

Trying to avoid that round-trip on versions that are known to
not have it puts us on the mercy of detecting the version,
which is unreliable by nature, and bad in practice, as proven
by the recent MinGW builds.

Change-Id: I122eb03fe0ddcb193ed8d45e672564f7113b662f
Reviewed-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Bookmarks: Separate destructive actions.

Destructive actions should be separated by separator in menus to avoid
mis-clicks, we also did that for e.g. the Build menu.

Change-Id: I9dfecefb487d953a1c57ffa41c76a1542dee16c2
Reviewed-by: David Schulz <david.schulz@digia.com>
QmlDesigner: There is no textColor property in the Button

Change-Id: Ic45416d1ad187520dc4771192e621d7e44ee360f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
VCS: Clear directory cache when availability of VCSes changes

We could have gotten new VCSes or existing ones might have gone,
so clear the cache of which VCS manages which directory.

Change-Id: I87a1b9c894e2867773ea4df221e463adb14f4ee9
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Git: Do not pop stash if a command is in progress

Running interactive rebase and choosing edit for a commit causes
stash pop when the commit is expected to be edited

Change-Id: I37249e8486b609dedba143bd130059444f882303
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Git: Remove double warning for gerrit push

Change-Id: I5581521753fa525c6bb9f53725c28f947c8bbd44
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
DiffEditor: Apply visualize whitespaces according to options

Change-Id: I5f7c57479d5342f5457159b14fb6afa087cb988f
Reviewed-by: Marcel Krems <m.krems@software-vision.eu>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Git - execute fetch asynchronously

Change-Id: Ic2243adaa36444099f834676186331927f3f4588
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Git - refactor executeGit and remove unnecessary args

Change-Id: Idf770a20db66191b4d7fe3a704d31bdce70505c5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>