Menu

Trac Commit Log


Commit Date  
[r9068] by cboos

WikiFormatting: in code blocks, only remove the white-space prefix if it is common to all lines in the block.

2010-01-24 19:31:58 Tree
[r9067] by cboos

Fix unit-tests failure for ''Test Table with th and td wiki processors'' (r9064) when run during the whole test suite. Note that when running the trac/tests/allwiki.py test suite, there was no error with that test.

2010-01-24 19:22:27 Tree
[r9066] by cboos

WikiFormatting: accept more compact WikiProcessor declarations, on the same line as `{{{`, the start of a code block.

For example, instead of:
{{{
{{{
#!div class=important

'''Warning''': you must follow those guidelines
- ...
}}}
}}}
it is now possible to write:
{{{
{{{#!div class=important

'''Warning''': you must follow those guidelines
- ...
}}}
}}}

2010-01-24 19:09:11 Tree
[r9065] by cboos

WikiProcessors: allow leading spaces in the first line `#!processor`.

That amount of space is removed from the beginning of each line in the corresponding block, if possible.

e.g.
{{{
- This is some XML:
{{{
#!xml
<book>
<chapter><title>At the beginning...</title>
There was some leading space.
</chapter>
</book>
}}}
}}}

2010-01-24 19:00:03 Tree
[r9064] by cboos

WikiFormatting: add new built-in processors `#!td` and `#!th` for creating cells with multiline content and specifying additional attributes, like colspan or rowspan.

A table cell specified that way belong to the previous row, so for terminating a row consisting of only "block" cells, a single `||` on a line is needed.

Example:
{{{

{{{
#!th
- some header
}}}
{{{
#!th
- another header
- with more rows
}}}
||
{{{
#!td rowspan=2

Arbitrarily big content (even an embedded table of course):
|| A || B ||
}}}
{{{
#!td

Second cell, first row
}}}
||
{{{
#!td

Second cell, second row...
}}}

}}}

2010-01-24 18:38:45 Tree
[r9063] by cboos

WikiFormatting: follow-up to r9005, provide a way to specify center alignment for table cells.

When there are at least '''2''' spaces around the text in a cell, the alignment will be set to "center":
{{{
|| centered ||
|| cells ||
|| this is default ||
||and same for this||
|| again center ||
}}}

2010-01-24 18:28:42 Tree
[r9062] by cboos

In SQL queries involving custom fields, be careful to not use the field name without quoting, as it could be a reserved SQL keyword.

Closes #8987.

2010-01-24 18:23:49 Tree
[r9061] by cboos

Follow-up to [9057:9059]: `ConnectionWrapper` is simply used to proxy undefined methods to the wrapped connection.

2010-01-24 18:15:09 Tree
[r9060] by rblank

0.12dev: Fixed the generation of the scripts with `trac-admin $ENV deploy` when the path to the environment contains escape sequences (e.g. `\t`).

Closes #8103.

2010-01-22 22:14:45 Tree
[r9059] by rblank

0.12dev: Follow up to [9057] and [9058], wrap SQLite cursors in `IterableCursor`.

2010-01-22 12:28:31 Tree
Older >
MongoDB Logo MongoDB