Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Horan c74949bd04 Rename Command::emitFinished to finish 2013-02-11 18:31:41 -05:00
Matthew Horan 6c72a99174 Serialize errors as JSON 2013-02-11 00:04:35 -05:00
Matthew Horan e183803784 JsonSerializer returns QByteArray
JSON supports UTF-16, however the serializer is 8-bit clean.  Instead of
returning a QString only to turn it back into a QByteArray, return a
QByteArray on serialization.
2013-01-03 13:26:59 -05:00
Sean Geoghegan 77811ca9ba Fix memory leak of response.
Turns Response into a QObject and sets parent to the
command that emits it.

Each Command is also a child of the decorator commands,
Timeout and PageLoading commnds, so that deleting the
top level command will delete all the children.

See discussion in #430.
2012-12-14 01:46:54 -05:00
Joe Ferris 95732ad796 Split Command into more abstract Command and concrete SocketCommand 2012-07-08 12:04:30 -07:00
Joe Ferris d9b18985e1 Command to enable a more useful debug log 2012-07-08 09:01:26 -07:00
Matthew Horan f80125e6cb Pass the WebPageManager to each command 2012-05-29 22:23:02 -04:00
Matthew Horan bfbda84141 Move window change handling into WebPageManager 2012-05-29 22:23:02 -04:00
Matthew Horan fe46eaf50d Implement window_handles and window_handle for proper window switching 2012-05-29 22:20:10 -04:00
Joe Ferris 85dcc729dd Pass command arguments to the constructor 2012-03-16 19:58:58 -04:00
Joe Ferris cc74875e4b Created a Response object for the success/message pair 2011-05-05 17:55:40 -04:00
Joe Ferris 3e32892e2b Refactor Connection/Command so that arguments are passed in as a single QStringList instead of in consecutive calls to argumentReceived 2011-02-25 23:29:36 -05:00
Joe Ferris 0745b1ee1c Initial commit 2011-02-24 23:13:11 -05:00