Commit Graph

88653 Commits

Author SHA1 Message Date
Tim Jenssen
506ff2eea7 Utils: add more removeRecursively checks
Change-Id: I0b8bbe99132157cc5a73355c9b396201ec259aaa
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-12-21 12:13:15 +00:00
Miikka Heikkinen
c046dc42c1 QmlDesigner: Always render items with effects
Items with effects may lose their cached layers if they are not
rendered every frame, so make sure we always render items with effects
if anything else is rendered.

Fixes: QDS-11561
Change-Id: I7aa6542fc619e634fa06fe7c8d59fd485a150296
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-21 12:03:07 +00:00
Artem Sokolovskii
a0cc2e3c3e ClangFormat: Fix preview update
Fixes: QTCREATORBUG-30089
Change-Id: Id89e8b2ee0439c5235755256e8410f42ad94b432
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-21 12:02:50 +00:00
Thomas Hartmann
8738057967 QmlDesigner: Do not scatter pasted nodes anymore
Scattering/moving pasted nodes does more harm than good.

Task-number: QDS-10972
Change-Id: I625cf228fb688c48715152eb6471728ca7202a23
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-21 07:43:06 +00:00
Eike Ziller
7443ca977b Merge remote-tracking branch 'origin/12.0'
Change-Id: Iee11f97dbd0114957e856d02f0ad295813a05431
2023-12-20 16:05:55 +01:00
Xavier BESSON
90368e2bba QmlJsEditor: navigate from QML code to C++ code
Fixes: QTCREATORBUG-28086
Change-Id: I00acfe49b8e74aa057cb59d8c951d477f8ad487e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-12-20 15:03:39 +00:00
Alessandro Portale
42c1b15874 QmlPreview: Add QML Preview button to QML editor toolbar
This adds the action from "Build->QML Preview" into the QML
editor toolbar.

Fixes: QTCREATORBUG-30078
Change-Id: I848b33f006b51866dde2565bd7f76c1eac0f3d28
Reviewed-by: hjk <hjk@qt.io>
2023-12-20 13:53:25 +00:00
hjk
f19cb7b296 CppEditor: Hide ClangdSettingsPage setup in .cpp
Change-Id: I3606e503ea512750b06a94901e5391ce6dae86e3
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-20 13:48:06 +00:00
Eike Ziller
4d3eb3d578 KSyntaxHighlighting: Remove highlighting files with unclear license
Makefiles are less relevant nowadays with CMake and Ninja, and the
Python plugin does highlighting on its own.
And users will still be prompted for downloading the highlighting files
anyway.

Change-Id: If80f1e8215375ed3985d9327c031f0c69fc15654
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-20 11:48:36 +00:00
Eike Ziller
8d0238db23 KSyntaxHighlighting: Remove unused files
The original patches for switching to KSyntaxHighlighting are no longer
used.
Remove empty readme file.

Change-Id: I6b55b63bf19a04ef16f34b4764ddfc2800959b11
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-20 11:48:22 +00:00
Eike Ziller
bbf02473e0 COIN: Do not try to download qtquickcontrols2
It doesn't exist anymore

Change-Id: I0bb50e0fc247022b563c370cd36cf046191c9c7f
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-20 11:48:01 +00:00
Dominik Holland
eccc244537 ProjectExplorer: Allow an extraInit function to be called
... when BuildSteps are created. Potentially useful to tweak
step behavior without the need to inherit or such.

Change-Id: I8c8e9bdec84fafc454db9dc9a492d399b00b7f57
Reviewed-by: hjk <hjk@qt.io>
2023-12-20 09:59:40 +00:00
hjk
5b69d70d10 Coco: Use ActionBuilder for start action
Change-Id: Icca57e1ece1e3267ecd5b23fc9856a6e31487d9e
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-20 08:31:41 +00:00
hjk
913a17734b Coco: Move plugin class definition to .cpp
Change-Id: Ic183657636ab2d8094eee5253a0d6679ea5a805d
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-20 08:31:32 +00:00
hjk
06545a3625 Debugger: Fix a (harmless) use after free in manual test
Change-Id: Ie7fdd9a5dbf3767faafead4ce85fb1c470e144cf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-20 08:31:22 +00:00
Leena Miettinen
3f24752247 Doc: Update info about importing generic projcts
Move the topic from Build Systems to How To: Manage Projects.

Task-number: QTCREATORBUG-29361
Change-Id: Ia91ef716a2907c9ae9296852ca137d3fa1f3e4c1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-20 08:19:22 +00:00
Cristian Adam
13efeb4c23 CMakePM: Fix "cm" and "cmo" locator filters
For "cm" (CMake Build) display all targets, including utility targets
like "all", "clean", or "<target>_lupdate" and "<target>_lrelease".

