Commit Graph

80529 Commits

Author SHA1 Message Date
Christian Stenger
59be9e98bf Debugger: Avoid duplicate commit and close
The delegate triggers a commit and close already when
the focus is switched. So, the additional calls will
end up in a warning deep inside QAbstractItemView
and not processed.
Get rid of the obsolete calls and the warnings.

Change-Id: Ic27f6b1aa0b73f4bb82b0878650d8ae8ae8f87d2
Reviewed-by: hjk <hjk@qt.io>
2023-03-29 12:19:39 +00:00
Christian Stenger
3a23126419 CoPilot: Fix warning
Change-Id: I867b44fd769c96d294830d0a2c1c8b1bdf669d6f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-29 11:59:29 +00:00
Tim Jenssen
26365f34d4 Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: Idd5eac05f3506387e5f1884e22cc2c902032bbe1
2023-03-29 13:42:04 +02:00
hjk
aefc8e296c ProjectExplorer: Provide access to copy step id constants
Makes steps better re-usable.

Change-Id: I5ef687480179b06985e525336f31be3fd69bcd23
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-29 11:25:57 +00:00
Christian Stenger
016385d514 Debugger: Do not store generic debuggers to settings
They get added automatically. Silences a warning for each
generic debugger.

Change-Id: I5a60ddd9780e5992d67a67a75eb0917ceae778e6
Reviewed-by: hjk <hjk@qt.io>
2023-03-29 11:18:52 +00:00
Eike Ziller
b36287731e Merge remote-tracking branch 'origin/10.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp
	src/tools/perfparser

Change-Id: Ie5643100e0eb00e0933359dce320169b876f5634
2023-03-29 12:21:50 +02:00
Eike Ziller
81a5e2143c README: Add section on getting sources from git
Change-Id: I81b8d0e4e6d8df460f85bdd90b4688df2987bf6c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-29 08:34:10 +00:00
David Schulz
6ab923c39f Copilot: add copilot suggestion tooltips
These tooltips allow to switch the currently visible suggestion as well
as applying it using
the mouse.

Change-Id: I30b9a76ae57c66887f4e1b1311e1a7248ed0f194
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-29 07:43:28 +00:00
David Schulz
8a1e34f084 TextEditor: introduce text suggestion interface
And also a copilot suggestion implementing that interface that allows
reverting all changes done to a suggestion as well as applying it.

Change-Id: I236c1fc5e5844d19ac606672af54e273e9c42e1c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-29 07:43:19 +00:00
hjk
1ee46580ac RemoteLinux: Simplify display of make install command
Including proper quoting.

Change-Id: I49fd85b5cfc9d035d3b63fe1c7cef40247d8742c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-29 07:25:54 +00:00
Marcus Tillmanns
0fb635e76c Docker: Fix Shell destruction handling
Change-Id: I125ac2eaf99e8dff85da06640f048b502f36fa08
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-29 06:54:40 +00:00
Eike Ziller
29108a1463 Do not automatically reset progress details position
Add a "pin" button that appears on hover if the details have been
dragged around. Clicking on it resets the position.

Position is also reset when hiding & re-showing the details with the
button. And the details snap to the original position when dragged near
it.

Fixes: QTCREATORBUG-28829
Change-Id: I6a6f13ca1baac79951c20f2e8edf6fac137a8cfc
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-29 06:43:17 +00:00
Alessandro Portale
de733a4294 Utils: Add "pinned small" icon
To be used it in pinnable floating dialogs.

Change-Id: I379a0422af5b0f5dd4045fcaa8086c642832d641
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-29 06:42:48 +00:00
hjk
cf138ad909 Debugger: Small corrections to "Generic" item handling
Change-Id: Idd8f6a64aa64b8f13e713b3337ad1f8f2b8735db
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-29 06:30:02 +00:00
Thomas Hartmann
bcd74a2fad QmlDesigner: Fix crash
The buildsystem might be missing.

Change-Id: I05e03f59a2fcb49ce1ff7a2521ed1af165730b51
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-03-28 15:09:00 +00:00
Marco Bubke
c940cc5466 QmlDesigner: Fix access to nullptr
We try to access projectStorageData but it does not exists. Now we
return a dummyProjectStorage() instead. Because it is never accessed if
we don't use the project storage we should be fine.

