Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mdoc_str2sec() into mdoc_validate.c as a2sec(), as that's the only | Kristaps Dzonsons | 2011-03-17 | 1 | -38/+0 |
| | | | | place that it's being used. | ||||
* | Move mdoc_isdelim() into mandoc.h as mandoc_isdelim(). This allows the | Kristaps Dzonsons | 2011-03-17 | 1 | -44/+0 |
| | | | | | | removal of manual delimiter checks in html.c and term.c. Finally, add the escaped period as a closing delimiter, removing a TODO to this effect. | ||||
* | Make args_checkpunct() use mdoc_isdelim() instead of mdoc_iscdelim(), | Kristaps Dzonsons | 2011-03-17 | 1 | -40/+27 |
| | | | | which is wrong. Then remove mdoc_iscdelim() alltogether. | ||||
* | 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. | ||||
* | Lint-fix for enum return (ok schwarze@). | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+1 |
| | |||||
* | Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum). | Ingo Schwarze | 2010-05-15 | 1 | -8/+8 |
| | | | | | | | Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@ | ||||
* | mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2). | Kristaps Dzonsons | 2010-05-12 | 1 | -35/+27 |
| | | | | | Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure. | ||||
* | Explicitly account for \*(Ba when checking for delims. Noted by Jason ↵ | Kristaps Dzonsons | 2010-05-09 | 1 | -5/+11 |
| | | | | McIntyre via Ingo Schwarze. | ||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -5/+5 |
| | | | | | | Syntax" for why this mistake was made). Noted by Ingo Schwarze. Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word. Inspired by a Ingo Schwarze's patch. | ||||
* | Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -7/+7 |
| | | | | | | | | | | | and closing macro punctuation). Modify blk_part_exp() to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_exp(). Modify blk_part_imp() for to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_imp(). Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format). Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c. | ||||
* | 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. | ||||
* | Added mandoc_a2time() for proper date conversion. | Kristaps Dzonsons | 2009-11-02 | 1 | -26/+0 |
| | | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc. | ||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-27 | 1 | -1/+1 |
| | |||||
* | Full `%U' support. | Kristaps Dzonsons | 2009-10-26 | 1 | -0/+1 |
| | | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from). | ||||
* | Synchronised man.7, mdoc.7, mdoc.template manual structure. | Kristaps Dzonsons | 2009-08-20 | 1 | -1/+3 |
| | |||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | Kristaps Dzonsons | 2009-07-04 | 1 | -77/+0 |
| | | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently. | ||||
* | Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must ↵ | Kristaps Dzonsons | 2009-06-22 | 1 | -1/+2 |
| | | | | | | be another way to do this). Fixed .Er -width conversion. | ||||
* | Section orders are more elegantly handled (MDOC_PBODY is a flag). | Kristaps Dzonsons | 2009-06-17 | 1 | -32/+28 |
| | | | | Cleaned up string->enum conversion for section lookup. | ||||
* | Noted deprecation of \*( and \* special-character escapes. | Kristaps Dzonsons | 2009-06-17 | 1 | -7/+2 |
| | | | | Minor clean-ups. | ||||
* | Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org). | Kristaps Dzonsons | 2009-06-15 | 1 | -2/+2 |
| | |||||
* | Made per-macro "now callable" COMPATIBILITY claims into a single "most ↵ | Kristaps Dzonsons | 2009-06-12 | 1 | -0/+2 |
| | | | | | | | macros callable". Added COMPATIBILITY note on escaped special-character sequences. Vertical bar now correctly delimits (like in new groff). | ||||
* | Using proper license template (const). | Kristaps Dzonsons | 2009-04-12 | 1 | -12/+10 |
| | |||||
* | Added \^ and \~ escapes (Joerg). | Kristaps Dzonsons | 2009-04-12 | 1 | -0/+4 |
| | |||||
* | General clean-ups. | Kristaps Dzonsons | 2009-03-31 | 1 | -0/+320 |