diff --git a/ChangeLog b/ChangeLog index 9b09bba..9d0ae28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,83 +1,90 @@ +2010-04-24 David Ayers + + * GSWeb.framework/GSWMultiKeyDictionary.h/m: + Adapt API to current NSDictionary API. + 2010-04-23 David Wetzel - Examples/hello/INSTALL - * updated to flags really needed + + * Examples/hello/INSTALL: + updated to flags really needed 2010-04-16 David Wetzel - GSWApplication.*: - * use [[NSThread currentThread] threadDictionary] - GSWMultiKeyDictionary.m - * fix format - GSWRequest.m - * fix potential double release - GSWComponentRequestHandler.* - * add comments for rejectFavicon - GSWSessionTimeOutManager.m - * fix index - NSString+HTML.m, GSWBaseParser.m, GSWDeclarationParser.m, GSWHTMLRawParser.m - * use NSZoneMalloc() - GSWMultiKeyDictionary.m: - * fixed description + + * GSWApplication.*: + use [[NSThread currentThread] threadDictionary] + * GSWMultiKeyDictionary.m: fix format + * GSWRequest.m: fix potential double release + * GSWComponentRequestHandler.*: add comments for rejectFavicon + * GSWSessionTimeOutManager.m: fix index + * NSString+HTML.m, GSWBaseParser.m, GSWDeclarationParser.m, + * GSWHTMLRawParser.m: use NSZoneMalloc() + * GSWMultiKeyDictionary.m: fixed description 2010-04-16 David Wetzel - * fixed memory leak - * ported to OS X (beta) - * depricated GSW naming + + * fixed memory leak + * ported to OS X (beta) + * depricated GSW naming 2010-04-16 David Wetzel - GSWeb.framework - * Many warnings fixed. - * Removed GDL dependency. - * NSKeyValueCoding is now MacOS X compatible. + + * GSWeb.framework: Many warnings fixed. + Removed GDL dependency. + * NSKeyValueCoding is now MacOS X compatible. 2010-04-15 David Wetzel - new GSWDatabase Framework for EOF/GDL based applications - not tested yet! - GSWeb.framework: - * Moved WODisplayGroup.? to GSWDatabase - changed: GNUmakefile GSWeb.h GSWWOCompatibility.h - * GSWApplication: removed EOF - * small cleanups - * GSWUtils.m EONull -> NSNull - * GSWApplication+Defaults.m, GSWPrivate.h additions for Monitoring - * added NSObject+XML.? + + * new GSWDatabase Framework for EOF/GDL based applications + not tested yet! + * GSWeb.framework: + * Moved WODisplayGroup.? to GSWDatabase + changed: GNUmakefile GSWeb.h GSWWOCompatibility.h + * GSWApplication: removed EOF + * small cleanups + * GSWUtils.m EONull -> NSNull + * GSWApplication+Defaults.m, GSWPrivate.h additions for Monitoring + * added NSObject+XML.? 2010-04-14 David Wetzel - Apache2/GNUmakefile.in - * changed flags, clean now + + * Apache2/GNUmakefile.in: changed flags, clean now 2010-01-20 David Wetzel - GSWeb.framework/GSWApplication.m - * added _setHostAddress:, hostAddress - GSWeb.framework/GSWRequest.h - * added _originatingAddress, _originatingPort + * GSWeb.framework/GSWApplication.m: + added _setHostAddress:, hostAddress - GSWeb.framework/GSWDisplayGroup.h - * changed undoManager to be id as compile fix for TCSDB. + * GSWeb.framework/GSWRequest.h: + added _originatingAddress, _originatingPort + + * GSWeb.framework/GSWDisplayGroup.h: + changed undoManager to be id as compile fix for TCSDB. - GSWeb.framework/GSWApplication+Defaults.m - * added hostAddress + * GSWeb.framework/GSWApplication+Defaults.m: + added hostAddress - GSWeb.framework/GSWHTTPIO.h - * added _setAlwaysAppendContentLength + * GSWeb.framework/GSWHTTPIO.h: + added _setAlwaysAppendContentLength - GSWeb.framework/GSWHTTPIO.m - * added _alwaysAppendContentLength - * added + (void) _getConnectionInfoFromHandle:remoteAddress:remotePort: - * set originatingAddress and port to request now. - - GSWeb.framework/GSWApplication.h - * added _hostAddress, hostAddress, _setHostAddress - * removed lots of @interface lines. + * GSWeb.framework/GSWHTTPIO.m: + added _alwaysAppendContentLength + added + (void) _getConnectionInfoFromHandle:remoteAddress:remotePort: + set originatingAddress and port to request now. + + * GSWeb.framework/GSWApplication.h: + added _hostAddress, hostAddress, _setHostAddress + removed lots of @interface lines. 2009-06-12 David Wetzel - GSWAdaptors/Apache2/GNUmakefile.in - * added -g to include debug info as default + + * GSWAdaptors/Apache2/GNUmakefile.in: + added -g to include debug info as default 2009-06-12 David Wetzel - GSWAdaptors/Apache2/mod_gsw.c: - * removed unused read_sock() - * reformated read_sock_line() + + * GSWAdaptors/Apache2/mod_gsw.c: + removed unused read_sock() + reformated read_sock_line() 2009-04-14 David Ayers diff --git a/GSWeb.framework/GSWMultiKeyDictionary.h b/GSWeb.framework/GSWMultiKeyDictionary.h index df0b926..50502c9 100644 --- a/GSWeb.framework/GSWMultiKeyDictionary.h +++ b/GSWeb.framework/GSWMultiKeyDictionary.h @@ -40,7 +40,7 @@ }; +(id)dictionary; --(id)initWithCapacity:(unsigned int)capacity; +-(id)initWithCapacity:(NSUInteger)capacity; -(void)setObject:(id)object forKeys:(id)keys,...; diff --git a/GSWeb.framework/GSWMultiKeyDictionary.m b/GSWeb.framework/GSWMultiKeyDictionary.m index 5ed9717..9a3e4e1 100644 --- a/GSWeb.framework/GSWMultiKeyDictionary.m +++ b/GSWeb.framework/GSWMultiKeyDictionary.m @@ -128,7 +128,7 @@ struct _GSWMapBucket { struct _GSWMapBase { NSZone *zone; - unsigned int nodeSize; /* Size of a node */ + NSUInteger nodeSize; /* Size of a node */ GSWMapTable firstTable; GSWMapTable freeTables; /* List of unused tables. */ @@ -857,7 +857,7 @@ static void GSWMapCleanMap(GSWMapTable map) if (map->nodeCount > 0) { GSWMapBucket bucket = map->buckets; - unsigned int i; + NSUInteger i; GSWMapNode startNode = 0; GSWMapNode prevNode = 0; GSWMapNode node = NULL; @@ -922,7 +922,7 @@ static void GSWMapCleanBase(GSWMapBase base) //-------------------------------------------------------------------- static void GSWMapEmptyBase(GSWMapBase base) { - unsigned int i=0; + NSUInteger i=0; GSWMapEmptyMap(base->firstTable); base->firstTable=NULL; @@ -983,10 +983,10 @@ static void GSWMapBaseInitWithZoneAndCapacity(GSWMapBase base, //============================================================================== @interface GSWMultiKeyDictionary(Private) -+(id)dictionaryWithNodeSize:(unsigned int)nodeSize; --(id)initWithNodeSize:(unsigned int)nodeSize; --(id)initWithNodeSize:(unsigned int)nodeSize - capacity:(unsigned int)capacity; ++(id)dictionaryWithNodeSize:(NSUInteger)nodeSize; +-(id)initWithNodeSize:(NSUInteger)nodeSize; +-(id)initWithNodeSize:(NSUInteger)nodeSize + capacity:(NSUInteger)capacity; -(void)setObject:(id)object forKeys:(id*)keys @@ -1004,7 +1004,7 @@ static void GSWMapBaseInitWithZoneAndCapacity(GSWMapBase base, @implementation GSWMultiKeyDictionary : NSObject //------------------------------------------------------------------------------ -+(id)dictionaryWithNodeSize:(unsigned int)nodeSize ++(id)dictionaryWithNodeSize:(NSUInteger)nodeSize { NSCAssert2(nodeSize>=sizeof(GSWMapNode_t), @"Bad node size: %u < %u", @@ -1020,7 +1020,7 @@ static void GSWMapBaseInitWithZoneAndCapacity(GSWMapBase base, }; //------------------------------------------------------------------------------ --(id)initWithNodeSize:(unsigned int)nodeSize +-(id)initWithNodeSize:(NSUInteger)nodeSize { LOGObjectFnStart(); NSCAssert2(nodeSize>=sizeof(GSWMapNode_t), @@ -1043,8 +1043,8 @@ static void GSWMapBaseInitWithZoneAndCapacity(GSWMapBase base, }; //------------------------------------------------------------------------------ --(id)initWithNodeSize:(unsigned int)nodeSize - capacity:(unsigned int)capacity +-(id)initWithNodeSize:(NSUInteger)nodeSize + capacity:(NSUInteger)capacity { LOGObjectFnStart(); NSCAssert2(nodeSize>=sizeof(GSWMapNode_t), @@ -1068,7 +1068,7 @@ static void GSWMapBaseInitWithZoneAndCapacity(GSWMapBase base, }; //------------------------------------------------------------------------------ --(id)initWithCapacity:(unsigned int)capacity +-(id)initWithCapacity:(NSUInteger)capacity { LOGObjectFnStart(); [self initWithNodeSize:sizeof(GSWMapNode_t)