Commit Graph

120 Commits

Author SHA1 Message Date
Gaurav Rai
3962e29eb3 Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 +01:00
Eric Faust
8c9327a4b7 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Carsten "Tomcat" Book
1ddef21ea8 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Eric Faust
5f99a47be9 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Carsten "Tomcat" Book
059bc8bcd2 Backed out changeset 48099863baec (bug 1075438) for add-on bustage 2014-10-29 12:57:14 +01:00
Gaurav Rai
086f2a8caa Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 -04:00
Iaroslav Sheptykin
5ebafccaf7 Bug 1023685 - Support writing encoded zero-byte strings in OS.File.writeAtomic. r=yoric
Patch originally created by KeyboardFire <andy@keyboardfire.com>.
2014-09-23 06:50:00 -04:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
David Rajchenbach-Teller
ce2b9814dc Bug 1044700 - Make OS.Path.join and OS.File.makeDir more resilient to denormalized paths. r=froydnj 2014-08-20 07:39:00 -04:00
Nathan Froyd
542214c4df Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Paolo Amadini
1492e70b40 Bug 1023402 - API review for OS.File.setPermissions. r=Yoric
--HG--
rename : toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPerms.js => toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPermissions.js
2014-07-09 14:26:41 +01:00
Lynn Tran
029d85bf33 Bug 1003336 - OS.Constants.Sys.Name should not be "Android" for Firefox OS. r=yoric 2014-07-04 18:20:49 -04:00
David Rajchenbach-Teller
eda4343134 Bug 801598 - Making OS.File use the now public PromiseWorker API. r=froydnj 2014-06-28 12:04:00 +02:00
David Rajchenbach-Teller
8a06cee147 Bug 801598 - Exposing OS.File communication mechanism as an independent API. r=froydnj
--HG--
rename : toolkit/components/osfile/modules/_PromiseWorker.jsm => toolkit/components/promiseworker/PromiseWorker.jsm
2014-06-28 12:03:00 +02:00
David Rajchenbach-Teller
b0f695d6be Bug 883609 - Making OS.File.removeDir work without options;r=froydnj 2014-06-24 16:51:02 +02:00
Zack Weinberg
6f9f35438c Bug 1001849: expose general chmod, and chmod-to-umask, support in OS.File. r=yoric 2014-06-20 19:54:06 -04:00
David Rajchenbach-Teller
24fcd57abd Bug 1008944 - Expose AsyncShutdown barriers for OS.File. r=froydnj 2014-06-17 15:11:00 -04:00
Ryan VanderMeulen
028ca01a20 Merge inbound to m-c. a=merge 2014-06-10 00:45:12 -04:00
David Rajchenbach-Teller
43ebf8cc06 Bug 1014484 - Fix 'toString is read-only' errors on B2G. r=froydnj 2014-06-09 08:26:00 -04:00
David Rajchenbach-Teller
f7fd2e76e3 Bug 1011158 - Tighten the lock around OS.File |kill| operation. r=froydnj 2014-06-09 06:25:00 -04:00
Shashank Sabniveesu
c2dff795e4 Bug 994651 - Fix 'TypeError: anonymous function does not always return a value osfile_shared_front.jsm:551'. r=Yoric 2014-05-23 08:37:00 -04:00
Masatoshi Kimura
7370176fe0 Bug 1007797 - Save ctypes.winLastError to prevent WinFile.GetFileAttributes from clobbering it. r=yoric 2014-05-12 22:46:49 +09:00
David Rajchenbach-Teller
d6f5da42b5 Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
David Rajchenbach-Teller
d13e9068ab Bug 995162 - Rewrite the mechanism that (re)starts the OS.File worker. r=froydnj 2014-04-16 17:04:47 -04:00
kushagra singh[:kushagra]
e08aaf6c19 Bug 819068 - Implementing OS.File.queue. r=Yoric 2014-04-12 21:02:06 -04:00
Nils Maier
86cfc9cc0f Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
David Rajchenbach-Teller
cb7efd3977 Bug 961317 - Clean up OS.File shutdown race condition and rework OS.File reset/shutdown. r=froydnj 2014-04-02 11:42:51 -04:00
Ryan VanderMeulen
ce35bbbf54 Backed out changeset 4eb0d4408fd2 (bug 961317) for Windows xpcshell failures. 2014-04-01 10:46:44 -04:00
David Rajchenbach-Teller
041278819d Bug 989129 - ReferenceError: reference to undefined property options.bytes in workerlz4/lz4.js. r=yoric 2014-04-01 08:57:25 -04:00
David Rajchenbach-Teller
af1d8aa35a Bug 961317 - Clean up OS.File shutdown race condition and rework OS.File reset/shutdown. r=froydnj 2014-04-01 08:57:25 -04:00
David Rajchenbach-Teller
f5db5c387e Bug 934283 - Add option to OS.File.makeDir to recursively make directories;r=froydnj 2014-03-28 17:33:36 -07:00
Abhishek Potnis
7e112e2563 Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric 2014-03-28 10:36:48 -04:00
David Rajchenbach-Teller
1b5f5e3e5b Bug 965527 - More and more logging for OS.File AsyncShutdown. r=froydnj 2014-03-21 13:44:58 -04:00
Carsten "Tomcat" Book
26f471ed60 Merge mozilla-central to fx-team 2014-03-21 15:35:37 +01:00
Ryan VanderMeulen
d269ff5c2a Backed out 3 changesets (bug 965527, bug 859059, bug 812172) for mochitest and xperf orange on a CLOSED TREE
Backed out changeset 18f579c4308e (bug 965527)
Backed out changeset 70ed33107301 (bug 859059)
Backed out changeset 7b59b92580fa (bug 812172)
2014-03-21 10:33:18 -04:00
Masatoshi Kimura
f26ac39a5d Bug 974677 - Stop following symlinks when OS.File removes a directory. r=yoric 2014-03-21 12:59:59 +09:00
David Rajchenbach-Teller
89a19eb4f8 Bug 985980 - Restore off main thread logging for OS.File. r=froydnj 2014-03-21 09:07:30 -04:00
David Rajchenbach-Teller
5d444bbb67 Bug 965527 - More and more logging for OS.File AsyncShutdown. r=froydnj 2014-03-21 08:57:08 -04:00
David Rajchenbach-Teller
38421c7ca4 Bug 981875 - Improve error _PromiseWorker's error reporting in case of xpcom error. r=froydnj 2014-03-15 17:19:00 -04:00
David Rajchenbach-Teller
1b4b73d192 Bug 961665 - Native implementation of OS.File.read, js code. r=froydnj 2014-03-14 10:13:50 -04:00
Ryan VanderMeulen
d2b4456c69 Backed out changesets c6ca1aa3887a, d741e117a033, 1fd26e822e73, and 720962c9f993 (bug 961665) for build bustage and xpcshell failures. 2014-03-13 10:32:57 -04:00
David Rajchenbach-Teller
c5eec2eb74 Bug 961665 - Native implementation of OS.File.read, js code. r=froydnj 2014-03-13 09:51:50 -04:00
Wes Kocher
bac7e8cad4 Backed out changeset 9a5b7ed8dae4 (bug 965527) on a CLOSED TREE 2014-03-11 13:38:25 -07:00
Alexandre Lissy
f5f93772f8 Bug 973538 - Throw an exception on undefined values for OS.Path.join() and OS.Path.winGetDrive(). r=Yoric 2014-02-17 12:02:26 +01:00
David Rajchenbach-Teller
1af328747f Bug 965527 - Harden OS.File shutdown flag. r=froydnj 2014-03-06 12:50:28 -05:00
Carsten "Tomcat" Book
5d5e9aeb99 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Peiyong Lin
78963dfcf5 Bug 967507 - [OS.File] Add |path| for error-reporting. r=Yoric 2014-02-24 10:16:01 -05:00
David Rajchenbach-Teller
8453de76b1 Bug 965527 - Further AsyncShutdown error reporting for OS.File. r=yoric 2014-02-24 10:15:47 -05:00
Paolo Amadini
147a66e633 Bug 973931 - OS.File.makeDir should not fail if the directory is a root in the format "D:". r=Yoric 2014-02-24 22:25:29 +01:00
David Rajchenbach-Teller
db044b26df Bug 957123 - Better AsyncShutdown error reporting for OS.File. r=froydnj 2014-02-07 10:52:47 -05:00