From 30eb86a6ceab6e35d9bacfb9ed2b011b5b54de8c Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 1 Oct 2004 22:33:32 +0000 Subject: [PATCH] improved envelope responses git-svn-id: http://svn.opengroupware.org/SOPE/trunk@212 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-mime/ChangeLog | 6 ++++++ sope-mime/NGImap4/ChangeLog | 5 +++++ sope-mime/NGImap4/NGImap4ResponseNormalizer.m | 7 +++++++ sope-mime/Version | 2 +- 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/sope-mime/ChangeLog b/sope-mime/ChangeLog index 39566f10..78965794 100644 --- a/sope-mime/ChangeLog +++ b/sope-mime/ChangeLog @@ -1,5 +1,11 @@ +2004-10-02 Helge Hess + + * NGImap4: improved processing of envelope responses (v4.3.185) + 2004-10-01 Helge Hess + * NGImap4: added processing of envelope responses (v4.3.184) + * NGImap4: NGImap4Client improvements (v4.3.183) 2004-09-30 Helge Hess diff --git a/sope-mime/NGImap4/ChangeLog b/sope-mime/NGImap4/ChangeLog index 430f479c..eb060bac 100644 --- a/sope-mime/NGImap4/ChangeLog +++ b/sope-mime/NGImap4/ChangeLog @@ -1,3 +1,8 @@ +2004-10-02 Helge Hess + + * NGImap4ResponseNormalizer.m: pass on envelope raw responses in + normalized responses (v4.3.185) + 2004-10-01 Helge Hess * NGImap4ResponseParser.m: added support for envelope responses, major diff --git a/sope-mime/NGImap4/NGImap4ResponseNormalizer.m b/sope-mime/NGImap4/NGImap4ResponseNormalizer.m index 4c5cb88a..2f4f2e83 100644 --- a/sope-mime/NGImap4/NGImap4ResponseNormalizer.m +++ b/sope-mime/NGImap4/NGImap4ResponseNormalizer.m @@ -378,6 +378,13 @@ static int LogImapEnabled = -1; count++; } break; + case 'e': + if (klen == 8 && [key isEqualToString:@"envelope"]) { + keys[count] = @"envelope"; + values[count] = objForKey(obj, @selector(objectForKey:), key); + count++; + } + break; case 'f': if (klen == 5 && [key isEqualToString:@"flags"]) { id rawFlags; diff --git a/sope-mime/Version b/sope-mime/Version index 5fc17adf..79942484 100644 --- a/sope-mime/Version +++ b/sope-mime/Version @@ -2,6 +2,6 @@ MAJOR_VERSION:=4 MINOR_VERSION:=3 -SUBMINOR_VERSION:=184 +SUBMINOR_VERSION:=185 # v4.2.149 requires libNGStreams v4.2.34 -- 2.39.5