summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mansearch.c
AgeCommit message (Expand)Author
2018-12-13Cleanup, no functional change:Ingo Schwarze
2018-11-22In apropos(1) output, stop sorting .Nm search results by nameIngo Schwarze
2018-11-19Improve POSIX compliance by making case-insensitive extendedIngo Schwarze
2017-08-22When finding a bogus database entry,Ingo Schwarze
2017-08-02No longer use names that only occur in the SYNOPSIS section as namesIngo Schwarze
2017-07-19Prefer arch-dependent over arch-independent pages if the name priority,Ingo Schwarze
2017-07-01Basic reporting of .Xrs to manual pages that don't existIngo Schwarze
2017-05-17Do not warn if a database file does not existIngo Schwarze
2017-04-18The apropos(1) manual still documents the unary -i operator forIngo Schwarze
2017-04-18Fix previous: i forgot explicit NUL termination;Ingo Schwarze
2017-04-17Restore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order.Ingo Schwarze
2017-03-03A missing initialization could randomly cause regular expressionIngo Schwarze
2016-08-01Remove the dependency on SQLite without loss of functionality.Ingo Schwarze
2016-07-09getopt(3) is declared in <unistd.h>, and <getopt.h> is not needed;Ingo Schwarze
2016-01-08Prefer warn(3) over perror(3) at the few places where it was used.Ingo Schwarze
2015-11-26No point in trying to go on when elementary database operationsIngo Schwarze
2015-10-13Reduce the amount of code by moving the three copies of the ohashIngo Schwarze
2015-10-11Finally use __progname, err(3) and warn(3).Ingo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-04-01Let man(1) and apropos(1) work even when the current directoryIngo Schwarze
2015-03-27Parse the new man.conf(5) "output" directive.Ingo Schwarze
2015-03-11When interpreting the -O argument as a macro name fails,Ingo Schwarze
2015-02-27When man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable,Ingo Schwarze
2015-01-20Make the man(1) and apropos(1) options -s and -S much less expensive:Ingo Schwarze
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