aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | QmlDesignerCore: Fix build with gcc 11.4.0Andre Hartmann5 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp:1065: error: ‘span’ is not a member of ‘std’ qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp:1065:29: error: ‘span’ is not a member of ‘std’ 1065 | Result mergedSourceIds(std::span<SourceId> sourceIds1, std::span<SourceId> sourceIds2) | ^~~~ qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp:1065:29: note: suggested alternatives: In file included from /home/andre/git/qt-creator/src/libs/utils/ span.h:31, from qt-creator/src/libs/sqlite/sqliteids.h:6, from qt-creator/src/plugins/qmldesigner/libs/designercore/include/sourcepathids.h:6, from qt-creator/src/plugins/qmldesigner/libs/designercore/include/projectstorageids.h:6, from qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/filestatus.h:6, from qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.h:6, from qt-creator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp:4: qt-creator/src/libs/3rdparty/span/span.hpp:572:7: note: ‘nonstd::span_lite::span’ 572 | class span; | ^~~~ qt-creator/src/libs/3rdparty/span/span.hpp:572:7: note: ‘nonstd::span_lite::span’ Change-Id: I1991a8b0fb028ac5faa2be9d82034c55cc0da87b Reviewed-by: hjk <hjk@qt.io>
* | ProjectExplorer: cash isvalid state like in the base implementationDavid Schulz5 days2-7/+20
| | | | | | | | | | | | | | | | Since ToolChain::isValid is called quite often saving this avoid a lot of fileOperation and therfore results in a bit faster startup. Change-Id: I422c81a6b443f406d1c27285994540c92eb6b424 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | CppEditor: Move static functions out of AbstractEditorSupporthjk5 days5-18/+19
| | | | | | | | | | | | | | Less coupling. Change-Id: I44804c2926b40bfc91a390d7ccc152331836f02a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | ProjectExplorer: Ensure key is present after Kit::setValue()Christian Kandeler5 days1-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | The QtProjectImporter test depends on that and is currently broken, because debuggers are detected asynchronously and we don't have the placeholder entries anymore. I believe the optimization not to enter invalid values into the map was accidental or at least not consistent, as we did not remove an existing key when setValue() was called with an invalid QVariant. Change-Id: I90c6c3843fbc52c6d157f1a0beaae7b65766e729 Reviewed-by: hjk <hjk@qt.io>
* | DiffEditor: Add action to (un)fold all blocksAndre Hartmann5 days4-0/+35
| | | | | | | | | | | | Fixes: QTCREATORBUG-33783 Change-Id: I953c615bf40b128cbab3331f0ee0bce9fd3ff788 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Utils: Recognize QNX as "Other Unix" in osTypeFromStringhjk5 days1-1/+5
| | | | | | | | | | | | Task-number: QTCREATORBUG-33815 Change-Id: I650bb145873e9bcfb7d4b6dcb45ecc8564bdfbfa Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | CMakeProjectManager: Remove device tool aspect and placeholder toolsChristian Kandeler5 days7-79/+3
| | | | | | | | | | | | | | Not needed anymore, now that we have proper per-device detection. Change-Id: I4d68b97a24890d78e3c0e730b148458a6d3e5ec4 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Debugger: Replace arg() overloads with one template methodJarek Kobus5 days2-78/+39
| | | | | | | | | | Change-Id: Ib0ec3820107dac11a7f2c31317165c0721a6619a Reviewed-by: hjk <hjk@qt.io>
* | CMakeProjectManager: Handle device tool detection requestChristian Kandeler5 days2-0/+14
| | | | | | | | | | | | Task-number: QTCREATORBUG-33677 Change-Id: I0cf7f0fc6ec206081d5326fe979c28fe631a56e9 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | CMakeProjectManager: Let user (re-)detect CMake toolsChristian Kandeler5 days5-40/+89
| | | | | | | | | | | | | | | | | | ... in the settings page, like for toolchains, Qt versions and debuggers. Task-number: QTCREATORBUG-33677 Change-Id: I262026f0794a6d457a4712f4b5d63e466ba5bc2a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | CMakeProjectManager: Make sure file dialog points into current deviceChristian Kandeler5 days1-0/+15
| | | | | | | | | | | | | | | | ... when adding a new CMake tool in the settings. Task-number: QTCREATORBUG-33677 Change-Id: I35f27cf8c65284c5b98a389e85483cbe62e4f438 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | DebuggerCommand: Get rid of unused arg() overloadJarek Kobus5 days2-12/+0
| | | | | | | | | | | | | | And one unimplemented method. Change-Id: Id4ccd2c4c35da3f5e0f9a49b91b45de1168ac5db Reviewed-by: hjk <hjk@qt.io>
* | GdbEngine: Simplify some commandsJarek Kobus5 days1-38/+18
| | | | | | | | | | Change-Id: I0b302af0398dd16fc276d2d569d76c8685ccb1d3 Reviewed-by: hjk <hjk@qt.io>
* | QMake: Dismantle PluginGeneratorhjk5 days3-67/+56
| | | | | | | | | | | | | | Only a single function needs to be exposed. Change-Id: I56e25e8c2fe373172351a31798a4b01f11ea5c60 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | CMakePM: Fix MSVC warningOrgad Shaneh5 days1-1/+1
| | | | | | | | | | | | | | cmakebuildsystem.cpp(504): warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data Change-Id: I0df1fec6a5ca4c2868fab793fb0bd0458b7d36c8 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Utils: Allow TypedTreeItem to specify their base classhjk6 days1-3/+5
| | | | | | | | | | | | | | | | | | Not just parents and children. This comes in handy when one wants to add virtual functions to a base item that's not just a plain tree item. Change-Id: I182a0ec41d5f953b307b0a5a2cbee92d5b130a48 Reviewed-by: David Schulz <david.schulz@qt.io>
* | COIN: Exclude RHEL 8 from precheckEike Ziller6 days1-0/+5
| | | | | | | | | | | | | | We will require a newer compiler. Change-Id: I9d23cf76bd55f908c38634bd3aa4f730a1cf4f70 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | Utils: add format parameter to jsonFromStoreDavid Schulz6 days2-3/+5
| | | | | | | | | | Change-Id: Ia5e0a299234ef961965b1a05f64365da87693a19 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | ProjectExplorer: Fix layout glitch in settings pagesChristian Kandeler6 days3-29/+37
| | | | | | | | | | | | | | | | The buttons should align with the tree view rather than the device combo box in the toolchain, Qt, and debugger options pages. Change-Id: I70800bc86f0158fcc583d8cb4dcca6a8fdcc333d Reviewed-by: hjk <hjk@qt.io>
* | Debugger: Remove placeholder debugger itemsChristian Kandeler6 days3-51/+26
| | | | | | | | | | | | | | We have proper on-device detection now. Change-Id: Ifdb47c1230428635c34368ba3673ff276006b111 Reviewed-by: hjk <hjk@qt.io>
* | CMakeProjectManager: Add device filter to tools settings pageChristian Kandeler6 days1-19/+54
| | | | | | | | | | Change-Id: Icd99f045e039ff46c9207e8548c5db3ffd5c8547 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Editors: Fix Open Documents display when pinning from tab context menuEike Ziller6 days1-2/+1
| | | | | | | | | | | | | | | | Choosing Pin or Unpin from the context menu of editor tabs would not completely update the display in the Open Documents view. Change-Id: I936fa1de9331db63952afb55de307a2c15b9cf59 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Editors/Tabs: Add Close All|Other TabsEike Ziller6 days5-1/+99
| | | | | | | | | | | | | | | | | | | | | | | | While the other close actions work on the editors/documents, add some that work on the tabs of a single split. "Close All Tabs" closes all tabs in the split, "Close Other Tabs" closes all tabs except the selected one (either "current" or the one that the context menu was triggered on). Change-Id: Idca35f119b27cf5d728799e38a477078353c0d16 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | ProjectExplorer: avoid unnecessary calling of autoDetectionPathsDavid Schulz6 days1-1/+2
| | | | | | | | | | | | | | | | | | | | The file operations in autoDetectionPaths take a considerable amount of time and is done on startup. Doing it only once for all theDeviceToolFactories reduces the startup time around 400ms here on windows. Change-Id: I364cac5fe1c31bb380ab2a38667e33f2bd5254cd Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | Return Result<...> from BaseFileWizard::generateFiles()hjk6 days15-161/+107
| | | | | | | | | | Change-Id: Ia053041129fe57ad8d8058d10d22564015d04fc1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Core: remove disfunctional global editor state savingDavid Schulz6 days1-8/+0
| | | | | | | | | | Change-Id: I3016ea9b2a2df301401b73895e209b1e7b8880bc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Debugger: Let users detect device debuggersChristian Kandeler6 days1-5/+22
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-22274 Task-number: QTCREATORBUG-33677 Change-Id: I04712f3404811fd314b65718bf80918abbb4be29 Reviewed-by: hjk <hjk@qt.io>
* | RemoteLinux: A device without bridge access is still usablehjk6 days1-3/+4
| | | | | | | | | | | | | | | | | | | | | | The go command bridge doesn't handle QNX, but the simple shell access is usable. Amends 7d532560a5f9bab1ec7bac30b52736179ae38c7a Fixes: QTCREATORBUG-33815 Change-Id: Ice93f7670aa187976f57cff29508d28f21332424 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Debugger: Ensure file dialog matches current deviceChristian Kandeler6 days1-0/+15
| | | | | | | | | | | | | | | | ... when adding a new debugger in the settings page. Task-number: QTCREATORBUG-33677 Change-Id: I01fa03bd42f27671000db161dccca4d2c4188e5c Reviewed-by: hjk <hjk@qt.io>
* | McuSupport: Remove unused includeChristian Stenger6 days1-2/+0
| | | | | | | | | | | | | | | | Also fixes a jenkins check for not including library or plugin specific tr.h files inside of headers. Change-Id: I604503e45f9978e4bba1cb3ec186679048714acb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Utils: simplify SettingsDatabase::setValueWithDefaultDavid Schulz6 days1-10/+1
| | | | | | | | | | Change-Id: Idea5063680da05cae4f44a6b603a84ddd44efcc7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Utils: remove unused SettingsDatabaseImpl memberDavid Schulz6 days1-1/+0
| | | | | | | | | | Change-Id: I495542e72d4b0c3911f1b28544092d9636d1d2db Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | move settingsdatabase from core to utilsDavid Schulz6 days11-68/+67
| | | | | | | | | | Change-Id: I21942b6a78d4ec98a65e5336ee1be767a441e012 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | RemoteLinux: avoid getting environment in main thread at startupDavid Schulz6 days1-2/+2
| | | | | | | | | | | | | | getEnvironment() is thread save and takes around 250ms here. Change-Id: I12eaa4c74be882eaa93757b8851b2a93a4b685bb Reviewed-by: hjk <hjk@qt.io>
* | VcsBaseEditor: Disable visual wrap hintAndre Hartmann6 days2-0/+9
| | | | | | | | | | | | | | | | | | There is no usage for wrap hints in VCS logs or even annotations, which are by nature much longer as they contain metadata plus code. Change-Id: I30180441ce1d210f79679b658dc7b284017c46fc Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Debugger: Add device filter to settings pageChristian Kandeler7 days1-6/+30
| | | | | | | | | | Change-Id: Ie115f447a51807943b91b042e596ab6d4624a933 Reviewed-by: hjk <hjk@qt.io>
* | Utils: Use QMovie if Qt version allows itMarcus Tillmanns7 days2-1/+18
| | | | | | | | | | | | Task-number: QTBUG-131448 Change-Id: I5dc93965833689509f57f8f16fc906b58d9ebb10 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | TextEditor: Fix two small comment typosAndre Hartmann7 days1-2/+2
| | | | | | | | | | Change-Id: Ia3662a0202ce9e10a2c6c1cc17dc42361fb8af90 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Git: Blame: Add option to remove file path and authorAndre Hartmann7 days4-46/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git does not provide a way to omit the file path (only an option to force it). For files that have been moved the file path is included in the annotation so we need to filter it out manually. For more flexibility, replace the code with regular expressions. This is a bit slower, but makes the code more maintainable. For example, the filtering of gitclient.cpp (4070 lines) takes 15 ms on my machine and the worst I have seen so far was 20 ms. Fixes: QTCREATORBUG-33636 Change-Id: Ib82e02f1bd0d27248d807c374a61286ad96be93b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Fix release build with cmakeChristian Stenger7 days4-6/+7
| | | | | | | | | | | | | | ..and Qt6.7. Change-Id: I64a7007d4be9868f35235313ed3d3dc201045315 Reviewed-by: hjk <hjk@qt.io>
* | Editor: remove implicit inlineDavid Schulz7 days1-1/+1
| | | | | | | | | | Change-Id: Icb3443994989e983df7ff36f73ac5274ef2c58f4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Prompt a 'rename usages' dialog when renaming QML component filesXavier BESSON7 days7-5/+172
| | | | | | | | | | | | Fixes: QTCREATORBUG-33195 Change-Id: I5627d81b4f7612c4bd2c03a9b5ca707e23c13d55 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | CMake: remove else after return in CMakeTool::fetchFromCapabilitiesDavid Schulz7 days1-3/+1
| | | | | | | | | | Change-Id: I17429650740e525e239067894990d77744199546 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | CMake: move CMakeTool::parseFromCapabilities to IntrospectionDataDavid Schulz7 days2-12/+15
| | | | | | | | | | Change-Id: Id3697df0bea1dd26d154c6268c9cd6a968b88476 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Add an option to clear CMake old output on a new runXavier BESSON7 days7-0/+51
| | | | | | | | | | | | | | | | | | in General Messages output window in Project Mode output window Fixes: QTCREATORBUG-33838 Change-Id: I83a1790990128f77b92dbc7b0c21305ff94a358c Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | iOS: Improve error message for issues with determining bundle pathEike Ziller7 days1-0/+11
| | | | | | | | | | | | | | | | We do some guessing wrt the path of the app to deploy. At least abort early if that path doesn't exist and print a sensible error message. Change-Id: I6ad3ce62ccc1ef05a2cd974f76df722448e017fc Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | CMakePM: Refactor setting of the QML debug flagCristian Adam7 days2-49/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C++ QT_QML_DEBUG define is no longer set by Qt Creator by modifying CMAKE_CXX_FLAGS_* variables, but instead setting a QT_ENABLE_QML_DEBUG variable. Then the QT_ENABLE_QML_DEBUG variable is checked by cmake-helper project.cmake CMake file which gets injected into all Qt Creator configured CMake projects. There the add_compile_definitions CMake function is called. Fixes: QTCREATORBUG-25016 Fixes: QTBUG-139293 Change-Id: I2016f48b8ed5fc1f3a223bebaf5a8354da4b5894 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Debugger: do not collect cdb versionDavid Schulz7 days1-1/+0
| | | | | | | | | | | | | | takes ~150 ms on first startup per cdb and is not properly updated. Change-Id: Ic65d7a8ab778c80233c6f67b7296504117a69d51 Reviewed-by: hjk <hjk@qt.io>
* | Doc: Move using junctions on Windows to a how-to topicLeena Miettinen8 days4-30/+67
| | | | | | | | | | | | Task-number: QTCREATORBUG-33773 Change-Id: If858f5ed7ed75b6ac6f44b33a472e288b682d7bd Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* | Doc: Automatically generate sidebar TOC based on "All topics"Leena Miettinen8 days3-91/+65
| | | | | | | | | | | | | | | | Replaces the manually constructed qt5-sidebar.html file to generate a TOC similar to the one in the Help mode Contents. Change-Id: Ic9ef57eb9da95fe18a6892ee2098956aa4734f54 Reviewed-by: Eike Ziller <eike.ziller@qt.io>