Commit Graph

741 Commits (2d9f0424e4e8b560a7c70ac15ce882e02d6bcf21)

Author SHA1 Message Date
Ariya Hidayat 2d9f0424e4 Merge branch 'master' of github.com:ariya/phantomjs 2011-09-01 18:06:44 -07:00
Ivan De Marino f83b9a5ba7 Added "touch(path)" to the FS API
* Implemented in the JS Shim
* Added test accordingly
2011-09-01 18:06:30 -07:00
Ivan De Marino 750e1e98c4 Added "fs.move(source, dest)" to the set of FS API.
* Added tests accordingly
* The implementation is a pure JS shim
2011-09-01 18:06:30 -07:00
Ivan De Marino 31c2decbd3 Added "copy(source, dest)" to the set of FS API.
* Also, added test case accordingly.
2011-09-01 18:06:30 -07:00
Ivan De Marino 12171fc9c6 Improving compliancy of "remove*" Filesystem API. 2011-09-01 18:06:30 -07:00
Ivan De Marino 715f1a7fc3 Refactored the JS Shims to be isolated in their own file.
Also, refactored some "too cautious" code to load the shim.

PS I don't grasp 100% the point of "Terminal". Wouldn't qDebug() be enough? What am I missing?
2011-09-01 18:06:30 -07:00
Ariya Hidayat d243154c2e Merge branch 'master' of github.com:ariya/phantomjs 2011-09-01 17:38:14 -07:00
Ariya Hidayat a0b97e8c6f Mac OS X build script: use 4.7.4, static build QtWebKit and PhantomJS. 2011-09-01 17:37:50 -07:00
Ariya Hidayat 4a6154b5bd Merge pull request #146 from detro/dev-commonjs_fileio
99% with the FS API
2011-09-01 00:08:24 -07:00
Ivan De Marino 96641ea8a1 Added "touch(path)" to the FS API
* Implemented in the JS Shim
* Added test accordingly
2011-09-01 00:34:55 +01:00
Ivan De Marino 619d4b470f Added "fs.move(source, dest)" to the set of FS API.
* Added tests accordingly
* The implementation is a pure JS shim
2011-09-01 00:14:17 +01:00
Ivan De Marino f381f61c64 Added "copy(source, dest)" to the set of FS API.
* Also, added test case accordingly.
2011-09-01 00:01:40 +01:00
Ivan De Marino cffd688efd Improving compliancy of "remove*" Filesystem API. 2011-08-31 23:32:56 +01:00
Ivan De Marino 3401dd9f78 Refactored the JS Shims to be isolated in their own file.
Also, refactored some "too cautious" code to load the shim.

