Commit Graph

81276 Commits

Author SHA1 Message Date
Cristian Adam
c5a38b2f95 They were part of the blog announcement
https://www.qt.io/blog/qt-creator-11-cmake-update

but not in the changelog.

Change-Id: I1c47f0eeb986b5abebfdbc35a421b45b996f77c3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-15 12:02:13 +00:00
Leena Miettinen
923e95eba6 Doc: Describe the experimental Axivion plugin
Fixes: QTCREATORBUG-29240
Change-Id: I61e068796ddfd942553c9a0b64a8bede0d1db070
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-15 11:57:56 +00:00
David Schulz
61de872f0f Editor: ensure valid blocknumbers for overlay prefiltering
Change-Id: Ifc5f173fe12f3dca77fbcb6c4b8bfe6aa0bad7ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-15 11:49:09 +00:00
Tim Jenssen
039898058c qds: remove Quick Control 1 feature
Tab and TabView are not existing in QuickControls 2.

Change-Id: I16694d6015927c54087e0b4aeebb8dee245f04f8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-15 11:33:17 +00:00
Leena Miettinen
d3177b84bc Doc: Describe auto-adjustment of CMake config for Qt Quick projects
..when adding files to projects.

Task-number: QTCREATORBUG-28996
Change-Id: If1de542ce3262227c307e3f479f6f10bf493fa83
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-06-15 11:28:29 +00:00
Robert Löhning
012f67baf1 SquishTests: Update keyboard shortcut GroupBox
Change-Id: I168e6128f61b6363253c5ed999a29b1f64441cff
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-15 11:16:29 +00:00
Robert Löhning
c6e2e93bc0 SquishTests: Remove workaround for fixed issue with open terminals
This reverts commit 4c5163f675.

Task-number: QTCREATORBUG-15749
Change-Id: Icefdfe2f7e4f818f3407854619d4c6a395084af2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-15 11:15:59 +00:00
Marcus Tillmanns
6453cfa412 Terminal: Don't use askpass
Askpass is not needed for terminals.
You can enter the password inside the terminal.

Change-Id: I700efbc16cbf4bd9904c8652867af894e314785b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-15 10:41:50 +00:00
Eike Ziller
3825b9f2cc CMake: Some UI/tr fixes
Avoid the order "Label [ ]" for checkboxes, we changed all cases to the
standard "[ ] Label" because it looks very ugly and confusing the other
way around. Also move the corresponding directory setting to the next
row, which is not ideal but still looks better.

Improve message about reloading presets.

Change-Id: Ibcd26e24a2a4cd3ea5ca819f74e78edb40f46072
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-06-15 10:02:36 +00:00
Leena Miettinen
46cb0de54a Doc: Fix broken \previouspage link
Change-Id: Ia2e0d01833fd9f28545bfeee47c3386a96aafe0c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-15 08:28:38 +00:00
Leena Miettinen
4f3fea4baa Doc: Update Issues view docs
Task-number: QTCREATORBUG-28996
Change-Id: Icb35a36adf914b2791e405c1bed972fac40e6973
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-15 08:15:35 +00:00
The Qt Project
580202f54b Merge "Merge remote-tracking branch 'origin/10.0' into tr" into 11.0 2023-06-15 07:47:28 +00:00
Eike Ziller
68915713bf Merge remote-tracking branch 'origin/10.0' into tr
Conflicts:
	src/shared/qbs
	tests/system/suite_general/tst_opencreator_qbs/test.py

Change-Id: I683ebb489e7c2112b343bb3631f6343fdc84cc4a
2023-06-15 09:43:24 +02:00
Jarek Kobus
a0e9ff592f TaskTree: Document the TaskTree API
Change-Id: I9b7616c021100665e0da27af3fef66b0738ae41b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-15 07:24:42 +00:00
David Schulz
95609551a1 Core: add aboutToSave and saved signal to IDocument
We need reliable signals that gets emitted when documents are saved to
inform the language server about the document state change.

Change-Id: I0a1e8a5317ae6984ff17d878952c74f69765e3f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-15 07:19:39 +00:00
Leena Miettinen
16bfc82ef0 Doc: Add info about files being added to CMakeLists.txt files
...when using project wizards to add them.

Renamed files are also renamed in CMakeLists.txt and removed
files are removed.

Task-number: QTCREATORBUG-28996
Change-Id: Ia2a3676841ec025c5e947b01144d06980b1b4a8f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-06-15 07:16:39 +00:00
Leena Miettinen
7ae586220d Doc: Update info about CMake presets files
Move the section into a new topic.

