Commit Graph

1023 Commits

Author SHA1 Message Date
Dan Mills
92a77b80e1 remove accidentally committed logging calls 2008-12-23 11:23:10 -08:00
Dan Mills
7d1322c001 add a method to wrap a depth-only record (just depth and guid, nothing else) 2008-12-23 11:22:29 -08:00
Dan Mills
9c44454330 add depth and sortindex getters, and a toString for nicer printing 2008-12-23 11:20:20 -08:00
Dan Mills
5fd4b9ed13 add a method to push a depth-only record into a collection 2008-12-23 11:19:33 -08:00
Dan Mills
240b30c4e5 register for the right event on firefox 2008-12-23 11:18:37 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
8f14709c66 Removed extra debug code from service.js 2008-12-21 14:59:33 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
dc02f68f49 Weave on Fennec will no longer attempt to generate SSH keys -- for this release, you need to have a Weave account already and then connect Fennec to it. 2008-12-21 14:41:17 -08:00
jonathandicarlo@localhost
4e59b0d4d7 Wrote some scaffolding for the Fennec-weave UI -- doesn't do anything yet. 2008-12-21 14:08:33 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
0b48a85dff Set Weave component back to using the 'sessionstore-windows-restored' event. Will use a different way of intializing on Fennec. 2008-12-19 18:43:36 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
7058f87339 Merged 2008-12-19 18:35:57 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
7434a6f20d Changed tiny check box for large toggle icon for hiding/showing password/passphrase on the Fennec account-connect screen. Note: this icon was drawn by me and is excessively crappy. Please replace with a professional icon. 2008-12-19 18:35:39 -08:00
Dan Mills
f8683e6d3d merge upstream changes 2008-12-19 17:01:03 -08:00
Dan Mills
efdd9ff7cf fix typo in history sql queries, clarify valid sort order values for collections 2008-12-19 17:00:12 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
db2f178cf0 Changed components/Weave.js to start up the service on the 'profile-after-change' event instead of the 'sessionstore-windows-restored' event, since the latter doesn't exist on Fennec. 2008-12-19 16:13:00 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ad9eb3e4e1 Merged 2008-12-19 15:52:20 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
54d7de2ca4 Major rehaul/simplification of the Fennec UI for connecting to your Weave account 2008-12-19 15:48:40 -08:00
Dan Mills
676e05f069 don't filter downloads on a PUT; fail permanently on http status 400-499, 501, 505 2008-12-19 15:24:37 -08:00
Dan Mills
08512b99a5 change engine to process (download, reconcile, apply changes) incoming records one by one 2008-12-19 11:48:09 -08:00
Dan Mills
d55df6a1f4 implement the awe (or tears) inducing places-style sql queries -- history sync works pretty well now 2008-12-18 22:39:32 -08:00
Dan Mills
ce46b6e972 Bug 470208: Fix log4moz typo in FileAppender 2008-12-18 16:53:25 -08:00
Anant Narayanan
f436cdf5ca Merge with head 2008-12-19 00:42:49 +01:00
Anant Narayanan
c5ece4c18e Use stream based communication instead of XHR 2008-12-19 00:42:12 +01:00
Dan Mills
6e413049b4 move startup code to happen after the UI comes up 2008-12-18 15:10:33 -08:00
Dan Mills
970091b11a fix some variable references to use a local var instead of a closure 2008-12-18 01:11:03 -08:00
Dan Mills
e21bb9c514 typo fix 2008-12-18 01:09:17 -08:00
Dan Mills
9768e6c566 sync visit times and transition types for history 2008-12-17 16:04:03 -08:00
Dan Mills
06dc4da97f sync only the last 150 history items (pending some special sauce to sync high-scoring items); various sql fixes. history is syncing now, though there are bugs here and there 2008-12-17 02:32:00 -08:00
Dan Mills
7f2139c4af change itemExists to check for the cache, then call _itemExists, that way subclasses can override just that without having to care about the cache 2008-12-17 02:30:11 -08:00
Dan Mills
32773c0f83 override _itemExists, itemExists (no _) checks for cached items, then calls that 2008-12-17 02:29:28 -08:00
Dan Mills
2de7c6df82 remove applyCommands from store; make itemExists not a 'private' method 2008-12-16 17:08:57 -08:00
Dan Mills
c02d11a89e api change for stores, deal with records not 'commands' 2008-12-16 17:06:45 -08:00
Anant Narayanan
ea93b73081 Make Form history sync work again with new engine 2008-12-13 16:33:04 +01:00
Dan Mills
f1a5b78d89 merge upstream changes 2008-12-12 13:57:05 -08:00
Dan Mills
6d599af9b4 closer to history somewhat working. need to rethink approach because of performance problems 2008-12-12 13:55:58 -08:00
Dan Mills
59d28a8a5c add applyImcoming to store base class 2008-12-12 13:55:26 -08:00
Dan Mills
3c88a35efd remove slightly misleading comment 2008-12-12 13:54:19 -08:00
Dan Mills
1e7370ba2d don't stop applying changes when one fails to do so 2008-12-12 13:53:48 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
1e27ccd917 Merged 2008-12-11 15:19:43 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
db031ee612 On Fennec there is no microsummaries service, so I made the BookmarksEngine catch the exception if the service is undefined, and skip commands that would require it to create a microsummary, logging warnings instead. 2008-12-11 14:26:20 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
bb716e681f Added UI to set username/password/passphrase for Weave client on Fennec, and made it work. Following my UI proposal for now, it uses html pages loaded at chrome URLs, which is not ideal. 2008-12-10 18:13:05 -08:00
Dan Mills
022ceb5055 closer to history working 2008-12-10 00:57:27 -08:00
Dan Mills
3ef1c0d9b1 enable history sync (not working yet) 2008-12-09 12:26:14 -08:00
Dan Mills
f2e4594263 make changeItemID exclusively a store method 2008-12-08 13:21:25 -08:00
Dan Mills
9070a62677 remove sync cores, they are no longer used; remove sharing code from bookmarks (we can bring it back when we need it again, needs work); have the engine give hints to the store about when to wrap all items and cache them (to make subsequent calls to wrap one item fast); move serializeItem/getAllIDs into the store 2008-12-08 09:53:32 -08:00
Dan Mills
8bf18e53a1 bump version to 0.2.92 2008-12-06 00:13:19 -08:00
Dan Mills
b8a8a42755 tracker now caches places id -> guid mappings, since otherwise it can't retrieve the correct guid on item removal (because the callback happens after the item is removed) 2008-12-06 00:12:40 -08:00
Dan Mills
84f9045278 more/better logging; allow changed IDs list to be cleared even when tracker is disabled 2008-12-06 00:11:16 -08:00
Dan Mills
c595ceeb1b clear changed IDs before adding all current ones in first-sync case; edit the ID list directly instead of enabling/disabling the tracker 2008-12-06 00:08:54 -08:00
Dan Mills
f1332902ba parentGUID -> parentid 2008-12-05 03:36:27 -08:00
Dan Mills
37a62b2479 re-enable tracker in the first-sync case just to add all the guids; add some debugging messages; when reconciling throw out records which are identical on the client and server (even if we thought they had changed) 2008-12-05 03:28:17 -08:00