PS I don't grasp 100% the point of "Terminal". Wouldn't qDebug() be enough? What am I missing?
2011-08-31 23:19:17 +01:00
Ariya Hidayat 4dca2b3d60 Fixed issue 212: build problem due to config.h.
Change <config.h> in the GIF code to "config.h" so that it is not
confused with PhantomJS' own config file.
2011-08-31 09:40:43 -07:00
Ariya Hidayat 868e751bea Merge pull request #143 from execjosh/issue-206-web-page-init
Allow for passing options to WebPage constructor
2011-08-31 09:28:58 -07:00
Ariya Hidayat 8ebd446e58 Merge pull request #145 from detro/master
Comments stuff
2011-08-31 09:27:52 -07:00
Ivan De Marino d8d88a3894 Added "Copyright..." line to files on which I worked on.
I tried to also add/remove based on the git history.
2011-08-31 16:29:40 +01:00
Ivan De Marino 12699b1514 Added the new "--local-access-remote" to the list of additions for the next release.
PS I know, we need to find a new name for this. Did you find one? I couldn't come up with anything else yet. Maybe "--allow-local-xdomain"?
2011-08-31 16:26:25 +01:00
Ariya Hidayat 344654854f Merge pull request #140 from execjosh/issue-180-config-file
Issue 180: PhantomJS Config File
2011-08-30 22:53:26 -07:00
execjosh d792cd8d05 Remove ini file related stuff from Config 2011-08-30 00:50:59 +09:00
execjosh 3c4699b609 Add "--config" command-line option 2011-08-30 00:45:39 +09:00
execjosh 26f7185bf6 Implement JSON config loader 2011-08-30 00:43:41 +09:00
execjosh 94c5e270cf Remove superfluous inclusion of QApplication 2011-08-29 23:24:45 +09:00
execjosh 8f89ddc9a3 Make Config extend QObject 2011-08-29 23:23:01 +09:00
Ariya Hidayat 783229214c Unit test: remove the test for non-public method. 2011-08-28 15:12:12 -07:00
execjosh da97b9abbf Fixup copyInto function
* Drop any undefined values
* Copy non-objects, too
2011-08-28 23:12:52 +09:00
execjosh 74db4807d5 Actually add parameter to WebPage constructor 2011-08-28 22:29:31 +09:00
execjosh 3c790d80a8 Migrate command-line argument processing logic to Config 2011-08-28 22:13:57 +09:00
Ariya Hidayat 43a987d5b4 Merge pull request #142 from execjosh/issue-205-basic-webpage-tests
Add basic tests for WebPage
2011-08-28 05:58:42 -07:00
Ariya Hidayat 1ccf1e64be Merge pull request #141 from schmurfy/patch-1
typo
2011-08-28 05:57:47 -07:00
Julien Ammous 217b7ecbd4 typo 2011-08-29 00:12:48 +03:00
execjosh 9c94a8ef24 Rename ini file code to "Config::loadIniFile" 2011-08-28 21:12:40 +09:00
execjosh ad53b9bb3e Rename "PhantomConfig" to "Config" 2011-08-28 21:11:20 +09:00
execjosh cad33014b4 Alphabetize WebPage function tests 2011-08-28 20:24:46 +09:00
execjosh ec92ac735c Add basic tests for WebPage 2011-08-28 20:13:38 +09:00
execjosh 102b421617 Allow for passing options to WebPage constructor 2011-08-28 19:11:24 +09:00
execjosh 1461ac012d Implement config file (.phantomjsrc) 2011-08-27 03:03:06 +09:00
execjosh f5f436160c Migrate page settings to PhantomConfig 2011-08-27 03:02:59 +09:00
execjosh a445b2d7b9 Migrate network access manager settings to PhantomConfig 2011-08-27 03:02:51 +09:00
execjosh 5441f51607 Migrate proxy settings to PhantomConfig 2011-08-27 03:02:43 +09:00
execjosh a75f7c9dc3 Create PhantomConfig and migrate output and script encoding settings 2011-08-27 03:02:35 +09:00
Ariya Hidayat c4b1d443ff Merge pull request #139 from Roejames12/master
More updates!
2011-08-24 17:36:30 -07:00
IceArmy 84f53357f4 Differentiate between _private and builtin_ 2011-08-24 17:02:34 -07:00
IceArmy e4dfb406f0 Alter 'should have the default outputEncoding of UTF-8' test to compare against lowercase, for PyPhantomJS compatibility 2011-08-24 16:48:42 -07:00
IceArmy 1b73d5c310 Add phantom.outputEncoding 2011-08-24 16:39:58 -07:00
IceArmy 33466c87c3 Fix bug where SafeStreamFilter couldn't decode utf-8 2011-08-24 15:40:29 -07:00
IceArmy 5e069ee711 Misc improvements
Changed all if not's/if's for None's to if value is None/if value is not None
Fix bug in fs where split never used os.altsep because if not always evaluated to False since there's almost always something in the list returned
Fix the fixme on fs.isAbsolute where we needed to split the Windows drive letter off
2011-08-24 14:32:29 -07:00
Ariya Hidayat c517674f3f Merge pull request #137 from execjosh/examples-for-output-encoding
Add examples for phantom.outputEncoding
2011-08-24 11:46:59 -07:00
execjosh b5bb07faa4 Add examples for phantom.outputEncoding 2011-08-25 03:15:26 +09:00