E&S CVS Commit: PEAK - Misc. peak.binding cleanups and DEPRECATIONS, as follows:

pje at eby-sarna.com pje at eby-sarna.com
Tue Aug 19 19:08:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Tue Aug 19 23:07:30 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/binding: components.py interfaces.py
	PEAK/src/peak/binding/tests: __init__.py
	PEAK/src/peak/config/tests: __init__.py
	PEAK/src/peak/naming: URL.py interfaces.py names.py
	PEAK/src/peak/running: commands.py
	PEAK/src/peak/running/tools/n2: sql.py
	PEAK/src/peak/storage: SQL.py connections.py transactions.py xmi.py
	PEAK/src/peak/web: resources.py

Log Message:
Misc. peak.binding cleanups and DEPRECATIONS, as follows:

 - The following 'binding' forms are now deprecated, and will go away before
   0.5 beta is released:

   'bindToProperty(x,y)' -- use 'bindTo(PropertyName(x),default=y)'

   'bindToParent()' -- use 'bindTo("..")'

   'bindToSelf()'  -- use 'bindTo(".")'

   'bindToUtilities()' -- no replacement; let me know if you're using this.

 - 'naming.IName' is now derived from 'binding.IComponentKey', so names and
   addresses must now support the 'findComponent()' method.  All PEAK name
   and address types provide support for this.

 - The 'lookup()' method of 'binding.IComponentKey' is now called
   'findComponent()', to better distinguish it from 'lookup()' in
   'naming.IBasicContext', which does something very different.

 - 'binding.bindTo()' and 'binding.bindSequence()' now pre-adapt their
   arguments to 'IComponentKey', to speed lookups at runtime, and to ensure
   that errors due to an unusable parameter type occur at class creation
   time instead of waiting until lookup time.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.75&r2=1.76
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.123&r2=1.124
http://cvs.eby-sarna.com/PEAK/src/peak/binding/interfaces.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.35&r2=1.36
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/__init__.py.diff?r1=1.23&r2=1.24
http://cvs.eby-sarna.com/PEAK/src/peak/naming/URL.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/naming/interfaces.py.diff?r1=1.43&r2=1.44
http://cvs.eby-sarna.com/PEAK/src/peak/naming/names.py.diff?r1=1.56&r2=1.57
http://cvs.eby-sarna.com/PEAK/src/peak/running/commands.py.diff?r1=1.33&r2=1.34
http://cvs.eby-sarna.com/PEAK/src/peak/running/tools/n2/sql.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py.diff?r1=1.51&r2=1.52
http://cvs.eby-sarna.com/PEAK/src/peak/storage/connections.py.diff?r1=1.20&r2=1.21
http://cvs.eby-sarna.com/PEAK/src/peak/storage/transactions.py.diff?r1=1.29&r2=1.30
http://cvs.eby-sarna.com/PEAK/src/peak/storage/xmi.py.diff?r1=1.29&r2=1.30
http://cvs.eby-sarna.com/PEAK/src/peak/web/resources.py.diff?r1=1.12&r2=1.13

To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 PEAK/CHANGES.txt
cvs rdiff -r1.123 -r1.124 PEAK/src/peak/binding/components.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.35 -r1.36 PEAK/src/peak/binding/tests/__init__.py
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/config/tests/__init__.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/naming/URL.py
cvs rdiff -r1.43 -r1.44 PEAK/src/peak/naming/interfaces.py
cvs rdiff -r1.56 -r1.57 PEAK/src/peak/naming/names.py
cvs rdiff -r1.33 -r1.34 PEAK/src/peak/running/commands.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/running/tools/n2/sql.py
cvs rdiff -r1.51 -r1.52 PEAK/src/peak/storage/SQL.py
cvs rdiff -r1.20 -r1.21 PEAK/src/peak/storage/connections.py
cvs rdiff -r1.29 -r1.30 PEAK/src/peak/storage/transactions.py \
    PEAK/src/peak/storage/xmi.py
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/web/resources.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