Dan Mills
d734b12ae4
add last exception to fault tolerance module
2008-07-11 18:55:42 -07:00
Dan Mills
e9d12f341f
continue if there is an edit command for an item we don't have (just print a warning)
2008-06-30 23:25:51 -07:00
Dan Mills
80417871c4
merge upstream changes
2008-06-29 07:07:11 -07:00
Dan Mills
e03543007a
make resetguids async
2008-06-29 07:00:53 -07:00
Anant Narayanan
089c1c0f42
General restructure for performance improvements (bug 441907, r=thunder)
2008-06-27 20:16:43 -07:00
Atul Varma
aa4a046d61
Added an additional check in stores.js to prevent a strict warning from appearing.
2008-06-26 16:27:54 -07:00
Atul Varma
ac90aaff04
Refactoring: consolidated duplicate code creating GUIDs via XPCOM gunk into a new function, Utils.makeGUID().
...
Note that there are some strange things re: whitespace in engines/bookmarks.js in this changeset; I literally only changed one line, though, and I'm not sure where they came from. Maybe it was js2-mode?
2008-06-20 12:34:29 -07:00
Atul Varma
30046913d8
Refactored some file operations into a new function in Utils and out of engines.js.
2008-06-18 14:12:24 -07:00
Atul Varma
62236e45cd
Replaced a bunch of boilerplate XPCOM with a call to Utils.makeTimerForCall().
2008-06-18 12:32:20 -07:00
Atul Varma
b74958a214
Moved all tab-syncing code to modules/engines/tabsjs.
2008-06-03 14:45:53 -07:00
Atul Varma
daf3be7564
Moved all form-syncing code into modules/engines/forms.js.
2008-06-03 14:20:51 -07:00
Atul Varma
1e0a1d1e06
Moved all password-syncing code into modules/engines/passwords.js.
2008-06-03 14:08:53 -07:00
Atul Varma
e2ce660c53
Moved all history-related functionality into modules/engines/history.js.
2008-06-03 13:56:16 -07:00
Atul Varma
f365f924cf
Re-removed cookie-related changes that were accidentally re-added by c1a58b24679c and/or 5a49daf87c94.
...
Also moved all bookmark syncing logic into modules/engines/bookmarks.js.
2008-06-03 12:38:48 -07:00
Myk Melez
690e2b800c
merge
2008-06-03 11:43:07 -07:00
Myk Melez
07ba8ea83e
bug 434817: sync tabs
2008-06-03 11:32:59 -07:00
Atul Varma
ada0204cac
Moved all code related to the syncing of cookies--e.g. CookieStore, CookieTracker, CookieEngine, CookieSyncCore--into their own file at modules/engines/cookies.js. I'll be doing the same to the other engines shortly.
...
This helps with code organization--all the logic for dealing with a particular data type is now in one place--and should also make it easier to write unit/regression tests.
2008-06-03 11:11:44 -07:00
Myk Melez
2d0bcb7a9b
minor typo fixes
2008-06-02 15:24:52 -07:00
Dan Mills
2daecc268e
move json and crypto into remote resource 'filters', so the engine doesn't have to explicitly encode/decode anything. note--known regression: filters will not use the encryption algorithm in the status file
2008-05-30 20:43:55 -07:00
Dan Mills
29fc114d14
branch merge
2008-05-23 17:58:08 -07:00
Dan Mills
8dbb0f835c
whitespace police
2008-05-23 17:50:54 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
42f471fcd3
Added unit test file for CookieStore. It has a test to make sure that only persistent cookies are wrapped, not session cookies.
2008-05-23 17:49:58 -07:00
Anant Narayanan
36482f8bef
Sync form data: bug #434818 , r=thunder
2008-05-22 15:36:44 -07:00
Dietrich Ayala
26b658a127
Bug 419121 - Weave chokes on microsummaries (r=thunder)
2008-05-22 11:41:05 -07:00
Justin Dolske
8df51016ac
Bug 433762 – Sync stored passwords. r=thunder
2008-05-21 18:09:19 -07:00
Justin Dolske
1fb1cf3fa3
Cleanup some trivial nits with cookie (whitespace and function name).
2008-05-21 17:53:35 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9340b3c431
Added TODO that expired cookies should be thrown out, in the unlikely event that we get one from a createCommand or editCommand.
2008-05-20 18:24:28 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
aea75cbd20
Made cookie-sync sync only persistent cookies, drop single-session cookies. (Needs testing.)
2008-05-20 18:14:18 -07:00
Dan Mills
e5e1d00a3f
sync bookmark descriptions
2008-05-12 10:11:07 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
62da55a446
Implemented cookieStore.editCommand().
2008-04-07 11:53:55 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
055836a4ee
Semicolon was missing in cookieStore.wrap()
2008-04-04 12:09:04 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
de75398691
Prettied up my code by using block comments and making my indents 2 spaces.
2008-04-04 12:08:04 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
185294a6e6
Removed comment from load-weave.js that I put in while debugging and committed by accident.
2008-04-04 10:49:41 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
27c6454920
Fixed bugs in cookieSyncCore.itemExists and cookieStore.addCommand. The problem in addCommand was just a missing argument, but in itemExists I had to change the implementation to use cookieManager.enumerator rather than cookieManager.findMatchingCookie -- the latter function apparently does not exist in the nsICookieManager2 interface despite what MDC says about it.
2008-04-03 14:26:06 -07:00
jono@jono-gibbon-laptop
f6dd9c5d7f
Updated the comment in CookieStore.editCommand.
2008-04-01 19:16:27 -07:00
jono@jono-gibbon-laptop
0640b8474c
Removed some lines that were only in there for debugging purposes.
2008-04-01 19:12:03 -07:00
jono@jono-gibbon-laptop
4ad1b9c94f
Fixed some minor errors in cookieStore / cookieSyncCore (still getting used to the getter idiom in javascript -- had too many underscores). Syncing cookies now works in as much as it can upload all cookies to the server without raising any exceptions; now to see if it can download and merge cookies on the other side...
2008-04-01 17:51:10 -07:00
jono@jono-gibbon-laptop
b405d397ce
Fixed a couple of missing symbol exports that were stopping CookieEngine from being able to be instantiated.
2008-04-01 17:32:14 -07:00
jono@jono-gibbon-laptop
609b043699
Fixed a couple of syntax errors that were preventing weave from starting
2008-04-01 16:36:08 -07:00
jono@jono-gibbon-laptop
640267d614
Merged changes and resolved conflicts between my cookie stuff and r282.
2008-04-01 14:46:29 -07:00
Dan Mills
e4254ee7bd
fix tag sync
2008-03-31 17:07:40 -07:00
Dan Mills
54e61dbe6b
ignore 'type' properties in edit commands; fix history sync
2008-03-28 22:55:23 -07:00
Dan Mills
eaca70f4d9
add status notification to sharing dialog; fix async generators in the case where an async method is missing a yield (better error, continue execution in parent); add guts of demo sharing code to engine & store (for bookmarks, with some spillage)
2008-03-28 03:25:51 -07:00
Dan Mills
cfbb3a75b1
remove old '500 error' hack for services.m.c during mkcol; fix applyCommands to do async right & make a listener correctly
2008-03-26 23:51:01 -07:00
Dan Mills
cfae90a73a
fix typo
2008-03-26 23:12:58 -07:00
Dan Mills
ebf0b6a973
make applyCommands asynchronous
2008-03-26 23:11:15 -07:00
Dan Mills
7ec09f1317
add sharing ui+backend code (not working yet); make engines less chatty when applying commands
2008-03-25 23:01:34 -07:00
Dan Mills
233a0d648d
fix resetClient's locking. change bookmarks wrap format to have hardcoded guids for the 3 roots (menu, toolbar, unfiled) rather than random ones.
2008-03-21 15:56:41 -07:00
jono@jono-gibbon-laptop
a2c4928bc5
My changes to weave to enable cookie synchronization. So far untested and still missing a thing or two.
2008-03-11 12:08:38 -05:00
Dan Mills
cc0892b5ff
ignore broken local snapshots if they can't be parsed; trigger an initial sync instead
2008-03-05 17:11:08 -08:00