Commit Graph

44349 Commits

Author SHA1 Message Date
Tobias Hunger
4e1761f70a Kit: Add a method to retrieve all existing keys
Change-Id: I819fa19e2b4b2a96c3ea8f556ba0ce9116e5f3dc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-21 07:43:59 +00:00
Alessandro Portale
f267f1125d Reapply "Tools: Disable building clangrefactoringbackend"
This reverts commit f3066bf4c0.

The clangrefactoring seems to need something which is not provided by
our current prebuilt clang packages. Therefore, the nightly build breaks
on all platforms

Change-Id: Ibc4c2d548659b0b4cc437b5f87c3c65b0ab4288b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-09-21 07:06:58 +00:00
Orgad Shaneh
baf74ae070 QbsPM: Support variables in build configuration properties
Change-Id: Id438c33d14e0e7b27ea81fa39395c2d68d8a7736
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2016-09-20 17:12:53 +00:00
Alessandro Portale
f3066bf4c0 Revert "Tools: Disable building clangrefactoringbackend"
This reverts commit 7efe8f429c.
The .pro file in clangrefactoringbackend now checks whether
the tool can be built or not.

Change-Id: Ib9a2ccd3c72f188faa0e24a6311632480da005e3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-20 13:55:34 +00:00
hjk
b8f96f5629 Debugger: Make {G,Ll}dbEngine::doUpdateLocals more similar
Change-Id: I8877dbc3b6c9166d8d8781453b753f22ebc0a579
Reviewed-by: hjk <hjk@qt.io>
2016-09-20 13:37:19 +00:00
hjk
6d22c8dafb Debugger: Re-enable Moduleshandler context menu also below entries
Change-Id: I2e8cb9289770b46145de0850d15b4124aa5a1536
Reviewed-by: hjk <hjk@qt.io>
2016-09-20 13:36:34 +00:00
Orgad Shaneh
ff963bc184 Git: Avoid QProcess::waitForReadyRead in MergeTool
It's unreliable on Windows with Qt 5.7.

Change-Id: I0703ae825e9db80ac8063d9f6962863a68591ed6
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-20 13:23:35 +00:00
Orgad Shaneh
c64b3f9882 Git: Do not rely on QProcess::readData/writeData in MergeTool
readData always returns 0 in Qt 5.7 (unless the process is not
running)...

Instead, write to the VCS output pane when reading from/writing to the
process.

Change-Id: Ie832d813d5a859b4ff5841fd2888783833c97945
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-20 13:23:30 +00:00
Marco Bubke
8151a09fdc Clang: Requires a clang debug build for windows
Under windows you cannot mix debug and release builds. So we require that
clang is build as debug if the creator is build in debug.

Change-Id: Ie46a1f13d83a7afbf81129ed75d0519fa9f5268d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-20 13:08:14 +00:00
Alessandro Portale
e809594fae Core: Make IOptionsPage::categoryIcon a Utils::Icon
This is necessary for themable + HighDPI icons in the options dialog.

Change-Id: I8e3ff87a24591af40bb76b39cd970443d7678fae
Reviewed-by: hjk <hjk@qt.io>
2016-09-20 12:52:49 +00:00
hjk
c71c00cf48 Debugger: Re-enable editing through Locals&Expressions view
Fix recent regression in double-click event propagation.

Change-Id: Ic69d0d95701c8168331b1627fbd9334b8f5dc0d4
Reviewed-by: hjk <hjk@qt.io>
2016-09-20 12:13:52 +00:00
Thomas Hartmann
d7a23f9716 QmlDesigner: Allow to edit when condition in states editor
The when condition for each state can now be edited.

Change-Id: If569e3f22e2eee34b9333b3e139da59768649811
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-20 10:31:16 +00:00
Tim Jenssen
b225a52842 QmlDesigner: remove bounding rect adjustments
After using cosmetic pen this is not necessary anymore.

Change-Id: I91b9ca52d00650dfb8e5bc8ed20802431bc742bd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-09-20 10:05:17 +00:00
Tim Jenssen
92f03e1673 QmlDesigner: Use cosmetic pen in all tools to draw lines
This way the lines do not become ugly when zooming in.

Change-Id: I92a35244a53bfa8320482c7cf9e8454e7b783abc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-09-20 10:05:07 +00:00
Orgad Shaneh
dd86735111 Android: Use QThread::sleep instead of STL
Change-Id: Ib16e8450732789e801f82e2d037b20868e444538
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-20 09:59:17 +00:00
Vikas Pachdha
0c187a2b12 iOS: Fixes QML debugging on iOS device
Task-number: QTCREATORBUG-15812
Change-Id: I7c495457961bad89ba3a1ca6a19dcd018c4e3a5b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-20 09:52:59 +00:00
David Schulz
14c65ed6db CdbExt: Add python scripting
Introducing the script extension command that allows
to run basic python code.

