From 2d16792fd5607dd55863044d8afc352f3ff8f24a Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 11 Jul 2002 00:01:25 +0000 Subject: actually remove the items from the pointer array too, so an error while 2002-07-10 Chris Toshok * backend/pas/pas-backend-summary.c (clear_items): actually remove the items from the pointer array too, so an error while loading doesn't leave the memory summary corrupted. (pas_backend_summary_load_header): bleah, load the num_items and summary_mtime in the right order :) Also, set upgraded to TRUE if we loaded a v1.0 summary. (pas_backend_summary_open): make this return a gboolean, return TRUE if the summary is already open (priv->fp != NULL). return FALSE in error conditions. (pas_backend_summary_load): if summary_open returns FALSE, return FALSE, also set the dirty flag to FALSE after we load, and if the summary was upgraded write it out. (pas_backend_summary_save): update the in memory mtime to that of the file when we save. (summary_flush_func): if we're not dirty, do nothing and return. (pas_backend_summary_is_up_to_date): make sure we've opened the summary. (pas_backend_summary_get_summary_vcard): fix compiler warning. svn path=/trunk/; revision=17416 --- addressbook/ChangeLog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index c1c1c9ebeb..f4afa7630d 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,24 @@ +2002-07-10 Chris Toshok + + * backend/pas/pas-backend-summary.c (clear_items): actually remove + the items from the pointer array too, so an error while loading + doesn't leave the memory summary corrupted. + (pas_backend_summary_load_header): bleah, load the num_items and + summary_mtime in the right order :) Also, set upgraded to TRUE if + we loaded a v1.0 summary. + (pas_backend_summary_open): make this return a gboolean, return + TRUE if the summary is already open (priv->fp != NULL). return + FALSE in error conditions. + (pas_backend_summary_load): if summary_open returns FALSE, return + FALSE, also set the dirty flag to FALSE after we load, and if the + summary was upgraded write it out. + (pas_backend_summary_save): update the in memory mtime to that of + the file when we save. + (summary_flush_func): if we're not dirty, do nothing and return. + (pas_backend_summary_is_up_to_date): make sure we've opened the + summary. + (pas_backend_summary_get_summary_vcard): fix compiler warning. + 2002-07-10 Peter Williams * backend/ebook/e-book-view-listener.h: Oops, missed this one. -- cgit v1.2.3