Ariya Hidayat
080eb26a11
Add the proper *.js files to OTHER_FILES.
2011-09-08 07:15:13 -07:00
Ariya Hidayat
d94b0c4fbb
Fix missing rename from commit 059e7258
.
2011-09-07 20:50:02 -07:00
Ariya Hidayat
059e72588c
Rename option/config to localToRemoteUrlAccess(Enabled).
2011-09-07 09:27:20 -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
Ariya Hidayat
962f99fa77
Fix typo in the method name.
2011-09-06 17:00:55 -07:00
Ariya Hidayat
e14c07f288
Fix member variable initialization order.
2011-09-06 16:38:51 -07:00
Ariya Hidayat
07c6eb81f5
Sort include files alphabetically.
2011-09-06 16:37:54 -07:00
Ariya Hidayat
3dc9fe53a0
Disk cache object is private for network access.
2011-09-06 16:36:23 -07:00
Ariya Hidayat
c0e179d59e
Do not manage object lifetime, rely on Qt for that.
2011-09-06 16:35:19 -07:00
Ariya Hidayat
cebe64ec31
Config to limit the disk cache size.
...
Based on the previous patch at https://github.com/ariya/phantomjs/pull/144 .
http://code.google.com/p/phantomjs/issues/detail?id=220
2011-09-06 16:33:11 -07:00
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