mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
More MacOS-X fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14350 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4bdb090e57
commit
35d31cba00
4 changed files with 8 additions and 4 deletions
|
@ -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 <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -51,7 +51,7 @@ static Class NSDate_class;
|
|||
* Initialise the receive, a newly allocated NSTimer object.<br />
|
||||
* 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.<br />
|
||||
* a start date relative to the current time.<br />
|
||||
* 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.<br />
|
||||
|
@ -269,7 +269,7 @@ static Class NSDate_class;
|
|||
/**
|
||||
* Change the fire date for the receiver.<br />
|
||||
* NB. You should <em>NOT</em> 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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue