Commit Graph

80509 Commits

Author SHA1 Message Date
Eike Ziller
463090db03 Update change log for 10.0
Change-Id: I39929f6a5947f6c164e5b2dd3802b54539b1190b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-02-28 07:57:49 +00:00
Alessandro Portale
11ecf3c86b Nim: Center the settingscategory icon
Was off-by-one towards the left.

Change-Id: Ib17ddf750729fad102065776603c4a12b5d7431f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-02-28 07:42:44 +00:00
Jarek Kobus
8285c85725 Autotest: Use QPromise for async calls
Change-Id: I57d2feed36eeb1871b2b00cf7720c48f6a0e81b5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 14:50:48 +00:00
Jarek Kobus
10a97e1f0e Various Tests: Use typed connections in QSignalSpy
Change-Id: I0965916f5ce302e9bdcb47ae7126262327f63613
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-02-27 14:07:13 +00:00
Eike Ziller
6bb756ba1c Debugger actions: Move <p> out of tr()
This is just there at the front to force word-wrap on the tooltips, it
shouldn't be part of the translated text.

Change-Id: I62157aba303071677ca89929f9e56c03ee1f21e7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-02-27 13:38:27 +00:00
Eike Ziller
78d17390b8 macOS: Allow Squish to attach itself for RTA
https://kb.froglogic.com/squish/mac/troubleshoot/hardened-runtime/#which-entitlements-squish-needs

Fixes: SQUISH-15904
Change-Id: Ib3a07ce2cb33d8fef63b21b19af3b7aabbab88ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-27 13:30:28 +00:00
Marcus Tillmanns
ea64bb9d36 Terminal: Fix scroll behavior
Change-Id: I357a5d04baab881cf89c57fdf3336bd1e0077976
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-27 12:46:29 +00:00
David Schulz
a4fb9e20cb Debugger: improve dump time for various msvc std containers
... by caching the info whether we have a debug build. This avoids
expanding members of the container to check for a potential offset of
the actual data.

Change-Id: I4d7ac83003c303185ae51d57f0f0571b627edf22
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-27 12:26:37 +00:00
Jarek Kobus
d249e77f77 DockerDevice: Fix compile warning
Amends 682ef157d8

Change-Id: I2ee639aac5d6b2ba55e96d322a6d5818ca0d6735
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-27 11:50:02 +00:00
David Schulz
efe5735452 Debugger: optimize logging script messages
Avoid parsing the gdbmi output twice just for printing out messages to
the debugger log.

