aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* LanguageClient: Fix crashHEADmasterEike Ziller3 hours1-1/+1
| | | | | | | Amends 770f1b0376db49b9ea5aad906dd6165ab71d9152 Change-Id: Idb490e0992d631af81d3da0cee682ebb87567077 Reviewed-by: David Schulz <david.schulz@qt.io>
* Utils: Pass QColor by &Alessandro Portale6 hours2-2/+2
| | | | | | | Change-Id: Idef5659934c9de47fd879c73a0fe5dfcb890237c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* CMake: Use theme colors for text prefixMarcus Tillmanns6 hours1-10/+3
| | | | | | | | Also uses new Utils::ansiColoredText() function. Change-Id: I43e59f78eb47903fc273244a9cd4e9da9b68839f Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* LanguageClient: Avoid calling throwing functionsEike Ziller6 hours18-135/+129
| | | | | | | | | | | Similar to with std::optional we want to avoid calling throwing functions for std::variant, which includes std::get. In many cases this also avoids the chain of `std::holds_alternative` + `std::get` calls. And we never declare any `throws`. Change-Id: I14f62ddef921b6bee90226ea34d1ffa62629bdc3 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Utils: Add function to format colored textMarcus Tillmanns8 hours2-0/+8
| | | | | Change-Id: I6ae4d113e0aca434e99d9864188187100c24e47d Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Utils: Fix output linkificationChristian Kandeler9 hours1-5/+14
| | | | | | | | | | The case where links are combined with other formatting was not correctly implemented. Fixes: QTCREATORBUG-30774 Change-Id: Ie56a7f4c9a1f8a9b23848cc6fd4b7749bb6cecd7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CMakePM: Add conan/vcpkg-dependencies to "Clear CMake Configuration"Cristian Adam25 hours1-1/+3
| | | | | | | | | This way one could really get a clean build as one would expect when issuing "Clear CMake Configuration". Change-Id: I7067bc4f6f858aeb408612eab5e658e637c0c957 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMakePM: Add "Clear CMake Configuration" to context menuCristian Adam25 hours2-0/+9
| | | | | | | | Fixes: QTCREATORBUG-24658 Fixes: QTCREATORBUG-30771 Change-Id: I6429e861a77663513ed3243396bdd67042c11faf Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Lua: Add testsMarcus Tillmanns27 hours10-0/+621
| | | | | Change-Id: Iac2a47498b9463d647ef131a908fd6b851295993 Reviewed-by: David Schulz <david.schulz@qt.io>
* Lua: CleanupMarcus Tillmanns31 hours5-110/+40
| | | | | | | | Moves LuaEngine creation into initialize() Removes uneccessary PluginLoader class Change-Id: I9eddbe4d0cba7ba3c7c1ce825ec18845de7d4654 Reviewed-by: hjk <hjk@qt.io>
* Make it possible to add wizards paths via plugin meta dataEike Ziller31 hours20-32/+55
| | | | | | | | | | That makes it easy with Lua plugins, and is useful on the C++ side as well. Change-Id: I660956bed47e4c1e27a001ad8999d6701cda86ee 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>
* App: Use 'fusion' style only on fractional dpi on WindowsCristian Adam32 hours1-3/+5
| | | | | | | | | | | On 200% on 4k screens there is no reason to use the 'fusion' style since the 'vista' native one works perfectly fine. Task-number: QTCREATORBUG-16095 Change-Id: I1ffd02891aa5ef30c0172edd949d63d4270400c4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* ClangTools: Remove unused variableMarcus Tillmanns32 hours1-1/+0
| | | | | | Change-Id: Ieff874cb6db24714a5a62fd3f59ea5d69c9358a8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* C++: Do not freeze Qt Creator while checking file sizesEike Ziller32 hours3-26/+41
| | | | | | | | | | | | | | Before actually indexing files, the C++ model checks the files against a file size limit (if set, which is the default). Do not iterate over all files and check their size in the main thread. If the files are on a device, this operation is not fast. Move the filtering to the parsing thread itself. Change-Id: I2202cc44c28f38159ca593db2399dde30f95f9bd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Merge remote-tracking branch 'origin/13.0'Eike Ziller35 hours7-64/+90
|\ | | | | | | Change-Id: I77d3656aec10063a90095d5299b85304692d8b32
| * Update qbs submodule to HEAD of 2.3 branchv13.0.1Christian Kandeler4 days1-0/+0
| | | | | | | | | | Change-Id: Ib3182e394222e4323982983b557cabbc60e1c0d8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * ClangFormat: Fix compiliation with LLVM19Björn Schäpers5 days2-1/+9
| | | | | | | | | | Change-Id: I4b166da2e477ffd101a5c4b9aa07c710f7698da9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Welcome: Restore legibilityAlessandro Portale5 days2-56/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the release of Qt Creator 13.0.0, a couple of bug reports and comments regarding reduced legibility appeared. They boil down to: 1) Text appears blurry 2) Text is too small 3) Text contrast is too low This change fixes the blurryness by setting less custom font weights for non-HighDpi systems in StyleHelper::uiFont(). Bigger texts are used for the "Session" and "Recent Project" delegates. The text contrast is being increased by making Token_Text_Accent darker for light themes and brighter for dark themes. Token_Background_Muted, which is used as background color is made a bit brighter for light themes. Fixes: QTCREATORBUG-30579 Fixes: QTCREATORBUG-30637 Fixes: QTCREATORBUG-30650 Change-Id: I8eeb9db6854a19b0de0bcee14b10e2ef66234e06 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: hjk <hjk@qt.io>
| * Android: Disable "Make [NDK] default" button while NDKs list is emptyAlessandro Portale5 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | When pressing the "Make [NDK] Default" button while the list is empty leads to a crash. The button should actually not be enabled if the list is empty. This change disables the button while the NDKs list is empty. Fixes: QTCREATORBUG-30716 Change-Id: I5f10fd180f62d20210f1b0c0261e4d821d0582dd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
| * Core: Use Windows API to create path to explorer.exeCristian Adam5 days1-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | Searching after "explorer.exe" in PATH can fail, as seen in a report on #qtcreator channel on Discord. Explorer.exe is always part of %systemroot%, which can be programatically obtained via SHGetFolderPath function. Fixes: QTCREATORBUG-30765 Change-Id: Id2c4f3bd9c51234cb9e16d936202dfbcb1975606 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* | Lua: Change Process to directly use Async moduleMarcus Tillmanns35 hours1-26/+18
| | | | | | | | | | | | Change-Id: Ie91a308d55b06f35b2f2114a46b347d83e779db2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | QML: Add an "external" editor for opening .ui.qml files in Design StudioEike Ziller35 hours1-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Using the logic from the landing page in design mode. Users can select Qt Design Studio from the Open With... menu, or even set it as the default editor in Preferences > Environment > MIME Types, "application/x-qt.ui+qml" Task-number: QTCREATORBUG-30754 Change-Id: Idd4e688f722dcf38735db7c1b9b31af02caeb045 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Lua: Change fetch module access to asyncMarcus Tillmanns35 hours1-92/+90
| | | | | | | | | | Change-Id: I32bd760e347e2bd4465bd028e31fb3c4ff220aa5 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Lua: Make FilePath:searchInPath asyncMarcus Tillmanns36 hours3-31/+44
| | | | | | | | | | Change-Id: Ida94856c26bab38d95753fb4d5475d57e3315212 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Android: Hide AndroidSdkManagerDialogJarek Kobus45 hours3-15/+20
| | | | | | | | | | | | | | | | Provide executeAndroidSdkManagerDialog() function instead. Change-Id: If7033ce797710f4dfbb7df0630962316b20c8a12 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Android: Hide QDialogButtonBox inside cppJarek Kobus45 hours2-13/+8
| | | | | | | | | | Change-Id: I0f10933884d3a95e774defe9b1f5125a5b1eee39 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Hide OptionsDialog inside cpp fileJarek Kobus45 hours2-72/+63
| | | | | | | | | | Change-Id: I26cacdd743b51d57e154cb0dd454b8cdf07cb153 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Rename AndroidSdkManager{Widget -> Dialog}Jarek Kobus45 hours5-15/+13
| | | | | | | | | | | | | | Do some small cleanups. Change-Id: Iec6c77cb0a33ebdfcd72c3751cb1fd44ab3ea078 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Create and execute AndroidSdkManagerWidget on demandJarek Kobus45 hours2-14/+7
| | | | | | | | | | | | | | | | | | | | | | There is no need to always instantiate it inside AndroidSettingsWidget. Force data refresh on model construction. Change-Id: I1adcd933e8684df9819d3dbd9cef2d615cff84a8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Simplify parsing argument detailsJarek Kobus4 days1-7/+6
| | | | | | | | | | | | | | | | | | | | No need to call split() for the output - instead, just look for the index of "Common Arguments:" and the following newline. Change-Id: I008adeb1a8c39b0e3c0dd2364566396bf0235511 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Use less Grid features in AndroidSdkManagerWidgetAlessandro Portale4 days1-20/+22
| | | | | | | | | | | | | | | | Grid is only needed for the empty space in the upper right. Remove usage of Spans. Change-Id: Ib612589f3d19ee659af63926a13adc1e9ddbde7d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | Android: Use LayoutBuilder for JLSSettingsWidgetAlessandro Portale4 days1-10/+7
| | | | | | | | | | Change-Id: Ied43a275d142da44fedb31e52bb1b441b21df3d5 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | Android: Log the actual Process CommandLine in sdkManagerCommandAlessandro Portale4 days1-3/+2
| | | | | | | | | | | | | | No need for the temporary one. Change-Id: I810e795907f4a10e8ea1041bbbd89591dae3d3ca Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | Android: Pass const reference instead of a copyJarek Kobus4 days2-3/+3
| | | | | | | | | | Change-Id: I5058478c99b6316c836003239490c606ca0efb4b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Run Process asynchronously from the main threadJarek Kobus4 days4-48/+20
| | | | | | | | | | | | | | | | Instead of running it blocking from a separate thread. Change-Id: Ia971395faf7d34062ab4bcfa91082c0bf77cdccf Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Make parseCommonArguments() staticJarek Kobus4 days1-44/+42
| | | | | | | | | | Change-Id: If1d840ac589131e58302eb1073b37a0feac99448 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Do some cleanupJarek Kobus4 days7-769/+87
| | | | | | | | | | | | | | Cleanup after employing task tree... Change-Id: I79ffa385886b0a635a5fdfdbc496dcf6b042aa71 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Reuse recipesJarek Kobus4 days5-99/+88
| | | | | | | | | | Change-Id: I9b4a0fdc793a5eb2ea80be38f1a48b51a6bdeeb1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Add updateRecipeJarek Kobus4 days1-6/+29
| | | | | | | | | | Change-Id: Id934f238cff579208f85af6f8b716871ba0c9321 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Lua: Make FilePath:dirEntries asyncMarcus Tillmanns4 days2-90/+104
| | | | | | | | | | Change-Id: I0d1a918a34ca1fefe1dffdf4c5d766e6bb7aaf77 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Lua: Bind lifetime of LuaEngineMarcus Tillmanns4 days4-10/+29
| | | | | | | | | | | | | | | | | | | | | | We want to make sure that the LuaEngine is deleted when the plugin is removed. We also derive LuaEngine from QObject so we can use it as a guard in QObject::connect calls. Change-Id: I6b0568f11bee283f880ede9432b2a9fe83014758 Reviewed-by: David Schulz <david.schulz@qt.io>
* | PE: Add tooltip mentioning QTC_DEFAULT_BUILD_DIRECTORY_TEMPLATECristian Adam4 days1-0/+5
| | | | | | | | | | | | | | | | | | The tooltip mentions QTC_DEFAULT_BUILD_DIRECTORY_TEMPLATE so that the users know about this environment variable. Task-number: QTCREATORBUG-30557 Change-Id: Ife221b7cfe88f9a6015bd5fb61270d335f65cb79 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Android: Add installationRecipeJarek Kobus4 days1-0/+76
| | | | | | | | | | Change-Id: Icfbb4feadd62aa922e2e1956a64485e9f7139aa9 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Android: Add licensesRecipeJarek Kobus4 days1-8/+109
| | | | | | | | | | | | | | Change-Id: I19fcd9ac354d1ea0100126c8c3640a19256b2a9e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Core,PE,TE: Add "build" to find in files exclusion listCristian Adam4 days3-3/+3
| | | | | | | | | | | | | | | | | | Now that we have the "build" directory in the source directory we need to exclude it from the find in files search list. Change-Id: I74b20f828ffed51b5d7be98efa662bcc4b420523 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Android: Introduce QuestionProgressDialogJarek Kobus4 days1-0/+86
| | | | | | | | | | | | | | | | It's going to replace AndroidSdkManagerWidget's m_outputStack. Change-Id: I1307c8413a772d574715db90ddb8fecc05038070 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Python: offer to install python-lsp-server updatesDavid Schulz4 days3-28/+112
| | | | | | | | | | Change-Id: I4068da0783b0a8e2becfcd04d480c6ad2e2f5b7c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Lua: Fix lua Qt type registrationMarcus Tillmanns4 days1-5/+5
| | | | | | | | | | Change-Id: I542ce8561e61cd0753525347b42711f804b208ff Reviewed-by: David Schulz <david.schulz@qt.io>
* | Lua: Add more error outputMarcus Tillmanns4 days1-1/+5
| | | | | | | | | | | | | | | | | | | | We were missing error message when the error occurred during a.sync(...) calls. This adds error output in those cases. Change-Id: If66772b4a71bb909aff7129243824fc5343c66a1 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Haskell: remove unused function declarationDavid Schulz5 days1-1/+0
| | | | | | | | | | Change-Id: I6fb1ede8bb02fa22894200c49b8232631b726134 Reviewed-by: Eike Ziller <eike.ziller@qt.io>