made the 'calobj' argument to be inout, so that the caller gets the
[platform/upstream/evolution-data-server.git] / calendar / ChangeLog
1 2004-03-25  Rodrigo Moya <rodrigo@ximian.com>
2
3         * libedata-cal/e-cal-backend-sync.[ch]
4         (e_cal_backend_sync_create_object): made the 'calobj' argument to
5         be inout, so that the caller gets the modified component, not the
6         original one sent to the backend.
7         (_e_cal_backend_sync_create_object): ditto, and notify listeners with
8         the modified calobj.
9
10         * backends/groupwise/e-cal-backend-groupwise.c
11         (e_cal_backend_groupwise_create_object):
12         * backends/file/e-cal-backend-file.c (e_cal_backend_file_create_object):
13         adapted to changes in ECalBackendSync, and return the modified object
14         to the caller.
15
16 2004-03-22  Rodrigo Moya <rodrigo@ximian.com>
17
18         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]
19         (e_gw_connection_send_appointment): added a 'id' argument, to be
20         passed to e_gw_connection_send_item.
21
22         * backends/groupwise/e-cal-backend-groupwise.c
23         (e_cal_backend_groupwise_create_object,
24         e_cal_backend_groupwise_modify_object, send_object): added extra
25         argument to e_gw_connection_send_appointment.
26
27 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
28
29         * backends/groupwise/e-cal-backend-groupwise.[ch]
30         (e_cal_backend_groupwise_notify_error_code): new function.
31         (populate_cache, get_deltas, connect_to_server,
32         e_cal_backend_groupwise_open): notify clients of any error.
33
34 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
35
36         * backends/groupwise/e-cal-backend-groupwise-utils.c
37         (start_freebusy_session): don't use the "types:" prefix for the
38         <user> SOAP element.
39
40 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
41
42         * backends/groupwise/e-cal-backend-groupwise.c
43         (e_cal_backend_groupwise_remove_object): remove the object from the
44         cache in the remote case also.
45
46 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
47
48         * backends/groupwise/e-cal-backend-groupwise.c
49         (e_cal_backend_groupwise_remove_object): if we don't find the
50         X-EVOLUTION-GROUPWISE-ID property, the object didn't come from
51         the server, so don't try to remove it.
52
53 2004-03-19  Rodrigo Moya <rodrigo@ximian.com>
54
55         * libedata-cal/e-cal-backend-cache.[ch]
56         (e_cal_backend_cache_get_timezone, e_cal_backend_cache_put_timezone,
57         e_cal_backend_cache_remove_timezone): new functions to support
58         timezones in the cache.
59         (e_cal_backend_cache_get_components): only append to the returned
60         list the VEVENT's and VTODO's components.
61         (e_cal_backend_cache_init): create a hash table to store all the
62         icaltimezone objects we create in e_cal_backend_cache_get_timezone.
63         (e_cal_backend_cache_finalize): free the timezones hash table.
64
65         * backends/groupwise/e-cal-backend-groupwise.c
66         (e_cal_backend_groupwise_remove_object): remove object based on the
67         Groupwise item ID, not the iCalendar ID.
68
69 2004-03-18  JP Rosevear <jpr@ximian.com>
70
71         * backends/groupwise/e-cal-backend-groupwise-utils.c
72         (e_gw_connection_get_freebusy_info): send back "freeBusySessionId"
73         rather than "session"
74
75 2004-03-18  JP Rosevear <jpr@ximian.com>
76
77         * backends/groupwise/e-cal-backend-groupwise-utils.c
78         (start_freebusy_session): put the xml prefixes back in, they
79         weren't the issue
80
81 2004-03-18  Rodrigo Moya <rodrigo@ximian.com>
82
83         * backends/groupwise/e-cal-backend-groupwise-utils.c
84         (set_properties_from_cal_component): set the GW item ID based on the
85         X-EVOLUTION-GROUPWISE-ID property.
86         (e_gw_item_to_cal_component): add the above property to the created
87         ECalComponent, and use our iCalendar ID to set the "iCalId" property.
88
89 2004-03-18  JP Rosevear <jpr@ximian.com>
90
91         * backends/groupwise/e-cal-backend-groupwise-utils.c
92         (start_freebusy_session): remove xml prefixes
93
94 2004-03-18  JP Rosevear <jpr@ximian.com>
95
96         * backends/groupwise/e-cal-backend-groupwise-utils.c
97         (start_freebusy_session): list the the addresses in the <email>
98         attribute
99
100 2004-03-18  JP Rosevear <jpr@ximian.com>
101
102         * libecal/e-cal.c: add e_return_error macro to fail more
103         gracefully as per ebook
104
105 2004-03-18  Rodrigo Moya <rodrigo@ximian.com>
106
107         * backends/groupwise/e-cal-backend-groupwise.c
108         (e_cal_backend_groupwise_create_object,
109         e_cal_backend_groupwise_modify_object): don't update the cache when we
110         get an error from the server.
111
112 2004-03-17  Rodrigo Moya <rodrigo@ximian.com>
113
114         Fixes #55719
115
116         * backends/groupwise/e-cal-backend-groupwise.c
117         (e_cal_backend_groupwise_get_cal_address): deal with online/offline
118         modes.
119         (e_cal_backend_groupwise_finalize): free new private field.
120
121 2004-03-16 Harish K <kharish@novell.com>
122
123         * libecal/e-cal.c : Move open_calendar call into async_idle_cb
124         and rearrange mutex lock/unlock sequences. This fixes the calendar 
125         authentication problems observed while using the Password Dialog.
126
127 2004-03-15  Rodrigo Moya <rodrigo@ximian.com>
128
129         * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): expand
130         recurrences for the given time range to be sure that we return the
131         correct events.
132         (check_instance_time_range_cb): callback to check the expanded recurrences.
133
134 2004-03-15  Rodney Dawes  <dobey@ximian.com>
135
136         * libecal/libecal-1.0.pc.in:
137         * libedata-cal/libedata-cal-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
138         the libbonobo dependency
139
140 2004-03-14  Harish K <kharish@novell.com>
141
142         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
143         Update calls to e_gw_connection_get_items with the new prototype.
144
145 2004-03-11  Rodrigo Moya <rodrigo@ximian.com>
146
147         * libedata-cal/e-data-cal.c (e_data_cal_notify_objects_sent): guard
148         against sending NULL strings to CORBA.
149
150         * backends/contacts/e-cal-backend-contacts.c
151         (e_cal_backend_contacts_receive_objects,
152         e_cal_backend_contacts_send_objects): return PermissionDenied error.
153
154 2004-03-09  JP Rosevear <jpr@ximian.com>
155
156         Fixes #55389
157         
158         * backends/file/e-cal-backend-file.c
159         (e_cal_backend_file_send_objects): return the calendar object
160         properly
161
162 2004-03-09  Rodrigo Moya <rodrigo@ximian.com>
163
164         * libecal/e-cal.c (e_cal_resolve_tzid): don't default to UTC timezone,
165         the default timezone is used by the timezone look up code.
166
167 2004-03-09  Thomas Mirlacher <dent@cosy.sbg.ac.at>
168
169         Fixes #53885
170
171         * backends/contacts/e-cal-backend-contacts.c:
172         intermediate fix for recurring entries starting before 1970
173         set the dtend for making valid whole-day entries
174
175 2004-03-05  Rodrigo Moya <rodrigo@ximian.com>
176
177         Fixes #54280
178
179         * backends/groupwise/e-cal-backend-groupwise.c
180         (e_cal_backend_groupwise_send_objects): added missing implementation.
181
182 2004-03-05 Harish K <kharish@novell.com>
183
184         * backends/groupwise/e-cal-backend-groupwise-utils.c :
185         timezone values in ECalDateComponent structures should be
186         set to "UTC" for GW items.
187         
188 2004-03-01  Rodrigo Moya <rodrigo@ximian.com>
189
190         Fixes #33243
191
192         * libedata-cal/e-cal-backend-sexp.c (matches_location): new function
193         to check if a component's location matches a string.
194         (matches_any): call matches_location also.
195         (func_contains): added support for searching the location also.
196
197 2004-03-01  Rodrigo Moya <rodrigo@ximian.com>
198
199         * idl/Evolution-DataServer-Calendar.idl: added new arguments to the
200         notifyObjectsSent method for backends to return the list of users and
201         events for which it operated.
202
203         * libedata-cal/e-data-cal.[ch] (e_data_cal_notify_objects_sent): added
204         new argument and call the listener's notifyObjectsSent method with
205         a GNOME_Evolution_Calendar_UserList.
206
207         * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_send_objects,
208         _e_cal_backend_send_objects): added new arguments.
209
210         * backends/file/e-cal-backend-file.c (e_cal_backend_file_send_objects):
211         * backends/http/e-cal-backend-http.c (e_cal_backend_http_send_objects):
212         * backends/contacts/e-cal-backend-contacts.c
213         (e_cal_backend_contacts_send_objects):
214         * backends/groupwise/e-cal-backend-groupwise.c
215         (e_cal_backend_groupwise_send_objects): adapted to changes in
216         ECalBackend/ECalBackendSync API.
217
218         * backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects,
219         e_cal_backend_file_send_objects): removed wrong return statement.
220
221         * libecal/e-cal-marshal.list: added new marshaller.
222
223         * libecal/e-cal.[ch] (e_cal_send_objects): get the user list from the
224         operation's result.
225         (cal_objects_sent_cb): added the new arguments and copy them to the
226         operation's result.
227
228         * libecal/e-cal-listener.[ch]: added new arguments to "send_objects"
229         signal.
230         (impl_notifyObjectsSent): added UserList argument to CORBA method, and
231         convert the CORBA user list to a GList to be passed to the signal
232         handlers.
233         (e_cal_listener_class_init): added new arguments to "send_objects"
234         signal.
235
236 2004-02-26  JP Rosevear <jpr@ximian.com>
237
238         * tests/ecal/test-ecal.c: make EXPECTED a macro so it compiles
239
240 2004-02-26 Harish K <kharish@novell.com>
241
242         * tests/ecal/test-ecal.c : Added implementation of 
243         test cases.
244         * (tests/ecal/test-runner.sh, tests/ecal/cleanup.sh
245            tests/ecal/testdata.ics) : Added test scripts and test data.
246         * tests/ecal/Makefile.am : Add scripts to EXTRA_DIST.
247
248 2004-02-23  JP Rosevear <jpr@ximian.com>
249
250         * backends/groupwise/Makefile.am: Add includes for srcdir !=
251         builddir
252
253         * backends/file/Makefile.am: ditto
254
255         * backends/contacts/Makefile.am: ditto
256
257         * libedata-cal/Makefile.am: ditto
258
259         * libecal/Makefile.am: ditto
260
261         * tests/ecal/Makefile.am: ditto
262
263 2004-02-17 Harish K <kharish@novell.com>
264         * libecal/e-cal.c : 
265         (e_cal_new_system_calendar, e_cal_new_system_tasks) : arguments
266         to g_build_filename should be NULL terminated.
267
268 2004-02-12  Chris Toshok  <toshok@ximian.com>
269
270         * backends/contacts/e-cal-backend-contacts.c (book_record_new):
271         quiet the compiler, and free the list of requested fields after
272         the e_book_get_book_view call.
273         (e_cal_backend_contacts_init): use e_book_get_addressbooks instead
274         of using gconf and hardcoding the sourcelist xml key.
275
276 2004-02-10  Rodrigo Moya <rodrigo@ximian.com>
277
278         * backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects):
279         switch wrongly-placed creation/modification of objects.
280
281 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
282
283         * backends/groupwise/e-cal-backend-groupwise-utils.c
284         (set_properties_from_cal_component, e_gw_item_to_cal_component):
285         adapted to changes in EGwItem.
286
287         * libecal/e-cal.c (e_cal_open_async): no need to make the thread joinable.
288
289 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
290
291         * backends/groupwise/e-cal-backend-groupwise-utils.[ch]: new files
292         to contain all calendar-specific code from libegroupwise.
293         (e_gw_item_new_from_cal_component, e_gw_item_to_cal_component,
294         e_gw_connection_send_appointment): new functions.
295
296         * backends/groupwise/e-cal-backend-groupwise.c: include new header
297         file.
298
299 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
300
301         * backends/groupwise/create-account.c:
302         * backends/groupwise/soap-test.c:
303         * backends/groupwise/e-gw-*: moved to $top_srcdir/servers/groupwise.
304
305         * backends/groupwise/Makefile.am: removed files and don't build test
306         programs.
307
308 2004-02-06  Rodrigo Moya <rodrigo@ximian.com>
309
310         * backends/groupwise/e-gw-connection.c (parse_response_status):
311         "Status" is now "status".
312
313 2004-02-04  JP Rosevear <jpr@ximian.com>
314
315         * libecal/e-cal.h: update proto
316
317         * libecal/e-cal.c (async_idle_cb): return FALSE to remove the idle
318         handler
319         (get_default): take an auth func and use it 
320         (e_cal_open_default): ditto
321
322 2004-02-04  JP Rosevear <jpr@ximian.com>
323
324         * libecal/e-cal.h: redo protos
325
326         * libecal/e-cal.c (e_cal_open_default): open the default ecal
327         based on type
328         (e_cal_set_default): set the default based on type
329         (e_cal_set_default_source): ditto
330         (e_cal_get_sources): get the source list based on type
331
332 2004-02-04  Rodrigo Moya <rodrigo@ximian.com>
333
334         * libecal/e-cal.c (open_calendar): new function created from
335         e_cal_open, without signal emissions.
336         (e_cal_open): call open_calendar() and emit signals.
337         (e_cal_open_async): changed to use a thread instead
338         of an idle callback.
339         (open_async): converted to a GThreadFunc, call open_calendar and
340         setup idle callback to emit the "cal_opened" signal.
341         (async_idle_cb): idle callback, notify listeners with the
342         "cal_opened" signal and free ECalAsyncData.
343
344         * backends/file/e-cal-backend-file.c: store an ordered list of all
345         detached recurrences, as well as the hash table, for each object.
346         (free_object): free the recurrences list, and the object's data.
347         (add_component, remove_instance): add the recurrences to the
348         recurrences list also.
349         (e_cal_backend_file_modify_object): remove the recurrence from the
350         list also, and it to the list when adding it to the hash table.
351         (remove_object_instance_cb): remove the recurrences from the list
352         also.
353         (e_cal_backend_file_receive_objects): remove cancelled meetings from the
354         received toplevel component before merging it. Add/Update received
355         objects approppriately for PUBLISH/REQUEST/REPLY.
356
357 2004-02-04  Rodrigo Moya <rodrigo@ximian.com>
358
359         * libecal/e-cal.c (open_async): g_object_unref the ECal, not the
360         ECalAsyncData structure.
361
362 2004-02-03  Rodney Dawes  <dobey@ximian.com>
363
364         * backends/http/e-cal-backend-http.c: Don't keep a global SoupMessage
365         (e_cal_backend_http_fianlize): Abort the session, as we may have
366         multiple messages running
367         (webcal_to_http_method): Return a copy if we aren't parsing a webcal:,
368         as there is no need to return NULL, since we just check and copy the
369         original anyway
370         (retrieval_done): Handle redirection, and don't rely on a global
371         SoupMessage for things, and don't try to set the SoupMessage to NULL
372         (begin_retrieval_cb): Allow multiple messages, and disable automatic
373         redirect handling, as we need to handle it ourselves
374         (maybe_start_reload_timeout): We want minutes, not seconds, so we need
375         to multiply the refresh value by 60000 instead of 1000
376
377 2004-02-03  Dan Winship  <danw@ximian.com>
378
379         * backends/http/e-cal-backend-http.c (e_cal_backend_http_finalize,
380         retrieval_done): Don't unref the soup message; that happens
381         automatically after the callback runs. #53645
382
383 2004-02-03  Harish K <kharish@novell.com>
384
385         * backends/groupwise/e-cal-backend-groupwise.c : 
386         added get_deltas function as the callback to update cache.
387         * backends/groupwise/e-gw-connection.[ch] (parse_response_status):
388         Removed UpdateCacheHandle structure as
389         the callback is now local to e-cal-backend-groupwise.c
390         (e_gw_connection_get_deltas) : modified  the function to return 
391         list of EGwItems.
392         (set_attendee_list_from_soap_parameter) : moved to EGwItem.
393         * backends/groupwise/e-gw-item.c : Added attendee_list to priv
394         structure and updated e_gw_item_dispose to free it.
395         (e_gw_item_new_from_soap_parameter) : added code to parse 'changes'
396         element in item.
397         
398 2004-02-03  Chris Toshok  <toshok@ximian.com>
399
400         * backends/groupwise/e-gw-connection.c (parse_response_status):
401         E_GW_CONNECTION_BAD_PARAMETER ->
402         E_GW_CONNECTION_STATUS_BAD_PARAMETER.
403
404 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
405
406         * backends/groupwise/e-gw-connection.[ch] (parse_response_status):
407         added new error code.
408
409 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
410
411         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
412         add all retrieved items to the cache, since calendar and tasks
413         both use the same cache file.
414         (e_cal_backend_groupwise_get_object,
415         e_cal_backend_groupwise_get_object_list): only return items of the
416         same kind as the backend.
417         (e_cal_backend_groupwise_create_object): only allow storing of
418         items of the same kind as the backend.
419
420 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
421
422         * backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
423         fixed argument ordering in call to e_gw_message_write_string_parameter.
424
425 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
426
427         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
428         changed to have an ECalBackendGroupwise as argument, and only add
429         to the cache objects of the same kind as the backend.
430         (connect_to_server): pass the ECalBackendGroupwise to populate_cache.
431
432         * backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent):
433         set altrep to NULL on ECalComponentText's.
434
435 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
436
437         * backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent): moved
438         calls to e_cal_component_set_new_vtype up, so that the internal
439         icalcomponent gets created. Added missing 'break' statement.
440
441 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
442
443         * backends/groupwise/e-gw-connection.c
444         (e_gw_connection_get_freebusy_info): fixed warning.
445
446         * backends/groupwise/e-cal-backend-groupwise.c
447         (e_cal_backend_groupwise_remove_object): pass the container_id to
448         e_gw_connection_remove_item.
449
450 2004-02-02  Rodrigo Moya <rodrigo@ximian.com>
451
452         * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
453         set the ESource's name to the name of the folder.
454
455 2004-02-01  JP Rosevear <jpr@ximian.com>
456
457         * libecal/e-cal.h: order the signals more sensibly
458
459         * libecal/e-cal.c (destroy_factories): use G_STRLOC
460         (categories_changed_cb): set the size of the array so the length
461         is set
462         (e_cal_init): remove extra listener args, listen for new signals
463
464         * libecal/e-cal-marshal.list: add signal marshaller
465
466         * libecal/e-cal-listener.h: add new signals, remove function
467         callback protos, update protos
468
469         * libecal/e-cal-listener.c (impl_notifyErrorOccurred): emit error
470         signal
471         (impl_notifyCategoriesChanged): emit categories changed signal
472         (e_cal_listener_init): remove dead initializations
473         (e_cal_listener_finalize): remove dead finalizations
474         (e_cal_listener_class_init): add category and error signals
475         (e_cal_listener_construct): remove error and category function
476         params
477         (e_cal_listener_new): ditto
478
479 2004-01-31  JP Rosevear  <jpr@ximian.com>
480
481         * libecal/e-cal.c (e_cal_is_read_only): return a proper GError and
482         boolean
483
484         * backends/contacts/e-cal-backend-contacts.c
485         (e_cal_backend_contacts_get_type): remove debug statements
486         
487 2004-01-30  Radek Doulik  <rodo@ximian.com>
488
489         * backends/contacts/e-cal-backend-contacts.c (contact_record_new):
490         make sure anniversary/birthday components were created before
491         using them
492         (contact_record_free): ditto
493         (contact_record_cb): ditto
494
495 2004-01-30  Rodrigo Moya <rodrigo@ximian.com>
496
497         * backends/http/Makefile.am: LOG_DOMAIN is ...http, not ...file.
498
499         * backends/http/e-cal-backend-http.c (reaload_cb): don't start a new
500         updload if we're already uploading.
501
502 2004-01-29  Hans Petter Jansson  <hpj@ximian.com>
503
504         * backends/http/e-cal-backend-http.c (retrieval_done): Clear the
505         is_loading flag.
506         (begin_retrieval_cb): Set the is_loading flag, maybe start the reload
507         timeout.
508         (reload_cb): Implement.
509         (maybe_start_reload_timeout): Implement.
510         (e_cal_backend_http_open): Init reload timeout ID.
511
512 2004-01-29  Rodrigo Moya <rodrigo@ximian.com>
513
514         * backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
515         write all properties to the message.
516
517 2004-01-29  Rodrigo Moya <rodrigo@ximian.com>
518
519         * backends/groupwise/e-gw-item.[ch] (e_gw_item_new_from_soap_parameter,
520         e_gw_item_to_cal_component, e_gw_item_get_id, e_gw_item_set_id,
521         e_gw_item_get_creation_date, e_gw_item_set_creation_date,
522         e_gw_item_get_start_date, e_gw_item_set_start_date,
523         e_gw_item_get_classification, e_gw_item_set_classification,
524         e_gw_item_get_accept_level, e_gw_item_set_accept_level,
525         e_gw_item_get_subject, e_gw_item_set_subject,
526         e_gw_item_get_priority, e_gw_item_set_priority,
527         e_gw_item_get_message, e_gw_item_set_message,
528         e_gw_item_get_completed, e_gw_item_set_completed,
529         e_gw_item_get_due_date, e_gw_item_set_due_date,
530         e_gw_item_get_end_date, e_gw_item_set_end_date,
531         e_gw_item_get_place, e_gw_item_set_place): new functions.
532         (e_gw_item_new_from_cal_component): renamed. Don't keep the
533         ECalComponent, there's no need for it.
534         (append_appointment_properties): don't use the private ECalComponent,
535         it's not stored anymore.
536         (e_gw_item_dispose): free all properties.
537         (e_gw_item_append_to_soap_message): added support for tasks.
538
539         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
540         (e_gw_connection_send_appointment): use
541         e_gw_item_new_from_cal_component.
542         (get_e_cal_component_from_soap_parameter, get_evo_date_from_string):
543         removed.
544         (e_gw_item_get_deltas, update_cache_item): disabled until migrated to
545         use EGwItem's.
546         (e_gw_connection_get_date_from_string): new function.
547
548         * backends/groupwise/e-gw-container.c (e_gw_container_finalize): fixed
549         warnings.
550
551 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
552
553         * backends/groupwise/e-gw-item.c: added missing header.
554
555 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
556
557         Fixes #53465
558
559         * libecal/e-cal.c (e_cal_get_error_message): fixed typo.
560
561 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
562
563         * backends/groupwise/e-gw-item.[ch]
564         (e_gw_item_append_to_soap_message): new function.
565
566         * backends/groupwise/e-gw-connection.c (e_gw_connection_send_item):
567         finished implementation.
568
569 2004-01-28 Harish K <kharish@novell.com>
570
571         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
572         Pass the correct arguments to the callback function 
573         * calendar/backends/groupwise/e-gw-connection.c :
574         (e_gw_connection_get_container_id) : Initialize container_list.
575         (e-gw-connection_get_deltas) : fixed the prototype to match
576         the callback prototype
577         (set_attendee_list_from_soap_param): modified 
578         get_attendee_list_from_soap_param to update calendar component
579         within the same function.
580         (e-gw-connection_get_items) : check item types before creating
581         e-cal-components.
582         * calendar/backends/groupwise/e-gw-connection.h : added 
583         CacheUpdateHandle structure. 
584
585 2004-01-28  JP Rosevear <jpr@ximian.com>
586
587         * libecal/e-cal.h: add protos
588
589         * libecal/e-cal.c (e_cal_new_system_calendar): return a pointer to
590         the system calendar
591         (e_cal_new_system_tasks): ditto for tasks
592         (get_default): gets the default calendar/tasks
593         (e_cal_get_default_calendar): gets the default calendar
594         (e_cal_get_default_tasks): ditto for tasks
595         (e_cal_set_default_calendar): sets the default calendar
596         (e_cal_set_default_tasks): ditto for tasks
597         (set_default_source): set the default calendar/tasks source
598         (e_cal_set_default_calendar_source): set the default calendar
599         source
600         (e_cal_set_default_tasks_source): ditto for tasks
601         (get_sources): get a source list given a gconf key
602         (e_cal_get_calendars): get the calendar source list
603         (e_cal_get_tasks): get the tasks source list
604
605 2004-01-28  Rodrigo Moya <rodrigo@ximian.com>
606
607         * backends/groupwise/e-gw-container.[ch]: new class to contain all
608         information about containers in the server.
609
610         * backends/groupwise/e-gw-connection.[ch]
611         (e_ge_connection_free_container_list): new function.
612         (e_gw_connection_get_container_list): changed to return a list of
613         EGwContainer's.
614         (e_gw_connection_get_container_id): adapted to changes made in
615         e_gw_connection_get_container_list().
616
617 2004-01-27  JP Rosevear <jpr@ximian.com>
618
619         * libecal/e-cal.h: update proto
620
621         * libecal/e-cal.c (e_cal_remove): rename from
622         e_cal_remove_calendar
623         (e_cal_get_error_message): key on new status name
624
625         * libecal/e-cal-types.h: rename
626         E_CALENDAR_STATUS_CARD_ID_ALREADY_EXISTS to
627         E_CALENDAR_STATUS_OBJECT_ID_ALREADY_EXISTS, delete duplicate enum
628
629         * idl/Evolution-DataServer-Calendar.idl: rename
630         CardIdAlreadyExists to ObjectIdAlreadyExists
631
632         * libecal/e-cal-listener.c (convert_status): key on new name
633         
634         * backends/file/e-cal-backend-file.c
635         (e_cal_backend_file_create_object): return object id already
636         exists
637
638 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
639
640         * backends/groupwise/e-gw-connection.c
641         (get_e_cal_component_from_soap_parameter): not having the priority
642         or dueDate properties is not an error.
643
644 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
645
646         * backends/groupwise/e-gw-connection.c
647         (get_attendee_list_from_soap_parameter): don't allocate memory for
648         ECalComponentAttendee's fields, make them just point to the values
649         contained in the SoupSoapResponse.
650         (get_e_cal_component_from_soap_parameter): don't free
651         ECalComponentAttendee's fields, free the structure.
652         (e_gw_connection_send_item): fixed warnings.
653
654         * backends/groupwise/e-cal-backend-groupwise.c
655         (e_cal_backend_groupwise_get_object):
656         (e_cal_backend_groupwise_remove): lock/unlock the mutex when accessing
657         private fields.
658
659 2004-01-27  JP Rosevear <jpr@ximian.com>
660
661         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): take
662         a const uri
663         (e_cal_backend_cache_set_property): pass a const value
664         (e_cal_backend_cache_constructor): uri is const
665         (e_cal_backend_cache_put_component): rid is const
666         (e_cal_backend_cache_get_components): distinguish between GList
667         and GSList
668
669         * libedata-cal/e-cal-backend-sexp.c (func_uid): make sure we
670         always set a return value
671
672 2004-01-27  JP Rosevear <jpr@ximian.com>
673
674         * backends/groupwise/e-gw-connection.c
675         (get_e_cal_component_from_soap_parameter): description is not
676         const
677
678 2004-01-27  Rodrigo Moya <rodrigo@ximian.com>
679
680         * backends/groupwise/e-cal-backend-groupwise.c
681         (e_cal_backend_groupwise_start_query): fixed memory leaks and use
682         g_list_* functions for GList's, not g_slist_*.
683         (match_object_sexp, match_recurrence_sexp): removed unneeded functions,
684         we match the object directly in get_object_list.
685         (e_cal_backend_groupwise_start_query): call get_object_list to retrieve
686         the matched objects and call e_data_cal_view_notify_* functions
687         appropriately.
688
689 2004-01-26  Harish K <kharish@novell.com>
690
691         * calendar/backends/groupwise/e-cal-backend-groupwise.c :
692         (e_cal_backend_groupwise_internal_get_default_timezone,
693         e_cal_backend_groupwise_internal_get_timezone) : added and 
694         implemented.
695         (e_cal_backend_groupwise_get_object_list) : fixed incorrect
696         access to the list.
697         (e_cal_backend_groupwise_start_query) : fixed compiler warnings.
698          
699         * calendar/backends/groupwise/e-gw-connection.c :
700         (e_gw_connection_get_container_id) : Modified elements 'Folders' to 
701         the 'folders' due to change in the server implementation.
702         Fixed compiler warnings.
703
704 2004-01-24  Rodrigo Moya <rodrigo@ximian.com>
705
706         * backends/http/e-cal-backend-http.c: make it use
707         ECalBackendCache for its cache, and libsoup for the HTTP
708         retrieval.
709         (retrieval_progress_cb, uri_to_cache_dir, ensure_cache_dir): removed
710         unneeded functions.
711         (e_cal_backend_http_finalize): cancel Soup message here, if any, and
712         close Soup session.
713         (begin_retrieval_cb): use soup_session_queue_message() to send the
714         HTTP request to the server.
715         (retrieval_done): update the cache on success, and changed to be the
716         callback for the Soup async message.
717         (e_cal_backend_http_open): create a ECalBackendCache, not an
718         ECalBackendFile.
719         (e_cal_backend_http_remove): remove the cache.
720         (e_cal_backend_http_is_loaded, e_cal_backend_http_get_default_object,
721         e_cal_backend_http_get_object, e_cal_backend_http_get_timezone,
722         e_cal_backend_http_add_timezone,
723         e_cal_backend_http_set_default_timezone,
724         e_cal_backend_http_get_object_list, e_cal_backend_http_start_query,
725         e_cal_backend_http_get_default_timezone,
726         e_cal_backend_http_get_timezone):
727         dont proxy calls to the file backend, use the cache instead.
728         (e_cal_backend_http_create_object, e_cal_backend_http_modify_object,
729         e_cal_backend_http_remove_object, e_cal_backend_http_receive_objects,
730         e_cal_backend_http_send_objects):
731         the HTTP backend is read only, return permission denied error.
732
733         * backends/http/Makefile.am: added SOUP_CFLAGS|LIBS.
734
735         * backends/groupwise/Makefile.am: s/GROUPWISE/SOUP.
736
737 2004-01-23  Harish K <kharish@novell.com>
738
739         * calendar/backends/groupwise/e-cal-backend-groupwise.c
740           Removed update_cache function and refactored the call-back 
741           to use e-gw-connection_get_deltas instead of update_cache.
742         * calendar/backends/groupwise/e-gw-connection.c
743           use g_new0 instead of g_malloc0 and added NULL check for 
744           validating the soap responses. 
745           (get_e_cal_component_from_soap_parameter) added code to
746           parse 'message' into description.
747           
748 2004-01-22 Harish K <kharish@novell.com>
749
750         * calendar/backends/groupwise/e-cal-backend-groupwise.c
751           (populate_cache, e_cal_backend_groupwise_get_object_list,
752           e_cal_backend_groupwise_get_free_busy ) :changed implementation
753           to use GList instead of GSList, aligning to the rest of the
754           backends.
755           (e_cal_backend_groupwise_get_changes, update_cache): implemented.
756
757         * calendar/backends/groupwise/e-gw-connection.c
758           (get_attendee_list_from_soap_parameter) : modified 
759           get_attendee_list_from_string to handle recipients element.
760           (get_e_cal_component_from_soap_parameter) -fixed memory leaks.
761           (update_cache_item) : implemented.
762           (e_gw_connection_get_freebusy_info, start_freebusy_session)
763           GSList to GList changes.
764
765         * calendar/backends/groupwise/e-gw-connection.h : updated 
766           declarations for the above changes.
767
768         * calendar/libedata-cal/e-cal-backend-cache.[ch] :
769           (e_cal_backend_cache_get_components) : return GList instead of
770           GSList.
771           
772 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
773
774         * backends/groupwise/e-cal-backend-groupwise.c
775         (e_cal_backend_groupwise_remove): remove the cache from disk
776         when removing the calendar.
777
778         * backends/file/e-cal-backend-file.c
779         (e_cal_backend_file_remove): added missing call to g_dir_close().
780
781 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
782
783         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
784         use the full path when removing files.
785
786 2004-01-21  JP Rosevear <jpr@ximian.com>
787
788         * libecal/Makefile.am: don't build client test
789
790 2004-01-21  JP Rosevear <jpr@ximian.com>
791
792         * tests/ecal/test-ecal.c: the beginnings of a test client
793
794         * tests/ecal/Makefile.am: build the test client
795
796         * tests/Makefile.am: add ecal subdir
797
798         * Makefile.am: add tests subdir
799
800 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
801
802         * libecal/e-cal.c (e_cal_new): create the component listener
803         here, so that backend_died_cb gets called when the backend dies.
804
805 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
806
807         * backends/groupwise/e-cal-backend-groupwise.c
808         (connect_to_server): added code for retrieving the container ID
809         for tasks also.
810
811 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
812
813         * backends/groupwise/e-cal-backend-groupwise.c
814         (e_cal_backend_groupwise_open): added missing g_mutex_unlock
815         call.
816
817 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
818
819         * backends/groupwise/e-gw-connection.c
820         (get_e_cal_component_from_soap_parameter): check arguments before
821         passing them to functions to avoid warnings at runtime.
822
823 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
824
825         * backends/file/e-cal-backend-file.c (create_cal): create
826         directory tree to contain the calendar.
827
828 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
829
830         * backends/groupwise/e-gw-connection.c
831         (get_e_cal_component_from_soap_parameter): return error when
832         the type of the component does not match the supported ones.
833
834 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
835
836         Fixes #51705
837
838         * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
839         remove all files in the directory and the directory itself.
840
841 2004-01-21  Rodrigo Moya <rodrigo@ximian.com>
842
843         * backends/groupwise/e-cal-backend-groupwise.c (match_recurrence_sexp,
844         match_object_sexp): use a GSList, which is what we are passed
845         to e_cal_backend_groupwise_get_object_list.
846         (e_cal_backend_groupwise_start_query): fixed warning.
847
848 2004-01-20  Rodrigo Moya <rodrigo@ximian.com>
849
850         * backends/groupwise/e-cal-backend-groupwise.c
851         (e_cal_backend_groupwise_set_mode): split out the connection code.
852         (connect_to_server): and moved it here.
853         (e_cal_backend_groupwise_open): call connect_to_server, not
854         set_mode, to avoid online/offline notifications.
855
856 2004-01-19  Harish K <kharish@novell.com> 
857
858         * backends/groupwise/e-gw-connection.c :
859         (get_e_cal_component_from_soap_parameter):
860         'due' property set for TODOs instead of dtend.
861         added code for mapping all values of GW data to
862         percent, priority, classification, transparency
863         properties in ECalComponent.
864         Fixed compiler warnings.
865
866 2004-01-18  Harish K <kharish@novell.com>
867
868         * backends/groupwise/e-cal-backend-groupwise.c :
869         (e_cal_backend_groupwise_get_free_busy): Implemented.
870         * backends/groupwise/e-gw-connection.[ch] :
871         (e_gw_connection_get_deltas) : Implemented parsing of
872         the response.
873         (e_gw_connection_get_free_busy_info) : Implemented
874         including private functions  
875         (get_attendee_list_from_string, start_freebusy_session and
876         close_freebusy_session).
877         (e_gw_connection_get_container_id) : remove unused variable.
878         (get_e_cal_component_from_soap_parameter) : added code to 
879         set attendee_list to the e_cal_component.
880         (get_evo_date_from_string) : fixed typo.
881
882 2004-01-16  JP Rosevear <jpr@ximian.com>
883
884         * backends/file/e-cal-backend-file.c (save): remove test bits
885
886 2004-01-16  JP Rosevear <jpr@ximian.com>
887
888         * libecal/e-cal.c (categories_changed_idle_cb): remove debug
889         statement
890
891 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
892
893         * libecal/e-cal.c (e_cal_open): return AUTH_REQUIRED error if
894         we don't get a password from the authentication function.
895
896         * backends/file/e-cal-backend-file.c
897         (e_cal_backend_file_modify_object): store the old object before
898         actually losing it.
899
900 2004-01-16  JP Rosevear <jpr@ximian.com>
901
902         * libecal/e-cal.c: name space the idle data structs properly
903
904 2004-01-16  JP Rosevear <jpr@ximian.com>
905
906         * libecal/e-cal.c (backend_error_idle_cb): idle handler to
907         actually proxy the signal emission to the main thread
908         (backend_error_cb): use above
909         (categories_changed_idle_cb): idle handler for proxying
910         (categories_changed_cb): use above
911
912         Fixes #52743
913         
914 2004-01-16  Christian Neumair  <chris@gnome-de.org>
915
916         * libedata-cal/e-cal-backend-sexp.c (func_uid):
917         Error message string fix.
918
919 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
920
921         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): use
922         ~/.evolution/cache/calendar for the cache files.
923
924         * backends/groupwise/e-cal-backend-groupwise.c
925         (e_cal_backend_groupwise_get_object_list): lock/unlock the
926         private mutex.
927
928 2004-01-16  Rodrigo Moya <rodrigo@ximian.com>
929
930         * backends/groupwise/e-gw-connection.c
931         (e_gw_connection_get_container_id): fixed duplicated variable name.
932
933         * backends/groupwise/e-cal-backend-groupwise.c
934         (e_cal_backend_groupwise_open): removed check for 'only_if_exists',
935         we'll return NoSuchCal error if we can't find the calendar to open.
936
937 2004-01-15  Mark McLoughlin  <mark@skynet.ie>
938
939         * libecal/e-cal-listener.c: (impl_notifyCalSetMode),
940         (impl_notifyErrorOccurred), (impl_notifyCategoriesChanged):
941         Remove debugging spew.
942
943 2004-01-15  Radek Doulik  <rodo@ximian.com>
944
945         * libecal/e-cal.c (e_cal_is_read_only): fix the return value, it
946         was returning ECalendarStatus instead of bool, it compares status
947         to E_CALENDAR_STATUS_OK now
948
949 2004-01-14  Rodrigo Moya <rodrigo@ximian.com>
950
951         * backends/groupwise/e-cal-backend-groupwise.c
952         (e_cal_backend_groupwise_open): if trying to create a new calendar,
953         return an error, since we don't support that.
954         (e_cal_backend_groupwise_remove): return "Permission Denied".
955
956 2004-01-14  Harish K <kharish@novell.com>
957
958         * libedata-cal/e-cal-backend-cache.c
959         (e_cal_backend_cache_get_components): return a list of e-cal-components
960         rather than e-cal-component strings.
961
962 2004-01-13  JP Rosevear <jpr@ximian.com>
963
964         * backends/groupwise/e-gw-connection.c
965         (get_e_cal_component_from_soap_parameter): remove C99 declaration
966
967 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
968
969         * backends/groupwise/e-gw-item.[ch] (e_gw_item_new_appointment):
970         added a 'container' argument.
971         (e_gw_item_dispose): free new field in the private structure.
972
973         * backends/groupwise/e-gw-connection.[ch]
974         (e_gw_connection_send_appointment): added a 'container' argument.
975
976         * backends/groupwise/e-cal-backend-groupwise.c
977         (e_cal_backend_groupwise_create_object,
978         e_cal_backend_groupwise_modify_object): adapted to changes in
979         e_gw_connection_send_appointment.
980         (e_cal_backend_groupwise_receive_objects): implemented.
981
982 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
983
984         * backends/groupwise/e-gw-connection.[ch]
985         (e_gw_connection_get_items): moved the folder retrieving code to...
986         (e_gw_connection_get_container_id): ...here, new function.
987
988         * backends/groupwise/e-cal-backend-groupwise.c: added 'container_id'
989         field to private structure.
990         (e_cal_backend_groupwise_finalize): free the container_id.
991         (populate_cache): pass the container_id to e_gw_connection_get_items.
992         (e_cal_backend_groupwise_set_mode): retrieve the container ID after
993         connecting to the server.
994
995 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
996
997         * backends/groupwise/e-gw-connection.[ch] (logout): unref the message
998         if we dont get a response, not the response, which is NULL, and unref
999         it also before exiting the function.
1000         (e_gw_connection_remove_item): new function.
1001
1002         * backends/groupwise/e-cal-backend-groupwise.c
1003         (e_cal_backend_groupwise_remove_object): implemented.
1004
1005 2004-01-13  Rodrigo Moya <rodrigo@ximian.com>
1006
1007         * libecal/e-cal-component.[ch] (e_cal_component_get_recurid_as_string):
1008         new function, moved from the file and groupwise backends.
1009
1010         * libedata-cal/e-cal-backend-cache.[ch]
1011         (e_cal_backend_cache_put_component): changed to get an ECalComponent.
1012
1013         * backends/groupwise/e-gw-item.[ch]: new class for managing items
1014         to be sent to the server.
1015
1016         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_send_item,
1017         e_gw_connection_send_appointment): new functions.
1018         (e_gw_connection_get_container_list): made it public.
1019
1020         * backends/groupwise/e-cal-backend-groupwise.c
1021         (e_cal_backend_groupwise_create_object): finished implementation.
1022         (e_cal_backend_groupwise_modify_object): implemented.
1023         (get_rid_string): removed.
1024         (populate_cache): adapted to changes in ECalBackendCache, and use
1025         e_cal_component_get_recurid_as_string instead of the local
1026         get_rid_string().
1027
1028         * backends/groupwise/Makefile.am: added new files.
1029
1030         * backends/file/e-cal-backend-file.c (get_rid_string): removed.
1031         (add_component, e_cal_backend_file_modify_object): use
1032         e_cal_component_get_recurid_as_string instead of the local
1033         get_rid_string().
1034
1035 2004-01-13 Harish K <kharish@novell.com>
1036
1037         * calendar/backends/groupwise/e-cal-backend-groupwise.c
1038           (populate_cache): fixed memory leaks.
1039           (e_cal_backend_groupwise_open): return function with success when
1040           invoked again after the cache has been created already.
1041           (e_cal_backend_groupwise_get_object_list): implemented.
1042           (e_cal_backend_groupwise_start_query): implemented.
1043
1044         * calendar/backends/groupwise/e-gw-connection.c
1045           (get_e_cal_component_from_soap_parameter): modification to strip
1046           date and time separators in argument before calling
1047           icaltime_from_string.
1048
1049         * calendar/backends/groupwise/e-gw-connection.h
1050           (e_gw_connection_get_delta): - Added declaration.
1051
1052         * calendar/libedata-cal/e-cal-backend-cache.c
1053           (e_cal_backend_cache_constructor): Added the function and updated
1054           class_init to use it.
1055           (e_cal_backend_cache_get_components): Added method to wrap 
1056           e_file_cache_get_objects for better abstraction.
1057           (e_cal_backend_cache_set_property): fixed NULL termination to argument
1058           list.
1059
1060 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
1061
1062         * backends/groupwise/e-cal-backend-groupwise.c
1063         (e_cal_backend_groupwise_open):
1064         * backends/http/e-cal-backend-http.c (e_cal_backend_http_open): made
1065         the backends start online always, until we fix the online/offline
1066         handling via the shell.
1067
1068 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
1069
1070         * backends/groupwise/e-gw-connection.[ch]
1071         (e_gw_connection_get_user_name, e_gw_connection_get_user_uuid): new
1072         functions.
1073
1074 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
1075
1076         * backends/http/e-cal-backend-http.c (uri_to_cache_dir): fixed leak.
1077
1078 2004-01-10  Rodrigo Moya <rodrigo@ximian.com>
1079
1080         * libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range):
1081         don't leak the dates retrieved with e_cal_component_get_dtstart/dtend.
1082
1083         * libedata-cal/e-cal-backend-sync.c (_e_cal_backend_get_timezone):
1084         free the 'object' string returned by the provider's get_timezone
1085         method.
1086
1087         * libedata-cal/e-data-cal-factory.c
1088         (e_data_cal_factory_register_method):
1089         g_free the string returned by g_ascii_strdown().
1090
1091 2004-01-10  Rodrigo Moya <rodrigo@ximian.com>
1092
1093         * backends/groupwise/e-cal-backend-groupwise.c
1094         (e_cal_backend_groupwise_get_timezone): fixed copy/paste typo.
1095         (e_cal_backend_groupwise_remove, e_cal_backend_groupwise_add_timezone,
1096         e_cal_backend_groupwise_set_default_timezone,
1097         e_cal_backend_groupwise_get_object_list,
1098         e_cal_backend_groupwise_get_free_busy,
1099         e_cal_backend_groupwise_get_changes,
1100         e_cal_backend_groupwise_discard_alarm,
1101         e_cal_backend_groupwise_modify_object,
1102         e_cal_backend_groupwise_remove_object,
1103         e_cal_backend_groupwise_receive_objects,
1104         e_cal_backend_groupwise_send_objects):
1105         fixed compilation warnings.
1106
1107         * backends/groupwise/Makefile.am:
1108         * backends/groupwise/groupwise-config-listener.c: removed unused file.
1109
1110 2004-01-09  Harish K <kharish@novell.com>
1111
1112         * backends/groupwise/e-cal-backend-groupwise.c
1113         (populate_cache): implemented.
1114
1115         * backends/groupwise/e-gw-connection.h:
1116         added declaration for e_gw_connection_get_items.
1117
1118         * backends/groupwise/e-gw-connection.c:
1119         (e-gw-connection-get-items) :implementation to obtain 
1120         calendar data from GW using SOAP.
1121
1122 2004-01-08  JP Rosevear <jpr@ximian.com>
1123
1124         * libecal/e-cal.c (convert_type): kill warning
1125         (e_cal_get_timezone): fix preconditions, tzid being NULL is valid,
1126         set *zone to NULL if we short circuit on a local time
1127
1128 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
1129
1130         * backends/groupwise/e-cal-backend-groupwise.c
1131         (e_cal_backend_groupwise_open): keep the username and password
1132         passed from the client, and don't open the connection here.
1133         (e_cal_backend_groupwise_set_mode): ...do it here, when we change
1134         mode to 'online'.
1135         (e_cal_backend_groupwise_get_mode): implemented.
1136         (e_cal_backend_groupwise_is_loaded): check the cache, not the
1137         connection, since we can be loaded without being online.
1138         (populate_cache): made it static.
1139
1140         * backends/http/e-cal-backend-http.c (begin_retrieval_cb): only
1141         begin the retrieval if we are online.
1142
1143         * libecal/e-cal-util.h: added cal_mode_to_corba macro from
1144         e-cal-backend-http.c.
1145
1146 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
1147
1148         * libecal/e-cal.c (convert_type): removed g_assert_not_reached.
1149
1150 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
1151
1152         * libecal/e-cal.c (e_cal_get_alarms_for_object): pass the correct
1153         callback data for e_cal_resolve_tzid_cb().
1154
1155 2004-01-07  JP Rosevear <jpr@ximian.com>
1156
1157         * libedata-cal/Makefile.am: remove DISABLE_DEPRECATED flags
1158
1159         * libecal/Makefile.am: ditto
1160
1161 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
1162
1163         * libecal/e-cal.c (build_component_alarms_list): clone the icalcomponent
1164         to avoid having a pointer to an object that is freed afterwards, in
1165         e_cal_get_alarms_in_range.
1166         (e_cal_get_alarms_in_range): use icalcomponent_free to free the objects
1167         in the list returned by e_cal_get_object_list.
1168
1169 2004-01-07  Rodrigo Moya <rodrigo@ximian.com>
1170
1171         * libecal/e-cal.c (build_component_alarms_list): pass the correct
1172         data (an ECal, not an icalcomponent) to e_cal_resolve_tzid_cb.
1173
1174 2004-01-06  JP Rosevear <jpr@ximian.com>
1175
1176         * libedata-cal/e-cal-backend-sexp.c (func_uid): implement uid
1177         checking for sexps
1178         (e_cal_backend_sexp_new): use nice glib macro to count sexp
1179         elements
1180
1181         * libedata-cal/e-cal-backend-cache.c: guard config.h include and
1182         include string.h to kill warning
1183
1184 2004-01-06  Rodrigo Moya <rodrigo@ximian.com>
1185
1186         * libecal/e-cal.c (build_component_alarms_list): the list returned
1187         by e_cal_get_object_list() contains icalcomponent's already,
1188         so no need to parse them as strings.
1189         (e_cal_open): fixed warning.
1190
1191 2004-01-05  Rodrigo Moya <rodrigo@ximian.com>
1192
1193         * backends/groupwise/e-gw-message.[ch]
1194         (e_gw_message_write_string_parameter): added 'prefix' argument, for
1195         not hard-coding all parameters to the "types" prefix.
1196
1197         * backends/groupwise/e-gw-connection.c (logout, e_gw_connection_new,
1198         e_gw_connection_get_items): pass the XML prefix to
1199         e_gw_message_write_string_parameter().
1200
1201 2004-01-05  Rodrigo Moya <rodrigo@ximian.com>
1202
1203         * libedata-cal/e-cal-backend-cache.[ch] (e_cal_backend_cache_put_object):
1204         merged _add_component and _replace_component into a single function.
1205
1206         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
1207         use e_cal_backend_cache_put_object, and let the cache deal with
1208         additions/replacements.
1209
1210 2004-01-05  Sivaiah Nallagatla <snallagatla@novell.com>
1211
1212         * backends/groupwise/groupwise-config-listener.[ch] : new class implementing addition,
1213         removal, modification of e-sources for calender and tasks for groupwise accounts.
1214         
1215         * backends/groupwise/Makefile.am : added above two files in  Makefile.am 
1216
1217 2004-01-05  Christian Neumair  <chris@gnome-de.org>
1218
1219         * libedata-cal/e-cal-backend-sexp.c: Generalize some strings.
1220
1221 2003-12-24  Rodrigo Moya <rodrigo@ximian.com>
1222
1223         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
1224         fixed warning.
1225
1226 2003-12-24  Rodrigo Moya <rodrigo@ximian.com>
1227
1228         * backends/groupwise/e-gw-message.[ch] (e_gw_message_new_with_header):
1229         added 'session_id' argument, to add the <Header> SOAP part if not NULL.
1230
1231         * backends/groupwise/e-gw-connection.c (e_gw_connection_get_items): use
1232         e_gw_message_new_with_header to create the SOAP message. Also, unref
1233         the correct object if we don't get a response from
1234         e_gw_connection_send_message, or we when we can't find a parameter in
1235         the response.
1236         (logout): pass session ID to e_gw_message_new_with_header().
1237         (e_gw_connection_new): ditto.
1238
1239         * backends/groupwise/e-cal-backend-groupwise.c: removed 'icalcomp'
1240         field from the ECalBackendGroupwisePrivate structure.
1241         (e_cal_backend_groupwise_get_timezone): don't use priv->icalcomp
1242         to retrieve timezones, since that object is empty, use the libical's
1243         built-in timezones.
1244         (populate_cache): fixed C99'isms and re-enabled g_mutex_lock/_unlock
1245         calls.
1246
1247 2003-12-24  Harish Krishnaswamy <kharish@novell.com>
1248
1249         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_get_items):
1250         new function.
1251
1252         * backends/groupwise/e-cal-backend-groupwise.c (populate_cache): new
1253         function to populate the cache with all objects from the server.
1254         (e_cal_backend_groupwise_open): call populate_cache when opening the
1255         connection, to get all objects from the server.
1256         (e_cal_backend_groupwise_get_default_object): implemented.
1257         (e_cal_backend_groupwise_get_timezone): implemented.
1258
1259 2003-12-22  Rodrigo Moya <rodrigo@ximian.com>
1260
1261         * libedata-cal/e-cal-backend-sexp.c (func_has_alarms): removed useless
1262         'has_to_have_alarms' variable.
1263
1264 2003-12-22  JP Rosevear <jpr@ximian.com>
1265
1266         * backends/file/e-cal-backend-file.c
1267         (e_cal_backend_file_modify_object): check the kind with the parent
1268         (e_cal_backend_file_create_object): ditto
1269
1270 2003-12-21  JP Rosevear <jpr@ximian.com>
1271
1272         * libecal/e-cal.h: update protos
1273
1274         * libecal/e-cal.c: use ECalSourceType
1275         (convert_type): convert and ECalSourceType to a corba equivalent
1276         (fetch_corba_cal): use ECalSourceType
1277         (e_cal_new): ditto
1278         (e_cal_new_from_uri): ditto
1279         (e_cal_generate_instances): does not need a type arg
1280
1281         * libecal/e-cal-util.h: remove CalObjType
1282
1283         * libecal/client-test.c (create_client): use ECalSourceType
1284         (main): ditto
1285
1286 2003-12-21  JP Rosevear <jpr@ximian.com>
1287
1288         * backends/file/e-cal-backend-file.c (open_cal): set the uri
1289         before scanning the vcalendar because we may have to fix duplicate
1290         UIDs (and hence save the calendar)
1291
1292 2003-12-19 JP Rosevear <jpr@ximian.com>
1293
1294         * libecal/e-cal.c (e_cal_get_alarms_in_range): create a valid sexp
1295
1296 2003-12-19  Rodrigo Moya <rodrigo@ximian.com>
1297
1298         * libecal/e-cal.[ch] (e_cal_class_init):  removed 'forget_password'
1299         signal, since it's not used anywhere.
1300
1301 2003-12-19  Rodrigo Moya <rodrigo@ximian.com>
1302
1303         * idl/Evolution-DataServer-Calendar.idl: added 'username' and 'password'
1304         arguments to Cal::open method, so that we can send authentication
1305         from the clients.
1306
1307         * libedata-cal/e-cal-backend.[ch] (e_cal_backend_open):
1308         * libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_open,
1309         _e_cal_backend_open):
1310         * libedata-cal/e-data-cal.c (impl_Cal_open):
1311         * backends/http/e-cal-backend-http.c (e_cal_backend_http_open):
1312         * backends/groupwise/e-cal-backend-groupwise.c
1313         (e_cal_backend_groupwise_open):
1314         * backends/file/e-cal-backend-file.c (e_cal_backend_file_open): adapted
1315         to changes in above method.
1316
1317         * libecal/e-cal.[ch]: added E_CAL_LOAD_AUTHENTICATING to LoadState enum.
1318         (e_cal_open): check with the ESource if the server needs authentication
1319         or not, and if so, ask the client's provided auth function. Call
1320         GNOME_Evolution_Calendar_Cal_Open with the new arguments.
1321
1322 2003-12-18  Rodrigo Moya <rodrigo@ximian.com>
1323
1324         * backends/groupwise/e-cal-backend-groupwise.c: use a GMutex for
1325         thread safety.
1326         (e_cal_backend_groupwise_init): create the GMutex.
1327         (e_cal_backend_groupwise_finalize): free the GMutex.
1328         (e_cal_backend_groupwise_open): use the mutex.
1329
1330 2003-12-17  JP Rosevear <jpr@ximian.com>
1331
1332         * backends/groupwise/e-gw-connection.c (e_gw_connection_init):
1333         create a synchronous session
1334
1335 2003-12-17  Hans Petter Jansson  <hpj@ximian.com>
1336
1337         * libecal/e-cal.c (e_cal_finalize): Unref source.
1338         (fetch_corba_cal): Ref and keep source.
1339         (e_cal_get_source): Implement.
1340
1341 2003-12-17  Rodrigo Moya <rodrigo@ximian.com>
1342
1343         * backends/groupwise/create-account.c: added support for specifying
1344         a password, since we need one to connect to the server.
1345
1346 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
1347
1348         * backends/groupwise/e-gw-connection.c (e_gw_connection_new): no need to
1349         set the namespace for "types:", it's already set in
1350         e_gw_message_new_with_header().
1351
1352 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
1353
1354         * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
1355         added the namespace for the SOAP types.
1356
1357         * backends/groupwise/e-gw-connection.c (logout): fixed copy-paste typo.
1358
1359         * backends/groupwise/soap-test.c (idle_cb): unref the EGwConnection
1360         object, so that the logout message is sent to the server.
1361
1362 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
1363
1364         * backends/groupwise/e-cal-backend-groupwise.c
1365         (e_cal_backend_groupwise_open): return an AuthenticationFailed error
1366         when we can't open the connection.
1367
1368 2003-12-16  JP Rosevear <jpr@ximian.com>
1369
1370         * libecal/e-cal.c (e_cal_get_free_busy): the info is already in
1371         ECalComponent form, no need to process it again, from Gary Ekker
1372         <gekker@novell.com>
1373
1374         Fixes #52218
1375         
1376 2003-12-16  Rodrigo Moya <rodrigo@ximian.com>
1377
1378         * backends/groupwise/e-gw-connection.c (parse_response_status): map
1379         some error codes.
1380         (e_gw_connection_new): retrieve all the info returned in the UserInfo
1381         type (name, email and uuid).
1382         (e_gw_connection_disposee): free new private fields.
1383
1384 2003-12-16 Sivaiah Nallagatla <snallagatla@novell.com>
1385         
1386         * backends/groupwise/e-gw-connection.h
1387         * backends/groupwise/e-gw-connection.c (e_gw_connection_new,
1388         e_gw_connection_get_user_email)
1389         * backends/groupwise/e-cal-backend-groupwise.c (e_cal_backend_groupwise_get_ldap_attribute,
1390         e_cal_backend_groupwise_get_cal_address, e_cal_backend_groupwise_is_read_only,
1391         e_cal_backend_groupwise_get_alarm_email_address, e_cal_backend_groupwise_get_static_capabilities
1392         e_cal_backend_groupwise_open ): added implementation for all the apis listed above
1393
1394 2003-12-15  JP Rosevear <jpr@ximian.com>
1395
1396         * libecal/e-cal-listener.c (e_cal_listener_class_init): fix the
1397         number of parameters for get free busy and get_changes
1398
1399 2003-12-15  Rodrigo Moya <rodrigo@ximian.com>
1400
1401         * backends/e-cal-backend-sync.c (_e_cal_backend_sync_get_ldap_attribute,
1402         _e_cal_backend_sync_get_static_capabilities,
1403         _e_cal_backend_sync_get_alarm_email_address): call the correct
1404         e_cal_backend_sync_* functions, typo pointed out by Siva.
1405
1406 2003-12-15  Rodrigo Moya <rodrigo@ximian.com>
1407
1408         * backends/file/e-cal-backend-file.c
1409         (e_cal_backend_file_get_static_capabilities): g_strdup the
1410         'capabilities' argument, since it is expected to be freed in
1411         e-cal-backend-sync.c.
1412
1413         * backends/http/e-cal-backend-http.c
1414         (e_cal_backend_http_get_static_capabilities): ditto.
1415
1416 2003-12-14  JP Rosevear <jpr@ximian.com>        
1417
1418         * libecal/e-cal-component.c (set_datetime): don't remove and then
1419         free the param, lest we double free it
1420
1421         Fixes #51633
1422
1423 2003-12-14  JP Rosevear <jpr@ximian.com>
1424
1425         * libedata-cal/e-data-cal.c (e_data_cal_notify_free_busy): call
1426         the correct notification method
1427
1428 2003-12-13  Rodrigo Moya <rodrigo@ximian.com>
1429
1430         * backends/groupwise/Makefile.am: set the correct G_LOG_DOMAIN.
1431
1432 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
1433
1434         * backends/groupwise/e-gw-message.c (e_gw_message_new_with_header):
1435         added SOAPAction header to the request.
1436
1437 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
1438
1439         * backends/groupwise/e-gw-message.c (e_gw_message_write_footer): write
1440         the request's content here.
1441         (e_gw_message_new_with_header): add the Content-Type header.
1442
1443         * backends/groupwise/e-gw-connection.c (e_gw_connection_send_message):
1444         no need to write the request here, it's written in
1445         e_gw_message_write_footer().
1446
1447 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
1448
1449         * backends/groupwise/e-gw-message.c (setup_debug): fixed typo.
1450
1451         * backends/groupwise/Makefile.am: use $DEBUG_CFLAGS.
1452
1453 2003-12-12  Rodrigo Moya <rodrigo@ximian.com>
1454
1455         * backends/groupwise/e-gw-message.c (setup_debug, print_header,
1456         debug_handler): new functions for adding debugging of the SOAP messages.
1457         (e_gw_message_new_with_header): if G_ENABLE_DEBUG is defined, setup
1458         debugging for the message. Also, use POST to send the messages.
1459
1460         * doc/gw-soap-methods.xsd:
1461         * doc/gw-soap-types.xsd: added new versions of SOAP interfaces.
1462
1463 2003-12-11  Rodrigo Moya <rodrigo@ximian.com>
1464
1465         Fixes #52013
1466
1467         * backends/file/e-cal-backend-file.c (create_user_free_busy): pass
1468         the TIME arguments correctly.
1469
1470 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
1471
1472         * backends/groupwise/e-gw-connection.c: use a SoupSession per
1473         EGwConnection, not one for all.
1474         (e_gw_connection_dispose): unref the SoupSession here.
1475         (e_gw_connection_init): create the SoupSession here.
1476         (e_gw_connection_send_message): use the private SoupSession.
1477
1478 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
1479
1480         * backends/groupwise/soap-test.c: added support for specifying a
1481         password in the command line.
1482
1483         * backends/groupwise/e-gw-connection.c (e_gw_connection_new): dont
1484         unref the response when we havent got one.
1485
1486 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
1487
1488         * backends/groupwise/e-gw-connection.c (e_gw_connection_finalize):
1489         only try to remove the connection from the hash table if the hash
1490         table has been created.
1491
1492 2003-12-10  Rodrigo Moya <rodrigo@ximian.com>
1493
1494         * backends/groupwise/soap-test.c: new test program to test the
1495         SOAP interface to the GW server.
1496
1497         * backends/groupwise/Makefile.am: compile new test program.
1498
1499 2003-12-10  JP Rosevear <jpr@ximian.com>
1500
1501         * libecal/e-cal.c (e_cal_get_default_object): don't preload the
1502         timezones into the cache, its problematic because we don't want to
1503         have multiple operations at the same time and we don't do this for
1504         views for instance
1505         (e_cal_get_object): ditto
1506
1507         Fixes #51225
1508         
1509 2003-12-09  JP Rosevear  <jpr@ximian.com>
1510
1511         * libecal/e-cal-listener.c (impl_notifyStaticCapabilities):
1512         actually emit the capabilities string
1513
1514         Fixes #51747
1515         
1516 2003-12-09  Rodrigo Moya <rodrigo@ximian.com>
1517
1518         * backends/groupwise/e-gw-connection.[ch]: made the connections be
1519         shared.
1520         (e_gw_connection_new): get the uri, username and password here, and
1521         before trying to login again to the server, see if we have already
1522         the same connection request in the loaded connections hash table.
1523         (e_gw_connection_login): removed.
1524         (e_gw_connection_logout): just unref the connection, the logout code
1525         moved to...
1526         (logout): ...here.
1527         (e_gw_connection_dispose): free new members.
1528         (e_gw_connection_finalize): remove the connection from the hash table,
1529         and destroy the hash table when there are no more connections on it.
1530
1531         * backends/groupwise/e-cal-backend-groupwise.c
1532         (e_cal_backend_groupwise_open): use the new EGwConnection interface.
1533
1534 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
1535
1536         * libedata-cal/e-cal-backend-cache.h: the class structure derives
1537         from EFileCacheClass, not EFileCache.
1538
1539         * libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): iterate
1540         correctly over the characters in the URI.
1541
1542 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
1543
1544         * libedata-cal/e-cal-backend-cache.[ch]: use EFileCache instead
1545         of ECache.
1546
1547 2003-12-08  Rodrigo Moya <rodrigo@ximian.com>
1548
1549         * backends/groupwise/e-cal-backend-groupwise.c (convert_uri):
1550         new function to convert "groupwise://" URIs to "http://".
1551         (e_cal_backend_groupwise_open): call the above function to
1552         get a GnomeVFSURI, and use it as a temporary hack to get
1553         username and password.
1554
1555 2003-12-07  JP Rosevear  <jpr@ximian.com>
1556
1557         * libedata-cal/e-data-cal-factory.c: version the oafiid
1558
1559         * libecal/e-cal.c (get_factories): update the repo id
1560         
1561 2003-12-07  JP Rosevear  <jpr@ximian.com>
1562
1563         * libecal/e-cal.c (get_factories): use the versioned repo id
1564
1565 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
1566
1567         * backends/groupwise/create-account.c (add_account): add the username
1568         in the source URI, and use e_source_list_sync, to give it time to
1569         sync the GConf changes.
1570
1571 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
1572
1573         * backends/groupwise/create-account.c: changed to use a main loop,
1574         or saving to GConf seems not to work ??
1575
1576 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
1577
1578         * backends/groupwise/create-account.c (add_account): add the source
1579         to the group.
1580
1581 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
1582
1583         * backends/groupwise/create-account.c: make it use a username also.
1584
1585 2003-12-04  Rodrigo Moya <rodrigo@ximian.com>
1586
1587         * backends/groupwise/create-account.c: added simple program to
1588         add accounts to the calendar sources until we a GUI to configure
1589         them.
1590
1591         * backends/groupwise/Makefile.am: added noinst program.
1592
1593 2003-12-03  Christian Kellnerc <gicmo@xatom.net>
1594
1595          * libedata-cal/e-cal-backend-sexp.c: added has-recurrences sexp
1596          function
1597
1598 2003-12-03  Rodrigo Moya <rodrigo@ximian.com>
1599
1600         * backends/groupwise/e-cal-backend-groupwise.c: use a cache
1601         to keep the objects from the server.
1602         (e_cal_backend_groupwise_finalize): unref the cache object.
1603         (e_cal_backend_groupwise_open): load/create the local cache.
1604         (e_cal_backend_groupwise_get_object): look for the object in
1605         the cache.
1606         (e_cal_backend_groupwise_class_init): fixed warning.
1607
1608 2003-12-01  William Jon McCann  <mccann@jhu.edu>
1609  
1610         * libecal/e-cal.c (e_cal_generate_instances): Fix query and
1611         get object list as components.
1612  
1613 2003-12-01  Rodrigo Moya <rodrigo@ximian.com>
1614
1615         * libedata-cal/e-cal-backend-cache.[ch]: changed to be based on the
1616         new ECache class.
1617         (get_filename_from_uri): new function to get a unique filename for a
1618         calendar/tasks URI.
1619         (e_cal_backend_cache_set_property): get the filename for the given URI
1620         and set the "filename" property on the cache, which will load/create
1621         the cache file.
1622         (e_cal_backend_cache_finalize): dont free removed fields.
1623         (e_cal_backend_cache_get_component, e_cal_backend_cache_add_component,
1624         e_cal_backend_cache_replace_component, e_cal_backend_cache_remove_component):
1625         new functions.
1626
1627         * backends/groupwise/e-gw-connection.c (e_gw_connection_login): retrieve
1628         the session from the response, not the username.
1629
1630 2003-11-28  Rodrigo Moya <rodrigo@ximian.com>
1631
1632         * backends/groupwise/e-gw-connection.c (parse_response_status): new
1633         function to parse the "status" field returned in the SOAP response.
1634         (e_gw_connection_login, e_gw_connection_logout): call above function
1635         to get the status, and return that to the caller.
1636         
1637         * backends/groupwise/TODO: updated with more tasks.
1638
1639 2003-11-27  Rodrigo Moya <rodrigo@ximian.com>
1640
1641         * libedata-cal/e-cal-backend-cache.[ch]: new class implementing a
1642         cache of calendar/tasks objects.
1643
1644         * libedata-cal/Makefile.am: added new files.
1645
1646 2003-11-26  Hans Petter Jansson  <hpj@ximian.com>
1647
1648         * idl/Evolution-DataServer-Calendar.idl (getCal): Take source XML
1649         instead of URI.
1650
1651         * libecal/client-test.c (create_client): Adapt to API changes.
1652         (main): Ditto.
1653
1654         * libecal/e-cal.c (fetch_corba_cal): Move to ESource.
1655         (e_cal_new): Take ESource.
1656         (e_cal_new_from_uri): Implement convenience call that takes URI.
1657
1658         * libedata-cal/e-cal-backend.c (e_cal_backend_set_property):
1659         Implement PROP_SOURCE.
1660         (e_cal_backend_get_property): Same.
1661         (e_cal_backend_class_init): Same.
1662         (e_cal_backend_get_source): Same.
1663
1664         * libedata-cal/e-data-cal-factory.c (impl_CalFactory_getCal): Take
1665         source XML and construct an ESource. Init backend with that.
1666
1667 2003-11-25  Rodrigo Moya <rodrigo@ximian.com>
1668
1669         * backends/groupwise/e-gw-message.[ch]: new files to contain utility
1670         functions for easily creating SOAP messages.
1671
1672         * backends/groupwise/e-gw-connection.[ch] (e_gw_connection_logout):
1673         new function.
1674         (e_gw_connection_finalize): if we're already connected, call
1675         e_gw_connection_logout().
1676         (e_gw_connection_login): implement response parsing.
1677         (e_gw_connection_send_message): new function.
1678
1679         * backends/groupwise/e-cal-backend-groupwise.c
1680         (e_cal_backend_groupwise_is_loaded): implemented.
1681
1682         * backends/groupwise/Makefile.am: added new files.
1683
1684 2003-11-20  Harry Lu  <harry.lu@sun.com>
1685
1686         * backends/file/e-cal-backend-file.c:
1687         (e_cal_backend_file_internal_get_default_timezone): move to the front
1688         to avoid a compile warning.
1689         (e_cal_backend_file_internal_get_timezone): ditto.
1690         (sanitize_component): new function. If the component's timezone is not
1691         included in buildin timezone list, convert it to local default timezone.
1692         (e_cal_backend_file_create_object): call sanitize_component.
1693         (e_cal_backend_file_modify_object): ditto.
1694         (e_cal_backend_file_receive_objects): ditto.
1695
1696 2003-11-18  Rodrigo Moya <rodrigo@ximian.com>
1697
1698         * backends/groupwise/e-gw-connection.h: fixed typo.
1699
1700         * backends/groupwise/e-gw-connection.c: base it on GObject, not
1701         SoupConnection.
1702         (e_gw_connection_login): new functions.
1703         (e_gw_connection_init): create the SoupSession here if it's not
1704         created, or ref it if it's already created.
1705         (e_gw_connection_finalize): unref the SoupSession here.
1706         (session_weak_ref_cb): callback to detect when the SoupSession dies.
1707
1708         * backends/groupwise/e-cal-backend-groupwise.c: make it use
1709         EGwConnection's.
1710         (e_cal_backend_groupwise_finalize): unref the EGwConnection.
1711         (e_cal_backend_groupwise_open): create the EGwConnection here.
1712
1713 2003-11-17  Rodrigo Moya <rodrigo@ximian.com>
1714
1715         * backends/groupwise/gw-connection.[ch]: new class for managing
1716         connections to Groupwise servers.
1717
1718         * backends/groupwise/Makefile.am: added new files and needed
1719         CFLAGS and LIBS.
1720
1721 2003-11-17  Dan Winship  <danw@ximian.com>
1722
1723         * libecal/e-cal-util.c (e_cal_util_new_component): New
1724         icalcomponent-based replacement for
1725         e_cal_component_new/e_cal_component_set_vtype.
1726
1727         * libedata-cal/e-data-cal.c: fix up some broken indentation
1728         (e_data_cal_notify_default_object, e_data_cal_notify_object):
1729         constify the object arg
1730
1731 2003-11-14  Rodrigo Moya <rodrigo@ximian.com>
1732
1733         * backends/Makefile.am: added groupwise backend directory to build.
1734
1735         * backends/groupwise/Makefile.am:
1736         * backends/groupwise/e-cal-backend-groupwise.[ch]: Groupwise backend
1737         skeleton.
1738
1739 2003-11-11  ChangeLog <jpr@ximian.com>
1740
1741         * libecal/e-cal.c (e_cal_class_init): emit the status
1742
1743         * libecal/e-cal.h: remove open status enums, use calendar status
1744         instead
1745
1746         * libecal/client-test.c (create_client): just directly open the
1747         calendar, no need to be async
1748
1749 2003-11-11  Dan Winship  <danw@ximian.com>
1750
1751         * libedata-cal/e-cal-backend-sexp.c: Make the time-related sexp
1752         function handlers (eg, time-now, make-time, etc) be non-static, so
1753         they can be reused by backend-specific calendar sexp parsers.
1754
1755 2003-11-10  JP Rosevear <jpr@ximian.com>
1756
1757         * libecal/e-cal.h: remove dead enums
1758
1759 2003-11-10  JP Rosevear <jpr@ximian.com>
1760
1761         * libecal/e-cal.h: mark struct as private
1762
1763         * libecal/e-cal.c: fix documentation headers
1764
1765         * libecal/e-cal-view.h: fix cast macros and typedef the structs
1766         separately
1767
1768         * libecal/e-cal-view.c: use correct type check macro, fix some
1769         documentation headers
1770
1771         * libecal/e-cal-view-listener.h: typedef the structs separately
1772         and tidy up class macros
1773
1774         * libecal/e-cal-util.c: fix a documentation header
1775
1776         * libecal/e-cal-listener.h: mark parts of the struct as private
1777
1778         * libecal/e-cal-listener.c: fix a few documentation headers
1779
1780         * libecal/e-cal-component.h: remove extraneous comma and mark
1781         parts of struct as private
1782
1783         * libecal/e-cal-component.c: fix a couple of documentation headers
1784
1785 2003-11-10  Dan Winship  <danw@ximian.com>
1786
1787         * libedata-cal/e-cal-backend-sexp.c: Remove get-vtype from the
1788         query language, since it is redundant now.
1789         (func_has_alarms): Remove the boolean arg from has-alarms. You can
1790         just say (not (has-alarms?)).
1791
1792 2003-11-10  JP Rosevear <jpr@ximian.com>
1793
1794         * libecal/e-cal.h: add proto
1795
1796         * libecal/e-cal.c (e_cal_free_change_list): this belongs here
1797
1798         * libecal/e-cal-types.h: remove proto
1799
1800         * libecal/Makefile.am: don't build dead file
1801
1802 2003-11-07  Dan Winship  <danw@ximian.com>
1803
1804         * libecal/Makefile.am (libecal_la_LDFLAGS): Remove -no-undefined
1805
1806         * libedata-cal/Makefile.am (libedata_cal_la_LDFLAGS): Likewise
1807
1808 2003-11-06    <jpr@ximian.com>
1809
1810         * libecal/e-cal-view-listener.h: match the signals better
1811
1812         * libecal/e-cal-view-listener.c (e_cal_view_listener_class_init):
1813         ditto
1814         
1815 2003-11-06  JP Rosevear  <jpr@ximian.com>
1816
1817         * libecal/e-cal.c: replace e_mutex stuff with gthread stuff
1818
1819 2003-11-06  JP Rosevear <jpr@ximian.com>
1820
1821         * Makefile.am: build new subdirs
1822
1823         * backends/*: build the http and file backends here
1824
1825         * libedata-cal/Makefile.am: no longer build them here   
1826         
1827 2003-11-05  JP Rosevear  <jpr@ximian.com>
1828
1829         * rename libedatacal to libedata-cal
1830
1831 2003-11-05  JP Rosvear <jpr@ximian.com>
1832
1833         * libecal/Makefile.am: use privincludedir
1834
1835         * libedatacal/Makefile.am: ditto
1836
1837         * libecal/libecal-1.0.pc.in: ditto
1838
1839         * libedatacal/libedatacal-1.0.pc.in: use privincludedir; remove
1840         gal
1841
1842 2003-11-05  JP Rosevear <jpr@ximian.com>
1843
1844         * libecal/Makefile.am: LIBADD all the relevant libical libs
1845
1846         * libecal/libecal-1.0.pc.in: no need to explicitly link
1847         libical-evolution
1848
1849         * libedatacal/libedatacal-1.0.pc.in: ditto; fix include dir
1850         
1851 2003-11-05  Rodrigo Moya <rodrigo@ximian.com>
1852
1853         * libedatacal/e-cal-backend-sexp.c: removed GAL dependency.
1854
1855 2003-11-04  JP Rosevear <jpr@ximian.com>
1856
1857         * libedatacal/e-data-cal-factory.c: use properly name spaced
1858         default id
1859
1860 2003-11-04  JP Rosevear <jpr@ximian.com>
1861
1862         * libecal/libecal-1.0.pc.in (prefix): include priv dir stuff for
1863         libical
1864
1865         * libedatacal/libedatacal-1.0.pc.in (prefix): ditto
1866         
1867         * libecal/e-cal-component.[hc]: properly name space alarm action
1868         enum
1869
1870         * libecal/e-cal-types.h: properly name space change types       
1871         
1872 2003-11-04  JP Rosevear <jpr@ximian.com>
1873
1874         * libedatacal/e-data-cal-factory.c: remove corba header include
1875
1876         * libedatacal/e-cal-backend-sync.h: include corba header properly
1877         
1878         * libedatacal/e-data-cal.h: ditto
1879
1880         * libedatacal/e-data-cal-view.h: ditto
1881
1882         * libedatacal/e-data-cal-factory.h: ditto
1883
1884         * libedatacal/e-cal-backend.h: ditto
1885
1886         * libedatacal/Makefile.am: reflect idl name change
1887
1888         * libecal/e-cal-listener.h: include corba header properly
1889
1890         * libecal/e-cal-view.h: ditto
1891
1892         * libecal/e-cal-view-listener.h: ditto
1893
1894         * libecal/Makefile.am: reflect idl name change
1895
1896         * idl/Makefile.am: rename the idl to Evolution-DataServer-Calendar.idl
1897
1898 2003-11-03  Hans Petter Jansson  <hpj@ximian.com>
1899
1900         * calendar/libedatacal/e-cal-backend-file.c (free_calendar_components)
1901         (free_calendar_data): Implement.
1902         (e_cal_backend_file_dispose): Use above freers.
1903         (get_uri_string_for_gnome_vfs): Implement.
1904         (open_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
1905         (notify_removals_cb)
1906         (notify_adds_modifies_cb)
1907         (notify_changes)
1908         (reload_cal): Implement.
1909         (create_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
1910         (get_uri_string): Implement - unescapes once.
1911         (e_cal_backend_file_compute_changes): Unescape DB URI once, don't make
1912         like it's in a subdirectory.
1913         (e_cal_backend_file_reload): Implement.
1914
1915         * calendar/libedatacal/e-cal-backend-http.c
1916         (e_cal_backend_http_finalize): Cancel potential retrieval and free
1917         slave backend.
1918         (e_cal_backend_http_is_read_only): Clean up.
1919         (webcal_to_http_method)
1920         (uri_to_cache_dir)
1921         (ensure_cache_dir)
1922         (retrieval_done)
1923         (retrieval_progress_cb)
1924         (begin_retrieval_cb): Implement.
1925         (e_cal_backend_http_open): Set up slave backend.
1926         (e_cal_backend_http_remove)
1927         (e_cal_backend_http_is_loaded)
1928         (e_cal_backend_http_get_default_object)
1929         (e_cal_backend_http_get_object)
1930         (e_cal_backend_http_get_timezone)
1931         (e_cal_backend_http_add_timezone)
1932         (e_cal_backend_http_set_default_timezone)
1933         (e_cal_backend_http_get_object_list)
1934         (e_cal_backend_http_get_free_busy)
1935         (e_cal_backend_http_get_changes)
1936         (e_cal_backend_http_discard_alarm)
1937         (e_cal_backend_http_modify_object)
1938         (e_cal_backend_http_remove_object)
1939         (e_cal_backend_http_receive_objects)
1940         (e_cal_backend_http_send_objects)
1941         (e_cal_backend_http_internal_get_default_timezone)
1942         (e_cal_backend_http_internal_get_timezone): Implement with fallthrough
1943         to slave backend.
1944         (e_cal_backend_http_init): Remove cruft.
1945
1946         * calendar/libedatacal/e-cal-backend-sync.c
1947         (e_cal_backend_sync_open): Use per-instance mutex.
1948         (e_cal_backend_sync_init): Set up per-instance mutex.
1949         (e_cal_backend_sync_dispose): Free per-instance mutex.
1950
1951         * calendar/libedatacal/e-cal-backend.c
1952         (e_cal_backend_set_notification_proxy): Implement.
1953         (e_cal_backend_notify_object_created)
1954         (e_cal_backend_notify_object_modified)
1955         (e_cal_backend_notify_object_removed)
1956         (e_cal_backend_notify_mode)
1957         (e_cal_backend_notify_error): Use notification proxy if set.