summaryrefslogtreecommitdiffstats
path: root/makewhatis.c
Commit message (Collapse)AuthorAgeFilesLines
* Added `Er' in ERRORS scan to makewhatis.Kristaps Dzonsons2011-07-011-1/+15
|
* Added search for `Ev' environment variables in ENVIRONMENT section.Kristaps Dzonsons2011-07-011-1/+15
|
* Allow `Nd' scarfed data to allow for non-text nodes as the first node, as well.Kristaps Dzonsons2011-07-011-21/+20
|
* Make scan for text tokens in a line recursive. This is really only forKristaps Dzonsons2011-07-011-34/+38
| | | | | 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-1/+18
|
* Add cross-reference records to makewhatis.Kristaps Dzonsons2011-06-251-1/+22
|
* Clean up makewhatis.c a little bit and add verbosity (-v).Kristaps Dzonsons2011-06-221-29/+37
|
* Make sure hash is initialised to NULL and remove an unused variable.Kristaps Dzonsons2011-06-221-2/+2
|
* Try again to get the transfer from hash to btree working. This timeKristaps Dzonsons2011-06-221-17/+18
| | | | | | | 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-11/+10
|
* Let descriptions (bit-mask 0x100) also be mined for text. This doublesKristaps Dzonsons2011-06-211-5/+16
| | | | | 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-110/+52
| | | | 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-1/+2
|
* Big change to makewhatis: use an in-memory hashtable to collapseKristaps Dzonsons2011-06-211-129/+183
| | | | | | 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-42/+0
| | | | 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.