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
cb216ccc6f
Update FS API
...
Put shims into separate js files
All tests now pass again as well
2011-09-03 22:57:01 -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
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
5e069ee711
Misc improvements
...
Changed all if not's/if's for None's to if value is None/if value is not None
Fix bug in fs where split never used os.altsep because if not always evaluated to False since there's almost always something in the list returned
Fix the fixme on fs.isAbsolute where we needed to split the Windows drive letter off
2011-08-24 14:32:29 -07:00
IceArmy
fa285e0aca
page.release() now works without JS shim.
2011-08-23 12:18:25 -07:00
IceArmy
fb93d49a7f
Rename page.destroy() to page.release()
2011-08-21 14:12:15 -07:00
IceArmy
3caac5a5a3
Rename "XSSAuditing" to "XSSAuditingEnabled"
2011-08-21 14:08:14 -07:00
IceArmy
8880edcf78
Remove settings: jsOpenWindows, jsAccessClipboard, siteSpecificQuirksMode
...
Renamed jsEnabled to javascriptEnabled
2011-08-20 16:49:36 -07:00
IceArmy
33005c3957
Add a few new QWebSettings for page settings.
...
Among the most useful, is the jsEnabled setting, which allows you to disable JavaScript.
2011-08-19 15:47:34 -07:00
IceArmy
7cbd75a400
Make the parents the first argument (since we will always supply the arg, and also for cleanliness and order)
2011-08-18 14:23:58 -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
97966e8fe8
Remove unneeded del statement.
2011-07-02 17:33:18 -07:00
IceArmy
d12202f0a6
More efficient handling of exit() deletion of pages
2011-07-02 17:26:06 -07:00
IceArmy
5218ab7e76
Delete page references on exit()
2011-07-02 17:10:28 -07:00
IceArmy
895923603f
Fix memory issues by providing a way to truly delete WebPages. #154
...
Use page.destroy() to delete the page and regain the memory.
2011-07-02 17:08:06 -07:00
IceArmy
da987ed034
Introducing File I/O API in PyPhantomJS.
...
* Inspired by HammerJS (see https://github.com/senchalabs/hammerjs )
* Not yet 100% complete
* Final aim is to provide a CommonJS/Filesystem compliant API (see http://wiki.commonjs.org/wiki/Filesystem )
2011-06-29 02:19:08 -07:00
IceArmy
a2aed0064c
Fix crash on exit (Issues #136 , #148 and #149 )
2011-06-28 18:41:29 -07:00
IceArmy
64404a1902
Adding "--local-access-remote=[yes|no]".
...
* This will allow local content to access remote content, bypassing the same origin policy.
* It's controllable from the CLI and through the "page.settings" property
* This addresses Issue #28 but only partially: it's still not possible to make _remote content access other remote content on a different origin_.
2011-06-24 18:35:56 -07:00
IceArmy
49b630bd65
Make sure phantom.exit() really exits.
2011-06-20 23:54:03 -07:00
IceArmy
69b06da140
Revert "Exit program properly when we call phantom.exit"
2011-06-20 10:14:08 -07:00