CVS log for pod2mdoc/Regress/formatcode/Makefile

[BACK] Up to [cvsweb.bsd.lv] / pod2mdoc / Regress / formatcode

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 18 23:56:57 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_0_2, VERSION_0_1, VERSION_0_0_13, HEAD
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Almost a rewrite of formatcodeln().
It never handled spacing properly, and my recent overhaul of
formatting code spacing introduced additional regressions.

Besides, fix two more regressions, one regarding character escapes
in outbuf_addstr(), and do not print Ns during invalid escapes in
formatcode().  Finally, correct the name of the E<verbar> character.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 18 05:09:33 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Proper translation of POD escape sequences into mdoc macros,
including correct whitespace handling.
This is surprisingly hard to get right.

The main idea is to not write Ns at the end of formatcode(),
but instead clear the wantws state and let the caller parse
ahead (in the manner required by the context) to see what is
following, then break the line or print Ns as appropriate.

Also use the following logic throughout:
* Clear wantws after writing a non-whitespace character.
* Switch to text state after flushing text output.
* Switch back to OUST_NL/wantws after a line break.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 15 19:20:47 2014 UTC (9 years, 10 months ago) by schwarze
Branch: MAIN

start a regression suite

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb