Commit Graph

86167 Commits

Author SHA1 Message Date
Jarek Kobus
d9a71c1351 GenericLinuxDeviceTester: Reuse LoopRepeat element
Instead of creating quite huge recipe.

Change-Id: I8b4121d0a666f093885d1379f6f4c8093cd2619c
Reviewed-by: hjk <hjk@qt.io>
2024-01-25 12:32:31 +00:00
Miikka Heikkinen
6fb7f464ac QmlDesigner: Remove deleted effect usages from current document
If there are any imports or nodes of the deleted effects in use in the
current document, also remove those when deleting effects.

Fixes: QDS-11723
Change-Id: I87972b5fc38b35acb0fb71fd085d2a3fcf691318
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-01-25 12:29:04 +00:00
Marcus Tillmanns
273656c927 Terminal: Fix fish shell integration
Change-Id: Ib9156be851d092db2a28641a292ae32e76314bec
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-01-25 12:15:27 +00:00
Miikka Heikkinen
5db5ade17d EffectMaker: Round the integer slider value properly
Fixes: QDS-11772
Change-Id: I4d79c28784213695ea8e9a220f6fbd878bfb0cd4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-01-25 11:54:47 +00:00
Marcus Tillmanns
6d672f7efa Aspects: Add TypedAspect<T>::valueType
Change-Id: I6da6d089d23df154c02994cc5d892b746a346b23
Reviewed-by: hjk <hjk@qt.io>
2024-01-25 11:23:07 +00:00
Marcus Tillmanns
bf1c332daf Aspects: Add missing default value to TextDisplay
Change-Id: I58432e1aac9b19bf49dc919ded90bee4fb4cb2cc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-01-25 11:22:18 +00:00
Xavier BESSON
2796e69ab5 Add display search results using relative paths to project root
Task-number: QTCREATORBUG-29462
Change-Id: Ic5d597846cfcc6589cbf1b81151e05c95ee8fab0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-25 10:46:43 +00:00
Jarek Kobus
905eaf8b1e TaskTree: Adapt docs to the stop() -> cancel() rename
Amends 983fc4bcf6

Change-Id: Id8406f5c8713d7cfb387f89bfb16d653e639ffb6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-01-25 10:23:30 +00:00
Cristian Adam
0197a2780a CMakePM: Do not force Xcode generator for iOS
"Xcode" will be set as default generator for iOS kits, but if the user
imports a iOS build from command line we shouldn't reset that generator
to "Xcode".

Amends b47a80c5ce

Fixes: QTCREATORBUG-30214
Change-Id: Idbdadcf24e87b861adf377975788e0146f7731cb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-25 10:15:55 +00:00
Mahmoud Badri
621d7044b4 EffectMaker: Fix top bar width
Regression caused by cfe3828c53

Change-Id: I573da870c61ec0c5f3ba056ffd759acefd8c9389
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-01-25 09:54:10 +00:00
Mahmoud Badri
398676a360 EffectMaker: Make image value width fits the view width
Fixes: QDS-11752
Change-Id: Ia47c5076c32824628e700554a06803f50b82cd08
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-01-25 09:44:13 +00:00
Christian Kandeler
aa53543fa3 QmakeProjectManager: Remove more unused code
Amends fd1956a91c.

Change-Id: If6a3b2369a94caba2724bea0b3fe8e214cd87f61
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-25 09:36:02 +00:00
Dominik Holland
1deb31f295 AppMan: Use FilePathAspect::setDefaultPathValue(FilePath)
Change-Id: Ia8025bc707fd1d87b4066fcee98b8566f13726d6
Reviewed-by: hjk <hjk@qt.io>
2024-01-25 09:33:05 +00:00
Dominik Holland
07d347a0c3 RemoteLinux: Allow the deploy steps to be used in all deploy configurations
Instead of limiting them to a specific deployment configuration, they
are now limited to the RemoteLinux device.

Change-Id: I4a8eebd055985b63815ac6fbb3b9e04c297bd1ab
Reviewed-by: hjk <hjk@qt.io>
2024-01-25 09:32:57 +00:00
Jarek Kobus
983fc4bcf6 TaskTree: Rename stop() -> cancel()
This better corresponds to done handlers called
in this case with DoneWith::Cancel.

By the way, get rid of unused LocatorFilter::stop().

Change-Id: Ie4246b8d888fff95940a2ed41367d2817bd6339c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-25 09:26:12 +00:00
Mahmoud Badri
cfe3828c53 EffectMaker: Allow resizing effect preview area
Fixes: QDS-11724
Change-Id: I23081ab5a484cdb4a748e55231db2d20b0f9437c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-01-25 09:13:33 +00:00
Ali Kianian
715f0c544e QmlDesigner: Initialize column data type in the header edit dialog
Fixes: QDS-11757
Change-Id: I746516281857f3080fc7f5d6010582d42539bdb2
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-01-25 09:13:11 +00:00
Mahmoud Badri
b4eefcb64f EffectMaker: Fix preventing clicking outside bool checkbox
Fixes: QDS-11485
Change-Id: I122c45b665c5d086a863d0907878ca9be8189112
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-01-25 09:07:04 +00:00
Jarek Kobus
a525949a2c Axivion: Simplify onDone handler
The fix went with 6116605c4c.

