Commit Graph

72811 Commits

Author SHA1 Message Date
hjk
957319fdbc Axivion: Make the dashboard and issues pane button checkable
Change-Id: Idec60b73fa4bfe0057e7d8f9eef3fa403ce6a5cd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 14:27:52 +00:00
Mahmoud Badri
e8975d6dc0 QmlDesigner: Fix collection editor model list empty sometimes
Also few tweaks

Change-Id: I6041c0b37aa5c576e0c4efc988ed15eae02d767f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-02-22 13:41:13 +00:00
Andre Hartmann
1117954950 Git: Respect author and mail mapping
Git allows mapping authors and mail addresses:
https://git-scm.com/docs/gitmailmap

While using this file already worked for (instant)
blame, log and show still used the original values
from the repo. This patch makes the display within
Creator consistent.

Change-Id: I3c0e764c435a505e285941f4fdc91131f85af590
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-22 13:15:43 +00:00
Jarek Kobus
47b5d7eab3 Axivion: Handle the error on key read like we do on key storing
Change-Id: Icb53d4e005f9bfa2dd1a20c763def1e6ac04e784
Reviewed-by: hjk <hjk@qt.io>
2024-02-22 12:50:59 +00:00
Christian Kandeler
faa6ad50c4 CppEditor: Remove unused signal
Amends 760cf632af.

Change-Id: I4b5b1c74549d293a3664825bee461c9a3cfbd342
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-22 12:47:03 +00:00
Marcus Tillmanns
1531d2f010 Terminal: Only react to Double click of Left Button
Change-Id: I94131389851b2939c2a3e91d9d9a70890928f882
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-22 12:36:27 +00:00
Marcus Tillmanns
8b443ace57 Utils: Compare osType case insensitively
Change-Id: I1bc8fb24a579a00114eb2a8ef27806a0c79c35ae
Reviewed-by: hjk <hjk@qt.io>
2024-02-22 12:32:22 +00:00
Christian Stenger
ecf1ada3f5 Axivion: Fix path filter query
If the issue kind has multiple path columns filtering by path
failed as it used just the single path filter.
Use common approach for all.

Fixes: QTCREATORBUG-30420
Change-Id: I60460cebdc4a39b9af57c4f1331cb8cb9eedb67a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 12:32:01 +00:00
Eike Ziller
c829bf7643 Core: Small tr fix
Use "convert to", and the standard is ASCII

Change-Id: I0a687f9bcb8f2c97932a03b45e10a80adbd993dc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-22 12:22:52 +00:00
Jarek Kobus
c400664ab2 Axivion: Don't report error on semi working setup so intrusively
Might be annoying when typing in filter field when storing keychain
isn't full functional.

Change-Id: I36a1a8e8e8eefcea381a6392e3df032648ed8dc4
Reviewed-by: hjk <hjk@qt.io>
2024-02-22 12:06:07 +00:00
Marcus Tillmanns
0aa54364f8 Utils: Remove offset parameter from writeFileContents
It never worked and was not used, so remove it for now.

Change-Id: If271bf83e1c766cc31fdb24dbab9eac228fda0a2
Reviewed-by: hjk <hjk@qt.io>
2024-02-22 12:02:09 +00:00
Assam Boudjelthia
ea26cd13b9 Android: get essential platforms and build-tools packages from BuiltWith
The commit 1180d5b8a270cfe7bd1c501c892d1c38ee7425de added information
about the ndk and android api level used at build time, ndk version has
already been accounted for in b73d6f3be8.
This now accounts for "platforms;android-xx" and "build-tools;xx.x.x"
packages.

Fixes: QTCREATORBUG-30404
Change-Id: I78b8885b88294404bc29c41a7b9491a331fcd709
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-22 12:02:01 +00:00
hjk
e678da9934 Require C++20
Change-Id: Id6581a4c32ec6411195edb51339f017e4ddb51ff
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-22 11:22:09 +00:00
Marcus Tillmanns
48d3e57e7a Utils: Add osArchFromString()
Change-Id: I3c49d28341148858027c5679101c180d28de0c08
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-22 11:22:06 +00:00
Mahmoud Badri
c1662c83cf QmlDesigner: remove CSVCOLLECTIONMODEL_TYPENAME from model editor
Change-Id: I9e1b7979c71ee366a06b56779fbaaad595162417
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-02-22 11:17:30 +00:00
Mahmoud Badri
1405f59d4c QmlDesigner: Send only 1 datastore node to collection editor's model
Change-Id: I5c8cd7c3e6f15570e71cf46089b56bf8772f47e6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-02-22 10:55:13 +00:00
Eike Ziller
bdbe585e59 Appmanager: Fix translatable strings
Added missing full stops and capitalization.
Changed "Appman" and "AppMan" to "Application Manager". It is "Qt
Application Manager". "appman" (all lowercase) is the daemon executable,
which I think we never actual refer to in the UI.

