Commit Graph

61529 Commits

Author SHA1 Message Date
Eike Ziller
86bd49e6ab Bit more change log for 4.11
Change-Id: Ibf23cef4ca24117931af9721664b7a57fbac90e5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-10-29 09:20:21 +00:00
David Schulz
6399188090 LanguageClient: prevent accessing deleted document
By always removing them from the list of opened documents also for
uninitialized clients. Fixes crash when closing creator before the
initialize response of a language server was handled.

Change-Id: I81fb15d8d9d7bf47300a6eac373ef9db04387bd4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 08:17:41 +00:00
Leena Miettinen
70ce398602 Python: Fix UI text
Change-Id: Ia3fa732d9ed6bb880ea7721712093fbe8faa27bd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-29 07:52:51 +00:00
Leena Miettinen
3db95cd694 Boot2Qt: Fix UI text
Change-Id: Ibc25722d16691ffb35cedaadba9c7049975d5836
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
2019-10-29 07:52:32 +00:00
David Schulz
63d03afb95 LanguageClient: fix memory leak
When removing actions from a widget the action is not magically deleted,
so manually delete the language client toolbar action of the editor
after the last client was shutdown.

Change-Id: I6a5a079d4a44724f92d291040925df73f7eb747b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 07:12:59 +00:00
Christian Stenger
7cec3cfc94 Scripts: Fix helper script on macOS
Broke with ca15e1ed0c.

Change-Id: Ife884234ff8716b3019f2d302598c887d1498a92
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-29 05:55:39 +00:00
Denis Shienkov
f8db739e0d Doc: Add mention about new supported toolchain architectures
Change-Id: Ic832eb7449af9c43bc72260e88cfa4e22e102a7a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 16:05:05 +00:00
Leena Miettinen
9b7328cc93 Update Info: Fix UI text
Change-Id: Iabd28121ea55b65fe10ad0e2dca0b4df44365b31
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2019-10-28 15:37:21 +00:00
Leena Miettinen
e9044c7eff Project explorer: Fix UI text
Change-Id: I5d3d3ada11bbbd093ebbf003b0c34564e21f38de
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 15:37:06 +00:00
Leena Miettinen
3ffee8213d Clang Tools: Fix UI text
Change-Id: Ib2f6f548bbd778e585385315174f5fecb60b7f5a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-28 15:21:09 +00:00
Leena Miettinen
5b943b6e7a CMake: Fix UI text
Change-Id: I5bf6e8a67bb09500502b4d35e227354390a3be19
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-10-28 15:20:54 +00:00
Cristian Adam
5649e3ec7e CMake: Configure fix for qtcdebugger
Change-Id: Ie7921fd37c60876c91e5009cd48f16ff69ba8674
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-28 14:31:36 +00:00
Tim Jenssen
ca15e1ed0c QmlDesigner: add 3d assetimporter plugins
macdeployqt was not enough because this is a runtime dependency

Change-Id: Idde6db46a4761288aec364cc83969a533e69816b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-28 12:48:56 +00:00
Christian Kandeler
0d81e90bb1 Wizards: Fix ComboBox implementation
The ComboBoxField class used the QComboBox view's selection model as the
source for the current value, which makes no sense, as the item that was
last selected was not necessarily activated by the user.

Fixes: QTCREATORBUG-23149
Change-Id: I8587dd20381e142b91f13a987e54c86b8f6237c8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-28 12:14:18 +00:00
Thomas Hartmann
6b17cd91a6 QmlDesigner: Use transactions in 3D Edit View
We send a ValuesModifiedCommand 'immediately' when the item is moved.
This means the 2D form editor and property editor update
while moving nodes in the 3D edit view.
The updates are 'compressed' by 100ms. This is to avoid performance issues.
The timer could be reduced to 50ms or even 10ms, but 100ms feel
acceptable at least for me.

The code was a bit refactored.
Qt5InformationNodeInstanceServer::modifyVariantValue() can be used later
to update other Vector3D based properties like rotation and scale.

There is one issue left. MouseArea3D emits 'onReleased' only after the
mouse is moved again. This delays the 'commit' of the transaction which
is annoying and can triggers bugs.

Change-Id: I834a1e2658278ff8dd39678f39e51735dee91b65
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-10-28 10:58:35 +00:00
Robert Loehning
523352f52d CppEditor: Fix grammar
Fixes: QTCREATORBUG-23138
Change-Id: Idc874a25a2e3c18a802350d253fbd4908cdfcc93
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-10-28 10:50:03 +00:00
The Qt Project
3f74b04c30 Merge "Merge remote-tracking branch 'origin/4.10' into 4.11" into 4.11 2019-10-28 10:44:20 +00:00
Eike Ziller
a546e3a9cc Merge remote-tracking branch 'origin/4.10' into 4.11
Conflicts:
	src/libs/utils/fancymainwindow.cpp
	src/plugins/projectexplorer/msvctoolchain.cpp

