Commit Graph

54723 Commits

Author SHA1 Message Date
Christian Kandeler
6b29198874 SerialTerminal: Add qbs project file
Change-Id: Ic9b65d09424f0f28f58181d3da526127800c4d45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 14:57:36 +00:00
hjk
a728b790ad Debugger: Allow breakpoint items to be collapsed
Change-Id: Ia525e0c0259d6ea9578734c6ce12ed4178685ddf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 14:53:30 +00:00
hjk
a42ae9e6f5 Debugger: Add the ability to auto-test expression evaluation
... and use it for the hidden "sequence" feature.

Change-Id: I3430a24774264a573687ee818064314a8bca7212
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 14:19:23 +00:00
hjk
8ce6fffa0f Utils: Let tree items request collapsing
In addition to the already existing expansion request.

Change-Id: I5a60a2ae6d71bdd1fcf44af5554ca45212d9d5bd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 14:12:37 +00:00
Nikolai Kosjar
a8f9ca6ca8 State third-party licenses for LLVM/Clang/Clazy
Change-Id: I8ba9e9176a01f49fbf203beaac3dfd229df0046a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-01-31 13:14:00 +00:00
Leena Miettinen
2628304716 Doc: Add a line that was removed by mistake
Change-Id: I822c5c90312c2e41c01cdfc86cd5f2d7718173ae
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-01-31 10:14:36 +00:00
Leena Miettinen
de26df1ee3 Doc: Describe new Git functions
Change-Id: I13704198f707881514cbcd3af2aa7c1d036370a1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-01-31 08:06:40 +00:00
Vikas Pachdha
61511cd06b Android: Fix crash when creating new project
enableChanged is redundant for updating gradle settings.

Task-number: QTCREATORBUG-19652
Change-Id: I3352d3b56caf742f7f034b3bf106cfb361c1f869
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-31 07:54:38 +00:00
hjk
4c52129ea7 Make serialterminal plugin compilation depend on QtSerialPort presence
Change-Id: I49b7efba96f220924d493a45fd076f12a9465e31
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 07:35:30 +00:00
Friedemann Kleint
8a8ad532cf qmlproject.qmltypes: Fix syntax error
Amends e44504371c.

Change-Id: I0cc3ae874b27cfb6572bf111c1ab628ed113d955
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2018-01-31 07:31:32 +00:00
hjk
406f964993 Debugger: Fix typo leading to wrong settings behavior
Change-Id: I352346c5b1c644ccba46fd573e31f3f03877de26
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-31 07:19:52 +00:00
Christian Stenger
b0b2859fe8 SerialTerminal: Fix compile for Qt less than 5.8
Change-Id: Icaa48d92d75bdd669bc6e4184568bfcf92cc768c
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2018-01-31 06:33:04 +00:00
hjk
4c285f957b Core: Move left navigation view toggle button back to the left
Change-Id: I3f2070c6f6633b851c88d9179a4a97be1c944a7a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-30 15:30:14 +00:00
Eike Ziller
9f4c248fa9 Remove empty categories from change log
Change-Id: I7593c0ad1469e85ebe0973843087438f85422a71
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2018-01-30 14:06:11 +00:00
hjk
be3f5123d6 Core: Use a ModeManagerPrivate::appendMode(IMode *)
... instead of adding-by-index. This amends 3d2db474.

Also, simplify the shortcut setting, the loop is not needed
anymore as the mode order is fixed now.

Change-Id: I87959f8b5bc5c3a0cd0ca240fb8709db75aed105
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-30 13:39:51 +00:00
Benjamin Balga
b386eae888 Plugins: new serial terminal plugin
Plugin adding serial terminals in the output pane.

Change-Id: I75d0f69f8d90268ff774e4eae30e36eda022d3aa
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2018-01-30 13:35:19 +00:00
Eike Ziller
a8d8365c84 Add missing features to changes file
Change-Id: Ib7ddb8cc98a11ab4703a2d12e60891afcbba6d1c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-30 12:07:19 +00:00
Nikolai Kosjar
4a58581eed changelog: Correct instructions to enable clazy/tidy
The clang/tidy settings are part of the diagnostic configuration and not
anymore in its own group box "Clang Plugins".

Change-Id: Ibba95cff351521a8e0fda60f1b7f4e9a3e99c127
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-30 11:31:38 +00:00
David Schulz
43f02573df Debugger: Use shared TerminalRunner also for CDB
Task-number: QTCREATORBUG-19633
Change-Id: Ic16335de1c5e57da7d9253772bad9e4ade1db926
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-30 11:20:45 +00:00
Christian Kandeler
860b89b49c qbs build: Disable Qt bundling functionality
This would otherwise come in from the qbs submodule.

