Commit Graph

169 Commits

Author SHA1 Message Date
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
Georg Fritzsche
65c1c8f79d Bug 1204834 - OS.File.writeAtomic should have the path argument in its closure. r=yoric 2015-09-15 17:17:00 +07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alessio Placitelli
7c6bc9ff25 Bug 1164822 - Fix OS.File.remove not throwing with unexisting files. r=Yoric 2015-05-19 14:10:17 -07:00
Valentin Gosu
309c8d6c57 Bug 1040285 - Single Quotes in HTTP request-uri Are Incorrectly Encoded as %27 r=MattN 2015-04-28 18:29:34 +03:00
Valentin Gosu
ff4abdaae2 Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk 2015-04-28 18:29:22 +03:00
Ganesh Sahukari
c1ca4c818d Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Mohamed Waleed
a39447baa8 Bug 1106938 - When OS.File stores information on calls for AsyncShutdown, also store the Task.stack. r=yoric 2015-03-10 05:26:00 -04:00
Andrew Sutherland
c0834d1d61 Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread. This patch corrects the
queue management so races with killing are not possible. A test is added that
fails without the fix and passes with it. See the comments in the test and
test for further details. Also, the bug is nice.
2015-02-25 00:43:13 -05:00
Andrew Sutherland
20ebe06333 Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
Andrew Sutherland
1946b6892d Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
Dhi Aurrahman
7e9effba7e Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz 2015-02-04 18:46:26 +07:00
Jon Coppeard
9e76d394fb Bug 1077354 - Transfer buffers to OS.File methods rather than passing a pointer r=froydnj 2015-01-08 11:31:21 +00:00
Gaurav Rai
8f123d522f Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 +01:00