summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.c
AgeCommit message (Expand)Author
2022-05-19Make roff_expand() parse left-to-right rather than right-to-left.Ingo Schwarze
2022-04-13Surprisingly, groff supports multiple copy mode escapes at theIngo Schwarze
2021-08-10Support two-character font names (BI, CW, CR, CB, CI)Ingo Schwarze
2020-10-24Treat \*[.T] in the same way as \*(.T rather than calling abort(3).Ingo Schwarze
2020-01-19Align to the new, sane behaviour of the groff_mdoc(7) .Dd macro:Ingo Schwarze
2019-06-27Fix mandoc_normdate() and the way it is used.Ingo Schwarze
2019-05-21Do not print the style message "missing date" when the date is givenIngo Schwarze
2018-12-30Cleanup, no functional change:Ingo Schwarze
2018-12-18As a first step towards making roff_res() callable from mandoc_getarg(),Ingo Schwarze
2018-12-15Yet another round of improvements to manual font selection.Ingo Schwarze
2018-12-15Several improvements to escape sequence handling.Ingo Schwarze
2018-12-14Cleanup, no functional change:Ingo Schwarze
2018-12-14Almost mechanical diff to remove the "struct mparse *" argumentIngo Schwarze
2018-10-25Implement the \f(CW and \f(CR (constant width font) escape sequencesIngo Schwarze
2018-08-20\f[] means \fP, not \fRIngo Schwarze
2018-08-16Implement the \*(.T predefined string (interpolate device name)Ingo Schwarze
2018-08-10handle the non-portable GNU-style \[charNN], \[charNNN] characterIngo Schwarze
2018-07-28Issue a STYLE message when normalizing the date format in .Dd/.TH.Ingo Schwarze
2017-07-03warn about time machines; suggested by Thomas Klausner <wiz @ NetBSD>Ingo Schwarze
2017-06-14implement the roff(7) \p (break output line) escape sequenceIngo Schwarze
2017-06-11Style message about legacy man(7) date format in mdoc(7) documentsIngo Schwarze
2017-06-02Partial implementation of \h (horizontal line drawing function).Ingo Schwarze
2017-06-01Minimal implementation of the \h (horizontal motion) escape sequence.Ingo Schwarze
2015-11-12Simplify the logic in mandoc_normdate() and add some comments.Ingo Schwarze
2015-10-15Delete two preprocessor constants that are no longer used.Ingo Schwarze
2015-10-13Reject the escape sequences \[uD800] to \[uDFFF] in the parser.Ingo Schwarze
2015-10-12To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-08-29Parse and ignore the escape sequences \, and \/ (italic corrections).Ingo Schwarze
2015-02-20For selecting a two-digit font size, support the historic syntax \s12Ingo Schwarze
2015-01-21Rudimentary implementation of the roff(7) \o escape sequence (overstrike).Ingo Schwarze
2015-01-01Fix a read buffer overrun triggered by trailing \s- or trailing \s+Ingo Schwarze
2014-12-15Catch localtime() failure for additional safety;Ingo Schwarze
2014-11-28Add some missing OpenBSD RCS markersIngo Schwarze
2014-10-28Tighten Unicode escape name parsing.Ingo Schwarze
2014-10-13Stricter syntax checking of Unicode character names:Ingo Schwarze
2014-08-18kristaps@ found this with valgrind, merge his patch from bsd.lv:Ingo Schwarze
2014-07-06Clean up messages related to plain text and to escape sequences.Ingo Schwarze
2014-07-06Fix handling of escape sequences taking numeric arguments.Ingo Schwarze
2014-07-01Clean up the warnings related to document structure.Ingo Schwarze
2014-06-20Start systematic improvements of error reporting.Ingo Schwarze
2014-04-20KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze
2014-04-08Fully implement the \B (validate numerical expression) andIngo Schwarze
2014-04-07Accept arbitrary argument delimiters for various roff(7) escape sequences.Ingo Schwarze
2014-03-21The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze
2013-12-30Remove duplicate const specifiers from the declaration of mandoc_escape().Ingo Schwarze
2013-12-30Simplify: Remove an unused argument from the mandoc_eos() function.Ingo Schwarze
2013-12-26I have no idea how it happened that \B, \H, \h, \L, and \l gotIngo Schwarze
2013-12-25Parse and ignore the roff(7) escape sequences \d (move half line down)Ingo Schwarze
2013-12-25s/[Nn]ull/NUL/ in comments where appropriate;Ingo Schwarze