Re: [Evolution-hackers] concurrent modifications of items in GUI and EDS database

2009-01-08 Thread Patrick Ohly
On Thu, 2009-01-08 at 10:10 +0530, Suman Manjunath wrote: On Wed, Jan 7, 2009 at 17:15, Patrick Ohly patrick.o...@gmx.de wrote: The plan for change tracking is to get rid of the dependency on e_book_get_changes(). I already stopped using e_cal_get_changes() because it was too inflexible.

Re: [Evolution-hackers] Cannot run evolution built using jhbuild

2009-01-08 Thread Stefano Canepa
Il giorno gio, 08/01/2009 alle 00.10 +0100, Tobias Mueller ha scritto: Hi, On 07.01.2009 22:20, Stefano Canepa wrote: 2) what's going wrong the evolution built by jhbuild? The build itself works properly, right? Running your newly build Evolution fails, if I read your log correctly.

Re: [Evolution-hackers] concurrent modifications of items in GUI and EDS database

2009-01-08 Thread Patrick Ohly
Hello Suman! I forgot to ask: do you agree in general with the plan to do atomic updates via e_book_commit_contact() and e_cal_modify_object() by defining the semantic as suggested? I also need to extend the proposal: removing an item has similar race conditions (sync starts, user updates item,

Re: [Evolution-hackers] concurrent modifications of items in GUI and EDS database

2009-01-08 Thread Chenthill
On Wed, 2009-01-07 at 12:45 +0100, Patrick Ohly wrote: Hello! I'm currently thinking about synchronizing data with SyncEvolution in the background while the user is active with the Evolution UI. Some users already do that via cron jobs, but it is known to be problematic for several reasons,

Re: [Evolution-hackers] Funambol sync from evolution

2009-01-08 Thread Stefano Canepa
On Wed, 2009-01-07 at 20:22 -0800, George Farris wrote: On Wed, 2009-01-07 at 23:20 +0100, Patrick Ohly wrote: My suggestion regarding the language would be to check out how easy it is to write Evolution plugins in C and Python. Pick the one that you find easier. Python is a nice language.

Re: [Evolution-hackers] Funambol sync from evolution

2009-01-08 Thread Stefano Canepa
On Wed, 2009-01-07 at 23:20 +0100, Patrick Ohly wrote: On user request the plugin will run syncevolution, displaing an error message if there is no syncevolution on the system and the log and all messages of syncevolution if there are logs or messages. It wouldn't be hard to create and

Re: [Evolution-hackers] concurrent modifications of items in GUI and EDS database

2009-01-08 Thread Suman Manjunath
On Thu, Jan 8, 2009 at 15:19, Patrick Ohly patrick.o...@gmx.de wrote: The GroupWise server updates the 'modified' property of the item when it actually gets modified on the server. For newly created items, it also adds the 'created' property at the same time. This behavior invalidates all the

Re: [Evolution-hackers] Funambol sync from evolution

2009-01-08 Thread George Farris
On Thu, 2009-01-08 at 23:03 +0100, Stefano Canepa wrote: On Wed, 2009-01-07 at 20:22 -0800, George Farris wrote: On Wed, 2009-01-07 at 23:20 +0100, Patrick Ohly wrote: My suggestion regarding the language would be to check out how easy it is to write Evolution plugins in C and Python.

Re: [Evolution-hackers] Funambol sync from evolution

2009-01-08 Thread Patrick Ohly
On Fri, 2009-01-09 at 00:00 +0100, Stefano Canepa wrote: On Wed, 2009-01-07 at 23:20 +0100, Patrick Ohly wrote: It wouldn't be hard to create and install a libsyncevolution.so which contains all the necessary logic to execute a sync. That might be easier than wrapping a command line tool.