Menu

Trac Commit Log


Commit Date  
[r4521] by cboos

Blame branch: sync with trunk (merged [4501-4502,4509-4510,4517])

2007-01-08 14:22:56 Tree
[r4520] by thatch

Changeset UI fix for empty messages

2007-01-08 14:20:49 Tree
[r4519] by cboos

Blame branch: small cleanup in the Javascript

2007-01-08 14:18:14 Tree
[r4518] by cboos

Blame branch: highlight lines belonging to the selected changeset synchronously.

2007-01-08 14:01:02 Tree
[r4517] by cboos

A few doc fixes (on behalf of Tim)

2007-01-08 12:25:03 Tree
[r4516] by cboos

Blame branch: when clicking on a blame column, the changeset view is dynamically fetched (XHR).

This changeset view is displayed in a separate panel, on top of the blame view. It also displays the diffs concerning the file being annotated. This make it possible to better grasp the context of the change (e.g. by seeing the deleted lines).

Also, the browser links in the diff lines are set to remain in ''annotate'' mode. This makes it possible to conveniently dig the history of a specific part of the code.

Finally, the highlighting of all the rows of a given revision is only done when clicking on a blame column, not anymore when hovering on the blame column.
Not only was this too slow for big files, but doing so makes it clear which are the lines in the file that are belonging to the changeset being displayed.

2007-01-08 11:17:40 Tree
[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
Older >