Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | header cleanup: | Ingo Schwarze | 2014-12-01 | 1 | -1/+0 |
| | | | | | | * add missing forward declarations * remove needless header inclusions * some style unification | ||||
* | Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. | Ingo Schwarze | 2014-08-10 | 1 | -2/+0 |
| | | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing. | ||||
* | KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */, | Ingo Schwarze | 2014-04-20 | 1 | -3/+2 |
| | | | | | remove trailing whitespace and blanks before tabs, improve some indenting; no functional change | ||||
* | The files mandoc.c and mandoc.h contained both specialised low-level | Ingo Schwarze | 2014-03-23 | 1 | -1/+0 |
| | | | | | | | functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup. | ||||
* | Scary-looking but otherwise harmless changes allow me to build for Windows. | Kristaps Dzonsons | 2011-07-24 | 1 | -5/+5 |
| | | | | | | | | | | | | That is to say, with mingw32. This amounts to the following: (1) break compat.c into compat_strlcpy.c and compat_strlcat.c (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c (3) add test-strptime.c for HAVE_STRPTIME (4) add ifdef bits here and there, where necessary (5) remove some harmless unportable stuff (u_char, localtime_r) I've added the appropriate mdocml.zip target to the Makefile, too. | ||||
* | libmdoc.h and libman.h were including mdoc.h and man.h, respectively. | Kristaps Dzonsons | 2011-03-22 | 1 | -0/+1 |
| | | | | | Don't have them do that (includes in header files = faugh), and have individual files directly include these files. | ||||
* | Sync to OpenBSD: add missing Copyright years. | Ingo Schwarze | 2010-07-31 | 1 | -1/+1 |
| | | | | | I checked that substantial changes were committed to these files during these years. | ||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | Kristaps Dzonsons | 2010-06-19 | 1 | -1/+1 |
| | |||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -0/+1 |
| | | | | | | | | | | | stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning. | ||||
* | Removed `.' entry from -man hashtable. | Kristaps Dzonsons | 2010-05-15 | 1 | -6/+4 |
| | |||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Lint fixes. | Kristaps Dzonsons | 2010-03-27 | 1 | -1/+2 |
| | |||||
* | libman using enum mant instead of #defines for macros. | Kristaps Dzonsons | 2010-03-23 | 1 | -15/+40 |
| | | | | | Clean-ups, better documentation in man_hash.c. Added extra space for "." in man_hash.c (unused for the time being). | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -0/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | FreeBSD compile fixes (uqs@spoerlein.net). | Kristaps Dzonsons | 2009-09-23 | 1 | -0/+2 |
| | |||||
* | ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding). | Kristaps Dzonsons | 2009-09-17 | 1 | -3/+4 |
| | | | | More html work. | ||||
* | Lintifications. | Kristaps Dzonsons | 2009-09-16 | 1 | -2/+2 |
| | |||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -30/+9 |
| | | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources. | ||||
* | Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par). | Kristaps Dzonsons | 2009-08-19 | 1 | -7/+7 |
| | |||||
* | Added -fno-ign-chars support to libman. | Kristaps Dzonsons | 2009-06-18 | 1 | -3/+7 |
| | | | | | | | man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7. | ||||
* | Removed MAN___: moved MAN_br to its index (comments not passed into parser). | Kristaps Dzonsons | 2009-06-16 | 1 | -1/+1 |
| | | | | Fix: hashtable not fully formed after removal of MDOC___. | ||||
* | Fixed license email address. | Kristaps Dzonsons | 2009-06-10 | 1 | -1/+1 |
| | |||||
* | Using proper license template (const). | Kristaps Dzonsons | 2009-04-12 | 1 | -12/+10 |
| | |||||
* | man(3) doesn't use err.h anymore. | Kristaps Dzonsons | 2009-04-05 | 1 | -6/+6 |
| | | | | | | | | Added .i to man(3). Fixed up manuals. Fixed up webpage. Assertion fixes in man(3) (hashtable). Fixed assertion for .IP in mandoc -man. | ||||
* | mdoc_tokhash -> hash | Kristaps Dzonsons | 2009-04-02 | 1 | -8/+45 |
| | | | | Initial man hashtab (BROKEN). | ||||
* | General clean-ups. | Kristaps Dzonsons | 2009-03-31 | 1 | -4/+0 |
| | |||||
* | Fixed reading whitespace for man.7 `. TH'. | Kristaps Dzonsons | 2009-03-26 | 1 | -1/+1 |
| | | | | Documented this. | ||||
* | -man linked to mandoc in documentation. | Kristaps Dzonsons | 2009-03-23 | 1 | -0/+2 |
| | |||||
* | First addition of -man macro support. | Kristaps Dzonsons | 2009-03-23 | 1 | -0/+58 |
Abstraction of mdoc. |