Change-Id: I7aaeeb4f96c95fefd4944c083c1ddf9a19cd81d6
2019-10-28 11:43:06 +01:00
Denis Shienkov
0a7b9db9b4 BareMetal: Handle missed stdout error generated by IAR linker
Change-Id: I767363697dc56d9314ff6c34605a907807975864
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 09:43:23 +00:00
Denis Shienkov
83c6a4d922 BareMetal: Improve IAR parser code a bit
It is makes sense to move a handing code of each
regexp to the separate method to simplify maintenance.

Change-Id: I59d9c23ec1c1c4dabb8de8eb295353b4df072a33
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 09:43:09 +00:00
Thomas Hartmann
d6b29a89ec QmlDesigner: Add transactions to NodeInstanceView::valuesModified()
Transactions bypass the rewriter and one transaction is one step on
the undo/redo stack.

Change-Id: Icd782389f74bde2b14432b8f854f29bad49a9104
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-10-28 08:57:14 +00:00
Thomas Hartmann
7b2b040f41 QmlDesigner: Add transaction option to ValuesChangedCommand
This option allows to define transactions for
ValuesChangedCommand and ValuesModifiedCommand.

Change-Id: Ia603027b5c431f1a1912d8959561f92a19fd0243
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-10-28 08:56:42 +00:00
Leena Miettinen
fea693d9f9 Doc: Update info about enabling the Timeline view in Qt Creator
Qt Quick Timeline module is delivered with Qt 5.14 and later.

Change-Id: I5666fa0fd190607a1bb6224dcff5ac7f39db61f7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-28 07:53:57 +00:00
Tim Jenssen
51991e3a3e WebAssembly: fix crashes
Change-Id: I9a2a44c85a254628f119eb041036492bc3022cdf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-28 06:55:14 +00:00
BogDan Vatra
e3904f3b13 CMake: Add Android Multi ABI support
Change-Id: Ia5b3fcda29705fefca85833ebc28b4154defba5f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-28 05:47:53 +00:00
Mahmoud Badri
afd22a75c1 Update EditView3D when selecting a 3D object in the navigator
Task-number: QDS-1124
Change-Id: I8d7bf73612b07592cd9beb85a5249895a400316b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-27 20:44:53 +00:00
Christian Stenger
b6aa4e2370 LanguageClient: Avoid problems with old settings
Empty file pattern entries may end up in a match everything
state, so remove them if they are still present inside old
settings.

Change-Id: Ic388522aa152265b5d10a9e334acd3e7b7032be7
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-26 12:35:23 +00:00
Thomas Hartmann
e572777776 QmlDesigner: Fix setting position from qml2puppet
Change-Id: I1348fa3d761be7b185d5324a73e8cdd543be50e9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 14:52:15 +00:00
Thomas Hartmann
a9e9100481 QmlDesigner: Use fuzzy compare for floats
This fixes a soft assert when comparing floats.

Change-Id: Id1626ab0ad2d777e6b67983210becdc8a32a95d2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 14:12:46 +00:00
David Schulz
95bd328c31 Python: export Interpreter generator
Change-Id: I591bd6c14706e1699f028a9a3a6dfd9b89eec66a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-25 12:50:46 +00:00
David Schulz
01df962d6a Python: install python language server with --user
Change-Id: Ifd8e19ea7d52d85ec0c497e5cbfe24300571398e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-25 12:50:35 +00:00
David Schulz
10c94994db Python: close all info bars after language server setup
Change-Id: I607f7cb5a31f3db0c7d7d77011860a1ea87eb8d2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-25 12:50:24 +00:00
Eike Ziller
088d5c0f77 TextEditor: Fix HTML escaping of tool tips
Tool tips without help ID were HTML escaped but never shown in a HTML
tool tip. Just always make them rich text. Line endings in plain text
must be changed to "<br/>" as well.

Change-Id: I9fd378e2c9a58ddf5834d67927fe3da9157cfbc7
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-25 12:40:15 +00:00
Miikka Heikkinen
baced09bc7 QmlDesigner: Fix edit view issues caused by quick3d api changes
Change-Id: I4bb110ff4693c57089f659e0f125c9f89c6bdb9c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 12:24:04 +00:00
Eike Ziller
3476dbd560 LanguageClient: Show markdown tool tips as plain text
We tell the language server that we do not support markdown, but some
(haskell-ide-engine) ignore that.
Show the text as plain text.

