Commit Graph

67787 Commits

Author SHA1 Message Date
Christian Kandeler
b15d1951a2 ProjectExplorer: Let IOutputParser handle newlines
This makes IOutputParser structurally more similar to
Utils::OutputFormatter, which makes it simpler to explore possibilities
of somehow uniting these two related classes.

Task-number: QTCREATORBUG-22665
Change-Id: Ibb12ab6c8c785d863b9a921102a929864d0a5251
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 08:13:58 +00:00
Christian Stenger
c98f213ae9 Wizards: Add support for PySide 5.15
Fixes: QTCREATORBUG-23824
Change-Id: Ia0a2785d6371f771fcf83d3b326e76455143f8a5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2020-04-07 07:52:13 +00:00
David Schulz
45e7b78dc3 Debugger: Add action to reset individual/type formats
Task-number: QTCREATORBUG-22922
Change-Id: Ic8d0dd1214c208869bebdd69feb2cca1213d30cd
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-07 07:26:39 +00:00
Andre Hartmann
0c1906319d JsonWizard: Fix spelling of "restoreLastHistoryItem"
Change-Id: If442b51bc5dc67ab668eb77afb8f0a0ead7c7c95
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-06 16:25:42 +00:00
hjk
3e79c7da48 Android: Also install LLDB from SDK
Change-Id: I7ebf70387935a7e88b80b57d97659ec5f50ba758
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2020-04-06 15:37:01 +00:00
Alessandro Portale
a02b6e3e7d McuSupport: Register Qt for MCUs examples
This change introduces the registration of examples (or rather demos) of
the Qt for MCUs SDK at the launch time of Qt Creator.

This presumes that either the SDK installer set the Qt for MCUs SDK path
(which is the default use-case) or that the user selected/changed the
SDK path in a prior run of Qt Creator.

Task-number: UL-1218
Change-Id: I6484d3e3065f501da4cd6faccfe02605003f6cbf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-04-06 14:12:46 +00:00
Knud Dollereder
7e76a76402 Refactor GraphicsScene and Graphicsview
Make sure to deselect keyframes when clicking on an unselected handle

Task-number: QDS-1033
Change-Id: I2b98188237f8a0618e6ff3e64280091583112196
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-06 10:45:28 +00:00
Andre Hartmann
93e788fd19 VcsOutputFormatter: Allow ranges with three dots also
This can, for example happen after a forced push to Gitlab.
The VCS output looks like this in that case:

  + 7c145ae...c301cc6 master -> master (forced update)

Change-Id: I84bec1a6cf2bf875732461f767ebbf4703cdbadb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-04-06 10:28:09 +00:00
Miikka Heikkinen
4569559898 QmlDesigner: Properly destroy all keyframe groups for deleted nodes
QmlObjectNode::destroy() is not called for implicitly destroyed
subnodes when a node is deleted, so we need to account for those when
removing keyframe groups from timelines.

Change-Id: I21c838d84b5da17d772202961b3b1267e09c7050
Fixes: QDS-1880
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-06 08:55:24 +00:00
Unseon Ryu
fee8848297 fix incorrect GaussianBlur shader code generation
m_quickView in Qt5NodeInstanceServer::initializeView()
is instantiated with setProfile(QSurfaceFormat::CoreProfile)
However QGfxShaderBuilder::QGfxShaderBuilder() initiates and
generate the gaussian blur shader code with referring default format.
that doesn't set the profile to QSurfaceFormat::CoreProfile.

The correct resolution is to get profile with accessing current window.
But QGfxShaderBuilder is not QQuickItem so it doesn't have any way to
access current window.

As qmlscene does, it could be a nice solution to keep the current
surface format as default when instantiating QQuickView.

Fixes: QDS-1864
Change-Id: I0fcf80effccebf7cfe8e58c071cf121b6af5bdbd
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-04-06 07:48:37 +00:00
Leena Miettinen
b2ca79836b Doc: Describe Qt Quick Animation types
They are now available in Library > Qt Quick - Animation

