CVS log for mandoc/Attic/mandocdb.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.2.1 / (download) - annotate - [select for diffs], Wed Sep 18 00:54:20 2013 UTC (10 years, 7 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_4, VERSION_1_12_3, VERSION_1_12_2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Fix typo in filenames: mandocdb.{db,index} -> mandoc.{db,index}

Revision 1.8, Sat Jun 9 14:11:16 2012 UTC (11 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED

Merge whatis.1 into apropos.1 (and remove), add whatis bits to apropos
(via mansearch), and merge mandocdb.h into mansearch.h (and remove).

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 8 10:43:01 2012 UTC (11 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Fri Mar 23 02:52:33 2012 UTC (12 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_1
Branch point for: VERSION_1_12
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Revert to mandocdb.{index,db} for database files.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 25 16:53:51 2011 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Use the traditional name "whatis.db" for the mandocdb(8) databases.
Requested by deraadt@, ok kristaps@.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 25 14:58:39 2011 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +1 -6 lines
Diff to previous 1.3 (colored)

For binary compatability of the databases across architectures,
use pointers to arrays, not pointers to structs.  It is now possible
to create databases on sparc64 and use them on i386 and vice versa.
Kristaps@ can't think of anything else that might be required, either.
Put this in now such that we can move on.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 20 12:39:08 2011 UTC (12 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +44 -13 lines
Diff to previous 1.2 (colored)

Merge schwarze@'s work for 64-bit types.  This is based on a tweaked patch
submitted to tech@ on 16/11/2011, 01:39.  It has been updated to account
for the logical-operator functions and to avoid keeping a live pointer into
the DBT value, which is not guaranteed to be consistent across calls into
the bdb library.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 17 14:57:13 2011 UTC (12 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Guard mandocdb.h inclusion.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 13 10:49:57 2011 UTC (12 years, 5 months ago) by schwarze
Branch: MAIN

Inventing new keywords for mostly the same thing when a well-established
set of keywords already exists is a bad idea, so reuse the mdoc(7)
macro names as apropos(1) search types.  This is a gain in brevity
as well.  Some time ago, kristaps@ agreed in principle.

The search type bit field constants are used by both mandocdb(8) and
apropos(1) and should better stay in sync, so give them their own
header file.

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