mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +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>
|
||||
|
||||
* EOControl/EOFault.m ([EOFault -editingContext]): simplified.
|
||||
Converted NSDebug* to EOFLOGObjectLevel.
|
||||
|
||||
* EOAccess/EOUtilities.m|.h ([EOObjectStoreCoordinator -modelGroup]),
|
||||
([EOObjectStoreCoordinator -setModelGroup:]): moved from EOControl/
|
||||
EOObjectStoreCoordinator.m
|
||||
|
|
|
@ -410,14 +410,7 @@ typedef struct {
|
|||
|
||||
- (EOEditingContext *)editingContext
|
||||
{
|
||||
if ([_handler respondsToSelector: @selector(editingContext)])
|
||||
return [_handler editingContext];
|
||||
else
|
||||
{
|
||||
[_handler completeInitializationOfObject: self];
|
||||
|
||||
return [self editingContext];
|
||||
}
|
||||
return [_handler editingContext];
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -464,7 +457,7 @@ typedef struct {
|
|||
retval_t ret;
|
||||
NSInvocation *inv;
|
||||
|
||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||
|
||||
inv = [[[NSInvocation alloc] initWithArgframe: args
|
||||
selector: sel]
|
||||
|
@ -472,21 +465,22 @@ typedef struct {
|
|||
[self forwardInvocation: inv];
|
||||
|
||||
ret = [inv returnFrame: args];
|
||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
||||
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
- (void)forwardInvocation: (NSInvocation *)invocation
|
||||
{
|
||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||
|
||||
if ([_handler shouldPerformInvocation: invocation])
|
||||
[_handler completeInitializationOfObject: self];
|
||||
|
||||
[invocation invoke];
|
||||
|
||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||
}
|
||||
|
||||
- (unsigned int)hash
|
||||
|
@ -563,13 +557,13 @@ typedef struct {
|
|||
|
||||
- (void)gcDecrementRefCount
|
||||
{
|
||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"START self=%p", self);
|
||||
|
||||
NSDebugFLLog(@"gsdb", @"handler gcDecrementRefCount");
|
||||
EOFLOGObjectLevel(@"gsdb", @"handler gcDecrementRefCount");
|
||||
|
||||
[_handler gcDecrementRefCount];
|
||||
|
||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
||||
EOFLOGObjectLevelArgs(@"gsdb", @"STOP self=%p", self);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue