Commit Graph

991 Commits

Author SHA1 Message Date
Edward Lee
5ad22f9709 Bug 479189 - weave does not sync tag smart folders properly
Create a new record type, BookmarkQuery, to handle place: uri smart bookmarks. Store what tag name the query wants and lookup the id for that tag on other machines on create/update.
2009-07-13 17:43:15 -07:00
Edward Lee
22570f2932 Bug 503938 - Tags with a single bookmark keep generating new tag ids
Share a tagging code for create/update that will tag a dummy uri temporarily while it untags the bookmark to make sure every tag has at least one child during this untag/tag process.
2009-07-13 13:40:49 -07:00
Edward Lee
6b52988511 Print the exception with the stack on fault tolerance. 2009-07-09 18:05:58 -07:00
Edward Lee
e934d2d097 Strip newline from various debug output. 2009-07-09 17:44:41 -07:00
Edward Lee
6ddece8b22 Bug 502482 - error while syncing bookmarks from server
Set the item type for generic PlacesItems, but don't do anything when trying to create it.
2009-07-09 17:15:00 -07:00
Edward Lee
5c482eea0d merge weave. resolve comments added to resource.js. 2009-07-09 11:21:20 -07:00
Edward Lee
1c1025b37d Convert a log.info to log.debug for passwords so it doesn't clutter the brief log. 2009-06-25 22:52:28 -07:00
Edward Lee
39f333a78e Bug 500598 - Undefined item in tabContainer.childNodes after closing tabs
The childNodes NodeList keeps its indices even after removal, so it's safer to convert the array-like thing into an actual array. Condense the QueryInterface code to the instanceof magic.
2009-06-25 22:46:14 -07:00
Anant Narayanan
fec355a521 Add some docs for Resource module 2009-06-25 16:13:52 -07:00
Edward Lee
84c52a6411 merge weave. resolve addition of kSpecialIds to bookmarks.js near removal of Async.sugar. 2009-06-23 22:34:57 -07:00
Anant Narayanan
22bd439624 Change priority of some log messages to trace 2009-06-22 18:19:42 -07:00
Edward Lee
eeef9a8201 Bug 487282 - "browser is null" error in tabs.js
Share browser detection code for register and unregister tab listeners and better check for tabbrowser windows.
2009-06-22 15:53:42 -07:00
Edward Lee
ad7d001bb3 Bug 498924 - Refactor bookmark special ids out of BookmarksStore
Lazily load places ids for a given weave id/place name pair into kSpecialIds and update all consumers. Expose a Svc.Bookmark in utils.
2009-06-17 09:28:15 -07:00
Edward Lee
3ef568c718 Cleanup/refactor followup to bug 481327.
Change _ignore to take itemId to find folderId and pull out addChanged/getItemGUID/upScore to addId.
2009-06-17 08:51:54 -07:00
Edward Lee
34400917b0 Bug 481327 - Script gets stuck during startup. r=Mardak 2009-06-17 08:51:54 -07:00
Edward Lee
ad5f01ba04 Bug 493816 - Timestamps need to be saved as string prefs
Internally store .lastSync as a string but keep exposing set/getters as float values. parseFloat takes both strings and numbers and gives a number.

