Commit Graph

160 Commits

Author SHA1 Message Date
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
David Rajchenbach-Teller
14191efe49 Bug 707696 - Path handling Unix back-end. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
fe7d79b691 Bug 707696 - Path handling Windows back-end. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
9372215e1d Bug 768381 - Size of type mode_t depends on the platform. r=yoric 2012-06-27 20:15:33 -04:00
David Rajchenbach Teller
749caea84b Bug 767021 - Make error-handling compatible with 'use strict'. r=yoric 2012-06-22 20:24:27 -04:00
David Rajchenbach Teller
e105819686 Bug 767021 - Add support for int64/uint64. r=yoric 2012-06-22 20:24:27 -04:00
David Rajchenbach-Teller
1be036490c Bug 747876 - Windows front-end;r=taras,dougt 2012-06-15 17:23:17 +02:00
David Rajchenbach-Teller
38c4445967 Bug 747876 - Unix front-end;r=taras,dougt 2012-06-15 17:23:07 +02:00
David Rajchenbach-Teller
e70dae4d66 Bug 747876 - Shared code;r=taras,dougt 2012-06-15 17:22:57 +02:00