Many minor fixes for autogsdoc.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2001-12-17 14:31:42 +00:00
parent b26f86d146
commit d7e28f6deb
128 changed files with 697 additions and 456 deletions

View file

@ -1,4 +1,4 @@
/* Concrete implementation of NSArray
/** Concrete implementation of NSArray
Copyright (C) 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/*
/**
GSAttributedString.m
Implementation of concrete subclass of a string class with attributes

View file

@ -1,4 +1,4 @@
/* Runtime MacOSX compatibility functionality
/** Runtime MacOSX compatibility functionality
Copyright (C) 2000 Free Software Foundation, Inc.
Written by: Richard frith-Macdonald <rfm@gnu.org>

View file

@ -1,4 +1,4 @@
/* Concrete implementation of NSCountedSet based on GNU Set class
/** Concrete implementation of NSCountedSet based on GNU Set class
Copyright (C) 1998,2000 Free Software Foundation, Inc.
Written by: Richard frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Interface to concrete implementation of NSDictionary
/** Interface to concrete implementation of NSDictionary
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation of GSFFCallInvocation for GNUStep
/** Implementation of GSFFCallInvocation for GNUStep
Copyright (C) 2000 Free Software Foundation, Inc.
Written: Adam Fedor <fedor@gnu.org>

View file

@ -1,4 +1,4 @@
/* Implementation of GSFFIInvocation for GNUStep
/** Implementation of GSFFIInvocation for GNUStep
Copyright (C) 2000 Free Software Foundation, Inc.
Written: Adam Fedor <fedor@gnu.org>

View file

@ -1,4 +1,4 @@
/* Implementation of GNUSTEP printf-style formatting
/** Implementation of GNUSTEP printf-style formatting
Copyright (C) 1994-2000, 2001 Free Software Foundation, Inc.
Hacked together by Kai Henningsen <kai@cats.ms>

View file

@ -1,4 +1,4 @@
/* GSHTTPURLHandle.m - Class GSHTTPURLHandle
/** GSHTTPURLHandle.m - Class GSHTTPURLHandle
Copyright (C) 2000 Free Software Foundation, Inc.
Written by: Mark Allison <mark@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* GSLocale - various functions for localization
/** GSLocale - various functions for localization
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,5 +1,4 @@
/* Implementation for GSMIME
/** Implementation for GSMIME
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/* Concrete implementation of NSSet based on GNU Set class
/** Concrete implementation of NSSet based on GNU Set class
Copyright (C) 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation for GNUStep of NSString concrete subclasses
/** Implementation for GNUStep of NSString concrete subclasses
Copyright (C) 1997,1998,2000 Free Software Foundation, Inc.
Base on code written by Stevo Crvenkovski <stevo@btinternet.com>

View file

@ -1,4 +1,4 @@
/* Implementation of network port object based on TCP sockets
/** Implementation of network port object based on TCP sockets
Copyright (C) 2000 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation for GSUnixSSLHandle for GNUStep
/** Implementation for GSUnixSSLHandle for GNUStep
Copyright (C) 1997-1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* GSValue - Object encapsulation for C types.
/** GSValue - Object encapsulation for C types.
Copyright (C) 1993,1994,1995,1999 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* Implementation for GSXMLDocument for GNUstep xmlparser
/** Implementation for GSXMLDocument for GNUstep xmlparser
Copyright (C) 2000 Free Software Foundation, Inc.
@ -180,7 +180,7 @@ loadEntityFunction(const char *url, const char *eid, xmlParserCtxtPtr *ctxt);
- (id) initWithVersion: (NSString*)version
{
void *data = xmlNewDoc([version cString]);
void *data = xmlNewDoc([version lossyCString]);
if (data == 0)
{
@ -240,15 +240,16 @@ loadEntityFunction(const char *url, const char *eid, xmlParserCtxtPtr *ctxt);
- (GSXMLNode*) makeNodeWithNamespace: (GSXMLNamespace*)ns
name: (NSString*)name
content: (NSString*)content;
content: (NSString*)content
{
return [GSXMLNode nodeFrom:
xmlNewDocNode(lib, [ns lib], [name cString], [content cString])];
xmlNewDocNode(lib, [ns lib], [name lossyCString],
[content lossyCString])];
}
- (void) save: (NSString*) filename
{
xmlSaveFile([filename cString], lib);
xmlSaveFile([filename lossyCString], lib);
}
- (NSString*) stringValue
@ -334,7 +335,8 @@ static NSMapTable *nsNames = 0;
if (node != nil)
{
data = xmlNewNs((xmlNodePtr)[node lib], [href cString], [prefix cString]);
data = xmlNewNs((xmlNodePtr)[node lib], [href lossyCString],
[prefix lossyCString]);
if (data == NULL)
{
NSLog(@"Can't create GSXMLNamespace object");
@ -345,7 +347,7 @@ static NSMapTable *nsNames = 0;
}
else
{
data = xmlNewNs(NULL, [href cString], [prefix cString]);
data = xmlNewNs(NULL, [href lossyCString], [prefix lossyCString]);
if (data == NULL)
{
NSLog(@"Can't create GSXMLNamespace object");
@ -563,11 +565,11 @@ static NSMapTable *nodeNames = 0;
if (ns != nil)
{
[ns _native: NO];
lib = xmlNewNode((xmlNsPtr)[ns lib], [name cString]);
lib = xmlNewNode((xmlNsPtr)[ns lib], [name lossyCString]);
}
else
{
lib = xmlNewNode(NULL, [name cString]);
lib = xmlNewNode(NULL, [name lossyCString]);
}
if (lib == NULL)
{
@ -792,28 +794,30 @@ static NSMapTable *nodeNames = 0;
- (GSXMLNode*) makeChildWithNamespace: (GSXMLNamespace*)ns
name: (NSString*)name
content: (NSString*)content;
content: (NSString*)content
{
return [GSXMLNode nodeFrom:
xmlNewChild(lib, [ns lib], [name cString], [content cString])];
xmlNewChild(lib, [ns lib], [name lossyCString], [content lossyCString])];
}
- (GSXMLAttribute*) setProp: (NSString*)name value: (NSString*)value
{
return [GSXMLAttribute attributeFrom:
xmlSetProp(lib, [name cString], [value cString])];
xmlSetProp(lib, [name lossyCString], [value lossyCString])];
}
- (GSXMLNode*) makeComment: (NSString*)content
{
return [GSXMLNode nodeFrom: xmlAddChild((xmlNodePtr)lib, xmlNewComment([content cString]))];
return [GSXMLNode nodeFrom: xmlAddChild((xmlNodePtr)lib,
xmlNewComment([content lossyCString]))];
}
- (GSXMLNode*) makePI: (NSString*)name content: (NSString*)content
{
return [GSXMLNode nodeFrom:
xmlAddChild((xmlNodePtr)lib, xmlNewPI([name cString], [content cString]))];
xmlAddChild((xmlNodePtr)lib, xmlNewPI([name lossyCString],
[content lossyCString]))];
}
- (unsigned) hash
@ -935,17 +939,18 @@ static NSMapTable *attrNames = 0;
+ (GSXMLAttribute*) attributeWithNode: (GSXMLNode*)node
name: (NSString*)name
value: (NSString*)value;
value: (NSString*)value
{
return AUTORELEASE([[self alloc] initWithNode: node name: name value: value]);
}
- (id) initWithNode: (GSXMLNode*)node
name: (NSString*)name
value: (NSString*)value;
value: (NSString*)value
{
self = [super init];
lib = xmlNewProp((xmlNodePtr)[node lib], [name cString], [value cString]);
lib = xmlNewProp((xmlNodePtr)[node lib], [name lossyCString],
[value lossyCString]);
return self;
}
@ -1916,7 +1921,7 @@ fatalErrorFunction(void *ctx, const char *msg, ...)
}
- (void) startElement: (NSString*)elementName
attributes: (NSMutableDictionary*)elementAttributes;
attributes: (NSMutableDictionary*)elementAttributes
{
}

View file

@ -1,4 +1,4 @@
/* Implementation of NSArchiver for GNUstep
/** Implementation of NSArchiver for GNUstep
Copyright (C) 1998,1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* NSArray - Array object to hold other objects.
/** NSArray - Array object to hold other objects.
Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
@ -828,7 +828,7 @@ static NSString *indentStrings[] = {
}
}
- (BOOL) writeToFile: (NSString *)path atomically: (BOOL)useAuxiliaryFile
- (BOOL) writeToFile: (NSString *)path atomically: (BOOL)useAuxilliaryFile
{
extern BOOL GSMacOSXCompatiblePropertyLists();
NSDictionary *loc;
@ -854,10 +854,10 @@ static NSString *indentStrings[] = {
desc = result;
}
return [desc writeToFile: path atomically: useAuxiliaryFile];
return [desc writeToFile: path atomically: useAuxilliaryFile];
}
- (BOOL) writeToURL: (NSURL *)url atomically: (BOOL)useAuxiliaryFile
- (BOOL) writeToURL: (NSURL *)url atomically: (BOOL)useAuxilliaryFile
{
extern BOOL GSMacOSXCompatiblePropertyLists();
NSDictionary *loc;
@ -883,7 +883,7 @@ static NSString *indentStrings[] = {
desc = result;
}
return [desc writeToURL: url atomically: useAuxiliaryFile];
return [desc writeToURL: url atomically: useAuxilliaryFile];
}
@end

View file

@ -1,4 +1,4 @@
/* NSAssertionHandler - Object encapsulation of assertions
/** NSAssertionHandler - Object encapsulation of assertions
Copyright (C) 1995, 1997 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/*
/**
NSAttributedString.m
Implementation of string class with attributes
@ -278,14 +278,14 @@ static Class GSMutableAttributedStringClass;
}
//Retrieving attribute information
- (NSDictionary*) attributesAtIndex: (unsigned)index
- (NSDictionary*) attributesAtIndex: (unsigned int)index
effectiveRange: (NSRange*)aRange
{
[self subclassResponsibility: _cmd];/* Primitive method! */
return nil;
}
- (NSDictionary*) attributesAtIndex: (unsigned)index
- (NSDictionary*) attributesAtIndex: (unsigned int)index
longestEffectiveRange: (NSRange*)aRange
inRange: (NSRange)rangeLimit
{
@ -335,7 +335,7 @@ static Class GSMutableAttributedStringClass;
}
- (id) attribute: (NSString*)attributeName
atIndex: (unsigned)index
atIndex: (unsigned int)index
effectiveRange: (NSRange*)aRange
{
NSDictionary *tmpDictionary;

View file

@ -1,4 +1,4 @@
/* Implementation of auto release pool for delayed disposal
/** Implementation of auto release pool for delayed disposal
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* NSBitmapCharSet - Concrete character set holder
/** NSBitmapCharSet - Concrete character set holder
Copyright (C) 1993,1994 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of NSBundle class
/** Implementation of NSBundle class
Copyright (C) 1993,1994,1995, 1996, 1997 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>
@ -727,12 +727,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
return bundle;
}
+ (NSBundle *)bundleWithPath:(NSString *)path
+ (NSBundle*) bundleWithPath: (NSString*)path
{
return AUTORELEASE([[NSBundle alloc] initWithPath: path]);
}
- (id) initWithPath:(NSString *)path;
- (id) initWithPath: (NSString*)path
{
[super init];
@ -1112,7 +1112,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
}
- (NSString *) pathForResource: (NSString *)name
ofType: (NSString *)ext;
ofType: (NSString *)ext
{
return [self pathForResource: name
ofType: ext
@ -1121,7 +1121,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
- (NSString *) pathForResource: (NSString *)name
ofType: (NSString *)ext
inDirectory: (NSString *)bundlePath;
inDirectory: (NSString *)bundlePath
{
NSString *rootPath;
@ -1385,7 +1385,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
+ (NSString *) pathForGNUstepResource: (NSString *)name
ofType: (NSString *)ext
inDirectory: (NSString *)bundlePath;
inDirectory: (NSString *)bundlePath
{
NSString *path = nil;
NSString *bundle_path = nil;

View file

@ -1,4 +1,4 @@
/* Implementation for NSCalendarDate for GNUstep
/** Implementation for NSCalendarDate for GNUstep
Copyright (C) 1996, 1998 Free Software Foundation, Inc.
Author: Scott Christley <scottc@net-community.com>

View file

@ -1,4 +1,4 @@
/* GNUStep callback functions. Implicitly required by the standard.
/** GNUStep callback functions. Implicitly required by the standard.
* Copyright(C) 1996 Free Software Foundation, Inc.
*
* Author: Albin L. Jones <Albin.L.Jones@Dartmouth.EDU>

View file

@ -1,4 +1,4 @@
/* NSCharacterSet - Character set holder
/** NSCharacterSet - Character set holder
Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>
@ -171,12 +171,12 @@ static NSLock* cache_lock = nil;
return [self _bitmapForSet: @"nonBaseCharSet" number: 7];
}
+ (NSCharacterSet*) punctuationCharacterSet;
+ (NSCharacterSet*) punctuationCharacterSet
{
return [self _bitmapForSet: @"punctuationCharSet" number: 8];
}
+ (NSCharacterSet*) symbolAndOperatorCharacterSet;
+ (NSCharacterSet*) symbolAndOperatorCharacterSet
{
return [self _bitmapForSet: @"symbolAndOperatorCharSet" number: 9];
}

View file

@ -1,5 +1,4 @@
/* NSClassDescription
/** NSClassDescription
Copyright (C) 2000 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -1,4 +1,4 @@
/* NSCoder - coder object for serialization and persistance.
/** NSCoder - coder object for serialization and persistance.
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of connection object for remote object messaging
/** Implementation of connection object for remote object messaging
Copyright (C) 1994, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
Created by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of NSCopyObject() for GNUStep
/** Implementation of NSCopyObject() for GNUStep
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* NSCountedSet - CountedSet object
/** NSCountedSet - CountedSet object
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Stream of bytes class for serialization and persistance in GNUStep
/** Stream of bytes class for serialization and persistance in GNUStep
Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
@ -120,7 +120,7 @@ static SEL appendSel;
static IMP appendImp;
static BOOL
readContentsOfFile(NSString* path, void** buf, unsigned* len, NSZone* zone)
readContentsOfFile(NSString* path, void** buf, unsigned int* len, NSZone* zone)
{
char thePath[BUFSIZ*2];
FILE *theFile = 0;
@ -343,7 +343,7 @@ failure:
unsigned growth;
}
/* Increase capacity to at least the specified minimum value. */
- (void) _grow: (unsigned)minimum;
- (void) _grow: (unsigned int)minimum;
@end
#if HAVE_MMAP
@ -356,14 +356,14 @@ failure:
{
int shmid;
}
- (id) initWithShmID: (int)anId length: (unsigned)bufferSize;
- (id) initWithShmID: (int)anId length: (unsigned int)bufferSize;
@end
@interface NSMutableDataShared : NSMutableDataMalloc
{
int shmid;
}
- (id) initWithShmID: (int)anId length: (unsigned)bufferSize;
- (id) initWithShmID: (int)anId length: (unsigned int)bufferSize;
@end
#endif
@ -406,7 +406,7 @@ failure:
}
+ (id) dataWithBytes: (const void*)bytes
length: (unsigned)length
length: (unsigned int)length
{
NSData *d;
@ -416,7 +416,7 @@ failure:
}
+ (id) dataWithBytesNoCopy: (void*)bytes
length: (unsigned)length
length: (unsigned int)length
{
NSData *d;
@ -480,7 +480,7 @@ failure:
}
- (id) initWithBytes: (const void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
void *ptr = 0;
@ -493,7 +493,7 @@ failure:
}
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
[self subclassResponsibility: _cmd];
return nil;
@ -522,7 +522,7 @@ failure:
return self;
}
- (id) initWithContentsOfMappedFile: (NSString *)path;
- (id) initWithContentsOfMappedFile: (NSString *)path
{
#if HAVE_MMAP
RELEASE(self);
@ -615,7 +615,7 @@ failure:
[self getBytes: buffer range: NSMakeRange(0, [self length])];
}
- (void) getBytes: (void*)buffer length: (unsigned)length
- (void) getBytes: (void*)buffer length: (unsigned int)length
{
[self getBytes: buffer range: NSMakeRange(0, length)];
}
@ -653,7 +653,7 @@ failure:
return [NSData dataWithBytesNoCopy: buffer length: aRange.length];
}
- (unsigned) hash
- (unsigned int) hash
{
unsigned char buf[64];
unsigned l = [self length];
@ -691,7 +691,7 @@ failure:
}
// Querying a Data Object
- (BOOL) isEqualToData: (NSData*)other;
- (BOOL) isEqualToData: (NSData*)other
{
int len;
if ((len = [self length]) != [other length])
@ -699,7 +699,7 @@ failure:
return (memcmp([self bytes], [other bytes], len) ? NO : YES);
}
- (unsigned) length;
- (unsigned int) length
{
/* This is left to concrete subclasses to implement. */
[self subclassResponsibility: _cmd];
@ -907,14 +907,14 @@ failure:
// Deserializing Data
- (unsigned) deserializeAlignedBytesLengthAtCursor: (unsigned int*)cursor
- (unsigned int) deserializeAlignedBytesLengthAtCursor: (unsigned int*)cursor
{
return (unsigned)[self deserializeIntAtCursor: cursor];
}
- (void) deserializeBytes: (void*)buffer
length: (unsigned)bytes
atCursor: (unsigned*)cursor
length: (unsigned int)bytes
atCursor: (unsigned int*)cursor
{
NSRange range = { *cursor, bytes };
@ -924,7 +924,7 @@ failure:
- (void) deserializeDataAt: (void*)data
ofObjCType: (const char*)type
atCursor: (unsigned*)cursor
atCursor: (unsigned int*)cursor
context: (id <NSObjCTypeSerializationCallBack>)callback
{
if (!type || !data)
@ -1205,7 +1205,7 @@ failure:
}
}
- (int) deserializeIntAtCursor: (unsigned*)cursor
- (int) deserializeIntAtCursor: (unsigned int*)cursor
{
unsigned ni, result;
@ -1214,7 +1214,7 @@ failure:
return result;
}
- (int) deserializeIntAtIndex: (unsigned)index
- (int) deserializeIntAtIndex: (unsigned int)index
{
unsigned ni, result;
@ -1224,8 +1224,8 @@ failure:
}
- (void) deserializeInts: (int*)intBuffer
count: (unsigned)numInts
atCursor: (unsigned*)cursor
count: (unsigned int)numInts
atCursor: (unsigned int*)cursor
{
unsigned i;
@ -1237,8 +1237,8 @@ failure:
}
- (void) deserializeInts: (int*)intBuffer
count: (unsigned)numInts
atIndex: (unsigned)index
count: (unsigned int)numInts
atIndex: (unsigned int)index
{
unsigned i;
@ -1286,7 +1286,7 @@ failure:
@end
@implementation NSData (GNUstepExtensions)
+ (id) dataWithShmID: (int)anID length: (unsigned)length
+ (id) dataWithShmID: (int)anID length: (unsigned int)length
{
#if HAVE_SHMCTL
NSDataShared *d;
@ -1300,7 +1300,7 @@ failure:
#endif
}
+ (id) dataWithSharedBytes: (const void*)bytes length: (unsigned)length
+ (id) dataWithSharedBytes: (const void*)bytes length: (unsigned int)length
{
NSData *d;
@ -1314,7 +1314,7 @@ failure:
return AUTORELEASE(d);
}
+ (id) dataWithStaticBytes: (const void*)bytes length: (unsigned)length
+ (id) dataWithStaticBytes: (const void*)bytes length: (unsigned int)length
{
NSDataStatic *d;
@ -1325,7 +1325,7 @@ failure:
- (void) deserializeTypeTag: (unsigned char*)tag
andCrossRef: (unsigned int*)ref
atCursor: (unsigned*)cursor
atCursor: (unsigned int*)cursor
{
[self deserializeDataAt: (void*)tag
ofObjCType: @encode(gsu8)
@ -1402,7 +1402,7 @@ failure:
}
+ (id) dataWithBytes: (const void*)bytes
length: (unsigned)length
length: (unsigned int)length
{
NSData *d;
@ -1412,7 +1412,7 @@ failure:
}
+ (id) dataWithBytesNoCopy: (void*)bytes
length: (unsigned)length
length: (unsigned int)length
{
NSData *d;
@ -1421,7 +1421,7 @@ failure:
return AUTORELEASE(d);
}
+ (id) dataWithCapacity: (unsigned)numBytes
+ (id) dataWithCapacity: (unsigned int)numBytes
{
NSMutableData *d;
@ -1468,7 +1468,7 @@ failure:
return AUTORELEASE(d);
}
+ (id) dataWithLength: (unsigned)length
+ (id) dataWithLength: (unsigned int)length
{
NSMutableData *d;
@ -1506,7 +1506,7 @@ failure:
}
}
- (id) initWithCapacity: (unsigned)capacity
- (id) initWithCapacity: (unsigned int)capacity
{
[self subclassResponsibility: _cmd];
return nil;
@ -1544,7 +1544,7 @@ failure:
return self;
}
- (id) initWithLength: (unsigned)length
- (id) initWithLength: (unsigned int)length
{
[self subclassResponsibility: _cmd];
return nil;
@ -1552,12 +1552,12 @@ failure:
// Adjusting Capacity
- (void) increaseLengthBy: (unsigned)extraLength
- (void) increaseLengthBy: (unsigned int)extraLength
{
[self setLength: [self length]+extraLength];
}
- (void) setLength: (unsigned)size
- (void) setLength: (unsigned int)size
{
[self subclassResponsibility: _cmd];
}
@ -1571,7 +1571,7 @@ failure:
// Appending Data
- (void) appendBytes: (const void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
unsigned oldLength = [self length];
void* buffer;
@ -1628,7 +1628,7 @@ failure:
// Serializing Data
- (void) serializeAlignedBytesLength: (unsigned)length
- (void) serializeAlignedBytesLength: (unsigned int)length
{
[self serializeInt: length];
}
@ -1812,7 +1812,7 @@ failure:
[self appendBytes: &ni length: sizeof(unsigned)];
}
- (void) serializeInt: (int)value atIndex: (unsigned)index
- (void) serializeInt: (int)value atIndex: (unsigned int)index
{
unsigned ni = NSSwapHostIntToBig(value);
NSRange range = { index, sizeof(int) };
@ -1821,7 +1821,7 @@ failure:
}
- (void) serializeInts: (int*)intBuffer
count: (unsigned)numInts
count: (unsigned int)numInts
{
unsigned i;
SEL sel = @selector(serializeInt:);
@ -1834,8 +1834,8 @@ failure:
}
- (void) serializeInts: (int*)intBuffer
count: (unsigned)numInts
atIndex: (unsigned)index
count: (unsigned int)numInts
atIndex: (unsigned int)index
{
unsigned i;
SEL sel = @selector(serializeInt:atIndex:);
@ -1850,7 +1850,7 @@ failure:
@end
@implementation NSMutableData (GNUstepExtensions)
+ (id) dataWithShmID: (int)anID length: (unsigned)length
+ (id) dataWithShmID: (int)anID length: (unsigned int)length
{
#if HAVE_SHMCTL
NSDataShared *d;
@ -1864,7 +1864,7 @@ failure:
#endif
}
+ (id) dataWithSharedBytes: (const void*)bytes length: (unsigned)length
+ (id) dataWithSharedBytes: (const void*)bytes length: (unsigned int)length
{
NSData *d;
@ -1878,13 +1878,13 @@ failure:
return AUTORELEASE(d);
}
- (unsigned) capacity
- (unsigned int) capacity
{
[self subclassResponsibility: _cmd];
return 0;
}
- (id) setCapacity: (unsigned)newCapacity
- (id) setCapacity: (unsigned int)newCapacity
{
[self subclassResponsibility: _cmd];
return nil;
@ -1903,7 +1903,7 @@ failure:
}
- (void) serializeTypeTag: (unsigned char)tag
andCrossRef: (unsigned)xref
andCrossRef: (unsigned int)xref
{
if (xref <= 0xff)
{
@ -1988,7 +1988,7 @@ failure:
}
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
bytes = aBuffer;
length = bufferSize;
@ -2014,7 +2014,7 @@ failure:
memcpy(buffer, bytes + aRange.location, aRange.length);
}
- (unsigned) length
- (unsigned int) length
{
return length;
}
@ -2034,7 +2034,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
- (void) deserializeDataAt: (void*)data
ofObjCType: (const char*)type
atCursor: (unsigned*)cursor
atCursor: (unsigned int*)cursor
context: (id <NSObjCTypeSerializationCallBack>)callback
{
if (data == 0 || type == 0)
@ -2296,7 +2296,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
- (void) deserializeTypeTag: (unsigned char*)tag
andCrossRef: (unsigned int*)ref
atCursor: (unsigned*)cursor
atCursor: (unsigned int*)cursor
{
if (*cursor >= length)
{
@ -2401,7 +2401,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
}
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
bytes = aBuffer;
length = bufferSize;
@ -2508,7 +2508,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
[super dealloc];
}
- (id) initWithBytes: (const void*)aBuffer length: (unsigned)bufferSize
- (id) initWithBytes: (const void*)aBuffer length: (unsigned int)bufferSize
{
shmid = -1;
if (aBuffer && bufferSize)
@ -2538,7 +2538,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
return self;
}
- (id) initWithShmID: (int)anId length: (unsigned)bufferSize
- (id) initWithShmID: (int)anId length: (unsigned int)bufferSize
{
struct shmid_ds buf;
@ -2618,7 +2618,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
[super dealloc];
}
- (id) initWithBytes: (const void*)aBuffer length: (unsigned)bufferSize
- (id) initWithBytes: (const void*)aBuffer length: (unsigned int)bufferSize
{
self = [self initWithCapacity: bufferSize];
if (self)
@ -2633,7 +2633,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
}
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
if (aBuffer == 0)
{
@ -2667,7 +2667,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
/*
* THIS IS THE DESIGNATED INITIALISER
*/
- (id) initWithCapacity: (unsigned)size
- (id) initWithCapacity: (unsigned int)size
{
#if GS_WITH_GC
zone = GSAtomicMallocZone();
@ -2695,7 +2695,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
return self;
}
- (id) initWithLength: (unsigned)size
- (id) initWithLength: (unsigned int)size
{
self = [self initWithCapacity: size];
if (self)
@ -2727,7 +2727,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
}
- (void) appendBytes: (const void*)aBuffer
length: (unsigned)bufferSize
length: (unsigned int)bufferSize
{
unsigned oldLength = length;
unsigned minimum = length + bufferSize;
@ -2740,12 +2740,12 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
length = minimum;
}
- (unsigned) capacity
- (unsigned int) capacity
{
return capacity;
}
- (void) _grow: (unsigned)minimum
- (void) _grow: (unsigned int)minimum
{
if (minimum > capacity)
{
@ -3022,7 +3022,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
}
- (void) serializeTypeTag: (unsigned char)tag
andCrossRef: (unsigned)xref
andCrossRef: (unsigned int)xref
{
if (xref <= 0xff)
{
@ -3078,7 +3078,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
}
}
- (id) setCapacity: (unsigned)size
- (id) setCapacity: (unsigned int)size
{
if (size != capacity)
{
@ -3121,7 +3121,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
memcpy(bytes, [data bytes], length);
}
- (void) setLength: (unsigned)size
- (void) setLength: (unsigned int)size
{
if (size > capacity)
{
@ -3165,7 +3165,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
[super dealloc];
}
- (id) initWithBytes: (const void*)aBuffer length: (unsigned)bufferSize
- (id) initWithBytes: (const void*)aBuffer length: (unsigned int)bufferSize
{
self = [self initWithCapacity: bufferSize];
if (self)
@ -3177,7 +3177,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
return self;
}
- (id) initWithCapacity: (unsigned)bufferSize
- (id) initWithCapacity: (unsigned int)bufferSize
{
int e;
@ -3206,7 +3206,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
return self;
}
- (id) initWithShmID: (int)anId length: (unsigned)bufferSize
- (id) initWithShmID: (int)anId length: (unsigned int)bufferSize
{
struct shmid_ds buf;
@ -3237,7 +3237,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
return self;
}
- (id) setCapacity: (unsigned)size
- (id) setCapacity: (unsigned int)size
{
if (size != capacity)
{

View file

@ -1,4 +1,4 @@
/* Implementation for NSDate for GNUStep
/** Implementation for NSDate for GNUStep
Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Written by: Jeremy Bettis <jeremy@hksys.com>
@ -950,7 +950,7 @@ GSTimeNow()
}
- (id) initWithTimeInterval: (NSTimeInterval)secsToBeAdded
sinceDate: (NSDate*)anotherDate;
sinceDate: (NSDate*)anotherDate
{
if (anotherDate == nil)
{
@ -963,7 +963,7 @@ GSTimeNow()
otherTime(anotherDate) + secsToBeAdded];
}
- (id) initWithTimeIntervalSinceNow: (NSTimeInterval)secsToBeAdded;
- (id) initWithTimeIntervalSinceNow: (NSTimeInterval)secsToBeAdded
{
// Get the current time, add the secs and init thyself
return [self initWithTimeIntervalSinceReferenceDate:

View file

@ -1,4 +1,4 @@
/* Implementation of NSDateFormatter class
/** Implementation of NSDateFormatter class
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Debugging utilities for GNUStep and OpenStep
/** Debugging utilities for GNUStep and OpenStep
Copyright (C) 1997,1999,2000,2001 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/*
/**
NSDecimal functions
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/**
NSDecimalNumber class
Copyright (C) 2000 Free Software Foundation, Inc.
@ -31,7 +31,7 @@ static NSDecimalNumberHandler *handler;
@implementation NSDecimalNumberHandler
+ (id)defaultDecimalNumberHandler
+ (id) defaultDecimalNumberHandler
{
if (handler == nil)
handler = [[self alloc] initWithRoundingMode: NSRoundPlain
@ -44,12 +44,12 @@ static NSDecimalNumberHandler *handler;
return handler;
}
+ (id)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode
scale:(short)scale
raiseOnExactness:(BOOL)raiseOnExactness
raiseOnOverflow:(BOOL)raiseOnOverflow
raiseOnUnderflow:(BOOL)raiseOnUnderflow
raiseOnDivideByZero:(BOOL)raiseOnDivideByZero
+ (id) decimalNumberHandlerWithRoundingMode: (NSRoundingMode)roundingMode
scale: (short)scale
raiseOnExactness: (BOOL)raiseOnExactness
raiseOnOverflow: (BOOL)raiseOnOverflow
raiseOnUnderflow: (BOOL)raiseOnUnderflow
raiseOnDivideByZero: (BOOL)raiseOnDivideByZero
{
return AUTORELEASE([[self alloc] initWithRoundingMode: roundingMode
scale: scale
@ -59,12 +59,12 @@ static NSDecimalNumberHandler *handler;
raiseOnDivideByZero: raiseOnDivideByZero]);
}
- (id)initWithRoundingMode:(NSRoundingMode)roundingMode
scale:(short)scale
raiseOnExactness:(BOOL)raiseOnExactness
raiseOnOverflow:(BOOL)raiseOnOverflow
raiseOnUnderflow:(BOOL)raiseOnUnderflow
raiseOnDivideByZero:(BOOL)raiseOnDivideByZero
- (id) initWithRoundingMode: (NSRoundingMode)roundingMode
scale: (short)scale
raiseOnExactness: (BOOL)raiseOnExactness
raiseOnOverflow: (BOOL)raiseOnOverflow
raiseOnUnderflow: (BOOL)raiseOnUnderflow
raiseOnDivideByZero: (BOOL)raiseOnDivideByZero
{
_roundingMode = roundingMode;
_scale = scale;
@ -87,25 +87,29 @@ static NSDecimalNumberHandler *handler;
case NSCalculationUnderflow:
if (_raiseOnUnderflow)
// FIXME: What exception to raise?
[NSException raise: @"NSDecimalNumberException" format: @"Underflow"];
[NSException raise: @"NSDecimalNumberException"
format: @"Underflow"];
else
return [NSDecimalNumber minimumDecimalNumber];
break;
case NSCalculationOverflow:
case NSCalculationOverflow:
if (_raiseOnOverflow)
[NSException raise: @"NSDecimalNumberException" format: @"Overflow"];
[NSException raise: @"NSDecimalNumberException"
format: @"Overflow"];
else
return [NSDecimalNumber maximumDecimalNumber];
break;
case NSCalculationLossOfPrecision:
case NSCalculationLossOfPrecision:
if (_raiseOnExactness)
[NSException raise: @"NSDecimalNumberException" format: @"Loss of precision"];
[NSException raise: @"NSDecimalNumberException"
format: @"Loss of precision"];
else
return nil;
break;
case NSCalculationDivideByZero:
case NSCalculationDivideByZero:
if (_raiseOnDivideByZero)
[NSException raise: @"NSDecimalNumberException" format: @"Divide by zero"];
[NSException raise: @"NSDecimalNumberException"
format: @"Divide by zero"];
else
return [NSDecimalNumber notANumber];
break;
@ -146,20 +150,20 @@ static NSDecimalNumber *one;
NSDecimalMin(&d);
minNumber = [[self alloc] initWithDecimal: d];
zero = [[self alloc] initWithMantissa: 0
exponent: 0
isNegative: NO];
exponent: 0
isNegative: NO];
one = [[self alloc] initWithMantissa: 1
exponent: 0
isNegative: NO];
exponent: 0
isNegative: NO];
}
+ (id <NSDecimalNumberBehaviors>)defaultBehavior
+ (id <NSDecimalNumberBehaviors>) defaultBehavior
{
// Reuse the handler from the class NSDecimalNumberHandler
return [NSDecimalNumberHandler defaultDecimalNumberHandler];
}
+ (void)setDefaultBehavior:(id <NSDecimalNumberBehaviors>)behavior
+ (void) setDefaultBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
// Reuse the handler from the class NSDecimalNumberHandler
// Might give interessting result on this class as behavior may came
@ -167,58 +171,58 @@ static NSDecimalNumber *one;
ASSIGN(handler, behavior);
}
+ (NSDecimalNumber *)maximumDecimalNumber
+ (NSDecimalNumber*) maximumDecimalNumber
{
return maxNumber;
}
+ (NSDecimalNumber *)minimumDecimalNumber
+ (NSDecimalNumber*) minimumDecimalNumber
{
return minNumber;
}
+ (NSDecimalNumber *)notANumber
+ (NSDecimalNumber*) notANumber
{
return notANumber;
}
+ (NSDecimalNumber *)zero
+ (NSDecimalNumber*) zero
{
return zero;
}
+ (NSDecimalNumber *)one
+ (NSDecimalNumber*) one
{
return one;
}
+ (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal
+ (NSDecimalNumber*) decimalNumberWithDecimal: (NSDecimal)decimal
{
return AUTORELEASE([[self alloc] initWithDecimal: decimal]);
}
+ (NSDecimalNumber *)decimalNumberWithMantissa:(unsigned long long)mantissa
exponent:(short)exponent
isNegative:(BOOL)isNegative
+ (NSDecimalNumber*) decimalNumberWithMantissa: (unsigned long long)mantissa
exponent: (short)exponent
isNegative: (BOOL)isNegative
{
return AUTORELEASE([[self alloc] initWithMantissa: mantissa
exponent: exponent
isNegative: isNegative]);
exponent: exponent
isNegative: isNegative]);
}
+ (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString
+ (NSDecimalNumber*) decimalNumberWithString: (NSString*)numericString
{
return AUTORELEASE([[self alloc] initWithString: numericString]);
}
+ (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString
locale:(NSDictionary *)locale
+ (NSDecimalNumber*) decimalNumberWithString: (NSString*)numericString
locale: (NSDictionary*)locale
{
return AUTORELEASE([[self alloc] initWithString: numericString
locale: locale]);
locale: locale]);
}
- (id)initWithDecimal:(NSDecimal)decimal
- (id) initWithDecimal: (NSDecimal)decimal
{
NSDecimalCopy(&data, &decimal);
return self;
@ -241,7 +245,7 @@ static NSDecimalNumber *one;
}
- (id) initWithString: (NSString*)numberValue
locale: (NSDictionary*)locale;
locale: (NSDictionary*)locale
{
NSDecimal decimal;
@ -254,12 +258,12 @@ static NSDecimalNumber *one;
return NSDecimalString(&data, locale);
}
- (const char *)objCType
- (const char*) objCType
{
return "d";
}
- (NSDecimal)decimalValue
- (NSDecimal) decimalValue
{
NSDecimal decimal;
@ -267,12 +271,12 @@ static NSDecimalNumber *one;
return decimal;
}
- (double)doubleValue
- (double) doubleValue
{
return NSDecimalDouble(&data);
}
- (NSComparisonResult)compare:(NSNumber *)decimalNumber
- (NSComparisonResult) compare: (NSNumber*)decimalNumber
{
if ([decimalNumber isMemberOfClass: [self class]])
{
@ -285,14 +289,14 @@ static NSDecimalNumber *one;
return [super compare: decimalNumber];
}
- (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber
- (NSDecimalNumber*) decimalNumberByAdding: (NSDecimalNumber*)decimalNumber
{
return [self decimalNumberByAdding: decimalNumber
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber
withBehavior:(id<NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByAdding: (NSDecimalNumber*)decimalNumber
withBehavior: (id<NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -304,9 +308,9 @@ static NSDecimalNumber *one;
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: decimalNumber];
error: error
leftOperand: self
rightOperand: decimalNumber];
if (res != nil)
return res;
}
@ -314,14 +318,14 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber
- (NSDecimalNumber*) decimalNumberBySubtracting: (NSDecimalNumber*)decimalNumber
{
return [self decimalNumberBySubtracting: decimalNumber
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberBySubtracting: (NSDecimalNumber*)decimalNumber
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -333,9 +337,9 @@ static NSDecimalNumber *one;
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: decimalNumber];
error: error
leftOperand: self
rightOperand: decimalNumber];
if (res != nil)
return res;
}
@ -343,14 +347,16 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber
- (NSDecimalNumber*) decimalNumberByMultiplyingBy:
(NSDecimalNumber*)decimalNumber
{
return [self decimalNumberByMultiplyingBy: decimalNumber
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByMultiplyingBy:
(NSDecimalNumber*)decimalNumber
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -362,9 +368,9 @@ static NSDecimalNumber *one;
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: decimalNumber];
error: error
leftOperand: self
rightOperand: decimalNumber];
if (res != nil)
return res;
}
@ -372,14 +378,14 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber
- (NSDecimalNumber*) decimalNumberByDividingBy: (NSDecimalNumber*)decimalNumber
{
return [self decimalNumberByDividingBy: decimalNumber
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByDividingBy: (NSDecimalNumber*)decimalNumber
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -391,9 +397,9 @@ static NSDecimalNumber *one;
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: decimalNumber];
error: error
leftOperand: self
rightOperand: decimalNumber];
if (res != nil)
return res;
}
@ -401,14 +407,14 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power
- (NSDecimalNumber*) decimalNumberByMultiplyingByPowerOf10: (short)power
{
return [self decimalNumberByMultiplyingByPowerOf10: power
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power
withBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByMultiplyingByPowerOf10: (short)power
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -416,13 +422,13 @@ static NSDecimalNumber *one;
NSDecimalNumber *res;
error = NSDecimalMultiplyByPowerOf10(&result, &d1,
power, [behavior roundingMode]);
power, [behavior roundingMode]);
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: nil];
error: error
leftOperand: self
rightOperand: nil];
if (res != nil)
return res;
}
@ -430,14 +436,14 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
{
return [self decimalNumberByRaisingToPower: power
withBehavior: [isa defaultBehavior]];
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power
withBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -445,13 +451,13 @@ static NSDecimalNumber *one;
NSDecimalNumber *res;
error = NSDecimalPower(&result, &d1,
power, [behavior roundingMode]);
power, [behavior roundingMode]);
if (error)
{
res = [behavior exceptionDuringOperation: _cmd
error: error
leftOperand: self
rightOperand: nil];
error: error
leftOperand: self
rightOperand: nil];
if (res != nil)
return res;
}
@ -459,7 +465,8 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber *)decimalNumberByRoundingAccordingToBehavior:(id <NSDecimalNumberBehaviors>)behavior
- (NSDecimalNumber*) decimalNumberByRoundingAccordingToBehavior:
(id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;
NSDecimal d1 = [self decimalValue];
@ -476,9 +483,9 @@ static NSDecimalNumber *one;
rightOperand: (NSDecimalNumber*)rightOperand
{
return [[isa defaultBehavior] exceptionDuringOperation: method
error: error
leftOperand: leftOperand
rightOperand: rightOperand];
error: error
leftOperand: leftOperand
rightOperand: rightOperand];
}
- (NSRoundingMode) roundingMode

View file

@ -1,4 +1,4 @@
/* NSDictionary - Dictionary object to store key/value pairs
/** NSDictionary - Dictionary object to store key/value pairs
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation for GNU Objective-C version of NSDistantObject
/** Implementation for GNU Objective-C version of NSDistantObject
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation for GNU Objective-C version of NSDistributedLock
/** Implementation for GNU Objective-C version of NSDistributedLock
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation of NSDistributedNotificationCenter class
/** Implementation of NSDistributedNotificationCenter class
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* NSEnumerator abstrace class for GNUStep
/** NSEnumerator abstrace class for GNUStep
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* NSException - Object encapsulation of a general exception handler
/** NSException - Object encapsulation of a general exception handler
Copyright (C) 1993, 1994, 1996, 1997, 1999 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* Implementation for NSFileHandle for GNUStep
/** Implementation for NSFileHandle for GNUStep
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
@ -389,7 +389,7 @@ NSString* NSFileHandleOperationException =
[self subclassResponsibility: _cmd];
}
- (void) writeInBackgroundAndNotify: (NSData*)item;
- (void) writeInBackgroundAndNotify: (NSData*)item
{
[self subclassResponsibility: _cmd];
}

View file

@ -1,4 +1,4 @@
/*
/**
NSFileManager.m
Copyright (C) 1997-1999 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/* Implementation of NSFormatter class
/** Implementation of NSFormatter class
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* NSGeometry.m - geometry functions
/** NSGeometry.m - geometry functions
* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
*
* Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* NSHashTable implementation for GNUStep.
/** NSHashTable implementation for GNUStep.
* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
*
* Author: Albin L. Jones <Albin.L.Jones@Dartmouth.EDU>

View file

@ -1,4 +1,4 @@
/* Implementation of host class
/** Implementation of host class
Copyright (C) 1996, 1997,1999 Free Software Foundation, Inc.
Written by: Luke Howard <lukeh@xedoc.com.au>
@ -416,7 +416,7 @@ static NSString *myHostName = nil;
[_hostCacheLock unlock];
}
+ (BOOL) isHostCacheEnabled;
+ (BOOL) isHostCacheEnabled
{
return _hostCacheEnabled;
}

View file

@ -1,4 +1,4 @@
/* Implementation of NSInvocation for GNUStep
/** Implementation of NSInvocation for GNUStep
Copyright (C) 1998 Free Software Foundation, Inc.
Written: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Mutual exclusion locking classes
/** Mutual exclusion locking classes
Copyright (C) 1996 Free Software Foundation, Inc.
Author: Scott Christley <scottc@net-community.com>

View file

@ -1,4 +1,4 @@
/* Interface for NSLog for GNUStep
/** Interface for NSLog for GNUStep
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* NSMapTable implementation for GNUStep.
/** NSMapTable implementation for GNUStep.
* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
*
* Author: Albin L. Jones <Albin.L.Jones@Dartmouth.EDU>

View file

@ -1,4 +1,4 @@
/* Implementation of NSMethodSignature for GNUStep
/** Implementation of NSMethodSignature for GNUStep
Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of NSNotification for GNUstep
/** Implementation of NSNotification for GNUstep
Copyright (C) 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
@ -31,7 +31,7 @@
/* This is the designated initializer. */
- (id) initWithName: (NSString*)name
object: (id)object
userInfo: (id)info
userInfo: (NSDictionary*)info
{
[super init];
_name = [name copyWithZone: NSDefaultMallocZone()];
@ -53,7 +53,7 @@
+ (NSNotification*) notificationWithName: (NSString*)name
object: (id)object
userInfo: (id)info
userInfo: (NSDictionary*)info
{
return AUTORELEASE([[self allocWithZone: NSDefaultMallocZone()]
initWithName: name object: object userInfo: info]);

View file

@ -1,4 +1,4 @@
/* Implementation of NSNotificationCenter for GNUstep
/** Implementation of NSNotificationCenter for GNUstep
Copyright (C) 1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/*
/**
NSNotificationQueue.m
Copyright (C) 1995, 1996 Ovidiu Predescu and Mircea Oancea.
@ -344,7 +344,7 @@ add_to_queue(NSNotificationQueueList *queue, NSNotification *notification,
/* Inserting and Removing Notifications From a Queue */
- (void) dequeueNotificationsMatching: (NSNotification*)notification
coalesceMask: (NSNotificationCoalescing)coalesceMask
coalesceMask: (unsigned int)coalesceMask
{
NSNotificationQueueRegistration *item;
NSNotificationQueueRegistration *next;
@ -446,21 +446,22 @@ add_to_queue(NSNotificationQueueList *queue, NSNotification *notification,
postingStyle: (NSPostingStyle)postingStyle
{
[self enqueueNotification: notification
postingStyle: postingStyle
coalesceMask: NSNotificationCoalescingOnName
+ NSNotificationCoalescingOnSender
forModes: nil];
postingStyle: postingStyle
coalesceMask: NSNotificationCoalescingOnName
+ NSNotificationCoalescingOnSender
forModes: nil];
}
- (void) enqueueNotification: (NSNotification*)notification
postingStyle: (NSPostingStyle)postingStyle
coalesceMask: (NSNotificationCoalescing)coalesceMask
coalesceMask: (unsigned int)coalesceMask
forModes: (NSArray*)modes
{
if (coalesceMask != NSNotificationNoCoalescing)
[self dequeueNotificationsMatching: notification
coalesceMask: coalesceMask];
{
[self dequeueNotificationsMatching: notification
coalesceMask: coalesceMask];
}
switch (postingStyle)
{
case NSPostNow:

View file

@ -1,4 +1,4 @@
/* Implementation for NSNull for GNUStep
/** Implementation for NSNull for GNUStep
Copyright (C) 2000 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -1,4 +1,4 @@
/* NSNumber - Object encapsulation of numbers
/** NSNumber - Object encapsulation of numbers
Copyright (C) 1993, 1994, 1996, 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/**
NSNumberFormatter class
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/* Implementation of ObjC runtime for GNUStep
/** Implementation of ObjC runtime for GNUStep
Copyright (C) 1995 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of page-related functions for GNUstep
/** Implementation of page-related functions for GNUstep
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation for NSPipe for GNUStep
/** Implementation for NSPipe for GNUStep
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation of abstract superclass port for use with NSConnection
/** Implementation of abstract superclass port for use with NSConnection
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation of NSPortCoder object for remote messaging
/** Implementation of NSPortCoder object for remote messaging
Copyright (C) 1997,2000 Free Software Foundation, Inc.
This implementation for OPENSTEP conformance written by

View file

@ -1,4 +1,4 @@
/* Implementation of NSPortMessage for GNUstep
/** Implementation of NSPortMessage for GNUstep
Copyright (C) 1998,2000 Free Software Foundation, Inc.
Written by: Richard frith-Macdonald <richard@brainstorm.co.Ik>

View file

@ -1,4 +1,4 @@
/* Implementation of NSPortNameServer class for Distributed Objects
/** Implementation of NSPortNameServer class for Distributed Objects
Copyright (C) 1998,1999,2000 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,9 +1,10 @@
/* Implementation for NSProcessInfo for GNUStep
Copyright (C) 1995-1999 Free Software Foundation, Inc.
/** Implementation for NSProcessInfo for GNUStep
Copyright (C) 1995-2001 Free Software Foundation, Inc.
Written by: Georg Tuparev, EMBL & Academia Naturalis,
Written by: Georg Tuparev <Tuparev@EMBL-Heidelberg.de>
Heidelberg, Germany
Tuparev@EMBL-Heidelberg.de
Modified by: Richard Frith-Macdonald <rfm@gnu.org>
This file is part of the GNUstep Base Library.
@ -523,7 +524,7 @@ int main(int argc, char *argv[], char *env[])
*/
+ (void)initializeWithArguments:(char**)argv
count:(int)argc
environment:(char**)env;
environment:(char**)env
{
if (!_gnu_processName && !_gnu_arguments && !_gnu_environment)
{

View file

@ -1,4 +1,4 @@
/* Implementation of NSProtocolChecker for GNUStep
/** Implementation of NSProtocolChecker for GNUStep
Copyright (C) 1995 Free Software Foundation, Inc.
Written by: Mike Kienenberger

View file

@ -1,4 +1,4 @@
/* Implementation for GNU Objective-C version of NSProxy
/** Implementation for GNU Objective-C version of NSProxy
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,6 +1,24 @@
/* NSRange - range functions
*/
/** NSRange - range functions
* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
*
* Written by: Adam Fedor <fedor@boulder.colorado.edu>
* Date: Mar 1995
*
* This file is part of the GNUstep Base Library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#include <config.h>

View file

@ -1,4 +1,4 @@
/* Implementation of object for waiting on several input seurces
/** Implementation of object for waiting on several input seurces
Copyright (C) 1996-1999 Free Software Foundation, Inc.
Original by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
@ -650,12 +650,12 @@ static NSComparisonResult aSort(GSIArrayItem i0, GSIArrayItem i1)
/* Running the run loop once through for timers and input listening. */
- (BOOL) runOnceBeforeDate: date forMode: (NSString*)mode
- (BOOL) runOnceBeforeDate: (NSDate*)date forMode: (NSString*)mode
{
return [self runMode: mode beforeDate: date];
}
- (BOOL) runOnceBeforeDate: date
- (BOOL) runOnceBeforeDate: (NSDate*)date
{
return [self runOnceBeforeDate: date forMode: _current_mode];
}
@ -685,7 +685,7 @@ static NSComparisonResult aSort(GSIArrayItem i0, GSIArrayItem i1)
[[self currentRunLoop] runUntilDate: date];
}
+ (BOOL) runOnceBeforeDate: date forMode: (NSString*)mode
+ (BOOL) runOnceBeforeDate: (NSDate*)date forMode: (NSString*)mode
{
return [[self currentRunLoop] runOnceBeforeDate: date forMode: mode];
}
@ -832,7 +832,7 @@ const NSMapTableValueCallBacks ArrayMapValueCallBacks =
/* Adding timers. They are removed when they are invalid. */
- (void) addTimer: timer
- (void) addTimer: (NSTimer*)timer
forMode: (NSString*)mode
{
GSIArray timers;
@ -1015,7 +1015,7 @@ const NSMapTableValueCallBacks ArrayMapValueCallBacks =
If LIMIT_DATE is nil, then don't wait; i.e. call select() with 0 timeout */
- (void) acceptInputForMode: (NSString*)mode
beforeDate: limit_date
beforeDate: (NSDate*)limit_date
{
NSTimeInterval ti;
struct timeval timeout;
@ -1404,7 +1404,17 @@ const NSMapTableValueCallBacks ArrayMapValueCallBacks =
- (void) runUntilDate: (NSDate*)date
{
[self runUntilDate: date forMode: _current_mode];
double ti = [date timeIntervalSinceNow];
BOOL mayDoMore = YES;
/* Positive values are in the future. */
while (ti > 0 && mayDoMore == YES)
{
if (debug_run_loop)
printf ("\tNSRunLoop run until date %f seconds from now\n", ti);
mayDoMore = [self runMode: NSDefaultRunLoopMode beforeDate: date];
ti = [date timeIntervalSinceNow];
}
}
@end

View file

@ -1,8 +1,10 @@
/* Implemenation of NSScanner class
/** Implemenation of NSScanner class
Copyright (C) 1996,1999 Free Software Foundation, Inc.
Author: Eric Norum <eric@skatter.usask.ca>
Date: 1996
Rewrite/optimisation by: Richard Frith-Macdonald <rfm@gnu.org>
Date: 1998
This file is part of the GNUstep Objective-C Library.

View file

@ -1,4 +1,4 @@
/* Class for serialization in GNUStep
/** Class for serialization in GNUStep
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Richard Frith-Macdoanld <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* NSSet - Set object to store key/value pairs
/** NSSet - Set object to store key/value pairs
Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* Implementation of GNUSTEP string class
/** Implementation of GNUSTEP string class
Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
@ -1950,7 +1950,7 @@ handle_printf_atsign (FILE *stream,
initWithCharactersNoCopy: s length: len freeWhenDone: YES]);
}
- (NSString*) uppercaseString;
- (NSString*) uppercaseString
{
unichar *s;
unsigned count;

View file

@ -1,4 +1,4 @@
/* Implementation for NSTask for GNUStep
/** Implementation for NSTask for GNUStep
Copyright (C) 1998,1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
@ -394,7 +394,7 @@ pty_slave(const char* name)
ASSIGN(_standardError, hdl);
}
- (void) setStandardInput: (NSFileHandle*)hdl
- (void) setStandardInput: (id)hdl
{
NSAssert([hdl isKindOfClass: [NSFileHandle class]] ||
[hdl isKindOfClass: [NSPipe class]], NSInvalidArgumentException);
@ -406,7 +406,7 @@ pty_slave(const char* name)
ASSIGN(_standardInput, hdl);
}
- (void) setStandardOutput: (NSFileHandle*)hdl
- (void) setStandardOutput: (id)hdl
{
NSAssert([hdl isKindOfClass: [NSFileHandle class]] ||
[hdl isKindOfClass: [NSPipe class]], NSInvalidArgumentException);

View file

@ -1,4 +1,4 @@
/* Control of executable units within a shared virtual memory space
/** Control of executable units within a shared virtual memory space
Copyright (C) 1996-2000 Free Software Foundation, Inc.
Original Author: Scott Christley <scottc@net-community.com>

View file

@ -1,4 +1,4 @@
/* Time zone management. -*- Mode: ObjC -*-
/** Time zone management. -*- Mode: ObjC -*-
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Yoo C. Chung <wacko@laplace.snu.ac.kr>

View file

@ -1,9 +1,11 @@
/* Implementation of NSTimer for GNUstep
/** Implementation of NSTimer for GNUstep
Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
Created: March 1996
Rewrite by: Richard Frith-Macdonald <rfm@gnu.org>
This file is part of the GNUstep Base Library.
This library is free software; you can redistribute it and/or

View file

@ -1,8 +1,8 @@
/* NSUrl.m - Class NSURL
/** NSUrl.m - Class NSURL
Copyright (C) 1999 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@sbuilders.com>
Date: Jan 1999
Date: Jan 1999
This file is part of the GNUstep Library.

View file

@ -1,4 +1,4 @@
/* NSURLHandle.m - Class NSURLHandle
/** NSURLHandle.m - Class NSURLHandle
Copyright (C) 1999 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@sbuilders.com>

View file

@ -1,4 +1,4 @@
/* Implementation of NSUnarchiver for GNUstep
/** Implementation of NSUnarchiver for GNUstep
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard frith-Macdonald <richard@brainstorm.co.Ik>

View file

@ -1,4 +1,4 @@
/* Implementatikon for <NSUndoManager> for GNUStep
/** Implementatikon for <NSUndoManager> for GNUStep
Copyright (C) 1998 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation of login-related functions for GNUstep
/** Implementation of login-related functions for GNUstep
Copyright (C) 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,9 +1,10 @@
/* Implementation for NSUserDefaults for GNUstep
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
/** Implementation for NSUserDefaults for GNUstep
Copyright (C) 1995-2001 Free Software Foundation, Inc.
Written by: Georg Tuparev, EMBL & Academia Naturalis,
Written by: Georg Tuparev <Tuparev@EMBL-Heidelberg.de>
EMBL & Academia Naturalis,
Heidelberg, Germany
Tuparev@EMBL-Heidelberg.de
Modified by: Richard Frith-Macdonald <rfm@gnu.org>
This file is part of the GNUstep Base Library.

View file

@ -1,4 +1,4 @@
/* NSValue.m - Object encapsulation for C types.
/** NSValue.m - Object encapsulation for C types.
Copyright (C) 1993, 1994, 1996, 1999 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@boulder.colorado.edu>

View file

@ -1,4 +1,4 @@
/* Zone memory management. -*- Mode: ObjC -*-
/** Zone memory management. -*- Mode: ObjC -*-
Copyright (C) 1997,1998 Free Software Foundation, Inc.
Written by: Yoo C. Chung <wacko@laplace.snu.ac.kr>

View file

@ -1,4 +1,4 @@
/* Support functions for Unicode implementation
/** Support functions for Unicode implementation
Function to determine default c string encoding for
GNUstep based on GNUSTEP_STRING_ENCODING environment variable.

View file

@ -1,4 +1,4 @@
/* Implementation for UnixFileHandle for GNUStep
/** Implementation for UnixFileHandle for GNUStep
Copyright (C) 1997-1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -1,4 +1,4 @@
/* Implementation for WindowsFileHandle for GNUStep
/** Implementation for WindowsFileHandle for GNUStep
Copyright (C) 1997-1999 Free Software Foundation, Inc.
Rewritten: Adam Fedor <fedor@gnu.org>

View file

@ -1,4 +1,4 @@
/* Behaviors for Objective-C, "for Protocols with implementations".
/** Behaviors for Objective-C, "for Protocols with implementations".
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* callframe.m - Wrapper/Objective-C interface for ffcall function interface
/** callframe.m - Wrapper/Objective-C interface for ffcall function interface
Copyright (C) 2000, Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/* cifframe.m - Wrapper/Objective-C interface for ffi function interface
/** cifframe.m - Wrapper/Objective-C interface for ffi function interface
Copyright (C) 1999, Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/* All of the external data
/** All of the external data
Copyright (C) 1997 Free Software Foundation, Inc.
Written by: Scott Christley <scottc@net-community.com>

View file

@ -1,4 +1,4 @@
/* DLL entry routine
/** DLL entry routine
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Original Author: Scott Christley <scottc@net-community.com>

View file

@ -1,4 +1,4 @@
/* Implementation of functions for dissecting/making method calls
/** Implementation of functions for dissecting/making method calls
Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>

View file

@ -1,4 +1,4 @@
/* A (pretty good) implementation of a sparse array.
/** A (pretty good) implementation of a sparse array.
* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
*
* Author: Albin L. Jones <Albin.L.Jones@Dartmouth.EDU>