mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 02:41:05 +00:00
* EOControl/EOFault.m ([EOFault -editingContext]): simplified.
Converted NSDebug* to EOFLOGObjectLevel. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@15432 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0121e588e2
commit
c32ccbf70b
2 changed files with 12 additions and 15 deletions
|
@ -1,5 +1,8 @@
|
||||||
2002-12-31 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
2002-12-31 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||||
|
|
||||||
|
* EOControl/EOFault.m ([EOFault -editingContext]): simplified.
|
||||||
|
Converted NSDebug* to EOFLOGObjectLevel.
|
||||||
|
|
||||||
* EOAccess/EOUtilities.m|.h ([EOObjectStoreCoordinator -modelGroup]),
|
* EOAccess/EOUtilities.m|.h ([EOObjectStoreCoordinator -modelGroup]),
|
||||||
([EOObjectStoreCoordinator -setModelGroup:]): moved from EOControl/
|
([EOObjectStoreCoordinator -setModelGroup:]): moved from EOControl/
|
||||||
EOObjectStoreCoordinator.m
|
EOObjectStoreCoordinator.m
|
||||||
|
|
|
@ -410,14 +410,7 @@ typedef struct {
|
||||||
|
|
||||||
- (EOEditingContext *)editingContext
|
- (EOEditingContext *)editingContext
|
||||||
{
|
{
|
||||||
if ([_handler respondsToSelector: @selector(editingContext)])
|
return [_handler editingContext];
|
||||||
return [_handler editingContext];
|
|
||||||
else
|
|
||||||
{
|
|
||||||
[_handler completeInitializationOfObject: self];
|
|
||||||
|
|
||||||
return [self editingContext];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -464,7 +457,7 @@ typedef struct {
|
||||||
retval_t ret;
|
retval_t ret;
|
||||||
NSInvocation *inv;
|
NSInvocation *inv;
|
||||||
|
|
||||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||||
|
|
||||||
inv = [[[NSInvocation alloc] initWithArgframe: args
|
inv = [[[NSInvocation alloc] initWithArgframe: args
|
||||||
selector: sel]
|
selector: sel]
|
||||||
|
@ -472,21 +465,22 @@ typedef struct {
|
||||||
[self forwardInvocation: inv];
|
[self forwardInvocation: inv];
|
||||||
|
|
||||||
ret = [inv returnFrame: args];
|
ret = [inv returnFrame: args];
|
||||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
|
||||||
|
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)forwardInvocation: (NSInvocation *)invocation
|
- (void)forwardInvocation: (NSInvocation *)invocation
|
||||||
{
|
{
|
||||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||||
|
|
||||||
if ([_handler shouldPerformInvocation: invocation])
|
if ([_handler shouldPerformInvocation: invocation])
|
||||||
[_handler completeInitializationOfObject: self];
|
[_handler completeInitializationOfObject: self];
|
||||||
|
|
||||||
[invocation invoke];
|
[invocation invoke];
|
||||||
|
|
||||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned int)hash
|
- (unsigned int)hash
|
||||||
|
@ -563,13 +557,13 @@ typedef struct {
|
||||||
|
|
||||||
- (void)gcDecrementRefCount
|
- (void)gcDecrementRefCount
|
||||||
{
|
{
|
||||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||||
|
|
||||||
NSDebugFLLog(@"gsdb", @"handler gcDecrementRefCount");
|
EOFLOGObjectLevel(@"gsdb", @"handler gcDecrementRefCount");
|
||||||
|
|
||||||
[_handler gcDecrementRefCount];
|
[_handler gcDecrementRefCount];
|
||||||
|
|
||||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in a new issue