diff --git a/ChangeLog b/ChangeLog index 2b8abcb03..a8da82c73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:]) ([-exchangeObjectAtIndex:withObjectAtIndex:]) * Source/NSTimer.m: Update for compatibility with latest MacOS-X + * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform + cancellation from MacOS-X + * Source/NSRunloop.m: New perform cancellation method from MacOS-X + proofreading help/fixes from David Ayers. 2002-08-25 Richard Frith-Macdonald diff --git a/Source/GSArray.m b/Source/GSArray.m index fc290f99e..700f94161 100644 --- a/Source/GSArray.m +++ b/Source/GSArray.m @@ -370,7 +370,7 @@ static SEL eqSel; { [NSException raise: NSRangeException format: @"in %@:, index %d is out of range", - NSStringFromSelector(_cmd), i1]; + NSStringFromSelector(_cmd), i2]; } if (i1 != i2) { diff --git a/Source/NSCalendarDate.m b/Source/NSCalendarDate.m index 586281291..9cf13db2e 100644 --- a/Source/NSCalendarDate.m +++ b/Source/NSCalendarDate.m @@ -1694,7 +1694,7 @@ static inline int getDigits(const char *from, char *to, int limit) [date timeIntervalSinceReferenceDate]]; else [NSException raise: NSInvalidArgumentException - format: @"%@ invalid date given", NSStringFromSelector(_cmd)]; + format: @"%@ invalid date given - %@", NSStringFromSelector(_cmd), date]; end = (NSCalendarDate*)[self laterDate: tmp]; if (end == self) diff --git a/Source/NSTimer.m b/Source/NSTimer.m index 343e4de16..97c89f8f0 100644 --- a/Source/NSTimer.m +++ b/Source/NSTimer.m @@ -51,7 +51,7 @@ static Class NSDate_class; * Initialise the receive, a newly allocated NSTimer object.
* The fd argument specifies an initial fire date ... if it is not * supplied (a nil object) then the ti argument is used to create - * a astart date relative to the current time.
+ * a start date relative to the current time.
* The ti argument specifies the time (in seconds) between the firing. * If it is less than or equal to 0.0 then a small interval is chosen * automatically.
@@ -269,7 +269,7 @@ static Class NSDate_class; /** * Change the fire date for the receiver.
* NB. You should NOT use this method for a timer which has - * been added to a run loop. The only time whan it is safe to modify + * been added to a run loop. The only time when it is safe to modify * the fire date of a timer in a run loop is for a repeating timer * when the timer is actually in the process of firing. */