Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 9 14:39:49 2019 UTC (14 months, 1 week ago) by schwarze
CVS Tags: HEAD
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (unified)
In the past, generating comment nodes stopped at the .TH or .Dd macro, which is usually close to the beginning of the file, right after the Copyright header comments. But espie@ found horrible input files in the textproc/fstrcmp port that generate lots of parse nodes before even getting to the header macro. In some formatters, comment nodes after some kinds of real content triggered assertions. So make sure generation of comment nodes stops once real content is encountered.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 30 00:49:55 2018 UTC (2 years ago) by schwarze
CVS Tags: VERSION_1_14_5
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (unified)
Cleanup, no functional change: The struct roff_man used to be a bad mixture of internal parser state and public parsing results. Move the public results to the parsing result struct roff_meta, which is already public. Move the rest of struct roff_man to the parser-internal header roff_int.h. Since the validators need access to the parser state, call them from the top level parser during mparse_result() rather than from the main programs, also reducing code duplication. This keeps parser internal state out of thee main programs (five in mandoc portable) and out of eight formatters.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 14 01:24:49 2018 UTC (2 years, 1 month ago) by schwarze
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (unified)
Delete the function mparse_readmem() that has been unused for almost a decade but regularly makes maintenance harder. Mandoc is not a general-purpose library, and being as pluggable as possible is not among the goals of the project.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 14 01:18:26 2018 UTC (2 years, 1 month ago) by schwarze
Changes since 1.1: +3 -7 lines
Diff to previous 1.1 (unified)
Major cleanup; may imply minor changes in edge cases of error reporting. Finally, drop support for the run-time configurable mandocmsg() callback. It was over-engineered from the start, never used for anything in a decade, and repeatedly caused maintenance headaches. Consolidate reporting infrastructure into two files, mandoc.h and mandoc_msg.c, mopping up the bits and pieces that were scattered around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes of four parsing-related functions, and both parser structs.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 13 11:55:46 2018 UTC (2 years, 1 month ago) by schwarze
Cleanup, no functional change: Split the top level parser interface out of the utility header mandoc.h, into a new header mandoc_parse.h, for use in the main program and in the main parser only. Move enum mandoc_os into roff.h because struct roff_man is the place where it is stored. This allows removal of mandoc.h from seven files in low-level parsers and in formatters.
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.