Commit Graph

52993 Commits

Author SHA1 Message Date
Nikolai Kosjar
576ae5e132 Clang: Remove test testUpdateBackendAfterRestart()
* It's skipped / must be rewritten.
* It does not belong to ClangCodeCompletionTest

Change-Id: If6708d28602cc8c3478a968b87bae542ae859590
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-27 08:07:24 +00:00
Laurent Montel
d0f59c0949 CppEditor: Clean forward declaration
Change-Id: Id2a4d203e7a0c3405ca612aeb294b25be8a37323
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-27 07:55:18 +00:00
Alessandro Portale
c4438cc4c3 Qnx: Have a proper default device icon
Themable and HighDPI-able.

Change-Id: Ieefa19f3a569d9b9fbb3349f9bb6ac67453eff1f
Reviewed-by: hjk <hjk@qt.io>
2017-09-27 07:47:50 +00:00
Alessandro Portale
aeeeffbe68 qtcreatoricons.svg: Pacify recent Inkscape versions
Since a few versions, Inkscape wants to add a inkscape:locked to
guides. In order to have less patch cleanup duty for each svg
commit, we just concede that to Inkscape.

Change-Id: I8c096b7db15dc776976281cf9d20444e1654bb01
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-09-27 07:47:23 +00:00
Laurent Montel
784d9a6279 QMakeProjectManager: Clean forward declaration
Change-Id: If2a70a5b39b999119cb02c84b72a5a13891661dc
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-27 07:46:27 +00:00
Laurent Montel
b89cd0a78a DiffEditor: Clean forward declaration
Change-Id: Ifedc0041a5a7d736231057c092f430061c62f8fb
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-27 07:46:16 +00:00
Laurent Montel
7dafb822ed CMakeProjectManager: Clean forward declaration
Change-Id: I47cb6fbac276554e548383fe6945fd5cd38386c6
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-27 07:46:06 +00:00
Tobias Hunger
3d8be750b9 Environment: Use Utils::FileName for path() and related methods
Update users accordingly.

Change-Id: I9432e82308e9d0630514c6c8632aeb6b6ee0cf90
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-27 07:37:26 +00:00
Eike Ziller
8645b27880 Version bump for master
Change-Id: I0d2a37c4dd7435e55534538b7b2c4d9d69640e14
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-09-27 06:48:10 +00:00
Christian Stenger
211dad0325 QmlDesigner: Fix translatable string
Change-Id: Ie116f05ee8a8c65f470b3bdd6363a92ca43f6acc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-27 06:29:40 +00:00
Orgad Shaneh
6f1a18cc37 Dumpers: Modernize tests
* Remove QLatin1*
* foreach -> for

Change-Id: Ifac9b14b9904df8d112c71f791f1e0bd45ffc584
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-27 06:20:01 +00:00
Christian Stenger
f075568197 QmlDesginer: Fix compile with Qt5.6
Change-Id: Ifc4468ef4367ffd44a7ab9e9e51444f62fd88990
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-27 05:48:45 +00:00
Eike Ziller
e8fecc6d08 Merge remote-tracking branch 'origin/master' into 4.5
Change-Id: Ic3a34b18708d637c94000e9bb3cad1b500e7356d
2017-09-27 06:34:25 +02:00
Robert Loehning
6d60aae8ef QmlPuppet: Check return value of fstat
Change-Id: I2b7c04712a883455d8a5a0daa1225c2ef84a0748
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-09-26 16:44:58 +00:00
Thomas Hartmann
2c2015970f QmlDesigner: FormEditorToolButton needs Arrow curser
Since the selection and move behaivour changed and the
label is now a move gizmo, the
FormEditorToolButton needs an explicit arrow cursor.

Change-Id: I10eb37dab39160e6854dfc57d206f6f5f1c2bc68
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-26 14:33:45 +00:00
Tobias Hunger
23a04c6592 Subscription: Handle already set up children
Auto-connect to children that are already connected when subscribing
to their parent.

Change-Id: I20cc76c818db5ad90dc126bdb8393506403dc4b6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-26 14:31:50 +00:00
Tobias Hunger
08677c0b01 CMake: Quieten soft-assert on small project loads
The directory tree scanner and the project parsing work independently of
each other. Add logic to combine these two sets of results into one
parsing state.

