Commit Graph

65365 Commits

Author SHA1 Message Date
David Schulz
0198aca205 Editor: set deleteStartOfLine default shortcut on mac
Fixes: QTCREATORBUG-9219
Change-Id: I26f991641efbc914d848591931756666e34c26b7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-09-17 09:44:09 +00:00
Eike Ziller
a749b6691e Update 4.13.1 changes with last-minute updates
Change-Id: I789f4fb10c950114ed0737dcb90460d90386e2f3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-09-17 09:29:22 +00:00
David Schulz
364288b79c Python: Fix loading working directory
Fixes: QTCREATORBUG-24440
Change-Id: I27a543f764e285acf678427cc909d2a95e5cb322
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-17 07:52:58 +00:00
Marco Bubke
df5e211d86 QmlDesigner: Fix compilation
Change-Id: Ia69deafa77ca234c9f80be10d19fcf582ab5e906
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
qds/v1.6.1
2020-09-16 13:24:27 +00:00
Henning Gruendl
513d1e7e02 QmlDesigner: Improve connection editor dialog
* Add ComboBoxes to connection editor dialog
* Add type toggle to dialog
* Add slots and properties to ComboBoxes
* Parse connection expression and fill ComboBoxes

Task-number: QDS-2498
Task-number: QDS-2495
Task-number: QDS-2496
Change-Id: I2cca6d4c85d1508e54d4ad8863056f22ad777ae6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-16 10:14:56 +00:00
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
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
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
7ca297cb25 CppEditor: Fix test code
Change-Id: I01073f481ebdae64c30971afd8fb332ee92e2a1e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-09-15 12:00:53 +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
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
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
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
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
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
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
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
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
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
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
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
Henning Gruendl
3afc21052f QmlDesigner: Fix unintentional item reordering
Fix reordering of items in the Navigator if using shortcuts on a
SpinBox in the Property Editor.

Task-number: QDS-2738
Change-Id: Ia12d2d072c36fbb32156c9729cffd828e8747b28
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-11 09:47:38 +00:00
Marco Bubke
0f9010d381 QmlDesigner: Introduce multiple node instance server
For capturing data we need a atomic mechanism. So in one
process multiple node instance server can be started and
then a command is send back that a scene is created. It
can be used to ensure that captured data of views is
up to date.

Task-number: QDS-2630
Change-Id: Iea8d0b036b6384c9c1b0f91af401f2b1f1978c12
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-11 08:57:42 +00:00
Dominik Holland
a535196c41 Add support for multiple Qt versions in "Load QML Stack"
Enable the functionality for cdb again.

Change-Id: I75405f830dd208cc110d6682a45beedf2f4199cc
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2020-09-11 08:11:21 +00:00
Andy Shaw
e35af70d98 Android: Use c++_shared for STL as cxx_shared is not correct
This fixes a parsing problem from CMake as it will state:
"Invalid Android STL: cxx_shared." This amends
01b0d4f8f5

Change-Id: I315d36eac889ba53d76055814c6b43a453e1e2f7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-09-11 07:34:11 +00:00
Kai Koehne
90a4e8d3d0 Nim: Fix plugin metadata
The actual source files say it's Commercial OR GPLv3+Except, so
make the plugin information reflect this.

Change-Id: I867b3a27fb903719d30e32bf28418700f2c02bc5
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
2020-09-11 07:24:00 +00:00
Leena Miettinen
2e1eed1945 Doc: Add list to words to ignore for automatic linking
Change-Id: Idfa50889deeff64a8d97bfbb5deaf4c86a32e2bf
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2020-09-09 12:45:19 +00:00
Leena Miettinen
7b2dbc0cde Doc: Update info about exporting assets from Adobe Photoshop
- A button icon changed.
- The Asset format & scale settings were not described for
  Photoshop export

Change-Id: Ib446558ace6e7bbd417f0a78f311b5a8cee0b099
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2020-09-09 11:58:21 +00:00
Leena Miettinen
d64430b882 Doc: Make "Exporting QML" topic visible in Qt Design Studio Manual
The Build > Export QML menu item is available in Qt Design Studio

Change-Id: I5f29410de5d6d13c427b9907937c4d82e111fe06
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2020-09-09 11:32:02 +00:00
Christian Stenger
24f35037d1 LanguageClient: Fix regular expression
The match has to be a full match to avoid always validating
the full file if located at a literal.
This fixes bad performance of language clients in big files.
Amends 119a3c1ce9.