Change-Id: Icb9a192084c13f96d9faef0a3d4617a4d194c624
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-22 10:53:08 +00:00
Marco Bubke
ec5e60052d QmlDesigner: Improve model node selection tracing
Change-Id: I883c3d7e775edc0e0577d51647952680d5685ae1
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-22 09:40:11 +00:00
Marco Bubke
ba4fc4774b QmlDesigner: Move more component code to utils3d
Change-Id: I52f6d28bea352922e77b2107977b70257e868a5b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-22 09:39:44 +00:00
Marcus Tillmanns
467dfa14dd Utils: Rename HostArchitecture enum
Since its not only good for the Host and to bring it in line
with the OsType we rename HostArchitecture to OsArch.

To make it work on all Platforms we change hostArchitecture to use
QSysInfo instead of using Os specific calls.

Change-Id: I1a9a4c8f9faa2a504694d8288110c9ee5c483440
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-22 08:20:23 +00:00
hjk
59dc7c9c92 Utils: Change individual TriStateAspect display strings individually
Seems to be the more common case.

Change-Id: Iff6b236983e37ebe74845a9013bac4a2b659edbb
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-22 07:35:14 +00:00
Marcus Tillmanns
e0c8982b7e Core: Add Proxy authentication Dialog
Change-Id: If48387e9adb9ca9b979dce71e949af1d7e1956cc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-22 07:28:29 +00:00
Eike Ziller
a0517bca48 Fix Axivion tr context
Prefix with QtC::

Change-Id: I0cc6b2e4a679c92235ba5c3f471a13f14057418a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-22 07:18:12 +00:00
David Schulz
a18522334c TextEditor: fix multi text cursor unindent via backspace
Change-Id: Iec2e9251b977ccbd7433009ac3e706a9327c704c
(cherry picked from commit 971bcb1a5a)
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-22 06:32:39 +00:00
Jarek Kobus
862795d69c Axivion: Ignore the failure on storing the new ApiToken in QtKeyChain
Change-Id: Iefd25e07e2f028d32802cf68d69cf46d17ebee22
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 16:45:30 +00:00
Jarek Kobus
d02e75e7ab Axivion: Add more error messages on different failures
Change-Id: Ibfb77b5921a58ba2d439a6d2e313538eb8484c3b
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 16:44:16 +00:00
Jarek Kobus
d672908608 TaskTree: Add info about sync/async execution into withLog()
Add tests for it.

This addresses the 35th point in the bugreport below.

Task-number: QTCREATORBUG-28741
Change-Id: Id35d51155e0bfd413c06b3a2c5bb57b8bcea8487
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-21 16:30:16 +00:00
Jarek Kobus
f8b4191384 Axivion: Show more detailed message on deserialization error
Instead of a general deserialization error.

Reuse newly added Dto::deserializeExpected() methods.

Change-Id: Ie828b54b24659f2168aa7245a98ab92e71e7a3eb
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2024-02-21 13:33:46 +00:00
Christian Kandeler
68cc7f11b7 CppEditor: Use Utils::Store in CppCodeModelSettings
Preparation for introducing a per-project variant.

Change-Id: I40897f3ad5261e0d28e6c1332a6951f61f5e749b
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-21 13:28:24 +00:00
Mehdi Salem
0f5eae1d33 Axivion: use static for deserialize in dto classes
Change-Id: Ide5b1ff535c1e2bdba7d7f480bf1c19fd3c19fb8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-21 13:22:32 +00:00
Cristian Adam
c9208932d7 CMakePM: Don't show anything but CMake Preset Kits during initial configure
This is for projects that use CMake Presets, and matches the expectations of the users using CMake Presets.

The user can still enable a Kit from the left list of Kits, which is not filtered.

Amends 87c67fc6d7

Task-number: QTCREATORBUG-29535
Change-Id: If97eef867a687c877b1cbd08cd4537fe6459136f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-21 13:08:19 +00:00
Christian Kandeler
ad30de78d6 CppEditor: Do not store default values for code model settings
Change-Id: I707135c4256953457ca2f6a4abc3245e45d8b5eb
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-21 11:53:49 +00:00
Christian Stenger
504bed284d Axivion: Allow opening external links
..outside of Qt Creator, by using the default browser
or similar.

Change-Id: Ibaa379d2a26976fe717ee38b056794dd54838685
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 10:58:49 +00:00
Christian Stenger
04beeaf082 Axivion: Handle local URLs of issue details
Issue details provide a usually at least one or depending
on the issue kind more file locations related to the
issue.
Handle files which are present inside the current project.

Change-Id: I375ee99dfa1ca697d04146efde3081360e6cb582
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 10:58:38 +00:00
Eike Ziller
a130343ab5 Fix i18n issues
Fix some missing Tr::, and some namespace usages that confused lupdate.

