mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 10:25:08 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ static BOOL sendFolderAdvisories = NO;
|
||||
NSUserDefaults *ud;
|
||||
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
sendFolderAdvisories = [ud boolForKey: @"SOGoFoldersSendEMailNotifications"];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user