summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Qml Debugging: Only enable if explicitly requestedv4.7.1Jason McDonald2010-11-033-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 (cherry picked from commit b2016bbfc9c7389e7b64451417395ceba96af21f) Conflicts: src/s60installs/bwins/QtDeclarativeu.def src/s60installs/eabi/QtDeclarativeu.def
* Do not crash on SymbianJason McDonald2010-10-291-8/+8
| | | | | | | | | | | | | | | | | 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 (cherry picked from commit 2362d8b1e9fa86da1d3cc5dbb7d4467ec12311e1) Conflicts: src/declarative/debugger/qdeclarativedebugservice.cpp
* Update license headers to release version.Jason McDonald2010-10-1814-182/+182
|
* QDeclarativeDebug: Make autotests more robustKai Koehne2010-10-042-0/+4
| | | | | | | | Always flush sockets after sending data, and make autotests more robust by using busy wait. Reviewed-by: Christiaan Janssen (cherry picked from commit cfe198948f1e4867918176df38b3e0b49757a4b8)
* QDeclarativeDebugClient: Make sure status is consistentKai Koehne2010-10-041-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 (cherry picked from commit a1f050fe4217d3a642ab7f4df8e50c21aa51689c)
* QDeclarativeDebugClient: Fix gcc warningKai Koehne2010-10-041-1/+1
| | | | (cherry picked from commit 9caae83e1f2b9c56ee86b8523391e6a83ea724c5)
* QmlDebugService: Check that there is a receiver before sending messagesKai Koehne2010-10-041-2/+4
| | | | | Reviewed-by: Christiaan Janssen (cherry picked from commit 30959e88498b2c8591145e30c8b497a76c12d8f6)
* Make QmlDebug protocol more robustKai Koehne2010-10-047-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 :) (cherry picked from commit fd9771c29d401d88779ab7c5d7715c9ca41dd723)
* Move includes after copyright blockMartin Jones2010-09-271-5/+2
| | | | (cherry picked from commit b750bb085029117497d26a24dcd590fbe34fe281)
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-272-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 (cherry picked from commit c1a7deedf1628e0dd3a5fbf92d97c4151d17fb5a)
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-274-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 (cherry picked from commit 63c4c0449361ced03838e51d18e1113740f27fa9)
* Make qml debugging work with command line argumentsLasse Holmstedt2010-09-231-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 (cherry picked from commit a9e5329168cd9113bf41293c05193d8b099494c6)
* 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
| * Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-3010-131/+223
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/debugger/qmldebug.cpp src/declarative/fx/qmlgraphicsimagebase_p.h src/declarative/util/qmlanimation.h src/declarative/util/qmlstate.h src/declarative/util/qmltimer.cpp
| | * fix headersWarwick Allison2009-10-305-80/+80
| | |
| | * fix macrosWarwick Allison2009-10-293-3/+15
| | |
| | * fix headersWarwick Allison2009-10-295-80/+80
| | |
| | * fix headersWarwick Allison2009-10-292-0/+80
| | |