Commit graph

30 commits

Author SHA1 Message Date
Gijs Kruitbosch
4fe5536b6a Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22300

--HG--
extra : moz-landing-system : lando
2019-03-06 16:10:37 +00:00
Mark Striemer
0fcb607ae7 Bug 1506102 - Don't count lastFallbackLocale as installed when just fluent is included r=zbraniecki,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18386

--HG--
extra : moz-landing-system : lando
2019-02-12 23:28:27 +00:00
Brindusan Cristian
5b10c0d0f0 Backed out changeset e785008a884f (bug 1506102) for bc failures at browser_browser_languages_subdialog.js. 2019-02-11 19:32:16 +02:00
Mark Striemer
7233a0e11e Bug 1506102 - Don't count lastFallbackLocale as installed when just fluent is included r=zbraniecki,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18386

--HG--
extra : moz-landing-system : lando
2019-02-11 15:24:55 +00:00
Andrew Swan
f527f0e6ff Bug 1504056 Part 1: Refactor AddonManager.getInstallForURL() arguments r=kmag
AddonManagergetInstallForURL() has a number of optional arguments, most
of which are passed infrequently.  Convert them from positional arguments
to a single options object.

Differential Revision: https://phabricator.services.mozilla.com/D18475

--HG--
extra : rebase_source : 503c09b54fab90cefe69286b05def43ef70074df
2019-02-01 15:23:55 -08:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Timothy Guan-tin Chien
0de6e5d4aa Bug 1518932 - Convert menulist to custom element r=paolo
This custom element replaces XBL <content> usage by directly prepend the two needed child nodes when the element is connected.

This is doable because

- There isn't any direct access of child nodes under <menulist>. Everyone seems to access via .menupopup, which is usually the only child.
- We don't need to move the children under <menulist>. If we need to and if the child is a <xbl:children> (which could happen if <menulist> is inside an XBL <content> that just get cloned to the document), the layout will get very confused and crash (see finding in bug 1514926)

Differential Revision: https://phabricator.services.mozilla.com/D16149

--HG--
rename : toolkit/content/widgets/menulist.xml => toolkit/content/widgets/menulist.js
extra : moz-landing-system : lando
2019-01-28 18:24:08 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Mark Striemer
b5de939bac Bug 1486507 - Record telemetry for browser language changes r=rpl,flod,chutten
Differential Revision: https://phabricator.services.mozilla.com/D11795

--HG--
extra : rebase_source : 0f41affb5790bc14f467c7956ca7eb179ab3f9e5
extra : amend_source : efb27b06212185e373c5711243a79ea793b32291
2018-11-10 10:45:23 -06:00
Mark Striemer
7cbe367810 Bug 1510017 - Ensure label is reset when adding browser language r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12987

--HG--
extra : moz-landing-system : lando
2018-11-29 18:39:02 +00:00
Mark Striemer
9a13b275f9 Bug 1506835 - Resize browser languages dialog when error appears r=jaws
***

Differential Revision: https://phabricator.services.mozilla.com/D12985

--HG--
extra : moz-landing-system : lando
2018-11-30 19:37:41 +00:00
Mark Striemer
0d767776aa Bug 1488442 - Part 2: Ensure added langpack is enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D10981

--HG--
extra : moz-landing-system : lando
2018-11-23 19:59:58 +00:00
Mark Striemer
6106f2245a Bug 1488442 - Part 1: Only list available locales in the requested set r=zbraniecki
Generally, this switches Services.locale.requestedLocales calls to use
Services.locale.appLocalesAsBCP47.

Differential Revision: https://phabricator.services.mozilla.com/D10980

