Commit Graph

88653 Commits

Author SHA1 Message Date
David Schulz
f68c7e1024 Debugger: remove unsupported type annotations from cdbbridge
Change-Id: I997a2df2b6352e022a955f2441f4e7f9d9fa02ae
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 13:36:45 +00:00
Alessandro Portale
2cb03eccc8 ExtensionSystem: Make PluginView::setPluginsEnabled public
Change-Id: I0468e200b0fec76e699f9e5a64924b437557aab9
Reviewed-by: hjk <hjk@qt.io>
2024-06-25 13:25:35 +00:00
hjk
c57d70e242 ExtensionManager: Switch on by default
But keep experimental.

It is currently less functional than the old plugin dialog, it
misses e.g. dependency tracking when disabling plugins and the
design misses a way to restart Creator in the common case where
this is necessary.

Change-Id: Ib6c5aba762426510fc174c99ddc486d31d240484
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-25 13:14:34 +00:00
Leena Miettinen
9cc4c6a93e Boot2Qt: Edit UI text
- Replace "Boot2Qt" with "Boot to Qt"
- Add dots to ends of messages

Change-Id: I0c4a795199bf6dee41cc69c5eea34bf28246f0b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-06-25 11:34:54 +00:00
Marcus Tillmanns
454c505184 Terminal: Remove object registration
Its unnecessary to register the object in the plugin system.

Change-Id: I0a356b9a040879503e38090939008277e4eea4f0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-25 11:31:44 +00:00
Christian Stenger
b4a886d0ae Vcpkg: Fix qbs build
Amends e001f4535b.

Change-Id: Ie8db65b64de188d23d177ad2b232f90b4288093b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-25 10:55:42 +00:00
Marcus Tillmanns
81ad004a52 Lua: Improve REPL Pane
* Replaced item editor with label to allow copy&paste
* Fixed removing global object
* Removed printing of readline prompt
* Removed keypress handler as it was unstable

Change-Id: I8091252400a3532ecc818404ad5a8edfa9451327
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 10:55:21 +00:00
Alessandro Portale
e001f4535b Vcpkg: Asynchronously parse repo vcpkg.json manifest files
Finding all vcpkg.json files in the repository recursively and parsing
them takes a second or two. This change makes this asynchronous and
shows a spinner instead of blocking the UI.

Change-Id: Ib25daa8883d27764091de700f2977b8b10ba2e27
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-25 09:17:54 +00:00
Leena Miettinen
a9a611e21e UI text: Add dots to ends of messages
Use consistent wording for things that failed.

Change-Id: If8593077352b48418ca739d6933beef588057ac1
Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-25 09:15:54 +00:00
David Schulz
6ca917c123 Core: remove unneeded template of mimeTypeFactoryLookup
Change-Id: I2ca6defe1054b0ac06aa134c099a77f253d61a02
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-25 08:30:49 +00:00
Christian Stenger
10e10f2190 Lua: Add scripts rcc to qbs build
Amends 0214cac51d.

Change-Id: I1670e485b009d920d736b1f168e3d0e059b75680
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-25 08:13:16 +00:00
Christian Kandeler
600fba3de8 Update qbs submodule to HEAD of 2.4 branch
Change-Id: I27e7076a1cab41f5df816e27a1b76c1baf3ab4ad
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 08:03:33 +00:00
Leena Miettinen
2f76130a49 Doc: Update info about QML Language Server
- Rename topic as "Configure QML Language Server", as QMLLS
  is now turned on by default
- Describe new preferences
- Remove "QML Language Server" from checkbox labels
- Add a link to the docs to the change log

Task-number: QTCREATORBUG-30604
Change-Id: I397b1747a3d23d728c78dc2eae000839655c4f32
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-25 07:44:24 +00:00
Christian Stenger
79f7115cde Lua: Fix missing include
Amends 0214cac51d.

