Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regression tests in place for `.if' in libroff. | 2010-05-16 | 1 | -1/+2 | |
| | | | | | Check against some strange `.if' constructs I missed. Added initial roff.7 manual. | ||||
* | Allow roff_parseln() to be re-run. | 2010-05-16 | 1 | -9/+31 | |
| | | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser). | ||||
* | Fix allowing silly '\'' control character. | 2010-05-16 | 1 | -2/+2 | |
| | |||||
* | Backed-out warning messages (lots). | 2010-05-15 | 1 | -1/+3 | |
| | |||||
* | The `ig' now supports `ig end-macro'. | 2010-05-15 | 1 | -2/+15 | |
| | | | | Initial warning/error messages in place (still experimental). | ||||
* | Segfault fix and letting warnings slip through for now. | 2010-05-15 | 1 | -2/+2 | |
| | |||||
* | Add mandoc.h, which will eventually replace compilers' inner enum errors ↵ | 2010-05-15 | 1 | -18/+70 | |
| | | | | | | with unified ones. Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions. | ||||
* | Reorganise the comment stripping and line merging to be easier to follow | 2010-05-15 | 1 | -51/+53 | |
| | | | | and slightly faster. | ||||
* | Make the output width an option for ascii_alloc and use that to compute | 2010-05-15 | 1 | -2/+2 | |
| | | | | the default margin. Hard-code 80 chars/line for now. | ||||
* | Push buffer resizing into its own function. Keep initial allocations the | 2010-05-15 | 1 | -20/+25 | |
| | | | | same size as before. | ||||
* | Cleanup indentation after moving the read buffering out of the loop. | 2010-05-15 | 1 | -54/+52 | |
| | |||||
* | "Push down the buffer to where they are used. | 2010-05-15 | 1 | -78/+131 | |
| | | | | | | Handle the stdin/file argument in one function. On top, use either mmap or if that failed reading the whole file into a single buffer." (patches by Joerg Sonnenberger, ed. Kristaps) | ||||
* | Whacked lastman and lastmdoc (not being used). | 2010-05-15 | 1 | -7/+1 | |
| | |||||
* | "Accumulate errors and warnings in global variables and exit with error | 2010-05-14 | 1 | -58/+60 | |
| | | | | if either is not null on exit." (patch by Joerg Sonnenberger) | ||||
* | Fix for Joerg's patch stripping of pre-comment whitespace (by Joerg). | 2010-05-14 | 1 | -3/+3 | |
| | |||||
* | Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵ | 2010-05-09 | 1 | -20/+10 | |
| | | | | Schwarze, too. | ||||
* | Merge patch by Jason McIntyre cleaning on mandoc.1: `Ar' -> `Cm' and other ↵ | 2010-04-12 | 1 | -3/+9 | |
| | | | | | | readability fixes. Merge modified patch by Joerg Sonnenberger that rewinds to whitespace when encountering trailing line-comments. | ||||
* | Have -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo ↵ | 2010-03-22 | 1 | -32/+38 | |
| | | | | Schwarze. | ||||
* | Fixed Makefile for `make lint' dep. on config.h | 2010-01-29 | 1 | -1/+10 | |
| | | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't. | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | 2010-01-01 | 1 | -6/+5 | |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Added forgotten newline terminators in main.c. | 2009-11-02 | 1 | -5/+5 | |
| | |||||
* | Added lint to __attribute__ defines. | 2009-11-02 | 1 | -2/+4 | |
| | |||||
* | Using straight-up __attribute__ (inspired by portable openssh). | 2009-11-02 | 1 | -13/+10 | |
| | |||||
* | Removed non-portable __progname (thanks Joerg Sonnenberger). | 2009-10-31 | 1 | -4/+10 | |
| | |||||
* | Using perror() instead of fprintf for failure from library functions. | 2009-10-31 | 1 | -16/+14 | |
| | |||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | 2009-10-30 | 1 | -15/+5 | |
| | |||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | 2009-10-27 | 1 | -4/+4 | |
| | |||||
* | Merged patch to allow -fign-escape (thanks Joerg Sonnenberger). | 2009-10-26 | 1 | -3/+7 | |
| | |||||
* | Allowed -O to be invoked multiple times. | 2009-10-26 | 1 | -3/+5 | |
| | |||||
* | Portability: replaced queue macros in html.c (Joerg Sonnenberger). | 2009-10-26 | 1 | -4/+4 | |
| | | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either). | ||||
* | Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o! | 2009-10-26 | 1 | -2/+2 | |
| | |||||
* | Moved output definitions into main.h. | 2009-10-13 | 1 | -12/+2 | |
| | | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. | ||||
* | Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein). | 2009-10-13 | 1 | -5/+8 | |
| | |||||
* | Removed new-born out.{h,c} (not a good idea). | 2009-09-21 | 1 | -12/+8 | |
| | | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices. | ||||
* | More updates to html.c. | 2009-09-16 | 1 | -1/+22 | |
| | | | | Secretly enabled -Thtml in main.c (obviously not yet documented). | ||||
* | Made tree/term/out() functions return void. | 2009-09-16 | 1 | -11/+9 | |
| | | | | Put err() functions back into front-ends (no use making it needlessly complex). | ||||
* | Fix in newline. | 2009-07-28 | 1 | -2/+3 | |
| | | | | Correct printing of N-char predefined/special strings. | ||||
* | main.c using fprintf instead of warnx for parse errors (like cc). | 2009-07-27 | 1 | -7/+6 | |
| | | | | | | Error string is now file:line:col: message. Removed sed from vim -q example in manuals.7. Fixed column reporting (off by one). | ||||
* | Added -fign-errors for VERY fast checking of many manuals without stopping ↵ | 2009-07-24 | 1 | -15/+28 | |
| | | | | at errors. | ||||
* | Small clean-ups in error message usage.VERSION_1_7_23 | 2009-07-07 | 1 | -2/+2 | |
| | | | | Version. | ||||
* | Cleaned out duplicate {mdoc,man}warn in main.c. | 2009-07-06 | 1 | -26/+5 | |
| | |||||
* | Backed -Wcompat,syntax out of front-end. | 2009-07-06 | 1 | -17/+11 | |
| | |||||
* | Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication). | 2009-07-06 | 1 | -23/+5 | |
| | |||||
* | suboptarg is not portable to Linux (fixed). | 2009-07-04 | 1 | -7/+11 | |
| | |||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | 2009-07-04 | 1 | -2/+4 | |
| | | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently. | ||||
* | Removed escape-deprecation note (better solution in progress, ↵ | 2009-06-27 | 1 | -8/+8 | |
| | | | | | | | | schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org). | ||||
* | Added -fno-ign-chars support to libman. | 2009-06-18 | 1 | -2/+4 | |
| | | | | | | | 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. | ||||
* | Clean-up: in-source documentation. | 2009-06-16 | 1 | -56/+13 | |
| | |||||
* | Modernised comment handling: text following \" is thrown away before | 2009-06-16 | 1 | -26/+39 | |
| | | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7. | ||||
* | Deprecated mdoc_msg (not being used anywhere). | 2009-06-15 | 1 | -2/+1 | |
| |