Patch to split the cache into multiple files based on the type of objects
authorHarish Krishnaswamy <kharish@novell.com>
Mon, 24 Jul 2006 13:09:34 +0000 (13:09 +0000)
committerHarish Krishnaswamy <kharish@src.gnome.org>
Mon, 24 Jul 2006 13:09:34 +0000 (13:09 +0000)
commite6b895c9c11bd5bbf47aaa32f292473a2d96a1f6
tree086e8cf548f2d6a2d726f59ee98c0a952baa5260
parentab94ebc968d24fd53a6160b28f3f77491134441b
Patch to split the cache into multiple files based on the type of objects

2006-07-24  Harish Krishnaswamy  <kharish@novell.com>

Patch to split the cache into multiple files based
on the type of objects it stores. This substantially
reduces the primary memory requirements of Evolution
and EDS for providers like GW, Exchange that manipulate
event/tasks/journals together.

* backends/caldav/e-cal-backend-caldav.c: (initialize_backend):
* backends/groupwise/e-cal-backend-groupwise.c:
(connect_to_server), (e_cal_backend_groupwise_open):
* backends/http/e-cal-backend-http.c: (e_cal_backend_http_open):
* backends/weather/e-cal-backend-weather.c:
(e_cal_backend_weather_open):
Update e_cal_backend_cache_new calls with an additional source
type argument.
* libecal/e-cal.[ch]: (e_cal_source_type_enum_get_type):
Implement the function.
* libedata-cal/e-cal-backend-cache.c:
(get_filename_from_uri),
(e_cal_backend_cache_set_property),
(e_cal_backend_cache_get_property),
(e_cal_backend_cache_constructor),
(e_cal_backend_cache_class_init), (e_cal_backend_cache_new):
Compute the cache destination using the source type.
* libedata-cal/e-cal-backend-cache.h: Include header e-cal.h.
calendar/ChangeLog
calendar/backends/caldav/e-cal-backend-caldav.c
calendar/backends/groupwise/e-cal-backend-groupwise.c
calendar/backends/http/e-cal-backend-http.c
calendar/backends/weather/e-cal-backend-weather.c
calendar/libecal/e-cal.c
calendar/libecal/e-cal.h
calendar/libedata-cal/e-cal-backend-cache.c
calendar/libedata-cal/e-cal-backend-cache.h