For "cmo" (CMake Open) display only the "real" targets, targets that are
not utility targets and have a backtrace from CMake File-API.

Fixes: QTCREATORBUG-29946
Change-Id: Ica53f4d38bd0c301b6dbfe0754e53c52d1b8d378
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-20 08:16:04 +00:00
Cristian Adam
1ce56fe0b4 CMakePM: Fix library search path for special targets names (test)
Fixes: QTCREATORBUG-30050
Change-Id: I1f0ad5db048976f347a363f3ed12e7881453930b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-20 08:14:59 +00:00
hjk
ac9c0ecb99 Core: Use ActionBuilder in IWizardFactory
Change-Id: I4df477503d88ccf40dda88032da11ed48b1a3af9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-20 07:22:40 +00:00
Tim Jenssen
a546dc65be Merge remote-tracking branch 'origin/qds/dev'
Change-Id: I8aa6ace80911b440485f9006f066aa2113cca63d
2023-12-19 16:02:52 +00:00
Jarek Kobus
e436bf47fe EasingCurveDialog: Avoid using sender()
Amends a0e551a1e8

Change-Id: I2178d4417214c77a104c0d0840f1de6f460fadb5
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-12-19 15:49:08 +00:00
Jarek Kobus
77aeba3c88 FileDownloader: Avoid using sender()
Change-Id: Ifd943b1c827e30fd72320035d1329b6e47aeee96
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-12-19 15:48:20 +00:00
Jarek Kobus
466856ca79 ShortCutManager: Avoid using sender()
Change-Id: Ibe0c2835463e1397b960526383afed73df50b62a
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-12-19 15:48:02 +00:00
Jarek Kobus
7969fb2147 QmlDesignerPlugin: Use Utils::Guard for guarding the recursive call
Change-Id: I179d58374fcef4bebce1c3240bf8ba3d956f9c9c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-19 15:47:53 +00:00
Tim Jenssen
c8f35db483 ADS: fix crash on exit
None QObjects are not children of something - so they
need to get tracked.

Task-number: QDS-11555
Change-Id: I866097f9553a6080b30f0c12362bf7ec66321c05
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-19 15:42:40 +00:00
hjk
e514e403b4 GitLab: Register open view action using ActionBuilder
Change-Id: Id0bb3b2a3e5da266ce9014ffe2c81f9b0d0d442d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-12-19 15:27:38 +00:00
hjk
ea090adcdb AutoTest: More ActionBuilder polish
Change-Id: Ic7ba4ea43887c0589055df8e84c047242aea0809
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-12-19 15:27:33 +00:00
hjk
f2d4d62fed Autotest: New-new ActionBuilder setup
Change-Id: Id4bc4422da62b7017cfc54c16bd6dbc4852de276
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-12-19 15:02:17 +00:00
hjk
4347d436bf Core: Return *this from ActionBuilder settings
Useful to chain operations and avoid the repetitive local variable
name.

Change-Id: I4327dbb90d97cbeed370b311c3ade7925ddada0b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-12-19 14:43:25 +00:00
Cristian Adam
1c59014d74 PE: Break infinite loop if the location is empty
The patch is taken from the bug report.

Fixes: QTCREATORBUG-30067
Change-Id: If586c8d86fdd820fbc8ac83710a832a9888ef966
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-19 13:37:26 +00:00
hjk
ee921a25d5 ClearCase: Use ActionBuilder
Change-Id: I8c71a0e86fe6658240910bf8ddf650bf7da581a9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-19 13:08:13 +00:00
Miikka Heikkinen
24c2cd857d Effect Maker: Store property display names when saving effect
Fixes: QDS-11345
Change-Id: Id948bf6474fcc6bfff0d6e2f14241c4e4e916f6a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-19 12:03:59 +00:00
Thomas Hartmann
4eb1511977 QmlDesigner: Add checks against deleting files
There were reported cases in which the documents folder was deleted.
Adding checks to ensure only temporary files are deleted or single examples.

Task-number: QDS-11545
Change-Id: I93257ca6a9898ea6844cbc4125daef28ea57a7e7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-19 11:56:42 +00:00
Artem Sokolovskii
a26c373708 FakeVim: Fix tests
Amends: e396f84d10

