Commit Graph

88653 Commits

Author SHA1 Message Date
Jarek Kobus
0114933deb AndroidRunWorker: Remove redundant variables
Change-Id: I6677ce5d4640fdd68d3571d833f9c3651068facc
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-27 09:38:59 +00:00
Jarek Kobus
7c98f2aa9e Axivion: Unuglify issues view frame
BaseTreeView's c'tor calls setFrameStyle(QFrame::NoFrame), that's
why the frame was lacking. Bring back the Qt defaults explicitly.

Change-Id: If48c97cc0b0afa3fdb71b5ba30284371da35192f
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 09:33:27 +00:00
Marcus Tillmanns
536bb51c5a Android: Validate selected Java version
Change-Id: If77e5b524fdfea7d87ff4f221ef81d2f723f2f82
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 08:42:49 +00:00
Eike Ziller
a8414effd8 Merge remote-tracking branch 'origin/13.0'
Change-Id: If752e3383b35873b696e8beca27d8838a4096c8a
2024-02-27 09:04:51 +01:00
Eike Ziller
fdabbfcbcf Diff: Fix that dialog for "Revert Chunk" closes right away
On macOS.

Change-Id: Ifbe402c44779e4062a5dfb5d7c09da7ac845acce
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2024-02-27 08:00:21 +00:00
Leena Miettinen
3d8592edd1 Project Explorer: Fix quotes
Use double quotes for emphasis in UI text.

Change-Id: Idb34140816c8dfffaa87837055a1b76ceda09ef0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-27 08:00:04 +00:00
Leena Miettinen
795d144227 Translation Wizard: Be less polite
Do not use "please" in UI text.

Change-Id: I5332579ab297ae35a18fed88097313c8a50a1f6d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-27 07:59:34 +00:00
Marcus Tillmanns
290232bfd3 Android: Warn if parsing packages failed
Change-Id: I61f249e1b45f1b9322b189b2781dc2375e9d13ca
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 07:38:20 +00:00
Mahmoud Badri
fd2ec14a2d QmlDesigner: Collection editor new collection dialog improvements
- Show a unique name when the dialog appears
- Unify and simplify the unique name generation methods
- Fix name field left border cut
- Remove warning on dialog open
- Clear lot of clutter

Change-Id: Ie5b9711c704e68bb41c4f7c3ff63091d9bd11175
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-02-26 15:19:15 +00:00
Jarek Kobus
69a0f16547 TextEditor: Hide FormatTask in cpp file
Unexport it.

Change-Id: Ib2e73486e31d115a3e960c7bb4420014172313a7
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-26 15:19:08 +00:00
Jarek Kobus
fc59b375ff TextEditor: Move editor field outside of FormatTask struct
It doesn't take part in format() processing function, so move this
field outside. The format() may be called in separate thread, so,
just for safety, don't keep this field there so that nobody accesses
it from non-main thread.

Remove the c'tor of FormatTask and use list-initialization instead.

Change-Id: I54daf1461243a46bbd7f58c91ba051909b6cf280
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-26 15:19:01 +00:00
Jarek Kobus
5df9dee69a Axivion: Remove assert for empty relative doc path
Change-Id: I4364e691c78eb52a2c880e416521458b66931f47
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-26 15:00:53 +00:00
Christian Kandeler
0d7abc019f ClangTools: Remove support for reading settings from ancient versions
Change-Id: I643c553686ec72556fbae62fe1b8c9c9fe327787
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-26 14:54:51 +00:00
Christian Kandeler
e43fde322e CppEditor: Fix indentation of function call arguments
... following an argument with an array subscript operator.

Fixes: QTCREATORBUG-29225
Change-Id: Iba38043d94be718efee30ce50f5b55aac4ba6ecd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-26 14:53:24 +00:00
Christian Kandeler
3f692e2f17 CppEditor: Refactor CppCodeModelSettings
Preparation for per-project settings.

Change-Id: I78ecf0cde6150e40353c4aea6a98717d119f05c7
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-26 14:49:59 +00:00
Miikka Heikkinen
595ba9e68c QmlDesigner: Suppress reflections from helper grid and selection box
These are tools of the 3D view and shouldn't be reflected on reflection
probes added to the scene.

Fixes: QDS-11963
Change-Id: I6d32ed737e3801fbab81a746306de571a25ff363
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-26 14:14:02 +00:00
Miikka Heikkinen
0a97233326 QmlDesigner: Fix metainfo type detection for QML basic types
Qml basic types seem to have "QML." prefixed to the type sometimes,
so check for those as well when determining the metainfo type.

Fixes: QDS-12030
Change-Id: I944f9a247927b952bb76aaa9f5eaa31334cc10c8
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-26 13:31:02 +00:00
Christian Stenger
dafb8f2231 Axivion: Fix toggling sort
If the horizontal scroll bar is not at position 0 we got the
wrong offset for the position of the column.

