Commit Graph

32 Commits

Author SHA1 Message Date
J. Ryan Stinnett
2dccaffb3d Bug 1090768 - Update to source-map 0.1.41. r=fitzgen 2014-12-17 11:55:00 -05:00
Nick Fitzgerald
985ce84bb6 Bug 1076887 - Update the tree's copy of the mozilla/source-map library to 0.1.40. r=past 2014-10-02 08:44:00 +02: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
Eddy Bruel
9437809ecd Bug 1003095 - Fix strict errors in the debugger server;r=past 2014-05-15 16:36:03 +02:00
Heather Arthur
b575098bbb Bug 959003 - Update SourceMap.jsm to include Sass-compatible changes. r=fitzgen 2014-01-14 09:49:08 -05:00
Nick Fitzgerald
a8983e5135 Bug 916454 - Delay parsing source maps until queried for a location; r=past 2013-10-06 11:45:07 -07:00
Nick Fitzgerald
29228b180b Bug 918802 - Move the debugger's pretty printing into a worker; r=past 2013-10-01 14:25:19 -07:00
Nick Fitzgerald
03267eae6a Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 16:01:01 -07:00
Nick Fitzgerald
dc8f000e9d Backout c49d5912c0de on a CLOSED TREE due to pushing the wrong version of the patch. 2013-09-24 15:16:25 -07:00
Nick Fitzgerald
7012c83458 Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 13:54:56 -07:00
Nick Fitzgerald
1c361dd831 Bug 762761 - add prettyPrint request to the remote debugging protocol server/client; r=past 2013-09-11 10:15:51 -07:00
Nick Fitzgerald
be036f6f96 Bug 889492 - Debugger does not stop at the debugger; statement in original files; r=anton 2013-08-22 10:41:48 -07:00
Nick Fitzgerald
3a574cf388 Bug 885597 - absolute urls not working with sourcesContent and source maps in file:// urls; r=dcamp 2013-06-23 09:44:29 -07:00
Nick Fitzgerald
b2c15b41c3 Bug 882986 - A source map's sourcesContent doesn't work when the original file path is absolute; r=dcamp 2013-06-13 18:21:06 -07:00
Nick Fitzgerald
6c34e80fc4 Bug 849069 - relative source map URLs should be resolved according to the spec's rules; r=past 2013-04-09 11:40:00 +03:00
Nick Fitzgerald
d3d0781c37 Bug 772119 - expose source mapped sources over the remote debugging protocol; r=past 2013-04-16 00:07:00 +03:00
Panos Astithas
100f10947d Backout eb887b962dfa (bug 772119) on suspicion of leaks 2013-04-10 16:08:59 +03:00
Panos Astithas
a813c8393c Backout 50b1fc3ef560 (bug 849069) on suspicion of leaks 2013-04-10 16:05:35 +03:00
Nick Fitzgerald
c79c4e1c95 Bug 849069 - Relative source map URLs should be resolved according to the spec's rules; r=past 2013-04-09 11:40:00 +03:00
Nick Fitzgerald
75617896f8 Bug 772119 - Expose source mapped sources over the remote debugging protocol; r=past 2013-04-09 11:42:00 +03:00
Nick Fitzgerald
12c621d99c Bug 831465 - SourceMap.jsm breaks with jsloader.reuseGlobal == true; r=past 2013-01-16 15:53:00 +02:00
Nick Fitzgerald
fbfcd49ab9 Bug 828070 - Update SourceMap.jsm from mozilla/source-map to get the |sources| getter; r=rcampbell 2013-01-09 14:55:00 -05: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
Nick Fitzgerald
3808776a69 bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Michael Ratcliffe
8ac615d748 Bug 777355 - Move Console.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests.; r=rcampbell 2012-07-25 18:34:34 +01:00
Rob Campbell
a97f6ff70d Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=gavin 2012-07-24 15:02:10 -07:00
Michael Ratcliffe
a8474ddf34 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=rcampbell 2012-07-24 12:08:30 +01:00
Nick Fitzgerald
d03c21c669 Bug 669999 - Add a library for parsing and consuming source map files to Firefox; r=joe_walker,rcampbell 2012-07-18 17:17:00 -04:00