Commit Graph

14 Commits (cf4b459d014dd892344dd9c60a0243b4e5492424)

Author SHA1 Message Date
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 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 6154876a42 Replace all single quoted strings with escaped single quotes inside with a double quoted string to avoid needing to escape the single quotes 2011-08-01 19:10:04 -07:00
IceArmy 7fe267341a Pass app back to Phantom 2011-07-31 03:05:06 -07:00
IceArmy 9d66ddf5ad Simplify cookies file check 2011-07-31 03:05:06 -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 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 0e765f2a95 Exit program properly when we call phantom.exit
Previously, calling phantom.exit would set the exit code and finish running the
JavaScript until it was done, then exit the program with your code. Basically
it didn't actually exit the program. It caused many code fallthrough problems,
but is now fixed. :)
2011-06-19 01:20:45 -07:00
IceArmy 6056bc0fa9 Added support for 'injectJs' and 'includeJs'
Updated bootstrap.js to latest. Also contains:
- Fix reference to handlers in onResourceReceived
- Private handlers
- Use closure to make 'handlers' really private.
- Handle onAlert event just like the other events.
- Handle 'onConsoleMessage' event just like the other events.
2011-06-12 01:23:15 -07:00
IceArmy d4548b9ad9 Transform all yes,no args into True,False in parseArgs() 2011-06-08 03:14:13 -07:00
Francisco Souza 7342d0f818 Merge branch 'master' of https://github.com/ariya/phantomjs 2011-06-06 23:25:39 -03:00
Francisco Souza c8dfe1e30a Merge branch 'master' of git://github.com/ariya/phantomjs 2011-06-05 20:00:43 -03:00
Francisco Souza 9b12ce3f89 Changed the name of package from phantom to pyphantomjs 2011-06-05 19:55:07 -03:00