Commit Graph

68045 Commits

Author SHA1 Message Date
Andre Hartmann
2df71c5798 Lexer: Support the integer suffixes LU and LLU also
Before we only supported UL and ULL.

And add tests for all variants of allowed integer suffixes.

Fixes: QTCREATORBUG-25604
Change-Id: Id92f371d2effa7456d2d50891a6c29810c5c4c75
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-04-19 09:16:55 +00:00
Leena Miettinen
2ae36b9e26 Doc: Describe quick fix options
Fixes: QTCREATORBUG-25581
Change-Id: If1e2434f36c71ebc2ff484f3f4c2c94cdd362c98
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-04-19 09:08:56 +00:00
Christian Kandeler
f307c55eac ClangBackEnd: Fix mis-detection of operator<
Inside the body of a function template, clang reports a different cursor
type for operators in some cases. Make sure we don't mistake such
operator< or operator> as opening or closing a template, respectively.

Fixes: QTCREATORBUG-25596
Change-Id: Ifc357e199ea13e44ac501613639e667c333d48e3
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-04-19 07:51:24 +00:00
Vikas Pachdha
ee3e4f9e25 AssetExport: Export custom id
Task-number: QDS-4114
Change-Id: I013ff674f0e9f59ed0a82803114faffae28bd74a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-18 22:24:21 +00:00
Andre Hartmann
3d4b5c0269 VCS: Fix second line commit message verification
For commit messages consisting of only two lines, no
warning was shown when the second line was not empty.

Now a warning is print for:

 First
 Second
 Third

as well as:

 First
 Second

Change-Id: Ibf19bc46465446f1634f9fdc783bd194b837d5ec
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2021-04-17 17:41:33 +00:00
Henning Gruendl
e6c28a7844 QmlDesigner: Fix ProjectsGrid delegate MouseArea
Task-number: QDS-4193
Change-Id: I68897288a75f864f5d361c41b52cf6e888f91bce
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-16 14:54:43 +00:00
Tim Jenssen
1f2b0cbf39 qmlpreview: fix crash
Change-Id: Id1b9d8c070539e8935e2d7492f6a8c2567739e00
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-16 14:48:49 +00:00
Tim Jenssen
a8cf61b745 qmlpreview: fix PUBLIC_DEPENDS
Change-Id: Ifaf579c63eea8c41293cc6ddddd811b065376467
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-16 14:30:12 +00:00
Vikas Pachdha
5a79e08fd6 Docs: Update the Qt-Bridge plugin docs with new terminology
Task-number: QDS-4125
Change-Id: I99ecc21f0631ed57f1891754f672bdb0b1feec0c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 13:17:58 +00:00
Vikas Pachdha
eb8f282d44 Docs: Update import behavior when QML Type is defined
Task-number: QDS-4125
Change-Id: I38c2fcec2931995541c9de78231fc4dc56d7dba5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 12:31:41 +00:00
Johanna Vanhatapio
5bf5cc0d50 Doc: Add info about the user feedback prompt
Fixes: QDS-3601
Change-Id: Ie7ceb09f142d233c4335e1445dac1618c8b00211
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 12:20:58 +00:00
Johanna Vanhatapio
f89b1ff497 Doc: Update more info about Library
Task-number: QDS-4007
Change-Id: Iede5ff19c55ea99453ad67b7f1782032779a77af
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 12:10:34 +00:00
Johanna Vanhatapio
6978020156 Doc: Fix Library paths in 3D topics
Task-number: QDS-4007
Change-Id: I2ff199857bae2b1e9e8df327194b7c59a0af27df
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 12:10:22 +00:00
Johanna Vanhatapio
381bb68265 Doc: Update info about Shapes
- Updated mainly pictures due to changes in the Properties view

Task-number: QDS-4167
Change-Id: I0ce5f83dc5d353eb7061761505454677d79aeb3b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 11:42:33 +00:00
Leena Miettinen
67e264b619 Doc: Describe CMake multi-config support
Fixes: QTCREATORBUG-25595
Change-Id: I8b7c5ea64ba150c8bd5e8909c50bbaf716d89118
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-04-16 10:36:40 +00:00
Vikas Pachdha
1a9ed833d6 Docs: Add missing documentation for Photoshop plugin
Task-number: QDS-4125
Change-Id: I5d29ed6dbc3f6e7d921d0f56dc12b55a127ad9e8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 09:31:18 +00:00
Vikas Pachdha
f9c1b0d307 Docs: Update sketch plugin images and add missing documentation
Task-number: QDS-4125
Change-Id: I0d2547b83dfdc9810870f9cda90ad6b3776a0aad
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 09:31:08 +00:00
Aleksei German
ddc6380c1b QmlDesigner: Fix for qdocconfig variable
Change-Id: I75364da1614b7ec641ba1321892245709694978e
Fixes: QDS-4185
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-16 09:26:59 +00:00
Ivan Komissarov
4e58b67195 Update Qbs submodule to the top of 1.19 branch
Change-Id: I3f46a900cc8a0a876db6b9dc2aa6d7ac94e3e053
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-04-16 08:24:37 +00:00
Thomas Hartmann
35118c2520 QmlJsCheck: Do not allow print as id
Task-number: QDS-4162
Change-Id: I425c75cd42c0842ead27a6c801c3a483284407ea
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-04-16 07:53:00 +00:00
Aleksei German
5be41e7ba1 Fix for QDS documentation generation
Change-Id: I66dc5912476719b9bb57d141784a6df7c7f55ac4
Fixes: QDS-4185
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-16 07:49:58 +00:00
Christian Kandeler
c80c724b52 ClangCodeModel: Fix template highlighting bug
We need to take into account that the ">>" in constructs such as
std::vector<std::pair<int, int>> is only one token on the clang side.

Change-Id: I90f002ca56f236032f6d39c338593a2ff7590061
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-04-16 07:02:19 +00:00
Christian Kandeler
8e8236e9e0 CppEditor: Add missing template arguments
... in "Add Virtual Methods From Base Class" quickfix.

Fixes: QTCREATORBUG-25589
Change-Id: I5ffef27acf151422ec4f56d48451e263664bfc2d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-16 07:00:10 +00:00
Miina Puuronen
8f2b6e65a9 QmlDesigner: Fix module categories visibility when module is removed
If a module is removed, its categories are now also set visible.

Fixes: QDS-4158
Change-Id: Ica1fd1f4d1d821bf74ea2ed57ff42849e8318539
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2021-04-15 16:10:53 +00:00
Christian Kandeler
35f5cec986 QmlPreview: Fix qbs build
Amends 62a7601d50.

Change-Id: I531960e9ad3e183c993149d18855ffb03113d966
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-15 13:37:13 +00:00
Alessandro Portale
d7b9eac595 Utils: Make QtColorButton's d_ptr private, again
Amends: 03aed5c5a6

Change-Id: Ic9e99d4e63bc54f7931cefb084a7f5a215dbc109
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-04-15 13:01:56 +00:00
Marco Bubke
76bd140c7c UnitTests: Fix flaky test
ImageCacheGenerator.CleanIsCallingAbortCallback was not waiting for the
expected call.

Task-number: QTCREATORBUG-25580
Change-Id: I43265389a36e568dea7c7ece5524ef597232d049
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-15 12:05:20 +00:00
Mahmoud Badri
46a3645181 QmlDesigner: Update subcomponent manager only for added import
Subcomponent update is needed after an import is added to parse and
load the import components. Instead of updating all imports and folders,
just update the import folder when adding a new import. This also fixes
regression cause by: d3f2394e8f

Task-number: QDS-4179
Change-Id: I6c0ba5139818004fdf54dfa10f03c7b013dfa46d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-15 11:04:50 +00:00
Eike Ziller
7ba558da11 COIN: Simplify Qt installation
Use the new, simpler install_qt command and centralize definition
of Qt base URL and modules

Change-Id: I73d0b195c0cb6278d4f79476c42a39446d43eaed
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2021-04-15 10:56:22 +00:00
Leena Miettinen
dc636b63e6 Doc: Remove obsolete keyboard shortcut for Add Timeline
Task-number: QDS-4116
Change-Id: Ic7695ffea5cb6b1d1b224135660a4b9b5b4b06e9
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-15 10:48:28 +00:00
Tim Jenssen
0108a85c82 qmlpreview: prepare plugin to have an external client
- export the plugin andd add client creator API to be able to implement
  external debugtranslationclients
- use the private/qqmldebugtranslationprotocol_p.h from Qt5::QmlDebugPrivate
- have a basic client implementation which cares about changing language
- remove out of date elide warning implementation
- remove old ui
- remove the menu entry

The old client implementation is incompatible with the will be introduced
service and there was never an officially released compatible service.
Therefore we can remove the old client implementation without causing
any harm.