Change-Id: I1a61346b497cc04dce6c0da4221e949a16c61acf
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-25 11:56:53 +00:00
Eike Ziller
7f0654e35c TextEditor: Do not show F1 in tool tips that don't provide help ID(s)
Like it is the case for the language client.
Utils::TextTip::configure uses QVariant::isNull to check.

Change-Id: Ie1e47284a9062e79efcf0debf68486b05bce48ef
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-25 11:10:05 +00:00
Eike Ziller
80a3c7248e LanguageClient: Remove unnecessary function re-implementation
Change-Id: I44862986a5ecc808b834d7c6d76191cbd9fd07a6
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-25 11:09:46 +00:00
Laurent Montel
1e22a22403 modeleditor: remove unused forward declaration
Change-Id: I7c9c6856318145214ce9e76feeb721abed3b4e61
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-10-25 09:19:14 +00:00
Laurent Montel
69007ab116 diffeditor: remove unused forward declaration
Change-Id: I9da0e889262e37efae29ee7214edd5d95697e13d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-10-25 09:19:01 +00:00
Leena Miettinen
4b7f52811a Doc: Update info about connecting MCUs
Change-Id: I5b13f7a39534c9721be0ec0b7575943bdafc5795
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-25 08:19:47 +00:00
Miikka Heikkinen
0de98aa240 QmlDesigner: Add overlay display to show position in 3D edit view
When dragging using move gizmo, a label is displayed that shows the
current position of the selected object.

Change-Id: I2e03b363ce9dcb975bcfe198ffae2e98024d74c8
Fixes: QDS-1129
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 08:12:28 +00:00
Leena Miettinen
362d65301d Doc: Update info about the binding editor
Change-Id: I78e8a1c090b01f8062109928305f391b1b8b49be
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 07:56:58 +00:00
Leena Miettinen
999564d393 Doc: Describe using Qt Design Viewer
For running Qt Quick UI projects (.qmlproject) in web
browsers.

Change-Id: Ied9b971755ccef9f94e9e0ffb578d3ecbd0ef6c0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 07:56:23 +00:00
Mahmoud Badri
b83b93fb7f Make 3D objects pickable
Mark 3D objects implicitly pickable upon initialization so that they
receive mouse clicks without having to declare the pickable property
in qml.

Task-number: QDS-1124
Change-Id: Ib8ec5415097c1a9bf57b8965a3fca0c3665f3732
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 07:55:40 +00:00
Miikka Heikkinen
1fe204565a QmlDesigner: Add support for move gadget to 3D edit view
This proof-of-concept move gadget is based on the move gadget
in studio example of QtQuick3D.

Change-Id: I1b596443a3e99c16ed214bc464c5367a0f7aa503
Fixes: QDS-1125
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Pasi Keränen <pasi.keranen@qt.io>
2019-10-25 07:51:09 +00:00
Eike Ziller
44ddca544c Fix focusing of already open output pane from separate window
If the focus is in a separate window and the shortcut for an already
open output pane is triggered, we should set the focus there and
activate the window, not close the output pane.

Fixes: QTCREATORBUG-20083
Change-Id: Ia9f9fbe137c9ac1ad3e9d148cc410ca093275916
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-25 07:14:57 +00:00
Christian Stenger
bf698f5a2f Unittest: Fix warning
Change-Id: Ie78646d82786ad8836f289ba53382dad2d51d3f5
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-25 05:21:20 +00:00
Alessandro Portale
659ba2f892 WebAssembly: Set a restriction checker for WebAssembly Qt Versions
Task-number: QTCREATORBUG-22828
Change-Id: Ifaf1624b1fb53b4a9a58883b6b968fff2ae8fab6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-24 15:31:10 +00:00
Tim Jenssen
d53d874224 add assetimporters as a new QtQuickDesigner depdency
This is used to import QtQuick3d content as resources in the designer.

Not sure if we need the qtmodule QtQuick3d in QtCreator if QtCreator also
want to offer that functionality

Change-Id: I7b50b820916dbe0bc0a0fc6dedc29fcb08d54f3b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-24 15:28:44 +00:00
Mahmoud Badri
1641ad625e Deselect all objects when clicking an empty point in the 3D edit view
Task-number: QDS-1124
Change-Id: I5a9ed39a69c467de27dd7c4564d53b7bf033dd92
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-24 11:16:06 +00:00