Граф коммитов

292 Коммитов

Автор SHA1 Сообщение Дата
Atul Varma 5608238392 Moved all form-syncing code into modules/engines/forms.js. 2008-06-03 14:20:51 -07:00
Atul Varma 8ea237d262 Moved all password-syncing code into modules/engines/passwords.js. 2008-06-03 14:08:53 -07:00
Atul Varma b20c630abe Moved all history-related functionality into modules/engines/history.js. 2008-06-03 13:56:16 -07:00
Atul Varma 0e8b9eb9af 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 6b9c06e8ed remove unused _json property from TabSyncCore 2008-06-03 11:50:08 -07:00
Myk Melez 07924b2c43 merge 2008-06-03 11:43:07 -07:00
Myk Melez 92b3748833 bug 434817: sync tabs 2008-06-03 11:32:59 -07:00
Atul Varma 7a7a041ace 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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 1f7fb7752b Merged changes 2008-06-02 20:14:00 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local fd84f76ff6 Bookmark share now leaves an annotation ('weave/share/sahred_outgoing' = true or false) on a bookmark folder to note whether it's being shared or not; when a folder is being shared, the menu item in the folder submenu changes to 'Stop sharing this folder'. 2008-06-02 20:13:46 -07:00
Myk Melez 826fa1d7f3 minor typo fixes 2008-06-02 15:24:52 -07:00
Dan Mills ab858fed15 change remote store to keep track of identity names/aliases and fetch the objects from the id manager 2008-06-02 11:10:11 +09:00
Dan Mills 7517154894 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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 1b9a3c535f Merged changes. 2008-05-30 18:20:02 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 1249187fae Made the bookmark-share dialog box display the name of the folder you selected; also, the 'Share This Folder' menu text is now pulled from share.properties for easier i18n. 2008-05-30 18:19:47 -07:00
Dan Mills e56792c1f6 format exception correctly when an engine throws during sync 2008-05-30 17:40:08 -07:00
Dan Mills 37dd2c0856 make some async generator errors clearer 2008-05-30 17:38:27 -07:00
Atul Varma 73312c9b8e Added a simple test to test_fault_tolerance.js that wasn't working before, but now is, and I don't know why... 2008-05-30 17:02:25 -07:00
Atul Varma 4dacc7ee50 Added a trivial appender to faultTolerance.js. 2008-05-30 16:32:06 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 3d6393bf6a Fixed broken unit test test_cookie_store.js 2008-05-30 13:52:39 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 25d2cb8e20 Merged changes 2008-05-30 11:11:02 -07:00
Atul Varma 257f9281de Refactored logging system so that clients don't need to call factory functions to create specific instances of formatters and appenders. 2008-05-29 18:15:50 -07:00
Atul Varma 18c29c94bb Added a testing suite for log4moz, along w/ a few refactorings necessary to perform the tests. 2008-05-29 17:56:52 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 2b44909578 Merged 2008-05-29 11:18:16 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local f27f36243a Moved the Share Bookmarks item out of the Weave popup menu into the Bookmarks menu, folder submenu. 2008-05-29 11:17:54 -07:00
Dan Mills 5476cb0994 Add and start using an object to represent a remote resource (file), and a server object to hold them. Resources will attempt to retry network operations if they fail. 2008-05-28 20:11:39 -07:00
Atul Varma b40f447c6d Added a trivial fault tolerance JS module with a trivial test suite. 2008-05-28 11:25:28 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 60dbf91bf5 Created a cookie tracker in trackers.js, and a test for it in tests/unit/test_cookie_store.js. 2008-05-27 09:44:26 -07:00
Dan Mills f7d85070fe bump version constant 2008-05-24 18:56:42 -07:00
Dan Mills 9316037c2c remove some debugging output, fix some remaining array detection code 2008-05-24 17:30:22 -07:00
Dan Mills 38997acef8 continue sync of other engines even after one of them throws an exception; use constructor name instead of instanceof to check for array object in modules 2008-05-23 23:58:53 -07:00
Dan Mills b91391acd5 don't attempt to get a symkey if encryption is set to 'none' 2008-05-23 19:57:38 -07:00
Dan Mills f84508aeb7 regenerate the engine id when the engine's pbe id changes 2008-05-23 19:47:25 -07:00
Dan Mills 5d11c540ba branch merge 2008-05-23 17:58:08 -07:00
Dan Mills 1e832d7175 whitespace police 2008-05-23 17:50:54 -07:00
Dan Mills e9df121cfb don't require same index for folder 'likeness' 2008-05-23 17:50:24 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 5fa21e0f59 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
Atul Varma 19c389565a Fixed bug 427113: https://bugzilla.mozilla.org/show_bug.cgi?id=427113
I should note that I think that there's a more idiomatic way of doing what I did, but I don't yet fully understand how Weave does things asynchronously.  As such, this commit can probably be refactored to be more in the style of the surrounding code.
2008-05-23 12:22:08 -07:00
Atul Varma 6b81299bdb Fixed bug 435103 (https://bugzilla.mozilla.org/show_bug.cgi?id=435103) 2008-05-23 12:08:03 -07:00
Atul Varma dcd1221ca9 Routine merge of double branches. 2008-05-23 11:06:45 -07:00
Atul Varma 2802dad13d Fixed a variety of style issues and minor warnings raised by js2-mode. 2008-05-23 11:05:42 -07:00
Anant Narayanan bcd73659a0 Correct more syntax errors (super) in trackers.js 2008-05-23 11:01:32 -07:00
Anant Narayanan 33f18499e5 Correct syntax error in trackers.js 2008-05-23 10:28:43 -07:00
Anant Narayanan 1fbd5a324f Fix indentation 2008-05-23 09:59:35 -07:00
Anant Narayanan ad7543aee8 Add tracking support to FormsEngine. Bug #435319, r=thunder 2008-05-23 09:29:26 -07:00
Anant Narayanan 5c0774bdea Tracking support for HistoryEngine. Bug #435321, r=thunder 2008-05-22 18:37:24 -07:00
Anant Narayanan ac3513379f Correct typo in BookmarksTracker 2008-05-22 18:06:47 -07:00
chris@h-124.office.mozilla.org 3ac50cdcaf resolving merge conflicts 2008-05-22 16:52:51 -07:00
chris@h-124.office.mozilla.org 1864c40666 replacing minefield logo with weave logo 2008-05-22 16:04:56 -07:00
Anant Narayanan 1c421141bc Add support for engine 'scores'. Bug #434812, r=thunder 2008-05-22 15:58:29 -07:00