summaryrefslogtreecommitdiffstatshomepage
path: root/makewhatis.c
Commit message (Collapse)AuthorAgeFilesLines
* Make scan for text tokens in a line recursive. This is really only forKristaps Dzonsons2011-07-011-35/+39
| | | | | the benefit of `Nd', which is the only [to date] node that can consist of sub-nodes.
* Add path reference (`Pa' in FILES section).Kristaps Dzonsons2011-07-011-2/+19
|
* Add cross-reference records to makewhatis.Kristaps Dzonsons2011-06-251-2/+23
|
* Clean up makewhatis.c a little bit and add verbosity (-v).Kristaps Dzonsons2011-06-221-30/+38
|
* Make sure hash is initialised to NULL and remove an unused variable.Kristaps Dzonsons2011-06-221-3/+3
|
* Try again to get the transfer from hash to btree working. This timeKristaps Dzonsons2011-06-221-18/+19
| | | | | | | just closing and re-opening the database, as deleting records with (*hash->del) either in the scan loop or after it causes uncertain behaviour (left-over keys, mystery keys, etc.). This finally does the Right Thing (tm).
* Fix broken transfer from hashtable to btree for makewhatis.c.Kristaps Dzonsons2011-06-211-12/+11
|
* Let descriptions (bit-mask 0x100) also be mined for text. This doublesKristaps Dzonsons2011-06-211-6/+17
| | | | | the database size (one record for each file), but it's critical information.
* Have descriptions also use struct buf. This completes the internalKristaps Dzonsons2011-06-211-111/+53
| | | | migration to in-memory hashing and passing buffers instead of DBTs.
* Don't let empty strings into the makewhatis keyword database.Kristaps Dzonsons2011-06-211-2/+3
|
* Big change to makewhatis: use an in-memory hashtable to collapseKristaps Dzonsons2011-06-211-130/+184
| | | | | | multiple types of the same name (e.g., "foo" being a manual name, utility name, etc.) into a single bitmask'd region. This considerably reduces the size of the keyword database.
* Get rid of an "#if 0" that I don't anticipate being fixed ever (nor doesKristaps Dzonsons2011-05-151-43/+1
| | | | it really need to be fixed, anyway).
* Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree.Kristaps Dzonsons2011-05-131-0/+962
Add initial version notes.