Change-Id: I0e9cfe6ee3d55517af71379474a66b8106ca0cb3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-25 08:58:53 +00:00
Jarek Kobus
acf42bf90d Utils: Add synchronizedvalue.h into cmake and qbs
Amends 35a2d598ab

Change-Id: I64d76896c8bfbe4b48e2593118b209e3ae187a87
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-01-25 08:52:05 +00:00
Marcus Tillmanns
87999abead Terminal: Linkify git commits
Allows the user to Ctrl(Cmd)+Click "version like" text (e.g. text that
only contains 0-9 and a-f) and starts a "vcsDescribe" if a version control
can be found for the current directory.

Fixes: QTCREATORBUG-29213
Change-Id: I462092b58bf595a6968f4765f83a207506f0cf87
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-25 05:43:17 +00:00
Fabian Vogt
0e4af4b880 Register AutotoolsProject as handler for Makefiles again
95a3087a7b dropped the mime type registration by accident. Add it back to
make the plugin functional again.

Signed-off-by: Fabian Vogt <fvogt@suse.de>
Change-Id: I783429ce7883bad8b946ed1599098751d56cabad
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-01-24 20:55:19 +00:00
hjk
ee4d258776 CppEditor: Reduce visible CppTypeHierarchy interface
... and remove related helpers from the plugin class itself.

Change-Id: Ibc6af7518a2c90da93e619dde05edbd1eb7948f0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-01-24 16:48:08 +00:00
hjk
8b86fe239b ClangcodeModel: Move test creation closer to tested code
Change-Id: Ifb6771673aa8639d2ee23d1f34b1ff821000e348
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 16:38:09 +00:00
Christian Kandeler
4dba2a2f87 ClangTools: Add "edit as string" feature also for clazy
Fixes: QTCREATORBUG-24846
Change-Id: Id9931c0539ff1e03ab9cac7fb9b76f9694250536
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-01-24 16:20:13 +00:00
Christian Kandeler
1cc1d98601 CppEditor: Fix completion tests
Amends 2c91d4b472.

Change-Id: I6c4e8bc359acd2cd413fe86c1217ccce5321fa1e
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-01-24 16:16:10 +00:00
Dominik Holland
32d31b6eea AppMan: Add support for B2Qt devices
Change-Id: Icb18968b41a093a1330021b720252962aceb0bc6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 16:05:54 +00:00
Dominik Holland
ee54315791 Boot2Qt: Allow the deploy steps to be used in all deploy configurations
Instead of limiting them to a specific deployment configuration, they
are now limited to the B2Qt device.

Change-Id: Ic27d3e4fc50cea0a838223eb41e0e422d7b17b82
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 16:05:37 +00:00
Dominik Holland
57445ff12d AppMan: Remove the "Remote Package installation" step
Instead of having a local and a remote step, we can use a single step
for both cases. The code of the remote step is now used also locally.

Change-Id: I08d3b07761b77b3618f3db001a0d83d1eea65421
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 16:05:26 +00:00
Dominik Holland
707886faac AppMan: Use device specific tool paths
This makes sure the RunConfiguration is correctly executed on the remote
device.
For steps executed on the host, a nullptr can be passed as device.

Change-Id: Ide5aa5a06402b137494c10108d09a4e7ffa32ec9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 16:04:53 +00:00
Jarek Kobus
fdb0ba0389 CppProjectUpdater: Simplify done handler
Call it only on success.

Change-Id: I8a9bea3768c1bd1d1f68ec852519b6e6dda1a2e9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 15:39:21 +00:00
Cristian Adam
c05ad8b446 CMakePM: Fix bad "path" backtrace generation
CMake can generate backgraces with absolute paths, and the commit
246f33c20d removed this support from Qt
Creator.

This commit fixes this issue with absolute paths.

Fixes: QTCREATORBUG-29914
Change-Id: Ib911e80aee1ff9f4a26435f7e693f7766551cc90
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 15:02:49 +00:00
Marcus Tillmanns
0414c4b67e QmlJS: Fix deadlock when scanning apps
Change-Id: I7f8133eb634876b988675ed3b3cbebe596870a06
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
2024-01-24 15:01:17 +00:00
Jarek Kobus
428898e6ba Axivion: Load projectInfo with taken from DashboardInfo
Task tree variant.

