Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.22, Fri May 13 00:42:26 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED
Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree. Add initial version notes.
Revision 1.21 / (download) - annotate - [select for diffs], Thu May 12 23:44:51 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored) to selected 1.7 (colored)
Correctly catch `Vt' semicolon in mandoc-db.
Revision 1.20 / (download) - annotate - [select for diffs], Thu May 12 01:45:55 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.19: +9 -4 lines
Diff to previous 1.19 (colored) to selected 1.7 (colored)
Make sure that we check for the \(en, \(em, \-, and - separators for the heuristic dance to grab manual descriptions from man documents.
Revision 1.19 / (download) - annotate - [select for diffs], Wed May 4 20:43:38 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored) to selected 1.7 (colored)
Grok manual architecture in mandoc-db.c.
Revision 1.18 / (download) - annotate - [select for diffs], Wed May 4 08:21:17 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +22 -3 lines
Diff to previous 1.17 (colored) to selected 1.7 (colored)
Add configurations (`Cd') to mandoc-db mining. Also put some notes into index.sgml to the effect that mandoc-db exists, but is not linked to the build.
Revision 1.17 / (download) - annotate - [select for diffs], Tue May 3 14:39:27 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +22 -3 lines
Diff to previous 1.16 (colored) to selected 1.7 (colored)
Pick up authors in mandoc-db.
Revision 1.16 / (download) - annotate - [select for diffs], Tue May 3 10:08:09 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored) to selected 1.7 (colored)
Have mandoc-db grok `Dt'/`TH' manual title as well.
Revision 1.15 / (download) - annotate - [select for diffs], Mon May 2 13:56:13 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.14: +4 -5 lines
Diff to previous 1.14 (colored) to selected 1.7 (colored)
Back out stripping of non-predef and non-special escape sequences from input (this is not yet possible with mandoc_escape(), which depends on nil-terminated strings).
Revision 1.14 / (download) - annotate - [select for diffs], Sun May 1 11:56:26 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +55 -16 lines
Diff to previous 1.13 (colored) to selected 1.7 (colored)
Have mandoc-db strip out escapes that aren't special or predefined characters. This is a work-in-progress that has some issues.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 28 10:44:02 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.12: +21 -3 lines
Diff to previous 1.12 (colored) to selected 1.7 (colored)
Let mandoc-db grok `St' tokens.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 12 14:48:42 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +26 -6 lines
Diff to previous 1.11 (colored) to selected 1.7 (colored)
Let mandoc-db also collect -man descriptions.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 11 22:56:25 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +80 -30 lines
Diff to previous 1.10 (colored) to selected 1.7 (colored)
Have mandoc-db accumulate manual page descriptions (`Nd' in -mdoc parlance) in the index. This allows, with both the btree and index, full emulation of apropos(1) and other goodies.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 11 21:36:44 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +19 -17 lines
Diff to previous 1.9 (colored) to selected 1.7 (colored)
Use dbt_xxxx functions to stash both filename and manual section in the value part of the index. This is the actual manual section---before, mandoc.cgi was relying on the file suffix, but this can be (e.g.) .man or whatnot. This is The Correct Way (tm).
Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 5 14:16:05 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +15 -19 lines
Diff to previous 1.8 (colored) to selected 1.7 (colored)
Lint-checks over mandoc-db.c.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 5 14:10:52 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.7: +57 -17 lines
Diff to previous 1.7 (colored)
Use a little more horsepower in parsing out NAME sections from -man manuals. This covers the majority case.
Revision 1.7 / (download) - annotate - [selected], Tue Apr 5 13:12:34 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)
Fix type- and NULL-check to be correct node (last, not child). Prevents segfault in NetBSD.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 5 13:09:33 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +78 -4 lines
Diff to previous 1.5 (colored) to selected 1.7 (colored)
Add mandoc-db.c checking for utility-name in NAME section of -man documents.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 4 16:49:03 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_1
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.7 (colored)
Have `Fd' detection in mandoc-db also look for local includes (i.e., those that are quoted and not angular-bracketed).
Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 4 10:53:15 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.3: +18 -17 lines
Diff to previous 1.3 (colored) to selected 1.7 (colored)
Add manual page for mandoc-db (mostly to document the file format of the generated index and keyword databases). Add some documentation within mandoc-db.c.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 3 14:18:29 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +84 -60 lines
Diff to previous 1.2 (colored) to selected 1.7 (colored)
Have mandoc-db create an recno-addressed index of files alongside the keyword database, which references the index of hard-coding files.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 3 10:14:45 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +38 -30 lines
Diff to previous 1.1 (colored) to selected 1.7 (colored)
Have mandoc-db use config.h for strlcat(). Then create the btree database from a directory, instead of a path. This is because it'll also output an index of files to that same directory. Add documentation to the local variable names, too.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 2 15:40:40 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Diff to selected 1.7 (colored)
Add an initial keyword-indexer as an alternative front-end to libmandoc.a. This will be used during BSDCan-2011, paired with a web front-end, as a demonstrandum of semantic annotations (mdoc) versus those of man. This isn't linked to the build in any way but for cleaning created files. This code has been heavily tested under valgrind and is known to work on GNU/Linux (needs -ldb library), all BSDs, and Mac OSX. Please don't repost this, for the time being, as I don't want to spoil the fun for the conference. This utility is still constantly under development (e.g., it will also generate a recno database of filenames and `Nd' output so that paths needn't be hard-coded) but is mature enough to warrant being checked in.