Commit Graph

88532 Commits

Author SHA1 Message Date
Robert Löhning
db492c461c SquishTests: Log found shortcut in tst_HELP02
Change-Id: I144dc9961d97968d3b0355487714d287d22abb71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 09:32:52 +00:00
Marcus Tillmanns
9019520d62 CompilerExplorer: Fix Undo/Redo actions
Change-Id: Ib3f55467764600d0b1e4ef25b53874a4d37a7ba7
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-04-18 09:31:40 +00:00
Thomas Hartmann
c709e6d555 QmlJS: Improve/simplify error message
Task-number: QDS-12149
Change-Id: Idaa9bb2624aa3591cafd3ea6c8b62b9dea7cb61a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
2024-04-18 09:17:01 +00:00
Marcus Tillmanns
c9299cad64 LanguageClient: Fix storing settings
Amends: 6294379a1e

Change-Id: I9888ffa39d525edc0e5bf96a7f0a9e1eaad7168b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 08:55:36 +00:00
David Schulz
beff48609c Debugger: add symbolgroup dumper to cdbbridge
Change-Id: I70f9831873cd17f0ee6a59c4345f2a28921c41bf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 08:17:26 +00:00
Jarek Kobus
5201af6574 Android: Get rid of forceUpdate arg from allPackages()
Change-Id: Ife9b04fc7314ac89447176fed0543949e621979b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 07:05:00 +00:00
Jarek Kobus
400088fa3c Android: Get rid of forceUpdates arg from filteredPackages()
Inline this function.
Fix const correctness.

Change-Id: I4ff3f9c03e5bc23c0e71ca6635718c89b883308b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 07:04:48 +00:00
Tim Jenssen
90c4826c29 QmlDesigner: remove annoying output
Change-Id: I7f74ece071923208764b767a70436145888fbb54
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-18 06:20:46 +00:00
Eike Ziller
77d7106b3a Update recent projects asynchronously
Avoid blocking Qt Creator whenever it gets active or projects change, if
some kind of network mapped path is in the list of recent projects. We
check for existence of recent projects, and that can take a long time in
that case, especially if the target is not connected. We already avoid
checking on explicit IDevices, but that doesn't help for other kinds of
mounted directories.

Maintain an "exists" state for each item and update that
asynchronously, informing all interested parties of changes with the
recentProjectsChanged signal. The state is saved in the settings,
meaning that projects that were not found previously start out hidden,
under the assumption that the existence check is fast for them if they
become available again.

Fixes: QTCREATORBUG-30681
Change-Id: Ic39a88b6b5128c3ae4582a6c66fc16be4b297e56
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 06:07:23 +00:00
Eike Ziller
28b14de384 Tr: Some "JSON" fixes
Change-Id: I20dd41a4a979fa35fe8696b00586096ca5c33d4b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 06:06:58 +00:00
Eike Ziller
7f8adab0d0 Translations: Fix various \n, full stops, spaces
Add missing full stops, remove space at beginning and end, remove end
lines at end

Change-Id: I4ce28f578e13e100dcfbd8ef70630462faf407fc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-04-18 06:06:45 +00:00
Eike Ziller
168136b9e6 German translation: Consistently use "verwenden"
instead of "benutzen"

Task-number: QTCREATORBUG-29370
Change-Id: Id6f894189962152df6d71ba845b7f8cee7a1ef9b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:06:30 +00:00
Eike Ziller
e1e4afa403 German translation: Some less '-'
We already used "Stackframe" and "Analysewerkzeug", remove the '-'
variants.

Change-Id: I2e64a7db05d531254f599e3da08f03af19a412f6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-18 06:04:23 +00:00
Eike Ziller
fe50d1cce1 German translation: Consistently use "fehlschlagen", not "scheitern"
Change-Id: Id27cb829245d1b9b76ab90efc818d081d391b5f5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:03:57 +00:00
Eike Ziller
d4e85eff6f Themes: Set default theme depending on dark/light on Linux too
By checking if the system palette's text is lighter than window
background.

Change-Id: I450976546f949331136cb94f4f07d09b3340a432
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 06:03:31 +00:00
Christian Stenger
55a312b909 Lua: Silence warning
Change-Id: Iec6511b7fca648115f8a350b8de3962c325abf6c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 04:45:36 +00:00
Alessandro Portale
c10005e274 ModelEditor: Improve selection and layout of elements
Change-Id: I199e2c4402519479cb098ae2c6665cd7f0ea12a1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 01:44:03 +00:00
Robert Löhning
6e44fd29f1 SquishTests: Tests wizard of Qt Quick 2 Extension Plugin again
Change-Id: Icfae5823d2b4f273350388d772a929b054879bd2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-17 14:55:40 +00:00
Eike Ziller
89e9597365 Set palette also for light/mixed (flat) themes if needed
We cannot assume that the default palette on the platform
and its theme fits the Qt Creator theme. If the system is dark, but Qt
Creator's theme is light, we need to set the theme palette on the
application.