Change-Id: I873e9dcbe687ea579bc71ba0a687e5f2b4955817
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-25 05:58:28 +00:00
Marcus Tillmanns
96815bb95e LuaLanguageClient: Fix crash on exit
Change-Id: I2f70d0b1586bc2bfbb27ea1513313e5c6ca32754
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-25 05:58:16 +00:00
David Schulz
8910356ffc LanguageClient: avoid crash on collecting clients for a null setting
And assert in that case.

Change-Id: I7b74589e6f08eb57e1b08bf509729bef32d0a9ff
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-25 05:54:15 +00:00
Orgad Shaneh
da957a5b1a Utils: Fix MSVC warning
icon.cpp(214): warning C5030: attribute [[__maybe_unused__]] is not recognized
icon.cpp(214): warning C5222: '__maybe_unused__': all unscoped attribute names are reserved for future standardization

Change-Id: I99e484a508965ef256b20286b3c3795220c4f748
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 05:32:39 +00:00
Jarek Kobus
460a5bbb56 TaskTree: Qt-ify the code (part 4)
13. Make s_activeStorageWarning a QLatin1StringView, otherwise
    having "qstring.h:1007:5: note: declared private here"
    on ubuntu-24.04-x64.

Amends e331329e4f

Change-Id: I6f5784f00b2894daa48128edd50bf57b54686acf
Reviewed-by: hjk <hjk@qt.io>
2024-06-24 15:03:23 +00:00
Jarek Kobus
bcba7184f0 TaskTree: Implement AssetDownloader example
This is an equivalent of the downloader used for
the car-configurator example.

Change-Id: Ia0ab13ea7d4557d375b44aa2ba06be5a81651251
Reviewed-by: hjk <hjk@qt.io>
2024-06-24 15:03:14 +00:00
Cristian Adam
660e579760 CMakePM: Code readability fix
Amends b240bfb3db

Having the assignement sepparate makes the code easier to understand.

Change-Id: I10112224c9752788e157012d53f638406b79793b
Reviewed-by: hjk <hjk@qt.io>
2024-06-24 14:48:17 +00:00
Artem Sokolovskii
6db4c7af32 AppStatisticMonitor: Change background color to current theming
Change-Id: Ib12305cfda1d6ed4404c606314fa73451ed4afe7
Reviewed-by: hjk <hjk@qt.io>
2024-06-24 14:42:23 +00:00
Leena Miettinen
b4ece2e056 Doc: Update topics about reading documentation
- Describe the Open Online Documentation option
- Edit the style
- Use How To: Read Documentation as \sa for all topics in the group

Task-number: QTCREATORBUG-30604
Change-Id: I7219ef9a38e993fc1387dd0ece9c8dfe762387d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 14:33:51 +00:00
Cristian Adam
3babe8c73c App: Set "windowsvista" style on Windows
This will set the pre Qt 6.7 default style.

Task-number: QTBUG-126515
Task-number: QTBUG-126548
Task-number: QTBUG-126549
Change-Id: I947bcbe859c91906f2a273a04f3142d8d42b7af1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 14:31:27 +00:00
Marcus Tillmanns
0214cac51d Lua: Interactive Shell
Change-Id: Iedd620abcb62b9dd3e640bcb80ae011016386484
Reviewed-by: hjk <hjk@qt.io>
2024-06-24 14:29:31 +00:00
Eike Ziller
1f0d028b09 Update change log
Change-Id: I966a24d9fc2b272c798bd413eaadaf6c8ef14a0f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-06-24 14:05:22 +00:00
Jarek Kobus
7ffcbe541b TreeScanner: Inline scanForFiles() method
Make scanForFiles() a non-template method and hide it
in treescanner.cpp. Inline scanForFilesRecursively().

Change-Id: I10e07f190e1a4a65cd7045c625a364350964afb9
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-24 13:23:27 +00:00
Eike Ziller
38fc03cc3b COIN: Do not specify full path to 7zip
It is in the PATH, and the full path makes
changing platforms/VMs harder (like updating to ARM Macs)

