Commit Graph

29 Commits

Author SHA1 Message Date
Kai Koehne
9db7e93e3f QmlJsObserver: Avoid false dependencies
Don't set DEPENDPATH to all qmljsdebugger folders. qmlobserver links
against the library, which updates itself.
2010-09-28 15:45:33 +02:00
Kai Koehne
19638d3d97 QmlJsDebugger: Fix compilation with latest qt
setEnabled(), enabledChanged() got removed in QDeclarativeDebugClient,
QDeclarativeDebugService.
2010-09-28 13:05:02 +02:00
Kai Koehne
4ab1c88ba0 QmlJSDebugger: Split library up into a debugger & observer part
This allows us to enable/disable the experimental observer, independent
from the core javascript-debugger functionality.

Reviewed-by: Christiaan Janssen
2010-09-22 15:44:48 +02:00
Kai Koehne
cfd310cda5 QmlJSDebugger: Add missing copyright header 2010-09-22 15:44:13 +02:00
Kai Koehne
9107f0c5d0 QmlJSDebugger: Change namespace from QmlObserver to QmlJSDebugger
The library not only contains the observer part, but also the javascript
debugger. Reflect this in the namespace.
2010-09-22 15:44:13 +02:00
Kai Koehne
e17d1491c4 QmlJSDebugger: Fix compilation of user programs using the observer on Mac
Copy the libs to the application bundle.
2010-09-17 14:40:17 +02:00
Kai Koehne
544e137e0b QmlJSDebugger: Rename qmlviewerconstants.h to qmlobserverconstants.h 2010-09-16 17:04:52 +02:00
Kai Koehne
78b175c523 QmlJSDebuggerLib: Place all classes in QmlObserver namespace 2010-09-16 17:04:52 +02:00
Kai Koehne
a10b26920b Qml: Replace 'inspector' by 'observer'
We should restrict ourselves to calling all qml debugging support
observer, instead of mixing qml debugger / inspector / observer
interchangeably.
2010-09-16 16:22:31 +02:00
Kai Koehne
832f6889b5 QmlJSDebugger: Replace namespace QmlViewer with QmlObserver 2010-09-16 16:22:31 +02:00
Kai Koehne
bf3be741fd QmlJSDebugger: Rename QDDesignServer to QDObserverService
The class extends the QDDebugService class, _not_ QDDebugServer. It's
right that there is also a QDEngineDebugServer being actually a service
in QtDeclarative, but we should probably fix this one too.
2010-09-16 15:48:00 +02:00
Kai Koehne
eeedea6e28 QmlJSDebugger: Delete unneeded files 2010-09-15 14:18:39 +02:00
Kai Koehne
63cae2981b QmlJsDebugger: Replace QDDesignView by QDViewObserver
Don't force users to inherit from QDeclarativeDesignView. Instead we're
using now event filters to let a user attach a QDeclarativeViewObserver
object to a QDeclarativeDesignView.
2010-09-15 14:18:39 +02:00
Friedemann Kleint
444e2fd4ce Quieten gcc compiler warnings. 2010-09-07 14:34:38 +02:00
Kai Koehne
ba82227ae8 QmlObserver: Disable "Observer" mode when no debugging client is attached 2010-09-03 12:29:41 +02:00
Kai Koehne
b7788bd808 QmlJsDebugger: Make DebugServer a singleton 2010-09-03 12:29:41 +02:00
Olivier Goffart
f80c15123b QML JS Debugger: disable interruption on exceptions.
There is too much false exceptions that makes debugging annoying
2010-09-02 12:14:18 +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
Lasse Holmstedt
5e9d19cd66 QML Observer: Enter context when context menu item is selected
Right-clicking on an item in qml observer presents a context menu as
before, but instead of just selecting the item, the user enters its
context if it's possible.
2010-08-26 17:11:56 +02:00
Lasse Holmstedt
fccd4d5e0c QML Inspector: Disabled rubberband selection tool
It was not very useful without being able to e.g. move things around.
2010-08-26 16:32:43 +02:00
Olivier Goffart
6ba643516b qmlobserver: workaround crash if an item has an infinite scale
infinite scale may occours if the qml scale binding sets an infinite scale.
2010-08-25 14:36:50 +02:00
Lasse Holmstedt
65e79d0d51 QML Observer & Inspector: Improved toolbars
Animation play/pause buttons are now merged on observer toolbar. Also, a
bugfix to inspector toolbar.
2010-08-25 09:39:33 +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
Lasse Holmstedt
290835300d QML Inspector: Renamed Design Mode to Observer Mode 2010-08-24 17:46:22 +02:00
Lasse Holmstedt
b557c58eac Qml Debugger: Enable debugging qml+cpp standalone applications
A new debugger engine, QmlCppEngine, is introduced, which wraps gdb
and qml engines into one. Alternatively, if using Windows, Cdb is used
instead of Gdb.

Most of the debugger ui switcher is now rewritten, and it is tailored
for the QML and CPP layout case, the only one supported anyway.

Reviewed-by: hjk
2010-08-24 17:46:22 +02:00
Olivier Goffart
812af85d38 qmlobserver: avoid to stream objects too often.
Limit to once every 5 seconds
2010-08-19 12:47:43 +02:00
Olivier Goffart
c2da3f682e Add missing license header 2010-08-13 15:36:13 +02:00
Lasse Holmstedt
b5f8141fbe Whitespace fix 2010-08-06 17:49:07 +02:00
Lasse Holmstedt
4558477b01 Moved qmljsdebugger to share & debugger lib support for qml app wizard
Reviewed-by: Alessandro Portale
2010-08-06 17:48:01 +02:00