gecko-dev/storage/test
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
..
unit Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
Makefile.in Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
moz.build Bug 945063: Annotate storage/build and storage/test as FAIL_ON_WARNINGS. r=mak 2014-01-08 11:04:03 -08:00
storage_test_harness_tail.h
storage_test_harness.h Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
test_AsXXX_helpers.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
test_async_callbacks_with_spun_event_loops.cpp Bug 1028588 - Fix dangerous public destructors in storage/ - r=bent 2014-06-23 18:40:03 -04:00
test_asyncStatementExecution_transaction.cpp Bug 914070 - Part 1 - Remove native connection getters from Storage connection. r=asuth 2014-04-24 11:54:09 +02:00
test_binding_params.cpp
test_deadlock_detector.cpp
test_file_perms.cpp Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
test_mutex.cpp
test_service_init_background_thread.cpp Bug 836493 - part 1: ensure that the initial reference to mozStorageService is obtained on the main thread; r=mak 2013-02-08 12:04:26 -05:00
test_statement_scoper.cpp
test_StatementCache.cpp
test_transaction_helper.cpp
test_true_async.cpp Bug 784739 - Switch from NULL to nullptr in storage/; r=ehsan 2013-07-31 11:44:58 -04:00
test_unlock_notify.cpp Remove the unused DatabaseTester::mState field; no bug 2012-10-02 20:46:08 -04:00