Change-Id: I3c871006326dc691d24cc715c5a05f5c5acdadc7
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-19 11:50:32 +00:00
Artem Sokolovskii
2c91d4b472 CppEditor: Fix tests
Change-Id: I9e656bc13109603a877b3685c122c4d2a467fd62
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-19 11:50:28 +00:00
Artem Sokolovskii
4a8e22e3f2 SyntaxHighlighter: Add signal that highlighting is finished
Added function syntaxInfoUpdated shows whether highlighting inProgress
or Done and signal highlightingFinished.

Change-Id: I4cf2b5cfa97d73c882e69ee1df81497ec50a81f7
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-19 11:50:24 +00:00
Eike Ziller
13b48144a6 Doc: Fix configuration if qdoc is missing
As is currently the case for our Debian/ARM binaries.
It was failing when trying to make the html_docs_qtcreator target depend
on the doc_attributions target, because the html_docs target is not
created if qdoc is missing.

Amends 2ce9f9d97d

Change-Id: Ia5b118d6d373f7cc131d6fb9a03555180509b9d4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-12-19 11:16:00 +00:00
Henning Gruendl
e6cc2eeba6 QmlDesigner: Fix unfocused TextField selection
Change-Id: Idd5438fa77d4aa783f71a6826b3e2234da326c34
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-19 10:44:25 +00:00
David Schulz
ec0d539b39 Pydap: fix unused parameter
Change-Id: I8b389129d861b9f138c3faa3eaf5c4317afffd09
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2023-12-19 10:07:42 +00:00
Eike Ziller
b37cd984db Merge remote-tracking branch 'origin/12.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: I937d301156dac0d20b43e7a14b41a319eff57698
2023-12-19 10:55:55 +01:00
Alessandro Portale
fc3291afed Utils: Proliferate use of <utils/mimeconstants.h>
This deduplicates several mime type strings.

Change-Id: Ib1746387e233ca5b7134e65859b5ec1c7832b8e4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-19 09:38:10 +00:00
Alessandro Portale
1c0ce68410 Utils: Turn the names of Constants::GLSL_* conformant
The names in mimeconstants.h usually end with "_MIMETYPE"

Change-Id: I593383f17519ff1ad77caf419210d33761748f38
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-19 09:37:53 +00:00
Miikka Heikkinen
6bf7ae11a0 Effect Maker: Change blur helper to match helper on qtquickdesigner
When running effect in project, source property for effect doesn't
seem to have actual dimensions, so use the root item dimensions.

Task-number: QDS-11542
Change-Id: Ibc4053224de8882dead338f1833bf65397f5eac3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-19 09:16:00 +00:00
Miikka Heikkinen
2d166d0839 Effect Maker: Notice property changes in helper nodes
Property changes in helper nodes are now properly noticed as unsaved
changes.

Change-Id: I757f519075d2f96be2b84b57b25b916665e26ba7
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-19 09:15:49 +00:00
Miikka Heikkinen
c6b6a64e24 Effect Maker: Fix for case sensitive file systems
Helper node .qen are all lowercase, so use lowercased node ids as
filenames are generated from those.

Change-Id: I86ae7b07dbc30b7a68e0ee9214213d83d4e5dbd3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-19 09:15:38 +00:00
Alessandro Portale
9b285cdcd2 Wizards: Fix paths in QtQuickApplication/QDS wizard
Amends: e2c1cfb69f

Change-Id: Ib0a0bd0238dfdc1d40c90dd73f5d622c7baf4536
Reviewed-by: hjk <hjk@qt.io>
2023-12-19 09:11:23 +00:00
Eike Ziller
92d1938ab4 Bump version to 12.0.2
Change-Id: Ia7514eccbb61380a502049cfa9f536981c0cac1f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-18 16:39:52 +00:00
Eike Ziller
38176623eb Doc: Move acknowledgments for binary components to table
Remove reference to OpenSSL, we do not ship it anymore.
Move Qbs to the other acknowledgments of components included in the
binary packages.

Change-Id: I964badc80568c0b5fd09be65231d9b77d34fa4b9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-12-18 16:28:19 +00:00
Pranta Dastider
1c4a2ade1d QmlDesigner: Document Jump to the Code feature
This patch documents the jump to code features. It allows
users to instantly jump to code specific for a component,
state or connection.

Fixes: QDS-11132
Change-Id: I4483dda8dd6a899ddee017196e697008f4be0fcd
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2023-12-18 15:39:25 +00:00
hjk
6c5cd8216a Core: More ActionBuilder use in icore.cpp
After introducing ActionBuilder::setSeparator().

Change-Id: I54e89aae66c4e4a6f2073df6287140c41da887d8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-12-18 15:36:05 +00:00