mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 02:41:05 +00:00
* EOControl/EODebug.h: Include missing header for non-*-gnu-*.
* EOAccess/EOAdaptor ([EOAdaptor _performAdministativeStatementsForSelect: connectionDictionary:administrativeConnectionDictionary]): Add cast to silence warning. * EOControl/EOCheapArray.m ([EOCheapArray autorelease]): Replace objc_thread_id with GSCurrentThread. ([EOCheapArray release]): Ditto. ([EOCheapArray retainCount]): Ditto. ([EOCheapArray retain]): Ditto. ([EOCheapArray dealloc]): Ditto. ([EOCheapArray shallowCopy]): Ditto. * EOControl/EOFault.m: Include missing header. ([EOFault dealloc]): Replace objc_thread_id with GSCurrentThread. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@18676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cedceb3487
commit
61eadbd04a
5 changed files with 45 additions and 21 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
||||||
|
2003-02-26 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
|
* EOControl/EODebug.h: Include missing header for non-*-gnu-*.
|
||||||
|
* EOAccess/EOAdaptor
|
||||||
|
([EOAdaptor _performAdministativeStatementsForSelect:
|
||||||
|
connectionDictionary:administrativeConnectionDictionary]):
|
||||||
|
Add cast to silence warning.
|
||||||
|
* EOControl/EOCheapArray.m ([EOCheapArray autorelease]):
|
||||||
|
Replace objc_thread_id with GSCurrentThread.
|
||||||
|
([EOCheapArray release]): Ditto.
|
||||||
|
([EOCheapArray retainCount]): Ditto.
|
||||||
|
([EOCheapArray retain]): Ditto.
|
||||||
|
([EOCheapArray dealloc]): Ditto.
|
||||||
|
([EOCheapArray shallowCopy]): Ditto.
|
||||||
|
* EOControl/EOFault.m: Include missing header.
|
||||||
|
([EOFault dealloc]): Replace objc_thread_id with GSCurrentThread.
|
||||||
|
|
||||||
2003-02-26 Matt Rice <ratmice@yahoo.com>
|
2003-02-26 Matt Rice <ratmice@yahoo.com>
|
||||||
|
|
||||||
* EOAdaptors/Postgres95/Postgres95Channel.m: Added missing
|
* EOAdaptors/Postgres95/Postgres95Channel.m: Added missing
|
||||||
|
|
|
@ -365,7 +365,7 @@ NSString *EOAdministrativeConnectionDictionaryKey
|
||||||
NSArray *stmts;
|
NSArray *stmts;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
stmts = [[self expressionClass] performSelector: sel
|
stmts = [(id)[self expressionClass] performSelector: sel
|
||||||
withObject: connDict
|
withObject: connDict
|
||||||
withObject: admConnDict];
|
withObject: admConnDict];
|
||||||
|
|
||||||
|
|
|
@ -148,8 +148,8 @@ RCS_ID("$Id$")
|
||||||
- (id) autorelease
|
- (id) autorelease
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"autorelease EOCheapCopyArray %p. ThreadID=%p [super retainCount]=%d",
|
NSDebugFLog(@"autorelease EOCheapCopyArray %p. %@ [super retainCount]=%d",
|
||||||
(void*)self,(void*)objc_thread_id(),[super retainCount]);
|
(void*)self,GSCurrentThread(),[super retainCount]);
|
||||||
#endif
|
#endif
|
||||||
return [super autorelease];
|
return [super autorelease];
|
||||||
}
|
}
|
||||||
|
@ -157,8 +157,8 @@ RCS_ID("$Id$")
|
||||||
- (void) release
|
- (void) release
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Release EOCheapCopyArray %p. ThreadID=%p [super retainCount]=%d",
|
NSDebugFLog(@"Release EOCheapCopyArray %p. %@ [super retainCount]=%d",
|
||||||
(void*)self,(void*)objc_thread_id(),[super retainCount]);
|
(void*)self,GSCurrentThread(),[super retainCount]);
|
||||||
#endif
|
#endif
|
||||||
[super release];
|
[super release];
|
||||||
}
|
}
|
||||||
|
@ -166,8 +166,8 @@ RCS_ID("$Id$")
|
||||||
- (unsigned int) retainCount
|
- (unsigned int) retainCount
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"retainCount EOCheapCopyArray %p. ThreadID=%p",
|
NSDebugFLog(@"retainCount EOCheapCopyArray %p. %@",
|
||||||
(void*)self,(void*)objc_thread_id());
|
(void*)self,GSCurrentThread());
|
||||||
#endif
|
#endif
|
||||||
return [super retainCount];
|
return [super retainCount];
|
||||||
|
|
||||||
|
@ -176,8 +176,8 @@ RCS_ID("$Id$")
|
||||||
- (id) retain
|
- (id) retain
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"retain EOCheapCopyArray %p. ThreadID=%p, [super retainCount]=%d",
|
NSDebugFLog(@"retain EOCheapCopyArray %p. %@, [super retainCount]=%d",
|
||||||
(void*)self,(void*)objc_thread_id(),[super retainCount]);
|
(void*)self,GSCurrentThread(),[super retainCount]);
|
||||||
#endif
|
#endif
|
||||||
return [super retain];
|
return [super retain];
|
||||||
}
|
}
|
||||||
|
@ -276,16 +276,16 @@ RCS_ID("$Id$")
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Stop Dealloc EOCheapCopyMutableArray %p. ThreadID=%p",
|
NSDebugFLog(@"Stop Dealloc EOCheapCopyMutableArray %p. %@",
|
||||||
(void*)self,(void*)objc_thread_id());
|
(void*)self,GSCurrentThread());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) shallowCopy
|
- (id) shallowCopy
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Start shallowCopy EOCheapCopyMutableArray %p. ThreadID=%p immutableCopy=%p",
|
NSDebugFLog(@"Start shallowCopy EOCheapCopyMutableArray %p. %@ immutableCopy=%p",
|
||||||
(void*)self,(void*)objc_thread_id(),_immutableCopy);
|
(void*)self,GSCurrentThread(),_immutableCopy);
|
||||||
#endif
|
#endif
|
||||||
//OK
|
//OK
|
||||||
if (!_immutableCopy)
|
if (!_immutableCopy)
|
||||||
|
@ -299,8 +299,8 @@ RCS_ID("$Id$")
|
||||||
RETAIN(_immutableCopy); // Because copy return a not autoreleased object. Retain for request caller
|
RETAIN(_immutableCopy); // Because copy return a not autoreleased object. Retain for request caller
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Stop shallowCopy EOCheapCopyMutableArray %p. ThreadID=%p immutableCopy=%p",
|
NSDebugFLog(@"Stop shallowCopy EOCheapCopyMutableArray %p. %@ immutableCopy=%p",
|
||||||
(void*)self,(void*)objc_thread_id(),_immutableCopy);
|
(void*)self,GSCurrentThread(),_immutableCopy);
|
||||||
#endif
|
#endif
|
||||||
return _immutableCopy;
|
return _immutableCopy;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GNUSTEP
|
||||||
|
#include <GNUstepBase/GSCategories.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <EOControl/EODefines.h>
|
#include <EOControl/EODefines.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ RCS_ID("$Id$")
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
#include <Foundation/NSObjCRuntime.h>
|
#include <Foundation/NSObjCRuntime.h>
|
||||||
#include <Foundation/NSInvocation.h>
|
#include <Foundation/NSInvocation.h>
|
||||||
|
#include <Foundation/NSThread.h>
|
||||||
#include <Foundation/NSException.h>
|
#include <Foundation/NSException.h>
|
||||||
#include <Foundation/NSDebug.h>
|
#include <Foundation/NSDebug.h>
|
||||||
#else
|
#else
|
||||||
|
@ -59,6 +60,8 @@ RCS_ID("$Id$")
|
||||||
#include <GNUstepBase/GSCategories.h>
|
#include <GNUstepBase/GSCategories.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <objc/Protocol.h>
|
||||||
|
|
||||||
#include <EOControl/EOFault.h>
|
#include <EOControl/EOFault.h>
|
||||||
#include <EOControl/EOKeyGlobalID.h>
|
#include <EOControl/EOKeyGlobalID.h>
|
||||||
#include <EOControl/EOEditingContext.h>
|
#include <EOControl/EOEditingContext.h>
|
||||||
|
@ -427,16 +430,16 @@ static Class EOFaultClass = NULL;
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Dealloc EOFault %p. ThreadID=%p",
|
NSDebugFLog(@"Dealloc EOFault %p. %@",
|
||||||
(void*)self,(void*)objc_thread_id());
|
(void*)self,GSCurrentThread());
|
||||||
#endif
|
#endif
|
||||||
[EOFaultClass clearFault: self];
|
[EOFaultClass clearFault: self];
|
||||||
NSDebugMLog(@"EOFault dealloc self=%p",self);
|
NSDebugMLog(@"EOFault dealloc self=%p",self);
|
||||||
if (![EOFaultClass isFault:self]) // otherwise, this loop.
|
if (![EOFaultClass isFault:self]) // otherwise, this loop.
|
||||||
[self dealloc];
|
[self dealloc];
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSDebugFLog(@"Stop Dealloc EOFault %p. ThreadID=%p",
|
NSDebugFLog(@"Stop Dealloc EOFault %p. %@",
|
||||||
(void*)self,(void*)objc_thread_id());
|
(void*)self,GSCurrentThread());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue