C++: Small fixes to the token buffer.

- Fixed blocking macro check
- Enabled buffer "compression": when tokens are generated and no new
macro is being blocked, then prepend the tokens to the previous buffer.
This happens a lot when undo-ing look-ahead.
- Added documentation

Change-Id: I6fa816d94ce4696e473bdbc4f3bf477d77e4dd51
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
QmlProjectPlugin: replacing QmlProjectApplicationWizard

The new wizard is template based. This allows easy addition of
custom QML templates and also allows us to add more QML wizards
for e. g. components later.

This template mechanism allows substitution in comment, which
allows us to keep valid QML file as templates.

This reduces the maintance burden significantly.

Change-Id: I7766b037635131da2af5aae518d6fe4597ff8b9f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Move TextEditor::ToolTip to Utils

To enabled reuse from all plugins.

Change-Id: I1de68c8e6ed017d45f1248b2043f9611becc3b54
Reviewed-by: David Schulz <david.schulz@digia.com>
MiniTargetSelector: If the project's displayname is non unique show path

Task-number: QTCREATORBUG-8329
Change-Id: Ia256c09a634ff4794b67007e5013680a8a740201
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
QmlDesigner: Fixing broken test case

Since the rect is moved to 648, 480 nothing is visible.
It should be witdth and height instead.


Task-number: QTCREATORBUG-8543
Change-Id: I27721d6df83f5120315bc1f5aff4cc04732e4f60
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
fix compile for Qt 4

Change-Id: Ifa6c3857e82e7fe8facf6c2437ce01134ee0615e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Editor: Compile fix

Change-Id: I61ac997547b6cbeec6c4acaa464162237bb56911
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Compile fix

Change-Id: I2812a7e59ee20511b9804337d836e1707894a7be
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Core: remove some unused context handling functions

Change-Id: Ib92a2044ff84108416d315aaf68602b2dd41c7eb
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Core: Use Id in Context instead of plain int.

Change-Id: Iaa8e48459fb19b7d3b8821d0374925d0c6a7e0cc
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Introduce custom compiler settings

Following http://lists.qt-project.org/pipermail/qt-creator/2012-August/001168.html
and my own use-case.

Useful for:
1. Old, unsupported compilers.
2. When compilation is done on a remote server (using a post-build command for instance)
   and the compiler is not available on the local machine

Change-Id: Ic2ebdcdd9829efa4a73fb48489c02e4b251c2e33
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
StyleItem: Build with QT_NO_CAST_FROM_ASCII

Change-Id: Ia456c17736844792ba80c6ad74a52410ed21e63b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
main: Build with QT_NO_CAST_FROM_ASCII

Change-Id: I5fb53c5c40e0001c9961b41d0e1b45b0cb8251a5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
SDKTool: Build with QT_NO_CAST_FROM_ASCII

Change-Id: I7e61f530dc58f5e528d4a36439c57b5d017f24a3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
zeroconf: Fix compiler warning

dereferencing type-punned pointer will break strict-aliasing rules

Change-Id: Id2c66cfcd12dcecc678e6446e8500634cc5babf3
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Qt4Project: Check the Makefile after we know the right file

The .pro file can change the Makefile so we need to postpone the
evaluation until after the parsing is done.

Task-number: QTCREATORBUG-8154
Change-Id: I212899311354e67f711db0cb6a3a78f0c369bb81
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Remove some useless headers

Change-Id: Ic5ac0c4c5dc8bea3cf6012e96b24baac7b4ed208
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
QtProMaker: Build with QT_NO_CAST_FROM_ASCII

Change-Id: Ic9f961a949516dd2cfbe5e7b1b29aab17f42f609
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Utils: Fix qbs build.

Also remove superfluous "utils/tooltip" include path from both qmake
and qbs project files.

Change-Id: Ifa97984d462cbf1e344ff8ba0104353010e8c691
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Utils::Environment: Use systemEnvironment from QProcessEnvironment

The QProcessEnvironment::systemEnvironment() uses the function
GetEnvironmentStringsW(), which allows for retrieving values that can
not be encoded in the current locale.

Also see QTCREATORBUG-8184 for a related bug.

Change-Id: Id7c9b8c881db7ba2efd13f2fb241fbbdb9d2a7eb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>