Commit Graph

177 Commits

Author SHA1 Message Date
Ryan VanderMeulen
ea501c8f71 Backed out changeset ef6fba6c2878 (bug 852143) for mochitest-other orange on a CLOSED TREE. 2013-03-27 12:05:32 -04:00
David Rajchenbach-Teller
2e2328533b Bug 852143 - Write strings efficiently in OS.File. r=froydnj 2013-03-27 10:52:46 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Yura Zenevich
4133db401e Bug 848278 - Add an |outExecutionDuration| option to all osfile operations that support options argument. It will be udpated with the actual time it took to perform the operation off the main thread. r=yoric 2013-03-19 09:23:59 -04:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
David Rajchenbach-Teller
a266fca5cd Bug 840436 - OS.File.writeAtomic without flush doesn't rename anymore. r=froydnj 2013-02-25 09:07:16 -05:00
Yura Zenevich
05e0efe5f1 Bug 777712 - Adding file descriptors leaks logging on web-workers-shutdown. r=yoric 2013-02-20 08:50:51 -05:00
Ryan VanderMeulen
0a21e6f55c Backed out changeset eac4470ca9f2 (bug 777712) for xpcshell failures. 2013-02-19 12:28:10 -05:00
Yura Zenevich
9121e273a7 Bug 777712 - Adding file descriptors leaks logging on web-workers-shutdown. r=yoric 2013-02-19 11:23:11 -05:00
Yura Zenevich
0a1fffba5c 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
b0f2f97bcf Bug 840887 - Test the behavior of DirectoryIterator when the directory doesn't exist. r=froydnj 2013-02-26 12:08:51 -05:00
Yura Zenevich
4318c1f3fc 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
f1c830614d 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
5942209d6f 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
bdfb49d00a Bug 808492 - Support double-closing DirectoryIterator in asynchronous mode. r=dteller 2013-01-17 15:22:09 +05:30
Yura Zenevich
c0ee945a1b 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
Eduard Neculaesi
7d36566ade 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
1be8873e10 Bug 827206 - OS.File.exists for Windows should now work on directories. r=froydnj 2013-01-07 21:29:22 -05:00
David Rajchenbach-Teller
c704a2d6f6 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
060217ad59 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
f38dd67616 Bug 810543 - do_get_profile now sends the correct events. r=froydnj,khuey 2012-12-11 15:12:59 -08:00
Amod Narvekar
399290969e Bug 781346 - Expose local profie directory to OS.Constants.Path. r=yoric 2012-12-01 21:20:44 -05:00
David Rajchenbach-Teller
5e20b43d79 Bug 807875 - Implement creationDate correctly for Mac OS X. r=froydnj 2012-11-15 11:22:27 -08:00
Sankha Narayan Guria
f548ecc819 Bug 775949 - [OS.File] Test suite uses |info| instead of |ok|. r=Yoric 2012-11-12 16:43:45 -05:00
David Rajchenbach-Teller
dca36f6ddf 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
Eduard Neculaesi
d4c76420c6 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
Mitesh Pathak
f7d0947b62 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Ed Morley
415466b584 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
Mitesh Pathak
44ca94fcc1 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Andres Hernandez
72550ebb62 Bug 805472 - [OS.File] Ensure that all test files are removed. r=Yoric 2012-10-25 14:11:06 -06:00
Andres Hernandez
7f92c07cdb Bug 800697 - [OS.File] Convert async testsuite to use Task.js. r=Yoric 2012-10-23 11:48:52 -06:00
David Rajchenbach-Teller
b243f3936e Bug 803190 - Replace test_osfile_comms scaffolding with something more robust. r=froydnj 2012-10-23 18:30:28 -04:00
WangJun
4428b1f6ca Bug 793682 - [OS.File] getCurrentDirectory/setCurrentDirectory for the main thread. r=Yoric 2012-10-15 23:05:44 +08:00
David Rajchenbach-Teller
96b80a3867 Bug 800493 - Remove now useless libxul code from OS.File. r=froydnj 2012-10-16 21:34:03 -04:00
Andres Hernandez
f2aa74f125 Bug 799226 - Optimize |OS.File.exists| r=Yoric 2012-10-16 09:39:27 -06:00
Andres Hernandez
de6a0f4277 Bug 796953 - [OS.File] writeAtomic should accept an option noOverwrite. r=Yoric 2012-10-09 12:10:06 -06:00
David Rajchenbach-Teller
1d46be1e7b 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
0046ba4707 Bug 793435 - Handle INVALID_HANDLE in CloseHandle and FindClose correctly. r=yoric 2012-10-02 20:56:47 +08:00
David Rajchenbach-Teller
1ed72438b5 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
a06e299cf2 Bug 786211 - Async OS.File.{read, writeAtomic} test suite. r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
29701a6bdc Bug 786211 - OS.File atomic write (test suite). r=froydnj 2012-09-27 23:06:00 -04:00
David Rajchenbach-Teller
0d64618fca Bug 793949 - Test that OS.File.copy overwrites rather than appending. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
6d6e29f819 Bug 784717 - Asynchronous directory walk tests. r=froydnj 2012-09-26 21:37:23 -04:00
David Rajchenbach-Teller
fe0cbe73c9 Bug 777711 - Async OS.File test suite. r=taras 2012-09-22 20:48:26 -04:00
David Rajchenbach-Teller
168241112c Bug 782231 - Testsuite for the new features of DirectoryIterator. r=froydnj 2012-09-21 23:36:15 -04:00
Jim Mathies
eb03628ccf Bug 789344 - osfile.jsm referenced by wrong url. r=nfroyd 2012-09-08 06:13:34 -05:00
David Rajchenbach-Teller
bade6f9210 Bug 769191 - Have OS.File.prototype.{readTo, write} extrapolate a default length. r=froydnj 2012-09-01 11:35:55 -04:00
Luqman Aden
80d6f71e96 Bug 786196 - [OS.File] Implement flushing. r=yoric 2012-08-29 10:31:30 -04:00
David Rajchenbach-Teller
001cacf6ad Bug 780483 - Tests. r=froydnj 2012-08-30 18:03:06 -04:00
David Rajchenbach-Teller
fe8729a417 Bug 784373 - Test setPosition without optional argument. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
59a38cf735 Bug 771617 - Tests for readTo/writeFrom/readAll. r=froydnj 2012-08-25 17:18:44 -04:00
David Rajchenbach-Teller
6be509e906 Bug 783676 - Export OS.Path (companion test suite). r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
74b8f71a82 Bug 761138 - Create/remove directories (testsuite). r=froydnj 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
e34177f37f 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
0035caf975 Bug 783284 - [OS.File] Rename *Time to *Date. r=froydnj 2012-08-18 08:25:49 -04:00
David Rajchenbach-Teller
b661c92be0 Bug 771928 - Test OS.File pointer arithmetic. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
95ee23b5f6 Bug 773643 - Test (de)serialization of errors. r=froydnj 2012-08-14 19:56:47 -04:00
David Rajchenbach-Teller
5be0b90c6a Bug 780499 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
9a6bba01ef Bug 771927 - Companion testsuite. r=froydnj 2012-08-13 21:54:43 -04:00
David Rajchenbach-Teller
5497844d09 Bug 770215 - [OS.File] Utilities for strings - Tests for Unicode conversion. r=froydnj 2012-08-10 11:52:56 -04:00
David Rajchenbach-Teller
c87d5c927f Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
Phil Ringnalda
2bcf35cc4b Backout e662aa8c9389 (Bug 780604), 3979c98e3e9a:5ccb28fc0bee (Bug 780498) for Windows orange 2012-08-07 21:26:41 -07:00
David Rajchenbach-Teller
538b4b8836 Bug 780498 - Test that OS.File.move removes original file. r=yoric 2012-08-07 20:49:07 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
David Rajchenbach-Teller
ee2da2a08f Bug 766194 - Testsuite for stat;r=taras 2012-07-21 19:48:45 +02:00
Ms2ger
189452ff6d 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
a7eb97f896 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
e44ad2fae6 Bug 764436 - Companion test suite;r=taras 2012-07-05 10:20:52 +02:00
David Rajchenbach-Teller
e3025d29f8 Bug 707696 - Windows test suite. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
b4012976cd Bug 707696 - Unix test suite. r=taras 2012-07-03 18:40:53 -04:00
David Rajchenbach-Teller
a74ce62b20 Bug 747876 - Companion testsuite;r=taras 2012-06-15 17:22:40 +02:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
David Rajchenbach-Teller
958828f6dc Bug 707681 - Companion testsuite. r=yoric 2012-05-15 15:10:21 +02:00
David Rajchenbach-Teller
0fbf2cf36d Bug 707679 - Companion testsuite. r=taras 2012-05-15 15:08:30 +02:00