Gregory Szorc
c00bb93774
Bug 963327 - Improve profile-dependent handling of OS.Constants.Path; r=Yoric
...
Many properties in OS.Constants.Path are dependent on the profile being
available. This patch improves their handling.
Previously, we had some repeated and boilerplate code for making
OS.Constants.Paths.<prop> a lazy getter. This patch eliminates the
boilerplate by iterating over the properties that need to be lazy
getters.
AppData and UAppData are now lazy getters.
test_profiledir.js has been rolled into test_path_constants.js.
test_path_constants.js now emits a warning when a comparison doesn't
test anything. This should help identify ineffective tests going
forward.
2014-01-24 11:34:30 -08:00
David Rajchenbach-Teller
c68fbd941d
Bug 916076 - Tests for OS.File telemetry. r=froydnj
2014-01-22 12:21:44 -05:00
Sumit Agrawal
96dd045226
Bug 958354 - OS.Constants.Path should expose UAppData. r=Yoric
2014-01-13 08:45:20 -05:00
Ryan VanderMeulen
ca494fa043
Backed out changeset 13bea55207f2 (bug 952997) for xpcshell orange.
2014-01-10 11:33:35 -05:00
David Rajchenbach-Teller
fd5dc954ed
Bug 854169 - OS.File.{read, writeAtomic} support for lz4. r=froydnj
2014-01-09 17:10:05 +01:00
Nils Maier
011208a7f3
Bug 952997 - Fix OS.File large file support. r=Yoric
2014-01-10 08:15:37 -05:00
Dustin J. Mitchell
3db5fb625b
Bug 803188 - Support converting between file paths and file:/// uris in OS.File. r=Yoric
2013-12-16 14:55:37 -05:00
David Rajchenbach-Teller
ae0baf923b
Bug 935792 - ignoreAbsent flag for removeDir() doesn't default to true as intended/documented. r=froydnj
2013-11-26 14:21:03 -05:00
David Rajchenbach-Teller
168e753fd8
Bug 941565 - Fix OS.Constants.Path.libxul on Android. r=glandium
2013-11-25 09:32:29 -05:00
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Avinash Kundaliya
161e60bf87
Bug 897023 - [OS.File] Be smarter with functions that can fail with becauseAbsent/becauseExists. r=yoric
2013-11-15 21:46:59 -05:00
Ryan VanderMeulen
c3c4ed3717
Backed out changeset 3232989e79e7 (bug 897023) for mochitest-other failures.
2013-11-11 10:55:36 -05:00
Avinash Kundaliya
a6faa2f322
Bug 891110 - Detecting attempts to pass undefined in declareFFI. r=Yoric
2013-11-11 09:18:22 -05:00
Avinash Kundaliya
ffa216cce2
Bug 897023 - [OS.File] Be smarter with functions that can fail with becauseAbsent/becauseExists. r=Yoric
2013-11-11 09:02:13 -05:00
Ryan VanderMeulen
d21a3f3f4d
Backed out 5 changesets (bug 854169) for Android crashes.
...
Backed out changeset 8898b6c66941 (bug 854169)
Backed out changeset 12cebd8b5669 (bug 854169)
Backed out changeset 844860e32631 (bug 854169)
Backed out changeset 4ede802f8dbb (bug 854169)
Backed out changeset ccae8b3f0a7d (bug 854169)
2013-11-08 10:52:02 -05:00
David Rajchenbach-Teller
b4171db1bd
Bug 854169 - OS.File.{read, writeAtomic} support for lz4. r=froydnj
2013-11-08 09:16:05 -05:00
Felix H. Dahlke
8670dadc7a
Bug 921229 - Remove files with the read-only flag set. r=yoric
2013-10-29 09:27:01 +01:00
Chris Manchester
af4c9f68b4
Bug 885480 - Set becauseNoSuchFile on windows for osfile errors produced as a result of no such directory. r=yoric
2013-10-29 17:35:31 -04:00
Nils Maier
8b7cb8f596
Bug 924916: Part 4 - xpcshell tests for OS.File.setDates(). r=yoric
2013-10-28 05:42:00 +00:00
Nils Maier
f9c46e8aaf
Bug 912457 - Expose async |flush()| in OS.File. r=yoric
2013-10-27 19:03:25 -04:00
Nils Maier
6ced290c9d
Bug 924858 - Part 1: Add |append| mode flag to OS.File.open on Unix. r=yoric
...
To match previous behavior, this mode flag will default to |true|.
2013-10-27 08:03:16 -04:00
David Rajchenbach-Teller
0b0724d4dd
Bug 927560 - Shutdown osfile_async_worker.js, companion tests;r=froydnj
2013-10-17 06:57:00 +01:00
Nils Maier
9036e98063
Bug 928239 - Fix pump_userland fallback in OS.File.copy. r=yoric
2013-10-21 06:50:00 +01:00
David Rajchenbach-Teller
e7b72fb2e7
Bug 801376 - OS.File loads symbols lazily;r=froydnj
2013-10-22 02:43:00 +01:00
David Rajchenbach-Teller
0e59655734
Bug 904652 - Port osfile_{win, unix}_allthreads.jsm to a module loader. r=froydnj
2013-10-16 11:15:04 -04:00
Marcos Aruj
1d9bda1ddd
Bug 866571 - [OS.File] Add createUnique method. r=yoric
2013-10-16 08:21:39 -04:00
Ryan VanderMeulen
18857620bb
Backed out changeset 03d629375717 (bug 904652) for suspicion of causing mass test bustage.
...
CLOSED TREE
2013-10-15 15:22:13 -04:00
Nils Maier
d4e58ba289
Bug 926691 - OS.File API must preverse |bytes| options to .readTo() and .write(). r=yoric
2013-10-15 14:05:57 -04:00
David Rajchenbach-Teller
1a8aba9d55
Bug 904652 - Port osfile_{win, unix}_allthreads.jsm to module loader. r=froydnj
2013-10-15 13:28:26 -04:00
David Rajchenbach-Teller
ae973fd312
Bug 918364 - Make exceptions more meaningful in OS.File. r=froydnj
2013-10-11 11:50:52 -04:00
Marco Castelluccio
6f59a8da37
Bug 923540 - Add a function to recursively remove directories. r=Yoric
2013-10-10 10:59:49 -04:00
Ms2ger
37114e13e1
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Ryan VanderMeulen
f17826b8da
Merge fx-team to m-c.
2013-09-30 16:18:53 -04:00
Gregory Szorc
a126585769
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Marco Castelluccio
ebff877a81
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
7bd637970d
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
365ec41916
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
David Rajchenbach-Teller
01622129a1
Bug 845190 - Reactivate tests blocked by bug 888347. r=yoric
2013-09-25 11:43:48 -04:00
Brandon Benvie
321541a5f1
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
9d97bf081c
Bug 891300 - Porting ospath_* to the module loader. r=froydnj
2013-09-19 08:55:53 -04:00
David Rajchenbach-Teller
e272b585bb
Bug 916687 - Leaked directory detection, increasing test timeout. r=yoric
2013-09-17 11:39:02 -04:00
David Rajchenbach-Teller
f20c6d8e3a
Bug 913899 - Plugging OS.File to AsyncShutdown (tests);r=froydnj
2013-09-14 18:48:37 +02:00
David Rajchenbach-Teller
3d94265d78
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
b207d5baf7
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
David Rajchenbach-Teller
2f9c73f02b
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
Ryan VanderMeulen
90c38fc21b
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
David Rajchenbach-Teller
d23a4938ff
Bug 874435 - Fix lastAccessDate/lastModificationDate typo. r=froydnj
2013-08-12 08:40:42 -04:00
Sunny
55186b8801
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
071a838454
Bug 889876 - Make OS.Constants.Path.profileDir earlier. r=froydnj
2013-07-23 09:20:54 -04:00
David Rajchenbach-Teller
14fb301a63
Bug 890050 - OS.File.writeAtomic should rename by default. r=froydnj
2013-07-10 14:57:17 -04:00