Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Catch localtime() failure for additional safety; | Ingo Schwarze | 2014-12-15 | 1 | -0/+2 |
| | | | | patch from Jan Stary <hans at stare dot cz> some time ago. | ||||
* | version 1.13.2VERSION.1.13.2 | Ingo Schwarze | 2014-12-13 | 2 | -2/+2 |
| | |||||
* | Fix a regression found by Carsten dot Kunze at arcor dot de: | Ingo Schwarze | 2014-12-13 | 2 | -5/+12 |
| | | | | Do not show bogus quotes when .Bl -column phrases are quoted. | ||||
* | escape Nd on a macro line | Ingo Schwarze | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | Guard some come needed for database support only by #if HAVE_SQLITE3. | Ingo Schwarze | 2014-12-11 | 1 | -4/+19 |
| | | | | Compiler warnings about unused code reported by wiz@NetBSD. | ||||
* | Make this work on illumos: | Ingo Schwarze | 2014-12-11 | 1 | -30/+8 |
| | | | | | | | * define MAX() * ignore O_DIRECTORY if it isn't defined * garbage collect two unused variables Issues reported and fix tested by wiz@NetBSD. | ||||
* | fix RCS IDs | Ingo Schwarze | 2014-12-11 | 1 | -1/+2 |
| | |||||
* | sync to OpenBSD | Ingo Schwarze | 2014-12-11 | 3 | -6/+14 |
| | |||||
* | new Copyright years | Ingo Schwarze | 2014-12-11 | 1 | -2/+2 |
| | |||||
* | link to EuroBSDCon 2014 | Ingo Schwarze | 2014-12-11 | 1 | -2/+3 |
| | |||||
* | correctly align document header and footer; | Ingo Schwarze | 2014-12-10 | 1 | -3/+6 |
| | | | | suggested by kristaps@ | ||||
* | the asciidoc/docbook toolchain uses braindead \h for indentation | Ingo Schwarze | 2014-12-10 | 1 | -2/+3 |
| | |||||
* | more release preparations | Ingo Schwarze | 2014-12-09 | 2 | -3/+75 |
| | |||||
* | first cut at updating for the next release | Ingo Schwarze | 2014-12-09 | 1 | -17/+42 |
| | |||||
* | Support choosing alternative binary and manual names from configure.local, | Ingo Schwarze | 2014-12-09 | 4 | -16/+74 |
| | | | | to help downstream distributions avoid naming conflicts. | ||||
* | Integrate the makewhatis binary into the mandoc binary | Ingo Schwarze | 2014-12-09 | 4 | -21/+26 |
| | | | | | just like we do it on OpenBSD. Smaller and neater. While here, let ./configure set INSTALL_TARGETS. | ||||
* | Some sorting and some more comments. | Ingo Schwarze | 2014-12-09 | 1 | -18/+27 |
| | | | | Drop DISTDIR from www-install target. | ||||
* | Install "man" as a hardlink to "mandoc" during db-install. | Ingo Schwarze | 2014-12-09 | 1 | -11/+7 |
| | | | | | Install man(1) manual in db-install, not base-install. Get rid of the useless variables BASEBIN, DBBIN, CGIBIN. | ||||
* | When opening mandoc.db fails, tell the user in which directory. | Ingo Schwarze | 2014-12-06 | 1 | -1/+3 |
| | | | | Improving an unhelpful error message reported by millert@. | ||||
* | implement help(1) | Ingo Schwarze | 2014-12-05 | 1 | -8/+21 |
| | |||||
* | Improve parsing of function names. | Ingo Schwarze | 2014-12-05 | 1 | -24/+27 |
| | | | | This gets rid of the last bogus entries in base and Xenocara. | ||||
* | Do not misinterpret function arguments as function names; | Ingo Schwarze | 2014-12-05 | 1 | -0/+3 |
| | | | | improves semantic analysis of more than 300 manuals. | ||||
* | Render text before, not after accumulating flag bits, such that flags | Ingo Schwarze | 2014-12-05 | 1 | -116/+107 |
| | | | | | for different representations of the same string end up in the same database entry. Improves name classification for 500 manuals. | ||||
* | When finding a .so link after the page was already processed, | Ingo Schwarze | 2014-12-04 | 1 | -3/+16 |
| | | | | | do not clobber the existing names flags; instead, OR the additional flags into them. | ||||
* | correctly store .Dt and .TH information in the names table | Ingo Schwarze | 2014-12-04 | 1 | -10/+27 |
| | |||||
* | in the SYNOPSIS, add .Fo and first .Fn arguments to the names table | Ingo Schwarze | 2014-12-04 | 1 | -1/+16 |
| | |||||
* | In the SYNOPSIS, if .Nm occurs without argument, give the first .Nm | Ingo Schwarze | 2014-12-04 | 1 | -24/+47 |
| | | | | that occurred in the document a NAME_SYN entry in the names table. | ||||
* | fix handling of roff requests having a default scale other than "n", | Ingo Schwarze | 2014-12-04 | 3 | -3/+3 |
| | | | | | in particular .sp which uses "v", when the scale is not specified; cures groff-mandoc differences in about a dozen Xenocara manuals | ||||
* | Ignore macros that never produce any text when deciding whether | Ingo Schwarze | 2014-12-04 | 1 | -12/+23 |
| | | | | | | vertical whitespace is needed before a section or subsection. Cures groff-mandoc differences in more than 300 manuals, mostly Xenocara, some curses, a few GNU. | ||||
* | delete five entries that were already fixed | Ingo Schwarze | 2014-12-03 | 1 | -23/+0 |
| | |||||
* | Switch the default output mode from -Tascii to -Tlocale. | Ingo Schwarze | 2014-12-02 | 2 | -6/+8 |
| | | | | | | | | This doesn't change anything unless LC_CTYPE is set, but it helps when running with LC_TYPE=something.UTF-8. OK tedu@ and earlier positive feedback from: bentley@ deraadt@ naddy@ stsp@ uqs@freebsd wiz@netbsd | ||||
* | note to self to not forget about groff | Ingo Schwarze | 2014-12-02 | 1 | -0/+6 |
| | |||||
* | we really need .ta | Ingo Schwarze | 2014-12-02 | 1 | -1/+2 |
| | |||||
* | Fix the implementation and documentation of \c (continue text input line). | Ingo Schwarze | 2014-12-02 | 10 | -25/+21 |
| | | | | | In particular, make it work in no-fill mode, too. Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff). | ||||
* | developer documentation regarding header files | Ingo Schwarze | 2014-12-01 | 2 | -0/+513 |
| | |||||
* | header cleanup: | Ingo Schwarze | 2014-12-01 | 15 | -32/+41 |
| | | | | | | * add missing forward declarations * remove needless header inclusions * some style unification | ||||
* | The header libmandoc.h is part of the internal parser interface, | Ingo Schwarze | 2014-12-01 | 1 | -1/+0 |
| | | | | | | but html.c is not part of the parser at all, so it cannot include that header, and actually, it doesn't need it. Found while auditing includes after Theo's recent *.h commit. | ||||
* | The file read.c is part of the parser, so it cannot include main.h, | Ingo Schwarze | 2014-12-01 | 2 | -4/+3 |
| | | | | | | | which is not part of the parser. Besides, the parser *does* modify the input buffer, so marking it "const" in the mparse_readmem() interface is an outright lie. Fix all this by killing the const, the UNCONST, and the bogus inclusion. | ||||
* | remove unneccessary inclusion protection; patch from deraadt@ | Ingo Schwarze | 2014-12-01 | 14 | -56/+0 |
| | |||||
* | typo; Svyatoslav Mishyn <juef at openmailbox dot org> (Crux Linux) | Ingo Schwarze | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | delete three standard abbreviations that are | Ingo Schwarze | 2014-11-30 | 2 | -15/+2 |
| | | | | | | * no longer used in OpenBSD * not used in any of NetBSD, FreeBSD, or DragonFly * not supported by groff | ||||
* | Multiple fixes with respect to .Pf: | Ingo Schwarze | 2014-11-30 | 8 | -10/+33 |
| | | | | | | | * The first argument of .Pf is not parsed. * Normal delimiter handling does not apply to the first argument of .Pf. * Warn if nothing follows a prefix (inspired by groff_mdoc(7)). * In that case, do not suppress spacing. | ||||
* | warn about attempts to call non-callable macros; | Ingo Schwarze | 2014-11-30 | 4 | -8/+25 |
| | | | | inspired by a similar warning in the groff_mdoc(7) macros | ||||
* | Reduce code duplication by reusing the same argument parser | Ingo Schwarze | 2014-11-29 | 1 | -18/+20 |
| | | | | | for in_line_eoln() macros and .Bl -column phrases. No functional change. | ||||
* | Provide a helper function macro_or_word() and use it to prune the | Ingo Schwarze | 2014-11-29 | 3 | -128/+68 |
| | | | | | | | | | | same chunk of argument parsing code out of five of the eight callback functions. The other three have too much special handling to participate. As a bonus, let lookup() and mdoc_args() deal with line macros and retire the lookup_raw() helper and the mdoc_zargs() internal interface function. No functional change, minus 40 lines of code. | ||||
* | Fold the loop around mdoc_argv() into the function itself, | Ingo Schwarze | 2014-11-28 | 3 | -124/+82 |
| | | | | | | it was the same in all four cases. As a bonus, get rid of one enum type that was used for internal communication. No functional change, minus 40 lines of code. | ||||
* | AT&T is unlikely to release an new version of Research UNIX any time soon. | Ingo Schwarze | 2014-11-28 | 4 | -49/+18 |
| | | | | | So, it's pointless to make adding version strings easy for downstream. One source file less to maintain. | ||||
* | Retire support for CSRG supplementary document titles. These are | Ingo Schwarze | 2014-11-28 | 6 | -120/+5 |
| | | | | | long obsolete and were never written in mdoc(7) in the first place. Removes 100 lines from source files. | ||||
* | Drop useless architecture table. Validating architecture names | Ingo Schwarze | 2014-11-28 | 8 | -181/+9 |
| | | | | | | is a job for makewhatis(8)/mandoc.db(5), not for the parser. Removes 150 lines from source files and 4k (1%) from the binary. Bloat found by deraadt@. | ||||
* | kill a pointless assert | Ingo Schwarze | 2014-11-28 | 1 | -3/+0 |
| |