Variables: Use lambdas as callbacks to resolve variables

Instead of broadcasting for each resolution we ask the code
that knows about a specific variable directly.

Change-Id: I2f0f4f2acceba85a236995d236980594a3166bd8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Add syntax highlight for primitive data types

Syntax highlight rules for keywords are changed to highlight control
keywords and primitive data types separately.

Change-Id: Ifb25be7a97b92589030aa190641320c233dc7f2d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
QmlDesigner.ItemLibrary: Adding TabView

Change-Id: I7335f9ce23673ee1215390eb7bb3396fec8e5ebc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Qbs: Move updating of files from a project to own method

Change-Id: I88b41ff450dac4e0c2e5a34e3332e559c1919e6e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Qbs: Avoid crash when build changes the project tree

Change-Id: I52fe5bb49f762e8837c5ea825adb20650316ff7b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
C++: Fix parsing designators vs lambdas

The introduction of C99 designators led to parsing problems with lambdas
that were passed in as a function arguments.

Fixed by prefering to parse without designators first. This will be
cleaner/clearer once the appropriate "LanguageFeatures" from the Project
Parts will be passed in.

Change-Id: Ia9cb7c4a4c9345e729cf2044e1e5411fe63e33ec
Reviewed-by: Wang Hoi <wanghoi@126.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Qbs: Avoid crash when asking for qbs::ProjectData on invalid Project

Change-Id: I2ce060ab0017eb7722b6dc4f64b1e536f139952c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Qbs: Use BuildConfig data in Qbs install step

... in favor of qbs::ProductData which is harder to get anyway.

Not worth the trouble just to register the default value.

Change-Id: If597de246028a7eb0859a19b543e9ffe12b31db5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
C++: Split designator AST

Change-Id: I9bfed2023624c818c0f35f24476693cffeaf2bbc
Reviewed-by: Wang Hoi <wanghoi@126.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
QmlJSEditor: Pass string list by reference

Change-Id: Iab15b11834a6b0339b163a4444d4ef695cae7416
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
QmlProfiler: Native text rendering for all text elements

Change-Id: Ife322b57479bac885a3dc6a898e6516be6e8e15e
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlProfiler: improve location lookup a bit

It's not a good idea to copy the event location for every single lookup
and there is not point in always reconstructing the label strings,
either.

Change-Id: I2cea8a2a93b31d2c32bd2a27ae1d3b0bd26df6f6
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
qmljs: fix qml scan sequence and progress

Change-Id: I8aafb23f1708400936507ab75e4c2893906f9aff
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Fix default search and plugin path for qbs.

That is, the qbs command-line frontend that we build.

Task-number: QTCREATORBUG-12474
Change-Id: Ia21c24daa25fff5ffe2fe69d23bd6d30285eec9a
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
QmlDesigner: Fix missing return in NodeInstance::updateTransform

Change-Id: I88158168d83dd3d82006b51b79f34d965f18c718
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
QmlDesigner: Fix output slot for the puppet output

Change-Id: I3ee00af335ac8009e420339a650b9532addf189a
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
ProjectExplorer: Fix MSVC compilation

Change-Id: I6062c1e9832bb9f50dd3439724706e1732c73720
Reviewed-by: hjk <hjk121@nokiamail.com>
CPaster: Move setting category icon from Core to CPaster

This image is used exclusively in the CPaster plugin,
thus belong into CPaster resources.

Change-Id: If2718c7a58bca389c0afe7ecf32feb251eb0c581
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CppEditor: Fix always-false-condition

The condition didn't make sense. tk.kind() can't be < T_FIRST_QT_KEYWORD
*and* tk.kind() > T_LAST_KEYWORD at the same time.

Change-Id: Id300ad84f37eeff5081b0389c00d574a9cb23f35
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Welcome: Fix up the dynamic layout fix

Change-Id: Icb068bd4522a7014a6dd48804245086a452a639d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>