Since it's not clear why the flakiness existed, leave a TODO note.
Change-Id: Ief1104870c008e056d5b87880b508fd66266bce4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
It enables language server functionality for .clang-format files.
Change-Id: I911a254c777b4b5e15a73bf0abdb273156a0d0c7
Reviewed-by: David Schulz <david.schulz@qt.io>
This name corresponds better to e.g. SH_ComboBox_AllowWheelScrolling,
SH_TabBar_AllowWheelScrolling or wheelScrollLines.
Change-Id: I244774584e293ca45cc4be4d4526f925c2da9598
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
check the type after construcing the highlighter instead and save that
information.
Change-Id: I7d942dae4be8471dba90dd266267ff7fa1b6f440
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
It looks like GitHub creates heading IDs by
- converting spaces to '-'
- removing anything that is not '-', '_', a number, or a letter
- converting to lower case
Task-number: QTBUG-120518
Change-Id: If09a8e2e0d964e751869eaebd3326a6f983ac495
Reviewed-by: David Schulz <david.schulz@qt.io>
It is used more commenly in the code for that purpose.
Change-Id: I48112d2c80485d204137da36fadbe85ad1db802b
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Instead of consuming the wheel event, pass it to the target
widget's parent. This should allow for further scrolling
the possible parent scroll area.
Modify the focus policy only in case of WheelFocus.
Change-Id: I00c628a9e3d7608222b0700e71469c6cef6dea88
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Handle links ourselves since QTextBrowser doesn't do what we want.
- anchors without file path just jump to anchor
- local files (potentially relative to the markdown file) open in
Qt Creator (anchors ignored)
- otherwise QDesktopServices is used
Fixes: QTCREATORBUG-30120
Change-Id: I9a68607a0b32255ec075c698a1265cc6d1387e0c
Reviewed-by: David Schulz <david.schulz@qt.io>
Otherwise it generates the following:
"No relevant classes found. No output generated."
during compilation.
Change-Id: Ia0299db40412a8ba1543f6990a728b2ac3af07ac
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Also use the upstream version since upstream has binaries for all
platforms.
Change-Id: I83e94c57149b27d54cb14390f6da678be365a2ed
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Since frame 0 points to the Windows DebugBreak function it does not hold
any usable locals, so we have to pass the correct frame to the
lldbbridge test infrastructure in order to get usable data.
Change-Id: I2595be87a718d73fda3429017efd564e5d0ed9be
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Error messages should stand out and not be hidden within
other output.
Before it looked like this (with the last sentence in red):
```
13:24:54 Running in "/home/user/project": /usr/bin/gitk .
Cannot launch "/usr/bin/gitk".
13:24:54 Running in "/home/user/project": /cmd/gitk .
Cannot launch "/cmd/gitk".Cannot launch "gitk".
```
and now like this (also last sentence in red):
```
13:28:07 Running in "/home/user/project": /usr/bin/gitk .
Cannot launch "/usr/bin/gitk".
13:28:07 Running in "/home/user/project": /cmd/gitk .
Cannot launch "/cmd/gitk".
Cannot launch "gitk".
```
Change-Id: If165a0a2ad800fde27c7252cf8af924c55b60197
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Drop QSet from StorageThreadData. Drop some asserts that
require locking the mutex.
This change causes the task tree tests execute twice as fast.
Change-Id: I58f6ec509f5fdd26d7f9a95d1223fad3a790cd3d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Replace it with additional GroupItem's c'tors.
This addresses the 27th point in the report below.
Task-number: QTCREATORBUG-28741
Change-Id: I7f0620993e7c9bf61868e7bc7b112eea4dae6471
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit will enable running of tst_dumpers on Windows using a MSVC
setup and lldb.exe as debugger.
Change-Id: I17611cc90ba2a04ec21aae11af16f1d0ff8e894f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
They are documented properly, but sometimes simpler to look here.
Change-Id: Ibe48a30bf0e7909c1cea1d414748a09962691615
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Items with effects may lose their cached layers if they are not
rendered every frame, so make sure we always render items with effects
if anything else is rendered.
Fixes: QDS-11561
Change-Id: I7aa6542fc619e634fa06fe7c8d59fd485a150296
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Scattering/moving pasted nodes does more harm than good.
Task-number: QDS-10972
Change-Id: I625cf228fb688c48715152eb6471728ca7202a23
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This adds the action from "Build->QML Preview" into the QML
editor toolbar.
Fixes: QTCREATORBUG-30078
Change-Id: I848b33f006b51866dde2565bd7f76c1eac0f3d28
Reviewed-by: hjk <hjk@qt.io>
Makefiles are less relevant nowadays with CMake and Ninja, and the
Python plugin does highlighting on its own.
And users will still be prompted for downloading the highlighting files
anyway.
Change-Id: If80f1e8215375ed3985d9327c031f0c69fc15654
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
The original patches for switching to KSyntaxHighlighting are no longer
used.
Remove empty readme file.
Change-Id: I6b55b63bf19a04ef16f34b4764ddfc2800959b11
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
... when BuildSteps are created. Potentially useful to tweak
step behavior without the need to inherit or such.
Change-Id: I8c8e9bdec84fafc454db9dc9a492d399b00b7f57
Reviewed-by: hjk <hjk@qt.io>