Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 7b30105d39 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 cce53c69bc 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

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Michael Kaply ea4b127f8c Bug 1324031 - LocalizablePrefs not handling falsey correctly. r=mixedpuppy
MozReview-Commit-ID: 4GcjZTgoJ2F

--HG--
extra : rebase_source : dc5e6e070abf92a2ac9b093a76894e175c226ed2
2017-01-10 15:20:18 -06:00
Florian Quèze 028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Mark Banner a41b5adcb0 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7

--HG--
extra : rebase_source : d2418b8cfab0a399d0dfb5a96ea50c62fac63e70
2016-11-03 11:51:48 +00:00
Michael Kaply 6e3181bbec Bug 1313427 - menu bar is controlled with autohide, not collapsed. r=mixedpuppy
MozReview-Commit-ID: 7ZYJP2ALixJ

--HG--
extra : rebase_source : c0a9c38b55110336e92b482c2b527279bf47eea9
2016-10-31 11:31:58 -05:00
Jared Wein fd84c776c7 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

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Michael Kaply 472f566af8 Bug 1254268 - Distribution should use default prefs, regression from 1252466; r=mconnor 2016-03-08 09:39:45 -06:00
Michael Kaply 94377b6e83 Bug 782924 - Allow locale specific preferences in distribution.ini; r=mixedpuppy 2016-03-02 15:04:38 -06:00
Michael Kaply fc12ac3982 Bug 1252466 - Switch distribution.js to use Preferences.jsm; r=mixedpuppy 2016-03-01 10:58:04 -06:00
Michael Kaply 69571aa045 Bug 1251729 - Don't use eval for distribution.js; r=mixedpuppy 2016-02-29 10:47:01 -06:00
Michael Kaply ecb44c4c0c 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 459b5b8e45 Bug 1239949 - Add a pref for showing bookmarks toolbar and menubar; r=mixedpuppy
MozReview-Commit-ID: KqCSjlhWAOo

--HG--
extra : rebase_source : 5a25d574ea29b5f4949301ea8fcb20da8fc8cb59
2016-02-24 09:47:52 -06:00
Michael Kaply ea9d3ac61a Bug 1249630 - Add language support to distribution.js; r=mixedpuppy 2016-02-19 10:59:15 -06:00
Hector Zhao 024dad17ee Bug 1220547 - Setting favicon and keyword for a bookmark in distribution.ini. r=mak
--HG--
extra : transplant_source : %CE%D0%B3J%92%A0%82%3E%F9%F5Ns%2A%9Aim%10%AE%E4%E2
2015-10-30 11:22:29 +08:00
Carsten "Tomcat" Book 08997000eb 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 e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa a9634adc70 Bug 1207491 - Part 5: Remove use of expression closure from browser/components/distribution.js. r=Gijs
--HG--
extra : commitid : 9NjxBofSZWn
extra : rebase_source : 5bae2580925ad7473a5dc2e3d669b37258ca09c3
2015-09-23 18:36:20 +09:00
Mike Kaply 5475327904 Bug 1001158 - Handle an invalid distribution.ini gracefully, r=gijs
--HG--
extra : rebase_source : b5bc9647a5df1def549e34238881406b649ea272
extra : amend_source : beb455f572b9d27ece058af5ee9e7fbc1c9b2cb0
2015-04-08 14:18:31 -05:00
Tim Taubert 6321ee539b Bug 1094886 - Make distribution.js use the new Bookmarks API r=mak 2015-03-16 12:51:02 +01:00
Tooru Fujisawa 6eccb1d0bc 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 81d559a243 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 784031cd19 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 bf86f18bbe 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 35e2448a4e 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 b69ccc0a17 Bug 842334 - Move distribution/ back to the installation directory. r=bsmedberg,r=gavin 2013-05-11 20:14:58 +02:00
Kyle Huey 0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey 9a3674d80a 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 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 50b5d3f681 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 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo d20e75ed38 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Kev Needham 6beafb7353 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 4b94d141dd Backout previous fix for bug 457777 2010-02-06 12:30:02 +01:00
Kev Needham 7da0536db1 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 ef4bf93d67 Bug 523936 - Random Test Failure in test_browserGlue_distribution.js, r=sdwilsh 2010-01-10 11:47:36 +01:00
Marco Bonardo 63f30c88f7 typo fix and small cleanup of test_browserGlue_distribution.js 2009-11-04 15:41:35 +01:00
Marco Bonardo a21ef72782 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 6f84c68e3d 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
Dan Mills 54ce63d6cc Bug 450668: Add support for livemarks to distribution.ini. r=gavin 2008-08-25 14:22:33 -07:00
Rob Campbell 48da4723b5 bug 436540 - BookmarksMenu items from distribution.ini do not get added to Bookmarks Menu, p=me, r=gavin+thunder 2008-07-18 11:00:41 -03:00
Kohei Yoshino dbfb51c76b Bug 442830 – modules/distribution.js: int and bool prefs are not set correctly. r=thunder/bsmedberg 2008-07-12 13:00:47 +02:00
thunder@mozilla.com cde460cf95 Bug 392501: Parse distribution.ini at startup. r=bsmedberg, a=mconnor 2007-09-11 08:52:04 -07:00