Commit Graph

24 Commits

Author SHA1 Message Date
Gijs Kruitbosch
3d633f7027 Bug 1134891 - stopgap: don't break if opener is null, r=mconley 2015-02-20 22:06:07 +01:00
Jim Blandy
b6b202b6bb 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
Masayuki Nakano
e393ad7356 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Gregory Szorc
461b5aef7e Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Neil Rashbrook
7b61c655b7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
38b8947933 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
a95ac4a2a9 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dão Gottwald
d00035f67a Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Neil Rashbrook
68bc2d96b9 Bug 523693 Inline spell checker shouuld be a module r=gavin (new/renamed files)
--HG--
rename : toolkit/content/inlineSpellCheckUI.js => toolkit/content/InlineSpellChecker.jsm
2009-10-28 11:19:03 +00:00
Neil Rashbrook
eb1c224a76 Bug 523693 Inline spell checker shouuld be a module r=gavin 2009-10-28 11:15:22 +00:00
Ehsan Akhgari
3ec1c83a08 Bug 506126 - globalOverlay.js is full of caller-less functions; r=enndeakin 2009-08-02 22:23:19 +04:30
Serge Gautherie
80b24aa68b Bug 456694 - Move toolkit <nsTreeController.js> to /suite; (Av1) Remove obsolete(!) file; r+sr=mconnor 2009-03-04 08:39:39 +01:00
asqueella@gmail.com
3cea9732d8 remove unused nsTreeSorting.js, bug 374408
r=bsmedberg
2007-07-14 16:24:35 -07:00
sdwilsh@shawnwilsher.com
5e8119e353 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
asqueella@gmail.com
1eed36c4fe Bug 374404 - Don't ship WidgetStateManager as part of toolkit/mailr=bsmedberg 2007-03-26 14:02:00 -07:00
asqueella@gmail.com
096b692e74 bug 375252 - nsJSComponentManager.js / nsJSSupportsUtils.js are not used or packaged anywhere and should be cvs removedr=bsmedberg 2007-03-26 13:53:01 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00