Change-Id: I356ca5408474be0206b1c77cf2a0ecf6640ec651
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-09-20 08:58:25 +00:00
hjk
a2a766d770 ProjectExplorer: Don't select kit on activation
Otherwise, uninterruptable project parsing is triggered.

Change-Id: I0ae106a390f8c0cf3849a9feb8ef4e1800e07e33
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-20 08:33:48 +00:00
Takumi ASAKI
33d67828f6 EditorManager: Use "URL" in message
Change-Id: Icfd31b7cd89a727a3fbfc53ad53f036f7f7c3120
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2016-09-20 01:49:41 +00:00
Thomas Hartmann
648a909918 QmlDesigner: Allow to toggle alias exporting in property editor
Change-Id: I8d293eb5a5fa7d6f7092f2fc857e19e9c4014c60
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-19 15:46:52 +00:00
Marco Bubke
381bee1434 Clang: fix llvm lib linking on windows
If we use paths with spaces we cannot split them anymore so we have to
handle unix and windows differently.

Change-Id: Ibfc8c51cfe2ecd68e913ad84e0e1269eb7eeda02
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-19 15:27:25 +00:00
Thomas Hartmann
f717064a91 QmlDesigner: Use cosmetic pen in form editor
This way the selection rectangles do not become ugly when zooming in.

Change-Id: I78f1bd106c94f0e40ebcbc1be5a52fc914a015f1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-19 14:17:57 +00:00
hjk
b259939755 ProjectWindow: Make kit activation easier
Add a [+] icon for inactive kit entries, add a "Click to activate" to
the tool tip, and allow single click activation.

Change-Id: I1219eb54b4e3a077ef133afaf71134bb35e14fb7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-19 12:43:15 +00:00
Thomas Hartmann
8c76f08ce4 QmlDesigner: Update anchors if selected node is reparented
If a node is reparented in the navigator we have to update
the anchor backend.

Change-Id: I5eb586410ee5d270c3f1b4fef7e3fa37afbc7921
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-19 12:29:09 +00:00
Tim Jenssen
3198c39338 AutoTest: fix Qbs build
Change-Id: I1ce88038fa1159c0debb0d4fd9cf6550b2ba8ad8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-09-19 11:48:23 +00:00
Tobias Hunger
0a237174dd Kit: Do not allow kitinformation to spam the kit's tooltip
Change-Id: I9fbd4072625567f110f29bc7e65a68e14c4bc6b2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-19 11:46:37 +00:00
Christian Stenger
b5875e84cb AutoTest: Generalize framework specific settings
Change-Id: Ie8a1db6408d2ceac7331d29ef25d193a15186a4c
Reviewed-by: David Schulz <david.schulz@qt.io>
2016-09-19 09:59:40 +00:00
Christian Stenger
7f89df16a2 AutoTest: Separate settings
This is a preparation for providing a way to let a framework define
its own settings.
This patch breaks old (framework) settings as some options have been
renamed and/or moved into sub groups.

Change-Id: If43678bcf75f6153adba52ebdfb12cd7c043ad25
Reviewed-by: David Schulz <david.schulz@qt.io>
2016-09-19 09:59:34 +00:00
Christian Stenger
fde344fff3 AutoTest: Simplify settings handling
There is no need to check complete settings whether something has
changed before setting them.
Limit the check to what is needed and remove unneeded functionality.

Change-Id: Icdf99d89d795edc20338a774ca7e90b1e4f1e417
Reviewed-by: David Schulz <david.schulz@qt.io>
2016-09-19 09:59:27 +00:00
Orgad Shaneh
714a9315aa ProjectExplorer: Fix infinite loop in mini target selector
Change-Id: I454c1b6eb3361b2e610782585152243163acfd58
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-19 07:37:30 +00:00
Christian Stenger
950b665741 ScxmlEditor: Fix compile with Qt5.6
Change-Id: I07ed1737b9a72338aa74aab0c6277df414d95cb5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-19 07:22:33 +00:00
Orgad Shaneh
9ee955acb7 VCS: Only accept commit on Ctrl+Enter when enabled
Task-number: QTCREATORBUG-16808
Change-Id: I08442b027a6af300b2786e4510177bc050887ada
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-18 19:00:26 +00:00
Orgad Shaneh
7fbbd8f2fd ScxmlEditor: Cleanup nullptr comparisons
Change-Id: I8b61929f1d23a6a7c46043b8967c1aebe333a7e7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-18 10:20:03 +00:00
Orgad Shaneh
a9e796535a SCXMLEditor: Fix compilation
Add a missing include

