Rich Hong
|
f51103f44a
|
Update internalModuleReadFile to support unpacked asar files
Add tests for reading unpacked files using both fs.readFileSync and
internalModuleReadFile
|
2015-06-22 19:38:47 -04:00 |
|
Cheng Zhao
|
db8ffe1dc7
|
Handle ".." in asar path, fix #1982
|
2015-06-17 15:52:49 +08:00 |
|
Cheng Zhao
|
605722c397
|
Make asar work with internalModuleReadFile and internalModuleStat
|
2015-06-10 16:18:55 +08:00 |
|
Kirk Ouimet
|
75448ad7ed
|
Guarding against polluted Object.prototypes
|
2015-06-07 23:59:49 -07:00 |
|
Cheng Zhao
|
0e7bc6b8ec
|
Make "original-fs" available as built-in module
|
2015-05-20 13:29:05 +08:00 |
|
Cheng Zhao
|
d9c769fa69
|
Reuse archive's fd in Node asar API
|
2015-05-11 11:10:50 +08:00 |
|
deepak1556
|
da648511b3
|
asar: make fs async methods create errors asynchronously
|
2015-04-25 10:08:02 +05:30 |
|
Cheng Zhao
|
500d15f53a
|
Also remove user-defined search paths in renderer
|
2015-04-23 13:17:18 +08:00 |
|
Cheng Zhao
|
1479f73612
|
Simplify #1261
|
2015-03-21 19:20:52 +08:00 |
|
Cheng Zhao
|
5e8c478b2c
|
Merge pull request #1261 from deepak1556/asar_lib_patch
fs.read empty files from asar archive
|
2015-03-21 19:17:49 +08:00 |
|
deepak1556
|
fdc10e4e5f
|
Allow reading empty file from asar archive
|
2015-03-21 14:56:03 +05:30 |
|
Cheng Zhao
|
b5a8cfb704
|
Recognize asar archive with unpacked files
|
2015-03-20 20:34:58 +08:00 |
|
Cheng Zhao
|
1df033dce8
|
No need to override child_process.fork
We already support asar in Node mode.
|
2015-03-20 19:04:11 +08:00 |
|
Cheng Zhao
|
0b8efc434d
|
Use __dirname when setting globalPaths
|
2015-02-13 12:55:06 +08:00 |
|
Cheng Zhao
|
45e2dd2ab5
|
Init asar support without external .js files
|
2015-02-04 10:45:17 -08:00 |
|
Cheng Zhao
|
6e469df90e
|
Fix string escaping
|
2015-02-02 13:35:32 -08:00 |
|
Cheng Zhao
|
0c0a6bd939
|
Don't touch global fs object in graceful-fs
|
2015-02-02 13:35:32 -08:00 |
|
Cheng Zhao
|
afd6f41e08
|
Redirect process.binding('natives').fs to global fs object
|
2015-02-02 13:35:32 -08:00 |
|
Cheng Zhao
|
0a393eaa1c
|
Enable wrap arbitrary fs object
|
2015-02-02 13:35:32 -08:00 |
|
Cheng Zhao
|
69092eee15
|
No need to preheat original-fs module
|
2015-01-19 15:47:21 -08:00 |
|
Cheng Zhao
|
5cb97545fd
|
Add original-fs module
|
2014-11-12 11:09:59 +08:00 |
|
Cheng Zhao
|
48d54e8d3a
|
Fix JavaScript errors in webview
|
2014-11-03 22:18:03 +08:00 |
|
Subash Pathak
|
9f8a5a7af3
|
Optimize fs.stat
|
2014-10-02 23:35:37 +05:45 |
|
Subash Pathak
|
dde8e47add
|
Time Shim
|
2014-10-01 22:24:51 +05:45 |
|
Subash Pathak
|
0040f07097
|
Added Stat Time
|
2014-10-01 22:01:57 +05:45 |
|
Cheng Zhao
|
e316e4a267
|
Upgrade node to v0.11.4, fixes #669
|
2014-09-30 23:14:25 +08:00 |
|
Cheng Zhao
|
915c1b19d3
|
asar: Fix fs.realpath on package's root
|
2014-09-30 15:09:50 +08:00 |
|
Cheng Zhao
|
b87dfb964c
|
asar: Add support in fs.realpath
|
2014-09-30 14:57:49 +08:00 |
|
Cheng Zhao
|
885ac53a48
|
asar: Add support in fs.realpathSync
|
2014-09-30 14:53:58 +08:00 |
|
Cheng Zhao
|
e24976c59f
|
Fix overriding async node API
|
2014-09-29 16:28:51 +08:00 |
|
Cheng Zhao
|
35e867820e
|
Make sure fs.stat and fs.lstat are async
|
2014-09-29 14:59:44 +08:00 |
|
Cheng Zhao
|
a757c62da5
|
Use "null" instead of "undefined" as no error
|
2014-09-29 14:57:10 +08:00 |
|
Cheng Zhao
|
4d01aa2772
|
Fix shifting args in fs.readFile
|
2014-09-28 23:36:12 +08:00 |
|
Cheng Zhao
|
150739e19e
|
Fix calling fs.open in fs.readFile wrapper
|
2014-09-28 22:45:29 +08:00 |
|
Cheng Zhao
|
38f83cacf9
|
Make some APIs work with archive.copyFileOut API.
|
2014-09-25 23:25:17 +08:00 |
|
Cheng Zhao
|
8acf96d268
|
Make spliting paths faster.
|
2014-09-25 22:18:40 +08:00 |
|
Cheng Zhao
|
390b804ca0
|
Make process.dlopen work for asar packages.
|
2014-09-25 21:49:28 +08:00 |
|
Cheng Zhao
|
05317ad81e
|
Clean cached asar archives when quitting.
|
2014-09-25 21:49:01 +08:00 |
|
Cheng Zhao
|
dbbfef38b1
|
Cache asar archives on JavaScript side.
|
2014-09-25 20:48:32 +08:00 |
|
Cheng Zhao
|
e0c469183d
|
Make sure fs.readdir calls its callback asynchronously.
|
2014-09-24 19:10:37 +08:00 |
|
Cheng Zhao
|
4d2e4ed573
|
Fill the stats object as much as we can.
|
2014-09-24 19:10:13 +08:00 |
|
Cheng Zhao
|
0cab034dab
|
Make fs.readdir support asar package.
|
2014-09-24 18:44:00 +08:00 |
|
Cheng Zhao
|
9f9d209e3d
|
Make options of fs.readFile work.
|
2014-09-24 16:24:22 +08:00 |
|
Cheng Zhao
|
8740147aa2
|
Make fs.readFile support asar package
|
2014-09-24 15:38:07 +08:00 |
|
Cheng Zhao
|
9b755620d3
|
Make fs.stat support asar package
|
2014-09-24 15:38:02 +08:00 |
|
Cheng Zhao
|
382dbb500c
|
Also fix setInterval for #481.
|
2014-08-07 14:23:28 +08:00 |
|
Cheng Zhao
|
d29efb7f81
|
Force updating timeout when setTimeout is called, fixes #481.
|
2014-08-07 10:37:38 +08:00 |
|
Cheng Zhao
|
750148f7b4
|
Fix using common modules.
|
2014-06-30 10:06:10 +08:00 |
|
Cheng Zhao
|
cd4c5d976b
|
Adapt to API changes of Chromium and node.
|
2014-06-28 22:33:00 +08:00 |
|
Cheng Zhao
|
5dd5f18edf
|
Fix process.resourcesPath.
|
2014-03-16 13:24:25 +08:00 |
|