Change-Id: Id333584f9d509b67eeef39bc7966f095b577e0fe
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-26 13:22:21 +00:00
Teea Poldsam
d576441d97 Doc: Update Log In UI - Components
Edited the tutorial and added or updated images.

Fixes: QDS-11188
Change-Id: I9db7bacd28b9899fcfbf51e2d3447c060c578013
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-26 13:15:07 +00:00
Eike Ziller
e8bc1fa78e Squish: Avoid yes/no questions, actions are clearer
Change-Id: Ia0e23a08f074d61db8ead4566753fb27e4a97a71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 13:10:46 +00:00
Leena Miettinen
0bcc5378e5 CMake: Fix setting label and tooltip
Change-Id: Ia5ca9472054ec366110086bf79f630c5716b83fb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-02-26 12:49:43 +00:00
Miikka Heikkinen
3f40da0978 EffectComposer: Fix qml warnings
Change-Id: I40abc68800b95888edae0450625f20d51fd8ed74
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-26 12:41:44 +00:00
Jarek Kobus
97ec97ff27 ClangModelManagerSupport: Skip explicit call to waitForFinished()
This is done by the FutureSynchronizer d'tor, so no need to call
it explicitly. Move the FutureSynchronizer as the last field of
ClangModelManagerSupport so that its d'tor is executed first.

Change-Id: Id38b8ec08579be8e4ade99ecadb511850ff37f8c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-26 12:30:56 +00:00
hjk
b5e03b8fe2 QtSupport: Reduce ExtraCompiler life time to plugin life time again
Amends 6467797af2.

The created extra compilers were parented to their factories, who gained
a life time extension from 'end of plugin live' to static destruction
when the factories were made static. However, this that time the likewise
static QObjectCache in GeneratedCodeModelSupport::update might be
destroyed already, leading to a potential crash in m_cache.remove(dead).

This change here re-establishes the original timing by using the
plugin itself as parent for the extra compilers.

Change-Id: Id868b7b87f00440c67af551b71359c47a5c29cba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-26 11:57:23 +00:00
Marcus Tillmanns
b10df4c1b3 ProjectExplorer: Show full lines during compilation
Especially on Windows with VC2022 & Ninja, the output would often
display lines that ended in the middle until the next batch of output
was added.

This patch uses the Process facilities to only show full lines.

Change-Id: I38fcb2e8cb115637d15181b39374c533db150c1a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-26 11:55:34 +00:00
Leena Miettinen
6df43e8b61 Axivion: Improve tooltip
Remove wordiness and just explain what enabling the checkbox does.

Change-Id: Id4c03c1aa7fe7b87919036ffe39717e1a184d5f2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-26 11:54:49 +00:00
Orgad Shaneh
b890b35e11 SyntaxHighlighting: Fix MSVC warning
Implicit size_t -> int conversion.

Upstream MR: https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/601

Change-Id: I4208f0240c8a223fccf40add828499597e137c26
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-26 11:51:41 +00:00
Semih Yavuz
1b53c931c5 qmllssettings: Fix incorrect detecting of latest version
Update the latestVersion in the loop. Otherwise we always compare to
initial value and consequently the last installed version incorrecyly
becomes the latest version.

Fixes: QTCREATORBUG-30423
Change-Id: I7083928c5e371f0337677eacf1b3b4da50358a7c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-02-26 11:38:32 +00:00
Eike Ziller
98ffe3d9d0 AutoTest: Small fixes in translatable strings
Make the tool tip for useXMLOutput, quickCheckForDerivedTests, and
parseMessages consistent, use rich text instead of manual line breaks.

