summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
Commit message (Expand)AuthorAgeFilesLines
* In dbopen(), check success of remove("mandoc.db~").Ingo Schwarze2013-06-061-21/+14
* In parse_catpage(), the comment saying that the filename would beIngo Schwarze2013-06-061-0/+1
* The return value from parse_man() is completely unused,Ingo Schwarze2013-06-051-13/+9
* Two sanity checks got lost in treescan()Ingo Schwarze2013-06-051-29/+36
* Add back the realpath() checks that got lost during the change fromIngo Schwarze2013-06-051-121/+159
* Some places used PATH_MAX from <limits.h>, some MAXPATHLEN from <sys/param.h>.Ingo Schwarze2013-06-051-16/+16
* Changing existing SQLite databases was utterly broken:Ingo Schwarze2013-06-031-1/+3
* Starting the preparations to integrate this into OpenBSD.Ingo Schwarze2013-06-031-43/+64
* Merge whatis.1 into apropos.1 (and remove), add whatis bits to aproposKristaps Dzonsons2012-06-091-1/+1
* Ths SYNCHRONOUS = off optimisation fails on my Mac OSX. Take it out untilKristaps Dzonsons2012-06-091-0/+2
* Add a compatibility interface for ohash.Kristaps Dzonsons2012-06-091-2/+7
* Turn off sqlite3 synchronous mode when creating a new database.Kristaps Dzonsons2012-06-081-32/+48
* Use C99 syntax for declaring the string-hash key array.Kristaps Dzonsons2012-06-081-3/+3
* Re-tooled mandocdb using sqlite3 and ohash.Kristaps Dzonsons2012-06-081-1319/+1401
* Support -Ios='OpenBSD 5.1' to override uname(3) as the source of theIngo Schwarze2012-05-271-1/+1
* update Copyright years according to the CVS logs; no code changeIngo Schwarze2012-05-271-2/+2
* Being reluctant to add yet more trailing whitespace, i rather backIngo Schwarze2012-04-151-8/+8
* Improve mandocdb's ability to handle NAME sections by sucking the entireKristaps Dzonsons2012-03-231-9/+57
* Clean up code a bit by pushing warnings into WARNING macro.Kristaps Dzonsons2012-03-231-63/+48
* Merge some/most of schwarze@'s OpenBSD changes into mandoc: many moreKristaps Dzonsons2012-03-231-116/+158
* When parsing catpages, read from the first section (NAME, we hope) untilKristaps Dzonsons2011-12-311-15/+43
* Do not skip manuals shared across architectures when building databases.Ingo Schwarze2011-12-281-3/+18
* First memory leak in mandocdb.c freeing "struct of". Also properlyKristaps Dzonsons2011-12-251-2/+7
* Use the traditional name "whatis.db" for the mandocdb(8) databases.Ingo Schwarze2011-12-251-1/+1
* For binary compatability of the databases across architectures,Ingo Schwarze2011-12-251-8/+8
* Implement test mode (makewhatis -t), required for pkg_create(8).Ingo Schwarze2011-12-251-212/+328
* Do not cast void pointers to pointers requiring alignment.Ingo Schwarze2011-12-201-4/+12
* Make the stored "cat"/"mdoc"/"man" strings just be c/d/a single-characterKristaps Dzonsons2011-12-161-8/+6
* Make paths in the mandocdb(8) index relative to the databases' pathKristaps Dzonsons2011-12-161-42/+34
* implement -C (alternative config file) for apropos(1) and mandocdb(8),Ingo Schwarze2011-12-121-5/+11
* Avoid leaking index records:Ingo Schwarze2011-12-101-20/+24
* Fix selection of arch-specific manuals:Ingo Schwarze2011-12-101-2/+6
* Tweak pformatted():Ingo Schwarze2011-12-091-12/+13
* Considerably tidy mandocdb(8) catman descriptions by skipping to the firstKristaps Dzonsons2011-12-091-2/+2
* Strip backspace encoding from preformatted manuals. This cleans up a lotKristaps Dzonsons2011-12-091-0/+12
* Clean up grok of preformatted manual description.Kristaps Dzonsons2011-12-081-28/+35
* index_prune always counted the free slots,Ingo Schwarze2011-12-081-9/+9
* If arguments are passed to mandocdb(8) in "default" mode, then useKristaps Dzonsons2011-12-081-4/+11
* Implement search support for 24 additional macros, extract more informationIngo Schwarze2011-12-071-299/+252
* Fix parsing of file names given on the command line; i broke itIngo Schwarze2011-12-041-4/+3
* Back out lorder, which doesn't seem necessary (?). I think this means allKristaps Dzonsons2011-12-031-1/+0
* Make sure the btree(3) goop is also BE. This covers both the DB metadataKristaps Dzonsons2011-12-031-0/+1
* This is a little gross: Linux and Apple need lots some cajoling to workKristaps Dzonsons2011-12-021-1/+5
* Use OpenBSD's endian functions. Make btree type also be endian-neutral.Kristaps Dzonsons2011-12-011-5/+3
* In apropos_db.c, move all btree reading (and safety checks) into theKristaps Dzonsons2011-12-011-4/+4
* Fix mandocdb(8) to pass over the type when pruning the database. ThisKristaps Dzonsons2011-12-011-25/+53
* chdir(2) to the right man page tree before parsing manuals;Ingo Schwarze2011-11-291-1/+17
* Reimplement the global command line options -a and -vIngo Schwarze2011-11-271-26/+20
* Save the manual type (mdoc, man, or cat) in the index fileIngo Schwarze2011-11-271-0/+1
* Rudimentary handling of formatted manuals ("cat pages").Ingo Schwarze2011-11-271-30/+205