Commit Graph

166 Commits

Author SHA1 Message Date
Yura Zenevich
13a5f72d2b Bug 828204 - Make if DEBUG statements internal to LOG in osfile. Add new TEST flag for logging into Console.services. r=yoric 2013-02-16 10:40:15 -05:00
David Rajchenbach-Teller
9feca8ba31 Bug 840436 - [OS.File] writeAtomic without flush. r=froydnj 2013-02-14 09:11:58 -05:00
Yura Zenevich
ab15de13e1 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add File.GET_DEBUG method used for testing. r=dteller 2013-02-13 20:51:39 -05:00
Dave Townsend
6c649be569 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Kartikaya Gupta
a5a42912e0 Back out of d8d79ba17527 (bug 828201) as it caused a significant memory regression on Android. r=me 2013-02-01 13:41:42 -05:00
Mitesh Pathak
746f2bcc7c Bug 808492 - Support double-closing DirectoryIterator in asynchronous mode. r=dteller 2013-01-17 15:22:09 +05:30
Yura Zenevich
54326c1dd1 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
d5d2ce04a8 Bug 830694 - Taking advantage of zero-copy transfer between workers;r=froydnj 2013-01-16 13:30:28 +01:00
Eduard Neculaesi
93ff0c9b5c 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
df0aa845a4 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
8f8b271949 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
b2a6d7afc4 Bug 815339 - Extract PromiseWorker from OS.File. r=froydnj 2012-12-19 20:11:14 -05:00
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