EditorManager: Fix crash when closing an editor upon activation

* activateEditor receives a pointer to the editor.
* When currentEditorChanged is emitted (using a direct connection),
  closeEditor is called (because changes were reverted and the editor
  isn't needed anymore.
* closeEditor eventually deletes the editor
* Control is returned to activateEditor, which now references a deleted
  editor -> crash

Task-number: QTCREATORBUG-10190
Change-Id: I9062f03c1c1550f0a8c0c49c226dedcfd252eb12
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Fix crash when opening generic project

target t is deleted inside removeTarget(t)

Change-Id: I9d5a07d65a2cb0c47869edf3997a44a526b9930e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Doc: edit qmljs docs

Use standard wording, fix capitalization, typos, and
style and grammar issues.

Change-Id: Iac3faa59ef32aa2a8ec1857aed0d861701cbfbe7
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
External Tools: Unexpect file change in any case

... when the tool has finished.

Change-Id: Ia3c03d083efd605d3f75a7246c1e03592656d04b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Squish: Stabilize suite_QMLS

Change-Id: I2194054c9c87eeff3b039b34dc4498f5cb0a19e2
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Doc: edit coreplugin docs

Remove \brief commands for functions.
Use standard wording for QDoc commands.
Fix style and grammar issues.
Use the \a command instead of the \c command for attributes
in function descriptions.
Do not use \returns, because it does not exist.

Change-Id: Icd32b519670cb376e246bab3a58fe7e98d2529ea
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Doc: edit macros documentation

Edit to use standard wording.
Use \a commands for attributes.

Change-Id: I90262bc12fe601df81c33a9a49cc8d0e8005407e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Doc: edit find plugin API docs

Edit for grammar and style. Remove \brief commands from
function descriptions.

Change-Id: I1f8c861f2f202f0af9056d639d6807b68ac517a2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
TextEditor: Use direct interface for registerMimeTypeForLanguageId

Change-Id: I6984173acf86e80175f9e2346315b5b226d6bde9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Fix the condition to work with v 2.0 too

Change-Id: I93e929627bd057f5eaec26b3cf8b7c2c55c54363
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Doc: move icorelistener docs from header to source

Edit for language and style.

Change-Id: I6f22ae90e95537282e4833ca90775683e76e26cf
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Remove unused files qmlprofilerv8eventsview.cpp/h.

Change-Id: Ica255de84d9d523be7262ce65707d9ad49e456dd
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Introduce ExitCodeInterpreter, useful when exit code != 0 is valid

Task-number: QTCREATORBUG-10207

Change-Id: I3b440d40a968f09afc613b686ee50da6465ad88e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Fix deploying Qt on Mac (qt quick imports)

Since we are using Qt Quick 2 now, Qt Creator also needs to find the Qt
Quick 2 imports.
Also make qmlpuppet (Qt Quick 1) optional for deploying Qt.

Task-number: QTBUG-33545

Change-Id: I296e4b3a1827f7b26841e94e15eda718afef81d0
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Android: androiddeployqt support

Change-Id: I37d706b4e11c6e1353a8ee73378b7d080080678c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
baremetal plugin whitespace fixes

Change-Id: I8b152a2b3847068a143f36fab62006cc1d21ce73
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Cleanup baremetal

The cleanup goes by the comments found in
https://codereview.qt-project.org/#change,65366,patchset=6
It removes code and comments identified as unneeded.
It also further minimizes the impact on code outside the
plugin dir.

Change-Id: I22bfe9654d0fb6e0bb8f0018ecbe326cda804223
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
MSVC: Prevent incremental linking on debug builds

Makes startup times with cdb (a bit) less painful.

Change-Id: Ib6f4d11a2e6cfc561cc2c5c5598d0751a76208cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Rename share/dumper to share/debugger and {l,g}bridge to {lldb,gdb}bridge

Change-Id: I56a09dd89d2ac086ee264432510fd39b5efe69c5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
FakeVim: Ensure that enterFakeVim() is not called recursively

Task-number: QTCREATORBUG-10226
Change-Id: Ib58d43dc11071a5dc28bad53e13213a4413fca71
Reviewed-by: hjk <hjk121@nokiamail.com>