39 Commits

Author SHA1 Message Date
IceArmy 8727c9119f Improve QPyFile implementation
- Now supports Python style open mode flags
- Wrappers have been placed around methods which require/return foreign data types
2011-09-23 00:17:55 -07:00
IceArmy 2e44f1abd6 Make HTTP authentication as page settings.
http://code.google.com/p/phantomjs/issues/detail?id=45
2011-09-18 04:35:40 -07:00
IceArmy e72274deb2 Re-order arguments into groups
Added --debug option which starts debugger automatically when an exception is encountered
2011-09-17 22:24:03 -07:00
IceArmy 6a5f3901a3 Created yes/no argument action handler to simplify conversion process
Also added type=int to max-disk-cache-size
2011-09-16 16:11:34 -07:00
IceArmy c0644958cd Change IOError Exceptions returned string for QPyFile() 2011-09-15 17:41:44 -07:00
IceArmy fff0b73234 Alphebetize imports 2011-09-15 17:18:08 -07:00
IceArmy 134eec2fbf Unify the name to 'cookiesFile' everywhere
http://code.google.com/p/phantomjs/issues/detail?id=91
http://code.google.com/p/phantomjs/issues/detail?id=180
2011-09-15 16:48:50 -07:00
IceArmy 826ab347e4 Refactoring on the module implementation.
Also implemented a new QPyFile class which is a wrapper
over QFile, supporting context managers. It greatly
improves code readability and reusability.

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-13 14:45:28 -07:00
IceArmy 5821a60db1 Rename option/config to localToRemoteUrlAccess(Enabled). 2011-09-07 20:52:22 -07:00
IceArmy 2448157c04 Config to limit the disk cache size 2011-09-06 19:32:10 -07:00
IceArmy a323161a56 Add HTTP Basic authentication support
Digest, and NTLM might also be supported, but is untested
2011-09-04 03:23:58 -07:00
IceArmy b5899f9064 Added ability to use JSON config files to set command-line arguments 2011-09-04 02:46:19 -07:00
IceArmy 106240aa3f Fix bug 8 where setup.py would pull in a file that needed PyQt4, even though it's not required; so it caused setup to fail for people.
Also simplified how the version system now works.
2011-09-01 13:04:28 -07:00
IceArmy fb25ec7cd0 Simplify --cookies usage and description 2011-08-31 18:15:17 -07:00
IceArmy 87a580f36a Add output-encoding and script-encoding options 2011-08-31 15:43:29 -07:00
IceArmy 1b73d5c310 Add phantom.outputEncoding 2011-08-24 16:39:58 -07:00
IceArmy 33466c87c3 Fix bug where SafeStreamFilter couldn't decode utf-8 2011-08-24 15:40:29 -07:00
IceArmy e6a644e3da Improve the Singleton implementation of CSConverter 2011-08-23 16:19:58 -07:00
IceArmy 5bee668c2f Make CSConverter instance part of CSConverter class 2011-08-21 14:51:05 -07:00
IceArmy 3c91c581bb Use new style class for MessageHandler 2011-08-15 13:37:37 -07:00
IceArmy 414660b41a Replace escaped quotes in strings 2011-08-15 11:56:39 -07:00
IceArmy 12d36a195a Don't require \ at the end of multiline imports 2011-08-01 19:13:19 -07:00
IceArmy 4ffd835cb3 Persistent cookie support 2011-07-29 03:55:52 -07:00
IceArmy b7fb218473 Improve plugin system
Thanks to frame hacks, we can get rid of passing/modifying locals()
- Passing bunched locals() is no longer needed on the hook points
- You can access the parent namespace with get() instead
- You can change stuff in the parent namespace with set()
2011-07-04 02:48:10 -07:00
IceArmy bd775fd429 Improve error reporting for injectJsInFrame()
Also changed warnings to debugs
2011-06-29 02:14:50 -07:00