Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.26, Fri Apr 18 10:30:37 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +2 -2 lines
FILE REMOVED
Slowly, the dust begins to settle. We are keeping the traditional name makewhatis(8). No content change.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 4 02:31:07 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.23 (colored)
When the -n or -t flag is given to makewhatis(8), write names and decriptions to stdout, in a format similar to apropos(1) output. Inspired by espie@'s makewhatis.
Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 3 16:27:28 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.23: +15 -11 lines
Diff to previous 1.23 (colored)
Rename the -W option to -p (mnemonics: picky, print to stderr): That letter was already chosen by espie@ for OpenBSD 2.7, so avoid being gratuitiously different more than a decade later. Accept -v for backward compatibility with espie@'s makewhatis, even though it does nothing right now.
Revision 1.23 / (download) - annotate - [selected], Thu Apr 3 15:37:19 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.22: +7 -9 lines
Diff to previous 1.22 (colored)
The -v option of mandocdb(8) clashes with the -v option of espie@'s makewhatis(8), which traditionally does something different, so rename it to -D (mnemonics: Debug, Dump, Display).
Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 3 15:24:32 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.21: +24 -8 lines
Diff to previous 1.21 (colored) to selected 1.23 (colored)
document -Q and -T; from OpenBSD
Revision 1.17.2.2 / (download) - annotate - [select for diffs], Mon Mar 17 09:04:52 2014 UTC (10 years, 3 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_4
Changes since 1.17.2.1: +12 -7 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.23 (colored)
minor sync with HEAD, but keep the Berkeley DB parts
Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 17 08:34:00 2014 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.20: +28 -6 lines
Diff to previous 1.20 (colored) to selected 1.23 (colored)
minor sync to OpenBSD
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 1 20:56:18 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.19: +39 -7 lines
Diff to previous 1.19 (colored) to selected 1.23 (colored)
Merge the relevant parts from the VERSION_1_12 branch: - change mandocdb.db to mandoc.db - add HISTORY to mandocdb(8)
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Sep 18 01:04:07 2013 UTC (10 years, 9 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_3,
VERSION_1_12_2
Changes since 1.17: +41 -10 lines
Diff to previous 1.17 (colored) to selected 1.23 (colored)
Merge from OpenBSD: 1) Revert filenames back to mandoc.{db,index} 2) Improve AUTHORS and HISTORY
Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 13 19:41:16 2013 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.18: +4 -6 lines
Diff to previous 1.18 (colored) to selected 1.23 (colored)
For citing the names and email addresses of authors, consistently use the style ".An name Aq Mt email". Triggered by a question from Jan Stary <hans at stare dot cz>, ok jmc@.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 8 10:43:01 2012 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.17: +32 -178 lines
Diff to previous 1.17 (colored) to selected 1.23 (colored)
Re-tooled mandocdb using sqlite3 and ohash. See the tech@ mailing list entries in June 2012 for details, as well as the discuss@ mailing list entries from March 2012. Among other changes, this utility now: 1. uses a single sqlite3 database instead of several berkeley dbs 2. stores utf-8 encoded strings 3. using ohash to aggressively hash its contents 4. using fts() instead of manually walking directories
Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 25 21:00:23 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_1
Branch point for: VERSION_1_12
Changes since 1.16: +12 -8 lines
Diff to previous 1.16 (colored) to selected 1.23 (colored)
Update the whatis.db database format. While here, reference apropos(1) from the description, inspired by the makewhatis(8) manual.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 25 16:53:51 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.15: +7 -7 lines
Diff to previous 1.15 (colored) to selected 1.23 (colored)
Use the traditional name "whatis.db" for the mandocdb(8) databases. Requested by deraadt@, ok kristaps@.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 25 13:08:12 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.14: +21 -5 lines
Diff to previous 1.14 (colored) to selected 1.23 (colored)
Implement test mode (makewhatis -t), required for pkg_create(8). Always do all consistency checks; when any one fails, decide whether to print a message, or skip the file, or both, or none. While here, do some cleanup as well: * Bail out on conflicting options. * Do not crash with -a if there are plain files in the root dir. * Collect some related variables into structs. Feedback and OK kristaps@.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 16 12:06:35 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +7 -10 lines
Diff to previous 1.13 (colored) to selected 1.23 (colored)
Make the stored "cat"/"mdoc"/"man" strings just be c/d/a single-character bytes. This cuts down a little in index size and allows for cleaner extraction of information.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 16 08:04:34 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.23 (colored)
Make paths in the mandocdb(8) index relative to the databases' path prefix. This means that an index in, say, /usr/share/man will point to man1/foo.1 instead of /usr/share/man/man1/foo.1. Not only does this save a lot of space, it also allows manual trees to be moved around without any side effects to the mandocdb(8) databases.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 12 02:00:49 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.11: +22 -6 lines
Diff to previous 1.11 (colored) to selected 1.23 (colored)
implement -C (alternative config file) for apropos(1) and mandocdb(8), including various tweaks to the whatis(8) manual; ok kristaps@
Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 2 00:21:56 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) to selected 1.23 (colored)
This is a little gross: Linux and Apple need lots some cajoling to work with byte-swapping. Tested on Mac. Any Linux machines somebody can test on? Anybody? While here, note the correct byte-size in mandocdb(8) and also note field widths and endianness. The btree is now endian-neutral.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 1 21:05:49 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +23 -5 lines
Diff to previous 1.9 (colored) to selected 1.23 (colored)
Fix mandocdb(8) to pass over the type when pruning the database. This fixed `-d' perpetually adding the same files. While here, clean up the code and document it. Remove -vv (complain if you want it back in). Document the error messages in a DIAGNOSTICS section of mandocdb(8).
Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 29 11:17:47 2011 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +53 -41 lines
Diff to previous 1.8 (colored) to selected 1.23 (colored)
Note that mandocdb(8) record type is 64-bit and show all possible values. Also slightly clarify the role of mdoc/man/cat. Finally, remove mandoc(1) reference (it's not mentioned in the manual).
Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 28 01:37:34 2011 UTC (12 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +49 -38 lines
Diff to previous 1.7 (colored) to selected 1.23 (colored)
Discuss the default behaviour up front before talking about options modifying it; based on a remark by kristaps@. While here, mention parsing of unformatted files and the changed index format and fix a few minor issues.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 26 11:23:56 2011 UTC (12 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +14 -3 lines
Diff to previous 1.6 (colored) to selected 1.23 (colored)
Store page titles in the correct case, and by default, only put stuff into the database that man(1) will be able to retrieve. However, support an option to use all directories and files. feedback and ok kristaps@
Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 23 09:52:20 2011 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +9 -2 lines
Diff to previous 1.5 (colored) to selected 1.23 (colored)
Have mandocdb(8) take advantage of manpath.h. This brings it in line with makewhatis(8), which, like apropos(1), will use man.conf (or manpath(1)) if no manpath entries are provided.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 9 08:56:27 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) to selected 1.23 (colored)
The documented flags in mandocdb (-u, -d) were switched. Fix this.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 18 08:58:44 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_0,
VERSION_1_11_7
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.23 (colored)
Replace the old `An'/`Aq' AUTHORS note with `An'/`Mt'.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 15 17:59:29 2011 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_6,
VERSION_1_11_5
Changes since 1.2: +45 -25 lines
Diff to previous 1.2 (colored) to selected 1.23 (colored)
Big step forward in bringing mandocdb in line with most makewhatis-type systems.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 15 10:15:24 2011 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +21 -32 lines
Diff to previous 1.1 (colored) to selected 1.23 (colored)
First step of making mandocdb a true makewhatis/mandb replacement: accept a set of directories on the command line ("manpaths") that are recursed for files. The databases are created in each manpath root. This temporarily removes OP_UPDATE and OP_DELETE functionality, which will be added back in.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 14 14:36:37 2011 UTC (12 years, 11 months ago) by schwarze
Branch: MAIN
Diff to selected 1.23 (colored)
move mandocdb(1) to mandocdb(8) "please make this change" kristaps@