After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563917 - Accidental API change in CalRecurrence?
Accidental API change in CalRecurrence?
Status: RESOLVED FIXED
Product: evolution-sharp
Classification: Deprecated
Component: bindings
0.18.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-sharp-maint
evolution-sharp-maint
Depends on:
Blocks:
 
 
Reported: 2008-12-09 22:15 UTC by Christopher Halse Rogers
Modified: 2009-02-17 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christopher Halse Rogers 2008-12-09 22:15:29 UTC
It seems that between 0.17 and 0.18 there has been a large, cosmetic API change in CalRecurrence.  Many properties have been changed to fields with slightly different names - eg:

0.17.5          0.18.1
ByDay        -> byDay
Frequency    -> freq
WeekStartDay -> week_start_day

and many others - All the properties seem to have lost their initial uppercase, and Enddate seems to have become Until.

Are these changes intentional?
Comment 1 Chenthill P 2008-12-12 08:16:24 UTC
They are unintentional. A problem switching between programming language coding styles. I did that change while referring to libical apis. I will get them changed back to c# naming style.
Comment 2 Johnny Jacob 2009-01-13 18:10:37 UTC
Chen ping.  Would like to do a release soon. Itz been a while. :)
Comment 3 Christopher Halse Rogers 2009-02-15 22:37:23 UTC
Another ping.  I'd like to update the evolution-sharp package in Ubuntu (and Debian) since the existing package won't build against the newer evolution-data-center.  However, I don't want to ship a library that unnecessarily breaks API, particularly when the API will be changed back!

I can write a patch to revert the API change, apply it to the Ubuntu packages, and post it here if that's helpful.  If I get time before this is committed, I'll do so.
Comment 4 Chenthill P 2009-02-16 06:41:47 UTC
Christopher, I have another fix along with this. Will get the patch committed for this along with that today. Had been in some work for sle11, will get this in today.
Comment 5 Christopher Halse Rogers 2009-02-16 07:02:51 UTC
Excellent!  Thanks.  Soon gnome-do's evolution plugin will work again!
Comment 6 Johnny Jacob 2009-02-16 08:10:57 UTC
Will push a dot release immediately once this is in trunk.
Comment 7 Johnny Jacob 2009-02-17 20:01:19 UTC
Patched in r211.
Comment 8 Johnny Jacob 2009-02-17 20:18:32 UTC
available in 0.19.2.1.

Closing.