diff --git a/ChangeLog b/ChangeLog index 0a38328ba..1abf0f530 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-04-26 Richard Frith-Macdonald + + * Headers/Foundation/NSTimeZone.h: + * Headers/Foundation/NSPropertyList.h: + * Headers/Foundation/NSZone.h: + * Source/NSHashTable.m: + * Source/NSZone.m: + * Source/NSDecimal.m: + Fix errors generating documentation. + 2009-04-26 Richard Frith-Macdonald * Source/NSFileManager.m: ([changeFileAttributes:atPath:]) optimise diff --git a/Headers/Foundation/NSPropertyList.h b/Headers/Foundation/NSPropertyList.h index c79f01fc0..27f166322 100644 --- a/Headers/Foundation/NSPropertyList.h +++ b/Headers/Foundation/NSPropertyList.h @@ -47,12 +47,12 @@ enum { /** * Describes the mutability to use when generating objects during * deserialisation of a property list. - * - * NSPropertyListImmutable - * all objects in created list are immutable - * NSPropertyListMutableContainers - * dictionaries, arrays, strings and data objects are mutable - * + * + * NSPropertyListImmutable + * all objects in created list are immutable + * NSPropertyListMutableContainers + * dictionaries, arrays, strings and data objects are mutable + * */ typedef NSUInteger NSPropertyListMutabilityOptions; @@ -66,18 +66,18 @@ enum { }; /** * Specifies the serialisation format for a serialised property list. - * - * NSPropertyListOpenStepFormat - * the most human-readable format - * NSPropertyListXMLFormat_v1_0 - * portable and readable - * NSPropertyListBinaryFormat_v1_0 - * the standard format on macos-x - * NSPropertyListGNUstepFormat - * extension of OpenStep format - * NSPropertyListGNUstepBinaryFormat - * efficient, hardware independent - * + * + * NSPropertyListOpenStepFormat + * the most human-readable format + * NSPropertyListXMLFormat_v1_0 + * portable and readable + * NSPropertyListBinaryFormat_v1_0 + * the standard format on macos-x + * NSPropertyListGNUstepFormat + * extension of OpenStep format + * NSPropertyListGNUstepBinaryFormat + * efficient, hardware independent + * */ typedef NSUInteger NSPropertyListFormat; diff --git a/Headers/Foundation/NSTimeZone.h b/Headers/Foundation/NSTimeZone.h index 2db89f416..e3737d93e 100644 --- a/Headers/Foundation/NSTimeZone.h +++ b/Headers/Foundation/NSTimeZone.h @@ -35,6 +35,16 @@ extern "C" { @class NSLocale; @class NSString; +#if OS_API_VERSION(100500,GS_API_LATEST) +enum { + NSTimeZoneNameStyleStandard, + NSTimeZoneNameStyleShortStandard, + NSTimeZoneNameStyleDaylightSaving, + NSTimeZoneNameStyleShortDaylightSaving +}; +typedef NSInteger NSTimeZoneNameStyle; +#endif + @interface NSTimeZone : NSObject //Creating and Initializing an NSTimeZone @@ -86,13 +96,6 @@ extern "C" { /** Not implemented */ - (NSDate *) nextDaylightSavingTimeTransition; -enum { - NSTimeZoneNameStyleStandard, - NSTimeZoneNameStyleShortStandard, - NSTimeZoneNameStyleDaylightSaving, - NSTimeZoneNameStyleShortDaylightSaving -}; -typedef NSInteger NSTimeZoneNameStyle; - (NSString *)localizedName: (NSTimeZoneNameStyle)style locale: (NSLocale *)locale; GS_EXPORT NSString * const NSSystemTimeZoneDidChangeNotification; diff --git a/Headers/Foundation/NSZone.h b/Headers/Foundation/NSZone.h index 527b16f11..14d317f42 100644 --- a/Headers/Foundation/NSZone.h +++ b/Headers/Foundation/NSZone.h @@ -112,7 +112,7 @@ NSZoneFromPointer (void *ptr); * given zone. Returns NULL if allocation of size 0 requested. Raises * NSMallocException if not enough free memory in zone to * allocate and no more can be obtained from system, unless using the - * default zone, in which case NULL is returned.
+ * default zone, in which case NULL is returned.
* If Garbage Collection is enabled, this function always allocates * non-scanned, non-collectable memory in the NSDefaultMallocZone() and * the zone argument is ignored. diff --git a/Source/NSDecimal.m b/Source/NSDecimal.m index 98f1ceced..5088bf4cc 100644 --- a/Source/NSDecimal.m +++ b/Source/NSDecimal.m @@ -1120,7 +1120,7 @@ NSSimpleCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand) } void -NSDecimalRound(NSDecimal *result, const NSDecimal *number, int scale, +NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale, NSRoundingMode mode) { GSDecimal m; diff --git a/Source/NSHashTable.m b/Source/NSHashTable.m index 722ecd0be..0d03cb134 100644 --- a/Source/NSHashTable.m +++ b/Source/NSHashTable.m @@ -72,7 +72,7 @@ static Class concreteClass = 0; return AUTORELEASE(t); } -+ (id) hashTableWithWeakObjects; ++ (id) hashTableWithWeakObjects { return [self hashTableWithOptions: NSPointerFunctionsObjectPersonality | NSPointerFunctionsZeroingWeakMemory]; @@ -276,7 +276,7 @@ static Class concreteClass = 0; } } -- (void) removeObject: (id)aKey +- (void) removeObject: (id)object { [self subclassResponsibility: _cmd]; } diff --git a/Source/NSZone.m b/Source/NSZone.m index 2b1ee6a09..6d069019e 100644 --- a/Source/NSZone.m +++ b/Source/NSZone.m @@ -372,9 +372,9 @@ NSZoneStats NSZoneStats (NSZone *zone) } void -GSMakeWeakPointer(Class class, const char *iVarName) +GSMakeWeakPointer(Class theClass, const char *iVarName) { - class_ivar_set_gcinvisible(class, iVarName, YES); + class_ivar_set_gcinvisible(theClass, iVarName, YES); } BOOL @@ -1992,7 +1992,7 @@ GSAtomicMallocZone (void) } void -GSMakeWeakPointer(Class class, const char *iVarName) +GSMakeWeakPointer(Class theClass, const char *iVarName) { return; }