Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Nit-picking assign in decl. | Kristaps Dzonsons | 2010-07-21 | 1 | -1/+3 | |
| | ||||||
* | Finally make mdoc argv CPP-defines into a proper enum. | Kristaps Dzonsons | 2010-07-21 | 1 | -3/+3 | |
| | ||||||
* | correct lots of copyright notices; | Ingo Schwarze | 2010-07-13 | 1 | -1/+1 | |
| | | | | ok kristaps@ | |||||
* | Make struct_bl and struct_bd into pointers. This removes the need to do | Kristaps Dzonsons | 2010-07-01 | 1 | -1/+2 | |
| | | | | | | | | | | | copying on internals after modification. Even more importantly, if an ENDBODY token is provided, it would have been impossible for post-change copying of the data to take place in the BLOCK. This allows it to happen by dint of pointers. Also did some bikeshedding in mdoc_term.c: checking against enum type and explicitly casting to the "post" function to void. This is for my own readability. | |||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | Kristaps Dzonsons | 2010-06-19 | 1 | -1/+1 | |
| | ||||||
* | `Bl' is now using a struct instead of a single enum mdoc_list for its | Kristaps Dzonsons | 2010-06-12 | 1 | -1/+1 | |
| | | | | cached values. You can probably guess where this is going. | |||||
* | Getting args() function ready to handle no-context (*pos can == 0) | Kristaps Dzonsons | 2010-05-31 | 1 | -11/+11 | |
| | | | | processing. | |||||
* | Remove enum mdocargerr from phrase() (unused). | Kristaps Dzonsons | 2010-05-31 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | 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'. | |||||
* | Have mdoc_args() use enum mdoc_list instead of scanning. | Kristaps Dzonsons | 2010-05-30 | 1 | -16/+3 | |
| | ||||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -9/+11 | |
| | | | | | | | | | | | 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 | -2/+3 | |
| | | | | | | | 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 `Bl -column' dancing: It children also inherit in-phrase flags (noted ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -3/+3 | |
| | | | | by Ingo Schwarze). | |||||
* | Proper handling of quoted tab-separated column lists. | Kristaps Dzonsons | 2010-05-14 | 1 | -19/+39 | |
| | ||||||
* | Explicitly account for \*(Ba when checking for delims. Noted by Jason ↵ | Kristaps Dzonsons | 2010-05-09 | 1 | -5/+6 | |
| | | | | McIntyre via Ingo Schwarze. | |||||
* | Introduce ARGS_PEND for `It -column' end-of-line special casing. | Kristaps Dzonsons | 2010-05-09 | 1 | -1/+3 | |
| | | | | Initial rules for insane `It -column' tabsep handling. | |||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -12/+13 | |
| | ||||||
* | De-chunking of text removed from parsers. This is a significant change (and ↵ | Kristaps Dzonsons | 2010-05-07 | 1 | -2/+6 | |
| | | | | | | I don't really like it), but it's what groff does. Distinction of ARGS_PHRASE and ARGS_PPHRASE in backend (not yet used). | |||||
* | Initial ARGS_PPHRASE (partial phrase) framework. | Kristaps Dzonsons | 2010-05-07 | 1 | -1/+3 | |
| | | | | Running tally of changes in index.sgml. | |||||
* | enum-ised mdoc_argv() return (better return-value safety). | Kristaps Dzonsons | 2010-05-07 | 1 | -1/+1 | |
| | ||||||
* | margerr -> margserr (getting ready for margverr). | Kristaps Dzonsons | 2010-05-07 | 1 | -4/+4 | |
| | ||||||
* | Wrangle mdoc_args() and mdoc_zargs() to use enum return type. | Kristaps Dzonsons | 2010-05-07 | 1 | -4/+4 | |
| | | | | | Fixed lookup() and lookup_raw() to correctly use enum type. Quashed in_line_argn() bug (not reported, but there) where mixing return values. | |||||
* | Merged Ingo Schwarze's patch (plus documentation) for removing extraneous ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -14/+19 | |
| | | | | list types, which happens fairly often. | |||||
* | Re-adjusting UGLY tags. | Kristaps Dzonsons | 2010-03-31 | 1 | -1/+0 | |
| | | | | | 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 | -6/+7 | |
| | | | | | | | 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. | |||||
* | Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -2/+2 | |
| | | | | | | | | | | | 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. | |||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+1 | |
| | ||||||
* | Slow movement of internal allocations to fail completely. | Kristaps Dzonsons | 2009-10-28 | 1 | -32/+13 | |
| | ||||||
* | Added `%U' to -mdoc (doesn't render in a nice way yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+1 | |
| | ||||||
* | Fixed `-file' argument to `Bd', which is NOT a type, but instead just an ↵ | Kristaps Dzonsons | 2009-10-19 | 1 | -1/+1 | |
| | | | | argument. | |||||
* | Added support for `Bd -centered', which appears in newer groffs (not yet ↵ | Kristaps Dzonsons | 2009-10-15 | 1 | -0/+2 | |
| | | | | implemented in centre-capable front-ends, i.e., -Thtml). | |||||
* | Fix operator overloading (submitted by Ulrich Sporlein, uqs@spoerlein.net). | Kristaps Dzonsons | 2009-10-07 | 1 | -30/+30 | |
| | ||||||
* | -offset string can now be blank (supplied with 6n as stipulated by ↵ | Kristaps Dzonsons | 2009-09-24 | 1 | -2/+6 | |
| | | | | mdoc.samples). | |||||
* | Updated manual structure in mdoc.7. | Kristaps Dzonsons | 2009-08-20 | 1 | -1/+1 | |
| | | | | | | Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.). | |||||
* | Documented ARGS_ handling in args(). | Kristaps Dzonsons | 2009-08-20 | 1 | -0/+15 | |
| | ||||||
* | Delimiter whitespace is correctly flagged (required some special handling). | Kristaps Dzonsons | 2009-08-20 | 1 | -10/+14 | |
| | ||||||
* | Removed already-fixed FIXME. | Kristaps Dzonsons | 2009-08-19 | 1 | -2/+0 | |
| | ||||||
* | More cleanups for TABSEP handling. | Kristaps Dzonsons | 2009-07-20 | 1 | -6/+6 | |
| | ||||||
* | Replaced ugly TABSEP handling with simpler routine. | Kristaps Dzonsons | 2009-07-20 | 1 | -48/+29 | |
| | ||||||
* | Fixed and cleaned up "phrase" handling (`Bl -column' columns). | Kristaps Dzonsons | 2009-07-19 | 1 | -0/+8 | |
| | | | | Found strange newline bug in -diag handling (and others?). | |||||
* | Made unterminated quoted literals be a warning, like groff. | Kristaps Dzonsons | 2009-07-18 | 1 | -2/+3 | |
| | ||||||
* | Considerably revamped argument-parsing for correct quoted-literal handling. | Kristaps Dzonsons | 2009-07-18 | 1 | -189/+160 | |
| | | | | | Deprecated ARGS_QUOTED (all arguments are quotable). Documented quotation and whitespace rules in mdoc.7. | |||||
* | Lint-check (removed unused variable). | Kristaps Dzonsons | 2009-07-17 | 1 | -2/+0 | |
| | ||||||
* | Removed EARGVPARM (superfluous, overly error-generating). | Kristaps Dzonsons | 2009-07-17 | 1 | -11/+1 | |
| | | | | Added `sp' handler. | |||||
* | Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org). | Kristaps Dzonsons | 2009-07-17 | 1 | -0/+2 | |
| | ||||||
* | args() should return ARGS_ERROR, not 0. | Kristaps Dzonsons | 2009-07-15 | 1 | -5/+5 | |
| | ||||||
* | Removed long-fixed FIXME note. | Kristaps Dzonsons | 2009-07-11 | 1 | -1/+0 | |
| | ||||||
* | Consolidated all err/warnings into mdoc.c via libmdoc.h. | Kristaps Dzonsons | 2009-07-06 | 1 | -84/+30 | |
| | ||||||
* | Consolidated pwarn->perr in mdoc_argv. | Kristaps Dzonsons | 2009-07-06 | 1 | -40/+26 | |
| | ||||||
* | Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication). | Kristaps Dzonsons | 2009-07-06 | 1 | -5/+4 | |
| |