summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* remove some instances of MdocdateIngo Schwarze2017-02-083-3/+3
|
* disable some tests that expose wcwidth(3) differences among systemsIngo Schwarze2017-02-081-1/+4
|
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-081244-0/+23823
| | | | | Both kristaps@ and wiz@ repeated asked for this, literally for years.
* first draft of NEWS for 1.14.1Ingo Schwarze2017-02-071-0/+107
|
* new manual pages for catman(8) and mandocd(8)Ingo Schwarze2017-02-063-1/+391
|
* Polishing:Ingo Schwarze2017-02-062-18/+53
| | | | | | | | | | * support -Ios= * create missing directories * fix output file permissions * error out on comminication failures I now consider this good enough for a first release. Bugs and missing features are still likely, though.
* explicitly pass -Tascii to mandoc(1), such that LC_CTYPE does notIngo Schwarze2017-02-061-2/+2
| | | | get into the way, and fix the usage() while here
* The .Nm macro does not only use the default name when it has noIngo Schwarze2017-02-064-9/+13
| | | | | | | | | | argument, but also when the first argument is a child macro. Arcane issue found in the FreeBSD cxgbetool(8) manual that Baptiste Daroussin <bapt at FreeBSD> sent me long ago for a different reason. While solving this, switch to the new technique of doing text production in the validator, reducing code duplication in the formatters, which also makes -Ttree output clearer.
* uint8_t requires <stdint.h>; from Michael StapelbergIngo Schwarze2017-02-051-0/+1
|
* document output spacing near delimitersIngo Schwarze2017-02-051-1/+3
|
* remove several things that were taken care of in the pastIngo Schwarze2017-02-051-25/+0
|
* add missing file man.options.1Ingo Schwarze2017-02-051-0/+1
|
* document hyphenationIngo Schwarze2017-02-051-0/+24
|
* Wrap .St content in a <span class="St">.Ingo Schwarze2017-02-052-2/+11
| | | | Also add forgotten <span class="Ux"> to .At rendering.
* fix font selection for .Bf without argumentIngo Schwarze2017-02-051-1/+1
|
* mark up .Ar, .Fa, .Va, .Ft, and .Vt with <var> rather than <i>;Ingo Schwarze2017-02-055-17/+21
| | | | suggested by bentley@ long ago, but needed lots of cleanup first
* for .Rs, use <cite>Ingo Schwarze2017-02-054-2/+5
|
* Improve <table> syntax:Ingo Schwarze2017-02-055-13/+17
| | | | | | | | The <col> element can only appear inside <colgroup>, so use <colgroup>. The <tbody> element is optional and useless, so don't use it. Even if we would ever need <thead> or <tfoot>, <tbody> would still be optional and useless; besides, we will likely never need <thead> or <tfoot>, simply because our languages don't support such functionality.
* experimental mandocd(8) and catman(8)Ingo Schwarze2017-02-045-9/+519
| | | | for development in the tree, not yet ready for production
* Do not fix the default indent for all subsequent files; some may useIngo Schwarze2017-02-042-1/+7
| | | | | a different macro language and hence require a different indent. You can see the effect with "man -a 1 host hostname".
* Minor cleanup, no functional change:Ingo Schwarze2017-02-031-6/+6
| | | | | | | We always have a roff parser, so mparse_free() does not need to check for existence before freeing it. Also arrange code in struct mparse, mparse_reset(), and mparse_free() in the same order for readability.
* more work found in old mailsIngo Schwarze2017-02-031-1/+17
|
* If an application parses multiple files with mparse_readfd(3) butIngo Schwarze2017-02-031-0/+1
| | | | | | | | | without using mparse_open(3) to open the files, and if one of the files includes a gzip'ed file with .so, then the gzip flag remains set and the next main file will be expected to be gzip'ed. Fix this by clearing the gzip flag in mparse_reset(3). Bug found and patch provided by Michael <Stapelberg at debian dot org>.
* even man-1.6g does *not* have apropos -C,Ingo Schwarze2017-02-021-5/+0
| | | | maybe it is MacOS X specific, i don't know...
* correct information about early groff (up to 1.02)Ingo Schwarze2017-02-021-39/+42
|
* mention groff git, and one minor fixIngo Schwarze2017-02-021-0/+3
|
* more info about man-1.6 and man-dbIngo Schwarze2017-02-021-74/+94
|
* minor fixesIngo Schwarze2017-02-021-5/+3
|
* new page, not to be installedIngo Schwarze2017-02-021-0/+1307
|
* add missing HISTORY informationIngo Schwarze2017-01-313-2/+33
|
* Rework fill mode handling for -man -Thtml.Ingo Schwarze2017-01-301-68/+133
| | | | | | | | | | | | Basically, open <pre> whenever printing text in no-fill mode and it is not already open, and close it whenever printing something that cannot be inside <pre>. This fixes a crash reported by Michael <Stapelberg at debian dot org> in the French Linux chroot(2) manual and also improves rendering for OpenBSD pages like DPMSGetTimeouts(3) and GLwDrawingArea(3). These changes also permitted retiring struct mhtml.
* eliminate one useless struct and one level of indirection;Ingo Schwarze2017-01-294-18/+14
| | | | no functional change
* Add a warning "new sentence, new line".Ingo Schwarze2017-01-284-1/+23
| | | | | | | | | This does not attempt to pinpoint each and every offender, but instead tries very hard to avoid false positives: Currently, there are only two false positives in the whole OpenBSD base system. Only do this in mdoc(7), not in man(7), because manuals written in man(7) typically have much worse problems than this. OK jmc@ on a previous version of the patch
* Simplify usage of print_otag() even more:Ingo Schwarze2017-01-283-82/+84
| | | | accept NULL to skip the attribute or format.
* MANDOCERR_BADTAB no longer exists,Ingo Schwarze2017-01-281-8/+0
| | | | and i checked that MANDOCERR_FI_TAB is used correctly.
* .Bl -column with zero columns is legal, so don't segfalt on it.Ingo Schwarze2017-01-281-16/+16
| | | | | | Bug introduced in rev. 1.248 triggered for example in gssapi(3), analyzed and reported by Michael <Stapelberg at debian dot org>. Simplify the code a bit more while here.
* warn about invalid output optionsIngo Schwarze2017-01-274-39/+77
| | | | | and error out if they occur on the command line; missing feature found in the TODO file
* warn about missing one-line description;Ingo Schwarze2017-01-271-3/+8
| | | | missing feature found in the TODO file
* Parse the section number from the content of preformatted pagesIngo Schwarze2017-01-272-18/+30
| | | | and warn if it doesn't match the directory where the file was found.
* If parsing a page reveals that it is neither mdoc(7) nor man(7),Ingo Schwarze2017-01-271-12/+16
| | | | | fall back to treating it as preformatted rather than treating it as man(7) anyway.
* fix base directory detection for makewhatis -tIngo Schwarze2017-01-271-0/+14
|
* Always register names taken from file names in the names ohash.Ingo Schwarze2017-01-271-4/+6
| | | | Bug found by makewhatis -p crashing in mlink_check().
* more info on man(7) .Xr hyperlinkingIngo Schwarze2017-01-261-0/+3
|
* Fix -man -Thtml formatting after .nf (which has nothing to doIngo Schwarze2017-01-264-68/+48
| | | | | | | | | | | | | | | | with "literal", by the way, it means "no fill"): * Use <pre> such that whitespace is preserved. * Preserve lines breaks. * For font alternating macros, avoid node recursion which required scary juggling with the fill state. Instead, simply print the text children directly. Missing feature first noticed by kristaps@ in 2011, the again reported by afresh1@ in 2016, and finally reported here: https://github.com/Debian/debiman/issues/21 , which i only found because of Shane Kerr's comment here: https://plus.google.com/110314300533310775053/posts/H1eaw9Yskoc
* add arm64 architecture; from deraadt@Ingo Schwarze2017-01-251-1/+1
|
* Improve HTML formatting of .Bl -tag.Ingo Schwarze2017-01-256-12/+66
| | | | | | | | | | | | | | | | | | | | | In particular, when using the style sheet, put the body on the same line as the head for short heads, or on the next line for long heads, in a way that preserves both correct indentation and correct vertical spacing with and without -compact, and with one or more heads per body (hi, Zaphod) - eight use cases so far - and with and without -tag, and with and without -offset, 32 use cases grand total. Using many ideas from zhuk@, from <David dot Dahlberg at fkie dot fraunhofer dot de>, and from Benny Lofgren <bl dash lists at lofgren dot biz>, and a few of my own. This is an excellent demonstration that CSS is an extremely hostile language, much more trapful and much harder to use than, say, C. When matthew@ reported this in July 2014 (!), it was already a known issue, and i no longer remember for how long. My first serious attempt at fixing it (in November 2015) failed miserably. I'd love to see simplifications of both the generated HTML code and of the style sheet, but without breaking any of the 32 use cases, please.
* bug was fixed, delete the BUGS sectionIngo Schwarze2017-01-211-9/+0
|
* slightly simplify header and footer stylesIngo Schwarze2017-01-212-11/+6
|
* Avoid writing constant style attributes over and over again.Ingo Schwarze2017-01-212-12/+20
| | | | Move them to the style sheet.
* clean up the remaining class attributesIngo Schwarze2017-01-214-49/+31
|