aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/incredibuild
Commit message (Collapse)AuthorAgeFilesLines
* Add long descriptions to some pluginsLeena Miettinen2024-05-311-1/+5
| | | | | | | | | | | | Edited the short descriptions to answer the question "What can I do with this extension" to help users decide whether they need it. In long descriptions, tell users what else they need to be able to use the plugin. Change-Id: Iefce7505b61fc77cf38cc915f1f7dbd25c9cb570 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* PluginSpecs: Change URLs from http:// to https://Alessandro Portale2024-05-281-1/+1
| | | | | | | | | | Avoid the redirect that is inevitable nowerdays. Also, change necessitas.kde.org to www.qt.io, since the orgininal page is offline. Change-Id: Ib1823f0df97d2df87822fd2bb7552e2f2c7e971e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Use LayoutBuilder V2hjk2024-05-272-2/+2
| | | | | | | | | | | | This puts the implementation introduced in acf1ecb47fdf into use, after significant simplifications in the class hierarchy. CRTP is not used anymore, and the new tag based dispatch is also used for Layout::addItem, effectively reducing the number of different code paths. The Lua based settings access is disabled for now. Change-Id: Idb6d1a25675378757c5267bdb630bcd4c1f52d34 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Translations: Fix various \n, full stops, spacesEike Ziller2024-04-182-10/+16
| | | | | | | | Add missing full stops, remove space at beginning and end, remove end lines at end Change-Id: I4ce28f578e13e100dcfbd8ef70630462faf407fc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Utils: Fix build with MSVC with C++20Eike Ziller2024-02-281-1/+1
| | | | | | | | | | | | | | | | | Rename process.h back to qtcprocess.h MSVC's "threads" standard header includes <process.h>, and that ends up including our process.h from Utils. There already was a hacky workaround in place for a similar issue with MINGW, but that doesn't work with MSVC because that doesn't have Simply use a name that doesn't conflict. Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* GuiUtils: Apply wheel blocker to more widgetsJarek Kobus2024-01-051-0/+2
| | | | | | | Attach it to configuration and aspect widgets. Change-Id: Ifd649f6dbf8bbb1ce1cf7251ac46b7cfac9798e3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Some more ToolChain->Toolchain renamingshjk2023-12-121-1/+1
| | | | | Change-Id: I5cb2adf544a846f45f7fe7ce60f67b10ad100d91 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Rename Tool{C,c}hainKitAspecthjk2023-11-271-1/+1
| | | | | | Change-Id: I74460b6402ab00f972c208023f03fac617982a11 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* ProjectExplorer: Rename ToolChain to Toolchainhjk2023-11-241-1/+1
| | | | | Change-Id: Ibb520f14ff3e2a6147ca5d419b9351c50c141063 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix missing overrides and redundant virtualAlessandro Portale2023-11-141-1/+1
| | | | | Change-Id: Id2a247b6032602c2295d928067c2462d3f9b5221 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ExtensionSystem: Stop reworking initialization order systemhjk2023-08-311-3/+11
| | | | | | | | | | | This reverts b91f234c7da and some changes on top. With the static-in-function approach the dependency seem to be more easier to solve than with the the central mechanism here. Change-Id: I65be3ced847b31c25637280376f2fe30003f0527 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Plugins: A bit more Keys and Storehjk2023-08-253-8/+13
| | | | | Change-Id: Iee55eeaa881dd9f2047fdbe95ad8d827f4ba34e0 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Utils: Rename the new Storage to Storehjk2023-08-244-6/+6
| | | | | | | | | Apparently that's what the young people on the web use for such a thing. Change-Id: I75d5396ff3cb3c26efd6008b5f2261354c4f7896 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Use Utils::Storage instead of QVariantMap in a few placeshjk2023-08-234-6/+6
| | | | | Change-Id: I02833cf2bc3caaadc22ff93ae530e4aebe4c3868 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ProjectExplorer: Rename kitinformation.{h,cpp} to kitaspects.{h,cpp}hjk2023-08-151-2/+2
| | | | | Change-Id: I069bddeb457366210d339edcbb8ffb359a40fab8 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Merge remote-tracking branch 'origin/11.0'Eike Ziller2023-08-031-1/+2
|\ | | | | | | | | | | | | | | Conflicts: src/plugins/beautifier/clangformat/clangformatsettings.cpp src/shared/qbs Change-Id: Ie614f036ef9529a3cae6366a9313eded988d725c
| * IncrediBuild: Fix missing UI in build stepsEike Ziller2023-07-311-1/+2
| | | | | | | | | | | | | | Regression introduced by 35c60cd7b42a83b2c1642e2b32ea7f4f08ac4ad1 Change-Id: I6e184ed8f7cca61547b762cfd40132755af39d6c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Build: Change plugin json.in files to CMake styleEike Ziller2023-07-251-17/+17
|/ | | | | | | | | | | | | They were still using variables in qmake style. Directly use CMake variables in the json.in files and remove the no longer needed escaping of quotes. Adds a fatal message if it detects the old style in a .json.in file for easier porting. Change-Id: I8de88d8db2da55781f0e9d72eda03f943723188e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Incredibuild: Fix quoting of additional command line argshjk2023-06-091-23/+21
| | | | | Change-Id: I215c330e79b4df6a2b65f774a4e8d7d1a7157973 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Incredibuild: Auto-register aspects in build stepshjk2023-06-092-228/+229
| | | | | Change-Id: Ic36ac230c92df4b18649aa19a57f7a424a593db3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Incredibuild: Simpler plugin setuphjk2023-05-264-44/+16
| | | | | Change-Id: Ie838fb800b0b0f412e1b44989eed47e70c144747 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Incredibuild: Use FilePathAspecthjk2023-05-231-6/+3
| | | | | Change-Id: I02f09860ae81f060adeee0839e20740be802da9a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Rename qtcprocess.{cpp,h} -> process.{cpp,h}Jarek Kobus2023-05-041-1/+1
| | | | | | | | Follows QtcProcess -> Process rename. Change-Id: I97235a9a40cb7fd52944515b7ab878d96528f919 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Layouting: Make aspects operate on parent items, not LayoutBuilderhjk2023-05-032-5/+5
| | | | | | | LayoutBuilder is meant to be an implementation detail nowadays. Change-Id: I777ab934d3d405873e819eeddd27428d8c652f9a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Make Layouting a top level namespacehjk2023-04-251-1/+1
| | | | | | | | | | The whole machinery is now almost only layoutbuilder.{h,cpp}, mostly independent of the rest of Utils. Idea is to finish the separation to make it stand-alone usable also outside creator. Change-Id: I958aa667d17ae26b21209f22412309c5307a579c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Translations: Change translation context prefix from "::" to "QtC::"Alessandro Portale2023-02-101-1/+1
| | | | | | | lupdate would be confused by translation contexts starting with :: Change-Id: Ie95e73436fd3cafc80a8e89f908efadc747e644c Reviewed-by: hjk <hjk@qt.io>
* Utils: Flatten LayoutBuilder related hierarchieshjk2023-01-202-2/+2
| | | | | | | | | Originally the idea was to only expose LayoutBuilder, but we are getting more and more related items. Be consequent now, and have everything in Utils::Layouting, but not in nested classes. Change-Id: Ic0f98595882e5c60a25c30ec52df4a0ea79bc0ca Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Use simpler Plugin::initialize() when feasiblehjk2023-01-202-7/+2
| | | | | Change-Id: I567965d266f20526bda9f823e31a04b354d53fb1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Incredibuild: Tr::tr and code cosmeticshjk2023-01-1916-239/+187
| | | | | Change-Id: Id2facedde38dd09311069711b9e621a95439d433 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Prefix Tr::tr contexts with ::hjk2023-01-131-1/+1
| | | | | | | To make outliers better visible in Linguist Change-Id: Ic35ea2a858b7e3576d9a416fb494fddb616eaaa1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Rename most FilePath::{from,to}Variant uses to {from,to}Settingshjk2023-01-101-2/+2
| | | | | | | | Specifies the main purpose more clearly. The remaining ones a "true" (internal) variants in models and as action data. Change-Id: I8dd3c846e419f29d88283c2f48268ef6685b19fe Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-0617-17/+17
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove unused includes of QFormLayoutJarek Kobus2022-11-181-1/+0
| | | | | | | Change-Id: Ia877cb57037342f2a7b332b29d9cb45e9b01c4bc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-2617-408/+34
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Drop Qt5: Various plugins: Get rid of QOverloadJarek Kobus2022-07-201-2/+1
| | | | | Change-Id: I4913044f8897fd3449dbb537e4af6785eb3ad447 Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/8.0'Eike Ziller2022-06-291-1/+1
|\ | | | | | | Change-Id: I552d201d09d62d21655176467088c6e48b8a2fe2
| * UI text: Fix grammar errors and capitalization issuesLeena Miettinen2022-06-281-1/+1
| | | | | | | | | | Change-Id: Iefb1075cc0b14eb8c0e99b6c96c31a91c2b079f0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Add plugintr.h files to all pluginshjk2022-06-273-1/+39
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Except FakeVim, which had it before. for i in [a-eg-z]*/*.json ; do upper=${i##*/} upper=${upper/.json/} lower=${i%/*} trfile=$lower/${lower}tr.h cat << EOT > $lower/${lower}tr.h /**************************************************************************** ** ** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see https://www.qt.io/terms-conditions. For further ** information use the contact form at https://www.qt.io/contact-us. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3 as published by the Free Software ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT ** included in the packaging of this file. Please review the following ** information to ensure the GNU General Public License requirements will ** be met: https://www.gnu.org/licenses/gpl-3.0.html. ** ****************************************************************************/ namespace $upper { struct Tr { Q_DECLARE_TR_FUNCTIONS($upper) }; } // namespace $upper EOT git add $trfile perl -pi -e "s/(${lower}_global.h)/\1\n ${lower}tr.h/" $lower/CMakeLists.txt perl -pi -e "s/(\"${lower}_global.h\",)/\1 \"${lower}tr.h\",/" $lower/$lower.qbs done Change-Id: I15ebbaaa9443c57b391b9e143f592d8a0c9208a9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove qmake build filesEike Ziller2022-01-202-36/+0
| | | | | | | | | | Removes qmake as a build system for building Qt Creator itself. Keep them for some tests that are not completely moved to CMake yet. Change-Id: I846c6ef65626b6dfae6375fdc85d00677aa8c2fb Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Incredibuild: Use more FilePath in CommandBuilderhjk2021-09-297-35/+34
| | | | | Change-Id: I31e2be7cbd8f5ac58db4bead1fa3266bb80df868 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: Return FilePath from PathChooser::homePath()hjk2021-08-192-4/+4
| | | | | Change-Id: Ib67435cb828e6bb55f76bfd6eb13165f46922c00 Reviewed-by: David Schulz <david.schulz@qt.io>
* Utils: Move process arguments class out of QtcProcesshjk2021-05-111-1/+1
| | | | | | | | | | | | The main QtcProcess interface is nowadays a CommandLine, with no explicit references left to QtcProcess::Arguments and related static helper functions, so it only clutters the QtcProcess class interface So move these items out of QtcProcess, later potentially to a separate file pair. Change-Id: I45c300b656f5b30e2e2717232c855fdd97c2d1d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* cmake build: Fix PLUGIN_RECOMMENDSEike Ziller2020-12-111-1/+1
| | | | | | | | | | | | Use the right variable name, and syntax for iterating the list. Fix plugin configuration order, so targets are found. Fix misspelled plugin name. Also remove unused and wrong "EXPERIMENTAL" option. Change-Id: I77cc5d12ebdaa8bcd0315dd830a9435c648b2ba3 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Fix various clang warningsChristian Kandeler2020-12-081-1/+0
| | | | | | | | Unused variables & functions, unneeded copies in range-for loops, missing overrides. Change-Id: I27b60e7c92a6ca425a84c89b537d5c3815449a94 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix lupdate issuesEike Ziller2020-11-093-0/+6
| | | | | | Change-Id: I1971f74a54e4afe2d106c105f6b38f415bef488f Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Incredibuild: Change some of the displayed stringshjk2020-11-092-26/+19
| | | | | Change-Id: I7638be248031c8262e3d0adf92479fdd6c1fb5f4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Utils: Consolidate LayoutBuilder interface a bithjk2020-09-241-3/+3
| | | | | | | | | | | | | - the var args template for addItems was overkill creating a lot of instantiations. Use a temporary list instead. - allow default constructed LayoutItems to be used for an empty cell, avoiding the use of a QLabel with empty text - add an addRow({...}) overload as convenience shortcut for .startNewRow().addItems({...} - rename startNewRow() to finishRow() Change-Id: I6d49dacbac3d7acf140ca526884ba1ceeeca2e0d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils/ProjectExplorer: Move re-usabled bits of aspects to Utilshjk2020-09-234-5/+10
| | | | | | | | | | | Classes involved are BaseAspect and some derived classes, LayoutBuilder and VariableChooser. This is mostly mechanical, with various include/using changes to make it compile. Change-Id: I624a457f3555f102e541c4c71e33a9423af32250 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Incredibuild: Use standard layout for plugin setup codehjk2020-09-212-41/+16
| | | | | Change-Id: Ic9bbf8eb23fc4a2ed65b97e96cadcc4495ecdae6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Simplify use of AbstractProcessStep::init()hjk2020-09-162-19/+0
| | | | | | | | | | | | 1. Systematically check for AbstractProcessStep::init() first in derived classes. 2. Use setupProcessParameters(processParameters()); by default in the base implementation. 3. Drop all re-implementations that are effectively the same. Change-Id: I0ae54dd4909b354672a63ee56d0b7c2ea0732494 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>