Author: qmathe
Date: Thu May  3 13:39:51 2012
New Revision: 7720

URL: http://svn.gna.org/viewcvs/etoile?rev=7720&view=rev
Log:
* Made COObject collection mutation primitive methods much simpler

* Changed -updateRelationshipConsistencyWithValue:forProperty: to 
-updateRelationshipConsistencyForProperty:oldValue: to support mutating 
collections in place

* Added -didChangeValueForProperty:oldValue:

* Changed -setValue:forProperty: to use -didChangeValueForProperty:oldValue:

* Fixed random test failures... We had an invalid metamodel, which resulted in 
opposites being randomly set based on the order in which +initialize was called 
on 
COGroup and COContainer. The metamodel now declares no inverse relationships in 
COObject and no opposites in both COGroup and COContainer. Concrete subclasses 
are 
now expected to declare them.

Modified:
    trunk/Etoile/Frameworks/CoreObject/COContainer.m
    trunk/Etoile/Frameworks/CoreObject/COEditingContext.m
    trunk/Etoile/Frameworks/CoreObject/COGroup.m
    trunk/Etoile/Frameworks/CoreObject/COObject.h
    trunk/Etoile/Frameworks/CoreObject/COObject.m
    trunk/Etoile/Frameworks/CoreObject/TestCommon.m
    trunk/Etoile/Frameworks/CoreObject/TestRelationshipIntegrity.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to