summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Utils: fix buildDavid Schulz2023-05-111-0/+1
| | | | | | | | | | | | | | | Change-Id: Ibc9050c8b3dd4a1fcba9e87f70b46908dbbd1dce Reviewed-by: hjk <hjk@qt.io>
* | | Utils: use Text::Position instead of LineColumn in textutilsDavid Schulz2023-05-113-32/+16
| | | | | | | | | | | | | | | Change-Id: I606b0b4f8106bdb2f97383d6c81ac065e7e61858 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | Utils: move extractFromFileName from LineColumn to Text::PositionDavid Schulz2023-05-117-55/+42
| | | | | | | | | | | | | | | | | | Change-Id: Ibb2465e66c280d4201377921f69741a050d94bc1 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | ClangCodeModel: Remove the old matchesFor() implementationJarek Kobus2023-05-115-328/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rename some filter classes to conform to the names for cpp filters. Remove some unneeded intermediate classes now. Change-Id: Ib4fa295fa60da61c42c792556751d954ddb936e7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | CppIncludesFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-112-124/+11
| | | | | | | | | | | | | | | | | | | | | Change-Id: I8c65041e22195ecb44e32a8102800c2020298f71 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-05-1119-75/+185
|\ \ \ | |/ / | | | | | | Change-Id: I98e5e1ad43103984b490c65cdeed84b7414303b3
| * | ClangFormat: Fix code style preferences are grayed outArtem Sokolovskii2023-05-117-19/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Code style preferences are grayed out even when formatting mode is set to disable. Fixes: QTCREATORBUG-29129 Change-Id: Icf82fa0751f9291122c2af55111b6bd5fac85c7b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * | Debugger: Fix defined but not used warningBjörn Schäpers2023-05-111-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Move the currentError function where it is used. Change-Id: Iba669d677b35abc0c9291572c2ccb1df3cd2ed56 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * | Doc: Don't mention qmake in Qt Quick debugging instructionsLeena Miettinen2023-05-112-11/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same field is available for both qmake and CMake projects. Use a screenshot from a CMake project. Also point to "Preferences > Build & Run > Default Build Properties" for globally enabling QML debugging and explain what "Use Project Default" and "Leave at Default" mean. Fixes: QTCREATORBUG-29089 Change-Id: I3d007d10ca3247dc387eaf21d4d4623d7e90167d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * | CppEditor: Fix an error raised by Clang 16hjk2023-05-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | error: integer value -1 is outside the valid range of values [0, 255] for this enumeration type [-Wenum-constexpr-conversion] Change-Id: I1b029099634dcc8f11071aad6a974ec0c41077ce Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * | QtVersionManager: Fix a warning about missing initializerJarek Kobus2023-05-092-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fixes the following warning: warning: missing initializer for member ‘QtSupport::Internal::ExampleSetModel::ExtraExampleSet::qtVersion’ Amends bdfa412b14174e7e81b899ae8323fc78ddd7916e Change-Id: Ieb984664953f53d458297970e09678c499a26197 Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commit a5ad7221841e9fd2c358f1b2a43cfb0fc0c819b9) Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
| * | SquishTests: Improve version detection for importsRobert Löhning2023-05-091-4/+4
| | | | | | | | | | | | | | | | | | Change-Id: If38aa92c22c3390859f738ad5bfa5bacf47302ec Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| * | SquishTests: Fix formatting of exception messageRobert Löhning2023-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | Amends 8d03220017bf7e5c7be51fc36acb56fbde9e3e13 Change-Id: I05266fe6152a8ac2601890e8dcf32fc68d0989d3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * | SquishTests: Some more Python3 adaptionRobert Löhning2023-05-091-1/+1
| | | | | | | | | | | | | | | | | | Change-Id: Iee0fd4107c3423d72a1dc51b0087837e4de46537 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * | CMakePM: Store CMake Autorun state for all toolsCristian Adam2023-05-083-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amends 2f39b51bdc1f73e2d87cc641a8501fd04ee76b4f The default tool's value is taken as default global value, then will be saved for all tools. This fixes the case when the false Autorun value for the default CMake tool would always be set as global autorun with no option to actually set global Autorun value due to the "upgrade" path mechanism. Change-Id: I17076bc0c77b087c5d4048fdfe74ddf91d837fd4 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * | FakeVim: Fix build with Qt 6.6Eike Ziller2023-05-081-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | The connect doesn't work with incomplete type FakeVimHandler::Private anymore, so move the code. Change-Id: I686cd19a985f965cebf7d0a927cff4dc80ae746d Reviewed-by: hjk <hjk@qt.io> (cherry picked from commit e56e3b6f374e00179eb0537198437864dddc47f2)
| * | Utils: Avoid watching directories of watched filesDavid Schulz2023-05-081-13/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not watch directories unconditionally, but only if they contain removed files to check whether those files are readded. This should reduce the number of needlesly watched directories to a minimum and fix performance regressions introduced by 61598eca15e14af64c20d314db382973dfccb2d2. Fixes: QTCREATORBUG-28957 Change-Id: I8fe387e7de32b0fb585074330c7f6ca7eae44730 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: hjk <hjk@qt.io>
| * | Debugger: fix vanishing editor tooltip on expandDavid Schulz2023-05-081-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fetchMore is called multiple times before expandNode and seems to invalidate the index that is passed to expandNode. Since we only need to fetch more when we want to expand the item we might as well just integrate the code of fetch more into expandNode. Fixes: QTCREATORBUG-29083 Change-Id: I0e60e9bb03b53de2e86eea232fb5bb98046bbb80 Reviewed-by: hjk <hjk@qt.io>
| * | SquishTests: Log used Python versionRobert Löhning2023-05-081-0/+1
| | | | | | | | | | | | | | | Change-Id: I60cb928382840f34800af6a8ee1ed7f084acfb93 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Squish: Redo layout of settingspageChristian Stenger2023-05-111-4/+3
| | | | | | | | | | | | | | | | | | Change-Id: I0622423a25942d803f38e85cb4aecd57024666a9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | | FileSystemFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-112-71/+24
| | | | | | | | | | | | | | | | | | | | | Change-Id: I21e714a7cd89e82eb408f89bfe1271c91758f13a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | | Utils: remove OptionalLineColumnDavid Schulz2023-05-114-13/+8
| | | | | | | | | | | | | | | | | | | | | LineColumn already has a isValid() that is sufficient for the use case. Change-Id: I7f6e1d64b66a9af05d74ce0ef45717265dc28ed3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | Utils: Make column of LineColumn consistently 0-basedDavid Schulz2023-05-117-12/+11
| | | | | | | | | | | | | | | | | | Change-Id: I4ab153d1c55653936efbcdc13ac04463185930e0 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | CodeAssistant: block suggestions while proposal is visibleDavid Schulz2023-05-111-0/+3
| | | | | | | | | | | | | | | Change-Id: I78068306252c5c32304ea97e3abb2d87fdee7832 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | Copilot: remove unused function and memberDavid Schulz2023-05-112-9/+0
| | | | | | | | | | | | | | | Change-Id: I77bc6533f658dbd6c3b58f603f384e6c516974df Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | | Vcpkg: Use new PagedSettingsAlessandro Portale2023-05-113-41/+29
| | | | | | | | | | | | | | | Change-Id: I75d1b61a05efa630db080a2750d214636c02b5d9 Reviewed-by: hjk <hjk@qt.io>
* | | Docker: Use PagedSettingshjk2023-05-103-35/+20
| | | | | | | | | | | | | | | | | | | | | More compact. Change-Id: Ic21c6ea9e7faf67e5f507f336f18e1134b371a97 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | Nim: Use PagedSettings for Tools settings pagehjk2023-05-103-32/+19
| | | | | | | | | | | | | | | Change-Id: Iee5f4a89380499d781a42c3e0b6bc82b7386c28e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | Core: PagedSettings, next attempthjk2023-05-102-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | We cannnot pass the LayoutItem directly but need the lambda to postpone creation of aspect subwidgets until the settings page gets into view. Change-Id: I420e82f66fd5c4781451d6851cc38368e7501abc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | CMake: Use new PagedSettingshjk2023-05-103-43/+31
| | | | | | | | | | | | | | | | | | | | | More compact. Change-Id: Ie800e52b98d23e1acd1deba9d6b6e5f778c016bb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | ProjectExplorer: Rename 'Device' into 'Run device' in Kit settingshjk2023-05-104-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Similar for 'Run device type'. Less ambiguity. Change-Id: Iab88009b92ae760f14140ac8bbdadea51d6dfad4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | CommandLocator: Remove the old matchesFor() implementationJarek Kobus2023-05-102-94/+8
| | | | | | | | | | | | | | | | | | | | | Change-Id: Ide5f9141bc756059aadc561800b34e7c4fffa5cf Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Android: Use functor to apply changed settingshjk2023-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | Change-Id: I12a62dd4aa34ba3c23b0569e3b2724c2d7415ded Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | AutoTest: Remove layout hack from CatchTestSettings pagehjk2023-05-101-6/+0
| | | | | | | | | | | | | | | | | | | | | Does not look needed anymore. Change-Id: Ie00b60521b7e41039161978b195d00d2162ce95b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | TestSettings: Use functor to apply changed settingshjk2023-05-101-48/+39
| | | | | | | | | | | | | | | | | | | | | | | | Baby-steps towards use of aspects. Change-Id: I08a0db083c29e754cf58a631dc3a5c36f400ee96 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Utils: Fix the applying of new base color at run-timeAlessandro Portale2023-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the base color was changed via the color picker that opens with shift-click on the upper left toolbar area, some widgets were not instantly updated with the new color. This change ensures that all (visible) widgets instead of just all top level windows get updated after changing the color. While this method is potentially more expensive, it does not effect the start-up negatively, because on start-up StyleHelper::setBaseColor() gets called before the mainwindow is shown. Fixes: QTCREATORBUG-29135 Change-Id: I227c2f243ffcd9f8210b9d2d1a47ad0494663d50 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Utils: Centralize style-related property names as constantsAlessandro Portale2023-05-1030-67/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces string constants in Utils::StyleHelper. They are used by code all over in Qt Creator to tell ManhattanStyle how to paint certain widgets. Change-Id: Iecca36103f80084cd5fe93fcb6b18b8fbb3a32bb Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | Markdown: Save and restore stateEike Ziller2023-05-101-61/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores the state of the markdown editor, including text editor state, preview scroll position and button states, when closing and re- opening a file. Change-Id: Ibf1cadd5e0e80149123c6c5f599157e931330343 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | | Markdown: Save visible views as defaultEike Ziller2023-05-101-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember if editor and/or preview are visible and use it as default for when a markdown editor is opened. Change-Id: I19414adfd118003628783fadeae472b7bb7915f5 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
* | | LocatorFiltersFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-67/+2
| | | | | | | | | | | | | | | | | | | | | Change-Id: I28bef914103b3650badf1ec44fdcd4a1081384dc 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>
* | | LineNumberFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-61/+5
| | | | | | | | | | | | | | | | | | Change-Id: Ia45de8cd265300776c9cb0660b491f9584620a14 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | JavaScriptFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-128/+7
| | | | | | | | | | | | | | | | | | Change-Id: I5a799238d3aae3ae342580e58af4d6993618f101 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | HelpIndexFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-60/+2
| | | | | | | | | | | | | | | | | | | | | Change-Id: I867520fc790832c93381f390bcd74e4908086461 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>
* | | QmlJSFunctionsFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-103-59/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the filter to QmlJSFunctionsFilter, to conform to the other naming (CppFunctionsFilter, LanguageFunctionsFilter, ClangdFunctionsFilter). Change-Id: I6859c5c8f6d133d1f4dd49d4ee2742b5744c1463 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | ExternalToolsFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-64/+2
| | | | | | | | | | | | | | | | | | Change-Id: I79e81103b0200ea9da56ecb84980e1814a01f2f1 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | CMakeLocatorFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-103-108/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since the base class vanished, rename the filters so that they have the common prefix now. Change-Id: I164c7c17229f5c5b05649afe9e7aa79069a82f82 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | | ActionsFilter: Remove the old matchesFor() implementationJarek Kobus2023-05-102-136/+6
| | | | | | | | | | | | | | | | | | | | | Change-Id: I9f2d4c3d070869a720b63089b689c22c06dd4f4e Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | | Utils: Fix groupChecker functionality for aspectsChristian Stenger2023-05-101-1/+3
| | | | | | | | | | | | | | | Change-Id: I1a44384cfebe8e23d8778ccb97f5846bfcbf0b9f Reviewed-by: hjk <hjk@qt.io>
* | | LocatorWidget: Dismantle the old matchesFor implementationJarek Kobus2023-05-1010-226/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using it internally. Make ILocatorFilter::matchesFor() temporarily implemented by default so that the reimplementations in subclasses may be removed without leaving them abstract. Change-Id: I0c5d4ff70145a37d29385ee58a051c9c5ddfab8e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | SilverSearcher: Refactor the Silver Searcher parserJarek Kobus2023-05-104-119/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | This speeds up the parsing by ~20%. Change-Id: Ibddfa4e1162e1fcbeeda9e441bdb7e92db903f88 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>