mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-06-02 18:21:07 +00:00
2003-06-26 Manuel Guesdon <mguesdon@orange-concept.com>
* config.h.in: o added EMIT_TODO control * EOAccess/EOAccessFault.m: o commented debug logs * EOAccess/EODatabaseContext.m: o more information in asserts o asserts o fix in -relayPrimaryKey:object:entity: for nil 1:1 relationship value o add -forgetSnapshotForGlobalID call in -refaultObject:withGlobalID:editingContext: o add -forgetSnapshotForGlobalID database call in -forgetSnapshotForGlobalID: * EOAccess/EOEntity.m: o logs o fix in -awakeObject:fromInsertionInEditingContext: to avoid setting already present values o reverted code in -awakeObject:fromInsertionInEditingContext: My (old) tests show that we create 1: object not on mandatory property but on propagatesPrimaryKey one if someone has an example of EOF creating an object here without propagatesPrimaryKey, please send it to me. * EOAccess/EOModelGroup.m: o don't autorelease return model group in -globalModelGroup as it will crash. I haven't find why :-( o logs * EOAccess/EOSQLExpression.m: o fix bug in -assembleSelectStatementWithAttributes🔒qualifier: fetchOrder:selectString:columnList:tableList: whereClause:joinClause:orderByClause:lockClause: by adding () around where and join clause o add detail in sqlStringForSelector:value: exception * EOAdaptors/Postgres95/PostPostgres95Channel.m: o add more information on exceptions * EOAdaptors/Postgres95/Postgres95SQLExpression.m: o fix escaping string in -formatValue:forAttribute: o fix bug in -assembleSelectStatementWithAttributes🔒qualifier: fetchOrder:selectString:columnList:tableList: whereClause:joinClause:orderByClause:lockClause: by adding () around where and join clause * EOAdaptors/Postgres95/Postgres95Value.m: o Change log in +newValueForDateType:length:attribute: * EOControl/EOCheapArray.m o removed some logs * EOAccess/EOClassDescription.m: o fix in -validateForUpdate o logs * EOControl/Debug.h: o donditional define of NSEmitTODO() * EOControl/EODetailDataSource.h/.m: o added -setDetailKey: * EOControl/EOEditingContext.m o logs * EOControl/EOFetchSpecification.m o logs * EOControl/EOKeyValueCoding.m: o fix in computeSum, computeAverage * EOControl/EOQualifier.m o logs * EOControl/EOSortOrdering.m o use valueForKeyPath: instead of valueForKey: to allow sort on related objects * EOControl/EOUndoManager.h o protection of include git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@17037 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fa44c72c7f
commit
ca37c81a18
20 changed files with 240 additions and 78 deletions
|
@ -450,7 +450,7 @@ NSString *EOUnknownUserInfoKey = @"EOUnknownUserInfoKey";
|
|||
ret = [NSDecimalNumber zero];
|
||||
|
||||
while ((item = [arrayEnum nextObject]))
|
||||
[ret decimalNumberByAdding: [item valueForKey:key]];
|
||||
ret=[ret decimalNumberByAdding: [item valueForKey:key]];
|
||||
|
||||
EOFLOGObjectFnStopCond(@"EOKVC");
|
||||
|
||||
|
@ -468,7 +468,7 @@ NSString *EOUnknownUserInfoKey = @"EOUnknownUserInfoKey";
|
|||
ret = [NSDecimalNumber zero];
|
||||
|
||||
while ((item = [arrayEnum nextObject]))
|
||||
[ret decimalNumberByAdding: [item valueForKey:key]];
|
||||
ret=[ret decimalNumberByAdding: [item valueForKey:key]];
|
||||
|
||||
ret = [ret decimalNumberByDividingBy:
|
||||
[NSDecimalNumber decimalNumberWithMantissa: [self count]
|
||||
|
@ -854,7 +854,7 @@ NSString *EOUnknownUserInfoKey = @"EOUnknownUserInfoKey";
|
|||
isSmart:YES];
|
||||
}
|
||||
|
||||
#if !FOUNDATION_HAS_KVC
|
||||
//#if !FOUNDATION_HAS_KVC
|
||||
- (void)takeValue: (id)value
|
||||
forKeyPath: (NSString *)keyPath
|
||||
{
|
||||
|
@ -862,7 +862,7 @@ NSString *EOUnknownUserInfoKey = @"EOUnknownUserInfoKey";
|
|||
forKeyPath:keyPath
|
||||
isSmart:NO];
|
||||
}
|
||||
#endif /* !FOUNDATION_HAS_KVC */
|
||||
//#endif /* !FOUNDATION_HAS_KVC */
|
||||
|
||||
- (void)takeValue: (id)value
|
||||
forKeyPath: (NSString *)keyPath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue