IceArmy
189703cffc
rename setup.py (for building binaries) to build_binary.py
2011-06-06 23:09:06 -07:00
IceArmy
ce27e879a2
Setup setup.py information
2011-06-06 22:46:05 -07:00
IceArmy
5f66b1c32b
Add AUTHORS file for contributors
2011-06-06 22:31:36 -07:00
Francisco Souza
08c6d232af
Added licensing headers to Python files
2011-06-06 23:59:07 -03:00
Francisco Souza
bfcc186d93
Using markdown
2011-06-06 23:27:23 -03:00
Francisco Souza
7342d0f818
Merge branch 'master' of https://github.com/ariya/phantomjs
2011-06-06 23:25:39 -03:00
IceArmy
99c62d41ef
Regenerate resources
2011-06-06 14:17:13 -07:00
IceArmy
d941691f93
Introduce "onLoadFinished" event, fired when loading is completed.
...
It is now possible to specify only the URL in the open() function.
The loading callback can be set using onLoadFinished.
Example use:
var page = new WebPage();
page.onLoadFinished = function () {
console.log("Done!");
phantom.exit();
};
page.open("http://example.com ");
2011-06-06 14:16:48 -07:00
IceArmy
841dc41f41
Introduce 'onLoadStarted' event which will fire upon page loads.
...
An example use:
var page = new WebPage();
page.onLoadStarted = function() {
console.log('start loading...Please wait');
};
page.open("http://example.com ", function (status) {
console.log('Done ' + status);
phantom.exit();
});
2011-06-06 14:15:08 -07:00
IceArmy
435c66c153
Cleanup INSTALL.md
2011-06-05 17:40:27 -07:00
IceArmy
5b04c4e55b
Convert README and INSTALL to markdown
...
Also cleaned them up a bit.
2011-06-05 17:13:03 -07:00
Francisco Souza
42e81c1297
Added INSTALL section just before LICENSING
2011-06-05 20:07:30 -03:00
IceArmy
fd95c86d2b
Rip out --upload-file command-line option
2011-06-05 16:02:42 -07:00
IceArmy
47acc56153
Bring back file upload support.
...
Instead of using command-line option, file can be uploaded using
WebPage.uploadFile function, e.g.:
var page = new WebPage();
page.open(....., function () {
page.uploadFile('input#attachment', '/path/to/file');
});
uploadFile() accepts selector name (first argument), this is used to identify
which input element will need the filename (second argument).
2011-06-05 16:02:34 -07:00
Francisco Souza
c8dfe1e30a
Merge branch 'master' of git://github.com/ariya/phantomjs
2011-06-05 20:00:43 -03:00
Francisco Souza
9ee9361d49
Changes on description, project naming and readme
2011-06-05 20:00:12 -03:00
Francisco Souza
029b7f7768
Using version from utils module
2011-06-05 19:57:29 -03:00
Francisco Souza
9b12ce3f89
Changed the name of package from phantom to pyphantomjs
2011-06-05 19:55:07 -03:00
IceArmy
1796eb5d7c
Mark argparse as dependency for Python 2.6
2011-06-04 14:07:51 -07:00
IceArmy
fba248781a
Reorder import statements as per pep 8
2011-06-03 21:50:13 -07:00
IceArmy
a9bf0b964a
Move loadStatusChanged signal to top
2011-06-03 15:38:14 -07:00
IceArmy
9b69c83e2a
Simplify WebPage signal sending
2011-06-03 15:38:14 -07:00
Francisco Souza
e87918c993
Added argparse as dependency for installation
2011-06-03 16:43:26 -03:00
Francisco Souza
47123eff2e
Removed setup.py as dependency
2011-06-03 16:32:02 -03:00
Francisco Souza
804ff1bb0b
Excluding swp from sdist
2011-06-03 16:30:08 -03:00