Re: [Evolution-hackers] Google Tasks in EDS

2011-09-01 Thread Philip Withnall
On Thu, 2011-09-01 at 08:26 +0100, Ross Burton wrote:
> On 1 September 2011 08:15, Philip Withnall  wrote:
> > Any such backend would be best using libgdata to do the protocol-level
> > work, since as you say, Tasks aren't exposed over CalDAV. This will
> > require a new service to be added in libgdata:
> 
> As far as I am aware the Tasks API uses a custom JSON protocol[1],
> whereas libgdata implements their "GData" extensions to Atom, which is
> why I was suggesting json-glib+librest.

That's entirely correct. However, I've been thinking about extending
libgdata to support JSON-based services in addition to the ‘normal’
Atom-based services for a little while now; since Google seem to be
moving in that direction. I think it should be possible, and would be a
better approach than writing things from scratch using json-glib. (An
approach which, for example, would end up duplicating the non-trivial
load of authentication code already present in libgdata.)

The code in libgdata should definitely make use of json-glib, though.

Philip

> Ross
> 
> [1] http://code.google.com/apis/tasks/v1/reference.html#resource_tasks



signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] libgtkhtml3 question

2011-09-01 Thread Matthew Barnes
On Thu, 2011-09-01 at 21:31 +0800, Gregory Hosler wrote: 
> as a related query, I note that (in Fedora F15 repository) there is both a
> webkitgtk and also webkitgtk3
> 
> What's the difference ?
> 
> I'm just guessing that webkitgtk3 if your application uses gtk3 and webkitgtk
> otherwise. I am further guessing/hoping that the webkitgtk/webkitgtk3 api's 
> are
> identical, so moving from one to the other is just a matter of changing teh
> includes/links.

Correct that webkitgtk links to gtk2 and webkitgtk3 links to gtk3.
Whether the APIs are identical I can't say, but I imagine they're only
trivially different if not identical.


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] libgtkhtml3 question

2011-09-01 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/01/2011 08:04 PM, Matthew Barnes wrote:
> On Thu, 2011-09-01 at 14:40 +0800, Gregory Hosler wrote: 
>> I'm looking for some documentation on libgtkhtml3
>>
>> I have an application that uses libgtkhtml2 and I need to upgrade it to use
>> libgtkhtml3
> 
> I would *strongly* recommend against moving to gtkhtml3.
> 
> It has no future.  It is no longer actively developed.  Evolution is the
> last major user of this library, and work is already underway to move to
> WebKit/GTK+, after which gtkhtml3 will be orphaned.
> 
> I recommend moving to WebKit/GTK+ instead.  It has excellent API
> documentation here: http://webkitgtk.org/reference/index.html

ok, thanks.

as a related query, I note that (in Fedora F15 repository) there is both a
webkitgtk and also webkitgtk3

What's the difference ?

I'm just guessing that webkitgtk3 if your application uses gtk3 and webkitgtk
otherwise. I am further guessing/hoping that the webkitgtk/webkitgtk3 api's are
identical, so moving from one to the other is just a matter of changing teh
includes/links.

Can anyone confirm this please?

Thank you, and all the best,

- -Greg

> Matthew Barnes
> 


- -- 
+-+

Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)

| Greg Hosler   ghos...@redhat.com|
+-+
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEUEARECAAYFAk5fiTsACgkQ404fl/0CV/Q37wCYw+p/BZRjFCm0dpSpoVZAC8nX
UQCgrpB+jGt6K5tJz5FbtrAjM4dCaDU=
=6WJQ
-END PGP SIGNATURE-
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] libgtkhtml3 question

2011-09-01 Thread Matthew Barnes
On Thu, 2011-09-01 at 14:40 +0800, Gregory Hosler wrote: 
> I'm looking for some documentation on libgtkhtml3
> 
> I have an application that uses libgtkhtml2 and I need to upgrade it to use
> libgtkhtml3

I would *strongly* recommend against moving to gtkhtml3.

It has no future.  It is no longer actively developed.  Evolution is the
last major user of this library, and work is already underway to move to
WebKit/GTK+, after which gtkhtml3 will be orphaned.

I recommend moving to WebKit/GTK+ instead.  It has excellent API
documentation here: http://webkitgtk.org/reference/index.html

Matthew Barnes

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Google Tasks in EDS

2011-09-01 Thread Ross Burton
On 1 September 2011 08:15, Philip Withnall  wrote:
> Any such backend would be best using libgdata to do the protocol-level
> work, since as you say, Tasks aren't exposed over CalDAV. This will
> require a new service to be added in libgdata:

As far as I am aware the Tasks API uses a custom JSON protocol[1],
whereas libgdata implements their "GData" extensions to Atom, which is
why I was suggesting json-glib+librest.

Ross

[1] http://code.google.com/apis/tasks/v1/reference.html#resource_tasks
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Google Tasks in EDS

2011-09-01 Thread Philip Withnall
Hey,

On Thu, 2011-09-01 at 07:58 +0100, Ross Burton wrote:
> Hi,
> 
> Is anyone working on a Google Tasks backend for EDS?  Annoyingly
> Google doesn't expose Tasks over CalDAV but they do have a custom
> HTTP/OAuth/REST API that shouldn't be that hard to access from
> librest.

I don't know if anyone's working on one, but there's a bug report about
it here:

https://bugzilla.gnome.org/show_bug.cgi?id=652132

Any such backend would be best using libgdata to do the protocol-level
work, since as you say, Tasks aren't exposed over CalDAV. This will
require a new service to be added in libgdata:

https://bugzilla.gnome.org/show_bug.cgi?id=657539

I hope to be able to fix that bug in libgdata next cycle. (Version 0.12
is targeted at GNOME 3.4.)

Philip

> Ross
> ___
> evolution-hackers mailing list
> evolution-hackers@gnome.org
> To change your list options or unsubscribe, visit ...
> http://mail.gnome.org/mailman/listinfo/evolution-hackers



signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers