* GSWeb.framework/GSWMultiKeyDictionary.h/m:

Adapt API to current NSDictionary API.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30231 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2010-04-24 12:26:59 +00:00
parent 186f386a23
commit 411bedc4a6
3 changed files with 78 additions and 71 deletions

View file

@ -1,38 +1,42 @@
2010-04-24 David Ayers <ayers@fsfe.org>
* GSWeb.framework/GSWMultiKeyDictionary.h/m:
Adapt API to current NSDictionary API.
2010-04-23 David Wetzel <dave@turbocat.de>
Examples/hello/INSTALL
* updated to flags really needed
* Examples/hello/INSTALL:
updated to flags really needed
2010-04-16 David Wetzel <dave@turbocat.de>
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 <dave@turbocat.de>
* fixed memory leak
* ported to OS X (beta)
* depricated GSW naming
2010-04-16 David Wetzel <dave@turbocat.de>
GSWeb.framework
* Many warnings fixed.
* Removed GDL dependency.
* GSWeb.framework: Many warnings fixed.
Removed GDL dependency.
* NSKeyValueCoding is now MacOS X compatible.
2010-04-15 David Wetzel <dave@turbocat.de>
new GSWDatabase Framework for EOF/GDL based applications
* new GSWDatabase Framework for EOF/GDL based applications
not tested yet!
GSWeb.framework:
* GSWeb.framework:
* Moved WODisplayGroup.? to GSWDatabase
changed: GNUmakefile GSWeb.h GSWWOCompatibility.h
* GSWApplication: removed EOF
@ -42,42 +46,45 @@
* added NSObject+XML.?
2010-04-14 David Wetzel <dave@turbocat.de>
Apache2/GNUmakefile.in
* changed flags, clean now
* Apache2/GNUmakefile.in: changed flags, clean now
2010-01-20 David Wetzel <dave@turbocat.de>
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/GSWApplication+Defaults.m
* added hostAddress
* GSWeb.framework/GSWDisplayGroup.h:
changed undoManager to be id as compile fix for TCSDB.
GSWeb.framework/GSWHTTPIO.h
* added _setAlwaysAppendContentLength
* GSWeb.framework/GSWApplication+Defaults.m:
added hostAddress
GSWeb.framework/GSWHTTPIO.m
* added _alwaysAppendContentLength
* added + (void) _getConnectionInfoFromHandle:remoteAddress:remotePort:
* set originatingAddress and port to request now.
* GSWeb.framework/GSWHTTPIO.h:
added _setAlwaysAppendContentLength
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 <dave@turbocat.de>
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 <dave@turbocat.de>
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 <ayers@fsfe.org>

View file

@ -40,7 +40,7 @@
};
+(id)dictionary;
-(id)initWithCapacity:(unsigned int)capacity;
-(id)initWithCapacity:(NSUInteger)capacity;
-(void)setObject:(id)object
forKeys:(id)keys,...;

View file

@ -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)