From ccc9fd091a05bb58594caed0555a0b0db10086ad Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 17 Jun 2004 01:11:07 +0000 Subject: Added a 'first' member to the imap_fetch_all_t struct so we can use that 2004-06-16 Jeffrey Stedfast * providers/imap4/camel-imap4-summary.c: Added a 'first' member to the imap_fetch_all_t struct so we can use that as a base offset in our GPtrArray, allowing us to limit resource consumption which could otherwise get quite large. Also added a ChangeInfo member that was needed for changes to untagged_fetch_all(). (imap4_fetch_all_add): Use fetch->first as a base offset and change int i to guint32 i. Also updated to sue the fetch->changes. (imap4_fetch_all_update): Same. (untagged_fetch_all): Same - this is where it is really valuable, since we can avoid adding elements to the GPtrArray that we won't even use. Also needed to change code a big in case index < fetch->first (which could happen if a server notified us of a FLAGS change for a message we didn't request info about). (imap4_fetch_all_free): Free the ChangeInfo. (imap4_summary_fetch_all): Init fetch->changes and fetch->first. (imap4_summary_fetch_flags): Same. svn path=/trunk/; revision=26370 --- camel/ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 1001ff425b..ec442955d6 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,22 @@ +2004-06-16 Jeffrey Stedfast + + * providers/imap4/camel-imap4-summary.c: Added a 'first' member to + the imap_fetch_all_t struct so we can use that as a base offset in + our GPtrArray, allowing us to limit resource consumption which + could otherwise get quite large. Also added a ChangeInfo member + that was needed for changes to untagged_fetch_all(). + (imap4_fetch_all_add): Use fetch->first as a base offset and change + int i to guint32 i. Also updated to sue the fetch->changes. + (imap4_fetch_all_update): Same. + (untagged_fetch_all): Same - this is where it is really valuable, + since we can avoid adding elements to the GPtrArray that we won't + even use. Also needed to change code a big in case index < + fetch->first (which could happen if a server notified us of a + FLAGS change for a message we didn't request info about). + (imap4_fetch_all_free): Free the ChangeInfo. + (imap4_summary_fetch_all): Init fetch->changes and fetch->first. + (imap4_summary_fetch_flags): Same. + 2004-06-15 Jeffrey Stedfast * camel-gpg-context.c (gpg_verify): Use -- cgit v1.2.3