summaryrefslogtreecommitdiff
path: root/src/shared
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-05-171-4/+5
|\ | | | | | | | | | | | | Conflicts: coin/instructions/build.yaml Change-Id: I697b0107e75c6259989247de2180437d7987ff37
| * Registryaccess: Fix defined but not used warningBjörn Schäpers2023-05-121-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | In file included from .../src/plugins/debugger/registerpostmortemaction.cpp:6: .../src/shared/registryaccess/registryaccess.h:26:21: warning: 'RegistryAccess::autoRegistryValueNameC' defined but not used [-Wunused-variable] 26 | static const WCHAR *autoRegistryValueNameC = L"Auto"; I don't think using static in a header is a nice thing, inline would work, but we have constexpr which implies inline. Change-Id: I7b872e65a554a9a9feb39845717c5dba7ba6777c Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-05-051-0/+0
|\ \ | |/ | | | | Change-Id: I7a3925ad8e4f97461b64a70217102ed900430253
| * Update qbs submodule to HEAD of 2.0 branchv10.0.1Christian Kandeler2023-05-031-0/+0
| | | | | | | | | | Change-Id: I649138237245120f7dd9448dfdb1027375dbb114 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-04-291-0/+0
| | | | | | | | | | | | | | Change-Id: I861f73625162351639b8f1ab61d0442cc061fad3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-04-281-0/+0
| | | | | | | | | | | | Change-Id: I357d5d0b6fdef8e089f4d8ef633e0ef7b1809a01 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | QtSingleApplication: Introduce QTC_FREEZE_DETECTOR env varJarek Kobus2023-05-042-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This may help with tracking the freezes in main thread. By default, when QTC_FREEZE_DETECTOR is set, it detects freezes above the 100 ms and prints the receiver object and event type that triggered the freeze. Change the default 100 ms threshold by setting the QTC_FREEZE_DETECTOR to some different numeric value. Change-Id: Ifb68c7648c09a5329f1f2aa39cd7e29e69a76052 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Utils: Make Layouting a top level namespacehjk2023-04-252-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-04-181-0/+0
|\ \ | |/ | | | | | | | | | | | | Conflicts: src/plugins/android/androidrunnerworker.cpp src/plugins/qtsupport/exampleslistmodel.cpp Change-Id: I1628528dbc0ffe874b49bbe022da5933b1348057
| * Update qbs submodule to HEAD of 2.0 branchEike Ziller2023-04-181-0/+0
| | | | | | | | | | | | | | | | | | Fixes build with Qt 6.5 Change-Id: I9aaae5ade6b9165e54c248d246d20dd0665967bf Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-04-171-0/+0
| | | | | | | | | | | | | | Change-Id: Idc7a0d5d0f2c50b2e6606eb92ae49756db49ddf0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-04-131-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: src/plugins/python/pipsupport.cpp src/plugins/qtsupport/exampleslistmodel.cpp src/plugins/qtsupport/examplesparser.cpp tests/auto/examples/tst_examples.cpp Change-Id: I00273622423fa99d41621969f6ecbbdaa0e18664
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-04-061-0/+0
| | | | | | | | | | Change-Id: Ie07019ff0a93394a3738b5e0dc5718e74668992d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-03-291-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp src/tools/perfparser Change-Id: Ie5643100e0eb00e0933359dce320169b876f5634
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-03-211-0/+0
| | | | | | | | | | Change-Id: I3e86c68b7a4b958c5a5d078400b48a5b4251d044 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-03-171-0/+0
| | | | | | | | | | | | | | Change-Id: I52ec000ac9880d3fb849a71e814186e88f99724b 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>
* | CMake: Fix WITH_SANITIZEMarcus Tillmanns2023-03-141-3/+3
| | | | | | | | | | Change-Id: Ic0ad66f08b29416ddb1a546e84f9ed574b9ac6fc Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-03-131-0/+0
|\ \ | |/ | | | | | | | | | | Conflicts: src/shared/qbs Change-Id: I33e13270c8c15a51b4ce4eaa6b4584041ed124e0
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-03-061-0/+0
| | | | | | | | | | | | Change-Id: Ibc1100fd624e4ad51e5ae297cddd8e20f572b687 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Terminal: Add required 3rdparty librariesMarcus Tillmanns2023-02-231-0/+0
| | | | | | | | | | | | Change-Id: Ic477e305f78632f5c454cd639dfc7e41fb643fe1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | Add missing include guardsFriedemann Kleint2023-02-222-0/+4
|/ | | | | Change-Id: I47b751edf86e33560f1cabb4930926efb1fb2ff4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-02-171-0/+0
| | | | | | | Change-Id: I7451d19dfc52fc416ecb3e4594912480fb131549 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>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-02-131-0/+0
| | | | | | Change-Id: Id69e8571ae1ac276ebfcab1eb0994012376cf4c4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Proliferate Tr::tr in various placesAlessandro Portale2023-02-103-28/+35
| | | | | | | | | | This changes several tr() calls which were either missed during Tr::tr- ization or were added later. Found with regular expression: (?<!(Tr::)|([\w]))tr\( Change-Id: I1c0c03589e941614a7a8449ecfebc7d2cad396c3 Reviewed-by: hjk <hjk@qt.io>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-02-071-0/+0
| | | | | Change-Id: If53431a0cf8bf412a28e606b0712e0acb26e07f5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/9.0' into 10.0David Schulz2023-02-011-0/+0
|\ | | | | | | Change-Id: I7e171601cd7317b48d5074bbc0ead127813d596c
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2023-01-271-0/+0
| | | | | | | | | | Change-Id: I5c6a67335460bdc8b45e3808ddff22d91cfe3671 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2023-01-251-0/+0
|\ \ | |/ | | | | | | | | | | Conflicts: src/libs/utils/filepath.cpp Change-Id: I04761cf7c99ed67322a592cbd0ae48c1ae9c708a
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2023-01-251-0/+0
| | | | | | | | | | | | | | Change-Id: I38933e0ca016d31a0702b368c9b7ccd72741d3f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Qmake: Enhance remote parsinghjk2023-01-1016-145/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing remote .pro files the parsers needs to pretend it runs on the remote device. All internal data are now "local on the remote", so that string manipulation in .pro files "just works", and a 'device root' string is passed around to relevant functions which then use it to construct FilePath::toFSPathString()-style paths that our custom FSEngineImpl can then map to the real device. Remote $$system() calls are intercepted by the local parser and redirected using the usual QtcProcess mechanims. Quite a bit of the ProParser needed adjustments, so there's some potential for regression. Task-number: QTCREATORBUG-28242 Task-number: QTCREATORBUG-28161 Task-number: QTCREATORBUG-28355 Change-Id: I6100e7aca4e1db35f5e9689004110aab57e2c595 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Replace GPL-3.0 with GPL-3.0-onlyKai Köhne2023-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | GPL-3.0 is deprecated by SPDX. Change done by find . -type f -exec perl -pi -e 's/LicenseRef-Qt-Commercial OR GPL-3.0(?!-)/LicenseRef-Qt-Commercial OR GPL-3.0-only/g' {} \; Change-Id: If316a498e3f27d2030b86d4e7743b3237ce09939 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Remove GPL-3.0+ from license identifiersKai Köhne2023-01-0654-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 GPL-3.0+ from license identifiers, part IIKai Köhne2023-01-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original text before the SPDX change did not include a potential GPL-4.0, but GPL-2.0. 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 LGPL-3.0/LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only/g" {} ; Change-Id: Id5e40d3e174ecea660a09e88a02bd57505f1875d Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | CMake build: Use version-less Qt targetsEike Ziller2023-01-056-10/+12
| | | | | | | | | | | | | | | | | | Since we do not support Qt < 5.15 anymore, and as a first step for getting rid of our special FindQt5.cmake. Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | plugins: Remove foreach usageArtem Sokolovskii2022-12-205-29/+36
| | | | | | | | | | | | | | Change-Id: Idf60caed3b5f4ec4c6e990a9e3188487bcc824f8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | ProParser: Prefix mkspecs with remote rootshjk2022-12-133-2/+18
| | | | | | | | | | | | | | | | | | When needed. Change-Id: Ibb159ce2513eb0d4023565dd11bc4c7dff5d0ec2 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | QMakeProjectManager: Progress towards reading remote .pro fileshjk2022-11-291-11/+23
| | | | | | | | | | | | Change-Id: I26d6d47ac7cd44ec2877243d562de1d90ba45054 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2022-11-211-0/+0
|\ \ | |/ | | | | Change-Id: Idd9c2b1bf787040b7b415b7cda29035227ca1011
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2022-11-181-0/+0
| | | | | | | | | | | | | | Change-Id: I595bcd4789dfcf21a87391e465d33faf00bdd808 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>
* | Remove unused includes of QLayoutJarek Kobus2022-11-183-7/+6
| | | | | | | | | | Change-Id: I12777e07f3d6fcc639b48f02080e73b1a0a3ea30 Reviewed-by: hjk <hjk@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2022-11-071-0/+0
|\ \ | |/ | | | | Change-Id: Ie24672b00aae6c0afa5931d87e6e1c24fb841161
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2022-11-061-0/+0
| | | | | | | | | | | | Change-Id: I521dd1cd921197392b359aee8e3b9fb9546a6cbd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2022-11-031-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/plugins/qmldesigner/components/edit3d/edit3dwidget.cpp Change-Id: I154a9ababa9e166cb06e98652d481fe6234f6399
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2022-10-281-0/+0
| | | | | | | | | | | | | | Change-Id: I3a991428981c95abd92a7e95f70aac5d3f008b7a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Help: Remove duplicate resultsMarcus Tillmanns2022-11-021-4/+1
| | | | | | | | | | | | | | Workaround for QTBUG-108131 Change-Id: If3de18249fe11b753323c5375559d5ffd0ef0673 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2022-10-181-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/plugins/qmldesigner/components/edit3d/edit3dwidget.cpp src/plugins/vcsbase/vcscommand.cpp Change-Id: I2d33113bfb2ea7134550cda1de4e2c21e6711778
| * Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2022-10-181-0/+0
| | | | | | | | | | | | | | Change-Id: I7781942c78d940f35a02fc35ae86435fe6fd22be Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Eike Ziller2022-10-101-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/qmldesigner/CMakeLists.txt Change-Id: I500420df35519e6903abc570d1283185f01bf900
| * Port from qAsConst() to std::as_const()Marc Mutz2022-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I88edd91395849574436299b8badda21bb93bea39 Reviewed-by: hjk <hjk@qt.io>
* | Sanitize: Add sanitize flags to shared librariesMarcus Tillmanns2022-10-043-0/+12
|/ | | | | | | | For MSVC, all libraries need to have the same flags, therefore we add them here. Change-Id: If980ca138dfde0a5ec52b1879c2c703309950a37 Reviewed-by: Eike Ziller <eike.ziller@qt.io>