Change-Id: I3b4a3208aa066e8000321d6a548b9559c249dc5e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 13:19:22 +00:00
David Schulz
4f1cc1ff31 Core: fix direction of Ctrl+N/P/Up/Down
Additionally accept the shortcut override events in order to block other
potential shortcuts from interfering with the selection of the open
document.

amends e6299f510d
amends 03e35aac14

Task-number: QTCREATORBUG-31072
Change-Id: Idfd65b92a84f5be39f9a01da68e8046ae5304733
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 12:46:54 +00:00
Eike Ziller
64a9da8114 COIN: Switch sdktool to Qt 6
Change-Id: I638c0b385a27e1e5b036102330b8f5a80899343c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 12:03:43 +00:00
Orgad Shaneh
2b094ddb21 TextEditor: Fix context for editor actions
Amends 411100b037.

Fixes: QTCREATORBUG-30748
Change-Id: I6b54e7283df2523e26a6dd186de973a8378a9b2f
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-24 11:58:57 +00:00
Alessandro Portale
81163b431e ExtensionManager: Implement Extension details design
This implements the design for the "right side" of the extension
manager.

The introduced "header" shows the extension icon in a slightly bigger
variant. The "Install..." button that starts downloading and installing
of a plugin moved to the newly desigend "header".

The previous HTML based prototype has been split up into separate items
in order to achieve specialized sections like the images and tags.

Images are loaded via TaskTree and displayed as static image or as
animation.

Change-Id: Ifaf4a46c0a4789e77e76f9a44c8a15ee74c5e8df
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-24 11:47:30 +00:00
Cristian Adam
a41c4de3df CMakePM: Do not hang on renaming files in parent directories
This fixes renaming of "my/class.cpp my/class.h" via "../class.h" and
resulting into "class.cpp class.h".

"oldRelPathName" was not needed since it was saved in the
"m_filesToBeRenamed" map and it was computed from the new filename. This
was prone to error.

Task-number: QTCREATORBUG-30830
Change-Id: I839fab3bd6a6172f5ebfbaf9a4b6501cd5693fa8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-06-24 11:45:30 +00:00
Jarek Kobus
c3de8c7f31 SshParameters: Remove return value from setupSshEnvironment()
Change-Id: I3e58454f23b5828991a5da1a88913f68d0f3ac9b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-24 11:34:18 +00:00
Eike Ziller
595c2051d2 COIN: Fix the branch used for tqtc-qtsdk
'master' was changed to 'production'

Change-Id: Iffbf6dad061e0a9a86d456410dcde55a9ff21fb9
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 10:39:09 +00:00
Cristian Adam
6cfcd62c9d GitHub Actions: Fix beta/rc tag handling and update versions
The beta/rc tag was not properly handled and all beta/rc releases were
marked as final releases.

