From 987eeb288e6773997f38178747532d894d890d85 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sun, 30 Jun 2002 08:18:44 +0000 Subject: add pas-backend-summary.[ch]. 2002-06-29 Chris Toshok * backend/pas/Makefile.am (libpas_a_SOURCES): add pas-backend-summary.[ch]. * backend/pas/pas-backend-file.c (string_to_dbt): move this to the top of the file so it can be used in.. (build_summary): loop over the db, adding cards ot the summary. (do_summary_query): call pas_backend_summary_search and loop over the returned id's looking them up in the db. (pas_backend_file_search): call pas_backend_summary_is_summary_query, and either call do_summary_query if it's a query over just the set of attributes in the summary or use the old, slow method if not. (pas_backend_file_process_create_card): call pas_backend_summary_add_card. (pas_backend_file_process_remove_card): call pas_backend_summary_remove_card. (pas_backend_file_process_modify_card): call remove_card/add_card. (pas_backend_file_load_uri): try to load the summary file, and if it doesn't exist create it. (pas_backend_file_destroy): unref the summary. * backend/pas/pas-backend-summary.[ch]: new files, reading and writing (and querying) summaries. svn path=/trunk/; revision=17330 --- addressbook/ChangeLog | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6a36e43b96..ebbc18bcd6 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,29 @@ +2002-06-29 Chris Toshok + + * backend/pas/Makefile.am (libpas_a_SOURCES): add + pas-backend-summary.[ch]. + + * backend/pas/pas-backend-file.c (string_to_dbt): move this to the + top of the file so it can be used in.. + (build_summary): loop over the db, adding cards ot the summary. + (do_summary_query): call pas_backend_summary_search and loop over + the returned id's looking them up in the db. + (pas_backend_file_search): call + pas_backend_summary_is_summary_query, and either call + do_summary_query if it's a query over just the set of attributes + in the summary or use the old, slow method if not. + (pas_backend_file_process_create_card): call + pas_backend_summary_add_card. + (pas_backend_file_process_remove_card): call + pas_backend_summary_remove_card. + (pas_backend_file_process_modify_card): call remove_card/add_card. + (pas_backend_file_load_uri): try to load the summary file, and if + it doesn't exist create it. + (pas_backend_file_destroy): unref the summary. + + * backend/pas/pas-backend-summary.[ch]: new files, reading and + writing (and querying) summaries. + 2002-06-25 Chris Toshok * gui/component/addressbook-component.c (create_component): -- cgit v1.2.3