Commit Graph

24 Commits

Author SHA1 Message Date
Lasse Holmstedt
118f253a38 QML JS Debugger: Don't update deltas when not debugging 2010-08-02 17:31:11 +02:00
Lasse Holmstedt
2c15b30a20 Qml JS Live Preview: Show warnings when running Live Preview
Two kinds of warnings are now shown: one for warning about the Live
Preview itself, as it is experimental, and another when user changes
id's of objects during runtime, as this is not supported at the moment.

More warnings will be added later for other unsupported changes.
2010-07-30 15:28:19 +02:00
Lasse Holmstedt
cdb5dadfc2 QmlJS Live Preview: Fixed highlighting from text editor-> qml observer
Now, the items about to be selected must inherit from QGraphicsObject.
Also, coding style was cleaned up a bit.
2010-07-27 11:58:38 +02:00
Lasse Holmstedt
c7a8d93765 QmlJS Live Preview: Implemented "Apply changes from Qml File" button
The button is checkable and pressing it will stop/propagate changes to
the qml application being debugged.
2010-07-27 11:58:38 +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
1ce574f19e Qml Live Preview: Match debug Id for new created objects. 2010-07-19 15:38:46 +02:00
Lasse Holmstedt
e0aa4f86f2 changing QmlJsLivePreview to work with multiple documents 2010-07-16 16:12:06 +02:00
hjk
0d8c1d7c7e compile fix 2010-07-14 17:49:18 +02:00
Lasse Holmstedt
20902cf189 Moved debug id -> AST mapping code to livepreview class 2010-07-14 17:47:59 +02:00
Olivier Goffart
d89f4770ca qmljsinspector: use the columnNumber as well as the lineNumber to locate QDeclarativeDebugObjectReference 2010-07-14 15:30:54 +02:00
Lasse Holmstedt
25b86926c7 fixes related to update of delta 2010-07-14 15:30:54 +02:00
Olivier Goffart
8f528e241d QMLJS::Delta: Improved the delta
Use a smarter way to compare the AST (based on the diffX algorithm)
That way we do not rely anymore on the id property
2010-07-14 15:30:53 +02:00
Olivier Goffart
b9d859bfd8 QMLJSInspector: remove warnings and debugs 2010-07-09 14:01:03 +02:00
Olivier Goffart
905f2e629b Merge remote branch 'origin/master' into qmljsinspector
Conflicts:
	src/plugins/qmlinspector/qmlinspector.cpp
2010-07-08 16:13:14 +02:00
Lasse Holmstedt
7e67880ef7 connected reloading signals 2010-07-08 12:30:08 +02:00
Lasse Holmstedt
9a81759101 manually applied changes from qmlinspector to qmljsinspector 2010-07-08 11:36:26 +02:00
Roberto Raggi
f31d299d51 Observe the QML/JS model manager. 2010-06-29 16:15:49 +02:00
Roberto Raggi
f6c7064503 Removed dangerous unfinished code. 2010-06-29 15:11:01 +02:00
Roberto Raggi
6f4cc3541d Start the inspector. 2010-06-29 14:24:12 +02:00
Roberto Raggi
6d1d196ed1 Cleanup 2010-06-29 14:12:39 +02:00
Roberto Raggi
4aa63c074d Reenabled more code from the original inspector. 2010-06-29 13:54:34 +02:00
Roberto Raggi
3f692a6ba3 Added QmlJS::Internal::Inspector. 2010-06-29 12:41:26 +02:00