Commit Graph

86687 Commits

Author SHA1 Message Date
Cristian Adam
64a77d8c83 TextEditor: Set the special weight of Source Code Pro font family
The text editor font is used also for output panes, make sure that on
macOS we use QFont::Medium so that the font is not too skinny.

Amends 13dc66a08d

Change-Id: Idad26738d42452c8d683df7a40a4a2fe44e9793e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-28 12:54:50 +00:00
Artem Sokolovskii
95a5f01096 TextEditor: Fix folding for async syntax highlighter
- Made restoreState, ensureBlockIsUnfolded, fold, unfold and unfoldAll
functions to be called only after highlighting is done
- Improved management of foldValidator in async case
- Removed optimizations in cpphighlighter and glshighlighter.
The highlighters are async now and optimization is not necessary.
In these optimizations in the function highlightBlock the highlighting
changes not only for currentBlock but and for several next. Which is
contradict with the function name.

Change-Id: Ib413e6b982eb39d52f36c3066ff0fa8c28fbe231
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-28 11:53:02 +00:00
Alessandro Portale
3f78592831 Utils: Remove soft assert for reading theme flags
An included theme file will usually not define all flags.

Change-Id: I733d8558009ba1b660f66b92c7c2d044035bb0ae
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-28 11:43:25 +00:00
hjk
581e6ddf4f Debugger: Require Python 3.5 in the docs
... and make the adapter/mode description a bit simpler.

Change-Id: Ie1b7c6cc26780f38be60c8e51e3bc0bc82db0bc6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-28 09:19:48 +00:00
Leena Miettinen
d0a1059205 Doc: Describe selecting all text in the terminal
Task-number: QTCREATORBUG-30209
Change-Id: I65bd04dac6b81448c326e27e68352faddc8b3065
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-28 08:08:19 +00:00
Marcus Tillmanns
95743d5c9f RemoteLinux: Don't show self in "Access via"
Task-number: QTCREATORBUG-30008
Change-Id: I90ee2df7243a2b07b494b1d1911930b7ae242669
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-28 07:53:17 +00:00
Christian Stenger
2b525b4246 AutoTest: Suppress progress bar more aggressively
Task-number: QTCREATORBUG-30447
Change-Id: I4386d522819b9f361f179ccda6a0fd3c759c389d
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-28 05:47:48 +00:00
Christian Stenger
dc21bd6af2 AutoTest: Delay reparsing of postponed files
Task-number: QTCREATORBUG-30447
Change-Id: Ica1dba358e05edfe2ad7ed6fd92fc8afde291718
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-28 05:47:40 +00:00
Christian Kandeler
6e5c72824a QmakeProjectManager: Fix Makefile compatibility check
E.g. qmake "binaries" for Android are actually shell scripts that call a
Desktop qmake in a different location, which lead Qt Creator to conclude
that the directory contains an incompatible build.
Fix this by checking that the -qtconf argument passed to qmake points
into the real qmake's parent directory, as is the case in the
abovementioned scenario.

Fixes: QTCREATORBUG-30354
Change-Id: Id6e878fab3379a3a8893389447514a1b7226784c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
v13.0.0-beta2
2024-02-27 17:13:15 +00:00
Alessandro Portale
903d01b934 Welcome: Implement new design
2024 redesign

Change-Id: I6629849921272d856f201693973a8e29c6465e94
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-27 16:42:10 +00:00
Jarek Kobus
e2a0dd2cef Axivion: Fix the condition inside onUnauthorizedGroupSetup
We should execute this branch just once, when the server access is
unknown.

Introduce isServerAccessEstablished() helper.

Change-Id: I28953f468be39ca49f088032aebb3fa81b814f3f
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 16:32:36 +00:00
Jarek Kobus
97077f4d26 Axivion: Raise the size of issues packet
Change-Id: I4a60649982b1ffa50c2c85f4db3d57f88186a211
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2024-02-27 16:32:27 +00:00
Leena Miettinen
fdb1fa2a3b Python: Fix capitalization of Python in UI text
Change-Id: I55beeb658eb583a74c4d79f3dc2f121010080101
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-27 16:00:48 +00:00
hjk
af712dc0e7 Axivion: Fix clazy warning about mixing const and mutable iterators
Change-Id: Ief898ff2febb958f3f68a64ddcb614479854600f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2024-02-27 14:47:42 +00:00
Jarek Kobus
e8b3887dbf Axivion: Make use of Dto::IssueKind enum
Use Dto::IssueKindMeta::enumToStr() to convert it to string.
Rename icons accordingly.

Change-Id: I8a955f2f0075793eea761cd4a41374a65d2aaea2
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 14:17:56 +00:00
Eike Ziller
b60e0cfee7 Update change log for 13.0.0
Change-Id: I7760acdfeb1b0a309e8d939bf37494aa3a0a7a36
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-27 13:30:50 +00:00
Alessandro Portale
c536712707 Android: Remove command line and version numbers from translations
Change-Id: Ib4fcd6cbf0a023e074aaad4b265c0ab60edac01a
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-27 12:49:36 +00:00
Christian Kandeler
226806e0fb RemoteLinux: Make deployment downgrade warning less spammy
Keep the message, but make it a warning only for the "generic copy"
case, which almost no one ever wants.
Otherwise, it will annoy Windows users, who typically have no rsync
installed.

Change-Id: I2044b9ea2b199e03dc4e9421d05a2698d92ad76a
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 12:47:46 +00:00
David Schulz
a57a925b76 Debugger: defer type look up
Change-Id: I425c2bfc3c88ebf46af161c5434c0c05a3bb9c97
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-27 11:32:53 +00:00
Jarek Kobus
5152a35048 Axivion: Change the credential key
Make it user @ server.

Change-Id: I62e2c88ade5cc984ba11f718c3db292e4075e5e4
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 11:17:57 +00:00
David Schulz
82399ac9c5 ClangFormat: Fix compile against latest llvm main branch
Change-Id: I6fe414721103d00eb3212040c1aafa2ef123b9d1
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-27 11:11:52 +00:00
Christian Stenger
4dcba2ad25 Core: Correct log view thread handling
Fixes a crash when log messages are received from
multiple threads.

Fixes: QTCREATORBUG-30444
Change-Id: I51c78656da1dd30bcb51a801083d1714e474d8e5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-27 10:01:42 +00:00
Jarek Kobus
e95ad3778f AndroidRunnerWorker: Avoid deleting process directly from its handler
Task-number: QTCREATORBUG-29928
Change-Id: If25c742e57ddaa90ed3342d09dafe626288f0783
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 09:49:14 +00:00
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
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
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 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
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
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
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