Sun, 13 Dec 2009 23:49:53 +0100 minirst: improve layout of field lists
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.
Sun, 13 Dec 2009 22:37:30 +0100 minirst: don't test regexps twice
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.
Sun, 13 Dec 2009 19:24:24 +0100 minirst: run inlineliterals too in debug mode
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 19:24:24 +0100] rev 10063
minirst: run inlineliterals too in debug mode
Sun, 13 Dec 2009 18:54:54 +0100 test-share: handle sed/GNU-sed discrepancies
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:54:54 +0100] rev 10062
test-share: handle sed/GNU-sed discrepancies
Sun, 13 Dec 2009 18:06:24 +0100 Make {file_copies} usable as a --template key
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.
Sun, 13 Dec 2009 18:06:24 +0100 templatekw: change {file_copies} behaviour, add {file_copies_switch}
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.
Sun, 13 Dec 2009 18:06:24 +0100 test-command-template: test 'file_copies' keyword
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10059
test-command-template: test 'file_copies' keyword
(0) -10000 -3000 -1000 -300 -100 -30 -10 -7 +7 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip