Commit Graph

75 Commits (f4d40b82f1693d42f9eda000918a4632bd52be16)

Author SHA1 Message Date
IceArmy 2121fb4026 Added option for disk cache use 2011-04-12 19:36:25 -07:00
IceArmy 3ca9137219 Show response URL on NetworkAccessManager's Reponse (because you can't always know what request the response came from) 2011-04-12 18:53:23 -07:00
IceArmy ccde5cc418 Cleanup imports / removed very bad "import *" 2011-04-12 18:20:17 -07:00
IceArmy 16b55bba45 Fix URL qDebug in createRequest, which errored out if URL had an ordinal not in range(128) 2011-04-12 03:27:56 -07:00
IceArmy 7719e12aa7 New NetworkAccessManager
The new NetworkAccessManager currently:
- logs HTTP Method type
- logs HTTP Destination URL
- logs HTTP Reponse
2011-04-12 01:38:19 -07:00
IceArmy 1bdd1867ff Remove some extra spacing on the header 2011-04-12 01:37:47 -07:00
IceArmy 6c5c23a8fb Created README and INSTALL files 2011-04-12 01:37:09 -07:00
IceArmy 42dbe9d8f2 Fixed bug in main file where QString was not defined
Added message handling system
Simplified userAgent system
Added qDebug and qFatal messages
qDebug does not display unless you specify -v or --verbose on the command line
2011-04-12 01:34:20 -07:00
IceArmy 0bc48c7131 Fix usage message from tag:file to tag=file 2011-04-12 01:33:15 -07:00
IceArmy af2cdf944d Refactor code into separate files 2011-04-12 01:32:07 -07:00
IceArmy 3a7aad798e Remove setObjectName as we don't need it 2011-04-01 20:50:51 -07:00
IceArmy e0b869ab35 Regenerated resources, and compressed them 2011-04-01 16:48:56 -07:00
IceArmy e52b422e3c Added phantom.clipRect to be able to control the dimensions of the output
- There's 4 values: width, height, top, and left
- You can read it by, i.e. phantom.clipRect['width']
- You can set it by, phantom.clipRect = {width: 400, height:300, ...}
2011-04-01 13:37:12 -07:00
IceArmy 240e6a2c4a Stop trashing CPU on sleep's infinite loop 2011-03-31 21:36:44 -07:00
IceArmy f08e4faeed Renamed some variables to get around predefined keywords 2011-03-30 16:32:03 -07:00
IceArmy 3efc6a5ddf General improvements 2011-03-30 05:02:16 -07:00
IceArmy fd8fa690c4 Update usage message 2011-03-30 00:46:21 -07:00
IceArmy e57adfe0b6 Issue 17: Make paper size for the PDF export specifiable 2011-03-29 22:54:07 -07:00
IceArmy 4926841be1 Specify js or coffee in usage message 2011-03-29 22:53:23 -07:00
IceArmy 62d798ddf8 Amend copyright date 2011-03-18 14:35:23 -07:00
IceArmy 162aacdc7e Remove 2 variables from main QString() variable declaration list, as they're assigned a value not long afterward 2011-03-17 00:16:21 -07:00
IceArmy 198c13d195 - Migrated from Qt's QFile() method of opening files to Python's open() - Speed test shows that open() is faster at the core
- Fixed subtle bug where loadScript's filename identifier for the cache was not always the same (thereby not loading the cached copy)
2011-03-16 22:24:04 -07:00
IceArmy 55c7a4f620 Change if in chooseFile to be 'if tag in tagList' instead of 'if tagList.get(tag)'
Cache scripts using phantom.loadScript. Not much speed improvement, but when you're loading a coffee script, there is a huge speed improvement as the converted script is already cached and doesn't need to be re-compiled.
Revert phantom.render (function is supposed to return true on success!)
2011-03-16 17:17:51 -07:00
IceArmy ac39de6efa Remove -u option
Fixed help message to show "tag:file" and not just "file"
2011-03-16 00:53:36 -07:00
IceArmy a731e6c4d7 Added Python PhantomJS project 2011-03-15 22:18:01 -07:00