mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 03:01:27 +00:00
* 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:
parent
186f386a23
commit
411bedc4a6
3 changed files with 78 additions and 71 deletions
123
ChangeLog
123
ChangeLog
|
@ -1,83 +1,90 @@
|
|||
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
|
||||
|
||||
* 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.
|
||||
* 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 <dave@turbocat.de>
|
||||
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 <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/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 <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>
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
};
|
||||
|
||||
+(id)dictionary;
|
||||
-(id)initWithCapacity:(unsigned int)capacity;
|
||||
-(id)initWithCapacity:(NSUInteger)capacity;
|
||||
|
||||
-(void)setObject:(id)object
|
||||
forKeys:(id)keys,...;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue