Commit Graph

487 Commits (c6c039a953c93446cfb0fd7efef731abfa4e796c)

Author SHA1 Message Date
Ariya Hidayat 4b553b445c Merge pull request #59 from Roejames12/master
Updates
2011-06-05 17:21:25 -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
Ariya Hidayat a8a4da152d Mention Qt and brew/port notice when building on Mac OS X. 2011-06-05 13:50:53 -07:00
Ariya Hidayat 203aaaa4d0 Clean up README.md, sync with project page. 2011-06-05 13:45:31 -07:00
Ariya Hidayat f4d40b82f1 No need for the command-line --upload-file. 2011-06-05 13:26:10 -07:00
Ariya Hidayat fc16c4e978 Merge pull request #57 from Roejames12/master
Fine tuning changes
2011-06-05 13:24:08 -07:00
IceArmy e998739fff Merge branch 'master' of https://github.com/ariya/phantomjs 2011-06-05 13:01:46 -07:00
Ariya Hidayat 3170b2b4b6 imagebin.js: Example of file upload inside form.
Warning: this script has zero error checking.
2011-06-05 01:11:59 -07:00
Ariya Hidayat f8b9c322ea 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 00:34:27 -07: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
Ariya Hidayat ff10a7af4d Merge pull request #56 from Roejames12/master
Port coffeescripts to PhantomJS 1.2
2011-06-03 12:27:04 -07:00
Francisco Souza c1946fe126 Ignoring pyc 2011-06-03 16:24:20 -03:00
Francisco Souza c4ecbbc706 Moving structure for better integration with PyPI 2011-06-03 16:22:58 -03:00
Francisco Souza 7069b707ab Added setup.py and phantom package (for PyPI) 2011-06-03 16:21:03 -03:00
Francisco Souza d84e97f003 Ignoring vim swp files 2011-06-03 16:17:39 -03:00
IceArmy 253469b03e Improve waitfor.coffee readability 2011-06-02 17:18:25 -07:00
IceArmy 5e876a6517 Improve weather.coffee a little 2011-06-02 17:18:11 -07:00
IceArmy ac354d7804 Convert render_multi_url.js to CoffeeScript 2011-06-02 00:46:50 -07:00
IceArmy bdf4fb4571 Convert post.js to CoffeeScript 2011-06-02 00:46:50 -07:00
IceArmy 6b2c492796 Port tweets.coffee to PhantomJS 1.2 2011-06-02 00:46:50 -07:00
IceArmy 39d8522c3a Port weather.coffee to PhantomJS 1.2 2011-06-02 00:46:50 -07:00
IceArmy dd0d437b89 Port countdown.coffee to PhantomJS 1.2 2011-06-01 23:20:47 -07:00
IceArmy 80131a2353 Port waitfor.coffee to PhantomJS 1.2 2011-06-01 19:51:17 -07:00
Ariya Hidayat cffe0438c7 Merge pull request #55 from Roejames12/master
Revert commit d2c520a
2011-06-01 12:25:34 -07:00
IceArmy 69ff230f3a Revert "Fix bug where WebPage.evaluate had a syntax error."
This reverts commit d2c520a777.
2011-06-01 12:14:20 -07:00
Ariya Hidayat 07ab037a9b Merge pull request #54 from detro/update_examples_to_1.2
Converted 'cycle_multiple_urls.js' to PhantomJS 1.2 (and renamed to 'rend
2011-06-01 11:27:30 -07:00
Ivan De Marino e59054247c Converted 'cycle_multiple_urls.js' to PhantomJS 1.2 (and renamed to 'render_multi_url.js').
Given that I practically rewrote it, I took the liberty to rename it based on my personal taste ;)
2011-06-01 18:37:57 +01:00
Ariya Hidayat 0c95f492a3 Merge pull request #53 from detro/update_examples_to_1.2
Update examples to 1.2
2011-06-01 10:00:55 -07:00
Ariya Hidayat 21f8df941e Merge pull request #52 from Roejames12/master
Fixed 2 more bugs
2011-06-01 09:58:43 -07:00
Ivan De Marino 93d2c30248 Converted 'run-jasmine.js' to PhantomJS 1.2 2011-06-01 17:30:27 +01:00
Ivan De Marino afce9b83b0 Converted 'run-qunit.js' to PhantomJS 1.2 AND fixed a stupid mistake in 'waitFor' 2011-06-01 17:24:32 +01:00
Ivan De Marino f8e59f92f8 Ported 'waitfor.js' to Phantom 1.2.
* There is a problem though: the script causes a "segfault" on phantom.exit() - I didn't investigated why yet
2011-06-01 16:29:44 +01:00
Ivan De Marino 78cab6b4b1 Converted "weather.js" for PhantomJS 1.2 2011-06-01 14:55:35 +01:00
Ivan De Marino 811c56b6f3 Ported 'countdown.js' to PhantomJS 1.2 2011-06-01 14:25:22 +01:00
Ivan De Marino b91f5b9632 Converted "tweets.js" to PhantomJS 1.2.
First impression: PhantomJS 1.2 makes a lot of sense.
But there are issues if we try to pass a DOM node as a return value for calls to "evaluate"
2011-06-01 14:18:08 +01:00
IceArmy d2c520a777 Fix bug where WebPage.evaluate had a syntax error.
It now creates a proper anonymous function (which passes this for global context)
2011-06-01 02:09:07 -07:00
IceArmy 0d78768e4d Fix bug that caused operation body to fail 2011-06-01 00:53:07 -07:00