Commit graph

808 commits

Author SHA1 Message Date
Ryan VanderMeulen
6ca4bae63d Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl
--HG--
extra : amend_source : f9c411dd1c63a7308f391d8d4ff90239c9408a03
2017-04-07 13:32:57 -04:00
Andrew McCreight
8aedac1cad 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

--HG--
extra : rebase_source : e02829e2508bb75caf44c0a3c86b06fac3bf167f
2017-03-30 14:52:09 -07:00
Andrew McCreight
fec8ba650f 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

--HG--
extra : rebase_source : 94f1516989685176a95e235f2d3ef8658adaf8b7
2017-03-30 14:43:04 -07:00
k88hudson
6fcdd4aa89 Bug 1350409 - Add Store, Actions, and Reducers to Activity Stream system add-on r=ursula
MozReview-Commit-ID: 5lCFGBCtH2e

--HG--
extra : rebase_source : 01e7ae01e1dd03de9fbe84fa1fbc7797323ed475
2017-04-04 12:57:53 -04:00
Rex Lee
2a6a2e2288 Bug 1347504 - [jsplugins][UI] Support opening external links in PDF files. r=evelyn,lochang, f=lchang, f=lochang
MozReview-Commit-ID: CIrC4ise4Zs

Hotkeys works like normal DOM links, except "Open in background tab" (which corresponds to ctrl/command + click)
open tabs in foreground due to limitation from outside chrome process.

--HG--
extra : rebase_source : 6a3b43c518e23c61fe3c48cc4317b813a39acc7a
2017-04-06 16:14:23 +08:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
David Keeler
7034d3800d bug 1353789 - unship deployment-checker r=Felipe,jcj
MozReview-Commit-ID: 3Q5v97JVs2X

--HG--
extra : rebase_source : 978054d6bbc1a1d2a1adcd8edf606c0bdc8150de
2017-04-05 09:56:26 -07:00
Saurav Sachidanand
16f14ffd75 Bug 1351986 - Remove DOCTYPE, version, xmlns:xlink from SVG files; r=dao 2017-04-04 09:10:07 +02:00
Paul Bignier
ff2e59d1cd Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq

--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
k88hudson
14c5e8022b Bug 1349288 - Add Redux and React files to activity-stream extension. r=standard8
MozReview-Commit-ID: 7zWTj5Z4vJa

--HG--
extra : rebase_source : 22575a8fb8a273c9b60e1532d82b7930e026526e
2017-03-24 11:16:35 -04:00
Scott Wu
cc062e76c1 Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : e989000a39dee557eebe77ae817b10f93a37b368
2017-03-30 14:34:38 +08:00
Scott Wu
b57feadb2d Bug 1019483 - (Part 1) Create interface to manage autofill profiles. r=MattN
MozReview-Commit-ID: KrGSPz7B108

--HG--
extra : rebase_source : b858f849c1be8856fb96a9cfbb8777813d65de08
2017-03-06 15:56:51 +08:00
Carsten "Tomcat" Book
095969b8ee merge mozilla-inbound to mozilla-central a=merge 2017-03-31 14:45:33 +02:00
Ryan VanderMeulen
3dd93aa05c Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Sebastian Hengst
cb6b27aed8 Backed out changeset ffbf6849c41f (bug 1019483) 2017-03-31 10:07:50 +02:00
Sebastian Hengst
91095472dc Backed out changeset f3ccca098f5e (bug 1019483) 2017-03-31 10:07:45 +02:00
Scott Wu
0e8a46bf3b Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : 661dc49e59066f983a802d5f4ebedc6cceb359ac
2017-03-30 14:34:38 +08:00
Scott Wu
cf289cb4ce Bug 1019483 - (Part 1) Create interface to manage autofill profiles. r=MattN
MozReview-Commit-ID: KrGSPz7B108

--HG--
extra : rebase_source : 29d93d82b5240420121024ec9fb7afea69d5600b
2017-03-06 15:56:51 +08:00
Ray Lin
e090308c70 Bug 1340468 - Notify formautofill add-on of which item is being selected. r=MattN
MozReview-Commit-ID: 3YfW35Zon1Q

--HG--
extra : rebase_source : 2ad2f1d5d5caa8f2ec4b20a110d43626d65745f1
2017-02-24 10:15:55 +08:00
steveck-chung
e5e4a87c51 Bug 1348757 - Apply weakref for the element in cache. r=MattN
MozReview-Commit-ID: Ezo5kLzf4UK

--HG--
extra : rebase_source : 14b70b5c023b7cc1b6aacd21af10aacefde45de8
2017-03-08 14:38:08 +08:00
Iris Hsiao
651a0e4730 Backed out changeset c7fc679c1c9e (bug 1340468) for eslint failure 2017-03-30 17:36:03 +08:00
Ray Lin
29a2a2194f Bug 1340468 - Notify formautofill add-on of which item is being selected. r=MattN
MozReview-Commit-ID: 3YfW35Zon1Q

--HG--
extra : rebase_source : b73ad7b533cd499588c6b5be31a8e809ba8c36db
2017-02-24 10:15:55 +08:00
Felipe Gomes
ad4ceba352 [mq]: Bug 1348576 - e10s is never enabled for non-official release builds. r=mconley
MozReview-Commit-ID: DaqGyeGdgzD

