mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 21:00:44 +00:00
* EOControl/EOKeyValueCoding.m
([NSArray-valueForKey:]): Readd special handling of @count. This make it WO45 compatible again. The intermediate behavoir broke many WO bindings. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26422 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d65675bd7c
commit
5f013951da
2 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-04-01 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOControl/EOKeyValueCoding.m
|
||||
([NSArray-valueForKey:]):
|
||||
Readd special handling of @count.
|
||||
This make it WO45 compatible again.
|
||||
The intermediate behavoir broke many WO bindings.
|
||||
|
||||
2008-03-31 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* EOAccess/EOStoredProcedure.m (initWithPropertyList:owner:),
|
||||
|
|
|
@ -277,8 +277,11 @@ initialize(void)
|
|||
|
||||
INITIALIZE;
|
||||
|
||||
EOFLOGObjectFnStartCond(@"EOKVC");
|
||||
if ([key hasPrefix:@"@"])
|
||||
if ([key isEqual: @"count"] || [key isEqual: @"@count"])
|
||||
{
|
||||
result = [NSDecimalNumber numberWithUnsignedInt: [self count]];
|
||||
}
|
||||
else if ([key hasPrefix:@"@"])
|
||||
{
|
||||
NSString *selStr;
|
||||
NSString *attrStr;
|
||||
|
@ -317,7 +320,6 @@ initialize(void)
|
|||
defaultResult: GDL2_EONull];
|
||||
}
|
||||
|
||||
EOFLOGObjectFnStopCond(@"EOKVC");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue