Commit Graph

468 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
06b090bf96 Bug 918364 - Make exceptions more meaningful in OS.File. r=froydnj 2013-10-11 11:50:52 -04:00
Marco Castelluccio
9d0ac7a132 Bug 923540 - Add a function to recursively remove directories. r=Yoric 2013-10-10 10:59:49 -04:00
Ms2ger
1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Ryan VanderMeulen
af288628a8 Merge m-c to inbound. 2013-09-30 16:51:06 -04:00
Ryan VanderMeulen
1f31fb75a5 Merge fx-team to m-c.
--HG--
rename : mobile/android/base/UpdateServiceHelper.java => mobile/android/base/updater/UpdateServiceHelper.java
2013-09-30 16:18:53 -04:00
Bill McCloskey
b5ee798d6c Bug 885615 - Fix "reference to undefined property exn.stack" (r=Yoric) 2013-09-30 12:24:40 -07:00
Gregory Szorc
e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Marco Castelluccio
bca52b1804 Bug 920686 - [OS.File] Add some constants to OS.Constants.Path for WebappsInstaller.jsm. r=yoric 2013-09-30 10:59:41 -04:00
Ed Morley
53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
David Rajchenbach-Teller
46d2889c34 Bug 845190 - Reactivate tests blocked by bug 888347. r=yoric 2013-09-25 11:43:48 -04:00
Errietta Kostala
b632835600 Bug 918354 - Remove outer try/catch in osfile_async_worker.js. r=yoric 2013-09-23 14:41:01 +01:00
Brandon Benvie
18a7c4ce75 Bug 919769 - Make OS.Path.normalize correctly handle forward slashes on Windows. r=yoric 2013-09-24 10:59:37 -07:00
David Rajchenbach-Teller
1f9f58f0cd Bug 910827 - Setting OS.File DEBUG will not automatically start the OS.File thread. r=froydnj 2013-09-23 12:18:28 -04:00
David Rajchenbach-Teller
beb7dc48d7 Bug 891300 - Porting ospath_* to the module loader. r=froydnj
--HG--
rename : toolkit/components/osfile/modules/ospath_unix_back.jsm => toolkit/components/osfile/modules/ospath_unix.jsm
rename : toolkit/components/osfile/modules/ospath_win_back.jsm => toolkit/components/osfile/modules/ospath_win.jsm
2013-09-19 08:55:53 -04:00
Ryan VanderMeulen
8e0a6c6e41 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
David Rajchenbach-Teller
94f905da01 Bug 916687 - Leaked directory detection, increasing test timeout. r=yoric 2013-09-17 11:39:02 -04:00
Cameron McCormack
a35d05564f Bug 910300 - Silence "reference to undefined property options.bytes" warning. r=dteller 2013-09-17 17:53:29 +10:00
David Rajchenbach-Teller
a79fe11c8d Bug 913899 - Plugging OS.File to AsyncShutdown;r=froydnj 2013-09-14 18:48:39 +02:00
David Rajchenbach-Teller
f973db63f5 Bug 913899 - Plugging OS.File to AsyncShutdown (tests);r=froydnj 2013-09-14 18:48:37 +02:00
David Rajchenbach-Teller
629f254aaa Bug 874435 - Round dates given by stat() up/down more generously in tests. r=froydnj 2013-09-06 09:19:05 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
David Rajchenbach-Teller
437cf8b162 Bug 874425 - Ensure that durationMs >= 0. r=yoric 2013-08-30 08:15:13 -04:00
Ryan VanderMeulen
be2b91609d Backed out changesets 19dd0130c6ae and d986a560fbdd (bug 865387) for Android test failures on a CLOSED TREE. 2013-08-26 15:02:15 -04:00
Sankha Narayan Guria
9b556b8e87 Bug 865387 - Handle the read-ahead flag operation on Linux. r=Yoric 2013-08-26 20:42:31 +05:30
Sankha Narayan Guria
2cbe51dca0 Bug 865387 - Changes to |options| and |clone| in OS.File. r=Yoric 2013-08-23 19:42:30 +05:30
David Rajchenbach-Teller
992f997845 Bug 874425 - Ensure that we never return an negative duration. r=froydnj 2013-08-26 10:33:49 -04:00
David Rajchenbach-Teller
4f0e565e43 Bug 874425 - Add more logging to attempt to find out source of negative durations under Windows. r=yoric 2013-08-23 10:06:33 -04:00
David Rajchenbach-Teller
fc3f49102a Bug 872577 - Using default resolution for free() instead of libc. r=froydnj
--HG--
extra : rebase_source : d31bbc9108fb9ca81b0d6d18f97d4afab2e380de
2013-08-14 22:12:47 +02:00
Mike Hommey
c8262683c4 Bug 904364 - Don't build an empty (fake) library in toolkit/components/osfile. r=mshal 2013-08-15 23:45:06 +09:00
Ryan VanderMeulen
6b3c77a10d Bug 827805 - Fix xpcshell manifest so that the new test runs and test_logging.js remains disabled. 2013-08-13 14:47:37 -04:00
Ryan VanderMeulen
852acf63db Backed out changeset 9baba7e5b351 (bug 872577) for multiple Android failures.
CLOSED TREE
2013-08-13 12:51:17 -04:00
David Rajchenbach-Teller
ed9c8a89a4 Bug 872577 - Using default resolution for free() instead of libc. r=nfroyd
--HG--
extra : rebase_source : 70884bd2b27ebf7c9ec2273e495808a655283c49
2013-08-13 16:04:40 +02:00
David Rajchenbach-Teller
136069a831 Bug 874435 - Fix lastAccessDate/lastModificationDate typo. r=froydnj 2013-08-12 08:40:42 -04:00
Sunny
aaba8eb2da Bug 827805 - [OS.File] Use Deprecated.jsm to mark deprecation of OS.File.Info.prototype.creationDate. r=yoric 2013-08-09 14:10:44 -04:00
David Rajchenbach-Teller
cba68435bc Bug 900944 - OS.File LOG now actually logs. r=froydnj 2013-08-02 12:42:46 -04:00
Ms2ger
12e1ffe745 Bug 897573 - Get rid of the make rules from toolkit/components/osfile/Makefile.in; r=glandium
--HG--
rename : toolkit/components/osfile/_PromiseWorker.jsm => toolkit/components/osfile/modules/_PromiseWorker.jsm
rename : toolkit/components/osfile/osfile_async_front.jsm => toolkit/components/osfile/modules/osfile_async_front.jsm
rename : toolkit/components/osfile/osfile_async_worker.js => toolkit/components/osfile/modules/osfile_async_worker.js
rename : toolkit/components/osfile/osfile_shared_allthreads.jsm => toolkit/components/osfile/modules/osfile_shared_allthreads.jsm
rename : toolkit/components/osfile/osfile_shared_front.jsm => toolkit/components/osfile/modules/osfile_shared_front.jsm
rename : toolkit/components/osfile/osfile_unix_allthreads.jsm => toolkit/components/osfile/modules/osfile_unix_allthreads.jsm
rename : toolkit/components/osfile/osfile_unix_back.jsm => toolkit/components/osfile/modules/osfile_unix_back.jsm
rename : toolkit/components/osfile/osfile_unix_front.jsm => toolkit/components/osfile/modules/osfile_unix_front.jsm
rename : toolkit/components/osfile/osfile_win_allthreads.jsm => toolkit/components/osfile/modules/osfile_win_allthreads.jsm
rename : toolkit/components/osfile/osfile_win_back.jsm => toolkit/components/osfile/modules/osfile_win_back.jsm
rename : toolkit/components/osfile/osfile_win_front.jsm => toolkit/components/osfile/modules/osfile_win_front.jsm
rename : toolkit/components/osfile/ospath_unix_back.jsm => toolkit/components/osfile/modules/ospath_unix_back.jsm
rename : toolkit/components/osfile/ospath_win_back.jsm => toolkit/components/osfile/modules/ospath_win_back.jsm
2013-08-02 09:03:47 +02:00
Ms2ger
fcfe6983ba Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Mark Hammond
08fbf95b1f Bug 899436 - OS.File lastModificationDate is erroneously returning lastAccessDate on Windows. r=yoric
--HG--
extra : rebase_source : 24dbad71e167374820fb79be32d018b7a4d90c19
2013-07-31 12:02:26 +10:00
David Rajchenbach-Teller
2458ae39b8 Bug 889876 - Make OS.Constants.Path.profileDir earlier. r=froydnj 2013-07-23 09:20:54 -04:00
Irving Reid
004ddcd57d Bug 890387: handle zero values in OS.File options arguments, r=Yoric 2013-07-13 12:37:08 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
David Rajchenbach-Teller
a2552d0e20 Bug 890050 - OS.File.writeAtomic should rename by default. r=froydnj 2013-07-10 14:57:17 -04:00
Ryan VanderMeulen
03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders
63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
David Rajchenbach-Teller
5f4d724ed4 Bug 888479 - Port osfile_shared_allthreads.jsm and dependents to worker module loader. r=froydnj 2013-07-09 09:09:16 -04:00
Tim Taubert
5ddc37fef0 merge m-c to fx-team 2013-07-05 08:56:02 +02:00
Tim Taubert
6666eafa43 Bug 890112 - [OS.File] DirectoryIterator should correctly implement iterator interface; r=yoric 2013-07-04 12:56:22 +02:00
Irving Reid
25f83e43ce Bug 889908: Report open failure for non-flushing writeAtomic r=Yoric DONTBUILD 2013-07-03 13:52:49 -04:00
Birunthan Mohanathas
eea82fdfd5 Bug 857077 - Add ignoreAbsent option to OS.File.remove. r=yoric 2013-07-01 09:26:12 -04:00
Ryan VanderMeulen
e7f4d8086a Bug 845190 - Disable test_logging on linux too. 2013-07-01 08:51:46 -04:00
Stefan Mirea
d44e08b773 Bug 887907 - Move OS.File to use Promise.jsm; r=gps
--HG--
extra : rebase_source : cab194eea7781dfd5c14732a77710d6d7904525b
2013-06-27 11:15:41 -07:00
David Rajchenbach-Teller
d8c828d9ff Bug 886997 - Don't flush by default;r=froydnj 2013-06-27 13:19:54 -04:00
Paolo Amadini
6df1314056 Bug 886375 - Add the becauseAccessDenied property to OS.File.Error. r=yoric 2013-06-26 14:20:42 +02:00
Brian O'Keefe
11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Varun Joshi
cf48c60812 Bug 862765 - Fixed undefined OS.Shared.TEST. r=yoric 2013-06-13 09:35:12 -04:00
Yura Zenevich
b288c8e0a9 Bug 881483 - Remove noOptions constant in favor of an object literal. r=yoric 2013-06-11 09:50:35 -04:00
Ryan VanderMeulen
780105221c Bug 845190 - Revert previous attempt to fix and re-disable tests. 2013-06-11 08:12:06 -04:00
David Rajchenbach-Teller
bedc6e2041 Bug 845190 - Re-enable test_logging.js and test_645970.js on all platforms. r=yoric 2013-06-10 22:07:41 -04:00
David Rajchenbach-Teller
d23366fba0 Bug 874435 - Assume lower file system time precision. r=froydnj 2013-05-30 11:25:48 -04:00
David Rajchenbach-Teller
92b440a954 Bug 874425 - More logging in outExecutionDuration tests. 2013-05-29 20:56:08 -04:00
Yura Zenevich
26e3c3a45c Bug 866293 - Increase test timeout threshold once more to a 1000MS to avoid intermittent test failures. r=yoric 2013-05-29 19:26:41 -04:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Kushagra Sinha
0869438fd3 Bug 870622 - Unexpected Unix error when filename is not defined. Typechecking for |writeAtomic| function. r=yoric 2013-05-16 20:27:27 +05:30
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Phil Ringnalda
dada7e49b3 Bug 845190 - Disable test_logging.js on Windows debug for permaorange from thread pool assertions when random JS engine patches land
--HG--
extra : rebase_source : 18b52f714e7ac4d81e8bf2e365930b57ed867a1f
2013-05-06 18:34:53 -07:00
Yura Zenevich
229e5a4f6e Bug 866293 - Increase test timeout threshold to avoid intermittent test failures. r=Yoric 2013-04-30 10:26:46 -04:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Yura Zenevich
37eaa9a7ad Bug 862570 - Add a preference for an observer listening for test.osfile.web-workers-shutdown. r=yoric 2013-04-26 10:10:59 -04:00
Norbert Lindenberg
c278f40b1e Bug 845190 - Made test_logging.js correctly ignore messages it wants to ignore. r=dteller 2013-04-25 14:57:13 -07:00
Ginn Chen
ea9c77ed5a Bug 861829 Fix symbol names of *stat on Solaris, make |dirent| work on Solaris r=dteller 2013-04-25 10:08:31 +08:00
David Rajchenbach-Teller
76dc64de91 Bug 858723 - Fix _fdmsg test in async OS.File. r=froydnj 2013-04-23 08:22:15 -04:00
Yura Zenevich
01ffb34bc6 Bug 861264 - Add support for options argument for OS.File.read method. r=Yoric 2013-04-14 21:32:07 -04:00
David Rajchenbach-Teller
5271a3986f Bug 860291 - Fix options check in osfile_async_worker.js. r=froydnj 2013-04-12 08:20:31 -04:00
Jonathan Laver
f691f4a8d7 Bug 851044 - Modified stringifyArgs to use the objects toString method if it is not Object.prototype.toString when logging. r=Yoric 2013-04-05 10:29:16 +01:00
Sunny
0851990b98 Bug 854350 - Add some cleanup code which fixes mochitest failures. r=Yoric 2013-04-02 10:16:28 -04:00
Sunny
821cbcd701 Bug 854350 - [OS.File] Clean up code by using default arguments. r=Yoric 2013-04-02 10:15:41 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
David Rajchenbach-Teller
14a91281f6 Bug 853860 - outExecutionDuration now accumulates durations. r=froydnj 2013-04-01 10:37:51 -04:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Rajchenbach-Teller
cdcc26e4b7 Bug 846848 - UNC-formated paths. r=froydnj 2013-03-29 11:29:28 -04:00
Florian Quèze
f18afe15cb Bug 855112 - OS.File.read fails with a "reference to undefined property options.bytes" JS Error, r=Yoric. 2013-03-28 14:46:45 +01:00
David Rajchenbach-Teller
baa3584d66 Bug 852143 - Write strings efficiently in OS.File. r=froydnj 2013-03-28 09:16:13 -04:00
Ryan VanderMeulen
4ddd42edd4 Backed out changeset ed90c16f9b22 (bug 854350) for mochitest-other failures on a CLOSED TREE. 2013-03-27 12:08:08 -04:00
Ryan VanderMeulen
a521727b0c Backed out changeset ef6fba6c2878 (bug 852143) for mochitest-other orange on a CLOSED TREE. 2013-03-27 12:05:32 -04:00
Sunny
e143956093 Bug 854350 - [OS.File] Clean up code by using default arguments. r=Yoric 2013-03-27 10:52:46 -04:00
David Rajchenbach-Teller
6042452327 Bug 852143 - Write strings efficiently in OS.File. r=froydnj 2013-03-27 10:52:46 -04:00
Cykesiopka
c9740856b3 Bug 802989 - [OS.File] Fix documentation of OS.Path. r=Yoric 2013-03-27 10:52:46 -04:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Yura Zenevich
898385c758 Bug 848278 - Add an |outExecutionDuration| option to all osfile operations that support options argument. It will be udpated with the actual time it took to perform the operation off the main thread. r=yoric 2013-03-19 09:23:59 -04:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
David Rajchenbach-Teller
e75b053974 Bug 840436 - OS.File.writeAtomic without flush doesn't rename anymore. r=froydnj 2013-02-25 09:07:16 -05:00
Yura Zenevich
1af9ac6db6 Bug 777712 - Adding file descriptors leaks logging on web-workers-shutdown. r=yoric 2013-02-20 08:50:51 -05:00
Ryan VanderMeulen
28982fff89 Backed out changeset eac4470ca9f2 (bug 777712) for xpcshell failures. 2013-02-19 12:28:10 -05:00
Yura Zenevich
5c059e83f7 Bug 777712 - Adding file descriptors leaks logging on web-workers-shutdown. r=yoric 2013-02-19 11:23:11 -05:00
Yura Zenevich
c80968a8c2 Bug 828204 - Make if DEBUG statements internal to LOG in osfile. Add new TEST flag for logging into Console.services. r=yoric 2013-02-16 10:40:15 -05:00
David Rajchenbach-Teller
0d052f61c1 Bug 840887 - Test the behavior of DirectoryIterator when the directory doesn't exist. r=froydnj 2013-02-26 12:08:51 -05:00
David Rajchenbach-Teller
15b21c14a2 Bug 840887 - DirectoryIterator.prototype.exists - asynchronous version. r=froydnj 2013-02-26 12:08:28 -05:00
David Rajchenbach-Teller
f28096d843 Bug 840887 - Fix behavior of DirectoryIterator when the directory doesn't exist - Windows version. r=froydnj 2013-02-26 12:08:07 -05:00
David Rajchenbach-Teller
ac1b70af12 Bug 840887 - Fix behavior of DirectoryIterator when the directory doesn't exist - Unix version. r=froydnj 2013-02-26 12:07:42 -05:00
David Rajchenbach-Teller
98dd3b4649 Bug 840436 - [OS.File] writeAtomic without flush. r=froydnj 2013-02-14 09:11:58 -05:00
Yura Zenevich
6896335612 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add File.GET_DEBUG method used for testing. r=dteller 2013-02-13 20:51:39 -05:00
Dave Townsend
cd10174200 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Kartikaya Gupta
228117109b Back out of d8d79ba17527 (bug 828201) as it caused a significant memory regression on Android. r=me 2013-02-01 13:41:42 -05:00
Mitesh Pathak
4e247b0648 Bug 808492 - Support double-closing DirectoryIterator in asynchronous mode. r=dteller 2013-01-17 15:22:09 +05:30
Yura Zenevich
0a3fe23198 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add a File.GET_DEBUG method used for testing. r=dteller 2013-01-29 10:50:04 -05:00
David Rajchenbach-Teller
75d0c15526 Bug 830694 - Taking advantage of zero-copy transfer between workers;r=froydnj 2013-01-16 13:30:28 +01:00
Eduard Neculaesi
c477da3299 Bug 802534 - [OS.File] Main thread versions of OS.File.Info and OS.File.DirectoryIterator.Entry should have nice prototypes; r=yoric 2013-01-10 10:40:46 -08:00
David Rajchenbach-Teller
4991a52dc6 Bug 827206 - OS.File.exists for Windows should now work on directories. r=froydnj 2013-01-07 21:29:22 -05:00
Dustin L. Howett
960de8b6c2 Bug 812647 - Fix OS.File's failure to find libc on case-sensitive OS X filesystems. r=Yoric 2012-12-23 10:52:35 -05:00
David Rajchenbach-Teller
58b6b11735 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-19 20:11:14 -05:00
David Rajchenbach-Teller
cde9388a9f Bug 820681 - Restore OS.Constants.Path.{profileDir, localProfileDir} to its previous state. r=Yoric 2012-12-16 19:37:11 -05:00
Sankha Narayan Guria
5be458e420 Bug 809305 - [OS.File] Share the common functions in the test suite. r=Yoric 2012-12-16 19:31:35 -05:00
David Rajchenbach-Teller
f7a60afb5d Bug 810543 - do_get_profile now sends the correct events. r=froydnj,khuey 2012-12-11 15:12:59 -08:00
David Rajchenbach-Teller
6f0542cfef Bug 810543 - OS.File now adapts if OS.Constants.Path.profileDir is not available;r=froydnj 2012-12-11 15:12:59 -08:00
Benjamin Peterson
5d2d786fba Bug 819601 - Don't redeclare formal. r=Yoric 2012-12-08 10:07:32 -05:00
Ryan VanderMeulen
7038283143 Backed out changeset b4b3522a6c08 (bug 815339) due to mochitest timeouts. 2012-12-03 21:23:05 -05:00
David Rajchenbach-Teller
97fc5ed662 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-03 20:26:16 -05:00
Amod Narvekar
80f0ffa28b Bug 781346 - Expose local profie directory to OS.Constants.Path. r=yoric 2012-12-01 21:20:44 -05:00
David Rajchenbach-Teller
816029c53b Bug 807875 - Implement creationDate correctly for Mac OS X. r=froydnj 2012-11-15 11:22:27 -08:00
David Rajchenbach-Teller
f7aae016b2 Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
Sankha Narayan Guria
dd87eaeb0b Bug 775949 - [OS.File] Test suite uses |info| instead of |ok|. r=Yoric 2012-11-12 16:43:45 -05:00
Phil Ringnalda
8028630a5a Back out 5ebd6549bf93 and 73287cb2dc6a (bug 794091) on suspicion of breaking Win64 PGO builds 2012-11-08 20:43:18 -08:00
David Rajchenbach-Teller
fa73294e7c Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
David Rajchenbach-Teller
fbba29d672 Bug 808428 - Testing that OS.File can be called from xpcshell. r=nfroyd
--HG--
extra : rebase_source : 6dfc9107c4ff2453b47a3df528ca8d0037b91cf8
2012-11-05 07:59:00 -08:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Eduard Neculaesi
e984f4916a Bug 804566 - [OS.File] Add an option ignoreExisting to OS.File.makeDir r=dteller
--HG--
extra : rebase_source : 9c09886a434bc800c51be348e6761b5131da01e2
2012-10-31 01:19:44 +02:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
David Rajchenbach-Teller
b308603424 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
8f44b62329 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
b0a5453bf1 Backout fdb7c9649a07 (bug 805967), 72003517a631 (bug 806538), 354250ed1e72 (bug 770538), ea6edd3749ce (bug 770538) for bustage on a CLOSED TREE 2012-10-30 17:56:20 +00:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
David Rajchenbach-Teller
ec00829162 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
4edd47e296 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Andres Hernandez
3be55836cf Bug 805472 - [OS.File] Ensure that all test files are removed. r=Yoric 2012-10-25 14:11:06 -06:00
Andres Hernandez
66186d0f3c Bug 800697 - [OS.File] Convert async testsuite to use Task.js. r=Yoric 2012-10-23 11:48:52 -06:00
David Rajchenbach-Teller
81bd9620af Bug 803190 - Replace test_osfile_comms scaffolding with something more robust. r=froydnj 2012-10-23 18:30:28 -04:00
WangJun
f4577f8a8e Bug 793682 - [OS.File] getCurrentDirectory/setCurrentDirectory for the main thread. r=Yoric 2012-10-15 23:05:44 +08:00
David Rajchenbach-Teller
78caaeda9b Bug 800493 - Remove now useless libxul code from OS.File. r=froydnj 2012-10-16 21:34:03 -04:00
Andres Hernandez
c61c599711 Bug 799226 - Optimize |OS.File.exists| r=Yoric 2012-10-16 09:39:27 -06:00
Andres Hernandez
d84353a588 Bug 796953 - [OS.File] writeAtomic should accept an option noOverwrite. r=Yoric 2012-10-09 12:10:06 -06:00
David Rajchenbach-Teller
1016f5ef0b Bug 794104 - In async OS.File, DEBUG should be false. r=yoric 2012-10-03 18:19:23 -04:00
David Rajchenbach-Teller
516fe93481 Bug 793435 - Open worker_test_osfile_win.js instead of worker_test_osfile_unix.js. r=yoric 2012-10-03 18:19:23 -04:00
WangJun
e83732b663 Bug 793435 - Handle INVALID_HANDLE in CloseHandle and FindClose correctly. r=yoric 2012-10-02 20:56:47 +08:00
David Rajchenbach-Teller
26975dfd87 Bug 795687 - Move all of OS.File to typed arrays instead of array buffers. r=froydnj 2012-10-02 20:14:39 -04:00
David Rajchenbach-Teller
aa41b8c4bd Bug 786211 - Async OS.File.{read, writeAtomic} test suite. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
ba24c6d5b4 Bug 786211 - Async OS.File.{read, writeAtomic}. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
bc0f746fc5 Bug 786211 - OS.File atomic write (test suite). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
ea30070c4e Bug 786211 - OS.File atomic write (platform code). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
911e3cf594 Bug 786211 - OS.File atomic write (shared code). r=froydnj 2012-09-27 23:05:59 -04:00
David Rajchenbach-Teller
f4ea86edef Bug 793949 - Test that OS.File.copy overwrites rather than appending. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
bf90e74313 Bug 793949 - Fix flags to ensure that OS.File.copy overwrites rather than appending. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
f1d8f5d772 Bug 784717 - Asynchronous directory walk tests. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
0ed700aa80 Bug 784717 - Asynchronous directory walk controller code. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
a4e93a7925 Bug 784717 - Asynchronous directory walk worker code. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
53c0c2a4b9 Bug 777711 - Async OS.File makefile changes. r=yoric 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
d60705f667 Bug 777711 - Async OS.File test suite. r=taras 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
3b2b16c359 Bug 777711 - Async OS.File worker. r=taras 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
a61d5862a6 Bug 777711 - Async OS.File controller. r=taras 2012-09-22 20:48:25 -04:00
David Rajchenbach-Teller
23d9f9f8ad Bug 792668 - Simplify code shared between implementations of HANDLE. r=froydnj 2012-09-22 17:11:44 -04:00
David Rajchenbach-Teller
da637b19df Bug 782231 - Testsuite for the new features of DirectoryIterator. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
12c6c1d23b Bug 782231 - Do not automatically reopen a DirectoryIterator that is closed before being used on Windows. r=yoric 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
5223f5926b Bug 782231 - Implement DirectoryIterator.prototype.nextBatch. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
b217046b3e Bug 782231 - Implement DirectoryIterator.prototype.forEach. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
effb615fc7 Bug 782231 - Share code between implementations of DirectoryIterator. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
962cfb1956 Bug 790633 - Make FindClose errors visible to the test suite. r=froydnj 2012-09-21 23:36:14 -04:00
David Rajchenbach-Teller
c0a7bf2cb5 Bug 790649 r=froydnj 2012-09-20 10:46:35 -04:00
Abhishek Potnis
0580007f9d Bug 786592 - Remove the logging of OS.Path.normalize from ospath_unix_back.jsm. r=yoric 2012-09-19 15:07:02 +05:30
Jim Mathies
19a7b479ca Bug 789344 - osfile.jsm referenced by wrong url. r=nfroyd 2012-09-08 06:13:34 -05:00
David Rajchenbach-Teller
ce77c7bf96 Bug 769191 - Have OS.File.prototype.{readTo, write} extrapolate a default length. r=froydnj 2012-09-01 11:35:55 -04:00
David Rajchenbach-Teller
7a8843adac Bug 786673 - Make mkstemp should return a file descriptor. r=froydnj
--HG--
extra : rebase_source : 10c20b2feb1b21db67acdaffc742cff06fd068af
2012-08-31 06:36:41 -04:00
Abhishek Potnis
a942c5ef0a Bug 785200 - Conditioned logging in osfiles with exports.OS.Shared.DEBUG. r=yoric
--HG--
extra : rebase_source : e6e9de813d8ec5f82f32522d32e0cedb0ec07f2c
2012-08-29 14:12:23 +05:30
Luqman Aden
6abc76683b Bug 786196 - [OS.File] Implement flushing. r=yoric 2012-08-29 10:31:30 -04:00
David Rajchenbach-Teller
73346d65f2 Bug 780483 - Tests. r=froydnj 2012-08-30 18:03:06 -04:00
David Rajchenbach-Teller
5648cd14d2 Bug 780483 - Make {read, write} become {_read, _write} and {readTo, writeFrom} become {read, write}. r=froydnj 2012-08-30 18:03:06 -04:00
Ryan VanderMeulen
9f725f39e3 Backout 84103a267a9e (bug 785200) due to debug orange on a CLOSED TREE. 2012-08-29 18:37:17 -04:00
Abhishek Potnis
1570bc3f0d Bug 785200 - Conditioned logging in osfiles with exports.OS.Shared.DEBUG. r=dteller 2012-08-29 14:12:23 +05:30
David Rajchenbach-Teller
c4e0c5ec98 Bug 785828 - Load libxul.so lazily in OS.Shared. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
0d7ff796f0 Bug 784373 - Test setPosition without optional argument. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
595db2985a Bug 784373 - Fixed typo: SEEK_START => SEEK_SET. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
044a0462b3 Bug 771617 - Tests for readTo/writeFrom/readAll. r=froydnj 2012-08-25 17:18:44 -04:00
David Rajchenbach-Teller
4530bd3994 Bug 771617 - Fix WinFile.{ReadFile, WriteFile} to accept void*. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
17197c8619 Bug 771617 - OS.File.prototype.{readTo, writeFrom, readAll}. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
e7229b5ea3 Bug 771617 - Refactoring to better share code between implementations of OS.File. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
9ac2b8bc83 Bug 783676 - Export OS.Path (companion test suite). r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
233f482c10 Bug 783676 - Normalize "../../..". r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
9aa6058459 Bug 783676 - Export OS.Path. r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
490bdffd0b Bug 761138 - Create/remove directories (testsuite). r=froydnj 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
0080c00d94 Bug 761138 - Create/remove directories (Windows version). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
65847c8b1f Bug 761138 - Create/remove directories (Unix version). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
23ec77e999 Bug 775588 - Test that temporary directory, profile directory are present. r=yoric
--HG--
extra : rebase_source : ec3ac0e47c1b86241cee965c3bad14bc5ca28116
2012-08-22 16:58:09 -04:00
David Rajchenbach-Teller
877a376872 Bug 782303 - Serialize directory entries. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
d823deabd9 Bug 776259 - Serialize file info. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
fe2c20fbb6 Bug 771929 - Serialize numbers. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
e9801e280b Bug 783284 - [OS.File] Rename *Time to *Date. r=froydnj 2012-08-18 08:25:49 -04:00
David Rajchenbach-Teller
d93d980752 Bug 780501 - Path types for OS.File;r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
3ac3a5d124 Bug 771928 - Test OS.File pointer arithmetic. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
f3ff2d0747 Bug 771928 - OS.File pointer arithmetics. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
91508cb1e9 Bug 773643 - Test (de)serialization of errors. r=froydnj 2012-08-14 19:56:47 -04:00
David Rajchenbach-Teller
f6684c5700 Bug 773643 - Serialize Windows errors. r=froydnj 2012-08-14 19:56:47 -04:00
David Rajchenbach-Teller
8ad0645be7 Bug 773643 - Serialize Unix errors. r=froydnj 2012-08-14 19:56:47 -04:00
Ehsan Akhgari
a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
David Rajchenbach-Teller
79073c71c4 Bug 780499 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
77b42beade Bug 780499 - Rearrange setPosition constants. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
e10b180871 Bug 771927 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
646fa86596 Bug 771927 - [OS.File] (de)serialize ArrayBuffer, C arrays, C pointers, Strings - Implementation. r=froydnj 2012-08-13 21:54:42 -04:00
David Rajchenbach-Teller
2f58a5a3a9 Bug 770215 - [OS.File] Utilities for strings - Tests for Unicode conversion. r=froydnj 2012-08-10 11:52:56 -04:00
David Rajchenbach-Teller
880050ffc2 Bug 770215 - [OS.File] Utilities for strings - Companion makefile. r=yoric 2012-08-10 11:52:56 -04:00
David Rajchenbach-Teller
d21328d0a9 Bug 770215 - [OS.File] Utilities for strings - Expose native code to JS. r=froydnj 2012-08-10 11:52:55 -04:00
David Rajchenbach-Teller
53d7d9861a Bug 770215 - [OS.File] Utilities for strings - Native code. r=froydnj 2012-08-10 11:52:55 -04:00
Jacek Caban
12a886bcb1 Bug 782204 - Fixed osfileutils.cpp compilation on case sensitive OSes r=dteller
--HG--
extra : rebase_source : 57687cc61a8af200fe499b47bb201d43b0b169ea
2012-08-14 11:17:53 +02:00
David Rajchenbach-Teller
4b498591db Bug 772187 - OS.Type refactoring (Unix-specific). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
aa156fccdd Bug 772187 - OS.Type refactoring (Windows-specific). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
8bbe129fee Bug 772187 - OS.Type refactoring (shared code). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
254b25f375 Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
David Rajchenbach-Teller
3ef511b172 Bug 780498 - More general fix. r=nfroyd 2012-08-07 20:49:07 -04:00
Phil Ringnalda
e9b9fa8970 Backout e662aa8c9389 (Bug 780604), 3979c98e3e9a:5ccb28fc0bee (Bug 780498) for Windows orange 2012-08-07 21:26:41 -07:00
David Rajchenbach-Teller
d4a7f8bbda Bug 780604 - Fix merge snafu in Windows version of OS.File.DirectoryIterator. r=yoric 2012-08-07 20:49:07 -04:00
David Rajchenbach-Teller
6ac61a78ee Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
David Rajchenbach-Teller
0e2b728383 Bug 780498 - More general fix. r=nfroyd 2012-08-07 20:49:07 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
David Rajchenbach-Teller
1ab1be7ee4 Bug 769312 - Adapt the rest of the code (Windows side). r=taras 2012-07-26 21:17:23 -04:00
David Rajchenbach-Teller
5d0b2d6b1b Bug 769312 - Windows errors. r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
50bd6a0512 Bug 769312 - Adapt the rest of the code (Unix side). r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
0ad05c015f Bug 769312 - Unix errors. r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
d0b02a1f32 Bug 769312 - Shared code. r=yoric
--HG--
rename : toolkit/components/osfile/osfile_shared.jsm => toolkit/components/osfile/osfile_shared_allthreads.jsm
2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
2379c34c10 Bug 766194 - Testsuite for stat;r=taras 2012-07-21 19:48:45 +02:00
David Rajchenbach-Teller
089f3a45d9 Bug 766194 - Windows front-end;r=taras 2012-07-21 19:48:20 +02:00
David Rajchenbach-Teller
50ae11c1d5 Bug 766194 - Unix front-end definitions for stat;r=taras 2012-07-21 19:48:17 +02:00
David Rajchenbach-Teller
dfa2c9eae8 Bug 766194 - Windows back-end definitions for stat;r=taras 2012-07-21 19:46:39 +02:00
David Rajchenbach-Teller
032726d943 Bug 766194 - Unix back-end definitions for stat;r=taras 2012-07-21 19:46:20 +02:00
David Rajchenbach-Teller
e0941fce7b Bug 766194 - Shared support code;r=taras 2012-07-21 19:44:58 +02:00
David Rajchenbach-Teller
a911d7a942 Bug 769310 - Unix paths. r=taras 2012-07-18 21:09:14 -04:00
David Rajchenbach-Teller
c53891fffa Bug 769310 - Windows paths. r=taras 2012-07-18 21:09:14 -04:00
Ms2ger
21e20c133c Bug 774691 - Don't include rules.mk twice in toolkit/components/osfile/tests/mochi/Makefile.in; r=glandium 2012-07-18 12:36:08 +02:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
David Rajchenbach-Teller
2ae8a6e46a Bug 764436 - Windows back-end;r=taras 2012-07-05 10:21:09 +02:00
David Rajchenbach-Teller
effd10ae59 Bug 764436 - Windows front-end;r=taras 2012-07-05 10:21:00 +02:00
David Rajchenbach-Teller
d37c316908 Bug 764436 - Companion test suite;r=taras 2012-07-05 10:20:52 +02:00
David Rajchenbach-Teller
e6435169a7 Bug 764436 - Unix front-end;r=taras 2012-07-05 10:20:30 +02:00
David Rajchenbach-Teller
fd60ea7131 Bug 764436 - Unix back-end;r=taras 2012-07-05 10:20:19 +02:00
David Rajchenbach-Teller
38991b7fd2 Bug 764436 - Shared code;r=taras 2012-07-05 10:20:07 +02:00
David Rajchenbach-Teller
6c4c8af2a5 Bug 707696 - Windows test suite. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
adcc97e8ee Bug 707696 - Unix test suite. r=taras 2012-07-03 18:40:53 -04:00