Re: [Evolution-hackers] Evolution-data-server offline handling

2012-02-06 Thread Alexander Larsson
On Fri, 2012-02-03 at 16:58 -0500, Matthew Barnes wrote: > On Fri, 2012-02-03 at 21:27 +, Philip Withnall wrote: > > This sounds good. Do I have to make any fixes to the Google Contacts > > address book backend, or will it all be handled centrally? (i.e. With > > this GNetworkMonitor change, w

[Evolution-hackers] Evolution-data-server offline handling

2012-02-03 Thread Alexander Larsson
The google addressbook backends only allows writes while online, and I need to reliably detect this and display the editable state in Gnome Contacts. The addressbook readonly property is propagated via folks, so theoretically this should be doable. However, a series of failures is causing problems

Re: [Evolution-hackers] Issues with new EBook dbus implementation

2011-05-31 Thread Alexander Larsson
On Tue, 2011-05-31 at 05:50 +0200, Milan Crha wrote: > On Mon, 2011-05-30 at 15:33 +0200, Alexander Larsson wrote: > > Btw, I was thinking about this. Is this kind of solution really > > needed? I mean, its easy to bump the timeout for the async ops, and i > > think the

Re: [Evolution-hackers] Issues with new EBook dbus implementation

2011-05-30 Thread Alexander Larsson
On Fri, 2011-05-27 at 16:49 +0200, Milan Crha wrote: > Main reason for this change was a fact that some operations may timeout > on a DBus call, because backend wasn't able to finish the requested > operation in a given time (defined by DBus; later with some workaround > on eds side). It could tim

Re: [Evolution-hackers] Issues with new EBook dbus implementation

2011-05-27 Thread Alexander Larsson
On Fri, 2011-05-27 at 17:09 +0200, Milan Crha wrote: > On Fri, 2011-05-27 at 13:01 +0200, Alexander Larsson wrote: > > Secondly, why is it using a dbus signal for the done callbacks? > > Wouldn't it be more sane to use a direct message (without expecting a > > reply)

Re: [Evolution-hackers] Issues with new EBook dbus implementation

2011-05-27 Thread Alexander Larsson
On Fri, 2011-05-27 at 16:49 +0200, Milan Crha wrote: > On Fri, 2011-05-27 at 13:01 +0200, Alexander Larsson wrote: > > I needed the most recent eds to test the folks eds backend, and I picked > > up the new dbus EBook APIs. Unfortunatelly that seemed to be completely > > bro

[Evolution-hackers] Issues with new EBook dbus implementation

2011-05-27 Thread Alexander Larsson
I needed the most recent eds to test the folks eds backend, and I picked up the new dbus EBook APIs. Unfortunatelly that seemed to be completely broken for me (evolution contacts hanged, test-self in the tests hanged), so I have debugged it. Turns out that it was sending a dbus signal like get_cont