summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/roff.c
AgeCommit message (Expand)Author
2022-05-01Split a new function roff_parse_comment() out of roff_expand() because thisIngo Schwarze
2022-04-30Provide a new function roff_req_or_macro() to parse and handle a requestIngo Schwarze
2022-04-30Refactor the handler function roff_block_sub() for clarity and simplicity.Ingo Schwarze
2022-04-28The syntax of the roff(7) .mc request is quite specialIngo Schwarze
2022-04-24When we open a new .while loop, let's not attempt to close outIngo Schwarze
2022-04-24If a .shift request has a negative argument, do not use a negative arrayIngo Schwarze
2022-04-13Surprisingly, groff supports multiple copy mode escapes at theIngo Schwarze
2021-10-04store the operating system name obtained from uname(3) in the adequateIngo Schwarze
2021-10-04Do not leak 64 bytes of heap memory every time a manual page callsIngo Schwarze
2021-08-10Support two-character font names (BI, CW, CR, CB, CI)Ingo Schwarze
2021-06-27add a style message about overlong text lines,Ingo Schwarze
2020-08-27Avoid artifacts in the most common case of closing conditional blocksIngo Schwarze
2020-08-03Put the code handling \} into a new function roff_cond_checkend()Ingo Schwarze
2020-04-08Use a separate node->tag attribute rather than abusing the node->stringIngo Schwarze
2020-04-06Support manual tagging of .Pp, .Bd, .D1, .Dl, .Bl, and .It.Ingo Schwarze
2020-04-03Remove some stray argument names from function prototypes,Ingo Schwarze
2020-02-27Fully support explicit tagging of .Sh and .Ss.Ingo Schwarze
2020-02-27Introduce the concept of nodes that are semantically transparent:Ingo Schwarze
2020-01-19Introduce a new mdoc(7) macro .Tg ("tag") to explicitly mark a placeIngo Schwarze
2019-12-26Do not fail an assertion when a high level macro occurs in the bodyIngo Schwarze
2019-11-09In the past, generating comment nodes stopped at the .TH or .DdIngo Schwarze
2019-07-01delete trailing whitespace and space-tab sequences; no code change;Ingo Schwarze
2019-04-21When calling an empty macro, do not clobber existing arguments.Ingo Schwarze
2019-04-21Implement the roff .break request (break out of a .while loop).Ingo Schwarze
2019-02-06Let roff_getname() end the roff identifier at a tab characterIngo Schwarze
2019-02-06adjust style and comments in roff_getname(); no functional changeIngo Schwarze
2019-01-05no-fill mode has to be suspended during tbl(7) rendering, tooIngo Schwarze
2019-01-05Some high-level block macros have an effect similar to temporarilyIngo Schwarze
2018-12-31Store the fill mode with a new flag NODE_NOFILL in every node,Ingo Schwarze
2018-12-31Move parsing of the .nf and .fi (fill mode) requests from the man(7)Ingo Schwarze
2018-12-31Cleanup, minus 15 LOC, no functional change:Ingo Schwarze
2018-12-30Cleanup, no functional change:Ingo Schwarze
2018-12-21Rename mandoc_getarg() to roff_getarg() and pass it the roff parserIngo Schwarze
2018-12-20Bugfix:Ingo Schwarze
2018-12-18As a first step towards making roff_res() callable from mandoc_getarg(),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-12-13Cleanup, no functional change:Ingo Schwarze
2018-12-13Cleanup, no functional change:Ingo Schwarze
2018-12-13Cleanup, no functional change:Ingo Schwarze
2018-12-13Cleanup, no functional change:Ingo Schwarze
2018-12-12Cleanup, no functional change:Ingo Schwarze
2018-12-04Clean up the validation of .Pp, .PP, .sp, and .br. Make sure allIngo Schwarze
2018-11-26When a conditional block is closed by putting "\}" on a text lineIngo Schwarze
2018-10-25Implement the \f(CW and \f(CR (constant width font) escape sequencesIngo Schwarze
2018-08-25Rudimentary implementation of the roff(7) .char (output glyphIngo Schwarze
2018-08-24Rudimentary implementation of the roff(7) .while request.Ingo Schwarze
2018-08-23Implement the roff(7) .shift and .return requests,Ingo Schwarze
2018-08-21Implement the \\$@ escape sequence (insert all macro arguments,Ingo Schwarze