CVSROOT:        /cvs/gnome
Module name:    evolution-sharp
Changes by:     vvaradan        05/08/01 12:33:54

Modified files:
        .              : ChangeLog 
        evolution      : Cal.custom TestCal.cs 
        evolution/src  : CalComponent.cs CalGlueComponentUtil.cs 
                         CalGlueRecurrenceUtil.cs CalRecurrence.cs 
                         CalUtil.cs 
        glue/cal       : e-cal-glue-comp.c e-cal-glue-comp.h 
                         e-cal-glue-recur-util.c e-cal-glue.c 

Log message:
--- More recurrence plus GetChanges and memory-leak fixes ---

* glue/cal/e-cal-glue-recur.c (e_cal_recur_from_icalproperty): Set
the count field appropriately in the return value.  Also,
corrected a type (ie.) by_minute was being updated twice.

* glue/cal/e-cal-glue-comp.h: Added field for handling
exception-rules in recursion and get/set functions.

* glue/cal/e-cal-glue-comp.c (e_cal_glue_component_get_uid)
(e_cal_glue_component_get_rid): Now returns strdup'd pointer that
the caller has to free it. (Work around for a probable mono bug).
(e_cal_glue_component_finalize): Typo.

* glue/cal/e-cal-glue.c (e_cal_glue_ecal_get_changes): A new API
to return the list of added/modified/deleted items since the last
call.
(e_cal_glue_free_glue_component_list): An API for a memory-leak fix.
(get_ecal_comp_properties): Handling for exception-rules.

* evolution/Cal.custom: Wrapper for e_cal_glue_ecal_get_changes API.
Some un-wanted code clean-ups.

* evolution/src/CalGlueComponentUtil.cs: All the calls to
GLibSListToStringArray() should pass a boolean second parameter
that should specify whether to free the source memory or not.
(GetUid), (GetRid): Work around for a probable mono bug.
(GetExceptionRules): New method to fetch exception-rules.

* evolution/src/CalUtil.cs (GLibSListToStringArray): Now take two
parameters.
(CalCompFromEcal), (CalCompFromICal): Frees the memory that was
allocated by the respective glue-code call.
(FreeGlueCompGLibSList): Wrapper for the underlying glue-API to
free the e_cal_glue_component list.

* evolution/src/CalComponent.cs (ExceptionRules): Get/set methods
for the exrules property.

* evolution/src/CalGlueRecurrenceUtil.cs (GetEnddate): Return
DateTime.MinValue, if return value is zero from the glue-code.
(GetFrequency): Returns FrequencyType enumerated value.

* evolution/src/CalRecurrence.cs: (FrequencyType), (WeekDayType):
New enumerations.
(ToString): An override that returns the recurrence data in a
user-friendly readable form.

* evolution/TestCal.cs: Clean-ups and updates w.r.t new APIs.

--- End of commit ---

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evolution-sharp&who=vvaradan&date=explicit&mindate=2005-08-01%2012:32&maxdate=2005-08-01%2012:34

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to