--HG--
extra : moz-landing-system : lando
2018-11-23 19:59:59 +00:00
Dorel Luca
ace910d684 Backed out 2 changesets (bug 1488442) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js
Backed out changeset d683ee5ff088 (bug 1488442)
Backed out changeset 8d14b467d422 (bug 1488442)
2018-11-22 01:22:10 +02:00
Mark Striemer
f398585595 Bug 1488442 - Part 2: Ensure added langpack is enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D10981

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:14 +00:00
Mark Striemer
4f65e55040 Bug 1488442 - Part 1: Only list available locales in the requested set r=zbraniecki
Generally, this switches Services.locale.requestedLocales calls to use
Services.locale.appLocalesAsBCP47.

Differential Revision: https://phabricator.services.mozilla.com/D10980

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:07 +00:00
Mark Striemer
28551ead0f Bug 1505751 - Wait for menulist close for browser language handlers r=Gijs
The search handler was being called when focusing the menuitem with the keyboard on Windows. This didn't provide a good experience and left the popup open once the search started. Ensure the popup is always shown when using the keyboard and don't trigger the search until the popup is closed.

Differential Revision: https://phabricator.services.mozilla.com/D12324

--HG--
extra : moz-landing-system : lando
2018-11-21 15:36:52 +00:00
Mark Striemer
6c753d0b35 Bug 1505594 - Put removed browser locale in the right order r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D11372

--HG--
extra : moz-landing-system : lando
2018-11-09 20:05:01 +00:00
Mark Striemer
597134aa66 Bug 1493711 - Pref off downloading langpacks outside of release r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8909

--HG--
extra : moz-landing-system : lando
2018-10-18 14:36:39 +00:00
Mark Striemer
29181bd3a6 Bug 1479008 - Install related dictionaries after a langpack is installed r=leplatrem,aswan
Differential Revision: https://phabricator.services.mozilla.com/D8442

--HG--
extra : moz-landing-system : lando
2018-10-18 16:48:12 +00:00
Bogdan Tara
44c81ece4c Backed out changeset 77d3179f96db (bug 1479008) for browser_browser_languages_subdialog.js failures 2018-10-18 18:33:57 +03:00
Mark Striemer
f63ed672e2 Bug 1479008 - Install related dictionaries after a langpack is installed r=leplatrem,aswan
Differential Revision: https://phabricator.services.mozilla.com/D8442

--HG--
extra : moz-landing-system : lando
2018-10-16 20:09:02 +00:00
Mark Striemer
93ff477188 Bug 1469696 - Part 6: Update warning message, limit width r=flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D7216

--HG--
extra : moz-landing-system : lando
2018-10-02 17:57:33 +00:00
Mark Striemer
35eaba2f12 Bug 1469696 - Part 4: Separate installed and available langpacks r=flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D6314

--HG--
extra : moz-landing-system : lando
2018-10-02 17:57:32 +00:00
Mark Striemer
d5f35ca137 Bug 1469696 - Part 3: Allow searching for languages from dialog r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6313

--HG--
extra : moz-landing-system : lando
2018-10-02 17:57:32 +00:00
Mark Striemer
91446d64d7 Bug 1469696 - Part 2: Allow installing langpacks from AMO in prefs r=flod,aswan,zbraniecki,jaws
Differential Revision: https://phabricator.services.mozilla.com/D6312

--HG--
extra : moz-landing-system : lando
2018-10-03 14:07:14 +00:00
Zibi Braniecki
83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Mark Striemer
e71459e86b Bug 1488467 - Part 1: Support adding and removing installed browser languages r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4989

--HG--
extra : moz-landing-system : lando
2018-09-11 20:01:35 +00:00
Mark Striemer
5d944ec50d Bug 1469688 - Part 3: Maintain the order of browser languages dialog r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4488

--HG--
extra : rebase_source : 8387f69c86385c751d05a672c19c4bf4949eb0e0
2018-08-28 11:04:02 -05:00
Mark Striemer
b55669d542 Bug 1469688 - Part 2: Allow reordering of browser languages in prefs r=Gijs,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D3137

--HG--
extra : rebase_source : 364c510c0f524cedd312fb9f909eb71bebffbc3d
2018-08-28 16:26:06 -05:00