| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
and remove duplicated calls and caches
Change-Id: I39f73354035f2ad427e7f2360ccba7143aeb2b84
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
| |
The details kind of belong to the list only.
Change-Id: I71acb1c0477fd6152662700af586cda2bf4bc03e
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: Ia6abe99d13974c7a448a0baa71503255bf0c7a7b
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: I70f893911e4ffae0485dda80ecea951f3ca7be33
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
| |
This allows to configure and use a C++ Debugger for Python projects.
Change-Id: I976cff8a3e45f1ed732ee71874459009c6fd24ef
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
This got lost in 79774519ccaa19fbee58c8a191281f286eb83be2
Fixes: QTCREATORBUG-33667
Change-Id: Id8405b42a6b7a4d83e6c669e8d811e4e18c89219
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
|
|
|
|
|
| |
Remove the old Tasking lib.
Change-Id: Iacb4939cc873e25d6039efae7dd23510a7baa5f9
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I9fccebbcbddda2e310f668d30ec803d7a859ec6c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Keep the saving to a list for a few versions to allow graceful
transitions between multiple versions of Qt Creator.
Change-Id: Icceed5e033e20984b69a31d653a09d9d917ed17b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Mostly cosmetic changes.
Name top level groups as "recipe".
Make recipes const.
Inline one-line recipes into TaskTreeRunner::start().
Remove unnecessary Group statements.
Change-Id: I391702fc94af2929d3e6d9d3ba7f99c744bd09e1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
|
| |
|
|
|
| |
Change-Id: I6d1520d1d7b9ba4608aeb9b46a1f5d03fcc5e5b0
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: If752942ad862da8ce36f48d301b0520859b8d84e
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Api: ProjectExplorer::Interpreter::autoDetected => ProjectExplorer::Interpreter::detectionSource.isAutoDetected()
Api: ProjectExplorer::Interpreter::detectionSource => ProjectExplorer::Interpreter::detectionSource.id
Change-Id: Ic1d1d1913b983337ad72fc0a3590667c8083bc9b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: Ia57c0140a5173eecb27a1dab9ac8be145976e8fb
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: I2e99390ff9522c19e9db5a9383bf4a8febd31d74
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: I9e07a33b9750009e559a16c4d3d052dbea5deab5
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: If38a58dfb14852bdd4771a90fcc9ce52fde32bf0
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: I4f77b9312899ec3ff2f09360837e8f43ccf3b246
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: Ic6f08c761cc427c5e5cbcc0ff9e1cec0051d44cb
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
| |
By using std::as_const
Change-Id: I8be5cbdbdd677bd9c6d849f701a7eef95b1c6792
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If no threadpool is passed to async run we use the global thread pool
that has an unlimited max thread count that results in potentially
opening more file handles than the operating system allows. Using an own
threadpool reduces the number of parallel running checks to ideal thread
count which should be lower than the maximum open file handle limit.
Change-Id: I248c325cbdb0068a89eb301ee3ba04b86bc58783
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some classes use private c'tors and a friend function for creation.
Since friendship is not transitive this cannot (nicely) be extended
to the GuardedObject implementation.
In the quest to achieve a uniform 'void setupFoo()' signature to
the outside, keep the creation of the guarded object were it is,
but allow it to be taken over bey a GuardedObject.
This setup still requires the _d_'tor to be public, but less
"dangerous" then a public c'tor - assuming there is some danger
in having that at all.
Use it for the PythoSettings and LanguageClientManager setup.
Change-Id: Ica114a0bb901d33d79c847910a2383ac1bc9e49a
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toString() is almost always the wrong conversion, but unfortunately
too easy to find and often even working at least for local setup.
This here raises the bar as the non-availability of the "obvious"
toString() hopefully helps people to think about the semantics of
the needed conversion and choose the right toXXX() function.
The chosen new name is intentional ugly to reduce the likelihood
that this (still almost always wrong) function is used out of
convenience.
Change-Id: I57f1618dd95ef2629d7d978688d130275e096c0f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Those checks can take an considerable amount of time. So instead of
running them the first time we want to check this info run them in the
background as soon as we have loaded the python settings.
Change-Id: I287acd2a5fd7b053873257238f7dfbaa9cf00170
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Translations can be different depending on context.
Give each usage a disambiguation text.
Task-number: QTCREATORBUG-31978
Change-Id: I44ac524d7448787360e825fad1d430ded3f07659
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
|
| |
"needsDevice()" is an odd name, but keep it for now until downstream
has caught up.
Change-Id: I1fdb65d55e84e31512edb8f0bea8a0a3f7b2879c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
|
| |
|
|
|
|
|
| |
Move the remaining classes into their own files.
Change-Id: I301e72004c21446fa9b8f15942bb042218b0ecef
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It was conceptually wrong that an options page was supposed to set its
category's display name and icon.
Instead, categories are now explicitly registered with name and icon.
Change-Id: Ic10b3791c8068176f55470e6845ab4832160b8e7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I7ffcad62b31e6236dba5fc2116afa297ffcef0a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
|
|
|
| |
Change-Id: Ibf7148255ac5a3bb26ec41684f7c96dd5c357ca5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
|
| |
|
|
|
|
|
| |
... using base class convenience functionality.
Change-Id: Ibfbfd588d32c34e2181ce3080b4d1d4e558b204c
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
| |
Amends 79774519ccaa19fbee58c8a191281f286eb83be2.
Change-Id: Iba8c1f4d7d2f11e262aafd6b5f0564550484fb6b
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
| |
For icons and tooltips consistent with the settings page.
Task-number: QTCREATORBUG-31574
Change-Id: Ib567f43e0b29fa058770eefb4b16e8610fd28adf
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
coin/instructions/build.yaml
src/plugins/cppeditor/cpptoolsreuse.cpp
src/plugins/projectexplorer/projectexplorer.cpp
Change-Id: I26748c67ed58114b392704bbf4eba978b1048c80
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This had been intentionally disabled before, but we still
should permit to explicitly create a kit for a
registered virtual environment if the user requests so.
Change-Id: I677c0c5093bedd1a9f50e73da173db09195e128e
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure the generate kit button for a python interpreter
is only enabled if we can add a kit for this python.
Basically disallows (local) python with incorrect paths.
Change-Id: I3ca7b1fefb453837894a7ad6f39a446394fe2c4b
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |/
|
|
|
|
|
| |
Also adds QObject *parent argument for ease of use.
Change-Id: I25d23186d398d35ebc8519b5964da637bf4d028d
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Move the global FutureSynchronizer to Utils and use it
by default for AsyncTask (if that is in the main thread).
This way setting a synchronizer is less prone to be forgotten.
Individual uses can still override this.
Change-Id: I1a12bf4d7f4cb5be99668bf0a4797108c2fe6448
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |\
| |
| |
| | |
Change-Id: I4817ff528f92dcb2ffb00c92ca1039f1ae31c7f1
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Rope is not part of the default installation of the python-lsp-server
pypi package and enabling it by default results in an error at startup.
Fixes: QTCREATORBUG-30757
Change-Id: I975ac98d9f4c5b25f5be085461e5b626d3a93fbc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/cmakeprojectmanager/cmaketool.cpp
src/plugins/python/pythonutils.cpp
src/plugins/qtsupport/baseqtversion.cpp
Change-Id: Ia3e35c763ff9475d17ad922718b54152209893b8
|
| | |
| |
| |
| |
| | |
Change-Id: Idc283b2cfabfcd1120520c5bbb4258b085c410a0
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename process.h back to qtcprocess.h
MSVC's "threads" standard header includes <process.h>, and that ends up
including our process.h from Utils.
There already was a hacky workaround in place for a similar issue with
MINGW, but that doesn't work with MSVC because that doesn't have
Simply use a name that doesn't conflict.
Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I50675730fa7a7e228b151213610996456a8eacf4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Detected by memory analyzer.
When shutdown comes while pythonsFromRegistry() or
pythonsFromPath() is still running, the corresponding
QFutureWatcher is leaked.
Employ TaskTreeRunner instead. It handles the cancellation
of the running tasks automatically on its destruction.
Make pythonsFromRegistry() and pythonsFromPath() cancelable,
by providing QPromise as a parameter and check for canceled
state on every iteration.
Change-Id: Iae7c7d1ed764646b8203bd7ca8b9580cb999b80c
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I43179961cdee855b710fc082568a7d0d9a0f0719
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
| |
... and remove the now-empty plugin pimpl.
Change-Id: I0db27757e832a0e3ac52b938a4d6ad820adfc195
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTCREATORBUG-24762
Change-Id: I3ca495b2696747d5323cc7eea4aac4d99e3adfd1
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: Ib8c83988d7afe35d81b87ff8c5c87eef2082f12d
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
Add an extra arg to runBlocking() function instead.
Use std::chrono::seconds for timeout.
Change-Id: I7c3c21e8f26a2ccbed157d15083d6ef0b4cd2f7e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|