--HG--
extra : rebase_source : b657dd3f732b9f3b3b0ef208ee53e799aa87d2c6
2009-06-16 17:22:59 -07:00
Mikhail Stepura (mishail)
fde4deb743 Bug 486042 - "Load this bookmark in the sidebar" status not synced. r=Mardak 2009-06-16 16:16:39 -07:00
Edward Lee
4084603da5 Remove async.js and wrap.js and remove remaining references to Async.sugar, etc. 2009-06-06 18:24:30 -05:00
Edward Lee
394fea48d8 CryptoMeta_addKey: async + async/yield -> sync. (Unused?) 2009-06-06 18:24:23 -05:00
Edward Lee
24f55abc7f WeaveSvc_createAccount: async + async/yield -> sync. Fix chrome to call its onComplete with the return of createAccount. 2009-06-06 18:24:17 -05:00
Edward Lee
e4635bd55a WeaveSvc_setCluster: async + async/yield -> sync. (Unused?) 2009-06-06 18:24:14 -05:00
Edward Lee
d868dc2305 WeaveSvc_verifyPassphrase: async + async/yield -> sync. Fix chrome to setTimeout(verifyPassphrase). 2009-06-06 18:24:10 -05:00
Edward Lee
16e50b2fe0 WeaveSvc_onStartup: async + async/yield -> sync. Convert chrome callers from using async callback to just run after. 2009-06-06 18:24:06 -05:00
Edward Lee
31c600584c WeaveSvc_sync: async + async/yield -> sync. Fix chrome callers to setTimeout(sync) to async run sync. 2009-06-06 18:23:58 -05:00
Edward Lee
57adfb688b merge weave 2009-06-06 13:12:03 -07:00
Edward Lee
6602515319 WeaveSvc__remoteSetup: async/yield -> sync. 2009-06-06 11:53:23 -07:00
Edward Lee
64e7facb4a WeaveSvc_login: async + async/yield -> sync. Fix up chrome code. 2009-06-06 11:52:54 -07:00
Edward Lee
2f189ad5a8 Add a Utils.lock as a sync. version of Wrap.localLock. 2009-06-06 11:52:49 -07:00
Edward Lee
042c177ad0 Identity_getPassword: async + async/yield -> sync. Make onGetPassword take one cb to pass back the password. 2009-06-05 22:33:08 -07:00
Edward Lee
5ccf27941d WeaveSvc__syncEngine: async/yield -> sync. 2009-06-05 22:21:34 -07:00
Edward Lee
4dd6ad0d2d WeaveSvc__freshStart: async/yield -> sync. 2009-06-05 22:21:29 -07:00
Edward Lee
62089a8ca1 WeaveSvc_wipeServer: async + async/yield -> sync. Fix up chrome uses of wipeServer, resetClient, wipeRemote, wipeClient. 2009-06-05 22:21:27 -07:00
Edward Lee
16a159e5d9 WeaveSvc_processCommands: async + async/yield -> sync. 2009-06-05 22:21:25 -07:00
Edward Lee
a6ac402f34 WeaveSvc_wipeRemote: async + async/yield -> sync. 2009-06-05 22:21:24 -07:00
Edward Lee
5a9e604186 WeaveSvc_resetClient: async + async/yield -> sync. 2009-06-05 22:21:22 -07:00
Edward Lee
dfcbc774c5 WeaveSvc_wipeClient: async + async/yield -> sync. 2009-06-05 22:21:20 -07:00
Edward Lee
6ba0fbf69d WeaveSvc_resetService: async + async/yield -> sync. 2009-06-05 22:21:18 -07:00
Edward Lee
40543e0998 WeaveSvc_verifyLogin: async + async/yield -> sync. 2009-06-05 22:21:16 -07:00
Edward Lee
5a0f364bb6 Add a Utils.catch as a sync. version of Wrap.catchAll. 2009-06-05 22:21:14 -07:00
Edward Lee
df1fc601da Fix form engine to correctly pass in the engine. 2009-06-05 18:36:31 -07:00
Edward Lee
6bc0e717ec Clean up various engines to remove Async.sugar and random self/yields. 2009-06-05 15:34:40 -07:00
Edward Lee
1b781dda8c Remove Async.sugar from engines.js. 2009-06-05 15:34:39 -07:00
Edward Lee
48b4ac18ef Engine_wipeServer: async -> sync. SyncEngine__wipeServer: async/yield -> sync. 2009-06-05 15:34:37 -07:00
Edward Lee
f9aeec8b2c Engine_wipeClient: async -> sync. Engine__wipeClient: async/yield -> sync. 2009-06-05 15:34:35 -07:00
Edward Lee
3d3f786723 Engine_resetClient: async -> sync. SyncEngine__resetClient: async/yield -> sync. 2009-06-05 15:34:34 -07:00
Edward Lee
81f7652b56 Engine_sync: async -> sync. SyncEngine__sync: async/yield -> sync. 2009-06-05 15:34:32 -07:00
Edward Lee
4f22e547b2 Temporarily convert _notify to _notifyAsync and add a Utils.notify. 2009-06-05 15:34:23 -07:00
Edward Lee
9da0ded47a merge weave 2009-06-05 11:03:19 -07:00
Dan Mills
889ac9b203 partially revert d6cac1e80da9 - use id from the body; add additional tests to catch more errors 2009-06-05 10:39:51 -07:00
Edward Lee
0a049604fb Remove Async.sugar from auth.js, resource.js, stores.js, trackers.js. 2009-06-05 00:51:09 -07:00