Commit Graph

80111 Commits

Author SHA1 Message Date
Haowei Hsu
11ff9fd029 l10n(zh_TW): Fix translations of 'Preferences'
* Preferences: 喜好設定 -> 偏好設定

Change-Id: I90623b2083f6056f6862ff7481b77558d8973c7b
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>
2023-03-27 09:15:21 +00:00
Eike Ziller
d6115d6365 German translation: ClearCase, Git, Diff, Subversion
Change-Id: Ieb65c0483d0445bb830e365ecc03ec9f9713a575
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 08:51:48 +00:00
hjk
ed8f0fb03e Qnx: Compactify QnxDevice creation infrastructure
Change-Id: I939a435859c494f8750d62d2ca393775e01ad214
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:33:35 +00:00
hjk
54b8bdc390 ProjectExplorer: Fix logic to start device creation wizard
Amends 5996e58ff.

Change-Id: Ifbb31059b138234c37fbb3b335598406c9f328e5
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:28:54 +00:00
David Schulz
eb8c996f49 Python: add create venv option to the wizard
and optimize layouting

Fixes: PYSIDE-2152
Change-Id: If3ecb76c4bac885840f54fd382471ac22a06dee3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:13:14 +00:00
Miikka Heikkinen
79f4066dac QmlDesigner: Add BakedLightmap item to component library
Also adds relevant property specifics and navigator drop support.

Fixes: QDS-9521
Change-Id: I78539548770ae75fbe0602c2871fb5fea5515ab4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-27 07:55:23 +00:00
Karim Abdelrahman
06c4a46a6c McuSupport: Deregister kits for uninstalled target
Before the fix when the user uninstall a target, kits of the target will
remain visible on kits screen and can be selected when configuring a
project which is not a good user experience.

This change will use infobar to notify the user about the existence of
kits for uninstalled targets and ask the user if these kits should be
removed.

The change uses the fact that a kit description file have the
naming convention "toolchain-vendor-device" and compare it to the kits
exists in profile.xml. If a kit exists in profile.xml but its
description file doesn't (which mean the target has been uninstalled),
it will be removed from kits.

Task-number: QTCREATORBUG-28921
Change-Id: I9d4d1687429f26b6a42b77c5aa398f6bca5455d5
Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-27 07:49:14 +00:00
Leena Miettinen
094b5294f6 Doc: Edit docs for Debug mode Disassembler and Debugger Log views
Task-number: QTCREATORBUG-28778
Change-Id: I66ea94881dc1ce3fa8d8fbe3bdd4b59504330738
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 07:29:40 +00:00
Leena Miettinen
1b2f1ac0f9 Doc: Edit Registers view docs
Task-number: QTCREATORBUG-28778
Change-Id: I30f24e7c192332611f9e7d14ec5541b6adccb9a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 07:29:33 +00:00
Eike Ziller
3afe94777c Examples/Marketplace: Create grid view with all items on demand
No need to create that at startup.

Change-Id: Iff4cc634777fdd6cc9920a60e3260ee6d5a1a619
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 06:48:35 +00:00
hjk
623661a034 ProjectExplorer: Remove usused MakeStep functions
They had been left in to ease downstream transition and originally
planned for removal for 4.15. We are beyond that now.

Change-Id: I046ea8a29ff709d639f3d1bb5298ee446a1feb11
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-27 06:45:32 +00:00
Christian Stenger
73227535a4 SquishTests: Adapt to dark theme
Depending on the OS QC may be started with dark theming.
As we use the color of the buttons on the welcome page to
decide whether a button is active or not we need to adapt
the expected colors to cover dark theming as well.

Change-Id: I844b1e2cf4b44ce9501a4ef4a850331ca9983e3c
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 04:36:39 +00:00
Christian Stenger
ac4aaf5e23 SquishTests: Some Python3 adaption
Makes some tests succeed and lets a couple of tests get further
on macOS.

Change-Id: I9a3f124c094e67f51748ddae47d00897fe5259d5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 04:36:30 +00:00
Tim Jenßen
feabda3aa7 Merge remote-tracking branch 'origin/10.0' into qds/dev
bigger conflicts resolved at:
  src/plugins/qmldesigner/CMakeLists.txt
  src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp

Change-Id: I08e2a109d8e37cbd77225129854e9e633725bfc7
2023-03-26 16:26:18 +02:00
Marcus Tillmanns
ae94d3b7ea Terminal: Handle bell
Change-Id: I61681166fc8e489ffd0807cf3bcb4a2abc9cf6e1
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 16:12:05 +00:00
Marcus Tillmanns
9417f8b99e Terminal: Add search
* Adds new search widget to terminal
* Adds new theme color "TerminalFindMatch"
* Fixes ESC key handling in terminal

