Menu

Commit [r4526]  Maximize  Restore  History

Property renderer branch: add IPropertyRenderer and IPropertyDiffRenderer interfaces

This also provides default implementation for those interfaces, which reproduce the current behavior, except for the default `DefaultPropertyDiffRenderer` which implements #3002 (view difference of multi-line properties as rendered diffs).

In order to implement the above, a few changes in the `PatchRenderer` were needed.

Also, the `.revision` property of the WikiContext which was added in the blame branch was also needed here, so I ported that part of r4483.

The main ticket for this is #1601.

cboos 2007-01-09

changed /sandbox/property-renderers-tmp/htdocs/css/diff.css
changed /sandbox/property-renderers-tmp/templates/changeset.html
changed /sandbox/property-renderers-tmp/templates/diff_div.html
changed /sandbox/property-renderers-tmp/trac/mimeview/patch.py
changed /sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/browser.py
changed /sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/changeset.py
changed /sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/util.py
changed /sandbox/property-renderers-tmp/trac/wiki/api.py
/sandbox/property-renderers-tmp/htdocs/css/diff.css Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/templates/changeset.html Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/templates/diff_div.html Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/trac/mimeview/patch.py Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/browser.py Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/changeset.py Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/trac/versioncontrol/web_ui/util.py Diff Switch to side-by-side view
Loading...
/sandbox/property-renderers-tmp/trac/wiki/api.py Diff Switch to side-by-side view
Loading...
Auth0 Logo