Change-Id: I928fc3a7d55c318056afff09cfbc25d115932bc0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-27 11:09:40 +00:00
Marcus Tillmanns
4c251486e1 Copilot: Various coverity warning fixes
Change-Id: I5d86606611369f4bc11f9f21e308139bba700eb0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-02-27 11:01:28 +00:00
Marcus Tillmanns
3e73fe302e Terminal: Coverity warning fixes
Change-Id: If96291ff6df97f7e85840eb0951cc3f4abfab0f6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-02-27 10:41:05 +00:00
Marcus Tillmanns
d4ac8aeaa6 Terminal: Add remote devices to shell selection
Change-Id: Id28471aaf3e91ef493f48ab28207230f3fb513c2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-27 10:21:24 +00:00
Marcus Tillmanns
1381bd0963 Terminal: Fix \ on German mac keyboard
Change-Id: I87d4299c1e41f4a553b5ecc9690b2fd332b7b3e8
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-27 10:19:56 +00:00
Marcus Tillmanns
d3b4159b23 Terminal: Fix preedit area position
Change-Id: I8667a84e12154ca34517af25648a0983f918fc48
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 10:03:50 +00:00
Marcus Tillmanns
a21a5249de Terminal: Fix Background painting
Change-Id: I62d9e10b8e7e79985dc7a9b68d6a05db1e743261
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 10:03:39 +00:00
Marcus Tillmanns
558e9f4b16 Terminal: Add selection color setting
Change-Id: I66f94c3bd729975046ea72aca3bc23bb5024ced0
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-27 10:03:15 +00:00
Henning Gruendl
f61266b829 QmlDesigner: Fix 2d/3d editor tool bar color macOS
Change-Id: Iab57fd51b962bcb174c4d004e4cfed1500bb4e74
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 09:30:41 +00:00
hjk
4de07bf444 Qnx: Mark new kits from setup dialog as not autodetected
It's more flexible for the user to have them modifiable.
Tendency nowadays is to only have SDK-provided kits (or possibly
everything that also 'goes away byitself' marked autodetected.

Change-Id: I0098196320abe73998c38e9944fcb89554e36bb7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-27 09:09:18 +00:00
Christian Stenger
eec0ea0607 Fix build with qbs as submodule and CMake < 3.18
Broke with 66d4e12a58.

Change-Id: I71bf156b8bba27b3285aab39db56f2ec055bff0c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-02-27 09:08:28 +00:00
Eike Ziller
380f7622de Merge remote-tracking branch 'origin/10.0'
Conflicts:
	src/plugins/debugger/watchhandler.cpp

Change-Id: If759b6260dfa008738d3a0ce543eb0eead8a8bba
2023-02-27 09:48:12 +01:00
David Schulz
5169469911 Debugger: add <load more> functionality to array dumper
Change-Id: Ib44748fa3218788ca20a99b0a0f4cd85716dde06
Reviewed-by: hjk <hjk@qt.io>
2023-02-27 08:35:32 +00:00
Marcus Tillmanns
8ecd8692bf Copilot: Enable translations
Change-Id: I97bce412eb94bc1ac731205955e9a007199627fa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-02-27 08:25:30 +00:00
hjk
ca8d4082ec Debugger: Compress consecutive calls to updateLocalsWindow()
When expanding all children of a long array, this is called
once per item. If we have one update in the end that's enough.

Change-Id: Ibb63a9aef752418a1dcafb6190edf5a8005a855f
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-27 07:44:43 +00:00
hjk
be1f95082d Debugger: Save a few cycles in WatchData
Change-Id: Id2fc21fcc917969fa2f31864f4ff91f4df8c19d2
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 07:44:24 +00:00
Marcus Tillmanns
f172dbca9c CMake: Fix warning about fPic not being the same
Change-Id: I2a2f85c039471e2ad00551bec925cf37ca261b12
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-27 07:30:02 +00:00
hjk
8ab0c965a4 Qnx: Mark new debuggers from setup dialog as not autodetected
And use the right device for its base environment.

Change-Id: Ida6d9c5dd88b766659311f4eacca8ced3c5531cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-27 07:29:50 +00:00
hjk
99b1cc5c24 Qnx: Allow broader kit generation
So far we insisted on a Qt version being present. For more general
use, including limited testing it's more convenient to also allow
kits being generated when no QNX Qt is around.

Change-Id: I99954b76543f2a04063a737444dce0ae5c921929
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-27 07:29:30 +00:00
Christian Stenger
55c2a55a60 Tests: Fix shootout test
Broke with 435a4e9dd4 long time ago.

Change-Id: I1f3c88f63f6a3141c65ee0e2fdc5d8b102283618
Reviewed-by: hjk <hjk@qt.io>
2023-02-27 05:30:16 +00:00
Marcus Tillmanns
c41d30711a Utils: Make UnixDeviceFileAccess macOS compatible
"stat" on macOS has slightly different formatting options.

Also adds unittests for UnixDeviceFileAccess

Task-number: QTCREATORBUG-28142
Change-Id: Ib42fc1c22ef2771365e915df34f2286e2c705568
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-25 09:45:47 +00:00
Leena Miettinen
be138dee10 Text editor: Fix typo in UI text: temporary > temporarily
Change-Id: I45c7cfb62556f5f3dead9d90e1fe911752ca72a7
Reviewed-by: hjk <hjk@qt.io>
2023-02-24 16:51:43 +00:00
Leena Miettinen
708c629133 Utils: Use double quotes for emphasis in UI text
Change-Id: I00b27ee40ba131ec6472b03ac7f23c93639a9cea
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-24 16:51:27 +00:00
Marcus Tillmanns
a62c5cf89a Utils: Cleanup searchInX functions
Also move some often used types into new file "utiltypes.h"

Change-Id: I3f152d1dc2f96ba0259ad6c098d9ac5ee03a59f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-02-24 15:13:32 +00:00
hjk
7f04a66546 Debugger: Introduce a cache for pre-rendered value columne entries
Change-Id: Ibdcac8a5ccaa3eab0723205b913056530c510280
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-24 15:08:20 +00:00
hjk
f2f5e4d030 Utils: Save a few cycles in BaseTreeView column width computation
Change-Id: I5e97cae77db58a396424f5081838d2b2f3769ba7
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-24 15:07:23 +00:00
hjk
f53f006301 Debugger: Use QVarLengthArray for local buffer
Change-Id: I1bca338e0ffb850ca23bf5e1d1cd2fb85227ddda
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-24 14:58:20 +00:00
hjk
a1e9670541 Utils: Simplify tree view columns width computation
... by using approximations of the value widths instead of precise
comuptation.

Change-Id: Ia7eefad8d79f09d1e0cfda32067d052f56b820a9
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-24 14:58:13 +00:00
Miikka Heikkinen
26e2342e24 QmlDesigner: Don't change focus on expand when focus is in search box
This is to avoid search box focus loss if search autoexpands sections.

Fixes: QDS-9259
Change-Id: Ief99643d52413fe83d4b5ac5ea3438d6116d64c7
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-24 14:41:49 +00:00
Marcus Tillmanns
c6dc54b343 Terminal: Add Shell option menu
Change-Id: I08ea3c52ed28ab65f2dc902051bab9e6975e6a7e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-24 13:37:14 +00:00
Jarek Kobus
58abb397e7 AttachCoreDialog: Use QPromise for async calls
Change-Id: Ib0dd9ceb21711a786dc84acc815d1a5afb557de7
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-24 12:49:31 +00:00
Jarek Kobus
8eaf73700e TaskTree: Don't call storage done handlers from TaskTree's d'tor
Change-Id: Ie2b04d433be3452f9e668efd3341dedfcb154290
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-02-24 12:48:44 +00:00
hjk
97b97825ed Debugger: Also log time stamp when handling output is finished
This helps to put the blame properly on either side of the
communication.

Change-Id: Id83de2bce1984f63427f655dce854ebb008a1a61
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-24 12:46:15 +00:00
hjk
6cd8bca691 Debugger: Simplify gdb output parsing structure
The base problem is that gdb output is weird outside the 7 bit
ASCII range. Could be true UTF-8, or \x encoded UTF-8 byte
sequences, i.e. three layers of encoding.

Change-Id: Id9ee4bd4a8979624f9682f28064c3ac599afe4b9
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-24 12:46:01 +00:00
hjk
040ebf8171 Debugger: Suppress a message clogging the log view
Eats time and won't be handled soon.

Change-Id: I777bef10397d0d67daf576862975c4d4f1184504
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-24 12:45:47 +00:00
Samuel Ghinet
192ac5db61 QmlDesigner: Allow dragging image Assets to the Material Browser
When dragging an image from the Assets Library to the Textures section
of the Material Browser, now Textures will be created from those
assets.

Task-number: QDS-8783
Change-Id: Ibbfb8697705a7d1af7714f3a32caff24282ee7a9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-24 12:45:06 +00:00
hjk
801eb712ba Debugger: Save a few string allocations on result parsing
Change-Id: I5b7614bd22d41f826b4977621d77a9aeba7f961f
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-24 11:54:06 +00:00
Cristian Adam
beabb53422 sdktool: Fix CMake configuration on Qt6 within Qt Creator
Change-Id: I9028ad7aa6018b63c5afedb65add6ce765660bb7
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-24 10:24:00 +00:00
Marcus Tillmanns
682ef157d8 Terminal: Add Terminal plugin
Adds a new Terminal plugin that provides a Terminal pane inside
Qt Creator.

Fixes: QTCREATORBUG-8511
Change-Id: I7eacb3efa2463d7df9f383ae3fc33254fb9019a9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-02-24 10:19:33 +00:00
David Schulz
5b0a177cdf Debugger: Avoid reserving huge strings
Fixes: QTCREATORBUG-26416
Change-Id: I3728a98f0d16f43817d46e5404bd0b65bfd1b9c0
Reviewed-by: hjk <hjk@qt.io>
2023-02-24 10:06:43 +00:00
Marcus Tillmanns
d5a9e28a96 Utils: Add tst_filepath
Moves all tests that are applicable only to FilePath over from
tst_fileutils.

Change-Id: Ic331e1470a7479ee2f8ba38baec84124982a000a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-24 09:45:56 +00:00