Fixes: QTCREATORBUG-28946
Change-Id: I7b6057d13902a94a6bcd41dde6cc8ba8418cd585
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 16:12:01 +00:00
hjk
884a1d6f94 Replace a few \returns by Returns
Change-Id: I09c633e610421f5cc8257b15de60ffa98d890ee0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-24 14:51:55 +00:00
Alessandro Portale
623a7fa358 Fix QtCreatorIDEBranding.cmake
Change-Id: I1513058affb047c1a6483fbcd45547348d75e756
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 14:49:37 +00:00
Eike Ziller
1df085b9b4 Bump version to 11.0.0-beta1
Change-Id: I6f87635449be080dcc532168c0180945f4ddc02c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-24 14:26:44 +00:00
David Schulz
48cd81b015 Copilot: fixup compression timer cleanup
Unfortunately the timer gets deleted to early when the temporary object
that gets copied into the hash gets deleted. Delete the timer only if
the editor widget or client gets destructed.

Amends e6e895d6be

Change-Id: Ifee0dce337e7fc69ffeaeb82901135bd23ea8d81
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 14:12:36 +00:00
Mahmoud Badri
359ea5d55a QmlDesigner: Disable edit material button when no material entered
Otherwise clicking the button leads to a crash.

Change-Id: I668143a9cf1f394e30a58f0f6f6078b479d284b7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-24 13:56:57 +00:00
Mahmoud Badri
e2e53896f9 QmlDesigner: Fix Property Editor doesn't update binding properties
Now Property Editor correctly update a binding property when it is
added, removed, or updated.

Fixes: QDS-9465
Change-Id: I48eb101f7dcca04e123a84c6eebaf4ec6d098d6c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-24 13:53:54 +00:00
Alessandro Portale
f7639f458a Android: Launch "adb track-devices" with explicit working directory
Since no working directory was explicitly set, the "bin/" directory of
QtC was chosen as working directory.

"adb track-devices" leaves the server process alive after terminating,
and that server process used QtC's working directory. On Windows, that
caused that directory to be undeletable/unmovable as long as the adb
server was alive.

This change sets the working directory of "adb track-devices" to the
parent dir of the adb binary.

Task-number: QTCREATORBUG-28932
Change-Id: I3adf52829c9f4bf456d05d2685c04314e1d25a40
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-03-24 13:50:14 +00:00
Jarek Kobus
b5af4501df Fix include style
Change-Id: I64cb77f8d39dac35821fe96d735bc5dda35738e7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 13:42:50 +00:00
hjk
5996e58ffa ProjectExplorer: Allow Devices to be added without using the wizard
This re-organizes the buttons on the main device page a bit: The
topmost one still starts the wizard selection, below that are direct
individual buttons to add specific devices.

Change-Id: I52b2803febf658259dde9589544656fd4c8fc889
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-24 13:20:19 +00:00
Marcus Tillmanns
17a482bebe Terminal: Support paste via Middle mouse button
Fixes: QTCREATORBUG-28943
Change-Id: If48c021e509e10fd13e6e5356d0a364e91aae8da
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 13:16:23 +00:00
hjk
b7394e073e QmakeProjectManager: Work around a warning
warning: this statement may fall through [-Wimplicit-fallthrough=]

Change-Id: I95b97781934521b578571da196d6688302ce76f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 13:14:58 +00:00
hjk
6e276b0a00 Utils: Add a way to provide fall-back entries in an environment
These are used if a (presumably fully-expanded) environment does
not have a value for a certain key. Currently this works only for
fully-known environments, but this can at least be delayed until
the environment is needed, not when it is set up.

Change-Id: I9baaa2d23002ddd574101741a91d5f872e6b0314
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-24 12:53:15 +00:00
Marcus Tillmanns
a0924caea2 Terminal: Improve light default themes
* Made Ansi 11 easier to read ( darker )
* Fixed selection color to be black with 25% opacity

Change-Id: I2380e45b9cc15732085961f21eb6e5360321a9fe
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-24 12:29:27 +00:00
David Schulz
9ac1f221cc TextEditor: ensure block is layouted
...after requesting block bounding rect.

Change-Id: Id7420a1b1ae4761fad86b6dbbc9c9ebe639cc5fe
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 12:00:56 +00:00
David Schulz
e6e895d6be Copilot: correctly cleanup compression timer
fixes a leak and a crash if the timer triggers after the widget was
deleted.

Change-Id: I57794009186d4c5e4dee0b0c0746ffc5468000b7
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 12:00:50 +00:00
Cristian Adam
1be65dd1ee Terminal: Update on set focus after closing tab
Amends 84155e8354

This change sets the focus also on terminals that get destroyed via exit
or Ctrl+D

Change-Id: I9a96ae5b257f3e8a93db7efb4e7d4468b287c143
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 11:56:10 +00:00
Cristian Adam
3b6e59ab91 Terminal: Update on open/close the Terminal pane registration
Amends f95bd6119a

