Commit Graph

13 Commits

Author SHA1 Message Date
Nathan Froyd
6eea12bf47 Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Jim Blandy
4d6a633bba 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
David Rajchenbach-Teller
312556619d Bug 1008944 - Expose AsyncShutdown barriers for OS.File. r=froydnj 2014-06-17 15:11:00 -04:00
Marina Samuel
ab58b8f2fa Bug 995310 - Only create metro folder in metro environment. r=Yoric 2014-05-30 09:45:41 -04:00
Marco Castelluccio
c2fe9fc0d8 Bug 987101 - Switch the CrashMonitor to native OS.File.read(). r=Yoric 2014-03-25 13:58:00 +01:00
Marina Samuel
39d3346840 Bug 872206 - Part 1 - Create a separate CrashMonitor file for Metro. r=dteller. 2014-02-12 12:59:11 -05:00
Emerson Veenstra
f943131f64 Bug 967086 - Move toolkit/components/crashmonitor/nsCrashMonitor.js from EXTRA_PP_COMPONENTS to EXTRA_COMPONENTS. r=ttaubert 2014-02-08 20:56:38 -05:00
Steven MacLeod
8f8aec9549 Bug 959130 - Stop using OS.File for startup read in CrashMonitor.jsm. r=ttaubert 2014-02-03 15:14:16 +01:00
Michael Brennan
c186d04972 Bug 888373: Simple API for detecting startup/shutdown crashes - tests;r=yoric,gps 2013-08-20 22:46:38 +02:00
Michael Brennan
fa1315905a Bug 888373: Simple API for detecting startup/shutdown crashes;r=yoric,gps 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen
a30ff7e67e Backed out changesets 4117364f58fb and cb99aff2574e (bug 888373) for xpcshell failures. 2013-12-02 13:11:44 -05:00
Michael Brennan
6c8629d959 Bug 888373 - Tests for startup/shutdown crash detection API. r=yoric, r=gps 2013-08-20 22:46:38 +02:00
Michael Brennan
5dce57a745 Bug 888373 - Simple API for detecting startup/shutdown crashes. r=yoric 2013-11-15 16:46:44 +01:00