Menu

Trac Commit Log


Commit Date  
[r3352] by cboos

Follow-up to r3350, needed for the OutlineFormatter (as `out` is None in that case)

2006-05-29 14:21:10 Tree
[r3351] by cboos

Move the !InterWikiMap class in its own file.

2006-05-29 14:13:24 Tree
[r3350] by cboos

Reimplemented the quickjump feature by reusing the available TracLinks syntax.

First, this avoids the duplication of the regular expressions for tickets, wiki page names, etc.
Second, we gain the ability to quickjump to log ranges, revisions defined using `rXYZ` (#2881) and all the link resolvers that were not previously considered (attachment, query, log, etc.)

Likewise, this automatically extends the quickjump feature for TracLinks defined by the `IWikiSyntaxProvider` plugins (provided they return `Element`s objects with a `href` attribute, typically `html.A(href=...)`).

This required a small refactoring of the Formatter, a step in the direction of separating the parsing and the formatting phases in the Wiki engine.

2006-05-29 13:44:02 Tree
[r3349] by cboos

Follow-up to r3348, need to be able to call get_mimetype without a content argument.

2006-05-29 13:13:00 Tree
[r3348] by cboos

The !WikiProcessors can be user configurable as well (follow-up to r3345)

2006-05-29 12:17:29 Tree
[r3347] by jonas

Our pysqlite2 cursor wrapper returns None istead of [] from fetchall to indicate an empty result set. This is non-standard and makes no sense. This fixes #3193.

2006-05-27 13:10:35 Tree
[r3346] by athomas

WorkFlow: Merged log:trunk@...:3345

2006-05-26 06:19:04 Tree
[r3345] by cboos

Refactoring of the known MIME type associations.

This is now configurable, in the `[mimeviewer]` section:
* the `mime_map` list is used for declaring new MIME types
and enumerating associated keywords or file extensions
* additionally, one can set `enscript_modes` and `silvercity_modes`,
which are lists of MIME type, mode and quality ratio associations
for those renderers.

This can be used for:
* assigning extra keywords/file suffixes to an
already known MIME type (#1283)
* adding support to new languages (#2874)
* force usage of Enscript instead of SilverCity
(or vice-versa) by overriding the default quality ratio
* adding extra languages to customized SilverCity (#2198)

Example:
{{{
[mimeviewer]
mime_map = text/x-idl:ice,text/x-dylan:dylan:dyl
enscript_modes = text/x-python:python:5,text/x-dylan:dylan
silvercity_modes = text/x-java:Java:5
}}}

2006-05-24 10:41:34 Tree
[r3344] by cboos

Added some unit test for `get_mimetype` before doing a bigger refactoring.

2006-05-23 17:17:13 Tree
[r3343] by cboos

Make it possible to escape the bold/italic formatting using the usual "!" prefix, and simplify the code accordingly.

2006-05-23 16:36:46 Tree
Older >
MongoDB Logo MongoDB