summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* FakeVim: Modernize a bithjk2020-05-282-12/+12
| | | | | | | | Some ranged-for and const. Change-Id: I6ff521393166aa4c61289de88e8c31320887b1b4 Reviewed-by: Lukas Holecek <hluk@email.cz> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* PE: JsonWizard: Improve handling of check boxesChristian Stenger2020-05-281-1/+1
| | | | | | | | | | | | | Only handle active user clicks as 'modified' to be able to react on (un)setting values by expressions that depend on other fields. Improves the check box handling on the "Add C++ Class" and "Add Python Class" wizards as it re-evaluates the check box state based on an expression as long the user does not actively checks the respective check box. Change-Id: I739c02b85196555c0379272005ca3b0095f7c762 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Describe exporting assets from Adobe IllustratorLeena Miettinen2020-05-275-12/+84
| | | | | | | | | There are some tricks the users need to know. Fixes: QDS-1745 Change-Id: Ie6ea417335ed47b7960636fccc5946f8f5e6024a Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Remove info about default folder to save custom fontsLeena Miettinen2020-05-271-2/+1
| | | | | | | | For Qt Design Studio. Fixes: QDS-1440 Change-Id: I9d8cff81c5762715f123743b2795b3df53da1daa Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* C++ Tools: apply clang-format on cplusplus-keywordgen.cppVolodymyr Zibarov2020-05-271-234/+255
| | | | | | | | There is no history for this file after it was moved, so there's no harm of beautifying it to be able to read and change. Change-Id: Iec2ad5bc9d8553589b2d2512f69991f772808d89 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* ClangTools: Work around clazy-standalone behavior fluctuationChristian Kandeler2020-05-271-2/+7
| | | | | | | | | Some versions expect an argument after the -supported-checks-json option, and some don't. They are not easily identifiable, so we try both versions of the command line. Change-Id: I5b265e4ddd4a21c238228dafc60cbc09194f23cc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* CppEditor: Add quickfix for creating a forward declarationChristian Kandeler2020-05-274-9/+373
| | | | | | | | | In header files, a forward declaration is often preferable to including another header file, so let's offer this as a quickfix. Fixes: QTCREATORBUG-23444 Change-Id: Ib50550abb5337098e4122e65e2af42a66742d6f6 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* QmlJSEditor: Clear old values when updating outlineChristian Stenger2020-05-271-0/+8
| | | | | | Fixes: QTCREATORBUG-21335 Change-Id: I46b1ad52f62edf7865a44ade298ff2233ca4554a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Link to Fossil Plugin Manual from the version control topicLeena Miettinen2020-05-271-0/+10
| | | | | Change-Id: I58e550aa71571e2b91213edb86d5cdb5403761b2 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake Build: fix preprocessor config path for C++ toolsVolodymyr Zibarov2020-05-271-1/+1
| | | | | | | This fixes cplusplus-ast2png runtime error Change-Id: Ifbfce44ab0c281e7b8169d132c68b4f28805da85 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Remove some useless IContext subclassesEike Ziller2020-05-2710-112/+10
| | | | | | | | They are only created at single places anyhow, so use the setters of IContext instead Change-Id: I00a089c9f1ea151c76cb6443e2a24c4a05437bbb Reviewed-by: hjk <hjk@qt.io>
* Remove unnecessary removeContextObject callsEike Ziller2020-05-2724-126/+46
| | | | | | | They are removed on deletion now. Change-Id: I08461ea4938e24ab450df013a0f8f820032381da Reviewed-by: hjk <hjk@qt.io>
* clang-tidy: Override "WarningsAsErrors" from config fileChristian Kandeler2020-05-271-1/+1
| | | | | | | | | | If WarningsAsErrors is enabled in the config file, any issues that are found will make Qt Creator believe that clang-tidy has failed. So we never want this in our analyzing. Fixes: QTCREATORBUG-23423 Change-Id: I38f15588a9a02e25e0cf2f56c176c95639b97432 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Utils: Document PathChooser::Kindhjk2020-05-271-3/+34
| | | | | | Change-Id: I0d984c9cae98b59abfb62a3fd6932d63783e9015 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* BareMetal: Auto-detect IAR toolchain for National Semiconductor CR16 ↵Denis Shienkov2020-05-271-2/+7
| | | | | | | | | | | | architecture This patch implements auto-detection for the CR16C toolchain, provided by IAR Systems: * https://www.iar.com/iar-embedded-workbench/#!?architecture=CR16C Change-Id: Idc0d91f2de7bcce463baea0874538662c5af413d Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add support for new CR16 architectureDenis Shienkov2020-05-272-0/+5
| | | | | | | | | | This commit adds new ProjectExplorer::Abi::CR16Architecture entry for the National Semiconductor CR16 architecture: * https://en.wikipedia.org/wiki/CompactRISC Change-Id: I886422e3745cbaec177236c3a2bd90950633a925 Reviewed-by: hjk <hjk@qt.io>
* BareMetal: Auto-detect IAR toolchain for Renesas R32C architectureDenis Shienkov2020-05-271-2/+6
| | | | | | | | | | This patch implements auto-detection for the R32C toolchain, provided by IAR Systems: * https://www.iar.com/iar-embedded-workbench/#!?architecture=R32C Change-Id: I22b6f2afdc902f659c9adda18550cc915cf48125 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add support for new R32C architectureDenis Shienkov2020-05-272-0/+5
| | | | | | | | | | This commit adds new ProjectExplorer::Abi::R32CArchitecture entry for the Renesas R32C architecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/m16c.html Change-Id: I869dd07783355b01522ca9eb87b73a8e55bf3746 Reviewed-by: hjk <hjk@qt.io>
* BareMetal: Auto-detect IAR toolchain for Renesas M16C architectureDenis Shienkov2020-05-271-2/+7
| | | | | | | | | | This patch implements auto-detection for the M16C/R8C toolchain, provided by IAR Systems: * https://www.iar.com/iar-embedded-workbench/#!?architecture=M16C%2FR8C Change-Id: Iaa724c110f074183e60f659812717dbad2f635d0 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add support for new M16C architectureDenis Shienkov2020-05-272-0/+5
| | | | | | | | | | This commit adds new ProjectExplorer::Abi::M16CArchitecture entry for the Renesas M16C architecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/m16c.html Change-Id: Id476cfefbfd971b31cb307d51b6980a29684191d Reviewed-by: hjk <hjk@qt.io>
* Utils: Fix one qdoc warninghjk2020-05-271-1/+1
| | | | | | | (qdoc) warning: '\brief' statement does not end with a full stop. Change-Id: I20545770bae226191c24ab1d4555198b543e805c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Unregister deleted IContext objects automaticallyEike Ziller2020-05-275-15/+27
| | | | | Change-Id: I7b84c02c8fe1e7201431116e3d993792370fb942 Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.12'Orgad Shaneh2020-05-2741-35/+90
|\ | | | | | | Change-Id: If8f433d1084763c1aea4a3454ae163750495c569
| * remove variant.hpp errorTim Jenssen2020-05-271-2/+0
| | | | | | | | | | | | | | | | So this can be used with a Qt 5.15 build outside of QtCreator. Change-Id: I691687bf661be21d9c28f13a52ff5df58bb7412a Reviewed-by: hjk <hjk@qt.io>
| * Doc: Resize front page images to remove scrollbarLeena Miettinen2020-05-2640-33/+90
| | | | | | | | | | | | Change-Id: I8555bd5f7952530a02d57be436fc27c8a04de0be Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | C++: Add tests for recent indentation fixesChristian Kandeler2020-05-271-0/+25
| | | | | | | | | | Change-Id: I90ae2da3a82bff2e966c4327cf8e42f7ebbddd27 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Android: Don't use --server argument to lldb-serverhjk2020-05-261-1/+1
| | | | | | | | | | | | | | | | | | We are not re-using the server process currently, and servers surviving their processes seems to lead to zombie server processes (on app uninstall(?)) Change-Id: I996fcd490e98a5101840cbbab5f640abf1f2d90b Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* | CMake: Split build output into lines before parsingChristian Kandeler2020-05-262-24/+36
| | | | | | | | | | | | | | | | | | | | This amends commit b15d1951a2, where we moved the line splitting into the output parsers, but overlooked that the CMakeBuildStep does additional line-based parsing. As a result, the stdout -> stderr redirection for ninja output was broken. Change-Id: Iafbbce9a3f9c0383812a9e4c129c1d94fa907b73 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | qbs build: Make the pkg-config dependency in unittest.qbs non-requiredChristian Kandeler2020-05-261-1/+1
| | | | | | | | | | | | | | We don't want an error if pkg-config is not installed. Change-Id: I142abe3d21649a9010b91707532eb733e2103583 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | qbs build: Make clang plugins build with libclang-cppChristian Kandeler2020-05-262-14/+9
| | | | | | | | | | Change-Id: Ifbae5f2a124e5c36126391d48b0a186bd153d678 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | qbs build: Fix unittest project fileChristian Kandeler2020-05-261-3/+2
| | | | | | | | | | | | | | There were some subtle errors that lead to test failures. Change-Id: Ibea24a8a45a47a5c3239da77bd4ed7ddca61ec57 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | CMake Build: Update CMake minimum Version to 3.10Cristian Adam2020-05-263-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is due to policy CMP0071 which affects AUTOMOC and generated files. With CMP0071 set to OLD (CMake 3.9) precompiled headers would fail to work with GCC. GCC and precompiled headers would still require the upcoming 3.18 CMake, but having CMP0071 set to NEW (CMake 3.10) is a prerequisite. Change-Id: I7c3c1f739877646a91ffa07e2a8006ab7d6f4d77 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Revert "JsonWizard: Fix restoreLastHistoryItem for LineEdit"Christian Stenger2020-05-262-13/+2
| | | | | | | | | | | | | | | | This reverts commit e3abd5b3486e117ae1f5880a8304221699f5b14c as it broke updating evaluating line edits. Change-Id: Ie729a63d6a2b87df7143aba26726b657cffb8148 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | ClangCodeModel: Show value in tool tips, if possibleChristian Kandeler2020-05-267-1/+61
| | | | | | | | | | | | | | | | | | | | | | When hovering over a constant expression, it's probably helpful to show that value to the user. Requires clang 11 to fully work. For now, it only shows the value for variable initializations. Fixes: QTCREATORBUG-23967 Change-Id: I6b844231bac50993c2fa2fa82c552ad9cef590df Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | Merge remote-tracking branch 'origin/4.12'Eike Ziller2020-05-2613-75/+68
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri Change-Id: Ic39945a0e3e140a9467b4b4f572929257ff3a324
| * Debugger: Drop unnecessary use of ModuleNotFoundErrorhjk2020-05-251-1/+1
| | | | | | | | | | | | | | | | | | That's Python 3 only, and doesn't add value here. Change-Id: I9b1702ea8b0b0ddb090fdfc393228b4430da0b07 Task-number: QTCREATORBUG-24004 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * WebAssembly: Fix run configuration for Qt 5.15 app with emsdk 1.39.xAlessandro Portale2020-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With Emscripten SDK 1.39.x, emrun quits and shuts down the web server before the complete WebAssembly application can be fetched by the browser. Adding "--serve_after_close" to the emrun call restores the original behavior. That parameter is accepted by previous Emscripten SDK versions and seems to not change how it used behave in earlier versions. Task-number: QTCREATORBUG-24072 Change-Id: Ie43604d42eb9c5a7cccd09fdf1c33391dc31098d Reviewed-by: hjk <hjk@qt.io>
| * Locator: Fix regression of filesystem lookup with line/columnOrgad Shaneh2020-05-251-2/+5
| | | | | | | | | | | | | | This amends commit 40921421ae7d6ad7c7644e0f7ffe900ccd70ee5e. Change-Id: Ib546813e77395c8816758f9adb21a71f072abd49 Reviewed-by: André Hartmann <aha_1980@gmx.de>
| * qbs build: Clang: Adapt llvm-config variants to check forNikolai Kosjar2020-05-221-1/+2
| | | | | | | | | | Change-Id: Ib961efe9b72acdfc383cade2053a4a1126e99132 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * QmlPreview: Don't use MainFileAspect if it doesn't existUlf Hermann2020-05-221-15/+16
| | | | | | | | | | | | | | | | | | We only need to choose the main file if we're dealing with a qmlproject. Fixes: QTCREATORBUG-24056 Change-Id: I5b5dfa29a46fa07de7ee570fa033d978e72dfdb5 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
| * CppTools: Fix license file path persistencehjk2020-05-221-0/+1
| | | | | | | | | | | | | | | | Broke with ea6da69e8. Fixes: QTCREATORBUG-24024 Change-Id: If097c4bc824c1a6b6c005bcf32aef09229804be2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * ClangTools: Fix referencing wrong counter for summary textNikolai Kosjar2020-05-221-1/+1
| | | | | | | | | | | | Fixes: QTCREATORBUG-23585 Change-Id: Icb3002434a728bd0d157190b7079b35bb639d0df Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Bump version to 4.12.2Eike Ziller2020-05-223-6/+6
| | | | | | | | | | Change-Id: I734d8571ab672cbbccaebe6d3d1a97cd15f31831 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * CompilationDbPM: Do not change the kit's toolchainChristian Kandeler2020-05-201-2/+0
| | | | | | | | | | | | | | | | Amends 45d42d4518. Fixes: QTCREATORBUG-24047 Change-Id: I115eaf06fb3c055069918d20f360bd027f15d680 Reviewed-by: hjk <hjk@qt.io>
| * Doc: Update information about supported devicesLeena Miettinen2020-05-204-48/+30
| | | | | | | | | | Change-Id: I17aed738f147dedee69acaa9c3794394f92d12d3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Git: Fix upstream status for branches with slashOrgad Shaneh2020-05-191-5/+11
| | | | | | | | | | | | | | Like wip/foo Change-Id: Ia2816660f7878e872b2e49c4811f5893a1b8dc75 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* | Packaging: Get rid of binary-artifacts repository usageEike Ziller2020-05-263-10/+2
| | | | | | | | | | | | | | | | | | | | We removed the cdbextension and wininterrupt binaries from there a long time ago, and instead package these for the installer. Package newest jom version from its actual release in the installer as well. Task-number: QTCREATORBUG-23908 Change-Id: Ic9bdc97774cbeb894fc261e57af127d6cdc71205 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* | C++: fix cplusplus tools build with Qt 5.14Volodymyr Zibarov2020-05-261-6/+4
| | | | | | | | | | | | | | | | | | | | | | It's using QMapIterator that is disabled by default with QT_NO_JAVA_STYLE_ITERATORS defined in cmake\QtCreatorAPIInternal.cmake. Change to not use QMapIterator. Another way would be to undefine QT_NO_JAVA_STYLE_ITERATORS before including QMap, but that would not work with precompiled headers enabled Change-Id: I26dcba64dc84b6c154f62ddd9520075b59f618b2 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | C++: Fix paths passed to cplusplus-update-frontend on cmake buildVolodymyr Zibarov2020-05-261-2/+2
| | | | | | | | | | Change-Id: I9e70d411d3944e4c7b3ae5fe722aaa2894f87602 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | ProjectExplorer: Split deployment data using last colon on the lineVille Nummela2020-05-261-3/+3
| | | | | | | | | | | | | | The original approach does not work with absolute file paths on Windows Change-Id: I9f284dfa7c0fe145a99e216a571d3f0eb1289f94 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>