* TODO: Start tracking major TODO's until formal auditing is

available.

        * EOAccess/EODatabase.m
        * EOControl/EOGlobalID.h: Added documentation about
        EOGlobalIDChangedNotification semantics.

        * EOControl/EOSortOrdering.m: Removed superfluous define.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@19110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2004-04-15 10:33:35 +00:00
parent 92a866a140
commit 594b18317b
5 changed files with 53 additions and 2 deletions

View file

@ -1,3 +1,14 @@
2004-04-15 David Ayers <d.ayers@inode.at>
* TODO: Start tracking major TODO's until formal auditing is
available.
* EOAccess/EODatabase.m
* EOControl/EOGlobalID.h: Added documentation about
EOGlobalIDChangedNotification semantics.
* EOControl/EOSortOrdering.m: Removed superfluous define.
2004-04-12 David Ayers <d.ayers@inode.at>
* EOAdaptors/Postgres95/LoginPanel/Makefile.postamble:

View file

@ -392,6 +392,14 @@ static NSMutableArray *databaseInstances;
}
//"Receive EOGlobalIDChangedNotification notification"
/*
This method is currently only intended to replace EOTemporaryGlobalIDs
with corresponding EOKeyGlobalIDs. Since the globalIDs within
the _toManySnapshots can only contain EOKeyGlobalIDs from fetched
data, they need not be searched yet. This may change if we add support
to allow mutable primary key class attributes or recordToManySnapshots:
ever gets called with EOTemporaryGlobalIDs for some obscure reasons.
*/
- (void)_globalIDChanged: (NSNotification *)notification
{
NSDictionary *snapshot = nil;

View file

@ -35,6 +35,16 @@
#include <EOControl/EODefines.h>
/**
* This notification is intended to allow EOTemporaryGlobalIDs
* to be replaced with the corresponding EOKeyGlobalIDs. In theory
* one could interpret this as a mechanism to allow primary key
* attributes to be mutable class properties. Even though EOF also posts
* this notification in that case, it fails to consistently propagate
* the new value through relationships. GDL2 may attempt to correct
* that shortcoming in the future, but it may have serious performance
* implications.
*/
GDL2CONTROL_EXPORT NSString *EOGlobalIDChangedNotification;
@interface EOGlobalID : NSObject <NSCopying>

View file

@ -53,8 +53,6 @@ RCS_ID("$Id$")
#include <EOControl/EOKeyValueArchiver.h>
#include <EOControl/EODebug.h>
#define EONull NSNull
@implementation EOSortOrdering
/**

24
TODO
View file

@ -1,3 +1,27 @@
EOControl:
Headers/Classes:
EOAggregateEvent
EOEvent
EOEventCenter
EOMultiReaderLock
EOSharedEditingContext
EOAccess:
Headers/Categories:
EOGenericRecord (category)
EOSchemaSynchronization
EOInterface: All
EOModel creation Application.
Documentation:
API Documentation
Tutorials
Examples:
Adaptors:
o Implement databaseFailedToFetchObject mechanism.
Cf Developper's guide p 121
o Implement to-one PK to Foreign Key support