aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Make more noise againv11.0.3hjk2023-09-251-2/+1
| | | | | | | | | ... when attaching in connection with Run-in-terminal fails due to strict yama scope settings. Change-Id: I27731e36f07d99f817f606cb4625dc3a39dabc72 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ExtensionSystem: Add total real time to profiling reportEike Ziller2023-09-252-1/+6
| | | | | | | | | | | | | | The original total only contained the time spent inside of plugin methods, but a lot of things get delayed arbitrarily to the event loop currently. That is included in the new "total startup". Task-number: QTCREATORBUG-29540 Change-Id: I832bb972d85bc4cf82f098e4cbf5d3ff3800d14a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 026848eaddf377b70d42ddf13ec15fe1f73d3b0a) Reviewed-by: hjk <hjk@qt.io>
* ExtensionSystem: Always generate profiling dataEike Ziller2023-09-258-47/+75
| | | | | | | | | | | | | The overhead is minimal and can be shown at a later point even when not printing profiling data to the terminal. Move the data to the plugin spec for later retrieval. Task-number: QTCREATORBUG-29540 Change-Id: I392ff85a8a8b5c01ecba07fefd06e5029f692bf6 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 4da8430cab471afb6f43cd540d20e88be6545a10)
* Add change log for 11.0.3Eike Ziller2023-09-221-0/+123
| | | | | | Change-Id: I702c876d1af8884349367dbc1f21436656a05c76 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-221-0/+0
| | | | | Change-Id: I1817cb737f2db33ad9b10be49baba37570f2c677 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Adapt to quick3d private API changeMiikka Heikkinen2023-09-212-8/+4
| | | | | | | | | | | | Some quick3d utility functions were moved under QSSGUtils namespace. We only used one one-liner function from there, so just copied the implementation into puppet to avoid this dependency. Change-Id: I0b08157732161c750b3e53873fd10e1b20137b04 (cherry picked from commit 291e3096cd5d0763370238252143c3bb4fe93839) Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* qtc-askpass: Quit after retrieving the passwordChristian Kandeler2023-09-191-1/+3
| | | | | | | Task-number: QTCREATORBUG-29619 Change-Id: Ib279ec43b7f67b8eac593d9e2f9800a65db024b7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Python: add build target infos for .pyw filesDavid Schulz2023-09-192-1/+3
| | | | | Change-Id: I7f36fb14f79edf69f043b0ac566c9493e043c6f1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Fix writing test files on WindowsChristian Stenger2023-09-191-1/+1
| | | | | | | | | | | Writing the text test files without encoding can end up in ANSI encoding of the files and in turn a fail when opening as the file is treated read only until correct encoding is used. Change-Id: I9e21e240b3b02011a2266dfda1f1b453c3dad457 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* German translation: SquishEike Ziller2023-09-181-182/+203
| | | | | | Change-Id: If4a4be5a308d842a7441e054ed6028011f4aeb84 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ClangCodeModel: fix setting refactoring markers for clangdDavid Schulz2023-09-151-1/+4
| | | | | | | | | LanguageClient::updateCodeActionRefactoringMarker overwrites previously set refactoring markers. Fixes: QTCREATORBUG-29493 Change-Id: I156b4e2ff65aed5928251bfea184e093df686818 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-151-0/+0
| | | | | | Change-Id: I3435d412498021ab432aeb9f295d25846d39a0ee Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Fix opening cascaded menusChristian Stenger2023-09-141-2/+1
| | | | | | Change-Id: Ieae5d24f60b9e67c602dbf43737ee3a712a7908c Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* RemoteLinux: Fix deployment to root directoryChristian Kandeler2023-09-131-2/+8
| | | | | | | | | Skip mkdir in this case. Fixes: QTCREATORBUG-29597 Change-Id: I716e2703e3599a71306a9126e0a627a519398937 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Doc: Update information about Qt Quick render backendEike Ziller2023-09-131-14/+6
| | | | | | | Qt 6 works different than Qt 5. Remove references to ANGLE. Change-Id: Ie27922d7c9a26d29a1ad4a1f52daa3a1aff7b19a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Remove acknowledgment of ANGLE, no longer usedEike Ziller2023-09-131-174/+0
| | | | | | | | Qt 6 no longer uses ANGLE. Change-Id: I873adc0773a11b1b8d707ecd098aee549d4e6769 Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Remove acknowledgment of three.js, no longer shippedEike Ziller2023-09-121-8/+0
| | | | | Change-Id: I857840f4bfe4ccac6d18f03efbb70e0ea9aafdc8 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* CMakePM: Fix crashCristian Adam2023-09-121-1/+1
| | | | | | | | Amends 6528bd3eeda563d7d692c54b2b7035488f5f8974 Fixes: QTCREATORBUG-29587 Change-Id: I62e469a461dd730858e05d0309151dba4e9fe93c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-081-0/+0
| | | | | Change-Id: Ia27a1690a12a447871d639a739057557860b8b03 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix gdb debugging without terminalChristian Stenger2023-09-081-1/+1
| | | | | | | | | Amends 373886bc21926e77803110765d90a339b57d3af2. Change-Id: I200391d702dc447508b52a9a3f210d08626b1bbf Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
* CtfVisualizer: Never crash with uncaught exception when loading JSONEike Ziller2023-09-081-2/+5
| | | | | | | | | | | If we retrieve a value of a type that doesn't match the actual type in the JSON, the JSON library throws an exception. We should have checks to avoid this, but as a global measure never let exceptions through to Qt Creator. Change-Id: Ibfe830d745a94810f874ccca82b83d57ea72f31e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Terminal: Fix incorrect signal connectionMarcus Tillmanns2023-09-081-2/+0
| | | | | | | | | | | The "process" exiting does not necessarily correspond to the stub exiting. As an example, on linux, gnome-terminal will immediately spawn a new process for the new terminal window and exit itself. The stub will then simply run in the detached terminal window. Fixes: QTCREATORBUG-29488 Change-Id: Ifac0795495901b80638bd10d720b036c09f0146c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CppEditor: Fix removal of "foreign" clang include directoriesChristian Kandeler2023-09-072-1/+3
| | | | | | | | | | The version number does not necessarily contain all version parts anymore. See also 628babb5cb2c9170946b9f0de6c16005f7e39fa7. Fixes: QTCREATORBUG-29571 Change-Id: I71fec628c54b430cf2fe0fe54f4f309a2f811043 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CMakePM: Save document before doing file operations on the CMakeCristian Adam2023-09-051-0/+4
| | | | | | | Fixes: QTCREATORBUG-29550 Change-Id: I5ec360a48adce0d51a7fbe1704c7d4a9125bd913 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* 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>
* QmakeProjectManager: Fix ABI selection change not having an effectChristian Kandeler2023-08-311-1/+1
| | | | | | | | | | | This amends 9c2527eea6d7d2e703e51d056a16cc10c0f12667 and is the third attempt to make this horrific code do the right thing. Fixes: QTCREATORBUG-29552 Fixes: QTCREATORBUG-29561 Change-Id: Ib5136a101d87388385f94c4ecc3e837e09ce034d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix M16 warning restrictionsSemih Yavuz2023-08-302-12/+23
| | | | | | | | | | | | | | | | | In case id is not ancestor, we cannot find that ID in m_idStack by design. The ID of an uncle type could be either popped out or not pushed in yet. The previous implementation, therefore, doesn't restrict M16 messages if non-ancestor ID is referred. As a workaround, disable M16 warnings completely if the enclosing type uses ImmediateProperties. Amends 012f984c27d8513e304d894f986977548d3c1add Task-number: QTCREATORBUG-28468 Change-Id: I47326e005753ff7b94057732602cfeb6dc525bbb Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Update missing French translationsAlexandre Laurent2023-08-301-5965/+8024
| | | | | | | Change-Id: If5bb73eaad3b76b107360f946adc02648e0285ce Reviewed-by: Johnny Jazeix <jazeix@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* German translation: Use more direct translation for some "eingestellt"Eike Ziller2023-08-301-11/+11
| | | | | | Change-Id: I3c8912480c8ce4d7cdf23d9c2f0d40dfdebc035a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProcessStub: Fix start sequencingMarcus Tillmanns2023-08-292-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | An application that is using ptrace will send SIGTRAP as soon as it reaches its execve call. The process stub previously expected the only signal sent from the inferior to be SIGSTOP due to the PTRACE_DETACH call with the SIGSTOP argument. This meant that a race could occur where the SIGTRAP was received instead of the SIGSTOP and so the PTRACE_DETACH did not actually detach correctly. This patch fixes it so that it first waits for the SIGTRAP and then calls detach and waits for the expected SIGSTOP. Should this fail, more debug output is added to ease debugging failures. Fixes: QTCREATORBUG-29463 Change-Id: Ibac8b75de0c5604aeb20faba8aff58633329341e Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CMake: Do not print warning if no run device is setEike Ziller2023-08-291-7/+8
| | | | | | | | | With an iOS kit, there is no run device set if no device is connected, which triggered an assert. Change-Id: I9c435c618daab2601973372efb84f9ddbe9c5998 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Update readme for translationsEike Ziller2023-08-291-17/+65
| | | | | | | | | | | | | | - added link to mailing list - added hint on using stable branch - fixed instructions for new languages - added information and a step for running ts_<lang>_cleaned target - added information about QtC:: contexts - added hint on accepting translations in Linguist Change-Id: I1a1ae8408f64ff91894db9959bea33d2488bae74 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* Terminal: Support yama/ptrace_scope=1Marcus Tillmanns2023-08-291-1/+6
| | | | | | | | | | | We set "PR_SET_PTRACER" to "PR_SET_PTRACER_ANY" which will allow the debugger to attach to the inferior in both mode 0 and mode 1 of yama/ptrace_scope. Mode 2 and 3 are still not supported. Fixes: QTCREATORBUG-29554 Change-Id: I61d9ef3d9128f03769436010c6f250ccdada52bc Reviewed-by: hjk <hjk@qt.io>
* Debugger: Improve libc++ std::string dumperMarcus Tillmanns2023-08-281-6/+5
| | | | | | | | | | | Use isLldb and isGdb instead of exception. Uses name based lookup in case of gdb instead of try/except Fixes: QTCREATORBUG-29526 Change-Id: I6c3aa94503a519331395bd4249c6bf6488c8333f Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix that target selector accumulated labelsEike Ziller2023-08-281-1/+6
| | | | | | | | | | | | | for kit aspects. The widgets added to the "KitArea", including the created labels for the kit aspects, are children of the widget itself, not the layout, so since we do not delete the KitArea widget, we need to explicitly delete the labels too when updating, the same as we do for the aspects' widgets. Fixes: QTCREATORBUG-29519 Change-Id: I605edd4969345d18064c1c00ec4d617499de8eb7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: hjk <hjk@qt.io>
* 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>
* macOS: Allow apps be debugged via process stubEike Ziller2023-08-251-0/+11
| | | | | | | | | | | | | | | This fixes debugging with "Run in Terminal". We usually do not use the disclaim tool when debugging, because LLDB does that itself, but it looks like not having get-task-allow prevents that in the first place. Add that and disable-library-validation (which is needed for get-task-allow when notarizing) to our process stub. Fixes: QTCREATORBUG-29497 Change-Id: I86c184b2b108b62822bf89d80ea2b4ca9190f5b8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ClangTools: Add support for yaml-cpp 0.8Eike Ziller2023-08-251-1/+9
| | | | | | | | | | | | | They renamed their target from `yaml-cpp` to `yaml-cpp::yaml-cpp` Still support < 0.8 though. Fixes: QTCREATORBUG-29537 Change-Id: Iafa6e75998f0120610542b4c744b205aee3392a3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix exclusion of system directories from (DY)LD_LIBRARY_PATHEike Ziller2023-08-251-3/+3
| | | | | | | | | | We should not only exclude children of system directories, but also the directories themselves. Fixes: QTCREATORBUG-29478 Change-Id: I1aa18b2faa03d241b8cc43eb157b5fa49285a12b Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Revert "App: Replace QtLockedFile usage with QLockFile"Alessandro Portale2023-08-2413-15/+566
| | | | | | | | | | | | | 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-2413-566/+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>
* CMakePM: Only set cmake reply fileWatcher after CMake has runCristian Adam2023-08-243-7/+9
| | | | | | | | | | | | | | | | | This avoids the case when CMake would trigger the file watcher when generating totally different json files. For example switching branches and doing a build on a big project, like Qt Creator for example. The filewatcher would be triggered and the UI would freeze for quite a while. Task-number: QTCREATORBUG-29416 Change-Id: I6ff47d8c2553f7718e82d92daae99036f37aca7d Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Bump version to 11.0.3Eike Ziller2023-08-242-4/+4
| | | | | | Change-Id: I9ab3fb0158eee32c8019635bcd9aae2455df98f7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* RemoteLinux: Disable private key path chooser unless key use is selectedhjk2023-08-231-0/+2
| | | | | | Fixes: QTCREATORBUG-29534 Change-Id: I55b0869083ad10a43b635c79c33466b016540a41 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Fix clipping problem in issues paneChristian Kandeler2023-08-221-1/+5
| | | | | | | | | | | Add the missing call to QTextDocument::setTextWidth() in the delegate's paint() method, add a workaround for invalid QStyleOption::rect in sizeHint(), take item indentation into account. Fixes: QTCREATORBUG-29458 Change-Id: I56d9f942d6c82dfac82d357ca0f16138ed39150d Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Utils: Speed up isDirectory for rootsMarcus Tillmanns2023-08-221-0/+3
| | | | | | Change-Id: Ic369bb1b6a5deb84f0da38af7e71d51139a67c9e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* CMake: Remove outdated checkMarcus Tillmanns2023-08-221-1/+0
| | | | | | | Change-Id: I490a68f9b4719c65b4058f5263b13bc5979fd6b2 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* RemoteLinux: Don't use SFTP if source is remoteMarcus Tillmanns2023-08-221-0/+5
| | | | | | | | | | The SFTP does not work if the source files are on a remote devices so we fall back to generic copy in those cases. Fixes: QTCREATORBUG-29524 Change-Id: Iecb2723dfcbb65653ce6f793dc2d7253979540a5 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* RemoteLinux: Don't try to create existing dirsMarcus Tillmanns2023-08-221-2/+4
| | | | | | Change-Id: Ia3af92470d285874c2e469f6ec95cc8c4f412daf Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* SdkTool: Fix sysroot for docker devicesMarcus Tillmanns2023-08-222-2/+2
| | | | | | | | | | | Using QDir::cleanPath on devices paths destroys the path. Also adds workaround for already registered toolkits. Fixes: QTCREATORBUG-29523 Change-Id: Ibb331f3e4e3ec2021e517e341757499a7316b503 Reviewed-by: hjk <hjk@qt.io>