Commit Graph

1015 Commits (39e4485ce39b0b8052b964ebbd89442b05dae162)

Author SHA1 Message Date
Ariya Hidayat f75bc156ba Cosmetic update to ChangeLog. 2011-09-16 21:57:57 -07:00
Ariya Hidayat 1178637805 Remove unported examples that do not work anymore. 2011-09-16 17:49:09 -07:00
Ariya Hidayat f0aec8d3fb Update ChangeLog. 2011-09-16 17:46:05 -07:00
Ariya Hidayat 2d0e4fc57c Fix copy paste mistake for HTTP authentication.
http://code.google.com/p/phantomjs/issues/detail?id=45
2011-09-16 17:36:27 -07:00
Ariya Hidayat 76de868075 Make HTTP authentication as page settings.
http://code.google.com/p/phantomjs/issues/detail?id=45
2011-09-16 17:34:02 -07:00
IceArmy 6a5f3901a3 Created yes/no argument action handler to simplify conversion process
Also added type=int to max-disk-cache-size
2011-09-16 16:11:34 -07:00
IceArmy c90407b615 Merge branch 'master' of git://github.com/ariya/phantomjs 2011-09-16 13:44:16 -07:00
Ariya Hidayat e8b5655474 HTTP authentication is not only basic. 2011-09-16 07:31:22 -07:00
Ariya Hidayat 4544b129c9 Improve the API for mouse events.
It now looks like in this example:

  page.sendEvent('mousedown', 42, 217);

Other available events are 'mouseup', 'mousemove', and 'click'. They modelled
after the DOM events.

Unit tests are included.

http://code.google.com/p/phantomjs/issues/detail?id=234
2011-09-16 07:15:21 -07:00
Ariya Hidayat df93935d52 about:blank also needs document.head.
This makes it similar to what a typical web browser does.

http://code.google.com/p/phantomjs/issues/detail?id=235
2011-09-16 07:14:38 -07:00
IceArmy bdaa4a5899 Rename plugincontroller set() to set_() to avoid clashes with built-in set() 2011-09-15 22:06:52 -07:00
IceArmy 3b2fa1f162 Fix resource building script to work in any directory
Also fixed problem where script failed on spaces in file path
2011-09-15 21:38:29 -07:00
Ariya Hidayat d3c3110e3d Merge pull request #156 from Roejames12/master
Most recent updates and changes
2011-09-15 17:54:45 -07:00
IceArmy 7156c1f4d1 Merge branch 'master' of git://github.com/ariya/phantomjs 2011-09-15 17:42:40 -07:00
IceArmy c0644958cd Change IOError Exceptions returned string for QPyFile() 2011-09-15 17:41:44 -07:00
IceArmy c506f3efe4 Fix bug where resource text didn't actually return the text.
Converted all the .data() back into str()
Made NetworkReplyProxy body() return str()
2011-09-15 17:39:02 -07:00
IceArmy fff0b73234 Alphebetize imports 2011-09-15 17:18:08 -07:00
IceArmy 134eec2fbf Unify the name to 'cookiesFile' everywhere
http://code.google.com/p/phantomjs/issues/detail?id=91
http://code.google.com/p/phantomjs/issues/detail?id=180
2011-09-15 16:48:50 -07:00
IceArmy 04f5165714 Special handling for about:blank
http://code.google.com/p/phantomjs/issues/detail?id=235
2011-09-15 16:19:35 -07:00
IceArmy 0f6c59cc6e Every web page gets its own network access manager.
Network-related activites should not be shared between web page
instances. Otherwise, it is extremely confusing when there are two (or
more) web pages are active at the same time.

http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-15 16:13:57 -07:00
IceArmy 3eb16093c0 We shall just pass the args instance, that's cleaner and less messy.
This is a preparation step for
http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-15 15:18:35 -07:00
Ariya Hidayat 5449251a6c Unify the name to 'cookiesFile' everywhere.
http://code.google.com/p/phantomjs/issues/detail?id=91
http://code.google.com/p/phantomjs/issues/detail?id=180
2011-09-15 09:40:22 -07:00
Ariya Hidayat 6d42bc0123 Clean-up usage.txt. 2011-09-15 01:08:48 -07:00
Ariya Hidayat eb95355a28 Add --cookies option to the usage.txt. 2011-09-15 01:06:12 -07:00
Ariya Hidayat a169fabc0f Mention the codenames in the ChangeLog. 2011-09-15 00:25:15 -07:00
Ariya Hidayat 20ed9a9265 Optimistic release date for 1.3.0. 2011-09-15 00:24:22 -07:00
Ariya Hidayat 78815023e5 Update ChangeLog. 2011-09-15 00:23:04 -07:00
Ariya Hidayat f73108a1d8 Special handling for about:blank.
http://code.google.com/p/phantomjs/issues/detail?id=235
2011-09-15 00:16:41 -07:00
Ariya Hidayat b0a5b6dbad Every web page gets its own network access manager.
Network-related activites should not be shared between web page
instances. Otherwise, it is extremely confusing when there are two (or
more) web pages are active at the same time.

http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-14 23:46:01 -07:00
Ariya Hidayat 37404ba179 Fix potential crash in the reply proxy.
The cause is not clear, either the object ownership issue (circular
reference) or some race condition (or worse, both combination).
In all cases, using QPointer avoids dereferencing a null object.

http://code.google.com/p/phantomjs/issues/detail?id=158
2011-09-14 22:47:26 -07:00
Ariya Hidayat 7a9b6b4fec Clean-up WebPage constructor.
We shall just pass the Config instance, that's cleaner and less messy.

This is a preparation step for
http://code.google.com/p/phantomjs/issues/detail?id=190
2011-09-14 21:47:36 -07:00
Ariya Hidayat ac9be2a0d4 Sort the include files alphabetically. 2011-09-14 21:47:36 -07:00
Ariya Hidayat e07307ec1d Merge pull request #155 from Roejames12/master
A ton of updates
2011-09-14 21:45:08 -07:00
Ariya Hidayat 4bd0ad2331 Merge pull request #154 from detro/master
Updated examples that use the 'webpage' module
2011-09-14 21:44:53 -07:00
IceArmy 26e49cc4c1 Fix bug on FileSystem() where super() in __new__() was calling the CSConverter class, instead of FileSystem. Whoops!! 2011-09-13 14:59:59 -07:00
IceArmy 5b24d2417a Fix injectme.coffee example which was injecting 'injectme.js' instead of itself 2011-09-13 14:50:12 -07:00
IceArmy 373f28da17 Regenerate resources 2011-09-13 14:48:41 -07:00
IceArmy 826ab347e4 Refactoring on the module implementation.
Also implemented a new QPyFile class which is a wrapper
over QFile, supporting context managers. It greatly
improves code readability and reusability.

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-13 14:45:28 -07:00
IceArmy c119a4788e Merge branch 'master' of git://github.com/ariya/phantomjs 2011-09-13 13:16:20 -07:00
IceArmy febf9a14f6 Use super() for all class initializers instead 2011-09-12 22:27:04 -07:00
Ivan De Marino e0e5535e0e Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
Ariya Hidayat e960279ff2 Coding style: fix place bracement. 2011-09-11 02:19:20 -07:00
Ariya Hidayat 1ed381c95f Update JSLint flags. 2011-09-11 01:08:49 -07:00
Ariya Hidayat b6102d7f6e Refactoring on the module implementation.
This is mostly based on Ivan's work, see
https://github.com/ariya/phantomjs/pull/153

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-11 01:04:53 -07:00
IceArmy c7dafc8dcb Fix wrong viewport size due to commits 983518d9 and 7641e4e1.
http://code.google.com/p/phantomjs/issues/detail?id=217
2011-09-10 18:24:54 -07:00
Ariya Hidayat d90d11b551 Mac build script: check curl status to detect failed download.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-10 17:23:36 -07:00
Ariya Hidayat bcd01d222b netlog.coffee: Fix wrong address to be loaded.
http://code.google.com/p/phantomjs/issues/detail?id=227
2011-09-10 11:05:25 -07:00
Ariya Hidayat b20aa4345e Mac build script: detect UPX properly.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-10 11:02:49 -07:00
Ariya Hidayat 1fd9c20835 netlog: Example to dump live network traffic.
http://code.google.com/p/phantomjs/issues/detail?id=227
2011-09-10 09:15:34 -07:00
Ariya Hidayat 293c7a4498 Mac build script: compress the executable.
Using both strip and upx, this makes the executable 3.5x smaller.

http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 22:43:05 -07:00