summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Terminal: Fix selectionMarcus Tillmanns2023-05-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When moving the mouse left or right out of the viewport the selection would grow into the previous/next line without the bounding. Change-Id: Ica38eac3b306338ef24aa4abace66f110edb2aef Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Haskell: More compact settings/manager setuphjk2023-05-1612-165/+95
| | | | | | | | | | | | | | | | | | | | | | | | Use PagedSettings, move related parts Manager interface there, too. Change-Id: I079dad8bbbea39d2424a25867b08c34ab0234ad5 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | App: Remove workaround for crash in regexp jitting in Rosettahjk2023-05-161-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The relevant Qt bug was fixed upstream. This effectively reverts ab16f2984b6661ea172d345 Task-number: QTBUG-97085 Change-Id: I2ccf50f83b42111bbeaa26dfd95b1eb69a62c3bf Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Squish: Fix layout of server settings dialogChristian Stenger2023-05-161-4/+4
| | | | | | | | | | | | | | | | | | | | | Broke with the overhaul of the layout builder. Change-Id: I94da9c8f6b2a67b43b8bfe08e838dbd38400c2f4 Reviewed-by: David Schulz <david.schulz@qt.io>
* | | ExtensionSystem: Start reworking initialization order systemhjk2023-05-163-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | Allow specifying object creation without immediate creation (but create them nevetheless very soon). Change-Id: I01b91f7cf753ced61705d3f26352548b268be6b5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | CppEditor: Add quickfix for creating a member function from useChristian Kandeler2023-05-163-73/+311
| | | | | | | | | | | | | | | | | | | | | Fixes: QTCREATORBUG-10356 Change-Id: If7376e766f2817949259591560c74bd6fb0e0cd6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Utils: add tests for Position::fromPositionInDocumentDavid Schulz2023-05-162-0/+30
| | | | | | | | | | | | | | | | | | | | | Change-Id: I2b530cf62a4defe0292c51834b1e5093a7d5e55f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | SpotlightLocatorFilter: Remove no-op call to setConfigurable(true)Jarek Kobus2023-05-161-1/+0
| | | | | | | | | | | | | | | | | | | | | Change-Id: Iafc9b1f3f7e0e5e214b44ab29bbd2537a0bbb569 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | LocatorWidget: Drop Utils namespace qualifierJarek Kobus2023-05-161-27/+25
| | | | | | | | | | | | | | | Change-Id: Ife0fb3a5908326136531801c6d8e372ed10827a4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Build: Avoid passing unsupported flag to MSVC linkerOrgad Shaneh2023-05-161-1/+1
| | | | | | | | | | | | | | | Change-Id: Ia73aeccb824bca10ce928cb82d5ad77033521527 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | Haskell: Build with Qbs as wellChristian Stenger2023-05-161-0/+1
| | | | | | | | | | | | | | | | | | Change-Id: Ia8f9fd3c22acc50c149594859a0471b0e58fc027 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Utils: remove duplicated testDavid Schulz2023-05-161-4/+0
| | | | | | | | | | | | | | | Change-Id: I0391feb848af09295afd9d3e84e25337023c24b6 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | Utils: Make CTAD work with std::unexpectedMarco Bubke2023-05-161-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aliases are not working with CTAD before C++ 20. Instead of aliasing some types we simply importing the namespace tl into the namespace Utils. This enables some not aliased things too. Change-Id: Ic61a50bedbbf7253ecb5bb1f6dc0624dcc704aa0 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | ILocatorFilter: Remove calls to setDefaultIncludedByDefault(false)Jarek Kobus2023-05-1611-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, setDefaultIncludedByDefault() is set to false, so no need to repeat it now in direct subclasses. Leave it only inside the AllProjectFilesFilter, as the DirectoryFilter superclass sets it to true. Change-Id: Ib66d112a3bfeed52315663f6898148cf5c5d88b1 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Locator: Fix style and reuse LocatorFilterEntriesJarek Kobus2023-05-164-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix names of private members of LocatorModel to have one common style. Reuse LocatorFilterEntries where possible. Change-Id: Icca1e396b9fafd165adf35939dd7859032f90c0c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | ILocatorFilter: Remove prepareSearch() and matchesFor()Jarek Kobus2023-05-163-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | Implement matchers() instead. Make matchers() a pure virtual method. Change-Id: I931cb9a5787bc796968cd2123e14d33002169588 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Utils: add tests for Position::fromFileNameDavid Schulz2023-05-164-28/+106
| | | | | | | | | | | | | | | Change-Id: I321b91567e47e08883c7b991cd24d02bb8a9b9c6 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | BaseFileFilter: Remove me - I'm not needed anymoreJarek Kobus2023-05-164-318/+0
| | | | | | | | | | | | | | | | | | | | | Change-Id: I19effcb846f57838b47352c19aec0d521e1c3ecd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | QMakeProject: Use PagedSettings page for optionshjk2023-05-166-115/+58
| | | | | | | | | | | | | | | | | | | | | Also adapt to a few recent usage changes. Change-Id: I33f45fe7c2b8738280a7c81ddb9110cb8714c45a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | RunConfigurationFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-161-75/+19
| | | | | | | | | | | | | | | | | | | | | | | | Since the base class vanished, rename the filters so that they have the common prefix now. Change-Id: I21c8d1f3ea3c3ad22063d7db8be72e66d449e701 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | ExecuteFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-162-57/+19
| | | | | | | | | | | | | | | | | | Change-Id: Ib1f001f366ef78f359d7c04cf8861ae59b9d22a9 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Terminal: Fix assertMarcus Tillmanns2023-05-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to fetch a cell outside the valid range did trigger an assert. Change-Id: I5ac3d78aa2249d1559e7603c9e4a9bcea4d0b563 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | CMakePM: Add action to reload CMake PresetsCristian Adam2023-05-159-7/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CMake presets will be reloaded. The preset kits will get the CMake configuration cleared (no more CMakeCache.txt) All the kits will be removed from the project, so that the Kit configuration wizard will be displayed at the end. If a normal Qt Kit was configured, the user will get the chance to import the existing configuration (the initial configuration will be lost though). Change-Id: Ieda83098d7716913d7870b67ab522705da4ed93b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | | Vcs: Use PagedSettings for all plugin settingshjk2023-05-1519-269/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully the last structural change for a while. Settings lifetime is again tied to the plugin private. Change-Id: I221e8b8baa69422306191b48a9f034ef5b1a0dc2 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Mercurial: Follow the Fossil settings setuphjk2023-05-155-15/+24
| | | | | | | | | | | | | | | Change-Id: I3261669991d55c6da5c80c116c2a66c8b7b0d577 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Cvs: Follow the Fossil settings setuphjk2023-05-153-31/+32
| | | | | | | | | | | | | | | Change-Id: I3cd949fa8dad71531c54392de0402783fb314c19 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Subversion: Follow the Fossil settings setuphjk2023-05-155-41/+43
| | | | | | | | | | | | | | | Change-Id: I967396073abbcbc3058a016d5d37fa3fc5645f8a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Bazaar: Follow the Fossil settings setuphjk2023-05-155-33/+34
| | | | | | | | | | | | | | | Change-Id: If711f8a43a6579c72cad1bc98ef24c3fdd83993b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Git: Also use the latest settings setup approachhjk2023-05-1510-63/+63
| | | | | | | | | | | | | | | Change-Id: I34a210575d02d18927c1e0f6d8ea6cb9924c563d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Utils: Delay close signal in pty processMarcus Tillmanns2023-05-152-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The close signal of the conpty process needs to be delayed as it otherwise might arrive before the last output of the process. This should be fixed in the future by using overlapped io for the pipes. Change-Id: I49fe4863672a0b14f5766bbe5ee7b1d8894594ca Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | CMakeProjectManager: Rework CMakeFormatterhjk2023-05-159-444/+175
| | | | | | | | | | | | | | | | | | | | | Use PagedSettings, make setup more local, remove Q_OBJECT Change-Id: I9e91f9e63ed8ad15749323bd039d118562dba1a6 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | | QEventLoop: Remove unused includesJarek Kobus2023-05-152-2/+0
| | | | | | | | | | | | | | | Change-Id: Ic278aa9b204a3caa17e38125d07a0176a8281422 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | | ProjectExplorer: Don't allow remote run in terminalMarcus Tillmanns2023-05-154-35/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Fossil: Make settings more directly accessiblehjk2023-05-158-78/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | I am still not sure how the final pattern may ideally look like but it looks like some kind of singleton access to a plugin's settings helps with clarity. Change-Id: I6a6a5f5b7cfdfb062f5b5231a79086f34e09487f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Fossil: Make operator== fro RepositorySettings a hidden friendhjk2023-05-151-7/+7
| | | | | | | | | | | | | | | Change-Id: I82091ddec03ea10ef0fbd5ec2767a8219a2a3a76 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Fossil: Consolidate optionpage/apply furtherhjk2023-05-153-67/+50
| | | | | | | | | | | | | | | Change-Id: I345c6f38421864630d99a45fd2176ba0836536e9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | FakeVim: only block suggestion when fakevim is in useDavid Schulz2023-05-153-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This fixes the issue that no copilot suggestion were shown after switching documents. Change-Id: Ic81bfbe266877964eeaf688d9915a7937607118b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | ProjectExplorer: Do not override application cursor in TaskViewChristian Kandeler2023-05-151-2/+2
| | | | | | | | | | | | | | | | | | Change-Id: Ia8c332ee4d736c74fd773ecc5aecf8ee1c8345df Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | Uitls: Make BaseAspect::isDirty() virtualhjk2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It's sometimes not so easy to trigger the volatileValue() != value() branch, so create a way to be explicit when needed. Change-Id: I322508a33c935077038d730fd09c819419901353 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | LanguageClient: Remove the old matchesFor() implementationJarek Kobus2023-05-153-312/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename some workspace filter classes to conform to the names for cpp filters. Remove some unneeded intermediate classes now. Change-Id: I1ec0dbb7ed91944e9dd8b1b0f4878b826191a020 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | UrlLocatorFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-152-55/+5
| | | | | | | | | | | | | | | | | | | | | Change-Id: I2d04f4bf66ec12c8c641cbfb39a4c2b0049ecdc4 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>
* | | SpotlightLocatorFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-152-169/+10
| | | | | | | | | | | | | | | | | | Change-Id: If1ecc94b4246a279c3688c7c8320ccbd18b3533c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | CurrentProjectFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-152-42/+12
| | | | | | | | | | | | | | | | | | Change-Id: I2bd960c14056907e6735002120900b6252ea3989 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Perforce: Fix testing settingsChristian Stenger2023-05-152-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | Changed settings had been taken into account only after an explicit Apply and this may be rather confusing. Change-Id: I344ddf18a3cb15b0bc2d2b41a38587395b592e46 Reviewed-by: hjk <hjk@qt.io>
* | | Perforce: Do not wait for process if not set upChristian Stenger2023-05-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The process could be not set up correctly or at all if we exit the start function early. Avoids a soft assert. Change-Id: I9f0d71acc4a440b85dbb26fa656e0b551ae685f4 Reviewed-by: hjk <hjk@qt.io>
* | | Autotest: Fix struct/class misalignmentOrgad Shaneh2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Amends 30af7a9503c. Change-Id: Ie8ca92c427fc3446727d78a76aee492eb789b7ed Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Utils: Use QAbstractButton instead of QCheckBox in BoolAspecthjk2023-05-121-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | Opens the path to use e.g. QRadioButton. Change-Id: Idb1591c0a1486181b8aeb51edb93bc4bfecef834 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | | All: Use the shorter access to aspect values in a few placeshjk2023-05-1221-58/+61
| | | | | | | | | | | | | | | Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | AutoTests: Aspectify parts of main settingshjk2023-05-1218-263/+206
| | | | | | | | | | | | | | | Change-Id: I407b5102e1f2a6647f6fdca01a61dfa422c5d3ee Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Utils: Fix some IntegerAspect value display issuehjk2023-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | ... when a display scale factor was set. Change-Id: I764db99e444f9cc70871c3dbec101d0b65542c4a Reviewed-by: Christian Stenger <christian.stenger@qt.io>