Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
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
Wes Kocher 1e02f948e4 Merge fx-team to m-c 2013-09-24 20:06:37 -07:00
Nick Fitzgerald 4d020c41be Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 16:01:01 -07:00
Nick Fitzgerald 5d3934bbc8 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 6fc3af666b Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 13:54:56 -07:00
Gregory Szorc 7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Nick Fitzgerald d8051fe46c Bug 762761 - add prettyPrint request to the remote debugging protocol server/client; r=past 2013-09-11 10:15:51 -07:00
Nick Fitzgerald b908756702 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 f85da297f0 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 0c6e598a67 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 02353a9c27 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 0c7a23a850 Bug 772119 - expose source mapped sources over the remote debugging protocol; r=past 2013-04-16 00:07:00 +03:00
Panos Astithas 2c8dec2f1f Backout eb887b962dfa (bug 772119) on suspicion of leaks 2013-04-10 16:08:59 +03:00
Panos Astithas 116a5ab638 Backout 50b1fc3ef560 (bug 849069) on suspicion of leaks 2013-04-10 16:05:35 +03:00
Nick Fitzgerald 6eb54bdd02 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 49d18847ef Bug 772119 - Expose source mapped sources over the remote debugging protocol; r=past 2013-04-09 11:42:00 +03:00
Nick Fitzgerald cda8e0611f 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 0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey 9a3674d80a 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 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 50b5d3f681 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 d87fce3ec9 bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Michael Ratcliffe b58c48f6a7 Bug 777355 - Move Console.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests.; r=rcampbell
--HG--
rename : browser/devtools/shared/Console.jsm => toolkit/devtools/Console.jsm
2012-07-25 18:34:34 +01:00
Rob Campbell 57b7742cc4 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 e9befb9911 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=rcampbell
--HG--
rename : browser/devtools/shared/Require.jsm => toolkit/devtools/Require.jsm
2012-07-24 12:08:30 +01:00
Nick Fitzgerald 570e90155e 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