gecko-dev/toolkit/components/places
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
..
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
AsyncFaviconHelpers.cpp Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
AsyncFaviconHelpers.h
BookmarkHTMLUtils.jsm Bug 997030 - Don't encodeURI twice in bookmarks.html. r=mano 2014-05-20 22:52:48 +02:00
BookmarkJSONUtils.jsm Bug 818587 - Adding a compression option for bookmark backups. r=mak 2014-05-24 19:48:00 +02:00
ClusterLib.js Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
ColorAnalyzer_worker.js
ColorAnalyzer.js
ColorConversion.js Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Database.cpp Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Database.h
Helpers.cpp Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Helpers.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
History.cpp Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
History.h Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8. 2013-12-07 22:09:10 -08:00
moz.build bug 959573 - Land UnifiedAutocomplete (disabled by default). rs=ttaubert 2014-04-14 13:10:16 +02:00
mozIAsyncFavicons.idl
mozIAsyncHistory.idl
mozIAsyncLivemarks.idl Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano 2014-03-12 16:24:23 +01:00
mozIColorAnalyzer.idl
mozIPlacesAutoComplete.idl
nsAnnoProtocolHandler.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
nsAnnoProtocolHandler.h
nsAnnotationService.cpp Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
nsAnnotationService.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
nsFaviconService.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
nsFaviconService.h
nsIAnnotationService.idl
nsIBrowserHistory.idl
nsIFaviconService.idl
nsINavBookmarksService.idl
nsINavHistoryService.idl Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js 2014-03-29 12:13:11 -07:00
nsITaggingService.idl
nsLivemarkService.js Bug 1015633 - Use the shared asynchronous db connection in nsLivemarksService. r=mak. 2014-05-27 15:26:22 +03:00
nsMaybeWeakPtr.cpp Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
nsMaybeWeakPtr.h
nsNavBookmarks.cpp Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
nsNavBookmarks.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
nsNavHistory.cpp Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
nsNavHistory.h Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js 2014-03-29 12:13:11 -07:00
nsNavHistoryQuery.cpp Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
nsNavHistoryQuery.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
nsNavHistoryResult.cpp Bug 1010634 - Use Contains instead of NoIndex to avoid relocation error. r=briansmith 2014-06-01 18:30:00 -04:00
nsNavHistoryResult.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
nsPIPlacesDatabase.idl
nsPIPlacesHistoryListenersNotifier.idl
nsPlacesAutoComplete.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
nsPlacesAutoComplete.manifest
nsPlacesExpiration.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
nsPlacesIndexes.h
nsPlacesMacros.h
nsPlacesModule.cpp
nsPlacesTables.h
nsPlacesTriggers.h
nsTaggingService.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PlaceInfo.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
PlaceInfo.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
PlacesBackups.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PlacesCategoriesStarter.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PlacesDBUtils.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PlacesTransactions.jsm Bug 988070 - New PlacesUtils.promiseBookmrksTree API for retrieving bookmarks data, a generalization of PlacesBackups.getBookmarksTree. r=mak, sr=gavin. 2014-05-22 19:06:57 +03:00
PlacesUtils.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PriorityUrlProvider.jsm Adjust bug reference in comment in PriorityUrlProvider.jsm, no bug 2014-05-27 18:03:37 -07:00
SQLFunctions.cpp Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
SQLFunctions.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
toolkitplaces.manifest
UnifiedComplete.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
UnifiedComplete.manifest bug 959573 - Land UnifiedAutocomplete (disabled by default). rs=ttaubert 2014-04-14 13:10:16 +02:00
VisitInfo.cpp Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
VisitInfo.h Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00