Commit Graph

10 Commits

Author SHA1 Message Date
Matthew Horan f80125e6cb Pass the WebPageManager to each command 2012-05-29 22:23:02 -04:00
Dan Ivovich 1ef8f4c844 Store response messages as QByteArray
This prevents conversion of QByteArray to QString from truncating content at a null byte in the QByteArray. This truncation can be a problem if the response body is a binary object (e.g. PDF)

Fixes #322
2012-04-17 12:06:12 -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 18d424803d Invoke Javascript functions by setting QObjects on the window object instead of string evals so that strings don't need to be escaped 2011-02-25 22:57:55 -05:00
Joe Ferris 879eeba471 Return node index list from Javascript as string instead of list so we don't have to join it in C++ 2011-02-25 22:33:47 -05:00
Joe Ferris 54d7df3c4c Moved Javascript code into a .js file that gets loaded into each page 2011-02-25 22:32:22 -05:00
Joe Ferris d84f5c9a2e Raise WebkitError for invalid XPath expressions 2011-02-24 23:22:56 -05:00
Joe Ferris 0745b1ee1c Initial commit 2011-02-24 23:13:11 -05:00