We use plural for the things that a locator filter locates (for filters
that don't trigger an action).

Beautify tool tip.

Change-Id: I6276e9a0894d59670a45937e1c4227405c346f38
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-26 11:22:42 +00:00
Jarek Kobus
17a9cce898 Async: Avoid potential leak of QFutureWatcher
Make QFutureWatcher a child of the receiver / guard inside
the onResultReady() / onFinished() handlers.
This prevents the leak of QFutureWatcher when the receiver / guard
got deleted and the future never finishes.

Change-Id: I5653593777ee394dff8cc3c4b7506d8c1907232f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-26 10:51:49 +00:00
Jarek Kobus
51ddffefd8 QLiteHtml: Update submodule sha to include the crash fix
Task-number: QTCREATORBUG-30427
Change-Id: Icc166c8bb895e5ce37887b12af97a5b785df2b29
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-26 10:24:42 +00:00
Christian Stenger
48a8fa4c5d Utils: Fix build with too old MSVC
Change-Id: Ib845a702eea3f61b3c453d3531f94a70db03a95e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-26 10:07:47 +00:00
Jarek Kobus
ff6e231170 CompilationDatabaseBuildSystem: Remove unused QFutureWatcher
Change-Id: I6dd6769cb5aa71149735a7920701c8f6ad98ee03
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-26 09:33:43 +00:00
Jarek Kobus
2bee865f80 CompilationDbParser: Ensure the futures are synchronized
Don't leave possibly running futures on Creator shutdown.

Change-Id: I8b0f800518edde638376013f993f5846df4d1753
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-26 09:24:19 +00:00
Christian Stenger
6dda17a2b3 Axivion: Take alignments into account
Change-Id: I3d14b88562dbd9eca79ba954e6d01206aaec450e
Reviewed-by: hjk <hjk@qt.io>
2024-02-26 09:23:25 +00:00
Christian Stenger
fdc84e8458 Axivion: Tweak path display
Change-Id: I9148530eff5dbc4757c2f4b46c1b55a895043f1f
Reviewed-by: hjk <hjk@qt.io>
2024-02-26 09:23:16 +00:00
Eike Ziller
76cd84b7cd iOS: Fix some missing full stops
Change-Id: Ie6c1b9dafc3e3fe349adcbe6011244136002cc01
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 09:09:47 +00:00
Eike Ziller
d2cec31f08 Git: Fix a label
Settings labels are lower case and end with ":"

Change-Id: I729d25569790899a8d26966914ee8b872a48bcb0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 09:06:49 +00:00
Eike Ziller
902a42a0f2 Perforce: Add missing full stop
Change-Id: Ic8e78fd3465ad3a0301f4bce65ced5f9948753f3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-26 09:05:47 +00:00
Eike Ziller
44f6bbf260 Python: Wrap some file paths and kit name with quotes
Change-Id: If147eae864013d410239d69184cdb9a4bc4479eb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 09:05:34 +00:00
Cristian Adam
2d7af40007 CMakePM: Consider envvar QTC_CMAKE_USE_JUNCTIONS
This envrionment variable can be set globally or locally for a project
via '.shared' configuration.

See https://doc.qt.io/qtcreator/creator-sharing-project-settings.html
for details.

Task-number: QTCREATORBUG-30385
Change-Id: Ie28caac8f4232678c5761b54ce370d1aeb139389
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-02-26 08:59:51 +00:00
Eike Ziller
462caec278 Utils: Small string fixes
Change-Id: I2fd6bf14b1cb35f61ced841e3deea011fd54ff03
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-26 08:56:41 +00:00
hjk
5406f11a2b Debugger: Robustify lldb line parser
The original version might have missed to recognize a @\r\n
combination or multi-byte UTF-8 code units when they were
split across to readyRead() handlers.

Change-Id: Ib543fa0070b63d25b44be429a3759964d65e878e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-26 08:51:58 +00:00
Mats Honkamaa
417fbc7861 Doc: Add info about JSON backend function
Task-number: QDS-10961
Change-Id: I470fe9e1cda514e9b343d56f3e3bf34b95e3269e
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Esa Törmänen <esa.tormanen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-26 08:23:04 +00:00
Jarek Kobus
b0592abbf0 DebuggerItemConfigWidget: Ensure the futures are synchronized
Don't leave possibly running futures on Creator shutdown.

Change-Id: I6f4253d657b2b61112c15c9c144be10fcc8ed0cf
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 17:16:58 +00:00
Jarek Kobus
53f8956fb8 FunctionDeclDefLinkFinder: Ensure the old futures are synchronized
Change-Id: I68b271f85d2bb319230529d4b0b074c05c12ba4c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 17:16:53 +00:00
Jarek Kobus
5590efa30b FunctionDeclDefLinkFinder: Don't delete the watcher from its signal handler
Use std::unique_ptr instead, as QScopedPointer doesn't offer release().

Change-Id: Ifbe42dca5b266930e1000a50441995023b89b802
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-23 17:16:46 +00:00
Marcus Tillmanns
d061e29dd3 Utils: Allow different codec for Process stdout and stderr
Change-Id: Ie6a3fb74a447a599c492e38ec83a2330f3cb4cd8
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 16:02:45 +00:00
Jarek Kobus
8b4578f0c4 Axivion: Amends the commit regarding column sizes
When resolving a conflit the key line got removed by mistake.

Amends 51998c5239

Change-Id: I74af26d23e7ac0180d1b351d7ecf6d6876499d89
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 15:18:10 +00:00
Jarek Kobus
d5f50a3fa4 Axivion: Remove warning about unused lambda capture
Amends 09cc450797

Change-Id: I44a5ba2a0f83f9f75ba84b1b6470e875027c290b
Reviewed-by: hjk <hjk@qt.io>
2024-02-23 15:18:04 +00:00