summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* McuSupport: Do not use compiler specific syntaxChristian Stenger2022-02-211-2/+2
| | | | | Change-Id: Ib466c989318b5d303f89def56fcd3f1369407843 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* McuSupport: Fix test expectationChristian Stenger2022-02-211-1/+1
| | | | | | Change-Id: I4cd0fa4d326e7681f187980c11d37668ae46c798 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Piotr Mućko <piotr.mucko@qt.io>
* QmlDesigner: Fix qbs buildChristian Stenger2022-02-191-0/+2
| | | | | | | | Amends c82937a78cb7bc2. Change-Id: I7438fbc84351e9de61dc27dfb5ecb4226974d6ce Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Convert old projects to project that supports the cmake generation workflowThomas Hartmann2022-02-1814-140/+1021
| | | | | | | Task-number: QDS-5992 Change-Id: I9dd4204d7422052c80c86665ded558d959bb020b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Cache result of eventListEnabledThomas Hartmann2022-02-181-2/+11
| | | | | | | | | | | | | Calling EventList::hasEventListModel() takes time, since it includes file access. Since eventListEnabled() is called on each selection change, we cache the result. If the root node is the same, also the document is the same and there is no reason to check again. This way we check only once per document. Change-Id: Id664811b1319a306c70283d2b37de258a129892f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
* StudioWelcome: Reduce minimum size to 640, 480Thomas Hartmann2022-02-181-1/+1
| | | | | | Change-Id: Ie6694cd62837c91f573bdcc348457876771ac479 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
* ClangCodeModel: Mention project name in clangd indexing messageChristian Kandeler2022-02-181-1/+4
| | | | | | | | | | This will help avoid confusion in case of multi-project sessions. We also shorten the message a bit so it won't be cut off in the progress bar before the project name. Change-Id: I0e5885f89a976b14f758f9be77e7669f199cd887 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* ClangCodeModel: iterate over documents instead of editorsDavid Schulz2022-02-181-22/+13
| | | | | | | | Makes sure to handle each document just once since we can have multiple editors for the same document. Change-Id: I0d26a9931086d9b6be0c9c93b01f4485716d75e3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ClangCodeModel: Fix libclang testsChristian Kandeler2022-02-182-0/+11
| | | | | | | | We must make sure clangd doesn't get in the way. Change-Id: Ica053cce6928920b39602c7c467b5d16f8232fe6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ClangCodeModel: Use project-specific clangd client, if possibleChristian Kandeler2022-02-183-19/+33
| | | | | | | | | | | If we open a file that does not belong to a currently open project, there is a good chance that the current project's parse context is a better fit for the file than the fallback client's. Fixes: QTCREATORBUG-26697 Change-Id: I6c17e275b047602c51364f3203b3f0a3e74a49fc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Fix creation date issue on macOSHenning Gruendl2022-02-181-1/+10
| | | | | | | | | | | | | On macOS the creation date was not according to the date/time when the example was unzipped it was rather the date/time when the example folder was zipped. By removing the already existing folder and create it again to hold the content of the zip archive this issue should b circumvented. Task-number: QDS-6288 Change-Id: Icf18c4fcddcacf69feeca536f6d0e81f4c126afe Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* CMake Generator: Fix modules with nested importsTapani Mattila2022-02-181-1/+1
| | | | | | Task-number: QDS-6220 Change-Id: Icdb37b5b856af369a8d6a0e00a02ae469116864a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Open only designer related project files in Design StudioThomas Hartmann2022-02-184-2/+30
| | | | | | | | | | DocumentManager::setFileDialogFilter allows overriding the open Project/File filter. In QDS we only allow the relevant suffixes. Task-number: QDS-5825 Change-Id: I6cdc0f15628a215edc41cdaeb485bd17e08ef4ec Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QML/JS: Fix punctuation of messageLeena Miettinen2022-02-181-1/+1
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: Ibaa37fc49e9ae3671cc7904b63682d245c0bdd8d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Editor: make sure to cleanup select all future watcherDavid Schulz2022-02-181-0/+4
| | | | | Change-Id: I39e1bc7926905684601eb72cdd7a4357c708c432 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Fix example download missing settingHenning Gruendl2022-02-183-19/+23
| | | | | | | | | | When starting with a clean config the location for download/extraction of an example is empty. The first call to the settings needed a default location. Change-Id: I2d63f805dc46c564f13346648f3e3bf29a0970d8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Core: Properly handle file path arguments with -client optionChristian Kandeler2022-02-181-1/+1
| | | | | | | | | | These paths come from the user, so the separators must be translated. Fixes: QTCREATORBUG-27075 Change-Id: Ia20c2662d30626b8b7ed3dd19afb64a43c8a716f Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* McuSupport: split mcusupportoptionsChristiaan Janssen2022-02-1816-745/+1120
| | | | | | | | | | | Several independent classes were mashed together in mcusupportoptions.cpp This patch moves McuToolChainPackage together with McuPackage, McuTarget to its own header+source pair, and McuKitManager to its own header+source pair. Task-number: QTCREATORBUG-26890 Change-Id: I0b51da4e1cae5a976201dffd290a665eaa318b33 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ClangCodeModel: Differentiate between clangd debug output log levelsChristian Kandeler2022-02-181-4/+5
| | | | | | | | | Depending on the kind of highlighting issue we want to debug, we may or may not be interested in the actual tokens. Change-Id: I412126d3e97949a31f1dd5f339dc09072f28be64 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Editor: fix crash after triggering select all with no search resultsDavid Schulz2022-02-181-1/+4
| | | | | Change-Id: I32d5172e8b5df6db93053f358c5a72cb8d38f6ea Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QML/JS: Fix terminology in messagesLeena Miettinen2022-02-181-17/+17
| | | | | | | | | | | | | | | | | | | - Replace Qt Quick Designer with Qt Design Studio - Replace "Qt Quick UI form" with "UI file (.ui.qml)" Also fix the docs: - Add missing messages - Hide QDS messages from Qt Creator Manual - Make punctuation consistent - Add some links to more information Task-number: QDS-2670 Task-number: QTCREATORBUG-27055 Change-Id: Id90f1ad82e7297f91225bc8d650a9578ba071330 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: Fix punctuation and wording of messagesLeena Miettinen2022-02-182-17/+17
| | | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I4180717163ec52a405c40e1a932713dda27c3f38 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* StudioWelcome: Fix compileChristian Stenger2022-02-181-2/+2
| | | | | | | Amends 5d660d7afe6. Change-Id: I8d7239f2b57274c062cb2f9f535d274f5e149288 Reviewed-by: David Schulz <david.schulz@qt.io>
* C++ Editor: Fix UI text capitalizationLeena Miettinen2022-02-171-1/+1
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I148cfb7b9628ab2460050c1127b6557b8830983b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Log Viewer: Fix UI textLeena Miettinen2022-02-171-8/+8
| | | | | | | | Also update the string in the documentation. Task-number: QTCREATORBUG-27055 Change-Id: Idce699a7796e7cb55d8218c105ec851c369cef7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Add missing context pointer connectHenning Gruendl2022-02-171-3/+5
| | | | | | | | | | * Add missing context pointer in connect statement * Fix console output "QFile::remove: Empty or null file name" Task-number: QDS-6170 Change-Id: I31f671dc1422c6b90aff81252f4bc4cf2c34e7d1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add examples download path settingHenning Gruendl2022-02-173-9/+89
| | | | | | | | | | Add a PathChooser to StudioSettingsPage which enables setting the location to which the QtDesignStudio examples are extracted. Task-number: QDS-6174 Change-Id: I99232edf3c1200a84daaadf4a0d118317a5ea009 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Remote Linux: Do not use contractions in UI textLeena Miettinen2022-02-171-1/+1
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I7fbc6374c910fa81900a10432892c10afb0ea6d4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Debugger: Remove extra words from tooltipsLeena Miettinen2022-02-171-7/+7
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: Ic7b447da2de3267ad897cdef0275a2faa4474099 Reviewed-by: hjk <hjk@qt.io>
* Docker: Fix UI text caps and punctuationLeena Miettinen2022-02-171-8/+8
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I6b5c2bbd36e34d4444b798e2e5040bff674ad02a Reviewed-by: hjk <hjk@qt.io>
* CMake: Fix UI textLeena Miettinen2022-02-172-2/+2
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I53a3ece8b6180afa4fbcbc474cc980aced5f55c8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Project Explorer: Fix UI textLeena Miettinen2022-02-175-8/+8
| | | | | | Task-number: QTCREATORBUG-27055 Change-Id: I9b0e4f02ea7d1ebb14a9581f21c76b8908589334 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QML Designer: Fix UI textLeena Miettinen2022-02-176-9/+8
| | | | | | | | | Fix capitalization of strings and the wording of tooltips. Task-number: QTCREATORBUG-27055 Change-Id: Id8e324b44574b9cf0d1522ae204b452cea6193cd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* StudioWelcome: Remove unused codeThomas Hartmann2022-02-173-119/+1
| | | | | | | Change-Id: I380a35cb735669feeeac5d0293ed43c4d2ef7059 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* StudioWelcome: Avoid opening two projects on double clickThomas Hartmann2022-02-171-2/+12
| | | | | | | | | | | | | | | This issue was introdced because we do not go to the edit mode after opening a project. We stay in the WelcomeMode until the project is loaded. Since the recent project list did change a second click (aka double click) will open a second project. We now block the update of the model for 1000ms and also block opening another project for the same duration. Task-number: QDS-6286 Change-Id: I52ed6aa3686594b63fe4a6134c6db1287bca1dcb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Fix loading of .metainfo for versioned foldersThomas Hartmann2022-02-171-13/+33
| | | | | | | | | | | This fixes a regression introduced by 7ea6492a17736e079ddf192b18d061076dfbf9c7. Since we actually check if import folders exist, we did not take versioned folders into account. e.g. 'MyPlugin.1' Extended and cleaned up the manual test case. Task-number: QDS-6078 Change-Id: I3235d8fe498745903c5ca897e25e3d43222c119f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Enable searching in the text editorMahmoud Badri2022-02-173-33/+40
| | | | | | | | Also hide the bottom status bar when it is empty. Task-number: QDS-6187 Change-Id: I053771243c268ea20df8e127831b789b854021aa Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* McuSupport: Move kit methods out of McuSupportOptionsErik Verbruggen2022-02-177-97/+114
| | | | | | | | ... and into McuKitManager Task-number: QTCREATORBUG-26890 Change-Id: Ic5ed689458d3ef004ebb42a549c48a6326c2f45d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Fix MinGW buildChristian Stenger2022-02-171-0/+2
| | | | | Change-Id: I019651bb7de30595790cfe3b79a12579ce24410f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update qlitehtml to latest masterChristian Stenger2022-02-171-0/+0
| | | | | Change-Id: I3fbfcba59dbc43a617cad960556fe6484a088555 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update qbs submoduleChristian Kandeler2022-02-171-0/+0
| | | | | | | | | ... to HEAD of 1.22 branch. Change-Id: Ib15854a88b6265f341c42f2b62d67f914fb9e747 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Nanotrace: Fix build with older XcodeChristian Stenger2022-02-172-3/+3
| | | | | Change-Id: Ia0f29844ba95fc75199cbfd98932d5bf4c270335 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qbs: Include latest change in qbs buildChristian Stenger2022-02-171-0/+10
| | | | | | | | Amends 45c018f560ac6c75ea43. Change-Id: I161bae375e422a352ba702c1030498511bbe5d81 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* StudioWelcome: Fix qbs buildChristian Stenger2022-02-171-1/+1
| | | | | Change-Id: I37c5f2df2480fd1357a55d36744330534385b68e Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Add private api to narrow down bugHenning Gruendl2022-02-162-3/+25
| | | | | | | | | | This is only a temporary patch to narrow down a bug in QtDS. Task-number: QDS-6239 Change-Id: Icf9cde008179174fd79fb92a92372fb2b541068b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: Remove a cast in AndroidDeployQtStep::initAlessandro Portale2022-02-161-6/+6
| | | | | | | Don't do an additional dynamic_cast. Change-Id: Icf3beda4e78bc03232689439e8ba264287b603ab Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Utils: Fix UI text punctuation and capitalizationLeena Miettinen2022-02-162-3/+3
| | | | | | | | Also simplify the wording of a message. Task-number: QTCREATORBUG-27055 Change-Id: I29df31f8484d451d8d8d1869ca3a1b182072d2c1 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Fix buildChristian Stenger2022-02-161-0/+1
| | | | | | | Amends 45c018f560a. Change-Id: Iefb39e0855bf671a7a27f161bb99529c03fb8a66 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: remove legacy support for 1.x SDKsChristiaan Janssen2022-02-164-178/+59
| | | | | | | | | Task-number: QTCREATORBUG-26891 Change-Id: I011649b051c6c4c9b954b1c782685e404c3796fe Reviewed-by: Piotr Mućko <piotr.mucko@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* CMake: Fix configurations tab bar appearanceEike Ziller2022-02-163-20/+41
| | | | | | | | | | | | | A tab bar should span completely above the group that it "tabs", and have no spacing to it. Otherwise there are funny visual artifacts, and the visual correspondance is not clear. Add an option for spacing to LayoutBuilder for that. Change-Id: I5ca9dc713fff95599c9ec1cf90abe8473bc67c2a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>