Some themes already enforce the theme palette unconditionally (design-
light, and the dark themes). We don't want to set the palette
unconditionally for our flat default themes though, because for example
on macOS the light and dark colors that we get from the system are
always good and match the Qt Creator theme (because we tell the system
that our application is light/dark explicitly). Add a new
DerivePaletteFromThemeIfNeeded flag as an alternative to
DerivePaletteFromTheme for this.

Fixes: QTCREATORBUG-18281
Task-number: QTCREATORBUG-23187
Fixes: QTCREATORBUG-26817
Fixes: QTCREATORBUG-28589
Fixes: QTCREATORBUG-30138
Change-Id: Id0042980807fa2efd663b856a45255bb453227fd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 14:03:10 +00:00
Jarek Kobus
79f488bc47 Android: Remove unused signals
Change-Id: I89116e51ffdbbb326241cf8250c7d11ec30839da
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 13:40:31 +00:00
Jarek Kobus
bd282f1ada Android: Get rid of onLicenseStdOut()
Make code more readable.

Change-Id: Icc01a90d7f1469bb58fba325bca728e002c79512
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 13:35:41 +00:00
Christian Kandeler
d6ae6ce5e6 ProjectExplorer: Fix copy/paste error in settings key
Amends e1b3c3e357.

Fixes: QTCREATORBUG-30696
Change-Id: Ifc0625c5ba7dadb59dfcf8af58bc190f25955746
Reviewed-by: hjk <hjk@qt.io>
2024-04-17 13:30:32 +00:00
Jarek Kobus
b8e1b33455 Android: Unconvolute onLicenseStdOut()
Drop notify arg and dispatch it on the caller side.
Return std::optional<QString> and pass the cached output
in case of assertion.

Change-Id: I4e738148ef248bd85a3a9260c07af30bf1586805
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 12:45:52 +00:00
Jarek Kobus
3ea0a90720 Android: Make onLicenseStdOut() static
Get rid of private m_licenseTextCache field of AndroidSdkManagerPrivate
and make it temporary variable inside
AndroidSdkManagerPrivate::getPendingLicense() instead.

Change-Id: I20a09f04a90cf1054e01d7c4fc4169493f9750ce
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 12:45:11 +00:00
Ali Kianian
f006cfb233 QmlDesigner: Warn the user if the project is not imported
When the project is not importd in the design document, DataStore cannot
be found by the project manager. User should add it to make the Model
Editor work. So we will warn the user in the Model Editor view.

Task-number: QDS-12119
Change-Id: I313e5553e8b0a0ef3b97c50d61db80c0a8d382f8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-17 12:02:35 +00:00
The Qt Project
8910d0bda1 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-04-17 11:29:24 +00:00
Eike Ziller
0fe7350368 Merge remote-tracking branch 'origin/13.0'
Change-Id: I0892d8e54930bb5a65dc51117b8ca7d70ce300a3
2024-04-17 13:29:02 +02:00
Eike Ziller
62896a1dd6 Fix Lua plugin installation
- remove stray ;
- add check for wrong arguments
- use qtc_copy_to_builddir which fixes the location and incremental builds

Change-Id: I57fcac03bc9572caf506472ad92046332367e70a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-17 11:21:48 +00:00
Christian Stenger
4fcc003668 Lua: Add Lua plugin to qbs build
Change-Id: I1c1f0408f0e0af3dd3b2ec9275a0d3cd8794918f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-04-17 11:11:38 +00:00
Eike Ziller
1f16237736 Themes: Remove ApplyThemePaletteGlobally
It is always the same as DerivePaletteFromTheme, so just use that in all
cases.

Change-Id: Iac9b91bb7792778601a59f761e015ff292f86da7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 10:41:41 +00:00
Cristian Adam
d4d8ea98b7 TextEditor: Add Flex/Bison mime types
Fixes: QTCREATORBUG-30686
Change-Id: I8f220be4445960573300e76939069788e70ac333
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-17 10:36:10 +00:00
Eike Ziller
8502b82efd Lua: Avoid CMake 3.20+ API
Amends 08d9cb86a9

