1913b6dd89* EOAdaptors/Postgres95/Postgres95SQLExpression.m (externalNameQuoteCharacter): Remove.
David Ayers
2005-02-15 21:54:20 +0000
764850852f* EOAccess/EOAttribute.h/m (EOAdaptorUnknownType): Remove. (protoOverride): Increase range. (isAttributeValueInitialized): New flag. (extraRefCount): Make standalone instance variable. (setValueClassName:): Use isAttributeValueInitialized flag instead of EOAdaptorUnknownType. (adaptorValueType): Use isAttributeValueInitialized flag instead of EOAdaptorUnknownType. * EOAdaptors/Postgres95/Postgres95Values.m (newValueForBytes:length:attribute:): Remove reference to EOAdaptorUnknownType.
ayers
2005-02-15 21:29:24 +0000
901432dbe0* EOAccess/EOAttribute.h/m (EOAdaptorUnknownType): Remove. (protoOverride): Increase range. (isAttributeValueInitialized): New flag. (extraRefCount): Make standalone instance variable. (setValueClassName:): Use isAttributeValueInitialized flag instead of EOAdaptorUnknownType. (adaptorValueType): Use isAttributeValueInitialized flag instead of EOAdaptorUnknownType. * EOAdaptors/Postgres95/Postgres95Values.m (newValueForBytes:length:attribute:): Remove reference to EOAdaptorUnknownType.
David Ayers
2005-02-15 21:29:24 +0000
7a683c1680* EOControl/EONull.h/m ([NSObject isEONull], [NSObject isNotEONull]) (isNilOrEONull): Remove. * EOControl/EOPriv.h (_isNilOrEONull): Make static inline function.
David Ayers
2005-02-14 17:44:00 +0000
11bb2e78a7* EOControl/EOEditingContext.h/m (_objectBasedChangeInfoForGIDInfo:) Only generate an entry for objects that the reciever actually maps. (-recordForGID:, -recordForObject:) Remove unused undocumented methods. (-updatedObjects, -insertedObjects, -deletedObjects): Reimplement. (-unprocessedObjects, -unprocessedInfo, -pendingInfo) (-hasUnprocessedChanges): Remove.
ayers
2005-02-14 15:09:34 +0000
9c3fc328b8* EOControl/EOEditingContext.h/m (_objectBasedChangeInfoForGIDInfo:) Only generate an entry for objects that the reciever actually maps. (-recordForGID:, -recordForObject:) Remove unused undocumented methods. (-updatedObjects, -insertedObjects, -deletedObjects): Reimplement. (-unprocessedObjects, -unprocessedInfo, -pendingInfo) (-hasUnprocessedChanges): Remove.
David Ayers
2005-02-14 15:09:34 +0000
83fb71f012* EOControl/EOClassDescription.m (-dictionaryForInstanceProperties): Remove casts. ([NSObject-shallowCopy], [NSObject-snapshot]) ([NSObject-updateFromSnapshot:]): Ditto. ([NSObject-validateValue:forKey:]): Correct key determination and use GSSelectorFromName instead of sel_get_any_uid. ([NSObject-addObject:toPropertyWithKey:]): Use GSSelectorFromName instead of sel_get_any_uid. Minor optimization. ([NSObject-removeObject:fromPropertyWithKey:]): Ditto.
ayers
2005-02-14 14:24:46 +0000
2d006a1535* EOControl/EOClassDescription.m (-dictionaryForInstanceProperties): Remove casts. ([NSObject-shallowCopy], [NSObject-snapshot]) ([NSObject-updateFromSnapshot:]): Ditto. ([NSObject-validateValue:forKey:]): Correct key determination and use GSSelectorFromName instead of sel_get_any_uid. ([NSObject-addObject:toPropertyWithKey:]): Use GSSelectorFromName instead of sel_get_any_uid. Minor optimization. ([NSObject-removeObject:fromPropertyWithKey:]): Ditto.
David Ayers
2005-02-14 14:24:46 +0000
985f02b360* EOControl/EOCheapArray.h/m (-shallowCopy): Correct signature.
David Ayers
2005-02-14 12:24:07 +0000
48ef86b1ec* EOControl/EOCheapArray.h/m (-initWithArray:): Correct signature and only initialize instance variable if call to super init was successfull.
ayers
2005-02-14 12:17:26 +0000
d30af1a4aa* EOControl/EOCheapArray.h/m (-initWithArray:): Correct signature and only initialize instance variable if call to super init was successfull.
David Ayers
2005-02-14 12:17:26 +0000
8c15cfdf3c* EOAccess/EOModel.m (writeToFile:): Clairfy documentation about setting receivers name and path.
ayers
2005-02-14 12:11:49 +0000
75f86142d0* EOAccess/EOModel.m (writeToFile:): Clairfy documentation about setting receivers name and path.
David Ayers
2005-02-14 12:11:49 +0000
8f9ee35c5cOptimizations :
Manuel Guesdon
2005-02-13 13:04:19 +0000
7d9a30186dCOmmit Part 2 * EOAccess/EOAdaptor.m: o optimization in 'for' loops * EOAccess/EODatabase.m: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOAccess/EODatabaseContext.h: o added _snapshotForGlobalIDIMP * EOAccess/EODatabaseContext.m: o commented NSEmitTODO in -objectsForSourceGlobalID:relationshipName:editingContext: o added beter exception format in qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot: o fix compiler warning in -relayPrimaryKey:object:entity: o logs o optimizations in -objectsWithFetchSpecification:editingContext: o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o use _snapshotForGlobalIDIMP o IMP usage optimization * EOAccess/EOAttribute.[hm]: o added EOAdaptorUnknownType o added _adaptorValueType and avoid recomputing it each time o added _valueTypeChar to avoid string comparaisons o use EOPriv classes declarations o Temporary reverted David changes in -adaptorValueByConvertingAttributeValue * EOAccess/EOAttributePriv.h: o added _valueTypeChar to avoid string comparaisons * EOAccess/EOEntityPriv.h: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.h: o moved private -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.m: o better exception in classProperties o fix compiler warning in -setClassProperties:, -setPrimaryKeyAttributes:, -setAttributesUsedForLocking: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLExpression.m: o optimization in -tableListWithRootEntity: o optimization in -formatSQLString:format: o optimization in +sqlPatternFromShellPattern: o optimization in +sqlPatternFromShellPattern:withEscapeCharacter: o fix in -sqlStringForKeyValueQualifier: o added log in -sqlStringForKeyValueQualifier: for not handled readFormat o added log -addInsertListAttribute:value: for not handled writeFormat o added log -addUpdateListAttribute:value: for not handled writeFormat o changed EOFLOGObjectFnStart to EOFLOGObjectFnStartCond o changed EOFLOGObjectFnStop to EOFLOGObjectFnStopCond o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLQualifier.m: o implemented EOKeyComparisonQualifier -schemaBasedQualifierWithRootEntity * EOAccess/EOUtilities.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOControl/EOPriv.[hm]: o added. Contains various classes/selectors/IMPs * EOControl/EOClassDescription.m: o handle EONull case in -propagateDeleteForObject:editingContext:, -addObject:toPropertyWithKey:, -snapshot, -removeObject:fromPropertyWithKey:, _setObject:forBothSidesOfRelationshipWithKey:, addObject:toBothSidesOfRelationshipWithKey:, -removeObject:fromBothSidesOfRelationshipWithKey: o fix compiler warning in -dictionaryForInstanceProperties, -shallowCopy, -updateFromSnapshot:, -snapshot o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o replaced isNilOrEONull() by _isNilOrEONull() o fix in -validateForSave o rewritten -validateValue:forKey: selector build * EOControl/EOEditingContext.h: o added -hasUnprocessedChanges * EOControl/EOEditingContext.m: o added -hasUnprocessedChanges o added NS_DURING,... to catch exceptions o replace [EOFault isFault:] by _isFault() o IMP usage optimization * EOControl/EOKeyGlobalID.m: o replaced isNilOrEONull() by _isNilOrEONull() o include <EOCOntrol/EOPriv.h> * EOControl/EOGenericRecord.m: o partially rewritten -description o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o changed variable name type of _infoForInstanceVariableNamed:retType:retSize:retOffset: o rewritten valueForKey:,... to use cString NSKeyValueCoding * EOControl/EOKeyValueCoding.m: o changed NSAssert in NSArray -valueForKey: o optimization in NSDictionary -takeValue:forKeyPath:isSmart: o optimization in NSDictionary -takeStoredValue:forKeyPath: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOKeyValueQualifier.m: o fixes for EONull/nil in -evaluateWithObject: o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOSortOrdering.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAdaptors/Postgres95SQLExpression.m: o float formatting in +formatValue:forAttribute: o added -externalNameQuoteCharacter o added +sqlPatternFromShellPattern: o added +sqlPatternFromShellPattern:withEscapeCharacter: o replaced isNilOrEONull() by _isNilOrEONull() * EOAdaptors/Postgres95Channel.m: o logs * EOAdaptors/Postgres95Values.m: o logs o fix in +setPostgres95Format: o fix calendard format to handle timezone (%z) o optimizations * EOControl/EOMutableKnownKeyDictionary.m o removed EOMKKDArrayMapping +dictionaryFromDictionary:subsetMapping: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOControl/EONSAddOns.[hm]: o added NSString(ShellPattern)
mguesdon
2005-02-11 17:37:23 +0000
bd72217067COmmit Part 2 * EOAccess/EOAdaptor.m: o optimization in 'for' loops * EOAccess/EODatabase.m: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOAccess/EODatabaseContext.h: o added _snapshotForGlobalIDIMP * EOAccess/EODatabaseContext.m: o commented NSEmitTODO in -objectsForSourceGlobalID:relationshipName:editingContext: o added beter exception format in qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot: o fix compiler warning in -relayPrimaryKey:object:entity: o logs o optimizations in -objectsWithFetchSpecification:editingContext: o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o use _snapshotForGlobalIDIMP o IMP usage optimization * EOAccess/EOAttribute.[hm]: o added EOAdaptorUnknownType o added _adaptorValueType and avoid recomputing it each time o added _valueTypeChar to avoid string comparaisons o use EOPriv classes declarations o Temporary reverted David changes in -adaptorValueByConvertingAttributeValue * EOAccess/EOAttributePriv.h: o added _valueTypeChar to avoid string comparaisons * EOAccess/EOEntityPriv.h: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.h: o moved private -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.m: o better exception in classProperties o fix compiler warning in -setClassProperties:, -setPrimaryKeyAttributes:, -setAttributesUsedForLocking: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLExpression.m: o optimization in -tableListWithRootEntity: o optimization in -formatSQLString:format: o optimization in +sqlPatternFromShellPattern: o optimization in +sqlPatternFromShellPattern:withEscapeCharacter: o fix in -sqlStringForKeyValueQualifier: o added log in -sqlStringForKeyValueQualifier: for not handled readFormat o added log -addInsertListAttribute:value: for not handled writeFormat o added log -addUpdateListAttribute:value: for not handled writeFormat o changed EOFLOGObjectFnStart to EOFLOGObjectFnStartCond o changed EOFLOGObjectFnStop to EOFLOGObjectFnStopCond o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLQualifier.m: o implemented EOKeyComparisonQualifier -schemaBasedQualifierWithRootEntity * EOAccess/EOUtilities.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOControl/EOPriv.[hm]: o added. Contains various classes/selectors/IMPs * EOControl/EOClassDescription.m: o handle EONull case in -propagateDeleteForObject:editingContext:, -addObject:toPropertyWithKey:, -snapshot, -removeObject:fromPropertyWithKey:, _setObject:forBothSidesOfRelationshipWithKey:, addObject:toBothSidesOfRelationshipWithKey:, -removeObject:fromBothSidesOfRelationshipWithKey: o fix compiler warning in -dictionaryForInstanceProperties, -shallowCopy, -updateFromSnapshot:, -snapshot o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o replaced isNilOrEONull() by _isNilOrEONull() o fix in -validateForSave o rewritten -validateValue:forKey: selector build * EOControl/EOEditingContext.h: o added -hasUnprocessedChanges * EOControl/EOEditingContext.m: o added -hasUnprocessedChanges o added NS_DURING,... to catch exceptions o replace [EOFault isFault:] by _isFault() o IMP usage optimization * EOControl/EOKeyGlobalID.m: o replaced isNilOrEONull() by _isNilOrEONull() o include <EOCOntrol/EOPriv.h> * EOControl/EOGenericRecord.m: o partially rewritten -description o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o changed variable name type of _infoForInstanceVariableNamed:retType:retSize:retOffset: o rewritten valueForKey:,... to use cString NSKeyValueCoding * EOControl/EOKeyValueCoding.m: o changed NSAssert in NSArray -valueForKey: o optimization in NSDictionary -takeValue:forKeyPath:isSmart: o optimization in NSDictionary -takeStoredValue:forKeyPath: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOKeyValueQualifier.m: o fixes for EONull/nil in -evaluateWithObject: o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOSortOrdering.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAdaptors/Postgres95SQLExpression.m: o float formatting in +formatValue:forAttribute: o added -externalNameQuoteCharacter o added +sqlPatternFromShellPattern: o added +sqlPatternFromShellPattern:withEscapeCharacter: o replaced isNilOrEONull() by _isNilOrEONull() * EOAdaptors/Postgres95Channel.m: o logs * EOAdaptors/Postgres95Values.m: o logs o fix in +setPostgres95Format: o fix calendard format to handle timezone (%z) o optimizations * EOControl/EOMutableKnownKeyDictionary.m o removed EOMKKDArrayMapping +dictionaryFromDictionary:subsetMapping: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOControl/EONSAddOns.[hm]: o added NSString(ShellPattern)
Manuel Guesdon
2005-02-11 17:37:23 +0000
1563435231* EOAccess/EOAdaptor.m: o optimization in 'for' loops * EOAccess/EODatabase.m: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOAccess/EODatabaseContext.h: o added _snapshotForGlobalIDIMP * EOAccess/EODatabaseContext.m: o commented NSEmitTODO in -objectsForSourceGlobalID:relationshipName:editingContext: o added beter exception format in qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot: o fix compiler warning in -relayPrimaryKey:object:entity: o logs o optimizations in -objectsWithFetchSpecification:editingContext: o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o use _snapshotForGlobalIDIMP o IMP usage optimization * EOAccess/EOAttribute.[hm]: o added EOAdaptorUnknownType o added _adaptorValueType and avoid recomputing it each time o added _valueTypeChar to avoid string comparaisons o use EOPriv classes declarations o Temporary reverted David changes in -adaptorValueByConvertingAttributeValue * EOAccess/EOAttributePriv.h: o added _valueTypeChar to avoid string comparaisons * EOAccess/EOEntityPriv.h: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.h: o moved private -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.m: o better exception in classProperties o fix compiler warning in -setClassProperties:, -setPrimaryKeyAttributes:, -setAttributesUsedForLocking: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLExpression.m: o optimization in -tableListWithRootEntity: o optimization in -formatSQLString:format: o optimization in +sqlPatternFromShellPattern: o optimization in +sqlPatternFromShellPattern:withEscapeCharacter: o fix in -sqlStringForKeyValueQualifier: o added log in -sqlStringForKeyValueQualifier: for not handled readFormat o added log -addInsertListAttribute:value: for not handled writeFormat o added log -addUpdateListAttribute:value: for not handled writeFormat o changed EOFLOGObjectFnStart to EOFLOGObjectFnStartCond o changed EOFLOGObjectFnStop to EOFLOGObjectFnStopCond o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLQualifier.m: o implemented EOKeyComparisonQualifier -schemaBasedQualifierWithRootEntity * EOAccess/EOUtilities.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOControl/EOPriv.[hm]: o added. Contains various classes/selectors/IMPs * EOControl/EOClassDescription.m: o handle EONull case in -propagateDeleteForObject:editingContext:, -addObject:toPropertyWithKey:, -snapshot, -removeObject:fromPropertyWithKey:, _setObject:forBothSidesOfRelationshipWithKey:, addObject:toBothSidesOfRelationshipWithKey:, -removeObject:fromBothSidesOfRelationshipWithKey: o fix compiler warning in -dictionaryForInstanceProperties, -shallowCopy, -updateFromSnapshot:, -snapshot o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o replaced isNilOrEONull() by _isNilOrEONull() o fix in -validateForSave o rewritten -validateValue:forKey: selector build * EOControl/EOEditingContext.h: o added -hasUnprocessedChanges * EOControl/EOEditingContext.m: o added -hasUnprocessedChanges o added NS_DURING,... to catch exceptions o replace [EOFault isFault:] by _isFault() o IMP usage optimization * EOControl/EOKeyGlobalID.m: o replaced isNilOrEONull() by _isNilOrEONull() o include <EOCOntrol/EOPriv.h> * EOControl/EOGenericRecord.m: o partially rewritten -description o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o changed variable name type of _infoForInstanceVariableNamed:retType:retSize:retOffset: o rewritten valueForKey:,... to use cString NSKeyValueCoding * EOControl/EOKeyValueCoding.m: o changed NSAssert in NSArray -valueForKey: o optimization in NSDictionary -takeValue:forKeyPath:isSmart: o optimization in NSDictionary -takeStoredValue:forKeyPath: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOKeyValueQualifier.m: o fixes for EONull/nil in -evaluateWithObject: o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOSortOrdering.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAdaptors/Postgres95SQLExpression.m: o float formatting in +formatValue:forAttribute: o added -externalNameQuoteCharacter o added +sqlPatternFromShellPattern: o added +sqlPatternFromShellPattern:withEscapeCharacter: o replaced isNilOrEONull() by _isNilOrEONull() * EOAdaptors/Postgres95Channel.m: o logs * EOAdaptors/Postgres95Values.m: o logs o fix in +setPostgres95Format: o fix calendard format to handle timezone (%z) o optimizations * EOControl/EOMutableKnownKeyDictionary.m o removed EOMKKDArrayMapping +dictionaryFromDictionary:subsetMapping: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOControl/EONSAddOns.[hm]: o added NSString(ShellPattern)
mguesdon
2005-02-11 17:31:29 +0000
409de8d589* EOAccess/EOAdaptor.m: o optimization in 'for' loops * EOAccess/EODatabase.m: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOAccess/EODatabaseContext.h: o added _snapshotForGlobalIDIMP * EOAccess/EODatabaseContext.m: o commented NSEmitTODO in -objectsForSourceGlobalID:relationshipName:editingContext: o added beter exception format in qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot: o fix compiler warning in -relayPrimaryKey:object:entity: o logs o optimizations in -objectsWithFetchSpecification:editingContext: o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o use _snapshotForGlobalIDIMP o IMP usage optimization * EOAccess/EOAttribute.[hm]: o added EOAdaptorUnknownType o added _adaptorValueType and avoid recomputing it each time o added _valueTypeChar to avoid string comparaisons o use EOPriv classes declarations o Temporary reverted David changes in -adaptorValueByConvertingAttributeValue * EOAccess/EOAttributePriv.h: o added _valueTypeChar to avoid string comparaisons * EOAccess/EOEntityPriv.h: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.h: o moved private -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category * EOAccess/EOEntity.m: o better exception in classProperties o fix compiler warning in -setClassProperties:, -setPrimaryKeyAttributes:, -setAttributesUsedForLocking: o moved -attributeForPath: and -relationshipForPath: to EOEntityGDL2Additions category o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLExpression.m: o optimization in -tableListWithRootEntity: o optimization in -formatSQLString:format: o optimization in +sqlPatternFromShellPattern: o optimization in +sqlPatternFromShellPattern:withEscapeCharacter: o fix in -sqlStringForKeyValueQualifier: o added log in -sqlStringForKeyValueQualifier: for not handled readFormat o added log -addInsertListAttribute:value: for not handled writeFormat o added log -addUpdateListAttribute:value: for not handled writeFormat o changed EOFLOGObjectFnStart to EOFLOGObjectFnStartCond o changed EOFLOGObjectFnStop to EOFLOGObjectFnStopCond o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAccess/EOSQLQualifier.m: o implemented EOKeyComparisonQualifier -schemaBasedQualifierWithRootEntity * EOAccess/EOUtilities.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOControl/EOPriv.[hm]: o added. Contains various classes/selectors/IMPs * EOControl/EOClassDescription.m: o handle EONull case in -propagateDeleteForObject:editingContext:, -addObject:toPropertyWithKey:, -snapshot, -removeObject:fromPropertyWithKey:, _setObject:forBothSidesOfRelationshipWithKey:, addObject:toBothSidesOfRelationshipWithKey:, -removeObject:fromBothSidesOfRelationshipWithKey: o fix compiler warning in -dictionaryForInstanceProperties, -shallowCopy, -updateFromSnapshot:, -snapshot o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o replaced isNilOrEONull() by _isNilOrEONull() o fix in -validateForSave o rewritten -validateValue:forKey: selector build * EOControl/EOEditingContext.h: o added -hasUnprocessedChanges * EOControl/EOEditingContext.m: o added -hasUnprocessedChanges o added NS_DURING,... to catch exceptions o replace [EOFault isFault:] by _isFault() o IMP usage optimization * EOControl/EOKeyGlobalID.m: o replaced isNilOrEONull() by _isNilOrEONull() o include <EOCOntrol/EOPriv.h> * EOControl/EOGenericRecord.m: o partially rewritten -description o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() o replace [EOFault isFault:] by _isFault() o changed variable name type of _infoForInstanceVariableNamed:retType:retSize:retOffset: o rewritten valueForKey:,... to use cString NSKeyValueCoding * EOControl/EOKeyValueCoding.m: o changed NSAssert in NSArray -valueForKey: o optimization in NSDictionary -takeValue:forKeyPath:isSmart: o optimization in NSDictionary -takeStoredValue:forKeyPath: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOKeyValueQualifier.m: o fixes for EONull/nil in -evaluateWithObject: o replaced [EONull null] by GDL2EONull o include <EOCOntrol/EOPriv.h> * EOControl/EOSortOrdering.m: o include <EOCOntrol/EOPriv.h> o replaced [EONull null] by GDL2EONull * EOAdaptors/Postgres95SQLExpression.m: o float formatting in +formatValue:forAttribute: o added -externalNameQuoteCharacter o added +sqlPatternFromShellPattern: o added +sqlPatternFromShellPattern:withEscapeCharacter: o replaced isNilOrEONull() by _isNilOrEONull() * EOAdaptors/Postgres95Channel.m: o logs * EOAdaptors/Postgres95Values.m: o logs o fix in +setPostgres95Format: o fix calendard format to handle timezone (%z) o optimizations * EOControl/EOMutableKnownKeyDictionary.m o removed EOMKKDArrayMapping +dictionaryFromDictionary:subsetMapping: o include <EOCOntrol/EOPriv.h> o replaced isNilOrEONull() by _isNilOrEONull() * EOControl/EONSAddOns.[hm]: o added NSString(ShellPattern)
Manuel Guesdon
2005-02-11 17:31:29 +0000
0c617ef38a* EOControl/EOEditingContext.m (_globalIDChanged:): Make assert more accurate. (-_invalidatedAllObjectsInStore:): Implement. (+setUsesContextRelativeEncoding:): Implement. (+usesContextRelativeEncoding): Implement. (+initialize): Set default value of usesContextRelativeEncoding depending on whether we are a gsweb application.
ayers
2005-02-10 12:52:15 +0000
2cb429235f* EOControl/EOEditingContext.m (_globalIDChanged:): Make assert more accurate. (-_invalidatedAllObjectsInStore:): Implement. (+setUsesContextRelativeEncoding:): Implement. (+usesContextRelativeEncoding): Implement. (+initialize): Set default value of usesContextRelativeEncoding depending on whether we are a gsweb application.
David Ayers
2005-02-10 12:52:15 +0000
4567f958cd* EOControl/EOEditingContext.m (-_globalIDChanged:): Add key to the snapshot dict before removing the temporary gid. Assert that the temporary gid and the new gid are not equal.
ratmice
2005-02-09 15:52:38 +0000
42dcaabf41* EOControl/EOEditingContext.m (-_globalIDChanged:): Add key to the snapshot dict before removing the temporary gid. Assert that the temporary gid and the new gid are not equal.
Matt Rice
2005-02-09 15:52:38 +0000
2f8e7ef959* EOAccess/EOModel.m (-writeToFile:): Make sure all objects are loaded before making backup.
ayers
2005-02-09 13:26:08 +0000
6d1dc39232* EOAccess/EOModel.m (-writeToFile:): Make sure all objects are loaded before making backup.
David Ayers
2005-02-09 13:26:08 +0000
f546c93e96* EOControl/EOEditingContext.m (-_objectBasedChangeInfoForGIDInfo:): Make a little more gdb friendly.
ayers
2005-02-09 12:20:17 +0000
310750bd82* EOControl/EOEditingContext.m (-_objectBasedChangeInfoForGIDInfo:): Make a little more gdb friendly.
David Ayers
2005-02-09 12:20:17 +0000
eb433e2fa2* EOAccess/EOModel.m (-init): Initialize _storedProcedures. (-storedProcedureNames): Simplify. (-storedProcedureNamed:): Reimplement. (-storedProcedures): Simplify. (-writeToFile:): Call _setPath: after preliminary testing. Write stored procedures. (-initWithTableOfContentsPropertyList:path:): Reimplement stored procedure handling. (-encodeTableOfContentsIntoPropertyList:): Handle stored procedures. (-encodeIntoPropertyList:): Fix encoding title for stored procedures. (-addStoredProcedure:, -removeStoredProcedure:) Make more thread safe. (-loadAllModelObjects): Implement. * EOAccess/EOStoredProcedure.m (-initWithPropertyList:): Call awakeWithPropertyList: to finish initialization. (-encodeIntoPropertyList:): Implement. (-description): Implement. (-_setIsEdited): Implement.
ayers
2005-02-09 11:39:42 +0000
8a224e3e37* EOAccess/EOModel.m (-init): Initialize _storedProcedures. (-storedProcedureNames): Simplify. (-storedProcedureNamed:): Reimplement. (-storedProcedures): Simplify. (-writeToFile:): Call _setPath: after preliminary testing. Write stored procedures. (-initWithTableOfContentsPropertyList:path:): Reimplement stored procedure handling. (-encodeTableOfContentsIntoPropertyList:): Handle stored procedures. (-encodeIntoPropertyList:): Fix encoding title for stored procedures. (-addStoredProcedure:, -removeStoredProcedure:) Make more thread safe. (-loadAllModelObjects): Implement. * EOAccess/EOStoredProcedure.m (-initWithPropertyList:): Call awakeWithPropertyList: to finish initialization. (-encodeIntoPropertyList:): Implement. (-description): Implement. (-_setIsEdited): Implement.
David Ayers
2005-02-09 11:39:42 +0000
37f068fa9a* EOControl/EOObjectStore.m: Assign correct key names for EOUpdatedKey, EOInsertedKey, EODeletedKey, EOInvalidatedKey. * EOAccess/EODatabaseContext.m (-_objectsChanged:, -commitChanges): Use EOUpdatedKey, EOInsertedKey, EODeletedKey, EOInvalidatedKey, instead of hard coded keys. * EOControl/EOEditingContext.m (-didSaveChanges, pendingInfo): Ditto.
ratmice
2005-02-08 14:02:32 +0000
8eff5c7764* EOControl/EOObjectStore.m: Assign correct key names for EOUpdatedKey, EOInsertedKey, EODeletedKey, EOInvalidatedKey. * EOAccess/EODatabaseContext.m (-_objectsChanged:, -commitChanges): Use EOUpdatedKey, EOInsertedKey, EODeletedKey, EOInvalidatedKey, instead of hard coded keys. * EOControl/EOEditingContext.m (-didSaveChanges, pendingInfo): Ditto.
Matt Rice
2005-02-08 14:02:32 +0000
d3193c61d4* EOControl/EOObjectStoreCoordinator.m (requestStoreForGlobalID:fetchSpecification:object): Add all information to the notfication. (-invalidateObjectsWithGlobalIDs:): Reimplement via map table. (-lockObjectWithGlobalID:editingContext:): Implement. (-isObjectLockedWithGlobalID:editingContext:): Implement.
ayers
2005-02-03 18:32:57 +0000
cc0706bf5c* EOControl/EOObjectStoreCoordinator.m (requestStoreForGlobalID:fetchSpecification:object): Add all information to the notfication. (-invalidateObjectsWithGlobalIDs:): Reimplement via map table. (-lockObjectWithGlobalID:editingContext:): Implement. (-isObjectLockedWithGlobalID:editingContext:): Implement.
David Ayers
2005-02-03 18:32:57 +0000
08696d8bb9* EOControl/EOFetchSpecification.h/m (allVariablesRequiredFromBindings): Rename to requiresAllQualifierBindingVariables. (-setRequiresAllQualifierBindingVariables:) (-requiresAllQualifierBindingVariables): Implement. (-setAllVariablesRequiredFromBindings:) (-allVariablesRequiredFromBindings): Deprecate. Update various setter methods to make them promotion safe.
ayers
2005-02-03 18:24:07 +0000
2e4a21ae91* EOControl/EOFetchSpecification.h/m (allVariablesRequiredFromBindings): Rename to requiresAllQualifierBindingVariables. (-setRequiresAllQualifierBindingVariables:) (-requiresAllQualifierBindingVariables): Implement. (-setAllVariablesRequiredFromBindings:) (-allVariablesRequiredFromBindings): Deprecate. Update various setter methods to make them promotion safe.
David Ayers
2005-02-03 18:24:07 +0000
d3332096d4Reimplementation of processRecentChanges handling. (see ChangeLog)
ayers
2005-02-03 18:19:29 +0000
246b40bc6aReimplementation of processRecentChanges handling. (see ChangeLog)
David Ayers
2005-02-03 18:19:29 +0000
a28eb3dc7e* EOAdaptors/Postgres95/Postgres95Adaptor.m (externalTypeNames): Add new types.
ayers
2005-02-03 17:20:51 +0000
556940e16b* EOAdaptors/Postgres95/Postgres95Adaptor.m (externalTypeNames): Add new types.
David Ayers
2005-02-03 17:20:51 +0000
1e6c4e69e5* EOAccess/EODatabaseDataSource.m (-insertObject): Do not insert object into the editing context.
ayers
2005-02-03 17:18:34 +0000
af3705ad45* EOAccess/EODatabaseDataSource.m (-insertObject): Do not insert object into the editing context.
David Ayers
2005-02-03 17:18:34 +0000
a65a8adcb9* EOAccess/EODatabaseContext.h/m:(_numLocked): Removed. (_lockedObjects): Use hash table instead of plain memory. (-_registerDatabaseContext:) Only attempt to retrieve entities with valid names. (-dealloc): Update _lockedObjects usage. (-lockObjectWithGlobalID:editingContext:): Inialize local variable. Fire fault if necessary to obtain snapshot and raise upon failure. (-registerLockedObjectWithGlobalID:): Use new hash table. (-isObjectLockedWithGlobalID:): Ditto. (-_cleanUpAfterSave): Ditto. (-invalidateAllObjects): Call -invalidateResultCache and make more gdb friendly. (-invalidateObjectsWithGlobalIDs:): Call forgetSnapshotsForGlobalIDs: on self instead of the _database. (-commitChanges): Execute the commit if a transaction is open to insure held locks are freed server side. (-snapshotForGlobalID): Move implementation to ... (-snapshotForGlobalID:after:): ... here and call this version in the _database. (-forgetSnapshotsForGlobalIDs:): Implement. (-forgetAllLocks): Ditto. (-forgetLocksForObjectsWithGlobalIDs:) Ditto.
ayers
2005-02-03 17:13:16 +0000
ff4b08e06d* EOAccess/EODatabaseContext.h/m:(_numLocked): Removed. (_lockedObjects): Use hash table instead of plain memory. (-_registerDatabaseContext:) Only attempt to retrieve entities with valid names. (-dealloc): Update _lockedObjects usage. (-lockObjectWithGlobalID:editingContext:): Inialize local variable. Fire fault if necessary to obtain snapshot and raise upon failure. (-registerLockedObjectWithGlobalID:): Use new hash table. (-isObjectLockedWithGlobalID:): Ditto. (-_cleanUpAfterSave): Ditto. (-invalidateAllObjects): Call -invalidateResultCache and make more gdb friendly. (-invalidateObjectsWithGlobalIDs:): Call forgetSnapshotsForGlobalIDs: on self instead of the _database. (-commitChanges): Execute the commit if a transaction is open to insure held locks are freed server side. (-snapshotForGlobalID): Move implementation to ... (-snapshotForGlobalID:after:): ... here and call this version in the _database. (-forgetSnapshotsForGlobalIDs:): Implement. (-forgetAllLocks): Ditto. (-forgetLocksForObjectsWithGlobalIDs:) Ditto.
David Ayers
2005-02-03 17:13:16 +0000
47653e59ec* EOAccess/EOEntity.m (-setName:): Validate the new name and remove the checks from here. (-validateName): Don't check if an attribute or a relationship with the name exist. Check if an entity of the same name exists. Return an exception with a valid reason in all cases. * EOAccess/EOAttribute.m (validateName): Return an exception with a valid reason in all cases. Don't check if a relationship with the name exists. * EOAccess/EOAttribute.m (validateName): Return an exception with a valid reason in all cases. Don't check if a attribute with the name exists.
ratmice
2005-02-03 13:09:50 +0000
ffb09fb47b* EOAccess/EOEntity.m (-setName:): Validate the new name and remove the checks from here. (-validateName): Don't check if an attribute or a relationship with the name exist. Check if an entity of the same name exists. Return an exception with a valid reason in all cases. * EOAccess/EOAttribute.m (validateName): Return an exception with a valid reason in all cases. Don't check if a relationship with the name exists. * EOAccess/EOAttribute.m (validateName): Return an exception with a valid reason in all cases. Don't check if a attribute with the name exists.
Matt Rice
2005-02-03 13:09:50 +0000
780853a70b* EOControl/EOEditingContext.h/m (setDefaultFetchTimestampLag:, defaultFetchTimestampLag): Implemented.
David Ayers
2005-01-27 09:31:43 +0000
1d05b75508* EOAccess/EOUtilities.m (NSObjectNotAvailableException): Reactivate correct exception name. Correct a few whitespace issues.
ayers
2005-01-26 14:11:31 +0000
06b7c0bf3c* EOAccess/EOUtilities.m (NSObjectNotAvailableException): Reactivate correct exception name. Correct a few whitespace issues.
David Ayers
2005-01-26 14:11:31 +0000
9afa815a9c* EOAccess/EOEntity.m (-initWithPropertyList:owner:): Correct test for file existance and reformat. * EOControl/EOFetchSpecification.h/m (-fetchSpecificationByApplyingBindings:) Remove obsolete method. (-fetchSpecificationWithQualifierBindings:) Implement. * EOControl/EOQualifier.m (initWithKeyValueUnarchiver:): Implement. (-encodeWithKeyValueArchiver:): Ditto.
ayers
2005-01-26 13:38:47 +0000
b3e33138f3* EOAccess/EOEntity.m (-initWithPropertyList:owner:): Correct test for file existance and reformat. * EOControl/EOFetchSpecification.h/m (-fetchSpecificationByApplyingBindings:) Remove obsolete method. (-fetchSpecificationWithQualifierBindings:) Implement. * EOControl/EOQualifier.m (initWithKeyValueUnarchiver:): Implement. (-encodeWithKeyValueArchiver:): Ditto.
David Ayers
2005-01-26 13:38:47 +0000
96ff6c7113* EOControl/EOQualifer.m (getKey): Allow literal numbers without class declarations. Reported by Dirk Lattermann.
ayers
2005-01-22 15:04:08 +0000
352bb53ee8* EOControl/EOQualifer.m (getKey): Allow literal numbers without class declarations. Reported by Dirk Lattermann.
David Ayers
2005-01-22 15:04:08 +0000
c84ec193b42004-11-23 Matt Rice <ratmice@yahoo.com>
ratmice
2004-11-23 12:38:53 +0000
fbc87754352004-11-23 Matt Rice <ratmice@yahoo.com>
Matt Rice
2004-11-23 12:38:53 +0000
16130d644b* EOAccess/EOModelGroup.m ([+globalModelGroup]): Search for .eomodel files as well and call -addModelWithFile: with full path. * EOAccess/EOModel.m ([-initWithContentsOfFile:]): Add assert if file could not be read.
ayers
2004-11-04 11:08:10 +0000
2f6232368a* EOAccess/EOModelGroup.m ([+globalModelGroup]): Search for .eomodel files as well and call -addModelWithFile: with full path. * EOAccess/EOModel.m ([-initWithContentsOfFile:]): Add assert if file could not be read.
David Ayers
2004-11-04 11:08:10 +0000
e0758e19bd* EOAccess/EOAdaptorContext.h: Only use ASCII characters. * EOAccess/EOSQLQualifier.m: Ditto.
ayers
2004-11-03 12:03:14 +0000
aad84f842f* EOAccess/EOAdaptorContext.h: Only use ASCII characters. * EOAccess/EOSQLQualifier.m: Ditto.
David Ayers
2004-11-03 12:03:14 +0000
332d49f7f2* GDL2.gsdoc: New file for documentation project. * GNUmakefile: Build documentation project. * EOAccess/gdl2.gsdoc: Rename to ... * EOAccess/EOAccess.gsdoc: ... new name. * EOControl/gdl2control.gsdoc: Rename to ... * EOControl/EOControl.gsdoc: ... new name. * EOAccess/GNUmakefile: Update documentation project name. * EOControl/GNUmakefile: Ditto. * README: Remove reference to potentially obsolete name.
ayers
2004-11-02 16:17:32 +0000
e9534fd2dc* GDL2.gsdoc: New file for documentation project. * GNUmakefile: Build documentation project. * EOAccess/gdl2.gsdoc: Rename to ... * EOAccess/EOAccess.gsdoc: ... new name. * EOControl/gdl2control.gsdoc: Rename to ... * EOControl/EOControl.gsdoc: ... new name. * EOAccess/GNUmakefile: Update documentation project name. * EOControl/GNUmakefile: Ditto. * README: Remove reference to potentially obsolete name.
David Ayers
2004-11-02 16:17:32 +0000
8a79e52c45* EOAccess/EODatabaseContext.h/m: (EOStoredProcedureNameHintKey, EOCustomQueryExpressionHintKey): Define missing keys. * EOControl/EODeprecated.h: (EOPrefetchingRelationshipHintKey) (EOFetchLimitHintKey, EOPromptAfterFetchLimitHintKey): Ditto. * EOControl/EOFetchSpecification.m: (EOPrefetchingRelationshipHintKey, EOFetchLimitHintKey) (EOPromptAfterFetchLimitHintKey): Ditto. Use globally defined keys instead of local strings. * EOAccess/EODatabaseChannel.m (_selectWithFetchSpecification:editingContext:) Use globally defined keys instead of local strings.
ayers
2004-11-02 10:43:58 +0000
d590199f26* EOAccess/EODatabaseContext.h/m: (EOStoredProcedureNameHintKey, EOCustomQueryExpressionHintKey): Define missing keys. * EOControl/EODeprecated.h: (EOPrefetchingRelationshipHintKey) (EOFetchLimitHintKey, EOPromptAfterFetchLimitHintKey): Ditto. * EOControl/EOFetchSpecification.m: (EOPrefetchingRelationshipHintKey, EOFetchLimitHintKey) (EOPromptAfterFetchLimitHintKey): Ditto. Use globally defined keys instead of local strings. * EOAccess/EODatabaseChannel.m (_selectWithFetchSpecification:editingContext:) Use globally defined keys instead of local strings.
David Ayers
2004-11-02 10:43:58 +0000
9517b6b6fdFix typo.
David Ayers
2004-10-07 14:13:05 +0000
32ead29544* EOAccess/EOAttribute.m (encodeIntoPropertyList:): Encode numeric values as stings for WO45 EOModel format compatibility.
ayers
2004-10-06 22:45:21 +0000
f4fd4ec9a6* EOAccess/EOAttribute.m (encodeIntoPropertyList:): Encode numeric values as stings for WO45 EOModel format compatibility.
David Ayers
2004-10-06 22:45:21 +0000
55bd76bfec* EOControl/EODebug.m (TypeToNSString): Use #ifdef to test for _C_LNG_LNG handling. * EOControl/EOFault.m: Include limits.h for UINT_MAX. * EOControl/EOGenericRecord.m: Ditto. * EOControl/EONSAddOns.m: Ditto.
ayers
2004-09-28 14:01:01 +0000
79fee856cd* EOControl/EODebug.m (TypeToNSString): Use #ifdef to test for _C_LNG_LNG handling. * EOControl/EOFault.m: Include limits.h for UINT_MAX. * EOControl/EOGenericRecord.m: Ditto. * EOControl/EONSAddOns.m: Ditto.
David Ayers
2004-09-28 14:01:01 +0000
76788e8777* EOControl/EOObserver.m ([EOObserverCenter observersForObject:]): Document as final. Return immutable copy if observers. ([EOObserverCenter observerForObject:ofClass:]): Revert to using internal map. Avoid allocating spurious enumerator. Update documentation.
ayers
2004-09-28 13:34:55 +0000
3104ab6521* EOControl/EOObserver.m ([EOObserverCenter observersForObject:]): Document as final. Return immutable copy if observers. ([EOObserverCenter observerForObject:ofClass:]): Revert to using internal map. Avoid allocating spurious enumerator. Update documentation.
David Ayers
2004-09-28 13:34:55 +0000
337fbf2903* EOAccess/EOEntity.m ([EOEntityClassDescription awakeObject:fromInsertionInEditingContext:]): Only process class properties. Remove inactive code. Document.
ayers
2004-09-28 11:09:18 +0000
432a2d5ce4* EOAccess/EOEntity.m ([EOEntityClassDescription awakeObject:fromInsertionInEditingContext:]): Only process class properties. Remove inactive code. Document.
David Ayers
2004-09-28 11:09:18 +0000