Commit Graph

204 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
68dc42a4b4 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
b960e33b92 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
cbae369916 Bug 810543 - do_get_profile now sends the correct events. r=froydnj,khuey 2012-12-11 15:12:59 -08:00
David Rajchenbach-Teller
e08812b920 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
b9a862e1d6 Bug 819601 - Don't redeclare formal. r=Yoric 2012-12-08 10:07:32 -05:00
Ryan VanderMeulen
c039087939 Backed out changeset b4b3522a6c08 (bug 815339) due to mochitest timeouts. 2012-12-03 21:23:05 -05:00
David Rajchenbach-Teller
f334e6e292 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-03 20:26:16 -05:00
Amod Narvekar
ffe33cdd51 Bug 781346 - Expose local profie directory to OS.Constants.Path. r=yoric 2012-12-01 21:20:44 -05:00
David Rajchenbach-Teller
6cb3629cc0 Bug 807875 - Implement creationDate correctly for Mac OS X. r=froydnj 2012-11-15 11:22:27 -08:00
David Rajchenbach-Teller
c4074ff18f Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
Sankha Narayan Guria
1b419bf3d2 Bug 775949 - [OS.File] Test suite uses |info| instead of |ok|. r=Yoric 2012-11-12 16:43:45 -05:00
Phil Ringnalda
dcd3477dcb 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
ea76afa081 Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
David Rajchenbach-Teller
626301fbda 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
45adfbf2c8 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
7fe85895ad 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
David Rajchenbach-Teller
6a13f29586 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
28ae124b28 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
7457de64ad 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
83cd16dcd5 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
David Rajchenbach-Teller
6229605002 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
e5c7bd67c1 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
dd0cfd935a 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
e8cfdeb6ed Bug 805472 - [OS.File] Ensure that all test files are removed. r=Yoric 2012-10-25 14:11:06 -06:00
Andres Hernandez
355cbd57e3 Bug 800697 - [OS.File] Convert async testsuite to use Task.js. r=Yoric 2012-10-23 11:48:52 -06:00
David Rajchenbach-Teller
65082c5f55 Bug 803190 - Replace test_osfile_comms scaffolding with something more robust. r=froydnj 2012-10-23 18:30:28 -04:00
WangJun
1b847ad9dc Bug 793682 - [OS.File] getCurrentDirectory/setCurrentDirectory for the main thread. r=Yoric 2012-10-15 23:05:44 +08:00
David Rajchenbach-Teller
658c67c888 Bug 800493 - Remove now useless libxul code from OS.File. r=froydnj 2012-10-16 21:34:03 -04:00
Andres Hernandez
45087c325e Bug 799226 - Optimize |OS.File.exists| r=Yoric 2012-10-16 09:39:27 -06:00
Andres Hernandez
9e1fdfa07f Bug 796953 - [OS.File] writeAtomic should accept an option noOverwrite. r=Yoric 2012-10-09 12:10:06 -06:00
David Rajchenbach-Teller
23bfbcddac Bug 794104 - In async OS.File, DEBUG should be false. r=yoric 2012-10-03 18:19:23 -04:00
David Rajchenbach-Teller
32856facbc 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
4eab8b26b1 Bug 793435 - Handle INVALID_HANDLE in CloseHandle and FindClose correctly. r=yoric 2012-10-02 20:56:47 +08:00
David Rajchenbach-Teller
773ec308d2 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
dfd8086335 Bug 786211 - Async OS.File.{read, writeAtomic} test suite. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
e11b72618e Bug 786211 - Async OS.File.{read, writeAtomic}. r=froydnj 2012-09-27 23:06:00 -04:00
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