Commit Graph

549 Commits (89e4e59d07f91220b40a289bb893e3bde7a0eabf)

Author SHA1 Message Date
Ariya Hidayat 89e4e59d07 Merge pull request #104 from Roejames12/master
Issue #154, and a few others
2011-07-03 14:01:18 -07:00
IceArmy f83d706f80 Made a custom console script for PyPi since the autogenerated one failed. 2011-07-03 01:36:48 -07:00
IceArmy 00f21213b8 Add homepage URL and license information 2011-07-03 00:07:01 -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 11ff154145 Regenerate resources 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 edf6bc1d98 Remove unneeded is checks 2011-07-01 12:16:07 -07:00
Ariya Hidayat ea80c5499d Merge pull request #103 from Roejames12/master
Even more API for fs
2011-07-01 08:16:30 -07:00
IceArmy d829a2ddc3 Add link versions of fs API 2011-06-30 01:14:29 -07:00
IceArmy bd44efa3f3 Fix fs.changePermissions to not reset file permissions then add changed ones on
It now only changes what you specify to change, correctly.
2011-06-29 23:12:55 -07:00
IceArmy a0a79e4ddc Make fs.join() able to take unlimited paths as per spec.
This however now requires us to pass an array.
E.g. fs.join(['pathA', 'pathB', 'pathC'])
2011-06-29 21:58:18 -07:00
IceArmy 8f79f29659 Add umask, newline, changeGroup, changeOwner, changePermissions, group, owner, permissions 2011-06-29 21:58:18 -07:00
Ariya Hidayat 778900a974 Merge pull request #102 from aportale/master
Little improvement and cleanup
2011-06-29 21:03:39 -07:00
Alessandro Portale c86d104c83 Remove obsolete #include <gifwriter.h> 2011-06-30 05:15:43 +02:00
Alessandro Portale 3fd978d6bf List bootstrap.js in Qt Creator under "Other Files" 2011-06-30 05:13:52 +02:00
Ariya Hidayat 49d82a25b0 Merge pull request #101 from Roejames12/master
Update to latest commits
2011-06-29 07:58:58 -07:00
IceArmy 7f67808544 Add hook points to filesystem.py 2011-06-29 05:38:10 -07:00
IceArmy 90eb114cde Add support for TONS of methods defined in CommonJS specs 2011-06-29 05:12:22 -07:00
IceArmy fc81a1e258 Regenerate resources 2011-06-29 02:19:58 -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 bd775fd429 Improve error reporting for injectJsInFrame()
Also changed warnings to debugs
2011-06-29 02:14:50 -07:00
IceArmy a2aed0064c Fix crash on exit (Issues #136, #148 and #149) 2011-06-28 18:41:29 -07:00
Ariya Hidayat 1354d65acf Merge pull request #100 from sujal/master
Simple comment correction in injectme.* example
2011-06-28 18:05:50 -07:00
Ariya Hidayat da749624a3 Merge pull request #99 from aportale/Issue_148
Fix crash on exit (Issues #136, #148 and #149)
2011-06-28 18:05:40 -07:00
Ariya Hidayat 4c3364acdc Merge pull request #97 from detro/dev-commonjs_fileio
Sort out the nitpicks
2011-06-28 18:05:27 -07:00
sujal 59843bfcdf cleanup injectme.* example comment
the comment confused me at first, making me think there was a "better"
or alternate way to do this, so I spent 45 minutes searching the docs
for a mention of loadJsFile.

Hopefully this saves someone else a few minutes.
2011-06-28 19:34:01 -04:00
Alessandro Portale 5acaa6b42d Fix crash on exit (Issues #136, #148 and #149)
Workaround: Apparently, all QWebPages need to be deleted before
the QApplication gets destroyed.
2011-06-29 00:45:12 +02:00
Ivan De Marino 3807b9dc4d Now, if "fs.open" fails, it throws an exception.
* This is implemented with a javascript-shim
2011-06-28 21:35:27 +01:00
Ivan De Marino a0e1888c2c Moved the "fs" object to be in the global/window space: will not be attached to the "phantom" object anymore.
* Once (and if) we implement support for CommonJS Module Loading, a "require("fs")" will be required.
2011-06-28 21:02:48 +01:00
Ivan De Marino 4b1af82c1b Updated changelog with info about the new Filesystem API. 2011-06-28 13:31:37 +01:00
Ivan De Marino aad029e53f Sorting out some nitpicks. 2011-06-28 13:24:24 +01:00
Ariya Hidayat c5213b24b0 Revert "Mac OS X: No need to build as an application bundle."
This reverts commit c6db0354ea.
2011-06-27 19:54:39 -07:00
Ariya Hidayat f6c77ef0cf Merge pull request #95 from detro/dev-commonjs_fileio
File IO, CommonJS style (Issue #129)
2011-06-27 19:50:20 -07:00
Ivan De Marino f4aa689ec7 A bit more compliancy with the CommonJS Filesystem/A draft specs.
* Renamed some methods to be more compliant with the specs
* Added some Directory/Tree specific ops
* Support for the open mode '+' (that is equivalent to 'a')
* See draft at: http://wiki.commonjs.org/wiki/Filesystem/A
2011-06-27 23:14:41 +01:00
Ivan De Marino 6b04ee23c1 Introducing File I/O API in PhantomJS.
* This is the  squash of 30 commits, so it's meaty
* 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-27 23:14:05 +01:00
Ariya Hidayat 1f2c80ba32 Update ChangeLog. 2011-06-27 09:08:56 -07:00
Ariya Hidayat f5ff7ea715 Merge pull request #94 from Roejames12/master
Updates
2011-06-27 01:16:08 -07:00
Ariya Hidayat f25a7a66e5 Bump the Qt requirement to version >= 4.6.
Also, remove code branch for Qt 4.5.
2011-06-26 21:51:30 -07:00
IceArmy 67702dbc46 Bump version. 2011-06-26 18:39:03 -07:00
IceArmy 8621e9e4d5 Regenerated resources 2011-06-26 18:28:12 -07:00
IceArmy 2d6fa95171 Fixed issue with the open method that was preventing the use of POST unless a onLoadFinished handler was also passed in. 2011-06-26 18:28:00 -07:00
IceArmy ce065d9fda Improved plugin system
You can now set a priority on a function to control
when it executes for a particular action (hook).
Default priority is 10, but can be changed to anything.

For example, if you have 2 functions hooked to 'Phantom',
you can change one function to priority 12 and leave the other
at 10, so the one at 10 will execute first, no matter where
it is defined.
2011-06-26 18:13:41 -07:00
Ariya Hidayat da629874d3 examples/feature.js: Show supported/unsupported features.
Feature detection is done via Modernizr.
2011-06-26 14:05:48 -07:00
Ariya Hidayat c6db0354ea Mac OS X: No need to build as an application bundle.
http://code.google.com/p/phantomjs/issues/detail?id=139
2011-06-26 00:03:18 -07:00
Ariya Hidayat cf23a5c6e3 Bump unstable version. 2011-06-25 23:59:16 -07:00
Ariya Hidayat 07f946d817 Merge pull request #93 from corgibytes/open-with-post-without-load-handler
Allow calling WebPage.open with HTTP verb, but without load handler
2011-06-25 22:09:07 -07:00
M. Scott Ford 1b67c2b8c4 Fixed issue with the open method that was preventing the use of POST unless a onLoadFinished handler was also passed in. 2011-06-26 00:07:07 -04:00
Ariya Hidayat f2d0a21330 Merge pull request #92 from Roejames12/master
localAccessRemote and HTML5 webapp cache
2011-06-24 18:52:23 -07:00