Commit Graph

86687 Commits

Author SHA1 Message Date
Eike Ziller
44f6bbf260 Python: Wrap some file paths and kit name with quotes
Change-Id: If147eae864013d410239d69184cdb9a4bc4479eb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 09:05:34 +00:00
Cristian Adam
2d7af40007 CMakePM: Consider envvar QTC_CMAKE_USE_JUNCTIONS
This envrionment variable can be set globally or locally for a project
via '.shared' configuration.

See https://doc.qt.io/qtcreator/creator-sharing-project-settings.html
for details.

Task-number: QTCREATORBUG-30385
Change-Id: Ie28caac8f4232678c5761b54ce370d1aeb139389
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-02-26 08:59:51 +00:00
Eike Ziller
462caec278 Utils: Small string fixes
Change-Id: I2fd6bf14b1cb35f61ced841e3deea011fd54ff03
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-26 08:56:41 +00:00
hjk
5406f11a2b Debugger: Robustify lldb line parser
The original version might have missed to recognize a @\r\n
combination or multi-byte UTF-8 code units when they were
split across to readyRead() handlers.

Change-Id: Ib543fa0070b63d25b44be429a3759964d65e878e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-26 08:51:58 +00:00
Jarek Kobus
b0592abbf0 DebuggerItemConfigWidget: Ensure the futures are synchronized
Don't leave possibly running futures on Creator shutdown.

Change-Id: I6f4253d657b2b61112c15c9c144be10fcc8ed0cf
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 17:16:58 +00:00
Jarek Kobus
53f8956fb8 FunctionDeclDefLinkFinder: Ensure the old futures are synchronized
Change-Id: I68b271f85d2bb319230529d4b0b074c05c12ba4c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 17:16:53 +00:00
Jarek Kobus
5590efa30b FunctionDeclDefLinkFinder: Don't delete the watcher from its signal handler
Use std::unique_ptr instead, as QScopedPointer doesn't offer release().

Change-Id: Ifbe42dca5b266930e1000a50441995023b89b802
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 17:16:46 +00:00
Marcus Tillmanns
d061e29dd3 Utils: Allow different codec for Process stdout and stderr
Change-Id: Ie6a3fb74a447a599c492e38ec83a2330f3cb4cd8
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 16:02:45 +00:00
Jarek Kobus
8b4578f0c4 Axivion: Amends the commit regarding column sizes
When resolving a conflit the key line got removed by mistake.

Amends 51998c5239

Change-Id: I74af26d23e7ac0180d1b351d7ecf6d6876499d89
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 15:18:10 +00:00
Jarek Kobus
d5f50a3fa4 Axivion: Remove warning about unused lambda capture
Amends 09cc450797

Change-Id: I44a5ba2a0f83f9f75ba84b1b6470e875027c290b
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 15:18:04 +00:00
Jarek Kobus
51998c5239 Axivion: Make use of the column widths coming from the server
Change-Id: Idcce80ed987ed02cb0197cfca93d32deb715f95c
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 15:03:39 +00:00
Christian Stenger
09cc450797 Axivion: Handle links more appropriate
If the user clicks on a row's column holding a location
information then use this explicitly instead of always
using the first available link.

Change-Id: Ifecbecac632a4bfd4d31614a8c43ab6c80de4819
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 14:47:28 +00:00
Christian Kandeler
e3e8b62417 RemoteLinux: Make deployment method downgrade transparent
Fixes: QTCREATORBUG-29710
Change-Id: I27f3252f8a3d9bc03f2abd096aae6f0df4a6448c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-23 14:46:28 +00:00
Jarek Kobus
5ff64ed95c Axivion: Remove unneeded m_fetchingMore field
Use m_taskTreeRunner.isRunning() instead.

Change-Id: I2feed612cf8eabfc5ec160a4586b3158aa4d90b8
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 14:36:52 +00:00
Cristian Adam
0acc91a6e8 LLVM: Use lldb-dap.exe on Windows for qtcreatorcdbext
LLVM 18 has renamed lldb-vscode.exe to lldb-dap.exe.