Change-Id: Ie42573f78caa180ad9669e63bab8a6b920515927
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 13:41:42 +00:00
hjk
2beaba4627 Android: Use more direct access to current config singleton
Change-Id: Ica5ba556ac022fe39ed4439d023cda1742344eed
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-01-24 13:41:13 +00:00
Pranta Dastider
be41546c5b QmlDesigner: Update image in the Design Views and Concepts and Terms documents
This patch updates the old image to include lock the views features
in the document screenshot.

Fixes: QDS-11560
Change-Id: I886c2cdd385117791ac7f45f7477a7bf5458ac66
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-24 13:10:05 +00:00
Pranta Dastider
5711ac4df0 QmlDesigner: Update image in the 2D view document
This patch updates the old image to include new topbar
in the document screenshot.

Fixes: QDS-11567
Change-Id: I07573874a1bfa428e377c394ade0cf556ce6b056
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-24 13:07:09 +00:00
Dominik Holland
cdb44ea680 AppMan: Cleanup variables in TargetInformation and Manifest
Remove all variables we don't need and convert them to FilePaths where
it makes sense.

Change-Id: I4842bcf23f81db8c86f7e305113c24034b361d80
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 12:15:16 +00:00
Dominik Holland
3ce58e0465 ProcessParameters: Allow to set the ProcessMode
Change-Id: I45db21d8785cfaecd8d524b4acda32e352640282
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 12:14:40 +00:00
hjk
ead7afde3d Utils: Introduce FilePathAspect::setDefaultPathValue(FilePath)
... as a convenience function for .setDefaultValue(filePath.toUserOutput());

The case that someone already has FilePaths should not look (much)
uglier on the user side than the QString "raw" case.

Direct overloading setDefaultValue(FilePath) causes resolution
conflicts, which are solvable, but I'd rather keep it explicit now.

Change-Id: I03d71e4f99005a1d1f76ebf23080bebe46a9351d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-01-24 12:03:08 +00:00
Jarek Kobus
359ab928b1 TaskTree: Add tests for Group's CallDoneIf
Change-Id: I7140c1c7e28f6f503520ad05e6dcd613dcec2df3
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 11:52:40 +00:00
Jarek Kobus
6116605c4c TaskTree: Fix calling group done handler according to CallDoneIf
The regression was introduces in one of the refactoring patches.

Amends 37b6cb7f90

Change-Id: Ieb2350a024249d1ea9a50c7e2c3d05ce4faaf74a
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 11:52:33 +00:00
Jarek Kobus
2d9f8805dc Axivion: Fetch the DashboardData via task tree
Enrich the DashboardInfo structure.
Use dashboardInfoRecipe() for fetching the project list.

Change-Id: Ibbc14d0fae31a8930cec6051e412af15bec71fea
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 11:43:05 +00:00
hjk
6215206a06 CppEditor: Use FilePath for licenseTemplatePath
Change-Id: I0a7d957a9308a5e696f4af7f06226e407584ceba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 10:55:21 +00:00
hjk
ff25fa6ca7 CppEditor: Make some settings accesses more direct
Change-Id: Ib7768462bcf50b5321323b27f0d2837444160162
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-01-24 10:55:15 +00:00
Eike Ziller
e1da48bf86 CodecSelector: Hide dialog class behind function
It isn't necessary to export the class (which would then best have a d-
pointer etc). Just provide a function that asks the user for a codec and
returns their decision. This makes the whole dialog an implementation
detail.

Change-Id: I7d574561cbe7f079a6d383ba65ba70f6868bbf05
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-24 10:00:18 +00:00
Christian Kandeler
f68a0ca738 ProjectExplorer: Fix handling of -Xclang when filtering compiler flags
Amends fd47b37298.

Change-Id: Idb78ebb88291d26498a5bfd7301fdc721fc6a6f7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 09:43:53 +00:00
Christian Kandeler
6d7387f1aa CppEditor: Fix restoring per-project cpp file name settings
Another victim of Utils::Store.
Also add missing initialization of "is global" state.

Change-Id: I3d20e1403795366044d3b2df552f2a5947ba8c98
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-01-24 09:42:39 +00:00
Christian Kandeler
f40c18784b TextEditor: Fix quickfix formatting
... for e.g. function insertion. In some contexts, the insertion
position is on the last line of some unrelated code (e.g. a preceding
function implementation) and the inserted code starts with a newline. In
that case, advance the position of the formatting cursor, so that we do
not accidentally format the existing code.

Fixes: QTCREATORBUG-30229
Change-Id: Id0be7f22e1797affa0602bb1d392a5e0802cbdcd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-01-24 09:38:13 +00:00
Christian Stenger
3df75b6740 Axivion: Fetch issues
Change-Id: Ib33c507c8036fe84291ac3ff3fb08eed46afb07c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-24 09:22:29 +00:00