Change-Id: Ia44daca4fafaee3aeb0037c3ce0576d5c01746c4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-17 10:31:30 +00:00
Christian Stenger
f1fdd8a619 QmlJS: Fix completion of enum
Keys of an enum value are accessible through the object
wherein the enum is declared.

Task-number: QTCREATORBUG-19226
Change-Id: I3c4426973eaa13118af498bf750afcb86487610a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-17 10:31:03 +00:00
Robert Löhning
00ac4b7ccc SquishTests: Fix supported platforms for Qt Quick 2 Extension Plugin
Change-Id: I3accd8f43c5cace3145aacff28ef068ff20ecea2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-17 09:11:21 +00:00
Robert Löhning
6838be76aa SquishTests: Fix wait condition in tst_git_local
Change-Id: I401e3c8f8f2743ff9b108d3e25693f834d61e8ac
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-17 09:10:47 +00:00
Mats Honkamaa
6f7e38d64d Doc: Document fresnel example
Task-number: QDS-12367
Change-Id: I528138d68fda435cc8ccd2b80c4e26a57d9779aa
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-17 08:51:09 +00:00
Teea Poldsam
b33970167a Doc: Update Adding flow views
Fixes: QDS-11404
Change-Id: Id0cfc1a956051e31393fe57f2b64cc6ceeebc3c1
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-04-17 08:32:29 +00:00
Jochen Becher
f057c1af70 ModelEditor: Add model tree filter
A new button in the top bar opens a filter for the model tree which
allows quick search for model elements

Change-Id: Ibfe229890cb79e64fdbbe62f74681add102b5ccf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 07:41:45 +00:00
Jochen Becher
db52bf779c ModelEditor: Fix linked files support
Adding missed integration of one change for linked files.

Change-Id: Ie3c98ef8ab013c67fe8d1b12ae9ac5d7f4556161
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 07:39:34 +00:00
Jarek Kobus
b7f7d1191e Android: Simplify connection, avoid using bind
Change-Id: I41f5cd7919eae26e3dd7b203c171be8bb61e45db
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-16 16:21:54 +00:00
Tim Jenssen
7bef3c773a QmlDesigner: fix build on macOS
Change-Id: I7814429f1b1ce04d37c202e3f47f40ab39ad430a
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>
2024-04-16 14:44:03 +00:00
Knud Dollereder
b17cd52f84 QmlProjectManager: Generate file to define the default build path
when opening the root CMakeLists.txt with QtCreator

Change-Id: Ia448dab1b3161471fe2bb7870ffb79e68dd579fc
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-16 14:33:45 +00:00
Knud Dollereder
3e42b144ba QmlDesigner: Fix curveditor playhead update issues
Change-Id: I04b3502395f0b0b25bca785acf220f69ba3428bf
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-16 14:11:30 +00:00
Mahmoud Badri
4591293fd9 QmlDesigner: Add user texture bundle
Fixes: QDS-12390
Change-Id: I512a8748bbb6a282589f05293507c110162e7f1d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-16 14:01:58 +00:00
Shrief Gabr
ece3a60cfa QmlDesigner: Prevent QDS crash during asset import in debug mode
Task-number: QDS-12436
Change-Id: I5ecac614faff58a314ec2886730e4d69f717885b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-16 14:01:41 +00:00
Thomas Hartmann
1f4d1a5820 QmlDesigner: Use different changelog path for QDS
* Do not deploy Qt Creator changelog for Qt Design Studio
* Set minimum size on combo box

Change-Id: Ic069c76b5a02963972ec199553ce9e27c820f75a
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-16 13:58:47 +00:00
Marcus Tillmanns
08d9cb86a9 Lua: Add first plugin
Change-Id: I207b986e7ce17aad544f1bdaba29fd4930ad679c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-16 13:53:05 +00:00
Marcus Tillmanns
c0a0d2eecd Lua: Disable warnings for lua library
Change-Id: I1c84b73fb61279216128b689d67a64d3fc3dd181
Reviewed-by: hjk <hjk@qt.io>
2024-04-16 13:52:19 +00:00
David Schulz
6294379a1e LanguageClient: Do not remove settings for unregistered client types
... when applying the settings.

Change-Id: I52a49b8b299cfed7eee871dd85f0ddb372f6e849
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-16 13:38:33 +00:00
Christian Stenger
b30d1749d6 QmlJS: Add small tweak to semantic highlighter
Check for enum key name starting upper case to avoid processing
code that may match other cases as well.

Task-number: QTCREATORBUG-19226
Change-Id: I07b62b492e2b220b7fbb3eb3fc2fb3136b554254
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-04-16 13:14:28 +00:00