Change-Id: I44cc3ae5115146d3e051fcc0f78b1369205d3488
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2018-01-30 10:56:14 +00:00
Eike Ziller
f211802d4c Remove wrong change log entry
Change-Id: I76afba05334a69f5ca6c03350d8aeafcd1c6f319
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-30 10:21:42 +00:00
hjk
7ab872ce6a Android: Remove dependency on plugin object pool
Change-Id: Ic6908cca581a0d6155c8c43c86163347ca578a4c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-01-30 10:21:18 +00:00
Christian Stenger
f55ce0a1e0 Debugger: Do not immediately assume engine setup done
Instead of assuming engine setup done wait for the respective
signal coming from the debugger bridge.

Task-number: QTCREATORBUG-19666
Change-Id: I3b9daffc7f22ce2a0fde5c993760a2a5bda31310
Reviewed-by: hjk <hjk@qt.io>
2018-01-30 10:20:27 +00:00
Ulf Hermann
14297c9543 Sqlite: Add a dtor to Database
The base class TransactionInterface has a virtual destructor that is not
exported. This means we get linker errors when trying to use Database in
a different library.

Change-Id: Iba431a627dca32d59ea7316b7f3eb07fa209c60f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2018-01-30 09:35:50 +00:00
Ulf Hermann
373f5835dc Timeline: Add some missing override
Change-Id: I010ef4b5c34265329166513793cd6d18dab93401
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-01-30 09:20:10 +00:00
Thomas Hartmann
84d81f27b2 QmlDesigner: Simplify settings in stand alone mode
We also hide the related error message pointing to
the QML emulation layer.

Change-Id: I8e2f08bcbc4bdbf36a49e8fba1d1d92adab36e11
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2018-01-29 16:29:06 +00:00
Tim Jenssen
700447d9a0 fix deploy Qt for renamed QtCreator
Change-Id: I7abd20ae8ad91ac5a7bf0d5daa856c0615ae3b10
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 14:20:24 +00:00
Marco Bubke
0f8befacd3 Clang: On the road to update and preprocessor support
This patch has grown in a quite big change set and it is really hard to
divide it in different parts.
V2::ProjectPartContainer is now using FileIds instead of file paths. This
cleans code up because it is a big step in the direction that internally
only file ids are used. But it is depending on the file cache, so the
file cache has to be provided as an argument. There is now an interface for
transactions too which are ease the testing of them and enables the support
of preprocessor. It adds macros as symbols and is saving used macros. The
used macro support is enabling update improvements because only if a
changed macro is used it needs to be recompiled. This is still in flux
and can be changed in later patches.

Change-Id: I492a2c9af1201d40fdd9f46a0045f7878bbbaa3d
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-29 13:47:09 +00:00
Thomas Hartmann
e6f43be202 QmlDesigner: Add setting that hints for a stand alone mode
Change-Id: Ib0287b74b5ddb2eb9fdeccb1d50cffec9ae0467a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-01-29 11:01:21 +00:00
Christian Stenger
2e8527c7e5 Wizards: Fix QtQuick - Empty wizard for cmake
cmake does not automatically set the C++ standard to C++-11 when
using Qt5.6. Explicitly set it to have a compiling template.

Task-number: QTCREATORBUG-19670
Change-Id: Ibba1f58951f96c4834985bff2298d606e9aa56bc
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-29 10:54:10 +00:00
hjk
3d2db474a4 Core: Force and rely on mode creation before extensionsInitialized
cf7f898db3 broke initial mode display due to the then-intentional
delay in registration. Now change the approach: Only record
the modes and the last requested start mode and do all remaining
setup triggered from MainWindow::extensionsInitialized.

This changes behavior insofar as only the last requested mode
on startup (typical Welcome, if Welcome not loaded, Edit) will
be activated.

Change-Id: I62b28342c347938b001c6d3be6a076c5a69b560b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 10:43:02 +00:00
Ivan Donchevskii
d3b11926d3 Clang: fix unit-test build
Remove unit-test dependency from project.

Change-Id: I1abdbea08648c292d5c98a0c88a211c8c897cc71
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-29 10:20:46 +00:00
Ulf Hermann
aade6ef371 Fix binding loops in Timeline and FlameGraph
This also gives us a nicer minimum width for the details windows.

Change-Id: Ibf57899b24caa22f303a83cafd20f2b07b5efbb4
Task-number: QTCREATORBUG-19653
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-01-29 10:10:02 +00:00
Tobias Hunger
78b7c34bbc Core: Fix build failure
Change-Id: I8a0b204749763ef07d0118990eca9d4c1cc19d29
Reviewed-by: hjk <hjk@qt.io>
2018-01-29 09:58:51 +00:00
Eike Ziller
049b761242 Fix inconsistency between tool tip and context help
For the tool tip it moves the position to the start of the word before
passing it to the hoverhandler. That wasn't the case if the user
requests context help, which lead to the strange situation that the tool
tip showed help, but context help at the same position did not (e.g. on
QApplication::topLevelWidgets() with the cursor between the
parentheses).

