summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mansearch.c
AgeCommit message (Expand)Author
2014-12-06When opening mandoc.db fails, tell the user in which directory.Ingo Schwarze
2014-11-27Make makewhatis(8) understand .so links to .gz pages.Ingo Schwarze
2014-11-18In man(1) mode, prefer file name matches over .Dt name matches overIngo Schwarze
2014-11-11In man(1) mode without -a, stop searching after the first manual treeIngo Schwarze
2014-09-03If a manual page is installed gzip(1)ed, let makewhatis(8) takeIngo Schwarze
2014-09-01In man(1) mode, change to the right directory before starting the parser,Ingo Schwarze
2014-08-27Add an implementation of man(1) into the /usr/bin/mandoc binary andIngo Schwarze
2014-08-21Bugfix: make whatis(1) case-insensitive again.Ingo Schwarze
2014-08-09mmap(2) requires MAP_PRIVATE ^ MAP_SHARED for flags;Ingo Schwarze
2014-08-08Absurdly, the return value of sqlite3_column_text()Ingo Schwarze
2014-07-24Sort result pages first by section number, then by name.Ingo Schwarze
2014-07-12Fix whatis(1) to correctly match words instead of any substrings.Ingo Schwarze
2014-05-12adjust to ohash being in libutil now, and to the interface changes.Marc Espie
2014-04-23Audit malloc(3)/calloc(3)/realloc(3) usage.Ingo Schwarze
2014-04-23improve SQL style: avoid "SELECT *", be explicit in what columns we want;Ingo Schwarze
2014-04-20KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze
2014-04-17Garbage collect one pair of needless parentheses in SQL code generation;Ingo Schwarze
2014-04-16Rename the mpages.id column to mpages.pageid. There is no good reasonIngo Schwarze
2014-04-16Pass the function flags SQLITE_UTF8 (because SQLITE_ANY is deprecated)Ingo Schwarze
2014-04-15At the end of mansearch(), fchdir() back to where we started from;Ingo Schwarze
2014-04-11Further apropos(1) speed optimization was trickier than anticipated.Ingo Schwarze
2014-04-10Next speed optimization step for the new apropos(1).Ingo Schwarze
2014-04-09After careful gprof(1)ing of the new apropos(1), move the descriptionsIngo Schwarze
2014-03-28Properly initialize malloc(3)ed memory.Ingo Schwarze
2014-03-21avoid repetitive code for asprintf error handlingIngo Schwarze
2014-03-21The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze
2014-03-17in apropos(1) output, sort names and avoid multiple section numbersIngo Schwarze
2014-01-19Always compare arch case-insensitively.Ingo Schwarze
2014-01-19Get rid of the local keys table, use the new mansearch_const.c.Ingo Schwarze
2014-01-06Remove the redundant "file" column from the "mlinks" table.Ingo Schwarze
2014-01-06Drop Nd from the mpages table, it is still in the keys table.Ingo Schwarze
2014-01-05Remove the obsolete file name column from the mpages table.Ingo Schwarze
2014-01-05Remove the obsolete sec and arch columns from the mpages table.Ingo Schwarze
2014-01-05Reimplement apropos -s NUM -S ARCH EXPR by internally converting it toIngo Schwarze
2014-01-05Put section and architecture info into the keys table,Ingo Schwarze
2014-01-04New implementation of complex search criteria using \(, \), -a becauseIngo Schwarze
2013-12-31Experimental feature to let apropos(1) show different keys than .Nd.Ingo Schwarze
2013-12-31Split buildnames() out of mansearch(); the latter function is gettingIngo Schwarze
2013-12-31Replace the Berkeley-DB based mandocdb(8) by an SQLite3-based version,Ingo Schwarze