Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
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
Althaf Hameez 4c2ecdc3df Bug 1016953 - Fix accidental rename of json files to jsonlz4. r=mak 2014-06-06 10:09:00 -04:00
Althaf Hameez e6fecd5bb0 Bug 818587 - Adding a compression option for bookmark backups. r=mak 2014-05-24 19:48:00 +02:00
Asaf Romano 282c5312b1 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
Althaf Hameez e5d63ad0ce Bug 1011581 - Remove the unused optional parameter aFileExt in PlacesBackup r=mak 2014-05-21 08:39:00 +02:00
Marco Bonardo 9c05f4e5e0 Bug 992901 - Not all bookmarks are saved in the backup JSON or HTML. r=mano 2014-05-20 12:10:20 +02:00
Nicholas Nethercote 2d6a2227fb Bug 996438 - Import BookmarkJSONUtils.jsm lazily into PlacesBackups.jsm. r=mak.
--HG--
extra : rebase_source : 244d30f479ddf9d79dfe216bd9024ba7f45c662a
2014-04-15 18:20:28 -07:00
Abhishek Potnis 7e112e2563 Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric 2014-03-28 10:36:48 -04:00
Marco Bonardo 754de56c6f Bug 818584 - Discard consecutive duplicate bookmark backups by comparing hashes r=mano
Original patch by Raymond Lee <raymond@appcoast.com> f=mak
2014-03-19 14:33:02 +01:00
Ryan VanderMeulen 9c471e8234 Backed out changeset d16f3e084b27 (bug 818584) for intermittent timeouts in test_bookmark_store.js.
CLOSED TREE
2014-03-19 11:46:37 -04:00
Marco Bonardo 06e078cf79 Bug 818584 - Discard consecutive duplicate bookmark backups by comparing hashes r=mano
Original patch by Raymond Lee <raymond@appcoast.com> f=mak
2014-03-19 14:33:02 +01:00
Marco Bonardo fbb61eabea Bug 968177 - Apply the shared backups code to bookmarks.html export. r=mano 2014-03-03 17:51:42 +01:00
Marco Bonardo cf37d119ad Bug 971686 - Bookmarks backups can't be properly stored if /tmp is on a different filesystem. r=Yoric 2014-02-14 15:42:35 +01:00
Marco Bonardo 4870ab5d9b Bug 972434 - Fix a dumb loop that mistakenly deletes all of the bookmarks backups. r=MattN 2014-02-13 23:26:40 +01:00
Raymond Lee 990a62a851 Bug 923406 - Remove localizedFilenamePrefix from PlacesBackups.js r=mak 2014-02-09 11:14:39 +01:00
Marco Bonardo 3504ba0f46 Bug 824433 - Bookmarks backup takes a long time to write out on shutdown. r=mano 2014-02-04 14:43:20 +01:00
Raymond Lee 9546f698c5 Bug 859695 - OS.File should be adopted in PlacesBackups.jsm and PlacesUtils.jsm. r=mak 2013-10-07 14:52:08 +08:00
Raymond Lee 678304daf8 Bug 818593 - Add file size to bookmarks restore UI. r=mak 2013-07-31 22:51:09 +08:00
Raymond Lee 28f34cd9f9 Bug 855638 - Part 1: Remove previous calls to PlacesUtils.backups and move them to PlacesBackups. r=mak 2013-04-17 14:08:11 +08:00
Raymond Lee 6bb683dd16 Bug 852032 - Create a PlacesBackups.jsm. r=mak 2013-04-10 17:10:33 +08:00