Commit Graph

160 Commits

Author SHA1 Message Date
Yura Zenevich
0a3fe23198 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add a File.GET_DEBUG method used for testing. r=dteller 2013-01-29 10:50:04 -05:00
David Rajchenbach-Teller
75d0c15526 Bug 830694 - Taking advantage of zero-copy transfer between workers;r=froydnj 2013-01-16 13:30:28 +01:00
Eduard Neculaesi
c477da3299 Bug 802534 - [OS.File] Main thread versions of OS.File.Info and OS.File.DirectoryIterator.Entry should have nice prototypes; r=yoric 2013-01-10 10:40:46 -08:00
David Rajchenbach-Teller
4991a52dc6 Bug 827206 - OS.File.exists for Windows should now work on directories. r=froydnj 2013-01-07 21:29:22 -05:00
Dustin L. Howett
960de8b6c2 Bug 812647 - Fix OS.File's failure to find libc on case-sensitive OS X filesystems. r=Yoric 2012-12-23 10:52:35 -05:00
David Rajchenbach-Teller
58b6b11735 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-19 20:11:14 -05:00
David Rajchenbach-Teller
cde9388a9f 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
5be458e420 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
f7a60afb5d Bug 810543 - do_get_profile now sends the correct events. r=froydnj,khuey 2012-12-11 15:12:59 -08:00
David Rajchenbach-Teller
6f0542cfef 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
5d2d786fba Bug 819601 - Don't redeclare formal. r=Yoric 2012-12-08 10:07:32 -05:00
Ryan VanderMeulen
7038283143 Backed out changeset b4b3522a6c08 (bug 815339) due to mochitest timeouts. 2012-12-03 21:23:05 -05:00
David Rajchenbach-Teller
97fc5ed662 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-03 20:26:16 -05:00
Amod Narvekar
80f0ffa28b Bug 781346 - Expose local profie directory to OS.Constants.Path. r=yoric 2012-12-01 21:20:44 -05:00
David Rajchenbach-Teller
816029c53b Bug 807875 - Implement creationDate correctly for Mac OS X. r=froydnj 2012-11-15 11:22:27 -08:00
David Rajchenbach-Teller
f7aae016b2 Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
Sankha Narayan Guria
dd87eaeb0b Bug 775949 - [OS.File] Test suite uses |info| instead of |ok|. r=Yoric 2012-11-12 16:43:45 -05:00
Phil Ringnalda
8028630a5a 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
fa73294e7c Bug 794091 - Reorganize OS.File importScripts to avoid talos hangs. r=froydnj 2012-11-08 14:35:01 -05:00
David Rajchenbach-Teller
fbba29d672 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
0469a02b25 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
e984f4916a 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
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
David Rajchenbach-Teller
b308603424 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
8f44b62329 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
9a3674d80a 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
b0a5453bf1 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
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
David Rajchenbach-Teller
ec00829162 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
4edd47e296 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Kyle Huey
50b5d3f681 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
3be55836cf Bug 805472 - [OS.File] Ensure that all test files are removed. r=Yoric 2012-10-25 14:11:06 -06:00
Andres Hernandez
66186d0f3c Bug 800697 - [OS.File] Convert async testsuite to use Task.js. r=Yoric 2012-10-23 11:48:52 -06:00
David Rajchenbach-Teller
81bd9620af Bug 803190 - Replace test_osfile_comms scaffolding with something more robust. r=froydnj 2012-10-23 18:30:28 -04:00
WangJun
f4577f8a8e Bug 793682 - [OS.File] getCurrentDirectory/setCurrentDirectory for the main thread. r=Yoric 2012-10-15 23:05:44 +08:00
David Rajchenbach-Teller
78caaeda9b Bug 800493 - Remove now useless libxul code from OS.File. r=froydnj 2012-10-16 21:34:03 -04:00
Andres Hernandez
c61c599711 Bug 799226 - Optimize |OS.File.exists| r=Yoric 2012-10-16 09:39:27 -06:00
Andres Hernandez
d84353a588 Bug 796953 - [OS.File] writeAtomic should accept an option noOverwrite. r=Yoric 2012-10-09 12:10:06 -06:00
David Rajchenbach-Teller
1016f5ef0b Bug 794104 - In async OS.File, DEBUG should be false. r=yoric 2012-10-03 18:19:23 -04:00
David Rajchenbach-Teller
516fe93481 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
e83732b663 Bug 793435 - Handle INVALID_HANDLE in CloseHandle and FindClose correctly. r=yoric 2012-10-02 20:56:47 +08:00
David Rajchenbach-Teller
26975dfd87 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
aa41b8c4bd Bug 786211 - Async OS.File.{read, writeAtomic} test suite. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
ba24c6d5b4 Bug 786211 - Async OS.File.{read, writeAtomic}. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
bc0f746fc5 Bug 786211 - OS.File atomic write (test suite). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
ea30070c4e Bug 786211 - OS.File atomic write (platform code). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
911e3cf594 Bug 786211 - OS.File atomic write (shared code). r=froydnj 2012-09-27 23:05:59 -04:00
David Rajchenbach-Teller
f4ea86edef Bug 793949 - Test that OS.File.copy overwrites rather than appending. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
bf90e74313 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
f1d8f5d772 Bug 784717 - Asynchronous directory walk tests. r=froydnj 2012-09-26 21:37:23 -04:00