added 'username' and 'password' arguments to Cal::open method, so that we
authorRodrigo Moya <rodrigo@ximian.com>
Fri, 19 Dec 2003 16:29:33 +0000 (16:29 +0000)
committerRodrigo Moya <rodrigo@src.gnome.org>
Fri, 19 Dec 2003 16:29:33 +0000 (16:29 +0000)
commit0285e302862b551d3945448be053eafcb426a039
treed01d94e1d2c36a7ced94093be81a3956f5093601
parentab53784b4b423cb13dffd71105bcd14d9eb1ea9e
added 'username' and 'password' arguments to Cal::open method, so that we

2003-12-19  Rodrigo Moya <rodrigo@ximian.com>

* idl/Evolution-DataServer-Calendar.idl: added 'username' and 'password'
arguments to Cal::open method, so that we can send authentication
from the clients.

* libedata-cal/e-cal-backend.[ch] (e_cal_backend_open):
* libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_open,
_e_cal_backend_open):
* libedata-cal/e-data-cal.c (impl_Cal_open):
* backends/http/e-cal-backend-http.c (e_cal_backend_http_open):
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_open):
* backends/file/e-cal-backend-file.c (e_cal_backend_file_open): adapted
to changes in above method.

* libecal/e-cal.[ch]: added E_CAL_LOAD_AUTHENTICATING to LoadState enum.
(e_cal_open): check with the ESource if the server needs authentication
or not, and if so, ask the client's provided auth function. Call
GNOME_Evolution_Calendar_Cal_Open with the new arguments.
12 files changed:
calendar/ChangeLog
calendar/backends/file/e-cal-backend-file.c
calendar/backends/groupwise/e-cal-backend-groupwise.c
calendar/backends/http/e-cal-backend-http.c
calendar/idl/Evolution-DataServer-Calendar.idl
calendar/libecal/e-cal.c
calendar/libecal/e-cal.h
calendar/libedata-cal/e-cal-backend-sync.c
calendar/libedata-cal/e-cal-backend-sync.h
calendar/libedata-cal/e-cal-backend.c
calendar/libedata-cal/e-cal-backend.h
calendar/libedata-cal/e-data-cal.c