Change-Id: Ib5a411fc53a28a6b807600db50aacc68955ca5dc
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-21 10:06:41 +00:00
Christian Kandeler
5956254e6f CppEditor: Make check for clangd more fine-grained
... in the quickfix factories.
We want to be able to offer or not offer certain quickfixes based on the
current clangd version.

Change-Id: I7dca69ff990ab9f1a691785cd72e633f7882ae3d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-21 10:02:07 +00:00
hjk
b9e4c98f1d Debugger: Add a settings for gdb's debuginfod feature
Fixes: QTCREATORBUG-28868
Change-Id: I216dbf8b46329c64607c869b5a8e090ef67fabb0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-21 09:31:02 +00:00
Christian Stenger
370fb4d550 Axivion: Open issue information semi-automatic
This patch adds another way of opening issue information.
Double clicking an issue on the issues table will now
open the related information automatically beside jumping
to the respective location.
The original way of using a button on the tool tip of the
issue's text mark is clumsy, but still present.

Change-Id: I7b0fcafb8b01675fc020f8cc8174121ba7f52adc
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 09:23:50 +00:00
Jarek Kobus
2fe085871b Axivion: Fix internal layout of DashboardSettingsWidget
Make internal margins a bit smaller so that they look consistent
with the rest of UI coming from Qt.

Change-Id: Iaeaccd1e0a4141a96657e32cebb619b969e43cab
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 09:16:16 +00:00
Knud Dollereder
f686ca7aa8 Nanotrace: Add LGPL-3.0-only as a licensing option
Change-Id: I203d93c23d5799835b6a122b9329f16af84c895c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-02-21 08:31:38 +00:00
Ali Kianian
4034d9e874 QmlDesigner:
Change-Id: I0c8a1b5d76e8509fb0a61ccb0bd8ac62d432d2bb
Reviewed-by: hjk <hjk@qt.io>
2024-02-21 08:10:45 +00:00
hjk
8893e5f14a Debugger: Fix C++20 complaint about or-ing different enums
Change-Id: Ie3648b3473476c3f71339006dff2c5dccf817b15
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-21 07:47:06 +00:00
hjk
fb2b861fb7 Utils: Replace explicit cleanPath call by FilePath::fromUserInput
Change-Id: I85199d1389864971f6e9fb6ca4290ad094b0a1c5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-21 07:46:59 +00:00
hjk
7d5523a59b Axivion: Use LayoutBuilder for project settings page
Also, add a stretch at the end of the buttons row.

Change-Id: I51392359b183462b52ad9d8b0775f59cf4a94a82
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-21 07:43:53 +00:00
Tim Jenssen
0416941fd1 CMake: introduce option BUILD_DESIGNSTUDIO
This change needs an update of the super repository

If you want to buid QtDesignStudio documentation no branding path
is necessary anymore:

cmake -DCMAKE_GENERATOR:STRING=Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH:PATH=C:\Qt_online\6.5.3\msvc2019_64 -DBUILD_DESIGNSTUDIO=ON C:/dev/tqtc-qtc-super/qtcreator
cmake --build . --target html_docs

Task-number: QDS-9827
Task-number: QTCREATORBUG-24222
Change-Id: Ic779b6ab57c71c7f6fa53467bf1ba3ee17cab0ea
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-20 20:19:40 +00:00
Marco Bubke
d68ad36ce1 QmlDesigner: Fix clang format file
The regular expression was case insensitive.

Change-Id: Ic44ac8b65428574fb7d0cb8327b8b536b74720d8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-20 17:02:55 +00:00
Marco Bubke
483c7afefd QmlDesigner: Make global variables inline constexpr
Leads to potential less symbols because of weak linking.

Change-Id: Iadeab6fa550b895218f78f59fc0956ac0625633f
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-20 17:02:36 +00:00
Marco Bubke
fe77ba28f8 QmlDesigner: Move component specific code out of the model
The model is an abstraction for communication between components and
should not used as place for component specific code. Otherwise it will
grow quite dramatically.

Add Utils3D in component core which is shared between all components is
actually the place to share code between components.

Change-Id: Ic9d0be72e4480fc33ac6300a10871db4983b4a73
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-20 17:02:30 +00:00
Marco Bubke
3586a5b459 QmlDesigner: More tracers
Task-number: QDS-11952
Change-Id: I9dc7325b73f85ed2e401689d255acd0ef68b094c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-20 17:02:24 +00:00
Marco Bubke
5e4c1ba5a0 QmlDesigner: Cleanup notifier
The notifier should not change the state. That is really surprising.

Change-Id: I179cf9e49c6ae916435c9aada5e1ddff6f9f52ee
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-20 17:02:15 +00:00