Menu

Trac Commit Log


Commit Date  
[r4487] by cboos

Blame branch: avoid divide by zero issue when there's only one rev to show in the blame

2006-12-21 15:23:35 Tree
[r4486] by cboos

Blame branch: another oops, short_rev was already there...

2006-12-21 14:41:31 Tree
[r4485] by cboos

Blame branch: oops, obviously the IHTMLPreviewAnnotator is better implemented in the Browser module. Moving it there.

2006-12-21 14:35:52 Tree
[r4484] by cboos

Blame branch: added color codes for blame cells, oldest are light blue, newest are bright red.

2006-12-21 14:27:40 Tree
[r4483] by cboos

Blame branch: annotate an arbitrary revision. This requires adding basic support for storing the `version` information in WikiContext.

2006-12-21 13:40:50 Tree
[r4482] by cboos

TracMercurial: added annotate support (needs the [source:sandbox/blame] branch to be activated)

2006-12-21 12:56:13 Tree
[r4481] by cboos

Blame branch: basic working version for blame support.

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.

2006-12-21 12:54:55 Tree
[r4480] by cboos

Starting a branch for ''blame'' support (#629)

2006-12-21 12:19:42 Tree
[r4479] by mgood

Ported r4471 and r4478 to 0.10-stable (fixes #2669)

2006-12-20 18:03:50 Tree
[r4478] by mgood

add `Content-Disposition` headers for report alternate formats (fixes #2669)

2006-12-20 17:52:56 Tree
Older >
MongoDB Logo MongoDB