Commit Graph

182 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
MilindL
eac41890d9 Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
MozReview-Commit-ID: fiIS2xPc2r
2017-07-27 19:41:00 +05:30
Sebastian Hengst
6cc163e4a8 Backed out changeset 0d9eb13ac53e (bug 1063635) 2017-09-01 15:53:44 +02:00
MilindL
9c9c01d0f2 Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
MozReview-Commit-ID: fiIS2xPc2r
2017-07-27 19:41:00 +05:30
Masatoshi Kimura
747aea1659 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3
2017-08-19 15:04:13 +09:00
Andrew McCreight
44a3dce5bf Bug 1368219 - Remove the unused OSFile.getAvailableFreeSpace. r=Yoric
The test is failing frequently on Linux 32 debug, and the method is unused.

MozReview-Commit-ID: 5ngM1pfDV7g
2017-08-18 08:59:28 -07:00
Dan Banner
3037c7821e Bug 1379256 - Enable the rest of the recommended ESLint rules for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: F5GmnvS9LpM
2017-08-09 15:23:19 +01:00
Dan Banner
146dee0bb0 Bug 1379256 - fix no-undef issues for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: B0vImMrMGF6
2017-08-09 14:42:27 +01:00
Dan Banner
ab430856f3 Bug 1379256 - Enable more ESLint rules for toolkit/components/osfile (automatic fixes). r=mossop
MozReview-Commit-ID: EBIwfqkaSnD
2017-08-09 14:21:27 +01:00
Eric Rahm
4d399e631a Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj 2017-08-11 17:45:18 -07:00
Dan Banner
2e0390eae4 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc
2017-07-31 16:34:04 +01:00
Wes Kocher
20161e7382 Backed out changeset 856215476aa4 (bug 1386666) for eslint failures a=backout
MozReview-Commit-ID: FdO8WkzBvfj
2017-08-02 11:47:42 -07:00
Dan Banner
09b858b978 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc
2017-07-31 16:34:04 +01:00
Kan-Ru Chen
405dcd4399 Bug 1353731 - Only attempt to reset timer every per osfile.reset_worker_delay. r=Yoric
After this patch for every restartTimer() call we only set a flag to
indicating that we should reset the timer when the timer fires.

MozReview-Commit-ID: GRInHxuEEQM
2017-06-27 16:04:51 -07:00
Florian Quèze
b622c2b081 Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze
f97b0ef21c Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Florian Quèze
166b62b012 Bug 1374282 - ban Task.jsm during startup, r=Mossop, a=sheriffduty 2017-06-22 12:51:43 +02:00
Paolo Amadini
a24b4cbd1b Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr
2017-06-16 11:16:00 +01:00
Paolo Amadini
7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
milindl
e73275b164 Bug 850636 - add an option outSerializationDuration to measure the time for message serialization,r=Yoric
This changes the `Scheduler.post` method to check for options in the `args`,
and accordingly update it with the time it takes for running `Scheduler.worker.post`.

This also changes the `test_duration.js` to add another duration (serialization duration)
for the operations where `Scheduler.post` is called.

MozReview-Commit-ID: EGPeHfMYI1U
2017-06-03 21:44:37 +05:30
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
50b8c6608d Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Paolo Amadini
1c5ae40148 Bug 1273265 - Allow long file names in specific cases. r=jimm
MozReview-Commit-ID: 3tl5Iihxs27
2017-04-06 09:08:06 +01:00
Jan Beich
229bf1529f Bug 981348 - OS.File: f_bavail uses f_frsize units according to POSIX. r=Yoric
MozReview-Commit-ID: GU7CbhSsvTa
2014-03-08 19:30:00 -08:00
Florian Quèze
0b17fc5d60 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Kit Cambridge
5e867ab8db Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ
2016-12-12 13:50:10 -08:00
Florian Quèze
7cc2c646fb Bug 1319854 - Unused resource://gre/modules/osfile/osfile_{unix,win}_{back,front}.jsm files, r=Yoric. 2016-11-28 12:29:30 +01:00
Carsten "Tomcat" Book
4448b7c92d Backed out changeset bdbcf49b3359 (bug 1319854) for continued various test failures 2016-11-28 15:57:03 +01:00
Florian Quèze
a006096c30 Bug 1319854 - Unused resource://gre/modules/osfile/osfile_{unix,win}_{back,front}.jsm files, r=Yoric. 2016-11-28 12:29:30 +01:00
Sumit Tiwari
fd000dad92 Bug 1309249: Add filepath to OS.File.read errors for lz4 decompression;r=Yoric
MozReview-Commit-ID: 3zeRnFYot69
2016-10-16 11:30:47 -04:00
Mark Hammond
3faf36151d Bug 1303693 - OS.File.remove(filename, { ignoreAbsent: true }) throws when the parent directory doesn't exist. r=Yoric
MozReview-Commit-ID: HJml1cf430y
2016-09-20 10:22:15 +10:00
André Bargull
c2973badf4 Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Wes Kocher
749e1322ab Backed out changeset 3fbb8651a171 (bug 1121938) for breaking encrypted-media-syntax.html CLOSED TREE 2016-08-10 13:17:39 -07:00
André Bargull
f3b3b1f19d Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo, r=froydnj 2016-07-29 09:04:06 -07:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
aleth
9dd3c788fd Bug 1232067 - Ensure the libc free() is used if the a.out free() is not available. r=yoric 2016-06-09 01:15:57 +02:00
Andrew McCreight
a42270f77e Bug 1270308 - Remove content-child-shutdown observer for OS.file. r=Yoric 2016-06-01 15:05:54 -07:00
Shu-yu Guo
90b93e6d5b Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
David Rajchenbach-Teller
0ac48b485d Bug 1216972 - OS.File AsyncShutdown for content processes. r=froydnj 2015-11-19 00:11:14 +01:00
Eduard Hanu
ffd833d41a Bug 1218870 - Fix uses of typeof "foo" in OS.File. r=yoric 2015-10-31 16:14:00 +01:00
Valentin Gosu
78b2178312 Bug 1163028 - stop escaping [ and ] in toFileURI r=yoric 2015-11-02 13:54:59 +01:00
Florian Quèze
2178d83945 Bug 1218882 - lz4.js should be usable outside of workers, r=Yoric. 2015-10-28 12:35:05 +01:00
Tooru Fujisawa
afbd2956bc Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00
Tooru Fujisawa
3d13712ac2 Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:50 +09:00
Tooru Fujisawa
f2efd2a948 Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00