Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lint fixes (noops). | Kristaps Dzonsons | 2010-05-31 | 1 | -2/+1 |
| | |||||
* | Remove now-superfluous check on `Ta' context. | Kristaps Dzonsons | 2010-05-31 | 1 | -20/+0 |
| | |||||
* | Add ability to interpret initial free-form lines as part of a `Bl | Kristaps Dzonsons | 2010-05-31 | 1 | -1/+11 |
| | | | | | | | | -column' up until the first `It'. This is UGLY and should have all sorts of warnings, and will. On the one hand, it fits with groff's notion of tabs and tab-spaces. On the other hand, it's not really "free-form" text any more. Note that this does not yet accomodate for macros coming on these lines. | ||||
* | `Ta' scope-checks need to be more specific (until implicit `It' handling | Kristaps Dzonsons | 2010-05-31 | 1 | -1/+4 |
| | | | | comes into play). | ||||
* | Remove enum mdocargerr from phrase() (unused). | Kristaps Dzonsons | 2010-05-31 | 1 | -22/+96 |
| | | | | | | | | | | | | | | Add `Ta' macro, which is basically a NULL case everywhere but in mdoc_macro.c, where it closes out an existing `It' body scope and opens a new one, then continues parsing as in phrase() (TODO: merge these two?). Fix where scope-breaking was silently just dying instead of printing an error. Fix where trailing `Ta' or tab weren't creating a new MDOC_BODY context. We now support arbitrarily complex `It' contents for `Bl -column'. | ||||
* | Migrate `Bl -column' phrases to be MDOC_BODY instead of MDOC_HEAD. This | Kristaps Dzonsons | 2010-05-30 | 1 | -13/+19 |
| | | | | | | | | | | will make it easy for re-entrant parsing of `Ta' macros to fit in with standard closure rules. Added some more regressions for `Bl -column'. Note that one should fail, as documented in the TODO file. Recorded change of AST BNF in mdoc.3. | ||||
* | Final word on lac/ac. Document flow as it relates to phrasing, as I'll | Kristaps Dzonsons | 2010-05-30 | 1 | -4/+17 |
| | | | | | be changing this around and want a record in CVS of what was happening beforehand. | ||||
* | Obvious fix to last patch: have ARGS_PEND also be flagged for phrase() | Kristaps Dzonsons | 2010-05-30 | 1 | -1/+3 |
| | | | | handling. | ||||
* | First in several iterative patches in getting complex -column lists | Kristaps Dzonsons | 2010-05-30 | 1 | -8/+12 |
| | | | | | | | | supported (which works but is tricky enough that it should be broken down into digestable parts). This simply moves around the propogation of ARGS_PEND into one recognised by phrase(). Added a few regressions for simple -column lists. | ||||
* | Commit of patch floated on discuss@ a few days ago: if an in_line scope | Kristaps Dzonsons | 2010-05-29 | 1 | -11/+32 |
| | | | | | | | | | | 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). | Kristaps Dzonsons | 2010-05-26 | 1 | -1/+1 |
| | | | | | | | | | 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 | Kristaps Dzonsons | 2010-05-17 | 1 | -14/+18 |
| | | | | | | | | | | | 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). | Ingo Schwarze | 2010-05-15 | 1 | -10/+12 |
| | | | | | | | 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 ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -6/+21 |
| | | | | | | 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 ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -22/+14 |
| | | | | by Ingo Schwarze). | ||||
* | Block-implicit macros now up-propogate end-of-sentence spacing. NOTE: GROFF ↵ | Kristaps Dzonsons | 2010-05-14 | 1 | -0/+20 |
| | | | | IS NOT SMART ENOUGH TO DO THIS. | ||||
* | Removed remaining "1 == ppos" invocations. | Kristaps Dzonsons | 2010-05-14 | 1 | -4/+10 |
| | |||||
* | Proper handling of quoted tab-separated column lists. | Kristaps Dzonsons | 2010-05-14 | 1 | -11/+6 |
| | |||||
* | Lint fix. | Kristaps Dzonsons | 2010-05-13 | 1 | -0/+1 |
| | |||||
* | Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section. | Kristaps Dzonsons | 2010-05-13 | 1 | -12/+21 |
| | | | | | 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. | Kristaps Dzonsons | 2010-05-09 | 1 | -14/+44 |
| | | | | Initial rules for insane `It -column' tabsep handling. | ||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -3/+3 |
| | |||||
* | Initial ARGS_PPHRASE (partial phrase) framework. | Kristaps Dzonsons | 2010-05-07 | 1 | -7/+4 |
| | | | | Running tally of changes in index.sgml. | ||||
* | enum-ised mdoc_argv() return (better return-value safety). | Kristaps Dzonsons | 2010-05-07 | 1 | -20/+24 |
| | |||||
* | margerr -> margserr (getting ready for margverr). | Kristaps Dzonsons | 2010-05-07 | 1 | -9/+9 |
| | |||||
* | Protection against running lookup() against quoted words. | Kristaps Dzonsons | 2010-05-07 | 1 | -16/+25 |
| | |||||
* | Wrangle mdoc_args() and mdoc_zargs() to use enum return type. | Kristaps Dzonsons | 2010-05-07 | 1 | -124/+144 |
| | | | | | 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. | Kristaps Dzonsons | 2010-04-06 | 1 | -1/+1 |
| | |||||
* | Enum-ised REWIND return values. | Kristaps Dzonsons | 2010-04-05 | 1 | -6/+8 |
| | |||||
* | Tentative fix of quoted punctuation issue noted by Jason McIntyre, e.g., `Li ↵ | Kristaps Dzonsons | 2010-04-05 | 1 | -3/+8 |
| | | | | "!"' rendering the "!" outside of scope. | ||||
* | Fixed fatal bug in Xo/Xc patch that caused segfaults with last-child ↵ | Kristaps Dzonsons | 2010-03-31 | 1 | -8/+13 |
| | | | | explicit-scope macros. | ||||
* | Re-adjusting UGLY tags. | Kristaps Dzonsons | 2010-03-31 | 1 | -4/+2 |
| | | | | | 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" ↵ | Kristaps Dzonsons | 2010-03-31 | 1 | -15/+52 |
| | | | | | | | 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 | Kristaps Dzonsons | 2010-03-30 | 1 | -21/+33 |
| | |||||
* | Last remaining bits for leading-punctuation in blk_exp(). | Kristaps Dzonsons | 2010-03-30 | 1 | -53/+65 |
| | |||||
* | Fixed segfault with accidentally-munged tree. | Kristaps Dzonsons | 2010-03-29 | 1 | -10/+8 |
| | |||||
* | Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -75/+107 |
| | | | | | | | | | | | 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 ↵ | Kristaps Dzonsons | 2010-02-17 | 1 | -2/+18 |
| | | | | | | 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 ↵ | Kristaps Dzonsons | 2010-01-30 | 1 | -1/+27 |
| | | | | Sonnenberger. | ||||
* | 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. | ||||
* | `Fl' has each argument be in a separate scope (thanks Ingo Schwarze). | Kristaps Dzonsons | 2010-01-01 | 1 | -0/+11 |
| | | | | | 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). | Kristaps Dzonsons | 2009-10-26 | 1 | -0/+1 |
| | |||||
* | Added `%U' to -mdoc (doesn't render in a nice way yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+1 |
| | |||||
* | Some extra html tags and near-complete Bl: -tag is hopeless (synonym for ↵ | Kristaps Dzonsons | 2009-09-20 | 1 | -0/+1 |
| | | | | -hang, now) and -column is still pending. | ||||
* | Lintifications. | Kristaps Dzonsons | 2009-09-16 | 1 | -13/+13 |
| | |||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -1/+1 |
| | | | | 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). | Kristaps Dzonsons | 2009-08-20 | 1 | -2/+2 |
| | |||||
* | In-line documentation of mdoc_macro file. | Kristaps Dzonsons | 2009-08-19 | 1 | -264/+201 |
| | | | | Moved _NEXT_ macros into _alloc_ routines (where they belong). | ||||
* | Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc). | Kristaps Dzonsons | 2009-08-19 | 1 | -9/+0 |
| | | | | De-chunking of word terms in libman. | ||||
* | Noted areas that need work in libmdoc. | Kristaps Dzonsons | 2009-08-13 | 1 | -1/+2 |
| |