From 377c2f58f2cc86ad8d1b91d4b4821b95ff88e354 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 24 Jan 2008 15:35:44 +0000 Subject: [PATCH] Monotone-Parent: 07f87d18088071e4dcd72653efb4c3885f66a50f Monotone-Revision: e83f50e38737703b47fbfe973f685c195a25232d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-01-24T15:35:44 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OGoContentStore/OCSiCalFieldExtractor.m | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index a1c98f32e..773ef7478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-01-24 Wolfgang Sourdeau + * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor + -extractQuickFieldsFromTodo:_task]): handle recurrence info in + tasks. + * UI/MailPartViewers/UIxMailPartViewer.m ([UIxMailPartViewer -pathToAttachment]): in the case where the client object is not a mail body part (when the message IS the attachment), we append 0 diff --git a/OGoContentStore/OCSiCalFieldExtractor.m b/OGoContentStore/OCSiCalFieldExtractor.m index cda920e27..f68537f9a 100644 --- a/OGoContentStore/OCSiCalFieldExtractor.m +++ b/OGoContentStore/OCSiCalFieldExtractor.m @@ -282,6 +282,14 @@ static NSNumber *distantFutureNumber = nil; date = [NSNull null]; [row setObject: date forKey: @"c_enddate"]; + if ([_task isRecurrent]) + { + [row setObject: [self numberForDate: distantFuture] + forKey: @"c_cycleenddate"]; + [row setObject: [_task cycleInfo] + forKey: @"c_cycleinfo"]; + } + if ([participants length] > 0) [row setObject:participants forKey: @"c_participants"]; if ([partmails length] > 0)