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

519 Коммитов

Автор SHA1 Сообщение Дата
Justin Dolske 8dae69c9e8 Bustage fix: frame.filename can be null, and the async stack dump can then fail (which causes other problems) 2008-06-24 19:39:58 -07:00
Atul Varma d0b90b39c3 Renamed AsyncException.trace and Generator.trace to AsyncException.traceback and Generator.traceback, respectively, to distinguish them from Logger.trace() and also explicitly indicate their noun-like nature (since they're properties). 2008-06-24 19:15:54 -07:00
Atul Varma e9ba6b88d2 Renamed the global trace() function in async.js to traceAsyncFrame(), to avoid confusing it with Logger.trace(), AsyncException.trace, and Generator.trace, all of which are also used in that file. 2008-06-24 19:08:35 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local d127999403 Merged 2008-06-24 18:28:26 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local ff23d2ce9d Fixed all the places where I was accidentally calling it incomingShareAnno instead of incomingSharedAnno (note the missing letter d). Same for outgoingSharedAnno. 2008-06-24 18:28:01 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local cc4a591a95 Removed all uses of the 'weave/mounted-shares-id' annotation, since it's been made obsolete by INCOMING_SHARED_ANNO. 2008-06-24 18:23:43 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 239839244f Changes in the annotations relevant to incoming/outgoing share folders are now handled by editCommands in the syncCore. 2008-06-24 18:15:17 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 0de75a4e1a Annotations on incoming and outgoing share folders are now wrapped for sync, and handled on incoming createCommands. 2008-06-24 18:09:41 -07:00
Atul Varma 4c1fcc3c2b Added a really, really basic sync test for bookmarks. 2008-06-24 16:55:56 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 8ad5c2a828 Merged 2008-06-24 13:41:25 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 6d56568a9e Merged 2008-06-24 13:41:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 968af20f5e Added todo about exception handling 2008-06-24 13:41:01 -07:00
chris@h-194.office.mozilla.org 9ae9a3f5e8 merging 2008-06-24 12:44:26 -07:00
chris@h-194.office.mozilla.org 7a0411af09 added embedded verification method to login (this wants to be it's own object method, but should work well enough for now.)
some formatted cleanup for wizard.js
2008-06-24 12:42:52 -07:00
Dan Mills 4b9dbfb59b Store each delta as a separate file on the server 2008-06-24 12:33:27 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 415890ca9e Finished the bridge between UI code and bookmark engine so that stopSharing gets called when you pick the menu itme. 2008-06-24 12:22:32 -07:00
chris@chris-beards-macbook-pro-2.local 52a8ad1e41 another pass at polishing the first run experience, work in progress 2008-06-24 08:51:40 -07:00
Maria Emerson 6e54ca06f6 consolidated error reporting, formatting tbd 2008-06-23 22:48:44 -07:00
Atul Varma 5fea10727c Separated test_passwords into itself, which contains pure unit tests, and test_password_syncing, which contains a suite that's more along the lines of a system test, though still with plenty of stuff faked-out. fake_login_manager.js contains code shared between the two suites.
--HG--
rename : services/sync/tests/unit/test_passwords.log.expected => services/sync/tests/unit/test_password_syncing.log.expected
2008-06-23 21:21:40 -07:00
Atul Varma 8d52b5a923 Refactored stuff out of test_passwords and into head.js to make creating new sync tests for different engines easier. 2008-06-23 20:57:10 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local c8ba0cdfff Make the stop-sharing-data command work 2008-06-23 18:23:08 -07:00
Atul Varma c09f48513b Added some more visibility to the individual steps of test_passwords. 2008-06-23 18:01:48 -07:00
Atul Varma 23901bc549 Updated expected log for test_passwords based on recent code changes. 2008-06-23 17:41:01 -07:00
Justin Dolske 53d6ead038 Bug 433949 - Use WeaveCrypto component (NSS) instead of OpenSSL 2008-06-23 16:23:57 -07:00
Myk Melez 35d44bd62b Automated merge with ssh://hg.mozilla.org/labs/weave/ 2008-06-23 16:22:17 -07:00
Myk Melez 52716ad0ac wrap notify around lock instead of the other way around so that notify includes locking failure/success in its notifications 2008-06-23 16:22:05 -07:00
Justin Dolske c0769fe961 Use allocated buffers instead of stack when the buffers can be large (OS X has a 1MB limit) 2008-06-23 16:14:55 -07:00
Myk Melez f23fc59659 bug 435341: sync automatically when Firefox quits 2008-06-23 16:10:31 -07:00
Maria Emerson 9192f5c08b work in progress, push for wizard 2008-06-23 15:48:01 -07:00
Atul Varma 18b2d9eb3f Added 'resync on second computer' step to test_passwords. 2008-06-23 14:45:58 -07:00
Atul Varma fe2957c61d Removed a line of code that was raising a strict warning, and which also just defined an unused local variable that called no functions and therefore had no side effects (unless there were property getters that had side-effects involved, which hopefully wasn't the case). 2008-06-23 14:32:55 -07:00
Atul Varma 3f66c5c26a Moved the FakeGUIDService from test_passwords.js to head.js. 2008-06-23 14:13:46 -07:00
Justin Dolske 6f8cfd6329 Add Makefile support for building on ARM, move comment that triggers bug on scratchbox's Make 3.80 2008-06-22 14:43:09 -07:00
Atul Varma 0559b0e418 A tiny bit more refactoring to test_passwords. 2008-06-20 18:36:33 -07:00
Atul Varma 3d1514d12d Oops, forgot to recommit the canonical log for test_passwords in my last commit. 2008-06-20 18:36:11 -07:00
Atul Varma cc43d11f3c Fake GUID generator now provides a different yet deterministic GUID upon each invocation. 2008-06-20 18:25:21 -07:00
Atul Varma 8b16c18fe7 test_passwords now also removes a user after doing everything else. 2008-06-20 18:04:59 -07:00
Atul Varma 4b0e7167bd Factored out the fake filesystem related functions in test_passwords.js into a FakeFilesystemService class in head.js. 2008-06-20 17:47:32 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local bf4b17ef6b The XMPP server is now configured to use LDAP for authentication (on sm-labs01, and soon to be on services.mozilla too) so the xmpp username/password will now be the same as the weave username/password. So I now use those to login, and I got rid of the two extra preferences which we used to have for xmpp username/password. 2008-06-20 17:19:10 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local e81cd3694a fixed some minor formatting 2008-06-20 16:46:38 -07:00
Atul Varma b93ec60294 Refactored test_passwords to make it more modular and readable, changed the formatting of some log messages to be more descriptive. 2008-06-20 15:39:07 -07:00
Myk Melez 760941e17d make xmpp requests be background requests so they don't get horked by load group problems or throw up auth dialogs 2008-06-20 14:26:40 -07:00
Atul Varma 02bbaa5ff6 Improved test_passwords so that it syncs, re-syncs, adds a new user, and re-syncs again.
Fixed a strict warning in engines.js.
2008-06-20 14:22:06 -07:00
Atul Varma 0ea26a3466 Made the tracking of async generators/coroutines more robust for debugging purposes.
Refactored code	in syncCores.js	to use Utils.makeTimerForCall().

Improved test_passwords to perform an additional sync after the initial one.
2008-06-20 13:58:56 -07:00
Atul Varma c0b0185e09 Added more informative output for fake DAV, so that log-based tests are both more self-documenting re: Weave's behavior and serve as more robust test cases. 2008-06-20 12:49:25 -07:00
Atul Varma 85a56e5aa8 Added an expected-log for the passwords sync engine unit test. 2008-06-20 12:39:50 -07:00
Atul Varma 15d84c6df5 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 5fe60a3ceb Minor code tidying. 2008-06-20 12:27:17 -07:00
Atul Varma 8e53749c97 Changed log level in a unit test. 2008-06-20 12:24:02 -07:00
Justin Dolske 48d96ab71d Small bug fix from my last small bugfix. :( 2008-06-19 20:18:59 -07:00