summaryrefslogtreecommitdiffstats
path: root/demandoc.c
Commit message (Collapse)AuthorAgeFilesLines
* trim trailing white space, no code change;Ingo Schwarze2015-02-101-6/+6
| | | | from Svyatoslav Mishyn <juef at openmailboxd dot org>, Crux Linux
* be more careful about argc == 0Ingo Schwarze2015-02-071-3/+4
|
* Fatal errors no longer exist.Ingo Schwarze2015-01-151-8/+8
| | | | | | If a file can be opened, mandoc will produce some output; at worst, the output may be almost empty. Simplifies error handling and frees a message type for future use.
* Make the character table available to libroff so it can check theIngo Schwarze2014-10-281-1/+4
| | | | | | | | 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-2/+2
| | | | | | 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-1/+1
| | | | | | 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-1/+1
|
* Cope with mparse_alloc() interface change.Ingo Schwarze2014-01-051-1/+1
|
* catch up with the changed interface of mparse_alloc(), see mandoc.h rev 1.100Ingo Schwarze2012-05-311-1/+1
|
* Finishing touches on demandoc. It now backs over ending punctuation asKristaps Dzonsons2011-09-011-3/+15
| | | | | | 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-1/+56
| | | | | | 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-29/+39
|
* Lint checks over demandoc.Kristaps Dzonsons2011-09-011-3/+2
|
* Allow compilation on OpenBSD.Kristaps Dzonsons2011-09-011-0/+1
|
* Add demandoc utility, a replacement for deroff.Kristaps Dzonsons2011-09-011-0/+180