E&S CVS Commit: PEAK - Move from absolute to relative URLs:

pje at eby-sarna.com pje at eby-sarna.com
Sun Oct 17 09:55:01 EDT 2004

Module Name:	PEAK
Committed By:	pje
Date:		Sun Oct 17 13:54:39 UTC 2004

Modified Files:
	PEAK/src/peak/web: environ.py interfaces.py templates.py
	PEAK/src/peak/web/tests: template2.pwt test_environ.py

Log Message:
Move from absolute to relative URLs:

* Added 'web.relativeURL(base,url)' to compute relative URLs

* Added 'url' attribute to 'web.ITraversalContext' to supply the canonical
  relative URL (or absolute URL if it can't be made relative)

* PWT 'url' operations use the new 'url' attribute

Also, slightly simplified PWT parse algorithm .

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/web/environ.py
cvs rdiff -r1.42 -r1.43 PEAK/src/peak/web/interfaces.py
cvs rdiff -r1.29 -r1.30 PEAK/src/peak/web/templates.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/web/tests/template2.pwt
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/web/tests/test_environ.py
cvs rdiff -r1.13 -r1.14 PEAK/src/peak/web/tests/test_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