Change-Id: I2adcfd721bdf54ad11f3e52918eadd97ddd7016a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-09-18 03:16:08 +00:00
Tim Jenssen
ebd5539a74 ScxmlEditor: fix qbs build
Change-Id: I5333479e04456618ecdb64c8ba176f9de8ca098d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-16 16:10:46 +00:00
Eike Ziller
9648a7e5b4 Context Help: Use correct "close" icon
Context help should have the icon that closes a "panel to the right".

Change-Id: I954171c4f2d604a23bf9c1e6f341de0f5cc87ace
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-16 14:18:05 +00:00
Tobias Hunger
a9652dad69 ProjectImporter: Fix deletion of directory data
Change-Id: I33c4fc25ab9c85dd8433281e2915a7d9428ea40b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-16 13:37:42 +00:00
Ulf Hermann
1ff9c71b65 QmlProfiler: Announce correct features from memory usage model
... and make the test pass again this way.

Change-Id: I0854688095af4385c4f57e113e3af03cca22e39f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2016-09-16 13:30:25 +00:00
Alessandro Portale
4ea332b062 ScxmlEditor: Initial import
Change-Id: I4701b77ebd4e2520f2616c42206ac17be3a12b60
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-09-16 12:39:49 +00:00
Eike Ziller
0768ef7382 HelpWidget: Use member initialization
Change-Id: I734fa9bb1bd5a0518a6051b9001f61f722c90691
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-09-16 09:53:45 +00:00
Orgad Shaneh
b88de51cbc Main: Replace macro usage with HostOsInfo
Change-Id: I6ac6cbe39ba6552b30dc109a2310bff8c16b84e0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-16 09:21:40 +00:00
Orgad Shaneh
ffe52196c3 ExtensionSystem: Replace macro usage with HostOsInfo
Change-Id: I112ff6f61e3bd06a4ccfca9c6d91037e3d814e44
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-16 09:21:16 +00:00
Mitch Curtis
a1b69a5ecf Add "j" as mnemonic for File > Close Project
To speed up keyboard navigation of the project menu.

Change-Id: Ifb02a87542102f1a0988a2aa8618ddf1fb9f868b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-09-16 07:37:48 +00:00
Eike Ziller
2f4e2e565a macOS: Do not show numbers in recent files & projects
There are no accelerators on macOS, so these numbers are unnecessary
noise.

Change-Id: I0402dd961dbe955837e0aa70b92aef33f61d61bd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Serhii Moroz <frost.asm@gmail.com>
2016-09-16 07:02:30 +00:00
David Schulz
cfa456b29a Debugger: Adding information to the breakpoint tool tip
The breakpoint condition and the command executed upon breakpoint hit
are now added to the tool tip.

Change-Id: I804faae9fe0e70f7033dc99bf4e4b3701a70505d
Reviewed-by: hjk <hjk@qt.io>
2016-09-16 06:52:12 +00:00
Tobias Hunger
19d4d7014d ToolChainKitInformation: Choose a better c compiler when upgrading kits
Leave the C compiler empty for non-desktop kits.

This stops kits targeting embedded devices from getting flagged with an
error due to ABI mismatch between its compilers.

Change-Id: I3906a3315fc8c4e7a9ed0831fe69cc7de9e39bf7
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-15 15:28:28 +00:00
Tobias Hunger
9dda516b08 CMake: Work around bug in cmake documentation when extracting keywords
Work around a bug in the documentation of CMAKE_COMPILER_IS_GNU*, which
leads to creator offering invalid completion when editing CMakeLists.txt
files.

Task-number: QTCREATORBUG-16852
Change-Id: I7c61445a7448bdd6f5de5f235316c260ba28e757
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-15 15:25:14 +00:00
Tobias Hunger
b57f20f633 CMake: Remove some QLatin1Strings
Change-Id: I218f2cec0d5d81dca22aec564bc0140780cee317
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-15 15:25:10 +00:00
Tobias Hunger
3b93c8c3ee ProjectIntroPage: Fix wrong Q_PROPERTY declaration
Change-Id: I06d0922f89649bb995e91c490f941fbedc6b21d7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-15 15:24:59 +00:00
Tim Jenssen
dde465a146 Sessions: add existing feature documentation
Change-Id: I8504a2fae4476d5d54dc7bdb681a8c9c2c39caaa
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-09-15 09:33:41 +00:00