Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Gijs Kruitbosch
55d172a89b
Bug 1321247, sanitize forms out of the RSS reader, r=dveditz
...
MozReview-Commit-ID: DOPHvrYv3wJ
2017-01-06 15:39:16 +00: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
fb8a196639
Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
...
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00: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
Mark Banner
8ddd9bb511
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Jared Wein
8860cdf2c1
Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04: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
Jared Wein
ebf1ccbe46
Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
...
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Dave Townsend
a2ba043d69
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Dave Townsend
2e4b5d2078
Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
2016-02-03 13:12:18 -08:00
Felipe Gomes
8ff5f8cd13
Bug 1231728 - Fixes some code to follow eslint rules. r=mak
2015-12-10 14:38:30 -05:00
Wes Johnston
8c124be826
Bug 1046500 - Fix mediagroup parsing in feed parser. r=mak
2014-08-06 20:43:47 -07: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
Wes Johnston
a18c39da14
Bug 998063 - Support media:thumbnail in feed parser. r=mak
2014-04-29 15:23:15 -07: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
Henri Sivonen
fb9dd4c09a
Bug 737013 - Expose sanitizer fragments on parseFragment(), migrate callers to the new interface. r=smaug.
2012-03-20 17:28:42 +02:00
Mark Capella
f7e8e280c3
Bug 407401 - Remove namespaced ARIA support in feed parser, r=mak
2012-03-19 21:15:26 +01:00
Phil Ringnalda
a15c08174c
Bug 512307 - Recognize and parse RFC 822 dates that use "Z" as a timezone, r=mak
2011-11-20 22:15:03 -08:00
Phil Ringnalda
7c5b5fc10c
Bug 677135 - Use JavaScript's Date object to determine whether dates in feeds can be parsed by parsing them, rather than using a regex, and return null rather than "Invalid Date" when they can't be parsed, r=mak
2011-11-05 23:12:28 -07:00
Phil Ringnalda
9856c6be91
Bug 618714 - Switch feed parser to using Date object's support for ISO8601 dates, r=mak
2011-06-26 18:53:48 -07:00
Mitchell Field
8969bddd5d
Bug 595513 - Reduce makefile recursion in toolkit. r=khuey
2011-03-08 14:58:46 +11:00