E&S CVS Commit: PEAK - Refactoring prep for "assembly events". Deprecated 'binding.Base' in favor

pje at eby-sarna.com pje at eby-sarna.com
Mon Apr 28 18:33:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Mon Apr 28 22:32:34 UTC 2003

Modified Files:
	PEAK/src/peak/binding: components.py interfaces.py once.py
	PEAK/src/peak/model: elements.py

Log Message:
Refactoring prep for "assembly events".  Deprecated 'binding.Base' in favor
of 'binding.Component'; adjustments to binding interfaces, change 'model'
bases to use a new "superlight" attribute handling base.  Added support
for 'lookupComponent()' to take a default value, so that it's now the most
convenient way to look up *anything*, be it property, utility, URL, or
component name.  Dropped the pointless 'binding.globalLookup()' API, as it
was just syntactic sugar for a 'naming.lookup()'.  Made __class_provides__
a Once binding on the metaclass of 'binding.Component', instead of a
hard-wired collaboration between Once and Activator, so that it doesn't get
computed unless it's needed.  Note that 'peak.model' objects of primitive
or immutable types will now no longer participate in component hierarchies;
this didn't make much sense for value types, anyway.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.91&r2=1.92
http://cvs.eby-sarna.com/PEAK/src/peak/binding/interfaces.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.36&r2=1.37
http://cvs.eby-sarna.com/PEAK/src/peak/model/elements.py.diff?r1=1.7&r2=1.8

To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 PEAK/src/peak/binding/components.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.36 -r1.37 PEAK/src/peak/binding/once.py
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/model/elements.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list