aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/query-backend.c
Commit message (Collapse)AuthorAgeFilesLines
* use a weak ref instead of connecting to backend's "destroy" signal.Rodrigo Moya2003-03-131-9/+5
| | | | | | | | | | | 2003-03-13 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.c (query_backend_new): use a weak ref instead of connecting to backend's "destroy" signal. (backend_destroyed_cb, query_destroyed_cb): changed to be weak reference callbacks. svn path=/trunk/; revision=20271
* converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref theRodrigo Moya2002-11-071-43/+41
| | | | | | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.[ch]: converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the query returned by cal_backend_get_query if we can't duplicate it. * pcs/query.[ch]: * pcs/cal-factory.[ch]: converted to BonoboObject. * pcs/query-backend.[ch]: * pcs/cal-backend-file.[ch]: * pcs/cal-backend.[ch]: GObjectify. svn path=/trunk/; revision=18630
* cal-client/cal-listener.hRodrigo Moya2002-11-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch]: * cal-util/cal-recur.h: * cal-util/cal-util.[ch]: * cal-client/cal-client.h: * cal-client/cal-client-multi.h: * cal-client/cal-client-types.[ch]: * cal-client/cal-listener.h * cal-client/cal-query.[ch]: * cal-client/query-listener.h: * pcs/cal.h: * pcs/cal-backend.[ch]: * pcs/cal-backend-file.h: * pcs/cal-backend-util.h: * pcs/cal-common.h: * pcs/cal-factory.h: * pcs/query.[ch]: * pcs/query-backend.[ch]: started GNOME 2 porting. cal-util, cal-client and pcs compiled ok. * cal-client/cal-client.c (cal_client_construct): * pcs/cal-factory.c: use b-a instead of OAF and bonobo-config instead of bonobo-conf. svn path=/trunk/; revision=18496
* Initialize loaded_backends before using it. (Just kills off a harmlessDan Winship2002-08-091-2/+3
| | | | | | | | * pcs/query-backend.c (query_backend_new): Initialize loaded_backends before using it. (Just kills off a harmless g_warning.) svn path=/trunk/; revision=17745
* new function. (query_backend_get_uids): new function. (query_backend_new):Rodrigo Moya2002-08-061-13/+111
| | | | | | | | | | | | | | | | | | | | 2002-08-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch] (query_backend_get_object_component): new function. (query_backend_get_uids): new function. (query_backend_new): create the static GHashTable if it hasn't been created yet. (query_backend_destroy): destroy the static GHashTable if empty. (foreach_uid_cb): call object_updated_cb, which does everything. * pcs/query.c: make use of the new QueryBackend class. (query_init): initialize new private structure member. (query_destroy): clean up new member, without freeing it, since it is managed internally in query-backend.c. (query_construct): create a QueryBackend for the query. svn path=/trunk/; revision=17713
* new class for implementing a backend cache for the calendar queries.Rodrigo Moya2002-08-011-0/+269
2002-07-31 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch]: new class for implementing a backend cache for the calendar queries. * pcs/Makefile.am: added new files. svn path=/trunk/; revision=17668