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

This update introduces a new argument to notification callbacks called
'dirties'. When 'op' is 'changed' or 'refresh', 'dirties' is a tuple containing the names of attributes that changed on the item being notified about (typically, the arg named 'other'). I changed all the code I could find to accomodate this new argument.

When 'op' is 'changed', 'dirties' should not be empty.
When 'op' is 'refresh', 'dirties' is either the same tuple as for 'changed' or an empty tuple. For any other value of 'op' such 'add' or 'remove', 'dirties' is the empty tuple.

Callbacks that decide to make use of this new argument should only assume that a given attribute did not change if 'dirties' is not empty. In other words, if 'dirties' is empty, any attribute could have changed but that information is not readily (read "fastly") available.

Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to