summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace in previous 1e7b4e396ec3bacc1a769208b990c5e0450f0d3aFriedemann Kleint2010-11-261-1/+1
|
* Declarative: Fix compiler warnings (Linux/g++)Friedemann Kleint2010-11-261-3/+5
| | | | Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Export QDeclarativeDebugHelper on Symbian for QTBUG-13762Joona Petrell2010-11-081-1/+1
| | | | | Reviewed-by: Martin Jones Task-number: QTBUG-13762
* Qml Debugging: Only enable if explicitly requestedKai Koehne2010-11-023-0/+19
| | | | | | | | | | | | | Enable the remote debugging of QDeclarativeEngines only after QDeclarativeDebugHelper::enableDebugging() has been called. Approved by 4.7 Program Team. Reviewed-by: Alessandro Portale Task-number: QTBUG-13762
* Do not crash on SymbianAlessandro Portale2010-10-281-6/+6
| | | | | | | | | | | | | | | | The qml debugging enabler in QtDeclarative made any Qt app crash which used QDeclarative. Reason was that QtDeclarative.dll tried to directly access (private) writable static data from QtGui.dll. This patch adds an accessor function for the data to QtGui, and the crash is gone. Done-by: Kai Koehne Reviewed-by: Kai Koehne Conflicts: src/declarative/debugger/qdeclarativedebugservice.cpp
* Fix bug in QML debug client installationAaron Kennedy2010-10-271-1/+1
| | | | | Allow QML debug clients to be installed between the connection being established and the hello message being received.
* Don't export QtDeclarative symbols needed by QtCreator on SymbianJoona Petrell2010-10-196-22/+34
| | | | | Task-number: QTBUG-14041 Reviewed-by: Aaron Kennedy
* QmlDebugService: Fix compiler warning about cast from asciiKai Koehne2010-10-011-2/+2
|
* QDeclarativeDebug: Make autotests more robustKai Koehne2010-09-302-0/+4
| | | | | | | Always flush sockets after sending data, and make autotests more robust by using busy wait. Reviewed-by: Christiaan Janssen
* QDeclarativeDebugClient: Make sure status is consistentKai Koehne2010-09-301-2/+1
| | | | | | | | | When statusChanged() is called during handsake state() was not the same as the argument passed. Fix this by setting gotHello = true _before_ notifying the clients. Reviewed-by: Christiaan Janssen Task-number: QTBUG-14087
* QDeclarativeDebugClient: Fix gcc warningKai Koehne2010-09-281-1/+1
|
* QmlDebugService: Check that there is a receiver before sending messagesKai Koehne2010-09-281-2/+4
| | | | Reviewed-by: Christiaan Janssen
* Make QmlDebug protocol more robustKai Koehne2010-09-287-111/+304
| | | | | | | | | | | | | | | | | | | | | | The protocol so far was client->server only. That is, there was no sane way for a client to check whether a plugin on the server (service) was available or not. E.g. calling Client::setEnabled(true) 'succeeded', without a check whether there is actually a service to talk to. The new protocol replaces this shortcoming by a service discovery mechanism: Both client & service announce their available plugins at handshake time, and later on if there are changes. The status is reflected in Client::status() and Service::Status() , which are either NotConnected - no network connection, or not registered properly Unavailable - TCP/IP connection works, but no plugin with the same name on the other side Enabled - You can connect to plugin on other side The status changes happen automatically (no setEnabled() anymore). Furthermore a version ID was added to the handshake, so that we can extend the protocol further in the future :)
* Move includes after copyright blockMartin Jones2010-09-221-5/+2
|
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-222-0/+98
| | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-224-3/+42
| | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179
* Make qml debugging work with command line argumentsLasse Holmstedt2010-09-171-11/+30
| | | | | | | | | | The environment variables do not work for Symbian devices, so without this change, QML debugging cannot be done on them. In addition, configure now contains an option to disable qml debugging entirely, due to it being a major security risk. Reviewed-by: kkoehne
* QDeclarativeDebug: Destroy incoming connections if already connectedLasse Holmstedt2010-08-271-0/+2
| | | | | | | Without this, QML Inspector in Qt Creator gets no error message for failed connections, which can lead to confusion. Reviewed-by: ogoffart
* QDeclarativeDebug: send a message when new object are addedOlivier Goffart2010-08-242-0/+5
| | | | Reviewed-by: Lasse Holmstedt
* QtDeclarative debugging: Add an option not to stream the properties of an ↵Olivier Goffart2010-08-161-2/+2
| | | | | | | | | object. Streaming all the properties is too slow, and we do not need them in the debugger of creator. Reviewed-by: Lasse Holmstedt
* QDeclarativeDebug: use QueuedConnection in the packet protocolOlivier Goffart2010-08-041-1/+1
| | | | | | | | | | | | | Else, we can have deadlock in the javascript debugger, which may start an event loop. If the javascript execution result from some network command, the further network command are not processed more (the ones that exist the javascript debugger event loop) Having a QueuedConnection there means the network events will not be blocked by a rentrency in the event loop Reviewed-by: Lasse Holmstedt
* Fixed spelling mistakes in documented functions, classes, etc. Part of ↵Jerome Pasion2010-07-291-1/+1
| | | | QTBUG-11938 and QTBUG-10801
* QDeclarativeDebugTrace: Do not send message if the client did not enabled ↵Olivier Goffart2010-07-161-0/+12
| | | | | | | | CanvasFrameRate This silents a lot of warnings in creator. Reviewed-by: Aaron Kennedy
* Resetting bindings through debugger interfaceLasse Holmstedt2010-07-092-0/+16
| | | | Reviewed-by: Aaron Kennedy
* Allow the debugger to modify method bodiesAaron Kennedy2010-07-082-30/+25
| | | | QTBUG-11933
* Added SET_BINDING message to QDeclarative debugger protocolLasse Holmstedt2010-06-302-4/+45
| | | | | | | The new message currently enables resetting bindings, literal values and signal handlers (onX: {...}) through the debugger. Reviewed-by: Roberto Raggi
* Add some Q_AUTOTEST_EXPORTsAaron Kennedy2010-06-031-1/+1
|
* Rename QDeclarativeDebugTiming -> QDeclarativeDebugTraceAaron Kennedy2010-05-273-19/+39
|
* Improve QML framerate debuggingAaron Kennedy2010-05-274-2/+206
|
* Wait for debug clients asynchronously instead of blocking creation ofBea Lam2010-04-162-83/+57
| | | | | | the engine until a debug client has connected. This makes for easier debugging from Qt Creator when debugging C++ and QML together and when debugging an application that has multiple engines.
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-025-8/+8
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Add object ids to the metadata provided in debugger classes.Bea Lam2010-03-242-4/+12
|
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-2411-1458/+1458
| | | | QDeclarativeXXX.
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-1810-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mkspecs/linux-g++-x11egl/qplatformdefs.h src/declarative/qml/qmldom.h src/declarative/util/qmlview.cpp src/declarative/util/qmlview.h tools/qdoc3/cppcodemarker.cpp tools/qmldebugger/standalone/canvasframerate.cpp tools/qmldebugger/standalone/engine.cpp tools/qmldebugger/standalone/expressionquerywidget.cpp tools/qmldebugger/standalone/expressionquerywidget.h tools/qmldebugger/standalone/objectpropertiesview.cpp tools/qmldebugger/standalone/objectpropertiesview.h tools/qmldebugger/standalone/objecttree.cpp tools/qmldebugger/standalone/qmldebugger.cpp tools/qmldebugger/standalone/watchtable.cpp tools/qmldebugger/standalone/watchtable.h
| * Fix copyright year.Jason McDonald2010-02-1610-10/+10
| | | | | | | | Reviewed-by: Trust Me
* | Make compile on Symbian (call Q_DECLARE_METATYPE earlier)Bea Lam2010-02-172-1/+5
| |
* | MOBILITY-404 QS Windows.Wolfgang Beck2010-02-161-2/+6
| |
* | For qmldebug* tests, make sure engine is running before the test threadBea Lam2010-02-152-1/+36
|/ | | | is started. Also fix some memory leaks.
* Fix warningsAaron Kennedy2010-02-121-1/+1
|
* fix includesOswald Buddenhagen2009-12-035-15/+25
| | | | | | | | | | | | - include headers from own directory with "" - include headers from own project without private/ - sort includes from most specific to most generic - make headers self-contained - some whitespace unification no attempt was made at making the qt includes consistent regarding the use of module names and forwarding headers. no attempt was made at sorting includes.
* clean up project filesOswald Buddenhagen2009-12-031-10/+14
|
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-025-9/+9
| | | | It seems we're going to have to so a syncqt/configure in Qt modules.
* Remove include styles that rely on configure.Warwick Allison2009-12-013-3/+3
| | | | May help modularization (syncqt and configure are Qt-specific).
* Fix debugger crash on exitBea Lam2009-11-111-4/+5
|
* Change stateChanged(State) signatures to have (QmlDebugWatch::State)Bea Lam2009-11-111-2/+2
| | | | and (QmlDebugQuery::State) parameters.
* Change watch state to Dead instead of Active on removal.Bea Lam2009-11-111-5/+4
|
* Minor improvements, additional pointer checks.Bea Lam2009-11-101-9/+17
|
* Fix crash bug where socket is 0.Bea Lam2009-11-101-0/+2
|
* Fix crash when watch is deleted before calling removeWatch().Bea Lam2009-11-082-1/+13
|
* Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic ↵Bea Lam2009-11-0211-144/+236
|\ | | | | | | into kinetic-declarativeui