aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/demandoc.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the character table available to libroff so it can check theIngo Schwarze2014-10-281-2/+5
| | | | | | | | validity of character escape names and warn about unknown ones. This requires mchars_spec2cp() to report unknown names again. Fortunately, that doesn't require changing the calling code because according to groff, invalid character escapes should not produce output anyway, and now that we warn about them, that's fine.
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-3/+3
| | | | | | 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.
* Without the MPARSE_SO option, if the file contains nothing but aIngo Schwarze2014-03-191-2/+2
| | | | | | single .so request, do not read the file pointed to, but instead let mparse_result() provide the file name pointed to as a return value. To be used by makewhatis(8) in the future.
* cope with mparse_alloc() interface changeIngo Schwarze2014-03-191-2/+2
|
* Cope with mparse_alloc() interface change.Ingo Schwarze2014-01-051-2/+2
|
* catch up with the changed interface of mparse_alloc(), see mandoc.h rev 1.100Ingo Schwarze2012-05-311-2/+2
|
* Finishing touches on demandoc. It now backs over ending punctuation asKristaps Dzonsons2011-09-011-4/+16
| | | | | | well as leading punctuation. Again, this isn't the same as deroff (which uses, I think, some punctuation as delimiters), but it's easier to explain and simpler to audit.
* Make `-w' mode work much better. This is INCREDIBLY poorly specified inKristaps Dzonsons2011-09-011-2/+57
| | | | | | any other deroff manual, and as I don't think anybody actually uses deroff, I don't feel compelled to research its behaviour too much and can just do what's logical.
* Have demandoc throw away deroff's flags.Kristaps Dzonsons2011-09-011-30/+40
|
* Lint checks over demandoc.Kristaps Dzonsons2011-09-011-4/+3
|
* Allow compilation on OpenBSD.Kristaps Dzonsons2011-09-011-1/+2
|
* Add demandoc utility, a replacement for deroff.Kristaps Dzonsons2011-09-011-0/+180