Commit Graph

2567 Commits

Author SHA1 Message Date
cbeard@h-135.office.mozilla.org
b22d47953a wired up the "cancel" and "sync now" menu items, although they don't do a whole lot yet 2007-09-25 17:19:01 -07:00
cbeard@h-135.office.mozilla.org
f6f8318ce2 - super fun spinning throbber goodness! 2007-09-25 16:33:23 -07:00
Dan Mills
3139d1ba1f Fix some nasty bugs with the way js generators were being used. Have the snapshot [de]serialized to the profile 2007-09-24 18:34:03 -07:00
cbeard@chris-beards-computer.local
c34946845c - tree[guid] is null for some (as yet) unknown reason 2007-09-24 15:10:25 -07:00
Dan Mills
d85686cb70 Add code to disable any auth prompt and turn them into failures (from the microsummary svc).
Get/save sync service password in the password manager (ui missing).
Fix a bug in the reconciler that prevented it from returning any conflicts.
Other misc cleanup.
2007-09-24 00:21:22 -07:00
Dan Mills
dd6028d09e Yield to main loop during reconciliation, so as to not block the UI. Fix a broken check when changing the guid of an item. 2007-09-21 16:38:19 -07:00
Dan Mills
6ad7e960a7 Add xpt file, for the xpidl-deprived ;) 2007-09-21 01:47:01 -07:00
Dan Mills
2fb887333b Yay, sync works again! 2007-09-21 01:23:05 -07:00
Dan Mills
4dd14dd3c7 sync.js: move code into an object. Add observer implementation, use observer service to listen to sync events.
sync.xul: cleanup, point into the global sync object from sync.js.
nsBookmarksSyncService.js: add login code, use observer service to publish events.
nsIBookmarksSyncService.idl: add login methods, add comments.
2007-09-20 23:57:18 -07:00
Dan Mills
dd3252e20e woo! first sync across profiles works now 2007-09-20 17:26:20 -07:00
Dan Mills
df57784c35 flesh out new sync engine - cleanup needed 2007-09-20 16:56:05 -07:00
Dan Mills
5074a3b4e5 Add more awesome. Still some bugs, will try to replace sync-engine.js next (with a more domain-specific version) - beginnings of that already in the code (unused) 2007-09-19 21:08:00 -07:00
Dan Mills
4cb8461d0f Sprinkle the awesome (we correctly create items in the correct place (index) now) 2007-09-18 16:00:52 -07:00
Dan Mills
4a4c291cab Return conflicts from sync engine; change bookmarks serialization to use a flat dictionary keyed by guid, instead of a deep structure. 2007-09-18 11:18:01 -07:00
Dan Mills
43fabdf2af run xptgen from build script, use env vars from xptgen to get mozilla objdir/srcdir paths 2007-09-14 14:56:06 -07:00
Dan Mills
f4a130cf8f update from chris' work 2007-09-12 17:12:33 -04:00
Dan Mills
cd258ec577 Bookmarks sync extension - initial import 2007-09-12 17:03:30 -04:00