Menu

Trac Commit Log


Commit Date  
[r3133] by cboos

Partial port of r3099, in order to fix #3020 (which was similar to #2949). This fixes the TracBrowser ''Plain Text'' and ''Original Format'' links, which were broken in case an ancestor of the node got moved (the usual ''path/rev'' vs. ''created_path/created_rev'' issue).

2006-04-12 09:05:31 Tree
[r3132] by cmlenz

Chrome unit tests use `EnvironmentStub` from `trac.test`.

2006-04-12 08:54:42 Tree
[r3131] by athomas

WorkFlow:

* Some PEP8 fixes.

2006-04-12 01:52:37 Tree
[r3130] by athomas

* More trunk merges, log:trunk:3111:3129
* Renamed `ITicketManipulator.prepare_ticket_for_render()` to `ITicketManipulator.prepare_ticket()`

2006-04-11 15:58:37 Tree
[r3129] by cmlenz

Properly support plain Python files as plugins in WebAdmin.

2006-04-11 11:29:43 Tree
[r3128] by cmlenz

Load raw Python source file from the `plugins` directory, in addition to eggs. Closes #3009. Thanks to Alec for the patch.

2006-04-11 11:14:45 Tree
[r3127] by cmlenz

Fix some of the mimeviewers (patch, enscript, silvercity) which were broken in [3124].

2006-04-11 09:57:15 Tree
[r3126] by cmlenz

Fix test failure introduced in [3120].

2006-04-11 09:00:55 Tree
[r3125] by cmlenz

Fix test failure introduced in [3119].

2006-04-11 08:55:14 Tree
[r3124] by cboos

Refactoring of the Mimeview HTML Preview.

The actual content to be previewed is only retrieved and eventually
converted to unicode when it's required.
For example, when previewing images, the content of the image will not
be read anymore, only the url will be used.

In the various `render` methods, the `content` data might be a `str`
object, an `unicode` object, or an object that can be `read` to obtain
one of the former.

I did a lot of documentation updates in order to make this clear.
Under normal circumstances, `IHTMLPreviewRenderer`s will receive
a `str` object when they deal with data coming from the repository
or from attachment files, and they'll receive an `unicode` object
when they receive data from Wiki "code" blocks.

The name of the 4^th^ argument of the `Mimeview.render` method was
changed to be an `url` instead of a `detail` or `rev`.
This decouples the `mimeview` library from the `versioncontrol` library.

2006-04-10 20:54:53 Tree
Older >
MongoDB Logo MongoDB