Added Python support to the DAP engine in Qt Creator.
Note:
Locals aren't displayed for python. It will be fixed
in the following commit.
Change-Id: I6d3b41fecc98b92951ed0522e9201401293034d7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This amends 9c2527eea6 and is the third
attempt to make this horrific code do the right thing.
Fixes: QTCREATORBUG-29552
Fixes: QTCREATORBUG-29561
Change-Id: Ib5136a101d87388385f94c4ecc3e837e09ce034d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Delete implicit ScrollArea when content widget is deleted in
hideDockWidget()
Base repository commit
2178b52621ed16f9846d6f80ecb59706b9d31921
Change-Id: I2e593f3be77fc8ad988e7882707619803ef70cfc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Crash is caused by dragging an autohide tab out when it is an icon
only
* The crash can actually happen with non icon only tabs, but is masked
by the orientation check
Base repository commit
61573cba1633600dddcbf5afb7d8ed1645f82b30
Change-Id: I1aebfd6455983662050aaf82a6506a6a5a40421e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
In case id is not ancestor, we cannot find that ID in m_idStack by
design. The ID of an uncle type could be either popped out or not pushed
in yet. The previous implementation, therefore, doesn't restrict M16
messages if non-ancestor ID is referred.
As a workaround, disable M16 warnings completely if the enclosing type
uses ImmediateProperties.
Amends 012f984c27
Task-number: QTCREATORBUG-28468
Change-Id: I47326e005753ff7b94057732602cfeb6dc525bbb
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Especially when touching headers included centrally while
refactoring bigger projects the retriggered parsing of
large (depending) parts of the project can become rather
annoying.
Adds an action for immediate disabling parsing and
respectively other test related functions.
Change-Id: I553615cce90bc88d636a4519718887306ee5215b
Reviewed-by: David Schulz <david.schulz@qt.io>
The Qt SDK would not write the "Version" tag in the xml file, but the
supported ABI and engine type are set.
Only retrigger the debugger detection only if the version, and the ABI
and engine type are not set.
Change-Id: Ib73b1809f9dc6a16fa1988ee0e40e4d8131c667e
Reviewed-by: hjk <hjk@qt.io>
Makes it possible to potentially show it after the fact.
Change-Id: I7c93a2a290bf1a3e096286a3d20fd4553757ad5c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The original total only contained the time spent inside of plugin
methods, but a lot of things get delayed arbitrarily to the event loop
currently. That is included in the new "total startup".
Task-number: QTCREATORBUG-29540
Change-Id: I832bb972d85bc4cf82f098e4cbf5d3ff3800d14a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The overhead is minimal and can be shown at a later point even
when not printing profiling data to the terminal.
Move the data to the plugin spec for later retrieval.
Task-number: QTCREATORBUG-29540
Change-Id: I392ff85a8a8b5c01ecba07fefd06e5029f692bf6
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Will ease transition to a key class that doen's have ::number()
Change-Id: Ib2f2957c916f41b0731a2033422bfbf7e429bcc8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
- Multiple statements are not allowed
- Matched statement should have the same type in the case that we
have both Ok and Ko statements
Change-Id: I2aedc1fe7f7f2096af0293c019d0caeb9771646f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Adapt the font of the search and replace input fields to the font of the
widget that is searched. This makes it use the text editor font when
searching in the text editor but keeps the "application font" when
searching in other widgets.
Change-Id: I8bd3b5dd3d14ab0e774f7272be236c35abd12de0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Symmetric to saveSettings() now, and allows for central Key conversions
later.
Change-Id: I3fbf81c51197c9882b1f64ef591398b83aa0d633
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This can be used to update the editor widget connected in the action
handler if the editor widget inside one editor changes.
Change-Id: Idc9ea119aa2eaab34bd249c59ab9dfb255556fa1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This model represents all properties in the document
in a tree model.
PropertyListProxyModel allows to flatten a level into a list model.
PropertyTreeModelDelegate exposed a single item to a combobox.
Change-Id: I9b56f1ecc9aa57777356bc795b5a15b17559ae24
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This reverts commit 2a301d41c4.
Reason for revert: msvc uses a different syntax
Change-Id: Iec4ae2a65e6957c6e1368cc481a63fab0e55ce9e
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
The current format is apparently stable since May 2017.
Change-Id: I8be705c87578f0e93dbb9494206ccf3e5d8b9e64
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Instead of a value we keep the iterator. That is saving us a useless
copy because the value range cannot change.
Change-Id: I2ea36b5a08e378f8e148f317c3384e4c4954a439
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
If the tool is not present the menu action is disabled.
Also add a link to the Qt Creator cmake-format documentation.
Fixes: QTCREATORBUG-29415
Change-Id: I4afb33f0d5ce08975b0964d6bee80dfb41cfcde5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
An application that is using ptrace will send SIGTRAP as soon as it
reaches its execve call.
The process stub previously expected the only signal sent from the
inferior to be SIGSTOP due to the PTRACE_DETACH call with the
SIGSTOP argument.
This meant that a race could occur where the SIGTRAP was received
instead of the SIGSTOP and so the PTRACE_DETACH did not actually
detach correctly.
This patch fixes it so that it first waits for the SIGTRAP and then calls
detach and waits for the expected SIGSTOP.
Should this fail, more debug output is added to ease debugging failures.
Fixes: QTCREATORBUG-29463
Change-Id: Ibac8b75de0c5604aeb20faba8aff58633329341e
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We claim that we still store QVariantMap to keep the format unchanged.
Change-Id: Ie7b0a83febfeb2cb3cfc9ee42b8423453cf3b1c4
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>