Jarek Kobus
688ec935cd
VcsCommand: Remove internal terminate() signal
...
This signal was emitted only from cancel() method and
used only when runCommand() was called. However, with
just 2 public usages of cancel() no-one was used
in conjunction with runCommand(). So, this signal is
no-op.
Change-Id: I2541c6498928d313faafc2fbe47ab609393486d1
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-05 17:11:17 +00:00
Jarek Kobus
f4233a1c22
VcsCommand: Change the default logic for fully sync
...
Remove VcsCommand::FullySynchronous flag.
Rename VcsCommand::NoFullySync into UseEventLoop.
By default the command will run fully synchronous
(i.e. without nested event loop). Only when
UseEventLoop is specified, and the command runs in
main thread, the nested event loop will be used.
This change should preserve the current behavior
on all code paths.
Change-Id: Id4bbaf68402ceed5e3fcc6f294521e87eb0b8d4d
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-05 17:10:04 +00:00
Jarek Kobus
3e69ea863f
Subversion: Remove FullySynchronously flag from vcsMove()
...
This flag is no-op since NoFullySync isn't passed
and we are always running vcsMove() from UI thread,
so it will run fullySynchronous anyway.
See VcsCommandPrivate::isFullySynchronous() condition.
Change-Id: I257cd925c08e7b2406f32889e1086cc36a0473dc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-05 17:09:50 +00:00
Jarek Kobus
772d3d7c79
NickNameDialog: Use more FilePath
...
Change-Id: Id7677a636977343ab6cef72ad0267f27981c640a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-05 17:08:08 +00:00
hjk
26d9e6900e
ProjectExplorer: Don't try to fix remote build paths
...
Change-Id: Ia8a980fcb5154cfbfb412b3d7c4b565e9d200b15
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-05 15:14:36 +00:00
Jarek Kobus
c4e6493ff1
RemoteLinux: Replace foreach with ranged for loop
...
Change-Id: Iee251639c20131c8fc2fd2e182b131a9786411c7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-05 15:05:29 +00:00
Jarek Kobus
392585f76d
FakeVim: Replace foreach with ranged for loop
...
Change-Id: I0de9620ebf837be25e153bfd282b6564d4d2b115
Reviewed-by: hjk <hjk@qt.io >
2022-10-05 13:50:35 +00:00
hjk
f0834e8725
Meson: Inline mesonbuildsettingswidget.ui
...
Change-Id: Ib927f8166f9c43f10c4dd0feae912e3cb4cb153f
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-10-05 13:15:36 +00:00
Christian Kandeler
c46e5cef2d
LanguageClient: Offer to rename matching files along with symbols
...
Like we already do in CppEditor and ClangCodeModel.
Change-Id: I9cd292950e40c499d99cc561fbf0ad99af477803
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 12:59:55 +00:00
Christian Stenger
378d813797
Core: Restore object name for dialog
...
And adapt usage inside tests.
Amends f5c725cf23 .
Change-Id: I8f1e47ea206e34a242988373fa569d547d8d637d
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2022-10-05 12:59:18 +00:00
Leena Miettinen
3667b5ea18
Doc: Describe Text Editor > Font & Folors > Line spacing
...
Update screenshot.
Task-number: QTCREATORBUG-27876
Change-Id: If5eef7243e94492551480f790286d0538d552cd7
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 11:59:58 +00:00
Jarek Kobus
ebcc51ecbf
Help plugin: Replace foreach with ranged for loop
...
Change-Id: Idf7a7182e88aba35dff57ef92e1c873b33cb42a1
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-10-05 11:33:38 +00:00
Leena Miettinen
9accbdac02
Doc: Update info about Clang and clangd preferences
...
And the Show Preprocessed Source action in the code editor
context menu.
Task-number: QTCREATORBUG-27876
Change-Id: I43ca26d6ee7bb5e0441a37aeb1f7eecbb4ba8fde
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-05 11:22:47 +00:00
Leena Miettinen
94ab264d45
Doc: Describe create cursors at the ends of selected lines
...
...by pressing Alt+Shift+I
Task-number: QTCREATORBUG-27876
Change-Id: Ibdf25f97ec4c705b62e0c0f78239c9004cc45fce
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 10:06:52 +00:00
Christian Stenger
e70bb187dc
Squish: Save modified files before running a test
...
Change-Id: Iaf15c05ea057e871d0facb60cbb036a1497dd038
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 09:16:28 +00:00
Christian Stenger
6a4b3e67e0
Squish: Expect file changes when recording
...
Expect the object map to change in general and the test script file
to change on successful recording to avoid unneeded confirmation by
the user.
Change-Id: I72fe4534fdc7b6b7064222f7c9b0e0989cc17976
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 09:16:19 +00:00
Christian Kandeler
718086dea8
LanguageClient: Allow to pre-set the new symbol name
...
... when renaming.
There are contexts which provide the new name in advance.
Change-Id: I4bda689405060c343c0654d0aca274f10ee22752
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-05 09:03:11 +00:00
Christian Stenger
6a720c5bba
Squish: Fix script generation
...
Change-Id: If9c9ef2c3f8e6da14da282554becd075de761d6e
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 04:33:00 +00:00
Christian Stenger
b11490142e
Squish: Remove unused capture
...
Change-Id: I3e54eabc7829d7e69471406235a0065b4e0aec6c
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-05 04:32:28 +00:00
hjk
7dfe423205
Perforce: Remove apparently unused promptdialog.ui
...
Change-Id: I1f2e9d13948956397c35d2cdc6ae0e81f88bf74c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 15:50:56 +00:00
Tim Jenssen
7e248d9a08
fix warning
...
Change-Id: I6a27ea45c064f3f09b669a74bd36155067c7b005
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2022-10-04 14:10:57 +00:00
Jarek Kobus
3d70de9382
VcsInfo: Remove unneeded c'tor and operator==
...
Change-Id: I6b2a797290854bd34abc6680d5377749678ef687
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-04 14:06:16 +00:00
Jarek Kobus
cd582faa7e
CppEditor: Limit the usage of qMakePair and std::make_pair
...
Change-Id: I4c85edbaccb553320b5488d3dd2c2595fc2bd825
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 14:06:00 +00:00
Jarek Kobus
afd1742f9f
CPlusPlus: Limit the usage of qMakePair
...
Change-Id: Ica59c320fb700369e968bb03a93deff34eb7ffb7
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 14:05:43 +00:00
The Qt Project
be9f6fea9b
Merge "Merge remote-tracking branch 'origin/8.0' into 9.0" into 9.0
2022-10-04 13:45:23 +00:00
Tim Jenssen
964f539e55
Merge remote-tracking branch 'origin/8.0' into 9.0
...
resolved conflicts:
* doc/qtdesignstudio/src/developers/studio-designer-developer-workflow.qdoc
* src/plugins/qmldesigner/components/edit3d/edit3dwidget.cpp
* src/plugins/qmldesigner/components/materialbrowser/materialbrowserview.cpp
* src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp
and compile fix in materialbrowserview.cpp
Change-Id: I686e7e93ded8ac1afc792942ded47cd9fe4341ed
2022-10-04 13:44:42 +00:00
Christian Kandeler
eccbfc9459
LanguageClient: Allow to not pre-select non-project files for renaming
...
In alignment with what we already do in CppEditor/ClangCodeModel.
Change-Id: Ic68eca1879ed06887d3c5e39a09982bdd8c61065
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-04 13:11:43 +00:00
Marco Bubke
47887da778
QmlDesigner: Forward default value in settings
...
Change-Id: Id60a8ff569a15212b410f73ab707e5e37a3ca5a1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2022-10-04 12:58:41 +00:00
Eike Ziller
90900fc952
UpdateInfo: Ignore multiple update check requests
...
The existing code would kill the currently running process, but
- It's unclear why it should do that. If the user wants to cancel the
currently running one, they can do that in any case.
- The existing code killed the current maintenancetool, but did not
cancel the task in the progress manager.
Task-number: QTCREATORBUG-28236
Change-Id: I06c2d6b733d637e38cae120dc1a375f7952bfa85
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2022-10-04 11:55:44 +00:00
Jarek Kobus
993fd2a92a
VcsBasePlugin: Use FilePath::relativePath
...
Instead of QDir::relativeFilePath().
Change-Id: Iacd25e51dc87b987402ff3677f6705c6e0e8edbf
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-04 11:51:40 +00:00
Jarek Kobus
c666c93882
VcsBasePlugin: Use more FilePath
...
Change-Id: I7bc80245b093b210439efdf3ea353b52b288dcc0
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-04 11:51:20 +00:00
Jarek Kobus
34f9229eef
VcsOutputWindow: Use toVariant() when storing FilePath
...
Amends 4edb238073
Change-Id: Ied6f2d9fd78a40f70393eae1c685198ab119e575
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-10-04 11:51:11 +00:00
hjk
4f2b15679d
RemoteLinux: Allow remote linux build devices as opt-in
...
... by setting QTC_ALLOW_REMOTE_LINUX_BUILD_DEVICES=1
Registering compilers and cmake on such devices already
works manually. [Note: The remote file dialog is extremely
slow when browsing remote directories]
After that, opening a CMakeLists.txt on the device works,
but not much more.
Change-Id: I19025930699f6aec57d26a36b3fb04109fbf03e8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-04 11:42:46 +00:00
Mahmoud Badri
dbbed3dc68
QmlDesigner: Fix property groups missing on new project creation
...
Fixes: QDS-7469
Change-Id: I97809f1e143e92374c72e9fc58f2440742cbcc71
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Ali Kianian <ali.kianian@qt.io >
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2022-10-04 11:31:45 +00:00
Mahmoud Badri
18fd37e331
QmlDesigner: Expand material browser sections when searching
...
Make sure material browser sections that have matches are expanded while
searching.
Fixes: QDS-7836
Change-Id: Ie30c5425e8efee65cc4bdfa473b269841e73a9d3
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io >
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2022-10-04 11:30:08 +00:00
hjk
0d079bcf02
Utils: Remove unused #includes in theme.cpp
...
Change-Id: If9f032414d1b16c15482fc0eb7f804021e561a17
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-10-04 10:50:39 +00:00
hjk
09fb8d403b
CMake: Use correct device environment for remote cmake binaries
...
Change-Id: Id2fccab7f2d051406b0f2b0bbf3c118198f6ed32
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 10:47:00 +00:00
hjk
3b84a408df
CMake: Allow parser to run remotely
...
Change-Id: I3953d459177790fd652ab69c083b0dd0f1d29031
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 10:46:51 +00:00
Mahmoud Badri
9dda372b7a
QmlDesigner: Fix material browser context menu open issue
...
Allow opening material browser context menu when search is empty.
Fixes: QDS-7837
Change-Id: I473b62d1f1b94a42d5c60f0e06a6d2b76b74ca6d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io >
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2022-10-04 10:19:57 +00:00
Christian Stenger
7020efffbb
Squish: Request application settings if necessary
...
When recording a test case and the suite.conf does not specify
the AUT to be used ask the user to specify the application
and its arguments.
Change-Id: I01aa96e16d4abc763aa4be7ddb285601e81f7a01
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-04 09:57:27 +00:00
David Schulz
33177686fd
TextEditor: do not replace nbsp with normal spaces
...
This fixes saving documents and copy texts that contain non breaking
spaces.
Task-number: QTCREATORBUG-17875
Change-Id: Ie0b0e68cf7d67e768ff99c9acae1937aafc78ce7
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-10-04 09:52:35 +00:00
Alessandro Portale
78ef2e2b52
WebAssembly: Convert to using Tr::tr
...
Change-Id: I7fb420363884236ebd7eeb589a29a475f8911915
Reviewed-by: hjk <hjk@qt.io >
2022-10-04 09:31:38 +00:00
Jarek Kobus
898053533a
ProjectExplorer: Limit the usage of qMakePair
...
Make the code less verbose.
Change-Id: If9fe08a6a7538d34c80ca97a2aec21a2bd6e5d22
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-04 09:02:22 +00:00
Jarek Kobus
50f2f57f6a
ProjectExplorer: Limit the usage of std::make_pair
...
Make the code less verbose.
Change-Id: I4d671a49a6b8097d4a324bdd9f6a2c9dbdb225cc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 09:02:18 +00:00
Christian Stenger
aedd50eeb7
Squish: Fix wrong condition
...
Change-Id: Ic816a96202de710d1ff011ec489f066f98d2f7e5
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-10-04 08:51:17 +00:00
Jarek Kobus
95e54055ef
Clang: Limit the usage of qMakePair and std::make_pair
...
Change-Id: Ida094760023047ecb8ba29e60d5e81f766981b65
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-04 08:45:28 +00:00
Jarek Kobus
93dc9ce591
QbsProjectManager: Limit the usage of qMakePair
...
Change-Id: I00cf4e3608d275051c142ab574a47ff4688c7970
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 08:09:33 +00:00
Jarek Kobus
7eb778dc3d
Theme: Limit the usage of qMakePair
...
Change-Id: Ibc47dfc4f48ab1b3bc2fe77b353d13d1e22d8b8f
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-10-04 08:05:22 +00:00
Jarek Kobus
43f3b70437
QMakeProjectManagerPlugin: Limit the usage of qMakePair
...
Remove unneeded Utils:: scope.
Change-Id: I9d42aa2005214004b91686168e2bcaa420354a6c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-10-04 08:04:05 +00:00
Jarek Kobus
4857a58fdd
GitLab: Limit the usage of std::make_pair
...
Make the code less verbose.
Change-Id: If938923022f8bcdb2559328e03035b8b38145f3e
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-04 08:00:24 +00:00