Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.8, Tue Jul 19 21:31:55 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove the dependency on SQLite without loss of functionality. Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 1 08:05:52 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_4,
VERSION_1_13_3,
VERSION_1_13_2,
VERSION_1_13
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)
header cleanup: * add missing forward declarations * remove needless header inclusions * some style unification
Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 10 23:54:41 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) to selected 1.1 (colored)
Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 9 14:05:21 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)
missing #include "config.h", hence missing definition of __BEGIN_DECLS; found by Thomas Klausner <wiz at NetBSD> on SunOS 5.11
Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 10 02:46:21 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +8 -9 lines
Diff to previous 1.3 (colored) to selected 1.1 (colored)
Next speed optimization step for the new apropos(1). Split manual names out of the common "keys" table into their own "names" table. This reduces standard apropos(1) search times (i.e. searching for names and descriptions only) by typically about 70% for the full /usr/share/man database. (Yes, that multiplies with the previous optimization step, so both together have reduced search times by a factor of more than six. I'm not done yet, expect more to come.) Even with the minimal databases built with makewhatis(8) -Q, this step still reduces search times by 15-20%. For both cases, database sizes and build times hardly change (+/-2%).
Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 9 21:50:08 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)
After careful gprof(1)ing of the new apropos(1), move the descriptions back from the keys table to the mpages table: I found a good way to still use them in searches, without complication of the code. On my notebook, this reduces typical apropos(1) search times by about 40%, it reduces /usr/share/man database size by 6% in makewhatis(8) -Q mode and by 2% in standard mode (less overhead storing pointers to mpages), and it doesn't measurably change database build times (may even be going down by a percent or so because less data is being copied around in ohashes).
Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 4 15:55:19 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +9 -8 lines
Diff to previous 1.1 (colored)
Remember which names are in the NAME section. This helps to find missing MLINKS. Database build times do not change and database growth is minimal (1.2% with -Q, 0.7% without -Q in /usr/share/man), so making this optional would be pointless.
Revision 1.1 / (download) - annotate - [selected], Sun Jan 19 00:09:38 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Support a second -v on mandocdb(8) to show keys while they are being added; i need that for debugging, in particular to be used with -t. To be able to do so, provide a global table of key names, for reuse.