--HG--
extra : rebase_source : decb0a49f22c9a8228094e8f1b4ee163943febdd
2017-03-29 17:59:15 -03:00
Ryan VanderMeulen
f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Felipe Gomes
51f4fcc4e2 Bug 1344345 - Revert e10s addons rule to only activate on mpc=true and webextensions, now for the Beta channel too. r=mconley
MozReview-Commit-ID: 61ebtOl5xRZ
2017-03-29 00:55:13 -03:00
J. Ryan Stinnett
8739b5c5f7 Bug 1351425 - Only temp. qualify for e10s when enabled at <100%. r=Felipe
This tweaks the temporary qualification step (currently used only for DevTools)
so that it does not apply on channels that are 100% enabled anyway.  This does
not change how many users receive e10s on, it only tweaks who falls into which
cohort, since there's no reason to push all DevTools users to a special cohort
if everyone would have received e10s on anyway.

MozReview-Commit-ID: 5Yn6M50Ny1w
2017-03-28 16:22:23 -05:00
Ray Lin
2222768091 Bug 1350208 - Explicitly set default text color for profile item. r=MattN
MozReview-Commit-ID: IYYE5pE6u5A

--HG--
extra : rebase_source : e0ae5f917ae675bf9e5feba3c4350bf112f6ff5a
2017-03-24 14:01:19 +08:00
Mike Cooper
22ec855caa Bug 1351465 - shield-recipe-client: Unconditionally set up logging in bootstrap r=Gijs
MozReview-Commit-ID: 5W7UdpsLyYd

--HG--
extra : rebase_source : 446933ac19330b2404f453b91c09b8bb83e191d0
2017-03-29 13:49:37 -07:00
Mike Taylor
f4b04844e3 Bug 1329704. Update webcompat reporter icons and provide theme-specific variants. r=Gijs
Thanks to :shorlander for the assets.

MozReview-Commit-ID: 705732RwXNL

--HG--
extra : rebase_source : fd2ab049b5985124c041e2082b77d814ab48fb68
2017-03-09 11:09:04 -06:00
Wes Kocher
04968c7c99 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DwtKxCKV42X
2017-03-24 17:20:07 -07:00
Ryan VanderMeulen
66002ebff7 Bug 1350416 - Update pdf.js to version 1.7.381. r=bdahl
--HG--
extra : rebase_source : 250478a4ca6e95f76ec9f06edf7e1e23a7c0bfa2
2017-03-24 15:19:24 -04:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Zibi Braniecki
3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Rex Lee
e3453feccf Bug 1317228 - [Mortar][PDF] Implement mouse and keyboard control in presentation mode. r=evelyn, f=lchang
MozReview-Commit-ID: FLYox0cU7Ok

--HG--
extra : rebase_source : 15fe6a13d72beeca8511fe82f8483ad591ad17ad
2017-03-21 15:35:38 +08:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
lochang
79448e55da Bug 1311586 - Implement method |PPB_PDF::Print|. r=brsun
From eb817ace782f0c7deb420e61c5d9d6185c665e28 Mon Sep 17 00:00:00 2001
---
 .../mortar/host/common/ppapi-runtime.jsm           | 205 +++++++++++++++++++++
 .../mortar/host/pdf/chrome/js/toolbar.js           |   4 +
 .../mortar/host/pdf/chrome/js/viewport.js          |   6 +
 .../mortar/host/pdf/ppapi-content-sandbox.js       |  70 +++++++
 4 files changed, 285 insertions(+)
2017-03-14 15:22:07 +08:00
Felipe Gomes
c01548085a Bug 1344345 - Revert e10s addons rule to only activate on mpc=true and webextensions. r=mconley
MozReview-Commit-ID: 738BO2QqvzC
2017-03-20 18:41:10 -03:00
Sebastian Hengst
b292757fb7 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
92937b757e Bug 1348416 - Update pdf.js to version 1.7.367. r=bdahl
--HG--
extra : rebase_source : 134ce90313211f4ff94807aa263f4d9fe887f0d3
2017-03-17 18:15:26 -04:00
Mike Cooper
1838d5250c Bug 1349348 - Sync shield-recipe-client from GitHub (ded0b7). rs=Gijs r=Gijs
MozReview-Commit-ID: 4lN7IEUjuBr

--HG--
extra : rebase_source : a893a3b4854bbca2bdec8adb1a1e671f56847ed1
2017-03-24 14:42:25 -07:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Mark Banner
b792bfe15f Bug 1347884 - Enable eslint cyclomatic complexity rule at existing levels. r=jaws
Enable the rule with the maximums set to avoid current failures, except for test_form_autocomplete which is very
high (82). The levels are set per major area, with existing warnings being changed to errors.

MozReview-Commit-ID: 37M6Ry0Mr1c

--HG--
extra : rebase_source : 07e6864bdd945eb322499912dd702638430c0365
2017-03-16 11:04:39 +00:00
Florian Quèze
9c4d40bb54 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
Sebastian Hengst
e43c8a0ce7 Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
Carsten "Tomcat" Book
023d5aecd1 Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
Gabor Krizsanits
2fc4ec4086 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-16 11:22:37 +01:00
steveck-chung
391ca691bf Bug 1338482 - Add filled guid for form handler and check at startSearch. r=MattN
MozReview-Commit-ID: JfqiwG0fjjH

--HG--
extra : rebase_source : eebc6186fe1e13145c753edd15fb33614b43c252
2017-03-13 11:22:11 +08:00
Evelyn Hung
c8d68ef0a5 Bug 1278204 - Fix HiDPI issue by detecting devicePixelRatio. r=lochang
--HG--
extra : rebase_source : dc560a8adc243018615473e301560997925256bd
2017-03-15 17:27:47 +08:00