Ariya Hidayat
7aa5ec5347
Do not use empty string literal for the default parameter.
2011-09-06 16:01:19 -07:00
Alex Whitman
774070809f
Fixes a couple of compiler warnings
...
* Unused parameter in networkaccessmanager.cpp
* No newline at the end of networkreplyproxy.cpp
2011-09-05 15:23:52 +01:00
Ariya Hidayat
7cd76309e6
Merge pull request #151 from detro/dev-commonjs_fileio
...
Last API
2011-09-04 21:19:15 -07:00
Ivan De Marino
88991207c2
Added "copyTree(source, destination)" to the set of File API.
...
* This is the last API
* I added tests accordingly
* Test could be improved with a proper recursive comparison
* Or, if we introduce "phantom.exec", we could just run a "diff -rq" :)
2011-09-04 23:42:54 +01:00
Ivan De Marino
8c15c80b14
Renamed "fs-shim.js" to "fileystem-shim.js" to ensure name consistency.
2011-09-04 21:26:11 +01:00
Ariya Hidayat
5889ef75e9
Merge pull request #149 from Roejames12/master
...
Tons of updates :)
2011-09-04 00:24:29 -07:00
IceArmy
5f69a34a4f
Add execjosh to webpage-shim copyrights
2011-09-03 23:52:36 -07:00
Paul Dixon
461d533348
Removing unnecessary Terminal include
2011-09-02 17:47:33 +02:00
mintbridge
af71868c23
add basic http auth support to networkaccessmanager, and add the ability to pass the auth credentials in from the command line
2011-09-02 16:35:58 +01: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
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
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
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
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
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
66460a7793
Fix building with Qt 4.6.
2011-08-24 05:48:07 -07:00
Ariya Hidayat
6fe972d0a8
Implement WebPage's release() function in pure C++.
2011-08-23 18:53:53 -07:00
Ariya Hidayat
08e6c5b8cd
Merge pull request #132 from execjosh/issue-194-default-encoding-utf8
...
[BUGFIX] issue 194: make default encoding UTF-8
2011-08-22 09:02:29 -07:00
Ariya Hidayat
d3cb9fe750
Fix typo.
2011-08-21 22:07:33 -07:00
Ariya Hidayat
c75e595ea4
Merge branch 'master' of github.com:ariya/phantomjs
2011-08-21 15:23:07 -07:00
IceArmy
fb93d49a7f
Rename page.destroy() to page.release()
2011-08-21 14:12:15 -07:00
IceArmy
3caac5a5a3
Rename "XSSAuditing" to "XSSAuditingEnabled"
2011-08-21 14:08:14 -07:00
execjosh
d78b1e1f5e
[BUGFIX] issue 194: make default encoding UTF-8
2011-08-21 19:48:02 +09:00
Ariya Hidayat
f95a39230b
Clean up WebPage#open, use named arguments.
2011-08-21 01:34:14 -07:00
Ariya Hidayat
6e4c1a40f2
Simplify WebPage#open, first argument is always url.
2011-08-21 01:25:43 -07:00
Ariya Hidayat
34a7389a2c
Make Terminal class a real singleton.
2011-08-21 00:47:34 -07:00