Commit Graph

88532 Commits

Author SHA1 Message Date
Christian Stenger
0a3c0ad1f5 Axivion: Provide basic sorting for issues table
For now this enables just the single column sorting,
but this is supposed to be enhanced by multi-column
sorting and filtering later on.

Change-Id: I7603ae5c412d7a0a669d1ba4ba7e001a059056f4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-23 06:32:44 +00:00
Jarek Kobus
6ed29d6714 Axivion: Hide more IssuesWidget functions in private section
Move the fetching method closer to the other fetching methods.

Change-Id: I2a3b76dd4924a490e58ceab85263ee2ccd96c0e3
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 06:14:44 +00:00
Jarek Kobus
fdedbdd3d4 Axivion: Fix a possible crash when rerunning task tree from its handler
Don't call setTableDto() directly from tableInfoRecipe's handler.
Store the new table dto in the handler and update the Gui afterwards,
on task tree done.

Fixes: QTCREATORBUG-30429
Change-Id: Id267c8375bf7c9a107450ac34ecba37d696f45e1
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 06:09:16 +00:00
Christian Stenger
289ac94653 QtKeychain: Disable gcc compiler warning for the qbs build
CMake build disables anything, so we can disable a specific warning
as well.

Change-Id: Ia350d96708f371323499d645f8cc31e07e4d6c9d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 05:28:25 +00:00
hjk
0459d3dde7 CppEditor: Un-export CppProjectUpdater
Does not seem to be used outside.

Change-Id: I9ed27e20ebb23ffd59b7f557b1ff56dbcadd6a2d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-22 16:18:56 +00:00
hjk
82724f60d1 Axivion: Use LayoutBuilder for output pane items
Change-Id: I6422a6d30a1b273810f8cf18cf899ee3dcb5bd2e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 16:05:30 +00:00
hjk
c0dd8f9aa4 Axivion: Use normal background for the output pane widgets
Change-Id: Iffea125f27eb64bfb9003c3a96fa78dedb6b9ebf
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 14:46:38 +00:00
hjk
df78a36e3e Axivion: Hide the output pane implementation
Change-Id: I4aea1a974cfbbe7aaef370e012b921d5e125e0b8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 14:42:27 +00:00
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
Eike Ziller
455a9986df QmlDesigner: Use qsTr instead of qsTrId
The latter is used nowhere else, so stay consistent

Change-Id: Iaaf30d8d4c283363a05011a868fc75c773c2ed3c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-22 11:41:10 +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
Teea Poldsam
5e4f5d9a21 Doc: Update Setting up a 3D Scene tutorial
Fixes: QDS-11910
Change-Id: I2ebc117a6caa98aba9846c8cad9b18c835fc10b2
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-02-22 10:35:00 +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
Christian Stenger
32cad6d389 Tests: Fix build with Qt6.2
Amends d672908608.

Change-Id: Ie80c69ecb1e96a5c86800e8f431f01f6ed611e6d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-22 06:49:16 +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
David Schulz
1a7e1b5dbd Cmake: include textwrap in the generated python zip file
textwrap is required for traceback that is used when the last command
gets debugged

Amends 0a2b6a910a

Change-Id: I7d62dbe2bc0f4e1839f07b9bff687ee1f4e4c885
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-21 11:20:11 +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