Commit Graph
20 Commits
Author SHA1 Message Date
Nicholas Nethercote fc9811215d Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07: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
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
Blair McBride c27022ac19 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg 4eb44d9d34 Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00
Romain BEZUT 9613ad7e43 Bug 458631 - Misalignment in --help command line. r=gavin 2009-10-09 12:50:42 +02:00
6837295056 Bug 386531 - XPCOMUtilify console command line handler. r+a=mconnor 2007-11-22 21:24:20 -08:00
a767ed55da Bug 395371 - "do not launch a second browser window when calling firefox -jsconsole" [[email protected] (Philip Chee) r=bsmedberg a1.9=mconnor] 2007-10-02 23:41:37 -07:00
[email protected] 0a6c799d24 Fix previous checkin -- bug 373362 strikes again! 2007-03-11 03:11:22 +00:00
[email protected] d18ede5730 Bug 279698 - Some .js files in jars are not stripped of license headers via preprocessing (pass 1). r=mconnor 2007-03-11 02:21:48 +00:00
[email protected] 99e5880413 Bug 338899: be nice to -jsconsole (no duplicate windows, no unrequested windows), patch by Simon B�nzli <[email protected]>, r=mconnor 2006-06-04 07:14:10 +00:00
[email protected] 5f2462abbf Bug 265871: rename JavaScript console to Error console, patch by Kurt <[email protected]>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
[email protected] e0cad67938 Bug 293161 - make -jsconsole flag work again r=darin a=shaver 2005-05-09 18:00:34 +00:00
[email protected] c7ca93d489 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
[email protected] 676292f97e Move the js console and dependencies as new extensions in toolkit/components.
NPOB
2003-03-01 08:07:13 +00:00