Commit Graph

1322 Commits

Author SHA1 Message Date
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
37644c9680 merge weave 2009-06-05 15:45:32 -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
Dan Mills
dc43c004a6 fix keys test to work with latest key structure + nsIChannel 2009-06-05 11:23:31 -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
Edward Lee
563c0a0fd0 SyncEngine__processIncoming: async/yield -> sync. 2009-06-05 00:39:35 -07:00
Edward Lee
e7a503025a CollectionIterator_next: async + async/yield -> sync. 2009-06-05 00:38:23 -07:00
Edward Lee
3a4f2ca0ee Store_applyIncoming, SyncEngine__applyIncoming: async + async/yield -> sync. 2009-06-05 00:36:11 -07:00
Edward Lee
fce5aa36de SyncEngine__syncStartup, SyncEngine__uploadOutgoing, SyncEngine__syncFinish all async/yield -> sync. 2009-06-04 23:48:27 -07:00
Edward Lee
f5ee514ea5 WeaveSvc_findCluster: async + async/yield -> sync. 2009-06-04 23:24:15 -07:00
Edward Lee
faf50c585f merge weave 2009-06-04 23:08:56 -07:00
Edward Lee
14e0eda123 Remove trailing newline bug 480480 work-around: trim(). 2009-06-04 23:04:56 -07:00
Edward Lee
5b50599fd4 Remove Sync(filterUpload/Download) and make them plain sync function as well as beforePUT and afterGET. 2009-06-04 22:10:41 -07:00
Edward Lee
7edc9015d4 Remove Async.sugar from type/bookmark.js and type/clientData.js. 2009-06-04 19:17:03 -07:00
Edward Lee
228f2e2568 CryptoWrapper_decrypt: async + async/yield -> sync. Fix up bookmark/client decrypt. 2009-06-04 19:06:57 -07:00
Edward Lee
8c7ea9fe26 Fix ClientRecord_encrypt to not need to do async. 2009-06-04 18:06:56 -07:00
Edward Lee
7adf2ffa78 CryptoWrapper_encrypt: async + async/yield -> sync. 2009-06-04 17:58:37 -07:00
Edward Lee
1bf2b9b6ce merge weave 2009-06-04 17:47:11 -07:00
Edward Lee
65ceb80170 Bug 496455 - CryptoMeta__addUnwrappedKey always gets undefined new_pubkey
yield for PubKeys.get() when passed a string uri

--HG--
extra : rebase_source : d81bcbc7ba8fc45e83fb395dc93653f2749b3eed
2009-06-04 17:42:22 -07:00
Edward Lee
a9de56fef0 CryptoMeta_addUnwrappedKey: async + async/yield -> sync. 2009-06-04 17:36:34 -07:00