Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 23:49:53 +0100] rev 10065
minirst: improve layout of field lists
Before, we used the padding following the key to compute where to wrap
the text. Long keys would thus give a big indentation. It also
required careful alignment of the source text, making it cumbersome to
items to the list.
We now compute the maximum key length and use that for all items in
the list. We also put a cap on the indentation: keys longer than 10
characters are put on their own line. This is similar to how rst2html
handles large keys: it uses 14 as the cutoff point, but I felt that 10
was better for monospaced text in the console.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 22:37:30 +0100] rev 10064
minirst: don't test regexps twice
We know the regexps match since splitparagraphs used them too.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 19:24:24 +0100] rev 10063
minirst: run inlineliterals too in debug mode
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:54:54 +0100] rev 10062
test-share: handle sed/GNU-sed discrepancies
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10061
Make {file_copies} usable as a --template key
Before this, to display file copies in templates, you had to write something
like {file_copies%filecopy}. For some reason, the {file_copy} subtemplate was
used by default but not defined by default in changeset_templater, while styles
were already using it. Here we define {file_copy} in changeset_templater, and
change the templater to handle formatting strings like {file_copies%filecopy}
with already expanded keys (in this case {file_copies}), for backward
compatibility.
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10060
templatekw: change {file_copies} behaviour, add {file_copies_switch}
{file_copies} template now displays file copies with or without the --copies
switch being set. A new {file_copies_switch} template implements the former
behaviour.
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10059
test-command-template: test 'file_copies' keyword