E&S CVS Commit: PEAK - Beginning of refactoring to support naming authorities, absolute addresses,

pje at eby-sarna.com pje at eby-sarna.com
Wed Dec 4 19:04:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Thu Dec  5 00:03:23 UTC 2002

Modified Files:
	PEAK/src/peak/naming: contexts.py interfaces.py names.py

Log Message:
Beginning of refactoring to support naming authorities, absolute addresses,
etc.  This is just a few small fixups; the main changes will be coming
later in the refactoring to make "Address = Parameters + Name", and to move
most of the "name arithmetic" into the name and address classes.  It should
then end up pretty easy to do most of the things people will want to do
with new naming or address systems.

One of the first changes here is to make AbstractContext -> NameContext,
and GenericURLContext -> AddressContext.  Nameless, contextless addresses
will use AddressContext, and anything which contains a name will implement
an address class, and a context based on NameContext.  All of these names
may change before the refactoring is done, which is why I've left in
aliases to the old names for now.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/naming/contexts.py.diff?r1=1.36&r2=1.37
http://cvs.eby-sarna.com/PEAK/src/peak/naming/interfaces.py.diff?r1=1.21&r2=1.22
http://cvs.eby-sarna.com/PEAK/src/peak/naming/names.py.diff?r1=1.33&r2=1.34

To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 PEAK/src/peak/naming/contexts.py
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/naming/interfaces.py
cvs rdiff -r1.33 -r1.34 PEAK/src/peak/naming/names.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