Christiaan Janssen
1c702357a6
QmlInspector: tooltips in qmldebug mode
...
Reviewed by: Lasse Holmstedt
2010-09-08 16:53:44 +02:00
Olivier Goffart
d8d46ed1d9
qmljsinspector: small code cleanup
2010-08-30 18:41:14 +02:00
Olivier Goffart
d7fb215e2e
qml debugger: Use a hash table to store the debugId
...
This should speed up the matching between the AST nodes and the debugIds
2010-08-30 12:21:27 +02:00
Christiaan Janssen
7d9056953e
QmlInspector: Added reparenting of items in the Qml Live Preview. Reviewed by: Lasse Holmstedt
2010-08-26 17:38:42 +02:00
Olivier Goffart
47db341b67
qmlobserver: Remove the changed() hack to get new object.
...
There is now a hook in QDeclarative itself for that.
Needs commit af2b28f9ca07057 of Qt
2010-08-24 18:16:23 +02:00
Olivier Goffart
ce134d37f7
QmlDebugger: use another way for detecting new objects
2010-08-24 18:16:23 +02:00
Olivier Goffart
af94dad9bc
Qml Debugger: process the contexts recursively
2010-08-20 17:31:07 +02:00
Olivier Goffart
a18c8f9e96
QML Debugger: request objects from all contexts
2010-08-20 15:57:02 +02:00
Olivier Goffart
0b09a59ef2
QML Debugger: Avoid infinite recursion if one can't find a debug id
2010-08-19 11:35:39 +02:00
Lasse Holmstedt
b71c3c62ba
QML Debugger refactoring
...
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.
QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.
Reviewed-by: hjk
2010-08-13 14:20:39 +02:00
hjk
2859065193
qmljsinspector: movve debugger related code around
2010-08-12 10:38:55 +02:00
hjk
4fb517c53e
qmljsinspector: code cosmetics
2010-08-12 10:38:55 +02:00
Lasse Holmstedt
85bafac50e
QML Observer: Refresh debug id's when new objects are created
...
Previously, the user had to navigate to the context of a qml item in
order to edit its source code in Live Preview mode. This change tells
the client to update when new objects are created on server-side, and
makes the editing possible without having to manually trigger updates.
2010-08-06 14:03:33 +02:00
Lasse Holmstedt
719b775792
QML JS Inspector: Added method to clear component cache
...
This one should be called when a component is changed and components
using it need to be reloaded.
2010-08-05 11:53:12 +02:00
Lasse Holmstedt
3e9193021c
Qml JS Debugger: Change context path from Creator's crumble path
2010-08-03 12:37:45 +02:00
Lasse Holmstedt
524d4453e5
Qml JS Inspector: Added context crumble path as a dock widget
...
The crumble path shows the current context of the debugger/inspector.
2010-08-02 17:31:11 +02:00
Lasse Holmstedt
689cbc06f1
QmlJS Live Preview: Showing object id's in context menu
...
To show the object string id's, the debug protocol is used to get them.
The problem is that the required methods in QDeclarativeContext(Data)
are not exposed, and it's too late to do it for 4.7.0. Hence this change
should be reverted in 4.8 when more efficient way of getting the id's
comes available.
2010-07-27 11:58:38 +02:00
Lasse Holmstedt
fb681918c6
QmlJS Live Preview: Added color box to toolbar
2010-07-27 11:58:38 +02:00
Olivier Goffart
7777e25469
QML Live Preview: Apparently, the interresting root object is the last.
...
Even if we should really care about all of them, the object that is the root
of all the graphical QML item is the usually last.
2010-07-22 10:11:31 +02:00
Olivier Goffart
f24216bdbb
QmlJsDelta: moved to the QMLJS library
...
Also used 'int' instead of QDeclarativeDebugObjectReference for
the debug id in order not to use the private API from QMLJS
2010-07-21 14:27:38 +02:00
Olivier Goffart
95346f79e6
Qml Live Preview: lazily create QmlJSLiveTextPreview
2010-07-20 12:54:25 +02:00
Olivier Goffart
7bef076411
Qml Live Preview: Update the QmlJSLiveTextPreview When the document is reloaded.
...
When the document is reloaded by the server, we need to refresh
refresh what was the loaded document, and refresh the debugIds
2010-07-20 12:54:24 +02:00
Olivier Goffart
6292f1a5f7
QmlJsDelta: Add ability to remove object
2010-07-19 11:17:43 +02:00
Lasse Holmstedt
e0aa4f86f2
changing QmlJsLivePreview to work with multiple documents
2010-07-16 16:12:06 +02:00
Olivier Goffart
8e8581a238
QmlJsDelta: support for resetting property
...
... with a little bit of refactoring.
But for some reason it does not seem to have an effect
2010-07-16 15:26:18 +02:00
Lasse Holmstedt
a457d2eec3
Live preview: Creating objects dynamically
2010-07-16 10:25:32 +02:00
Lasse Holmstedt
f8fc908460
Updating selection after new tree is fetched & code cleanup
2010-07-14 17:47:59 +02:00
Lasse Holmstedt
4a4fc8584f
update object tree when unknown debug id is received
2010-07-14 15:31:24 +02:00
Lasse Holmstedt
4ecad983ec
added multiselection from editor to qml viewer
2010-07-14 15:30:53 +02:00
Lasse Holmstedt
2f8dc2833b
added mode buttons to custom qml viewer and qmljsinspector toolbar
2010-07-14 15:30:52 +02:00
Olivier Goffart
f4d2be77da
QMLJSInspector: remove warnings and debugs
2010-07-09 14:02:20 +02:00
Lasse Holmstedt
6b4ed2145e
setting method bodies for objects
2010-07-08 16:51:25 +02:00
Roberto Raggi
1b5dd002c4
Compile with qt-qml.
2010-07-08 15:44:35 +02:00
Lasse Holmstedt
9a81759101
manually applied changes from qmlinspector to qmljsinspector
2010-07-08 11:36:26 +02:00
Olivier Goffart
cc5d0459dd
QmlJSInspector::DebuggerClient: move the code around
2010-07-02 12:31:34 +02:00
Olivier Goffart
ea6775d104
QmlJSInspector::ClientProxy: make the QML - JS debugger actually work
2010-07-02 11:58:10 +02:00
Roberto Raggi
28c9b39baa
Renabled setBindingForObject.
2010-06-29 15:06:50 +02:00
Roberto Raggi
6f4cc3541d
Start the inspector.
2010-06-29 14:24:12 +02:00
Roberto Raggi
1f901a170e
Include the private QML api in qmljsprivateapi.h
2010-06-29 11:17:46 +02:00
Roberto Raggi
1490fe45a0
Warn for missing code.
2010-06-28 18:10:46 +02:00
Roberto Raggi
731601f1a9
Added missing copyright headers.
2010-06-28 18:07:12 +02:00
Roberto Raggi
b3e1a13b0d
Readded the QmlJS client proxy.
2010-06-28 18:05:24 +02:00