Change-Id: I26b5e8a99ba30ae6377443b3fffb05901b1cac28
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-04-15 09:32:01 +00:00
Thomas Hartmann
d8737ffff4 QmlDesigner: Do not allow print as id
Task-number: QDS-4162
Change-Id: I7cce6fbeabff35e1d4469c93c73b02b56ff6d4a5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-14 17:05:43 +00:00
Vikas Pachdha
0337b34bc2 Docs: Document PSD cloning option in Qt-Bridge Photoshop
Task-number: QDS-3979
Change-Id: Ifd14afdec5b9df93d8b279541e6ec393c19ce9bf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-14 16:18:41 +00:00
Leena Miettinen
4e834d549a Doc: Update info about configuring WebAssembly
Fixes: QTCREATORBUG-25571
Change-Id: Id6a7aae453e1e27ef261c11265663108426b133f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-04-14 15:46:12 +00:00
Vikas Pachdha
0cb02a39cd Docs: Update Photoshop qt-bridge images
Change-Id: Ic2320d84f9b98f2560674acab672efa6a4ff02ad
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-14 14:25:38 +00:00
Aleksei German
241ff84e28 QmlDesigner: Update QDSMCU metadata
Change-Id: I29d07a91f117d18e0fbfbac3d5547a44ff8d932f
Fixes: QDS-4149
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-14 14:14:32 +00:00
Christian Stenger
915b9d0e31 DumperTests: Ensure a set up environment
For whatever reasons the qmake call already needs an
environment containing cl on Windows if QC and the auto
tests have been built with cmake.

Change-Id: I7b55fb792d3bc282cc1561e8e3b55885a25bcf0e
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-04-14 13:49:43 +00:00
Eike Ziller
9f32c4aa2e Bump version to 4.15.0
Change-Id: Idba4da565319c5b23e781f26fb1cf68722abbede
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-04-14 09:54:10 +00:00
David Schulz
4f9ed8d620 Dumper: Fix qobject name dumping for Qt 5 again
Amends: e05fe66f4b

Change-Id: I244017a63216a6bbc89d9f211eec7d7def27beb4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-14 09:28:45 +00:00
Johanna Vanhatapio
39d4577d76 Doc: Update the Creating Components topic
Fixes: QDS-4110
Change-Id: I6fde0e36a8c74a0c9e1f56b9ce225444c921b74f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-14 06:40:29 +00:00
Johanna Vanhatapio
fef8ebf46b Doc: Describe Context Menu Commands in Library
Fixes: QDS-4061
Change-Id: I4f19450cd03f7f2da7e9064a1bf8519e4ccfc3c4
Reviewed-by: Miina Puuronen <miina.puuronen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-04-13 16:33:32 +00:00
Leena Miettinen
1057942d00 Doc: Describe option for selecting ABI:s for Qbs Android builds
Task-number: QTCREATORBUG-25162
Change-Id: I385556b2ec94bf10d7432886880fcbba96239eb9
Reviewed-by: Raphaël Cotty <raphael.cotty@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-04-13 15:35:22 +00:00
Mahmoud Badri
d3f2394e8f QmlDesigner: Don't update sub component manager when adding a module
It seems there is no need to update it and it is an expensive
operation.

Task-number: QDS-4008
Change-Id: I5dd8427f73a6ce755b017f6d284b72acb31ed7d5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-13 14:02:39 +00:00
Tapani Mattila
03aed5c5a6 Prevent QtColorButton crash with AnnotationTableView
Task-number: QDS-4068
Change-Id: I56c130e0d252f6926a64d0d0c37d3b482d2dbbc5
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-04-13 14:01:26 +00:00
Christian Stenger
8dbb741bbe Unittest: ClangSupport: Fix cmake build on Linux
When building debug with tests this surprisingly failed
due to missing include.

Change-Id: I238dc1d1e4aca790c07a37f0d65973da693bed99
Reviewed-by: hjk <hjk@qt.io>
2021-04-13 10:53:42 +00:00
Matti Paaso
15162cda4a Add product dependency for selecting correct branch for VMs
Change-Id: I2c690825f7d1d19a34f3e1dbc08970ca2167594d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-04-13 08:06:37 +00:00
Christian Kandeler
413b83ddf9 QmakeProjectManager: Fix possible crash on project document reload
... while a parse is going on.

Fixes: QTCREATORBUG-25137
Change-Id: I02a914332ef120caee044139581e1901b4537bff
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-13 08:04:56 +00:00
Leena Miettinen
5b219abe9e Doc: Fix link to B2Qt Installation Guides
Fixes: QTCREATORBUG-25566
Change-Id: Iabaaa4537a3d4cc02956407068e65e68629cef04
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
v4.15.0-rc1
2021-04-12 14:17:47 +00:00
Eike Ziller
89acd38b40 macOS: Adapt build_plugin.py for possibly branded application bundle
Change-Id: I0d9860db78c2f617f5e8631064b271c0207f01de
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-04-12 09:38:06 +00:00
David Schulz
005f0a3127 TextEditor: Fix highlighting search results at block start
Fixes: QTCREATORBUG-25570
Change-Id: I3450cfed49e07cf96c2a2a9cdfa9a0be7a05c49f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-04-12 07:27:03 +00:00