Commit Graph

20 Commits

Author SHA1 Message Date
Nicholas Nethercote
c24a781566 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
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
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
Blair McBride
fb387b6491 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
31432df1fb 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.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Romain BEZUT
9bda704751 Bug 458631 - Misalignment in --help command line. r=gavin 2009-10-09 12:50:42 +02:00
rflint@ryanflint.com
8a48dae7e3 Bug 386531 - XPCOMUtilify console command line handler. r+a=mconnor 2007-11-22 21:24:20 -08:00
reed@reedloden.com
cb3573ba0a Bug 395371 - "do not launch a second browser window when calling firefox -jsconsole" [p=philip.chee@gmail.com (Philip Chee) r=bsmedberg a1.9=mconnor] 2007-10-02 23:41:37 -07:00
jwalden%mit.edu
64a42da2fc Fix previous checkin -- bug 373362 strikes again! 2007-03-11 03:11:22 +00:00
jwalden%mit.edu
e5e87de812 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
gavin%gavinsharp.com
0891958a58 Bug 338899: be nice to -jsconsole (no duplicate windows, no unrequested windows), patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor 2006-06-04 07:14:10 +00:00
gavin%gavinsharp.com
b581167b49 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
bsmedberg%covad.net
e18c0f3cfa Bug 293161 - make -jsconsole flag work again r=darin a=shaver 2005-05-09 18:00:34 +00:00
gerv%gerv.net
93180ced26 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
chanial%noos.fr
f171e1c165 Move the js console and dependencies as new extensions in toolkit/components.
NPOB
2003-03-01 08:07:13 +00:00