Jan Holesovsky wrote:
I'm not sure if concurrent access for documents is a good idea.
Currently our merging is not perfect and you will have a lot of
disappointed users. For me this is doing the second step before the
first. Without a better merging we can't offer concurrency.

I am a fan of incremental improvements ;-) So if the merging is not 100%, the users will tell us & we'll be able to fix that. I cannot do analysis of all the corner cases; all I know is that the merging works well enough for basic work. I will improve it in the next iteration based on the feedback if it's not sufficient.

Change tracking and merging in Calc is already supposed to handle all content (not formatting) changes that are not disabled in recording mode. That seems to be enough to make the feature useful.

Besides that I don't think that something must be changed in osl. We
just have to change our way how we interpret the results from openFile.

Unfortunately it must be. I don't want to open the file again, I just want to set/clear the lock, and there's no API for that in osl.

Why not open it again? Treat it more like import/export instead of load/save, with embedded objects in a temporary storage, and don't keep a file handle. Then, before saving, check if your "shared" file is still there (you'll have to read it anyway, for the intermediate changes).

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to