Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apparently these weren't removed properly... | Kristaps Dzonsons | 2011-07-14 | 1 | -1105/+0 |
| | |||||
* | Re-ordered logic in makewhatis to iterate over the index file only once. | Kristaps Dzonsons | 2011-07-12 | 1 | -97/+81 |
| | | | | This is much more efficient. | ||||
* | Fixed some uninitialised values found during lint check. | Kristaps Dzonsons | 2011-07-12 | 1 | -3/+3 |
| | |||||
* | Fairly straightforward patch adding basic update (-u) and remove (-r) | Kristaps Dzonsons | 2011-07-11 | 1 | -16/+152 |
| | | | | | functionality to makewhatis. This is somewhat expensive (requiring the index file to be trawled multiple times), but it's a good start. | ||||
* | Don't use a temporary buffer (unless people yell to have it back in), | Kristaps Dzonsons | 2011-07-11 | 1 | -78/+55 |
| | | | | and clean up the parse process a bit. No big changes. | ||||
* | Have descriptions for -man documents in makewhatis be properly collected. | Kristaps Dzonsons | 2011-07-10 | 1 | -1/+4 |
| | |||||
* | Added `Er' in ERRORS scan to makewhatis. | Kristaps Dzonsons | 2011-07-01 | 1 | -1/+15 |
| | |||||
* | Added search for `Ev' environment variables in ENVIRONMENT section. | Kristaps Dzonsons | 2011-07-01 | 1 | -1/+15 |
| | |||||
* | Allow `Nd' scarfed data to allow for non-text nodes as the first node, as well. | Kristaps Dzonsons | 2011-07-01 | 1 | -21/+20 |
| | |||||
* | Make scan for text tokens in a line recursive. This is really only for | Kristaps Dzonsons | 2011-07-01 | 1 | -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 Dzonsons | 2011-07-01 | 1 | -1/+18 |
| | |||||
* | Add cross-reference records to makewhatis. | Kristaps Dzonsons | 2011-06-25 | 1 | -1/+22 |
| | |||||
* | Clean up makewhatis.c a little bit and add verbosity (-v). | Kristaps Dzonsons | 2011-06-22 | 1 | -29/+37 |
| | |||||
* | Make sure hash is initialised to NULL and remove an unused variable. | Kristaps Dzonsons | 2011-06-22 | 1 | -2/+2 |
| | |||||
* | Try again to get the transfer from hash to btree working. This time | Kristaps Dzonsons | 2011-06-22 | 1 | -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 Dzonsons | 2011-06-21 | 1 | -11/+10 |
| | |||||
* | Let descriptions (bit-mask 0x100) also be mined for text. This doubles | Kristaps Dzonsons | 2011-06-21 | 1 | -5/+16 |
| | | | | | the database size (one record for each file), but it's critical information. | ||||
* | Have descriptions also use struct buf. This completes the internal | Kristaps Dzonsons | 2011-06-21 | 1 | -110/+52 |
| | | | | migration to in-memory hashing and passing buffers instead of DBTs. | ||||
* | Don't let empty strings into the makewhatis keyword database. | Kristaps Dzonsons | 2011-06-21 | 1 | -1/+2 |
| | |||||
* | Big change to makewhatis: use an in-memory hashtable to collapse | Kristaps Dzonsons | 2011-06-21 | 1 | -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 does | Kristaps Dzonsons | 2011-05-15 | 1 | -42/+0 |
| | | | | it really need to be fixed, anyway). | ||||
* | Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree. | Kristaps Dzonsons | 2011-05-13 | 1 | -0/+962 |
Add initial version notes. |