Commit Graph

88532 Commits

Author SHA1 Message Date
Marcus Tillmanns
b5a6f851a3 CompilerExplorer: Adjust Terminal font size
Adjust the output Terminal font size based on
the text editor font size settings.

Change-Id: Id1047f0fce0ac781cbc51b01f0df9657b179d71a
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-01 07:40:37 +00:00
Marcus Tillmanns
b6b5f04264 CompilerExplorer: Fix value vs. volatileValue
Previously adding a new Compiler would not compile the current source,
but the last "applied" source.

Change-Id: I0979d21a61808e7bc03e5b72e9c8a2492200c8f6
Reviewed-by: hjk <hjk@qt.io>
2024-03-01 07:40:27 +00:00
Christian Stenger
53eb67e483 Axivion: Improve sort indicator icon
Change-Id: I3579cd460644867cddf491365780c0fd76f2c810
Reviewed-by: hjk <hjk@qt.io>
2024-03-01 07:26:45 +00:00
Tim Jenssen
56c4ba1db4 Merge remote-tracking branch 'origin/13.0' into qds/dev
Change-Id: I1d328f67a1c538e36a54f9660d5fb2840a6753df
2024-02-29 19:40:30 +01:00
Tim Jenssen
443c3477ab qds: no need to ignore not built plugins
Change-Id: I65f170aa6efe3f7060e2f87363b66e89bd4e76cb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-29 18:06:30 +00:00
Tim Jenssen
ad0c560d13 qds: add EffectComposer
in EffectComposer.json.in, wie have
"DisabledByDefault" : true,

so we need to ForceEnabled it

Task-number: QDS-12115
Change-Id: Iec89a38a518d3dada285a38d304485dfcd71f979
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-29 18:06:23 +00:00
Tim Jenssen
070e482138 Nanotrace: build doc only does not call any add_qtc_library
So it would fail to find the Nanotrace target.

Change-Id: I1ff8be19e930bd547ced37767be2042f8261e75b
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 17:17:53 +00:00
Alessandro Portale
4f30c2b4ed Welcome: Fix the hover background color
It used the wrong color token. With the correct one, the hover effect
is a bit less prominent.

Change-Id: I95a1f5a92f95d4055ae8bce703fdc633b122ac59
Reviewed-by: hjk <hjk@qt.io>
2024-02-29 17:02:21 +00:00
Christian Kandeler
dfb685d64c ProjectExplorer: Employ FuzzyMatcher in run config creation dialog
... when filtering the candidates.

Change-Id: Ia95475ae3ee2a6eab2c9551ed22f97a9540d3503
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-29 15:03:08 +00:00
hjk
d6eb041e6d Debugger: Show supported gdb architectures in log
... using a true gem of interface design.

Change-Id: I33ee751a0d204ea610d031991f0d472912a065a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-29 14:48:52 +00:00
Christian Kandeler
3aa801ca94 CppEditor: Mark two tests as incompatible with ClangFormat
Change-Id: I95771a3f7fb78d0b7700dc52fdbe7c1e17d00f74
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-29 14:46:11 +00:00
Christian Kandeler
2e45d1d85a CppEditor: Make two test cases ClangFormat-compatible
Change-Id: I5e9df40de3e13f0941c0f8c14385de43e828b5d2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-29 14:45:59 +00:00
Leena Miettinen
87f2e9e190 Doc: Describe launching the debugger from the locator
The "dr" locator filter was added.

Task-number: QTCREATORBUG-30209
Change-Id: I25efd162c7adbff90e0c31c0965c30053ea4a64b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-29 14:44:06 +00:00
Robert Löhning
e7468d060c Mention installer issue in changelog
Users should know before downloading. Might
also avoid some duplicate bugreports.

Change-Id: Ib2d5964fcbb314d7b1c25a281bf5c255a47b3e86
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-29 14:29:20 +00:00
Tim Jenssen
409b9d904f QmlDesigner: refactor dynamiclicensecheck.h
Change-Id: Ic806a32c87200219f6376356bf251cfd5927deed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 14:13:56 +00:00
David Schulz
02bac28488 TextEditor: add mime type for device tree source files
Fixes: QTCREATORBUG-19029
Change-Id: I1959681cb7e0f9466cea3344836d7029a98b4548
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-29 13:57:39 +00:00
Cristian Adam
251a8a2210 Utils: Display error message boxes on missing dlls
This used to work in previou Qt Creator versions.