Change-Id: I46e94f0e866b40ee7225235c536c742cecf11b45
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-26 14:31:25 +00:00
Orgad Shaneh
a8410721be Qbs: Add variable chooser to Run Configuration widget
Change-Id: I8b52b4021e640232e722f33ce20229fe4c7280c7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2017-09-26 14:09:31 +00:00
Tim Jenssen
c9f48f87e2 MiniProjectTargetSelector: Trigger less list updates
Change-Id: I39634ef201ac4a12d5ea114843c73e4558015c05
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2017-09-26 14:08:53 +00:00
Christian Kandeler
f45369b8f5 Fix qbs build for qbs >= 1.10
Shadowing modules does no longer work from qbs 1.10 on; we need to give
our implementation of qbsbuildconfig a higher priority.

Change-Id: I703b780d564c43ebc2a4318f683537f10c4e5f3c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2017-09-26 14:02:44 +00:00
Laurent Montel
21d07f0ed4 Clean forward declaration
Change-Id: I1935221134b168c3bfdba334265a299d82283ba3
Reviewed-by: hjk <hjk@qt.io>
2017-09-26 12:49:32 +00:00
Eike Ziller
3a5bb4e32c Merge remote-tracking branch 'origin/master' into 4.5
Change-Id: Iaf279b5cf8f4cd417c87eb633f22efbe510ac31d
2017-09-26 14:45:12 +02:00
Thomas Hartmann
b81396c36e QmlDesigner: Fix compile
Did not compile with GCC 5.3 because frames and frames()
are ambiguous.
The new function name is more descriptive.

Change-Id: I832a02fb56dbada07dc8622b566762fb32139d3f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-26 12:19:53 +00:00
Thomas Hartmann
272645d790 QmlDesigner: Add default for DesignerSettingsKey::STATESEDITOR_EXPANDED
Change-Id: Iace28338f1cd67d0adb5bc0f573028f9fa030b38
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-09-26 12:19:44 +00:00
Thomas Hartmann
8e1af07c11 QmlDesigner: Add option in navigator to show only visible items
At the moment we show everything in default properties including
non visible items. This is a bad default.
Instead we provide an option if only visible items or all
objects are shown in the navigator.

Change-Id: I65b58d949136bcce4b06f1f47f56fb0f210fed5c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-26 12:19:33 +00:00
hjk
f3afac128b ClangStaticAnalyzer: Avoid use of DummyRunConfigurations
This moves the explicit build step into a dependent runWorker,
making the whole setup more aligned with a normal tool run.

Change-Id: Icd01b2e82f7f95774434d2ede04d08a5311b64e7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-09-26 11:19:40 +00:00
Eike Ziller
f5f4ebff73 Update project names in file system navigation pane
When the project reports a change in the display name we need to update
the drop down in the file system navigation pane as well.

Task-number: QTCREATORBUG-18972
Change-Id: Icfc0e6b2185f147bfc36589d8aea13a0966e8793
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-26 11:03:41 +00:00
Eike Ziller
f292a5e45b Add projects directory to folder navigation widget
Change-Id: Ia925fa99ba0f11be860f214e7809731ddf990268
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-26 11:03:31 +00:00
Eike Ziller
716808d9fd Add Home folder to file system view
Change-Id: I580475e06dafe835512d078fec30f59d4e798438
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-26 11:03:24 +00:00
Eike Ziller
08aa833825 Sort root directories in file system view
Change-Id: I8ce68ffa4752c89de735583640103bc22c2a8bc7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-26 11:03:16 +00:00
Robert Loehning
cf370d5305 Squish: Update debugger tests
The used project looks a little different now.

Change-Id: I786749a4aae5d2ceaff0d2fc65aedf41c04a66f2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-26 10:25:49 +00:00
Christian Kandeler
b70637de41 QbsProjectManager: Fix project parsing
Some recent ProjectExplorer refactorings caused the projects to stay
in the parsing state indefinitely, making it impossible to build or
run anything.

Change-Id: I458a5560cc8d0c7c3183c0f104f00b073039f28e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-26 10:22:18 +00:00
Ulf Hermann
05ef571922 QmlProfiler: 20s are still not enough for LocalQmlProfilerRunnerTest
The test has failed again because of insufficient timeout. 22s would
have been enough this time ...

Change-Id: I001a921921997863d77af8483403a8bd8a85eb29
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2017-09-26 09:35:56 +00:00
Marco Bubke
1005fa9b68 Clang: Initialize HighlightingTypes to Invalid
It is too easy to forget to initialize the type, so it can have a wrong
value. Actually we should use exceptions elsewhere because this can be
simply hiding bugs.

Change-Id: I71c0b467c12409b489c173e3edc53cdaa406bf09
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-26 09:12:50 +00:00
Eike Ziller
653e1e18c1 Dev package: Include .hpp files
Like optional.hpp

