SoObjects

Monotone-Parent: b0aeecf5f2a6ed3d4404fe7b4a5215a87c47032a
Monotone-Revision: fd565bb36a2ef3a33d5549a38f33d77802404317

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-02T14:17:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-04-02 14:17:53 +00:00
parent 97f9c97f03
commit 6df9451d04
3 changed files with 11 additions and 5 deletions
+8
View File
@@ -1,3 +1,11 @@
2008-04-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalRecurrenceCalculator.m ([iCalRecurrenceCalculator
+recurrenceRangesWithinCalendarDateRange:_rfirstInstanceCalendarDateRange:_firrecurrenceRules:_rRulesexceptionRules:_exRulesexceptionDates:_exDates]):
when removing dates, the decremental count of dates to remove was
actually incremental, which caused an out of bound reference
exception.
2008-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalRecurrenceRule.m ([iCalRecurrenceRule -byMonthDay]): check
+2 -5
View File
@@ -194,14 +194,11 @@ static Class yearlyCalcClass = Nil;
maxRanges = [ranges count];
dates = [[self _dates: exdates withinRange: limits] objectEnumerator];
while ((currentDate = [dates nextObject]))
for (count = (maxRanges - 1); count > -1; count++)
for (count = (maxRanges - 1); count > -1; count--)
{
currentRange = [ranges objectAtIndex: count];
if ([currentRange containsDate: currentDate])
{
[ranges removeObjectAtIndex: count];
maxRanges--;
}
[ranges removeObjectAtIndex: count];
}
}
+1
View File
@@ -74,6 +74,7 @@ static BOOL sendFolderAdvisories = NO;
NSUserDefaults *ud;
ud = [NSUserDefaults standardUserDefaults];
sendFolderAdvisories = [ud boolForKey: @"SOGoFoldersSendEMailNotifications"];
}