Task-number: QTCREATORBUG-28996
Change-Id: Ib0eb8696606b6612bf8c639e7ebeb9123c107146
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-06-15 07:16:26 +00:00
David Schulz
80e66ed172 Python: preserve sorted state of project files
Change-Id: I77cd9d9bac93a04d0e30beda8541862a1cd5371f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-15 06:16:17 +00:00
David Schulz
c617c2afa1 Copilot: remove trailing whitespaces of completion text
The Copilot language server likes to include trailing new lines in the
completion items. This can move the whole editor content below the
suggestion needlesly. Additionally the new lines are not always
sensible (https://www.youtube.com/watch?v=kQzpvHPeBQo&t=402s).

Change-Id: I75a4a0f2d30a7c757361851dae5c0265777dfea9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 14:09:10 +00:00
Eike Ziller
ea8182016b CMake: Fix command line for "staging" an installation
Fix that the "install" target was added too late in the command line
arguments, leading a cmake error for multi-config setups like for iOS.

Change-Id: If35a96725f55b5d250ccdd7386ba02d7a21ede85
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-06-14 13:53:45 +00:00
Marcus Tillmanns
79dd731d87 Utils: Add Extra Data to Terminal process
Allows a terminal to display the "correct" program name.

Fixes: QTCREATORBUG-29281
Change-Id: I73dacf71078dd1407ddda7bbc33a93c5ad172cbf
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-06-14 13:51:49 +00:00
Marcus Tillmanns
43862f4cd4 Terminal: Fix setting environment for stub process
The TerminalInterface was setting the environment of the target process
for the stub, this is uneccessary.

The ExternalTerminalProcessImpl was not using the environment
of the stub process which will be important later.

The TerminalProcessImpl was not setting the right environment either.

Task-number: QTCREATORBUG-27519
Change-Id: I89238feedd755d1f1cbe2255b71711e0d5c149d0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 13:50:13 +00:00
David Schulz
3c2d545230 LanguageClient: improve the performance of creating text marks
If we already know the document for a text mark we can save the lookup
in the documentModel. This improves the performance for the text mark
creation on windows by around 10%.

Change-Id: Iecf9cb2e9114ed026f5e354e75d279b54c0ce51d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-14 12:56:36 +00:00
Leena Miettinen
e973257cbc Doc: Describe moving files while renaming them
Task-number: QTCREATORBUG-28996
Change-Id: Iecf3b8e5f4d5270803a9591854a4324f8fa6016d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-06-14 12:42:50 +00:00
Cristian Adam
12e04105f5 App: Allow overriding of QT_SCALE_FACTOR_ROUNDING_POLICY
The current code sets Qt::HighDpiScaleFactorRoundingPolicy::Floor with
no option to override the value to something else.

Change-Id: Id08a1cf8165f44a759c9ce8016a1173eb38f5a8d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-06-14 11:48:54 +00:00
Leena Miettinen
aba966e3ee Doc: Remove info about Docker plugin being experimental
The plugin is enabled by default in 11.0.

Task-number: QTCREATORBUG-28996
Change-Id: Id17d484c66b46a1a70c549c4a6cdbff6e32189bb
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 11:35:13 +00:00
David Schulz
4f01ac4bdf Python: exclude the project file from the list of files to save
Amends 8d733f95e6

Change-Id: Ia9d1f29dd85a9560f4fe4e808cba625f1b24ad2c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-06-14 11:21:09 +00:00
Marcus Tillmanns
6e64a75cb7 Terminal: Fix base Environment
Change-Id: I509333df419f88b922dd69a4ee6484f2c809c31d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2023-06-14 10:15:03 +00:00
David Schulz
32c97a10d0 TextEditor: fix painting editor overlay in blocks with preedit text
Task-number: QTCREATORBUG-29134
Change-Id: I7049422688fccb421984463e4114546533da55cb
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 10:05:21 +00:00
David Schulz
827d6e66f8 Editor: only paint the preedit cursor
Task-number: QTCREATORBUG-29134
Change-Id: Ia44b0c8ddc88da7b64527fea806139726d57243a
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 10:05:16 +00:00
David Schulz
9091c99429 TextEditor: correctly highlight preedit text
Fixes: QTCREATORBUG-29134
Change-Id: I8c5cdab8c5b2e5a2380c9e4aeadaf1bd72e60e09
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-14 10:05:12 +00:00
Leena Miettinen
196245c8f6 Doc: Add conditions to hide broken links in the QDS Manual
The linked topics are not included in the QDS Manual.

Change-Id: If2bfb1dbc4478a924e56f6dcce840a80c83f19e8
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-14 06:53:07 +00:00
Eike Ziller
cf90e478e6 Doc: Fix documentation about (widget) Designer plugins
- fix the plugin location for the three platforms
- Qt and Qt Creator use RPATH on macOS since a longer while, which
  removes the need to fix library references with
  otool+install_name_tool
- clarify the paragraph on compatibility

Change-Id: Id7e011e061cff578398a83e9f54aec0a25ebdc4c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-14 06:25:08 +00:00
Eike Ziller
c35dca17b8 Some more tr fixes
- avoid manual line breaks
- fix plural
- add some translator comments
- explicitly name an output pane
- use imperative for placeholder text
- it is a Markdown editor nowadays, not a viewer

Change-Id: I8418cfe0294c028b7d873305db0af4c25bc1097f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-14 06:10:53 +00:00
Eike Ziller
4e73069358 Debugger: Add missing full stops and quotes
And de-argumentify a string that is easier to handle as two strings.

Change-Id: I1ba5d86ae870adb107dd5b0a70c6492f1cacafde
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-06-14 06:10:09 +00:00
Eike Ziller
33449bc880 Add full stops to various error messages
Change-Id: Ic4e07c5063a2e42af643faa4a5acb8445b12d6a1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-14 06:09:54 +00:00
David Schulz
37433c1897 Editor: do not set the viewport margins if they have not changed
Change-Id: I01adabc52e47e8a47aff0f5dc2b580066e51307c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-14 04:58:49 +00:00
Eike Ziller
a6f2ee5b8c Python: Tr fixes
Add missing colons, quotes and full stops, and don't use book style
capitalization for labels.

Change-Id: If338922c7221eac498612ad5a152f24cd921e884
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-13 13:46:09 +00:00
Eike Ziller
7a605e9a59 Consistently use "Callgrind" and "Memcheck"
Change-Id: Ib9727153fcf653cf11b07592639f544a856a8ad9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-13 13:45:45 +00:00
Eike Ziller
b1e4ed3b7c Add change log for 10.0.2
Change-Id: I88edcb5e93f689b0a835e4952083a7b958b845c3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
v10.0.2
2023-06-13 13:41:34 +00:00
Cristian Adam
4d77487382 GitHub Actions: Use major version changelog also for pre-releases
Amends 332c47ba69

Change-Id: I08057e9d75b2900b829c225bf1e73f3ae82737d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 13:05:30 +00:00
Christian Kandeler
39d9edbddf ProjectExplorer: Fix off-by-factor-of-100 bug
...when serializing the output panes' "max char count" setting.
Introduced in c898047880.

Change-Id: I0ed920efe3ed5b036b60b86ae9619ad9c154955e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 11:53:50 +00:00
David Schulz
c547c8615f TextEditor: optimize setting refactor markers
emitting requestBlockUpdate is not for free so limitting it to blocks
that have changed improve the performance notable for documents with a
lot of refactoring markers.

Change-Id: Ie288a367d1d1d6a9f4359e37ff8486a1dfe36752
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-13 11:52:00 +00:00
Leena Miettinen
590cdf4f61 Doc: Describe managing packages with vcpkg
Fixes: QTCREATORBUG-29221
Change-Id: I2b06e9b0c3641b021309afc7546e7f92a52a201f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-06-13 11:39:26 +00:00
Cristian Adam
332c47ba69 GitHub Actions: Do not fail for missing change log file
When using special tags e.g. beta, rcX, the change log file might not
exist.

Change-Id: I87a4b14f5a00f510763c41d189b815f9f503f90d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 09:56:19 +00:00
David Schulz
4481686909 TextEditor: improve performance of painting indent depth
Avoid asking the indenter for the visual indent depth since some
implementations are not cheap and might even cause file io. Fall back to
the default detection.

Change-Id: Ic85d134fc29a0599768ac05c306b8593e83db327
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2023-06-13 09:05:21 +00:00
David Schulz
e24be95601 TextEditor: prefilter refactor markers before painting
This prevents calculating the block bounding rect for blocks outside of
the cliprect.

Change-Id: I416f1e6f71ae7e87fcc208f3eb3eb69300c9a1f8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-13 09:05:15 +00:00
David Schulz
f782399789 TextEditor: prefilter overlay selections before painting
This prevents calculating the block bounding rect for blocks outside of
the cliprect.

Change-Id: I4a7311c3f41cab329098f6dfc122d60bd89d215d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-13 09:05:09 +00:00
Marcus Tillmanns
8e16822d73 Terminal: Close Terminal.app window automatically
Change-Id: I6756c55b644e0db55b6d0b7ca892a890805e7285
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 09:02:24 +00:00
Jarek Kobus
a4c406d4a1 TaskTree: Make docs consistent when referring to functions
Always add brackets after function name.

Change-Id: I586e82078cad6e319ea5d983437b8f8c7813f63d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-13 08:48:35 +00:00