Change-Id: I1cc804834f34982dedfae0597179e523ff3bf522
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-09-26 08:15:04 +00:00
Christian Stenger
1e8d030284 AutoTest: Ask for runnable if determination failed
There are several complex project layouts that lead to failing
to determine the correct runnable for tests.
If this happens prompt the user for the runnable to use instead
of performing wild guesses or blindly using a wrong one.

Task-number: QTCREATORBUG-17882
Task-number: QTCREATORBUG-18922
Task-number: QTCREATORBUG-18932
Change-Id: I1575f310c450e56c087f1e689d0fc7dfb0cd0bef
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-09-26 07:33:32 +00:00
Christian Stenger
9dc8b54cdb AutoTest: Early return if fail to get local executable
If we have not found a local executable any further processing
is not necessary as the outcome will be the same: we will not
be able to start the test runnable.

Change-Id: Iaa4bbd533ced6184148f941c1cba394f9f47554d
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-09-26 07:01:04 +00:00
Christian Stenger
090dea66ee AutoTest: Use single build target as fallback
If we cannot find the respective build target to execute
tests, but we only have a single build target then
we now assume that this will be the right one.

Change-Id: I0f7c3c4f371bce3a7f328e7c28dc61cadf7f6e9e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-09-26 07:00:57 +00:00
Christian Stenger
3c602b32d4 AutoTest: Try harder to find relevant build targets
If there are tests defined or registered inside libraries
we ended up trying to execute the library or nothing at all.
If possible try to find correct build targets for such cases.

Change-Id: I58e9edb7f858e3e5407ece6fcb8782f5a129acd0
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-09-26 07:00:48 +00:00
Christian Stenger
fb063a09be AutoTest: Be more correct when gathering buildsystem targets
This avoids taking too many buildsystem targets into account. On the
downside this breaks execution of several possible project layouts.

Change-Id: Ia7bf00d11a3e7c9bf362667e33b1d1542495db4a
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-09-26 07:00:38 +00:00
Laurent Montel
3f4a434dea ResourceEditor: Clean forward declaration
Change-Id: I4bdf81b30b4b9c04f53ea2d11e56eec94821a15b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-26 06:49:02 +00:00
Christian Stenger
cd4218f85a QmlDesigner: Fix compile for gcc 4.9
Change-Id: I7ec825c7c719d46524358d45bec3a93072112cac
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-26 06:35:43 +00:00
hjk
295d3d7170 Debugger: Avoid use of dummy RunConfigurations
Allow to rely on kit plus data directly specified in the dialogs.

This means, RunControls with nullptr RunConfigurations are allowed
again.

Change-Id: I0b574b397603c0520c8187a8967bff2cf5e20ae8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-26 06:29:31 +00:00
Orgad Shaneh
ec4269f6a1 BareMetal: Fix target file name resolving
Broke by 1acd9d30dc.

Change-Id: I0dbf14aeb345743eb22a033ac3570c6af4eb0bb2
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Alexander Drozdov <adrozdoff@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-26 03:38:23 +00:00
Orgad Shaneh
91dd6ee0f9 Debugger: Fix crash when shutting down during core initialization
GDB output is still processed, but the docks are already deleted.

Use asynchronous shutdown, and wait for engine termination before deleting
the main window.

Change-Id: I28a36de15a0e9ce08ae18412d97aaf13cb0c25a6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-09-25 17:57:19 +00:00
Orgad Shaneh
f65ddad8b5 Merge remote-tracking branch 'origin/4.5' into master
Change-Id: I9bd98c02519e3798c0ef58cdf758222e546620fb
2017-09-25 20:19:56 +03:00
Orgad Shaneh
8ad4d4be6a Merge remote-tracking branch 'origin/master' into 4.5
Change-Id: I9fff4705cd5a7c92ddb18318cd87d0fe6f263f7e
2017-09-25 20:17:42 +03:00
Laurent Montel
631718bfba ClearCase: Clean forward declaration
Change-Id: I1b54d3e4eeeb301c0ce06086b5f14d2efc510525
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-25 17:15:55 +00:00
Thomas Hartmann
5e95553c5c QmlDesigner: Check if we are actually in a state
Mapping the QmlPropertyChanges back to the item makes
only sense if we are in a state.

Change-Id: I47d7a8810b3f920b53bc73eb21980c8abd04c572
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-09-25 14:46:16 +00:00
Thomas Hartmann
0521b7e1ef QmlDesigner: Implement model support for timeline
This patch implements the basic support for the timelien in the
model.
The type names will most likely change.

Change-Id: Ib3161d480468cf88e9f155130f7cba70451a8c7e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-25 14:45:53 +00:00