+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
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];
}
}
NSUserDefaults *ud;
ud = [NSUserDefaults standardUserDefaults];
+
sendFolderAdvisories = [ud boolForKey: @"SOGoFoldersSendEMailNotifications"];
}