aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Avoid starting threads from the wrong hosting thread"v6.0.2Eike Ziller2022-01-181-4/+1
| | | | | | | | | | This reverts commit 1421694d17d464be59478d573a7873f86b6fd2a2. The commit broke e.g. Utils::mapReduce(....).results() in the main thread. Since the main thread blocks, it cannot start a new thread. Change-Id: I63abd07bcf002546740d0a7627f1fd2007c8b70c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* TextEditor: Fix skipping short linesDavid Schulz2022-01-181-1/+1
| | | | | | Fixes: QTCREATORBUG-26878 Change-Id: I2d801e3c7e91bad928b203bbca32fdc7b1cdca6e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Remove Goto implementation from Design StudioThomas Hartmann2022-01-171-10/+14
| | | | | | | Task-number: QDS-5951 Change-Id: I5503f27508ec0e0f76506083baad3969730c651d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix UrlChooser not showing itemsHenning Gruendl2022-01-171-5/+7
| | | | | | Change-Id: Ie9cb697837e9a6a5be666a598dffdee52f90fd08 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* StudioWelcome: Enable integrating download progressThomas Hartmann2022-01-174-7/+24
| | | | | | Change-Id: Iad18c1a0bc49f87a98dcdff46542cf4c373de875 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Fix compilationhjk2022-01-171-1/+1
| | | | | | | Amends c1c147a9dc9. Change-Id: Ib6d58e607a234424e77516dbb0fa07599a25f68e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Remove docking widgets top right controlsMahmoud Badri2022-01-171-8/+3
| | | | | | | Fixes: QDS-5983 Change-Id: I3d7b7c33816de69351134c3ad3e4b65d89f6c0cf Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* CMake: Fix build dir scan filterDavid Schulz2022-01-171-1/+1
| | | | | | Fixes: QTCREATORBUG-26846 Change-Id: I54f0249410cf0dd5cc6703767cea187a2d843868 Reviewed-by: hjk <hjk@qt.io>
* PE: Fix compileChristian Stenger2022-01-171-1/+1
| | | | | | | Amends c1c147a9dc9. Change-Id: I2f4e6e724f3226541c5de683d0ac6403538622be Reviewed-by: David Schulz <david.schulz@qt.io>
* Editor: prevent using function hint widget while it is deletedDavid Schulz2022-01-171-1/+4
| | | | | | | Task-number: QTCREATORBUG-26872 Change-Id: I634b488073670476ee3d5b53296e77b6779e5715 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* LanguageClient: fix possible crash on shutdownJarek Kobus2022-01-171-3/+5
| | | | | | | | | | | | | | | Iterate on a copy of managerInstance->m_clients when calling shutdownClient() or deleteClient(), since both methods may potentially modify m_clients list and thus invalidate outer iterators. Surprisingly, this patch also fixes the leak of RunControl and RunWorker instances on shutdown. Task-number: QTCREATORBUG-25709 Fixes: QTCREATORBUG-26847 Change-Id: Ib34d913a6ae0b235631d3d619bddaf4e08b4aec2 Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Use wildcard for all files and split image formatsThomas Hartmann2022-01-172-9/+26
| | | | | | | | | | | | | Having a large filter makes the dialog unresponsive, so all files filter is changed to *.* and image formats are split according to mime type. For unsuported suffixes we show an error message. Task-number: QDS-5921 Change-Id: Ia2dc912c7e7004da97da48753562173ed163436f 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>
* QDS-5691 Create a tab for Recent choicesSamuel Ghinet2022-01-1727-269/+1355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Recents should store presets, rather than normal project items, while the rest of tabs are to store normal project (i.e. wizard) items but with the default screen size written under the wizard name. In this patch I also did a few renames: e.g. the Presets view now uses a PresetModel rather than ProjectModel, because we now store presets. A Preset is a higher level concept than Project / Wizard item: it can be a project/wizard item with pre-defined configurations; and now we can have multiple presets using the same Wizard factory. Renamed struct ProjectCategory to WizardCategory, because the items are grouped by the category of the wizard (i.e. the "category" property of IWizardFactory) I extracted a class, PresetData, to hold the data that is being shared by the PresetModel (items in the view) and the PresetCategoryModel (header/tab items). It stored both information on normal presets and on recent presets. Made changes to JsonWizardFactory so that I could extract the list of screen sizes without requiring to build a wizard object first. This is important, because multiple JsonWizard objects cannot be created at the same time and I need to show the screen sizes of multiple presets / wizards as the Presets view is opened. This also required class WizardFactories to use JsonWizardFactory instead of Core::IWizardFactory -- since "screen sizes" are a particularity of the json wizards, not of all kinds of wizards. Also, fixed a TODO in WizardHandler::reset() method. Also, added a few utilities I had need of, in algorithm.h. Change-Id: Ifd986e2def19b2e112f0aa1ab3db63d522736321 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* StudioWelcome: Slight adjustements to Splash ScreenThomas Hartmann2022-01-141-5/+6
| | | | | | | | | | | Anchoring the text to the checkbox and use configure instead of enable/disable, because there already is the checkbox. Change-Id: Ied6f231cec54d1fbf924b34bf0a8850cefc8bffb Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Jarko Vihriala <jarko.vihriala@qt.io> Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io>
* Editor: fix crash in function hint widgetDavid Schulz2022-01-141-1/+1
| | | | | | Fixes: QTCREATORBUG-26872 Change-Id: I0c79af2a74af96bfba350b62b5072b874e6efcd2 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* StudioWelcome: Show combobox for crash reporterThomas Hartmann2022-01-142-53/+106
| | | | | | | | This highlights to the user if the crash reporter is enabled. The patch also includes some adjustments for the design. Change-Id: I1a0be0d2b98df937dbeeb6bf8063f1aaa78793f5 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Update create project docsMats Honkamaa2022-01-144-59/+50
| | | | | | | | | | | Update docs to include new project wizard. Task-number: QDS-5939 Change-Id: Ic152f5d558c81ae8c5ce536ef26e8c9461a81c34 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tanja Remes <tanja.remes@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Describe deploying apps to embedded Linux devicesLeena Miettinen2022-01-147-167/+92
| | | | | | | | | | | | | - Describe deployment process in the instructions for generic remote Linux devices and link to there from the instructions for specific devices. - Update instructions for adding files when using CMake and remove the include file. - Add an example of adding files to deploy when using qmake. Fixes: QTCREATORBUG-26616 Change-Id: I07cf9169da384dd65adc6935110e4dcbeb3e308b Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Avoid starting threads from the wrong hosting threadAllan Sandfeld Jensen2022-01-131-1/+4
| | | | | | | | | | This should be safe for QThreadPool, but we are still fixing an underlying bug, QTBUG-99775, and Qt Creator may just want to avoid the issue altogether. Change-Id: I50041cc6f5974d234b1a07be5cb19108fba897c7 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Add snow and rain particle tutorialMats Honkamaa2022-01-137-0/+198
| | | | | | | | | | | Added a tutorial for creating a snow and a rain effect using the particle system. Task-number: QDS-5376 Change-Id: I498adbf78c522f7ca8faee7bba1050f970f96eef Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* CPaster: Do not fail to paste after connection checkChristian Stenger2022-01-132-6/+3
| | | | | | | | | | | | dpaste allows one request per second, but we perform a connection check before sending the paste request. This happens too fast and lets the paste fail for the first time. Skip the configuration check as the user gets an error message if it fails. Fixes: QTCREATORBUG-26717 Change-Id: I5661055c0d3ed0894db170c0570a7501af34214e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlDesigner: Fix crashThomas Hartmann2022-01-131-2/+4
| | | | | | Change-Id: I79b9b9ce0ec94027c28d09f49ffe3ebd998f60df Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Fix content folder location when adding assetsThomas Hartmann2022-01-131-5/+6
| | | | | | | | Task-number: QDS-5953 Change-Id: Iaa566d2ad9d528f27288c54c1cf0ff97a850dec6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Wizards: Allow QtQuick tests for Qt6 as wellChristian Stenger2022-01-131-1/+1
| | | | | Change-Id: I476ad3519ed685ada4f1451906b5ba2fdfe8969b Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Consider MSVC 2022 as base for clang-clChristian Kandeler2022-01-131-1/+3
| | | | | | | | | Amends 08b6e0239f. Fixes: QTCREATORBUG-26721 Change-Id: I04d65a39c6d7001081d748ca5f15361e30e2fc50 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Add change log for 6.0.2Eike Ziller2022-01-131-0/+82
| | | | | | Change-Id: I02cc0f6d18d6743478703f8859b4a63fd8dc85dd Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Sqlite: Fix compile with old XcodeChristian Stenger2022-01-131-1/+2
| | | | | | Change-Id: Idef9562282da784a152af5eddaeea7968c8d2c8c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* StudioWelcome: Show the splash screen at least once if the version changesThomas Hartmann2022-01-131-2/+23
| | | | | | | | | | | The version of the last QDS instance launched is stored in QML/Designer/lastQDSVersion. Whenever the version does change we show the splash screen. Change-Id: Idf94e73446f0498203d979b45378d85e70bd4106 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* StudioWelcome: Add support for version and resolution in descriptionThomas Hartmann2022-01-131-7/+59
| | | | | | | Change-Id: I6e404907b96b7f7988da8622e37217a756a1ca9f 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>
* QmlDesigner: Don't call an empty abort callbackMarco Bubke2022-01-122-3/+5
| | | | | Change-Id: I753aaa1ad693bb9ea5b34f1b50af40e2ef616c30 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Refresh preview image every hourMarco Bubke2022-01-127-5/+82
| | | | | | | | | | | It is to assumed that the preview image will be changed and we don't need to collect the time stamps of the files. Task-number: QDS-5924 Change-Id: Icf5540d7bcc9da17a1497641f6189f35eb47f5d2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove generator from AsynchronousImageFactoryMarco Bubke2022-01-124-81/+71
| | | | | | | | | | | The generator was introduced to decouple the generation thread from the fetch thread. But for the factory you only generate the image so you can use the factory thread for the collector. Change-Id: If569defba0c52dd85b19451a78f0daf5043b4d01 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>
* QmlDesigner: Don't save null image for preview collectorMarco Bubke2022-01-125-50/+27
| | | | | | | Change-Id: I01ad1c12c25a734107b359461508c037a2f23bb2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Register TitilliumWeb-RegularThomas Hartmann2022-01-121-0/+2
| | | | | | | | Change-Id: I0014bb5e315311c84c2fc301e1c3dba67fc64a22 Reviewed-by: Brook Cronin <brook.cronin@qt.io> 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>
* QmlDesigner: Fix compile with Qt5Christian Stenger2022-01-121-1/+1
| | | | | | | | | Amends 72c3d675a09. Change-Id: I12b93fc36ba7702f75171409136dc7bfb94c5def Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tapani Mattila <tapani.mattila@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Add 0 value to layer samples controlHenning Gruendl2022-01-121-1/+1
| | | | | Change-Id: Iafdbc5a8351c05ce4face948ff046781b6551335 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Multilanguage: Add utility to get language names consistentlyTuomo Pelkonen2022-01-122-0/+16
| | | | | | | | | | | | | There are multiple places that language codes are converted to language names each doing it a different way. To make this consistent, we need to have a single implementation for it. Change-Id: I2aeaf5b7c9203e8a41a61420f4c98e1fce491db5 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Add tool tips to disabled anchorsHenning Gruendl2022-01-121-7/+23
| | | | | | | | | | Add tool tips to disabled anchor buttons to make clear what the reason for disabling is. Task-number: QDS-5388 Change-Id: I193ba5ced45a6cb4d90e8475fc992029f58337d3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Add renderTypeQuality propertyHenning Gruendl2022-01-125-4/+29
| | | | | | | | | | * Add renderTypeQuality property in TextExtraSection * Add renderTypeQuality to bannedProperties in all qul files Task-number: QDS-5935 Change-Id: Ie22252a7b19704015834a0e413362ad84179b1e3 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* CMake generator: Use qt_add_executable instead of add_executableTapani Mattila2022-01-121-1/+1
| | | | | | | Task-number: QDS-5267 Change-Id: I83d82089f1f10ec0a30e7f2c2ed776c31fdcd8b5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMake generator: Integrate warnings in confirmation dialogTapani Mattila2022-01-126-65/+132
| | | | | | Task-number: QDS-5856 Change-Id: If95515ee0921598623a024fd7bd8fe8ef3482aa9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* CMake generator: Make file picker a treeviewTapani Mattila2022-01-1210-189/+345
| | | | | | | Task-number: QDS-5836 Change-Id: Ib261ac8750baae7ce55d9c990b5dadb26fc6ac03 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* StudioWelcome: Do not show errors/warnings of welcome pageThomas Hartmann2022-01-121-0/+2
| | | | | | | Change-Id: Id089f86f5bec4d5af3eef0e0200f6e8f2a586303 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Fix missing dependencyChristian Stenger2022-01-121-1/+1
| | | | | Change-Id: Ie12969d59bd63925f88c973f52de283d410b8c13 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Editor: avoid duplicated line endings inbetween multiple cursorsDavid Schulz2022-01-111-1/+4
| | | | | Change-Id: Ia1721837efef47d570faa4e393b6b0b372944735 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use Reader mode for clangbackendJarek Kobus2022-01-111-1/+1
| | | | | | | | | | | It doesn't look as there would be any write to this process from Creator side. Change-Id: I2c16a8ba28d8724d434d3c0f95c7b52616121b4b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Doc: Update Beautifier options screenshot to show correct exeLeena Miettinen2022-01-101-0/+0
| | | | | | | | | The current image shows the path to clangbackend.exe instead of the path to clang-format.exe. Fixes: QTCREATORBUG-26820 Change-Id: If445f0917ca1bde329e2a5c5410f0e071df566cf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ToolTip: Guard against nullptr accessEike Ziller2022-01-101-1/+4
| | | | | | | | | | screenAt(pos) can be nullptr if pos is outside the current screen configuration. Seems to be possible when screen configurations change. Fixes: QTCREATORBUG-26019 Change-Id: I5def200b14247e7fbcf62ad68cda991e8c10c9d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix ClientServerOutsideProcessSlowTestJarek Kobus2022-01-101-0/+1
| | | | | | | | | | | | | | | | Currently the RestartProcessAfterAliveTimeout test is creating two instances of echoserver, which is not desired. This patch fixes it by creating just one instance. Disconnect from disconnected signal before disconnecting from server in order to not to receive additional request for restart. Amends 4007828820bfd3fa4b5d081052cf5a95fdbd02db Change-Id: Iaf4994a9373b39bf0b065484e61627704a37672f Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Build.py/macOS: Add a signed bundleEike Ziller2022-01-101-8/+22
| | | | | | | | | | If a signing identity is given, create a signed install, and zip it up (if zip files are wanted). Can be used to directly add a signed app to an installer. Change-Id: Ib575d7c907eea74c247407107884f29a526d5d1c Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>