Change-Id: Ic36a27472e95012b29b15ad33d2abe01507d64b4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-03-28 14:57:16 +00:00
Brook Cronin
17cb071012 QmlDesigner: "add small backspace icon"
Change-Id: Id5e23b536c7e4a0eb3778a66ec003ba4eb7c1e77
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-28 14:29:40 +00:00
Leena Miettinen
df53b7c9b7 Doc: Add docs for Peripheral Registers view in Debug mode
Task-number: QTCREATORBUG-28778
Change-Id: I17b66417c943c08295a8e7fb9936e5f8d28b9263
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 14:19:39 +00:00
hjk
463e47bbdd Debugger: Have a generic "GDB in PATH on Build Device" item
This is only checked at run-time, but allows smoother creation of
kits for standard setups as the (possibly remote) full path is
not needed.

Remove the DebuggerKitAspect::fixup() implementation. Too much magic
by now, and worst thing that could happen is a non-matching debugger
that will clearly bark when used.

Change-Id: If2414610d479a5b93c3e6227b8736ddc61f70635
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 13:57:50 +00:00
Christian Stenger
c46dff0199 SquishTests: Fix checking for build issues
Do not count code model issues as build issues when checking for them.
Fixes tst_build_new_project on the Linux machines which fail for unknown
reasons.

Change-Id: I2cd77b0208019fc902742197c0def6d3811cfced
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-28 13:20:10 +00:00
Sivert Krøvel
22909726eb McuSupport: Bring tvii and rh850 kits up to date with latest QUL
Bring recently changed kits up to date with QUL repository.

Task-number: QTCREATORBUG-28684
Task-number: QTCREATORBUG-28833
Change-Id: Id70268584891a72659930817a5c8458418a9f3b0
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-28 13:18:25 +00:00
hjk
5cfc52a92c Android/Baremetal: Clean up some header
Change-Id: I63a3483a28d9a4ccd21042ae3bd2049598125f5f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-28 13:07:07 +00:00
Christian Stenger
e113a12645 SquishTests: Fix accessing build dir line edit on Win
The respective line edit is hidden inside the collapsed
details, so ensure we have expanded details instead.

Change-Id: Ib6f6fab9f06c3250a71baf95a853d770bfa9b221
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-28 13:06:29 +00:00
hjk
bc4629d427 RemoteLinux: Add history completion to a few device property line edits
Change-Id: If871ff31ebd33a055bdcae38438eb0b4b48b904b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-28 13:05:38 +00:00
Marcus Tillmanns
662aabd29f ProjectExplorer: Add menu button to add devices
Change-Id: I7078617dc0a981854ccf25cef7a8136dbe51000b
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 13:05:10 +00:00
Marcus Tillmanns
db38eef811 RemoteLinux: Display copy errors
Change-Id: I6f75af7b4700e26d43b605bee014b4768224caf6
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 12:04:25 +00:00
Leena Miettinen
faf8f91b65 Doc: Update the docs for the Expressions view in Debug mode
Task-number: QTCREATORBUG-28778
Change-Id: I687fb1bb2ecf6dbc511bffc70a6f9ac00aee6ee9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 10:48:18 +00:00
hjk
746f0f93be ProjectExplorer: Inline BuildStepInfo
Was a more or less arbitrary subset of BuildStepFactory data.

Change-Id: Ie37735532da8a15a22d5f92e1b45d6ed5f7758fc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 10:19:28 +00:00
Ali Kianian
5644fa1b9c QmlDesigner: Move StyleAnimator to Utils
StyleAnimator moved to Utils in order to be used by other modules and
styles.
Since Utils is the most common dependency, it's chosen as the right
place of StyleAnimator.

Task-number: QDS-9522
Change-Id: Idbf55875e0c320ccfa21e1c479bf5997ea7d150d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 10:13:28 +00:00
Mahmoud Badri
4612fb20b5 QmlDesigner: Update assets context menu based on scene env state
Also remove signals emitted from the assets widget to the view since
the widget now has a reference to the view.

Fixes: QDS-9467
Change-Id: I80a2aef4c35aeeb344cc71c890664e1645d4334a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-28 10:12:20 +00:00
hjk
62b1795fb0 RemoteLinux: Further disantangle buildsteps from downstream
Expose Factories, (mid term:) hide step implementations.

Change-Id: I930899fe6873c8f727f3dedbb86aceb9bcbda0a4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-28 09:49:52 +00:00
Mahmoud Badri
38cf58d0ca QmlDesigner: Emit changed signal after updating m_matBundleExists
Fixes: QDS-9516
Change-Id: I905aff3a526d913d3eb56ae556cbebd7d7e67c5b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-28 09:24:20 +00:00
Marco Bubke
f07e8a5918 QmlDesigner: Concat source ids into one struct
SourceIdsData is reducing the parameter count and later shares the
initialization the watcher notifier.

