The wizard usually allows users to chose an archive file path on the
first page. The ExtensionManager would like to first download that
archive and then launch this wizard without said first page.
This change implements such shortcut.
Change-Id: Ifc7ffcc04a59be97bd389697977dbd38714237c7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
There were various parsers that had logic for accumulating lines in a
single Task. This is now done centrally, which not only saves code, but
also unifies the behavior.
Change-Id: Icea389ce5ff4ed6e131d30cbc06cc5dadfcc490e
Reviewed-by: hjk <hjk@qt.io>
This puts the implementation introduced in acf1ecb47f into use, after
significant simplifications in the class hierarchy. CRTP is not used
anymore, and the new tag based dispatch is also used for Layout::addItem,
effectively reducing the number of different code paths.
The Lua based settings access is disabled for now.
Change-Id: Idb6d1a25675378757c5267bdb630bcd4c1f52d34
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
- Build up from named parts for more transparency.
- Use named capture group.
- Use non-capturing group for the drive letter, which we don't use.
Change-Id: Ibd00db500a39e067a57767d1e2bdefb14127ef3d
Reviewed-by: hjk <hjk@qt.io>
We want to refactor the regular expression in such a way that it can be
understood by humans.
Step one is to abstract away the pattern matching code.
Change-Id: I84cf376e3ea6144348f82977bfb1636fbde732e5
Reviewed-by: hjk <hjk@qt.io>
Prepare reading and writing for multiple dashboards.
Adjust accessors to get or modify the correct dashboard.
Change-Id: I7c689e3d1c5cbc3ca7efffc2dbb1ca726cf66bbe
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Use a central id to mark the current active server.
Prepare settings to handle multiple server, and adjust
network handling to act on the current active server.
No change in functionality so far.
Change-Id: I60ccc644b95b02b43d651acf9ce8bfefa36eecd6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This greatly simplifies code that produces change sets with a single
EditOp.
Change-Id: If042bb91e5132b7141d88404cfbd3ba12632b52d
Reviewed-by: David Schulz <david.schulz@qt.io>
... according to the declaration order.
Fixes: QTCREATORBUG-6199
Change-Id: I37bbffeb53e0f16589ffff2f54232e21b300382c
Reviewed-by: David Schulz <david.schulz@qt.io>
Channel properties were saved as regular int properties to .qep files,
making the property control incorrect once you reopened it in effect
composer.
Fixes: QDS-12835
Change-Id: I833763f385e64420bc5f1a1da9266869e739d3be
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Replace it with expected_str<FilePath>.
Check periodically for cancel request inside
generateCompilationDB() body.
Cancel the possibly running task on ClangCodeModelPlugin
destruction.
Handle the cancellation.
Change-Id: I8bcb956bc03627b4a17a3510a76810e66c82815d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The setting is global for a few Qt Creator versions now, and it was
marked for removal in Qt Creator 13.
Change-Id: Ibca753b53a27ce89cba25a8c55c080e5597c4f57
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Parsing entries like:
"name=value=this" would drop the "value=" part from the environment variable.
This patch fixes that.
Fixes: QTCREATORBUG-30844
Change-Id: Ia50d4180bd8f966f61f92e550b046c8ece529e1b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
QLockFile documention states:
When protecting a resource over a long time, however, the
application should always call setStaleLockTime(0ms) and then
tryLock() with a short timeout.
Without the 0ms stale lock time the new Qt Creator instance would think
that the lockfile is stale and starts a new instance!
Amends dd1c9d1b71
Fixes: QTCREATORBUG-30624
Change-Id: I0c0166239242895e25c7bf05d59a371cd0295758
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
QTemporaryFile was used just to generate file names for shader files,
and the actual files didn't get removed at shutdown. There was also
a possibility of reloading effect quickly, which left additional
dangling compiled qsb files because they are generated asynchronously
with a separate process.
Now temporary shader files are gathered into one temporary directory,
which removes itself at shutdown, so dangling files won't be an issue.
Fixes: QDS-12711
Change-Id: I7ce682acb1a0d8d58b84129c4e0442c8fb63ac2f
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Install lua files to shared data by default.
Change-Id: I550f0f3a888376c93ad8b68bc7630b6f5f029979
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
... and make use of it.
In most contexts, apply() immediately follows setChangeSet(), so
combining the two can save a lot of code on the call site.
Change-Id: I421001bd47000cb64678a57b19760becf59a4863
Reviewed-by: David Schulz <david.schulz@qt.io>
Look-at gizmo can be toggled from visibility toggles submenu.
Look-at gizmo is hidden when fly mode crosshairs is visible.
Fixes: QDS-12767
Change-Id: I2c71b23f14e403c9774498937764607cfea3bd1d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Got rid of the separate accept button. Now the import button turns into
accept button after preview is shown, as long as user hasn't changed
any options.
Import preview is also generated automatically using default options.
Fixes: QDS-12822
Change-Id: I5f1080f855cf1ba09e917cef7741534c0fb16d8c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Allows plugins to install packages they might need.
Change-Id: I4948dd0a6568e093fc35e4486d2e2a084090e103
Reviewed-by: David Schulz <david.schulz@qt.io>
Don't schedule queued calls to MessageManager::writeSilently()
because the implementation is already thread-safe.
Change-Id: I389afb9400afe6b3bc2716c0e352828c5c2cb909
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
E.g. from one group to another.
After removing the file from the first group/product, we need to wait for
a re-resolve before we can add it to the new group/product, because
otherwise the location stored in the build graph might not match the file
contents anymore, causing the insert operation to fail.
Change-Id: I0a6a92cf0a1aca6ecedeb9c4606809e5d65bb97d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
A CppRefactoringFile is created for us when quickfixes are collected, so
make use of it instead of creating a new one.
Change-Id: I133b43f92d1fbea82aa25df025cfc257691de2a6
Reviewed-by: David Schulz <david.schulz@qt.io>
... and throw away old workarounds.
The current clangd version, to be shipped with Qt Creator 14, is 18.1, so
we can safely bump the minimum version to 17.
Change-Id: I74fd5997196d774b6c47dcb522284953ef82ad9c
Reviewed-by: David Schulz <david.schulz@qt.io>
... and use it for CheckableMessageBox. This enables using
the proper parent e.g. in upcoming changes to ExtensionSystem.
Change-Id: Ib0e52cbd3e73dc628955918e3f443ff65cccb189
Reviewed-by: Eike Ziller <eike.ziller@qt.io>