The NetBSD Project

CVS log for src/usr.sbin/makemandb/whatis.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / makemandb

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3.4.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:03:02 2012 UTC (22 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:39 2012 UTC (22 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3.2.2: +3 -3 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:59 2012 UTC (23 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, agc-symver-base, agc-symver, HEAD
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:50 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.2.1: +103 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Feb 20 22:04:30 2012 UTC (2 years, 7 months ago) by sborrill
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up the following revisions(s) (requested by joerg in ticket #15):
	usr.sbin/makemandb/apropos.1:	revision 1.4
	usr.sbin/makemandb/makemandb.8:	revision 1.2
	usr.sbin/makemandb/whatis.c:	revision 1.3

Add reference to whatis(1).
SQLite doesn't use the FTS index for equal ops, so force it to do a FTS
search first. Drops run time by a factor of 6 for "whatis man".

Revision 1.3.2.1, Mon Feb 20 18:27:30 2012 UTC (2 years, 7 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3: +0 -103 lines
FILE REMOVED

file whatis.c was added on branch yamt-pagecache on 2012-04-17 00:09:50 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 20 18:27:30 2012 UTC (2 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

SQLite doesn't use the FTS index for equal ops, so force it to do a FTS
search first. Drops run time by a factor of 6 for "whatis man".
Found by Abhinav Upadhyay.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 7 19:17:16 2012 UTC (2 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix C&P error with $NetBSD$

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 7 19:13:32 2012 UTC (2 years, 7 months ago) by joerg
Branch: MAIN

Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.

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 <webmaster@jp.NetBSD.org>