Commit Graph

136 Commits

Author SHA1 Message Date
Florian Quèze
8f9f3cce67 Bug 1218882 - lz4.js should be usable outside of workers, r=Yoric.
--HG--
rename : toolkit/components/workerlz4/lz4.cpp => toolkit/components/lz4/lz4.cpp
rename : toolkit/components/workerlz4/lz4.js => toolkit/components/lz4/lz4.js
rename : toolkit/components/workerlz4/lz4_internal.js => toolkit/components/lz4/lz4_internal.js
rename : toolkit/components/workerlz4/moz.build => toolkit/components/lz4/moz.build
rename : toolkit/components/workerlz4/tests/xpcshell/data/chrome.manifest => toolkit/components/lz4/tests/xpcshell/data/chrome.manifest
rename : toolkit/components/workerlz4/tests/xpcshell/data/compression.lz => toolkit/components/lz4/tests/xpcshell/data/compression.lz
rename : toolkit/components/workerlz4/tests/xpcshell/data/worker_lz4.js => toolkit/components/lz4/tests/xpcshell/data/worker_lz4.js
rename : toolkit/components/workerlz4/tests/xpcshell/test_lz4.js => toolkit/components/lz4/tests/xpcshell/test_lz4.js
rename : toolkit/components/workerlz4/tests/xpcshell/xpcshell.ini => toolkit/components/lz4/tests/xpcshell/xpcshell.ini
2015-10-28 12:35:05 +01:00
Tooru Fujisawa
accd89d4fd Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 5yrVqfOUmEG
extra : rebase_source : e2ec30261bd76c1966b0e61fd7e08c2924f270b0
2015-09-24 20:32:23 +09:00
Tooru Fujisawa
e5f587574b Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure
--HG--
extra : commitid : 4RedbQZ6Rzu
2015-09-27 23:42:50 +09:00
Tooru Fujisawa
b92d75e47c Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 2Gx1wpjvr9w
extra : rebase_source : 0a378fd51f45d3fe71430ad8a37a79a8862bfa76
2015-09-24 20:32:23 +09:00
Georg Fritzsche
274a1f794e Bug 1204834 - OS.File.writeAtomic should have the path argument in its closure. r=yoric 2015-09-15 17:17:00 +07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alessio Placitelli
505181a2f7 Bug 1164822 - Fix OS.File.remove not throwing with unexisting files. r=Yoric 2015-05-19 14:10:17 -07:00
Valentin Gosu
8452755ec9 Bug 1040285 - Single Quotes in HTTP request-uri Are Incorrectly Encoded as %27 r=MattN 2015-04-28 18:29:34 +03:00
Valentin Gosu
b6ae7d5d90 Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk 2015-04-28 18:29:22 +03:00
Ganesh Sahukari
4b15c2aa09 Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Mohamed Waleed
ac0e27511a Bug 1106938 - When OS.File stores information on calls for AsyncShutdown, also store the Task.stack. r=yoric 2015-03-10 05:26:00 -04:00
Andrew Sutherland
1adc0f5ef7 Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread. This patch corrects the
queue management so races with killing are not possible. A test is added that
fails without the fix and passes with it. See the comments in the test and
test for further details. Also, the bug is nice.
2015-02-25 00:43:13 -05:00
Andrew Sutherland
b0b2c340eb Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
Andrew Sutherland
566180e08d Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
Dhi Aurrahman
5b8f79fc23 Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz 2015-02-04 18:46:26 +07:00
Jon Coppeard
0e23adfc34 Bug 1077354 - Transfer buffers to OS.File methods rather than passing a pointer r=froydnj 2015-01-08 11:31:21 +00:00
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