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

2009-01-07 Thread Stefano Canepa
Il giorno mer, 07/01/2009 alle 12.45 +0100, Patrick Ohly ha scritto:
 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, among them change tracking and concurrent editing
 of items.

I started studing a plugin to do the sync on user request. I'm going to
present my idea in another email just to have clearer threads.

Bye
sc

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Funambol sync from evolution

2009-01-07 Thread Stefano Canepa
Hi all,
I'm trying to develop a plugin to run configure and run syncevolution
on user request. My idea is to have a plugin like the one that sync with
the ipod adding an option on the context menu in calendar and
addressbook. 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.

I would like to try to develop it in python as I see that evolution is
now capable of loading plugins written in this language, but it should
be no problem in developing in C. Wich language do you suggest to use? 

TIA
sc

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


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.
 

Thanks for your help. You got it.

Bye
sc

PS: I'm subscribed to the list so do not email me directly CC-ing the
list my filters get confused. Thanks

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


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. A downside might be that users
  of older Evolution releases without that support won't be able to use
  your plugin. When was Python support added?
  
 
 Maybe have a look at Vala 
 
 http://live.gnome.org/Vala
 
 Kind of best of both worlds, Python/ C
 
 Cheers

So you suggest to learn another language? ;-)

Bye
sc

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


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 install a libsyncevolution.so which
 contains all the necessary logic to execute a sync. That might be
 easier
 than wrapping a command line tool. On the other hand, Genesis already
 does that quite successfully.

OK, Patric. I'll checkout syncevolution code ASAP (tomorrow or on
saturday) and starting finding how I to build such a library, this
should be usefull for other projects, too.

Bye
sc

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Funambol sync from evolution

2009-01-11 Thread Stefano Canepa
Il giorno gio, 08/01/2009 alle 21.08 -0800, George Farris ha scritto:
 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. Pick the one that you
find easier. Python is a nice language. A downside might be that users
of older Evolution releases without that support won't be able to use
your plugin. When was Python support added?

   
   Maybe have a look at Vala 
   
   http://live.gnome.org/Vala
   
   Kind of best of both worlds, Python/ C
   
   Cheers
  
  So you suggest to learn another language? ;-)
  
 
 Sure why not, it's always good for the brain:-)

I did a look at vala. It looks not so difficult.

Bye
sc

-- 
Stefano Canepa aka sc: s...@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers