summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedebugclient
Commit message (Collapse)AuthorAgeFilesLines
* Qml Debugging: Only enable if explicitly requestedKai Koehne2010-11-021-1/+4
| | | | | | | | | | | | | 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
* QDeclarativeDebug: Make autotests more robustKai Koehne2010-09-301-5/+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-0/+5
| | | | | | | | | 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
* Make QmlDebug protocol more robustKai Koehne2010-09-281-37/+23
| | | | | | | | | | | | | | | | | | | | | | 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 :)
* Make qml debugging work with command line argumentsLasse Holmstedt2010-09-171-2/+13
| | | | | | | | | | 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
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Bea Lam2010-04-211-3/+3
|\ | | | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
| * Use different ports to avoid clashes in parallel testing.Yann Bodson2010-04-211-2/+2
| |
* | Ignore warningsBea Lam2010-04-211-0/+4
|/ | | | Task-number: QTBUG-10035
* Wait for debug clients asynchronously instead of blocking creation ofBea Lam2010-04-161-23/+19
| | | | | | 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.
* Change autotest class prefix from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX ↵Leonardo Sobral Cunha2010-02-241-21/+21
| | | | to QDeclarativeXXX.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-242-0/+164
QDeclarativeXXX.