Change-Id: I67c3c9299c80fb464cbfca3523843807127a5250
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-06 06:41:53 +00:00
Leena Miettinen
0f1d0082aa Doc: Fix path to project wizards
Update screenshot

Task-number: QTCREATORBUG-23364
Change-Id: I3b1c56eed1603fac60f884f4685ce3da8263a4b3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-06 06:41:34 +00:00
Andre Hartmann
ca22b33ddc Git: Add remote URL history completer
To checkout wizard and to remote add dialog.

Change-Id: I8e4e011a41a862a40d6c1eadd0eaf3ce55f6db80
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-04-05 07:46:14 +00:00
Andre Hartmann
a59420a9c3 Git: Improve the Checkout > Create Branch > Add dialog
Suggest a local branch name here also.

Fixes: QTCREATORBUG-23797
Change-Id: I16228507858380bc2ff6dc8590279155624d3d28
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-04-04 19:26:52 +00:00
Miikka Heikkinen
ca72140c30 QmlDesigner: Properly format edit keyframe dialog values
Change-Id: Ie84a488932e019252515947ce6bbffd424a47a20
Fixes: QDS-1882
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-03 19:28:54 +00:00
Denis Shienkov
7b73d286fc BareMetal: Dump additional macros of C{51|251} compiler
We need also dump the missed __MODEL__, __STDC__, __FLOAT64__,
and __MODSRC__ macros:

 * http://www.keil.com/support/man/docs/c51/c51_pp_predefmacroconst.htm
 * http://www.keil.com/support/man/docs/c251/c251_pp_predefmacroconst.htm

Other macros (like the __DATE__, __FILE__, and etc) we can ignore.

Change-Id: I9a60aa29c542413e47d4ef95b686648e5f216730
Reviewed-by: hjk <hjk@qt.io>
2020-04-03 17:31:23 +00:00
Leena Miettinen
86b16b6b7d Doc: Update info about the WebAssembly plugin
The installer now automatically creates build and
run kits.

Change-Id: I75093fb0d06efdb20b4987b456c2a451ce0dce8a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-03 15:07:29 +00:00
Eike Ziller
f8ec649c99 Merge remote-tracking branch 'origin/4.11' into 4.12
Change-Id: I3edd6457620e6c2686e13d1030805294d7d3958f
2020-04-03 15:56:36 +02:00
hjk
2033b438ca Android: Use BuildSystem to access some build related data
... that's currently stored in ProjectNodes. Plan is still to adapt
all user code like this, and finally move the data storage from
ProjectNode to BuildSystem.

Change-Id: Ida9b47c4a3013b857d00e7792eaf78d9f91b3c9a
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-03 12:23:33 +00:00
Assam Boudjelthia
8f8b1b3d9d Android: fix manifest editor appending lib_name meta-data
The manifest editor is always adding the meta-data part for
"android.app.lib_name" because parseMetaData() is wrongfully
returning false.

Change-Id: Ic5f1971e98f213b6fe517bf6605120b21ca51508
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
2020-04-03 11:54:51 +00:00
Christian Kandeler
cddaecfe21 ProjectExplorer: Clean up IOutputParser interface
- Remove unneeded/unused functions.
- De-virtualize where possible.

In particular, after untangling a number of self-referential
redirections, it became apparent that the outputAdded()
infrastructure was entirely unused.

Change-Id: I51e1beed008df2727b42494b087efa476342397e
Reviewed-by: hjk <hjk@qt.io>
2020-04-03 10:57:06 +00:00
Viacheslav Tertychnyi
e0e5334d83 Debugger: Fix tooltips
Fixes: QTCREATORBUG-19574
Fixes: QTCREATORBUG-23807
Change-Id: I61f997e69f4a747aff8c5e1044bb6d856494ae47
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-03 10:14:33 +00:00
Ville Voutilainen
3af1a7b4cf Android: fix a thinko in syncing icons to widgets
The path can't be set unconditionally, and copyIcon
sets the path when necessary. So call copyIcon here.

Task-number: QTCREATORBUG-23747
Change-Id: I72a61798ad54c94a5c2a30bb313eb234f51d5ff3
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2020-04-03 10:03:14 +00:00
hjk
80f3f34c96 Debugger: Pass symbol file to LLDB and use it
Instead of guessing from the executable.

Change-Id: I5f57020446bc5e0f7915dac487a32d673eb97952
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-03 10:02:47 +00:00
Robert Loehning
cced9c95ea EnvironmentDialog: Add missing full stop
Change-Id: I90905985650c957ab6ae648ecf8baa92deb865a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-03 09:47:48 +00:00
Jarek Kobus
4eb5adee3f Fix deprecation warning when using linksForKeyword()
Change-Id: I6c8beeabb82f0a50def944ee893753a229c41908
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2020-04-03 08:38:24 +00:00
Eike Ziller
83ed1e3a7c Allow plugins to register additional example sets
Change-Id: Icfa2a8093a5cffd86dc029fd1b06117f599203ab
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-04-03 08:37:57 +00:00
David Schulz
9cfd1b5d6c Debugger: Split long cdbextension commands
Fixes: QTCREATORBUG-22922
Change-Id: I5def321f0f97717728bc5cdcd5309b458a8ecfa1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-03 08:25:51 +00:00
Eike Ziller
41a122641c Support adding multiple shortcuts to the same action
In the settings UI. Moves the "Reset" button for individual
actions up to under the list, next to the "Reset All" button.

Users can add a new "row" for another shortcut for the same action,
as long as there are no shortcut inputs empty.
There is no way to directly remove an input row - to remove a shortcut,
just clear the input (like it was the case with just single shortcuts).
This gets cleaned up when you select an item again.

Fixes: QTCREATORBUG-72
Change-Id: Id0402d00ebeb41f5b0c612d9d03f884b78485fbc
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-04-03 08:04:42 +00:00
Leena Miettinen
ab188df276 Doc: Describe changes in Clang diagnostigs
Change-Id: I40dc02d3a4b18d352d0834033ab5ec67252f928d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-03 07:29:36 +00:00
Eike Ziller
897abf24e2 Merge remote-tracking branch 'origin/4.12'
Change-Id: I79083060dfc3bc4408123acd3b7305b9701650fd
2020-04-03 08:12:52 +02:00
Eike Ziller
708f84cce8 Doc: Fix style for menu hierarchies
Use \uicontrol for the individual components individually

Change-Id: Idf62db7c37e94a55a988792f13aaa8c49cb1ac07
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-03 06:10:16 +00:00
hjk
7f958700a0 Debugger: Make LLDB work a bit with remote Linux
The device on remote side *has* to configure (/usr/bin/)lldb-server as
"GDB server executable" in the device settings.

A real gdbserver does not work.

Change-Id: I045ffb60a824e06ee683d8bdfffeb480a580af5f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
v4.12.0-rc1
2020-04-02 15:50:19 +00:00
hjk
fb784a1f80 Debugger: Start lldb-server instead of gdbserver
... when the debug server looks like lldb-sever.
Also use suitable arguments.

Needed for setting up device connection later.

Change-Id: Ie4130be7881e12d460ab5116b0018916d47ed012
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-02 15:07:00 +00:00
hjk
aec5563364 RemoteLinux/Debugger: Pass right platform string to LLDB
Needed for setting up device connection later.

Change-Id: Ib794a8bf093714935b9a3ed3f290d46550763d68
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-02 15:00:32 +00:00
Miikka Heikkinen
a9fb719755 QmlDesigner: Skip duplicate assets imported simultaneously
Since asset folder is generated from the asset filename without
suffix, it is possible to select multiple assets with same filename
but different suffix into the import, and they would import into the
same asset directory, causing confusion and potentially broken import.

Fixed by skipping duplicate assets within the same import.

