Commit graph

22 commits

Author SHA1 Message Date
Victor Porof
715ecc2059 Bug 1034585 - Sources with BreakStatements can't be parsed correctly, r=past 2014-07-04 14:54:51 -04:00
Victor Porof
be9057c904 Bug 1031308 - Type error in SyntaxTreesPool.prototype_call in Parser.jsm. r=past 2014-06-27 09:55:51 -04: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
Gijs Kruitbosch
32f5951fd0 Bug 977009 - switch to Cu.cloneInto instead of JSON.parse(JSON.stringify(foo)) because it's faster, r=vporof
--HG--
extra : rebase_source : 09dc0b502417ceb3384689f6517a4b21c46ff9d3
2014-05-26 13:25:00 +01:00
Victor Porof
26c43cf1ec Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals. r=past 2014-04-02 19:38:07 -04:00
Wes Kocher
83eb7ca9eb Backed out changeset a17657a71b01 (bug 991376) for pushing tests around, causing chunked browser-chrome bustage on a CLOSED TREE 2014-04-03 15:15:26 -07:00
Victor Porof
23f74dd497 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals, r=past 2014-04-03 11:22:23 -04:00
Victor Porof
552c900cba Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 12:31:51 +02:00
Carsten "Tomcat" Book
86d650be8c Backed out changeset a76a4f921987 (bug 964700) for XPC Bustage on a CLOSED TREE 2014-01-28 14:03:38 +01:00
Victor Porof
beb6aa8b37 Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 13:24:45 +02:00
Victor Porof
982be5ff5e Bug 963932 - Refactor the output emitted by Parser.jsm to avoid too much useless nesting, r=past 2014-01-28 12:18:20 +02:00
Alexey Novak
2db2ce3e20 Bug 956804 - Use DevToolsUtils.reportException in Parser.jsm; r=fitzgen 2014-01-23 09:55:16 -08:00
Victor Porof
f0310e87d7 Bug 956568 - Display more meaningful error information when Parser.jsm is sad, r=past 2014-01-06 08:41:19 +02:00
Victor Porof
92ed141540 Bug 952734 - Sources with LabeledStatements makes ParserHelpers.getNodeLocation puke, r=past 2014-01-03 23:41:28 +02:00
Victor Porof
f6dea06b20 Bug 948893 - Hovering certain bounds in a HTML source while paused in the debugger can sometimes incorrectly show a variable inspection popup, r=past 2013-12-13 22:28:04 +02:00
Victor Porof
952b20eb2d Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Victor Porof
39470f0c35 Bug 924879 - Minor cleanups for Parser.jsm, r=past 2013-10-15 20:10:34 +03:00
Nick Fitzgerald
99320a9b6c Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Panos Astithas
e9012c3b84 Fix step-in in chrome debugging by loading the promise library in the debugger server's compartment (Bug 834756); r=dtownsend,vporof 2013-07-12 22:13:21 +03:00
Victor Porof
2253842238 Bug 855544 - Implement a network monitor, r=dcamp,msucan 2013-03-11 23:50:42 -07:00
Victor Porof
9605f09f41 Bug 855030 - Parser.jsm should support fat arrow functions, r=past 2013-03-28 10:30:37 +02:00
Victor Porof
d7437c39eb Bug 762160 - Find Implementors of a function in the Debugger, r=past 2013-03-25 20:02:34 +02:00