[Evolution-hackers] Exposing Evo calendar events

2006-07-13 Thread Teresa Thomas
HiI am brand new to evolution hacking. I need some guidance on how to expose Evolution calendar events. Can I use libecal for this purpose? Also, (other than the libecal API), are there any good documentation available? Any help is appreciated! ___

Re: [Evolution-hackers] Exposing Evo calendar events

2006-07-16 Thread Teresa Thomas
Thanks Andre, I have been looking at that EDS architecture details but it just gives a general picture. I am having starting troubles with EDS. Just so I can get started, does anyone have any sample code that exposes the events/tasks of an evo calendar? Thanks.

Re: [Evolution-hackers] Exposing Evo calendar events

2006-07-18 Thread Teresa Thomas
All I want to do is open an existing Evo calendar and get the events/tasks.Also, what is the identity of a particular Evo calendar?On 7/16/06, Teresa Thomas [EMAIL PROTECTED] wrote: Thanks Andre, I have been looking at that EDS architecture details but it just gives a general picture. I am

[Evolution-hackers] Compilation Linking flags

2006-07-18 Thread Teresa Thomas
How can I obtain the compilation and linking flags necessary for libical and libecal (EDS)? Pkg-config doesn't seem to be supported.Thanks. ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

[Evolution-hackers] libecal functions

2006-07-18 Thread Teresa Thomas
Need some assistance in my quest to comprehend EDS.What exactly is the difference between e_cal_create_object() [in ECalComponent] and e_cal_create_object() [in ECal ] ? Thanks in advance! ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] libecal functions

2006-07-19 Thread Teresa Thomas
] wrote: On Tue, 2006-07-18 at 17:44 -0400, Teresa Thomas wrote: Need some assistance in my quest to comprehend EDS. What exactly is the difference between e_cal_create_object() [in ECalComponent] and e_cal_create_object() [in ECal ] ? e_cal_create_object is used to create a appointment, task

Re: [Evolution-hackers] libecal functions

2006-07-20 Thread Teresa Thomas
members) ?ThanksOn 7/20/06, chenthill palanisamy [EMAIL PROTECTED] wrote: On Wed, 2006-07-19 at 11:25 -0400, Teresa Thomas wrote: Hi I have one last (hopefully) question about libecal. I want to add a VEVENT to an existing Evolution calendar. Hence, I created an iCalComponenent to be added and hope

[Evolution-hackers] Error while trying to obtain ESource list

2006-07-25 Thread Teresa Thomas
Im trying to use the functions, e_source_list_new() and e_source_list_new_for_gconf_default(char* path) from libedataserver to get the ESourceList. I have included the header file e-source-list.h and added the necessary compiling and linking flags (using pkg-config). But on runtime, it gives me

Re: [Evolution-hackers] Error while trying to obtain ESource list

2006-07-25 Thread Teresa Thomas
You were right again Peter!Thanks :)On 7/25/06, Peter Colijn [EMAIL PROTECTED] wrote: Hi Teresa,On 7/25/06, Teresa Thomas [EMAIL PROTECTED] wrote: (process:4289): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function (process:4289

[Evolution-hackers] Creating objects in ECal

2006-07-26 Thread Teresa Thomas
I am trying to add an event into my ECal, using the following code: ... // Convert vevent into iCalComponent icalcomponent* iCalComp = icalcomponent_new_from_string(Filecontents); // Create an object in calendar gboolean is_create = e_cal_create_object(ecal, iCalComp, (char **)uid, error);

[Evolution-hackers] Missing functions from libecal API reference doc

2006-07-26 Thread Teresa Thomas
After days of playing around with ESources and ESourceLists, I realized that all I needed was the e_cal_open_default() function from e-cal.h. Unfortunately, this function seems to be missing from the API docs. Please do add it to the docs, as it is quite a useful function. It is declared around

Re: [Evolution-hackers] Creating objects in ECal

2006-07-26 Thread Teresa Thomas
To add to my previous question, the statementprintf(%d, icalcomponent_is_valid(iCalComp));prints a 1.What could be going wrong? On 7/26/06, Teresa Thomas [EMAIL PROTECTED] wrote: I am trying to add an event into my ECal, using the following code: ... // Convert vevent into iCalComponent

Re: [Evolution-hackers] Creating objects in ECal

2006-07-27 Thread Teresa Thomas
Thanks Peter...tried both. Also tried an entirely different VEVENT. Still the same. When does the e_cal_create_object() fail/not function properly even when the iCalComponent is (apparently) formed correctly? On 7/27/06, Peter Colijn [EMAIL PROTECTED] wrote: Hi Teresa,On 7/27/06, Teresa Thomas

[Evolution-hackers] Creating iCal components

2006-08-01 Thread Teresa Thomas
Hi I have a question regarding libical. Since you authored the documentation, I figured you would know!Suppose my iCal string contains multiple events ie, looks as follows:BEGIN:VCALENDAR...BEGIN:VEVENT ...END:VEVENTBEGIN:VEVENT...END:VEVENTEND:VCALENDARI'm using the

Re: [Evolution-hackers] Creating iCal components

2006-08-01 Thread Teresa Thomas
Whoops! The above mail was supposed to be for the author of libical docs. But if anyone here knows the answer, then great! :)On 8/1/06, Teresa Thomas [EMAIL PROTECTED] wrote:Hi I have a question regarding libical. Since you authored the documentation, I figured you would know!Suppose my iCal

[Evolution-hackers] Obtaining all events from Evo Cal

2006-08-08 Thread Teresa Thomas
HiHow can I obtain all the events existing in an ECal. I tried using the function:gbooleane_cal_get_object_list ( ECal *ecal, const char *query, GList **objects,

Re: [Evolution-hackers] Obtaining all events from Evo Cal

2006-08-08 Thread Teresa Thomas
Thanks Chen, that works!Is there any place where such things are documented?On 8/8/06, chenthill [EMAIL PROTECTED] wrote:Hi Teresa,Send the query as #t.- Chenthill. On Tue, 2006-08-08 at 18:14 -0400, Teresa Thomas wrote: Hi How can I obtain all the events existing in an ECal. I tried using

[Evolution-hackers] Converting vevent components into one vcalendar component

2006-08-09 Thread Teresa Thomas
I intend to use the function void icalcomponent_merge_component(icalcomponent* comp, icalcomponent* comp_to_merge); to merge two VCALENDAR components.When I query for all the objects in an Evo cal, what I get is a list of icalcomponent. I want to convert this bunch of VEVENT icalcomponents into a