Change-Id: Ied825f32309b4321de7fa471cbd5ff1041e03072
Fixes: QDS-1239
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-04-02 14:34:29 +00:00
Leena Miettinen
4efb81ba0b Doc: Edit info about Qt Quick 3D View type
Add screenshots.

Change-Id: I06cb35deabb7c4a2bb6fda3b47dfc3ee49be1b32
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-02 14:15:12 +00:00
Thomas Hartmann
936e287402 QmlDesigner: Use constants for flow block size
Change-Id: I0ba4fbc89e7fc6bf9ef1266b5cc4a19bb7837b12
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-02 13:28:11 +00:00
Thomas Hartmann
68838682a9 QmlDesigner: Fix bounding boxes in flow editor
The calculation of the bounding boxes did not take the new items
into account. The new implementation now shares code with the painting.

Change-Id: If257dbf4a36e925d71c109e245b7c87c7a5c4017
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-02 13:27:59 +00:00
Viacheslav Tertychnyi
4880694df4 TextEditor: Improve column selection
Add the possibility to more efficient column selection for large
documents using keyboard shortcuts Alt+Shift+PageUp/PageDown/Home/End.

Change-Id: Iaa2d9aeee587f1317dd82d7fef0b01fd5f5f7a55
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-04-02 13:09:43 +00:00
Eike Ziller
3a8505fcaf Fix link to documentation on writing highlighting files
Change-Id: I374219b03d94279ca9902567294ff4e49b8ad17a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-02 12:51:08 +00:00
Miikka Heikkinen
09f34a697f QmlDesigner: Fix crash in puppet when component has errors
Check component creation errors earlier to avoid crash.
This allows puppet to notify creator about the problem, so invalid
components can be properly highlighted in navigator.

Change-Id: I059a5be04c4e509a38f6d47daa97e0da36c333ae
Fixes: QDS-1887
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-04-02 12:20:35 +00:00
Christian Kandeler
51e8afa4f6 Fix build
Amends 47e576528e.

Change-Id: I581ecbe8ae14be62f05ba5a77f153c998d388188
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-02 11:25:08 +00:00
Jarek Kobus
9ca7326d90 Integrate new filter engine
Adapt the code to deprecated usage of map as a multi map,
hence all cases replaced by QMultiMap.

Change-Id: I2d480467cd6e91d3e880555e6a21058dec056b3f
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2020-04-02 11:22:03 +00:00
Christian Stenger
bf6ecbb042 Update minimum Qt for Qbs builds
Change-Id: I5920b5c1bcdd0f186c9de6c1bb690334a5193051
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-02 10:50:42 +00:00
Oswald Buddenhagen
e986bdc7a7 add croatian translation
contributed by Milo Ivir.

Fixes: QTBUG-75911
Change-Id: I8f04f8b5f35ef6083d32d9ef397ce6b150fb22ac
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2020-04-02 09:55:32 +00:00
Robert Loehning
f64a9b5045 PerfProfiler: Add hint how to make perf work
Change-Id: I9cef8826163a7f716717470e5b7edfd13699f75c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-02 09:47:25 +00:00
Robert Loehning
da558f3376 Squish: Don't close files before exiting Creator
It's not needed and it's fragile since
the menu item is disabled at times.

Change-Id: I0c72c5072374462d99740e7eaa752f91e019c6ee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-02 09:46:19 +00:00
Leena Miettinen
1e9a91e7d1 Doc: Fix the Qt Design Studio Manual sidebar TOC
Fixes: QDS-1889
Change-Id: Ie74a1af668457c18a2ec167f934f0de796251816
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-02 09:46:11 +00:00
Leena Miettinen
2b4d2c3d18 Doc: Add screenshot of Qt Quick 3D Model type properties
Also update screenshot of Qt Quick 3D Components section
in Library view QML Types tab.

Change-Id: Id70c5cb8400c81473eb1d2e3a9c8e41cd53db3d9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-02 09:45:56 +00:00