Mahmoud Badri
fc79bad535
QmlDesigner: Remove Model::generateIdFromName()
...
- Added UniqueName::getId()
- Cleaned up generateNewId() and made it use UniqueName::getId()
- Moved UniqueName to designercore
Also reversed how the predicate of UniqueName::get() works.
Change-Id: I89c50f7d80610243f56be165b1495ef428da457c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io >
2024-05-20 12:58:22 +00:00
Miikka Heikkinen
73ce3a891f
Allow scene environment as background for non-View3D scenes
...
For non-View3D scenes, the environment from the previous View3D
is used.
Fixes: QDS-12398
Change-Id: I6adc82cd0205ebe443b5834d9bb0f4906e2cd009
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-05-20 11:06:11 +00:00
Tim Jenssen
cbd36f93fa
Merge remote-tracking branch 'origin/13.0' into qds/dev
...
Change-Id: Ief07ead0b4cf513c70bd74d4f5e28e4642edc78e
2024-05-17 17:57:18 +00:00
Tim Jenssen
fe7b46c28e
crashpad: fix include
...
Change-Id: Ia5bd19db4bb05de673632fa7790b72a4824313bb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2024-05-17 17:52:35 +00:00
Jochen Becher
b468ea0bdd
ModelEditor: More use of Utils::FilePath
...
Change-Id: Ib1030959ae5eea763d3b93684b68ae6ae927839b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2024-05-17 17:23:27 +00:00
Christian Kandeler
1afe89a54e
CppEditor: Fix Windows release build
...
Change-Id: Ie1fd2f29caab09f09e179e8ad7505a8a0fac6d8a
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 14:11:19 +00:00
Christian Kandeler
3c18fe3cb1
CppEditor: Move ConvertToCamelCase quickfix to its own files
...
Change-Id: Ic45ad1732fbf1253088db1b8adb93d752ed7cd1c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 14:10:44 +00:00
Tim Jenßen
ed97f8172a
qds: increase version to 4.6.0
...
Change-Id: I5d99ba1e92399170d9fd828df573f33503ee4b12
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-05-17 13:54:27 +00:00
Christian Kandeler
a6758ab76c
CppEditor: Move ConvertNumericLiteral quickfix to its own files
...
Change-Id: Ic372fa9bab08ea294ca0890610696c0f06b8fecb
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 13:29:18 +00:00
Christian Kandeler
072d9103c3
CppEditor: Move SplitSimpleDeclaration quickfix into its own files
...
Change-Id: I74f656ed29ae2eb15afa89a0ad01c91333b99345
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 13:04:43 +00:00
Christian Kandeler
e48a40bd8d
Update qbs submodule to HEAD of 2.3 branch
...
Change-Id: I9afd32c952cb4d57ed0daf8ff9860a35f3d78be0
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 12:55:31 +00:00
Christian Kandeler
ae89f79917
CppEditor: Move ConvertToMetaMethodCall quickfix to its own files
...
Change-Id: Ic2c64e8825cf9d7ee4b7e90fc6cdda5aca9bb8c7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 12:48:04 +00:00
Christian Kandeler
977702d933
CppEditor: Move CompleteSwitchStatement quickfix into its own files
...
Change-Id: Ibb4032c4c9715af62f644e84985712b68a11fdd9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 12:47:32 +00:00
Christian Kandeler
7fec30a2c4
CppEditor: Move AssignToLocalVariable quickfix to its own files
...
Change-Id: Ia0072846e97e4db50c60acf19af5e695e8472a6b
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 12:34:30 +00:00
Leena Miettinen
946bbb477e
Doc: Fix QDoc warnings in BaseAspects docs
...
Change-Id: Iee6e29040dfffaa4fa7da99cb0b854ef22b45042
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2024-05-17 12:25:39 +00:00
Christian Kandeler
f0695dacf9
Move ConvertFromAndToPointer quickfix to its own files
...
Change-Id: Ie5f80072e5225ee0394ad0dc1dde2309133aae9d
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 12:16:49 +00:00
Christian Kandeler
a82ad37bde
CppEditor: Move ExtractLiteralAsParameter quickfix to its own files
...
Change-Id: Ib443b2ae2b3b07685471384b0d26c8ef9deac1b2
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 12:16:12 +00:00
Eike Ziller
5b83dd2430
CMake: Fix translatable string
...
Translatable strings should not start with a space, but always adding a
fixed string to an existing string is not a good thing to do in any case.
Languages/translators might have different opinions on this. There is no
good way to do this without breaking the original string, so just do it.
Amends 0e30918955
Change-Id: I4f240d1e0e45f12ee3a7e88dd11a0b539557ab4e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 12:00:18 +00:00
Christian Kandeler
d30ed4c738
CppEditor: Move ExtractFunction quickfix to its own files
...
Change-Id: Iff66f8bc7dc48c9c7d38c77cfe4f43915236fb1c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 11:38:34 +00:00
Christian Kandeler
e634dd769f
CppEditor: Move quickfixes for rewriting comments into dedicated files
...
Change-Id: If27459e7219642f6518a6c9099ca0bdae7502511
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 11:37:51 +00:00
Christian Kandeler
4cd59fc357
CppEditor: Move control statement quickfixes into dedicated files
...
Change-Id: Ie4fb4bb466c151cc7666aecb5307fee6f6fd56d8
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 11:00:16 +00:00
Christian Kandeler
3c0258448e
Move quickfixes for logical operations into dedicated files
...
Change-Id: Ie0009820b7320ed71331e1611d6cf9701c54c089
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 10:23:49 +00:00
Christian Kandeler
44ab666928
CppEditor: Move "create decl from use" quickfixes into dedicated files
...
Change-Id: Id93f4a5cdf7f2a36397458f3b00bb2a0cdefd69f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 09:58:46 +00:00
Leena Miettinen
ced23f3f89
Doc: Use "p4 set P4CONFIG" on all platforms
...
Fixes: QTCREATORBUG-30816
Change-Id: Id95062f24bcd2b225581f3158c779caac6780a14
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2024-05-17 09:51:42 +00:00
Ali Kianian
51a27f3a12
QmlDesigner: Close the color editor popup before adding
...
Fixes: QDS-12498
Change-Id: Id3c565ffb9fca7f186ebeb0cf8051194c7944d4d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
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-05-17 09:39:33 +00:00
Christian Kandeler
b3e4d552d3
CppEditor: Move quickfixes for string literals into dedicated files
...
Change-Id: I60d9d30981a68a6393ba39f566bd174b0f391793
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 09:36:13 +00:00
Christian Kandeler
c5325effc8
CppEditor: Move "add include" and "add forward decl" quickfixes
...
... to dedicated files.
Change-Id: Ifb2c00241b3e77c33fdfc79227486e431ecab5d7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 09:35:39 +00:00
Leena Miettinen
c7803fe6ae
Doc: Mention QML Language Server in "Adding Language Servers"
...
- Add a link to "Turn on QML Language Server".
- Add the \QMLLS macro and use it everywhere.
Fixes: QTCREATORBUG-30823
Change-Id: I75ff67967ad6bf592dceeae46486713012aafd50
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io >
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io >
2024-05-17 09:07:23 +00:00
Christian Kandeler
b0f8fe63cc
CppEditor: Move "insert definition" quickfixes into dedicated files
...
Change-Id: Ib314f43dd44d34ab1e2d9a867e95de2261e6c86a
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 08:33:43 +00:00
Christian Kandeler
e7505088f5
CppEditor: Move "move function definition" quickfixes to dedicated files
...
Change-Id: I4e963bd7fef1f1c9f0b69dde56298a52c74e01e4
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 08:11:38 +00:00
Christian Kandeler
92f3731d78
CppEditor: Move ConvertQt4Connect quickfix to its own files
...
Change-Id: I04b2548d860250fd916c035de68516b7c3f1628c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-05-17 08:10:54 +00:00
Eike Ziller
fecf95b58e
Merge remote-tracking branch 'origin/13.0'
...
Conflicts:
cmake/QtCreatorIDEBranding.cmake
doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc
qbs/modules/qtc/qtc.qbs
Change-Id: I67a2540677a8b5c309c0c81e2a509a61d0a65aa8
2024-05-17 09:18:14 +02:00
Marcus Tillmanns
ce1f45cbfc
Lua: Fix meta file install location
...
Change-Id: I3dcd16057bac3ba4b5e125253b48c6a03f1ca33d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-05-17 07:04:10 +00:00
Leena Miettinen
2b23a359d4
Doc: Describe using Perforce config files on Linux
...
Fixes: QTCREATORBUG-30816
Change-Id: I52adaa3a5f216a503c7e22c8e4905146ee778f3b
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 07:03:46 +00:00
Eike Ziller
5789c22306
Locator: Remove settings restoring from QtC 4.15
...
Change-Id: I9c263122d649bb284acc9a1fc2409b3761ca8643
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-05-17 06:58:37 +00:00
Eike Ziller
c64754edfb
LanguageClient: Fix condition
...
Amends 770f1b0376
Change-Id: I289bc9af8499860e58a95e9c1d83faf92c8056f9
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 06:58:24 +00:00
Eike Ziller
2649a49209
Editors: Add menus for back/forward buttons
...
Add menus to the back and forward buttons in the editor tool bar, that
show history the history. Limited to one entry per consecutive same file
path, because we currently don't have the means to visually distinguish
multiple locations in the same file.
Fixes: QTCREATORBUG-347
Change-Id: I69c5cfaf4c12ec8b59f98eb692c799babca0458a
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-17 06:57:40 +00:00
Leena Miettinen
58abfc52e5
Doc: Fix QDoc warnings for the API reference
...
Change-Id: I3507009756822f3ac795057a37c5f34a6e2bcd10
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-05-17 06:57:23 +00:00
Johanna Vanhatapio
92120273b1
Doc: Add a missing qdoc command
...
Change-Id: I36567e0e3da15d99cf8fe9eac887112ad20b032d
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io >
2024-05-17 06:52:47 +00:00
Eike Ziller
eaefe4bf30
Editors: Centralize creation of EditLocation for history
...
Change-Id: I05387ccf444351de4002b706f7c03027fdd9adaf
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-05-17 06:52:23 +00:00
Eike Ziller
e964a0e2a7
TextEditor: Move navigation history update from Widget to IEditor
...
Telling the EditorManager to update the navigation history only really
makes sense in the context of IEditor, not if the widget is used in some
other context.
For this reason the code in the text editor widget also had a check to
only add history in case the current editor's widget is the text editor
widget - which does not work in case of e.g. the Markdown editor or the
Compiler Explorer. Signaling the request for adding navigation points to
the IEditor gives these other editors that integrate text editor(s) a
chance to implement this too.
Change-Id: Id1bb3516519f48a3f4448ac226be21e52bb02b2b
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-05-17 06:52:04 +00:00
Eike Ziller
9f1c6e9c72
TextEditors: Do not add to history twice for Ctrl+Click navigation
...
When Ctrl+Clicking to follow symbols, the original location was added
twice to the history, once in the click handler, and once when the link
was opened in `TextEditorWidget::openLink`
Change-Id: I806165621d7ea229aa963b5b7d83c5327d8e7f14
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-05-17 06:51:52 +00:00
Marcus Tillmanns
9160679b04
Lua: Add better error output to fetch()
...
Change-Id: Ic9092ff52130ac3cfc620ead9a1c69f112a864ac
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-05-17 05:13:04 +00:00
Henning Gruendl
a7913d5430
QmlDesigner: Update EffectsSection tooltips
...
Change-Id: Ib0cf243f84d125ab488ff4f597bbc4dd1637c1d3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-16 15:14:15 +00:00
Marcus Tillmanns
450611ddcc
Utils: Fix FilePathAspect::expandedValue
...
It should use the macro expander if there is one.
Change-Id: I8fb7760f23305f4b243e784d38d44d9bef4c0065
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2024-05-16 13:52:45 +00:00
Jarek Kobus
1ddcd8ad70
Android: Add locking mechanism when creating avd
...
Lock avd file system watcher changes when executing create avd command.
Otherwise the avd file system watcher sends notifications during
create avd command execution and subsequent avd list command
doesn't report the device which is being added, yet.
Change-Id: I1a0123d1bf14cf76e3a90e7f19416eb634e9c4a6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2024-05-16 13:39:07 +00:00
Marcus Tillmanns
60a66ce3fa
Utils: Remove duplicate call
...
Change-Id: Ic21ea5a911de01f63fa5c736233cef544a00c210
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2024-05-16 13:34:45 +00:00
Alessandro Portale
e8060ba97e
Utils: Make working directory in Process::toStandaloneCommandLine work
...
The value for "-C" was never printed out. Let's fix that.
Change-Id: Id8f23867b586bfa6f017258cad96db071e819729
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-05-16 13:24:19 +00:00
Jarek Kobus
53de9701f4
CommandLine: Use more 1-arg c'tor
...
Change-Id: If52c4094f94859d51e31862d913b1756e333e512
Reviewed-by: hjk <hjk@qt.io >
2024-05-16 12:45:42 +00:00
Jarek Kobus
34f4ec11bd
CommandLine: Add a constructor test
...
Change-Id: I5d5bf8e7f31017f16663103f560e598e2a003d50
Reviewed-by: hjk <hjk@qt.io >
2024-05-16 12:43:11 +00:00