summaryrefslogtreecommitdiff
path: root/tests/manual
Commit message (Collapse)AuthorAgeFilesLines
* Fix Qbs buildChristian Stenger2023-05-171-1/+0
| | | | | | | | | Amends f84199f8b70bb03b66a0dbac3ff4dcdb56094d20 and reverts 796cfceb3a27337e2f613624a8c223761fdd44b8. Change-Id: I7eb686c012bd99cddf36aa16219e3f33de2b15b2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Fix Qbs buildChristian Stenger2023-05-171-0/+1
| | | | | | | Amends f84199f8b70bb03b66a0dbac3ff4dcdb56094d20. Change-Id: I6a233aca13f9908451748c20c1804fa2851043aa Reviewed-by: hjk <hjk@qt.io>
* Solutions: Long live Solutions!Jarek Kobus2023-05-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* TaskTree: Prepare for de-utils-ization - part 2Jarek Kobus2023-05-122-5/+6
| | | | | | | | | Move TaskTree into Tasking namespace. Move Tasking namespace out of Utils namespace. Change-Id: Ib4c1d7f54f1808517e54768dfa27209c33517b61 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
* LayoutBuilder: Rename Id to IDhjk2023-05-101-1/+1
| | | | | | | | | The Id was only used in the demo. "ID" is Not exactly canonical naming, but this clashes often with Utils::Id, so mis-spell until we settle on a proper name. Change-Id: I6fdf806c41abf224f7422ec6c9263db3eb357190 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Layouting: Avoid a lambda in the demohjk2023-05-082-2/+2
| | | | | Change-Id: Ic11936fd2a6da2153a52e39249d49d174ffb8466 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Layouting: Introduce Ids for Itemshjk2023-05-051-9/+17
| | | | | | | | | Intenally just wrapping a 'bindTo' result, but less trigger potential for pointer related peladophobia Change-Id: I25171a2675fb0474ce97c04552ac1cf5ffd6ee56 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Layouting: Add demohjk2023-05-054-0/+77
| | | | | | | | Currently almost the same as the comparison example, but planeed to grow. Change-Id: Id129266a1b5b12438e2fb643ee114e6d816581f6 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>
* Utils: Rename QtcProcess -> ProcessJarek Kobus2023-05-041-1/+1
| | | | | | | | Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c 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>
* Layouting: Handle attach types via setterhjk2023-05-031-4/+6
| | | | | | Change-Id: I862f5cd109db3582b4f029787ec0cded2da39ce6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* LayoutBuilder: Reworkhjk2023-05-037-35/+19
| | | | | | | | | | | | | | | Everying is a LayoutItem now, and everything is split into a proper setup and execution phase. Execution happens only via LayoutBuilder (directly or via convenience wrappers in LayoutItem). No direct access to the widget in creation, funnel out is via the new bindTo() facility. Change-Id: I7eb38fd736ae57a68f9a72a6add5c767da82b49f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Rename asynctask.{cpp,h} -> async.{cpp,h}Jarek Kobus2023-05-031-1/+1
| | | | | | | Follows AsyncTask -> Async rename. Change-Id: I37f18368ab826c9960a24087b52f6691bb33f225 Reviewed-by: hjk <hjk@qt.io>
* Tasking::Async: Rename Async into AsyncTaskJarek Kobus2023-05-031-4/+4
| | | | | | | | | Rename Utils::AsyncTask into Utils::Async. Rename AsyncTaskBase into AsyncTask. Task-number: QTCREATORBUG-29102 Change-Id: I3aa24d84138c19922d4f61b1c9cf15bc8989f60e Reviewed-by: hjk <hjk@qt.io>
* Layouting: Add some example code as show casehjk2023-05-0212-0/+279
| | | | | | Change-Id: I92842c7859514397748e744949688090154772df Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* FakeVim: Accept suggestion with Tab KeyMarcus Tillmanns2023-05-021-8/+7
| | | | | | | | | | * Changed signals to callbacks as only one receiver was ever added * Added "tabPressedInInsertMode" callback to allow accepting a suggestion with the Tab Key Fixes: QTCREATORBUG-28830 Change-Id: Ie70ba595b8802b6100fff495164d8e0471b1354c Reviewed-by: hjk <hjk@qt.io>
* FutureSynchronizer: Change the default value of cancelOnWait to trueJarek Kobus2023-04-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "false" default wasn't really useful. This changes the default value to the following usages: 1. AndroidDeployQtStep Introduced in 91f136ef3ab75471cabcaed9dc16dad9f504add8 The synchronizer was used to cancel the running tasks inside the doCancel(), so the similar behavior should be expected when destructing the AndroidDeployQtStep. 2. GitClient Introduced in f3106ebafe9a02904e822e9698c8b4cbb6c7e0f5 Is used only inside the last line of GitSubmitEditor::updateFileModel(). The running function (CommitDataFetchResult::fetch) doesn't take QPromise<>, so it can't detect if the future was canceled or not. In this case this change is no-op. 3. ExtraCompiler Introduced in c99ce1f455189864de9a2043730f704d7b024abf The intention was to make it cancellable and finish early on cancel. 4. PluginManager global future synchronizer Introduced in 72bddf9f51fedd064f551bcb4ced5feeb46fdfc1 The intention was to make it cancellable and finish early on cancel. The relevant places in code are marked explicitly for points: 1, 2 and 3. Change-Id: I1a52deb8d1f81d355950c8772bbaa6d0a202fd7e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Make Layouting a top level namespacehjk2023-04-252-3/+3
| | | | | | | | | | 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>
* Utils: Start decoupling LayoutBuilder from Aspectshjk2023-04-252-5/+12
| | | | | | | Makes it easier reusable elsewhere. Change-Id: I86ff9f40229a33690f854f5fda692bc06d6976ef Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMakePM: Allow files to be renamed in project viewCristian Adam2023-04-251-0/+5
| | | | | | | | | | This includes both with source files explicitly specified or resulted from a file(GLOB|GLOB_RECOURSE) call. Fixes: QTCREATORBUG-27538 Change-Id: I5ee113af168bdb8cd0a96e8ab2ae603c0607fb0b Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* CMakePM: Add new / existing source files to projectCristian Adam2023-04-209-0/+152
| | | | | | | | | | | | | | | | | | | This will add the new added source files (.cpp, .h, .qrc, .ui) to the corresponding CMake source file as last arguments for known CMake functions like add_executable, add_library as well for the Qt counterprarts qt_add_executable or qt_add_library. For custom functions the code will insert a target_sources() call. Subsequent calls will add the files to the last target_sources. The previous copy to clipboard mechanism and settings have been removed. Fixes: QTCREATORBUG-26006 Fixes: QTCREATORBUG-27213 Fixes: QTCREATORBUG-28493 Fixes: QTCREATORBUG-29006 Change-Id: Ia6e075e4e5718e4106c1236673d469139611a677 Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-03-291-3/+1
|\ | | | | | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp src/tools/perfparser Change-Id: Ie5643100e0eb00e0933359dce320169b876f5634
| * auto-setup: Add support for conan 2.0Cristian Adam2023-03-171-3/+1
| | | | | | | | | | | | Fixes: QTCREATORBUG-28865 Change-Id: Ifb801a458b4b18de218dee6604f0555cab13ec75 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-03-164-118/+143
|\ \ | |/ | | | | Change-Id: Ie591b7130b33a042509e56701384f8ff4d9cb7f8
| * CMakePM: Add include presets supportCristian Adam2023-03-143-117/+142
| | | | | | | | | | | | Fixes: QTCREATORBUG-28894 Change-Id: I9359cb85c230f2db02f08427af9832f168a32c41 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
| * Debugger: Fix manual plugin testRobert Löhning2023-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | The location of the dll doesn't depend on the application's current directory but its binary's location. This caused the manual test to turn false positive when running from Creator, because on Windows, the binaries are placed in a subdirectory named "debug" or "release", respectively. Change-Id: Ie5115fbacd30ad0ef85bc258d405ae3ac42f8ece Reviewed-by: hjk <hjk@qt.io>
* | DeviceShell tests: Use QtConcurrent instead of Utils::mapped()Jarek Kobus2023-03-121-17/+17
| | | | | | | | | | | | | | | | Fix some const correctness and style. Change-Id: Id284f14530ff454e92e3c77b33e0844fcb429daf Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | TaskTree manual test: Use QPromise for async callsJarek Kobus2023-03-011-3/+3
|/ | | | | | | Change-Id: I532520af644b431441d74c0e06eff4d06d0b3924 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Tests: Fix shootout testChristian Stenger2023-02-271-1/+1
| | | | | | | Broke with 435a4e9dd49 long time ago. Change-Id: I1f3c88f63f6a3141c65ee0e2fdc5d8b102283618 Reviewed-by: hjk <hjk@qt.io>
* Tests: Remove a couple of tr() callsAlessandro Portale2023-02-102-12/+12
| | | | | | | | No need to have them translatable and to risk lupdating them. Change-Id: I41c84240ed30ffb6e19ab133422f4e5fb3a97aa4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Merge remote-tracking branch 'origin/9.0' into 10.0Eike Ziller2023-02-061-5/+5
|\ | | | | | | Change-Id: I8d73198561f6ff7877d580681ca2a0018b7dc3b1
| * CMakePM: Improve CMake presets kit config hashingCristian Adam2023-02-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amends a3153c535d7e9e64fab530d86e64ab76ef4988e0 QT_QMAKE_EXECUTABLE was not taken into consideration and this would result in not matching kits. Also Visual Studio generator will not have a CMAKE_C|XX_COMPILER values in the cache. On Windows there could be paths with "C:" vs "c:" and the hashes again wouldn't match. Change-Id: I5da5fafbd29f3d1fd8c9615c41b7659e63c30ff1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Haskell: Import from superrepohjk2023-01-275-0/+88
| | | | | | | | | | Change-Id: I83c6c817c78ccbf1aee65847777f2652e19275a5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Utils: Flatten LayoutBuilder related hierarchieshjk2023-01-202-3/+4
| | | | | | | | | | | | | | | | | | 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>
* | LayoutBuilder: Turn Splitter into a LayoutItemAlessandro Portale2023-01-111-1/+11
| | | | | | | | | | Change-Id: I05bdadf7f79966e215b4999db9c2f96cd8f67f9f Reviewed-by: hjk <hjk@qt.io>
* | Qmake: Enhance remote parsinghjk2023-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | TaskTree: Introduce ParallelLimitJarek Kobus2023-01-063-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parallel limit constrains the number of parallel tasks run in the same time. So, if e.g. a group contains 10 children and the parallel limit is 6, only first 6 tasks are being started on the beginning and the rest 4 are being postponed until some running tasks are finished. So, when the one of 6 running tasks finishes the group starts the 7th task and so on. Setting parallel limit to 1 means sequential invocation in fact. The value of 0 means there is no limit and all tasks are run at once. Remove the ExecuteMode enum, as this is modelled now by the parallelLimit. Change-Id: Ice59318be0915401f05bb5a5804078bdc591d09f Reviewed-by: hjk <hjk@qt.io>
* | Remove GPL-3.0+ from license identifiersKai Köhne2023-01-06142-142/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | | 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>
* | Docker: Fix typo in test fileshjk2023-01-052-1/+1
| | | | | | | | | | Change-Id: I4e7c0c0612d9dca8c815c5a378436574c4456a00 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | tests: Remove foreach usageArtem Sokolovskii2023-01-034-6/+8
| | | | | | | | | | | | Task-number: QTCREATORBUG-27464 Change-Id: I0e42da9b04793be959ad050fdecc0c78c98d9fcd Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | Remove unneeded .pro/.pri filesEike Ziller2022-12-206-90/+0
| | | | | | | | | | | | | | | | | | | | Remove qtcreator(_ide_branding).pri, and all remaining .pro/.pri files that depend on it. They have CMake files now. Change-Id: I87d100b49df7ca95694a755cb581cb5eea26aa9a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Merge remote-tracking branch 'origin/9.0'Orgad Shaneh2022-11-281-6/+10
|\ \ | |/ | | | | Change-Id: I231d35f492713f317773b79478b5f7fb97a4fe50
| * CMake build: Make errors of execute_process fail the buildTim Jenssen2022-11-281-6/+10
| | | | | | | | | | | | | | | | | | | | | | Instead of silenty failing and resulting in broken builds/packages. The property is only available since CMake 3.19, so limit the feature to that. Change-Id: I82b06e78540e81a809f7fdfe130648becfc9672e Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Add manual test for TaskTreeJarek Kobus2022-11-187-1/+558
| | | | | | | | | | | | Change-Id: I92ea4d949729f59d2d1e262ecd38fc3be4f463fe Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Remove unused includes of QLayoutJarek Kobus2022-11-181-1/+0
| | | | | | | | | | Change-Id: I12777e07f3d6fcc639b48f02080e73b1a0a3ea30 Reviewed-by: hjk <hjk@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>
* CMakePM: Proper handling of relative toolchain files in CMakePresetsCristian Adam2022-10-252-2/+4
| | | | | | | | Previously it was only tested with absolute paths. Change-Id: I3871da60f3f1b17ae4d2d4cfb69d1be60da1435b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMakePM: Use Utils::Environment for Presets environmentCristian Adam2022-10-251-2/+2
| | | | | | | | | Utils::Environment takes care of the case insesitivity of the key of environment variables on Windows. Change-Id: I624340d30c6b170b5d0a86791f26a4841a0b2fb7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>