Hey Niels,
Awesome, thanks for checking it out. :-)

> Is selective undo supposed to be working? (Because it didn't seem to).

No, selective undo is broken right now.

> On Wed, Oct 27, 2010 at 03:07:11PM -0600, Eric Wasylishen wrote:
>> The current state isn't too interesting yet. You can create outline 
>> douments, edits you make are committed to disk, and there's a history 
>> inspector which lets you revert to previous versions. I'm just working on 
>> the cool things (right now, writing the collaborative editing code.) :-)
> 
> Cool. I'd be interested to hear more about the collaborative editing
> stuff. Can we make that work in a way that we can potentially drop in
> the CO-over-XMPP stuff I wrote for XMPPKit?

Sorry, I didn't have a good look at the CO-over-XMPP code you wrote - my 
understanding is that it uses XMPPKit as a backend for EtoileSerialise, so at 
the COObject level remote objects look like normal ones (similar to how normal 
Cocoa distributed objects works)?

What I'm implementing now is a bit different - it doesn't have the elegance of 
distributed objects and deals with networking more explicitly. I think this may 
be a necessary sacrifice to get everything I want (selective/normal undo on a 
shared document, merging of changes) but I'm not sure. Here's how my plan works:

There's a "Share" button on the toolbar of a document, which opens a list of 
peers on the network, along with checkboxes which allows you to invite them to 
the sharing session. When you invite the first person to a document, a sharing 
server object is created, and the current document state is sent to the user 
inside an invitation message.  The sharing server object listens for commits 
made to the document on the server, and sends these changes out to the clients. 
 I'm borrowing the  "Differential Synchronization" protocol for communication 
between client and server:
http://neil.fraser.name/writing/sync/eng047-fraser.pdf

I'm right in the middle of implementing this, so hopefully I'll have something 
we can test soon!

Cheers,
Eric
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to