Commit Graph

54 Commits

Author SHA1 Message Date
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Marco Castelluccio
91823bf6b0 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs 2017-07-31 13:25: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
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
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02: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
Michael Kaply
91ffb6cadb Bug 1324031 - LocalizablePrefs not handling falsey correctly. r=mixedpuppy
MozReview-Commit-ID: 4GcjZTgoJ2F
2017-01-10 15:20:18 -06:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
Michael Kaply
b74aab31be Bug 1313427 - menu bar is controlled with autohide, not collapsed. r=mixedpuppy
MozReview-Commit-ID: 7ZYJP2ALixJ
2016-10-31 11:31:58 -05:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Michael Kaply
22c2c25c11 Bug 1254268 - Distribution should use default prefs, regression from 1252466; r=mconnor 2016-03-08 09:39:45 -06:00
Michael Kaply
9a077e7441 Bug 782924 - Allow locale specific preferences in distribution.ini; r=mixedpuppy 2016-03-02 15:04:38 -06:00
Michael Kaply
6fcaf28c0a Bug 1252466 - Switch distribution.js to use Preferences.jsm; r=mixedpuppy 2016-03-01 10:58:04 -06:00
Michael Kaply
bd1b6673b8 Bug 1251729 - Don't use eval for distribution.js; r=mixedpuppy 2016-02-29 10:47:01 -06:00
Michael Kaply
6e01f3e33f Bug 1249742 - Don't set prefs at all if overridden by lang or locale; r=mixedpuppy 2016-02-26 14:47:53 -06:00
Michael Kaply
6fb4a9d2ff Bug 1239949 - Add a pref for showing bookmarks toolbar and menubar; r=mixedpuppy
MozReview-Commit-ID: KqCSjlhWAOo
2016-02-24 09:47:52 -06:00
Michael Kaply
e57b5c5792 Bug 1249630 - Add language support to distribution.js; r=mixedpuppy 2016-02-19 10:59:15 -06:00
Hector Zhao
cf2223646b Bug 1220547 - Setting favicon and keyword for a bookmark in distribution.ini. r=mak 2015-10-30 11:22:29 +08:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
92851d5a7e Bug 1207491 - Part 5: Remove use of expression closure from browser/components/distribution.js. r=Gijs 2015-09-23 18:36:20 +09:00
Mike Kaply
723d6af9f8 Bug 1001158 - Handle an invalid distribution.ini gracefully, r=gijs 2015-04-08 14:18:31 -05:00
Tim Taubert
e69a4a93bf Bug 1094886 - Make distribution.js use the new Bookmarks API r=mak 2015-03-16 12:51:02 +01:00
Tooru Fujisawa
bed410f456 Bug 1108382 - Part 1: Do not use non-standard flag argument of String.prototype.match/replace in browser/. r=gavin 2015-03-01 09:51:32 +09:00
Steven Michaud
0d82b5f691 Mac v2 signing - Bug 1047738 - Make distribution code look for the distribution directory under Contents/Resources due to v2 signing requirements. r=bsmedberg 2014-09-29 11:51:51 -07:00
Marco Bonardo
fd265057ac Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano 2014-03-12 16:24:23 +01:00
Robert Strong
df2f093adf Wallpaper fix - Bug 895473 - [Mac and Linux] Custom distribution settings for yahoo de and es distributions are not being set. r=mconnor 2013-07-19 13:17:29 -07:00
Marco Bonardo
e97407b065 bug 887404 - Allow test_browserGlue_distribution.js to run parallel to other tests.
r=gavin
2013-07-05 18:44:18 +02:00
Mike Hommey
9e331add55 Bug 842334 - Move distribution/ back to the installation directory. r=bsmedberg,r=gavin 2013-05-11 20:14:58 +02:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo
f7d6bfb317 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Kev Needham
ad709f1917 Bug 457777 - bookmark items in distribution.ini are not added if the item number has more than one digit, r=mak 2010-02-04 15:56:12 +01:00
Marco Bonardo
6a42642e7d Backout previous fix for bug 457777 2010-02-06 12:30:02 +01:00
Kev Needham
eb55de8357 Bug 457777 - bookmark items in distribution.ini are not added if the item number has more than one digit, r=thunder 2010-02-04 15:56:12 +01:00
Marco Bonardo
0e836ef409 Bug 523936 - Random Test Failure in test_browserGlue_distribution.js, r=sdwilsh 2010-01-10 11:47:36 +01:00
Marco Bonardo
3c5bd3f0c9 typo fix and small cleanup of test_browserGlue_distribution.js 2009-11-04 15:41:35 +01:00
Marco Bonardo
643ede4f80 Bug 516444 - Installation of Firefox Custom Builds without migration from a 2nd Browser is missing the Firefox default bookmarks, r=thunder 2009-10-05 12:13:04 +02:00
Dan Mills
c6f4ec33f9 Bug 449388: allow the customized-bokmarks-added preference to be changed (for compatibility with legacy deployments). r=gavin 2008-08-25 14:24:03 -07:00