Commit Graph

67787 Commits

Author SHA1 Message Date
Leena Miettinen
a1561d97e9 Doc: Describe buttons and fields in Transition Editor
Task-number: QDS-3771
Change-Id: I48b5a87f88552efdb2c1fef89d94d5f98047010a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-01 16:09:39 +00:00
Christian Stenger
bf0154e50f LLDB: Do not print warnings to Locals
Change-Id: I552f75ebbb57c4af30582aa764fec75aa08df340
Reviewed-by: hjk <hjk@qt.io>
2021-03-01 15:13:00 +00:00
Christian Stenger
88ef74d0f9 LLDB: Fixup filtering out function signatures
Amends 2f67d75ca4.

Task-number: QTCREATORBUG-25185
Task-number: QTCREATORBUG-25217
Change-Id: Ic22d67d742273f9a8944c64df4c8a0647c4157f4
Reviewed-by: hjk <hjk@qt.io>
2021-03-01 15:12:54 +00:00
Christophe Giboudeaux
4caca8fbfb Fix a link error when building the qmldesigner plugin
Fixes: QTCREATORBUG-25152
Change-Id: I36e51f3f552b3639d77342ee56e7efe5b44497e5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-01 14:01:00 +00:00
Eike Ziller
131dc3df4b CMake build: Do not install valgrind-fake and cplusplus-keywordgen
These are Qt Creator developer tools

Change-Id: I9bad103d9139dde2b7bed7fd2117b5e1455daa92
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-03-01 12:54:21 +00:00
Ivan Komissarov
1b9349d328 cmake build: Fix setting WITH_PROJECT_FILE_UPDATES
This amends 13f466c.

Change-Id: Ib555d8ac9598c25e9f526a21ff0324f334eb6594
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-01 11:49:33 +00:00
Christian Kandeler
c1f05d58b8 CppTools: Clear outdated "semantic parentheses"
For instance, if the user types "template<", then the next operator> in
the source code will be temporarily classified as the closing angle
bracket for that template. Therefore, we have to clear out any previous
information of that kind.

Change-Id: Ib6d64415b2f6294661e2b8ec48cbaea5893d8fd0
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-03-01 10:07:54 +00:00
Miikka Heikkinen
f071a3301b QmlDesigner: Hold import progress while application inactive
Creator's global filesystem watcher doesn't trigger while the
application is inactive, so changes to file system are not detected it
that is the case. Hold the import process while we are waiting for
filesystem update if the application is inactive.

Fixes: QDS-3809
Change-Id: If55a5ce45ddf06095d7ea51c5dec4f882e83d81f
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-01 09:04:45 +00:00
Eike Ziller
eaa4592b63 Merge remote-tracking branch 'origin/4.14' into 4.15
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri

Change-Id: I892ea0c3b42f61b9cd24fa5508ec181d8d245d29
2021-03-01 09:49:45 +01:00
Alessandro Portale
9fbd1c26b0 CMakeProjectManager: Use the "gear" as project root item icon overlay
Replace and remove the pixel accumulation called "projectexplorer.png".

Fixes: QTCREATORBUG-25397
Change-Id: Idbf5e634bbe98d6eb9cc2cbaafd7f631cac18a83
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-01 08:23:51 +00:00
Eike Ziller
a0f12f5b98 CMake build: Add version number to external plugin dlls
Fixes: QTCREATORBUG-24590
Change-Id: I01996e25af0b8ab7056c5d2012cd7951c3757ae5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-26 18:27:26 +00:00
Thomas Hartmann
44ce8db8d6 QmlDesigner: Add more annoations titles
Change-Id: Iec5198426979f2540beda08ccaa064f042897f3b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-02-26 17:29:50 +00:00
hjk
61a0b2b2b3 Add some basic contact information in a new Help->Contact dialog
Change-Id: I5a01c3d3c9fd467ed7b48869b66617adf2b11fed
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-26 16:36:07 +00:00
Christian Kandeler
4ebe717a7d Output panes: Fix auto-scrolling issue
The idea is that the user turns auto-scrolling off by manually moving the
scrollbar up and turns it back on again by moving it all the way down.
However, at least on my machine I am no longer able to do the
latter -- the scrollbar position is always at least one below the
maximum. I don't know when, why or how that changed, nor do I know
whether it's about Qt, the window system or something else. Either way,
we have to account for it.

Change-Id: I83aab758d72735d4db45d228eca8bbc7a8eebd93
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-26 15:34:55 +00:00
Christian Kandeler
1616e72fcc Core: Fix accidental re-ordering of search results
Amends d3deefc3a4.

Fixes: QTCREATORBUG-25396
Change-Id: I6ca9c9cf20dcdfc7fbb4dbd5e8bf473880267736
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-26 15:12:04 +00:00
Alessandro Portale
1ed3d242de ProjectExplorer: Refresh fileoverlay_product.png
Provide it with the semi-transparent white outline that other overlays
have. Good for dark themes.

Also, let's keep the original version controlled in our icons SVG.

