Commit Graph

981 Commits

Author SHA1 Message Date
Dan Mills
71d8038a52 print observer notifications to debug log 2008-12-27 12:15:04 -08:00
Dan Mills
5631f143ae add some makefile magic for creating release & snapshot builds more easily 2008-12-27 00:11:41 -08:00
Dan Mills
7af7fa0571 remove commented-out code 2008-12-26 21:50:07 -08:00
Dan Mills
1543c71b58 force GC, makes sync of many items possible on fennec 2008-12-26 21:49:17 -08:00
Dan Mills
ea6fb1ae2d Bug 471076: explicitly check login succeeded 2008-12-26 16:08:55 -08:00
Dan Mills
5c873c8695 change serverURL to use 0.3 url schema 2008-12-23 13:51:30 -08:00
Dan Mills
ab50e9204a bump version to 0.2.93 2008-12-23 12:17:40 -08:00
Dan Mills
3bf24e2364 Various engine/bookmark changes:
* Rely on the server to sort incoming records, remove all sorting code client-side.
* Streamline sync to be able to process incoming records one at a time, as soon as they are downloaded.  This changes reconciliation to be able to process a single incoming record.
* Engine base class will automatically convert parentid, depth, and sortindex into toplevel WBO objects.  This is good for now but kinda broken, engine subclasses should really be generating WBO records themselves.
* Since index is now a toplevel WBO property, there is no need for the bookmarks sync code to subclass recordLike.
* Refactor bookmarks store to be a little cleaner and work directly with records instead of "commands".
2008-12-23 11:30:31 -08:00
Dan Mills
c11a364f5a remove accidentally committed logging calls 2008-12-23 11:23:10 -08:00
Dan Mills
d45b559eb4 add a method to wrap a depth-only record (just depth and guid, nothing else) 2008-12-23 11:22:29 -08:00
Dan Mills
6fb2dcd808 add depth and sortindex getters, and a toString for nicer printing 2008-12-23 11:20:20 -08:00
Dan Mills
706671179a add a method to push a depth-only record into a collection 2008-12-23 11:19:33 -08:00
Dan Mills
f3f41b7d2d register for the right event on firefox 2008-12-23 11:18:37 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
02e6f3e7ff Removed extra debug code from service.js 2008-12-21 14:59:33 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
3fe664b629 Weave on Fennec will no longer attempt to generate SSH keys -- for this release, you need to have a Weave account already and then connect Fennec to it. 2008-12-21 14:41:17 -08:00
jonathandicarlo@localhost
d3de9d31ba Wrote some scaffolding for the Fennec-weave UI -- doesn't do anything yet. 2008-12-21 14:08:33 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9406c1df6c Set Weave component back to using the 'sessionstore-windows-restored' event. Will use a different way of intializing on Fennec. 2008-12-19 18:43:36 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
b05fc7c819 Merged 2008-12-19 18:35:57 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
c8107b81c5 Changed tiny check box for large toggle icon for hiding/showing password/passphrase on the Fennec account-connect screen. Note: this icon was drawn by me and is excessively crappy. Please replace with a professional icon. 2008-12-19 18:35:39 -08:00
Dan Mills
6c44ac225d merge upstream changes 2008-12-19 17:01:03 -08:00
Dan Mills
400b30b229 fix typo in history sql queries, clarify valid sort order values for collections 2008-12-19 17:00:12 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
583d29ae7d Changed components/Weave.js to start up the service on the 'profile-after-change' event instead of the 'sessionstore-windows-restored' event, since the latter doesn't exist on Fennec. 2008-12-19 16:13:00 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
e738ddf524 Merged 2008-12-19 15:52:20 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
b3f44d0231 Major rehaul/simplification of the Fennec UI for connecting to your Weave account 2008-12-19 15:48:40 -08:00
Dan Mills
a449c1f3e5 don't filter downloads on a PUT; fail permanently on http status 400-499, 501, 505 2008-12-19 15:24:37 -08:00
Dan Mills
b043c0298e change engine to process (download, reconcile, apply changes) incoming records one by one 2008-12-19 11:48:09 -08:00
Dan Mills
18166fe10e implement the awe (or tears) inducing places-style sql queries -- history sync works pretty well now 2008-12-18 22:39:32 -08:00
Dan Mills
e23d4eddf2 Bug 470208: Fix log4moz typo in FileAppender 2008-12-18 16:53:25 -08:00
Anant Narayanan
fbfb9cc3ca Merge with head 2008-12-19 00:42:49 +01:00
Anant Narayanan
07ada92049 Use stream based communication instead of XHR 2008-12-19 00:42:12 +01:00
Dan Mills
85ae9b1f38 move startup code to happen after the UI comes up 2008-12-18 15:10:33 -08:00
Dan Mills
07b236f5a3 fix some variable references to use a local var instead of a closure 2008-12-18 01:11:03 -08:00
Dan Mills
027993146e typo fix 2008-12-18 01:09:17 -08:00
Dan Mills
93a5c4d1d3 sync visit times and transition types for history 2008-12-17 16:04:03 -08:00
Dan Mills
63dc5d0a58 sync only the last 150 history items (pending some special sauce to sync high-scoring items); various sql fixes. history is syncing now, though there are bugs here and there 2008-12-17 02:32:00 -08:00
Dan Mills
88e70d14c6 change itemExists to check for the cache, then call _itemExists, that way subclasses can override just that without having to care about the cache 2008-12-17 02:30:11 -08:00
Dan Mills
55a9524e8c override _itemExists, itemExists (no _) checks for cached items, then calls that 2008-12-17 02:29:28 -08:00
Dan Mills
e2b4f8ce54 remove applyCommands from store; make itemExists not a 'private' method 2008-12-16 17:08:57 -08:00
Dan Mills
9c65c6203d api change for stores, deal with records not 'commands' 2008-12-16 17:06:45 -08:00
Anant Narayanan
27365a854c Make Form history sync work again with new engine 2008-12-13 16:33:04 +01:00
Dan Mills
b1e7e421bc merge upstream changes 2008-12-12 13:57:05 -08:00
Dan Mills
67ee4ce031 closer to history somewhat working. need to rethink approach because of performance problems 2008-12-12 13:55:58 -08:00
Dan Mills
8e2f4e6dc7 add applyImcoming to store base class 2008-12-12 13:55:26 -08:00
Dan Mills
0b0cd0ecfc remove slightly misleading comment 2008-12-12 13:54:19 -08:00
Dan Mills
23baae2006 don't stop applying changes when one fails to do so 2008-12-12 13:53:48 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
a5da49ac2f Merged 2008-12-11 15:19:43 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
a77aeb9f4c On Fennec there is no microsummaries service, so I made the BookmarksEngine catch the exception if the service is undefined, and skip commands that would require it to create a microsummary, logging warnings instead. 2008-12-11 14:26:20 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
4c4fe745de Added UI to set username/password/passphrase for Weave client on Fennec, and made it work. Following my UI proposal for now, it uses html pages loaded at chrome URLs, which is not ideal. 2008-12-10 18:13:05 -08:00
Dan Mills
b4ce08d32d closer to history working 2008-12-10 00:57:27 -08:00
Dan Mills
6bf68420c8 enable history sync (not working yet) 2008-12-09 12:26:14 -08:00