Commit Graph

187 Commits

Author SHA1 Message Date
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Ryan VanderMeulen
1c1326fa8d Bug 1358335 - Update pdf.js to version 1.8.243. r=bdahl 2017-04-20 22:02:35 -04:00
Zibi Braniecki
8c433fc56a Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
64bae2dccf Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Ryan VanderMeulen
ddd39a3a29 Bug 1357069 - Update pdf.js to version 1.8.229. r=bdahl 2017-04-17 09:28:32 -04: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
Ryan VanderMeulen
6fe87da52f Bug 1355901 - Update pdf.js to version 1.8.183. r=bdahl 2017-04-12 12:50:37 -04:00
Ryan VanderMeulen
da850ea614 Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl 2017-04-07 13:32:57 -04:00
Andrew McCreight
3d50fc3dcb Bug 1352218, part 2 - Avoid PdfJs.enabled call. r=Gijs
This avoids a sync IPC message from child to parent.

Changes entirely from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: 3Egayok3DBZ
2017-03-30 14:52:09 -07:00
Andrew McCreight
84e55230f5 Bug 1352218, part 1 - Split pdf.js boot strap file. r=Gijs
One is always run, the other is only run when PdfJs.enabled is true in
the parent process. This refactoring enables the next patch.

The extensions changes are from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: HwQ3yk8Jck4
2017-03-30 14:43:04 -07:00
Ryan VanderMeulen
aa39d2c47d Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Ryan VanderMeulen
ff41954746 Bug 1350416 - Update pdf.js to version 1.7.381. r=bdahl 2017-03-24 15:19:24 -04:00
Sebastian Hengst
8071c40e1c Bug 1348416 - Update pdf.js to version 1.7.367: Use shiny new complex string pref getter and setter. r=eslint-fix 2017-03-17 23:37:33 +01:00
Ryan VanderMeulen
109b443105 Bug 1348416 - Update pdf.js to version 1.7.367. r=bdahl 2017-03-17 18:15:26 -04:00
Florian Quèze
49d8db6821 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Ryan VanderMeulen
ea56bf5c9d Bug 1346402 - Update pdf.js to version 1.7.359. r=bdahl 2017-03-10 16:55:38 -05:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Ryan VanderMeulen
8285a20b5b Bug 1344563 - Update pdf.js to version 1.7.348. r=bdahl 2017-03-05 14:06:02 -05:00
Ryan VanderMeulen
c6b3da03f2 Bug 1343644 - Update pdf.js to version 1.7.337. r=bdahl 2017-03-01 15:55:46 -05:00
Ryan VanderMeulen
0d6f78efb0 Bug 1342274 - Update pdf.js to version 1.7.312. r=bdahl 2017-02-23 19:22:10 -05:00
Ryan VanderMeulen
004e9e6106 Bug 1340644 - Update pdf.js to version 1.7.297. r=bdahl 2017-02-17 14:39:53 -05:00
Ryan VanderMeulen
4296bffa34 Bug 1338395 - Update pdf.js to version 1.7.290. r=bdahl 2017-02-13 18:57:51 -05:00
Sebastian Hengst
61e43ed4e3 Backed out changeset f884a597f402 (bug 1338395) for timing out in browser_pdfjs_main.js, at least on Linux with e10s. r=backout 2017-02-10 20:46:38 +01:00
Ryan VanderMeulen
0b9bcad296 Bug 1338395 - Update pdf.js to version 1.7.278. r=bdahl 2017-02-10 13:12:37 -05:00
Ryan VanderMeulen
539645910d Backed out changeset e9d5d057344d (bug 1338395) for packaging bustage on a CLOSED TREE. 2017-02-09 21:56:00 -05:00
Ryan VanderMeulen
044882391f Bug 1338395 - Update pdf.js to version 1.7.274. r=bdahl 2017-02-09 21:37:45 -05:00
Ryan VanderMeulen
4cc7dfa0e2 Bug 1336418 - Update pdf.js to version 1.7.242. r=bdahl 2017-02-03 08:41:40 -05:00
Ryan VanderMeulen
92a1db5da0 Bug 1335048 - Update pdf.js to version 1.7.235. r=bdahl 2017-01-23 15:32:49 -05:00
Florian Quèze
c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Ryan VanderMeulen
2bf465d6c3 Bug 1334363 - Update pdf.js to version 1.7.227. r=bdahl 2017-01-26 21:35:12 -05:00
Ryan VanderMeulen
392d59d817 Bug 1332910 - Update pdf.js to version 1.6.467. r=bdahl 2017-01-22 07:54:33 -05:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Ryan VanderMeulen
8b4f04c2be Bug 1330830 - Update pdf.js to version 1.6.454. r=bdahl 2017-01-12 20:19:09 -05:00
Florian Quèze
b36a8b8f42 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Ryan VanderMeulen
0b71fbb4b1 Bug 1326340 - Update pdf.js to version 1.6.418. r=bdahl, r=Mossop 2016-12-29 22:08:13 -05:00
Phil Ringnalda
d6d6acca75 Backed out changeset 6f1dd8377713 (bug 1326340) for browser_parsable_css.js failure
MozReview-Commit-ID: KVUOe1Pkiyq
2016-12-29 21:05:04 -08:00
Ryan VanderMeulen
77abf56806 Bug 1326340 - Update pdf.js to version 1.6.418. r=bdahl 2016-12-29 22:08:13 -05:00
Ryan VanderMeulen
307087b5cd Bug 1323915 - Update pdf.js to version 1.6.401. r=bdahl 2016-12-15 22:41:56 -05:00
Ryan VanderMeulen
f229f9d983 Bug 1322494 - Update pdf.js to version 1.6.372. r=bdahl 2016-12-08 12:17:30 -05:00
Ryan VanderMeulen
d8146fe137 Bug 1321315 - Update pdf.js to version 1.6.355. r=bdahl 2016-11-30 11:17:02 -05:00
Ryan VanderMeulen
bc44c0e12b Bug 1318771 - Update pdf.js to version 1.6.329. r=bdahl 2016-11-18 15:58:06 -05:00
Ryan VanderMeulen
7bfb84a2c5 Bug 1316941 - Update pdf.js to version 1.6.315. r=bdahl 2016-11-11 15:18:04 -05:00
Ryan VanderMeulen
b32f982c82 Bug 1315421 - Update pdf.js to version 1.6.304. r=bdahl 2016-11-04 22:50:14 -04:00
Ryan VanderMeulen
e24632e81c Bug 1313555 - Update pdf.js to version 1.6.274. r=bdahl 2016-10-27 23:20:49 -04:00
Ryan VanderMeulen
fa0c9cfe00 Bug 1311866 - Update pdf.js to version 1.6.263. r=bdahl 2016-10-20 18:50:37 -04:00
Ryan VanderMeulen
8e078bf7da Bug 1310284 - Update pdf.js to version 1.6.234. r=bdahl 2016-10-14 14:28:46 -04:00