286 Commits

Author SHA1 Message Date
IceArmy 0f6c59cc6e Every web page gets its own network access manager.
Network-related activites should not be shared between web page
instances. Otherwise, it is extremely confusing when there are two (or
more) web pages are active at the same time.

http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-15 16:13:57 -07:00
IceArmy 3eb16093c0 We shall just pass the args instance, that's cleaner and less messy.
This is a preparation step for
http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-15 15:18:35 -07:00
IceArmy 26e49cc4c1 Fix bug on FileSystem() where super() in __new__() was calling the CSConverter class, instead of FileSystem. Whoops!! 2011-09-13 14:59:59 -07:00
IceArmy 373f28da17 Regenerate resources 2011-09-13 14:48:41 -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 febf9a14f6 Use super() for all class initializers instead 2011-09-12 22:27:04 -07:00
IceArmy c7dafc8dcb Fix wrong viewport size due to commits 983518d9 and 7641e4e1.
http://code.google.com/p/phantomjs/issues/detail?id=217
2011-09-10 18:24:54 -07:00
IceArmy 7bb97fb0da Create FileSystem instance only when needed.
Also made FileSystem a singleton.
2011-09-09 01:05:33 -07:00
IceArmy 6bba1715df Regenerate resources 2011-09-09 01:05:33 -07:00
IceArmy 0a25130e57 Implement require('webpage').
window.WebPage still works, it is not recommended and will be deprecated.

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-09 01:05:23 -07:00
IceArmy dab9b24983 Regenerate resources 2011-09-08 15:53:20 -07:00
IceArmy ad390acd96 Implement require('fs')
http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-08 15:24:50 -07:00
IceArmy 5821a60db1 Rename option/config to localToRemoteUrlAccess(Enabled). 2011-09-07 20:52:22 -07:00
IceArmy de2dc7b861 Stop unsafe QByteArray conversions using str() 2011-09-07 05:00:26 -07:00
IceArmy 8a2b9e77df Include ChangeLog in build_binary 2011-09-06 22:47:07 -07:00
IceArmy 70fe7a4777 Don't check for multiple examples paths in build_binary anymore 2011-09-06 22:46:56 -07:00
IceArmy bd67351ab0 Fix import of version in build_binary 2011-09-06 22:40:33 -07:00
IceArmy 2448157c04 Config to limit the disk cache size 2011-09-06 19:32:10 -07:00
IceArmy 8d754a3e95 Remove fs.move; it's already implemented in filesystem-shim 2011-09-04 22:43:24 -07:00
IceArmy c3262dcb9b Regenerate resources 2011-09-04 22:08:00 -07:00
IceArmy bb1a6fa838 Implement copyTree in filesystem-shim 2011-09-04 22:07:17 -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 aaabac948c Regenerate resources 2011-09-04 02:51:26 -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 d4fe103a66 Whoops! self.parent != self.m_parent 2011-09-04 00:04:12 -07:00