Task-number: QTCREATORBUG-29662
Change-Id: I97b0b15edbc39c2d6c11bb7d71cacd7e006a26f5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-29 13:45:45 +00:00
Artem Sokolovskii
38ea622416 TextEditor: Fix jump to a search result to a folded block
Change-Id: Id9963bdf2a02930911753af046443e9b657bc9b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 13:32:49 +00:00
Christian Kandeler
cc763c80d7 ClangCodeModel: Improve debug output for semantic highlighting
Previously, the final highlighting results we showed were incomplete and
out of order.

Change-Id: If18062cc5a7f3156d6bb0b282aed33906cdef910
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 13:27:47 +00:00
Christian Stenger
63a8856251 ClangFormat: Do not show floating widget
The widget is visible by default and will be shown when it
gets added to its parent widget.
This patch avoids a short popup of the widget which is not
added to its parent when opening the C++ settings.
Amends e1f7469afb.

Change-Id: I7fd40e1fff4872c725ec84b5d1c1e60d6b2b22ce
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-02-29 12:50:26 +00:00
Tim Jenssen
4ef5338229 qml2puppet: use branding from qtcreator repository
To build a correct puppet with the correct version
number do:
cmake -DBUILD_DESIGNSTUDIO=ON

no branding argument necessary anymore

Change-Id: I74b25e3da296fe77d83892d0596f5da3c38ed6cf
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-29 12:47:53 +00:00
hjk
a8b689ae9b Debugger: Fix register display for LLDB and CDB
Change-Id: Ia157c0c03168e91b11d837d6355e61e10afd9728
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 12:46:48 +00:00
Eike Ziller
6c2df76737 Merge remote-tracking branch 'origin/13.0'
Conflicts:
	src/plugins/android/androidsettingswidget.cpp

Change-Id: Ifcb16aa16c7bc2792de25d0ee7a22cf0e39a05f8
2024-02-29 12:44:58 +01:00
Miikka Heikkinen
942b5b62bb EffectComposer: Silence warning
Change-Id: Id2cd48e3976b5bd33c8951d706f0186c7f8a8d87
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 10:54:40 +00:00
Artem Sokolovskii
49ab0c4109 TextEditor: Fix jump to search result
Change-Id: Ie570936b0b96290d95999b8b501c12610ebfc9a8
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 09:48:42 +00:00
Aurele Faure
a2be1e9692 AutoTest: Fix bugs on catch2 fixture
Fix the integration of SCENARIO_METHOD.
Allow the catch2 fixture to have namespace before the class.

Fixes: QTCREATORBUG-30454
Change-Id: I27b0578fae12715e6a4466289ed4cc34351f3112
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 08:39:33 +00:00
Christian Stenger
f20fc9132f Axivion: Fix sort toggling glitches
The resize handle of a header has some margin to decide
whether to start a resize attempt.
This margin interfered with our randomly chosen one.
Take the needed margin into account and beside this store
an additional information about the column that triggered
our sort toggling attempt.
This avoids starting to toggle some column and moving
slightly to the next one and ending up in sorting the
final column of the move.

Change-Id: I8199f90fd06145c61d2c5e7574b6f040c72022b6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-29 08:03:26 +00:00
Christian Stenger
3e90ccaf35 Utils: Fix Qt6.2 build on macOS
Change-Id: I2b2ca409b88551dc71b7784ff2d7678fe45e3fc2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-29 05:33:34 +00:00
Marco Bubke
85be58e31b QmlDesigner: Modernize ownership in connection editor
Because the member are forward declared we use an nested class to reduce
the pointer and declare them there as value member.

Change-Id: I0e7058333983c4d742d1d831990e9e63cd651562
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 23:20:55 +00:00
Fabian Kosmale
786797e8e6 Mention QT_QML_GENERATE_QMLLS_INI in Creator docs
Task-number: QTBUG-121703
Change-Id: Iea04979ceb36ead1836f8207794861723ed18fc9
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-28 18:42:09 +00:00
Cristian Adam
0d8a542b4f CMakePM: Only add paths with dlls to PATH
Skip adding object libraries paths to runtime PATH.
Also add only the paths that contain the dll files.

Fixes: QTCREATORBUG-29662
Change-Id: I58cd9b24c6c079b99ed51ae2ebd315a1aa195f04
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 18:33:37 +00:00
Tim Jenssen
689b1066b8 QmlDesigner: suppress unknown attribute warnings
Somehow MSVC does not follow cppreference:
https://en.cppreference.com/w/cpp/language/attributes

"All attributes unknown to an implementation are ignored
without causing an error.(since C++17)"

