E&S CVS Commit: PEAK - Components now support names and paths:

pje at eby-sarna.com pje at eby-sarna.com
Sat Nov 9 17:07:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sat Nov  9 22:06:07 UTC 2002

Modified Files:
	PEAK: TODO.txt
	PEAK/src/peak: peak.ini
	PEAK/src/peak/binding: components.py interfaces.py once.py
	PEAK/src/peak/binding/tests: __init__.py
	PEAK/src/peak/config: config_components.py
	PEAK/src/peak/model: api.py
	PEAK/src/peak/naming: contexts.py properties.py
	PEAK/src/peak/storage: LDAP.py SQL.py connections.py

Log Message:
Components now support names and paths:

* Objects created by naming system lookup, binding.New(), or
  AutoCreated, can all now automatically receive information
  about their name as well as their parent component.

* binding.getComponentName() gets an object's name or 'None'

* binding.getComponentPath(c, relativeTo=None) gets an object's
  path from its root component, or as a relative path from
  'relativeTo' (assumes 'relativeTo' is a parent of 'c').
  Unknown names are rendered as '*' in the path.

* Added 'binding.Acquire' after all.

* Improved management of _p_jar/_p_oid by model.Element, using
  _p_jar as the parent component, and _p_oid as the component
  name for elements.

* Added unit tests for name and path support.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.22&r2=1.23
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.14&r2=1.15
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.58&r2=1.59
http://cvs.eby-sarna.com/PEAK/src/peak/binding/interfaces.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.21&r2=1.22
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.17&r2=1.18
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.23&r2=1.24
http://cvs.eby-sarna.com/PEAK/src/peak/model/api.py.diff?r1=1.36&r2=1.37
http://cvs.eby-sarna.com/PEAK/src/peak/naming/contexts.py.diff?r1=1.29&r2=1.30
http://cvs.eby-sarna.com/PEAK/src/peak/naming/properties.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/storage/LDAP.py.diff?r1=1.11&r2=1.12
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/storage/connections.py.diff?r1=1.9&r2=1.10

To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 PEAK/TODO.txt
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/peak.ini
cvs rdiff -r1.58 -r1.59 PEAK/src/peak/binding/components.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/binding/once.py
cvs rdiff -r1.17 -r1.18 PEAK/src/peak/binding/tests/__init__.py
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.36 -r1.37 PEAK/src/peak/model/api.py
cvs rdiff -r1.29 -r1.30 PEAK/src/peak/naming/contexts.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/naming/properties.py
cvs rdiff -r1.11 -r1.12 PEAK/src/peak/storage/LDAP.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/storage/SQL.py
cvs rdiff -r1.9 -r1.10 PEAK/src/peak/storage/connections.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