CVS log for mandoc/Attic/makewhatis.c

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.22, Thu Jul 14 17:32:53 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED

Apparently these weren't removed properly...

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 12 15:26:35 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +82 -98 lines
Diff to previous 1.20 (unified)

Re-ordered logic in makewhatis to iterate over the index file only once.
This is much more efficient.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 12 10:03:02 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_4
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (unified)

Fixed some uninitialised values found during lint check.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 11 21:56:06 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.18: +153 -17 lines
Diff to previous 1.18 (unified)

Fairly straightforward patch adding basic update (-u) and remove (-r)
functionality to makewhatis.  This is somewhat expensive (requiring the
index file to be trawled multiple times), but it's a good start.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 11 09:36:15 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +56 -79 lines
Diff to previous 1.17 (unified)

Don't use a temporary buffer (unless people yell to have it back in),
and clean up the parse process a bit.  No big changes.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 10 13:03:31 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (unified)

Have descriptions for -man documents in makewhatis be properly collected.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 1 13:46:39 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.15: +16 -2 lines
Diff to previous 1.15 (unified)

Added `Er' in ERRORS scan to makewhatis.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 1 12:02:44 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.14: +16 -2 lines
Diff to previous 1.14 (unified)

Added search for `Ev' environment variables in ENVIRONMENT section.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 1 10:46:32 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +21 -22 lines
Diff to previous 1.13 (unified)

Allow `Nd' scarfed data to allow for non-text nodes as the first node, as well.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 1 10:17:24 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.12: +39 -35 lines
Diff to previous 1.12 (unified)

Make scan for text tokens in a line recursive.  This is really only for
the benefit of `Nd', which is the only [to date] node that can consist
of sub-nodes.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 1 09:11:35 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +19 -2 lines
Diff to previous 1.11 (unified)

Add path reference (`Pa' in FILES section).

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 25 13:19:25 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +23 -2 lines
Diff to previous 1.10 (unified)

Add cross-reference records to makewhatis.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 22 10:36:36 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +38 -30 lines
Diff to previous 1.9 (unified)

Clean up makewhatis.c a little bit and add verbosity (-v).

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 22 09:10:36 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (unified)

Make sure hash is initialised to NULL and remove an unused variable.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 22 09:00:14 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.7: +19 -18 lines
Diff to previous 1.7 (unified)

Try again to get the transfer from hash to btree working.  This time
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).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 21 23:37:27 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +11 -12 lines
Diff to previous 1.6 (unified)

Fix broken transfer from hashtable to btree for makewhatis.c.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 21 14:16:05 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +17 -6 lines
Diff to previous 1.5 (unified)

Let descriptions (bit-mask 0x100) also be mined for text.  This doubles
the database size (one record for each file), but it's critical
information.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 21 13:54:05 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.4: +53 -111 lines
Diff to previous 1.4 (unified)

Have descriptions also use struct buf.   This completes the internal
migration to in-memory hashing and passing buffers instead of DBTs.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 21 13:13:15 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (unified)

Don't let empty strings into the makewhatis keyword database.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 21 13:05:14 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +184 -130 lines
Diff to previous 1.2 (unified)

Big change to makewhatis: use an in-memory hashtable to collapse
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.

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 15 02:47:17 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_3
Changes since 1.1: +1 -43 lines
Diff to previous 1.1 (unified)

Get rid of an "#if 0" that I don't anticipate being fixed ever (nor does
it really need to be fixed, anyway).

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 13 00:42:26 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_2

Rename mandoc-db to makewhatis.  On the suggestion of schwarze@; I agree.
Add initial version notes.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb