summaryrefslogtreecommitdiffstats
path: root/mdoc_strings.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync to OpenBSD: add missing Copyright years.Ingo Schwarze2010-07-311-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 Dzonsons2010-06-191-1/+1
|
* Enable the unified error/warning enumeration in mandoc.h that'sKristaps Dzonsons2010-05-171-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 Dzonsons2010-05-151-1/+1
|
* Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum).Ingo Schwarze2010-05-151-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 Dzonsons2010-05-121-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 Dzonsons2010-05-091-5/+11
| | | | McIntyre via Ingo Schwarze.
* Lint fixes (type-safety for enums via -cefuh).Kristaps Dzonsons2010-05-081-1/+1
|
* Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General ↵Kristaps Dzonsons2010-04-031-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 Dzonsons2010-03-291-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 Dzonsons2010-01-011-0/+4
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-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 Dzonsons2009-10-271-1/+1
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-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 Dzonsons2009-08-201-1/+3
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-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 Dzonsons2009-06-221-1/+2
| | | | | | be another way to do this). Fixed .Er -width conversion.
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-32/+28
| | | | Cleaned up string->enum conversion for section lookup.
* Noted deprecation of \*( and \* special-character escapes.Kristaps Dzonsons2009-06-171-7/+2
| | | | Minor clean-ups.
* Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org).Kristaps Dzonsons2009-06-151-2/+2
|
* Made per-macro "now callable" COMPATIBILITY claims into a single "most ↵Kristaps Dzonsons2009-06-121-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 Dzonsons2009-04-121-12/+10
|
* Added \^ and \~ escapes (Joerg).Kristaps Dzonsons2009-04-121-0/+4
|
* General clean-ups.Kristaps Dzonsons2009-03-311-0/+320