Commit Graph

67787 Commits

Author SHA1 Message Date
Leena Miettinen
a489fc18eb Doc: Add LiteHTML license and related licenses to acknowledgments
Fixes: QTCREATORBUG-24619
Change-Id: I8d28bf8a579e8885b430cd7df292f53363990ffa
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-16 09:30:44 +00:00
Marco Bubke
7c8847333b QmlDesigner: Go into components
Task-nubmer: QDS-2696
Change-Id: I2f0ee71deea593da08fa4a754d783b53867473ed
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-16 08:37:53 +00:00
David Schulz
af88afe943 Debugger: Activate split that contains the breakpoint being hit
Do not change the current editor after hitting a breakpoint if we
already have an editor open in another split, but switch the focus to
that split.

Task-number: QTCREATORBUG-24646
Change-Id: Id85cecdfb522807bafa097e578509853326a2e31
Reviewed-by: hjk <hjk@qt.io>
2020-09-16 07:29:30 +00:00
David Schulz
e371eafd4b Editor: Calculate annotation color based on editor color scheme
Amends 9182d4eda7

Fixes: QTCREATORBUG-24644
Change-Id: Id34bfbc4ea3d1102835c7c1cf3afa1580dff01d8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-16 07:20:20 +00:00
Miikka Heikkinen
90d9cb36f3 QmlDesigner: Add navigator preview tooltip for materials
Request 3D preview image for material instances from puppet
to show on tooltip.

Support for effect previews is also done, but handler for it is not
registered, as effects cannot be shared between windows due to
issue QTBUG-86616.

Also refactored the preview image support out of navigator
to make it more accessible by other components.

Change-Id: Ie08ba218f929660c2e43d39578997a5a1a883efd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-16 07:00:06 +00:00
Christian Stenger
f849bd1105 AutoTest: Support run failed
If the last run had failures and the test frameworks
support matching a test result to a test tree item
give the user an easy way to re-run all failed tests.

Change-Id: I4f3150ca8a6514c09cf7ca819f84e38c6419a310
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-16 06:54:02 +00:00
Christian Stenger
5f22126a79 AutoTest: Support gathering failed tests
Mark test tree items as failed for the last run
to be able to re-run them in an easier way.

Change-Id: I7ea3dcd16e5a02797d41f13e02b2fa95b857cf5e
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-16 06:53:54 +00:00
Christian Stenger
b4987f8fc9 AutoTest: Fix compile on UNIX
Change-Id: I658fc0cf9ec0ec3dfd24bcd53e0a01c29989ea9c
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2020-09-16 04:26:35 +00:00
Henning Gruendl
1da2c1f766 QmlDesigner: Change RichTextEditor icon
Change-Id: I5a294e625f4ac61d15511369d7e765e05447a269
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
v4.13.1
2020-09-15 14:46:44 +00:00
Eike Ziller
6f596ea5ee CppTools: Fix Qt6 build wrt internal QString changes
Task-number: QTCREATORBUG-24098

Change-Id: Ic1f72365a696993b3e81e9600b3b89d75d5e8bc4
Reviewed-by: hjk <hjk@qt.io>
2020-09-15 13:57:41 +00:00
Eike Ziller
242579099a CppTools: Fix QStringRef and QSharedPointer related issues with Qt6
Task-number: QTCREATORBUG-24098
Change-Id: I97347ac3fb397fea8eee655e3cc4ee252c511885
Reviewed-by: hjk <hjk@qt.io>
2020-09-15 13:57:32 +00:00
Kai Koehne
432247357e Fix 'Qt Console Application' without translations for Qt 6
Augments c0bbbc2f70.

Change-Id: Ia6a6855dc93d5f89c546bc95f3426b3f05f83b37
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-09-15 13:50:51 +00:00
Christian Stenger
745beb7634 AutoTest: Fix possible nullptr access
If the process of the test executable cannot be started
for whatever reason we will not have an active run
configuration or output reader.

Change-Id: I50146a2c8228ad39574e007ae2659465122ad20b
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-15 12:59:05 +00:00
Christian Stenger
400b39530b AutoTest: Enhance run and debug from results pane
So far, only Qt and Google test had support for triggering a
run or debug of a corresponding test case given by a test
result. Add the same support for Boost and Catch as well.

Change-Id: I45a4416f32be22f40b7e14dfb6c08bda310a9eb3
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-15 12:01:15 +00:00
Christian Stenger
7ca297cb25 CppEditor: Fix test code
Change-Id: I01073f481ebdae64c30971afd8fb332ee92e2a1e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-09-15 12:00:53 +00:00
Knud Dollereder
f4a2e0a5d3 Disable "insert keyframe" context menu when applicable
Fixes: QDS-2727
Change-Id: I0072e77e56f6bbb893e382fbeb39861d2d5e6a61
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-15 10:58:23 +00:00
David Schulz
116fb0895d LSP: move diagnostic handling from client in a separate class
Change-Id: Id70a7b82137d3a4591de521380199e546e8685f4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-15 10:45:49 +00:00
Leena Miettinen
71ca4f4402 Doc: Fix broken external links
Change-Id: Iaf3502a8d940a5cb2eb45ee7451e834a6d4b756e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2020-09-15 09:45:24 +00:00
Christian Kandeler
ee8e102cbc CPlusPlus: Look at all overloads
... when trying to find out the usage type of a function argument.
Otherwise, we potentially ignore functions which have additional
overloads with a shorter parameter list than is required for the call.

Change-Id: I02bf2cb359ea9d506e2644388234dc28fa072445
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-15 09:23:48 +00:00
Christian Kandeler
f3bd07efd1 QmakeProjectManager: Restore incremental re-parsing
This was broken in commit 37aecdd112, where we overlooked that a special
type of IDocument was used that triggers a re-parse of only the affected
part of the project tree. As a result, all changes to a .pri or .pro file
would trigger a re-parse of the entire project.

Fixes: QTCREATORBUG-24572
Change-Id: I480cff4e53cf86a17e1eaac0eb9b32901bc87051
Reviewed-by: hjk <hjk@qt.io>
2020-09-15 09:19:23 +00:00
Alessandro Portale
a159af342e Android: Remove unused functions
As found by Cppcheck

Change-Id: I9274fe45ed49099b52b4f8556508ec0adc676386
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2020-09-15 08:56:55 +00:00
hjk
a50f1baf5d Debugger: Change LLDB value creation hack
... to something that works with LLDB 12.

Task-number: QTCREATORBUG-24596
Change-Id: Ib2f8255d45a02fa3d2c737864994397f587e9b15
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-15 08:45:32 +00:00
Christian Stenger
eff72258be ProParser: Fix compile of manual test
Amends 58d288b52.

Change-Id: I5c142b0ce30f7145db6a8d332c8f0617e2c99fe5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-15 08:32:20 +00:00
David Schulz
bc4187727c cdbext: remove cdbdetection completely
All required header and libs are inside the Windows 10 SDK, which is
required to build with Visual Studio 2017.

Change-Id: I68ee7457041653d89e5f5c9e258f9780a417dbe4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-15 08:21:09 +00:00
Eike Ziller
26fc085658 Add 4.13.1 change log
Change-Id: I8e0b8f6d002c0251268aff1aeddd3470cfdee140
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-09-15 07:37:58 +00:00
hjk
0d6409c20c Android: Fix use of commandline arguments to build apk
After 69ff17aa2d, the concealed password was passed to the process.

Change-Id: I69aab38e8898e5416231e863484e6702f3357841
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-15 06:45:17 +00:00
David Schulz
5c76ca32ee cdbext: add option to skip cdb detection
Since a few windows sdk versions are the headers and libs of the
debugger part of the sdk installation. Add an option to sdkip the cdb
detection and fall back to use these headers and libs that are already
configured in INCLUDE and LIBS of the vcvars.bat environment.

Change-Id: If1eeecdbae34523ddbcc1a22d8640df7fa46bf6a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-15 06:03:45 +00:00
hjk
ca61a35910 Android: Edge towards AndroidApkBuildStep aspectification
Unexport AndroidApkBuildStep, remove AndroidBuildApkWidget file
pair, de-Q_OBJECT-ify AndroidBuildApkWidget (and as roadkill
PasswordInputDialog).

Change-Id: Id3b51dd33774aac70a4f23a8ab4cfb556ed1f2b5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-15 05:15:31 +00:00
Michael Winkelmann
64a37ec38a QmlPuppet: Return color property
Change-Id: Icc25fb0408aae50f67633688f221194ab6f77cd3
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-09-14 13:45:15 +00:00
Lukasz Ornatek
df696a34b5 Cannot input Korean in FromEditor/Property panel
Warkaround suggested by Eskil Abrahamsen Blomfeldt, using QQuickWindow
instead of QQuickWidget

Task-number: QDS-2350
Change-Id: I794cb48cf4f6b57ed928e76c0dca442c6f39ff0c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-14 12:40:31 +00:00
Thomas Hartmann
f641434ec1 QmlJSCheck: Fix crash
Task-number: QDS-2766
Change-Id: I4b0e81b8104ac35a286a318e87e95ea022ed66f6
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-09-14 12:21:49 +00:00
Christian Kandeler
d14be7493f ClangBackEnd: Support highlighting of alias templates
Fixes: QTCREATORBUG-24552
Change-Id: I80d2b16114234cf896173cd4104e6a5f12009f69
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-14 11:42:09 +00:00
Christian Kandeler
226982b7b0 OutputFormatter: Fix flushing a pending line feed
... for the edge case of a lone carriage return occurring in the output.
Amends b0cad9e9c7.
Also adds missing adaptations to the unit test.

Change-Id: I219b24b8fb41bb0fcea9f677cd79286d03b130c2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-14 10:00:03 +00:00
hjk
b5e51e4f97 ProjectExplorer: Inline MakeStepWidget
Change-Id: I4ed1f188b9480edc964fe16b896a00fe37cc0cc9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-14 09:37:47 +00:00
Eike Ziller
b56e1526db Make SmallString operator<< implementation less greedy
It shouldn't just grab any type, which might not have .data() and
.size().

