Commit Graph

16 Commits

Author SHA1 Message Date
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
Bill McCloskey
0d06ea5ab8 Bug 970276 - Don't respect <link rel=""> elements from subframes (r=felipe) 2014-02-10 16:42:18 -08:00
Bill McCloskey
fcc7cca536 Bug 961529 - Run DOMLinkHandler in a content script (r=felipe) 2014-02-08 17:41:34 -08:00
Dão Gottwald
31853b6be3 Bug 946395 - [Australis] Back out bug 881937 (panel menu keyboard access). r=Gijs ui-r=phlsa 2014-01-24 15:44:08 +01:00
Mike de Boer
22fba76b1f [Australis] Bug 963085: add header to Subscribe menu. r=Gijs 2014-01-23 17:04:27 +01:00
Mike de Boer
5410117758 [Australis] Bug 878546: refresh the styling of sub-views. r=Gijs 2014-01-23 14:06:17 +01:00
Gijs Kruitbosch
1d34e42cbc Bug 941226 - feed button disabled when in Australis menu panel, r=mikedeboer 2013-11-27 16:09:21 +01:00
Gijs Kruitbosch
9441a88ddb Bug 881937 - tabindex all the things, r=mconley 2013-07-19 17:58:21 +02:00
Gijs Kruitbosch
62e0db599e Bug 882306 - Use CSS to make buttons look enabled when customizing; don't change buttons' disabled states, r=dao 2013-06-13 13:40:41 +02:00
Gijs Kruitbosch
34f25575d8 Bug 879980 - Subscribe button appears disabled when in the palette, r=mconley 2013-06-10 23:28:07 +02:00
Gijs Kruitbosch
89dfdceda8 Bug 870452 - Migrate feed button to new API, r=mconley 2013-06-03 20:59:31 +02:00
Yosy
fbc8b4825a Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
a5fc829344 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
6684ca9137 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Ian Moody
6fd85a4fb0 Bug 737792 - Use for..of loops in browser.js. r=dao
--HG--
extra : rebase_source : df980b6310daecb9e80793ca900ba983aadb12c6
2012-08-21 18:56:07 +02:00
Justin Dolske
54539bad92 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Feeds). r=gavin 2012-05-31 23:26:00 -07:00