summaryrefslogtreecommitdiffstats
path: root/mandoc-db.c
Commit message (Collapse)AuthorAgeFilesLines
* Let mandoc-db grok `St' tokens.Kristaps Dzonsons2011-04-281-2/+20
|
* Let mandoc-db also collect -man descriptions.Kristaps Dzonsons2011-04-121-5/+25
|
* Have mandoc-db accumulate manual page descriptions (`Nd' in -mdoc parlance)Kristaps Dzonsons2011-04-111-29/+79
| | | | | in the index. This allows, with both the btree and index, full emulation of apropos(1) and other goodies.
* Use dbt_xxxx functions to stash both filename and manual section in theKristaps Dzonsons2011-04-111-16/+18
| | | | | | value part of the index. This is the actual manual section---before, mandoc.cgi was relying on the file suffix, but this can be (e.g.) .man or whatnot. This is The Correct Way (tm).
* Lint-checks over mandoc-db.c.Kristaps Dzonsons2011-04-051-18/+14
|
* Use a little more horsepower in parsing out NAME sections from -manKristaps Dzonsons2011-04-051-16/+56
| | | | manuals. This covers the majority case.
* Fix type- and NULL-check to be correct node (last, not child). PreventsKristaps Dzonsons2011-04-051-1/+1
| | | | segfault in NetBSD.
* Add mandoc-db.c checking for utility-name in NAME section of -manKristaps Dzonsons2011-04-051-3/+77
| | | | documents.
* Have `Fd' detection in mandoc-db also look for local includes (i.e.,Kristaps Dzonsons2011-04-041-2/+2
| | | | those that are quoted and not angular-bracketed).
* Add manual page for mandoc-db (mostly to document the file format ofKristaps Dzonsons2011-04-041-16/+17
| | | | | the generated index and keyword databases). Add some documentation within mandoc-db.c.
* Have mandoc-db create an recno-addressed index of files alongside theKristaps Dzonsons2011-04-031-59/+83
| | | | keyword database, which references the index of hard-coding files.
* Have mandoc-db use config.h for strlcat(). Then create the btreeKristaps Dzonsons2011-04-031-29/+37
| | | | | | database from a directory, instead of a path. This is because it'll also output an index of files to that same directory. Add documentation to the local variable names, too.
* Add an initial keyword-indexer as an alternative front-end to libmandoc.a.Kristaps Dzonsons2011-04-021-0/+636
This will be used during BSDCan-2011, paired with a web front-end, as a demonstrandum of semantic annotations (mdoc) versus those of man. This isn't linked to the build in any way but for cleaning created files. This code has been heavily tested under valgrind and is known to work on GNU/Linux (needs -ldb library), all BSDs, and Mac OSX. Please don't repost this, for the time being, as I don't want to spoil the fun for the conference. This utility is still constantly under development (e.g., it will also generate a recno database of filenames and `Nd' output so that paths needn't be hard-coded) but is mature enough to warrant being checked in.