summaryrefslogtreecommitdiff
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* CrashHandler: Fix missing updateMarcus Tillmanns2023-05-171-13/+14
| | | | | | | The change to CheckableMessageBox was missed. Change-Id: I8b7fe1230bcf483f9e5371b878d862aff422d925 Reviewed-by: hjk <hjk@qt.io>
* Solutions: Long live Solutions!Jarek Kobus2023-05-175-8/+11
| | | | | | | | | | | | | | | | | | | | | | Short live Tasking in Solutions! Add src/libs/solutions/README.md with the motivation and hints. Move TaskTree and Barrier from Utils into Tasking object lib, the first solution in Solutions project. Tasking: Some more work is still required for adapting auto and manual tests. Currently they use Async task, which stayed in Utils. For Qt purposed we most probably need to have a clone of Async task inside the Tasking namespace that is more Qt-like (no Utils::FutureSynchronizer, no priority field, global QThreadPool instead of a custom one for Creator). Change-Id: I5d10a2d68170ffa467d8c299be5995b9aa4f8f77 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* ProjectExplorer: Don't allow remote run in terminalMarcus Tillmanns2023-05-151-30/+1
| | | | | | | | | | Currently the process stub does not support starting / debugging processes on remote devices. To reflect this the "Run In Terminal" aspect is disabled for remote targets. Fixes: QTCREATORBUG-29058 Change-Id: I9b3bcd65d4db468c683f2743a49227bfbecaf3d3 Reviewed-by: hjk <hjk@qt.io>
* LauncherSocketHandler: Disambiguate Process nameJarek Kobus2023-05-032-22/+22
| | | | | | | Rename Process -> ProcessWithToken. Change-Id: I75920488107f45198590e0b17fa5c9e7679c6192 Reviewed-by: hjk <hjk@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>
* ProcessStub: Read correct channelMarcus Tillmanns2023-04-041-1/+1
| | | | | Change-Id: Ib26c75f069c90290f7930becdec42bf6ff5aa3d9 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Utils: Send __qtc marker from stubMarcus Tillmanns2023-04-041-1/+51
| | | | | | | | | | Docker and ssh devices need the real process id on the remote device. The process stub now send this if it receives it as the first line of output. Change-Id: I5d3af39651958fc88d21c3854a0fa1d7f51547a6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Merge remote-tracking branch 'origin/qds/dev'Tim Jenssen2023-03-3010-20/+164
|\ | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/filepath.cpp src/plugins/qmldesigner/qmldesignerexternaldependencies.cpp src/plugins/qmlprojectmanager/cmakegen/generatecmakelists.cpp tests/unit/unittest/CMakeLists.txt Change-Id: I017a6075db41a5233487ac855ffe23de2b2bb0ee
| * QmlDesigner: Fix typo in anchors property namesMahmoud Badri2023-03-291-2/+7
| | | | | | | | | | Change-Id: Ibb100babdc1d98bd0c75bda11ac3b184efb0e480 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * QmlDesigner: Do not complete Connections in the puppetThomas Hartmann2023-03-271-1/+9
| | | | | | | | | | | | | | | | | | | | This is not required and does crash with Qt 6.5. Calling component complete on Connections is not required, since they should not be active in the puppet anyway. Task-number: QDS-9533 Change-Id: I686b99adb2d888b7df53e5f7da14a2e0a5d147e7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * Merge remote-tracking branch 'origin/10.0' into qds/devTim Jenßen2023-03-26297-953/+568
| |\ | | | | | | | | | | | | | | | | | | | | | bigger conflicts resolved at: src/plugins/qmldesigner/CMakeLists.txt src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp Change-Id: I08e2a109d8e37cbd77225129854e9e633725bfc7
| * | Use QString::toUpper instead of std::toupperKnud Dollereder2023-03-241-4/+4
| | | | | | | | | | | | | | | | | | Change-Id: I83fd40b9ac2ec8d47078c226390f5b352d4bf9bb Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * | crashpad: change chrashpad dumps location to user directory on macOSTim Jenssen2023-03-062-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary to not pollute the signed and notarized .app bundle. Task-number: QDS-9113 Change-Id: I74e0bced5679faac94b27d2a31ea10a7949fb21f Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * | qml2puppet: fix QtCreator branded buildsTim Jenssen2023-03-031-1/+3
| | | | | | | | | | | | | | | | | | Task-number: QDS-9356 Change-Id: I6bb587a8a5c0d7d905725b1e145fcc9c11ac4994 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * | qml2puppet: add application iconTim Jenssen2023-02-282-2/+56
| | | | | | | | | | | | | | | | | | Task-number: QDS-694 Change-Id: Id8f75d34d81645e9d4ceccff25e57afb658f8777 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * | QmlPuppet: fix enable preview in release buildsTim Jenssen2023-01-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since qmlpuppet is also used as QML runtime for the preview QML debug channel this should be enabled in every build. Change-Id: I0f9c10f1adf24f3db7da2389aa8a72e14b25433d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * | QmlDesigner: Switch to basestate before setting expression in stateThomas Hartmann2023-01-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When setting an expression in a state then the revert list is not properly managed. Therefore we have to temporarily enter the basestate to set the expression. Task-number: QDS-7801 Change-Id: I4f653e83db4a2d05b1cc0b67d22581cee84557ff Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * | QmlDesigner: Work around the issue in QtQuick3D 6.4 geometry cachingMiikka Heikkinen2023-01-231-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QQuick3DGeometry::updateSpatialNode can create QSSGRenderGeometry object with exact same address as a previously created and subsequently deleted QSSGRenderGeometry object (i.e. the memory location is reused). If the previous node was not used for the exact same logical geometry, then you get these artifacts, as QSSGBufferManager uses QSSGRenderGeometry object pointers in QSSGBufferManager::loadRenderMesh function to determine if it needs to reload the geometry and what geometry gets used for each model. The cache still contains data for the deleted node, which is then matched for the new node with same address. This workaround ensures that none of our selection box geometries will have the same generation id with each other or any grid geometries we create, and thus will never get improperly matched in QSSGBufferManager cache. Fixes: QDS-8843 Change-Id: Ib064e4c290cca37258e8f129b0f385d2c45f581e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| * | qmlpuppet: better error when Qt is too oldTim Jenssen2023-01-191-6/+13
| | | | | | | | | | | | | | | | | | Change-Id: I219f2f8ce551e36d2f749d60a6984c3ccc903e5c Reviewed-by: Burak Hancerli <burak.hancerli@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | | Icons: Remove obsolete svg files and scriptsAlessandro Portale2023-03-305-3234/+0
| | | | | | | | | | | | | | | Change-Id: Ibdb42808b70323eca6f751a6f74cd90a3f844ee7 Reviewed-by: Alessandro Portale <alessandro.portale@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 perfparser submodule to version 10.0Ulf Hermann2023-03-211-0/+0
| | | | | | | | | | | | | | | Change-Id: I49d445a4210215b0863f6cb410919a6a41f9fcf3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Utils: Add "pinned small" iconAlessandro Portale2023-03-291-0/+29
| | | | | | | | | | | | | | | | | | | | | To be used it in pinnable floating dialogs. Change-Id: I379a0422af5b0f5dd4045fcaa8086c642832d641 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | MinGW build: Fix a few compilation warningsAlessandro Portale2023-03-281-1/+1
| | | | | | | | | | | | | | | Change-Id: Ib4f85d2ef15a5c06c6d2b175823c196b8588f5d2 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Terminal: Introduce Add/Close icons for the paneAlessandro Portale2023-03-241-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | Required a new "close" overlay. Change-Id: I5268ec280992124ebcee78a73ab58b18e7c9309b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Terminal: Use QtcProcess to start terminal windowMarcus Tillmanns2023-03-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously DesktopDevice::openTerminal used custom code to open a terminal window. This patch changes it to use QtcProcess with TerminalMode::On. This also removes the need for "openTerminal.py" on macOS. Change-Id: Iec978bdd19487ff8e59dcd88c35c2d01b0681022 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Utils: Re-add "press enter to continue" to stubMarcus Tillmanns2023-03-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To keep the terminal from closing immediately, ask the user to press enter after the inferior exited. Make it configurable as the terminal plugin does not need this. Change-Id: I1949895f022a54539a6139be9f92fdc698f6534e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Terminal: Enable TerminalProcessInterfaceMarcus Tillmanns2023-03-205-0/+566
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new helper app "process_stub" that replaces the previous. "process_stub_unix/win". The purpose was and is to allow processes to be "injected" into other hosts apps like terminals while still being able to control and debug them. A new base class called "TerminalInterface" is used for both the new Terminal plugin and the legacy TerminalProcess implementation. Fixes: QTCREATORBUG-16364 Change-Id: If21273fe53ad545d1a768c17c83db4bf2fd85395 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | | qml2puppet: Don't always recompile qml2puppetMarcus Tillmanns2023-03-133-50/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever cmake runs, the app_version.h of qml2puppet is recreated. This was included almost everywhere so a complete rebuild of qml2puppet would be triggered. This patch moves the app_version.h include into a single .cpp to limit how much of qml2puppet needs to be recompiled. Fixes: QTCREATORBUG-28784 Change-Id: I5064d450ed92ec003f164bcd42be694612011196 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Update perfparser to fix build with elfutils 0.188Thiago Macieira2023-03-121-0/+0
| | | | | | | | | | | | | | | | | | Change-Id: Ib1d2fc7100134f7597cdfffd174aa36d069375a8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
* | | Haskell: Settings/options iconAlessandro Portale2023-03-091-0/+21
| | | | | | | | | | | | | | | Change-Id: I6b65901951fbfd9680bf7617991c47884f67df9c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | SdkPersistentSettings: Fix build - part 2Jarek Kobus2023-03-062-0/+2
| | | | | | | | | | | | | | | | | | | | | Amends c26db7a657ae105227d24077b6a81a555e3138fc Change-Id: Idf934d4095f29ef413f59b211a292b48957d44b2 Reviewed-by: hjk <hjk@qt.io>
* | | SdkPersistentSettings: Fix buildJarek Kobus2023-03-063-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Amends bb4d9c92e77f44b55f06a8b8080b5f35d363a1f5 Change-Id: If20b80f30d87b1be8f606cab402c5a220fa68d07 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* | | SdkTool: Fork utils/persistentsettingshjk2023-03-0614-111/+948
| | | | | | | | | | | | | | | | | | | | | | | | | | | And a few helper classes. This allows SdkTool being build without Creator's Utils, and does not impose restrictions on the development there. Change-Id: Id15db9293f343ad2aeee5c09cc819d112ec144e4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Copilot: Settings/options iconAlessandro Portale2023-02-281-0/+14
| | | | | | | | | | | | | | | | | | | | | Exclusive placeholder. While we figure out the legalities around the original Copilot icon. Change-Id: Iaacebbd8e8a46614659368a4ec7a98b03297e204 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | Terminal: Settings/options iconAlessandro Portale2023-02-281-0/+23
| | | | | | | | | | | | | | | Change-Id: I35729d46fc8013e7af8ba262842a32b61936ad63 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | Nim: Center the settingscategory iconAlessandro Portale2023-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Was off-by-one towards the left. Change-Id: Ib17ddf750729fad102065776603c4a12b5d7431f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | sdktool: Fix CMake configuration on Qt6 within Qt CreatorCristian Adam2023-02-241-1/+1
| | | | | | | | | | | | | | | | | | Change-Id: I9028ad7aa6018b63c5afedb65add6ce765660bb7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-02-161-4/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: src/plugins/clangcodemodel/clangcodemodelplugin.cpp Change-Id: Idb3d6e8fdfd278979f6180dc3795a2138bc2e61d
| * | CPlusPlus: Fix warning in ast2png toolChristian Kandeler2023-02-141-4/+2
| | | | | | | | | | | | | | | | | | | | | Change-Id: Ie278f24b95cd19c49f24ac22999bd293df47c540 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>
* | | CPlusPlus: Always build the toolsChristian Kandeler2023-02-093-9/+6
|/ / | | | | | | | | | | | | | | There is no advantage to excluding the tools by default that outweighs the risk for them to get out of sync with the rest of the codebase. Change-Id: I3ad292aa5648a4448babdf5d06c84b3f5ec94482 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | CPlusPlus: Fix tools buildChristian Kandeler2023-01-273-3/+8
| | | | | | | | | | Change-Id: I330990338b65b19436c908cea08a5280f40e6770 Reviewed-by: hjk <hjk@qt.io>
* | Update perfparser submoduleChristian Stenger2023-01-271-0/+0
| | | | | | | | | | Change-Id: Ie2621847321c64d5d489e9e1ad8b7a8015eac02c Reviewed-by: hjk <hjk@qt.io>
* | Update perfparser submoduleChristian Stenger2023-01-261-0/+0
| | | | | | | | | | Change-Id: I2a6e5987250f746c7d51228b4ec48d7911cf2506 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | SdkTool: Fix qbs buildChristian Stenger2023-01-251-1/+1
| | | | | | | | | | Change-Id: I176cfe634ce8561b92a83e4e3f39b9531aa4f7f8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Update perfparser to masterEike Ziller2023-01-251-0/+0
| | | | | | | | | | | | | | Includes fixes for getting rid of FindQt5.cmake Change-Id: I30a7bc814ec29807e8c07e4be5012f28df3b931a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | qml2puppet: Don't rely on FindQt5.cmakeEike Ziller2023-01-251-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the normal CMake mechanism for finding either Qt 5 or Qt 6, instead of relying of the mapping from Qt 6 to Qt 5 that is done via the custom FindQt5.cmake. As long as FindQt5.cmake still exists, we better assume that Qt5_VERSION could be >= 6.0.0 though. Change-Id: I3d095208e1608da46fe81d4db166aa0cd99c7326 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | sdktool: Don't rely on FindQt5.cmakeEike Ziller2023-01-241-5/+9
| | | | | | | | | | | | | | | | | | | | Use the normal CMake mechanism for finding either Qt 5 or Qt 6, instead of relying of the mapping from Qt 6 to Qt 5 that is done via the custom FindQt5.cmake. Change-Id: Ia9a17d82edfb2f27e10918f05ce8a0d34d9bb5f8 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | QtcProcess: Add closeWriteChannel()Jarek Kobus2023-01-242-8/+11
| | | | | | | | | | Change-Id: I080be230ec420ead2866f9481123125361e57033 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | Merge remote-tracking branch 'origin/qds/dev'Eike Ziller2023-01-126-25/+91
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/updateinfo/updateinfoplugin.cpp Change-Id: Ie1bf2ad434f0224fb91caf91b443daae3d5b5ec0