mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-16 08:20:59 +00:00
* EOMutableKnownKeyDictionary.h/m ([-initWithObjects:forKeys:count:]):
* EOFault.h/m ([-retainCount]): * EOKeyGlobalID.h/m ([-hash]): * EOMultiReaderLock.m ([-tryLockForReading]): * EOCheapArray.h/m ([-initWithObjects:count:],[initWithCapacity:]): * EOGlobalID.h/m ([-hash]): Use NS(U)Integer instead of int. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30160 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c557edfd4d
commit
09805686bf
18 changed files with 44 additions and 49 deletions
31
ANNOUNCE
31
ANNOUNCE
|
@ -1,5 +1,5 @@
|
|||
|
||||
The GNUstep Database Library 2 Package, version 0.12.0 is now available.
|
||||
The GNUstep Database Library 2 Package, version 0.12.1 is now available.
|
||||
|
||||
What is the GNUstep Database Library 2 Package?
|
||||
====================================
|
||||
|
@ -22,6 +22,12 @@ Debian Etch/x86
|
|||
Debian Lenny/x86
|
||||
CentOS 5.2/x68_64
|
||||
|
||||
Changes in version 0.12.1
|
||||
=========================
|
||||
This release contains the following changes:
|
||||
- Fix minor memory management bugs in DBModeler.
|
||||
- Adapt NSUndoManager handling to new behavior.
|
||||
|
||||
Changes in version 0.12.0
|
||||
=========================
|
||||
This release contains the following changes:
|
||||
|
@ -31,31 +37,10 @@ This release contains the following changes:
|
|||
- improved make 2.0 integration
|
||||
- minor bug fixes
|
||||
|
||||
Changes in version 0.11.0
|
||||
=========================
|
||||
This release contains the following changes:
|
||||
- Build as NATIVE_LIBRARY and renamed projects to
|
||||
(lib)EOControl, (lib)EOAccess and (lib)EOInterface
|
||||
- Adaption to the gnustep-make 2.0 infrastructure
|
||||
- Addition of an SQLiteAdaptor.
|
||||
- Removed dependency on GC classes.
|
||||
- Started update of the Postgres95->PostgreSQL adaptor
|
||||
(The goal is to migrate to the PostgreSQL 7/8 API and datatypes
|
||||
but this is still WIP.)
|
||||
- Much improved DBModeler application including initial diagram support.
|
||||
- Much improved GDL2Palette support.
|
||||
- Improved EODisplayGroup implementation.
|
||||
|
||||
- Bug fixes
|
||||
- Correct propagation or relationship attributes.
|
||||
- Correct determination of seconds and milliseconds in the
|
||||
PostgreSQL adaptor
|
||||
|
||||
|
||||
Where can you get it? How can you compile it?
|
||||
==============================================
|
||||
|
||||
The gnustep-dl2-0.11.0.tar.gz distribution file has been placed at
|
||||
The gnustep-dl2-0.12.1.tar.gz distribution file has been placed at
|
||||
<http://ftp.gnustep.org/pub/gnustep/libs>
|
||||
|
||||
Please log bug reports on the GNUstep project page
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
2010-04-14 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOMutableKnownKeyDictionary.h/m ([-initWithObjects:forKeys:count:]):
|
||||
* EOFault.h/m ([-retainCount]):
|
||||
* EOKeyGlobalID.h/m ([-hash]):
|
||||
* EOMultiReaderLock.m ([-tryLockForReading]):
|
||||
* EOCheapArray.h/m ([-initWithObjects:count:],[initWithCapacity:]):
|
||||
* EOGlobalID.h/m ([-hash]): Use NS(U)Integer instead of int.
|
||||
|
||||
2010-04-09 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOControl/EONSAddOns.h (GDL2_ActivateAllGDL2Categories):
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
- (id)initWithArray: (NSArray *)array;
|
||||
- (id)initWithObjects: (id *)objects
|
||||
count: (unsigned int)count;
|
||||
count: (NSUInteger)count;
|
||||
- (void)release;
|
||||
- (unsigned int)retainCount;
|
||||
- (id)retain;
|
||||
|
@ -66,9 +66,9 @@
|
|||
id _immutableCopy;
|
||||
}
|
||||
|
||||
- (id)initWithCapacity: (unsigned int)capacity;
|
||||
- (id)initWithCapacity: (NSUInteger)capacity;
|
||||
- (id)initWithObjects: (id *)objects
|
||||
count: (unsigned int)count;
|
||||
count: (NSUInteger)count;
|
||||
- (id)initWithArray: (NSArray *)array;
|
||||
- (void)dealloc;
|
||||
- (NSArray *)shallowCopy;
|
||||
|
|
|
@ -81,7 +81,7 @@ RCS_ID("$Id$")
|
|||
}
|
||||
|
||||
- (id) initWithObjects: (id*)objects
|
||||
count: (unsigned int)count
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
#ifdef DEBUG
|
||||
NSDebugFLog(@"initWithObjects EOCheapCopyArray %p",
|
||||
|
@ -206,7 +206,7 @@ RCS_ID("$Id$")
|
|||
|
||||
@implementation EOCheapCopyMutableArray
|
||||
|
||||
- (id) initWithCapacity: (unsigned int)capacity
|
||||
- (id) initWithCapacity: (NSUInteger)capacity
|
||||
{
|
||||
if (capacity == 0)
|
||||
{
|
||||
|
@ -221,7 +221,7 @@ RCS_ID("$Id$")
|
|||
}
|
||||
|
||||
- (id) initWithObjects: (id*)objects
|
||||
count: (unsigned int)count
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
self = [self initWithCapacity: count];
|
||||
|
||||
|
|
|
@ -1518,15 +1518,7 @@ _mergeValueForKey(id obj, id value,
|
|||
/* TODO Figure out when checkpoint notifications should cause the
|
||||
editing context to process changes */
|
||||
|
||||
/* In WO45 the NSUndoManager did not send a
|
||||
NSUndoManagerCheckpointNotification upon beginning an
|
||||
undo grouping. Current incarnations of GNUStep/Cocoa do.
|
||||
There for we guard against processing end of event during
|
||||
the beginning if an undo group here. */
|
||||
if ([_undoManager groupingLevel] > 0)
|
||||
{
|
||||
[self _processEndOfEventNotification: notification];
|
||||
}
|
||||
[self _processEndOfEventNotification: notification];
|
||||
}
|
||||
|
||||
- (BOOL) _processRecentChanges
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
- (id)retain;
|
||||
- (void)release;
|
||||
- (id)autorelease;
|
||||
- (unsigned)retainCount;
|
||||
- (NSUInteger)retainCount;
|
||||
|
||||
- (NSString *)description;
|
||||
- (NSString *)descriptionWithIndent: (unsigned)level;
|
||||
|
|
|
@ -388,7 +388,7 @@ static Class EOFaultClass = NULL;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (unsigned)retainCount
|
||||
- (NSUInteger)retainCount
|
||||
{
|
||||
return [_handler extraRefCount];
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ GDL2CONTROL_EXPORT NSString *EOGlobalIDChangedNotification;
|
|||
@interface EOGlobalID : NSObject <NSCopying>
|
||||
|
||||
- (BOOL)isEqual: (id)other;
|
||||
- (unsigned)hash;
|
||||
- (NSUInteger)hash;
|
||||
|
||||
- (BOOL)isTemporary;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ NSString *EOGlobalIDChangedNotification = @"EOGlobalIDChangedNotification";
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (unsigned)hash
|
||||
- (NSUInteger)hash
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
- (NSArray *)keyValuesArray;
|
||||
|
||||
- (BOOL)isEqual: (id)other;
|
||||
- (unsigned)hash;
|
||||
- (NSUInteger)hash;
|
||||
|
||||
- (BOOL)isFinal;
|
||||
- (NSString *)description;
|
||||
|
|
|
@ -155,7 +155,7 @@ RCS_ID("$Id$")
|
|||
}
|
||||
|
||||
|
||||
- (unsigned int)hash
|
||||
- (NSUInteger)hash
|
||||
{
|
||||
int i;
|
||||
unsigned int hash = 0;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
RCS_ID("$Id$")
|
||||
|
||||
#ifdef GNUSTEP
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSSet.h>
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
- (BOOL)tryLockForReading
|
||||
{
|
||||
NSThread *ct = [NSThread currentThread];
|
||||
int cnt = (int)NSMapGet(_readerThreads,ct);
|
||||
NSInteger cnt = (NSInteger)NSMapGet(_readerThreads,ct);
|
||||
BOOL flag;
|
||||
|
||||
if (ct == _writerLockThread)
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
objects: (id *)objects;
|
||||
- (id)initWithObjects: (id *)objects
|
||||
forKeys: (id *)keys
|
||||
count: (unsigned int)count;
|
||||
count: (NSUInteger)count;
|
||||
- (unsigned int)count;
|
||||
- (id)objectForKey: (id)key;
|
||||
- (void)setObject: (id)object
|
||||
|
|
|
@ -751,7 +751,7 @@ RCS_ID("$Id$")
|
|||
// This is the designated initializer
|
||||
- (id) initWithObjects: (id*)objects
|
||||
forKeys: (id*)keys
|
||||
count: (unsigned int)count
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
//OK
|
||||
EOMKKDInitializer *initializer = nil;
|
||||
|
|
8
NEWS
8
NEWS
|
@ -1,6 +1,14 @@
|
|||
News
|
||||
****
|
||||
|
||||
The currently released version of the library is `0.12.1'.
|
||||
|
||||
'alpha' release 0.12.1
|
||||
========================================
|
||||
This release contains the following changes:
|
||||
- Fix minor memory management bugs in DBModeler.
|
||||
- Adapt NSUndoManager handling to new behavior.
|
||||
|
||||
The currently released version of the library is `0.12.0'.
|
||||
|
||||
'alpha' release 0.12.0
|
||||
|
|
2
README
2
README
|
@ -62,7 +62,7 @@ the model objects.
|
|||
|
||||
The Trading framework, provides an example model, and some routines to
|
||||
create a database from the model, and populate the database with data,
|
||||
while not an example itself it is indented for use by example applications
|
||||
while not an example itself it is intended for use by example applications
|
||||
using GDL2 alone, EOInterface or GSWeb, and for higher level tests.
|
||||
|
||||
- Using GDL2 in other Projects
|
||||
|
|
2
Version
2
Version
|
@ -7,7 +7,7 @@ GNUSTEP_GCC=2.95.2
|
|||
# The version number of this release.
|
||||
MAJOR_VERSION=0
|
||||
MINOR_VERSION=12
|
||||
SUBMINOR_VERSION=0
|
||||
SUBMINOR_VERSION=1
|
||||
GDL2_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION}
|
||||
VERSION=${GDL2_VERSION}
|
||||
|
||||
|
|
Loading…
Reference in a new issue