We have to use the original property name in the model.
Change-Id: I7e34a576ea2bb95c0346885ec7668f5d993ca7ff
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Since the Layout properties do depend on the
context (attached properties),
the meta info system does not provide those.
This patch adds those properties to the backend
if the item is in a layout.
Change-Id: I4040ced3ec6cedaf578ec67d5ea2a8caba484e88
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
These properties are unknown to the meta info system.
Therefore we have to explicitly allow them.
Since Layout attached properties are not handled corretly by the puppet,
we have to handle them manually.
Change-Id: I0b83b57daddbd4c6d17bd5c3ab16677d7db3cfdd
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Add support for exporting items as a property of the root item.
Show errors from the qml2puppet.
Change-Id: Id3d05201a20fce24f20e66f101818ac2231f38ee
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
If we update a subtree, because a node was moved or reparented, we
have to expand this subtree.
Change-Id: I7f8f004b649a695dddddde4dbec5af19c700d109
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
There was no actual error in practice, as the handling was lumped
together with the tracepoint checkmark, which (accidentally) did the
right thing in all cases.
Change-Id: Icf12aaf0c48855b747d25a0252c8215e259c4227
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Did only work for Symbian, for now the user can use something like
echo Trace hit!
continue
in the "Commands:" field instead.
Change-Id: Ib7ad273bc6de4bbd46845c9e1c75c99e5bddd2bc
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This amends 0f46ad4a55.
Passing the whole environment is unneeded, and can cause
problems with multi-line variables.
Change-Id: I49a32c550ba52737bb8f797e227bb883be8b1df1
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
The resulting diff contained all the items that were equal as well.
Since the function was unused so far, no real harm was done,
but the function would be useful to have in the debugger.
Change-Id: Ia0b0cea79cfc3ee5442aaf7bb392121590c0f338
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
It is not used and is producing overhead.
Change-Id: I1398b18a40c0f5c0b90fe4c058996d7eb109f9f2
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This was/is a workaround to not lose the extra information carefully
crafted one-shot-breakpoints might carry (e.g. conditions). However,
it gets into the way when simple one-shot breakpoints are used
automatically ("Jump to line", or native-mixed debugging),
so actually deleting the bp in the ui if it's gone on the debugger
side seems the lesser evil nowadays.
Change-Id: If00dc4e8f27881236c05b17109b57d7c53d424ab
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Issue a DebuggerEngine::executeJumpToLine() in response.
Change-Id: I7be5738241ce91f61002d6f6b49c796824569024
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
There are two cases that do not coincide in asynchronous
engines such as the QmlEngine: Inserting a new watch item,
and expanding the children of an existing item.
Change-Id: Ic98a5f1e89aca37146039a241de737c407606e83
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
The path where the tools are located has changed.
Task-number: QTCREATORBUG-14732
Change-Id: Idb404b291ef651d2c0f03bce454b9aa0c0319183
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Use callbacks in QmlEnginePrivate::evaluate(). This separates the
four code paths through the machinery into three separate handlers
and one direct access to the console.
This also fixes a bug where items were put into 'debuggerCommands'
but attempted to be removed from 'updateLocalsAndWatchers'.
Introduce a QmlEngine::updateLocals similar to what the other
engines do. Let the frame() and assignValue() paths use it.
Keep track of pending changes and call notifyUpdateFinished
if and only if the pending lookup queues is empty.
Finally, remove some dead code.
Change-Id: I173a52911d0de994b849fc6ab4f52ef7f64a8ba5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Version, Backtrace, Frame, Scope and Lookup for now.
Change-Id: I615c8f8c00484e9bb1742485f24bdfc537f83021
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Broken in e6d1141e1e,
which changed the code to use typeId() instead of type() but
didn't change to what it was compared.
Change-Id: I5b4f76395bd193ee30ee606023483d3bd0b062e8
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
We do that for Android 5 and onwards.
Change-Id: Ia79fbf3cd50ed561e5dba1b8707d296fe1daa82d
Task-number: QTCREATORBUG-14663
Reviewed-by: BogDan Vatra <bogdan@kde.org>
...by ensuring that the precompiled preamble is created.
Change-Id: I80784b6a79c40a7e452530e8288783f33f881efc
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Qt 5.3 is the only version we are going to support that does
not offer ui.qml file support. So just check for the QtQuick
version shipped in Qt 5.3 to decide whether or not to display
the checkbox.
Task-number: QTCREATORBUG-14712
Change-Id: Ibb2204f2bcff819b749e1ed744c14a2e96769351
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
The fallback puppet must be found in libexecPath now.
Deployment on OS X must also be adapted to the new location.
Broke with 6d5a5aff94
Change-Id: I8dc3d62188a2f19a7e203f939bd88065fb0504f8
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Calling restartProcess() is delayed by 100 ms and all subsequent calls
in that timeframe are ignored.
Change-Id: I59dd2e91475444cea4ee70bafb130213176cb666
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Those notifiers do not have to be implemented anymore.
Change-Id: I3c48c199292c3661b0efb3a6df36aa281438d188
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Those notifiers do not have to be implemented anymore.
Change-Id: I3c47c199292c3661e0efb3a6df36aa281438d178
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>