Commit Graph

1031 Commits (8f08d54b139f98e6d173152edbe5491f3f476161)

Author SHA1 Message Date
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
Ariya Hidayat 53b70172a1 Mac build script: workaround for qt_menu.nib problem.
http://code.google.com/p/phantomjs/issues/detail?id=142

See also the Qt bug:
https://bugreports.qt.nokia.com/browse/QTBUG-5952
2011-09-09 22:01:09 -07:00
Ariya Hidayat b68e06a11c Mac build script: ensure it can link to jscore library.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 21:58:00 -07:00
Ariya Hidayat 7a2fd4e93c Mac build script: clean any remaining of the previous build.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 09:13:28 -07:00
Ariya Hidayat f5c2b7f69b Build script: use the correct QMake.
Now the remaining problem is jscore linking.

http://code.google.com/p/phantomjs/issues/detail?id=141
2011-09-09 08:00:22 -07:00
IceArmy 7bb97fb0da Create FileSystem instance only when needed.
Also made FileSystem a singleton.
2011-09-09 01:05:33 -07:00
IceArmy 6bba1715df Regenerate resources 2011-09-09 01:05:33 -07:00
IceArmy 0a25130e57 Implement require('webpage').
window.WebPage still works, it is not recommended and will be deprecated.

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-09 01:05:23 -07:00
IceArmy 54ce2f72e1 Merge branch 'master' of git://github.com/ariya/phantomjs 2011-09-09 00:42:47 -07:00
Ariya Hidayat d844d5404f Fix wrong viewport size due to commit 6e39625e.
http://code.google.com/p/phantomjs/issues/detail?id=217
2011-09-08 23:40:05 -07:00
Ariya Hidayat f7162f7302 Fix coding style (brace placement and indentation with spaces). 2011-09-08 22:35:07 -07:00
Ariya Hidayat e674283821 Fix the proxy option example (http is not needed).
This was mentioned in
http://code.google.com/p/phantomjs/issues/detail?id=19
2011-09-08 21:37:40 -07:00
Ariya Hidayat 64bc80d080 Add simple tests for require().
http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-08 17:55:31 -07:00
Ariya Hidayat a62299214d Fix braces placement to follow the coding style. 2011-09-08 17:49:05 -07:00
Ariya Hidayat 4fb37aa0cc Create FileSystem instance only when needed. 2011-09-08 17:37:01 -07:00
Ariya Hidayat 2b83a52251 Implement require('webpage').
This is mostly based on Ivan's work, see
https://github.com/ariya/phantomjs/pull/153

window.WebPage still works, it is not recommended and will be
deprecated.

http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-08 17:32:31 -07:00
IceArmy dab9b24983 Regenerate resources 2011-09-08 15:53:20 -07:00
IceArmy ad390acd96 Implement require('fs')
http://code.google.com/p/phantomjs/issues/detail?id=47
2011-09-08 15:24:50 -07:00
IceArmy e9d87f0fb2 Merge branch 'master' of git://github.com/ariya/phantomjs 2011-09-08 15:14:34 -07:00
Ariya Hidayat b412aba06d bootstrap.js: Reindent properly. 2011-09-08 13:25:44 -07:00
Ariya Hidayat 6a79ea7e6d Implement require('fs').
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-08 10:00:07 -07:00
Ariya Hidayat 67be09ec80 Update ChangeLog. 2011-09-08 07:34:19 -07:00
Ariya Hidayat 080eb26a11 Add the proper *.js files to OTHER_FILES. 2011-09-08 07:15:13 -07:00
IceArmy f51b5144f0 Fix issue 225: netsniff.coffee produces invalid HAR 2011-09-08 00:25:51 -07:00
IceArmy 5821a60db1 Rename option/config to localToRemoteUrlAccess(Enabled). 2011-09-07 20:52:22 -07:00
Ariya Hidayat d94b0c4fbb Fix missing rename from commit 059e7258. 2011-09-07 20:50:02 -07:00
Ariya Hidayat e45c5328b9 CoffeeScript version of unrandomize example. 2011-09-07 17:52:58 -07:00
Ariya Hidayat 059e72588c Rename option/config to localToRemoteUrlAccess(Enabled). 2011-09-07 09:27:20 -07:00
IceArmy de2dc7b861 Stop unsafe QByteArray conversions using str() 2011-09-07 05:00:26 -07:00
IceArmy 8a2b9e77df Include ChangeLog in build_binary 2011-09-06 22:47:07 -07:00
IceArmy 70fe7a4777 Don't check for multiple examples paths in build_binary anymore 2011-09-06 22:46:56 -07:00
IceArmy bd67351ab0 Fix import of version in build_binary 2011-09-06 22:40:33 -07:00
IceArmy 2448157c04 Config to limit the disk cache size 2011-09-06 19:32:10 -07:00
Ariya Hidayat d35f81bbda Decouple static helper methods from a class. 2011-09-06 17:00:59 -07:00
Ariya Hidayat bc348c5a35 Give function parameter a proper name. 2011-09-06 17:00:59 -07:00