qmljs: fix race condition in defaultVContext

defaultVContext did call defaultProjectInfo which could
be called only from the ui thread (as it did check the current
project)
Now update the defaultProjectInfo via signals, and lock on access
making defaultProjectInfo threadsafe.

Task-number: QTCREATORBUG-12556
Change-Id: Ibffeb59bbcef7120f08766160bb1e2ddc9af2922
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlDesigner: hotfix for Qt 5.3.2 to ungrab the mouse

At the moment the QML world does not get the release event if
a drag started in QML and ends up on QWidget world.

Hotfix: 3.2
Task-number: QTCREATORBUG-12510
Change-Id: I4f4c023e177221af61ba9e754f27a5087013fb08
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
creator: disable debug level for the qtc.* logging categories

by default all subcategories of qtc have debugging disabled.
This allows to easily use them for verbose output and replace
per module/file debug flags.

Change-Id: I130c496a9ee83d3b3b5cbd9b4e087dc00c40b113
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Debugger: Remove dumper debugging output

Change-Id: I0dc23dd5d69885f8ddeb933ae644a983406bbb05
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Prevent multiple inclusions of logging.h

Also provide destructor of QLoggingCategory inline.

Change-Id: Ic12cd0347eddcbfaddbd93ea8e9b9baa3307973f
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Support qmake variable as well as environment variable for QTC_PLUGIN_DIRS

So it can be set through .qmake.conf in a subdirs project above it.

Change-Id: I53c7ba96c1df916b7c81c816ec0559a1e147a84b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
QmlDesigner: Fix implicitHeight in resetVertical

Task-number: QTCREATORBUG-11542
Change-Id: Ia69a95abe42ad0c10b8d65663d252f15cf38cf02
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
qmljs: split Unknown in NoLanguage and AnyLanguage

Change-Id: I31276084af5e2f0c5f4ca861f17e29430563bb13
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
iossim: correctly escape app output

Task-number: QTCREATORBUG-12423
Change-Id: Id1acffbcd25d5886617651aa822657d680b80b4e
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Squish: Disable pastebin.ca for now

Pastebin.ca has issues which make this test unreliable.

Change-Id: Idae581822d9c2555e57fd91f5b1ae044666cdc4c
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Squish: Add workaround to test_QMLS03

Task-number: QTCREATORBUG-11984
Change-Id: I4be9d605ee1f95f463fd0a16cb9b379949751203
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
QmlDesigner: Remove unused variable

Change-Id: Ia8803c99a936bc85b93aa0bfe019257b8f8f0135
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
IDocument: Make mimeType a value member

Change-Id: I2e90ccf0a45ae8d00bcd00ec77fe0d9776f2f119
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
GenericHighlighter: Remove strange private function

Added in aadb6f16, probably to test something...

Change-Id: Ib466ce7035ce4893dd7cf505bace9cf2c362ecf7
Reviewed-by: hjk <hjk121@nokiamail.com>
qmljs: fix race in qmljstodoitemsscanner

avoid calling ui-only method on the ProjectExplorer::Project,
use information cached in ProjectInfo instead.
This (as before) does not automatically scans files in qrc.
Contents of qrc should most likely be added to ProjectInfo.sourceFiles

Task-number: QTCREATORBUG-12556
Change-Id: Ic7f72589cc5bb132ef9d3d03be9d9fc47f1196fd
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
GenericHighlighter: Add a typedef for definition meta data shared pointer

Change-Id: I56acf760db9581ce96cfec72bd699b26569254cc
Reviewed-by: hjk <hjk121@nokiamail.com>
CMake fix deployment data

Fix potential index out of range assertion in QStringList if contents of
QtCreatorDeployment.txt would be unexpected(will not contain ':')

Change-Id: Ia6ae282ef450e7c56a512b13da801854caec0dfb
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
qmljs: switch to the new category logging

Change-Id: Id4e43779590939e9d6dd2d0dab536f70e721f097
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlDesigner: Fix rubberband

It should reparented because at a model detach it will be removed from the
scene and deleted.

Task-number: QTCREATORBUG-12504
Change-Id: Id48c8d8f8a29b7aab60dca708bbefdac8c1f6024
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Always pass Core::Id by value.

Currently we pass in some places by value, elsewhere by const ref and
for some weird reason also by const value in a lot of places. The latter
is particularly annoying, as it is also used in interfaces and therefore
forces all implementors to do the same, since leaving the "const" off is
causing compiler warnings with MSVC.

Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803
Reviewed-by: hjk <hjk121@nokiamail.com>