Change-Id: I4b0b108ebebc552a4c843f4c8a2fa563132176cd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-23 14:00:02 +00:00
hjk
026de59be9 Meson: Fix reading of tool settings
We were accumulating copies of the auto-detected system ninja setting
since the QVariantMap retrieved with toMap() was empty as it is a Store
nowadays.

Change-Id: Id983b5f1bf5ff18d6f43a71ebb406520e7655705
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-23 13:52:48 +00:00
Christian Kandeler
c0bbf285a7 CppEditor: Fix indentation with inline namespaces
After encountering the namespace keyword, we have to backtrack the state
change introduced by the inline keyword.

Fixes: QTCREATORBUG-22071
Change-Id: I543976622d1a56b2c61d68da6ec3eee8b6d0d5b3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-23 13:46:04 +00:00
Christian Kandeler
feb70c1d7b Update qbs submodule to HEAD of 2.3 branch
Change-Id: I62099a9605b2d9deeb6d36be3c43e088b9cd2578
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-23 13:41:53 +00:00
Christian Stenger
09c8bd841b Axivion: Improve sort icons
Palette colors may not be correctly populated depending on the
platform, so use some common available one.

Change-Id: I5f660aaefbd5882a255da4a25c3e15edc3fe3643
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 13:35:42 +00:00
Christian Stenger
d167b16ac2 Axivion: Redo lazy fetching of issues
Change-Id: I8c29c6494c651602fa443c76a6c9e3848f352a66
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-23 13:07:09 +00:00
Leena Miettinen
11c1e071d7 Doc: Update the docs about Python development
Task-number: QTCREATORBUG-30209
Change-Id: I3023fb6b9005092ecd76f62774942f366e1bd7d9
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-23 13:05:22 +00:00
Eike Ziller
a9c2be1071 Projects: Fix misc settings widgets if vanished targets are shown
When vanished targets where shown in Projects, clicking on the project
specific settings showed a blank page.

There were hardcoded indices for the target and the misc settings. Get
the right child for the index directly instead.

Change-Id: I725d470ad04f8a227c91938efada76a757a7442c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 12:35:58 +00:00
David Schulz
8feb31b2ac TextEditor: bound increase and decreaseFontZoom to a 10% grid
This allows to get back to a 100% font zoom with the keyboard shortcuts
by zooming to an odd zoom factor by other means.

Change-Id: Ie90853367b17c207e9c47fc108b8d6f451e0f838
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-23 12:01:29 +00:00
Leena Miettinen
9f7d8b06b2 Doc: Mention using CMake presets in "Share project settings"
You cannot use a .shared file to share CMake project settings.

Change-Id: I605ead2f42ed012da789c1eef3a4e6a51de62243
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-02-23 11:53:40 +00:00
David Schulz
787c2ccee9 Debugger: ensure final new line after debug messages collected by cdb
Since recently cdb seems to report messages without a final new line.

Change-Id: I6b15d6c5668b7a4bec207d56d86da5a0afa77cb4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-23 10:25:02 +00:00
Cristian Adam
b7a8ee92be Core: Mention Ctrl+Shift+K into the hide menubar messagebox
This way the user can trigger the "Show Menu Bar" action when the
Ctrl+Alt+M doesn't work.

Task-number: QTCREATORBUG-30114
Change-Id: I4e1d14b7bf7554ce1a262c4b1d2671f8d0b81b85
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-23 10:07:11 +00:00
Jarek Kobus
55c12d022c Expected: Add a test ensuring the default c'tor has value
When docs aren't easily available, let's have a test for it.

Change-Id: Ic9cec669cc93a38e79b68ddec7cfcc5bccae5de5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-23 07:55:23 +00:00
Jarek Kobus
97ebd27253 QmlJsPluginDumper: Ensure we don't take results from the canceled futures
Amends 91c1c244a1

Fixes: QTCREATORBUG-30424
Change-Id: Ie0bddb79362945a040c6cb95edf37fbec3ed064d
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-23 07:13:54 +00:00
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
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
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
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
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
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
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
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