Related to QTCREATORBUG-15959

Change-Id: I2b9918ea235869c2ddeeba6e749958c10a47d259
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-29 09:51:23 +00:00
Ulf Hermann
e44504371c QmlProjectManager: Prepare for running on remote devices
We add a "targetDirectory" property to the file format and fill in the
deployment data.

(cherry picked from commit fba61c5b55)
Change-Id: If207cd5c77175c54cffdb5df92ea85c425cd3191
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 09:04:45 +00:00
Christian Kandeler
c535cce8c6 Update qbs submodule
To HEAD of 1.11 branch.

Change-Id: I6bdc81ae2f5aaa2b4403266615200ab51dc75cca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 09:04:34 +00:00
Nikolai Kosjar
33b6fe812a Clang: Make clazy/tidy options part of the diagnostic config
As a side effect, clazy/tidy options become available for project
specific customization in the projects mode.

Change-Id: Id72762dedd857915139c15f532d2f1c6d1f43edb
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-29 08:14:14 +00:00
Nikolai Kosjar
5b1ae09fbf Clang: Auto reparse if diagnostic config changes
On diagnostic config change, affected documents are closed behind the
scenes. Visible ones are parsed immediately, invisible ones are tagged
for parse once they become visible.

Task-number: QTCREATORBUG-16263
Change-Id: Id4dcc69f1a4bfccc597e798d6821f8718f86e352
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-29 08:14:08 +00:00
Nikolai Kosjar
2c74441260 Clang: Use only one ClangProjectSettings instance per project
So far we've created ClangProjectSettings objects on demand. To get
change notifications there should be only one per project alive (and
accessible).

Change-Id: I757186ceaa642c6864d02946258cc6eb18064a52
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-29 08:14:03 +00:00
Nikolai Kosjar
384128662e Clang: Avoid storing settings more than needed
There is no need to store on every key stroken when changing the
diagnostic config in the projects mode.

Change-Id: I627c11621b999527c110862365ba5c2a0b1e878b
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-29 08:13:57 +00:00
Nikolai Kosjar
49ba25e183 Clang: Let ClangProjectSettings announce changes
Change-Id: Idd6c91f5e8f0a73e4a15fe2f4b667302e6ee5e49
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-29 08:13:51 +00:00
Nikolai Kosjar
9b4688f1a4 Clang: Let CppCodeModelSettings announce invalidated diagnostic configs
Change-Id: I1fe62d4cd4bc91bfd73e57ace6dc9a87d13b3537
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-29 08:13:44 +00:00
hjk
22742b15e7 HelloWorld: Do not use global object pool anymore
Change-Id: Ief4b53475fbe87f30b8305cf07dc14a5819e4662
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 07:55:34 +00:00
hjk
e783f883ea Core: Move MenuBarFilter closer to its peers
Change-Id: I9d7eac297a06fae39ef7ee19841547e8b5bea45a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-29 07:55:26 +00:00
hjk
8a8426d7ba BareMetal: Don't rely on global object pool anymore
Change-Id: Iaaf0828cbcc3b3df9ec1774579381e36be82e3c7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-29 07:43:31 +00:00
hjk
2052d6fc03 Debugger: Remove use of IPlugin::{add,remove}Object
The functions are about to be removed.

After cf7f898 the mode does not have to be in the global
pool at all, the plugin needs to stay there as it is used
for soft dependencies, but use direct insert/removal now.

Change-Id: I6497c3ea9fb68fdfa488e8c8700e31d91e36858f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-29 06:57:45 +00:00
Christian Kandeler
c6d9507a8b Update qbs submodule
To HEAD of 1.10 branch.

Change-Id: Id930196829322ffd3a3baa43da34e233a1864ea4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2018-01-29 06:45:19 +00:00
Thomas Hartmann
5b6b26893f QmlDesigner: Fix crash
We cannot use references if the container is just temporary.

Task-number: QTCREATORBUG-19661
Change-Id: Ie0c9af142d5155d3f61c14bad1fbecce7f2dfd0f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-01-26 17:38:29 +00:00
hjk
5250959bd9 FakeVim: Reorganize internal class dependencies
Initially, this was just meant to remove the nowadays unneeded
object pool registrations, but some of the internal encapsalization
is not much more than line noise. So do what most other plugins do:
Keep a global pointer to most of the 'singleton' data, instead of
passing around one value that will never be different.

Change-Id: I24bf02d1ffa53c8f0d4890db3579a434b1233d42
Reviewed-by: Lukas Holecek <hluk@email.cz>
Reviewed-by: hjk <hjk@qt.io>
2018-01-26 17:27:15 +00:00