Menu

Trac Commit Log


Commit Date  
[r4622] by mgood

allow line wrapping in diffs while preserving the display of intraline diffs containing only whitespace (fixes #1420 and #3966)

2007-01-24 20:59:24 Tree
[r4621] by cboos

IWikiMacroProvider API change.

Well, it's actually about reverting the API change done in r4451 (after the introduction of WikiContext). There, the `render_macro` took a `formatter` first argument instead of a `req`. That's way more flexible, but was not well received, as it breaks compatibility with all the existing new-style macros (see #4568).

So the calling conventions for `render_macro` have been restored and a new method has been introduced for the plugins that want to take benefit from the 0.11 features (see #4139).

The relevant part of the API is:
{{{
#!python
class IWikiMacroProvider(Interface):
"""Extension point interface for components that provide Wiki macros."""

...

def render_macro(req, name, content):
"""Return the HTML output of the macro (deprecated)"""

def expand_macro(formatter, name, content):
"""Called by the formatter when rendering the parsed wiki text.

(since 0.11)
"""
}}}

2007-01-24 19:56:12 Tree
[r4620] by cmlenz

Update jQuery to 1.1.1, which fixes #4580.

2007-01-24 16:32:33 Tree
[r4619] by cboos

Property renderer branch: fix typo that slipped in r4618...

2007-01-23 19:00:41 Tree
[r4618] by cboos

Property renderer branch: allow property renderers to gain more control over the rendering

If the text or markup output implemented so far doesn't provide enough control, one can now return a `RenderedProperty` instance. This disables the default blurb associated to properties (like ''Property '''blah''' set to ...'') and allows to specify the full `content`. In the case of #2545 (revprops) the `name` can also be set, as well as the attributes for the <dt> and <dl> elements containing the name and the content, respectively.

2007-01-23 18:55:13 Tree
[r4617] by cboos

Timeline branch: follow-up to r4616, be consistent with the variable naming (tzname for string, tz for timezone instance)

2007-01-23 11:32:31 Tree
[r4616] by cboos

Timeline branch: date preferences adjustement, so that when switching from Trac's default fixed zones to pytz, the timezone user settings won't be lost.

2007-01-23 10:21:25 Tree
[r4615] by cboos

Timeline link resolver branch: merged with latest trunk [4537:4613/trunk]

2007-01-23 08:48:45 Tree
[r4614] by cboos

Property renderer branch: merged with latest trunk [4525:4613/trunk]

2007-01-23 08:41:02 Tree
[r4613] by cboos

Initializing merge tracking on the property renderer and timeline link resolver branches

2007-01-23 07:51:56 Tree
Older >
Auth0 Logo