Change-Id: Ie20d73ad9d87c5b244c768a28f3a7bd71fdd272c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 11:55:58 +00:00
hjk
b4bc5f6e1b Utils: Add short documentation for two FilePath functions
ensureWriteableDir() and createDir()

Also change a few \returns to Returns.

Change-Id: I8c80616a465a7e665ff56fab8279e43e5755fb4f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-24 10:59:39 +00:00
Knud Dollereder
2da5e04ef7 Use QString::toUpper instead of std::toupper
Change-Id: I83fd40b9ac2ec8d47078c226390f5b352d4bf9bb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-24 10:46:25 +00:00
Alessandro Portale
3526b6a735 Terminal: Introduce Add/Close icons for the pane
Required a new "close" overlay.

Change-Id: I5268ec280992124ebcee78a73ab58b18e7c9309b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 10:39:00 +00:00
Burak Hancerli
47547e0c0c QmlDesigner: blame-file update for the bulk clang-format
Task-number: QDS-9097
Change-Id: I4cc499c2fd910b107434a1f8d4a3f0cbfd5efc5e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-24 10:10:49 +00:00
Marcus Tillmanns
47fcb28c8f Utils: Restore ctrlc stub
It was incorrectly removed in
0870f2583b

Change-Id: Id219981d459ab3bf9560945275ed874cc63efa64
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-24 09:59:05 +00:00
Semih Yavuz
8bf24bac3a Remove auto-format-on-file-save dependency from custom formatter widgets
We can use custom formatter not only with auto-formatting on file save,
but also tools/qmljs/reformat file action. Hence, command and arguments
lineedits of custom formatter should only be enabled/disabled by
useCustomFormatter checkbox. useCustomFormatter also should not depend
on auto-format-on-file-save checkbox's state.

Change-Id: If1a634612f38395fd846166f4cc72593f5150f91
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Xavier BESSON <developer@xavi-b.fr>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-24 09:31:33 +00:00
Eike Ziller
01b2108697 German translation: Help, ImageViewer
Change-Id: I24d0b8a6fac48d9583b107ede89f1d50a92f83fc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 08:48:26 +00:00
Eike Ziller
f28d542175 German translation: Beautifier, ClangFormat, ClangTools, Cppcheck
Change-Id: Ic0dd09cbed42ac9d83e212b6557372e0e1f8cf73
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 08:48:15 +00:00
Alessandro Portale
83d40683d9 Core: Fix error text color in SearchResultWidget
Remove the CanceledSearchTextColor theme role and use TextColorError
instead.

Change-Id: I3dde538d107ecfdd9c9a3f2406f6cd26ad28c902
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-24 08:47:24 +00:00
Burak Hancerli
fef7852da5 QmlDesigner: bulk clang-format trial
Task-number: QDS-9097
Change-Id: I9b063614030831a2dda6dbdc2bbc79205d6baeaf
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-03-24 08:45:28 +00:00
Leena Miettinen
77fa93ef0a Doc: Fix reference to an image that is now in WEBP format
Task-number: QTCREATORBUG-28778
Change-Id: I1d0b45781a1692384ec218d74f4f270b083916ed
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 08:11:57 +00:00
Thomas Hartmann
1e2c8d42e3 QmlDesigner: Make connection generation a bit more robust
* Do not hardcode the typename
* Handle types without defailt property/non visual nodes

Change-Id: I0db0173f7ec645dc42cdf52824fdc5ba1389bb13
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-03-24 08:03:04 +00:00
Cristian Adam
f95bd6119a Terminal: Register the command to open/close the Terminal pane
This way Alt+5 (Ctrl+5) would open / close the Terminal pane.

Change-Id: I91003987c1b8109abc302a79a895fab1557fefea
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 07:47:03 +00:00
hjk
2766b4004b Utils: Continue Environment/EnvironmentChange consolidation
Make Environment a stack of changes that gets "expanded" to
a full environment before things are actively accessed.

Later this expansion should be done lazily if possible.

Task-number: QTCREATORBUG-28357
Change-Id: If1c7bfdb9f58b81e71c51ed87ee75d6964a47019
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-24 07:45:35 +00:00
hjk
ae4e178221 Utils: Move the CommandLine destructor out-of-line
Not really cheap and bloats the user code.

Change-Id: I2039794f0608838d97b404bb7d92b489d22f2cbe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-24 07:45:11 +00:00
Christian Stenger
8af05292e7 Terminal: Fix Qbs build
Amends a485f18a94.

Change-Id: I107d142b4d1e4ca427d5d52af7bdfc102accae2e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 07:39:41 +00:00
Christian Stenger
875dc22ef4 Terminal: Do not use plugin tr includes inside header
...to avoid accidently including it elsewhere and using a
different Tr::tr() in turn.
Amends a485f18a94.

Change-Id: Iee5b6626ebf53cd2c18833f48ca1a603c3cbff8b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-24 07:39:35 +00:00