Change-Id: Ic67fc7b4297f981ce52f457a09fd919949050449
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2024-02-28 17:43:13 +00:00
Marco Bubke
1110a7a457 Nanotrace: Silence warning about exports
The behavior between windows and unix is different, so we need a more
complex approach.

Change-Id: I614c480c1184c5d4be807496fa6ac13fd98506d8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-28 16:47:22 +00:00
hjk
4ca8ad8293 Debugger: Fix breakpoint settings in assembler for LLDB
Setting the breakpoint actually worked, but it was reported back
using a wrong address, so it never went "red" in the disassembler view.

Change-Id: I4c2bd808705dfe793c0febf29b3e78b318dbae00
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 16:28:16 +00:00
Marco Bubke
2ba6b48df4 QmlDesigner: Move thread local variables inside function
Maybe  make them inline but I think that is not working nice with DLLs.

Change-Id: Ice220873bf4f9c87cb64cb3271aa1ca5cfb1dda2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-28 16:00:16 +00:00
Marco Bubke
de5598e70f Sqlite: Update to 3.45.1
Change-Id: Ie92194de1b12c22667e48edd913abc24108cedaa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 15:59:52 +00:00
Marco Bubke
2d440ecb75 QmlDesigenr: Use tick instead of range for selected nodes
It is really hard to click on a short range.

Change-Id: Ib5dea4b199fb6f2b5a0320845cefaa4501e04a81
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-28 15:59:45 +00:00
Leena Miettinen
57874c9c0d Doc: Update Git docs
- Git Branches view now shows the differences between
  local branch and origin
- The + button in Git Branches adds a branch

Task-number: QTCREATORBUG-30209
Change-Id: I75909c7c196b0fd81ca38749e456bc80187b822d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-28 15:59:13 +00:00
Marco Bubke
0e0034ce7e QmlDesigner: Use property name as trace name
Change-Id: Ifcf4cf1b0bf6f71c6096279d6b2e3dbe4e0f6b30
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-02-28 15:58:06 +00:00
Marco Bubke
11ab3ba268 Nanotrace: Prevent large zero initialization for thread local
There seems no way to disable zero initialization reliable. So the
arrays are now allocated on the heap.

Change-Id: I926e8deb91fc835dfa797c445860c8b66ed27def
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-02-28 15:53:09 +00:00
Marco Bubke
cc8a57233d Nanotrace: Optimize queue
Instead  that the queue data is generating a queue it is now derived
from it. That saves one thread local entry.

Change-Id: Iba4f3002019fc281457c6108ae955a2f755bb9f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 15:52:56 +00:00
Teea Poldsam
3d77fb4c56 Doc: Update Log In UI - Positioning
Edited the tutorial and added some images.

Fixes: QDS-11189
Change-Id: I787afd3ee96c65f817ed844e23ba3c5786344524
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-02-28 14:20:59 +00:00
Ali Kianian
c9b8d396bb QmlDesigner: Fix the bug for reading the dataStore of the projects
Fixes: QDS-12047
Change-Id: I6144b78985ed761b5446f71731fd0c220658c259
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-28 14:06:17 +00:00
Marco Bubke
413c2a65eb QmlDesigner: Eleminate function calls
The definition of gnu pure is a little bit fuzzy but I think it applies
in this case.

Change-Id: Icaf97a669f217c8ec28884771f80218c442f0c96
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-02-28 13:59:06 +00:00
Christian Kandeler
576747d623 CppEditor: Mark some tests as XFAIL when running with clangd
These are fuzzy decl/def switches, where clangd does not fail, but
returns the original location.

Change-Id: I86814c2dc5e1b8ec9085fd1486c0120e2f98a3b6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:33 +00:00
Christian Kandeler
68dab97bc5 CppEditor: Fix running tests with clangd
Try harder to find a suitable kit:
  - Pick one without warnings.
  - Pick one with a Qt, as otherwise configureAsExampleProject()
    will fail.

Change-Id: I5a38e86bd81840c6794de365980618c904936d3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:14 +00:00
Jarek Kobus
f3a53dfd8c Axivion: Use more dashboard url instead of server url
Change-Id: I1fbc1dad779e9198206cb8ef4a4029a99af6861f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:39:24 +00:00
Jarek Kobus
bcdcaab7b7 Axivion: Make initial dashboard fetch a part of authorization
Ensure that after authorization we have fetched the initial
dashboard info. If the fetch fails, we remove the stored
ApiToken from the key chain.

Change-Id: I894b9d8bc8ade8ec6fa29391fafa67ad5b4fabba
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:38:44 +00:00
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