aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-011-0/+0
| | | | | | | | | | Change-Id: I10e4448d6edffb3f7bdea3ca8a9a7fd4078e21d8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Replace QFile::exists by QFileInfo::existshjk2023-09-011-1/+1
| | | | | | | | | | | | | | | | QFile::exists only calls QFileInfo::exists, so this saves one function call per invocation. Change-Id: I41cb407345654eeead14455a4955b8b9b015aedc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Utils: Use Key more widely in QtcSettingshjk2023-08-301-1/+1
| | | | | | | | | | | | | | And adapt user code. Change-Id: I6efe4ebe6823de4cc862f304a57e041b02c40eac Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | Merge remote-tracking branch 'origin/11.0'Eike Ziller2023-08-291-0/+0
|\| | | | | | | | | | | | | Conflicts: src/plugins/projectexplorer/miniprojecttargetselector.cpp Change-Id: Ie831644eb1c69beed6791cbc67cbfb9309dcd351
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-08-251-0/+0
| | | | | | | | | | | | Change-Id: I7cf53617cd6b9769d26b90036fc6be615d8b1702 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * Revert "App: Replace QtLockedFile usage with QLockFile"Alessandro Portale2023-08-2412-15/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1fca05959f0a321943d803941c2fcdb7f6f0258d. Reason for revert: Portale +2'ed under the assumption that this goes into the master branch. This year old issue should definitely be fixed, but typically not that urgently in a .3 patch release Let's revert this and move it on master, please. I take the blame for the messy git history. Change-Id: I8ae5a5e8e89ce38e7fe663b09cb6c2c3ab520ab0 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
| * App: Replace QtLockedFile usage with QLockFileCristian Adam2023-08-2412-548/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had an import of QtLockedFile from 2008. On Windows we could see a lot of QtLockedFile cycles for qtcreator.exe. The 2008 version was using a semaphore. I've tried the latest QtSolutions version from 2016, which was using only mutexes. qtcreator.exe would still show up lots of cycles for QtLockedFile. Then switched to QLockFile (added in Qt 5.1), and I couldn't see any more CPU usage! Task-number: QTCREATORBUG-29416 Change-Id: Ibfd102f3e90de39c807ff1140e597b79a7b6ca8e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | App: Replace QtLockedFile usage with QLockFileCristian Adam2023-08-2412-548/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had an import of QtLockedFile from 2008. On Windows we could see a lot of QtLockedFile cycles for qtcreator.exe. The 2008 version was using a semaphore. I've tried the latest QtSolutions version from 2016, which was using only mutexes. qtcreator.exe would still show up lots of cycles for QtLockedFile. Then switched to QLockFile (added in Qt 5.1), and I couldn't see any more CPU usage! Task-number: QTCREATORBUG-29416 Change-Id: Ibfd102f3e90de39c807ff1140e597b79a7b6ca8e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit 1fca05959f0a321943d803941c2fcdb7f6f0258d)
* | Fix accidental submodule updateChristian Stenger2023-08-171-0/+0
| | | | | | | | | | | | | | Amends e34762c84436c9b8b3d35f119a893dcd6cb4f4db. Change-Id: I22b5599289ba314fb9d8897f8f5b45cb099ef9d7 Reviewed-by: hjk <hjk@qt.io>
* | Add CompilerExplorer pluginMarcus Tillmanns2023-08-171-0/+0
| | | | | | | | | | | | Change-Id: I534dea195a0b74f177fc227483752777485be177 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* | Merge remote-tracking branch 'origin/11.0'Eike Ziller2023-08-031-0/+0
|\| | | | | | | | | | | | | | | Conflicts: src/plugins/beautifier/clangformat/clangformatsettings.cpp src/shared/qbs Change-Id: Ie614f036ef9529a3cae6366a9313eded988d725c
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-08-021-0/+0
| | | | | | | | | | Change-Id: I610b0a1936e724aff6fda6e76efc78615e0b86d9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-08-011-0/+0
| | | | | | | | | | Change-Id: Iedb3708df80a1dcfeb7663ccff90fc7b4be4a400 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-07-311-0/+0
| | | | | | | | | | | | | | Change-Id: Ia4a7fe9c80b2936678a80b1b0a4e25f6695d6097 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-07-141-0/+0
| | | | | | | | | | Change-Id: I55fe2b4a6afa56fb01eba6758296f4d076b2fc5b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Help: Store and restore size of TopicChooserTasuku Suzuki2023-07-182-1/+17
| | | | | | | | | | | | | | The default size seems too small to use Change-Id: Ia8284e1e8b97ee7c76dc4d1ce807fec017ff10dd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Merge remote-tracking branch 'origin/11.0'Eike Ziller2023-07-102-1/+1
|\| | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs Change-Id: If3ada34dcc764fa1d0cce04fd343fb5a02c2fbaa
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-07-071-0/+0
| | | | | | | | | | Change-Id: Ic104a5c3339ee42a59bdda3c83c9631057e38395 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * QtcJson: Fix warning for Qbs buildChristian Stenger2023-07-061-1/+1
| | | | | | | | | | Change-Id: I8ca6c0494317e7ffd2f64b51380b2dceaf204189 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Qmake: Rudimentary support for prompt() in .pro filehjk2023-07-032-11/+38
| | | | | | | | | | | | | | | | | | | | | | This is good enough to open Qt5's toplevel .pro, but not much more. Ideally, prompt() should not be used in files that are meant to be used non-interactively. Task-number: QTCREATORBUG-18220 Change-Id: I842d3c1a8c742d55cbe89a8d0980f34d179ec011 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Merge remote-tracking branch 'origin/11.0'Eike Ziller2023-07-035-7/+8
|\| | | | | | | | | | | | | Conflicts: src/plugins/debugger/debuggeritemmanager.cpp Change-Id: I9d99d13feff9315f52eacbd84857c63cb69bf804
| * Qmake: More [[fallthrough]] warningshjk2023-06-303-4/+4
| | | | | | | | | | Change-Id: I45acf2b2f6bd11a144786e076d87398d729fe2d8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-06-301-0/+0
| | | | | | | | | | | | | | Change-Id: Ic94bd709ec322078af14de7b4a10db1c033e21a7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * Json: Fix two fallthrough warningshjk2023-06-291-2/+2
| | | | | | | | | | | | | | | | | | gcc 12.2.0 says warning: this statement may fall through [-Wimplicit-fallthrough=] Change-Id: I2deec77b4a79d3ef62339fb71f5ce5b52e2b9ee5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Qmake: Fix a warninghjk2023-06-281-1/+2
| | | | | | | | | | | | | | qmakeevaluator.cpp:297:13: warning: this statement may fall through [-Wimplicit-fallthrough=] Change-Id: I157ba28e438b623d41dc7444c1381ecd649d3425 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Build systems: Do not put qbs plugins under the qtcreator plugins dirChristian Kandeler2023-06-281-1/+5
|/ | | | | | | | Otherwise, the extension system will unnecessarily try to load them at start-up. Change-Id: I7a932904835cb387e3cf10924ca79a58e5f92b33 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-06-231-0/+0
| | | | | | | Change-Id: I66789d70fb1379eadc614ed629fadde69ae729c9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Utils: Fix compilation with namespaced Qthjk2023-06-121-3/+2
| | | | | Change-Id: I5e9ce4a637672fece8884d88c87fc8aaee7d9cc3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-06-091-0/+0
| | | | | Change-Id: I82c5e3fc6850647e30a557552adfeb29934f0633 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* All: Fix some more Qt 6.7 induced deprecation warningshjk2023-06-081-2/+2
| | | | | Change-Id: I4f3fc9c34ff664ab153d4a9a641ec84a11e555a9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-06-021-0/+0
| | | | | | | Change-Id: I3d670f8192f79806161fd7871fa9e5ff8c398f22 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' into 11.0Eike Ziller2023-05-301-0/+0
|\ | | | | | | Change-Id: I110bc26f4469093d262a77c27623ad1dddd1b7c1
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-05-261-0/+0
| | | | | | | | | | Change-Id: I44c759f26b98da440cc75cce4b8da97d4b202054 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/10.0' into 11.0Eike Ziller2023-05-231-0/+0
|\| | | | | | | Change-Id: I707e562f44af0cb541fb94feb3963097aca7ad12
| * Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-05-221-0/+0
| | | | | | | | | | | | Change-Id: I5e8f30c4eefbddd2660e5b68b8a13837c70cdfe4 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | 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>