summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/main.c
AgeCommit message (Expand)Author
2021-10-04Clean up memory handling in spawn_pager(), free(3)ing everythingIngo Schwarze
2021-10-04In man(1) mode, properly clean up the resn[] result arrayIngo Schwarze
2021-09-04during prioritization for man(1), correctly extract the section nameIngo Schwarze
2021-09-04In the fallback code to look for manual pages without using mandoc.db(5),Ingo Schwarze
2021-08-14print a BAGARG message if -T markdown is requested on man(7) input;Ingo Schwarze
2021-06-02In -W style mode, check .Xr links along the full manpath becauseIngo Schwarze
2021-02-19Append .html suffix to temporary files enabling browsers to recognise itkn
2020-07-21undocumented options -O outfilename and -O tagfilenameIngo Schwarze
2020-07-20Switch the default pager from "more -s" to "less".Ingo Schwarze
2020-06-15Support -T html -O tag by passing a file:// URI to the pager.Ingo Schwarze
2020-06-11Fix a regression in rev. 1.238 (2019/07/26):Otto Moerbeek
2020-04-02When the last file formatted yielded no tags, the tags file gotIngo Schwarze
2020-03-28Even though the HTML, man, markdown, PDF, PostScript, and tree formattersIngo Schwarze
2020-03-19The tag file always needs to be closed before starting the pager,Ingo Schwarze
2020-03-13Split tagging into a validation part including prioritizationIngo Schwarze
2020-02-24Marc Espie reported that "man p*ipc" displayed the perlipc(1) manual.Ingo Schwarze
2020-02-10For compatibility with the man(1) implementations of the man-1.6Ingo Schwarze
2020-02-06Make sure that -l always causes -w to be ignored, as documentedIngo Schwarze
2020-01-20Make the code more readable by introducingIngo Schwarze
2019-07-28Simplification, no functional change:Ingo Schwarze
2019-07-28There is no point in pledge(2)ing literally the same list twice,Ingo Schwarze
2019-07-28In man(1) mode, do the search for each name independently, andIngo Schwarze
2019-07-28Improve structure, no functional change:Ingo Schwarze
2019-07-27Move two more output state variables into the new struct outstate.Ingo Schwarze
2019-07-26Cleanup, no functional change:Ingo Schwarze
2019-07-26Structural cleanup, no functional change:Ingo Schwarze
2019-07-26Structural cleanup, no functional change:Ingo Schwarze
2019-07-19#define a handful of constant strings to reduce the diff to -portable;Ingo Schwarze
2019-07-19If no tags were generated at all, unlink(2) the empty tags file asIngo Schwarze
2019-07-15don't print the final heads-up about messageIngo Schwarze
2019-07-14If messages are shown and output is printed without a pager, displayIngo Schwarze
2019-07-10Some time ago, i simplified mandoc_msg() such that it can be usedIngo Schwarze
2019-07-03prevent mandoc from segfaulting if /tmp is not writableMarc Espie
2019-05-03avoid duplicate "bad argument" error message, also shortening the codeIngo Schwarze
2019-05-03In fs_lookup(), use stat(2) rather than access(2) to check file existence.Ingo Schwarze
2019-05-03In man(1) mode with a specific section requested,Ingo Schwarze
2019-05-03In man(1) mode, when the first argument starts with a digit,Ingo Schwarze
2019-04-30In man(1) mode, i.e. when asking for a single manual page by name,Ingo Schwarze
2019-03-04For TIOCGWINSZ, #include <termios.h> rather than <sys/termios.h>Ingo Schwarze
2019-03-04When the -S option is given to man(1) and the requested manual pageIngo Schwarze
2019-03-03Reset HTML formatter state, in particular the id_unique hash,Ingo Schwarze
2019-01-11Improve error reporting when a file given on the command lineIngo Schwarze
2019-01-10Initializers for file-scope static variables should be compile-timeIngo Schwarze
2019-01-01Support taking the -O tag value from apropos(1) key=value search terms;Ingo Schwarze
2018-12-30Cleanup, no functional change:Ingo Schwarze
2018-12-20Move the full responsibility for reporting open(2) errors fromIngo Schwarze
2018-12-14Almost mechanical diff to remove the "struct mparse *" argumentIngo Schwarze
2018-12-14Major cleanup; may imply minor changes in edge cases of error reporting.Ingo Schwarze
2018-12-13Cleanup, no functional change:Ingo Schwarze
2018-11-22In apropos(1) output, stop sorting .Nm search results by nameIngo Schwarze