Commit Graph

80529 Commits

Author SHA1 Message Date
Marco Bubke
4cb99eb737 Sqlite: Improve ownership
Using the compile option instead of a function pointer makes the code
less brittle.

Change-Id: Id7f3b42c044d47f13e099f50c5bb33b72c05cde1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-27 14:36:24 +00:00
Thomas Hartmann
8ba06e6865 QmlDesigner: Do not complete Connections in the puppet
This is not required and does crash with Qt 6.5.
Calling component complete on Connections is not required, since they
should not be active in the puppet anyway.

Task-number: QDS-9533
Change-Id: I686b99adb2d888b7df53e5f7da14a2e0a5d147e7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-03-27 14:18:54 +00:00
Eike Ziller
fee50654a1 German translation: LanguageClient, LanguageServerProtocol
Change-Id: Ib462b215dd9f1a61d70c558cf9032f5452cc9115
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 14:01:42 +00:00
hjk
4adec47a3e Qbs: Return FilePath from QbsInstallStep::installRoot()
Change-Id: Ie4943ec3dfd760a37b9d85c65095ae0d6cad7fe1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 13:00:15 +00:00
hjk
18772b9db5 ProjectExplorer: Use 22 as ssh default port
Also when constructing an SshParameters object.

Change-Id: I0f5a194052c88805bf5f1f414c4b876229d7bdf8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 12:38:38 +00:00
hjk
103c03afd4 RemoteLinux: Drop workaround for remote executables
Not needed anymore and gets into the way of "double remotes".

With this change "Local host as 'double remote' behind some
real remote linux" can run plain C++ applications.

Change-Id: Id0863c0893e3df0ced59384d12adbe00bc39073e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-27 12:33:43 +00:00
Marcus Tillmanns
e45ee44ae6 Terminal: Use native shortcut representation
Changes the ESC configure button to display the native representation of
the ESC Key instead of the macOS specific one.

Change-Id: Id3ec69901afb2bcb8b352b9c50a1adb4a074cd74
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-03-27 12:24:01 +00:00
Filippo Gentile
193b1295f6 Debugger: run GDB post attach commands also for local inferiors
GDB post attach commands previously where only run for Remote or
Extended Remote targets.
Now they are also run for Local and Local Attach targets

Task-number: QTCREATORBUG-28764
Change-Id: I6cf34091f2e53ffc7ea436465c2c1de3ef637e9d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-03-27 12:19:17 +00:00
hjk
9783ffd7c3 Qnx: Allow incremental deployment
Seems to work nowadays.

Change-Id: I5d6ee3054d1ef127385403a92f8c1e3119eb27f7
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-27 10:45:24 +00:00
Robert Löhning
b82fdb0499 Git: Fix explanation in GerritPushDialog
Change-Id: I527414dc3948a009099ec993c0f71d3501394ecd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 10:25:12 +00:00
Miikka Heikkinen
51a071dbdf QmlDesigner: Fix build
Add BakedLightmap to type cache.

Change-Id: Id831fbcdc7ad3138d0f6a741098cfd429c15de39
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 09:53:04 +00:00
Marcus Tillmanns
43d6f1b294 Terminal: Allow Locator shortcut
Change-Id: I278eb3ec2c18efe49a400149a83f71d0fbb2a35c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:50:00 +00:00
Marcus Tillmanns
9f5f213337 Terminal: Fix search debug output
Change-Id: I66f5a5e5d11f892b11d009df234fe9d7c29356be
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:30:15 +00:00
Marcus Tillmanns
4ab5eb5339 Terminal: Fix warning messages
Change-Id: I1ab473c79219cf6e2adefaa1349b4675a2455b2f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:30:09 +00:00
Marcus Tillmanns
2eb4884742 Terminal: Make audible bell configurable
Change-Id: I6cc02f2f1b873f39352151265fb7ba1fe0f170fc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:29:54 +00:00
Marcus Tillmanns
af5f702f54 Terminal: Make ESC key behavior configurable
Change-Id: I806870c5dd7edbcd3ac2642849cca82f1939ce01
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:29:47 +00:00
Alessandro Portale
83759e8083 Utils: Improve QtColorButton
By making it more theme aware, using a contrast color to draw the
outline; using the whole button area for the color (had to implement a
custom focus rect for that); Tidying up the checkerboard code a bit.

Change-Id: I9855c07668f920caf371a03fef7be2795feb2a08
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-27 09:26:50 +00:00
Haowei Hsu
0aa7e2e7fa l10n(zh_TW): Fix translations of 'Filter'
* Filter (v.): 過濾 -> 篩選
* Filter (n.): 過濾器 -> 篩選器

Change-Id: I6687a2245de1a73dfebdc844e9a3d6dbb58d19ec
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:16:04 +00:00
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