Commit Graph

86147 Commits

Author SHA1 Message Date
Tim Jenssen
a3a69d83f3 Merge remote-tracking branch 'origin/qds/dev' into 13.0
Change-Id: I09a0e8514c8ad7badaa7af6d101c71d5c96b5465
2024-01-31 20:25:34 +01:00
Tim Jenssen
a4d8348432 EffektComposer: Move plugin class definition to .cpp
And clean up a bit.

Change-Id: Ib3d69555ed3e05741570c9aa386e6b9c8ea449fa
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-01-31 19:19:38 +00:00
Tim Jenssen
4e651fdcbb QmlDesigner: remove unused include components/effectmaker
Change-Id: I566a686399249f51d12cdcfff04a750cbd4eeba8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-01-31 19:07:13 +00:00
Ilya Kulakov
05d7070178 debugger: Fix RecursionError when fetching Qt version
When working with statically linked Qt qVersion may not be available.
In that case Qt uses the qtHookData which has type of quintptr.
This type is subject to SyntheticChildrenProvider because lldb
hooks are set up via a regular expression.

When SyntheticChildrenProvider is instantiated, it tries to fetch
Qt version, which causes another instantiation which again recurses.

The fix is to bypass SyntheticChildrenProvider via GetNonSyntheticValue.

Change-Id: Id00cdb3d0a0895bb02e4b3e4504c574d89be2ed0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-01-31 18:27:50 +00:00
Thomas Hartmann
558b7fbc71 QmlDesigner: Clear text highlight when jumping to code
Change-Id: Ie382c2d9a45bdb57676a4c047bf750b0b7849191
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-31 16:16:25 +00:00
Thomas Hartmann
ff3f8a5bc7 QmlDesigner: Remove unused code
Change-Id: I56a72af9251a1908f160c0e92b56addf69143169
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-31 16:16:01 +00:00
Thomas Hartmann
284ef9108f StudioWelcome: Remove old welcome page
Change-Id: Ib01c0f1962b8d696ca57c8b6f96611b0d28e6ca0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-31 16:15:47 +00:00
Christian Kandeler
40f84a37ff ProjectExplorer: Add locator filter for debugging a run configuration
Complements the "run run config" filter.

Change-Id: Id1603fbfcbccce83e4b1f36dbdfa7fc9ef58c14f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-31 15:31:46 +00:00
Eike Ziller
431690e04a Add change log for 13.0
Change-Id: Ibf909d44825f9054583f8c5f581015345e7fc890
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-01-31 14:50:23 +00:00
Thomas Hartmann
caa58954e0 Allow linking of colors in the Palette section of a theme
This allows entries like toolbarBackgroundColor=background_Muted.
The code tries to resolve assignments until all colors are resolved
or in the last step no new color has been resolved.
Cycles are not resolved, but do not lead to issues.

In case some colors are not resolved we use the original code to assign
black and show an error message.

This also add the possibility to include ini files like this:
Includes="base.ini"

Change-Id: I31124a59dffca45d14b81d528ba7c88220e57577
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-01-31 14:42:19 +00:00
Jarek Kobus
46769e72e4 DocumentManager: Replace QMap with QHash
The key is a pointer, so use QHash.
Simplify some lookups.

Change-Id: I3304d9cd8fd0456877d0f3fb66d2b872d23fa86a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 13:16:42 +00:00
David Schulz
d651d8b41f GlslEditor: Fix crash in GlslHighlighter
since the async highlighter implementation the parent is not a
TextDocument anymore, but a QTextDocument. Pass the required mimeType
via the SyntaxHighlighterRunner now to the SyntaxHighlighter.

Change-Id: I0afcbe68719195649b4b7040416a743cb01214df
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-01-31 13:15:44 +00:00
David Schulz
256ae21c07 TextEditor: remove unused include
Change-Id: I500cb91008f9a3d25f2648ce15abecf4be8aae2e
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-01-31 13:15:32 +00:00
David Schulz
6888c07f11 TextEditor: move struct to implementation file
Change-Id: I40ed45ff5ee1f392514e24ab17cd0c3ec7c25dc6
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-01-31 13:15:11 +00:00
Pranta Dastider
2b59676b49 QmlDesigner: Update images in the 3D Textures document
This patch updates the old images in the 3D Textures
document screenshot. Some descriptions were updated
to keep it relevent with the new changes.

