Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Small tweaks for release. | Kristaps Dzonsons | 2012-03-24 | 2 | -10/+13 | |
| | ||||||
* | Get ready for a version. | Kristaps Dzonsons | 2012-03-24 | 3 | -50/+36 | |
| | ||||||
* | Be insane. Make apropos(1) subsume man(1). | Kristaps Dzonsons | 2012-03-24 | 5 | -37/+125 | |
| | ||||||
* | Simplify by not pre-filtering the result vector for satisfied matches: | Kristaps Dzonsons | 2012-03-24 | 4 | -108/+118 | |
| | | | | we can do this in the frontend. | |||||
* | Whitespace fix. | Kristaps Dzonsons | 2012-03-24 | 1 | -2/+2 | |
| | ||||||
* | Knock out useless & confusing whatis mode. | Kristaps Dzonsons | 2012-03-23 | 1 | -29/+9 | |
| | ||||||
* | Improve mandocdb's ability to handle NAME sections by sucking the entire | Kristaps Dzonsons | 2012-03-23 | 1 | -10/+58 | |
| | | | | | shebang into a buffer and parsing it that way. This improves on many cruddy -man manuals in the wild. | |||||
* | Make the `-width' field to `Bl' not puke if it doesn't have an argument. | Kristaps Dzonsons | 2012-03-23 | 2 | -5/+10 | |
| | | | | This makes mandoc work much, much nicer with Mac OSX manpages. | |||||
* | Clean up code a bit by pushing warnings into WARNING macro. | Kristaps Dzonsons | 2012-03-23 | 1 | -64/+49 | |
| | ||||||
* | Merge some/most of schwarze@'s OpenBSD changes into mandoc: many more | Kristaps Dzonsons | 2012-03-23 | 2 | -118/+161 | |
| | | | | | | | | | | | | | | | warnings about grokking manpages in their respective directories. DO NOT, however, import his temporary-file routines (I don't plan on staying with a recno/btree split) nor the realpath() routines, which destroy relative path-ness. Also pull in the lorder bits. There are some changes I started to make then stopped relating to reporting errors in the correct directories. I'll clean this up in subsequent commits. This puts us more or less on parity with OpenBSD. | |||||
* | Remove some Mac OS crap in the Makefile. | Kristaps Dzonsons | 2012-03-23 | 1 | -6/+10 | |
| | ||||||
* | Don't run superfluous mkdir when installing. | Kristaps Dzonsons | 2012-03-23 | 1 | -1/+0 | |
| | ||||||
* | Revert to mandocdb.{index,db} for database files. | Kristaps Dzonsons | 2012-03-23 | 2 | -7/+8 | |
| | ||||||
* | two reminders | Ingo Schwarze | 2012-03-04 | 1 | -1/+4 | |
| | ||||||
* | Correct the expansion of -xbd5; | Ingo Schwarze | 2012-02-26 | 1 | -2/+2 | |
| | | | | | from Philip Guenther <guenther at openbsd dot org>. OK Werner Lemberg <wl at gnu dot org>. | |||||
* | Add mparse_readmem, which allows application to run the parser directly | Joerg Sonnenberger | 2012-02-16 | 2 | -43/+57 | |
| | | | | from memory, e.g. after de-compressing a document. | |||||
* | Don't silently skip non-ASCII characters, but replace them with ``?''. | Joerg Sonnenberger | 2012-02-05 | 1 | -5/+8 | |
| | | | | This is less likely to break the syntax of macros. | |||||
* | Add libquota | Joerg Sonnenberger | 2012-01-28 | 1 | -1/+2 | |
| | ||||||
* | Add libisns, libppath and libsaslc from NetBSD. Fix formatting of librt. | Joerg Sonnenberger | 2012-01-28 | 1 | -2/+5 | |
| | ||||||
* | Add x86 pseudo architecure | Joerg Sonnenberger | 2012-01-28 | 1 | -1/+2 | |
| | ||||||
* | Add entry about the .TP / .RS crash before I forget about it again. | Joerg Sonnenberger | 2012-01-23 | 1 | -1/+3 | |
| | ||||||
* | Reflect reality, mandoc_escape does not skip the "\" itself, but expects | Joerg Sonnenberger | 2012-01-13 | 1 | -3/+5 | |
| | | | | the caller to have done that. | |||||
* | Fix previous such that all .It HEADs are unparsed, | Ingo Schwarze | 2012-01-05 | 1 | -11/+9 | |
| | | | | | | | not just the first one in each -diag list. While here, drop the needless if-statement and choose a more precise wording for the comment. ok kristaps@ | |||||
* | Local variable initialisation. | Kristaps Dzonsons | 2012-01-03 | 1 | -2/+2 | |
| | ||||||
* | Add support for `OP', one of the extended man macros. This also requires | Kristaps Dzonsons | 2012-01-03 | 7 | -23/+112 | |
| | | | | some man(7) changes to accomodate for the an-ext compatibility. | |||||
* | Accommodate for ISO C11. groff applied the same `St' argument on | Kristaps Dzonsons | 2012-01-03 | 2 | -3/+6 | |
| | | | | | 03/01/2012. From a tweaked patch (isoC-11 -> isoC-2011) by Ulrich Sporlein: thanks! | |||||
* | `-diag' lists aren't parsed, unlike other list types. This fixes a TODO | Kristaps Dzonsons | 2012-01-02 | 2 | -8/+15 | |
| | | | | entry raised by deraadt@. | |||||
* | Fix ID vs. CLASS for man.cgi CSS selector on results table and vertically | Kristaps Dzonsons | 2011-12-31 | 1 | -3/+2 | |
| | | | | align. | |||||
* | When parsing catpages, read from the first section (NAME, we hope) until | Kristaps Dzonsons | 2011-12-31 | 2 | -18/+46 | |
| | | | | | the next section. Also, remove the limit of 72 characters and enforce this, instead in the apropos frontend. | |||||
* | Do not skip manuals shared across architectures when building databases. | Ingo Schwarze | 2011-12-28 | 1 | -4/+19 | |
| | ||||||
* | Update the whatis.db database format. | Ingo Schwarze | 2011-12-25 | 1 | -8/+12 | |
| | | | | | While here, reference apropos(1) from the description, inspired by the makewhatis(8) manual. | |||||
* | State default usage before listing arguments of a utility. Inspired by a | Kristaps Dzonsons | 2011-12-25 | 6 | -74/+70 | |
| | | | | patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@. | |||||
* | First memory leak in mandocdb.c freeing "struct of". Also properly | Kristaps Dzonsons | 2011-12-25 | 1 | -3/+8 | |
| | | | | const-ify several strings. | |||||
* | Continue changing mandoc.{index,db} into whatis.{index,db}. Use mandocdb.h | Kristaps Dzonsons | 2011-12-25 | 3 | -13/+29 | |
| | | | | to do so. | |||||
* | Use the traditional name "whatis.db" for the mandocdb(8) databases. | Ingo Schwarze | 2011-12-25 | 5 | -19/+19 | |
| | | | | Requested by deraadt@, ok kristaps@. | |||||
* | For binary compatability of the databases across architectures, | Ingo Schwarze | 2011-12-25 | 3 | -36/+31 | |
| | | | | | | | 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. | |||||
* | Implement test mode (makewhatis -t), required for pkg_create(8). | Ingo Schwarze | 2011-12-25 | 2 | -219/+351 | |
| | | | | | | | | | | | | Always do all consistency checks; when any one fails, decide whether to print a message, or skip the file, or both, or none. While here, do some cleanup as well: * Bail out on conflicting options. * Do not crash with -a if there are plain files in the root dir. * Collect some related variables into structs. Feedback and OK kristaps@. | |||||
* | Support leading, trailing and double colons in MANPATH to prepend, | Kristaps Dzonsons | 2011-12-24 | 4 | -16/+88 | |
| | | | | | | | | append or insert the man.conf(5) default path; compatible with GNU manpath(1), implementation by kristaps@, heavily tweaked by schwarze@. Updates to MANPATH documentation applied to whatis.1, apropos.1, and catman.8 also. | |||||
* | Do not cast void pointers to pointers requiring alignment. | Ingo Schwarze | 2011-12-20 | 2 | -11/+20 | |
| | | | | | | | | | This makes mandocdb(8)/apropos(1) work on strict alignment architectures. Basic way to fix this confirmed by deraadt@ and kettenis@, thanks. ok kristaps@ This now works on both sparc64 and i386, but note that the binary database format is still machine-dependent. | |||||
* | Give catman(8) the -C flag (like apropos and friends) and merge in some | Kristaps Dzonsons | 2011-12-18 | 2 | -7/+27 | |
| | | | | documentation from apropos(1) to be consistent. | |||||
* | Make compat files actually use compat.h. Ooops. | Kristaps Dzonsons | 2011-12-18 | 4 | -0/+16 | |
| | ||||||
* | Two lint fixes. | Kristaps Dzonsons | 2011-12-16 | 2 | -5/+5 | |
| | ||||||
* | Fix assertion found when plugging legacy man.cgi query string into my | Kristaps Dzonsons | 2011-12-16 | 1 | -2/+4 | |
| | | | | man.cgi. | |||||
* | Edge in a little style. Why not. | Kristaps Dzonsons | 2011-12-16 | 1 | -1/+3 | |
| | ||||||
* | When routing to a "result" page in the cgi, remember our input parameters | Kristaps Dzonsons | 2011-12-16 | 1 | -38/+72 | |
| | | | | | and repeat them in the search bar. This is handy. While here, make the QUERY_STRING parser a bit simpler. | |||||
* | Have results table inherit the small font. | Kristaps Dzonsons | 2011-12-16 | 1 | -0/+1 | |
| | ||||||
* | Make sure that "any" is UINT64_MAX, not just INT_MAX, else "any" won't | Kristaps Dzonsons | 2011-12-16 | 1 | -2/+2 | |
| | | | | cover all types. Found after some database trawling. | |||||
* | Make the stored "cat"/"mdoc"/"man" strings just be c/d/a single-character | Kristaps Dzonsons | 2011-12-16 | 6 | -44/+56 | |
| | | | | | bytes. This cuts down a little in index size and allows for cleaner extraction of information. | |||||
* | Make paths in the mandocdb(8) index relative to the databases' path | Kristaps Dzonsons | 2011-12-16 | 4 | -74/+72 | |
| | | | | | | | prefix. This means that an index in, say, /usr/share/man will point to man1/foo.1 instead of /usr/share/man/man1/foo.1. Not only does this save a lot of space, it also allows manual trees to be moved around without any side effects to the mandocdb(8) databases. | |||||
* | Don't make man.cgi default font-size dictate manual style. | Kristaps Dzonsons | 2011-12-15 | 1 | -3/+3 | |
| |