Commit Graph

166 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
39028f8b7c Bug 786211 - OS.File atomic write (test suite). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
c9140839ad Bug 786211 - OS.File atomic write (platform code). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
7eb6ad5e49 Bug 786211 - OS.File atomic write (shared code). r=froydnj 2012-09-27 23:05:59 -04:00
David Rajchenbach-Teller
0152fb09bf Bug 793949 - Test that OS.File.copy overwrites rather than appending. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
bf2df9e641 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
7ad7cc3735 Bug 784717 - Asynchronous directory walk tests. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
1e9291e938 Bug 784717 - Asynchronous directory walk controller code. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
4acfe0dcdf Bug 784717 - Asynchronous directory walk worker code. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
312324b83a Bug 777711 - Async OS.File makefile changes. r=yoric 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
8984a78b61 Bug 777711 - Async OS.File test suite. r=taras 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
aab8da4b44 Bug 777711 - Async OS.File worker. r=taras 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
0a5755149b Bug 777711 - Async OS.File controller. r=taras 2012-09-22 20:48:25 -04:00
David Rajchenbach-Teller
abfdf3f22d Bug 792668 - Simplify code shared between implementations of HANDLE. r=froydnj 2012-09-22 17:11:44 -04:00
David Rajchenbach-Teller
cea5170832 Bug 782231 - Testsuite for the new features of DirectoryIterator. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
cd25d0694b 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
b4cfe92218 Bug 782231 - Implement DirectoryIterator.prototype.nextBatch. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
37a991847c Bug 782231 - Implement DirectoryIterator.prototype.forEach. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
61afa94a58 Bug 782231 - Share code between implementations of DirectoryIterator. r=froydnj 2012-09-21 23:36:15 -04:00
David Rajchenbach-Teller
00708a5c02 Bug 790633 - Make FindClose errors visible to the test suite. r=froydnj 2012-09-21 23:36:14 -04:00
David Rajchenbach-Teller
bdfc941e84 Bug 790649 r=froydnj 2012-09-20 10:46:35 -04:00
Abhishek Potnis
b88dfa40fc 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
1dc2fef29c Bug 789344 - osfile.jsm referenced by wrong url. r=nfroyd 2012-09-08 06:13:34 -05:00
David Rajchenbach-Teller
309d44cc2a 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
ac6668d008 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
94d12d670f 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
772829484a Bug 786196 - [OS.File] Implement flushing. r=yoric 2012-08-29 10:31:30 -04:00
David Rajchenbach-Teller
f2b6131ff6 Bug 780483 - Tests. r=froydnj 2012-08-30 18:03:06 -04:00
David Rajchenbach-Teller
0e1e714c5c 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
5a69b0a918 Backout 84103a267a9e (bug 785200) due to debug orange on a CLOSED TREE. 2012-08-29 18:37:17 -04:00
Abhishek Potnis
8e63d297e5 Bug 785200 - Conditioned logging in osfiles with exports.OS.Shared.DEBUG. r=dteller 2012-08-29 14:12:23 +05:30
David Rajchenbach-Teller
65719a4f7f Bug 785828 - Load libxul.so lazily in OS.Shared. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
a7c531b1ca Bug 784373 - Test setPosition without optional argument. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
fbfbf26fa2 Bug 784373 - Fixed typo: SEEK_START => SEEK_SET. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
ca1a728fc9 Bug 771617 - Tests for readTo/writeFrom/readAll. r=froydnj 2012-08-25 17:18:44 -04:00
David Rajchenbach-Teller
a90159d61b Bug 771617 - Fix WinFile.{ReadFile, WriteFile} to accept void*. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
f43abd5010 Bug 771617 - OS.File.prototype.{readTo, writeFrom, readAll}. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
efba2518c7 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
9ee8ed57ee Bug 783676 - Export OS.Path (companion test suite). r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
89bde2c5b1 Bug 783676 - Normalize "../../..". r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
326e47e183 Bug 783676 - Export OS.Path. r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
8795bbf704 Bug 761138 - Create/remove directories (testsuite). r=froydnj 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
57d1134ed4 Bug 761138 - Create/remove directories (Windows version). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
300050b577 Bug 761138 - Create/remove directories (Unix version). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
3880ef8d38 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
aae499be46 Bug 782303 - Serialize directory entries. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
78915f7eb1 Bug 776259 - Serialize file info. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
a9d944b960 Bug 771929 - Serialize numbers. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
9e6cb7e3a2 Bug 783284 - [OS.File] Rename *Time to *Date. r=froydnj 2012-08-18 08:25:49 -04:00
David Rajchenbach-Teller
99e34b8691 Bug 780501 - Path types for OS.File;r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
481b4a6df6 Bug 771928 - Test OS.File pointer arithmetic. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
ea388b9318 Bug 771928 - OS.File pointer arithmetics. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
e181c0ea1a Bug 773643 - Test (de)serialization of errors. r=froydnj 2012-08-14 19:56:47 -04:00
David Rajchenbach-Teller
67aaa1d185 Bug 773643 - Serialize Windows errors. r=froydnj 2012-08-14 19:56:47 -04:00
David Rajchenbach-Teller
44fd0c8fc4 Bug 773643 - Serialize Unix errors. r=froydnj 2012-08-14 19:56:47 -04:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
David Rajchenbach-Teller
47f43de75d Bug 780499 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
b1c678c8c0 Bug 780499 - Rearrange setPosition constants. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
b4f02b2e84 Bug 771927 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
f8e594fa56 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
26fdbf38ba Bug 770215 - [OS.File] Utilities for strings - Tests for Unicode conversion. r=froydnj 2012-08-10 11:52:56 -04:00
David Rajchenbach-Teller
4911e07fe0 Bug 770215 - [OS.File] Utilities for strings - Companion makefile. r=yoric 2012-08-10 11:52:56 -04:00
David Rajchenbach-Teller
fe9871e678 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
e4095e8aff Bug 770215 - [OS.File] Utilities for strings - Native code. r=froydnj 2012-08-10 11:52:55 -04:00
Jacek Caban
bd4bc32c13 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
bfb7b8b595 Bug 772187 - OS.Type refactoring (Unix-specific). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
c56ca54b3a Bug 772187 - OS.Type refactoring (Windows-specific). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
f91eddba9b Bug 772187 - OS.Type refactoring (shared code). r=froydnj 2012-08-09 15:13:46 -04:00
David Rajchenbach-Teller
2706ff8d89 Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
David Rajchenbach-Teller
081bc013a0 Bug 780498 - More general fix. r=nfroyd 2012-08-07 20:49:07 -04:00
Phil Ringnalda
34da573846 Backout e662aa8c9389 (Bug 780604), 3979c98e3e9a:5ccb28fc0bee (Bug 780498) for Windows orange 2012-08-07 21:26:41 -07:00
David Rajchenbach-Teller
76e4b6111e 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
1c875c6ae5 Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
David Rajchenbach-Teller
1a3910c0a8 Bug 780498 - More general fix. r=nfroyd 2012-08-07 20:49:07 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
David Rajchenbach-Teller
fed6f1c0d5 Bug 769312 - Adapt the rest of the code (Windows side). r=taras 2012-07-26 21:17:23 -04:00
David Rajchenbach-Teller
bddd2a0e3a Bug 769312 - Windows errors. r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
7ac15b4866 Bug 769312 - Adapt the rest of the code (Unix side). r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
ec092e4e6c Bug 769312 - Unix errors. r=taras 2012-07-26 21:17:22 -04:00
David Rajchenbach-Teller
76ee26113b 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
3e962aa776 Bug 766194 - Testsuite for stat;r=taras 2012-07-21 19:48:45 +02:00
David Rajchenbach-Teller
078ad93f85 Bug 766194 - Windows front-end;r=taras 2012-07-21 19:48:20 +02:00
David Rajchenbach-Teller
9efc8f1cfb Bug 766194 - Unix front-end definitions for stat;r=taras 2012-07-21 19:48:17 +02:00
David Rajchenbach-Teller
134496e065 Bug 766194 - Windows back-end definitions for stat;r=taras 2012-07-21 19:46:39 +02:00
David Rajchenbach-Teller
9762fce80c Bug 766194 - Unix back-end definitions for stat;r=taras 2012-07-21 19:46:20 +02:00
David Rajchenbach-Teller
b0d1a5d57f Bug 766194 - Shared support code;r=taras 2012-07-21 19:44:58 +02:00
David Rajchenbach-Teller
84f538fea6 Bug 769310 - Unix paths. r=taras 2012-07-18 21:09:14 -04:00
David Rajchenbach-Teller
20f50ad90f Bug 769310 - Windows paths. r=taras 2012-07-18 21:09:14 -04:00
Ms2ger
6a7ea70019 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
5b30baa4c3 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
f36d4e46f6 Bug 764436 - Windows back-end;r=taras 2012-07-05 10:21:09 +02:00
David Rajchenbach-Teller
7ccd7c6fd5 Bug 764436 - Windows front-end;r=taras 2012-07-05 10:21:00 +02:00
David Rajchenbach-Teller
e7f3384bb5 Bug 764436 - Companion test suite;r=taras 2012-07-05 10:20:52 +02:00
David Rajchenbach-Teller
78a79af200 Bug 764436 - Unix front-end;r=taras 2012-07-05 10:20:30 +02:00
David Rajchenbach-Teller
6f2f6575d2 Bug 764436 - Unix back-end;r=taras 2012-07-05 10:20:19 +02:00
David Rajchenbach-Teller
3556f53e2f Bug 764436 - Shared code;r=taras 2012-07-05 10:20:07 +02:00
David Rajchenbach-Teller
4eb24d888c Bug 707696 - Windows test suite. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
b788ba3798 Bug 707696 - Unix test suite. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
0b9e5fdfd6 Bug 707696 - Path handling Unix back-end. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
cee6a6d008 Bug 707696 - Path handling Windows back-end. r=taras 2012-07-03 18:40:53 -04:00