mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* EOControl/EOObserver.h
(EODelayedObserver): Inherit from EOCustomObject to be able to rely on implicit breaking of connections during dealloc. * EOInterface/EOAssociation.m (establishConnection): Reactivate implicit connection handling. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30209 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ca59cbc920
commit
830ec7789e
3 changed files with 22 additions and 17 deletions
27
ChangeLog
27
ChangeLog
|
@ -1,18 +1,27 @@
|
|||
2010-04-20 David Wetzel <dave@turbocat.de>
|
||||
* EOAccess/EODatabaseContext.m:
|
||||
start transaction in
|
||||
objectsWithFetchSpecification: editingContext:
|
||||
if none was in place before.
|
||||
2010-04-21 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOAccess/EOEntity.m:
|
||||
globalIDForRow: isFinal: - create EOKeyGlobalID ouside loop
|
||||
* EOControl/EOObserver.h
|
||||
(EODelayedObserver): Inherit from EOCustomObject
|
||||
to be able to rely on implicit breaking of connections
|
||||
during dealloc.
|
||||
* EOInterface/EOAssociation.m
|
||||
(establishConnection): Reactivate implicit connection handling.
|
||||
|
||||
2010-04-20 David Wetzel <dave@turbocat.de>
|
||||
|
||||
* EOAccess/EODatabaseContext.m:
|
||||
(-objectsWithFetchSpecification:editingContext:):
|
||||
Start transaction if none was in place before.
|
||||
|
||||
* EOAccess/EOEntity.m: (-globalIDForRow:isFinal:)
|
||||
Create EOKeyGlobalID outside loop.
|
||||
|
||||
2010-04-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
2010-04-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* EOAccess/EOEntity.m: Use '||' instead of '|'.
|
||||
* Tools/eoutil.m: Implement -lossyASCIIString.
|
||||
|
||||
2010-04-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
2010-04-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* EOControl/EOMutableKnownKeyDictionary.h,
|
||||
* EOControl/EOMutableKnownKeyDictionary.m,
|
||||
|
|
|
@ -28,11 +28,7 @@
|
|||
#define __EOObserver_h__
|
||||
|
||||
|
||||
#ifdef GNUSTEP
|
||||
#include <Foundation/NSObject.h>
|
||||
#else
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#include <EOControl/EOCustomObject.h>
|
||||
|
||||
@class NSArray;
|
||||
|
||||
|
@ -88,7 +84,7 @@ typedef enum {
|
|||
#define EOObserverNumberOfPriorities ((unsigned)EOObserverPriorityLater + 1)
|
||||
|
||||
|
||||
@interface EODelayedObserver : NSObject <EOObserving>
|
||||
@interface EODelayedObserver : EOCustomObject <EOObserving>
|
||||
{
|
||||
@public
|
||||
EODelayedObserver *_next; /* Linked List. */
|
||||
|
|
|
@ -228,11 +228,11 @@ static NSMapTable *_objectToAssociations;
|
|||
NSEndMapTableEnumeration (&displayGroupEnum);
|
||||
|
||||
/* registerAssociationForDeallocHack is implemented in
|
||||
EOControl/EOEditingContext.m this causes +objectDeallocated:
|
||||
EOControl/EOCustomObject.m this causes +objectDeallocated:
|
||||
to be called when '_object' is deallocated, which will break the
|
||||
connection which releases the association instance. */
|
||||
[self retain];
|
||||
// [self registerAssociationForDeallocHack:_object];
|
||||
[self registerAssociationForDeallocHack:_object];
|
||||
|
||||
associations = (id)NSMapGet(_objectToAssociations, _object);
|
||||
|
||||
|
|
Loading…
Reference in a new issue