Commit Graph

88532 Commits

Author SHA1 Message Date
Jarek Kobus
a6374bc5a9 ProjectManager: Add a hint on how to run the testSessionSwitch()
Change-Id: I4852d15bb3f17dd9f2495f44376f62e85046db36
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-15 15:57:46 +00:00
Jarek Kobus
3e7ef867dd QmlJSPluginDumper: Prevent potential crash when no results in QFuture
Ensure we don't reference non-existing QFuture's result.

Change-Id: I57668390e6ca83ae30c0b1de3e3a083a344ddbaa
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-15 15:50:21 +00:00
Eike Ziller
894eaf9c06 Update change log with documentation links and missing item
Change-Id: I5260192b2b07fba0d915b1fa1e0625be60b671ae
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-15 14:18:30 +00:00
Leena Miettinen
75fa962eb4 Doc: Update info about QML live preview
Task-number: QTCREATORBUG-30209
Change-Id: I0c4717a192e7fd94924fa573994bc27d7687d1d3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-02-15 13:58:49 +00:00
Marco Bubke
12ad750d16 Nanotrace: Remove ObjectToken
There is no direct support in Perfetto. It can be simulated by
asynchronous tokens but then asynchronous tokens can be used directly.

Task-number: QDS-11952
Change-Id: I62dff6e8c1e93b71ccdc7b1678817d1909afa37c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:55:34 +00:00
Marco Bubke
6fa00b8129 QmlDesigner: Add more tracing to properties
Task-number: QDS-11952
Change-Id: I27376acc1a77291de2253a295df0e3cecce1427e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:55:27 +00:00
Marco Bubke
effaff5365 Nanotrace: Add connect to a tick
Task-number: QDS-11952
Change-Id: I07f075c7a556fc713ef56558a7a79a6bf68f2126
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:55:17 +00:00
Marco Bubke
edd8d442e5 Nanotrace: Add QVariant string converter
Task-number: QDS-11952
Change-Id: I874d29c0a7e21a61d3205d64a5c6137084ffcbab
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:55:10 +00:00
Marco Bubke
e1a2454e83 QmlDesigner: Tracing shows the node model relationship
Task-number: QDS-11952
Change-Id: I02769f07f3eadbe7f3e4095203619924cd545579
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:55:03 +00:00
Marco Bubke
1b64158c7a Nanotrace: Make category uncopyable
Leads to subtle bugs.

Task-number: QDS-11952
Change-Id: I022af297e89a08d9ed98cee6b76c6e2114043987
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:54:56 +00:00
Marco Bubke
4b0ea7b8fd QmlDesigner: Make model nodes invalid on model deletion
Change-Id: I37fabba902ed2a6cd0940abeb63606e335bb76ab
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-15 13:54:48 +00:00
Marco Bubke
a430ffc6cb QmLDesigner: Improve node and property tracking
Task-number: QDS-11952
Change-Id: I83afdc892e0c196e5e5abe56a4e9c32feb5ad1bf
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:54:40 +00:00
Marco Bubke
4ba5090543 Nanotrace: Remove global tracer
It creates a tracing file and is not used anyway. So we remove the code.

Fixes: QTCREATORBUG-30331
Change-Id: I5b62a9d428d10b248821ae76d45221f84f407d3a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-15 13:54:33 +00:00
Leena Miettinen
9d3b154ca8 Doc: Describe new search options
- Restructure the "Finding and Replacing" topic.

Task-number: QTCREATORBUG-30209
Task-number: QTCREATORBUG-29361
Change-Id: I107f366d99877a80a0ed8973c9156e46ee0ab312
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-15 13:49:17 +00:00
Marco Bubke
7a73b7a6b1 Remove entries with default value
Change-Id: I1f78c85a5a8d2a6e22d7bc3537ecb13018f4a661
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-02-15 13:37:19 +00:00
Marcus Tillmanns
4329b67c74 Clangd: Fix version check to use (remote) executable
Fixes: QTCREATORBUG-30374
Change-Id: I4a98a82ea24bb55a2ab3eed72f13d3d6f648df8a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-15 13:02:23 +00:00
Eike Ziller
5334081270 Bump version to 14.0.0-beta1
Change-Id: I62f28969f68889f628fb37e8a1eb390a62bd6e46
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-15 12:57:11 +00:00
Christian Stenger
6849c173c1 QtKeychain: Fix export for includes
Fixes the qbs build.

Change-Id: I8dc3427b35468685d03adfbf6bfffef9936015c6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-15 12:44:40 +00:00
Christian Stenger
b9671bcffc Axivion: Fix disabling filters
Enabling and disabling a layout does not do so for
its child components which had been assumed.
Explicitly disable or enable filters to avoid
crashes when accessing them without a project info.

Fixes: QTCREATORBUG-30371
Change-Id: I56633dad4b3ffbb1c0c7c7d154c2af5d3c3cde6b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-15 12:21:32 +00:00
Ali Kianian
efe114872c QmlDesigner: Use FileSaver instead of file in Model Editor
* Also the warning is removed for internal changes on local files

Fixes: QDS-11903
Change-Id: Ic35966888433a2bd9b1cc10a47bb7ed51280ffb1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-15 10:41:31 +00:00
Eike Ziller
10a97be988 Merge remote-tracking branch 'origin/13.0'
Change-Id: I923d0054e306528825e1b36f9f24c378b151d85a
2024-02-15 11:30:32 +01:00
Jarek Kobus
27df099c15 Axivion: Introduce CredentialQuery
Accompanied by CredentialQueryTask, to be used in Axivion recipes.
It wraps QKeychain::Job subclasses into one asynchronous task.

Change-Id: I78a06255d880b02cba657c822976ef09454ac261
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-15 10:27:17 +00:00
Thomas Hartmann
4c79e1b8d8 QmlDesigner: Correct import versions for Qt 5
Task-number: QDS-11898
Change-Id: I4e59e31f9396ab957eac5effbf17fd6edc930798
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2024-02-15 10:26:39 +00:00
Jarek Kobus
035e948536 Axivion: Introduce postDtoRecipe()
For posting dto data to the server.

Change-Id: Id519c311f13e7c42c85b758f97fefd79fa2c41e9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 10:10:01 +00:00
Jarek Kobus
0b3b5b892c TaskTree: Add a test for progress reporting with onGroupSetup(false)
Also for the case when parent iteration isn't progressive.

Change-Id: I831b86de68d504a1e5e189d2be2b12ffc7d97c60
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 10:09:19 +00:00
Jarek Kobus
02ac5deb4a TaskTree: Fix progress reporting with nested LoopUntil(false)
Fix also a case when parent iteration isn't progressive.
Add a test for it.

Amends e059b62421

Change-Id: Ic2f8c047d413ab2e2b98af4592f7cb60185bea06
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 10:08:49 +00:00
Ali Kianian
6996687392 QmlDesigner: Keep the order of the columns in imported CSV
Fixes: QDS-11667
Change-Id: I5f4bba2224878f404e333425502f084c589be99c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-15 10:07:42 +00:00
Orgad Shaneh
029ac3c4a1 TextEditor: Simplify settings initialization
* Consolidate and simplify behaviorSettingsChanged callbacks.
* Do not call the callbacks during initialization, they are called later.

Change-Id: Ica4b601e091de2112c7737047cbffa8a98fc9f70
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 10:01:54 +00:00
hjk
41131eadaa TextEditor: Drop TextEditorSettings::m_instance
This can be null when accessed too early. Using the function-static
global instance directly ensures initialization.

There is more simplification potential in this area, but I'd leave
that for master.

Change-Id: Ide35f4119e9fbcb392d1abac180ef46c02c16b87
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-15 10:00:54 +00:00
hjk
c6aeb2cde1 TextEditor: Fix initial loading of settings
Amends e784b1e58b.

Done-with: Orgad Shaneh
Change-Id: I727983a96ac9aae204974adfabfa7a794bf99907
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-15 10:00:48 +00:00
Christian Kandeler
f00666a985 ProjectExplorer: Accept plain folder nodes as drag & drop targets
As opposed to just project nodes.

Task-number: QTCREATORBUG-26545
Change-Id: I33eb2623763fdfacb9b6b8bb1bcd6b4626b3d71e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-15 09:40:57 +00:00
Christian Kandeler
837e951b29 CppEditor: Add curly braces for more control statements
Fixes: QTCREATORBUG-24542
Change-Id: I3e0893e1c736730d94e2c9ab2baa0aa580393fe4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-15 09:39:56 +00:00
Christian Kandeler
e24ce364ce QbsProjectManager: Do not create language client without build system
A session without a build system can happen via the project importer.

Change-Id: I04e77a790e595e9a5249b27569a0e79033fddad1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-15 09:37:18 +00:00
Christian Stenger
c2f25f72a7 Update qlitehtml to latest master
Fixes the qbs build.