The updated from actions/*@v3 to actions/*@v4 will get rid of the
node.js update warnings.

Lastly the macos-latest runner is actually 14 nowadays.

Change-Id: Ia4483012195fcac938ed0eec59d9e9812f1f3c05
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 09:19:47 +00:00
Christian Kandeler
c0bfd9bbd6 CppEditor: Clean up cpptoolsreuse.{h,cpp}
A lot of code had a more suitable place to live in, some was even
unused.

Change-Id: I36478ef473aa14395a182c9ac5e3738fc93134b6
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-24 09:14:47 +00:00
Artem Sokolovskii
322679db16 CppEditor: Fix folding after comment
Fixes: QTCREATORBUG-5110
Change-Id: I65e0245d68ed41ab0cfc85cedbee21584b6fa90f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-24 08:16:31 +00:00
David Schulz
e6299f510d Core: allow selecting recent documents with Ctrl+N/P
This is more in line with other list popups like the locator or the
completion widgets.

Task-number: QTCREATORBUG-31072
Change-Id: Ic3c8a7de2791473c693bd21c661e3e5b85ff21a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 08:11:09 +00:00
David Schulz
03e35aac14 Core: Fix selecting recent document with arrow keys
The editor actions are defined in the editor since the removal of the
TextEditorActionHandler. So we potentially capture the ctrl+up/down in
the editor. Fix this by overwriting the shortcuts in the event handler
of the open editor widget.

Fixes: QTCREATORBUG-31072
Change-Id: I45217962bcb2ef3ae8ebed7c4a6d0412bcc0216b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 08:11:04 +00:00
Semih Yavuz
df2e55d92a Opt out qmlls semantic highlighting
Apperantly, qmlls semantic highlighting is not as powerful as the
embedded code model's highlighter. Disable lsp based highlighting until
qmlls semantic highlighting reaches the feature parity with the QtC
highlighter. This is tracked by QTBUG-126550.

Task-number: QTBUG-126550
Fixes: QTCREATORBUG-31083
Change-Id: I6cab94d4ba1d1cde50b62ce03a6b1cc5b6d7d27b
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-24 07:35:03 +00:00
David Schulz
d8fa27cfbb LanguageClient: Fix and export DynamicCapabilities
This is useful to explicitly disable specific functionality from code in
the case were the server reports capabilities we know are not stable or
not usable.

Change-Id: Iba1701c59258da6f30f32c33b477f3a650387491
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
2024-06-24 06:31:58 +00:00
hjk
e3d3af81cb QmlJsEditor: Start aspectification of settings
Rename qmljseditingsettingspage.* to qmljseditorsettings.*,
re-arrange some includes, use settings() for the singleton access
etc.

Change-Id: Iff36a99baf0afd238a935386e9111818be5d7987
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-24 06:12:59 +00:00
Jarek Kobus
99acc4440a Android: Provide more info when createAvd failed
Fixes: QTCREATORBUG-30852
Change-Id: I9334a25c6e15a615dbf52736c9369821ba0ff8b9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-06-24 05:49:24 +00:00
Jarek Kobus
b4f798d002 CodingStyle: Fix Utils::QtcProcess -> Utils::Process rename
Change-Id: Iabcfcdea47bf6372904b5a0f89c568790df90023
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 05:49:08 +00:00
Cristian Adam
92761ad293 PE: Allow candidate renaming with sub directories
This would allow renaming of:
myclass.h myclass.cpp -> my/class.h my/class.cpp

Fixes: QTCREATORBUG-30830
Change-Id: Ic7f277e52a52dfe6745023f550072a935295bcac
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-21 21:46:24 +00:00
Cristian Adam
739b4fc5f4 CMakePM: Fix crash on non-cmake projects when viewing project's settings
Amends 1a5f61adca

Change-Id: Ife8eac40365d06e06a9177eb7a1886eb65a84095
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-06-21 13:28:47 +00:00
Leena Miettinen
107a783452 Doc: Describe File > Open Workspace
...which opens a directory as a project and creates a
.json project file.

Task-number: QTCREATORBUG-30604
Change-Id: Ieadcddb298cbf50f25353d344dce0cd1820095e8
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-21 13:01:51 +00:00
Eike Ziller
12c1731489 Merge remote-tracking branch 'origin/14.0'
Conflicts:
	src/plugins/qmljseditor/qmljseditingsettingspage.cpp
	src/plugins/qmljseditor/qmllssettings.h

Change-Id: I49b97101467a6e80653c0f5f3e3fe5801dca5274
2024-06-21 13:54:42 +02:00
Artem Sokolovskii
2971138cb7 Debugger: Fix hitting unexisting breakpoints
Set UseFullPath only for BP from the opened projects.

Fixes: QTCREATORBUG-3750
Change-Id: I343c68ca341f9bfb57e352b9b28df333eb1c16c3
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-21 11:54:24 +00:00
Christian Kandeler
65f7665722 Update qbs submodule to HEAD of 2.4 branch
Change-Id: I960d309f14b4c4ec80469d9f6996210c15bf17cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-21 10:02:36 +00:00