Commit Graph

949 Commits (61f44342471a4ac49ab8280ab61b92e17a74e76c)

Author SHA1 Message Date
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
IceArmy 1f7cb51780 Convert all Qt api's to api 2 2011-09-01 16:04:23 -07:00
IceArmy dcc5b5d595 Stop printing README in setup.py, and rather, if they don't have it, warn user to install PyQt4. 2011-09-01 13:13:40 -07:00
IceArmy 106240aa3f Fix bug 8 where setup.py would pull in a file that needed PyQt4, even though it's not required; so it caused setup to fail for people.
Also simplified how the version system now works.
2011-09-01 13:04:28 -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
IceArmy cf4b459d01 Fix bug where we'd get strings that were converted incorrectly: "PyQt4.QtCore.QUrl(u'foo')" 2011-08-31 22:38:41 -07:00
IceArmy fb25ec7cd0 Simplify --cookies usage and description 2011-08-31 18:15:17 -07:00
IceArmy ff51c695b5 Clean up Encode 2011-08-31 17:46:18 -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
IceArmy 87a580f36a Add output-encoding and script-encoding options 2011-08-31 15:43:29 -07: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
IceArmy 3e8493973c Regenerate resources 2011-08-31 11:43:53 -07:00
IceArmy b1ba0ee118 Update bootstrap.js
Added copyrights
Allow for passing options to WebPage constructor
2011-08-31 11:43:15 -07: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