Mark Banner
691543ee89
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Brendan Dahl
f6923ccc24
Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
...
Preparing for transitioning to XHTML.
MozReview-Commit-ID: JLlmUxsvhIB
Differential Revision: https://phabricator.services.mozilla.com/D4265
--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Kris Maglione
80327d3561
Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3729
--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Paolo Amadini
36a131aadc
Bug 1472716 - Part 2 - Convert the listbox in "languages.xul" to "richlistbox". r=jaws,gandalf
...
Support for "listbox" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.
MozReview-Commit-ID: Bi2VKKi5rdk
--HG--
extra : source : 762819bac1b9efe0e939be07394bd7d293638c40
2018-07-10 15:07:15 +01:00
Zibi Braniecki
fe64f97f48
Bug 1460654 - Trigger eager l10n for listbox items in Preferences::Languages subdialog to avoid overflow. r=jaws
...
MozReview-Commit-ID: 6MR2YFbubYX
--HG--
extra : rebase_source : 3b5953bb260343175b8911f1e5a964dbf35efa92
2018-05-10 13:50:33 -07:00
Zibi Braniecki
7883ca707e
Bug 1457021 - Migrate the JS of Preferences::Languages to Fluent. r=flod,Gijs
...
MozReview-Commit-ID: 6RTJGkrhoWY
--HG--
extra : rebase_source : 3413fff981fd0a46a4daa7ff41c792292335bf35
2018-04-25 15:46:50 -07:00
Zibi Braniecki
5f8d6040ce
Bug 1451992 - Migrate Preferences::Subdialogs::Languages to Fluent. r=gijs,flod
...
MozReview-Commit-ID: 96C1P3ZbJeH
--HG--
extra : amend_source : fbc969a6a5862f461bb4612c02030a0d50d8dab9
2018-04-05 21:43:11 +02:00
Zibi Braniecki
1312e353df
Bug 1449505 - Migrate Preferences languages.js to use mozIntl.getLocaleDisplayNames. r=jaws
...
MozReview-Commit-ID: BBFJXlxRAOy
--HG--
extra : rebase_source : a0215933200ca5ef3c3a05ecffec2f3445f41c57
2018-04-01 15:08:08 +02:00
Andreea Pavel
fdfd625082
Backed out 9 changesets (bug 1449505) for failing xpcshell at browser/extensions/formautofill/test/unit/test_addressRecords.js on a CLOSED TREE
...
Backed out changeset e96c92f80c09 (bug 1449505)
Backed out changeset 760e4d29af7e (bug 1449505)
Backed out changeset e82c5152cc17 (bug 1449505)
Backed out changeset 07143ec143ae (bug 1449505)
Backed out changeset 75a7dee8e060 (bug 1449505)
Backed out changeset a58126ed4b3f (bug 1449505)
Backed out changeset f0b4429eedff (bug 1449505)
Backed out changeset 4bf3befa991d (bug 1449505)
Backed out changeset 398d8addfbd8 (bug 1449505)
2018-04-11 10:07:42 +03:00
Zibi Braniecki
bae2bcfec7
Bug 1449505 - Migrate Preferences languages.js to use mozIntl.getLocaleDisplayNames. r=jaws
...
MozReview-Commit-ID: BBFJXlxRAOy
--HG--
extra : rebase_source : ac9996bb6df67044fc4ba172887fbdc0874f0edc
2018-04-01 15:08:08 +02:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Myk Melez
13cdc4e6a0
Bug 1435786 - ensure Request English checkbox syncs to/from pref r=jaws
...
MozReview-Commit-ID: FVcsPOSS01T
--HG--
extra : rebase_source : a894e6ea2d0b0721ac584323c12be2b2469ec1bd
2018-02-05 14:04:43 -08:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Myk Melez
c3da3e7642
Bug 1379338 - scriptify preferences XBL; r=jaws
...
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
bc8e5f198e
Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
...
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
f5bb45814e
Bug 1379338 - scriptify preferences XBL; r=jaws
...
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Chung-Sheng Fu
9fdde28a64
Bug 1039069 - Show a hint of the change of the preferred language list. r=mconley
...
MozReview-Commit-ID: LHyXmdnyf3N
--HG--
extra : rebase_source : 671f99ad432245b7dfe925e4867c76849a3bc2a7
2017-10-24 16:28:53 +08:00
Narcis Beleuzu
b5d0f0fad6
Backed out 3 changesets (bug 1039069) for ESlint failures on browser/components/preferences/languages.js r=backout on a CLOSED TREE
...
Backed out changeset 036a91aed264 (bug 1039069)
Backed out changeset 69af55073d39 (bug 1039069)
Backed out changeset 4fce39a14630 (bug 1039069)
2017-11-30 23:38:27 +02:00
Chung-Sheng Fu
aa1d33f20a
Bug 1039069 - Show a hint of the change of the preferred language list. r=mconley
...
MozReview-Commit-ID: LHyXmdnyf3N
--HG--
extra : rebase_source : e06a58acf5b292fc9869042222bba84b18fde33a
2017-10-24 16:28:53 +08:00
Mark Banner
4de6bf22b1
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Dan Banner
7caa92d5d8
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Frederik Braun
777b70a929
Bug 1358050: Add no-implied-eval rule to eslint config r=standard8
...
MozReview-Commit-ID: KdmpXq2rg1q
--HG--
extra : rebase_source : fc89233a590604e1035be4aebfee9cda894ee07e
2017-04-20 10:33:22 +02: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
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +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
Jared Wein
ecab54a7c9
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend
8de07a19a0
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Dave Townsend
0a2c8f9b78
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Jared Wein
8d45b8762e
Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
...
MozReview-Commit-ID: 62ymdZhluHx
--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00
Jonathan Kew
567c194474
Bug 1194346 - Trigger an extra reflow when initially showing or resizing the Languages list in Preferences, to work around an XUL bug and ensure the languages are visible in RTL mode. r=gijs
2015-11-06 14:55:32 +00:00
Jim Blandy
7e20285e70
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Andres Hernandez
41c0955363
Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
...
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Javi Rueda
cc999cc4f4
Bug 246827 - Newly added languages should appear on top of the list. r=gavin
2011-12-05 00:25:24 +01:00
smontagu%smontagu.org
acbe5a2568
Make case-insensitive comparisons between the list of language-region codes and the intl.accept_languages pref. Bug 370387, r=mano
2007-02-15 16:39:04 +00:00
gavin%gavinsharp.com
4ee897ceaa
Bug 303520: Cannot select added language in language preferences dialog if added when the list can scroll, r=mconnor
2005-09-13 22:49:40 +00:00
gerv%gerv.net
35149ea17d
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-09-13 18:40:56 +00:00
aaronleventhal%moonset.net
1c7cc222e3
Bug 306726. Should not have accesskey on a menulist option label. r=mano
2005-09-01 19:58:51 +00:00
jshin%mailaps.org
f3fe549e04
bug 300759 : bad sorting of language names in non-English locales : r/a=mconnor
2005-07-20 14:17:21 +00:00
db48x%yahoo.com
e475909d23
bug 296662: Javascript strict warnings in preferences dialog
...
patch by Henrik Skupin <hskupin@gmail.com>, r=bsmedberg, a=asa
2005-06-14 10:19:34 +00:00
ben%bengoodger.com
e440bea2f9
284560 - Can't add English [en] to the language list. Prevent discovery of "en" in the language list when really the match is en-us. Patch by Anbo Motohiko <amotohiko_mozillafirebird@yahoo.co.jp> r=me... also relocate license header to top of file
2005-03-05 08:41:53 +00:00
ben%bengoodger.com
a412b577ea
283604 - adding languages to languages dialog is broken
2005-02-27 09:24:00 +00:00
ben%bengoodger.com
b622819900
274712 - new options dialog
2005-02-25 09:07:58 +00:00