summaryrefslogtreecommitdiffstats
path: root/libexec/makewhatis
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22This code served us well for many years,schwarze10-1203/+0
but we are unlikely to reactivate it; espie@ agrees. The new code is in /usr/src/usr.bin/mandoc/mandocdb.c.
2014-03-21fix "my $_" issues in preparation for perl 5.18espie5-69/+72
2014-03-21fix picky mode, my subject handler was not maintaining enough state.espie2-11/+17
problem introduced some time ago while improving the code :( okay millert@
2013-06-17Do not misinterpret "--" at the end of a NAME section input lineschwarze1-2/+2
as hyphenation. Fixes parsing of some manuals preformatted with outlandish versions of groff. Issue found by kerberos-robert@ in krb5_appdefault_time.0 Okay espie@
2013-01-29refactor code a bit to actually store subjects in the subject objectespie6-117/+120
reformat for 8 spaces tab. okay millert@
2012-01-27fix pkg_delete for people who had mandocdb enabled:espie1-2/+18
if we don't find a whatis.db when deleting (which could happen if mandocdb was enabled while pkg_add was running), first create it, then update it. okay nigel@, schwarze@
2012-01-22Bring in corrections and improvements that were committed to the newschwarze1-2/+32
suite of tools now being disabled, as far as they apply to the current tools as well.
2011-12-03Remove an OpenBSD-specific tweak regarding .Xr spacingschwarze1-3/+3
and make it compatible with bsd.lv mandoc and with groff-1.21. This tweak was originally added for compatibility with groff-1.15, which is no longer needed. ok jmc@ kristaps@
2011-07-02add file equivalence. Choose the most recent timestamp between man andespie1-14/+42
catman pages. okay millert@
2011-06-24Handle \*(Na in .Nd, needed by nan(3).schwarze1-2/+2
Prodded by deraadt@, "Yep" espie@.
2011-03-02zap trailing whitespace;jmc1-4/+4
2011-02-22shut up unless -v, and a few minor enhancements.espie6-51/+110
okay miod@
2011-01-26placeholder for future changes, as discussed with miod@espie2-1/+40
2010-10-29more nroff removal, with tweaks from (and ok) schwarze;jmc1-10/+6
2010-10-25give a different error message for empty files, as they are obviously wrongespie1-1/+5
2010-07-13handle Tm, like in tiff2psespie1-2/+2
2010-07-13work around a strange problem in locality of @_ by copying stuff.espie1-4/+4
okay millert@
2010-07-09don't print directly, use an interface that's similar enough to pkg_addespie5-98/+153
print framework so that we'll be able to integrate with it better. ok millert@
2009-12-24deal with the new .Aq in perl manpages production.espie1-2/+5
- handle .ie, .el minimally - define \(aq as the ' symbol.
2009-10-11Support manpages with NAME written in Spanish/Italian/Portuguesesthen1-2/+2
ok espie@
2008-09-01Install files in the correct directory even with NOMAN set.drahn1-17/+4
Theo made a number of suggestions/enhancements to get to this final version.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray1-9/+2
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2007-08-22err msg looks better with a \nespie1-2/+2
2007-05-31convert to new .Dd format;jmc1-2/+2
2005-03-05bit of clean-up, cosmetic, style, comments.espie5-38/+52
2005-01-13handleespie1-1/+3
.if n .if t sequences (see jadetex.1) okay jmc@
2004-12-24streamline parser loops, now we've got a simple loop with flags, insteadespie2-126/+113
of involved loops. Makes it MUCH easier to have uniform treatment of various constructs. okay millert@
2004-08-24synch with apropos, kill lines longer than 8192.espie1-1/+4
from Jared Yanovich. (pending better parser after 3.6)
2004-08-07.tbl is also a valid suffix.espie1-2/+2
2004-08-06not an error when merging in a directory without whatis.db.espie1-7/+7
2004-08-06creeping chdir. Not used at all these days, but would bug other clients,espie1-5/+1
such as pkg_ad....
2004-08-06Reorganize makewhatis in smaller modules.espie9-637/+831
Avoid pulling unneeded code: for instance, if you have only formated manpages in your system, Unformated will never be used; Check put aside and only used in -p mode. -t mode won't pull Whatis. Find; File::Compare and File::Copy and File::Temp likewise. okay millert@
2004-07-06the whatis.db database is also used by whatis(1), so note that;jmc1-4/+7
add apropos(1) and whatis(1) to SEE ALSO;
2004-03-01zap extra spaces. From a PR by Jared Yanovich.espie1-5/+6
2004-02-11some sections came out wrong (no space) in SDL.espie1-3/+3
ggi has func, func2, func3 : description, give it a fighting chance.
2004-02-11more accurate .so test.espie1-2/+2
2004-02-10misleading regexp -> patternespie1-3/+3
2004-02-10harder check in picky mode: find the page AND verify it is the same.espie1-10/+38
Prompted by jmc@. Stop at first isolated dash in line. Handle more troff hyphenation. okay millert@, jmc@
2003-07-09-u option, remove manpages, symetrical to -d.espie2-3/+39
ok millert@
2003-06-02- section reorderjmc1-8/+8
- whitespace at EOL
2003-02-07typos;jmc1-6/+7
2002-11-07Don't complain about missing man dirs unless in picky mode or ifmillert1-2/+2
there is something other than a dir in the way. Closes PR 2935.
2002-10-15Use old-style version number when requiring at least perl 5.6.0.millert1-2/+2
Fixes a portability warning from perl-5.8.0; espie@ OK
2002-04-16skip over comment while parsing subject.espie1-1/+2
(Repair bus_space.9 parsing, not visible on formatted version)
2002-04-02A few improvements to accommodate more ports.espie1-3/+12
- recognize unbreakable em dashes from pod2man, - handle some user-defined font changes, - kill obvious non-subjects. ok millert@
2001-04-03throw \v and \h alignments out.espie1-1/+4
2001-03-14ad-hoc code to deal with troff hyphenation in preformatted pages.espie1-1/+6
2001-03-14more bizarre constructs that occur in some man pages.espie1-1/+4
2001-03-14Allow makewhatis -p -t filename, without full path.espie1-2/+6
2001-02-25oops, add missing arguments in some calls.espie1-5/+7