Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Commit of patch floated on discuss@ a few days ago: if an in_line scope | 2010-05-29 | 1 | -12/+33 | ||
| | | | | | | | | | | has not been opened and closing punctuation is encountered AND the macro is marked as accepting no-content (or `Li'), then open an empty scope. Added regression tests for `Fl' and `Li' testing this behaviour. Also, squeeze hyph0.in tests into the last characters of each line so that groff doesn't hyphenate and break the test. | |||||
* | Fixed `Lb' to be in_line (reported by Ulrich Spoerlein). | 2010-05-26 | 1 | -2/+2 | ||
| | | | | | | | | | Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all). | |||||
* | Enable the unified error/warning enumeration in mandoc.h that's | 2010-05-17 | 1 | -15/+19 | ||
| | | | | | | | | | | | 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. | |||||
* | Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum). | 2010-05-15 | 1 | -11/+13 | ||
| | | | | | | | 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@ | |||||
* | More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵ | 2010-05-15 | 1 | -7/+22 | ||
| | | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers. | |||||
* | More `Bl -column' dancing: It children also inherit in-phrase flags (noted ↵ | 2010-05-15 | 1 | -23/+15 | ||
| | | | | by Ingo Schwarze). | |||||
* | Block-implicit macros now up-propogate end-of-sentence spacing. NOTE: GROFF ↵ | 2010-05-14 | 1 | -1/+21 | ||
| | | | | IS NOT SMART ENOUGH TO DO THIS. | |||||
* | Removed remaining "1 == ppos" invocations. | 2010-05-14 | 1 | -5/+11 | ||
| | ||||||
* | Proper handling of quoted tab-separated column lists. | 2010-05-14 | 1 | -12/+7 | ||
| | ||||||
* | Lint fix. | 2010-05-13 | 1 | -1/+2 | ||
| | ||||||
* | Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section. | 2010-05-13 | 1 | -13/+22 | ||
| | | | | | Fixed assumption that parse-point == 1 equates to beginning of line (false if whitespace separates macro and control character). Fixed line-break for non-first-macro in several SYNOPSIS macros. | |||||
* | Introduce ARGS_PEND for `It -column' end-of-line special casing. | 2010-05-09 | 1 | -15/+45 | ||
| | | | | Initial rules for insane `It -column' tabsep handling. | |||||
* | Lint fixes (type-safety for enums via -cefuh). | 2010-05-08 | 1 | -4/+4 | ||
| | ||||||
* | Initial ARGS_PPHRASE (partial phrase) framework. | 2010-05-07 | 1 | -8/+5 | ||
| | | | | Running tally of changes in index.sgml. | |||||
* | enum-ised mdoc_argv() return (better return-value safety). | 2010-05-07 | 1 | -21/+25 | ||
| | ||||||
* | margerr -> margserr (getting ready for margverr). | 2010-05-07 | 1 | -10/+10 | ||
| | ||||||
* | Protection against running lookup() against quoted words. | 2010-05-07 | 1 | -17/+26 | ||
| | ||||||
* | Wrangle mdoc_args() and mdoc_zargs() to use enum return type. | 2010-05-07 | 1 | -125/+145 | ||
| | | | | | Fixed lookup() and lookup_raw() to correctly use enum type. Quashed in_line_argn() bug (not reported, but there) where mixing return values. | |||||
* | Fix mdoc bug found by Claus Assmann: `Pf' should be callable. | 2010-04-06 | 1 | -2/+2 | ||
| | ||||||
* | Enum-ised REWIND return values. | 2010-04-05 | 1 | -7/+9 | ||
| | ||||||
* | Tentative fix of quoted punctuation issue noted by Jason McIntyre, e.g., `Li ↵ | 2010-04-05 | 1 | -4/+9 | ||
| | | | | "!"' rendering the "!" outside of scope. | |||||
* | Fixed fatal bug in Xo/Xc patch that caused segfaults with last-child ↵ | 2010-03-31 | 1 | -9/+14 | ||
| | | | | explicit-scope macros. | |||||
* | Re-adjusting UGLY tags. | 2010-03-31 | 1 | -5/+3 | ||
| | | | | | Fixed removed assignment of type. Removed superfluous checks of mdoc_argflags (from days when comments were a macro tag). | |||||
* | Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵ | 2010-03-31 | 1 | -16/+53 | ||
| | | | | | | | values). Initial check-in of Ingo Schwarze's patch for Xo/Xc handling (in blocks ifdef'd "UGLY"). Put Oc-close-Op parts into UGLY ifdef blocks. | |||||
* | Modified in_line_eoln() to handle leading punctuation.VERSION_1_9_20 | 2010-03-30 | 1 | -22/+34 | ||
| | ||||||
* | Last remaining bits for leading-punctuation in blk_exp(). | 2010-03-30 | 1 | -54/+66 | ||
| | ||||||
* | Fixed segfault with accidentally-munged tree. | 2010-03-29 | 1 | -11/+9 | ||
| | ||||||
* | Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵ | 2010-03-29 | 1 | -76/+108 | ||
| | | | | | | | | | | | 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. | |||||
* | Made `Xr' compatible with groff calling conventions where arguments ↵ | 2010-02-17 | 1 | -3/+19 | ||
| | | | | | | following the trailing section are implicitly `Ns'd. Based on a patch submitted by Ingo Schwarze. | |||||
* | Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg ↵ | 2010-01-30 | 1 | -2/+28 | ||
| | | | | Sonnenberger. | |||||
* | Big check-in of compatibility layer. This should work on most major ↵ | 2010-01-01 | 1 | -1/+5 | ||
| | | | | architectures. Thanks to Joerg Sonnenberger. | |||||
* | `Fl' has each argument be in a separate scope (thanks Ingo Schwarze). | 2010-01-01 | 1 | -1/+12 | ||
| | | | | | Situation of `Fl [arg]* "" [arg]*' is fixed: empty arguments are ignored. Note that OpenBSD crashes when this happens. Situation of `Fl' is fixed wrt trailing whitespace. | |||||
* | Added time.h to various files for FreeBSD compilation (thanks Ulrich Sporlein). | 2009-10-26 | 1 | -1/+2 | ||
| | ||||||
* | Added `%U' to -mdoc (doesn't render in a nice way yet). | 2009-10-24 | 1 | -1/+2 | ||
| | ||||||
* | Some extra html tags and near-complete Bl: -tag is hopeless (synonym for ↵ | 2009-09-20 | 1 | -1/+2 | ||
| | | | | -hang, now) and -column is still pending. | |||||
* | Lintifications. | 2009-09-16 | 1 | -14/+14 | ||
| | ||||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | 2009-09-16 | 1 | -2/+2 | ||
| | | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources. | |||||
* | Delimiter whitespace is correctly flagged (required some special handling). | 2009-08-20 | 1 | -3/+3 | ||
| | ||||||
* | In-line documentation of mdoc_macro file. | 2009-08-19 | 1 | -265/+202 | ||
| | | | | Moved _NEXT_ macros into _alloc_ routines (where they belong). | |||||
* | Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc). | 2009-08-19 | 1 | -10/+1 | ||
| | | | | De-chunking of word terms in libman. | |||||
* | Noted areas that need work in libmdoc. | 2009-08-13 | 1 | -2/+3 | ||
| | ||||||
* | Columns with `Bl -column' correctly check for CALLABLE status. | 2009-07-29 | 1 | -28/+13 | ||
| | ||||||
* | Moved CALLABLE check to lookup_raw(). | 2009-07-29 | 1 | -18/+24 | ||
| | | | | | | Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org). | |||||
* | Patches and results of LLVM static analysis (thanks uqs@sporlein.net). | 2009-07-25 | 1 | -6/+5 | ||
| | ||||||
* | Allow `An' to accept NULL arguments (-split/-nosplit). | 2009-07-24 | 1 | -4/+6 | ||
| | ||||||
* | Noted that `Pa' can accept 0 arguments. | 2009-07-21 | 1 | -1/+3 | ||
| | ||||||
* | Fixed and cleaned up "phrase" handling (`Bl -column' columns). | 2009-07-19 | 1 | -60/+26 | ||
| | | | | Found strange newline bug in -diag handling (and others?). | |||||
* | Made `Cd' parseable (too many SYNOPSIS sections do this). | 2009-07-19 | 1 | -2/+2 | ||
| | ||||||
* | Explicit-close macros now only warn when encountering trailing terms, not | 2009-07-19 | 1 | -7/+7 | ||
| | | | | error out (try `.Ed foo'). | |||||
* | Documented `br' macro in mdoc.7. | 2009-07-17 | 1 | -7/+3 | ||
| | | | | Made `Pp' and `Lp' be inline_eoln() (not sure why they weren't before). |