Commit Graph

29 Commits

Author SHA1 Message Date
Antonio Fernando Santos Ladeia
02f678b5ca Bug 1123372 - Remove use of .toLocaleFormat() from Places. r=mak 2015-04-27 14:33:00 -04:00
Ryan VanderMeulen
8809377386 Backed out changeset 638a3da0cf2f (bug 1123372) for xpcshell failures that appeared after being merged to m-c.
CLOSED TREE
2015-01-22 20:48:51 -05:00
Antonio Ladeia
5eed0a6171 Bug 1123372 - Stop using Date.toLocaleFormat() in Places code. r=mak 2015-01-22 08:10:12 -03:00
anirudhgp
a2f93ab9ff Bug 1116600 - Change RegExp constructor to RegExp literal. r=mak 2015-01-15 06:25:00 -05:00
Marco Bonardo
fef0a1425c Bug 1071505 - use constant GUIDs for Places roots. r=mano 2014-11-04 17:40:33 +01:00
Asaf Romano
8329ea931a Bug 1069235 - make guid and parentGuid naming consistent. r=mak 2014-09-20 10:57:34 +03:00
Asaf Romano
d1e96e8c5f Bug 1058566 - Transaction for duplicating any places item. r=mak. 2014-09-17 14:59:23 +03:00
Ryan VanderMeulen
fd52901cb5 Backed out changeset ae6de471bcd7 (bug 1058566) for causing bug 1067978. 2014-09-16 15:41:27 -04:00
Asaf Romano
82ae7ca4e6 Bug 1058566 - Transaction for duplicating any places item. r=mak 2014-09-16 12:25:18 +03:00
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
Althaf Hameez
dea5f09e83 Bug 1016953 - Fix accidental rename of json files to jsonlz4. r=mak 2014-06-06 10:09:00 -04:00
Althaf Hameez
a3e0d5b456 Bug 818587 - Adding a compression option for bookmark backups. r=mak 2014-05-24 19:48:00 +02:00
Asaf Romano
ecf0f3e66c 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
885270a73e Bug 1011581 - Remove the unused optional parameter aFileExt in PlacesBackup r=mak 2014-05-21 08:39:00 +02:00
Marco Bonardo
5186106c99 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
f9af51ad1b 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
325ef9f635 Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric 2014-03-28 10:36:48 -04:00
Marco Bonardo
163196f903 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
3b1f1985f7 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
f2dcaf44a0 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
e415443129 Bug 968177 - Apply the shared backups code to bookmarks.html export. r=mano 2014-03-03 17:51:42 +01:00
Marco Bonardo
8b16cee080 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
f67f67f23b 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
54661a9cdb Bug 923406 - Remove localizedFilenamePrefix from PlacesBackups.js r=mak 2014-02-09 11:14:39 +01:00
Marco Bonardo
efc6b43f8d 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
f861035356 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
7b07fe5baf Bug 818593 - Add file size to bookmarks restore UI. r=mak 2013-07-31 22:51:09 +08:00
Raymond Lee
77e95e32b8 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
c286322b83 Bug 852032 - Create a PlacesBackups.jsm. r=mak 2013-04-10 17:10:33 +08:00