summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source filesJyri Tahtela2011-05-1318-307/+307
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* QDeclarativeDebug: Fix typo in warningKai Koehne2011-04-201-1/+1
| | | | | | | Add missing space to make the warning align with the others. Fix is needed to let QtCreator detect the warning programatically. Reviewed-by: Tom Sutcliffe
* Adding plugin qmltooling/qmlostplugin for QML debugging over OST (USB) on ↵Tom Sutcliffe2011-04-141-5/+13
| | | | | | | Symbian. Task-number: QTBUG-18764 Reviewed-by: kkoehne
* QDeclarativeDebug: Warn user for Qt configured with -no-declarative-debugKai Koehne2011-04-062-1/+9
| | | | | | | | Print a warning if the user passes -qmljsdebugger on command line, but Qt is configured with -no-declarative-debug Change-Id: I72c9ffad9631ffe8582c13e3a4e798b102d0efad Reviewed-by: Christiaan Janssen
* QDeclarativeDebug: Export needed symbols on SymbianKai Koehne2011-02-241-1/+1
| | | | | | | | | Allow applications to link against the QDeclarativeDebugService API. This is needed for on-device debugging of QML. (The removal of the symbols was a regression in 4.7.2). Task-number: QTBUG-17503 Reviewed-by: Tom Sutcliffe
* Rename 'plugins\qmldebugging' (work around qmake issues)Kai Koehne2011-02-111-1/+1
| | | | | | | | | On Windows, qmake places the tcpserver.dll in a 'plugins\qmlreleaseging' folder, which broke remote debugging of QtDeclarative completely. New name 'qmltooling' while being not so specific, avoids the use of 'debug' in the folder name. Task-number: QTBUG-17360 Reviewed-by: Martin Jones
* Fix warnings.Michael Brasser2011-01-251-2/+2
|
* Add location information for tracing.Michael Brasser2011-01-252-8/+46
|
* Add "Complete" message for tracing.Michael Brasser2011-01-252-0/+7
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-1914-14/+14
|\
| * Update copyright year to 2011.Jason McDonald2011-01-1014-14/+14
| | | | | | | | Reviewed-by: Trust Me
* | QDeclarativeDebug: Hardcode version when serializing Qt typesKai Koehne2011-01-111-0/+1
| | | | | | | | | | | | | | Make sure that e.g. QtCreator compiled with 4.7 can debug a program compiled with 4.8. Reviewed-by: Christiaan Janssen
* | QDeclarativeDebug: Remove unused fileKai Koehne2010-12-212-1/+0
| | | | | | | | Got added in 5336e1838a95d97.
* | QDeclarativeDebug: Move Tcp server to separate pluginKai Koehne2010-12-177-264/+54
| | | | | | | | Reviewed-by: Christiaan Janssen
* | QDeclarativeDebug: Move networking code out of QDeclarativeDebugServerKai Koehne2010-12-179-95/+383
| | | | | | | | | | | | | | Move socket handling code out of QDeclarativeDebugServer into a QDeclarativeDebugServer(Tcp)Connection class. Reviewed-by: Christiaan Janssen
* | QDeclarativeDebug: Decouple QDDServer, QDDService classesKai Koehne2010-12-175-311/+541
| | | | | | | | | | Move QDeclarativeDebugServer class into it's own files and make the classes less interdependent.
* | QDeclarativeDebug: Rename member variableKai Koehne2010-12-171-18/+18
| | | | | | | | | | | | | | 'client' points to the QDeclarativeDebugConnection object, so better name it 'connection' then. Reviewed-by: Christiaan Janssen
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2010-12-011-3/+5
|\ \ | |/
| * 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>
* | Add additional trace range data.Michael Brasser2010-11-192-0/+17
| |
* | Make deferred tracing less expensive (real-time cost is the same)Michael Brasser2010-11-192-29/+47
| |
* | Support directly setting string range data.Michael Brasser2010-11-192-6/+6
| |
* | Add additional tracing.Michael Brasser2010-11-191-1/+2
| | | | | | | | | | Tracing for compile time, signal handlers, and deferred creation.
* | Add support for a record-then-send debug process.Michael Brasser2010-11-192-9/+53
| |
* | Use high performance timer for profiling. Add binding profile info.Michael Brasser2010-11-191-2/+3
|/
* 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