Change-Id: I7153f3d7d7125715846de7626d215093feae2908
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-09 10:44:05 +00:00
Vikas Pachdha
f7634fc738 Doc: Add Qt Bridge import documentation
Change-Id: Iab73c53c4f128f54ebd4938ad24d0febb8705784
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
qds/v1.6.0
2020-09-09 09:33:28 +00:00
Christian Kandeler
90a18fe7fa ProjectExplorer: Fix ToolChain::isAutoDetected()
Amends d116559cd8.

Fixes: QTCREATORBUG-24545
Change-Id: I3a6c198a6ef2db91c4c3eb75721657e0c491e665
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-09-09 08:30:17 +00:00
Leena Miettinen
dd105095e9 Doc: Fix broken external links
Change-Id: Ifc167cf0e345c6d553a4224d3ea45b163fea45a8
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2020-09-09 08:23:26 +00:00
Leena Miettinen
fad2820e24 Doc: Hide breakpoint settings from Qt Design Studio Manual
The link targets are not included in the Manual.

Task-number: QTCREATORBUG-24500
Change-Id: I1d0bd94bf41fb612b5584366c02d1ee6de74b6e1
Reviewed-by: hjk <hjk@qt.io>
2020-09-09 08:22:25 +00:00
Vikas Pachdha
81b6e06448 StudioDocs: Update Photoshop bridge plugin images
Change-Id: I71d6235e7aa5eb74b73aa2303e6e01008ddd6d8c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-08 17:33:07 +00:00
Christian Kandeler
e778283b08 ProjectExplorer: Filter out non-applicable toolchains
... when filling the "parent toolchain" combo box for clang on Windows.
We should not offer the user a mingw C compiler as the parent of a clang
C++ compiler. Even though it will probably work (as it's mainly there
for the sysroot), it's conceptually weird and it blows up the number of
entries for no good reason.

Change-Id: Ic920993b4ff36f8d8d095392555dc9d27f376878
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-09-08 14:04:13 +00:00
Miikka Heikkinen
92f9502f56 QmlDesigner: Fix image id generation for names starting with digit
Change-Id: I763e8b49d0b8dd3274bea79d61156321185706a5
Fixes: QDS-2759
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-08 12:59:20 +00:00
Leena Miettinen
4690f7c914 Doc: Update information about importing 2D assets using Qt Bridge
Change-Id: I2ac7ec1fe65a3e34b7174bac5fba7bbab0efa783
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-08 12:54:50 +00:00
Johanna Vanhatapio
34e5b2d0ab Doc: Update info about materials
Fixes: QDS-2753
Change-Id: I74eb64552af4ef0b222f8949291d7f6b34f0dbbb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
qds/v1.6.0-rc2 qds/1.6.0-rc2
2020-09-08 10:54:10 +00:00
David Schulz
44271262d9 LanguageClient: Fix crash after server shutdown
Unconditionally reset the assist provider even to a null pointer

Change-Id: Ie8f87802ab26b4a686704b792adc726a50f98bab
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-08 10:41:58 +00:00
Leena Miettinen
2fa0e96f19 Welcome: Add links to Quick Tips in the Tutorials tab
Update the link to the Qt Creator introduction and remove some
links that are less relevant in the Qt Creator context.

Fixes: QTCREATORBUG-24603
Change-Id: Ieebf4b051f5a34db84ba4f35c250d67f71168a43
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-09-08 09:17:28 +00:00
Christian Kandeler
cba414d501 ProjectExplorer: Fix crash when setting up run control
Amends 215b284666.

Change-Id: I2d820113153fc1c3326de00f38a5d14d71a501c9
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-09-08 08:52:39 +00:00
David Schulz
5299eb5bec TextEditor: Fix clean whitespace action
This is a partial revert of: e7f784ca73

Fixes: QTCREATORBUG-24565
Change-Id: Iffa149e0f97c315355f211f6ae3856fad08f4f3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-09-08 04:23:14 +00:00
Knud Dollereder
d64ebc0f8b Fix easing-curve-editor context menu for macOS
Change-Id: I99eac383dbd247e42392424712eed001e2750008
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-09-07 15:04:37 +00:00