Commit Graph

24 Commits

Author SHA1 Message Date
Frederik Braun
b1ea2e74fd Bug 1358050: Add no-implied-eval rule to eslint config r=standard8
MozReview-Commit-ID: KdmpXq2rg1q
2017-04-20 10:33:22 +02:00
Jared Wein
5a181760cc 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
2017-03-21 14:29:43 -04:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +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
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Jared Wein
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Jonathan Kew
a4f7f70969 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
39dc0c6097 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
e80b022632 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Javi Rueda
da8953d272 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
667932d600 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
dc45e60cae 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
5ce3368933 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
aaronleventhal@moonset.net
a98c283705 Bug 306726. Should not have accesskey on a menulist option label. r=mano 2005-09-01 19:58:51 +00:00
jshin@mailaps.org
9b0e9eb0d4 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
f77f41f5a3 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
ca54333759 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
fba1481246 283604 - adding languages to languages dialog is broken 2005-02-27 09:24:00 +00:00
ben@bengoodger.com
210147bf5a 274712 - new options dialog 2005-02-25 09:07:58 +00:00