Summary of changes:
- IHTMLPreviewAnnotator has been extended in the following ways:
- new method `get_annotation_data(context)` that can be used to setup a particular annotator, so that further calls to `annotate_row` get to see this additional data
- `annotate_row(context, row, number, line, annotations)` has been extended to take additional arguments `context` and `annotations` (the latter being the data produced by `get_annotation_data`)
- Mimeview methods `preview_data` and `render` now take an additional `force_source` arguments, defaulting to `False`. This is useful for forcing annotations on content that would otherwise be rendered to some non-line oriented format
- In the `versioncontrol` API:
- new method `Repository.short_rev` (needed to display abbreviated forms of revision numbers, in versioncontrol backends having long identifiers)
- new method `Node.get_annotations()`, returning an array of `rev`, one entry per line of the content
- Some refactorings in the `svn_fs` backend: simplify the `SubversionNode` constructor so that it gets only the `SubversionRepository`. This is needed in order to implement `SubversionNode.get_annotations()`
TODO:
- the WikiContext needs to now about the version information if available
- the display of annotation is ugly. Well, not that ugly, but could be much improved.
- more robust code in case `svn.client.blame2` is not available or not working correctly.