Change-Id: If718f00e73c04175ae66601af6930db5f0f8fa7d
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-09-14 09:22:27 +00:00
Christian Stenger
6ab7013579 AutoTest: Fix summary for boost
Do not take skipped tests into account when computing
passes out of the available information.
These are handled separately and may lead to a negative
passes amount.

Change-Id: I47bb1f054468dc5374d0d4e7fdeb3ad87efd0dff
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-14 08:56:10 +00:00
The Qt Project
6ba67e5161 Merge "Merge remote-tracking branch 'origin/4.13' into master" 2020-09-14 08:49:06 +00:00
Assam Boudjelthia
14024f810e Android: expose deployment warnings and errors to issues pane
This makes the deployment process more transparent and easy to follow
warnings and/or errors.

Change-Id: Ie6a7bde4dfb5748adff1be077299ecdceb0e3930
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-14 08:33:04 +00:00
Eike Ziller
20f51bc642 Merge remote-tracking branch 'origin/4.13' into master
Conflicts:
	src/plugins/languageclient/languageclientcompletionassist.cpp

Change-Id: If12e1c532e5623ef063681309a918e7b51117b1c
2020-09-14 10:12:14 +02:00
Eike Ziller
58d288b523 Proparser/QtSupport: Fix build with Qt6
Pulls in some QStringView related updates to proparser:

f5d8ad61a4c85a656a7332c43d0c42f5eaf43593
"qmake: use new QString::arg(QStringView) overload"

52f3a7d9d40d3bf835bb0716ad201ee56731b980
"Build qmake with QT_USE_STRINGBUILDER"

c49728eb27be0f3f2eaaa77b0ed573f5d8705af1
"Port qmake from QStringRef to QStringView"

But do it in a way compatible with Qt5. Since some QStringView API is
not available in Qt5 (see QTBUG-86516), this means using a StringView
typedef that is either QStringRef (Qt5) or QStringView (Qt6)

Task-number: QTCREATORBUG-24098
Change-Id: Ic9a73ca450543f3fdd5fcf9d686c4b773a48854c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2020-09-14 07:26:54 +00:00
Cristian Adam
8d760eff8f GitHub Actions: Update Qt, CMake, Ninja versions
Also double ccache size.

Change-Id: I53f9eb5bfed8d3788e813ac194bffadf1f3fa19a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-11 15:24:11 +00:00
Kai Koehne
73ac5a3d87 IncrediBuild: Add plugin metadata
Change-Id: I76ea1ee35628db6c4cf87fa81d1fee49e4c0ef36
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-11 15:10:35 +00:00
Knud Dollereder
3bce5f2e76 Convert the CurveEditorDialog to a view-plugin
Continuously send frame-changed signals when dragging the playhead
Fix timescale painting
Paint playhead behind the valuescale

Task-number: QDS-2551
Change-Id: Ia8d3952b4401500a4c6d31ff9f5742ff44b2c092
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-11 13:28:09 +00:00
Orgad Shaneh
1c53cff4fa CMake build: Fix unittest linkage
GoogleTest depends on pthread.

Change-Id: I2ed93257a7c8fa73d47d51a3a0a4c25b2fb88dae
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-09-11 13:07:39 +00:00
Orgad Shaneh
4d71cbe6d3 QmlDesigner: Add a missing return
Change-Id: If29854d7f4706bbea6a5f51fc7bef427600d79b5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-09-11 12:56:57 +00:00
David Schulz
3a51cdf2ba LanguageClient: avoid recursive postponed document update
Change-Id: Ibaf8831977e254c7dad10617754e763114993aee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-11 11:57:34 +00:00
hjk
d06207d4aa Core: ProcessReaper code cosmetics
- Rename ReaperPrivate to ProcessReapers
- drop the used ProcessReaper::m_futureInterface
- sprinkle some private and final
- remove unnecessary Q_OBJECT
- remove unnecessary #include, fix accidental user

Change-Id: I2787815975dc80cb93db2132bbfe7ce9a74ebd5f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-11 11:49:13 +00:00
David Schulz
3b23cab385 TextEditor: Use selection format from the setting
Overwrites the format generated by QPlainTextEdit::getPaintContext()

Amends 9182d4eda7.

Fixes: QTCREATORBUG-24479
Change-Id: Ia226a74442dbbdbae42e8da5dee9e4d7399b677c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-09-11 11:48:29 +00:00
Christian Kandeler
23d63dcc8b TextEditor: Do not invoke auto-completion recursively
It's unclear why that was done, and it threw off the clang code model by
introducing an unexpected sequence of events.

Fixes: QTCREATORBUG-18676
Change-Id: I4dabb56eb97e18141080c22be324c826202977ce
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-11 11:44:35 +00:00
Christian Kandeler
a89e3e22b9 CppTools: Guard against null pointer access
... when looking up definitions of variables.
Amends a0764603d0.

Fixes: QTCREATORBUG-24610
Change-Id: I79e6f69066eaa385013e722ec4793c27231ab8eb
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-11 11:44:02 +00:00