gecko-dev/uriloader/exthandler
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
..
android Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
gonk Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
mac Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
tests Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
unix Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
win Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
ExternalHelperAppChild.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
ExternalHelperAppChild.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
ExternalHelperAppParent.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
ExternalHelperAppParent.h Bug 946239 - Divert download channels to the parent process. r=bz 2014-03-11 19:41:48 -03:00
Makefile.in Bug 973405 - Move some misc LOCAL_INCLUDES to moz.build; r=glandium 2014-02-18 08:49:12 -05:00
PExternalHelperApp.ipdl Bug 946239 - Divert download channels to the parent process. r=bz 2014-03-11 19:41:48 -03:00
moz.build Bug 1008795 - Remove MOZ_ENABLE_MEEGOTOUCHSHARE. r=romaxa 2014-05-12 20:01:04 +09:00
nsCExternalHandlerService.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentHandlerApp.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
nsContentHandlerApp.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsDBusHandlerApp.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
nsDBusHandlerApp.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsExternalHelperAppService.cpp Bug 986331 - Enable .3g2 file extension to be recognized as 3gpp video. r=cajbir 2014-06-05 14:22:15 -07:00
nsExternalHelperAppService.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsExternalProtocolHandler.cpp Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsExternalProtocolHandler.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsHandlerService.js 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
nsHandlerService.manifest
nsIContentDispatchChooser.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIExternalHelperAppService.idl Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo) 2013-05-27 18:33:39 -07:00
nsIExternalProtocolService.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIExternalSharingAppService.idl Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
nsIExternalURLHandlerService.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHandlerService.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHelperAppLauncherDialog.idl Bug 854299 - Part 1. Split nsExternalAppHandler::SaveToDisk in two parts to make second part async. r=bz sr=roc 2013-04-01 03:07:13 -03:00
nsLocalHandlerApp.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
nsLocalHandlerApp.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsMIMEInfoImpl.cpp Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
nsMIMEInfoImpl.h Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
nsWebHandlerApp.js Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger 2013-08-24 01:10:50 -07:00
nsWebHandlerApp.manifest 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