Change-Id: I0860acd2d63cf727696dfdb4f35ee2dd83c51dbe
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-15 08:45:51 +00:00
Marcus Tillmanns
f6ad82a0eb CompilerExplorer: Use global network access manager
Change-Id: I03589a1b5abd42b36281c1c733adf20fcb51d272
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 07:42:04 +00:00
Christian Stenger
a5c4c34c9a Raise minimum supported libclang
ClangFormat needs 14.0+ nowadays.

Change-Id: Ib5e38c79c5ec629fed4e5d8da5435769a71b2626
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-15 07:16:28 +00:00
hjk
4c4d297d15 Core: Use ActionBuilder in a few more places
Change-Id: If578ea89fd8af9aca9d5f137dab5c4dbebfaa2e8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-15 07:15:40 +00:00
Eike Ziller
65fcb9b746 Help: Update litehtml to v0.9
And adapt the attributions to use the attribution.json from the
qlitehtml repository, so it is automatically in sync.

Fixes: QTCREATORBUG-29169
Change-Id: I96343162880b6aa0e38ee356b3b5f98db4a85cc3
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-15 07:02:23 +00:00
The Qt Project
10e2ff5362 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-02-15 07:00:47 +00:00
Eike Ziller
046ae752f6 Fix ODR violation with Spinner
Spinner is already added to and exported by the Utils library. Do not
add it again to more (plugin) libraries.

Fixes: QTCREATORBUG-30368
Change-Id: I6ddf43f8bf1c4972b786b82dbafd3201bc8e0a0e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Tim Blechmann <tim@klingt.org>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-15 07:00:30 +00:00
Jarek Kobus
61cf8702a3 Axivion: Separate fetching Dto data from credential handing
Change-Id: Ibddafa055c73614797235921ba5cb62096b5980f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 06:42:39 +00:00
Jarek Kobus
bc4c3b87df Axivion: Add Username field
Change-Id: Icafedc1c79ceb48349975576b99a7da7dd39f353
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-15 06:42:28 +00:00
Jarek Kobus
e059b62421 TaskTree: Fix progress reporting with LoopUntil(false)
Advance the progress value by the group's children count when
LoopUntil handler returns false on the first iteration.

Add a test for it.

Change-Id: I3783dd295dfaa16c09c5eda299f365ff981b3be7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2024-02-15 06:42:07 +00:00
Christian Stenger
cf53f157f7 ExtensionSystem: Fix initialization and silence logging
Avoids crash on start when running tests.

Change-Id: I924290f1d7c5d079ed96112e3d2375e53428221f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-15 06:02:39 +00:00
Christian Kandeler
e1b3c3e357 ProjectExplorer: Warn against "special" characters in build directories
There are still tools around that have problems with such setups, so we
turn this warning on by default and let the user opt out.

Fixes: QTCREATORBUG-20834
Change-Id: I01a2e0fa931bec74add43b37cb042712635f3175
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-14 17:12:42 +00:00
Ali Kianian
e4fe45f237 QmlDesigner: Add beta tag to the title of the Model Editor view
Change-Id: I2eff47c56928a6e49405b646ff7a98b205d9d6fe
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-14 16:00:20 +00:00
Leena Miettinen
d6b2c205ad Doc: Describe how to navigate QML code
F2 now lets users move to the C++ implementation of a QML type.

Task-number: QTCREATORBUG-30209
Change-Id: If364451d7e94fcd18da82321839dede18bf704a4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-14 15:08:36 +00:00
Marcus Tillmanns
b39b192518 ExtensionSystem: Refactor PluginSpec
Splits the functionality between plugin type specific and general.

Allows Plugins to be loaded after the first pass, e.g. for Lua scripted
plugins.

Change-Id: If2712817a672c49d554fdc308250cb06ca7eb3f8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-14 14:33:16 +00:00
Leena Miettinen
7c86b0d2cb Doc: Update info about iOS 17 support
Task-number: QTCREATORBUG-30209
Change-Id: I7ba61e3626d268bf21b659afa3a2f87891bf2c8e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-14 14:23:13 +00:00
Leena Miettinen
9f155ecc82 Doc: Describe the Enclose in QByteArrayLiteral() quick fix
Task-number: QTCREATORBUG-30209
Change-Id: If802af529a12ce9729fddd4d3f37372b593fc47e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-14 12:55:56 +00:00