Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / calendar / ChangeLog
1 2007-08-28  Ross Burton  <ross@openedhand.com>
2
3         * */*:
4         Fix FSF address (Tobias Mueller, #470445)
5
6 2007-08-23  Christian Kellner  <gicmo@gnome.org>
7
8         * backends/caldav/e-cal-backend-caldav.c:
9         Use application/xml instead of text/xml as mime-type when sending
10         xml requests. This together with getting rid of is-defined fixes
11         bgo bug #394571 
12
13 2007-08-23  Christian Kellner  <gicmo@gnome.org>
14
15         * backends/caldav/e-cal-backend-caldav.c:
16         Only store relative hrefs (i.e. the filename of the object) in
17         the component and the local cache and create the full qualified
18         when needed (that means during server interaction).
19         That should fix b.g.o bug #355659 and bug #354855
20
21 2007-08-23  Christian Kellner  <gicmo@gnome.org>
22
23         * backends/caldav/e-cal-backend-caldav.c:
24         Add new debugging framework which can be controlled during
25         runtime with the CALDAV_DEBUG debug enviroment variable.
26
27 2007-08-23  Christian Kellner  <gicmo@gnome.org>
28
29         * backends/caldav/e-cal-backend-caldav.c:
30         (caldav_server_list_objects):
31         Get rid of the non rfc-compliant is-defined xml tag in REPORT
32         queries.
33
34 2007-08-23  Milan Crha  <mcrha@redhat.com>
35
36         ** Fix for bug #337454
37
38         * libecal/e-cal.c: (generate_instances): Based on RFC 2445,
39         DTEND property is not required for reccuring VEVENT.
40
41 2007-08-13  Ross Burton  <ross@openedhand.com>
42
43         * libedata-cal/e-cal-backend-cache.c:
44         * backends/weather/e-weather-source-ccf.c:
45         * libecal/e-cal-component.c:
46         Fix compile warnings.
47
48 2007-08-10  Matthew Barnes  <mbarnes@redhat.com>
49
50         * libecal/e-cal.c:
51         Use EFlag to simplify synchronization logic (#415891).
52
53 2007-07-31  Chenthill Palanisamy  <pchenthill@novell.com>
54
55         * backends/caldav/create-account.c:
56         * backends/caldav/e-cal-backend-caldav.c:
57         * backends/contacts/e-cal-backend-contacts.c:
58         * backends/file/e-cal-backend-file.c:
59         * backends/groupwise/e-cal-backend-groupwise-utils.c:
60         * backends/groupwise/e-cal-backend-groupwise.c:
61         * backends/http/e-cal-backend-http.c:
62         * backends/weather/e-weather-source-ccf.c:
63         * libecal/e-cal.c:
64         * libecal/e-cal.h:
65         * libedata-cal/e-cal-backend-cache.h:
66         * libedata-cal/e-cal-backend-sexp.c:
67         * libedata-cal/e-cal-backend-sexp.h:
68         * libedata-cal/e-cal-backend-util.c:
69         * libedata-cal/e-cal-backend.h:
70         * libedata-cal/e-data-cal-factory.c:
71         * libedata-cal/e-data-cal-view.c: Changed the way header files are included so
72         that they are picked up from the source rather than install area.
73
74 2007-07-30  Chenthill Palanisamy  <pchenthill@novell.com>
75
76         Fixes a memory corruption.
77         * libecal/e-cal.c: (open_calendar): Use e_source_get_duped_property.
78
79 2007-07-13  Milan Crha  <mcrha@redhat.com>
80
81         ** Fix for bug #456565
82
83         * backends/http/e-cal-backend-http-factory.c:
84         (_memos_new_backend), (_memos_get_kind),
85         (memos_backend_factory_class_init),
86         (memos_backend_factory_get_type), (http_types),
87         (eds_module_initialize), (eds_module_list_types):
88         Added support for Memos to webcal protocol, which is
89         used for memos 'On The Web'.
90
91 2007-07-25  Milan Crha  <mcrha@redhat.com>
92
93         ** Fix for bug #268162
94
95         * backends/http/e-cal-backend-http.c: (struct _ECalBackendHttpPrivate):
96         New members for username and password.
97         * backends/http/e-cal-backend-http.c: (soup_authenticate),
98         (soup_reauthenticate): Callbacks for authentication support.
99         * backends/http/e-cal-backend-http.c: (begin_retrieval_cb):
100         Connect new callbacks to soup_session.
101         * backends/http/e-cal-backend-http.c: (e_cal_backend_http_open):
102         Copy username and password when authentication is required.
103
104         * backends/http/e-cal-backend-http.c: (retrieval_done): Warnings cleanup.
105
106 2007-07-29  Srinivasa Ragavan  <sragavan@novell.com>
107
108         ** Fix for bug #460867
109
110         * libecal/e-cal-component.c: (get_attachment_list):
111
112 2007-07-09  Srinivasa Ragavan  <sragavan@novell.com>
113
114         ** Fix for bug #394572 from Jari Urpalainen
115
116         * backends/caldav/e-cal-backend-caldav.c: (caldav_ignore_host),
117         (caldav_set_session_proxy), (caldav_do_open):
118
119 2007-07-09  Milan Crha  <mcrha@redhat.com>
120
121         ** Fix for bug #311098
122         
123         * backends/contacts/e-cal-backend-contacts.c: (contacts_changed_cb):
124         Always remove old tracked data and add new if possible.
125
126 2007-06-04  Chenthill Palanisamy  <pchenthill@novell.com>
127
128         * libedata-cal/e-cal-backend-sexp.c: (resolve_tzid),
129         (func_occur_in_time_range), (func_due_in_time_range),
130         (matches_attendee), (matches_organizer), (matches_classification),
131         (matches_summary), (matches_priority),(matches_status), (func_has_attachment),
132         (func_percent_complete), (func_contains), (func_has_alarms_in_range), 
133         (func_has_recurrences): Added search expressions for matching attendee, organizer,
134         classification, priority, status, percent, attachment fields.
135                 
136         Committing on behalf of Keshav Upadhyaya <ukeshav@novell.com> and 
137         Abhishek Parwal <pabhishek@novell.com>.
138
139 2007-06-03  Srinivasa Ragavan  <sragavan@novell.com>
140
141         ** Fix for bug #442187 from John Stowers
142
143         * libecal/e-cal.c: (get_default):
144
145 2007-05-31  Matthew Barnes  <mbarnes@redhat.com>
146
147         * libecal/Makefile.am:
148         Fix some distcheck errors (#438577).
149
150 2007-05-24  Ross Burton  <ross@openedhand.com>
151
152         * backends/caldav/Makefile.am:
153         Add missing link flags to fix build with -z,defs. (#409542, Loic
154         Minier)
155
156 2007-05-22  Ross Burton  <ross@openedhand.com>
157
158         * libecal/Makefile.am:
159         * libecal/e-cal.c:
160         * libecal/e-cal-view.c:
161         * libecal/e-cal-view.h:
162         * libecal/e-cal-view-private.h:
163         * libecal/e-cal-listener.h:
164         * libecal/e-cal-view-listener.h:
165         Move e_cal_view_new to e-cal-view-private.h because it's an
166         internal function, don't install the listener headers, and
167         sanitise includes so that the installed headers don't mention
168         Bonobo (#438727).
169
170 2007-05-16  Jules Colding  <colding@omesc.com>
171
172         * backends/groupwise/e-cal-backend-groupwise.c (fetch_attachments): 
173         Do not close() if (fd == -1)
174
175         * backends/groupwise/e-cal-backend-groupwise-utils.c (set_attachments_to_cal_component): 
176         Do not close() if (fd == -1)
177
178         * backends/file/e-cal-backend-file.c (fetch_attachments): 
179         Do not close() if (fd == -1)
180
181 2007-05-15  Ross Burton  <ross@openedhand.com>
182
183         * tests/ecal/test-ecal.c:
184         * tests/ecal/test-search.c:
185         * tests/ecal/test-recur.c:
186         Remove useless Bonobo usage.
187
188 2007-05-13  Rob Bradford  <rob@openedhand.com>
189
190         * libecal/e-cal.c: (e_cal_create_object):
191         Set the uid on the icalcomponent to the uid returned by the backend
192         so that subsequent calls to e_cal_modify_object are safe. 
193         (bgo: #431135)
194
195 2007-05-07  Matthew Barnes  <mbarnes@redhat.com>
196
197         * backends/caldav/e-cal-backend-caldav.c:
198         * backends/groupwise/e-cal-backend-groupwise.c:
199         * libecal/e-cal-component.c:
200         * libecal/e-cal-recur.c:
201         * libecal/e-cal.c:
202         * libedata-cal/e-cal-backend.c:
203         * libedata-cal/e-data-cal-view.c:
204         * tests/ecal/test-ecal.c:
205         Fix warnings reported by 'sparse'.  Patch from Kjartan Maraas.
206
207 2007-04-05  Ross Burton  <ross@openedhand.com>
208
209         * backends/file/e-cal-backend-file.c:
210         Use g_mkdir_with_parents (#383686).
211
212 2007-04-04  Ross Burton  <ross@openedhand.com>
213
214         * libecal/e-cal-marshal.list:
215         * libecal/e-cal-listener.c:
216         * libecal/e-cal-view-listener.c:
217         * libecal/e-cal-view.c:
218         Remove marshallers that are in GLib (#400970).
219
220 2007-04-01  Matthew Barnes  <mbarnes@redhat.com>
221
222         * libedata-cal/e-data-cal-factory.c (get_backend_factory):
223         * backends/groupwise/e-cal-backend-groupwise-utils
224         (e_cal_backend_groupwise_set_attachments_from_comp),
225         (e_gw_connection_get_freebusy_info):
226         * backends/caldav/e-cal-backend-caldav.c (process_object):
227         * backends/contacts/e-cal-backend-contacts.c (book_record_new),
228         (contact_record_cb_new), (source_group_removed_cb),
229         (cdate_to_icaltime), (create_component):
230         * libecal/e-cal-listener.c (ECalListenerPrivate):
231         Fix some compiler warnings.  Patch from Kjartan Maraas.
232
233 2007-03-29  Matthew Barnes  <mbarnes@redhat.com>
234
235         * backends/file/e-cal-backend-file.c:
236         * backends/groupwise/e-cal-backend-groupwise.c:
237         E-D-S requires GLib 2.10 now; remove dead backward-compatibility
238         code for GLib < 2.8 (#418971).
239
240 2007-03-29  Matthew Barnes  <mbarnes@redhat.com>
241
242         * libecal-e-cal.c:
243         * libecal/e-cal-component.c:
244         * libecal/e-cal-recur.c:
245         * libecal/e-cal-util.c:
246         Fix up the documentation (#413173).  Patch from Ross Burton.
247
248 2007-03-26  Matthew Barnes  <mbarnes@redhat.com>
249
250         * backends/groupwise/e-cal-backend-groupwise.c:
251         * backends/weather/e-cal-backend-weather.c:
252         Don't mix declarations and code (#405495).
253         Patch from Jens Granseuer.
254
255 2007-03-25  Matthew Barnes  <mbarnes@redhat.com>
256
257         ** Fixes bug #420933
258
259         * libecal/e-cal.c (e_cal_generate_instances_for_object):
260         Copy the recurrence ID string so it doesn't disappear on us.
261         Patch from Patrick Ohly.
262
263 2007-03-16  Matthew Barnes  <mbarnes@redhat.com>
264
265         ** Fixes part of bug #360240
266
267         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
268         Remove an unused variable.
269
270 2007-02-27  Ross Burton  <ross@openedhand.com>
271
272         * libecal/e-cal.c:
273         Use consistent URIs when opening calendars by using
274         e_source_new_with_absolute_uri() in e_cal_new_from_uri (#333507).
275
276 2007-02-12  Kjartan Maraas  <kmaraas@gnome.org>
277
278         * libecal/e-cal.c: (process_detached_instances): Don't crash
279         on Outlook meeting invitations. Closes bug #404886. Patch
280         from Patrick Ohly.
281
282 2007-02-12 Patrick Ohly <patrick.ohly@gmx.de>
283
284         Fixes #363102
285         * backends/file/e-cal-backend-file.c: (save_file_when_idle),
286         (e_cal_backend_file_open),
287         (save), (e_cal_backend_file_finalize),
288         (e_cal_backend_file_get_object), (e_cal_backend_file_get_timezone),
289         (e_cal_backend_file_add_timezone),
290         (e_cal_backend_file_set_default_zone),
291         (e_cal_backend_file_get_object_list),
292         (e_cal_backend_file_start_query),
293         (e_cal_backend_file_get_free_busy),
294         (e_cal_backend_file_compute_changes),
295         (e_cal_backend_file_internal_get_timezone),
296         (e_cal_backend_file_create_object),
297         (e_cal_backend_file_modify_object),
298         (e_cal_backend_file_remove_object),
299         (e_cal_backend_file_remove), (e_cal_backend_file_init),
300         (e_cal_backend_file_set_file_name), (e_cal_backend_file_reload):
301         (e_cal_backend_file_receive_objects), (e_cal_backend_file_init): Added 
302         the idle save mutex lock.
303
304 2007-01-29  Chenthill Palanisamy  <pchenthill@novell.com>
305
306         reviewed by: <delete if not using a buddy>
307
308         * backends/groupwise/e-cal-backend-groupwise-utils.c:
309         (build_gwtz_from_icaltz), (set_properties_from_cal_component):
310         * libecal/e-cal.c: (e_cal_create_object):
311
312 2007-01-23  Chenthill Palanisamy  <pchenthill@novell.com>
313
314         reviewed by: <delete if not using a buddy>
315
316         * backends/groupwise/e-cal-backend-groupwise-utils.c:
317         (build_gwtz_from_icaltz), (set_properties_from_cal_component):
318         * libecal/e-cal.c: (e_cal_create_object):
319
320 2006-11-27  Andrew Ruthven  <andrew@etc.gen.nz>
321
322         Fixes bug #349573
323
324         * calendar/backends/caldav/e-cal-backend-caldav.c
325         (caldav_server_delete_object):
326         Make sure that deleting CalDAV entries is RFC2068 compliant by
327         changing If-None-Match to If-Match.
328
329 2006-12-03  Harish Krishnaswamy  <kharish@novell.com>
330
331         * backends/contacts/e-cal-backend-contacts.c:
332         (e_cal_backend_contacts_finalize): Do not free default_zone if
333         it is the built-in UTC timezone.
334         * backends/file/e-cal-backend-file.c
335         (e_cal_backend_file_finalize): Do not free default_zone if
336         it is the built-in UTC timezone. Fix leak of filename.
337
338 2006-12-03  Harish Krishnaswamy  <kharish@novell.com>
339
340         * backends/groupwise/e-cal-backend-groupwise.c:
341         (sanitize_component): Fix leak of str.
342
343 2006-12-03  Harish Krishnaswamy  <kharish@novell.com>
344
345         * libedata-cal/e-cal-backend.c: (e_cal_backend_finalize):
346         Fix leak of uri and source.
347
348 2006-12-03  Harish Krishnaswamy  <kharish@novell.com>
349
350         * libedata-cal/e-data-cal-view.c:
351         (e_data_cal_view_set_property): Do not dup backend. Fix this being
352         leaked.
353
354 2006-11-15  Chenthill Palanisamy  <pchenthill@novell.com>
355
356         * libecal/e-cal-listener.c: (convert_status): Map the
357         error status for 'No Such Calendar'.                                                  
358
359 2006-11-08  Sankar P  <psankar@novell.com>
360
361         * libecal/e-cal.c: (build_proxy_pass_key), (open_calendar):
362         Do not pop up a password dialog for proxy accounts.
363         Fixes #328836
364
365 2006-11-07  Chenthill Palanisamy  <pchenthill@novell.com>
366
367         * libecal/e-cal.c: (add_instance), (generate_instances),
368         (e_cal_generate_instances_for_object): Generate the recurrence
369         id picking up the right timezone from the start date.                                          
370         Fixes #215636 (bugzilla.novell.com)
371
372 2006-11-06  Harish Krishnaswamy  <kharish@novell.com>
373
374         * libecal/e-cal.c: (open_calendar): Remove an 
375         erroneous double mutex unlock. Fixes #312348
376         and its numerous duplicates.
377
378 2006-09-25  Matthew Barnes  <mbarnes@redhat.com>
379
380         Fixes #357666
381
382         * backends/groupwise/e-cal-backend-groupwise.c: (change_status)
383         Use g_ascii_strncasecmp instead of deprecated g_strncasecmp.
384
385 2006-09-22  Chenthill Palanisamy  <pchenthill@novell.com>
386
387         Fixes #351330
388         * backends/groupwise/e-cal-backend-groupwise.c: 
389         (cache_init): call the store settings in a idle thread.
390         * backends/groupwise/e-cal-backend-groupwise.h: Defined a new structure
391         to hold Gw settings and groupwise backend.
392         * backends/groupwise/e-cal-backend-groupwise-utils.c:
393         (e_cal_backend_groupwise_store_settings): 
394         * backends/groupwise/e-cal-backend-groupwise-utils.h:
395         Pass Gwsettings as an argument.
396
397 2006-09-18  Chenthill Palanisamy  <pchenthill@novell.com>
398
399         * backends/http/e-cal-backend-http.c:
400         (begin_retrieval_cb): Check the right e-source property.
401
402         Committing the patch from Mikael Nilsson <mini@nada.kth.se>.
403
404 2006-09-06  Chenthill Palanisamy  <pchenthill@novell.com>
405
406         Fixes a invalid read.
407         * backends/http/e-cal-backend-http.c: (retrieval_done):
408         clone the icalcomp before setting it in the new ECalComponent.
409         See bug #352596
410
411 2006-08-24  Chenthill Palanisamy  <pchenthill@novell.com>
412
413         Fixes the gslice crash
414         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
415         Do not free the cache_keys.
416
417 2006-08-24  Chenthill Palanisamy  <pchenthill@novell.com>
418
419         * backends/groupwise/e-cal-backend-groupwise.c: 
420         (get_deltas): assign the proper iterator to cache_keys.
421         (cache_init): Need not notify objects added signal
422         for the elements existing in cache.
423
424 2006-08-23  Srinivasa Ragavan  <sragavan@novell.com>
425
426         ** Fix for bug #349847 by Matthew Barnes  
427         
428         * tests/ecal/test-ecal.c: (test_get_object): Initialize gerror to 
429         NULL.
430
431 2006-08-22  Chenthill Palanisamy  <pchenthill@novell.com>
432
433         * backends/http/e-cal-backend-http.c: (begin_retrieval_cb):
434         check if "use_ssl" property is set in e-source.
435
436 2006-08-19  Chenthill Palanisamy  <pchenthill@novell.com>
437
438         Fixes #350887
439         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
440         replaced gslist_delete_link with remove link.
441
442 2006-08-19  Chenthill Palanisamy  <pchenthill@novell.com>
443
444         Fixes #325648
445         * libecal/e-cal-util.c: (e_cal_util_parse_ics_string):
446         Check if the component is a VCALENDAR component before
447         merging the component.
448
449 2006-08-19  Harish Krishnaswamy  <kharish@novell.com>
450
451         * backends/groupwise/e-cal-backend-groupwise-utils.c:
452         (set_default_alarms): Unref GConf client on all exit
453         paths.
454
455 2006-08-17  Kjartan Maraas  <kmaraas@gnome.org>
456
457         * libedata-cal/e-cal-backend-sync.c:
458         (_e_cal_backend_remove_object): Remove an unused variable.
459
460 2006-08-11  Chenthill Palanisamy  <pchenthill@novell.com>
461
462         * backends/groupwise/e-cal-backend-groupwise-utils.c:
463         (set_attendees_to_item): removed the g_message.
464         (e_cal_backend_groupwise_store_settings):unref the source_list.
465
466 2006-08-07  Harish Krishnaswamy  <kharish@novell.com>
467
468         * backends/groupwise/e-cal-backend-groupwise.c: 
469         (get_element_type), (populate_cache), (get_deltas),
470         (cache_init): Add local function to map icalcomponent
471         kind to GW item types. Add type checks to filters 
472         passed to createCursor calls, so that each component
473         fetches items of its own type and none other.
474
475 2006-07-31  Chenthill Palanisamy  <pchenthill@novell.com>
476
477         Fixes #310489
478         * libecal/e-cal.c: (open_calendar): get the uri from
479         ecal object.
480
481 2006-07-31  Chenthill Palanisamy  <pchenthill@novell.com>
482
483         Fixes #345646
484         * gui/dialogs/recurrence-page.c: 
485         (recurrence_page_finalize): Diconnect the signal handler
486         while destroying the page.
487
488 2006-07-29  Chenthill Palanisamy  <pchenthill@novell.com>
489
490         Fixes #338203
491         * libecal/e-cal-time-util.c: 
492         (isodate_from_time_t): We format the time string ourselves
493         without using strftime as its not thread safe.
494
495 2006-07-24  Harish Krishnaswamy  <kharish@novell.com>
496
497         Patch to split the cache into multiple files based
498         on the type of objects it stores. This substantially
499         reduces the primary memory requirements of Evolution
500         and EDS for providers like GW, Exchange that manipulate
501         event/tasks/journals together.
502
503         * backends/caldav/e-cal-backend-caldav.c: (initialize_backend):
504         * backends/groupwise/e-cal-backend-groupwise.c:
505         (connect_to_server), (e_cal_backend_groupwise_open):
506         * backends/http/e-cal-backend-http.c: (e_cal_backend_http_open):
507         * backends/weather/e-cal-backend-weather.c:
508         (e_cal_backend_weather_open):
509         Update e_cal_backend_cache_new calls with an additional source
510         type argument.
511         * libecal/e-cal.[ch]: (e_cal_source_type_enum_get_type):
512         Implement the function.
513         * libedata-cal/e-cal-backend-cache.c:
514         (get_filename_from_uri),
515         (e_cal_backend_cache_set_property),
516         (e_cal_backend_cache_get_property),
517         (e_cal_backend_cache_constructor),
518         (e_cal_backend_cache_class_init), (e_cal_backend_cache_new):
519         Compute the cache destination using the source type.
520         * libedata-cal/e-cal-backend-cache.h: Include header e-cal.h.
521
522 2006-07-22  Harish Krishnaswamy  <kharish@novell.com>
523
524         * backends/groupwise/e-cal-backend-groupwise-utils.c:
525         (set_default_alarms): Refactor code to cut down 
526         comparisons. 
527
528 2006-07-22  Chenthill Palanisamy  <pchenthill@novell.com>
529
530         Fixes #347987
531         * backends/groupwise/e-cal-backend-groupwise.c: 
532         (get_deltas): fall back to right recur_key if the 
533         start date is not returned by the server.
534
535 2006-07-22  Harish Krishnaswamy  <kharish@novell.com>
536
537         * backends/groupwise/e-cal-backend-groupwise-utils.c:
538         (set_default_alarms), (e_gw_item_to_cal_component):
539         * backends/groupwise/e-cal-backend-groupwise-utils.h:
540         Apply default alarm client preference to GW events if
541         the event does not already have one. Fixes Bug 
542         #167330 on bugzilla.novell.com.
543
544 2006-07-22  Chenthill Palanisamy  <pchenthill@novell.com>
545         
546         * libedata-cal/e-cal-backend-sexp.c: (matches_summary): If the query
547         has a empty string, return TRUE.
548         * libedata-cal/e-data-cal.c: (e_data_cal_notify_object_created):
549         If the appointment is sucessfully created and if the *icalboj
550         do not send the objects created signal to the backend as there might
551         be a delay delivery set.
552         * backends/groupwise/e-cal-backend-groupwise-factory.c:
553         (_journal_new_backend), (_journal_get_kind),
554         (journal_backend_factory_class_init),
555         (journal_backend_factory_get_type), (eds_module_initialize),
556         (eds_module_list_types):
557         * backends/groupwise/e-cal-backend-groupwise-utils.c:
558         (set_attendees_to_item), (set_properties_from_cal_component),
559         (e_gw_item_new_from_cal_component), (e_gw_item_to_cal_component),
560         (e_gw_connection_send_appointment),
561         (e_cal_backend_groupwise_store_settings):
562         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
563         (cache_init), (set_container_id_with_count), (connect_to_server),
564         (e_cal_backend_groupwise_internal_get_default_timezone),
565         (e_cal_backend_groupwise_create_object):
566         * libecal/e-cal-recur.c: (e_cal_recur_generate_instances_of_rule):
567         * libedata-cal/e-cal-backend-cache.c:
568         (e_cal_backend_cache_get_components): Added support for Gw notes
569
570 2006-07-10  Chenthill Palanisamy  <pchenthill@novell.com>
571
572         Fixes #332911
573         * backends/caldav/e-cal-backend-caldav.c:
574         (caldav_set_default_zone), (e_cal_backend_caldav_class_init):
575         * backends/contacts/e-cal-backend-contacts.c:
576         (e_cal_backend_contacts_open),
577         (e_cal_backend_contacts_set_default_zone),
578         (e_cal_backend_contacts_finalize),
579         (e_cal_backend_contacts_class_init):
580         * backends/file/e-cal-backend-file.c:
581         (e_cal_backend_file_finalize), (e_cal_backend_file_open),
582         (e_cal_backend_file_set_default_zone),
583         (e_cal_backend_file_class_init):
584         * backends/groupwise/e-cal-backend-groupwise.c:
585         (connect_to_server), (e_cal_backend_groupwise_finalize),
586         (e_cal_backend_groupwise_open),
587         (e_cal_backend_groupwise_set_default_zone),
588         (e_cal_backend_groupwise_class_init):
589         * backends/http/e-cal-backend-http.c:
590         (e_cal_backend_http_finalize), (e_cal_backend_http_open),
591         (e_cal_backend_http_set_default_zone),
592         (e_cal_backend_http_class_init):
593         * backends/weather/e-cal-backend-weather.c:
594         (e_cal_backend_weather_open),
595         (e_cal_backend_weather_set_default_zone),
596         (e_cal_backend_weather_finalize),
597         (e_cal_backend_weather_class_init):
598         * idl/Evolution-DataServer-Calendar.idl:
599         * libedata-cal/e-cal-backend-sync.c:
600         (e_cal_backend_sync_set_default_zone),
601         (_e_cal_backend_set_default_zone), (e_cal_backend_sync_class_init):
602         * libedata-cal/e-cal-backend-sync.h:
603         * libedata-cal/e-cal-backend.c: (e_cal_backend_set_default_zone):
604         * libedata-cal/e-cal-backend.h:
605         * libedata-cal/e-data-cal.c: (impl_Cal_setDefaultTimezone): Added
606         e_cal_backend_set_zone as a replacement for e_cal_backend_set_timezone.
607         Replaced the same for all backends.     
608         * backends/e-cal-backend-groupwise-utils.c (set_properties_from_cal_component):
609         check if the dtstart is date using the is_date parameter.
610         * libecal/e-cal.c: (e_cal_set_default_timezone): Pass the timezone object
611         as a string instead of the tzid.
612
613 2006-07-10  Harish Krishnaswamy  <kharish@novell.com>
614
615         * libedata-cal/e-cal-backend-cache.c:
616         (e_cal_backend_cache_get_components),
617         (e_cal_backend_cache_get_components_by_uid):
618         Prefer g_(s)list_prepend to g_(s)list_append.
619
620 2006-07-03  Harish Krishnaswamy  <kharish@novell.com>
621
622         * libical/src/libical/icalvalue.c
623         (icalvalue_decode_ical_string): If the string decoded has
624         no special characters, the length of computed string is equal
625         to the buffer length allocated. Hence, do not flag error on
626         equality .
627
628 2006-06-21  Harish Krishnaswamy  <kharish@novell.com>
629
630         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache):
631         Set appropriate cursor/seek direction for each of the
632         pre-population calls.
633
634 2006-06-19  Harish Krishnaswamy  <kharish@novell.com>
635
636         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache):
637         reset 'done' flag for each iteration of cursor reads.
638
639 2006-06-16  Tor Lillqvist  <tml@novell.com>
640
641         * backends/groupwise/e-cal-backend-groupwise.c: Add gmtime_r()
642         macro implementation for Win32.
643
644 2006-06-15  Andre Klapper  <a9016009@gmx.de>
645
646         * libecal/e-cal.c: 
647         * libecal/e-cal.c: 
648         changing "cancelled" to "canceled" in user-visible strings.
649         Fixes bug #342163.
650
651 2006-06-15  Harish Krishnaswamy  <kharish@novell.com>
652
653         * libecal/e-cal-component.c: (get_attachment_list),
654         (set_attachment_list): Handle attachment URLs with
655         special characters that are not permitted in
656         ICAL. Fixes #178706 in bugzilla.novell.com.
657         
658 2006-06-15  Wang Xin  <jedy.wang@sun.com>
659
660         Fixes #344253
661
662         * backends/file/e-cal-backend-file.c:
663         (e_cal_backend_file_compute_changes_foreach_key): Free comp.
664         * backends/groupwise/e-cal-backend-groupwise.c:
665         (e_cal_backend_groupwise_compute_changes_foreach_key): Free comp.
666
667 2006-06-13  Andre Klapper <a9016009@gmx.de>
668
669         * backends/file/e-cal-backend-file.c:
670         changing "couldn't", "can't" and "didn't" to proper
671         English. Fixes bug #342160.
672
673 2006-06-13  Chenthill Palanisamy  <pchenthill@novell.com>
674
675         Fixes #335069
676         * backends/caldav/e-cal-backend-caldav.c: 
677         (caldav_remove): Return success if the cache
678         is not loaded.
679
680 2006-06-12  Harish Krishnaswamy  <kharish@novell.com>
681
682         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
683         (get_deltas): Fetch calendar data with a bias towards present, 
684         near past and near future. Fixes bug#.
685         Also, prefer gmtime_r to gmtime.
686
687 2006-06-12  Ross Burton  <ross@openedhand.com>
688
689         * backends/contacts/Makefile.am:
690         * backends/file/Makefile.am:
691         * backends/weather/Makefile.am:
692         Don't statically link a 200K library into each backend, when it's
693         already in libecal.
694
695 2006-05-25  Wang Xin  <jedy.wang@sun.com>
696
697         Fixes #342102
698
699         * libedata-cal/e-cal-backend-sync.c:
700         (_e_cal_backend_modify_object): Free old_object and new_object.
701         (_e_cal_backend_remove_object): Free old_object.
702
703 2006-05-07  Kjartan Maraas  <kmaraas@gnome.org>
704
705         * backends/caldav/e-cal-backend-caldav.c: (process_object):
706         Fix typos. We were copying the wrong variable in a couple of
707         places. In plain english: Use the right etag on invitation updates. 
708
709 2006-04-22  Harish Krishnaswamy  <kharish@novell.com>
710
711         * backends/groupwise/e-cal-backend-groupwise.c:
712         (e_cal_backend_groupwise_modify_object): Send item_id
713         with recurence key while delegating multiple instances.
714         Fixes #165714 (bugzilla.novell.com)
715
716 2006-04-10  Tor Lillqvist  <tml@novell.com>
717
718         * libecal/e-cal-time-util.c: #define gmtime_r on Win32.
719
720 2006-04-06  Chenthill Palanisamy  <pchenthill@novell.com>
721
722         Fixes #162005
723         * backends/groupwise/e-cal-backend-groupwise.c:
724         (e_cal_backend_groupwise_modify_object): pass the 
725         rid while getting the component.
726         (e_cal_backend_groupwise_remove_object): Compare only
727         if the rid is present.
728                 
729 2006-04-05  Irene Huang <Irene.Huang@sun.com>
730
731         Fixes bug 335225
732
733         * backends/contacts/e-cal-backend-contacts.c:
734         (e_cal_backend_contacts_create_object),
735         (e_cal_backend_contacts_class_init): 
736         Add implementation of e_cal_backend_contacts_create_object.
737
738 2006-04-03  Chenthill Palanisamy  <pchenthill@novell.com>
739
740         Fixes #158107
741         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas),
742         (e_cal_backend_groupwise_internal_get_timezone),
743         (get_retract_data), (e_cal_backend_groupwise_modify_object),
744         (send_object), (e_cal_backend_groupwise_send_objects): Added the 
745         retract support.
746
747 2006-03-28  Chenthill Palanisamy  <pchenthill@novell.com>
748
749         Fixes #336086
750         * libical/src/libical/icaltime.c: (set_tz), (unset_tz),
751         (icaltime_as_timet_with_zone): Use a lock setting the 
752         tz enviromental variables.
753
754 2006-03-23  Chenthill Palanisamy  <pchenthill@novell.com>
755
756         Fixes #331146
757         * backends/file/e-cal-backend-file.c:
758         (check_dup_uid), (add_component): Check if the 
759         component has a uid before try to search it in the 
760         cache.
761
762 2006-03-23  Chenthill Palanisamy  <pchenthill@novell.com>
763
764         Fixes #323275
765         * libedata-cal/e-cal-backend-cache.c:
766         (e_cal_backend_cache_constructor): Register only
767         if the type is not register before.
768
769 2006-03-23  Chenthill Palanisamy  <pchenthill@novell.com>
770
771         Fixes #334065
772         * libecal/e-cal-time-util.c: (isodate_from_time_t):
773         * libical/src/libical/icaltime.c: (icaltime_from_timet_with_zone),
774         (icaltime_as_timet_with_zone): Make mktime and gmtime thread safe.
775
776 2006-03-22  Chenthill Palanisamy  <pchenthill@novell.com>
777
778         Fixes #334000
779         * libedata-cal/e-cal-backend.c:
780         (e_cal_backend_notify_object_removed): Check if
781         the query matches.
782
783 2006-03-04  Chenthill Palanisamy  <pchenthill@novell.com>
784
785         Fixes #330974
786         * libecal/e-cal.c: 
787         (build_pass_key): Get the uri from ECal, which is more
788         reliable.
789         (open_calendar): Pass ECal to build_pass_key.
790                          
791 2006-03-01  Chenthill Palanisamy  <pchenthill@novell.com>
792
793         * libedata-cal/e-cal-backend-sync.c:
794         (_e_cal_backend_remove_object): Do not get the object
795         backend again. Use the provided new and old object.
796         * libedata-cal/e-cal-backend.c:
797         (e_cal_backend_notify_object_removed): Need not check
798         if the query matches for removing an item.
799
800 2006-03-02  Jeff Cai  <Jeff.Cai@Sun.Com>
801
802         Fixes #332276
803         * backends/weather/e-weather-source-ccf.c:
804         (e_weather_source_ccf_parse):
805         Support getting weather data through global http proxy.
806
807 2006-02-28  Chenthill Palanisamy  <pchenthill@novell.com>
808
809         Fixes #332726
810         * backends/file/e-cal-backend-file.c:
811         (e_cal_backend_file_modify_object): Initialize and assign
812         the recurrence id properly. Set the date and times of the 
813         master object depending on what has changed.
814
815 2006-02-20  Harish Krishnaswamy  <kharish@novell.com>
816
817         * backends/caldav/Makefile.am: Add soup_flags to la.
818
819 2006-02-14  Chenthill Palanisamy  <pchenthill@novell.com>
820
821         Fixes #331127
822         * backends/weather/e-cal-backend-weather.c:
823         (e_cal_backend_weather_get_object): Use g_object_unref
824         instead of g_free while disposing a ECalComponent.
825
826 2006-02-13  Chenthill Palanisamy  <pchenthill@novell.com>
827
828         Fixes #329866
829         * libecal/e-cal.c: (process_detached_instances): Check if we have
830         valid recurrence id before comparing.
831
832 2006-02-12  Chenthill Palanisamy  <pchenthill@novell.com>
833
834         Fixes #329566, #329568
835         * backends/file/e-cal-backend-file.c:
836         (e_cal_backend_file_modify_object): Reset the instance dates of the 
837         master object if its a recurring event.
838         (remove_instance): Removed the return statement so that the exception is
839         set in the master object.
840
841 2006-02-09  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
842
843         * backends/contacts/e-cal-backend-contacts.c: (contact_record_free)
844         Corrected id. Fixes #326428
845
846 2006-02-09  Harish Krishnaswamy  <kharish@novell.com>
847
848         * backends/caldav/e-cal-backend-caldav.c: (synchronize_cache):
849         return ECalComponentId instead of id during a remove notify
850         as per the changed semantics in ecal.
851
852 2006-01-23  Veerapuram Varadhan <vvaradhan@novell.com>
853  
854         ** Fixes #327427
855         * libedata-cal/e-data-cal-factory.c: (impl_CalFactory_getCal): Do
856         not ref a NULL object.
857         
858 2006-01-23  Chenthill Palanisamy  <pchenthill@novell.com>
859
860         Fixes #305656
861         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
862         Remove the deleted items from the server.
863
864 2006-01-23  Harish Krishnaswamy  <kharish@novell.com>
865
866         * backends/caldav/e-cal-backend-caldav.c:
867         (caldav_server_open_calendar), (caldav_server_list_objects),
868         (caldav_server_get_object), (caldav_server_put_object),
869         (caldav_server_delete_object): Add debug hooks to each of
870         the messages and remove some bad ones.
871         
872 2006-01-22  Harish Krishnaswamy  <kharish@novell.com>
873
874         * backends/caldav/e-cal-backend-caldav.c (print_header),
875         (debug_handler), (setup_debug), (caldav_server_open_calendar),
876         (caldav_server_list_objects): Add debug helper functions to
877         caldav backend.
878
879 2006-01-19  Chenthill Palanisamy  <pchenthill@novell.com>
880
881         Fixes #322951
882         * libedata-cal/e-cal-backend-cache.c:
883         (e_cal_backend_cache_get_type): Put a mutex lock
884         so that the Type value does not get reset.
885
886 2006-01-17  Harish Krishnaswamy  <kharish@novell.com>
887
888         * backends/caldav/Makefile.am: make distcheck
889         fixes.
890
891 2006-01-16  Harish Krishnaswamy <kharish@novell.com>
892
893         * backends/Makefile.am : Add caldav subdir.
894
895 2006-01-16  Harish Krishnaswamy <kharish@novell.com>
896
897         * backends/caldav/* : 'Import' the CalDAV back-end 
898         implementation into evolution-data-server. Please
899         refer evolution-caldav module in cvs.gnome.org for
900         prior Change history.
901         
902 2006-01-16  Tony Tsui <tsui.tony@gmail.com>
903
904         Fixes #267402
905         * backends/http/e-cal-backend-http.c: (webcal_to_http_method,
906         retrieval_done, begin_retrieval_cb): Add support for webcal access
907         via https.
908
909 2006-01-12  Harish Krishnaswamy  <kharish@novell.com>
910
911         * libecal/e-cal.c: (get_factories):
912         The Cal Factory oafid should reflect
913         the API version rather than the BASE version.
914         Fixes #323115.
915
916 2006-01-10  Simon Zheng  <simon.zheng@sun.com>
917
918         * backends/file/e-cal-backend-file.c:
919         * backends/weather/e-weather-source-ccf.c:
920         * libecal/e-cal-util.c:
921         * libedata-cal/e-cal-backend-sexp.c:
922         As file e-util.h is renamed, replace "libedataserver/e-util.h"
923         as "libedataserver/e-data-server-util.h".
924
925 2006-01-10  Chenthill Palanisamy  <pchenthill@novell.com>
926
927
928         Fixes #324518
929         * backends/http/e-cal-backend-http.c:
930         (notify_and_remove_from_cache): Remove the items from the cache.
931
932 2006-01-06  Chenthill Palanisamy  <pchenthill@novell.com>
933
934         Fixes #324741
935         * backends/http/e-cal-backend-http.c: (e_cal_backend_http_open):
936         Check if the default zone is present before adding it.
937
938 2006-01-05  Kjartan Maraas  <kmaraas@gnome.org>
939
940         * backends/http/e-cal-backend-http.c:
941         (notify_and_remove_from_cache): Use g_return_val_if_fail()
942         in a non-void function not g_return_if_fail()
943         * libecal/e-cal-component.c: (e_cal_component_get_id):
944         Same as above.
945         * libecal/e-cal-view-listener.c: (build_id_list): Fix
946         type in function parameter.
947         * tests/ecal/test-ecal.c: (all_tests): #if 0 out some
948         unused stuff.
949         * tests/ecal/test-recur.c: (main): Remove unused vars.
950
951 2006-01-04  Tor Lillqvist  <tml@novell.com>
952
953         * backends/weather/e-weather-source-ccf.c (find_station_url):
954         Modify call to e_util_replace_prefix() according to its changed
955         interface.
956
957         * backends/weather/Makefile.am: Need to pass E_DATA_SERVER_PREFIX
958         because of the above.
959
960 2006-01-02  Chenthill Palanisamy  <pchenthill@novell.com>
961
962         Fixes #325498
963         * backends/http/e-cal-backend-http.c:
964         (e_cal_backend_http_finalize): Remove the source
965         from the timeout loop. 
966
967 2005-12-21  Chenthill Palanisamy  <pchenthill@novell.com>
968
969         Fixes #305006
970         * backends/file/e-cal-backend-file.c:
971         (e_cal_backend_file_receive_objects): If the UID is not present
972         generate own uid and if the method is publish.
973
974 2005-12-16  Chenthill Palanisamy  <pchenthill@novell.com>
975
976         Fixes #267330
977         * libecal/e-cal-component.c: (e_cal_component_get_dtend),
978         (e_cal_component_get_dtstart), (e_cal_component_get_due): Initialize
979         internal elements of the datetime to avoid crashing.
980
981 2005-12-15  Chenthill Palanisamy  <pchenthill@novell.com>
982
983         Fixes #324009
984         * backends/http/e-cal-backend-http.c:
985         (e_cal_backend_http_get_object): Use g_object_unref
986         to free the component instead of g_free.
987
988 2005-12-13  Tor Lillqvist  <tml@novell.com>
989
990         * libecal/Makefile.am (INCLUDES): Drop unused EVOLUTION_LOCALEDIR.
991
992 2005-12-11  Tor Lillqvist  <tml@novell.com>
993
994         * libecal/e-cal.c (set_local_attachment_store,
995         e_cal_new_system_calendar, e_cal_new_system_tasks,
996         e_cal_new_system_memos): Use g_build_filename() and
997         g_filename_to_uri().
998
999 2005-12-09  Tor Lillqvist  <tml@novell.com>
1000
1001         * backends/groupwise/e-cal-backend-groupwise-utils.c: Use gstdio
1002         wrappers. Use g_filename_from_uri() and g_file_get_contents().
1003
1004         * backends/weather/e-weather-source-ccf.c: Add localtime_r() and
1005         strtok_r() implementations for Win32.
1006         (find_station_url): Run-time lookup of the Locations.xml file on
1007         Win32. Use e_xml_parse_file.
1008         (tokenize): Remove unnecessary buffer allocation.
1009
1010         * libecal/e-cal-util.c: Open file in binary mode. Compare
1011         localized strings using e_util_utf8_strcasecmp() instead of
1012         g_strcasecmp().
1013
1014 2005-12-08  Tor Lillqvist  <tml@novell.com>
1015
1016         * backends/file/e-cal-backend-file.c
1017         * backends/groupwise/e-cal-backend-groupwise.c: Use gstdio
1018         wrappers for full non-ASCII filename support on Windows. Use
1019         g_path_get_basename() instead of looking for '/'. Use
1020         g_filename_to_uri() instead of prefixing "file://". Use
1021         g_file_get_contents() or GMappedFile (if built against GLib >=
1022         2.8) to read the attachment files.
1023
1024 2005-11-28  Chenthill Palanisamy  <pchenthill@novell.com>
1025
1026         Fixes #317322
1027         * backends/file/e-cal-backend-file.c:
1028         (get_object_string_from_fileobject),
1029         (e_cal_backend_file_remove_object): Handle the case
1030         of deleting a recurring event with no master object.
1031
1032 2005-11-28  Chenthill Palanisamy  <pchenthill@novell.com>
1033
1034         Fixes #318777
1035         * backends/file/e-cal-backend-file.c:
1036         (e_cal_backend_file_modify_object): Dont set the recurrence id
1037         again if its already present. Don't emit unnecessary modified
1038         signals.
1039
1040 2005-10-27  Chenthill Palanisamy  <pchenthill@novell.com>
1041
1042         Reworked the patch from Matthew Daniel <bugzilla@mdaniel.scdi.com>
1043
1044         Fixes #318130
1045         * backends/http/e-cal-backend-http.c: Include
1046         the file e-cal-time-util.h 
1047
1048 2005-10-26  Chenthill Palanisamy  <pchenthill@novell.com>
1049
1050         * backends/file/e-cal-backend-file.c:
1051         (e_cal_backend_file_set_default_timezone): Removed
1052         the assertion statement to check if the icalcomp is 
1053         present. Its not needed as set_default_zone is called
1054         before loading now.
1055
1056 2005-10-24  Chenthill Palanisamy  <pchenthill@novell.com>
1057
1058         Fixes #308802
1059         * backends/contacts/e-cal-backend-contacts.c:
1060         (e_cal_backend_contacts_open):
1061         * backends/file/e-cal-backend-file.c: (e_cal_backend_file_open),
1062         (e_cal_backend_file_set_default_timezone):
1063         * backends/groupwise/e-cal-backend-groupwise.c:
1064         (connect_to_server), (e_cal_backend_groupwise_open),
1065         (e_cal_backend_groupwise_set_default_timezone):
1066         * backends/http/e-cal-backend-http.c: (e_cal_backend_http_open),
1067         (e_cal_backend_http_set_default_timezone):
1068         * backends/weather/e-cal-backend-weather.c:
1069         (e_cal_backend_weather_open): Default timezone is set before
1070         the loading the calendar, so put in the cache once the calendar is 
1071         loaded.
1072         * libecal/e-cal.c: (e_cal_set_default_timezone): Ensuring if the default 
1073         timezone is present in the server is not needed now.
1074
1075 2005-10-19  Harish Krishnaswamy <kharish@novell.com>
1076         
1077         Committing for Nathan Owens <pianocomp81@yahoo.com>
1078         
1079         * libecal/e-cal.c: (e_cal_new_system_memos): added backend
1080         support for Memos component. Finished implement VJOURNAL support
1081         * libecal/e-cal.h: (e_cal_new_system_memos): added prototype
1082         * tests/ecal/test-ecal.c: (test_new_system_memos): added memos test
1083
1084 2005-10-10  Chenthill Palanisamy  <pchenthill@novell.com>
1085
1086         Fixes #266144
1087         * backends/contacts/e-cal-backend-contacts.c:
1088         (contact_record_free): 
1089         * backends/http/e-cal-backend-http.c:
1090         (notify_and_remove_from_cache):
1091         * backends/weather/e-cal-backend-weather.c:
1092         (finished_retrieval_cb):
1093         * backends/file/e-cal-backend-file.c: (notify_removals_cb),
1094         (e_cal_backend_file_receive_objects): Use ECalComponentId.
1095         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]:
1096         (e_gw_item_to_cal_component): Store the recurrence id in
1097         utc.
1098         (e_gw_connection_send_appointment): Get the component while
1099         accepting/declining from mail component and pass all_instances
1100         and get the partstat.
1101         the 
1102         * backends/groupwise/e-cal-backend-groupwise.c:
1103         (e_cal_backend_groupwise_remove_object), (change_status),
1104         (receive_object): Change the status of all recurring appointments
1105         if all_instances is set true.
1106         * idl/Evolution-DataServer-Calendar.idl: Added a structure
1107         to hold the recurrence id and uid to notify the component
1108         removed.
1109         * libecal/e-cal-component.c: (e_cal_component_get_id),
1110         (e_cal_component_free_id): Added new API's for getting
1111         the recurrence id and uid of a component.
1112         * libecal/e-cal-component.h: Added a structure of holding
1113         both the recurrence id and the uid.
1114         * libecal/e-cal-view-listener.c: (build_id_list),
1115         (impl_notifyObjectsRemoved):
1116         * libecal/e-cal-view.c: (objects_removed_cb):
1117         * libedata-cal/e-cal-backend-sync.c:
1118         (_e_cal_backend_remove_object):
1119         * libedata-cal/e-cal-backend.c: (match_query_and_notify),
1120         (e_cal_backend_notify_object_removed):
1121         * libedata-cal/e-cal-backend.h:
1122         * libedata-cal/e-data-cal-view.c: (uncache_with_id_cb),
1123         (remove_object_from_cache):
1124         (e_data_cal_view_notify_objects_removed),
1125         (e_data_cal_view_notify_objects_removed_1):
1126         * libedata-cal/e-data-cal-view.h:
1127         * libedata-cal/e-data-cal.c: (e_data_cal_notify_object_removed):
1128         * libedata-cal/e-data-cal.h: Changed the API's to use the 
1129         ECalComponentId structure instead of uid.
1130         
1131 2005-10-07  Arunprakash  <arunp@novell.com>
1132
1133         * libedata-cal/e-data-cal-factory.c (backend_last_client_gone_cb) :
1134         Use the same key for insertion and lookup in the backends hash table.
1135         (impl_CalFactory_getCal ): Same.
1136         ** Fixes #317897.
1137         
1138 2005-10-04  Dinesh Layek  <ldinesh@novell.com>
1139
1140         Fixes #120071 
1141         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1142         (e_gw_item_to_cal_component): Added a null check for
1143         the acceptlevel.
1144
1145 2005-10-01  Chenthill Palanisamy  <pchenthill@novell.com>
1146
1147         Fixes #314925
1148         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1149         (get_attendee_prop), (set_attendees_to_item): Get the 
1150         delegated attendee and remove the delfrom parameter.
1151
1152 2005-10-01  Harry Lu <harry.lu@sun.com>
1153
1154         * libecal/e-cal.c: (generate_instances): use the same logic as in
1155         e_cal_recur_generate_instances_of_rule() to get the instance's
1156         start and end time.
1157
1158 2005-09-13  dinesh layek  <ldinesh@novell.com>
1159
1160         fixes #316195
1161         * backends/http/e-cal-backend-http.c: (e_cal_backend_http_get_free_busy),
1162         (create_user_free_busy), (free_busy_instance), (resolve_tzid): modified/added these
1163         functions for publishing freebusy information of a web-calendar.
1164
1165 2005-09-22  Dinesh Layek  <ldinesh@novell.com>
1166
1167         Fixes #309679
1168         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1169         (e_gw_item_to_cal_component): Check accept_level
1170
1171 2005-09-27  Sarfraaz Ahmed <asarfraaz@novell.com>
1172
1173         * libecal/e-cal.c (build_pass_key) : Do not recreate the uri. Instead
1174         strip the uri part after a ';'. The backend can now set its uri
1175         accordingly to have a consistent password key across multiple calendars
1176         * libedata-cal/e-data-cal-factory.c (impl_CalFactory_getCal) : Use the
1177         esource uri instead of the euri string to identify the calendar.
1178         Fixes #314746
1179
1180 2005-09-26  Wang Xin  <jedy.wang@sun.com>
1181
1182         Fixes #317226
1183
1184         * libecal/e-cal.c: (generate_instances): For all day events,
1185         set the timezone of start time and end time to default zone,
1186         in case that it is NULL.
1187
1188 2005-09-12  Chenthill Palanisamy  <pchenthill@novell.com>
1189
1190         Fixes #116162
1191         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1192         (e_gw_connection_send_appointment): Check status in getItemsRequest.
1193         * backends/groupwise/e-cal-backend-groupwise.c: 
1194         (receive_object): Assign the modif_comp to comp only if the getItemsRequest
1195         fails.
1196
1197 2005-09-15  Tor Lillqvist  <tml@novell.com>
1198
1199         * backends/groupwise/e-cal-backend-groupwise-utils.c
1200         (e_gw_connection_send_appointment): Use g_ascii_strncasecmp()
1201         instead of strncasecmp() for well-definedness.
1202
1203 2005-09-01  Chenthill Palanisamy  <pchenthill@novell.com>
1204
1205         Fixes #114384
1206         * backends/groupwise/e-cal-backend-groupwise.c: (compare_prefix),
1207         (get_deltas): Do not get form the calendar events for recurring
1208         appointments, just compare the prefix of the cache key to identify
1209         the presence of the item.
1210
1211 2005-08-25  Chenthill Palanisamy  <pchenthill@novell.com>
1212
1213         Fixes #312853
1214         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1215         (e_gw_item_to_cal_component): Intialize the tzid for
1216         all day events.
1217
1218 2005-08-22  Not Zed  <NotZed@Ximian.com>
1219
1220         * backends/weather/e-weather-source.c (e_weather_source_new):
1221         constify base.  Include missing string.h.
1222
1223         * backends/weather/e-cal-backend-weather.c
1224         (e_cal_backend_weather_open): constify uri.
1225
1226         * backends/contacts/e-cal-backend-contacts.c
1227         (contacts_changed_cb): constify uid.
1228
1229         * backends/http/e-cal-backend-http.c
1230         (e_cal_backend_http_get_timezone): constify zone.
1231
1232         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
1233         remove unused.
1234         (set_container_id_with_count): fix this logic so it doesn't use an
1235         unset container pointer.
1236         (connect_to_server): remove unused.
1237         (e_cal_backend_groupwise_get_static_capabilities): remove all the
1238         unecessary backslashes.
1239
1240         * backends/file/e-cal-backend-file.c
1241         (e_cal_backend_file_modify_object)
1242         (remove_instance, e_cal_backend_file_remove_object): cast away
1243         warnings.
1244         (e_cal_backend_file_modify_object): fix function signature.  no
1245         idea what new_object should be set to.
1246
1247         * libedata-cal/e-cal-backend-cache.c
1248         (e_cal_backend_cache_put_timezone): Cast away warnings.
1249
1250         * libecal/e-cal-component.c (ensure_alarm_properties_cb): pass a
1251         string to icalproperty_set_description.  Not sure if it's the
1252         right one.
1253         (get_attachment_list): use const char * for data.
1254         (set_alarm_description_cb): use const for old_summary.
1255         (SetAlarmDescriptionData): constify strings.
1256
1257         * libecal/e-cal.c (open_calendar): make parent_user const & remove
1258         unused.
1259         (e_cal_get_objects_for_uid): init kind_to_find always.
1260
1261 2005-08-23  Veerapuram Varadhan  <vvaradhan@novell.com>
1262
1263         Fixes #310461 (part of it)
1264         * libecal/e-cal-component.c (set_attachment_list):
1265         Do not call icalattach_unref after icalproperty_free, as the later
1266         ends up executing the former and thus we can avoid double
1267         unreffing.
1268
1269 2005-08-22  Sarfraaz Ahmed <asarfraaz@novell.com>
1270
1271         * libecal/e-cal.c (build_pass_key) : Builds the password key. Added new
1272         (get_host_from_uri) : Fetches the hostname from the esource. 
1273
1274 2005-08-21  Chenthill Palanisamy  <pchenthill@novell.com>
1275
1276         Fixes #271969
1277         * backends/file/e-cal-backend-file.c:
1278         (e_cal_backend_file_compute_changes):
1279         (e_cal_backend_file_compute_changes_foreach_key): Return
1280         boolean value as it as hash func.
1281         Committing for Armin Bauer  <armin.bauer@desscon.com>
1282         and modified by <jmubeen@novell.com> and
1283         <vvaradhan@novell.com>.
1284
1285 2005-08-17  Carsten Guenther <carsten.guenther@scalix.com>
1286
1287         Fixes http://bugzilla.gnome.org/show_bug.cgi?id=313657
1288         * libecal/e-cal-recur.c:
1289         (cal_obj_remove_duplicates_and_invalid_dates,
1290         cal_obj_bymonthday_expand):
1291         If a occurrence falls on a day that does not exist for that
1292         month then move it to the last day of the month instead of
1293         skipping it.
1294
1295 2005-08-17  Chenthill Palanisamy  <pchenthill@novell.com>
1296         
1297         Fixes #311831
1298         * libecal/e-cal.c (cal_read_only_cb): Check if
1299        the op->bool is TRUE before emiting the cond
1300        signal.
1301        (get_read_only): set the op->bool to true while
1302        making the request.
1303
1304 2005-08-17  Chenthill Palanisamy  <pchenthill@novell.com>
1305
1306         Fixes #312578
1307         * backends/groupwise/e-cal-backend-groupwise.c:
1308         (e_cal_backend_groupwise_modify_object): Check the mod
1309         type and send the appropriate parameters for delegate
1310         request.
1311
1312 2005-08-12  P. S. Chakravarthi  <pchakravarthi@novell.com>
1313
1314         Fixes #311078
1315         * backends/groupwise/e-cal-backend-groupwise.c:
1316         (populate_cache): percent is not allowed to go beyond 100
1317
1318 2005-08-11  Tor Lillqvist  <tml@novell.com>
1319
1320         * backends/contacts/Makefile.am
1321         * backends/file/Makefile.am
1322         * backends/groupwise/Makefile.am
1323         * backends/http/Makefile.am
1324         * backends/weather/Makefile.am
1325         * libecal/Makefile.am
1326         * libedata-cal/Makefile.am: Link with all used libraries. Use
1327         -no-undefined on Win32.
1328
1329         * backends/contacts/e-cal-backend-contacts-factory.c
1330         * backends/file/e-cal-backend-file-factory.c
1331         * backends/groupwise/e-cal-backend-groupwise-factory.c
1332         * backends/http/e-cal-backend-http-factory.c
1333         * backends/weather/e-cal-backend-weather-factory.c
1334         * libedata-cal/e-cal-backend-factory.c: : Drop inclusion of
1335         <pthread.h>, these files do not use any pthread API.
1336
1337         * libecal/e-cal-component.c: No getgid() or getppid() on
1338         Win32, #define as 0.
1339         (e_cal_component_gen_uid): Use g_get_host_name() on Win32.
1340
1341         * libecal/e-cal-recur.h (e_cal_recur_nth): Importing variables
1342         from DLLs can be a bit problematic, so use a functional API
1343         instead on Win32.
1344
1345         * libecal/e-cal-recur.c (e_cal_get_recur_nth): Win32-only function
1346         that returns a pointer to the e_cal_recur_nth array.
1347
1348 2005-08-06  P. S. Chakravarthi  <pchakravarthi@novell.com>
1349
1350         Fixes #309499
1351         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1352         (set_attendees_to_item): Reset the 'delfrom' parameter to 
1353         empty string and set the attendee_list back to the ECalComponent
1354         so that recipient list is build, containing current invitees 
1355         only.  
1356
1357
1358 2005-08-04  Chenthill Palanisamy  <pchenthill@novell.com>
1359
1360         Fixes #305590
1361         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1362         (e_gw_connection_get_freebusy_info): Get the FreeBusyStatus
1363         element from the response before getting the FreeBusyInfo.
1364
1365 2005-08-02  Chenthill Palanisamy  <pchenthill@novell.com>
1366
1367         Fixes #310328
1368         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1369         (e_gw_item_to_cal_component): Assign the date value alone
1370         for start and end date if its an allday event.
1371
1372 2005-07-27  Mengjie Yu  <meng-jie.yu@sun.com>
1373
1374         * backends/file/e-cal-backend-file-events.c:
1375         Add reserved field for an empty structure.
1376         * backends/file/e-cal-backend-file-journal.c:
1377         Add reserved field for an empty structure.
1378         * backends/file/e-cal-backend-file-todos.c:
1379         Add reserved field for an empty structure.
1380         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1381         (e_gw_item_to_cal_component):
1382         Convert a structure to the same type will fail under sun's compiler.
1383         * backends/weather/e-weather-source.c: (e_weather_source_parse):
1384         void function should not return value.
1385
1386         Fixes #310198
1387
1388 2005-07-25  Chenthill Palanisamy  <pchenthill@novell.com>
1389
1390         Fixes #271837
1391         * libecal/e-cal.c: 
1392         (e_cal_get_object): Fix for build break in sun
1393         compiler.
1394         Committing for bugzilla-novell@thewrittenword.com.
1395
1396 2005-07-25  Chenthill Palanisamy  <pchenthill@novell.com>
1397
1398         Fixes #303548
1399         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
1400         (get_deltas): Removed the getItems call for getting the new items,
1401         instead check for new items with all ids returned in read cursors
1402         request.
1403
1404 2005-07-23  Chenthill Palanisamy  <pchenthill@novell.com>
1405
1406         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1407         (e_gw_connection_send_appointment): Check if the container id
1408         is present in the item id before appending it.
1409
1410 2005-07-21  Chenthill Palanisamy  <pchenthill@novell.com>
1411
1412         * backends/groupwise/e-cal-backend-groupwise.c:
1413         (e_cal_backend_groupwise_get_static_capabilities):
1414         * libecal/e-cal-util.h: Added a new static capability
1415         CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING to identify
1416         the backends which allow unaccepted meetings to appear in
1417         calendar.
1418
1419 2005-07-19  Chenthill Palanisamy  <pchenthill@novell.com>
1420
1421         Fixes #310767
1422         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1423         (e_gw_connection_send_appointment): Set the item_id for
1424         single instance also. Fixed typo error in X-GW-RECUR-INSTANCES-MOD-TYPE
1425         * backends/groupwise/e-cal-backend-groupwise.c:
1426         (e_cal_backend_groupwise_remove_object): Pass the recurrence
1427         key while accepting/declining all instances of a recurring
1428         appointment.
1429
1430 2005-07-13  Chenthill Palanisamy  <pchenthill@novell.com>
1431
1432         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
1433         (e_cal_backend_groupwise_create_object): Added "peek" in the view 
1434         while getting the items back from the server.
1435         (e_cal_backend_groupwise_remove_object): Intialize the list item_ids 
1436         to NULL.
1437
1438 2005-07-11  Chenthill Palanisamy  <pchenthill@novell.com>
1439
1440         * backends/groupwise/e-cal-backend-groupwise.c:
1441         (e_cal_backend_groupwise_set_mode): Notify read_only to client(s).
1442         * libecal/e-cal.c (cal_read_only_cb),(open_calendar), 
1443         (e_cal_is_read_only), (get_read_only): Get the read only state
1444        from the backend only while opening the calendar. The backend would
1445        notify us if the state changes.
1446         (e_cal_get_cal_address), (cal_cal_address_cb): Get the cal_address
1447         only once from the backend.
1448         * libedata-cal/e-cal-backend.[ch]: (e_cal_backend_notify_readonly),
1449         (e_cal_backend_notify_cal_address): Methods to notify the changes
1450         in the backend.
1451         
1452         Commiting for viren.l <viren@novell.com>
1453
1454 2005-07-11  Chenthill Palanisamy  <pchenthill@novell.com>
1455
1456         * idl/Evolution-DataServer-Calendar.idl: Interface for sending a request
1457         for an attachment and notifying the attachment list.
1458         * libecal/e-cal-listener.[ch]: (impl_notifyAttachmentListRequested),
1459         (e_cal_listener_class_init): listens to the backend and Notifies the client.
1460         * libecal/e-cal.[ch]: (cal_attachment_list_cb), (e_cal_init),
1461         (e_cal_get_attachments_for_comp): API to retrieve the attachment
1462         list for a calendar item.
1463         * libedata-cal/e-cal-backend-sync.[ch]:
1464         (e_cal_backend_sync_get_attachment_list),
1465         (_e_cal_backend_get_attachment_list),
1466         (e_cal_backend_sync_class_init): Methods to send request to corresponding
1467         backends and send notifications to the client.
1468         * libedata-cal/e-cal-backend.c:
1469         (e_cal_backend_get_attachment_list):
1470         * libedata-cal/e-cal-backend.h: Calls the sync implemention.
1471         * libedata-cal/e-data-cal.[ch]: (impl_Cal_getAttachmentList),
1472         (e_data_cal_class_init), (e_data_cal_notify_object_list),
1473         (e_data_cal_notify_attachment_list): Implements the request and the
1474         sends notification to the listener.
1475         * backends/file/e-cal-backend-file.c:
1476         (e_cal_backend_file_get_attachment_list),
1477         (e_cal_backend_file_class_init):
1478         * backends/groupwise/e-cal-backend-groupwise.c:
1479         (e_cal_backend_groupwise_get_attachment_list),
1480         (e_cal_backend_groupwise_class_init): Virtual methods to get
1481         the attachment for a calendar object.
1482
1483
1484 2005-07-10  Sankar P  <psankar@novell.com>
1485
1486         * libecal/e-cal.c: (open_calendar)
1487         Added a string which will be used for password prompt in case of a proxy account.
1488
1489         * backends/groupwise/e-cal-backend-groupwise.c: (connect_to_server)
1490         Added code to set the backend permission based on the proxy rights with which a proxy can act.
1491
1492 2005-07-09  Harish Krishnaswamy  <kharish@novell.com>
1493
1494         * libecal/e-cal.c: (e_cal_open_async), (e_cal_get_object),
1495         (e_cal_get_objects_for_uid), (e_cal_generate_instances_for_object),
1496         (e_cal_get_error_message): Fix some more compiler warnings.
1497
1498 2005-07-09  Harish Krishnaswamy  <kharish@novell.com>
1499
1500         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
1501         Fix compiler warnings.
1502
1503 2005-07-08  Chenthill Palanisamy  <pchenthill@novell.com>
1504
1505         * backends/groupwise/e-cal-backend-groupwise.c
1506         (e_cal_backend_groupwise_remove_object): Use removeItemsRequest
1507         for removing all the recurring posted appointments.
1508         (get_gw_item_id): Get the item id from the component.
1509         (get_deltas): Commented the read cursors request to get the icalids,
1510         since we need recurrece keys as we use it as the uid for recurrence items.
1511         Get the component from cache using uid and rid.
1512         * e-cal.c (e_cal_remove_object): Used CALOBJ_MOD_THIS since we are just removing
1513         one component.
1514         
1515 2005-07-08  Harish Krishnaswamy  <kharish@novell.com>
1516
1517         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1518         (set_rrule_from_comp), (set_properties_from_cal_component),
1519         (e_gw_item_to_cal_component), (e_gw_connection_send_appointment):
1520          add  support for creation of recurrence items by sending the 
1521         recurrence formula to the server instead of generating the 
1522         instances at the client end.
1523         * backends/groupwise/e-cal-backend-groupwise.c: 
1524         (e_cal_backend_groupwise_get_static_capabilities):
1525          add capability RECURRENCES_NO_MASTER.
1526         (e_cal_backend_groupwise_remove_object): add support for 
1527         removing all instances of a recurrence at one shot.
1528         * libecal/e-cal-util.h: Add a static capability 
1529         RECURRENCES_NO_MASTER. Backends that do not use master objects
1530         to represent recurrence information and store them as individual
1531         instances.
1532         * libecal/e-cal.c: (e_cal_get_recurrences_no_master)
1533         (e_cal_generate_instances_for_object): Do not expand instances for objects from 
1534         backends that do not have master object to represent recurrences.
1535         * libecal/e-cal.h:
1536         * libedata-cal/e-cal-backend-cache.[ch]
1537         (e_cal_backend_cache_get_components_by_uid):  Function to
1538         fetch all items in the cache that have the same uid. (recurrence
1539         items, detached instances etc.)
1540
1541 2005-07-08  Sankar P  <psankar@novell.com>
1542         
1543         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas)
1544         Moved from getQuickMessages to combination of getItems and readCursor, 
1545         to overcome the problems posed by getQuickMessages. 
1546         * libedata-cal/e-cal-backend-cache.[ch]: 
1547         (e_cal_backend_cache_get_key_value) 
1548         (e_cal_backend_cache_put_key_value):
1549         Added functions so as to put/get strings onto cache
1550         * libedata-cal/e-cal-backend-cache.[ch]:
1551         (e_cal_backend_cache_put_server_utc_time)
1552         Removed the unnecessary duplication of utc string.
1553
1554 2005-07-02  Chenthill Palanisamy  <pchenthill@novell.com>
1555
1556         * backends/groupwise/e-cal-backend-groupwise-utils.c
1557         (e_gw_item_to_cal_component): Removed the debug messages.
1558         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
1559         (set_container_id_with_count), (connect_to_server): Get the number
1560         of elements present in the calendar folder and use to calculate the 
1561         percent.
1562         * libecal/e-cal-view-listener.c: (e_cal_view_listener_class_init):
1563         * libecal/e-cal-view.c: (e_cal_view_class_init): Marshal the elements
1564         with string_int.
1565         * libedata-cal/e-cal-backend.[ch]:
1566         (e_cal_backend_notify_view_progress),
1567         (e_cal_backend_notify_view_done): Added new functions to notify 
1568         the view progress.
1569
1570 2005-07-02  Chenthill Palanisamy  <pchenthill@novell.com>
1571
1572         * backends/groupwise/e-cal-backend-groupwise.[ch]:
1573         Removed the function for getting container_id.
1574
1575 2005-07-02  Harish Krishnaswamy  <kharish@novell.com>
1576
1577         Fixes #309079
1578         * libecal/e-cal.c: (e_cal_create_object): Fix
1579         memory leak
1580
1581 2005-06-23  Chenthill Palanisamy  <pchenthill@novell.com>
1582
1583         * backends/http/Makefile.am: Removed unnecessary
1584         linking to file backend.
1585
1586 2005-06-22  Chenthill Palanisamy  <pchenthill@novell.com>
1587
1588         * backends/groupwise/Makefile.am: Removed unnecessary
1589         linking to file backend.
1590
1591 2005-06-21  Chenthill Palanisamy  <pchenthill@novell.com>
1592
1593         * backends/groupwise/e-cal-backend-groupwise-utils.h:
1594         * backends/groupwise/e-cal-backend-groupwise.h:
1595         Committing the changes made in the header file for delegate.
1596
1597 2005-06-20  Chenthill Palanisamy  <pchenthill@novell.com>
1598
1599         * backends/file/e-cal-backend-file.c:
1600         (e_cal_backend_file_get_static_capabilities): Added
1601         the delegate support for file backend.
1602         * backends/groupwise/e-cal-backend-groupwise.c:
1603         (e_cal_backend_groupwise_get_static_capabilities):
1604         * libecal/e-cal-util.h: Added the static capability
1605         to support delegation to multiple delegatees.
1606
1607 2005-06-06  Chenthill Palanisamy  <pchenthill@novell.com>
1608
1609         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1610         (set_attendees_to_item): Add the delegatees only while
1611         for sending delegate request.
1612         (set_properties_from_cal_component): called the function 
1613         set_attendees_to_item to set attendees to component.
1614         (e_gw_item_new_for_delegate_from_cal): Create a new item for
1615         delegation.
1616         (e_cal_backend_groupwise_utils_check_delegate): Checks if the 
1617         meeting is delegated.
1618         * backends/groupwise/e-cal-backend-groupwise.c:
1619         (e_cal_backend_groupwise_get_container_id): Gets the container
1620         id from cbgw.
1621         (e_cal_backend_groupwise_get_static_capabilities): Added
1622         the static capability for Delegate.
1623         (e_cal_backend_groupwise_modify_object): Check if the 
1624         meeting is delegated and send a delegate request.
1625         * backends/groupwise/e-cal-backend-groupwise.h: Added a function
1626         to get the container id.
1627         * libecal/e-cal-util.c: (e_cal_util_component_has_attendee):
1628         To check if the component has an attendee.
1629         * libecal/e-cal-util.h: Added the static capability for 
1630         delegate and for a supporting backends which has no organizer.
1631
1632 2005-05-18  Ross Burton  <ross@burtonini.com>
1633
1634         * backends/contacts/e-cal-backend-contacts.c:
1635         Fix various memory leaks.
1636
1637 2005-05-18  Rodrigo Moya <rodrigo@novell.com>
1638
1639         * backends/file/e-cal-backend-file-journal.[ch]: new class to implement
1640         VJOURNAL backend.
1641
1642         * backends/file/e-cal-backend-factory.c (_journal_new_backend,
1643         _journal_get_kind, journal_backend_factory_class_init,
1644         journal_backend_factory_get_type): new functions for the journal backend.
1645         (eds_module_initialize, eds_module_list_types): add the new backend.
1646
1647         * backends/file/Makefile.am: added new files.
1648
1649 2005-05-13  Rodrigo Moya <rodrigo@novell.com>
1650
1651         * libedata-cal/e-cal-backend.c (e_cal_backend_get_cal_address):
1652         fixed gtk-doc comments for functions without return value.
1653
1654 2005-05-13  The Written Word <bugzilla-novell@thewrittenword.com>
1655
1656         Fixes 271838
1657
1658         * libedata-cal/e-cal-backend.c (e_cal_backend_get_object_list):
1659         don't return value from void function.
1660
1661 2005-05-13  Shreyas Srinivasan  <sshreyas@novell.com>
1662
1663         * backends/contacts/e-cal-backend-contacts.c: Fix #256874
1664         
1665 2005-05-12  Vivek Jain <jvivek@novell.com>
1666         
1667          Fixes #271592
1668          * backends/contacts/e-cal-backend-contacts.c:
1669          (e_cal_backend_contacts_get_object):
1670          check the uid to return the object corresponding to
1671          birthday/anniversary
1672
1673 2005-05-11  Rodrigo Moya <rodrigo@novell.com>
1674
1675         * libedata-cal/e-cal-backend-sync.c:
1676         * libedata-cal/e-cal-backend-util.c:
1677         * libedata-cal/e-cal-backend.c:
1678         * libedata-cal/e-data-cal-factory.c:
1679         * libedata-cal/e-data-cal-view.c:
1680         * libedata-cal/e-data-cal.c: improved API documentation.
1681
1682 2005-05-09  Sushma Rai  <rsushma@novell.com>
1683
1684         * libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_constructor):
1685         Freeing cache file name.
1686         
1687         * calendar/backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
1688         Checking for server time value, though typically this should never be NULL.
1689         (e_cal_backend_groupwise_get_object_list): Unref cbsexp.
1690
1691         * calendar/backends/file/e-cal-backend-file.c
1692         (e_cal_backend_file_get_object_list)(create_user_free_busy): Unref sexp.
1693
1694 2005-05-06  Rodrigo Moya <rodrigo@novell.com>
1695
1696         * libedata-cal/e-cal-backend-factory.c:
1697         * libedata-cal/e-cal-backend-sexp.c:
1698         * libedata-cal/e-cal-backend-cache.c: improved API documentation.
1699         (e_cal_backend_cache_put_server_utc_time): fixed leak.
1700
1701 2005-05-06  Rodrigo Moya <rodrigo@novell.com>
1702
1703         * libecal/e-cal.c:
1704         * libecal/e-cal-time-util.c:
1705         * libecal/e-cal-view.c:
1706         * libecal/e-cal-view-listener.c:
1707         * libecal/e-cal-util.[ch]: improved API documentation.
1708         (e_cal_util_expand_uri): removed unused function.
1709
1710 2005-05-06  Rodrigo Moya <rodrigo@novell.com>
1711
1712         Fixes #273264
1713
1714         * libecal/e-cal.c (add_instance): set RECURRENCE-ID correctly.
1715         (generate_instances): use detached instances' start and end times, not
1716         the RECURRENCE-ID.
1717
1718         * backends/file/e-cal-backend-file.c
1719         (e_cal_backend_file_modify_object): no need to add exceptions for
1720         detached recurrences.
1721         (e_cal_backend_file_get_static_capabilities): disable THISAND*, so that
1722         the broken GUI does not try to use them.
1723
1724 2005-05-04  Rodrigo Moya <rodrigo@novell.com>
1725
1726         Fixes #300920
1727
1728         * libecal/libecal.pc.in:
1729         * libedata-cal/libedata-cal.pc.in: fixed Name: and Description:
1730         fields.
1731
1732 2005-05-04  Rodrigo Moya <rodrigo@novell.com>
1733
1734         * libecal/e-cal-component.c:
1735         * libecal/e-cal-listener.c:
1736         * libecal/e-cal-recur.[ch]: improved API documentation.
1737
1738 2005-04-19  Philip Van Hoof  <pvanhoof@gnome.org>
1739
1740         * libecal/e-cal.c: Function prototype (compiler fix)
1741         
1742 2005-04-18  Chenthill Palanisamy  <pchenthill@novell.com>
1743
1744         Fixes #274409
1745         * backends/groupwise/e-cal-backend-groupwise.c:
1746         (get_deltas_timeout), (cache_init), (connect_to_server):
1747         Run the get_deltas in a seperate thread instead of the main
1748         loop.
1749         (get_deltas): Added a static mutex lock.
1750
1751 2005-04-11  Vivek Jain <jvivek@novell.com>
1752         
1753         * backends/groupwise/e-cal-backend-groupwise.c :
1754         (e_cal_backend_groupwise_compute_changes_foreach_key):
1755         callback function should take (key, value)pair as first two arguments
1756         and then the user data          
1757         
1758 2005-04-08  Rodrigo Moya <rodrigo@novell.com>
1759
1760         * libecal/e-cal-util.h: added new function's prototype.
1761
1762 2005-04-08  Rodrigo Moya <rodrigo@novell.com>
1763
1764         Fixes #70035
1765
1766         * libecal/e-cal-util.c (e_cal_util_parse_ics_string): new function that
1767         supports strings with multiple VCALENDAR's.
1768
1769         * backends/http/e-cal-backend-http.c (retrieval_done): use the new
1770         function instead of icalparser_parse_string.
1771
1772 2004-04-06  Rodrigo Moya <rodrigo@novell.com>
1773
1774         * libecal/e-cal.c (e_cal_open_async): check load state and if in
1775         progress or already loaded, notify caller and return.
1776
1777 2005-04-06  Chenthill Palanisamy  <pchenthill@novell.com>
1778
1779         * libecal/e-cal.c
1780         (open_calendar): Added a boolean variable in open_calendar
1781         to ensure authentication when the mode is switched.If the calendar is
1782         loaded  return TRUE. Set the load_state to not loaded if the loading
1783         fails.
1784         (open_async), (e_cal_open), (reopen_with_auth): Added additional
1785         argument for the open_calendar call.
1786
1787 2005-04-06  Christian Kellner  <gicmo@gnome.org>
1788
1789         * libecal/e-cal.c (set_local_attachment_store): 
1790         Add support for scalix provider. Also plug a 
1791         small mem leak.
1792         Patch from Carsten Guenther <Carsten.Guenther@scalix.com>
1793
1794 2005-03-24  Chenthill Palanisamy  <pchenthill@novell.com>
1795         
1796         Fixes #73336    
1797         * backends/groupwise/e-cal-backend-groupwise.c:
1798         (connect_to_server): Check for the container id
1799         before calling the cache init.
1800
1801 2005-03-24  Chenthill Palanisamy  <pchenthill@novell.com>
1802
1803         Fixes #73508
1804         * backends/groupwise/e-cal-backend-groupwise.c:
1805         (e_cal_backend_groupwise_get_static_capabilities):
1806         * libecal/e-cal-util.h: Added a new static capability 
1807         to check and set the partstat as NEEDS ACTION for the
1808         organizer.
1809         * libecal/e-cal.[ch] (e_cal_get_organizer_must_accept):
1810         Added a function to check the static capability.
1811
1812 2005-03-12  Chenthill Palanisamy  <pchenthill@novell.com>
1813
1814         * backends/groupwise/e-cal-backend-groupwise.c:
1815         (connect_to_server): Run the get deltas in a thread to
1816         avoid the inresponsiveness of the GUI when evolution
1817         changes mode from offline to online.
1818
1819 2005-03-12  Harish Krishnaswamy <kharish@novell.com>
1820         
1821         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas) :
1822         use 'peek' while downloading new items so when the calendar gets 
1823         the new item before the mailer has a chance to retrieve it, the item
1824         is not flagged read.
1825         
1826 2005-03-12  Harish Krishnaswamy <kharish@novell.com>
1827         
1828         Fixes a memory corruption issue in GW backend 
1829         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas) :
1830         strftime should be passed an array of sufficient length, not a
1831         char *. Fetch t_str from cache - so you are always sure of having 
1832         the correct value.Add some extra safety code checking empty strings.
1833
1834 2005-03-11  Sarfraaz Ahmed <asarfraaz@novell.com>
1835
1836         * libecal/e-cal.c : Set the local_attachment_store for exchange
1837         
1838 2005-03-08  Chenthill Palanisamy  <pchenthill@novell.com>
1839
1840         Fixes #73141
1841         * libecal/e-cal.c: (open_calendar): Check if the uri
1842         is not NULL before getting the password from
1843         e_passwords.
1844
1845 2005-03-06  Rodrigo Moya <rodrigo@novell.com>
1846
1847         Fixes #72454
1848
1849         * backends/http/e-cal-backend-http.c (begin_retrieval_cb): call
1850         g_object_set with correct arguments.
1851
1852 2005-02-28  Chenthill Palanisamy  <pchenthill@novell.com>
1853
1854         * backends/groupwise/e-cal-backend-groupwise.c: 
1855         (get_deltas): Check if the component type is the same
1856         as the backend kind before sending notification to the 
1857         view.   
1858
1859 2005-02-28  Chenthill Palanisamy  <pchenthill@novell.com>
1860
1861         Fixes #72958
1862         * backends/groupwise/e-cal-backend-groupwise.c:
1863         (e_cal_backend_groupwise_create_object): If the server
1864         sends the status succes without uid present, then it
1865         must be due to delay delivery set, so do not put the component
1866         in the cache since it might not be created in the server.
1867
1868 2005-02-28  Harish Krishnaswamy  <kharish@novell.com>
1869
1870         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
1871         store the time_string immediately after the 'New' call.
1872         add missing view in the second getQM call - "attachments"
1873
1874 2005-02-25  Rodrigo Moya <rodrigo@novell.com>
1875
1876         * backends/weather/e-cal-backend-weather.c
1877         (e_cal_backend_weather_get_static_capabilities): 'capabilities' is not
1878         an array, but an out char * argument.
1879
1880
1881 2005-02-25  Chenthill Palanisamy  <pchenthill@novell.com>
1882
1883         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
1884         Changed the getQm calls since the function has been changed.
1885         Send the time stamps received from the server.
1886         * libedata-cal/e-cal-backend-cache.c:
1887         (e_cal_backend_cache_put_server_utc_time),
1888         (e_cal_backend_cache_get_server_utc_time):
1889         * libedata-cal/e-cal-backend-cache.h:  Added functions
1890         to put the server UTC time in cache.
1891
1892 2005-02-25  Harish Krishnaswamy  <kharish@novell.com>
1893
1894         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache):
1895         Do not use position cursor calls anymore. use position field in 
1896         read cursor request.
1897
1898 2005-02-22  Rodrigo Moya <rodrigo@novell.com>
1899
1900         * backends/http/e-cal-backend-http.c (e_cal_backend_http_init):
1901         * backends/groupwise/e-cal-backend-groupwise.c
1902         (e_cal_backend_groupwise_init):
1903         * backends/weather/e-cal-backend-weather.c
1904         (e_cal_backend_weather_init): set backend's lock to TRUE.
1905
1906 2005-02-22  JP Rosevear  <jpr@novell.com>
1907
1908         * libedata-cal/e-cal-backend-sync.c: added a lock wrapper to make
1909         calls be locked if backend is set so.
1910         (e_cal_backend_sync_set_lock): new function.
1911         (e_cal_backend_sync_is_read_only, e_cal_backend_sync_get_cal_address,
1912         e_cal_backend_sync_get_alarm_email_address,
1913         e_cal_backend_sync_get_ldap_attribute,
1914         e_cal_backend_sync_get_static_capabilities, e_cal_backend_sync_open,
1915         e_cal_backend_sync_remove, e_cal_backend_sync_create_object,
1916         e_cal_backend_sync_modify_object, e_cal_backend_sync_remove_object,
1917         e_cal_backend_sync_discard_alarm, e_cal_backend_sync_receive_objects,
1918         e_cal_backend_sync_send_objects, e_cal_backend_sync_get_default_object,
1919         e_cal_backend_sync_get_object, e_cal_backend_sync_get_object_list,
1920         e_cal_backend_sync_get_timezone, e_cal_backend_sync_add_timezone,
1921         e_cal_backend_sync_set_default_timezone, e_cal_backend_sync_get_changes,
1922         e_cal_backend_sync_get_free_busy): wrap calls to backend methods in
1923         our lock wrapper.
1924
1925         * backends/contacts/e-cal-backend-contacts.c
1926         (e_cal_backend_contacts_init):
1927         * backends/file/e-cal-backend-file.c (e_cal_backend_file_init):
1928         set backend's lock to TRUE.
1929
1930 2005-02-22  Chenthill Palanisamy  <pchenthill@novell.com>
1931
1932         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1933         (e_gw_connection_send_appointment): Return the status as it is.
1934         * backends/groupwise/e-cal-backend-groupwise.c
1935         (receive_object): Removed the check for modified item and ok status.
1936         Instead checked for the status ALREADY_ACCEPTED directly.
1937
1938 2005-02-22  Chenthill Palanisamy  <pchenthill@novell.com>
1939
1940         Fixes 71490
1941         * backends/http/e-cal-backend-http.c
1942         (retrieval_done):If the vcalendar component does not
1943         have the UID property, do not add the component the
1944         component into the cache.
1945
1946 2005-02-21  Harish Krishnaswamy  <kharish@novell.com>
1947
1948         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1949         (get_attach_data_from_server), (set_attachments_to_cal_component),
1950         (e_gw_item_to_cal_component):  Download the attachments from the server
1951         only if they are not already present in the cache.
1952         
1953 2005-02-17  Chenthill Palanisamy  <pchenthill@novell.com>
1954
1955         * backends/groupwise/e-cal-backend-groupwise.c: 
1956         (populate_cache),(cache_init): Moved the get categories
1957         call from populate_cache to cache_init since it has to be
1958         called everytime.
1959         (e_cal_backend_groupwise_finalize),
1960         (e_cal_backend_groupwise_init): Hash table for categories
1961         need not be created/destroyed, connection will handle it.
1962
1963 2005-02-11  Rodrigo Moya <rodrigo@gnome-db.org>
1964
1965         Fixes #71545
1966
1967         * libecal/e-cal-view.c (objects_added_cb, objects_modified_cb,
1968         objects_removed_cb): ref/unref the view before/after emitting the
1969         signal.
1970
1971 2005-02-11  Chenthill Palanisamy  <pchenthill@novell.com>
1972
1973         Fixes #72107
1974         * backends/groupwise/e-cal-backend-groupwise.c:
1975         (e_cal_backend_groupwise_open): insert a g_mutex_unlock.
1976
1977 2005-02-10  Chenthill Palanisamy  <pchenthill@novell.com>
1978
1979         Fixes a crash
1980         * backends/groupwise/e-cal-backend-groupwise-utils.c:
1981         (e_gw_item_to_cal_component): Check whether the creation 
1982         date is present, before converting it to icaltimetype.
1983
1984 2005-02-09  Rodrigo Moya <rodrigo@novell.com>
1985
1986         * libecal/e-cal.c (open_calendar): use e_return_error_if_fail instead
1987         of g_return_val_if_fail.
1988
1989 2005-02-08  Rodrigo Moya <rodrigo@novell.com>
1990
1991         * libecal/e-cal.c (add_instance): set correctly (again) the recurid.
1992         (generate_instances): set correctly instance times for detached
1993         occurrences.
1994
1995 2005-02-08  Rodrigo Moya <rodrigo@novell.com>
1996
1997         * libecal/e-cal.c (add_instance): recurrence-id needs to be a date
1998         only.
1999
2000         * backends/file/e-cal-backend-file.c (add_component): g_strdup the
2001         key for the hash table.
2002         (free_object_data): free the hash table key when freeing objects.
2003         (free_calendar_components, remove_component): no need to free the
2004         object's data here, this is done now automatically by the hash table.
2005         (open_cal, create_cal, reload_cal): create hash table with
2006         g_hash_table_new_full.
2007
2008 2005-02-08  Harish Krishnaswamy  <kharish@novell.com>
2009
2010         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
2011         add attachments to the getQuickMessages view so they can listen
2012         for changes in attachments.
2013
2014 2005-02-08  Chenthill Palanisamy  <pchenthill@novell.com>
2015
2016         * backends/groupwise/e-cal-backend-groupwise.c:
2017         (e_cal_backend_groupwise_remove_object): Assign the
2018         value for the *object as NULL and duped value to
2019         *old_object since calobj is freed later.
2020
2021 2005-02-07  JP Rosevear  <jpr@novell.com>
2022
2023         * backends/weather/e-cal-backend-weather.c (getCategory): don't
2024         translate the empty string
2025
2026 2005-02-07  Chenthill Palanisamy  <pchenthill@novell.com>
2027
2028         * backends/groupwise/e-cal-backend-groupwise.c:
2029         (ECalBackendGroupwisePrivate): Added a boolean variable
2030         to check if the mode has been changed.
2031         (get_deltas): put component replaces there is an existing 
2032         component, so removed the remove_component call. Before
2033         getting the vtype of the component, check if comp is NULL.
2034         (cache_init): Insert the timeout call for getQuickMessages
2035         only for events.
2036         (connect_to_server): Add the timeout call for getquickmessages
2037         only if the mode has been changed.
2038         (e_cal_backend_groupwise_set_mode): Set the mode_changed variable.
2039
2040 2005-02-04  Chenthill Palanisamy  <pchenthill@novell.com>
2041
2042         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2043         (e_gw_item_to_cal_component): Added a string for 
2044          reply requested in send options.
2045         * backends/groupwise/e-cal-backend-groupwise.c:
2046         (e_cal_backend_groupwise_open): Removed the error
2047         notify message for Repository offline since it would
2048         be handled from frontend.
2049         Fixes #72117
2050         (e_cal_backend_groupwise_create_object): Check for
2051         the UID, if not present send an error message.
2052
2053 2005-02-04  Rodrigo Moya <rodrigo@novell.com>
2054
2055         * tests/ecal/test-recur.c: removed libgnome usage.
2056         (main): use arguments correctly.
2057
2058 2005-02-04  Rodrigo Moya <rodrigo@novell.com>
2059
2060         * libecal/e-cal.c (generate_instances): don't expand recurrences
2061         for detached instances.
2062
2063         * tests/ecal/test-recur.c:
2064         * tests/ecal/Makefile.am: added recurrence test.
2065
2066 2005-02-04  Ross Burton  <ross@burtonini.com>
2067
2068         * tests/ecal/test-search.c:
2069         Remove useless libgnome usage.
2070
2071 2005-02-03  Chenthill Palanisamy  <pchenthill@novell.com>
2072
2073         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2074         (set_categories_for_gw_item), (add_send_options_data_to_item),
2075         (set_properties_from_cal_component), (get_attach_data_from_server),
2076         (e_gw_item_to_cal_component), (e_gw_connection_send_appointment),
2077         (e_gw_connection_get_freebusy_info),
2078         (e_cal_backend_groupwise_store_settings): Fixed the compiler warnings
2079         and set the datetime value for the replywithin variable due to change
2080         in schemas.
2081
2082 2005-01-03 Vivek Jain <jvivek@novell.com>
2083
2084         * idl/Evolution-DataServer-Calendar.idl: 
2085           added InvalidServerVersion in the callstatus
2086         * libecal/e-cal-types.h: (added INVALID_SEVER_VERSION)
2087         * libecal/e-cal-listener.c (convert_status): added
2088           INVALID_SERVER_VERSION
2089         * backends/groupwise/e-cal-backend-groupwise.c
2090         (connect_to_server): return the different callstatus if server doesn't return the
2091         version
2092
2093 2005-02-02  Ross Burton  <ross@burtonini.com>
2094
2095         * backends/contacts/e-cal-backend-contacts.c:
2096         * backends/file/e-cal-backend-file.c:
2097         * backends/groupwise/e-cal-backend-groupwise.c:
2098         * backends/http/e-cal-backend-http.c:
2099         * backends/weather/e-cal-backend-weather.c:
2100         * backends/weather/e-weather-source-ccf.c:
2101         * libecal/e-cal-component.c:
2102         * libecal/e-cal-recur.c:
2103         * libecal/e-cal-util.c:
2104         * libecal/e-cal.c:
2105         * libedata-cal/e-cal-backend-sexp.c:
2106         * tests/ecal/test-ecal.c:
2107         Use glib/gi18n.h
2108
2109 2005-02-02  Chenthill Palanisamy  <pchenthill@novell.com>
2110
2111         Fixes #72004
2112         * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas),
2113         (e_cal_backend_groupwise_get_free_busy),
2114         (e_cal_backend_groupwise_create_object),
2115         (e_cal_backend_groupwise_modify_object),
2116         (e_cal_backend_groupwise_remove_object), (receive_object): If
2117         Invalid connection error is returned from e-gw-connection, perform
2118         the operation again since re_authenticate method in gw-connection.c
2119         would give us a new valid session.
2120
2121 2005-01-31  Hans Petter Jansson  <hpj@novell.com>
2122
2123         * idl/Evolution-DataServer-Calendar.idl: Change the name of the
2124         multiple inclusion protection define, so it doesn't conflict with
2125         that in Evolution proper.
2126
2127 2005-01-31  Hans Petter Jansson  <hpj@novell.com>
2128
2129         * backends/file/Makefile.am:
2130         * backends/weather/Makefile.am:
2131         * backends/http/Makefile.am:
2132         * backends/groupwise/Makefile.am:
2133         * backends/contacts/Makefile.am:
2134         Build as modules.
2135
2136 2005-01-31  Chenthill Palanisamy  <pchenthill@novell.com>
2137
2138         Fixes #64682
2139         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2140         (e_gw_connection_create_appointment): IF the appointment
2141         is moved from another calendar, send the createItemsRequest 
2142         to the server, so that it does not send mails to the 
2143         recipients.
2144
2145 2005-01-31  Harish Krishnaswamy  <kharish@novell.com>
2146
2147         * backends/groupwise/e-cal-backend-groupwise.c
2148         (cache_init, connect_to_server): GW Task backend now relies
2149         on the Calendar backend to fetch changes. This reduces the
2150         load on the GW server.
2151         
2152 2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com>
2153
2154         * calendar/backends/groupwise/e-cal-backend-groupwise.c 
2155         (from_uri) : Change the default port to 7191 
2156
2157 2005-01-28  Rodrigo Moya <rodrigo@novell.com>
2158
2159         * idl/Evolution-DataServer-Calendar.idl: removed
2160         notifyCategoriesChanged method on CalListener.
2161
2162         * libedata-cal/e-cal-backend.[ch] (e_cal_backend_init,
2163         e_cal_backend_finalize, e_cal_backend_add_client): no need
2164         to deal with categories now.
2165         (free_category_cb, prune_changed_categories, add_category_cb,
2166         notify_categories_changed, idle_notify_categories_changed,
2167         e_cal_backend_ref_categories, e_cal_backend_unref_categories):
2168         removed.
2169
2170         * libedata-cal/e-data-cal.[ch]
2171         (e_data_cal_notify_categories_changed): removed.
2172
2173         * backends/file/e-cal-backend-file.c (add_component,
2174         remove_recurrence_cb, remove_component, remove_instance,
2175         remove_object_instance_cb): no need to deal with categories now.
2176
2177         * libecal/e-cal-listener.[ch]: removed "categories_changed" signal.
2178         (impl_notifyCategoriesChanged): removed.
2179         (e_cal_listener_class_init): don't set removed method. Don't create
2180         "categories_changed" signal.
2181
2182         * libecal/e-cal.[ch]: removed "categories_changed" signal.
2183         (categories_changed_idle_cb, categories_changed): removed.
2184         (e_cal_init): removed connection to listener's "categories_changed"
2185         signal.
2186         (e_cal_class_init): don't create "categories_changed" signal.
2187
2188 2005-01-27  Chenthill Palanisamy  <pchenthill@novell.com>
2189
2190         partially Fixes#68541
2191         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2192         (start_freebusy_session), (close_freebusy_session),
2193         (e_gw_connection_get_freebusy_info): Return the error
2194         message as NO_RESPONSE if the server is not responding.
2195         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
2196         Handled the NO_RESPONSE error status.
2197
2198 2005-01-27  Rodrigo Moya <rodrigo@novell.com>
2199
2200         * backends/file/e-cal-backend-file.c: added a GMutex for the idle saving
2201         callback.
2202         (save_file_when_idle, save): lock/unlock the mutex while setting values.
2203         (e_cal_backend_file_finalize): unref the mutex.
2204         (e_cal_backend_file_init): create the mutex.
2205
2206 2005-01-26  Rodrigo Moya <rodrigo@novell.com>
2207
2208         * backends/file/e-cal-backend-file.c (add_component): save the file
2209         when we add the component to the toplevel.
2210         (remove_component): make sure we always save the file.
2211
2212 2005-01-26  JP Rosevear  <jpr@novell.com>
2213
2214         * libecal/e-cal.c (e_cal_send_objects): fix leak in the error case
2215
2216 2005-01-25  Rodrigo Moya <rodrigo@novell.com>
2217
2218         * backends/file/e-cal-backend-file.c (save_file_when_idle):
2219         uninstall idle handler when successfully saving the file.
2220
2221 2005-01-24  Harish Krishnaswamy  <kharish@novell.com>
2222
2223         * backends/groupwise/e-cal-backend-groupwise-utils.c
2224         (e_gw_connection_send_appointment) : The server now mandates
2225         "default" to be included for views in get_item calls.
2226
2227 2005-01-20  Chenthill Palanisamy  <pchenthill@novell.com>
2228
2229         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2230         (set_properties_from_cal_component): If the default zone is
2231         not set use utc, instead of returning NULL for the item.
2232
2233 2005-01-19  Rodrigo Moya <rodrigo@novell.com>
2234
2235         * backends/file/e-cal-backend-file.c (cancel_received_object): deal
2236         with instances.
2237
2238 2005-01-19  Rodrigo Moya <rodrigo@novell.com>
2239
2240         * backends/file/e-cal-backend-file.c
2241         (e_cal_backend_file_receive_objects): set the correct method on the
2242         VCALENDAR we create or it will fail in the code below. Deal correctly
2243         with detached recurrences.
2244         (remove_instance): unref the categories before removing the recurrences
2245         from the hash table.
2246
2247 2005-01-19  Harish Krishnaswamy  <kharish@novell.com>
2248
2249         * backends/groupwise/e-cal-backend-groupwise.c
2250         (e_cal_backend_groupwise_create_object) : Add 'default' to
2251         the view argument, as this is now necessary for the server
2252         to display the default values.
2253
2254 2005-01-18  Rodrigo Moya <rodrigo@novell.com>
2255
2256         Fixes #68599
2257
2258         * libedata-cal/e-cal-backend-cache.c
2259         (e_cal_backend_cache_get_component): make sure we always return a
2260         valid ECalComponent.
2261         (e_cal_backend_cache_get_components): ditto.
2262
2263 2005-01-17  Rodrigo Moya <rodrigo@novell.com>
2264
2265         * backends/file/e-cal-backend-file.c (add_component,
2266         remove_recurrence_cb, remove_component, remove_instance,
2267         remove_object_instance_cb):
2268         removed code related to the categories_changed signal.
2269
2270 2005-01-17  Rodrigo Moya <rodrigo@novell.com>
2271
2272         * backends/file/e-cal-backend-file.c (save_file_when_idle): don't
2273         save the file if it's not dirty!
2274
2275 2005-01-17  Rodrigo Moya <rodrigo@novell.com>
2276
2277         * backends/file/e-cal-backend-file.c: use guint for idle id.
2278
2279 2005-01-17  Rodrigo Moya <rodrigo@novell.com>
2280
2281         Fixes #57567
2282
2283         * backends/file/e-cal-backend-file.c (save_file_when_idle): new
2284         function, to save the file to disk at application's idle times.
2285         (save): changed to just set the idle callback the first time and then,
2286         just mark the file as dirty.
2287         (e_cal_backend_file_finalize): remove the idle callback.
2288         (e_cal_backend_file_dispose): save the file if dirty.
2289         (e_cal_backend_file_init): initialize new members.
2290
2291 2005-01-17  Rodrigo Moya <rodrigo@novell.com>
2292
2293         * libecal/e-cal-view.c (e_cal_view_set_property): make sure we clean
2294         up the old view and listener before setting the new ones.
2295
2296 2005-01-12  Rodrigo Moya <rodrigo@novell.com>
2297
2298         Fixes #67974
2299
2300         * backends/http/e-cal-backend-http.c (begin_retrieval_cb): set the
2301         HTTP proxy on the SoupSession if configuration is set to use it.
2302
2303 2005-01-12  Not Zed  <NotZed@Ximian.com>
2304
2305         * backends/http/e-cal-backend-http.c (retrieval_done): warning fix
2306         cast.
2307
2308 2005-01-12  David Trowbridge  <trowbrds@cs.colorado.edu>
2309
2310         * backends/weather/e-cal-backend-weather.c: Use a single
2311         metric/imperial setting rather than separate temperature and
2312         snowfall settings
2313
2314 2005-01-10  Harish Krishnaswamy  <kharish@novell.com>
2315
2316         * backends/groupwise/e-cal-backend-groupwise.c:
2317         (fetch_attachments), (receive_object): Function to fetch
2318         the attachments data into the file calendar store from the
2319         camel cache.
2320         
2321 2005-01-10  Harish Krishnaswamy  <kharish@novell.com>
2322
2323         * backends/file/e-cal-backend-file.c: (fetch_attachments),
2324         (e_cal_backend_file_receive_objects): Function to fetch
2325         the attachments data into the file calendar store from the
2326         camel cache.
2327
2328 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com>
2329
2330         * backends/groupwise/e-cal-backends-groupwise-utils.h:
2331         Missed to commit this file before.
2332
2333 2005-01-10  David Trowbridge <trowbrds@cs.colorado.edu>
2334
2335         * backends/weather/e-cal-backend-weather.c: add the city name to the
2336         summary field
2337
2338 2005-01-10  Harish Krishnaswamy  <kharish@novell.com>
2339
2340
2341         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2342         (e_cal_backend_groupwise_set_attachments_from_comp),
2343         (set_properties_from_cal_component), (get_attach_data_from_server),
2344         (set_attachments_to_cal_component), (e_gw_item_to_cal_component):
2345         Attachment support for Groupwise calendar and task items.
2346         (e_cal_backend_groupwise_store_settings): Remove unused variable.
2347         * backends/groupwise/e-cal-backend-groupwise.[ch]: (populate_cache),
2348         (e_cal_backend_groupwise_finalize), (e_cal_backend_groupwise_open),
2349         (e_cal_backend_groupwise_notify_error_code),
2350         (e_cal_backend_groupwise_get_local_attachments_store): 
2351         set the path to the attachment store in the filesystem.
2352         * libecal/e-cal.[ch] (e_cal_init), (e_cal_finalize),
2353         (set_local_attachment_store), (e_cal_new), 
2354         (e_cal_get_local_attachment_store): Add a new member to ECal that
2355         stores the local attachment store for various backends.
2356         
2357
2358 2005-01-08  JP Rosevear  <jpr@novell.com>
2359
2360         * backends/weather/e-cal-backend-weather.c (create_weather): make
2361         sure we don't free a static string
2362
2363 2005-01-08  Harish Krishnaswamy  <kharish@novell.com>
2364
2365         * backends/contacts/e-cal-backend-contacts.c:
2366         (e_cal_backend_contacts_finalize): destroy the addressbooks
2367         hashtable. Partially fixes #68533.
2368         * libecal/e-cal-component.[ch] (free_icalcomponent),
2369         (scan_attachment), (scan_property),
2370         (get_attachment_list), (set_attachment_list),
2371         (e_cal_component_get_attachment_list),
2372         (e_cal_component_set_attachment_list),
2373         (e_cal_component_has_attachments),
2374         (e_cal_component_get_num_attachments): add support for handling
2375         attach properties in e-cal-components.
2376         * libedata-cal/e-cal-backend-sexp.c 
2377         (e_cal_backend_sexp_match_comp):remove unref on null comp.
2378         
2379 2005-01-06  David Trowbridge <trowbrds@cs.colorado.edu>
2380
2381         * backends/weather/*: Import weather calendar backend
2382
2383 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com>
2384         
2385         * backends/groupwise/e-cal-backends-groupwise-utils.[ch]:
2386         Added a new function to set the send options in e sources.
2387         (add_send_options_data_to_item): Set the set_sendoptions variable
2388         if there are some X-Properties for send options.
2389         * backends/groupwise/e-cal-backend-groupwise.c:
2390         (cache_init): get the send options settings.    
2391
2392 2004-12-24  Rodrigo Moya <rodrigo@novell.com>
2393
2394         * backends/file/e-cal-backend-file.c (remove_component): made it work
2395         for objects with only detached instances.
2396         (remove_object_instance_cb): fixed warning.
2397         (e_cal_backend_file_modify_object, e_cal_backend_file_remove_object,
2398         e_cal_backend_file_receive_objects): adapted to changes in
2399         remove_component.
2400         (e_cal_backend_file_remove_object): call remove_component for the
2401         CALOBJ_MOD_ALL case, since remove_component takes care of everything
2402         now.
2403         (cancel_received_object): look for the object in the comp_uid_hash,
2404         since we need to pass the ECalBackendFileObject struct to
2405         remove_component.
2406
2407 2004-12-23  Rodrigo Moya <rodrigo@novell.com>
2408
2409         * libedata-cal/e-data-cal-view.c (impl_EDataCalView_start): removed
2410         warnings.
2411
2412         * backends/file/e-cal-backend-file.c: changed recurrence hash table
2413         to use g_hash_table_new and automatic disposal of key/value pairs.
2414         (free_recurrence): removed, not needed now.
2415         (free_object): just destroy de recurrences hash table.
2416         (add_component): create recurrences hash table with _new_full.
2417         (remove_recurrence_cb): changed to a GHRFunc.
2418         (remove_component): use g_hash_table_foreach_remove to clear the
2419         recurrences hash table.
2420         (remove_object_instance_cb, e_cal_backend_file_modify_object,
2421         remove_instance): no need to free hash table data here.
2422
2423 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
2424
2425         Part of merge from offline branch 
2426         * backends/groupwise/e-cal-backend-groupwise.c :
2427         (e_cal_backend_groupwise_open): Check for the property 
2428         offline_sync in source and display the contents of the
2429         calendar.
2430
2431 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2432
2433         Part of merge from offline branch 
2434         
2435         * idl/Evolution-DataServer-Calendar.idl : added 
2436         new error code OfflineUnavailable 
2437
2438 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2439
2440         Part of merge from offline branch 
2441         
2442         * idl/Evolution-DataServer-Calendar.idl : added a new method 
2443         notifyAuthRequired to cal listener interface 
2444
2445         * libedata-cal/e-cal-backend.[ch]
2446         (e_cal_backend_notify_auth_required):
2447         
2448         * libedatacal/e-data-cal.[ch] 
2449         (e_data_cal_notify_auth_required) : methods for backend 
2450         to notify clients about auth when mode is changed to online
2451         
2452         * libecal/e-cal-listener.[ch] : implemented notifyAuthRequired
2453         interface and  add AUTH_REQUIRED signal 
2454         
2455         * libecal/e-cal.c : connect to AUTH_REQUIRED signal of cal listener
2456         and call e_cal_open in the singnal call back 
2457         (open_calendar) : don't call e_password stuff in offline mode
2458
2459         * libecal/e-cal-marshal.list : added NONE:NONE to list  
2460
2461         * backends/groupwise/e-cal-backend-groupwise.c 
2462         (e_cal_backend_groupwise_set_mode) : send auth required notification
2463         when mode changes to online
2464  
2465         
2466 2004-12-22 Sivaiah Nallagatla   <snallagatla@novell.com>
2467
2468         Part of merge from offline branch 
2469         
2470         * backends/http/e-cal-backend-http.c 
2471         (e_cal_backend_http_set_mode): When mode is switched 
2472         from offline to online start time out handler to periodically
2473         download the conetnets. Call e_cal_backend_notify only 
2474         when backend is loaded 
2475         (e_cal_backend_http_open) : cast the backend object using E_CAL_BACKEND
2476         to avoid waring while passing it to e_cal_backend_notify_error 
2477         
2478 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
2479
2480         Part of merge from offline branch 
2481         
2482         * backends/http/e-cal-backend-http.c
2483         (e_cal_backend_http_open): Do not connect to the url in 
2484         offline, read only the contents from the cache.
2485         (e_cal_backend_http_set_mode): If the calendar moves from
2486         online to offline remove the timeout function.
2487         
2488 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
2489
2490         Part of merge from offline branch 
2491         * backends/groupwise/e-cal-backend-groupwise.c
2492         (in_offline): If calendar is in offline remove the connection
2493         and the remove the timeout function if they are active, Mark the 
2494         calendar to be read only.
2495         (connect_to_server): This will be called through open method when 
2496         the calendar changes from offline to online. In that case invoke the 
2497         timeout functions.
2498         (e_cal_backend_groupwise_finalize): Assign zero to the timeout id.
2499         (e_cal_backend_groupwise_open): If the calendar is opened in offline 
2500         mode, show the contents from the cache and mark the calendar as offline.
2501         (e_cal_backend_groupwise_set_mode): Removed the connect_to_server function
2502         call, it should be called through the open method since password is needed to 
2503         create a new connection.
2504         (e_cal_backend_groupwise_get_freebusy):
2505         (e_cal_backend_groupwise_create_object):
2506         (e_cal_backend_groupwise_modify_object):
2507         (e_cal_backend_groupwise_remove_object):
2508         (e_cal_backend_groupwise_receive_objects):
2509         (e_cal_backend_groupwise_send_objects): If the Calendar is in Offline mode
2510         remove the timeout function and the connection and return an error message.
2511         (e_cal_backend_groupwise_init): Initialize the connection to NULL.
2512         (get_deltas): IF the calendar is in offline mode, return False.
2513         
2514 2004-12-22  Sivaiah Nallagatla  <snallagatla@novell.com>
2515
2516         Part of merge from offline branch 
2517         
2518         * libedata-cal/e-data-cal-factory.[ch] : new fucntions
2519         (e_data_cal_factory_set_backend_mode) : set online/offline mode on 
2520         all the backends it has created. 
2521         (set_backend_online_status) : function to set online/offline 
2522         mode on a backend
2523         (impl_CalFactory_getCal) : modified this function to 
2524         set online/offline mode on the backend after creatng it
2525
2526 2004-12-22  Rodrigo Moya <rodrigo@novell.com>
2527
2528         * backends/http/e-cal-backend-http.c (e_cal_backend_http_get_timezone):
2529         search timezones in the cache also.
2530         (e_cal_backend_http_add_timezone): add the timezones to the cache.
2531
2532         * libecal/e-cal-util.c (e_cal_util_construct_instance): removed
2533         FIXME comment.
2534
2535 2004-12-21  Rodrigo Moya <rodrigo@novell.com>
2536
2537         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
2538         deal correctly with objects only having detached instances and no master
2539         object.
2540
2541 2004-12-20  Anders Carlsson  <andersca@gnome.org>
2542
2543         * backends/groupwise/e-cal-backend-groupwise.c:
2544         (e_cal_backend_groupwise_modify_object), (send_object):
2545         * backends/http/e-cal-backend-http.c:
2546         (e_cal_backend_http_modify_object):
2547         * libedata-cal/e-cal-backend-sync.c:
2548         (e_cal_backend_sync_modify_object), (_e_cal_backend_modify_object):
2549         * libedata-cal/e-cal-backend-sync.h:
2550         Add support for passing a modified object from sync backends.
2551         
2552 2004-12-18  JP Rosevear  <jpr@novell.com>
2553
2554         Fixes #70127
2555         
2556         * backends/http/e-cal-backend-http.c (begin_retrieval_cb): add
2557         user agent header
2558
2559 2004-12-15  Rodrigo Moya <rodrigo@novell.com>
2560
2561         Merge from recurrences-work-branch
2562
2563         * libecal/e-cal.c (open_calendar): added missing calls to
2564         e_calendar_remove_op/e_calendar_free_op.
2565         (add_instance): enable code to set the recurrence ID on each instance.
2566
2567         * libedata-cal/e-data-cal.[ch] (e_data_cal_notify_object_removed): added
2568         new argument to have backends send both the object before and after the
2569         modification.
2570
2571         * libedata-cal/e-cal-backend.[ch] (e_cal_backend_modify_object):
2572         pass correct number of arguments to e_cal_backend_notify_object_removed.
2573         (match_query_and_notify, e_cal_backend_notify_object_modified): separated
2574         the notification logic from e_cal_backend_notify_object_modified.
2575         (e_cal_backend_notify_object_removed): added new argument to have
2576         backends send both the object before and after the modification.
2577
2578         * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_remove_object):
2579         added a new argument to send the object as it was before being removed.
2580         Also, change meaning of 'object' argument to contain the object as it
2581         is after being modified, or NULL if it was removed.
2582         (_e_cal_backend_remove_object): adapted to change in method arguments
2583         and pass correct number of arguments to e_data_cal_notify_object_removed.
2584
2585         * backends/contacts/e-cal-backend-contacts.c (contact_record_free):
2586         pass correct number of arguments to e_cal_backend_notify_object_removed.
2587         
2588         * backends/file/e-cal-backend-file.c (notify_removals_cb,
2589         e_cal_backend_file_receive_objects):
2590         pass correct number of arguments to e_cal_backend_notify_object_removed.
2591         (remove_object_instance_cb, e_cal_backend_file_modify_object): adapted to
2592         support detached recurrences and THISANDPRIOR/THISANDFUTURE.
2593         (e_cal_backend_file_remove_object): adapted to method changes.
2594
2595         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas, receive_object):
2596         pass correct number of arguments to e_cal_backend_notify_object_removed.
2597         (e_cal_backend_groupwise_remove_object): adapted to method changes.
2598
2599         * backends/http/e-cal-backend-http.c (notify_and_remove_from_cache):
2600         pass correct number of arguments to e_cal_backend_notify_object_removed.
2601         (e_cal_backend_http_remove_object): adapted to method changes.
2602
2603 2004-12-15  Chenthill Palanisamy <pchenthill@novell.com>
2604
2605         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2606         (add_send_options_data_to_item),
2607         (set_properties_from_cal_component):Added a new local function
2608         for reading the properties  for send options.
2609         * backends/groupwise/e-cal-backend-groupwise.c:
2610         (e_cal_backend_groupwise_get_static_capabilities): Checked for new 
2611         static capabilities.
2612         * libecal/e-cal-util.h: Defined two new static capabilities required for 
2613         send options.
2614
2615 2004-12-13  Harish Krishnaswamy <kharish@novell.com>
2616
2617         * libedata-cal/e-cal-backend.c 
2618         (e_cal_backend_notify_object_removed, 
2619         e_cal_backend_notify_object_modified,
2620         e_cal_backend_notify_object_added ):
2621         Remove the unrefs on queries as the get_queries
2622         does not ref anymore while returning.
2623         
2624 2004-12-09  Rodrigo Moya <rodrigo@novell.com>
2625
2626         Fixes #70267
2627
2628         * backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
2629         * backends/http/e-cal-backend-groupwise.c (retrieval_done): freeze
2630         the cache when doing mass updates to do only one write to disk.
2631
2632 2004-12-09  Harish Krishnamwamy <kharish@novell.com>
2633         Fixes for various leaks causing memory build-ups in eds.
2634         
2635         * libecal/e-cal-listener.c (impl_notifyFreeBusy):
2636         l->data should be unref'd - not free'd.
2637         * libedata-cal/e-cal-backend.c (get_queries):
2638         Do not ref the queries while returning them. This is unnecessary.
2639         * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_match_comp) :
2640         unref the comp and backend while returning.
2641         
2642         
2643 2004-12-06  Harish Krishnaswamy <kharish@novell.com> 
2644         * backends/groupwise/e-cal-backend-groupwise-utils.c 
2645         (e_gw_connection_send_appointment) : Add correct view arguments 
2646         specific to appointment. 'folders' is not used by appointments.
2647         
2648 2004-12-05  Sivaiah Nallagatla <snallagatla@novell.com>
2649
2650         * backends/groupwise/e-cal-backend-groupwise-utils.c
2651         (e_gw_connection_send_appointment) : Pass view argument while calling
2652         e_gw_connection_get_item.
2653
2654  
2655 2004-12-02  Chenthill Palanisamy <pchenthill@novell.com>
2656
2657         * backends/groupwise/e-cal-backend-groupwise.c:
2658         (receive_object): Freed the string variables and unref the 
2659         components.
2660         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2661         (e_gw_connection_get_freebusy_info): Need not use strdup here.
2662         
2663
2664 2004-11-18 Sivaiah Nallagatla <snallagatla@novell.com>
2665
2666         * backends/groupwise/e-cal-backend-groupwise.c 
2667         (populate_cache) (get_deltas) : added "default" to 
2668         the view wherever we want to get complete item along 
2669         with iCalId
2670         part of fix for #69624
2671          
2672 2004-10-29  Sivaiah Nallagatla <snallagatla@novell.com>
2673
2674         * backends/groupwise/e-ca-backend-groupwise.c 
2675         (cache_init) : remove the set_marker call from the begining of the 
2676         functions. accidently placed in the last commit 
2677
2678 2004-10-29  Sivaiah Nallagatla <snallagatla@novell.com>
2679
2680         * backends/groupwise/e-cal-backends-groupwise.c
2681         (cache_init) : Read the getQm poll interval
2682         from GETQM_TIME_INTERVAL. If not availbale
2683         use default value.
2684
2685 2004-10-28  Harish Krishnaswamy <kharish@novell.com>
2686         * backends/groupwise/e-cal-backend-groupwise.c:
2687         Set the CACHE_REFRESH_INTERVAL to 10 mins.
2688         
2689 2004-10-28  Rodrigo Moya <rodrigo@novell.com>
2690
2691         * libecal/e-cal.[ch] (e_cal_get_objects_for_uid): new function
2692         to retrieve objects and detached recurrences for that object.
2693         (e_cal_get_object): deal with the backend returning a VCALENDAR
2694         object. In that case, just get the first component of the same
2695         type we are using.
2696         (generate_instances): when we have an UID, use the new function
2697         e_cal_get_objects_for_uid, avoiding countless calls to
2698         e_cal_get_object_list.
2699
2700         * backends/file/e-cal-backend-file.c (e_cal_backend_file_get_object):
2701         if we have detached instances, return a VCALENDAR with the master
2702         object and any detached instance.
2703
2704 2004-10-15  Chenthill Palanisamy <pchenthill@novell.com>
2705         
2706         Fixes #67031
2707         * backends/groupwise/e-cal-backends-groupwise-utils.c
2708         (e_gw_item_to_cal_component): Set the completed date. For
2709         posted tasks set it as the current time.
2710         * backends/groupwise/e-cal-backends-groupwise.c
2711         (e_cal_backend_groupwise_modify_object): Update the item in
2712         the cache after completing the task.
2713
2714 2004-10-14  Rodney Dawes  <dobey@novell.com>
2715
2716         * backends/*/Makefile.am: Add -avoid-version to LDFLAGS for all
2717         of the backends
2718
2719 2004-10-14  Harish Krishnaswamy  <kharish@novell.com>
2720
2721         * backends/groupwise/e-cal-backend-groupwise.c:
2722         (get_deltas) : removed stray debug code that should not have
2723         been there in the first place.
2724
2725 2004-10-12  Harish Krishnaswamy  <kharish@novell.com>
2726         
2727         Fixes #64673 and added some performance boosters.
2728         
2729         * backends/groupwise/e-cal-backend-groupwise-utils.c:
2730         (e_gw_connection_get_freebusy_info): Resend free/busy requests 
2731         to server if there are outstanding users whose information is still
2732         pending from the server. Keep trying for 2 minutes (average time
2733         for obtaining the f/b information for users outside the POA).
2734         * backends/groupwise/e-cal-backend-groupwise.c: 
2735         (populate_cache):  Obtain the calendar items from server Latest First.
2736         Update evolution as soon as the items are processed, without waiting
2737         for the entire cache to be populated.
2738         (get_deltas): remove compiler warning.
2739         (cache_init): Use a marker to test the status of cache and obtain all
2740         items only for initial population.  All subsequent sessions would only 
2741         fetch the deltas from the server since the last cache modification time.
2742         (connect_to_server): Populating the cache moved to a separate thread
2743         that does not block the open calls to backend anymore.
2744         (e_cal_backend_groupwise_create_object): Fixed a leak.
2745         * libedata-cal/e-cal-backend-cache.[ch]:
2746         (e_cal_backend_cache_get_keys): Removed unused variable.
2747         (e_cal_backend_cache_set_marker),
2748         (e_cal_backend_cache_get_marker): Marker accessors to label the cache as
2749         populated or not. This helps in determining if all the items are to be 
2750         loaded from the server or if we should just fetch the deltas. 
2751
2752 2004-10-07  JP Rosevear  <jpr@novell.com>
2753   
2754         * libecal/e-cal.c (e_cal_new_system_tasks): load the correct type
2755         of events
2756         
2757 2004-10-06  JP Rosevear  <jpr@novell.com>
2758  
2759         Fixes #67513
2760         
2761         * libecal/e-cal.c (cal_objects_sent_cb): deep copy the user list
2762         data
2763         
2764 2004-10-04  Chenthill Palanisamy <pchenthill@novell.com>
2765
2766         Fixes #66484
2767          idl/Evolution-DataServer-Calendar.idl (CallStatus):
2768         Added an error message "Unknown User".
2769         * libecal/e-cal-types.h (ECalendarStatus):
2770         Added a enum variable for the same error message
2771         * libecal/e-cal-listener.c (convert_status)
2772         * libecal/e-cal-view-listener.c (convert_status):
2773         Mapped the new error message.
2774         * libecal/e-cal.c (e_cal_get_error_message):
2775         Return the proper string for the new error message.
2776
2777 2004-10-01  Chenthill Palanisamy <pchenthill@novell.com>
2778
2779         Fixes #62868
2780         * e-cal-backend-groupwise-utils.c (e_gw_connection_send_appointment):
2781         Send the Connection Status as Ok even if we get an error message from
2782         the server for accepting the appointment more than once since it does
2783         affect the functionality.
2784         * e-cal-backend-groupwise.c (receive_objects):
2785         Return the status immediately if the Item has not been modified. Now
2786         the Permission Denied error message need not be sent.
2787
2788 2004-09-30  Chris Toshok  <toshok@ximian.com>
2789
2790         * libecal/e-cal.c (get_factories): don't look for factories based
2791         on the supported_protocol property, since we can't use those
2792         anymore with dynamically loaded backends.
2793
2794         * libedata-cal/e-data-cal-factory.c (get_backend_factory): rename
2795         get_backend_type to this, and return an ECalBackendFactory*
2796         instead of a GType.
2797         (impl_CalFactory_getCal): change this code to use
2798         ECalBackendFactory.
2799         (e_data_cal_factory_register_backend): rename from
2800         e_data_cal_factory_register_method and remove all the args, just
2801         passing an ECalBackendFactory.
2802         (e_data_cal_factory_register_backends): register all extensions
2803         that subclass from E_TYPE_CAL_BACKEND_FACTORY.
2804
2805         * libedata-cal/e-data-cal-factor.h: change prototypes and function
2806         names.
2807         
2808         * libedata-cal/e-data-cal.[ch] (e_data_cal_new): remove the @uri
2809         arg, as it's unnecessary.
2810
2811         * libedata-cal/e-cal-backend-factory.[ch]: superclass the backend
2812         factories must subclass from.
2813
2814         * libedata-cal/Makefile.am (libedata_cal_la_SOURCES): add
2815         e-cal-backend-factory.c
2816         (libedata_calinclude_HEADERS): add e-cal-backend-factory.h
2817
2818         * backends/contacts/Makefile.am (extension_LTLIBRARIES): change
2819         from noinst_LTLIBRARIES.
2820         (libecalbackendcontacts_la_SOURCES): add
2821         e-cal-backend-contacts-factory.[ch].
2822
2823         * backends/contacts/e-cal-backend-contacts-factory.[ch]:
2824         ECalBackendFactory for the contacts backend.
2825
2826         * backends/file/Makefile.am (extension_LTLIBRARIES): change
2827         from noinst_LTLIBRARIES.
2828         (libecalbackendfile_la_SOURCES): add
2829         e-cal-backend-file-factory.[ch].
2830
2831         * backends/file/e-cal-backend-file-factory.[ch]:
2832         ECalBackendFactory for the file backend.
2833
2834         * backends/groupwise/Makefile.am (extension_LTLIBRARIES): change
2835         from noinst_LTLIBRARIES.
2836         (libecalbackendgroupwise_la_SOURCES): add
2837         e-cal-backend-groupwise-factory.[ch].
2838
2839         * backends/groupwise/e-cal-backend-groupwise-factory.[ch]:
2840         ECalBackendFactory for the groupwise backend.
2841
2842         * backends/http/Makefile.am (extension_LTLIBRARIES): change
2843         from noinst_LTLIBRARIES.
2844         (libecalbackendhttp_la_SOURCES): add
2845         e-cal-backend-http-factory.[ch].
2846
2847         * backends/http/e-cal-backend-http-factory.[ch]:
2848         ECalBackendFactory for the http backend.
2849         
2850 2004-09-28  Rodrigo Moya <rodrigo@novell.com>
2851
2852         Fixes #66230
2853
2854         * backends/http/e-cal-backend-http.c (retrieval_done): do a more clever
2855         update of the cache, so that we correctly notify listeners of updates,
2856         additions and removals.
2857
2858 2004-09-24  JP Rosevear  <jpr@novell.com>
2859
2860         Fixes #66383, From David Malcolm <dmalcolm@redhat.com>
2861         
2862         * libecal/e-cal.c (e_cal_get_alarms_in_range): return non void
2863         values
2864
2865         * libecal/e-cal-component.c: kill warnings about struct
2866         definitions
2867         
2868 2004-09-24  JP Rosevear  <jpr@novell.com>
2869         
2870         Fixes #64955, Vincent Noel <vnoel@cox.net>
2871         
2872         * libecal/e-cal.c (e_cal_get_alarms_in_range): fix c99-ism
2873         
2874 2004-09-23  Rodrigo Moya <rodrigo@novell.com>
2875
2876         Fixes #59904
2877
2878         * libecal/e-cal-component.[ch] (e_cal_component_new_from_string): new
2879         function to avoid repeating the same code over and over.
2880
2881         * libedata-cal/e-data-cal-view.c: changed to keep a list of listeners,
2882         not only one.
2883         (listener_died_cb): remove the listener from the list of listeners.
2884         (impl_EDataCalView_start): see if the query has already been started,
2885         and if so, just notify correctly the listeners we need to notify.
2886         (e_data_cal_view_init): create hash table for storing the objects we
2887         have matching the live query.
2888         (e_data_cal_view_set_property): add correctly the listeners to the list.
2889         (e_data_cal_view_get_property): return always the first listener.
2890         (e_data_cal_view_finalize): free all listeners and cached objects.
2891         (add_object_to_cache, remove_object_from_cache):
2892         new functions to manage the matched objects cache.
2893         (e_data_cal_view_notify_objects_added,
2894         e_data_cal_view_notify_objects_modified): add objects to our private
2895         cache, and notify all listeners, now that we might have more than one.
2896         (e_data_cal_view_notify_objects_removed,
2897         e_data_cal_view_notify_progress, e_data_cal_view_notify_done): notify
2898         all listeners.
2899         (e_data_cal_view_add_listener, e_data_cal_view_get_matched_objects,
2900         e_data_cal_view_is_started, e_data_cal_view_is_done,
2901         e_data_cal_view_get_done_status): new functions.
2902
2903         * libedata-cal/e-data-cal.c: keep a cache of all queries.
2904         (impl_Cal_getQuery): first look in the cache of queries. And when
2905         creating a new query, add it to the cache.
2906         (impl_Cal_getObjectList): use the query cache also.
2907         (e_data_cal_finalize): destroy the live queries hash table.
2908         (e_data_cal_init): create live queries hash table.
2909
2910 2004-09-23  JP Rosevear  <jpr@novell.com>
2911
2912         * libecal/Makefile.am: build a versioned lib, don't hard
2913         code the pkgconfig version
2914
2915         * libedata-cal/Makefile.am: ditto
2916         
2917         * backends/file/Makefile.am: link against the correct library version
2918         
2919         * backends/http/Makefile.am: ditto
2920
2921         * backends/groupwise/Makefile.am: ditto
2922
2923         * backends/contacts/Makefile.am: ditto
2924
2925         * tests/ecal/Makefile.am: ditto
2926         
2927 2004-09-22  Harish Krishnaswamy  <kharish@novell.com>
2928
2929         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]:
2930         (e_gw_connection_send_appointment): Allow callers to get the 
2931         sent item from the server to ensure the iCalId of the component
2932         is in sync with the server - even if it had been obtained from
2933         a different client via itip.
2934         (e_gw_item_to_cal_component) : additional check to ensure icalid
2935         is not null in the item, so we would not crash against server instances
2936         that may not send this properly.
2937
2938         Fixes #61865    
2939         * backends/groupwise/e-cal-backend-groupwise.c: 
2940         (get_deltas) : Replace getDeltasRequest by getQuickMessages calls
2941         and compute deltas like adds, modify and deletes.
2942         (connect_to_server): Do not recreate cache everytime and use the 
2943         getQuickMessages to pull in the changes from server. The existing
2944         code was a work-around till this fix was in place.
2945
2946         (e_cal_backend_groupwise_create_object), (receive_object):
2947         Use the modified  e_gw_connection_send_appointment calls and
2948         update the cache and cal clients appropriately.
2949
2950         * libedata-cal/e-cal-backend-cache.[ch]:
2951         (e_cal_backend_cache_get_keys): Adding a function that allows to 
2952         retrieve a list of the keys of all components from the cache.
2953         
2954
2955 2004-09-08  Chenthill Palanisamy <pchenthill@novell.com>
2956
2957         * backends/groupwise/e-cal-backend-groupwise-utils.c
2958         (set_properties_from_cal_component), (e_gw_item_to_cal_component),
2959         (e_gw_item_set_changes): Added the support for allday events.
2960
2961 2004-09-08  Chenthill Palanisamy <pchenthill@novell.com>
2962         
2963         Fixes #65167
2964         * backends/groupwise/e-cal-backend-groupwise.c 
2965         (connect_to_server): Reload the default zone into
2966         the cache after clearing it.
2967
2968         * backends/groupwise/e-cal-backend-groupwise-utils.c
2969         (set_categories_for_gw_item), e_gw_item_to_cal_component),
2970         (set_properties_from_cal_component): replaced the assert
2971         statements with If conditions.
2972
2973 2004-09-07  Chenthill Palanisamy <pchenthill@novell.com>
2974
2975         Fixes #64685
2976         * backends/groupwise/e-cal-backends-groupwise.c
2977         (receive_object): Send the error message as 
2978         Permission Denied when the attendee tries to accept the 
2979         appointment more than once since we get the error message as
2980         bad parameter from the server.
2981
2982 2004-09-07  Chenthill Palanisamy <pchenthill@novell.com>
2983
2984         Fixes 63513
2985         * backends/groupwise/e-cal-backends-groupwise-utils.c
2986         (e_gw_connection_send_appointment): Do a case insensitive
2987         comparison between the email ids. This is a partial fix.
2988
2989 2004-09-07  Chenthill Palanisamy <pchenthill@novell.com>
2990
2991         Fixes #64398
2992         * backends/groupwise/e-cal-backend-groupwise.c
2993         (ECalBackendGroupwisePrivate): added an variable to store 
2994         the timeout ids.
2995         (e_cal_backend_groupwise_init): intialize the variable.
2996         (e_cal_backend_groupwise_finalize): remove the timeout_add
2997         function so that it will not called when backend dies.
2998         (get_deltas): It should not crash in any case if handle is
2999         NULL.
3000
3001 2004-09-05  Chenthill Palanisamy <pchenthill@novell.com>
3002
3003         Fixes 63513
3004         * backends/groupwise/e-cal-backends-groupwise-utils.c
3005         (e_gw_connection_send_appointment): Do a case insensitive
3006         comparison between the email ids.
3007         
3008 2004-09-05  Chenthill Palanisamy <pchenthill@novell.com>
3009         
3010         * libecal/e-cal-utils.h:
3011         defined two macros for the handling the static capabilities for 
3012         backends which does not support the conversion of a non-recurring
3013         appointment to a recurrence appointment and conversion of posted
3014         task to group task.
3015         * backends/groupwise/e-cal-backend-groupwise.c
3016         (e_cal_backend_groupwise_get_static_capabilities): Added the 
3017         two macros in this function.
3018
3019 2004-09-05  Chenthill Palanisamy <pchenthill@novell.com>
3020
3021         Fixes #64688
3022         * backends/groupwise/e-cal-backend-groupwise.c
3023         (connect_to_server): store the default zone in
3024         backend before populating the cache.
3025         
3026 2004-08-27  Rodrigo Moya <rodrigo@novell.com>
3027
3028         * libedata-cal/e-cal-backend-sexp.c (func_has_alarms_in_range): new
3029         function for the regular expression language.
3030         (e_cal_backend_sexp_new): added new function to the list of symbols.
3031
3032         * libecal/e-cal.c (e_cal_get_alarms_in_range): use the new
3033         'has-alarms-in-range' function.
3034
3035 2004-08-27  Chenthill Palanisamy <pchenthill@novell.com>
3036
3037         * backends/groupwise/e-cal-backend-groupwise-utils.c
3038         (set_properties_from_cal_component): set the acceptLevel
3039         for the appointment as Free if its not Busy.
3040
3041 2004-08-26  Rodrigo Moya <rodrigo@novell.com>
3042
3043         * libecal/e-cal-util.c (check_instance): match the prototype expected
3044         in icalcomponent_foreach_recurrence.
3045         (e_cal_util_remove_instances): fixed warning.
3046
3047 2004-08-25  Frederic Crozat  <fcrozat@mandrakesoft.com>
3048
3049         * libecal/e-cal.c: (e_cal_set_default_timezone):
3050         Need a return value.
3051
3052 2004-08-25  Chenthill Palanisamy <pchenthill@novell.com>
3053
3054         * backends/groupwise/e-cal-backend-groupwise.c
3055         (populate_cache): Used a static mutex to avoid the 
3056         the simulataneous calls from calendar and tasks to
3057         ReadCursorRequest which crashes the server.
3058
3059 2004-08-24  Sivaiah Nallagatla <snallagatla@novell.com>
3060
3061         * backends/groupwise/e-cal-backend-groupwise.c 
3062         (populate_cache) : use cursor methods to get items in chunks instead of 
3063         getting all at once
3064
3065 2004-08-24  Chenthill Palanisamy <pchenthill@novell.com>
3066          
3067         * backends/groupwise/e-cal-backend-groupwise.c
3068         (receive_object): update the client view when a meeting
3069         is accepted or declined.
3070
3071 2004-08-23  Chenthill Palanisamy <pchenthill@novell.com>
3072         
3073         Fixes bug #62857
3074         * backends/groupwise/e-cal-backend-groupwise.c
3075         (e_cal_backend_groupwise_create_object): return the cal object created
3076         for the first component and notify the client for the cal objects of other 
3077         components created in recurrences.
3078
3079 2004-08-17  Rodrigo Moya <rodrigo@novell.com>
3080
3081         Fixes #61782
3082
3083         * backends/file/e-cal-backend-file.c (e_cal_backend_file_create_object):
3084         allow iCalendar objects with no UID.
3085
3086 2004-08-17  JP Rosevear  <jpr@novell.com>
3087
3088         * libecal/e-cal.c (e_cal_set_default_timezone): don't set the same
3089         time to the server again, avoids a needless server hit
3090
3091 2004-08-17  Chenthill Palanisamy <pchenthill@novell.com>
3092         
3093         * backends/groupwise/e-cal-backend-groupwise.c
3094         (connect_to_server): Clear the cache before populating 
3095         it.
3096
3097 2004-08-16  Chenthill Palanisamy <pchenthill@novell.com>
3098         
3099         * backends/groupwise/e-cal-backend-groupwise.c
3100         (connect_to_server): Do not get the items from server every time 
3101         the calendar is loaded, since the cache is already populated. 
3102
3103 2004-08-13  Hans Petter Jansson  <hpj@ximian.com>
3104
3105         Fixes bug #62655.
3106
3107         * backends/contacts/e-cal-backend-contacts.c (source_group_added_cb):
3108         If source group's URI is NULL, do nothing, i.e. don't crash.
3109
3110 2004-08-13  Chenthill Palanisamy <pchenthill@novell.com>
3111
3112         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3113         (e_gw_item_to_cal_component): handle the BC recipient type
3114          with TO and CC.        
3115
3116 2004-08-12  Not Zed  <NotZed@Ximian.com>
3117
3118         * libecal/e-cal.c (async_auth_func_cb): removed.
3119         (open_async): dont override the auth callback.  It is now up to
3120         the caller to ensure they're thread-safe and serialised
3121         appropriately.
3122
3123 2004-08-12  Rodrigo Moya <rodrigo@novell.com>
3124
3125         * libecal/e-cal.c (e_cal_remove_object, e_cal_receive_objects):
3126         added missing gtk-doc comments.
3127
3128 2004-08-09  Jeffrey Stedfast  <fejj@novell.com>
3129
3130         Fixes bug #58150
3131
3132         * libecal/e-cal.c (e_cal_activate): init bonobo if it isn't
3133         already initialised.
3134         (e_cal_new): Call e_cal_activate().
3135
3136 2004-08-09  Harish Krishnaswamy  <kharish@novell.com>
3137
3138         Fixes #58643 - the gw backend assembles the xgwrecordid
3139         to be used for accept/decline requests.
3140
3141         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3142         (e_gw_connection_send_appointment): use the event and todo type
3143         markers while assembling the gwrecordid from the itip message.
3144         set flag 'remove' for decline/retract requests to indicate 
3145         these should be removed from cache.
3146         * backends/groupwise/e-cal-backend-groupwise-utils.h:
3147         Add parameter to e_gw_connection_send_appointment and define macros
3148         GW_EVENT_TYPE_ID and GW_TODO_TYPE_ID.
3149         * backends/groupwise/e-cal-backend-groupwise.c: (receive_object):
3150         update the cache based on the remove flag set by 
3151         e_gw_connection_send_appointment.
3152
3153 2004-08-04  Chenthill Palanisamy <pchenthill@novell.com>
3154
3155        Fixes #60265
3156        * backends/groupwise/e-cal-backend-groupwise.c
3157        (e_cal_backend_groupwise_open): Whenever open_method is called
3158        get the data from the server and populate the cache.
3159
3160 2004-08-03  Harish Krishnaswamy  <kharish@novell.com>
3161
3162         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3163         (e_gw_connection_send_appointment): Add ':' as a separator
3164         while appending the container id to the xgwrecordid to
3165         generate the item_id.
3166
3167 2004-08-02  Not Zed  <NotZed@Ximian.com>
3168
3169         ** See bug #58642.
3170
3171         * libedata-cal/e-data-cal-factory.c (backend_last_client_gone_cb):
3172         the table key includes the kidn for some reason.
3173         (impl_CalFactory_getCal): store the icalkind in the uri, not the
3174         calobjtype.  Fix a memory leak.
3175
3176 2004-08-02  Chenthill Palanisamy <pchenthill@novell.com>
3177         
3178         Fixes #57127
3179         * backends/groupwise/e-cal-backend-groupwise.c:
3180         (ECalBackendGroupwisePrivate): Added two hash tables
3181         for the category ids and names.
3182         (e_cal_backend_groupwise_get_connection), 
3183         (e_cal_backend_groupwise_get_default_zone), 
3184         (e_cal_backend_groupwise_get_categories_by_id),
3185         (e_cal_backend_groupwise_get_categories_by_name):
3186         Added to access the ECalBackendGroupwisePrivate structure.
3187         * backends/groupwise/e-cal-backend-groupwise-utils.c: 
3188         (e_gw_item_new_from_cal_component), (e_gw_item_to_cal_component),
3189         (e_gw_connection_create_appointment), (set_properties_from_cal_component):
3190         Changed the argument from icaltimezone to ECalBackendGroupwise to 
3191         access ECalBackendGroupwisePrivate structure for storing categories 
3192         to calendar components.
3193         (set_categories_for_gw_item): Added to store the categories in GW item.
3194         (set_categories_changes): Added to update the category changes.
3195
3196 2004-07-30  Harish Krishnaswamy  <kharish@novell.com>
3197         
3198         Fixes #59335
3199         
3200         * libecal/e-cal.c: (open_calendar): Set the status correctly
3201         on all exit points from the function.
3202
3203 2004-07-28  Chenthill Palanisamy <pchenthill@novell.com>
3204
3205         Fixes #60265
3206         * backends/groupwise/e-cal-backend-groupwise.c
3207         (connect_to_server), (e_cal_backend_groupwise_open):
3208         Creates the cache structure after connecting to server and loads 
3209         the default timezone after populating the cache.
3210
3211 2004-07-26  Harish Krishnaswamy  <kharish@novell.com>
3212
3213         Fixes #57651, #58637 and #58643
3214         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3215         (e_gw_connection_send_appointment) : Append the container id to
3216         the gwrecordid obtained via ITIP to match the representation 
3217         in the SOAP interface.
3218         (e_gw_item_set_changes): Updates to 'completed' field in the Task
3219         is not sticky in the server, when using the modifyRequest. Using a 
3220         separate completeRequest call to update the same.
3221         * backends/groupwise/e-cal-backend-groupwise-utils.h: removed the
3222         unused default_zone parameter from e_gw_connection_send_appointment.
3223         * backends/groupwise/e-cal-backend-groupwise.c: 
3224         (get_deltas): return boolean values not the connection status as the 
3225         caller is not expected to handle it anyway.
3226         (sanitize_component): renamed set_container_id function, so it
3227         correctly depicts what it does.
3228         (e_cal_backend_groupwise_create_object): Make a getItemsRequest to the 
3229         server to obtain the items while creating recurring events. The original
3230         call returns only the item ids and the client requires the icalids too
3231         to keep the cache valid.
3232         (e_cal_backend_groupwise_modify_object) : Use the completeRequest method
3233         to update task completion. 
3234         (receive_object) : The call to e_gw_connection_send_appointment updated
3235         to reflect the change in its signature. 
3236         (e_cal_backend_groupwise_receive_objects): set the method on the subcomp
3237         created before passing it over to receive_object.
3238
3239 2004-07-23  Chenthill Palanisamy <pchenthill@novell.com>
3240         
3241         Fixes #60463
3242         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3243         (e_gw_connection_get_freebusy_info):
3244         Added a timezone  argument and used it to convert the freebusy 
3245         times to default timezone. (Have added the patch again since it was inadvertently removed from 
3246         by some commit)
3247         
3248 2004-07-15  JP Rosevear  <jpr@novell.com>
3249
3250         Fixes #58748
3251         
3252         * backends/contacts/e-cal-backend-contacts.c (cdate_to_icaltime):
3253         explicitly set is_utc and set zone to NULL
3254         (create_component): use NULL instead of 0
3255         (e_cal_backend_contacts_set_default_timezone): fix logic typo so
3256         that the default zone is set correctly
3257
3258 2004-07-15  Rodrigo Moya <rodrigo@novell.com>
3259
3260         Fixes #57142
3261
3262         * libecal/e-cal-component.c (ensure_alarm_properties_cb): add the
3263         X-EVOLUTION-NEEDS-DESCRIPTION property to the alarms we create
3264         with no description, and remove the property from the alarms with
3265         a description already.
3266
3267         (e_cal_component_set_summary, set_alarm_description_cb): set the
3268         description on the alarms when the summary changes and remove the
3269         above property when we set a valid description.
3270
3271 2004-07-14  Chenthill Palanisamy <pchenthill@novell.com>
3272
3273        Fixes #60344
3274        * backends/groupwise/e-cal-backend-groupwise.c:
3275        (e_cal_backend_groupwise_internal_get_timezone):
3276        Send the timezone present in tzid instead of sending UTC timezone.
3277
3278 2004-07-12  Harish Krishnaswamy  <kharish@novell.com>
3279
3280         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3281         (e_cal_component_get_gw_id): Access method for getting the 
3282         XGWRECORDID property from the calendar component.
3283         (set_properties_from_cal_component): Range of priority value
3284         HIGH extended to include values 1 and 2.
3285         The X-EVOLUTION-GROUPWISE-ID is now referred as XGWRECORDID
3286         for consistency with the ITIP messages.
3287         (e_gw_item_to_cal_component) : Absence of due_date does not 
3288         invalidate the task component. Fixes #60926.
3289         (e_gw_connection_send_appointment),(e_gw_connection_create_appointment):
3290         Implemented.
3291         (e_gw_connection_get_freebusy_info):
3292         (e_gw_item_set_changes): Fixed compiler warnings.
3293         
3294         * backends/groupwise/e-cal-backend-groupwise-utils.h:
3295         Declarations for added functions.
3296         * backends/groupwise/e-cal-backend-groupwise.c: 
3297         (populate_cache) : Removed unused variables.
3298         (set_container_id): Extracted a function out of the code as it is
3299         used twice.
3300         (e_cal_backend_groupwise_create_object): Handle changes in the SOAP interface.
3301         The server now returns  a list of uids. This is to allow creation of recurring 
3302         calendar events.
3303         (e_cal_backend_groupwise_modify_object): Fix some leaks.
3304         (e_cal_backend_groupwise_remove_object), (receive_object),
3305         (send_object), (e_cal_backend_groupwise_send_objects): Use the newly created
3306         functions for handling group calendar items.
3307
3308 2004-07-12  Sivaiah Nallagatla   <snallagatla@novell.com>
3309
3310         * backends/groupwise/e-cal-backend-groupwise.c
3311         (form_uri) : read "use_ssl" property from the ESource
3312         and form the uri accordingly
3313         (connect_to_server) : when "use_ssl" is "when-possible"
3314         try with https first and then with http if that fails
3315
3316 2004-06-28  Chenthill Palanisamy <pchenthill@novell.com>
3317         
3318         Fixes #60463
3319         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3320         (e_gw_connection_get_freebusy_info):
3321         Added a timezone  argument and used it to convert the freebusy 
3322         times to default timezone.
3323
3324 2004-06-15  Harish Krishnaswamy  <kharish@novell.com>
3325
3326         Fixes #59352    
3327         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3328         (set_properties_from_cal_component), (e_gw_item_to_cal_component):
3329         Handle the organizer property of ecal and allow storing to and 
3330         from e-gw-item.
3331
3332 2004-06-14  Rodrigo Moya <rodrigo@novell.com>
3333
3334         Fixes #57088
3335
3336         * backends/contacts/e-cal-backend-contacts.c (source_group_added_cb):
3337         only add sources from local addressbook backends.
3338
3339 2004-06-14  Harish Krishnaswamy  <kharish@novell.com>
3340
3341
3342         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3343         (get_recur_instance), (resolve_tzid_cb) : add support for recurrences 
3344         in events.
3345         (set_properties_from_cal_component), (e_gw_item_to_cal_component),
3346         (e_gw_item_set_changes): Recipient_list handling code is now common to
3347         both events and todos.
3348         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache): Add
3349         recipientStatus to the view element.
3350         (receive_object): Send found_comp as argument to modify_object.
3351
3352 2004-06-11  Rodrigo Moya <rodrigo@novell.com>
3353
3354         * libedata-cal/e-cal-backend-sync.c (_e_cal_backend_remove_object): if
3355         the deletion is successful, check if the object still exists, in which
3356         case it means we removed an instance of a recurring event. Fixed
3357         memory leak also.
3358
3359         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
3360         return the old_object output argument in all cases.
3361
3362 2004-06-02  Rodrigo Moya <rodrigo@novell.com>
3363
3364         * libecal/e-cal.c (e_cal_generate_instances,
3365         e_cal_generate_instances_for_object, e_cal_get_alarms_in_range,
3366         e_cal_get_alarms_for_object): only allow values from 0 to time_t's
3367         maximum value.
3368
3369         * libecal/e-cal.h: added missing prototype.
3370
3371 2004-06-01  Rodrigo Moya <rodrigo@novell.com>
3372
3373         * libecal/e-cal.c (e_cal_generate_instances): moved all the logic...
3374         (generate_instances): ...here, so that we can specify a UID to
3375         generate instances only for that UID.
3376         (e_cal_generate_instances_for_object): use generate_instances
3377         function and specify the UID of the object.
3378
3379         * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_match_comp):
3380         added checks for arguments.
3381
3382 2004-06-01  Rodrigo Moya <rodrigo@novell.com>
3383
3384         * libecal/e-cal.c (e_cal_generate_instances_for_object,
3385         e_cal_generate_instances): allow -1 for the start and end times.
3386         (load_static_capabilities, add_instance): fixed warnings.
3387
3388 2004-06-01  JP Rosevear  <jpr@novell.com>
3389
3390         * libecal/*: revert accidental commit
3391
3392 2004-05-28  JP Rosevear  <jpr@novell.com>
3393
3394         Fixes #55524
3395         
3396         * backends/file/e-cal-backend-file.c
3397         (e_cal_backend_file_receive_objects): don't sanitize the
3398         component, we already check for valid timezones and the zones
3399         aren't merged in yet anyhow
3400
3401 2004-05-28  Rodrigo Moya <rodrigo@novell.com>
3402
3403         * libedata-cal/e-data-cal-factory.c (backend_last_client_gone_cb):
3404         disconnect from signals on the removed backend.
3405
3406 2004-05-28  Harish Krishnaswamy  <kharish@novell.com>
3407
3408
3409         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3410         (e_gw_item_to_cal_component): Throw in null checks on 
3411         mandatory fields to bypass crashes in e-d-s while the server 
3412         gets fixed.
3413
3414
3415 2004-05-27  Rodrigo Moya <rodrigo@novell.com>
3416
3417         * backends/http/e-cal-backend-http.c (retrieval_done): make sure
3418         we clean up the cache, or old events will always be kept.
3419
3420 2004-05-27  Rodrigo Moya <rodrigo@novell.com>
3421
3422         Fixes #58197
3423
3424         * libedata-cal/e-cal-backend.c (e_cal_backend_create_object,
3425         e_cal_backend_modify_object): removed assertions on method
3426         implementations, since backends can perfectly have unimplemented
3427         methods. Instead, notify the error.
3428
3429 2004-05-25  Sivaiah Nallagatla <snallagatla@novell.com>
3430
3431         * backends/groupwise/e-cal-backends-groupwise.c (form_uri) :
3432         new function to form the uri required for e_gw_connection
3433          (connect_to_server) : use form_uri instead of convert_uri
3434
3435 2004-05-25  Harish Krishnaswamy  <kharish@novell.com>
3436
3437         Fixes GW portion of #57218 and #54280
3438
3439         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3440         (start_freebusy_session): removed FIXME comments (the code had been 
3441         fixed much earlier).
3442         (e_gw_item_set_changes):use the SET_DELTA macro to get accept_level 
3443         changes.
3444         * backends/groupwise/e-cal-backend-groupwise.c:
3445         (e_cal_backend_groupwise_modify_object),
3446         (e_cal_backend_groupwise_remove_object),
3447         (e_cal_backend_groupwise_send_objects): set return arguments correctly.
3448         and removed dead code in remove_object.
3449
3450 2004-05-25  Rodrigo Moya <rodrigo@ximian.com>
3451
3452         * backends/groupwise/e-cal-backend-groupwise.c
3453         (e_cal_backend_groupwise_modify_object): return ObjectNotFound error
3454         instead of InvalidObject when the object is not found.
3455
3456 2004-05-22  Rodrigo Moya <rodrigo@ximian.com>
3457
3458         * backends/file/e-cal-backend-file.c (add_component): make sure we
3459         process correctly the detached instances.
3460         (match_object_sexp): deal with hash table entries not containing
3461         a full_object (ie, detached recurrences).
3462
3463 2004-05-21  JP Rosevear  <jpr@novell.com>
3464
3465         * backends/file/e-cal-backend-file.c
3466         (e_cal_backend_file_receive_objects): make sure we only handle the
3467         type of objects the backend is set up for plus timezones; directly
3468         add the objects rather than using other functions
3469
3470 2004-05-19  Chris Toshok  <toshok@ximian.com>
3471
3472         * backends/contacts/e-cal-backend-contacts.c (book_record_new):
3473         use new e_book_new/e_book_open apis.
3474
3475 2004-05-19  Rodrigo Moya <rodrigo@ximian.com>
3476
3477         Removes 100s of error dialogs as reported in #54211
3478
3479         * backends/http/e-cal-backend-http.c: added a flag to know when the
3480         backend has been opened.
3481         (reload_cb): set the "opened" flag to TRUE when we reload.
3482         (retrieval_done): only notify errors when opening the backend, not
3483         on each reload, or we'll get many error message dialogs when left
3484         running for a few hours.
3485
3486 2004-05-18  Harish Krishnaswamy  <kharish@novell.com>
3487
3488         Fixes #56320 and related timezone issues.
3489         Convert datetime from the Groupwise string format between icaltime
3490         directly w/o using time_t structures.
3491         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3492         (set_properties_from_cal_component),
3493         (e_gw_item_new_from_cal_component), (e_gw_item_to_cal_component),
3494         (e_gw_connection_send_appointment), (e_gw_item_set_changes):
3495         use the default_timezone info while performing the conversions.
3496         * backends/groupwise/e-cal-backend-groupwise-utils.h:
3497         * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache),
3498         (get_deltas), (connect_to_server),
3499         (e_cal_backend_groupwise_finalize), (e_cal_backend_groupwise_open),
3500         (e_cal_backend_groupwise_add_timezone):
3501         Add timezone to the cache and allow evolution to set the default timezone.
3502         (e_cal_backend_groupwise_set_default_timezone),
3503         (e_cal_backend_groupwise_create_object),
3504         (e_cal_backend_groupwise_modify_object), (receive_object),
3505         (send_object), (e_cal_backend_groupwise_init):
3506         * libedata-cal/e-cal-backend-cache.c:
3507         (e_cal_backend_cache_put_default_timezone),
3508         (e_cal_backend_cache_get_default_timezone):
3509         Store default timezone information in the cache so that eds remembers the
3510         client timezone information while populating the cache in the next session.
3511         Since the cache population happens while the calendar is still loading, evolution
3512         would not have had a chance to set the timezone yet.
3513         
3514         * libedata-cal/e-cal-backend-cache.h: Added get/put functions for
3515         default timezone.
3516
3517 2004-05-18  Rodrigo Moya <rodrigo@ximian.com>
3518
3519         * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): always
3520         use a valid timezone.
3521
3522         * libecal/e-cal-recur.c (cal_object_time_from_time): don't use invalid
3523         timezones.
3524
3525         * libecal/e-cal.c (e_cal_generate_instances): make sure we always have
3526         a default timezone.
3527
3528 2004-05-17  Rodney Dawes  <dobey@ximian.com>
3529
3530         * libecal/Makefile.am (libecal_la_LIBADD):
3531         * libedata-cal/Makefile.am (libedata_cal_la_LIBADD):
3532         Add $(EVOLUTION_CALENDAR_LIBS) to link to all the right dependencies
3533         so that the mono bindings will work correctly
3534
3535         Fixes #58615
3536
3537 2004-05-17  Rodrigo Moya <rodrigo@ximian.com>
3538
3539         Fixes #51412
3540
3541         * backends/file/e-cal-backend-file.c (remove_instance): re-add the
3542         modified objects to the top-level icalcomponent after removing
3543         instances.
3544         (e_cal_backend_file_remove_object): manage the CALOBJ_MOD_THIS case
3545         for an event with no RECURRENCE-ID.
3546
3547 2004-05-14  Rodrigo Moya <rodrigo@ximian.com>
3548
3549         Fixes #56870
3550
3551         * libedata-cal/e-cal-backend-sync.c (e_cal_backend_sync_create_object,
3552         e_cal_backend_sync_modify_object, e_cal_backend_sync_remove_object,
3553         e_cal_backend_sync_discard_alarm, e_cal_backend_sync_receive_objects,
3554         e_cal_backend_sync_send_objects): don't g_assert if the method is not
3555         implemented on the underlying backend, just return an UnsupportedMethod
3556         error.
3557
3558 2004-05-14  Rodrigo Moya <rodrigo@ximian.com>
3559         
3560         * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_func_make_time):
3561         added extra check for function arguments.
3562
3563         * libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_put_timezone):
3564         added missing implementation from recurreces-work-branch.
3565
3566         * libecal/e-cal-recur.c (e_cal_recur_generate_instances_of_rule):
3567         use the default timezone if we can't get timezones for the start
3568         and end dates.
3569
3570 2004-05-13  Rodrigo Moya <rodrigo@ximian.com>
3571
3572         Fixes #54094
3573
3574         * backends/file/e-cal-backend-file.c (e_cal_backend_file_modify_object):
3575         deal correctly with CALOBJ_MOD_THIS for master objects.
3576
3577 2004-05-12  Rodrigo Moya <rodrigo@ximian.com>
3578
3579         * libecal/e-cal.c (e_cal_generate_instances): fixed gtk-doc comments,
3580         and process correctly detached instances.
3581         (e_cal_generate_instances_for_object): new function.
3582         (e_cal_set_default_timezone): set the internal default timezone when
3583         the call to the backend is successful.
3584         (process_detached_instances): process correctly the detached instances.
3585
3586 2004-05-12  Harish Krishnaswamy  <kharish@novell.com>
3587
3588
3589         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3590         (set_properties_from_cal_component), (e_gw_item_to_cal_component),
3591         (e_gw_connection_get_freebusy_info), (e_gw_item_set_changes):
3592         Add implementation for modification of objects.
3593         * backends/groupwise/e-cal-backend-groupwise-utils.h:
3594         Add declaration for e_gw_item_set_changes.      
3595         * backends/groupwise/e-cal-backend-groupwise.c:
3596         (e_cal_backend_groupwise_set_default_timezone):
3597         Allow evo to set the timezone in the groupwise backend.
3598         (e_cal_backend_groupwise_modify_object):
3599         Modify implementation to use modifyItemRequest rather than
3600         a sendItem.
3601
3602 2004-05-07  JP Rosevear  <jpr@ximian.com>
3603
3604         Fixes #57908
3605         
3606         * libecal/e-cal-component.c (e_cal_component_set_organizer):
3607         prevent double frees
3608         (e_cal_component_set_organizer): ditto
3609         (e_cal_component_set_summary): ditto
3610
3611 2004-05-06  Harish Krishnaswamy  <kharish@novell.com>
3612
3613         * libecal/e-cal.c: (load_static_capabilities): assign capabilities
3614         to ecal->capabilities so that it need not be computed repeatedly.
3615         * backends/groupwise/e-cal-backend-groupwise.c: 
3616         (populate_cache) : added message to view element to recieve 
3617         message bodies as plain text (default).
3618         (connect_to_server) : the Tasks folder is also Calendar and 
3619         not Checklist in GW server.
3620         (e_cal_backend_groupwise_get_static_capabilities) :
3621         Added CAL_STATIC_CAPABILITY_SAVE_SCHEDULES.
3622
3623 2004-05-04  Harish Krishnaswamy  <kharish@novell.com>
3624
3625         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3626         (set_properties_from_cal_component),
3627         (e_gw_item_new_from_cal_component), (e_gw_item_to_cal_component):
3628         Patch the FIXMEs in the code handling recipient_list and message bodies
3629         in events. This also resolves #57204 and 57883.
3630         
3631         
3632 2004-05-03  William Jon McCann  <mccann@jhu.edu>
3633
3634         * libecal/e-cal-time-util.h: Add missing G_BEGIN_DECLS and G_END_DECLS
3635
3636 2004-05-04  Harish Krishnaswamy  <kharish@novell.com>
3637
3638         Fixes #55922
3639         
3640         * libedata-cal/e-data-cal-factory.c: (impl_CalFactory_getCal):
3641         Hash the backends based on the uri 'and' the type (Both calendar
3642         and tasks for GW share the same uri but need different e-data-cal
3643         instances.
3644
3645 2004-05-03  JP Rosevear  <jpr@ximian.com>
3646
3647         Partial fix for #57218
3648         
3649         * libecal/e-cal.c (cal_objects_sent_cb): copy the object string
3650         (e_cal_get_default_object): check the status explicitly
3651         (e_cal_get_object): ditto
3652         (e_cal_get_timezone): ditto
3653         (e_cal_send_objects): parse the string here so we can handle bad
3654         parsing properly
3655
3656         * libecal/e-cal-marshal.list: replace marshaller signature
3657
3658         * libecal/e-cal-listener.h: update signal proto
3659
3660         * libecal/e-cal-listener.c (impl_notifyObjectsSent): send back
3661         just the text like other similar routines
3662         (e_cal_listener_class_init): send back a string as the third arg
3663         in the send_objects signal
3664
3665 2004-04-30  Dan Winship  <danw@ximian.com>
3666
3667         * libecal/e-cal-component.c (get_attendee_list): Fill in some
3668         default values to avoid libical assertions later. Also, fix some
3669         really awful cut+pastos
3670
3671 2004-04-28  JP Rosevear  <jpr@ximian.com>
3672
3673         * tests/ecal/test-search.c: something to run searches with for
3674         test purposes
3675
3676         * tests/ecal/Makefile.am: build test search 
3677
3678 2004-04-28  JP Rosevear  <jpr@ximian.com>
3679
3680         Fixes #57080
3681         
3682         * libedata-cal/e-cal-backend.c
3683         (e_cal_backend_notify_object_modified): make sure the item was
3684         actually in the query before so we don't send bogus removes
3685
3686 2004-04-27  Harish Krishnaswamy  <kharish@novell.com>
3687
3688         Fixes #56535
3689
3690         * backends/groupwise/e-cal-backend-groupwise-utils.c:
3691         (set_properties_from_cal_component), (e_gw_item_to_cal_component):
3692         Added support for saving Alarms in the GW server as well as 
3693         read the alarm information during retrieval.
3694
3695
3696 2004-04-23  Jeffrey Stedfast  <fejj@ximian.com>
3697
3698         * libedata-cal/e-data-cal.c (e_data_cal_notify_changes): Fixed a
3699         c/p bug. Don't call notifyDefaultTimezoneSet, we want to
3700         notifyChanges! Took me long enough to track this little bugger
3701         down.
3702
3703 2004-04-21  Jeffrey Stedfast  <fejj@ximian.com>
3704
3705         * backends/file/e-cal-backend-file.c
3706         (e_cal_backend_file_receive_objects): Pass the address of calobj
3707         to file_create_object().
3708         (e_cal_backend_file_compute_changes): "Gracefully" handle a NULL
3709         return from e_xmlhash_new().
3710
3711 2004-04-20  JP Rosevear  <jpr@ximian.com>
3712
3713         * libecal/e-cal.c (open_async): emit the open signal in an idle
3714         loop
3715         (async_signal_idle_cb): emit the signal and free the data
3716
3717 2004-04-16  Harish Krishnaswamy  <kharish@novell.com>
3718         
3719         Fixes #55802
3720         
3721         * libecal/e-cal.c: (open_calendar): Create and lock
3722         op mutex and unlock ecal before attempting to authenticate.
3723         (open_async, async_auth_idle_cb,async_auth_func_cb): implement 
3724         async authentication to calendar.
3725         
3726
3727 2004-04-15  JP Rosevear  <jpr@ximian.com>
3728
3729         * libecal/e-cal.c (e_cal_add_timezone): do a little more sanity
3730         checking on what we send
3731
3732 2004-04-12  Sarfraaz Ahmed <asarfraaz@novell.com>
3733
3734         Fixes #56517
3735                                                                                 
3736         * libecal/e-cal.c (e_cal_add_timezone): Added a check for icalcomponent
3737         structure. Return FALSE if icalcomponent is NULL.
3738
3739 2004-04-12  Harish K <kharish@novell.com>
3740
3741         Fixes #53926
3742         
3743         * backends/groupwise/e-cal-backend-groupwise-utils.c
3744         (e_gw_item_to_cal_component) : set the tzid to "UTC"
3745         while setting the dueDate.
3746                 
3747         
3748 2004-04-08  Rodrigo Moya <rodrigo@ximian.com>
3749
3750         * backends/groupwise/e-cal-backend-groupwise.c
3751         (e_cal_backend_groupwise_get_static_capabilities): add the 
3752         ONE_ALARM_ONLY static capability.
3753
3754 2004-04-06  Harish K <kharish@novell.com>
3755         
3756         Fixes #55169
3757
3758         * backends/groupwise/e-cal-backend-groupwise-utils.c
3759         (e_gw_connection_get_freebusy_info) : Use icalproperty
3760         to add free/busy data to ECalComponent.
3761         
3762 2004-04-05  Rodrigo Moya <rodrigo@ximian.com>
3763
3764         * backends/groupwise/e-cal-backend-groupwise.c
3765         (e_cal_backend_groupwise_remove_object): Use correct types for
3766         e_cal_backend_groupwise_get_object's return value.
3767
3768 2004-04-03  JP Rosevear  <jpr@ximian.com>
3769
3770         Fixes #56416
3771         
3772         * backends/contacts/e-cal-backend-contacts.c
3773         (e_cal_backend_contacts_get_timezone): implement
3774         (e_cal_backend_contacts_add_timezone): ditto
3775         (e_cal_backend_contacts_set_default_timezone): ditto
3776         (free_zone): free a timezone
3777         (e_cal_backend_contacts_finalize): destroy the zones hash table
3778         (e_cal_backend_contacts_class_init): add new method
3779         implementations
3780         (e_cal_backend_contacts_init): set up zones hash table
3781
3782 2004-04-02  Rodrigo Moya <rodrigo@ximian.com>
3783
3784         Fixes #51412
3785
3786         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
3787         support being called with CALOBJ_MOD_THIS on the top level component.
3788
3789 2004-04-02  Rodrigo Moya <rodrigo@ximian.com>
3790
3791         Fixes #55719
3792
3793         * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
3794         use correct type for populate_cache's return value.
3795         (e_cal_backend_groupwise_set_mode): use correct type for
3796         connect_to_server's return value.
3797
3798 2004-03-30  JP Rosevear <jpr@ximian.com>
3799
3800         * backends/file/e-cal-backend-file.c: allow debugging code to be
3801         turned on and off easily
3802
3803         * backends/http/e-cal-backend-http.c: ditto
3804         
3805 2004-03-31  JP Rosevear <jpr@ximian.com>
3806
3807         Fixes #56111
3808         
3809         * backends/contacts/e-cal-backend-contacts.c (create_component):
3810         take a uid for the icalcomp
3811         (create_birthday): create a uid from the contact uid and a
3812         birthday designator
3813         (create_anniversary): ditto for anniversary
3814         (e_cal_backend_contacts_get_cal_address): set the address to NULL
3815         when returning success
3816         (e_cal_backend_contacts_get_ldap_attribute): ditto for the
3817         attribute
3818         (e_cal_backend_contacts_remove): can't remove a read only calendar
3819         (e_cal_backend_contacts_get_object): implement
3820         
3821 2004-03-31  JP Rosevear <jpr@ximian.com>
3822
3823         Fixes #54713
3824         
3825         * libecal/e-cal.c (e_cal_get_object): only try to parse the string
3826         if the status is good
3827         (e_cal_get_timezone): ditto
3828         (e_cal_get_default_object): ditto
3829         
3830 2004-03-29  Rodrigo Moya <rodrigo@ximian.com>
3831
3832         * libecal/e-cal.c (e_cal_generate_instances): added support for dealing
3833         with detached instances.
3834         (process_detached_instances): replace all generated instances with the
3835         detached ones.
3836
3837 2004-03-29 Harish K <kharish@novell.com>
3838
3839         * backends/groupwise/e-cal-backend-utils.c 
3840         (start_freebusy_session) : send UTC time to server instead of
3841         floating time. remove namespaces to elements in request messages.
3842         (e_gw_connection_get_freebusy_info) :send f/b information thro'
3843         ECalComponentAttendee structure -not ECalComponentOrganizer.
3844         
3845 2004-03-26  JP Rosevear <jpr@ximian.com>
3846
3847         * libecal/e-cal.h: add proto
3848         
3849         * libecal/e-cal.c (e_cal_get_source_type): accessor
3850
3851 2004-03-26  Rodrigo Moya <rodrigo@ximian.com>
3852
3853         * backends/groupwise/e-cal-backend-groupwise.c
3854         (e_cal_backend_groupwise_create_object): replace the inbox container ID
3855         in the ID returned by sendItemResponse with our container ID.
3856         (e_cal_backend_groupwise_remove_object): if the object does not have the
3857         GW server ID, use the iCalID property to remove it.
3858
3859 2004-03-26  Rodrigo Moya <rodrigo@ximian.com>
3860         
3861         * backends/groupwise/e-cal-backend-groupwise-utils.c
3862         (e_gw_connection_send_appointment): set the container ID on the
3863         EGwItem returned by e_gw_item_new_from_cal_component.
3864
3865 2004-03-25  William Jon McCann  <mccann@jhu.edu>
3866
3867         * backends/http/e-cal-backend-http.c (retrieval_done):
3868         (e_cal_backend_http_get_default_object): use the same component
3869         kind as the backend.
3870
3871 2004-03-25  Rodrigo Moya <rodrigo@ximian.com>
3872
3873         * backends/groupwise/e-cal-backend-groupwise.c
3874         (e_cal_backend_groupwise_create_object): add the X-EVOLUTION-GROUPWISE-ID
3875         property to the newly-created component.
3876
3877 2004-03-25  Rodrigo Moya <rodrigo@ximian.com>
3878
3879         * libedata-cal/e-cal-backend-sync.[ch]
3880         (e_cal_backend_sync_create_object): made the 'calobj' argument to
3881         be inout, so that the caller gets the modified component, not the
3882         original one sent to the backend.
3883         (_e_cal_backend_sync_create_object): ditto, and notify listeners with
3884         the modified calobj.
3885
3886         * backends/groupwise/e-cal-backend-groupwise.c
3887         (e_cal_backend_groupwise_create_object):
3888         * backends/file/e-cal-backend-file.c (e_cal_backend_file_create_object):
3889         adapted to changes in ECalBackendSync, and return the modified object
3890         to the caller.
3891
3892 2004-03-22  Rodrigo Moya <rodrigo@ximian.com>
3893
3894         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]
3895         (e_gw_connection_send_appointment): added a 'id' argument, to be
3896         passed to e_gw_connection_send_item.
3897
3898         * backends/groupwise/e-cal-backend-groupwise.c
3899         (e_cal_backend_groupwise_create_object,
3900         e_cal_backend_groupwise_modify_object, send_object): added extra
3901         argument to e_gw_connection_send_appointment.
3902
3903 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
3904
3905         * backends/groupwise/e-cal-backend-groupwise.[ch]
3906         (e_cal_backend_groupwise_notify_error_code): new function.
3907         (populate_cache, get_deltas, connect_to_server,
3908         e_cal_backend_groupwise_open): notify clients of any error.
3909
3910 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
3911
3912         * backends/groupwise/e-cal-backend-groupwise-utils.c
3913         (start_freebusy_session): don't use the "types:" prefix for the
3914         <user> SOAP element.
3915
3916 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
3917
3918         * backends/groupwise/e-cal-backend-groupwise.c
3919         (e_cal_backend_groupwise_remove_object): remove the object from the
3920         cache in the remote case also.
3921
3922 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
3923
3924         * backends/groupwise/e-cal-backend-groupwise.c
3925         (e_cal_backend_groupwise_remove_object): if we don't find the
3926         X-EVOLUTION-GROUPWISE-ID property, the object didn't come from
3927         the server, so don't try to remove it.
3928
3929 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
3930
3931         * libedata-cal/e-cal-backend-cache.[ch]
3932         (e_cal_backend_cache_get_timezone, e_cal_backend_cache_put_timezone,
3933         e_cal_backend_cache_remove_timezone): new functions to support
3934         timezones in the cache.
3935         (e_cal_backend_cache_get_components): only append to the returned
3936         list the VEVENT's and VTODO's components.
3937         (e_cal_backend_cache_init): create a hash table to store all the
3938         icaltimezone objects we create in e_cal_backend_cache_get_timezone.
3939         (e_cal_backend_cache_finalize): free the timezones hash table.
3940
3941         * backends/groupwise/e-cal-backend-groupwise.c
3942         (e_cal_backend_groupwise_remove_object): remove object based on the
3943         Groupwise item ID, not the iCalendar ID.
3944
3945 2004-03-18  JP Rosevear <jpr@ximian.com>
3946
3947         * backends/groupwise/e-cal-backend-groupwise-utils.c
3948         (e_gw_connection_get_freebusy_info): send back "freeBusySessionId"
3949         rather than "session"
3950
3951 2004-03-18  JP Rosevear <jpr@ximian.com>
3952
3953         * backends/groupwise/e-cal-backend-groupwise-utils.c
3954         (start_freebusy_session): put the xml prefixes back in, they
3955         weren't the issue
3956
3957 2004-03-18  Rodrigo Moya <rodrigo@ximian.com>
3958
3959         * backends/groupwise/e-cal-backend-groupwise-utils.c
3960         (set_properties_from_cal_component): set the GW item ID based on the
3961         X-EVOLUTION-GROUPWISE-ID property.
3962         (e_gw_item_to_cal_component): add the above property to the created
3963         ECalComponent, and use our iCalendar ID to set the "iCalId" property.
3964
3965 2004-03-18  JP Rosevear <jpr@ximian.com>
3966
3967         * backends/groupwise/e-cal-backend-groupwise-utils.c
3968         (start_freebusy_session): remove xml prefixes
3969
3970 2004-03-18  JP Rosevear <jpr@ximian.com>
3971
3972         * backends/groupwise/e-cal-backend-groupwise-utils.c
3973         (start_freebusy_session): list the the addresses in the <email>
3974         attribute
3975
3976 2004-03-18  JP Rosevear <jpr@ximian.com>
3977
3978         * libecal/e-cal.c: add e_return_error macro to fail more
3979         gracefully as per ebook
3980
3981 2004-03-18  Rodrigo Moya <rodrigo@ximian.com>
3982
3983         * backends/groupwise/e-cal-backend-groupwise.c
3984         (e_cal_backend_groupwise_create_object,
3985         e_cal_backend_groupwise_modify_object): don't update the cache when we
3986         get an error from the server.
3987
3988 2004-03-17  Rodrigo Moya <rodrigo@ximian.com>
3989
3990         Fixes #55719
3991
3992         * backends/groupwise/e-cal-backend-groupwise.c
3993         (e_cal_backend_groupwise_get_cal_address): deal with online/offline
3994         modes.
3995         (e_cal_backend_groupwise_finalize): free new private field.
3996
3997 2004-03-16 Harish K <kharish@novell.com>
3998
3999         * libecal/e-cal.c : Move open_calendar call into async_idle_cb
4000         and rearrange mutex lock/unlock sequences. This fixes the calendar 
4001         authentication problems observed while using the Password Dialog.
4002
4003 2004-03-15  Rodrigo Moya <rodrigo@ximian.com>
4004
4005         * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): expand
4006         recurrences for the given time range to be sure that we return the
4007         correct events.
4008         (check_instance_time_range_cb): callback to check the expanded recurrences.
4009
4010 2004-03-15  Rodney Dawes  <dobey@ximian.com>
4011
4012         * libecal/libecal-1.0.pc.in:
4013         * libedata-cal/libedata-cal-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
4014         the libbonobo dependency
4015
4016 2004-03-14  Harish K <kharish@novell.com>
4017
4018         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
4019         Update calls to e_gw_connection_get_items with the new prototype.
4020
4021 2004-03-11  Rodrigo Moya <rodrigo@ximian.com>
4022
4023         * libedata-cal/e-data-cal.c (e_data_cal_notify_objects_sent): guard
4024         against sending NULL strings to CORBA.
4025
4026         * backends/contacts/e-cal-backend-contacts.c
4027         (e_cal_backend_contacts_receive_objects,
4028         e_cal_backend_contacts_send_objects): return PermissionDenied error.
4029
4030 2004-03-09  JP Rosevear <jpr@ximian.com>
4031
4032         Fixes #55389
4033         
4034         * backends/file/e-cal-backend-file.c
4035         (e_cal_backend_file_send_objects): return the calendar object
4036         properly
4037
4038 2004-03-09  Rodrigo Moya <rodrigo@ximian.com>
4039
4040         * libecal/e-cal.c (e_cal_resolve_tzid): don't default to UTC timezone,
4041         the default timezone is used by the timezone look up code.
4042
4043 2004-03-09  Thomas Mirlacher <dent@cosy.sbg.ac.at>
4044
4045         Fixes #53885
4046
4047         * backends/contacts/e-cal-backend-contacts.c:
4048         intermediate fix for recurring entries starting before 1970
4049         set the dtend for making valid whole-day entries
4050
4051 2004-03-05  Rodrigo Moya <rodrigo@ximian.com>
4052
4053         Fixes #54280
4054
4055         * backends/groupwise/e-cal-backend-groupwise.c
4056         (e_cal_backend_groupwise_send_objects): added missing implementation.
4057
4058 2004-03-05 Harish K <kharish@novell.com>
4059
4060         * backends/groupwise/e-cal-backend-groupwise-utils.c :
4061         timezone values in ECalDateComponent structures should be
4062         set to "UTC" for GW items.
4063         
4064 2004-03-01  Rodrigo Moya <rodrigo@ximian.com>
4065
4066         Fixes #33243
4067
4068         * libedata-cal/e-cal-backend-sexp.c (matches_location): new function
4069         to check if a component's location matches a string.
4070         (matches_any): call matches_location also.
4071         (func_contains): added support for searching the location also.
4072
4073 2004-03-01  Rodrigo Moya <rodrigo@ximian.com>
4074
4075         * idl/Evolution-DataServer-Calendar.idl: added new arguments to the
4076         notifyObjectsSent method for backends to return the list of users and
4077         events for which it operated.
4078
4079         * libedata-cal/e-data-cal.[ch] (e_data_cal_notify_objects_sent): added
4080         new argument and call the listener's notifyObjectsSent method with
4081         a GNOME_Evolution_Calendar_UserList.
4082
4083         * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_send_objects,
4084         _e_cal_backend_send_objects): added new arguments.
4085
4086         * backends/file/e-cal-backend-file.c (e_cal_backend_file_send_objects):
4087         * backends/http/e-cal-backend-http.c (e_cal_backend_http_send_objects):
4088         * backends/contacts/e-cal-backend-contacts.c
4089         (e_cal_backend_contacts_send_objects):
4090         * backends/groupwise/e-cal-backend-groupwise.c
4091         (e_cal_backend_groupwise_send_objects): adapted to changes in
4092         ECalBackend/ECalBackendSync API.
4093
4094         * backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects,
4095         e_cal_backend_file_send_objects): removed wrong return statement.
4096
4097         * libecal/e-cal-marshal.list: added new marshaller.
4098
4099         * libecal/e-cal.[ch] (e_cal_send_objects): get the user list from the
4100         operation's result.
4101         (cal_objects_sent_cb): added the new arguments and copy them to the
4102         operation's result.
4103
4104         * libecal/e-cal-listener.[ch]: added new arguments to "send_objects"
4105         signal.
4106         (impl_notifyObjectsSent): added UserList argument to CORBA method, and
4107         convert the CORBA user list to a GList to be passed to the signal
4108         handlers.
4109         (e_cal_listener_class_init): added new arguments to "send_objects"
4110         signal.
4111
4112 2004-02-26  JP Rosevear <jpr@ximian.com>
4113
4114         * tests/ecal/test-ecal.c: make EXPECTED a macro so it compiles
4115
4116 2004-02-26 Harish K <kharish@novell.com>
4117
4118         * tests/ecal/test-ecal.c : Added implementation of 
4119         test cases.
4120         * (tests/ecal/test-runner.sh, tests/ecal/cleanup.sh
4121            tests/ecal/testdata.ics) : Added test scripts and test data.
4122         * tests/ecal/Makefile.am : Add scripts to EXTRA_DIST.
4123
4124 2004-02-23  JP Rosevear <jpr@ximian.com>
4125
4126         * backends/groupwise/Makefile.am: Add includes for srcdir !=
4127         builddir
4128
4129         * backends/file/Makefile.am: ditto
4130
4131         * backends/contacts/Makefile.am: ditto
4132
4133         * libedata-cal/Makefile.am: ditto
4134
4135         * libecal/Makefile.am: ditto
4136
4137         * tests/ecal/Makefile.am: ditto
4138
4139 2004-02-17 Harish K <kharish@novell.com>
4140         * libecal/e-cal.c : 
4141         (e_cal_new_system_calendar, e_cal_new_system_tasks) : arguments
4142         to g_build_filename should be NULL terminated.
4143
4144 2004-02-12  Chris Toshok  <toshok@ximian.com>
4145
4146         * backends/contacts/e-cal-backend-contacts.c (book_record_new):
4147         quiet the compiler, and free the list of requested fields after
4148         the e_book_get_book_view call.
4149         (e_cal_backend_contacts_init): use e_book_get_addressbooks instead
4150         of using gconf and hardcoding the sourcelist xml key.
4151
4152 2004-02-10  Rodrigo Moya <rodrigo@ximian.com>
4153
4154         * backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects):
4155         switch wrongly-placed creation/modification of objects.
4156
4157 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
4158
4159         * backends/groupwise/e-cal-backend-groupwise-utils.c
4160         (set_properties_from_cal_component, e_gw_item_to_cal_component):
4161         adapted to changes in EGwItem.
4162
4163         * libecal/e-cal.c (e_cal_open_async): no need to make the thread joinable.
4164
4165 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
4166
4167         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]: new files
4168         to contain all calendar-specific code from libegroupwise.
4169         (e_gw_item_new_from_cal_component, e_gw_item_to_cal_component,
4170         e_gw_connection_send_appointment): new functions.
4171
4172         * backends/groupwise/e-cal-backend-groupwise.c: include new header
4173         file.
4174
4175 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
4176
4177         * backends/groupwise/create-account.c:
4178         * backends/groupwise/soap-test.c:
4179         * backends/groupwise/e-gw-*: moved to $top_srcdir/servers/groupwise.
4180
4181         * backends/groupwise/Makefile.am: removed files and don't build test
4182         programs.
4183
4184 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
4185
4186         * backends/groupwise/e-gw-connection.c (parse_response_status):
4187         "Status" is now "status".
4188
4189 2004-02-04  JP Rosevear <jpr@ximian.com>
4190
4191         * libecal/e-cal.h: update proto
4192
4193         * libecal/e-cal.c (async_idle_cb): return FALSE to remove the idle
4194         handler
4195         (get_default): take an auth func and use it 
4196         (e_cal_open_default): ditto
4197
4198 2004-02-04  JP Rosevear <jpr@ximian.com>
4199
4200         * libecal/e-cal.h: redo protos
4201
4202         * libecal/e-cal.c (e_cal_open_default): open the default ecal
4203         based on type
4204         (e_cal_set_default): set the default based on type
4205         (e_cal_set_default_source): ditto
4206         (e_cal_get_sources): get the source list based on type
4207
4208 2004-02-04  Rodrigo Moya <rodrigo@ximian.com>
4209
4210         * libecal/e-cal.c (open_calendar): new function created from
4211         e_cal_open, without signal emissions.
4212         (e_cal_open): call open_calendar() and emit signals.
4213         (e_cal_open_async): changed to use a thread instead
4214         of an idle callback.
4215         (open_async): converted to a GThreadFunc, call open_calendar and
4216         setup idle callback to emit the "cal_opened" signal.
4217         (async_idle_cb): idle callback, notify listeners with the
4218         "cal_opened" signal and free ECalAsyncData.
4219
4220         * backends/file/e-cal-backend-file.c: store an ordered list of all
4221         detached recurrences, as well as the hash table, for each object.
4222         (free_object): free the recurrences list, and the object's data.
4223         (add_component, remove_instance): add the recurrences to the
4224         recurrences list also.
4225         (e_cal_backend_file_modify_object): remove the recurrence from the
4226         list also, and it to the list when adding it to the hash table.
4227         (remove_object_instance_cb): remove the recurrences from the list
4228         also.
4229         (e_cal_backend_file_receive_objects): remove cancelled meetings from the
4230         received toplevel component before merging it. Add/Update received
4231         objects approppriately for PUBLISH/REQUEST/REPLY.
4232
4233 2004-02-04  Rodrigo Moya <rodrigo@ximian.com>
4234
4235         * libecal/e-cal.c (open_async): g_object_unref the ECal, not the
4236         ECalAsyncData structure.
4237
4238 2004-02-03  Rodney Dawes  <dobey@ximian.com>
4239
4240         * backends/http/e-cal-backend-http.c: Don't keep a global SoupMessage
4241         (e_cal_backend_http_fianlize): Abort the session, as we may have
4242         multiple messages running
4243         (webcal_to_http_method): Return a copy if we aren't parsing a webcal:,
4244         as there is no need to return NULL, since we just check and copy the
4245         original anyway
4246         (retrieval_done): Handle redirection, and don't rely on a global
4247         SoupMessage for things, and don't try to set the SoupMessage to NULL
4248         (begin_retrieval_cb): Allow multiple messages, and disable automatic
4249         redirect handling, as we need to handle it ourselves
4250         (maybe_start_reload_timeout): We want minutes, not seconds, so we need
4251         to multiply the refresh value by 60000 instead of 1000
4252
4253 2004-02-03  Dan Winship  <danw@ximian.com>
4254
4255         * backends/http/e-cal-backend-http.c (e_cal_backend_http_finalize,
4256         retrieval_done): Don't unref the soup message; that happens
4257         automatically after the callback runs. #53645
4258
4259 2004-02-03  Harish K <kharish@novell.com>
4260
4261         * backends/groupwise/e-cal-backend-groupwise.c : 
4262         added get_deltas function as the callback to update cache.
4263         * backends/groupwise/e-gw-connection.[ch] (parse_response_status):
4264         Removed UpdateCacheHandle structure as
4265         the callback is now local to e-cal-backend-groupwise.c
4266         (e_gw_connection_get_deltas) : modified  the function to return 
4267         list of EGwItems.
4268         (set_attendee_list_from_soap_parameter) : moved to EGwItem.
4269         * backends/groupwise/e-gw-item.c : Added attendee_list to priv
4270         structure and updated e_gw_item_dispose to free it.
4271         (e_gw_item_new_from_soap_parameter) : added code to parse 'changes'
4272         element in item.
4273         
4274 2004-02-03  Chris Toshok  <toshok@ximian.com>
4275
4276         * backends/groupwise/e-gw-connection.c (parse_response_status):
4277         E_GW_CONNECTION_BAD_PARAMETER ->
4278         E_GW_CONNECTION_STATUS_BAD_PARAMETER.
4279
4280 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4281
4282         * backends/groupwise/e-gw-connection.[ch] (parse_response_status):
4283         added new error code.
4284
4285 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4286
4287         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
4288         add all retrieved items to the cache, since calendar and tasks
4289         both use the same cache file.
4290         (e_cal_backend_groupwise_get_object,
4291         e_cal_backend_groupwise_get_object_list): only return items of the
4292         same kind as the backend.
4293         (e_cal_backend_groupwise_create_object): only allow storing of
4294         items of the same kind as the backend.
4295
4296 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4297
4298         * backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
4299         fixed argument ordering in call to e_gw_message_write_string_parameter.
4300
4301 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4302
4303         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
4304         changed to have an ECalBackendGroupwise as argument, and only add
4305         to the cache objects of the same kind as the backend.
4306         (connect_to_server): pass the ECalBackendGroupwise to populate_cache.
4307
4308         * backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent):
4309         set altrep to NULL on ECalComponentText's.
4310
4311 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4312
4313         * backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent): moved
4314         calls to e_cal_component_set_new_vtype up, so that the internal
4315         icalcomponent gets created. Added missing 'break' statement.
4316
4317 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4318
4319         * backends/groupwise/e-gw-connection.c
4320         (e_gw_connection_get_freebusy_info): fixed warning.
4321
4322         * backends/groupwise/e-cal-backend-groupwise.c
4323         (e_cal_backend_groupwise_remove_object): pass the container_id to
4324         e_gw_connection_remove_item.
4325
4326 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
4327
4328         * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
4329         set the ESource's name to the name of the folder.
4330
4331 2004-02-01  JP Rosevear <jpr@ximian.com>
4332
4333         * libecal/e-cal.h: order the signals more sensibly
4334
4335         * libecal/e-cal.c (destroy_factories): use G_STRLOC
4336         (categories_changed_cb): set the size of the array so the length
4337         is set
4338         (e_cal_init): remove extra listener args, listen for new signals
4339
4340         * libecal/e-cal-marshal.list: add signal marshaller
4341
4342         * libecal/e-cal-listener.h: add new signals, remove function
4343         callback protos, update protos
4344
4345         * libecal/e-cal-listener.c (impl_notifyErrorOccurred): emit error
4346         signal
4347         (impl_notifyCategoriesChanged): emit categories changed signal
4348         (e_cal_listener_init): remove dead initializations
4349         (e_cal_listener_finalize): remove dead finalizations
4350         (e_cal_listener_class_init): add category and error signals
4351         (e_cal_listener_construct): remove error and category function
4352         params
4353         (e_cal_listener_new): ditto
4354
4355 2004-01-31  JP Rosevear  <jpr@ximian.com>
4356
4357         * libecal/e-cal.c (e_cal_is_read_only): return a proper GError and
4358         boolean
4359
4360         * backends/contacts/e-cal-backend-contacts.c
4361         (e_cal_backend_contacts_get_type): remove debug statements
4362         
4363 2004-01-30  Radek Doulik  <rodo@ximian.com>
4364
4365         * backends/contacts/e-cal-backend-contacts.c (contact_record_new):
4366         make sure anniversary/birthday components were created before
4367         using them
4368         (contact_record_free): ditto
4369         (contact_record_cb): ditto
4370
4371 2004-01-30  Rodrigo Moya <rodrigo@ximian.com>
4372
4373         * backends/http/Makefile.am: LOG_DOMAIN is ...http, not ...file.
4374
4375         * backends/http/e-cal-backend-http.c (reaload_cb): don't start a new
4376         updload if we're already uploading.
4377
4378 2004-01-29  Hans Petter Jansson  <hpj@ximian.com>
4379
4380         * backends/http/e-cal-backend-http.c (retrieval_done): Clear the
4381         is_loading flag.
4382         (begin_retrieval_cb): Set the is_loading flag, maybe start the reload
4383         timeout.
4384         (reload_cb): Implement.
4385         (maybe_start_reload_timeout): Implement.
4386         (e_cal_backend_http_open): Init reload timeout ID.
4387
4388 2004-01-29  Rodrigo Moya <rodrigo@ximian.com>
4389
4390         * backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
4391         write all properties to the message.
4392
4393 2004-01-29  Rodrigo Moya <rodrigo@ximian.com>
4394
4395         * backends/groupwise/e-gw-item.[ch] (e_gw_item_new_from_soap_parameter,
4396         e_gw_item_to_cal_component, e_gw_item_get_id, e_gw_item_set_id,
4397         e_gw_item_get_creation_date, e_gw_item_set_creation_date,
4398         e_gw_item_get_start_date, e_gw_item_set_start_date,
4399         e_gw_item_get_classification, e_gw_item_set_classification,
4400         e_gw_item_get_accept_level, e_gw_item_set_accept_level,
4401         e_gw_item_get_subject, e_gw_item_set_subject,
4402         e_gw_item_get_priority, e_gw_item_set_priority,
4403         e_gw_item_get_message, e_gw_item_set_message,
4404         e_gw_item_get_completed, e_gw_item_set_completed,
4405         e_gw_item_get_due_date, e_gw_item_set_due_date,
4406         e_gw_item_get_end_date, e_gw_item_set_end_date,
4407         e_gw_item_get_place, e_gw_item_set_place): new functions.
4408         (e_gw_item_new_from_cal_component): renamed. Don't keep the
4409         ECalComponent, there's no need for it.
4410         (append_appointment_properties): don't use the private ECalComponent,
4411         it's not stored anymore.
4412         (e_gw_item_dispose): free all properties.
4413         (e_gw_item_append_to_soap_message): added support for tasks.
4414
4415         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
4416         (e_gw_connection_send_appointment): use
4417         e_gw_item_new_from_cal_component.
4418         (get_e_cal_component_from_soap_parameter, get_evo_date_from_string):
4419         removed.
4420         (e_gw_item_get_deltas, update_cache_item): disabled until migrated to
4421         use EGwItem's.
4422         (e_gw_connection_get_date_from_string): new function.
4423
4424         * backends/groupwise/e-gw-container.c (e_gw_container_finalize): fixed
4425         warnings.
4426
4427 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
4428
4429         * backends/groupwise/e-gw-item.c: added missing header.
4430
4431 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
4432
4433         Fixes #53465
4434
4435         * libecal/e-cal.c (e_cal_get_error_message): fixed typo.
4436
4437 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
4438
4439         * backends/groupwise/e-gw-item.[ch]
4440         (e_gw_item_append_to_soap_message): new function.
4441
4442         * backends/groupwise/e-gw-connection.c (e_gw_connection_send_item):
4443         finished implementation.
4444
4445 2004-01-28 Harish K <kharish@novell.com>
4446
4447         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
4448         Pass the correct arguments to the callback function 
4449         * calendar/backends/groupwise/e-gw-connection.c :
4450         (e_gw_connection_get_container_id) : Initialize container_list.
4451         (e-gw-connection_get_deltas) : fixed the prototype to match
4452         the callback prototype
4453         (set_attendee_list_from_soap_param): modified 
4454         get_attendee_list_from_soap_param to update calendar component
4455         within the same function.
4456         (e-gw-connection_get_items) : check item types before creating
4457         e-cal-components.
4458         * calendar/backends/groupwise/e-gw-connection.h : added 
4459         CacheUpdateHandle structure. 
4460
4461 2004-01-28  JP Rosevear <jpr@ximian.com>
4462
4463         * libecal/e-cal.h: add protos
4464
4465         * libecal/e-cal.c (e_cal_new_system_calendar): return a pointer to
4466         the system calendar
4467         (e_cal_new_system_tasks): ditto for tasks
4468         (get_default): gets the default calendar/tasks
4469         (e_cal_get_default_calendar): gets the default calendar
4470         (e_cal_get_default_tasks): ditto for tasks
4471         (e_cal_set_default_calendar): sets the default calendar
4472         (e_cal_set_default_tasks): ditto for tasks
4473         (set_default_source): set the default calendar/tasks source
4474         (e_cal_set_default_calendar_source): set the default calendar
4475         source
4476         (e_cal_set_default_tasks_source): ditto for tasks
4477         (get_sources): get a source list given a gconf key
4478         (e_cal_get_calendars): get the calendar source list
4479         (e_cal_get_tasks): get the tasks source list
4480
4481 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
4482
4483         * backends/groupwise/e-gw-container.[ch]: new class to contain all
4484         information about containers in the server.
4485
4486         * backends/groupwise/e-gw-connection.[ch]
4487         (e_ge_connection_free_container_list): new function.
4488         (e_gw_connection_get_container_list): changed to return a list of
4489         EGwContainer's.
4490         (e_gw_connection_get_container_id): adapted to changes made in
4491         e_gw_connection_get_container_list().
4492
4493 2004-01-27  JP Rosevear <jpr@ximian.com>
4494
4495         * libecal/e-cal.h: update proto
4496
4497         * libecal/e-cal.c (e_cal_remove): rename from
4498         e_cal_remove_calendar
4499         (e_cal_get_error_message): key on new status name
4500
4501         * libecal/e-cal-types.h: rename
4502         E_CALENDAR_STATUS_CARD_ID_ALREADY_EXISTS to
4503         E_CALENDAR_STATUS_OBJECT_ID_ALREADY_EXISTS, delete duplicate enum
4504
4505         * idl/Evolution-DataServer-Calendar.idl: rename
4506         CardIdAlreadyExists to ObjectIdAlreadyExists
4507
4508         * libecal/e-cal-listener.c (convert_status): key on new name
4509         
4510         * backends/file/e-cal-backend-file.c
4511         (e_cal_backend_file_create_object): return object id already
4512         exists
4513
4514 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
4515
4516         * backends/groupwise/e-gw-connection.c
4517         (get_e_cal_component_from_soap_parameter): not having the priority
4518         or dueDate properties is not an error.
4519
4520 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
4521
4522         * backends/groupwise/e-gw-connection.c
4523         (get_attendee_list_from_soap_parameter): don't allocate memory for
4524         ECalComponentAttendee's fields, make them just point to the values
4525         contained in the SoupSoapResponse.
4526         (get_e_cal_component_from_soap_parameter): don't free
4527         ECalComponentAttendee's fields, free the structure.
4528         (e_gw_connection_send_item): fixed warnings.
4529
4530         * backends/groupwise/e-cal-backend-groupwise.c
4531         (e_cal_backend_groupwise_get_object):
4532         (e_cal_backend_groupwise_remove): lock/unlock the mutex when accessing
4533         private fields.
4534
4535 2004-01-27  JP Rosevear <jpr@ximian.com>
4536
4537         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): take
4538         a const uri
4539         (e_cal_backend_cache_set_property): pass a const value
4540         (e_cal_backend_cache_constructor): uri is const
4541         (e_cal_backend_cache_put_component): rid is const
4542         (e_cal_backend_cache_get_components): distinguish between GList
4543         and GSList
4544
4545         * libedata-cal/e-cal-backend-sexp.c (func_uid): make sure we
4546         always set a return value
4547
4548 2004-01-27  JP Rosevear <jpr@ximian.com>
4549
4550         * backends/groupwise/e-gw-connection.c
4551         (get_e_cal_component_from_soap_parameter): description is not
4552         const
4553
4554 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
4555
4556         * backends/groupwise/e-cal-backend-groupwise.c
4557         (e_cal_backend_groupwise_start_query): fixed memory leaks and use
4558         g_list_* functions for GList's, not g_slist_*.
4559         (match_object_sexp, match_recurrence_sexp): removed unneeded functions,
4560         we match the object directly in get_object_list.
4561         (e_cal_backend_groupwise_start_query): call get_object_list to retrieve
4562         the matched objects and call e_data_cal_view_notify_* functions
4563         appropriately.
4564
4565 2004-01-26  Harish K <kharish@novell.com>
4566
4567         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
4568         (e_cal_backend_groupwise_internal_get_default_timezone,
4569         e_cal_backend_groupwise_internal_get_timezone) : added and 
4570         implemented.
4571         (e_cal_backend_groupwise_get_object_list) : fixed incorrect
4572         access to the list.
4573         (e_cal_backend_groupwise_start_query) : fixed compiler warnings.
4574          
4575         * calendar/backends/groupwise/e-gw-connection.c :
4576         (e_gw_connection_get_container_id) : Modified elements 'Folders' to 
4577         the 'folders' due to change in the server implementation.
4578         Fixed compiler warnings.
4579
4580 2004-01-24  Rodrigo Moya <rodrigo@ximian.com>
4581
4582         * backends/http/e-cal-backend-http.c: make it use
4583         ECalBackendCache for its cache, and libsoup for the HTTP
4584         retrieval.
4585         (retrieval_progress_cb, uri_to_cache_dir, ensure_cache_dir): removed
4586         unneeded functions.
4587         (e_cal_backend_http_finalize): cancel Soup message here, if any, and
4588         close Soup session.
4589         (begin_retrieval_cb): use soup_session_queue_message() to send the
4590         HTTP request to the server.
4591         (retrieval_done): update the cache on success, and changed to be the
4592         callback for the Soup async message.
4593         (e_cal_backend_http_open): create a ECalBackendCache, not an
4594         ECalBackendFile.
4595         (e_cal_backend_http_remove): remove the cache.
4596         (e_cal_backend_http_is_loaded, e_cal_backend_http_get_default_object,
4597         e_cal_backend_http_get_object, e_cal_backend_http_get_timezone,
4598         e_cal_backend_http_add_timezone,
4599         e_cal_backend_http_set_default_timezone,
4600         e_cal_backend_http_get_object_list, e_cal_backend_http_start_query,
4601         e_cal_backend_http_get_default_timezone,
4602         e_cal_backend_http_get_timezone):
4603         dont proxy calls to the file backend, use the cache instead.
4604         (e_cal_backend_http_create_object, e_cal_backend_http_modify_object,
4605         e_cal_backend_http_remove_object, e_cal_backend_http_receive_objects,
4606         e_cal_backend_http_send_objects):
4607         the HTTP backend is read only, return permission denied error.
4608
4609         * backends/http/Makefile.am: added SOUP_CFLAGS|LIBS.
4610
4611         * backends/groupwise/Makefile.am: s/GROUPWISE/SOUP.
4612
4613 2004-01-23  Harish K <kharish@novell.com>
4614
4615         * calendar/backends/groupwise/e-cal-backend-groupwise.c
4616           Removed update_cache function and refactored the call-back 
4617           to use e-gw-connection_get_deltas instead of update_cache.
4618         * calendar/backends/groupwise/e-gw-connection.c
4619           use g_new0 instead of g_malloc0 and added NULL check for 
4620           validating the soap responses. 
4621           (get_e_cal_component_from_soap_parameter) added code to
4622           parse 'message' into description.
4623           
4624 2004-01-22 Harish K <kharish@novell.com>
4625
4626         * calendar/backends/groupwise/e-cal-backend-groupwise.c
4627           (populate_cache, e_cal_backend_groupwise_get_object_list,
4628           e_cal_backend_groupwise_get_free_busy ) :changed implementation
4629           to use GList instead of GSList, aligning to the rest of the
4630           backends.
4631           (e_cal_backend_groupwise_get_changes, update_cache): implemented.
4632
4633         * calendar/backends/groupwise/e-gw-connection.c
4634           (get_attendee_list_from_soap_parameter) : modified 
4635           get_attendee_list_from_string to handle recipients element.
4636           (get_e_cal_component_from_soap_parameter) -fixed memory leaks.
4637           (update_cache_item) : implemented.
4638           (e_gw_connection_get_freebusy_info, start_freebusy_session)
4639           GSList to GList changes.
4640
4641         * calendar/backends/groupwise/e-gw-connection.h : updated 
4642           declarations for the above changes.
4643
4644         * calendar/libedata-cal/e-cal-backend-cache.[ch] :
4645           (e_cal_backend_cache_get_components) : return GList instead of
4646           GSList.
4647           
4648 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4649
4650         * backends/groupwise/e-cal-backend-groupwise.c
4651         (e_cal_backend_groupwise_remove): remove the cache from disk
4652         when removing the calendar.
4653
4654         * backends/file/e-cal-backend-file.c
4655         (e_cal_backend_file_remove): added missing call to g_dir_close().
4656
4657 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4658
4659         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
4660         use the full path when removing files.
4661
4662 2004-01-21  JP Rosevear <jpr@ximian.com>
4663
4664         * libecal/Makefile.am: don't build client test
4665
4666 2004-01-21  JP Rosevear <jpr@ximian.com>
4667
4668         * tests/ecal/test-ecal.c: the beginnings of a test client
4669
4670         * tests/ecal/Makefile.am: build the test client
4671
4672         * tests/Makefile.am: add ecal subdir
4673
4674         * Makefile.am: add tests subdir
4675
4676 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4677
4678         * libecal/e-cal.c (e_cal_new): create the component listener
4679         here, so that backend_died_cb gets called when the backend dies.
4680
4681 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4682
4683         * backends/groupwise/e-cal-backend-groupwise.c
4684         (connect_to_server): added code for retrieving the container ID
4685         for tasks also.
4686
4687 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4688
4689         * backends/groupwise/e-cal-backend-groupwise.c
4690         (e_cal_backend_groupwise_open): added missing g_mutex_unlock
4691         call.
4692
4693 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4694
4695         * backends/groupwise/e-gw-connection.c
4696         (get_e_cal_component_from_soap_parameter): check arguments before
4697         passing them to functions to avoid warnings at runtime.
4698
4699 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4700
4701         * backends/file/e-cal-backend-file.c (create_cal): create
4702         directory tree to contain the calendar.
4703
4704 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4705
4706         * backends/groupwise/e-gw-connection.c
4707         (get_e_cal_component_from_soap_parameter): return error when
4708         the type of the component does not match the supported ones.
4709
4710 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4711
4712         Fixes #51705
4713
4714         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
4715         remove all files in the directory and the directory itself.
4716
4717 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
4718
4719         * backends/groupwise/e-cal-backend-groupwise.c (match_recurrence_sexp,
4720         match_object_sexp): use a GSList, which is what we are passed
4721         to e_cal_backend_groupwise_get_object_list.
4722         (e_cal_backend_groupwise_start_query): fixed warning.
4723
4724 2004-01-20  Rodrigo Moya <rodrigo@ximian.com>
4725
4726         * backends/groupwise/e-cal-backend-groupwise.c
4727         (e_cal_backend_groupwise_set_mode): split out the connection code.
4728         (connect_to_server): and moved it here.
4729         (e_cal_backend_groupwise_open): call connect_to_server, not
4730         set_mode, to avoid online/offline notifications.
4731
4732 2004-01-19  Harish K <kharish@novell.com> 
4733
4734         * backends/groupwise/e-gw-connection.c :
4735         (get_e_cal_component_from_soap_parameter):
4736         'due' property set for TODOs instead of dtend.
4737         added code for mapping all values of GW data to
4738         percent, priority, classification, transparency
4739         properties in ECalComponent.
4740         Fixed compiler warnings.
4741
4742 2004-01-18  Harish K <kharish@novell.com>
4743
4744         * backends/groupwise/e-cal-backend-groupwise.c :
4745         (e_cal_backend_groupwise_get_free_busy): Implemented.
4746         * backends/groupwise/e-gw-connection.[ch] :
4747         (e_gw_connection_get_deltas) : Implemented parsing of
4748         the response.
4749         (e_gw_connection_get_free_busy_info) : Implemented
4750         including private functions  
4751         (get_attendee_list_from_string, start_freebusy_session and
4752         close_freebusy_session).
4753         (e_gw_connection_get_container_id) : remove unused variable.
4754         (get_e_cal_component_from_soap_parameter) : added code to 
4755         set attendee_list to the e_cal_component.
4756         (get_evo_date_from_string) : fixed typo.
4757
4758 2004-01-16  JP Rosevear <jpr@ximian.com>
4759
4760         * backends/file/e-cal-backend-file.c (save): remove test bits
4761
4762 2004-01-16  JP Rosevear <jpr@ximian.com>
4763
4764         * libecal/e-cal.c (categories_changed_idle_cb): remove debug
4765         statement
4766
4767 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
4768
4769         * libecal/e-cal.c (e_cal_open): return AUTH_REQUIRED error if
4770         we don't get a password from the authentication function.
4771
4772         * backends/file/e-cal-backend-file.c
4773         (e_cal_backend_file_modify_object): store the old object before
4774         actually losing it.
4775
4776 2004-01-16  JP Rosevear <jpr@ximian.com>
4777
4778         * libecal/e-cal.c: name space the idle data structs properly
4779
4780 2004-01-16  JP Rosevear <jpr@ximian.com>
4781
4782         * libecal/e-cal.c (backend_error_idle_cb): idle handler to
4783         actually proxy the signal emission to the main thread
4784         (backend_error_cb): use above
4785         (categories_changed_idle_cb): idle handler for proxying
4786         (categories_changed_cb): use above
4787
4788         Fixes #52743
4789         
4790 2004-01-16  Christian Neumair  <chris@gnome-de.org>
4791
4792         * libedata-cal/e-cal-backend-sexp.c (func_uid):
4793         Error message string fix.
4794
4795 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
4796
4797         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): use
4798         ~/.evolution/cache/calendar for the cache files.
4799
4800         * backends/groupwise/e-cal-backend-groupwise.c
4801         (e_cal_backend_groupwise_get_object_list): lock/unlock the
4802         private mutex.
4803
4804 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
4805
4806         * backends/groupwise/e-gw-connection.c
4807         (e_gw_connection_get_container_id): fixed duplicated variable name.
4808
4809         * backends/groupwise/e-cal-backend-groupwise.c
4810         (e_cal_backend_groupwise_open): removed check for 'only_if_exists',
4811         we'll return NoSuchCal error if we can't find the calendar to open.
4812
4813 2004-01-15  Mark McLoughlin  <mark@skynet.ie>
4814
4815         * libecal/e-cal-listener.c: (impl_notifyCalSetMode),
4816         (impl_notifyErrorOccurred), (impl_notifyCategoriesChanged):
4817         Remove debugging spew.
4818
4819 2004-01-15  Radek Doulik  <rodo@ximian.com>
4820
4821         * libecal/e-cal.c (e_cal_is_read_only): fix the return value, it
4822         was returning ECalendarStatus instead of bool, it compares status
4823         to E_CALENDAR_STATUS_OK now
4824
4825 2004-01-14  Rodrigo Moya <rodrigo@ximian.com>
4826
4827         * backends/groupwise/e-cal-backend-groupwise.c
4828         (e_cal_backend_groupwise_open): if trying to create a new calendar,
4829         return an error, since we don't support that.
4830         (e_cal_backend_groupwise_remove): return "Permission Denied".
4831
4832 2004-01-14  Harish K <kharish@novell.com>
4833
4834         * libedata-cal/e-cal-backend-cache.c
4835         (e_cal_backend_cache_get_components): return a list of e-cal-components
4836         rather than e-cal-component strings.
4837
4838 2004-01-13  JP Rosevear <jpr@ximian.com>
4839
4840         * backends/groupwise/e-gw-connection.c
4841         (get_e_cal_component_from_soap_parameter): remove C99 declaration
4842
4843 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
4844
4845         * backends/groupwise/e-gw-item.[ch] (e_gw_item_new_appointment):
4846         added a 'container' argument.
4847         (e_gw_item_dispose): free new field in the private structure.
4848
4849         * backends/groupwise/e-gw-connection.[ch]
4850         (e_gw_connection_send_appointment): added a 'container' argument.
4851
4852         * backends/groupwise/e-cal-backend-groupwise.c
4853         (e_cal_backend_groupwise_create_object,
4854         e_cal_backend_groupwise_modify_object): adapted to changes in
4855         e_gw_connection_send_appointment.
4856         (e_cal_backend_groupwise_receive_objects): implemented.
4857
4858 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
4859
4860         * backends/groupwise/e-gw-connection.[ch]
4861         (e_gw_connection_get_items): moved the folder retrieving code to...
4862         (e_gw_connection_get_container_id): ...here, new function.
4863
4864         * backends/groupwise/e-cal-backend-groupwise.c: added 'container_id'
4865         field to private structure.
4866         (e_cal_backend_groupwise_finalize): free the container_id.
4867         (populate_cache): pass the container_id to e_gw_connection_get_items.
4868         (e_cal_backend_groupwise_set_mode): retrieve the container ID after
4869         connecting to the server.
4870
4871 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
4872
4873         * backends/groupwise/e-gw-connection.[ch] (logout): unref the message
4874         if we dont get a response, not the response, which is NULL, and unref
4875         it also before exiting the function.
4876         (e_gw_connection_remove_item): new function.
4877
4878         * backends/groupwise/e-cal-backend-groupwise.c
4879         (e_cal_backend_groupwise_remove_object): implemented.
4880
4881 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
4882
4883         * libecal/e-cal-component.[ch] (e_cal_component_get_recurid_as_string):
4884         new function, moved from the file and groupwise backends.
4885
4886         * libedata-cal/e-cal-backend-cache.[ch]
4887         (e_cal_backend_cache_put_component): changed to get an ECalComponent.
4888
4889         * backends/groupwise/e-gw-item.[ch]: new class for managing items
4890         to be sent to the server.
4891
4892         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_send_item,
4893         e_gw_connection_send_appointment): new functions.
4894         (e_gw_connection_get_container_list): made it public.
4895
4896         * backends/groupwise/e-cal-backend-groupwise.c
4897         (e_cal_backend_groupwise_create_object): finished implementation.
4898         (e_cal_backend_groupwise_modify_object): implemented.
4899         (get_rid_string): removed.
4900         (populate_cache): adapted to changes in ECalBackendCache, and use
4901         e_cal_component_get_recurid_as_string instead of the local
4902         get_rid_string().
4903
4904         * backends/groupwise/Makefile.am: added new files.
4905
4906         * backends/file/e-cal-backend-file.c (get_rid_string): removed.
4907         (add_component, e_cal_backend_file_modify_object): use
4908         e_cal_component_get_recurid_as_string instead of the local
4909         get_rid_string().
4910
4911 2004-01-13 Harish K <kharish@novell.com>
4912
4913         * calendar/backends/groupwise/e-cal-backend-groupwise.c
4914           (populate_cache): fixed memory leaks.
4915           (e_cal_backend_groupwise_open): return function with success when
4916           invoked again after the cache has been created already.
4917           (e_cal_backend_groupwise_get_object_list): implemented.
4918           (e_cal_backend_groupwise_start_query): implemented.
4919
4920         * calendar/backends/groupwise/e-gw-connection.c
4921           (get_e_cal_component_from_soap_parameter): modification to strip
4922           date and time separators in argument before calling
4923           icaltime_from_string.
4924
4925         * calendar/backends/groupwise/e-gw-connection.h
4926           (e_gw_connection_get_delta): - Added declaration.
4927
4928         * calendar/libedata-cal/e-cal-backend-cache.c
4929           (e_cal_backend_cache_constructor): Added the function and updated
4930           class_init to use it.
4931           (e_cal_backend_cache_get_components): Added method to wrap 
4932           e_file_cache_get_objects for better abstraction.
4933           (e_cal_backend_cache_set_property): fixed NULL termination to argument
4934           list.
4935
4936 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
4937
4938         * backends/groupwise/e-cal-backend-groupwise.c
4939         (e_cal_backend_groupwise_open):
4940         * backends/http/e-cal-backend-http.c (e_cal_backend_http_open): made
4941         the backends start online always, until we fix the online/offline
4942         handling via the shell.
4943
4944 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
4945
4946         * backends/groupwise/e-gw-connection.[ch]
4947         (e_gw_connection_get_user_name, e_gw_connection_get_user_uuid): new
4948         functions.
4949
4950 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
4951
4952         * backends/http/e-cal-backend-http.c (uri_to_cache_dir): fixed leak.
4953
4954 2004-01-10  Rodrigo Moya <rodrigo@ximian.com>
4955
4956         * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range):
4957         don't leak the dates retrieved with e_cal_component_get_dtstart/dtend.
4958
4959         * libedata-cal/e-cal-backend-sync.c (_e_cal_backend_get_timezone):
4960         free the 'object' string returned by the provider's get_timezone
4961         method.
4962
4963         * libedata-cal/e-data-cal-factory.c
4964         (e_data_cal_factory_register_method):
4965         g_free the string returned by g_ascii_strdown().
4966
4967 2004-01-10  Rodrigo Moya <rodrigo@ximian.com>
4968
4969         * backends/groupwise/e-cal-backend-groupwise.c
4970         (e_cal_backend_groupwise_get_timezone): fixed copy/paste typo.
4971         (e_cal_backend_groupwise_remove, e_cal_backend_groupwise_add_timezone,
4972         e_cal_backend_groupwise_set_default_timezone,
4973         e_cal_backend_groupwise_get_object_list,
4974         e_cal_backend_groupwise_get_free_busy,
4975         e_cal_backend_groupwise_get_changes,
4976         e_cal_backend_groupwise_discard_alarm,
4977         e_cal_backend_groupwise_modify_object,
4978         e_cal_backend_groupwise_remove_object,
4979         e_cal_backend_groupwise_receive_objects,
4980         e_cal_backend_groupwise_send_objects):
4981         fixed compilation warnings.
4982
4983         * backends/groupwise/Makefile.am:
4984         * backends/groupwise/groupwise-config-listener.c: removed unused file.
4985
4986 2004-01-09  Harish K <kharish@novell.com>
4987
4988         * backends/groupwise/e-cal-backend-groupwise.c
4989         (populate_cache): implemented.
4990
4991         * backends/groupwise/e-gw-connection.h:
4992         added declaration for e_gw_connection_get_items.
4993
4994         * backends/groupwise/e-gw-connection.c:
4995         (e-gw-connection-get-items) :implementation to obtain 
4996         calendar data from GW using SOAP.
4997
4998 2004-01-08  JP Rosevear <jpr@ximian.com>
4999
5000         * libecal/e-cal.c (convert_type): kill warning
5001         (e_cal_get_timezone): fix preconditions, tzid being NULL is valid,
5002         set *zone to NULL if we short circuit on a local time
5003
5004 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
5005
5006         * backends/groupwise/e-cal-backend-groupwise.c
5007         (e_cal_backend_groupwise_open): keep the username and password
5008         passed from the client, and don't open the connection here.
5009         (e_cal_backend_groupwise_set_mode): ...do it here, when we change
5010         mode to 'online'.
5011         (e_cal_backend_groupwise_get_mode): implemented.
5012         (e_cal_backend_groupwise_is_loaded): check the cache, not the
5013         connection, since we can be loaded without being online.
5014         (populate_cache): made it static.
5015
5016         * backends/http/e-cal-backend-http.c (begin_retrieval_cb): only
5017         begin the retrieval if we are online.
5018
5019         * libecal/e-cal-util.h: added cal_mode_to_corba macro from
5020         e-cal-backend-http.c.
5021
5022 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
5023
5024         * libecal/e-cal.c (convert_type): removed g_assert_not_reached.
5025
5026 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
5027
5028         * libecal/e-cal.c (e_cal_get_alarms_for_object): pass the correct
5029         callback data for e_cal_resolve_tzid_cb().
5030
5031 2004-01-07  JP Rosevear <jpr@ximian.com>
5032
5033         * libedata-cal/Makefile.am: remove DISABLE_DEPRECATED flags
5034
5035         * libecal/Makefile.am: ditto
5036
5037 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
5038
5039         * libecal/e-cal.c (build_component_alarms_list): clone the icalcomponent
5040         to avoid having a pointer to an object that is freed afterwards, in
5041         e_cal_get_alarms_in_range.
5042         (e_cal_get_alarms_in_range): use icalcomponent_free to free the objects
5043         in the list returned by e_cal_get_object_list.
5044
5045 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
5046
5047         * libecal/e-cal.c (build_component_alarms_list): pass the correct
5048         data (an ECal, not an icalcomponent) to e_cal_resolve_tzid_cb.
5049
5050 2004-01-06  JP Rosevear <jpr@ximian.com>
5051
5052         * libedata-cal/e-cal-backend-sexp.c (func_uid): implement uid
5053         checking for sexps
5054         (e_cal_backend_sexp_new): use nice glib macro to count sexp
5055         elements
5056
5057         * libedata-cal/e-cal-backend-cache.c: guard config.h include and
5058         include string.h to kill warning
5059
5060 2004-01-06  Rodrigo Moya <rodrigo@ximian.com>
5061
5062         * libecal/e-cal.c (build_component_alarms_list): the list returned
5063         by e_cal_get_object_list() contains icalcomponent's already,
5064         so no need to parse them as strings.
5065         (e_cal_open): fixed warning.
5066
5067 2004-01-05  Rodrigo Moya <rodrigo@ximian.com>
5068
5069         * backends/groupwise/e-gw-message.[ch]
5070         (e_gw_message_write_string_parameter): added 'prefix' argument, for
5071         not hard-coding all parameters to the "types" prefix.
5072
5073         * backends/groupwise/e-gw-connection.c (logout, e_gw_connection_new,
5074         e_gw_connection_get_items): pass the XML prefix to
5075         e_gw_message_write_string_parameter().
5076
5077 2004-01-05  Rodrigo Moya <rodrigo@ximian.com>
5078
5079         * libedata-cal/e-cal-backend-cache.[ch] (e_cal_backend_cache_put_object):
5080         merged _add_component and _replace_component into a single function.
5081
5082         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
5083         use e_cal_backend_cache_put_object, and let the cache deal with
5084         additions/replacements.
5085
5086 2004-01-05  Sivaiah Nallagatla <snallagatla@novell.com>
5087
5088         * backends/groupwise/groupwise-config-listener.[ch] : new class implementing addition,
5089         removal, modification of e-sources for calender and tasks for groupwise accounts.
5090         
5091         * backends/groupwise/Makefile.am : added above two files in  Makefile.am 
5092
5093 2004-01-05  Christian Neumair  <chris@gnome-de.org>
5094
5095         * libedata-cal/e-cal-backend-sexp.c: Generalize some strings.
5096
5097 2003-12-24  Rodrigo Moya <rodrigo@ximian.com>
5098
5099         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
5100         fixed warning.
5101
5102 2003-12-24  Rodrigo Moya <rodrigo@ximian.com>
5103
5104         * backends/groupwise/e-gw-message.[ch] (e_gw_message_new_with_header):
5105         added 'session_id' argument, to add the <Header> SOAP part if not NULL.
5106
5107         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items): use
5108         e_gw_message_new_with_header to create the SOAP message. Also, unref
5109         the correct object if we don't get a response from
5110         e_gw_connection_send_message, or we when we can't find a parameter in
5111         the response.
5112         (logout): pass session ID to e_gw_message_new_with_header().
5113         (e_gw_connection_new): ditto.
5114
5115         * backends/groupwise/e-cal-backend-groupwise.c: removed 'icalcomp'
5116         field from the ECalBackendGroupwisePrivate structure.
5117         (e_cal_backend_groupwise_get_timezone): don't use priv->icalcomp
5118         to retrieve timezones, since that object is empty, use the libical's
5119         built-in timezones.
5120         (populate_cache): fixed C99'isms and re-enabled g_mutex_lock/_unlock
5121         calls.
5122
5123 2003-12-24  Harish Krishnaswamy <kharish@novell.com>
5124
5125         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_get_items):
5126         new function.
5127
5128         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache): new
5129         function to populate the cache with all objects from the server.
5130         (e_cal_backend_groupwise_open): call populate_cache when opening the
5131         connection, to get all objects from the server.
5132         (e_cal_backend_groupwise_get_default_object): implemented.
5133         (e_cal_backend_groupwise_get_timezone): implemented.
5134
5135 2003-12-22  Rodrigo Moya <rodrigo@ximian.com>
5136
5137         * libedata-cal/e-cal-backend-sexp.c (func_has_alarms): removed useless
5138         'has_to_have_alarms' variable.
5139
5140 2003-12-22  JP Rosevear <jpr@ximian.com>
5141
5142         * backends/file/e-cal-backend-file.c
5143         (e_cal_backend_file_modify_object): check the kind with the parent
5144         (e_cal_backend_file_create_object): ditto
5145
5146 2003-12-21  JP Rosevear <jpr@ximian.com>
5147
5148         * libecal/e-cal.h: update protos
5149
5150         * libecal/e-cal.c: use ECalSourceType
5151         (convert_type): convert and ECalSourceType to a corba equivalent
5152         (fetch_corba_cal): use ECalSourceType
5153         (e_cal_new): ditto
5154         (e_cal_new_from_uri): ditto
5155         (e_cal_generate_instances): does not need a type arg
5156
5157         * libecal/e-cal-util.h: remove CalObjType
5158
5159         * libecal/client-test.c (create_client): use ECalSourceType
5160         (main): ditto
5161
5162 2003-12-21  JP Rosevear <jpr@ximian.com>
5163
5164         * backends/file/e-cal-backend-file.c (open_cal): set the uri
5165         before scanning the vcalendar because we may have to fix duplicate
5166         UIDs (and hence save the calendar)
5167
5168 2003-12-19 JP Rosevear <jpr@ximian.com>
5169
5170         * libecal/e-cal.c (e_cal_get_alarms_in_range): create a valid sexp
5171
5172 2003-12-19  Rodrigo Moya <rodrigo@ximian.com>
5173
5174         * libecal/e-cal.[ch] (e_cal_class_init):  removed 'forget_password'
5175         signal, since it's not used anywhere.
5176
5177 2003-12-19  Rodrigo Moya <rodrigo@ximian.com>
5178
5179         * idl/Evolution-DataServer-Calendar.idl: added 'username' and 'password'
5180         arguments to Cal::open method, so that we can send authentication
5181         from the clients.
5182
5183         * libedata-cal/e-cal-backend.[ch] (e_cal_backend_open):
5184         * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_open,
5185         _e_cal_backend_open):
5186         * libedata-cal/e-data-cal.c (impl_Cal_open):
5187         * backends/http/e-cal-backend-http.c (e_cal_backend_http_open):
5188         * backends/groupwise/e-cal-backend-groupwise.c
5189         (e_cal_backend_groupwise_open):
5190         * backends/file/e-cal-backend-file.c (e_cal_backend_file_open): adapted
5191         to changes in above method.
5192
5193         * libecal/e-cal.[ch]: added E_CAL_LOAD_AUTHENTICATING to LoadState enum.
5194         (e_cal_open): check with the ESource if the server needs authentication
5195         or not, and if so, ask the client's provided auth function. Call
5196         GNOME_Evolution_Calendar_Cal_Open with the new arguments.
5197
5198 2003-12-18  Rodrigo Moya <rodrigo@ximian.com>
5199
5200         * backends/groupwise/e-cal-backend-groupwise.c: use a GMutex for
5201         thread safety.
5202         (e_cal_backend_groupwise_init): create the GMutex.
5203         (e_cal_backend_groupwise_finalize): free the GMutex.
5204         (e_cal_backend_groupwise_open): use the mutex.
5205
5206 2003-12-17  JP Rosevear <jpr@ximian.com>
5207
5208         * backends/groupwise/e-gw-connection.c (e_gw_connection_init):
5209         create a synchronous session
5210
5211 2003-12-17  Hans Petter Jansson  <hpj@ximian.com>
5212
5213         * libecal/e-cal.c (e_cal_finalize): Unref source.
5214         (fetch_corba_cal): Ref and keep source.
5215         (e_cal_get_source): Implement.
5216
5217 2003-12-17  Rodrigo Moya <rodrigo@ximian.com>
5218
5219         * backends/groupwise/create-account.c: added support for specifying
5220         a password, since we need one to connect to the server.
5221
5222 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
5223
5224         * backends/groupwise/e-gw-connection.c (e_gw_connection_new): no need to
5225         set the namespace for "types:", it's already set in
5226         e_gw_message_new_with_header().
5227
5228 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
5229
5230         * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
5231         added the namespace for the SOAP types.
5232
5233         * backends/groupwise/e-gw-connection.c (logout): fixed copy-paste typo.
5234
5235         * backends/groupwise/soap-test.c (idle_cb): unref the EGwConnection
5236         object, so that the logout message is sent to the server.
5237
5238 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
5239
5240         * backends/groupwise/e-cal-backend-groupwise.c
5241         (e_cal_backend_groupwise_open): return an AuthenticationFailed error
5242         when we can't open the connection.
5243
5244 2003-12-16  JP Rosevear <jpr@ximian.com>
5245
5246         * libecal/e-cal.c (e_cal_get_free_busy): the info is already in
5247         ECalComponent form, no need to process it again, from Gary Ekker
5248         <gekker@novell.com>
5249
5250         Fixes #52218
5251         
5252 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
5253
5254         * backends/groupwise/e-gw-connection.c (parse_response_status): map
5255         some error codes.
5256         (e_gw_connection_new): retrieve all the info returned in the UserInfo
5257         type (name, email and uuid).
5258         (e_gw_connection_disposee): free new private fields.
5259
5260 2003-12-16 Sivaiah Nallagatla <snallagatla@novell.com>
5261         
5262         * backends/groupwise/e-gw-connection.h
5263         * backends/groupwise/e-gw-connection.c (e_gw_connection_new,
5264         e_gw_connection_get_user_email)
5265         * backends/groupwise/e-cal-backend-groupwise.c (e_cal_backend_groupwise_get_ldap_attribute,
5266         e_cal_backend_groupwise_get_cal_address, e_cal_backend_groupwise_is_read_only,
5267         e_cal_backend_groupwise_get_alarm_email_address, e_cal_backend_groupwise_get_static_capabilities
5268         e_cal_backend_groupwise_open ): added implementation for all the apis listed above
5269
5270 2003-12-15  JP Rosevear <jpr@ximian.com>
5271
5272         * libecal/e-cal-listener.c (e_cal_listener_class_init): fix the
5273         number of parameters for get free busy and get_changes
5274
5275 2003-12-15  Rodrigo Moya <rodrigo@ximian.com>
5276
5277         * backends/e-cal-backend-sync.c (_e_cal_backend_sync_get_ldap_attribute,
5278         _e_cal_backend_sync_get_static_capabilities,
5279         _e_cal_backend_sync_get_alarm_email_address): call the correct
5280         e_cal_backend_sync_* functions, typo pointed out by Siva.
5281
5282 2003-12-15  Rodrigo Moya <rodrigo@ximian.com>
5283
5284         * backends/file/e-cal-backend-file.c
5285         (e_cal_backend_file_get_static_capabilities): g_strdup the
5286         'capabilities' argument, since it is expected to be freed in
5287         e-cal-backend-sync.c.
5288
5289         * backends/http/e-cal-backend-http.c
5290         (e_cal_backend_http_get_static_capabilities): ditto.
5291
5292 2003-12-14  JP Rosevear <jpr@ximian.com>        
5293
5294         * libecal/e-cal-component.c (set_datetime): don't remove and then
5295         free the param, lest we double free it
5296
5297         Fixes #51633
5298
5299 2003-12-14  JP Rosevear <jpr@ximian.com>
5300
5301         * libedata-cal/e-data-cal.c (e_data_cal_notify_free_busy): call
5302         the correct notification method
5303
5304 2003-12-13  Rodrigo Moya <rodrigo@ximian.com>
5305
5306         * backends/groupwise/Makefile.am: set the correct G_LOG_DOMAIN.
5307
5308 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
5309
5310         * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
5311         added SOAPAction header to the request.
5312
5313 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
5314
5315         * backends/groupwise/e-gw-message.c (e_gw_message_write_footer): write
5316         the request's content here.
5317         (e_gw_message_new_with_header): add the Content-Type header.
5318
5319         * backends/groupwise/e-gw-connection.c (e_gw_connection_send_message):
5320         no need to write the request here, it's written in
5321         e_gw_message_write_footer().
5322
5323 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
5324
5325         * backends/groupwise/e-gw-message.c (setup_debug): fixed typo.
5326
5327         * backends/groupwise/Makefile.am: use $DEBUG_CFLAGS.
5328
5329 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
5330
5331         * backends/groupwise/e-gw-message.c (setup_debug, print_header,
5332         debug_handler): new functions for adding debugging of the SOAP messages.
5333         (e_gw_message_new_with_header): if G_ENABLE_DEBUG is defined, setup
5334         debugging for the message. Also, use POST to send the messages.
5335
5336         * doc/gw-soap-methods.xsd:
5337         * doc/gw-soap-types.xsd: added new versions of SOAP interfaces.
5338
5339 2003-12-11  Rodrigo Moya <rodrigo@ximian.com>
5340
5341         Fixes #52013
5342
5343         * backends/file/e-cal-backend-file.c (create_user_free_busy): pass
5344         the TIME arguments correctly.
5345
5346 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
5347
5348         * backends/groupwise/e-gw-connection.c: use a SoupSession per
5349         EGwConnection, not one for all.
5350         (e_gw_connection_dispose): unref the SoupSession here.
5351         (e_gw_connection_init): create the SoupSession here.
5352         (e_gw_connection_send_message): use the private SoupSession.
5353
5354 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
5355
5356         * backends/groupwise/soap-test.c: added support for specifying a
5357         password in the command line.
5358
5359         * backends/groupwise/e-gw-connection.c (e_gw_connection_new): dont
5360         unref the response when we havent got one.
5361
5362 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
5363
5364         * backends/groupwise/e-gw-connection.c (e_gw_connection_finalize):
5365         only try to remove the connection from the hash table if the hash
5366         table has been created.
5367
5368 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
5369
5370         * backends/groupwise/soap-test.c: new test program to test the
5371         SOAP interface to the GW server.
5372
5373         * backends/groupwise/Makefile.am: compile new test program.
5374
5375 2003-12-10  JP Rosevear <jpr@ximian.com>
5376
5377         * libecal/e-cal.c (e_cal_get_default_object): don't preload the
5378         timezones into the cache, its problematic because we don't want to
5379         have multiple operations at the same time and we don't do this for
5380         views for instance
5381         (e_cal_get_object): ditto
5382
5383         Fixes #51225
5384         
5385 2003-12-09  JP Rosevear  <jpr@ximian.com>
5386
5387         * libecal/e-cal-listener.c (impl_notifyStaticCapabilities):
5388         actually emit the capabilities string
5389
5390         Fixes #51747
5391         
5392 2003-12-09  Rodrigo Moya <rodrigo@ximian.com>
5393
5394         * backends/groupwise/e-gw-connection.[ch]: made the connections be
5395         shared.
5396         (e_gw_connection_new): get the uri, username and password here, and
5397         before trying to login again to the server, see if we have already
5398         the same connection request in the loaded connections hash table.
5399         (e_gw_connection_login): removed.
5400         (e_gw_connection_logout): just unref the connection, the logout code
5401         moved to...
5402         (logout): ...here.
5403         (e_gw_connection_dispose): free new members.
5404         (e_gw_connection_finalize): remove the connection from the hash table,
5405         and destroy the hash table when there are no more connections on it.
5406
5407         * backends/groupwise/e-cal-backend-groupwise.c
5408         (e_cal_backend_groupwise_open): use the new EGwConnection interface.
5409
5410 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
5411
5412         * libedata-cal/e-cal-backend-cache.h: the class structure derives
5413         from EFileCacheClass, not EFileCache.
5414
5415         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): iterate
5416         correctly over the characters in the URI.
5417
5418 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
5419
5420         * libedata-cal/e-cal-backend-cache.[ch]: use EFileCache instead
5421         of ECache.
5422
5423 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
5424
5425         * backends/groupwise/e-cal-backend-groupwise.c (convert_uri):
5426         new function to convert "groupwise://" URIs to "http://".
5427         (e_cal_backend_groupwise_open): call the above function to
5428         get a GnomeVFSURI, and use it as a temporary hack to get
5429         username and password.
5430
5431 2003-12-07  JP Rosevear  <jpr@ximian.com>
5432
5433         * libedata-cal/e-data-cal-factory.c: version the oafiid
5434
5435         * libecal/e-cal.c (get_factories): update the repo id
5436         
5437 2003-12-07  JP Rosevear  <jpr@ximian.com>
5438
5439         * libecal/e-cal.c (get_factories): use the versioned repo id
5440
5441 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
5442
5443         * backends/groupwise/create-account.c (add_account): add the username
5444         in the source URI, and use e_source_list_sync, to give it time to
5445         sync the GConf changes.
5446
5447 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
5448
5449         * backends/groupwise/create-account.c: changed to use a main loop,
5450         or saving to GConf seems not to work ??
5451
5452 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
5453
5454         * backends/groupwise/create-account.c (add_account): add the source
5455         to the group.
5456
5457 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
5458
5459         * backends/groupwise/create-account.c: make it use a username also.
5460
5461 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
5462
5463         * backends/groupwise/create-account.c: added simple program to
5464         add accounts to the calendar sources until we a GUI to configure
5465         them.
5466
5467         * backends/groupwise/Makefile.am: added noinst program.
5468
5469 2003-12-03  Christian Kellnerc <gicmo@xatom.net>
5470
5471          * libedata-cal/e-cal-backend-sexp.c: added has-recurrences sexp
5472          function
5473
5474 2003-12-03  Rodrigo Moya <rodrigo@ximian.com>
5475
5476         * backends/groupwise/e-cal-backend-groupwise.c: use a cache
5477         to keep the objects from the server.
5478         (e_cal_backend_groupwise_finalize): unref the cache object.
5479         (e_cal_backend_groupwise_open): load/create the local cache.
5480         (e_cal_backend_groupwise_get_object): look for the object in
5481         the cache.
5482         (e_cal_backend_groupwise_class_init): fixed warning.
5483
5484 2003-12-01  William Jon McCann  <mccann@jhu.edu>
5485  
5486         * libecal/e-cal.c (e_cal_generate_instances): Fix query and
5487         get object list as components.
5488  
5489 2003-12-01  Rodrigo Moya <rodrigo@ximian.com>
5490
5491         * libedata-cal/e-cal-backend-cache.[ch]: changed to be based on the
5492         new ECache class.
5493         (get_filename_from_uri): new function to get a unique filename for a
5494         calendar/tasks URI.
5495         (e_cal_backend_cache_set_property): get the filename for the given URI
5496         and set the "filename" property on the cache, which will load/create
5497         the cache file.
5498         (e_cal_backend_cache_finalize): dont free removed fields.
5499         (e_cal_backend_cache_get_component, e_cal_backend_cache_add_component,
5500         e_cal_backend_cache_replace_component, e_cal_backend_cache_remove_component):
5501         new functions.
5502
5503         * backends/groupwise/e-gw-connection.c (e_gw_connection_login): retrieve
5504         the session from the response, not the username.
5505
5506 2003-11-28  Rodrigo Moya <rodrigo@ximian.com>
5507
5508         * backends/groupwise/e-gw-connection.c (parse_response_status): new
5509         function to parse the "status" field returned in the SOAP response.
5510         (e_gw_connection_login, e_gw_connection_logout): call above function
5511         to get the status, and return that to the caller.
5512         
5513         * backends/groupwise/TODO: updated with more tasks.
5514
5515 2003-11-27  Rodrigo Moya <rodrigo@ximian.com>
5516
5517         * libedata-cal/e-cal-backend-cache.[ch]: new class implementing a
5518         cache of calendar/tasks objects.
5519
5520         * libedata-cal/Makefile.am: added new files.
5521
5522 2003-11-26  Hans Petter Jansson  <hpj@ximian.com>
5523
5524         * idl/Evolution-DataServer-Calendar.idl (getCal): Take source XML
5525         instead of URI.
5526
5527         * libecal/client-test.c (create_client): Adapt to API changes.
5528         (main): Ditto.
5529
5530         * libecal/e-cal.c (fetch_corba_cal): Move to ESource.
5531         (e_cal_new): Take ESource.
5532         (e_cal_new_from_uri): Implement convenience call that takes URI.
5533
5534         * libedata-cal/e-cal-backend.c (e_cal_backend_set_property):
5535         Implement PROP_SOURCE.
5536         (e_cal_backend_get_property): Same.
5537         (e_cal_backend_class_init): Same.
5538         (e_cal_backend_get_source): Same.
5539
5540         * libedata-cal/e-data-cal-factory.c (impl_CalFactory_getCal): Take
5541         source XML and construct an ESource. Init backend with that.
5542
5543 2003-11-25  Rodrigo Moya <rodrigo@ximian.com>
5544
5545         * backends/groupwise/e-gw-message.[ch]: new files to contain utility
5546         functions for easily creating SOAP messages.
5547
5548         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_logout):
5549         new function.
5550         (e_gw_connection_finalize): if we're already connected, call
5551         e_gw_connection_logout().
5552         (e_gw_connection_login): implement response parsing.
5553         (e_gw_connection_send_message): new function.
5554
5555         * backends/groupwise/e-cal-backend-groupwise.c
5556         (e_cal_backend_groupwise_is_loaded): implemented.
5557
5558         * backends/groupwise/Makefile.am: added new files.
5559
5560 2003-11-20  Harry Lu  <harry.lu@sun.com>
5561
5562         * backends/file/e-cal-backend-file.c:
5563         (e_cal_backend_file_internal_get_default_timezone): move to the front
5564         to avoid a compile warning.
5565         (e_cal_backend_file_internal_get_timezone): ditto.
5566         (sanitize_component): new function. If the component's timezone is not
5567         included in buildin timezone list, convert it to local default timezone.
5568         (e_cal_backend_file_create_object): call sanitize_component.
5569         (e_cal_backend_file_modify_object): ditto.
5570         (e_cal_backend_file_receive_objects): ditto.
5571
5572 2003-11-18  Rodrigo Moya <rodrigo@ximian.com>
5573
5574         * backends/groupwise/e-gw-connection.h: fixed typo.
5575
5576         * backends/groupwise/e-gw-connection.c: base it on GObject, not
5577         SoupConnection.
5578         (e_gw_connection_login): new functions.
5579         (e_gw_connection_init): create the SoupSession here if it's not
5580         created, or ref it if it's already created.
5581         (e_gw_connection_finalize): unref the SoupSession here.
5582         (session_weak_ref_cb): callback to detect when the SoupSession dies.
5583
5584         * backends/groupwise/e-cal-backend-groupwise.c: make it use
5585         EGwConnection's.
5586         (e_cal_backend_groupwise_finalize): unref the EGwConnection.
5587         (e_cal_backend_groupwise_open): create the EGwConnection here.
5588
5589 2003-11-17  Rodrigo Moya <rodrigo@ximian.com>
5590
5591         * backends/groupwise/gw-connection.[ch]: new class for managing
5592         connections to Groupwise servers.
5593
5594         * backends/groupwise/Makefile.am: added new files and needed
5595         CFLAGS and LIBS.
5596
5597 2003-11-17  Dan Winship  <danw@ximian.com>
5598
5599         * libecal/e-cal-util.c (e_cal_util_new_component): New
5600         icalcomponent-based replacement for
5601         e_cal_component_new/e_cal_component_set_vtype.
5602
5603         * libedata-cal/e-data-cal.c: fix up some broken indentation
5604         (e_data_cal_notify_default_object, e_data_cal_notify_object):
5605         constify the object arg
5606
5607 2003-11-14  Rodrigo Moya <rodrigo@ximian.com>
5608
5609         * backends/Makefile.am: added groupwise backend directory to build.
5610
5611         * backends/groupwise/Makefile.am:
5612         * backends/groupwise/e-cal-backend-groupwise.[ch]: Groupwise backend
5613         skeleton.
5614
5615 2003-11-11  ChangeLog <jpr@ximian.com>
5616
5617         * libecal/e-cal.c (e_cal_class_init): emit the status
5618
5619         * libecal/e-cal.h: remove open status enums, use calendar status
5620         instead
5621
5622         * libecal/client-test.c (create_client): just directly open the
5623         calendar, no need to be async
5624
5625 2003-11-11  Dan Winship  <danw@ximian.com>
5626
5627         * libedata-cal/e-cal-backend-sexp.c: Make the time-related sexp
5628         function handlers (eg, time-now, make-time, etc) be non-static, so
5629         they can be reused by backend-specific calendar sexp parsers.
5630
5631 2003-11-10  JP Rosevear <jpr@ximian.com>
5632
5633         * libecal/e-cal.h: remove dead enums
5634
5635 2003-11-10  JP Rosevear <jpr@ximian.com>
5636
5637         * libecal/e-cal.h: mark struct as private
5638
5639         * libecal/e-cal.c: fix documentation headers
5640
5641         * libecal/e-cal-view.h: fix cast macros and typedef the structs
5642         separately
5643
5644         * libecal/e-cal-view.c: use correct type check macro, fix some
5645         documentation headers
5646
5647         * libecal/e-cal-view-listener.h: typedef the structs separately
5648         and tidy up class macros
5649
5650         * libecal/e-cal-util.c: fix a documentation header
5651
5652         * libecal/e-cal-listener.h: mark parts of the struct as private
5653
5654         * libecal/e-cal-listener.c: fix a few documentation headers
5655
5656         * libecal/e-cal-component.h: remove extraneous comma and mark
5657         parts of struct as private
5658
5659         * libecal/e-cal-component.c: fix a couple of documentation headers
5660
5661 2003-11-10  Dan Winship  <danw@ximian.com>
5662
5663         * libedata-cal/e-cal-backend-sexp.c: Remove get-vtype from the
5664         query language, since it is redundant now.
5665         (func_has_alarms): Remove the boolean arg from has-alarms. You can
5666         just say (not (has-alarms?)).
5667
5668 2003-11-10  JP Rosevear <jpr@ximian.com>
5669
5670         * libecal/e-cal.h: add proto
5671
5672         * libecal/e-cal.c (e_cal_free_change_list): this belongs here
5673
5674         * libecal/e-cal-types.h: remove proto
5675
5676         * libecal/Makefile.am: don't build dead file
5677
5678 2003-11-07  Dan Winship  <danw@ximian.com>
5679
5680         * libecal/Makefile.am (libecal_la_LDFLAGS): Remove -no-undefined
5681
5682         * libedata-cal/Makefile.am (libedata_cal_la_LDFLAGS): Likewise
5683
5684 2003-11-06    <jpr@ximian.com>
5685
5686         * libecal/e-cal-view-listener.h: match the signals better
5687
5688         * libecal/e-cal-view-listener.c (e_cal_view_listener_class_init):
5689         ditto
5690         
5691 2003-11-06  JP Rosevear  <jpr@ximian.com>
5692
5693         * libecal/e-cal.c: replace e_mutex stuff with gthread stuff
5694
5695 2003-11-06  JP Rosevear <jpr@ximian.com>
5696
5697         * Makefile.am: build new subdirs
5698
5699         * backends/*: build the http and file backends here
5700
5701         * libedata-cal/Makefile.am: no longer build them here   
5702         
5703 2003-11-05  JP Rosevear  <jpr@ximian.com>
5704
5705         * rename libedatacal to libedata-cal
5706
5707 2003-11-05  JP Rosvear <jpr@ximian.com>
5708
5709         * libecal/Makefile.am: use privincludedir
5710
5711         * libedatacal/Makefile.am: ditto
5712
5713         * libecal/libecal-1.0.pc.in: ditto
5714
5715         * libedatacal/libedatacal-1.0.pc.in: use privincludedir; remove
5716         gal
5717
5718 2003-11-05  JP Rosevear <jpr@ximian.com>
5719
5720         * libecal/Makefile.am: LIBADD all the relevant libical libs
5721
5722         * libecal/libecal-1.0.pc.in: no need to explicitly link
5723         libical-evolution
5724
5725         * libedatacal/libedatacal-1.0.pc.in: ditto; fix include dir
5726         
5727 2003-11-05  Rodrigo Moya <rodrigo@ximian.com>
5728
5729         * libedatacal/e-cal-backend-sexp.c: removed GAL dependency.
5730
5731 2003-11-04  JP Rosevear <jpr@ximian.com>
5732
5733         * libedatacal/e-data-cal-factory.c: use properly name spaced
5734         default id
5735
5736 2003-11-04  JP Rosevear <jpr@ximian.com>
5737
5738         * libecal/libecal-1.0.pc.in (prefix): include priv dir stuff for
5739         libical
5740
5741         * libedatacal/libedatacal-1.0.pc.in (prefix): ditto
5742         
5743         * libecal/e-cal-component.[hc]: properly name space alarm action
5744         enum
5745
5746         * libecal/e-cal-types.h: properly name space change types       
5747         
5748 2003-11-04  JP Rosevear <jpr@ximian.com>
5749
5750         * libedatacal/e-data-cal-factory.c: remove corba header include
5751
5752         * libedatacal/e-cal-backend-sync.h: include corba header properly
5753         
5754         * libedatacal/e-data-cal.h: ditto
5755
5756         * libedatacal/e-data-cal-view.h: ditto
5757
5758         * libedatacal/e-data-cal-factory.h: ditto
5759
5760         * libedatacal/e-cal-backend.h: ditto
5761
5762         * libedatacal/Makefile.am: reflect idl name change
5763
5764         * libecal/e-cal-listener.h: include corba header properly
5765
5766         * libecal/e-cal-view.h: ditto
5767
5768         * libecal/e-cal-view-listener.h: ditto
5769
5770         * libecal/Makefile.am: reflect idl name change
5771
5772         * idl/Makefile.am: rename the idl to Evolution-DataServer-Calendar.idl
5773
5774 2003-11-03  Hans Petter Jansson  <hpj@ximian.com>
5775
5776         * calendar/libedatacal/e-cal-backend-file.c (free_calendar_components)
5777         (free_calendar_data): Implement.
5778         (e_cal_backend_file_dispose): Use above freers.
5779         (get_uri_string_for_gnome_vfs): Implement.
5780         (open_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
5781         (notify_removals_cb)
5782         (notify_adds_modifies_cb)
5783         (notify_changes)
5784         (reload_cal): Implement.
5785         (create_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
5786         (get_uri_string): Implement - unescapes once.
5787         (e_cal_backend_file_compute_changes): Unescape DB URI once, don't make
5788         like it's in a subdirectory.
5789         (e_cal_backend_file_reload): Implement.
5790
5791         * calendar/libedatacal/e-cal-backend-http.c
5792         (e_cal_backend_http_finalize): Cancel potential retrieval and free
5793         slave backend.
5794         (e_cal_backend_http_is_read_only): Clean up.
5795         (webcal_to_http_method)
5796         (uri_to_cache_dir)
5797         (ensure_cache_dir)
5798         (retrieval_done)
5799         (retrieval_progress_cb)
5800         (begin_retrieval_cb): Implement.
5801         (e_cal_backend_http_open): Set up slave backend.
5802         (e_cal_backend_http_remove)
5803         (e_cal_backend_http_is_loaded)
5804         (e_cal_backend_http_get_default_object)
5805         (e_cal_backend_http_get_object)
5806         (e_cal_backend_http_get_timezone)
5807         (e_cal_backend_http_add_timezone)
5808         (e_cal_backend_http_set_default_timezone)
5809         (e_cal_backend_http_get_object_list)
5810         (e_cal_backend_http_get_free_busy)
5811         (e_cal_backend_http_get_changes)
5812         (e_cal_backend_http_discard_alarm)
5813         (e_cal_backend_http_modify_object)
5814         (e_cal_backend_http_remove_object)
5815         (e_cal_backend_http_receive_objects)
5816         (e_cal_backend_http_send_objects)
5817         (e_cal_backend_http_internal_get_default_timezone)
5818         (e_cal_backend_http_internal_get_timezone): Implement with fallthrough
5819         to slave backend.
5820         (e_cal_backend_http_init): Remove cruft.
5821
5822         * calendar/libedatacal/e-cal-backend-sync.c
5823         (e_cal_backend_sync_open): Use per-instance mutex.
5824         (e_cal_backend_sync_init): Set up per-instance mutex.
5825         (e_cal_backend_sync_dispose): Free per-instance mutex.
5826
5827         * calendar/libedatacal/e-cal-backend.c
5828         (e_cal_backend_set_notification_proxy): Implement.
5829         (e_cal_backend_notify_object_created)
5830         (e_cal_backend_notify_object_modified)
5831         (e_cal_backend_notify_object_removed)
5832         (e_cal_backend_notify_mode)
5833         (e_cal_backend_notify_error): Use notification proxy if set.