aboutsummaryrefslogtreecommitdiffstats
path: root/camel/ChangeLog
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-06-17 09:11:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-17 09:11:07 +0800
commitccc9fd091a05bb58594caed0555a0b0db10086ad (patch)
tree7a85698810c3ed8cd2bd347c629ac1eddbd0ef79 /camel/ChangeLog
parentfc121328c9bb32c37ad00359b1e88de5aa0c8784 (diff)
downloadgsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar.gz
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar.bz2
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar.lz
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar.xz
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.tar.zst
gsoc2013-evolution-ccc9fd091a05bb58594caed0555a0b0db10086ad.zip
Added a 'first' member to the imap_fetch_all_t struct so we can use that
2004-06-16 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r--camel/ChangeLog19
1 files changed, 19 insertions, 0 deletions
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 <fejj@ximian.com>
+
+ * 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 <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Use