Commit graph

287 commits

Author SHA1 Message Date
Gijs Kruitbosch
d2eadebb61 Bug 1533389 - stop leaving an item in the application handler list when sorting/filtering, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22545

--HG--
extra : moz-landing-system : lando
2019-03-07 17:38:23 +00:00
Andrei Oprea
9e314a60e9 Bug 1528953 - Add pref to opt out of recommended features r=k88hudson
To be reviewed together with https://github.com/mozilla/activity-stream/pull/4819

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

--HG--
extra : moz-landing-system : lando
2019-03-05 10:55:14 +00:00
Marco Bonardo
5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +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
Dave Townsend
ca5293cbed Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs
Uses a different profile depending on the install directory of the application.
installs.ini is used to map a hash of the install directory to a profile
directory.

If no profile is marked as default for the current install we use a heuristic
explained in the code to decide whether to use the profile that would have
been used before this feature.

The feature is disabled in snap builds where the install directory changes for
every version of the app, but multiple instances cannot share profiles anyway.
A boolean flag is used to turn on the feature because in a later patch we need
to be able to turn off the behaviour at runtime.

Includes code folded in from bug 1518634, bug 1522751, bug 1518632 and bug 1523024.

--HG--
extra : rebase_source : 0250c70e992fd8369e52ccee3755cf116a894791
extra : intermediate-source : e69cac07b209ad4ef4229815ffd8138ed64c348e
extra : source : e406bf0bcd665bd0e54ddb13d9ae880004badef1
2019-01-25 16:02:28 -08:00
Coroiu Cristina
98ec0ea927 Backed out 7 changesets (bug 1518632, bug 1463198, bug 1455707, bug 1522934, bug 1322797, bug 1474285) for build bustages at /builds/worker/workspace/build/src/toolkit/xre/nsAppRunner.cpp on a CLOSED TREE
Backed out changeset 82355ab7e063 (bug 1455707)
Backed out changeset b965981c9ce0 (bug 1463198)
Backed out changeset 21a801ca5f6d (bug 1455707)
Backed out changeset 05200c5388b4 (bug 1518632)
Backed out changeset ebcd8225434a (bug 1522934)
Backed out changeset e69cac07b209 (bug 1474285)
Backed out changeset 35af79575f54 (bug 1322797)
2019-01-31 03:34:49 +02:00
Dave Townsend
007be95c70 Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs
Uses a different profile depending on the install directory of the application.
installs.ini is used to map a hash of the install directory to a profile
directory.

If no profile is marked as default for the current install we use a heuristic
explained in the code to decide whether to use the profile that would have
been used before this feature.

The feature is disabled in snap builds where the install directory changes for
every version of the app, but multiple instances cannot share profiles anyway.
A boolean flag is used to turn on the feature because in a later patch we need
to be able to turn off the behaviour at runtime.

Includes code folded in from bug 1518634, bug 1522751, bug 1518632 and bug 1523024.

--HG--
extra : rebase_source : b4608f6e8800af4f154daf0e0262f521c8ebd9fd
extra : intermediate-source : ba34b021c8e995ec7fc7c7fbb3dcc5dcf268278c
extra : source : e406bf0bcd665bd0e54ddb13d9ae880004badef1
2019-01-25 16:02:28 -08:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Timothy Guan-tin Chien
de9b8ba1e2 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 00:27:29 +00:00
Andreea Pavel
54348c9327 Backed out changeset ad9834d2b44e (bug 1520350) for failing browser_aboutPrefs_fc_check_otherInstance.js on a CLOSED TREE 2019-01-28 22:21:21 +02:00
Timothy Guan-tin Chien
d524c53377 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:21:59 +00:00
Kirk Steuber
b7954e5213 Bug 1512302 - Indicate on Windows that the App Update setting is installation-specific r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15987

--HG--
extra : moz-landing-system : lando
2019-01-25 20:42:49 +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
Kris Maglione
2fe0de01dc Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377

--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -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
Gijs Kruitbosch
db2b40265a Bug 1506173 - use separate pref for warning on quit with sessionstore enabled, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D13535

--HG--
extra : moz-landing-system : lando
2018-11-30 20:21:59 +00:00
Robert Strong
43b69e2d87 Bug 1506915 - Move app update auto enabled / disabled to a jsm. r=bytesized,chutten
This moves getting and setting the value of app.update.auto from nsUpdateService.js to UpdateUtils.jsm so nsUpdateService.js isn't loaded during startup
Changes the browser_policy_app_update_URL.js test to check the default pref for app.update.url since the default pref is read by app update
Fixes a NS_NOINTERFACE error in app update xpcshell tests for AppInfo not implementing nsIPlatformInfo

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

--HG--
extra : moz-landing-system : lando
2018-11-28 21:47:03 +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
Mark Striemer
2a883011a0 Bug 1509080 - Clear language change confirmation content on hide r=jaws
Previously this would just clear the locales attribute on the button, but the
button isn't always part of the content now. The content is generated in full
when it is shown.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:56:27 +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
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
Jack Smith
8551788086 Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

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

--HG--
extra : moz-landing-system : lando
2018-11-14 23:10:36 +00:00
Mark Striemer
3fb3ce792d Bug 1479013 - Include both languages in the browser language switch confirmation r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D10308

