CppEditor: Respect whitespace in operator names for more quick fixes

* Affected quick fixes: InsertDefFromDecl, MoveFuncDefOutside
* Fix also reformating pointer declaration of operator functions for
  qualified name ids

Change-Id: I6a7578f496221557d103f5fdbb5dacc9540ee779
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Fix searching for repeated characters in files.

Searching for aaaa in aaaaaaaa would give 5 results instead of 2 in case
of non-regexp search.

Task-number: QTCREATORBUG-7883
Change-Id: I5936090b3eef5e68405201fe63d02bf0dd2469d5
Reviewed-by: David Schulz <david.schulz@digia.com>
C++: Handle recursive auto declarations

Remember auto declarations we have already looked up and stop if we try
it again.

Task-number: QTCREATORBUG-9503

Change-Id: I989b11609c98bf197ce916d79c9d452294355053
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
(cherry picked from commit 8f1b6656677344e9ca4b6798ddd900725c478b16)
C++: Handle recursive using/typedef declarations

Remember using/typedef declarations we have already looked up and
stop if we try it again.

Change-Id: I91bf0aef4df18539a47d015f0113543aef1f692a
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
(cherry picked from commit 50a900e509be2e1f448f29be126ba3b7f8173901)
QmlProfiler: do not show richtext in event details

Change-Id: I1daa2573e6c0ca26d6082a52473372432054a628
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Qnx: Fix tag for splashscreens

Task-number: QTCREATORBUG-9626

Change-Id: I4150e5e7898c6b4b527feaf3476627c4b05d42b6
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Fix escape key for "About Qt Creator"

Change-Id: I15c49541a6914c8db58784935de43f0b046895b0
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Workaround for Clang generating wrong debug info

Clang obviously takes PWD as a basis for source paths in debug
information (AT_comp_dir) if it is set. Since the build tools are not
executed in a shell that would set PWD to a sensible value, debug
information with Clang is broken if the build environment got a wrong
PWD to start with, for example by starting Qt Creator from a shell
(which sets PWD).

Workaround is to explicitly unset PWD for the build environment used for
the Clang tool chain.

Task-number: QTCREATORBUG-8825

Change-Id: Ia3e47693121edd61b0ea43bddbb1fcaaac9eb390
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
process_stub_unix: fix race condition with reading of env file

The stub incorrectly send its pid before reading the environment file,
and qtcreator does interpret that as sign that it can delete the
environment file.

Task-number: QTCREATORBUG-9024
Change-Id: Id44777abdfdd94aa10815cb00ca27846b95a3ec7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Debugger: Add view menu to toolbar

Change-Id: I8783ce66d28626e9a484d6aa729fccd07bbda0b8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Adapt the escape key logic for external windows.

Change-Id: I294ba18e8ca91060e5d0ef8f81885642e045a975
Reviewed-by: David Schulz <david.schulz@digia.com>
Qnx: Fix tag for splashscreens

Task-number: QTCREATORBUG-9626
Task-number: QTCREATORBUG-9083

Cherry-picked: 4ff03aa71a7122d4573d4dc270a0847818842054

Change-Id: I69915d9da91cde39b1bc32f150c30a5e97cba157
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Qnx: add a dependency to the debugger plugin

This is already done in Master and 2.8 branches.

Task-number: QTCREATORBUG-9455

Change-Id: I8ae9e5a14ba561640d3389e08cb74a5ec856d335
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Debugger: Set cdb extension version to 2.8

Change-Id: Idd62703c1c521cd2546beb11ae070c2a6de09066
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Debugger: Fix behavior on pressing 'Stop' for LLDB

Task-number: QTCREATORBUG-9634
Change-Id: Iaa8eaf53169d7105e5f0657a06f5c9a780ba996d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
CppTools: "Switch Header/Source" checks also other projects

...and not only the current one as fallback.

E.g. if the projects qtcreator and qtbase are open and you navigate into
qdir.h of your include path from the qtcreator project and trigger
"Switch Header/Source", then "qdir.cpp" will be found in the qtbase
source dir.

Task-number: QTCREATORBUG-3789
Change-Id: Ibd73c37bb626f8f7ee80cd8be3ef1244883ccf5e
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Refactor qbs project files.

- Use sub-projects.
- Move the main application and the application header products
  into dedicated files.
As a result, qtcreator.qbs becomes much simpler to understand,
consisting now of just a bunch of global properties and a few sub-project
references.

Change-Id: Ic7300d489d3982394be5ad1d12a79a2914320298
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Revert "QmlDesigner.NodeInstanceView: introducing delay in setPathToQt()"

This reverts commit 94011a12f1230719557105e6c5bd979e7e053a25. It was a
hot fix which is not needed anymore.

Change-Id: I64ad1d6be54982ddd9b0ef790508a15bd0f73f72
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner.PropertyEditor: use proper transforms for anchors

Change-Id: I71866481b6d7e9ae42d5f9c90e6006fde5767511
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Workaround QCompleter issue with closing its popup on escape

QCompleter doesn't close its popup if there's a application wide
'escape' shortcut.
This commit adds the necessary shortcut overrides for CompletingTextEdit
and FancyLineEdit, which fixes the issue at least for find tool bar,
advanced search, gerrit dialog and description field of submit editor.

Task-number: QTCREATORBUG-9453
Change-Id: Ib1df218ab6b9a54fbf19d6132c6edd8e83ace46c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>