Fixes: QDS-11564
Change-Id: Ia1acb9199d76e202373a45e801d290d7b1ae8505
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-01-31 12:43:14 +00:00
David Schulz
f4b3b85fee TextEditor: Merge Base- and ThreadedSyntaxHighlighterRunner
Change-Id: I38ad01a895eabba99b2e554f3ae9bef85f32bb3b
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-01-31 10:20:56 +00:00
Samuel Mira
2a430a5fa4 Update supported feature list for MCU in QDS 4.4 docs
. Noted that StateGroup is disabled now
. Removed the part about the need to configure QUL to use ts files

Task-number: QDS-10577
Change-Id: Iedf21549ef9e32e84629eb43f4e15d43bac67dd6
Reviewed-by: Esa Törmänen <esa.tormanen@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-31 08:53:19 +00:00
Dominik Holland
1db28206c0 AppMan: Remove Manifest copy constructor
Change-Id: Ia3c756b5e77fd5f13d70f27ec995df8152120dae
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-31 08:51:38 +00:00
Jarek Kobus
728c03ca7c Async: Disable onResultReady test
To be enabled again when QTBUG-119169 is fixed.

Task-number: QTBUG-119169
Change-Id: I0a889faf3726d53ced11cecfc7c569f6aaa6ffd5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 08:49:39 +00:00
Jarek Kobus
c1842d9aec Command: Replace QMap with QHash
The key is a pointer type. Get rid of 2 double lookups.

Change-Id: I088325e7940091c9f8079bd466d8cbc37fd882e0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 08:49:26 +00:00
Jarek Kobus
afb062cae2 Wizard: Replace QMap with QSet
It looks like both key and value are the same pointers.

Change-Id: I38d006ada777d61df242dd0b82e9b622c0907cad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 08:49:15 +00:00
Jarek Kobus
8931f02fb8 Wizard: Replace QMap with QHash
The key is a pointer, so use QHash.

Change-Id: I6315ee545bf582078301212f6f8d661a8c95eb87
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 08:48:59 +00:00
Jarek Kobus
e4077d5166 Wizard: Remove unused field
Change-Id: I2873efa78e38ceb0b683e84e1c2c258353be0b47
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-31 08:43:53 +00:00
Jarek Kobus
104eb5bfb2 Axivion: Make it possible to fetch unlimited number of items
This happens when IssueListSearch.limit = 0;

Change-Id: I86a580241f19189fd0ac5905ab88f9d18cabaf3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-31 07:42:29 +00:00
Jarek Kobus
41de43fa0a Axivion: Use task tree for fetching opened doc issues
Change-Id: I34a694a25cebc312b5ce32eccfa1b5ad04680b01
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-31 07:42:13 +00:00
Jarek Kobus
ba4df4555b Axivion: Use more const references
Instead of copying potentially big vectors / maps.

Change-Id: Ib367d18b7afb8f00551f54e8f2b2dd5c18a018c3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-31 06:12:10 +00:00
Christian Stenger
32890c59af QmlJSTools: Fix tests
Amends 316e48fc50.

Change-Id: I5d28a89cdae23a76b37654aff6560b8334452e01
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-01-31 05:33:34 +00:00
Christian Stenger
1331c4dbf8 Todo: Fix include
...and qbs build.
Amends d4e44b920d.

Change-Id: I6fc37ae0f6528c0099bf77a9d819379a7bed23f1
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-31 05:14:15 +00:00
Ali Kianian
012a8331b5 QmlDesigner: Apply rename and delete collection on CollectionDetails
Fixes: QDS-11656
Change-Id: I0e5cec47395f8f531285041111b73686c4c858d4
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-30 21:00:41 +00:00
Alessandro Portale
022ff621d4 Utils: Quote font-face in StyleHelper::fontToCssProperties
Font faces should be quoted. '.AppleSystemUIFont', which is the default
on macOS, would break the CSS parsing if not quoted.

This change uses single quotes (which is equivalent with double) for the
task, because inline CSS in HTML is usually already quoted with double
quotes.

Change-Id: I08d8de1131f58a9c968cf45acc636cb2b3b21700
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-01-30 20:19:13 +00:00
hjk
d3b6140bce Todo: Remove Q_OBJECT and unused signal from TodoItemsProvider
Change-Id: Ideea1db5b58144b8038324e38b8ff066f729bc07
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:16:46 +00:00
hjk
2aa6eebf09 Todo: Rename todoprojectsettingswidget.{h,cpp} to todoprojectpanel.{h,cpp}
Change-Id: I6813321e85ab3f68cfd6503880f6cb0541f82fd4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:16:39 +00:00
hjk
d769a811f4 Todo: Simplify TodoProjectPanelFactory setup
... and prepare renaming of the file pair.

Change-Id: I1024af6093502fa482ad1e266f3eb2cf4eed09fd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:16:33 +00:00
hjk
e25b531b54 Todo: Remove plugin pimpl
Not needed anymore