--HG--
extra : moz-landing-system : lando
2018-11-13 17:46:19 +00:00
Cosmin Sabou
7f37bee189 Backed out 4 changesets (bug 1491676) for causing browser chrome failures on browser_storagePressure_notification. CLOSED TREE
Backed out changeset 08cbaa2f9183 (bug 1491676)
Backed out changeset fae949de1ed5 (bug 1491676)
Backed out changeset aeb045b90321 (bug 1491676)
Backed out changeset e75c59f129ea (bug 1491676)
2018-11-07 20:53:48 +02:00
Jack Smith
19ecda88dd Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

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

--HG--
extra : moz-landing-system : lando
2018-11-07 18:05:56 +00:00
Ciure Andrei
c5b96773e4 Backed out 4 changesets (bug 1491676) for browser-chrome permissions failures CLOSED TREE
Backed out changeset e860d0d115d0 (bug 1491676)
Backed out changeset 04b83b7977c4 (bug 1491676)
Backed out changeset eb19b384d908 (bug 1491676)
Backed out changeset 76ea995336dc (bug 1491676)
2018-11-07 13:44:26 +02:00
Jack Smith
0184a8795c Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:59:02 +00:00
Kirk Steuber
d0dff98798 Bug 1458308 - Change about:preferences to use the new auto update pref mechanism r=jaws,flod
Depends on D4590

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:44 +00:00
Mark Striemer
e9bacee270 Bug 1493711 - Enable langpack download on release and Beta r=jaws
Fix the message bar showing when the "search" option is selected. A value
was added in 597134aa66 for testing but the change handler was expecting
no value to be set for search.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:33:13 +00:00
Mark Striemer
a793cc7b2c Bug 1504725 - Explicitly pass event to language change handler r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D10924

--HG--
extra : moz-landing-system : lando
2018-11-05 18:49:07 +00:00
Ciure Andrei
872b1e9fb8 Backed out 4 changesets (bug 1458308) for causing uiAutoPref.js perma failures CLOSED TREE
Backed out changeset 4bf34689d4b6 (bug 1458308)
Backed out changeset 51e675ce6c56 (bug 1458308)
Backed out changeset 99317c8cd247 (bug 1458308)
Backed out changeset 7370877bd9e1 (bug 1458308)
2018-10-30 20:35:43 +02:00
Kirk Steuber
106f7fc425 Bug 1458308 - Change about:preferences to use the new auto update pref mechanism r=flod,jaws
Depends on D4590

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

--HG--
extra : moz-landing-system : lando
2018-10-29 21:30:36 +00:00
Jack Smith
c9979fa9b6 Bug 1491676 - Moves cloudstorage string r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8552

--HG--
extra : moz-landing-system : lando
2018-10-26 14:57:45 +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
Zibi Braniecki
56bbe2cfb3 Bug 1498960 - Update Fluent in Gecko to 0.9. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D8689

--HG--
rename : intl/l10n/MessageContext.jsm => intl/l10n/Fluent.jsm
extra : moz-landing-system : lando
2018-10-20 16:35:50 +00:00
Ed Lee
b8c695c3d3 Bug 1500553 - Add CFR preference UI to about:preferences r=flod,ursula,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D9286

--HG--
extra : moz-landing-system : lando
2018-10-20 12:38:08 +00:00
Gijs Kruitbosch
9048f58f8f Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
Differential Revision: https://phabricator.services.mozilla.com/D8524

--HG--
extra : moz-landing-system : lando
2018-10-16 12:47:36 +00:00
Michael Kaply
8f7bd187fa Bug 1499164 - Properly handle locked startup page. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8760

--HG--
extra : moz-landing-system : lando
2018-10-15 19:55:33 +00:00
Michael Kaply
017a78d804 Bug 1496855 - Switch PDF policy to use pdfjs.disabled. r=Felipe
pdfjs.disabled now works from policy, so use it

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

--HG--
extra : moz-landing-system : lando
2018-10-10 21:57:34 +00:00
Mark Striemer
56666ef64c Bug 1469696 - Part 5: Test listing and installing AMO langpacks r=aswan,jaws
Differential Revision: https://phabricator.services.mozilla.com/D6315

--HG--
extra : moz-landing-system : lando
2018-10-02 17:57:33 +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
Botond Ballo
b0cda0adbe Bug 1488908 - QI the elements of nsIGIOservice.getAppsForURIScheme() to nsIHandlerApp. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5886

--HG--
extra : moz-landing-system : lando
2018-09-14 17:59:28 +00:00
Kris Maglione
8aa378b328 Bug 1486249: Part 2 - Convert JS nsISimpleEnumerator implements to JS enumerators. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D4291

--HG--
extra : rebase_source : be92be2a429c3ccd85898eb7f76404154eaf1287
2018-08-25 18:31:44 -07:00
Florian Quèze
9eb5b36fba Bug 1488232 - add a Google translation backend, r=felipe.
--HG--
rename : browser/components/translation/BingTranslator.jsm => browser/components/translation/GoogleTranslator.jsm
2018-09-03 19:15:56 +02:00
Jared Wein
40361e66df Bug 1487404 - Coalesce multiple appendChild calls to one appendChild call when building the application handlers list. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D4697

--HG--
extra : moz-landing-system : lando
2018-08-31 17:50:17 +00:00