Commit Graph

38 Commits

Author SHA1 Message Date
Tom Tromey
8b8b9b247f Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
chaithanya
4383be14eb Bug 1090880 - Remove FUEL.r=mak 2016-01-28 16:47:26 +01:00
Carsten "Tomcat" Book
10715e4ef6 Merge mozilla-central to mozilla-inbound 2016-01-27 12:10:56 +01:00
Cykesiopka
11df5f817c Bug 1242254 - Enable initial set of eslint rules for PSM. r=dkeeler
These rules are copied from toolkit/.eslintrc (with non-passing rules excluded and previously commented out and passing rules included).
2016-01-24 02:35:36 -08:00
Patrick Brosset
35eb2d7cb8 Bug 1242689 - Fix eslint errors in devtools/client/*.js and un-ignore the files; r=tromey 2016-01-26 10:53:45 +01:00
Gabriel Luong
7783640aea Bug 1242278 - Eslint cleanup of Inspector markup view r=pbro 2016-01-25 15:00:04 -05:00
Jared Wein
4bad58401a Bug 1242137 - Fix eslint errors in /browser/components/customizableui. r=gijs 2016-01-23 14:55:27 -05:00
Jared Wein
3cbabf2143 Bug 1241993 - Fix eslint errors in nsBrowserGlue.js. r=gijs 2016-01-22 15:48:20 -05:00
Jared Wein
28c64a99d1 Bug 1242125 - Fix eslint errors in /browser/components/uitour. r=mattn 2016-01-23 19:46:10 -05:00
Gijs Kruitbosch
7ddc97896e Bug 1200639 - part 0: fix eslint issues in nsBrowserContentHandler.js, r=jaws 2016-01-19 22:03:11 +00:00
Patrick Brosset
8fbd12a804 Bug 1213651 - Avoid server round-trips when displaying animated dom nodes; r=tromey
The main change here is that nodeFronts that have already been displayed
in the timeline are stored in a WeakMap so they can be retrieved from it
next time they're displayed and avoid a server-side round trip which, in
turn, causes the UI to flicker.

The other change is that now, it is possible to tell the animations actor
what is the current walker actor, which allows animation player actors to
directly send the NodeActor ID as part of their forms. Which, in most cases,
completely eliminates the server round-trip, because the corresponding
NodeFronts are already known on the client, so we get them from there.

The last change done here is that AnimationTargetNode now becomes a thin
wrapper on top of the new DomNodePreview component that was extracted so
it can be reused in other places.
2016-01-21 13:19:58 +01:00
Marco Bonardo
39c27b05b2 Bug 1230471 - Basic eslint fixes in places. r=mconley 2015-12-10 06:46:49 -05:00
Georg Fritzsche
c7e43fa0c6 Bug 1240091 - Enable linting on more toolkit modules. r=Mossop 2016-01-15 19:20:44 +01:00
Mark Banner
c908eae7a9 Bug 1232707 - Build changes to support Loop imported as an add-on. r=mikedeboer,r=glandium 2016-01-14 17:53:32 +00:00
Dave Townsend
fec43e589c Bug 1231956: Add devtools to .eslintignore. r=pbrosset
Devtools has a lot of eslint failures right now that would block us from turning
on compile time eslint checks in bug 1229588. For now I'd like to just ignore
the directory and then you can work to clean up the warnings and re-enable
checks at whatever pace you like.
2016-01-11 14:28:54 -08:00
Dave Townsend
8d4196f5c6 Bug 1238781: Add pre-processed pref file to .eslintignore. r=felipe 2016-01-11 15:35:50 -08:00
Dave Townsend
df031b5ddd Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Kris Maglione
c9af889185 Bug 1230776: Support scripts from HTML files in eslint. r=gps
Also removes related unused variables in mach_commands.py.
2015-12-05 13:17:49 -08:00
Gijs Kruitbosch
c6feda4ec8 Bug 1233492 - make browser/experiments eslintable, r=felipe 2015-12-17 19:42:24 +00:00
Gijs Kruitbosch
9bfa781081 Bug 1233470 - make browser/modules eslintable, r=Mossop 2015-12-17 18:31:08 +00:00
Dave Townsend
327f490f7f Back out the videocontrols piece of bug 1231828 due to b2g breakage and add to the ignore list. r=backout 2015-12-16 12:45:58 -08:00
Patrick Brosset
4e4f8e5714 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Robert Helmer
bbe6e859f8 Bug 1230861 - remove add-ons manager from ESLint ignore file. r=mossop 2015-12-06 17:59:36 -08:00
Marco Bonardo
70d43a3693 Bug 1230549 - Storage should pass more eslint rules. r=yoric 2015-12-04 17:00:03 +01:00
Kris Maglione
1fb8f15cd8 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.
2015-12-02 16:58:53 -08:00
Dave Townsend
625465b938 Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN 2015-12-03 10:02:45 -08:00
Dave Townsend
d2de4624de Backed out 5161ded671e0 for causing Mulet failures 2015-12-03 20:01:43 -08:00
Dave Townsend
60c87c661d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN 2015-12-03 10:02:45 -08:00
Wes Kocher
4aa50ddd49 Merge m-c to fx-team, a=merge 2015-12-03 16:12:01 -08:00
Fabrice Desré
3dfc2cff96 Bug 1229620 - Replace #ifdefs in b2g/ code by AppConstants r=timdream 2015-12-03 09:14:07 -08:00
Robert Helmer
c5ca575245 bug 1228792 - remove addons manager from eslint ignore r=mossop 2015-12-02 18:41:58 -08:00
Felipe Gomes
26bf843a09 Bug 1229603 - Make most of browser/base lintable by removing non-standard syntax. r=Mossop 2015-12-02 17:51:26 -02:00
Michael Comella
27fa345bb7 Bug 1229433 - Ignore HomeProvider in eslint. r=nalexander 2015-12-01 10:06:52 -08:00
Mark Banner
e235d2f350 Bug 1229004 - Rename the libs directory to vendor in browser/extensions/loop/standalone/content. r=dmose 2015-12-01 14:47:50 +00:00
Mark Banner
a2902cbee3 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
Phil Ringnalda
19851ebadb Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner
70f59040f6 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-27 22:37:38 +00:00
Dave Townsend
67b6efe88d Bug 1228628: Move all eslintignore rules to the top-level of the tree. r=mconley 2015-11-27 09:39:59 -08:00