[Chandler-dev] chandlerdb updated (0.6-31)

Andi Vajda vajda at osafoundation.org
Mon Jul 17 10:28:19 PDT 2006


After your next 'svn update' you need to get the latest chandlerdb version by
running in 'chandler':
      make chandlerdb  - OR -
      make install

This update introduces a new type of ref value, a dict of ref collections, 
created via an attribute of cardinality 'dict' with an otherName. More about 
this new type of value in an upcoming chandlerdb blog post...

Watchers were refactored to make use of this new value type and are now better 
at cleaning themselves up when the watcher item or the watched item disappear.

I also added support for free values, a way to (maybe) implement user ad-hoc 
attributes. Any item may now refer to any other items without any extra schema 
definitions via the new free value APIs defined on Item:

     setFreeValue(name, item)
     addFreeValue(name, item)
     getFreeValue(name, optional default)
     removeFreeValue(name, optional item)

A free value is the ref collection of all items thus set for a given free 
value name.

Andi..


More information about the chandler-dev mailing list