Menu

Trac Commit Log


Commit Date  
[r4515] by cboos

Blame branch: refactor the IHTMLPreviewAnnotator and add a few Javascript features

More specifically, create a dedicated `BlameAnnotator` class, encapsulating the logic for building blame annotations. This makes it easier to maintain state as the annotation is progressing. Here, we output only once the revision number in a block of consecutive lines belonging to the same revision.

The Javascript features are:
- hilight all lines belonging to the same revision, when the mouse hovers on the blame column
- clicking on the blame column toggles the display of the full changeset text

2007-01-08 11:07:48 Tree
[r4514] by cboos

Blame branch: add links to specific lines within a given file revision, from the changeset view

2007-01-08 11:00:16 Tree
[r4513] by cboos

Blame branch: several minor fixes
- fix changeset links which were not following copies
- put ''blame'' annotation before ''line'' annotation. In order to achieve that, preserve the order of annotations given to Mimeview.render.

Even smaller changes:
- document the implementation of IHTMLPreviewAnnotator
- logging rendering attempts made more robust (empty annotations list supported)
- another small fine tuning for the color code
- when browsing at fixed revision, use that revision's age for selecting the newest date for the color code.
- browser template: use directly Node objects as `entries` in render_dir

2007-01-08 10:57:22 Tree
[r4512] by cboos

TracMercurial for 0.11: use `filelog.size`, which can give the size of a file in a much more efficient way than the naive `len(self.read())` used before, when revlogng is used. If revlogng is not used, `filelog.size()` reverts to the inefficient way, as that was the only way before revlogng. The other TracMercurial branch will not use this, so that it can remain compatible with old hg versions (0.8.1 and older).

2007-01-08 10:45:03 Tree
[r4511] by cboos

0.10.4dev: ported r4510 (''trigger sync in post-commit-hook, fixes #2902'')

2007-01-08 08:35:47 Tree
[r4510] by cboos

Avoid attempting a vc cache sync in the middle of other processing, in the post-commit-hook. Fixes #2902 (second part).

2007-01-08 08:31:25 Tree
[r4509] by mgood

add compatibility wrappers for `wiki_to_*` methods moved into the WikiContext (fixes #4502)

2007-01-08 03:35:28 Tree
[r4508] by mgood

SpamFilter: remove unused import of `wiki_to_html`

2007-01-07 23:25:10 Tree
[r4507] by athomas

PermissionPolicy: `IResourceMapper` interface converted to use contexts. Cleaner.

2006-12-30 01:55:51 Tree
[r4506] by athomas

PermissionPolicy:

* Updated more wiki templates.
* Use `context` object more liberally in `wiki.web_ui`.

2006-12-29 23:31:49 Tree
Older >