[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDL2 - TODO needs to be updated
From: |
Manuel Guesdon |
Subject: |
Re: GDL2 - TODO needs to be updated |
Date: |
Mon, 17 Feb 2003 09:42:07 +0100 (CET) |
Hi,
On Mon, 17 Feb 2003 00:13:12 +0100 Stéphane Corthésy <address@hidden> wrote:
>| The TODO file needs deep update, doesn't it?
>| I've compared the current GDL2 API with Apple's and made a rather
>| exhaustive comparison. It seems the the main lacks are entity
>| inheritance, events, sharedEC, snapshot timestamping, deferred
>| faulting, prototypes, EOInterface. Can others confirm this?
Yes.
>| I have some changes in my work area that I'll submit later, but in the
>| meantime here are the differences I observed between the APIs (I don't
>| even talk about implementation, as there are a lot of NSEmitToDo in the
>| code!):
>|
>| (the prefix X means that the modifs have been done, on my side)
>|
>| General:
>| X Replace all 'extern' by macros
>| X Take care of using 'volatile' for local vars which are modified in
>| NS_DURING and read in NS_HANDLER
>| - Replace all -retain, -release, -autorelease by macros
>| - In -copyWithZone:, test NSShouldRetainWithZone(), and use zone, for
>| immutable objects only
OK.
>| - Avoid autoreleased objects (OK Markus, this will be done later ;-)
I don't understand why. Could you elaborate on this ?
>| In EOControl:
[...]
>| -[NSObject(EOClassDescriptionPrimitives) validateTakeValue:forKeyPath:]
Seems right.
>| In EOAccess:
[...]
>| - Misses sqlStrings.h
Seems right.
>| BTW, some people asked me how stable and functional GDL2 is, and how
>| possible would it be to port applications written for Apple's EOF to
>| GDL2 (based on OSX currently, but maybe fully ported on GNUStep). Can
>| we get opinions from its main developers? What is the state of GDL2?
GDL2 was written to follow WO4.5.
I think it is very usable for many projects who don't need explicitely
missing features (inheritence,...).
Some things/case are not implemented (NSEmitToDo); some of them aren't because
I
don't see cases wich match them. If one get an exception on these cases, it's
usually
easier to see how to implement them.
I use it for a project which have around 80 entities and it works pretty well.
>| One last thing. EOInterface. I've heard rumors that some developers,
>| who have rewritten something similar, would "give" it to GDL2. Some
>| hope in there, or should we think about rewriting it?
I have'nt head this but it would be great !
Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <address@hidden>
14 rue Jean-Baptiste Clement - 93200 Saint-Denis - France
Tel: +33 1 4940 0999 - Fax: +33 1 4940 0998