aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix predefined annotationsLukasz Ornatek2020-10-271-4/+4
| | | | | | | Task-number: QDS-3002 Change-Id: I1ccc586e19d3059a419431188bab58c84441c08c Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Update Qbs submodule to the top of 1.17 branchIvan Komissarov2020-10-261-0/+0
| | | | | Change-Id: Ibcd9d1b05d66038e4a9071cedc5c236cd8edb649 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update Qbs submodule to the top of 1.17 branchIvan Komissarov2020-10-231-0/+0
| | | | | Change-Id: I9551c70eaa1b5f2c3f9413f90c8c1d7b7394622f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Fix sorting predicate to have a strict weak orderAlexandru Croitor2020-10-201-3/+11
| | | | | | | | | | Fixes random crashes when opening the 'Manage session' dialog. Amends 8c0906e8fb632b82135a843657a1df9216a93c60 Fixes: QTCREATORBUG-24797 Change-Id: Ic3118163d1a9a10eacc1ea1cc90f54c86ac790d9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Automatic generation of Description & Display Condition tabLukasz Ornatek2020-10-162-7/+27
| | | | | | | Task-number: QDS-2862 Change-Id: I367f336e84025b593e51faf282ad9c923cfeac54 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
* qmlpreview: fix calling right localeIsoCode methodTim Jenssen2020-10-142-7/+15
| | | | | | | | | | Also add some QTC_CHECK to get at least some warning in case the functions are renamed in future. Change-Id: Ie4e78855152e9946950603c95fa881755e850c62 Reviewed-by: Marco Bubke <marco.bubke@qt.io> (cherry picked from commit 165ccb828d5f741c91ebdc0bf6e50bd980497640) Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ProjectExplorer: Fix compile output window scroll issueChristian Kandeler2020-10-121-1/+1
| | | | | | | | | Flushing the formatter directly from the build manager interferes with the scrolling logic in OutputWindow. Fixes: QTCREATORBUG-24728 Change-Id: I018944a44bcc3115c17ba83708da8f155b496f39 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Fix small visual glitch when rebuildingChristian Kandeler2020-10-121-0/+1
| | | | | | | | All but the first build would insert an extra newline at the top of the compile output window. Change-Id: Ief88acfb6226ec2d1de9865f041e9f07c48f6c49 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* qmlpreview: add test translation color settingsTim Jenssen2020-10-122-2/+67
| | | | | Change-Id: I9b11fcf1fdae39b089887884a3d96cc8648a0c8a Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* qmldesigner: fix missing update after setFrameColorTim Jenssen2020-10-121-0/+1
| | | | | Change-Id: I9d809bb62bdd3b0d141e1cff39cbf4a9fca58c39 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* qmlprofiler: Fix a crash in the rangeFilterDominik Holland2020-10-091-1/+1
| | | | | | | | Always check the stack before popping an element. Fixes: QTCREATORBUG-24730 Change-Id: I7dc6363137ef002219fbc49b7343cff8112a58c2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* qmlpreview: enable adding multiple testlanguagesTim Jenssen2020-10-072-20/+36
| | | | | | Task-number: QDS-2531 Change-Id: I558f6d1040148ff4a392f5c5cfc6af4da54fef70 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* qmlprieview: fix that init language is the chosen oneTim Jenssen2020-10-0716-130/+91
| | | | | | | | | | | | | | | | * removes language feature from preview service * it is handled by an extra DebugTranslationService until now * Qt versions without that extra service can not preview languages anymore * Introduce the use of QmlPreviewRunnerSetting. It makes it easier to add more properties in the future * Language needs an extra handling because it needs the loadUrl to find existing languages. So we save the language to a m_scheduledInitLanguage and emit this after the loadFile call happend. Change-Id: I7f4aec97f7b61d6b290f225282169da594eb9160 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* AutoTest: Fix summary part IIIChristian Stenger2020-10-071-1/+1
| | | | | | | Amends 479f6c8. Change-Id: I3bd7a789eef8d53610f87ccaafa43c921ff1e23f Reviewed-by: David Schulz <david.schulz@qt.io>
* Designer: Fix testChristian Stenger2020-10-061-1/+1
| | | | | | | Amends 142c47bdc2eb4. Change-Id: I30ff356687d4daef93d35744fd8c108eafed0c68 Reviewed-by: David Schulz <david.schulz@qt.io>
* qmldesigner: Avoid crash of TextToModelMerger::getQMLSingletons()Fawzi Mohamed2020-10-031-0/+3
| | | | | | | | | | | | When m_scopeChain is invalid (due to an invalid ui file) getQMLSingletons would trigger a crash. Catch this case and return early (an error message would then be displayed). Fixes: QTCREATORBUG-24587 Change-Id: I80c70d8e7f1c88b14c53d3daebf957dc1e6089ee Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: Set the manifest dirty when app icons are set or removedVille Voutilainen2020-10-023-1/+19
| | | | | | Task-number: QTCREATORBUG-24700 Change-Id: I862b5a17f47c7c6bbf7900b8923a246b8e902190 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Designer: Fix failing testDavid Schulz2020-10-021-1/+4
| | | | | Change-Id: I6bc9ec2007c9949b45c0f9068f12247ec50a44d5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Add an action to format code using clang-format by linesXiaofeng Wang2020-10-014-0/+39
| | | | | | | | | | When the file contians non-ascii characters, the position calculated by QTextBlock may not the same as clang-format. Format at Cursor will not work in this case, formatting by lines as a workaround. Fixes: QTCREATORBUG-21812 Change-Id: I4906130111ef2a2f15ffa698a14bec9430cbb3d5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlJS: accept import without versionFawzi Mohamed2020-10-011-1/+9
| | | | | | | | | Since Qt 6 import without version are accepted and should import the latest version. Change-Id: Id98bd0f7664dd77b30b9c91ee153fccc4160fc6d Fixes: QTCREATORBUG-24533 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QmlJS: fix reformatting of required propertiesFawzi Mohamed2020-10-012-8/+13
| | | | | | Fixes: QTCREATORBUG-24376 Change-Id: I9ebe66f881575ce8e58cee46d34c3ff8da55ef9c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* projectexplorer: avoid crash if recovery of kit failsFawzi Mohamed2020-09-291-0/+1
| | | | | Change-Id: I8bf3a24b1485da2bfd1eb13e61c2712b66b30a70 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QmlJS: set and propagate qtVersion in ProjectInfoFawzi Mohamed2020-09-291-2/+7
| | | | | Change-Id: Icbeb3679c8a76c111a5e3503b2c496c28c830342 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Add an MCU-specific video to the tutorials listVenugopal Shivashankar2020-09-291-0/+4
| | | | | | | | The video demonstrates how to create UIs using QDS and Photoshop. Change-Id: I05477e3307d2f9e3e92f1f41b3e57d1fa13088f3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* AutoTest: Fix marking for removal and sweeping of Quick TestsChristian Stenger2020-09-291-0/+1
| | | | | | | | | | | If opening and editing a QML file we did no more mark tests of this file as to be removed. In turn we may have got "new" items when e.g. just modifying the name of a function or test case and but did not lose the old one. Broke with 90fd6870c5a. Change-Id: I86917089ffb9d4acb2f735f2f3e0f112d8cdc65a Reviewed-by: David Schulz <david.schulz@qt.io>
* UpdateInfo: Include package versions in update notificationEike Ziller2020-09-291-5/+17
| | | | | | Fixes: QTCREATORBUG-24692 Change-Id: I5e3327b92b533dd21eabbd14402b81c1c5ad8d92 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmakeProjectManager: Fix crash on reparsingChristian Kandeler2020-09-283-7/+25
| | | | | | | | | | | | | After a re-parse, the existing IDocuments need to be updated with the new QmakePriFile object, as the old one may no longer be valid and thus cause a crash on the next re-parse. Amends f3bd07efd1. Fixes: QTCREATORBUG-24683 Change-Id: Ib03d3005cb7831f1e05cb116aa3cdfe6cf5e72ad Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProParser: Fix crash when starting a QProcessChristian Kandeler2020-09-281-2/+12
| | | | | | | | | | | QProcess modifies the internals of its QProcessEnvironment object in a manner that is not thread-safe. We therefore force a detach, so each QProcess instance gets its own QProcessEnvironment. Fixes: QTCREATORBUG-23504 Change-Id: I7fc1fda5e7bc11ac4e9a59596a5bdb0ac420a315 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* OutputFormatter: Run line parsers also for empty linesChristian Kandeler2020-09-251-7/+6
| | | | | | | | | Empty lines can be relevant semantically, e.g. to mark the end of a block of messages. Amends 5cb74af166. Change-Id: I31cb32dcbf6a69f03324e0d2c00f95547c994d85 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Fix handling of summaryChristian Stenger2020-09-242-8/+7
| | | | | | | | | | | | Avoid overwriting already gathered results and handle special cases like parameterized boost tests correctly. Beside this take into account that fatals on the boost side are treated as failures when printing the summary. Amends 6ab70135797c. Change-Id: I3815f79cbb4d16fd7b3d286617d79b30e94ccdd8 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* OutputFormatter: Prevent consecutive newlines from being ignoredChristian Kandeler2020-09-242-2/+9
| | | | | | | | | Amends b0cad9e9c7. Fixes: QTCREATORBUG-24668 Change-Id: I19a2ea71be91ded8f2c458537dae62a3021afe52 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* LSP: Do not use FullyEncoded in QUrl::toStringChristian Stenger2020-09-241-3/+1
| | | | | Change-Id: I8f978327a1d12f7d418a77ac4bc70b135142f989 Reviewed-by: David Schulz <david.schulz@qt.io>
* WebAssembly: Fix the missing auto-detected "C" toolchainAlessandro Portale2020-09-231-1/+0
| | | | | | | By not setting the toolchain language twice. Change-Id: Id7058662047f451dcc524151aa5ff7cec854b9d3 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Fix construction orderMarco Bubke2020-09-221-3/+3
| | | | | | | The connections have to be destructed before the local server. Change-Id: Ie1c349b72c67c4359eba78e9567e38f577c7bc10 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* McuSupport: Add support for desktop backend JSON fileJacek Nijaki2020-09-223-99/+165
| | | | | | | | | | | | | | | | Starting from Qul 1.5 json kit file will be shipped for desktop platform. This change is backward compatible with previous Qul version - if no desktop specific json file is found a legacy code is executed. This change removes "desktop" toolchain, instead "msvc" and "gcc" toolchains are introduced. Additional parameter was introduced to the josn kit file: "platformName" which enables using different strings in kit name and in QUL_PLATFORM cmake variable. Change-Id: Ie0a212aaad47a8033e9a81467f60a23c2bc19a51 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Fix copyright/license of vcsconfigurationpage.cppKai Koehne2020-09-211-31/+8
| | | | | | | | | | | The copyright and license was changed as part of the 397e7f48 mass change, arguably by erroneously copying it from imageviewer/imageview.h or imageviewer/imageview.cpp. Fixes: QTCREATORBUG-24620 Change-Id: I1f6a631c3b0a437af862d929a921693db367cef2 Reviewed-by: Denis Mingulov <denis@mingulov.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ImageViewer: Change license of files to Commercial/GPLv3Kai Koehne2020-09-212-64/+16
| | | | | | | Task-number: QTCREATORBUG-24620 Change-Id: I8c76b312d4e93346ca70eec92b8b7ac8dfa455d1 Reviewed-by: Denis Mingulov <denis@mingulov.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Remove replacement kitsChristian Kandeler2020-09-214-0/+24
| | | | | | | | | ... for which the original kit has turned up again. Otherwise we'd have more than one kit with the same id. Fixes: QTCREATORBUG-24589 Change-Id: I7ce16615694d3d2c5a5441f676ecb7dc85c2239c Reviewed-by: David Schulz <david.schulz@qt.io>
* Editor: fix hanging when using invalid printer page rectDavid Schulz2020-09-211-1/+4
| | | | | | | | | | Some printer seem to return an empty page rect for some configuration which results in an invalide page count and a freezing ui. Do not print anything and return in that case. Fixes: QTCREATORBUG-24110 Change-Id: I42349bc97734e3f6a67502482d2b02959e865665 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* TextEditor: allow highlightings in selectionsDavid Schulz2020-09-211-2/+1
| | | | | | | | | If the selection foregound color is undefined do not overwrite the already applied highlighting. Fixes: QTCREATORBUG-24656 Change-Id: Ia125e8e6b9efba73d5a13facc2446a793d59f5c3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Minor Fixes for QDS MCU compatibilityAleksei German2020-09-191-1/+1
| | | | | Change-Id: I401ecf9ce12d7020e78a5449b321fb7927caffed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix range for "Fixed Frame" in Timeline settingsThomas Hartmann2020-09-191-1/+8
| | | | | | Change-Id: I71bdae7144ae91b9b8b8c8e2088b87310d2f4a2e Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* cdbext: fix mingw compileDavid Schulz2020-09-181-1/+1
| | | | | | Fixes: QTCREATORBUG-24653 Change-Id: I40071a0022be809266b98e1e898e969493b927aa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Make Translation Tests ignore imported filesLukasz Ornatek2020-09-173-20/+27
| | | | | Change-Id: I4abd222bd15da79a1fe14d01b8a4a1f25d935b3b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* AutoTest: Fix construction of file paths for catch resultsChristian Stenger2020-09-171-4/+7
| | | | | | | | Using Catch2 on Windows with CMake lead to not having file information as the file information was generated differently. Change-Id: I3e0951b517a4a8a86f1ffa1009c1a2815565f3b3 Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Fix StateEditor show event updateHenning Gruendl2020-09-171-1/+1
| | | | | | Task-number: QDS-2798 Change-Id: Ic27e7491012b227e144cdae68ead8ac534cc0d5a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add GridView to ListModelEditorMarco Bubke2020-09-171-2/+4
| | | | | | | | We could simply test for the model property but this can lead to strange behaviour. Change-Id: I4e326890fb02d312b5210089c957dce026a09f94 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Editor: set deleteStartOfLine default shortcut on macDavid Schulz2020-09-171-1/+2
| | | | | | Fixes: QTCREATORBUG-9219 Change-Id: I26f991641efbc914d848591931756666e34c26b7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Python: Fix loading working directoryDavid Schulz2020-09-171-3/+1
| | | | | | Fixes: QTCREATORBUG-24440 Change-Id: I27a543f764e285acf678427cc909d2a95e5cb322 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix compilationqds/v1.6.1Marco Bubke2020-09-161-1/+1
| | | | | Change-Id: Ia69deafa77ca234c9f80be10d19fcf582ab5e906 Reviewed-by: Cristian Adam <cristian.adam@qt.io>