Minitrace is a small C++ library used for adding trace points
into the code. When enabled with the build flag
BUILD_LIBRARY_MINITRACE set to true it will write a JSON file
containing these trace points to disk.
This file can be visualized with chromes builtin trace viewer
(about:tracing) which helps in profiling performance issues
and keeping track of performance regression.
Task-number: QDS-3766
Change-Id: I6109a72507b53c5e3ad8f9f504ff26a4fad206be
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
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>
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>
* add (multiline) template string support
templates can be nested, which means that the scanner/lexer cannot
be a simple state machine anymore, but should have a stack to store
the state (the number of open braces in the current template
string).
The lexer stare is currently stored in an int, so we abuse that and
store a the number of open braces (maximum 0x7f = 127) for at most 5
nested templates in the int after the flags for the multiline
comments and strings.
* improve representation of delimiters (==, <=, ||,... not split in
separate delimiters)
* (QmlDom backport)
Change-Id: I2b4d23b65febedef29a748f4c5f377fde27bd7fd
Fixes: QTCREATORBUG-22766
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
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>
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>
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>
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>
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>
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>
- 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>
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>
By hiding them if the link target is not part of the manual
or by fixing the link target if the section heading changed.
Change-Id: Ib72c71852ea3f8dacbfedb71a94d64d3eb5378fb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
When importing a 3D scene, if an existing import with the same name is
found, allow partially overwriting an existing import by selecting
the files to overwrite.
Task-number: QDS-3738
Change-Id: I8969da9bd03ef47ede4768cc2c7eb033bee3cb66
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
- Expand collapsed categories in the following 2 cases:
- When searching.
- When choosing "Expand all" from the context menu.
- Update only changed data when expand state changes rather than
resetting the whole model.
- Update search after adding a new QML import and switching to
the components view.
Task-number: QDS-3781
Task-number: QDS-3784
Task-number: QDS-3789
Change-Id: I09e6f1f97171cd9172cadf4202dd8d02cbb78513
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
If a server is setup to start per project we want to open files of a
project in the matching server by default.
Change-Id: Ie266fd858420acd75b7a1fd45be7bee2b06460aa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If the client was opened for a specific project.
Change-Id: Iafc9f5d46d06e2e656702260f297d6b2b998a431
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
These files are needed by the java language server to operate properly.
Change-Id: Ie96a1fe32fefeea7333c7fa752557f79796a1478
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
- Use the current name for the menu item in change log:
Find References to Symbol Under Cursor
- Update screenshots
Task-number: QTCREATORBUG-25162
Change-Id: I3c46561c91c01f2d33039cb4431cd6b88d163e68
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Send the workspace change method before the server gets shut down.
Prevents an assert in Client::sendContent.
Change-Id: Iaedc9829379d987aa6f91a87e26d35b64a9f0f55
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Fix entry in the change log to use the correct action name.
Also fix the entry above to use the action name.
Task-number: QTCREATORBUG-25162
Change-Id: Iebc2c6634c7bdc51ab97bb48ecce081e4000eccb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
We want to have flags consistent with the Qbs build and project file
updates are disabled by default (for standalone qbs builds in Brew or
choco) to avoid dependency on QtGui
Task-number: QTCREATORBUG-25232
Change-Id: I217057f45519e0c92201d1b76d5b04924804aed0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Add a table that lists the views and links to their documentation
and to the documentation for the tasks that users can perform in
the views.
Change-Id: I96748b62163613aff1bb5f71782af007299b02ce
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
And place it under Design Views.
Restructure the Specifying Component Properties topic to start with
common component properties through setting colors to developer
properties.
Task-number: QDS-3771
Change-Id: I5cdfa12217fd61efac8eedad3efdd4486ef9593e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Change the topic name to Navigator and move the topic under
Design views in the TOC.
Replace occurrences of "item" and "QML type" with "component".
Task-number: QDS-3771
Change-Id: I7dbe9803d88a409c8ba0a0ef074e2bc8a6866dec
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>