1 2007-08-28 Ross Burton <ross@openedhand.com>
4 Fix FSF address (Tobias Mueller, #470445)
6 2007-08-23 Christian Kellner <gicmo@gnome.org>
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
13 2007-08-23 Christian Kellner <gicmo@gnome.org>
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
21 2007-08-23 Christian Kellner <gicmo@gnome.org>
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.
27 2007-08-23 Christian Kellner <gicmo@gnome.org>
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
34 2007-08-23 Milan Crha <mcrha@redhat.com>
36 ** Fix for bug #337454
38 * libecal/e-cal.c: (generate_instances): Based on RFC 2445,
39 DTEND property is not required for reccuring VEVENT.
41 2007-08-13 Ross Burton <ross@openedhand.com>
43 * libedata-cal/e-cal-backend-cache.c:
44 * backends/weather/e-weather-source-ccf.c:
45 * libecal/e-cal-component.c:
48 2007-08-10 Matthew Barnes <mbarnes@redhat.com>
51 Use EFlag to simplify synchronization logic (#415891).
53 2007-07-31 Chenthill Palanisamy <pchenthill@novell.com>
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:
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.
74 2007-07-30 Chenthill Palanisamy <pchenthill@novell.com>
76 Fixes a memory corruption.
77 * libecal/e-cal.c: (open_calendar): Use e_source_get_duped_property.
79 2007-07-13 Milan Crha <mcrha@redhat.com>
81 ** Fix for bug #456565
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'.
91 2007-07-25 Milan Crha <mcrha@redhat.com>
93 ** Fix for bug #268162
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.
104 * backends/http/e-cal-backend-http.c: (retrieval_done): Warnings cleanup.
106 2007-07-29 Srinivasa Ragavan <sragavan@novell.com>
108 ** Fix for bug #460867
110 * libecal/e-cal-component.c: (get_attachment_list):
112 2007-07-09 Srinivasa Ragavan <sragavan@novell.com>
114 ** Fix for bug #394572 from Jari Urpalainen
116 * backends/caldav/e-cal-backend-caldav.c: (caldav_ignore_host),
117 (caldav_set_session_proxy), (caldav_do_open):
119 2007-07-09 Milan Crha <mcrha@redhat.com>
121 ** Fix for bug #311098
123 * backends/contacts/e-cal-backend-contacts.c: (contacts_changed_cb):
124 Always remove old tracked data and add new if possible.
126 2007-06-04 Chenthill Palanisamy <pchenthill@novell.com>
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.
136 Committing on behalf of Keshav Upadhyaya <ukeshav@novell.com> and
137 Abhishek Parwal <pabhishek@novell.com>.
139 2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
141 ** Fix for bug #442187 from John Stowers
143 * libecal/e-cal.c: (get_default):
145 2007-05-31 Matthew Barnes <mbarnes@redhat.com>
147 * libecal/Makefile.am:
148 Fix some distcheck errors (#438577).
150 2007-05-24 Ross Burton <ross@openedhand.com>
152 * backends/caldav/Makefile.am:
153 Add missing link flags to fix build with -z,defs. (#409542, Loic
156 2007-05-22 Ross Burton <ross@openedhand.com>
158 * libecal/Makefile.am:
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
170 2007-05-16 Jules Colding <colding@omesc.com>
172 * backends/groupwise/e-cal-backend-groupwise.c (fetch_attachments):
173 Do not close() if (fd == -1)
175 * backends/groupwise/e-cal-backend-groupwise-utils.c (set_attachments_to_cal_component):
176 Do not close() if (fd == -1)
178 * backends/file/e-cal-backend-file.c (fetch_attachments):
179 Do not close() if (fd == -1)
181 2007-05-15 Ross Burton <ross@openedhand.com>
183 * tests/ecal/test-ecal.c:
184 * tests/ecal/test-search.c:
185 * tests/ecal/test-recur.c:
186 Remove useless Bonobo usage.
188 2007-05-13 Rob Bradford <rob@openedhand.com>
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.
195 2007-05-07 Matthew Barnes <mbarnes@redhat.com>
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:
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.
207 2007-04-05 Ross Burton <ross@openedhand.com>
209 * backends/file/e-cal-backend-file.c:
210 Use g_mkdir_with_parents (#383686).
212 2007-04-04 Ross Burton <ross@openedhand.com>
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).
220 2007-04-01 Matthew Barnes <mbarnes@redhat.com>
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.
233 2007-03-29 Matthew Barnes <mbarnes@redhat.com>
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).
240 2007-03-29 Matthew Barnes <mbarnes@redhat.com>
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.
248 2007-03-26 Matthew Barnes <mbarnes@redhat.com>
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.
255 2007-03-25 Matthew Barnes <mbarnes@redhat.com>
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.
263 2007-03-16 Matthew Barnes <mbarnes@redhat.com>
265 ** Fixes part of bug #360240
267 * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
268 Remove an unused variable.
270 2007-02-27 Ross Burton <ross@openedhand.com>
273 Use consistent URIs when opening calendars by using
274 e_source_new_with_absolute_uri() in e_cal_new_from_uri (#333507).
276 2007-02-12 Kjartan Maraas <kmaraas@gnome.org>
278 * libecal/e-cal.c: (process_detached_instances): Don't crash
279 on Outlook meeting invitations. Closes bug #404886. Patch
282 2007-02-12 Patrick Ohly <patrick.ohly@gmx.de>
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.
304 2007-01-29 Chenthill Palanisamy <pchenthill@novell.com>
306 reviewed by: <delete if not using a buddy>
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):
312 2007-01-23 Chenthill Palanisamy <pchenthill@novell.com>
314 reviewed by: <delete if not using a buddy>
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):
320 2006-11-27 Andrew Ruthven <andrew@etc.gen.nz>
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.
329 2006-12-03 Harish Krishnaswamy <kharish@novell.com>
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.
338 2006-12-03 Harish Krishnaswamy <kharish@novell.com>
340 * backends/groupwise/e-cal-backend-groupwise.c:
341 (sanitize_component): Fix leak of str.
343 2006-12-03 Harish Krishnaswamy <kharish@novell.com>
345 * libedata-cal/e-cal-backend.c: (e_cal_backend_finalize):
346 Fix leak of uri and source.
348 2006-12-03 Harish Krishnaswamy <kharish@novell.com>
350 * libedata-cal/e-data-cal-view.c:
351 (e_data_cal_view_set_property): Do not dup backend. Fix this being
354 2006-11-15 Chenthill Palanisamy <pchenthill@novell.com>
356 * libecal/e-cal-listener.c: (convert_status): Map the
357 error status for 'No Such Calendar'.
359 2006-11-08 Sankar P <psankar@novell.com>
361 * libecal/e-cal.c: (build_proxy_pass_key), (open_calendar):
362 Do not pop up a password dialog for proxy accounts.
365 2006-11-07 Chenthill Palanisamy <pchenthill@novell.com>
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)
372 2006-11-06 Harish Krishnaswamy <kharish@novell.com>
374 * libecal/e-cal.c: (open_calendar): Remove an
375 erroneous double mutex unlock. Fixes #312348
376 and its numerous duplicates.
378 2006-09-25 Matthew Barnes <mbarnes@redhat.com>
382 * backends/groupwise/e-cal-backend-groupwise.c: (change_status)
383 Use g_ascii_strncasecmp instead of deprecated g_strncasecmp.
385 2006-09-22 Chenthill Palanisamy <pchenthill@novell.com>
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.
397 2006-09-18 Chenthill Palanisamy <pchenthill@novell.com>
399 * backends/http/e-cal-backend-http.c:
400 (begin_retrieval_cb): Check the right e-source property.
402 Committing the patch from Mikael Nilsson <mini@nada.kth.se>.
404 2006-09-06 Chenthill Palanisamy <pchenthill@novell.com>
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.
411 2006-08-24 Chenthill Palanisamy <pchenthill@novell.com>
413 Fixes the gslice crash
414 * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
415 Do not free the cache_keys.
417 2006-08-24 Chenthill Palanisamy <pchenthill@novell.com>
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.
424 2006-08-23 Srinivasa Ragavan <sragavan@novell.com>
426 ** Fix for bug #349847 by Matthew Barnes
428 * tests/ecal/test-ecal.c: (test_get_object): Initialize gerror to
431 2006-08-22 Chenthill Palanisamy <pchenthill@novell.com>
433 * backends/http/e-cal-backend-http.c: (begin_retrieval_cb):
434 check if "use_ssl" property is set in e-source.
436 2006-08-19 Chenthill Palanisamy <pchenthill@novell.com>
439 * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
440 replaced gslist_delete_link with remove link.
442 2006-08-19 Chenthill Palanisamy <pchenthill@novell.com>
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.
449 2006-08-19 Harish Krishnaswamy <kharish@novell.com>
451 * backends/groupwise/e-cal-backend-groupwise-utils.c:
452 (set_default_alarms): Unref GConf client on all exit
455 2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
457 * libedata-cal/e-cal-backend-sync.c:
458 (_e_cal_backend_remove_object): Remove an unused variable.
460 2006-08-11 Chenthill Palanisamy <pchenthill@novell.com>
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.
466 2006-08-07 Harish Krishnaswamy <kharish@novell.com>
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.
475 2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
478 * libecal/e-cal.c: (open_calendar): get the uri from
481 2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
484 * gui/dialogs/recurrence-page.c:
485 (recurrence_page_finalize): Diconnect the signal handler
486 while destroying the page.
488 2006-07-29 Chenthill Palanisamy <pchenthill@novell.com>
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.
495 2006-07-24 Harish Krishnaswamy <kharish@novell.com>
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.
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
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.
522 2006-07-22 Harish Krishnaswamy <kharish@novell.com>
524 * backends/groupwise/e-cal-backend-groupwise-utils.c:
525 (set_default_alarms): Refactor code to cut down
528 2006-07-22 Chenthill Palanisamy <pchenthill@novell.com>
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.
535 2006-07-22 Harish Krishnaswamy <kharish@novell.com>
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.
544 2006-07-22 Chenthill Palanisamy <pchenthill@novell.com>
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
570 2006-07-10 Chenthill Palanisamy <pchenthill@novell.com>
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.
613 2006-07-10 Harish Krishnaswamy <kharish@novell.com>
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.
620 2006-07-03 Harish Krishnaswamy <kharish@novell.com>
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
628 2006-06-21 Harish Krishnaswamy <kharish@novell.com>
630 * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache):
631 Set appropriate cursor/seek direction for each of the
632 pre-population calls.
634 2006-06-19 Harish Krishnaswamy <kharish@novell.com>
636 * backends/groupwise/e-cal-backend-groupwise.c: (populate_cache):
637 reset 'done' flag for each iteration of cursor reads.
639 2006-06-16 Tor Lillqvist <tml@novell.com>
641 * backends/groupwise/e-cal-backend-groupwise.c: Add gmtime_r()
642 macro implementation for Win32.
644 2006-06-15 Andre Klapper <a9016009@gmx.de>
648 changing "cancelled" to "canceled" in user-visible strings.
651 2006-06-15 Harish Krishnaswamy <kharish@novell.com>
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.
658 2006-06-15 Wang Xin <jedy.wang@sun.com>
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.
667 2006-06-13 Andre Klapper <a9016009@gmx.de>
669 * backends/file/e-cal-backend-file.c:
670 changing "couldn't", "can't" and "didn't" to proper
671 English. Fixes bug #342160.
673 2006-06-13 Chenthill Palanisamy <pchenthill@novell.com>
676 * backends/caldav/e-cal-backend-caldav.c:
677 (caldav_remove): Return success if the cache
680 2006-06-12 Harish Krishnaswamy <kharish@novell.com>
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.
687 2006-06-12 Ross Burton <ross@openedhand.com>
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
695 2006-05-25 Wang Xin <jedy.wang@sun.com>
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.
703 2006-05-07 Kjartan Maraas <kmaraas@gnome.org>
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.
709 2006-04-22 Harish Krishnaswamy <kharish@novell.com>
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)
716 2006-04-10 Tor Lillqvist <tml@novell.com>
718 * libecal/e-cal-time-util.c: #define gmtime_r on Win32.
720 2006-04-06 Chenthill Palanisamy <pchenthill@novell.com>
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.
729 2006-04-05 Irene Huang <Irene.Huang@sun.com>
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.
738 2006-04-03 Chenthill Palanisamy <pchenthill@novell.com>
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
747 2006-03-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
754 2006-03-23 Chenthill Palanisamy <pchenthill@novell.com>
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
762 2006-03-23 Chenthill Palanisamy <pchenthill@novell.com>
765 * libedata-cal/e-cal-backend-cache.c:
766 (e_cal_backend_cache_constructor): Register only
767 if the type is not register before.
769 2006-03-23 Chenthill Palanisamy <pchenthill@novell.com>
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.
776 2006-03-22 Chenthill Palanisamy <pchenthill@novell.com>
779 * libedata-cal/e-cal-backend.c:
780 (e_cal_backend_notify_object_removed): Check if
783 2006-03-04 Chenthill Palanisamy <pchenthill@novell.com>
787 (build_pass_key): Get the uri from ECal, which is more
789 (open_calendar): Pass ECal to build_pass_key.
791 2006-03-01 Chenthill Palanisamy <pchenthill@novell.com>
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.
800 2006-03-02 Jeff Cai <Jeff.Cai@Sun.Com>
803 * backends/weather/e-weather-source-ccf.c:
804 (e_weather_source_ccf_parse):
805 Support getting weather data through global http proxy.
807 2006-02-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
815 2006-02-20 Harish Krishnaswamy <kharish@novell.com>
817 * backends/caldav/Makefile.am: Add soup_flags to la.
819 2006-02-14 Chenthill Palanisamy <pchenthill@novell.com>
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.
826 2006-02-13 Chenthill Palanisamy <pchenthill@novell.com>
829 * libecal/e-cal.c: (process_detached_instances): Check if we have
830 valid recurrence id before comparing.
832 2006-02-12 Chenthill Palanisamy <pchenthill@novell.com>
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.
841 2006-02-09 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
843 * backends/contacts/e-cal-backend-contacts.c: (contact_record_free)
844 Corrected id. Fixes #326428
846 2006-02-09 Harish Krishnaswamy <kharish@novell.com>
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.
852 2006-01-23 Veerapuram Varadhan <vvaradhan@novell.com>
855 * libedata-cal/e-data-cal-factory.c: (impl_CalFactory_getCal): Do
856 not ref a NULL object.
858 2006-01-23 Chenthill Palanisamy <pchenthill@novell.com>
861 * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
862 Remove the deleted items from the server.
864 2006-01-23 Harish Krishnaswamy <kharish@novell.com>
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.
872 2006-01-22 Harish Krishnaswamy <kharish@novell.com>
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
879 2006-01-19 Chenthill Palanisamy <pchenthill@novell.com>
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.
886 2006-01-17 Harish Krishnaswamy <kharish@novell.com>
888 * backends/caldav/Makefile.am: make distcheck
891 2006-01-16 Harish Krishnaswamy <kharish@novell.com>
893 * backends/Makefile.am : Add caldav subdir.
895 2006-01-16 Harish Krishnaswamy <kharish@novell.com>
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.
902 2006-01-16 Tony Tsui <tsui.tony@gmail.com>
905 * backends/http/e-cal-backend-http.c: (webcal_to_http_method,
906 retrieval_done, begin_retrieval_cb): Add support for webcal access
909 2006-01-12 Harish Krishnaswamy <kharish@novell.com>
911 * libecal/e-cal.c: (get_factories):
912 The Cal Factory oafid should reflect
913 the API version rather than the BASE version.
916 2006-01-10 Simon Zheng <simon.zheng@sun.com>
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".
925 2006-01-10 Chenthill Palanisamy <pchenthill@novell.com>
929 * backends/http/e-cal-backend-http.c:
930 (notify_and_remove_from_cache): Remove the items from the cache.
932 2006-01-06 Chenthill Palanisamy <pchenthill@novell.com>
935 * backends/http/e-cal-backend-http.c: (e_cal_backend_http_open):
936 Check if the default zone is present before adding it.
938 2006-01-05 Kjartan Maraas <kmaraas@gnome.org>
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):
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
949 * tests/ecal/test-recur.c: (main): Remove unused vars.
951 2006-01-04 Tor Lillqvist <tml@novell.com>
953 * backends/weather/e-weather-source-ccf.c (find_station_url):
954 Modify call to e_util_replace_prefix() according to its changed
957 * backends/weather/Makefile.am: Need to pass E_DATA_SERVER_PREFIX
958 because of the above.
960 2006-01-02 Chenthill Palanisamy <pchenthill@novell.com>
963 * backends/http/e-cal-backend-http.c:
964 (e_cal_backend_http_finalize): Remove the source
965 from the timeout loop.
967 2005-12-21 Chenthill Palanisamy <pchenthill@novell.com>
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.
974 2005-12-16 Chenthill Palanisamy <pchenthill@novell.com>
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.
981 2005-12-15 Chenthill Palanisamy <pchenthill@novell.com>
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.
988 2005-12-13 Tor Lillqvist <tml@novell.com>
990 * libecal/Makefile.am (INCLUDES): Drop unused EVOLUTION_LOCALEDIR.
992 2005-12-11 Tor Lillqvist <tml@novell.com>
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
999 2005-12-09 Tor Lillqvist <tml@novell.com>
1001 * backends/groupwise/e-cal-backend-groupwise-utils.c: Use gstdio
1002 wrappers. Use g_filename_from_uri() and g_file_get_contents().
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.
1010 * libecal/e-cal-util.c: Open file in binary mode. Compare
1011 localized strings using e_util_utf8_strcasecmp() instead of
1014 2005-12-08 Tor Lillqvist <tml@novell.com>
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.
1024 2005-11-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
1032 2005-11-28 Chenthill Palanisamy <pchenthill@novell.com>
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
1040 2005-10-27 Chenthill Palanisamy <pchenthill@novell.com>
1042 Reworked the patch from Matthew Daniel <bugzilla@mdaniel.scdi.com>
1045 * backends/http/e-cal-backend-http.c: Include
1046 the file e-cal-time-util.h
1048 2005-10-26 Chenthill Palanisamy <pchenthill@novell.com>
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
1056 2005-10-24 Chenthill Palanisamy <pchenthill@novell.com>
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
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.
1075 2005-10-19 Harish Krishnaswamy <kharish@novell.com>
1077 Committing for Nathan Owens <pianocomp81@yahoo.com>
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
1084 2005-10-10 Chenthill Palanisamy <pchenthill@novell.com>
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
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.
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
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.
1131 2005-10-07 Arunprakash <arunp@novell.com>
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.
1138 2005-10-04 Dinesh Layek <ldinesh@novell.com>
1141 * backends/groupwise/e-cal-backend-groupwise-utils.c:
1142 (e_gw_item_to_cal_component): Added a null check for
1145 2005-10-01 Chenthill Palanisamy <pchenthill@novell.com>
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.
1152 2005-10-01 Harry Lu <harry.lu@sun.com>
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
1158 2005-09-13 dinesh layek <ldinesh@novell.com>
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.
1165 2005-09-22 Dinesh Layek <ldinesh@novell.com>
1168 * backends/groupwise/e-cal-backend-groupwise-utils.c:
1169 (e_gw_item_to_cal_component): Check accept_level
1171 2005-09-27 Sarfraaz Ahmed <asarfraaz@novell.com>
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.
1180 2005-09-26 Wang Xin <jedy.wang@sun.com>
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.
1188 2005-09-12 Chenthill Palanisamy <pchenthill@novell.com>
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
1197 2005-09-15 Tor Lillqvist <tml@novell.com>
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.
1203 2005-09-01 Chenthill Palanisamy <pchenthill@novell.com>
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.
1211 2005-08-25 Chenthill Palanisamy <pchenthill@novell.com>
1214 * backends/groupwise/e-cal-backend-groupwise-utils.c:
1215 (e_gw_item_to_cal_component): Intialize the tzid for
1218 2005-08-22 Not Zed <NotZed@Ximian.com>
1220 * backends/weather/e-weather-source.c (e_weather_source_new):
1221 constify base. Include missing string.h.
1223 * backends/weather/e-cal-backend-weather.c
1224 (e_cal_backend_weather_open): constify uri.
1226 * backends/contacts/e-cal-backend-contacts.c
1227 (contacts_changed_cb): constify uid.
1229 * backends/http/e-cal-backend-http.c
1230 (e_cal_backend_http_get_timezone): constify zone.
1232 * backends/groupwise/e-cal-backend-groupwise.c (get_deltas):
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.
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
1244 (e_cal_backend_file_modify_object): fix function signature. no
1245 idea what new_object should be set to.
1247 * libedata-cal/e-cal-backend-cache.c
1248 (e_cal_backend_cache_put_timezone): Cast away warnings.
1250 * libecal/e-cal-component.c (ensure_alarm_properties_cb): pass a
1251 string to icalproperty_set_description. Not sure if it's the
1253 (get_attachment_list): use const char * for data.
1254 (set_alarm_description_cb): use const for old_summary.
1255 (SetAlarmDescriptionData): constify strings.
1257 * libecal/e-cal.c (open_calendar): make parent_user const & remove
1259 (e_cal_get_objects_for_uid): init kind_to_find always.
1261 2005-08-23 Veerapuram Varadhan <vvaradhan@novell.com>
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
1269 2005-08-22 Sarfraaz Ahmed <asarfraaz@novell.com>
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.
1274 2005-08-21 Chenthill Palanisamy <pchenthill@novell.com>
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>.
1285 2005-08-17 Carsten Guenther <carsten.guenther@scalix.com>
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
1295 2005-08-17 Chenthill Palanisamy <pchenthill@novell.com>
1298 * libecal/e-cal.c (cal_read_only_cb): Check if
1299 the op->bool is TRUE before emiting the cond
1301 (get_read_only): set the op->bool to true while
1304 2005-08-17 Chenthill Palanisamy <pchenthill@novell.com>
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
1312 2005-08-12 P. S. Chakravarthi <pchakravarthi@novell.com>
1315 * backends/groupwise/e-cal-backend-groupwise.c:
1316 (populate_cache): percent is not allowed to go beyond 100
1318 2005-08-11 Tor Lillqvist <tml@novell.com>
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.
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.
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.
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
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.
1348 2005-08-06 P. S. Chakravarthi <pchakravarthi@novell.com>
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
1358 2005-08-04 Chenthill Palanisamy <pchenthill@novell.com>
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.
1365 2005-08-02 Chenthill Palanisamy <pchenthill@novell.com>
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.
1372 2005-07-27 Mengjie Yu <meng-jie.yu@sun.com>
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.
1388 2005-07-25 Chenthill Palanisamy <pchenthill@novell.com>
1392 (e_cal_get_object): Fix for build break in sun
1394 Committing for bugzilla-novell@thewrittenword.com.
1396 2005-07-25 Chenthill Palanisamy <pchenthill@novell.com>
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
1404 2005-07-23 Chenthill Palanisamy <pchenthill@novell.com>
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.
1410 2005-07-21 Chenthill Palanisamy <pchenthill@novell.com>
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
1419 2005-07-19 Chenthill Palanisamy <pchenthill@novell.com>
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
1430 2005-07-13 Chenthill Palanisamy <pchenthill@novell.com>
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
1438 2005-07-11 Chenthill Palanisamy <pchenthill@novell.com>
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
1452 Commiting for viren.l <viren@novell.com>
1454 2005-07-11 Chenthill Palanisamy <pchenthill@novell.com>
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.
1484 2005-07-10 Sankar P <psankar@novell.com>
1486 * libecal/e-cal.c: (open_calendar)
1487 Added a string which will be used for password prompt in case of a proxy account.
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.
1492 2005-07-09 Harish Krishnaswamy <kharish@novell.com>
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.
1498 2005-07-09 Harish Krishnaswamy <kharish@novell.com>
1500 * backends/groupwise/e-cal-backend-groupwise.c: (get_deltas):
1501 Fix compiler warnings.
1503 2005-07-08 Chenthill Palanisamy <pchenthill@novell.com>
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
1515 2005-07-08 Harish Krishnaswamy <kharish@novell.com>
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
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.
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.)
1541 2005-07-08 Sankar P <psankar@novell.com>
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.
1554 2005-07-02 Chenthill Palanisamy <pchenthill@novell.com>
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
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
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
1570 2005-07-02 Chenthill Palanisamy <pchenthill@novell.com>
1572 * backends/groupwise/e-cal-backend-groupwise.[ch]:
1573 Removed the function for getting container_id.
1575 2005-07-02 Harish Krishnaswamy <kharish@novell.com>
1578 * libecal/e-cal.c: (e_cal_create_object): Fix
1581 2005-06-23 Chenthill Palanisamy <pchenthill@novell.com>
1583 * backends/http/Makefile.am: Removed unnecessary
1584 linking to file backend.
1586 2005-06-22 Chenthill Palanisamy <pchenthill@novell.com>
1588 * backends/groupwise/Makefile.am: Removed unnecessary
1589 linking to file backend.
1591 2005-06-21 Chenthill Palanisamy <pchenthill@novell.com>
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.
1597 2005-06-20 Chenthill Palanisamy <pchenthill@novell.com>
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.
1607 2005-06-06 Chenthill Palanisamy <pchenthill@novell.com>
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
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
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.
1632 2005-05-18 Ross Burton <ross@burtonini.com>
1634 * backends/contacts/e-cal-backend-contacts.c:
1635 Fix various memory leaks.
1637 2005-05-18 Rodrigo Moya <rodrigo@novell.com>
1639 * backends/file/e-cal-backend-file-journal.[ch]: new class to implement
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.
1647 * backends/file/Makefile.am: added new files.
1649 2005-05-13 Rodrigo Moya <rodrigo@novell.com>
1651 * libedata-cal/e-cal-backend.c (e_cal_backend_get_cal_address):
1652 fixed gtk-doc comments for functions without return value.
1654 2005-05-13 The Written Word <bugzilla-novell@thewrittenword.com>
1658 * libedata-cal/e-cal-backend.c (e_cal_backend_get_object_list):
1659 don't return value from void function.
1661 2005-05-13 Shreyas Srinivasan <sshreyas@novell.com>
1663 * backends/contacts/e-cal-backend-contacts.c: Fix #256874
1665 2005-05-12 Vivek Jain <jvivek@novell.com>
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
1673 2005-05-11 Rodrigo Moya <rodrigo@novell.com>
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.
1682 2005-05-09 Sushma Rai <rsushma@novell.com>
1684 * libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_constructor):
1685 Freeing cache file name.
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.
1691 * calendar/backends/file/e-cal-backend-file.c
1692 (e_cal_backend_file_get_object_list)(create_user_free_busy): Unref sexp.
1694 2005-05-06 Rodrigo Moya <rodrigo@novell.com>
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.
1701 2005-05-06 Rodrigo Moya <rodrigo@novell.com>
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.
1710 2005-05-06 Rodrigo Moya <rodrigo@novell.com>
1714 * libecal/e-cal.c (add_instance): set RECURRENCE-ID correctly.
1715 (generate_instances): use detached instances' start and end times, not
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.
1724 2005-05-04 Rodrigo Moya <rodrigo@novell.com>
1728 * libecal/libecal.pc.in:
1729 * libedata-cal/libedata-cal.pc.in: fixed Name: and Description:
1732 2005-05-04 Rodrigo Moya <rodrigo@novell.com>
1734 * libecal/e-cal-component.c:
1735 * libecal/e-cal-listener.c:
1736 * libecal/e-cal-recur.[ch]: improved API documentation.
1738 2005-04-19 Philip Van Hoof <pvanhoof@gnome.org>
1740 * libecal/e-cal.c: Function prototype (compiler fix)
1742 2005-04-18 Chenthill Palanisamy <pchenthill@novell.com>
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
1749 (get_deltas): Added a static mutex lock.
1751 2005-04-11 Vivek Jain <jvivek@novell.com>
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
1758 2005-04-08 Rodrigo Moya <rodrigo@novell.com>
1760 * libecal/e-cal-util.h: added new function's prototype.
1762 2005-04-08 Rodrigo Moya <rodrigo@novell.com>
1766 * libecal/e-cal-util.c (e_cal_util_parse_ics_string): new function that
1767 supports strings with multiple VCALENDAR's.
1769 * backends/http/e-cal-backend-http.c (retrieval_done): use the new
1770 function instead of icalparser_parse_string.
1772 2004-04-06 Rodrigo Moya <rodrigo@novell.com>
1774 * libecal/e-cal.c (e_cal_open_async): check load state and if in
1775 progress or already loaded, notify caller and return.
1777 2005-04-06 Chenthill Palanisamy <pchenthill@novell.com>
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
1784 (open_async), (e_cal_open), (reopen_with_auth): Added additional
1785 argument for the open_calendar call.
1787 2005-04-06 Christian Kellner <gicmo@gnome.org>
1789 * libecal/e-cal.c (set_local_attachment_store):
1790 Add support for scalix provider. Also plug a
1792 Patch from Carsten Guenther <Carsten.Guenther@scalix.com>
1794 2005-03-24 Chenthill Palanisamy <pchenthill@novell.com>
1797 * backends/groupwise/e-cal-backend-groupwise.c:
1798 (connect_to_server): Check for the container id
1799 before calling the cache init.
1801 2005-03-24 Chenthill Palanisamy <pchenthill@novell.com>
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
1809 * libecal/e-cal.[ch] (e_cal_get_organizer_must_accept):
1810 Added a function to check the static capability.
1812 2005-03-12 Chenthill Palanisamy <pchenthill@novell.com>
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.
1819 2005-03-12 Harish Krishnaswamy <kharish@novell.com>
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.
1826 2005-03-12 Harish Krishnaswamy <kharish@novell.com>
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.
1834 2005-03-11 Sarfraaz Ahmed <asarfraaz@novell.com>
1836 * libecal/e-cal.c : Set the local_attachment_store for exchange
1838 2005-03-08 Chenthill Palanisamy <pchenthill@novell.com>
1841 * libecal/e-cal.c: (open_calendar): Check if the uri
1842 is not NULL before getting the password from
1845 2005-03-06 Rodrigo Moya <rodrigo@novell.com>
1849 * backends/http/e-cal-backend-http.c (begin_retrieval_cb): call
1850 g_object_set with correct arguments.
1852 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com>
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
1859 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
1868 2005-02-28 Harish Krishnaswamy <kharish@novell.com>
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"
1874 2005-02-25 Rodrigo Moya <rodrigo@novell.com>
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.
1881 2005-02-25 Chenthill Palanisamy <pchenthill@novell.com>
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.
1892 2005-02-25 Harish Krishnaswamy <kharish@novell.com>
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.
1898 2005-02-22 Rodrigo Moya <rodrigo@novell.com>
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.
1906 2005-02-22 JP Rosevear <jpr@novell.com>
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
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.
1930 2005-02-22 Chenthill Palanisamy <pchenthill@novell.com>
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.
1938 2005-02-22 Chenthill Palanisamy <pchenthill@novell.com>
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.
1946 2005-02-21 Harish Krishnaswamy <kharish@novell.com>
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.
1953 2005-02-17 Chenthill Palanisamy <pchenthill@novell.com>
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
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.
1963 2005-02-11 Rodrigo Moya <rodrigo@gnome-db.org>
1967 * libecal/e-cal-view.c (objects_added_cb, objects_modified_cb,
1968 objects_removed_cb): ref/unref the view before/after emitting the
1971 2005-02-11 Chenthill Palanisamy <pchenthill@novell.com>
1974 * backends/groupwise/e-cal-backend-groupwise.c:
1975 (e_cal_backend_groupwise_open): insert a g_mutex_unlock.
1977 2005-02-10 Chenthill Palanisamy <pchenthill@novell.com>
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.
1984 2005-02-09 Rodrigo Moya <rodrigo@novell.com>
1986 * libecal/e-cal.c (open_calendar): use e_return_error_if_fail instead
1987 of g_return_val_if_fail.
1989 2005-02-08 Rodrigo Moya <rodrigo@novell.com>
1991 * libecal/e-cal.c (add_instance): set correctly (again) the recurid.
1992 (generate_instances): set correctly instance times for detached
1995 2005-02-08 Rodrigo Moya <rodrigo@novell.com>
1997 * libecal/e-cal.c (add_instance): recurrence-id needs to be a date
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.
2008 2005-02-08 Harish Krishnaswamy <kharish@novell.com>
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.
2014 2005-02-08 Chenthill Palanisamy <pchenthill@novell.com>
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.
2021 2005-02-07 JP Rosevear <jpr@novell.com>
2023 * backends/weather/e-cal-backend-weather.c (getCategory): don't
2024 translate the empty string
2026 2005-02-07 Chenthill Palanisamy <pchenthill@novell.com>
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
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.
2040 2005-02-04 Chenthill Palanisamy <pchenthill@novell.com>
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.
2050 (e_cal_backend_groupwise_create_object): Check for
2051 the UID, if not present send an error message.
2053 2005-02-04 Rodrigo Moya <rodrigo@novell.com>
2055 * tests/ecal/test-recur.c: removed libgnome usage.
2056 (main): use arguments correctly.
2058 2005-02-04 Rodrigo Moya <rodrigo@novell.com>
2060 * libecal/e-cal.c (generate_instances): don't expand recurrences
2061 for detached instances.
2063 * tests/ecal/test-recur.c:
2064 * tests/ecal/Makefile.am: added recurrence test.
2066 2005-02-04 Ross Burton <ross@burtonini.com>
2068 * tests/ecal/test-search.c:
2069 Remove useless libgnome usage.
2071 2005-02-03 Chenthill Palanisamy <pchenthill@novell.com>
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
2082 2005-01-03 Vivek Jain <jvivek@novell.com>
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
2093 2005-02-02 Ross Burton <ross@burtonini.com>
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:
2105 * libedata-cal/e-cal-backend-sexp.c:
2106 * tests/ecal/test-ecal.c:
2109 2005-02-02 Chenthill Palanisamy <pchenthill@novell.com>
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.
2121 2005-01-31 Hans Petter Jansson <hpj@novell.com>
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.
2127 2005-01-31 Hans Petter Jansson <hpj@novell.com>
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:
2136 2005-01-31 Chenthill Palanisamy <pchenthill@novell.com>
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
2145 2005-01-31 Harish Krishnaswamy <kharish@novell.com>
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.
2152 2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com>
2154 * calendar/backends/groupwise/e-cal-backend-groupwise.c
2155 (from_uri) : Change the default port to 7191
2157 2005-01-28 Rodrigo Moya <rodrigo@novell.com>
2159 * idl/Evolution-DataServer-Calendar.idl: removed
2160 notifyCategoriesChanged method on CalListener.
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):
2170 * libedata-cal/e-data-cal.[ch]
2171 (e_data_cal_notify_categories_changed): removed.
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.
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.
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"
2186 (e_cal_class_init): don't create "categories_changed" signal.
2188 2005-01-27 Chenthill Palanisamy <pchenthill@novell.com>
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.
2198 2005-01-27 Rodrigo Moya <rodrigo@novell.com>
2200 * backends/file/e-cal-backend-file.c: added a GMutex for the idle saving
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.
2206 2005-01-26 Rodrigo Moya <rodrigo@novell.com>
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.
2212 2005-01-26 JP Rosevear <jpr@novell.com>
2214 * libecal/e-cal.c (e_cal_send_objects): fix leak in the error case
2216 2005-01-25 Rodrigo Moya <rodrigo@novell.com>
2218 * backends/file/e-cal-backend-file.c (save_file_when_idle):
2219 uninstall idle handler when successfully saving the file.
2221 2005-01-24 Harish Krishnaswamy <kharish@novell.com>
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.
2227 2005-01-20 Chenthill Palanisamy <pchenthill@novell.com>
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.
2233 2005-01-19 Rodrigo Moya <rodrigo@novell.com>
2235 * backends/file/e-cal-backend-file.c (cancel_received_object): deal
2238 2005-01-19 Rodrigo Moya <rodrigo@novell.com>
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.
2247 2005-01-19 Harish Krishnaswamy <kharish@novell.com>
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.
2254 2005-01-18 Rodrigo Moya <rodrigo@novell.com>
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.
2263 2005-01-17 Rodrigo Moya <rodrigo@novell.com>
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.
2270 2005-01-17 Rodrigo Moya <rodrigo@novell.com>
2272 * backends/file/e-cal-backend-file.c (save_file_when_idle): don't
2273 save the file if it's not dirty!
2275 2005-01-17 Rodrigo Moya <rodrigo@novell.com>
2277 * backends/file/e-cal-backend-file.c: use guint for idle id.
2279 2005-01-17 Rodrigo Moya <rodrigo@novell.com>
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.
2291 2005-01-17 Rodrigo Moya <rodrigo@novell.com>
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.
2296 2005-01-12 Rodrigo Moya <rodrigo@novell.com>
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.
2303 2005-01-12 Not Zed <NotZed@Ximian.com>
2305 * backends/http/e-cal-backend-http.c (retrieval_done): warning fix
2308 2005-01-12 David Trowbridge <trowbrds@cs.colorado.edu>
2310 * backends/weather/e-cal-backend-weather.c: Use a single
2311 metric/imperial setting rather than separate temperature and
2314 2005-01-10 Harish Krishnaswamy <kharish@novell.com>
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
2321 2005-01-10 Harish Krishnaswamy <kharish@novell.com>
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
2328 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com>
2330 * backends/groupwise/e-cal-backends-groupwise-utils.h:
2331 Missed to commit this file before.
2333 2005-01-10 David Trowbridge <trowbrds@cs.colorado.edu>
2335 * backends/weather/e-cal-backend-weather.c: add the city name to the
2338 2005-01-10 Harish Krishnaswamy <kharish@novell.com>
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.
2358 2005-01-08 JP Rosevear <jpr@novell.com>
2360 * backends/weather/e-cal-backend-weather.c (create_weather): make
2361 sure we don't free a static string
2363 2005-01-08 Harish Krishnaswamy <kharish@novell.com>
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.
2379 2005-01-06 David Trowbridge <trowbrds@cs.colorado.edu>
2381 * backends/weather/*: Import weather calendar backend
2383 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com>
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.
2392 2004-12-24 Rodrigo Moya <rodrigo@novell.com>
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
2400 (e_cal_backend_file_remove_object): call remove_component for the
2401 CALOBJ_MOD_ALL case, since remove_component takes care of everything
2403 (cancel_received_object): look for the object in the comp_uid_hash,
2404 since we need to pass the ECalBackendFileObject struct to
2407 2004-12-23 Rodrigo Moya <rodrigo@novell.com>
2409 * libedata-cal/e-data-cal-view.c (impl_EDataCalView_start): removed
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.
2423 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
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
2431 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2433 Part of merge from offline branch
2435 * idl/Evolution-DataServer-Calendar.idl : added
2436 new error code OfflineUnavailable
2438 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2440 Part of merge from offline branch
2442 * idl/Evolution-DataServer-Calendar.idl : added a new method
2443 notifyAuthRequired to cal listener interface
2445 * libedata-cal/e-cal-backend.[ch]
2446 (e_cal_backend_notify_auth_required):
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
2452 * libecal/e-cal-listener.[ch] : implemented notifyAuthRequired
2453 interface and add AUTH_REQUIRED signal
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
2459 * libecal/e-cal-marshal.list : added NONE:NONE to list
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
2466 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2468 Part of merge from offline branch
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
2478 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
2480 Part of merge from offline branch
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.
2488 2004-12-22 Chenthill Palanisamy <pchenthill@novell.com>
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
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.
2514 2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
2516 Part of merge from offline branch
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
2523 (impl_CalFactory_getCal) : modified this function to
2524 set online/offline mode on the backend after creatng it
2526 2004-12-22 Rodrigo Moya <rodrigo@novell.com>
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.
2532 * libecal/e-cal-util.c (e_cal_util_construct_instance): removed
2535 2004-12-21 Rodrigo Moya <rodrigo@novell.com>
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
2541 2004-12-20 Anders Carlsson <andersca@gnome.org>
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.
2552 2004-12-18 JP Rosevear <jpr@novell.com>
2556 * backends/http/e-cal-backend-http.c (begin_retrieval_cb): add
2559 2004-12-15 Rodrigo Moya <rodrigo@novell.com>
2561 Merge from recurrences-work-branch
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.
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
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.
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.
2585 * backends/contacts/e-cal-backend-contacts.c (contact_record_free):
2586 pass correct number of arguments to e_cal_backend_notify_object_removed.
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.
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.
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.
2603 2004-12-15 Chenthill Palanisamy <pchenthill@novell.com>
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
2615 2004-12-13 Harish Krishnaswamy <kharish@novell.com>
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.
2624 2004-12-09 Rodrigo Moya <rodrigo@novell.com>
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.
2632 2004-12-09 Harish Krishnamwamy <kharish@novell.com>
2633 Fixes for various leaks causing memory build-ups in eds.
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.
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.
2648 2004-12-05 Sivaiah Nallagatla <snallagatla@novell.com>
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.
2655 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com>
2657 * backends/groupwise/e-cal-backend-groupwise.c:
2658 (receive_object): Freed the string variables and unref the
2660 * backends/groupwise/e-cal-backend-groupwise-utils.c:
2661 (e_gw_connection_get_freebusy_info): Need not use strdup here.
2664 2004-11-18 Sivaiah Nallagatla <snallagatla@novell.com>
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
2670 part of fix for #69624
2672 2004-10-29 Sivaiah Nallagatla <snallagatla@novell.com>
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
2678 2004-10-29 Sivaiah Nallagatla <snallagatla@novell.com>
2680 * backends/groupwise/e-cal-backends-groupwise.c
2681 (cache_init) : Read the getQm poll interval
2682 from GETQM_TIME_INTERVAL. If not availbale
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.
2689 2004-10-28 Rodrigo Moya <rodrigo@novell.com>
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
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.
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.
2704 2004-10-15 Chenthill Palanisamy <pchenthill@novell.com>
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.
2714 2004-10-14 Rodney Dawes <dobey@novell.com>
2716 * backends/*/Makefile.am: Add -avoid-version to LDFLAGS for all
2719 2004-10-14 Harish Krishnaswamy <kharish@novell.com>
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.
2725 2004-10-12 Harish Krishnaswamy <kharish@novell.com>
2727 Fixes #64673 and added some performance boosters.
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.
2752 2004-10-07 JP Rosevear <jpr@novell.com>
2754 * libecal/e-cal.c (e_cal_new_system_tasks): load the correct type
2757 2004-10-06 JP Rosevear <jpr@novell.com>
2761 * libecal/e-cal.c (cal_objects_sent_cb): deep copy the user list
2764 2004-10-04 Chenthill Palanisamy <pchenthill@novell.com>
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.
2777 2004-10-01 Chenthill Palanisamy <pchenthill@novell.com>
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.
2788 2004-09-30 Chris Toshok <toshok@ximian.com>
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.
2794 * libedata-cal/e-data-cal-factory.c (get_backend_factory): rename
2795 get_backend_type to this, and return an ECalBackendFactory*
2797 (impl_CalFactory_getCal): change this code to use
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.
2805 * libedata-cal/e-data-cal-factor.h: change prototypes and function
2808 * libedata-cal/e-data-cal.[ch] (e_data_cal_new): remove the @uri
2809 arg, as it's unnecessary.
2811 * libedata-cal/e-cal-backend-factory.[ch]: superclass the backend
2812 factories must subclass from.
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
2818 * backends/contacts/Makefile.am (extension_LTLIBRARIES): change
2819 from noinst_LTLIBRARIES.
2820 (libecalbackendcontacts_la_SOURCES): add
2821 e-cal-backend-contacts-factory.[ch].
2823 * backends/contacts/e-cal-backend-contacts-factory.[ch]:
2824 ECalBackendFactory for the contacts backend.
2826 * backends/file/Makefile.am (extension_LTLIBRARIES): change
2827 from noinst_LTLIBRARIES.
2828 (libecalbackendfile_la_SOURCES): add
2829 e-cal-backend-file-factory.[ch].
2831 * backends/file/e-cal-backend-file-factory.[ch]:
2832 ECalBackendFactory for the file backend.
2834 * backends/groupwise/Makefile.am (extension_LTLIBRARIES): change
2835 from noinst_LTLIBRARIES.
2836 (libecalbackendgroupwise_la_SOURCES): add
2837 e-cal-backend-groupwise-factory.[ch].
2839 * backends/groupwise/e-cal-backend-groupwise-factory.[ch]:
2840 ECalBackendFactory for the groupwise backend.
2842 * backends/http/Makefile.am (extension_LTLIBRARIES): change
2843 from noinst_LTLIBRARIES.
2844 (libecalbackendhttp_la_SOURCES): add
2845 e-cal-backend-http-factory.[ch].
2847 * backends/http/e-cal-backend-http-factory.[ch]:
2848 ECalBackendFactory for the http backend.
2850 2004-09-28 Rodrigo Moya <rodrigo@novell.com>
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.
2858 2004-09-24 JP Rosevear <jpr@novell.com>
2860 Fixes #66383, From David Malcolm <dmalcolm@redhat.com>
2862 * libecal/e-cal.c (e_cal_get_alarms_in_range): return non void
2865 * libecal/e-cal-component.c: kill warnings about struct
2868 2004-09-24 JP Rosevear <jpr@novell.com>
2870 Fixes #64955, Vincent Noel <vnoel@cox.net>
2872 * libecal/e-cal.c (e_cal_get_alarms_in_range): fix c99-ism
2874 2004-09-23 Rodrigo Moya <rodrigo@novell.com>
2878 * libecal/e-cal-component.[ch] (e_cal_component_new_from_string): new
2879 function to avoid repeating the same code over and over.
2881 * libedata-cal/e-data-cal-view.c: changed to keep a list of listeners,
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
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.
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.
2910 2004-09-23 JP Rosevear <jpr@novell.com>
2912 * libecal/Makefile.am: build a versioned lib, don't hard
2913 code the pkgconfig version
2915 * libedata-cal/Makefile.am: ditto
2917 * backends/file/Makefile.am: link against the correct library version
2919 * backends/http/Makefile.am: ditto
2921 * backends/groupwise/Makefile.am: ditto
2923 * backends/contacts/Makefile.am: ditto
2925 * tests/ecal/Makefile.am: ditto
2927 2004-09-22 Harish Krishnaswamy <kharish@novell.com>
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.
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.
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.
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.
2955 2004-09-08 Chenthill Palanisamy <pchenthill@novell.com>
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.
2961 2004-09-08 Chenthill Palanisamy <pchenthill@novell.com>
2964 * backends/groupwise/e-cal-backend-groupwise.c
2965 (connect_to_server): Reload the default zone into
2966 the cache after clearing it.
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.
2973 2004-09-07 Chenthill Palanisamy <pchenthill@novell.com>
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.
2982 2004-09-07 Chenthill Palanisamy <pchenthill@novell.com>
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.
2989 2004-09-07 Chenthill Palanisamy <pchenthill@novell.com>
2992 * backends/groupwise/e-cal-backend-groupwise.c
2993 (ECalBackendGroupwisePrivate): added an variable to store
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
3001 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com>
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.
3008 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com>
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
3015 * backends/groupwise/e-cal-backend-groupwise.c
3016 (e_cal_backend_groupwise_get_static_capabilities): Added the
3017 two macros in this function.
3019 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com>
3022 * backends/groupwise/e-cal-backend-groupwise.c
3023 (connect_to_server): store the default zone in
3024 backend before populating the cache.
3026 2004-08-27 Rodrigo Moya <rodrigo@novell.com>
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.
3032 * libecal/e-cal.c (e_cal_get_alarms_in_range): use the new
3033 'has-alarms-in-range' function.
3035 2004-08-27 Chenthill Palanisamy <pchenthill@novell.com>
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.
3041 2004-08-26 Rodrigo Moya <rodrigo@novell.com>
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.
3047 2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com>
3049 * libecal/e-cal.c: (e_cal_set_default_timezone):
3050 Need a return value.
3052 2004-08-25 Chenthill Palanisamy <pchenthill@novell.com>
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.
3059 2004-08-24 Sivaiah Nallagatla <snallagatla@novell.com>
3061 * backends/groupwise/e-cal-backend-groupwise.c
3062 (populate_cache) : use cursor methods to get items in chunks instead of
3065 2004-08-24 Chenthill Palanisamy <pchenthill@novell.com>
3067 * backends/groupwise/e-cal-backend-groupwise.c
3068 (receive_object): update the client view when a meeting
3069 is accepted or declined.
3071 2004-08-23 Chenthill Palanisamy <pchenthill@novell.com>
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.
3079 2004-08-17 Rodrigo Moya <rodrigo@novell.com>
3083 * backends/file/e-cal-backend-file.c (e_cal_backend_file_create_object):
3084 allow iCalendar objects with no UID.
3086 2004-08-17 JP Rosevear <jpr@novell.com>
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
3091 2004-08-17 Chenthill Palanisamy <pchenthill@novell.com>
3093 * backends/groupwise/e-cal-backend-groupwise.c
3094 (connect_to_server): Clear the cache before populating
3097 2004-08-16 Chenthill Palanisamy <pchenthill@novell.com>
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.
3103 2004-08-13 Hans Petter Jansson <hpj@ximian.com>
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.
3110 2004-08-13 Chenthill Palanisamy <pchenthill@novell.com>
3112 * backends/groupwise/e-cal-backend-groupwise-utils.c:
3113 (e_gw_item_to_cal_component): handle the BC recipient type
3116 2004-08-12 Not Zed <NotZed@Ximian.com>
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
3123 2004-08-12 Rodrigo Moya <rodrigo@novell.com>
3125 * libecal/e-cal.c (e_cal_remove_object, e_cal_receive_objects):
3126 added missing gtk-doc comments.
3128 2004-08-09 Jeffrey Stedfast <fejj@novell.com>
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().
3136 2004-08-09 Harish Krishnaswamy <kharish@novell.com>
3138 Fixes #58643 - the gw backend assembles the xgwrecordid
3139 to be used for accept/decline requests.
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.
3153 2004-08-04 Chenthill Palanisamy <pchenthill@novell.com>
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.
3160 2004-08-03 Harish Krishnaswamy <kharish@novell.com>
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.
3167 2004-08-02 Not Zed <NotZed@Ximian.com>
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.
3176 2004-08-02 Chenthill Palanisamy <pchenthill@novell.com>
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.
3196 2004-07-30 Harish Krishnaswamy <kharish@novell.com>
3200 * libecal/e-cal.c: (open_calendar): Set the status correctly
3201 on all exit points from the function.
3203 2004-07-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
3211 2004-07-26 Harish Krishnaswamy <kharish@novell.com>
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.
3239 2004-07-23 Chenthill Palanisamy <pchenthill@novell.com>
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
3248 2004-07-15 JP Rosevear <jpr@novell.com>
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
3258 2004-07-15 Rodrigo Moya <rodrigo@novell.com>
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.
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.
3271 2004-07-14 Chenthill Palanisamy <pchenthill@novell.com>
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.
3278 2004-07-12 Harish Krishnaswamy <kharish@novell.com>
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):
3291 (e_gw_connection_get_freebusy_info):
3292 (e_gw_item_set_changes): Fixed compiler warnings.
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
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
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.
3308 2004-07-12 Sivaiah Nallagatla <snallagatla@novell.com>
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
3316 2004-06-28 Chenthill Palanisamy <pchenthill@novell.com>
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.
3324 2004-06-15 Harish Krishnaswamy <kharish@novell.com>
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
3332 2004-06-14 Rodrigo Moya <rodrigo@novell.com>
3336 * backends/contacts/e-cal-backend-contacts.c (source_group_added_cb):
3337 only add sources from local addressbook backends.
3339 2004-06-14 Harish Krishnaswamy <kharish@novell.com>
3342 * backends/groupwise/e-cal-backend-groupwise-utils.c:
3343 (get_recur_instance), (resolve_tzid_cb) : add support for recurrences
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.
3352 2004-06-11 Rodrigo Moya <rodrigo@novell.com>
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
3359 * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
3360 return the old_object output argument in all cases.
3362 2004-06-02 Rodrigo Moya <rodrigo@novell.com>
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
3369 * libecal/e-cal.h: added missing prototype.
3371 2004-06-01 Rodrigo Moya <rodrigo@novell.com>
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.
3379 * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_match_comp):
3380 added checks for arguments.
3382 2004-06-01 Rodrigo Moya <rodrigo@novell.com>
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.
3388 2004-06-01 JP Rosevear <jpr@novell.com>
3390 * libecal/*: revert accidental commit
3392 2004-05-28 JP Rosevear <jpr@novell.com>
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
3401 2004-05-28 Rodrigo Moya <rodrigo@novell.com>
3403 * libedata-cal/e-data-cal-factory.c (backend_last_client_gone_cb):
3404 disconnect from signals on the removed backend.
3406 2004-05-28 Harish Krishnaswamy <kharish@novell.com>
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
3415 2004-05-27 Rodrigo Moya <rodrigo@novell.com>
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.
3420 2004-05-27 Rodrigo Moya <rodrigo@novell.com>
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.
3429 2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>
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
3435 2004-05-25 Harish Krishnaswamy <kharish@novell.com>
3437 Fixes GW portion of #57218 and #54280
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
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.
3450 2004-05-25 Rodrigo Moya <rodrigo@ximian.com>
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.
3456 2004-05-22 Rodrigo Moya <rodrigo@ximian.com>
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).
3463 2004-05-21 JP Rosevear <jpr@novell.com>
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
3470 2004-05-19 Chris Toshok <toshok@ximian.com>
3472 * backends/contacts/e-cal-backend-contacts.c (book_record_new):
3473 use new e_book_new/e_book_open apis.
3475 2004-05-19 Rodrigo Moya <rodrigo@ximian.com>
3477 Removes 100s of error dialogs as reported in #54211
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.
3486 2004-05-18 Harish Krishnaswamy <kharish@novell.com>
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.
3514 * libedata-cal/e-cal-backend-cache.h: Added get/put functions for
3517 2004-05-18 Rodrigo Moya <rodrigo@ximian.com>
3519 * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): always
3520 use a valid timezone.
3522 * libecal/e-cal-recur.c (cal_object_time_from_time): don't use invalid
3525 * libecal/e-cal.c (e_cal_generate_instances): make sure we always have
3528 2004-05-17 Rodney Dawes <dobey@ximian.com>
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
3537 2004-05-17 Rodrigo Moya <rodrigo@ximian.com>
3541 * backends/file/e-cal-backend-file.c (remove_instance): re-add the
3542 modified objects to the top-level icalcomponent after removing
3544 (e_cal_backend_file_remove_object): manage the CALOBJ_MOD_THIS case
3545 for an event with no RECURRENCE-ID.
3547 2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
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
3558 2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
3560 * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_func_make_time):
3561 added extra check for function arguments.
3563 * libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_put_timezone):
3564 added missing implementation from recurreces-work-branch.
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
3570 2004-05-13 Rodrigo Moya <rodrigo@ximian.com>
3574 * backends/file/e-cal-backend-file.c (e_cal_backend_file_modify_object):
3575 deal correctly with CALOBJ_MOD_THIS for master objects.
3577 2004-05-12 Rodrigo Moya <rodrigo@ximian.com>
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.
3586 2004-05-12 Harish Krishnaswamy <kharish@novell.com>
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
3602 2004-05-07 JP Rosevear <jpr@ximian.com>
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
3611 2004-05-06 Harish Krishnaswamy <kharish@novell.com>
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.
3623 2004-05-04 Harish Krishnaswamy <kharish@novell.com>
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.
3632 2004-05-03 William Jon McCann <mccann@jhu.edu>
3634 * libecal/e-cal-time-util.h: Add missing G_BEGIN_DECLS and G_END_DECLS
3636 2004-05-04 Harish Krishnaswamy <kharish@novell.com>
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
3645 2004-05-03 JP Rosevear <jpr@ximian.com>
3647 Partial fix for #57218
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
3656 * libecal/e-cal-marshal.list: replace marshaller signature
3658 * libecal/e-cal-listener.h: update signal proto
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
3665 2004-04-30 Dan Winship <danw@ximian.com>
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
3671 2004-04-28 JP Rosevear <jpr@ximian.com>
3673 * tests/ecal/test-search.c: something to run searches with for
3676 * tests/ecal/Makefile.am: build test search
3678 2004-04-28 JP Rosevear <jpr@ximian.com>
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
3686 2004-04-27 Harish Krishnaswamy <kharish@novell.com>
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.
3696 2004-04-23 Jeffrey Stedfast <fejj@ximian.com>
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
3703 2004-04-21 Jeffrey Stedfast <fejj@ximian.com>
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().
3711 2004-04-20 JP Rosevear <jpr@ximian.com>
3713 * libecal/e-cal.c (open_async): emit the open signal in an idle
3715 (async_signal_idle_cb): emit the signal and free the data
3717 2004-04-16 Harish Krishnaswamy <kharish@novell.com>
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.
3727 2004-04-15 JP Rosevear <jpr@ximian.com>
3729 * libecal/e-cal.c (e_cal_add_timezone): do a little more sanity
3730 checking on what we send
3732 2004-04-12 Sarfraaz Ahmed <asarfraaz@novell.com>
3736 * libecal/e-cal.c (e_cal_add_timezone): Added a check for icalcomponent
3737 structure. Return FALSE if icalcomponent is NULL.
3739 2004-04-12 Harish K <kharish@novell.com>
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.
3748 2004-04-08 Rodrigo Moya <rodrigo@ximian.com>
3750 * backends/groupwise/e-cal-backend-groupwise.c
3751 (e_cal_backend_groupwise_get_static_capabilities): add the
3752 ONE_ALARM_ONLY static capability.
3754 2004-04-06 Harish K <kharish@novell.com>
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.
3762 2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
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.
3768 2004-04-03 JP Rosevear <jpr@ximian.com>
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
3780 (e_cal_backend_contacts_init): set up zones hash table
3782 2004-04-02 Rodrigo Moya <rodrigo@ximian.com>
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.
3789 2004-04-02 Rodrigo Moya <rodrigo@ximian.com>
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.
3798 2004-03-30 JP Rosevear <jpr@ximian.com>
3800 * backends/file/e-cal-backend-file.c: allow debugging code to be
3801 turned on and off easily
3803 * backends/http/e-cal-backend-http.c: ditto
3805 2004-03-31 JP Rosevear <jpr@ximian.com>
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
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
3818 (e_cal_backend_contacts_remove): can't remove a read only calendar
3819 (e_cal_backend_contacts_get_object): implement
3821 2004-03-31 JP Rosevear <jpr@ximian.com>
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
3830 2004-03-29 Rodrigo Moya <rodrigo@ximian.com>
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
3837 2004-03-29 Harish K <kharish@novell.com>
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.
3845 2004-03-26 JP Rosevear <jpr@ximian.com>
3847 * libecal/e-cal.h: add proto
3849 * libecal/e-cal.c (e_cal_get_source_type): accessor
3851 2004-03-26 Rodrigo Moya <rodrigo@ximian.com>
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.
3859 2004-03-26 Rodrigo Moya <rodrigo@ximian.com>
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.
3865 2004-03-25 William Jon McCann <mccann@jhu.edu>
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.
3871 2004-03-25 Rodrigo Moya <rodrigo@ximian.com>
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.
3877 2004-03-25 Rodrigo Moya <rodrigo@ximian.com>
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.
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
3892 2004-03-22 Rodrigo Moya <rodrigo@ximian.com>
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.
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.
3903 2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
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.
3910 2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
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.
3916 2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
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.
3922 2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
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.
3929 2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
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.
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.
3945 2004-03-18 JP Rosevear <jpr@ximian.com>
3947 * backends/groupwise/e-cal-backend-groupwise-utils.c
3948 (e_gw_connection_get_freebusy_info): send back "freeBusySessionId"
3949 rather than "session"
3951 2004-03-18 JP Rosevear <jpr@ximian.com>
3953 * backends/groupwise/e-cal-backend-groupwise-utils.c
3954 (start_freebusy_session): put the xml prefixes back in, they
3957 2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
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.
3965 2004-03-18 JP Rosevear <jpr@ximian.com>
3967 * backends/groupwise/e-cal-backend-groupwise-utils.c
3968 (start_freebusy_session): remove xml prefixes
3970 2004-03-18 JP Rosevear <jpr@ximian.com>
3972 * backends/groupwise/e-cal-backend-groupwise-utils.c
3973 (start_freebusy_session): list the the addresses in the <email>
3976 2004-03-18 JP Rosevear <jpr@ximian.com>
3978 * libecal/e-cal.c: add e_return_error macro to fail more
3979 gracefully as per ebook
3981 2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
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.
3988 2004-03-17 Rodrigo Moya <rodrigo@ximian.com>
3992 * backends/groupwise/e-cal-backend-groupwise.c
3993 (e_cal_backend_groupwise_get_cal_address): deal with online/offline
3995 (e_cal_backend_groupwise_finalize): free new private field.
3997 2004-03-16 Harish K <kharish@novell.com>
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.
4003 2004-03-15 Rodrigo Moya <rodrigo@ximian.com>
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
4008 (check_instance_time_range_cb): callback to check the expanded recurrences.
4010 2004-03-15 Rodney Dawes <dobey@ximian.com>
4012 * libecal/libecal-1.0.pc.in:
4013 * libedata-cal/libedata-cal-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
4014 the libbonobo dependency
4016 2004-03-14 Harish K <kharish@novell.com>
4018 * calendar/backends/groupwise/e-cal-backend-groupwise.c :
4019 Update calls to e_gw_connection_get_items with the new prototype.
4021 2004-03-11 Rodrigo Moya <rodrigo@ximian.com>
4023 * libedata-cal/e-data-cal.c (e_data_cal_notify_objects_sent): guard
4024 against sending NULL strings to CORBA.
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.
4030 2004-03-09 JP Rosevear <jpr@ximian.com>
4034 * backends/file/e-cal-backend-file.c
4035 (e_cal_backend_file_send_objects): return the calendar object
4038 2004-03-09 Rodrigo Moya <rodrigo@ximian.com>
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.
4043 2004-03-09 Thomas Mirlacher <dent@cosy.sbg.ac.at>
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
4051 2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
4055 * backends/groupwise/e-cal-backend-groupwise.c
4056 (e_cal_backend_groupwise_send_objects): added missing implementation.
4058 2004-03-05 Harish K <kharish@novell.com>
4060 * backends/groupwise/e-cal-backend-groupwise-utils.c :
4061 timezone values in ECalDateComponent structures should be
4062 set to "UTC" for GW items.
4064 2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
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.
4073 2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
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.
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.
4083 * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_send_objects,
4084 _e_cal_backend_send_objects): added new arguments.
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.
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.
4097 * libecal/e-cal-marshal.list: added new marshaller.
4099 * libecal/e-cal.[ch] (e_cal_send_objects): get the user list from the
4101 (cal_objects_sent_cb): added the new arguments and copy them to the
4104 * libecal/e-cal-listener.[ch]: added new arguments to "send_objects"
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
4109 (e_cal_listener_class_init): added new arguments to "send_objects"
4112 2004-02-26 JP Rosevear <jpr@ximian.com>
4114 * tests/ecal/test-ecal.c: make EXPECTED a macro so it compiles
4116 2004-02-26 Harish K <kharish@novell.com>
4118 * tests/ecal/test-ecal.c : Added implementation of
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.
4124 2004-02-23 JP Rosevear <jpr@ximian.com>
4126 * backends/groupwise/Makefile.am: Add includes for srcdir !=
4129 * backends/file/Makefile.am: ditto
4131 * backends/contacts/Makefile.am: ditto
4133 * libedata-cal/Makefile.am: ditto
4135 * libecal/Makefile.am: ditto
4137 * tests/ecal/Makefile.am: ditto
4139 2004-02-17 Harish K <kharish@novell.com>
4141 (e_cal_new_system_calendar, e_cal_new_system_tasks) : arguments
4142 to g_build_filename should be NULL terminated.
4144 2004-02-12 Chris Toshok <toshok@ximian.com>
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.
4152 2004-02-10 Rodrigo Moya <rodrigo@ximian.com>
4154 * backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects):
4155 switch wrongly-placed creation/modification of objects.
4157 2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
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.
4163 * libecal/e-cal.c (e_cal_open_async): no need to make the thread joinable.
4165 2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
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.
4172 * backends/groupwise/e-cal-backend-groupwise.c: include new header
4175 2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
4177 * backends/groupwise/create-account.c:
4178 * backends/groupwise/soap-test.c:
4179 * backends/groupwise/e-gw-*: moved to $top_srcdir/servers/groupwise.
4181 * backends/groupwise/Makefile.am: removed files and don't build test
4184 2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
4186 * backends/groupwise/e-gw-connection.c (parse_response_status):
4187 "Status" is now "status".
4189 2004-02-04 JP Rosevear <jpr@ximian.com>
4191 * libecal/e-cal.h: update proto
4193 * libecal/e-cal.c (async_idle_cb): return FALSE to remove the idle
4195 (get_default): take an auth func and use it
4196 (e_cal_open_default): ditto
4198 2004-02-04 JP Rosevear <jpr@ximian.com>
4200 * libecal/e-cal.h: redo protos
4202 * libecal/e-cal.c (e_cal_open_default): open the default ecal
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
4208 2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
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.
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
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.
4233 2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
4235 * libecal/e-cal.c (open_async): g_object_unref the ECal, not the
4236 ECalAsyncData structure.
4238 2004-02-03 Rodney Dawes <dobey@ximian.com>
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
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
4253 2004-02-03 Dan Winship <danw@ximian.com>
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
4259 2004-02-03 Harish K <kharish@novell.com>
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
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'
4274 2004-02-03 Chris Toshok <toshok@ximian.com>
4276 * backends/groupwise/e-gw-connection.c (parse_response_status):
4277 E_GW_CONNECTION_BAD_PARAMETER ->
4278 E_GW_CONNECTION_STATUS_BAD_PARAMETER.
4280 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
4282 * backends/groupwise/e-gw-connection.[ch] (parse_response_status):
4283 added new error code.
4285 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
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.
4296 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
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.
4301 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
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.
4308 * backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent):
4309 set altrep to NULL on ECalComponentText's.
4311 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
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.
4317 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
4319 * backends/groupwise/e-gw-connection.c
4320 (e_gw_connection_get_freebusy_info): fixed warning.
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.
4326 2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
4328 * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
4329 set the ESource's name to the name of the folder.
4331 2004-02-01 JP Rosevear <jpr@ximian.com>
4333 * libecal/e-cal.h: order the signals more sensibly
4335 * libecal/e-cal.c (destroy_factories): use G_STRLOC
4336 (categories_changed_cb): set the size of the array so the length
4338 (e_cal_init): remove extra listener args, listen for new signals
4340 * libecal/e-cal-marshal.list: add signal marshaller
4342 * libecal/e-cal-listener.h: add new signals, remove function
4343 callback protos, update protos
4345 * libecal/e-cal-listener.c (impl_notifyErrorOccurred): emit error
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
4353 (e_cal_listener_new): ditto
4355 2004-01-31 JP Rosevear <jpr@ximian.com>
4357 * libecal/e-cal.c (e_cal_is_read_only): return a proper GError and
4360 * backends/contacts/e-cal-backend-contacts.c
4361 (e_cal_backend_contacts_get_type): remove debug statements
4363 2004-01-30 Radek Doulik <rodo@ximian.com>
4365 * backends/contacts/e-cal-backend-contacts.c (contact_record_new):
4366 make sure anniversary/birthday components were created before
4368 (contact_record_free): ditto
4369 (contact_record_cb): ditto
4371 2004-01-30 Rodrigo Moya <rodrigo@ximian.com>
4373 * backends/http/Makefile.am: LOG_DOMAIN is ...http, not ...file.
4375 * backends/http/e-cal-backend-http.c (reaload_cb): don't start a new
4376 updload if we're already uploading.
4378 2004-01-29 Hans Petter Jansson <hpj@ximian.com>
4380 * backends/http/e-cal-backend-http.c (retrieval_done): Clear the
4382 (begin_retrieval_cb): Set the is_loading flag, maybe start the reload
4384 (reload_cb): Implement.
4385 (maybe_start_reload_timeout): Implement.
4386 (e_cal_backend_http_open): Init reload timeout ID.
4388 2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
4390 * backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
4391 write all properties to the message.
4393 2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
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.
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):
4420 (e_gw_item_get_deltas, update_cache_item): disabled until migrated to
4422 (e_gw_connection_get_date_from_string): new function.
4424 * backends/groupwise/e-gw-container.c (e_gw_container_finalize): fixed
4427 2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
4429 * backends/groupwise/e-gw-item.c: added missing header.
4431 2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
4435 * libecal/e-cal.c (e_cal_get_error_message): fixed typo.
4437 2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
4439 * backends/groupwise/e-gw-item.[ch]
4440 (e_gw_item_append_to_soap_message): new function.
4442 * backends/groupwise/e-gw-connection.c (e_gw_connection_send_item):
4443 finished implementation.
4445 2004-01-28 Harish K <kharish@novell.com>
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
4458 * calendar/backends/groupwise/e-gw-connection.h : added
4459 CacheUpdateHandle structure.
4461 2004-01-28 JP Rosevear <jpr@ximian.com>
4463 * libecal/e-cal.h: add protos
4465 * libecal/e-cal.c (e_cal_new_system_calendar): return a pointer to
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
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
4481 2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
4483 * backends/groupwise/e-gw-container.[ch]: new class to contain all
4484 information about containers in the server.
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
4490 (e_gw_connection_get_container_id): adapted to changes made in
4491 e_gw_connection_get_container_list().
4493 2004-01-27 JP Rosevear <jpr@ximian.com>
4495 * libecal/e-cal.h: update proto
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
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
4505 * idl/Evolution-DataServer-Calendar.idl: rename
4506 CardIdAlreadyExists to ObjectIdAlreadyExists
4508 * libecal/e-cal-listener.c (convert_status): key on new name
4510 * backends/file/e-cal-backend-file.c
4511 (e_cal_backend_file_create_object): return object id already
4514 2004-01-27 Rodrigo Moya <rodrigo@ximian.com>
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.
4520 2004-01-27 Rodrigo Moya <rodrigo@ximian.com>
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.
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
4535 2004-01-27 JP Rosevear <jpr@ximian.com>
4537 * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): take
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
4545 * libedata-cal/e-cal-backend-sexp.c (func_uid): make sure we
4546 always set a return value
4548 2004-01-27 JP Rosevear <jpr@ximian.com>
4550 * backends/groupwise/e-gw-connection.c
4551 (get_e_cal_component_from_soap_parameter): description is not
4554 2004-01-27 Rodrigo Moya <rodrigo@ximian.com>
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
4565 2004-01-26 Harish K <kharish@novell.com>
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
4571 (e_cal_backend_groupwise_get_object_list) : fixed incorrect
4573 (e_cal_backend_groupwise_start_query) : fixed compiler warnings.
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.
4580 2004-01-24 Rodrigo Moya <rodrigo@ximian.com>
4582 * backends/http/e-cal-backend-http.c: make it use
4583 ECalBackendCache for its cache, and libsoup for the HTTP
4585 (retrieval_progress_cb, uri_to_cache_dir, ensure_cache_dir): removed
4587 (e_cal_backend_http_finalize): cancel Soup message here, if any, and
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
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.
4609 * backends/http/Makefile.am: added SOUP_CFLAGS|LIBS.
4611 * backends/groupwise/Makefile.am: s/GROUPWISE/SOUP.
4613 2004-01-23 Harish K <kharish@novell.com>
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.
4624 2004-01-22 Harish K <kharish@novell.com>
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
4631 (e_cal_backend_groupwise_get_changes, update_cache): implemented.
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.
4641 * calendar/backends/groupwise/e-gw-connection.h : updated
4642 declarations for the above changes.
4644 * calendar/libedata-cal/e-cal-backend-cache.[ch] :
4645 (e_cal_backend_cache_get_components) : return GList instead of
4648 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4650 * backends/groupwise/e-cal-backend-groupwise.c
4651 (e_cal_backend_groupwise_remove): remove the cache from disk
4652 when removing the calendar.
4654 * backends/file/e-cal-backend-file.c
4655 (e_cal_backend_file_remove): added missing call to g_dir_close().
4657 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4659 * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
4660 use the full path when removing files.
4662 2004-01-21 JP Rosevear <jpr@ximian.com>
4664 * libecal/Makefile.am: don't build client test
4666 2004-01-21 JP Rosevear <jpr@ximian.com>
4668 * tests/ecal/test-ecal.c: the beginnings of a test client
4670 * tests/ecal/Makefile.am: build the test client
4672 * tests/Makefile.am: add ecal subdir
4674 * Makefile.am: add tests subdir
4676 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
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.
4681 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4683 * backends/groupwise/e-cal-backend-groupwise.c
4684 (connect_to_server): added code for retrieving the container ID
4687 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4689 * backends/groupwise/e-cal-backend-groupwise.c
4690 (e_cal_backend_groupwise_open): added missing g_mutex_unlock
4693 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
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.
4699 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4701 * backends/file/e-cal-backend-file.c (create_cal): create
4702 directory tree to contain the calendar.
4704 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
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.
4710 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
4714 * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
4715 remove all files in the directory and the directory itself.
4717 2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
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.
4724 2004-01-20 Rodrigo Moya <rodrigo@ximian.com>
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.
4732 2004-01-19 Harish K <kharish@novell.com>
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.
4742 2004-01-18 Harish K <kharish@novell.com>
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
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.
4758 2004-01-16 JP Rosevear <jpr@ximian.com>
4760 * backends/file/e-cal-backend-file.c (save): remove test bits
4762 2004-01-16 JP Rosevear <jpr@ximian.com>
4764 * libecal/e-cal.c (categories_changed_idle_cb): remove debug
4767 2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
4769 * libecal/e-cal.c (e_cal_open): return AUTH_REQUIRED error if
4770 we don't get a password from the authentication function.
4772 * backends/file/e-cal-backend-file.c
4773 (e_cal_backend_file_modify_object): store the old object before
4776 2004-01-16 JP Rosevear <jpr@ximian.com>
4778 * libecal/e-cal.c: name space the idle data structs properly
4780 2004-01-16 JP Rosevear <jpr@ximian.com>
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
4790 2004-01-16 Christian Neumair <chris@gnome-de.org>
4792 * libedata-cal/e-cal-backend-sexp.c (func_uid):
4793 Error message string fix.
4795 2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
4797 * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): use
4798 ~/.evolution/cache/calendar for the cache files.
4800 * backends/groupwise/e-cal-backend-groupwise.c
4801 (e_cal_backend_groupwise_get_object_list): lock/unlock the
4804 2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
4806 * backends/groupwise/e-gw-connection.c
4807 (e_gw_connection_get_container_id): fixed duplicated variable name.
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.
4813 2004-01-15 Mark McLoughlin <mark@skynet.ie>
4815 * libecal/e-cal-listener.c: (impl_notifyCalSetMode),
4816 (impl_notifyErrorOccurred), (impl_notifyCategoriesChanged):
4817 Remove debugging spew.
4819 2004-01-15 Radek Doulik <rodo@ximian.com>
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
4825 2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
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".
4832 2004-01-14 Harish K <kharish@novell.com>
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.
4838 2004-01-13 JP Rosevear <jpr@ximian.com>
4840 * backends/groupwise/e-gw-connection.c
4841 (get_e_cal_component_from_soap_parameter): remove C99 declaration
4843 2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
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.
4849 * backends/groupwise/e-gw-connection.[ch]
4850 (e_gw_connection_send_appointment): added a 'container' argument.
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.
4858 2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
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.
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.
4871 2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
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.
4878 * backends/groupwise/e-cal-backend-groupwise.c
4879 (e_cal_backend_groupwise_remove_object): implemented.
4881 2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
4883 * libecal/e-cal-component.[ch] (e_cal_component_get_recurid_as_string):
4884 new function, moved from the file and groupwise backends.
4886 * libedata-cal/e-cal-backend-cache.[ch]
4887 (e_cal_backend_cache_put_component): changed to get an ECalComponent.
4889 * backends/groupwise/e-gw-item.[ch]: new class for managing items
4890 to be sent to the server.
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.
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
4904 * backends/groupwise/Makefile.am: added new files.
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
4911 2004-01-13 Harish K <kharish@novell.com>
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.
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.
4925 * calendar/backends/groupwise/e-gw-connection.h
4926 (e_gw_connection_get_delta): - Added declaration.
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
4936 2004-01-12 Rodrigo Moya <rodrigo@ximian.com>
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.
4944 2004-01-12 Rodrigo Moya <rodrigo@ximian.com>
4946 * backends/groupwise/e-gw-connection.[ch]
4947 (e_gw_connection_get_user_name, e_gw_connection_get_user_uuid): new
4950 2004-01-12 Rodrigo Moya <rodrigo@ximian.com>
4952 * backends/http/e-cal-backend-http.c (uri_to_cache_dir): fixed leak.
4954 2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
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.
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
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().
4967 2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
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.
4983 * backends/groupwise/Makefile.am:
4984 * backends/groupwise/groupwise-config-listener.c: removed unused file.
4986 2004-01-09 Harish K <kharish@novell.com>
4988 * backends/groupwise/e-cal-backend-groupwise.c
4989 (populate_cache): implemented.
4991 * backends/groupwise/e-gw-connection.h:
4992 added declaration for e_gw_connection_get_items.
4994 * backends/groupwise/e-gw-connection.c:
4995 (e-gw-connection-get-items) :implementation to obtain
4996 calendar data from GW using SOAP.
4998 2004-01-08 JP Rosevear <jpr@ximian.com>
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
5004 2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
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
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.
5016 * backends/http/e-cal-backend-http.c (begin_retrieval_cb): only
5017 begin the retrieval if we are online.
5019 * libecal/e-cal-util.h: added cal_mode_to_corba macro from
5020 e-cal-backend-http.c.
5022 2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
5024 * libecal/e-cal.c (convert_type): removed g_assert_not_reached.
5026 2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
5028 * libecal/e-cal.c (e_cal_get_alarms_for_object): pass the correct
5029 callback data for e_cal_resolve_tzid_cb().
5031 2004-01-07 JP Rosevear <jpr@ximian.com>
5033 * libedata-cal/Makefile.am: remove DISABLE_DEPRECATED flags
5035 * libecal/Makefile.am: ditto
5037 2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
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.
5045 2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
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.
5050 2004-01-06 JP Rosevear <jpr@ximian.com>
5052 * libedata-cal/e-cal-backend-sexp.c (func_uid): implement uid
5054 (e_cal_backend_sexp_new): use nice glib macro to count sexp
5057 * libedata-cal/e-cal-backend-cache.c: guard config.h include and
5058 include string.h to kill warning
5060 2004-01-06 Rodrigo Moya <rodrigo@ximian.com>
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.
5067 2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
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.
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().
5077 2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
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.
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.
5086 2004-01-05 Sivaiah Nallagatla <snallagatla@novell.com>
5088 * backends/groupwise/groupwise-config-listener.[ch] : new class implementing addition,
5089 removal, modification of e-sources for calender and tasks for groupwise accounts.
5091 * backends/groupwise/Makefile.am : added above two files in Makefile.am
5093 2004-01-05 Christian Neumair <chris@gnome-de.org>
5095 * libedata-cal/e-cal-backend-sexp.c: Generalize some strings.
5097 2003-12-24 Rodrigo Moya <rodrigo@ximian.com>
5099 * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
5102 2003-12-24 Rodrigo Moya <rodrigo@ximian.com>
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.
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
5112 (logout): pass session ID to e_gw_message_new_with_header().
5113 (e_gw_connection_new): ditto.
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
5120 (populate_cache): fixed C99'isms and re-enabled g_mutex_lock/_unlock
5123 2003-12-24 Harish Krishnaswamy <kharish@novell.com>
5125 * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_get_items):
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.
5135 2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
5137 * libedata-cal/e-cal-backend-sexp.c (func_has_alarms): removed useless
5138 'has_to_have_alarms' variable.
5140 2003-12-22 JP Rosevear <jpr@ximian.com>
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
5146 2003-12-21 JP Rosevear <jpr@ximian.com>
5148 * libecal/e-cal.h: update protos
5150 * libecal/e-cal.c: use ECalSourceType
5151 (convert_type): convert and ECalSourceType to a corba equivalent
5152 (fetch_corba_cal): use ECalSourceType
5154 (e_cal_new_from_uri): ditto
5155 (e_cal_generate_instances): does not need a type arg
5157 * libecal/e-cal-util.h: remove CalObjType
5159 * libecal/client-test.c (create_client): use ECalSourceType
5162 2003-12-21 JP Rosevear <jpr@ximian.com>
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)
5168 2003-12-19 JP Rosevear <jpr@ximian.com>
5170 * libecal/e-cal.c (e_cal_get_alarms_in_range): create a valid sexp
5172 2003-12-19 Rodrigo Moya <rodrigo@ximian.com>
5174 * libecal/e-cal.[ch] (e_cal_class_init): removed 'forget_password'
5175 signal, since it's not used anywhere.
5177 2003-12-19 Rodrigo Moya <rodrigo@ximian.com>
5179 * idl/Evolution-DataServer-Calendar.idl: added 'username' and 'password'
5180 arguments to Cal::open method, so that we can send authentication
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.
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.
5198 2003-12-18 Rodrigo Moya <rodrigo@ximian.com>
5200 * backends/groupwise/e-cal-backend-groupwise.c: use a GMutex for
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.
5206 2003-12-17 JP Rosevear <jpr@ximian.com>
5208 * backends/groupwise/e-gw-connection.c (e_gw_connection_init):
5209 create a synchronous session
5211 2003-12-17 Hans Petter Jansson <hpj@ximian.com>
5213 * libecal/e-cal.c (e_cal_finalize): Unref source.
5214 (fetch_corba_cal): Ref and keep source.
5215 (e_cal_get_source): Implement.
5217 2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
5219 * backends/groupwise/create-account.c: added support for specifying
5220 a password, since we need one to connect to the server.
5222 2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
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().
5228 2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
5230 * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
5231 added the namespace for the SOAP types.
5233 * backends/groupwise/e-gw-connection.c (logout): fixed copy-paste typo.
5235 * backends/groupwise/soap-test.c (idle_cb): unref the EGwConnection
5236 object, so that the logout message is sent to the server.
5238 2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
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.
5244 2003-12-16 JP Rosevear <jpr@ximian.com>
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
5252 2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
5254 * backends/groupwise/e-gw-connection.c (parse_response_status): map
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.
5260 2003-12-16 Sivaiah Nallagatla <snallagatla@novell.com>
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
5270 2003-12-15 JP Rosevear <jpr@ximian.com>
5272 * libecal/e-cal-listener.c (e_cal_listener_class_init): fix the
5273 number of parameters for get free busy and get_changes
5275 2003-12-15 Rodrigo Moya <rodrigo@ximian.com>
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.
5282 2003-12-15 Rodrigo Moya <rodrigo@ximian.com>
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.
5289 * backends/http/e-cal-backend-http.c
5290 (e_cal_backend_http_get_static_capabilities): ditto.
5292 2003-12-14 JP Rosevear <jpr@ximian.com>
5294 * libecal/e-cal-component.c (set_datetime): don't remove and then
5295 free the param, lest we double free it
5299 2003-12-14 JP Rosevear <jpr@ximian.com>
5301 * libedata-cal/e-data-cal.c (e_data_cal_notify_free_busy): call
5302 the correct notification method
5304 2003-12-13 Rodrigo Moya <rodrigo@ximian.com>
5306 * backends/groupwise/Makefile.am: set the correct G_LOG_DOMAIN.
5308 2003-12-12 Rodrigo Moya <rodrigo@ximian.com>
5310 * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
5311 added SOAPAction header to the request.
5313 2003-12-12 Rodrigo Moya <rodrigo@ximian.com>
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.
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().
5323 2003-12-12 Rodrigo Moya <rodrigo@ximian.com>
5325 * backends/groupwise/e-gw-message.c (setup_debug): fixed typo.
5327 * backends/groupwise/Makefile.am: use $DEBUG_CFLAGS.
5329 2003-12-12 Rodrigo Moya <rodrigo@ximian.com>
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.
5336 * doc/gw-soap-methods.xsd:
5337 * doc/gw-soap-types.xsd: added new versions of SOAP interfaces.
5339 2003-12-11 Rodrigo Moya <rodrigo@ximian.com>
5343 * backends/file/e-cal-backend-file.c (create_user_free_busy): pass
5344 the TIME arguments correctly.
5346 2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
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.
5354 2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
5356 * backends/groupwise/soap-test.c: added support for specifying a
5357 password in the command line.
5359 * backends/groupwise/e-gw-connection.c (e_gw_connection_new): dont
5360 unref the response when we havent got one.
5362 2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
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.
5368 2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
5370 * backends/groupwise/soap-test.c: new test program to test the
5371 SOAP interface to the GW server.
5373 * backends/groupwise/Makefile.am: compile new test program.
5375 2003-12-10 JP Rosevear <jpr@ximian.com>
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
5381 (e_cal_get_object): ditto
5385 2003-12-09 JP Rosevear <jpr@ximian.com>
5387 * libecal/e-cal-listener.c (impl_notifyStaticCapabilities):
5388 actually emit the capabilities string
5392 2003-12-09 Rodrigo Moya <rodrigo@ximian.com>
5394 * backends/groupwise/e-gw-connection.[ch]: made the connections be
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
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.
5407 * backends/groupwise/e-cal-backend-groupwise.c
5408 (e_cal_backend_groupwise_open): use the new EGwConnection interface.
5410 2003-12-08 Rodrigo Moya <rodrigo@ximian.com>
5412 * libedata-cal/e-cal-backend-cache.h: the class structure derives
5413 from EFileCacheClass, not EFileCache.
5415 * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): iterate
5416 correctly over the characters in the URI.
5418 2003-12-08 Rodrigo Moya <rodrigo@ximian.com>
5420 * libedata-cal/e-cal-backend-cache.[ch]: use EFileCache instead
5423 2003-12-08 Rodrigo Moya <rodrigo@ximian.com>
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.
5431 2003-12-07 JP Rosevear <jpr@ximian.com>
5433 * libedata-cal/e-data-cal-factory.c: version the oafiid
5435 * libecal/e-cal.c (get_factories): update the repo id
5437 2003-12-07 JP Rosevear <jpr@ximian.com>
5439 * libecal/e-cal.c (get_factories): use the versioned repo id
5441 2003-12-04 Rodrigo Moya <rodrigo@ximian.com>
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.
5447 2003-12-04 Rodrigo Moya <rodrigo@ximian.com>
5449 * backends/groupwise/create-account.c: changed to use a main loop,
5450 or saving to GConf seems not to work ??
5452 2003-12-04 Rodrigo Moya <rodrigo@ximian.com>
5454 * backends/groupwise/create-account.c (add_account): add the source
5457 2003-12-04 Rodrigo Moya <rodrigo@ximian.com>
5459 * backends/groupwise/create-account.c: make it use a username also.
5461 2003-12-04 Rodrigo Moya <rodrigo@ximian.com>
5463 * backends/groupwise/create-account.c: added simple program to
5464 add accounts to the calendar sources until we a GUI to configure
5467 * backends/groupwise/Makefile.am: added noinst program.
5469 2003-12-03 Christian Kellnerc <gicmo@xatom.net>
5471 * libedata-cal/e-cal-backend-sexp.c: added has-recurrences sexp
5474 2003-12-03 Rodrigo Moya <rodrigo@ximian.com>
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
5482 (e_cal_backend_groupwise_class_init): fixed warning.
5484 2003-12-01 William Jon McCann <mccann@jhu.edu>
5486 * libecal/e-cal.c (e_cal_generate_instances): Fix query and
5487 get object list as components.
5489 2003-12-01 Rodrigo Moya <rodrigo@ximian.com>
5491 * libedata-cal/e-cal-backend-cache.[ch]: changed to be based on the
5493 (get_filename_from_uri): new function to get a unique filename for a
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
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):
5503 * backends/groupwise/e-gw-connection.c (e_gw_connection_login): retrieve
5504 the session from the response, not the username.
5506 2003-11-28 Rodrigo Moya <rodrigo@ximian.com>
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.
5513 * backends/groupwise/TODO: updated with more tasks.
5515 2003-11-27 Rodrigo Moya <rodrigo@ximian.com>
5517 * libedata-cal/e-cal-backend-cache.[ch]: new class implementing a
5518 cache of calendar/tasks objects.
5520 * libedata-cal/Makefile.am: added new files.
5522 2003-11-26 Hans Petter Jansson <hpj@ximian.com>
5524 * idl/Evolution-DataServer-Calendar.idl (getCal): Take source XML
5527 * libecal/client-test.c (create_client): Adapt to API changes.
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.
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.
5540 * libedata-cal/e-data-cal-factory.c (impl_CalFactory_getCal): Take
5541 source XML and construct an ESource. Init backend with that.
5543 2003-11-25 Rodrigo Moya <rodrigo@ximian.com>
5545 * backends/groupwise/e-gw-message.[ch]: new files to contain utility
5546 functions for easily creating SOAP messages.
5548 * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_logout):
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.
5555 * backends/groupwise/e-cal-backend-groupwise.c
5556 (e_cal_backend_groupwise_is_loaded): implemented.
5558 * backends/groupwise/Makefile.am: added new files.
5560 2003-11-20 Harry Lu <harry.lu@sun.com>
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.
5572 2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
5574 * backends/groupwise/e-gw-connection.h: fixed typo.
5576 * backends/groupwise/e-gw-connection.c: base it on GObject, not
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.
5584 * backends/groupwise/e-cal-backend-groupwise.c: make it use
5586 (e_cal_backend_groupwise_finalize): unref the EGwConnection.
5587 (e_cal_backend_groupwise_open): create the EGwConnection here.
5589 2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
5591 * backends/groupwise/gw-connection.[ch]: new class for managing
5592 connections to Groupwise servers.
5594 * backends/groupwise/Makefile.am: added new files and needed
5597 2003-11-17 Dan Winship <danw@ximian.com>
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.
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
5607 2003-11-14 Rodrigo Moya <rodrigo@ximian.com>
5609 * backends/Makefile.am: added groupwise backend directory to build.
5611 * backends/groupwise/Makefile.am:
5612 * backends/groupwise/e-cal-backend-groupwise.[ch]: Groupwise backend
5615 2003-11-11 ChangeLog <jpr@ximian.com>
5617 * libecal/e-cal.c (e_cal_class_init): emit the status
5619 * libecal/e-cal.h: remove open status enums, use calendar status
5622 * libecal/client-test.c (create_client): just directly open the
5623 calendar, no need to be async
5625 2003-11-11 Dan Winship <danw@ximian.com>
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.
5631 2003-11-10 JP Rosevear <jpr@ximian.com>
5633 * libecal/e-cal.h: remove dead enums
5635 2003-11-10 JP Rosevear <jpr@ximian.com>
5637 * libecal/e-cal.h: mark struct as private
5639 * libecal/e-cal.c: fix documentation headers
5641 * libecal/e-cal-view.h: fix cast macros and typedef the structs
5644 * libecal/e-cal-view.c: use correct type check macro, fix some
5645 documentation headers
5647 * libecal/e-cal-view-listener.h: typedef the structs separately
5648 and tidy up class macros
5650 * libecal/e-cal-util.c: fix a documentation header
5652 * libecal/e-cal-listener.h: mark parts of the struct as private
5654 * libecal/e-cal-listener.c: fix a few documentation headers
5656 * libecal/e-cal-component.h: remove extraneous comma and mark
5657 parts of struct as private
5659 * libecal/e-cal-component.c: fix a couple of documentation headers
5661 2003-11-10 Dan Winship <danw@ximian.com>
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?)).
5668 2003-11-10 JP Rosevear <jpr@ximian.com>
5670 * libecal/e-cal.h: add proto
5672 * libecal/e-cal.c (e_cal_free_change_list): this belongs here
5674 * libecal/e-cal-types.h: remove proto
5676 * libecal/Makefile.am: don't build dead file
5678 2003-11-07 Dan Winship <danw@ximian.com>
5680 * libecal/Makefile.am (libecal_la_LDFLAGS): Remove -no-undefined
5682 * libedata-cal/Makefile.am (libedata_cal_la_LDFLAGS): Likewise
5684 2003-11-06 <jpr@ximian.com>
5686 * libecal/e-cal-view-listener.h: match the signals better
5688 * libecal/e-cal-view-listener.c (e_cal_view_listener_class_init):
5691 2003-11-06 JP Rosevear <jpr@ximian.com>
5693 * libecal/e-cal.c: replace e_mutex stuff with gthread stuff
5695 2003-11-06 JP Rosevear <jpr@ximian.com>
5697 * Makefile.am: build new subdirs
5699 * backends/*: build the http and file backends here
5701 * libedata-cal/Makefile.am: no longer build them here
5703 2003-11-05 JP Rosevear <jpr@ximian.com>
5705 * rename libedatacal to libedata-cal
5707 2003-11-05 JP Rosvear <jpr@ximian.com>
5709 * libecal/Makefile.am: use privincludedir
5711 * libedatacal/Makefile.am: ditto
5713 * libecal/libecal-1.0.pc.in: ditto
5715 * libedatacal/libedatacal-1.0.pc.in: use privincludedir; remove
5718 2003-11-05 JP Rosevear <jpr@ximian.com>
5720 * libecal/Makefile.am: LIBADD all the relevant libical libs
5722 * libecal/libecal-1.0.pc.in: no need to explicitly link
5725 * libedatacal/libedatacal-1.0.pc.in: ditto; fix include dir
5727 2003-11-05 Rodrigo Moya <rodrigo@ximian.com>
5729 * libedatacal/e-cal-backend-sexp.c: removed GAL dependency.
5731 2003-11-04 JP Rosevear <jpr@ximian.com>
5733 * libedatacal/e-data-cal-factory.c: use properly name spaced
5736 2003-11-04 JP Rosevear <jpr@ximian.com>
5738 * libecal/libecal-1.0.pc.in (prefix): include priv dir stuff for
5741 * libedatacal/libedatacal-1.0.pc.in (prefix): ditto
5743 * libecal/e-cal-component.[hc]: properly name space alarm action
5746 * libecal/e-cal-types.h: properly name space change types
5748 2003-11-04 JP Rosevear <jpr@ximian.com>
5750 * libedatacal/e-data-cal-factory.c: remove corba header include
5752 * libedatacal/e-cal-backend-sync.h: include corba header properly
5754 * libedatacal/e-data-cal.h: ditto
5756 * libedatacal/e-data-cal-view.h: ditto
5758 * libedatacal/e-data-cal-factory.h: ditto
5760 * libedatacal/e-cal-backend.h: ditto
5762 * libedatacal/Makefile.am: reflect idl name change
5764 * libecal/e-cal-listener.h: include corba header properly
5766 * libecal/e-cal-view.h: ditto
5768 * libecal/e-cal-view-listener.h: ditto
5770 * libecal/Makefile.am: reflect idl name change
5772 * idl/Makefile.am: rename the idl to Evolution-DataServer-Calendar.idl
5774 2003-11-03 Hans Petter Jansson <hpj@ximian.com>
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)
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.
5791 * calendar/libedatacal/e-cal-backend-http.c
5792 (e_cal_backend_http_finalize): Cancel potential retrieval and free
5794 (e_cal_backend_http_is_read_only): Clean up.
5795 (webcal_to_http_method)
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
5820 (e_cal_backend_http_init): Remove cruft.
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.
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.