hjk
0d37a66b51
Squish: Adapt to recent aspect development
...
Change-Id: Ied7406af9c39d8b57b5b9064500e589e33fb86da
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-24 08:55:53 +00:00
Christian Stenger
080c5e82d2
Squish: Handle children for picked object
...
Change-Id: I39f392f4f619238b79e60d423dcb5ae36a9639a4
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 08:55:22 +00:00
Christian Stenger
caa85795df
AutoTest: Provide wizard for adding a test case
...
Task-number: QTCREATORBUG-28846
Change-Id: I6716540b8bf62479bf45d16230ec91f0ed157001
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2023-05-24 08:54:59 +00:00
David Schulz
bc9e90f8b6
LanguageClient: add projects filter function
...
Can be used to filter projects get reported to the language client on
server startup and when a project gets opened.
Change-Id: I8cfbc45ecb5251fcaecf2c331a9f1eff966c8db1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-05-24 08:50:44 +00:00
hjk
beea9ec157
McuSupport: Move McuBuildStep to .cpp
...
Not needed publicly.
Change-Id: I0e8ddd3e260fb87bedc9ea1478e440e99bd2e203
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 08:32:02 +00:00
hjk
06b276f68f
McuSupport: Use new FilePathAspect for FilePaths
...
Change-Id: I98cb17f39af624f1ec06529932d4e52cda5a3661
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 08:31:51 +00:00
hjk
d9f6537c43
Beautifier: De-QObjectify AbstractSettings
...
Change-Id: Id5045f48c52c7304dc440bb2c83082cc7e628143
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 08:31:36 +00:00
Marcus Tillmanns
aace4c44fa
ProjectExplorer: Placeholder for custom executable
...
Previously when creating a custom executable run config, the
path chooser would display a red "<unknown>". This improves
the message to tell the user whats needed.
Change-Id: Ib521cde1a4f5b836cb865428f65f956a63bce3b4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 08:26:37 +00:00
Leena Miettinen
c124e837c5
Doc: Add docs for Utils::Environment::systemEnvironment()
...
Because we link to it from the Utils namespace docs.
Change-Id: I4d320b34687e7a6304cbedcbf7e2e5d3a43642b6
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 08:26:34 +00:00
Christian Stenger
29d3a1aef2
QmlProjectManager: Fix Qbs build on Windows
...
Change-Id: I58057e88293017ece5d0026e2b2708e6d3f48d30
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:41:13 +00:00
hjk
b2c69b947f
Python: Adapt PySideBuildStep to recent FilePath{Aspect} changes
...
Change-Id: I866b49733f3007e4f029fb25f8519a1c5b690370
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:28:59 +00:00
hjk
49b0238446
Python: Move PySideBuildConfiguration to .cpp
...
Not publicly needed and closer to the generic pattern.
Change-Id: I886f95c24b957b8d3943cd115814bceb6a76b651
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:27:17 +00:00
Eike Ziller
818aeb235f
Build/Core: One line per file, sort
...
This is easier to navigate and adapt.
Change-Id: I15b99e99f2700922b8d5816adcea52e2e793ab90
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:25:04 +00:00
Eike Ziller
c713e4aaa2
SessionModel: Simplify data() method
...
Change-Id: Id8f1a4e1cecb30a3ade69e7eec8a0420c1425d40
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:58 +00:00
Eike Ziller
7dfc775ace
Move session macro and saveSession trigger to SessionManager
...
Change-Id: Ie0e07621fe9f33e69ee99f6d20bb42a8627e7729
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:47 +00:00
Eike Ziller
e26938beeb
Move handling of session menu to SessionManager
...
Change-Id: Id2d6843eba10f7d89b078b558771989dfe34fb13
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:38 +00:00
Christian Stenger
a9b504311a
McuSupport: Fix Qbs build
...
Change-Id: If4563f5d71b0c0100c2a7d419d3bbb4af570e1ed
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:14:29 +00:00
Christian Stenger
6448efba0f
ADS: Fix Qbs build
...
Change-Id: Ie7d7dba3bc8da21e65f2ff4d1c2aad534729429c
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:14:17 +00:00
hjk
42a162c9af
Python: Use FilePath::searchInPath instead of Environment::findInPath
...
That's the last remaining users.
Change-Id: I14ce380b9c96b2197e478600a46ca725ed1acfbf
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:00:28 +00:00
Leena Miettinen
ec9d9586fc
Doc: Add \a commands and document Utils::MathUtils namespace
...
Fixes qdoc warnings.
Change-Id: I666e6db9ee3a3a5c83f093f2e48981701f137d5c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 06:53:24 +00:00
Leena Miettinen
e1a67c7cfb
Doc: Exclude src/libs/utils/mimetypes2 from doc builds
...
It is copied from Qt.
Change-Id: Ia9a9f02abcb45d1f2981918259b8cc970c3165ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 06:53:08 +00:00
Leena Miettinen
d10eac94ea
Doc: Remove obsolete docs for IExternalEditor
...
To fix qdoc warnings.
Change-Id: I02694e2a6b7f2ed7f5ed5d3b397159ebf327d148
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:52:56 +00:00
Leena Miettinen
74f0424020
Doc: Fix typo in signal name in the \fn command
...
Change-Id: Ie7b365371fedb0304d3ac73dcda948832d88fb49
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:52:39 +00:00
David Schulz
305fae9a4a
Copilot: shutdown plugin asynchronously
...
Wait for the client to finish. This fixes a crash when running the
plugin unit tests of the copilot plugin.
Change-Id: Id0805cb628a79316cd904350bb159ff1369a03b9
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-24 06:50:06 +00:00
Mitch Curtis
00d156c8ca
Fix exclusion pattern tooltip text
...
It says "included" instead of "excluded".
Change-Id: Ib74f2adbc6e6f10a9ff79662e5be609a89fe89d6
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:03:01 +00:00
Orgad Shaneh
861b98a76a
FilePath: Remove const ref for enum argument
...
Change-Id: I86c5466cdcd8f74816456e70463157f28a4e37bc
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-05-24 05:58:48 +00:00
Cristian Adam
c1cdea2661
CMakePM: Consider quoted file names for file operations
...
It is not uncommon for projects to use quoted file names, which would
break the new file operation support for CMakeLists.txt files.
Change-Id: I8dc5d6843f1723c5709cef28cf3bf89a5c87ec2a
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 16:27:14 +00:00
hjk
443117e314
Nim: Use a FilePathAspect for nimsuggest settings
...
Change-Id: I7e910853dcf6872f2a9a38ebfc5e52936ef15113
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 15:43:17 +00:00
hjk
3c9bb1c53d
Incredibuild: Use FilePathAspect
...
Change-Id: I02f09860ae81f060adeee0839e20740be802da9a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 15:23:57 +00:00
Cristian Adam
2f04f08611
CMakePM: Remove comment line lexer addition
...
This brings the lexer back to vanilla CMake version.
The comment arguments were not needed in the implementation of
source file addition / rename / removal operations.
Change-Id: If28b738b9ce93511b109fe09dcd03f42ee07a431
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 14:58:27 +00:00
Cristian Adam
b90600e674
CMakePM: Move cmListFileLexer.c as cmListFileLexer.cxx
...
This way Qt Creator will not have two code model language contexts
for the CMakeProjectManager.
Change-Id: Ie71b845779aff472836b164a5c65fdc7d75debb1
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 14:55:50 +00:00
hjk
962d9d55d0
Utils: Also allow FilePathAspects to auto-register
...
Task-number: QTCREATORBUG-29167
Change-Id: Iba301764072cc1ca3d3a335a8106ab121733b387
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 14:55:36 +00:00
Alessandro Portale
9dcd2cf40b
Add target condition to targets depending on QmlProjectManagerLib
...
The lib is only built with Qt 6.4.3 and higher
Change-Id: I825bab26b90565d315fed4a3ad1a3e6adf726ac6
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io >
2023-05-23 14:21:18 +00:00
hjk
b3f7478373
Coco: Use FilePath::searchInPath instead of Environment::searchInPath
...
Not obviously better in this case, but I'd like to centralize
searching on the FilePath side.
Change-Id: I27cec97c0590cf27c3659b3aa262b86439670679
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-23 14:08:22 +00:00
Alessandro Portale
b1957888dd
WebAssembly: React to AspectContainer::applied
...
... instead of overriding IOptionsPage::apply()
Change-Id: I00d30de7d604409be753eb8b9f668c24790e0a49
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 13:19:13 +00:00
Eike Ziller
5ac582a9b6
Remove usage of SessionManagerPrivate from project explorer
...
Change-Id: Ia12a9ba2d9e65605715110ea0330d5c1e1cae7c6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 13:14:04 +00:00
Eike Ziller
2726f7716f
Move function to show session manager to SessionManager
...
Change-Id: Ibcaae8c4fb68fe6b43759c11b77bfaab73d41745
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-23 13:13:34 +00:00
hjk
b41f7e87ae
ProjectExplorer: Make ProjectConfiguration an AspectContainer
...
... instead of having one. AspectContainer are de-factor (q)objects
with "fat" properties, conceptionally not much different from QObject
itself, so there's not real need to differentiate between the QObject
interface and the (forwarded) aspectcontainer interface.
As a side-effect, this saves one QObject base object per instance.
Change-Id: I6eefe739b3aebcef1ece196ff8d70aa36738997b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2023-05-23 13:04:28 +00:00
hjk
79dd2a8c8b
CMake: Use new FilePath::searchAllInDirectories function
...
Change-Id: Idd696603548d7504ff87152e9125667dca4c42ab
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-05-23 13:03:08 +00:00
hjk
3ecaabf5e9
CMake: Use a FilePathAsepect for the staging directory
...
Change-Id: Id4ac0cdaa3a773f740f474e78a7af104996a5504
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-05-23 12:54:37 +00:00
Leena Miettinen
a0f64b133d
Doc: Fix qdoc warnings in aspects docs
...
Add \a commands and mark things \internal if qdoc cannot find them.
Change-Id: If7a9303e5053af4eb58a08caafd53ffa6ee604b5
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 12:51:01 +00:00
hjk
f952fe30e7
Conan: CPaster: Use FilePathAspect
...
Change-Id: I982ae4115af818cc25c46acc84713e7432b18548
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-23 12:49:55 +00:00
Leena Miettinen
b6a1935562
Doc: Fix qdoc warning caused by a changed argument name
...
Change-Id: Id2f28994f6cd1829bfc4bdc23c87aabe40f44f2c
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 12:44:10 +00:00
hjk
ae26fa0dd7
Utils: Add a FilePath::searchAllInDirectories
...
A variation that does not stop on the first found item.
Useful for auto-detection scenarios.
Use "WithAnySuffix" as default to cover .cmd and .bat etc.
Change-Id: I48f36eff06699c046e34c8e2646546bcff20ae8b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-05-23 12:42:27 +00:00
hjk
27a63b0930
Valgrind: Also search in path before chickening out
...
Amends db2b09f4eb .
Change-Id: I1134fe2bc9441c12924332bb2666f108eb2f0d32
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-23 12:21:24 +00:00
hjk
cdf1926215
Valgrind: Use FilePathAspect for main executable
...
Change-Id: I0bdb625b47d0f39b577684b6f407b9e8a6086d1f
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-23 12:13:41 +00:00
Marcus Tillmanns
c7bce14525
Terminal: Axivion warning fixes
...
Change-Id: Iae048d53c64c2c42fa14e425b5de11e0bf1a59d3
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-05-23 11:10:57 +00:00
Alessandro Portale
48792c07a5
Revert "Android: Use direct member for aspect"
...
This reverts commit ffd0f7306b .
Reason for revert: Breaks build. Revert is temporary, will be reapplied
after I6eefe739b3aebcef1ece196ff8d70aa36738997b is in
Change-Id: I5029f710656fb89eeaf65b55742678938f249aeb
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 10:28:19 +00:00
hjk
b4185f04aa
Android: Hide AndroidRunConfiguration implementation
...
Expose the factory, that's how most other places are organized.
Change-Id: Ia6e088b70a6c5ee3b18b67e852619e922c95f781
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 09:48:33 +00:00
hjk
ffd0f7306b
Android: Use direct member for aspect
...
Change-Id: Ia925522e15452e15a8a89803a591db6a4b18540b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 09:46:12 +00:00