Ryan VanderMeulen
8699cfbd9c
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
149c44a9b6
Bug 961665 - Native implementation of OS.File.read, js code. r=froydnj
2014-03-13 09:51:50 -04:00
Wes Kocher
0700e2d0e2
Backed out changeset 9a5b7ed8dae4 (bug 965527) on a CLOSED TREE
2014-03-11 13:38:25 -07:00
Alexandre Lissy
72d66a8491
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
28f4683e55
Bug 965527 - Harden OS.File shutdown flag. r=froydnj
2014-03-06 12:50:28 -05:00
Carsten "Tomcat" Book
56828d94d4
Merge mozilla-central to fx-team on a CLOSED TREE
2014-02-25 15:42:32 +01:00
Peiyong Lin
dafb5d4d20
Bug 967507 - [OS.File] Add |path| for error-reporting. r=Yoric
2014-02-24 10:16:01 -05:00
David Rajchenbach-Teller
f603828aaa
Bug 965527 - Further AsyncShutdown error reporting for OS.File. r=yoric
2014-02-24 10:15:47 -05:00
Paolo Amadini
c77e0bbb7d
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
f5968cddb9
Bug 957123 - Better AsyncShutdown error reporting for OS.File. r=froydnj
2014-02-07 10:52:47 -05:00
Alessio Placitelli
689c681e73
Bug 924874 - Add OS.File.getAvailableFreeSpace for Windows and Linux. r=Yoric
2014-01-15 02:04:00 -05:00
Paolo Amadini
ed964f7e3c
Bug 960962 - OS.File normalization and concatenation issues on Windows. r=Yoric
2014-02-10 19:59:29 +01:00
Peiyong Lin
92e0dacca6
Bug 964735 - Convert libc into Library to make it link lazily. r=Yoric
2014-02-07 10:37:21 -05:00
Peiyong Lin
769ef8f6c3
Bug 965196 - [OS.File] Add an option |backupTo| to writeAtomic. r=Yoric
2014-02-06 15:10:08 -05:00
Kay Plößer
cb5fdb2f75
Bug 960046 - [OS.File] makeDir should not fail if the directory is a root. r=Yoric
2014-02-06 10:05:43 -05:00
Tareq Khandaker
cb5f54e898
Bug 961050 - Reference to undefined property options.compression. r=Yoric
2014-02-05 13:39:48 -05:00
David Rajchenbach-Teller
25aff1a953
Bug 960509 - Load libSystem for MacOS X 32 bit. r=glandium
2014-01-28 08:50:34 -05:00
Peiyong Lin
f5eedaaae8
Bug 827803 - [OS.File] Refine exception transmission across threads. r=Yoric
2014-01-28 08:50:33 -05:00
Gregory Szorc
2ee1ef9cfc
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
Ed Morley
257aa136ff
Backed out changeset ad7fc270445d (bug 963327) for xpcshell failures on a CLOSED TREE
2014-01-27 17:19:01 +00:00
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
Ryan VanderMeulen
75fca0bae3
Merge fx-team to m-c.
2014-01-22 15:32:22 -05:00
Masatoshi Kimura
770921903c
Bug 951028 - Fix NTFS permissions when a file is moved to a different directory. r=yoric,bbondy
2014-01-23 02:33:48 +09:00
David Rajchenbach-Teller
afaa495ef8
Bug 916076 - Add telemetry for OS.File. r=froydnj
2014-01-22 12:21:43 -05:00
David Rajchenbach-Teller
9e57eae457
Bug 878791 - Link OS.File to 'libc.so' and 'a.out' without further niceties. r=glandium
2014-01-13 09:09:30 -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
David Rajchenbach-Teller
618b8247c0
Bug 854169 - Lazy loading for lz4 bindings. r=froydnj
2014-01-09 17:10:04 +01:00
David Rajchenbach-Teller
45833582d1
Bug 854169 - Move OS.File's normalizeToPointer() to SharedAll. r=froydnj
2014-01-09 17:10:03 +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
Peiyong Lin
f791520796
Bug 951202 - Change bindings declared with declareLazyFFI to be enumerable. r=Yoric
2013-12-17 16:29:17 -05:00
Fabrice Desré
1cf7aa7a16
Bug 944859 - osfile_async_worker.js worker is never shut down in the parent process. r=yoric
2013-12-03 09:48:01 -08: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
Bill McCloskey
5f3c521ca4
Bug 940217 - Fix error report about StopIteration promise (r=Yoric)
2013-11-20 13:35:25 -08:00
Jan Beich
9e4306a609
Bug 939527 - Make OS.File.stat() use correct type for file size. r=Yoric
2013-11-19 14:58:00 -05: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
Martin Husemann
0c7cc7524e
Bug 935962: [OS.File] create a special type for stat.st_size and deal with NetBSD libc symbol names. r=yoric
2013-11-09 08:36:19 +01:00
Kyle Huey
1df2e75c40
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08: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
1c33a4aee1
Bug 924916: Part 3 - Provide async OS.File.setDates() API for main-thread. r=yoric
2013-10-28 05:41:00 +00:00
Nils Maier
1fb6e921a1
Bug 924916: Part 2 - Implement OS.File.setDates() for Windows. r=yoric
2013-10-28 05:40:00 +00:00
Nils Maier
53182b42c6
Bug 924916: Part 1 - Implement OS.File.setDates() for Unix. r=yoric
2013-10-28 05:40: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
b588fe089e
Bug 924858 - Part 2: Implement |append| mode for OS.File.open on Windows. r=yoric
2013-10-27 08:03:35 -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