[Kde-pim] Heads up: kdepim-runtime master now requires libkgapi master

Daniel Vrátil dvratil at redhat.com
Thu Feb 28 12:55:11 GMT 2013


Hi,

In the past days I've been working on new API for LibKGAPI. The old one 
was not really the best one (well, it was my first :P ) and recently I found 
myself pretty much lost when I wanted to implement new features or fix some 
bugs.

The new API is job-based (with classes like ContactFetchJob, 
EventModifyJob, etc), looks very nice, is ridiculously easy to use (as opposed 
to the old API) and is much much more flexible. The new API is in KGAPI2 
namespace, which means that next release will be LibKGAPI-2.0 (quite a jump 
from 0.4 :-) ).  The old API is still be available in LibKGAPI-2.0 (there's 
still libkgapi.so), but it is marked as deprecated and internally it uses or 
shares code from LibKGAPI2. I plan to completely drop the API around KDE 4.12 
(or when I get fed up of maintaining it :P ).

I have just pushed port of Akonadi Google resources to LibKGAPI 2 API. The 
commit also factors out /lots/ of duplicated code into 
/resources/google/common. The diff says 3020 insertions and 4150 deletions, 
which I think is a nice result.

So far everything seems to work smoothly and nicely, but I'd like to ask those 
who use KDEPIM from master  and the Google resources to keep an eye on them 
and ping me if there are any problems or regressions.

As a bonus, the Google Contacts resource now supports contacts groups, has 
smarter photo fetching, both resources have improved status reporting and 
(subjectively) are faster and more stable. More features coming soon ;-)

Cheers

Dan

-- 
Daniel Vrátil
Associate Software Engineer, KDE Desktop Team
Red Hat, Inc

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130228/23231244/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list