Task-number: QDS-9479
Change-Id: I30fca678a857821a376906071d6c219c4dd2e4b7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 09:18:36 +00:00
Marco Bubke
492c2f89c4 QmlDesigner: Cleanup code for reuse
Task-number: QDS-9479
Change-Id: If8c66444e7b85255aa2f66519ab74572d3800979
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 09:18:30 +00:00
Marcus Tillmanns
7e4c52959c Utils: Don't try to start clangd if path is empty
Change-Id: I30d3279be81b66c16ee8081b09828aaa6bcd53e0
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-28 08:30:30 +00:00
Alessandro Portale
3da30a8f2c MinGW build: Fix a few compilation warnings
Change-Id: Ib4f85d2ef15a5c06c6d2b175823c196b8588f5d2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-28 07:54:44 +00:00
Haowei Hsu
9af26dd086 l10n(zh_TW): Fix translations of 'Command/Argument'
* Command: 指令 -> 命令
* Argument: 參數 -> 引數

Change-Id: I5d9b52cb15b81b668823c73de8a8ef7d351248fd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
v10.0.0
2023-03-28 07:35:32 +00:00
Haowei Hsu
70a00a541a l10n(zh_TW): Fix translations of 'Signal/Slot'
* Signal: 信號 -> 訊號
* Slot: 信號槽 -> 槽

Change-Id: I519bc563def7ea4fad90e6938bb54dde0383ba87
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-28 07:34:53 +00:00
Marcus Tillmanns
5db27d21da Terminal: Add setting to change arguments of default shell
On non windows systems, initialize it with "-l" to start a login shell.

Change-Id: I972f845c3933c6a54752d4c71108a658311a0256
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 07:13:00 +00:00
Marcus Tillmanns
c7b6c66cab Docker: Fix process state handling
Fixes the following errors that would trigger warnings due to incorrect
QtcProcess/ProcessImpl state synchronization

* Don't emit readyRead when state != Running
* Set result.m_error to FailedToStart if remote pid was not received
* Send stderr data once the pid was received
* Don't call deleteLater() on nullptr

Change-Id: I4b498a860ad27bef1a5b3e26417576431b54e84c
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 06:32:38 +00:00
hjk
d8e87413a3 RemoteLinux: Add some support for "doubly remote" devices
This adds an "Access via:" settings to RL based devices that allow the user
to select an intermediate (also RL based) device as "stepping stone".

Communication to these devices is done by running ssh from the
intermediate device, currently without connection sharing.

Currently kind-of-functional: "Show running processes"

Change-Id: I6964fb4005ab8f42551c877da2c0bdb1e825cd61
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-28 06:05:53 +00:00
Christian Stenger
22952c5357 McuSupport: Fix missing include
Change-Id: Ie7a90edf3e4d6b289512a5bb60bca039b0b10fe3
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-28 04:53:13 +00:00
Marcus Tillmanns
5f65dc84f3 Terminal: Adjust default colors
Dark Terminal theme now matches normal background

Change-Id: Icdb943e78995245d7e0e55bb11754935333953dd
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-28 04:37:27 +00:00
Samuel Ghinet
77720c1122 Download textures and materials only by clicking the download icon
Previously, clicking the texture thumbnail itself would start the
download.

Also, improved the look of the download icon:
* added a margin to the right
* the inside "arrow" is now black, instead of transparent

Task-number: QDS-9398
Change-Id: I58f958493f1c6072a57402288ea155135909e117
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 17:59:05 +00:00
Samuel Ghinet
2081d1c0bc Download icons and metadata of textures at startup
Task-number: QDS-9397
Change-Id: If1bb4a5500896b70b4a9dbb82d2122c1232ee744
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 17:58:53 +00:00
Mahmoud Badri
bda4ae301b QmlDesigner: Fix regression: Close context-menus on focus out
Was broken by introducing StudioQuickWidget

Fixes: QDS-9468
Change-Id: Ie9a29af7356387591259fd2a3d1ae9adc34c711d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-27 17:48:06 +00:00
Robert Löhning
82c958374b German translation: Fixes
Change-Id: I5b367c13b0803e99021933793c9530a71a5e1fd9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-27 16:25:18 +00:00
Eike Ziller
ce79992d2e German translation: QtSupport, ResourceEditor
Change-Id: Ib373701f105df10198c2b3ed0abf49966ceb415d
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 15:33:43 +00:00
Eike Ziller
2e00dfc6c3 German translation: Debugger, Designer
Change-Id: I29c42dafac51aeb644fc6f574b5e4960abbc1f20
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 15:33:24 +00:00
Eike Ziller
6f07f52170 Update change log for 10.0.0
Change-Id: I1e3133646448c18e7ef6ed7c956d71ad81737d5f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-27 14:52:07 +00:00