Change-Id: Ia8f0d39a487b0defce81b18b67e0ee5115b71b90
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:11:13 +00:00
hjk
cfc4d96483 Todo: Simplify settings construction
The unusual callback is not needed anymore as the caller side can
access the globals directly now.

Change-Id: Ie3a2cb0c83cf9c773d8c042c222ec32903fbcc9f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:11:07 +00:00
hjk
d4e44b920d Todo: Use free function to setup TodoOutputPane
Change-Id: Ifed2db897d80d1d95fd1cf2a67cf8531b9153bdc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 17:06:16 +00:00
Jarek Kobus
8a94c7c758 Process: Fix runBlockingSignal() flakiness
It may happen that textOnStandardOutput() sends multi lines,
even when they were sent by two separate std::cout with std::endl.
Instead of checking whether the 2nd expected line starts with
the magic word, check whether the message contains it.

Limit timeouts so that the test should pass about 3 seconds faster.

Change-Id: Ie4e4df70b62854eb595d41272fe4fa9bdec606fc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-01-30 16:56:32 +00:00
Jarek Kobus
0df72f88c5 Process: Fix flushFinishedWhileWaitingForReadyRead() flakiness
The apparent reason for the flakiness was a time limit of the test.

Change-Id: Idddc8c161f9969522b2eed8317bbda4f59091dd9
Reviewed-by: hjk <hjk@qt.io>
2024-01-30 16:56:24 +00:00
Jarek Kobus
d6eec9ce2e ClangFormatWidget: Set the tooltip
Amends ac24b23ff8

Change-Id: I79ccca00b5b2c944979c255640809fdea7ba3eaa
Reviewed-by: hjk <hjk@qt.io>
2024-01-30 16:56:13 +00:00
hjk
4a5154a1a1 Todo: Use a free function to access the TodoItemsProvider
Change-Id: Ie91df09583b272b0fff41b2b3ae36b4e21f44e3d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 16:46:55 +00:00
hjk
4026e55d3b Todo: Use a free function to access the global settings instance
... and avoid passing handles through the layers.

Change-Id: Idfbb84d1d9b696df80542cd58743ced7339bbd58
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 16:46:50 +00:00
Tim Jenssen
0bcc42f913 QmlDesigner: fix Nanotrace is not exported to tests
Change-Id: I375e29040667aedb6d36bf778d7f19c003f64681
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-01-30 16:12:46 +00:00
Dominik Holland
998ca3b598 AppMan: Remove TargetInformation copy constructor
Change-Id: I122d948dd24e6c7408a4a383f7ccead2968fb07c
Reviewed-by: hjk <hjk@qt.io>
2024-01-30 16:01:38 +00:00
hjk
3569dbd42e Meson: Fix crash
Amends 4cbdd443fe. The captured pointer died too early.

Change-Id: I82433bee4ee41d913e1cf47db5c9b9446f501520
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-01-30 15:43:15 +00:00
Jarek Kobus
208d57e943 LanguageClient: Introduce updateCapabilities() helper
Avoid using QHash::keys().
Iterate over m_openedDocument just once and update
different capabilities in each iteration.

Change-Id: Iec469b69bb7fbdd52dc176bb6d91dd4feb2357b6
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-01-30 14:55:20 +00:00
Miikka Heikkinen
1cf5b3bf57 QmlDesigner: Change 3D project template to use PrincipledMaterial
Change-Id: Ib7c13e7ca068024830cdf0fd0b1aea91df5b4990
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-01-30 14:46:44 +00:00
David Schulz
75f0b95397 LanguageClient: Offer to install the bash language server
... after opening a document with the x-shelscript mime type.

Change-Id: Ib98167fb4bbae144c359216f45aa22831079a12f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-30 14:35:50 +00:00
Thomas Hartmann
a72ebf1579 QmlDesigner: Add helpers for experimental features
Change-Id: Iff5849c592999f1e922b23ad845d659886b7307b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-30 14:17:44 +00:00
hjk
3fad1a21e5 CMake: Use a setup function for kit aspects
Some connects() in the CMakeToolManager ctor triggered accesses
to the s_instance there before it was assigned. Solve the issue
by moving the triggering code (CMakeKitAspect setup) out of the
class.

Change-Id: Ied0fc6b0b0eb87c29503ecb20e337289edecd203
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-30 14:07:38 +00:00
Marcus Tillmanns
2f13651344 Debugger: Handle exception during output read
Fixes: QTCREATORBUG-30267
Change-Id: Iac45a532fc369ad410e78bb8c0516b97858b7af1
Reviewed-by: hjk <hjk@qt.io>
2024-01-30 14:00:21 +00:00