Task-number: QTCREATORBUG-25395
Change-Id: I439ce4c25ed6d6e758dc4ac078e65977b16aafe5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-02-26 13:13:26 +00:00
Cristian Adam
faa21ef378 CMakeProjectManager: Allow copying of CMake variables
In the context menu of the CMake variables there is now a "Copy"
entry that will copy to clipboard the -D<var>:<typ>=<val> or -U<var>
values.

Task-number: QTCREATORBUG-22482
Fixes: QTCREATORBUG-24781
Change-Id: Iaa70e64fd0593398732ccb8d9036571b308b5f12
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-26 12:18:58 +00:00
Christian Kandeler
93ec7862f2 Wizards: Remove duplicate entries from translation combo box
We only care about language and country, but there are locales where
these are the same. Since they map to the same output for our purposes,
we randomly choose one of them.

Change-Id: I0591607d1dfa6ea27cd9405cf895d0f8865df804
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-26 11:55:33 +00:00
Miikka Heikkinen
d41bc944cc Help: Fix crash with previous/next document in help mode
"Previous/next Open Document in History" crashed in help mode when only
a single page is open.
Disable the actions in this case, and add a guard that prevents setting
the current page to an invalid index.

Fixes: QDS-3743
Change-Id: I569292d8c348269dd12d2ebb089c03173cbd4bc2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-26 09:50:15 +00:00
Heiko Becker
0de044d479 Use GNUInstallDirs to install desktop and appstream files
c81baf1a9c introduced the usage of
GNUInstallDirs for Linux. Use it to install desktop files and
appstream metadata, too.

Change-Id: I13a363e5383e1150fd9b8d7e33d55ac53bee63ff
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-26 09:44:11 +00:00
Eike Ziller
dce690ab73 Fix build with Qt 6
Change-Id: I67ffc389d7579ac98755ec99614ce9b3e4e07df5
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-02-26 09:26:15 +00:00
Henning Gruendl
91241d86de QmlDesigner: Fix property editor value setter
Fix property editor value setValueWithEmit and setExpressionWithEmit by
resetting the other.

Task-number: QDS-3800
Change-Id: I7729c0b9fbac7eacce665d00d79a69e8ee7a5f90
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-02-26 08:31:29 +00:00
Christian Kandeler
a995a4633f CPlusPlus: Do not mis-classify bitfield declarations as initializations
Fixes: QTCREATORBUG-25390
Change-Id: I1976b7db2996f5a09db73adbd127aac9ab92d57d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-25 15:55:54 +00:00
Christian Kandeler
1027b94fcb Fix some compiler warnings about unused variables
Change-Id: I9a9450eab68f53b08722adb9a5d33c4f318b2129
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-25 15:55:39 +00:00
Orgad Shaneh
35245a7fcf Debugger: Show Threads dock by default
Change-Id: I11480919b4bccab2f5472d4683a3ee81068cac71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2021-02-25 10:38:43 +00:00
Miikka Heikkinen
69087a2c4b QmlDesigner: Update selected imported node
Add context menu item for updating selected 3D node. If selected node
is a component created by import, that import is updated. Otherwise
if the open document itself is an imported component, update that
import. In the latter case, preselect the source file relevant for
the selected node.

Fixes: QDS-3738
Change-Id: Id678288893f1700648d084ba92df40844d2af0b5
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-02-25 09:39:13 +00:00
Leena Miettinen
f51387fb8e Doc: Describe new context menu commands in Type Hierarchy view
Users can navigate in the type hierarchy and move to the class
definition in the editor.

Task-number: QTCREATORBUG-25162
Change-Id: I608538b24a3d6db25a0ed83d743a42e2d133dae4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2021-02-25 08:53:57 +00:00
Christian Stenger
de04f29198 Squish: Wait for the docs update progress bar
Change-Id: I73e80119a7e5a8d09397138d1301154af597f907
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2021-02-25 08:02:37 +00:00
Eike Ziller
fc5af03862 Bump version to 4.14.2
Change-Id: I792587c71eadf0b2602d73e7fa4be324cc2766cf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-24 18:51:04 +00:00
Eike Ziller
cc21658170 Merge remote-tracking branch 'origin/master' into 4.15
Change-Id: Ia313b9a8bf82940e496b7456801faf552fe4b022
2021-02-24 19:42:30 +01:00
Eike Ziller
c5d4515ec1 build.py: Make it possible to skip building Qt Creator
And only build the windows tools qtcreatorcdbext and wininterrupt.
For minimal 32bit Windows build.

Change-Id: I126c0963a8917c95300c0b2e9f00da274a62887d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-24 16:07:49 +00:00
Cristian Adam
145be455ee CMakeProjectManager: Add Batch Edit support for CMake configuration
For the initial CMake parameters one can have an edit dialog. Now it's
possible to batch edit variables also after the project has been
configured.

Change-Id: I406b8e7db16147032a75c82fddf9b7acec85c4bf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-24 15:33:25 +00:00
Vikas Pachdha
fbf509dd0b QmlDesigner: Fix designer's unit tests
Change-Id: I8da4b6d62beef6e4101fbc331d9877ac7bb0398c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-02-24 14:04:38 +00:00
Eike Ziller
6608bf1ad5 Merge remote-tracking branch 'origin/4.15'
Change-Id: I65e889663dac29a2efd85eba35bdb39a6611c801
2021-02-24 13:57:54 +01:00
Eike Ziller
52e0cb6623 Merge remote-tracking branch 'origin/4.14' into 4.15
Change-Id: Ia86c8b94a7d57eb3312600b1d7e9f4fe20185b45
2021-02-24 13:22:14 +01:00
Christian Kandeler
f9efff42e1 LanguageClient: Fix DocumentOnTypeFormattingRequest interface
Change-Id: Ib84f6c475e5bf2faff395d60d4c3b42b0a9d7017
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-02-24 10:57:40 +00:00
Alessandro Portale
b2b6c64e6a Don't detach temporary containers
Change-Id: I736cfc61c81995a81b056b3e3e5703ded5912525
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2021-02-24 08:27:10 +00:00
Alessandro Portale
14162aae9f Remove conanfile.txt
It is outdated and was not noticed until Qt Creator started processing
present conanfile.txt files.

Change-Id: I3ae273d50cb6ba34cdaca0d952acaa68d3db659e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-23 18:13:29 +00:00
Alessandro Portale
173a5b97dd qmake build system: Install share/3rdparty/package-manager
Amends: cc0fa86ffd

Change-Id: I00ca24fa18a10ff9bbbdeb86262c24c32d8dd8f8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-23 16:04:26 +00:00
Mahmoud Badri
4bdc4cf9c7 QmlDesigner: Fix flow tags cleanup regression
Caused by: 58b3afa728

Change-Id: I2cb52801f7d7ad9d7d4382f81ad9e52cae16fd03
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2021-02-23 15:07:46 +00:00
David Schulz
925c4a3198 Android: Add path to Qt java bindings to project files
Change-Id: Ia3ee35732bece5870659cac338f26f815e3ce566
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-23 14:46:02 +00:00
David Schulz
3c80f1bd9d Android: Add 3rdparty jars to classpaths
Change-Id: Ibc645e2377d4cb6d5eddd86d77cbb7f8ca294f1f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-23 14:41:01 +00:00
Mahmoud Badri
58b3afa728 QmlDesigner: Clean up flow tags remainings
Remove the remaining unused code related to flow tags. Flow tags feature
was removed as part of the new item library ui commit:
151184a609

Change-Id: Ic2f518cb7d345d4f5a183194bebb29c76b227c15
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2021-02-23 14:01:47 +00:00
Eike Ziller
cc0d70dd99 build.py: Build wininterrupt and qtcreatorcdbext separately
The build of wininterrupt and qtcreatorcdbext was using the fully
configured & built Qt Creator as a base. Now that we have separate CMake
projects for these tools, build them really separately.

This will be needed for building them on Windows 32bit for the Qt 6
build, since that doesn't provide Qt builds on that platform anymore.

Change-Id: I50a662c6366814cbb6f4ce62adca2c1c3e9d546f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-23 13:56:46 +00:00
Eike Ziller
28a8516394 CMake build: Make it possible to separately build wininterrupt & cdbext
By making them separate projects. Follow the pattern from sdktool.
This is needed for building these tools on Windows 32bit for the
Qt6-based installers - because Qt 6 doesn't provide Windows 32bit
builds anymore.

Change-Id: I82e2fdc7312e95079bb13f8c5f0ac1028c09222f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-02-23 13:56:33 +00:00
Mahmoud Badri
83c61a7c53 QmlDesigner: 2 item library import section improvements
- Move imports with no categories to the bottom of the list.
- Remove the project import from the list.

Change-Id: I41d229bb776bfe845dadbfc5c1be5b7d50aeee3e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2021-02-23 12:49:57 +00:00
David Schulz
d46d53de1f LanguageClient: reset project pointer when project is closed
Change-Id: I9a2787404bd47bf338125df1066d88e9061b5768
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-02-23 12:46:22 +00:00
Fawzi Mohamed
6929935111 designercore/imagecache: avoid missing override warning
Change-Id: Ic9bfdb9041dd82f78e56886793fd43d91955d2b7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-02-23 12:39:19 +00:00
Fawzi Mohamed
c0f9f29097 qmljs: correctly reformat js spread operator (...)
Fixes: QTCREATORBUG-23402
Change-Id: I6b4bd0846dac67116711b7ed046bd52d137b7674
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-02-23 12:38:55 +00:00
Mahmoud Badri
7d3ba0587f QmlDesigner: Fix item library expand issue
If a click happens on an item library item, mouse interaction
(expanding, collapsing sections, and showing context menu) is blocked
until some action happens (right-click for example). This is due
to a bug in QDrag. With this commit it is very hard to reproduce the
issue unless one's deliberately insisting to reproduce it.

Fixes: QDS-3792
Fixes: QDS-1652
Change-Id: I201b07aabf144adbb4d51e32c1fcc4990f89f5f9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2021-02-23 12:25:22 +00:00