Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed `Fn' newline behaviour and added some regression tests to this | Kristaps Dzonsons | 2010-06-04 | 5 | -3/+81 |
| | | | | | | | extent. Documented `Fn'. Please note the COMPATIBILITY note regarding historic groff. | ||||
* | Documented `In' in full. | Kristaps Dzonsons | 2010-06-04 | 4 | -35/+63 |
| | | | | | | Fixed `In' to behave properly: it wasn't properly breaking lines, formatting, or really anything else. Noted COMPATIBILITY with OpenBSD's groff, which pukes all over `In'. | ||||
* | Fixed `Fd' to format in the right way. Found when confused by what the | Kristaps Dzonsons | 2010-06-04 | 3 | -17/+33 |
| | | | | | hell `Fd' is supposed to do anyway (answer: it's a historical macro and we shouldn't be doing anything with it anyway). | ||||
* | Documented `Db', `El', `Fa', and `Fd'. | Kristaps Dzonsons | 2010-06-04 | 1 | -0/+37 |
| | |||||
* | Document the `Mt' macro. | Kristaps Dzonsons | 2010-06-03 | 1 | -0/+9 |
| | |||||
* | Remove manuals.7 (see http://manpages.bsd.lv). | Kristaps Dzonsons | 2010-06-03 | 3 | -245/+6 |
| | |||||
* | Version bits for 1.10.1. | Kristaps Dzonsons | 2010-06-03 | 2 | -3/+13 |
| | |||||
* | Compatibility note about `Ta' being a line macro. | Kristaps Dzonsons | 2010-06-03 | 1 | -0/+5 |
| | |||||
* | Complete, rigorous documentation of the `Bl' and `It' macros, including | Kristaps Dzonsons | 2010-06-03 | 1 | -16/+95 |
| | | | | | the peculiarities with `It'-less `Bl -column' invocations, column phrases, per-type syntax of `It', etc. | ||||
* | Consolidated list processing to a single loop in mdoc_validate.c. This | Kristaps Dzonsons | 2010-06-03 | 6 | -131/+116 |
| | | | | | | | | | | relieves having to repeat running over the argument list in mdoc_action.c and mdoc_validate.c. Default to LIST_item for type-less lists (groff technically doesn't do this: it just ignores the `It' lines altogether). Make MANDOC_LISTTYPE be a recoverable error. | ||||
* | Strip empty-line markers from mdoc.template and its mdoc.7 embedded form | Kristaps Dzonsons | 2010-06-02 | 2 | -4/+0 |
| | | | | (as per Jason McIntyre's suggestion for manuals in general). | ||||
* | Note missing man/roff(?) feature not documented anywhere. | Kristaps Dzonsons | 2010-06-01 | 1 | -0/+4 |
| | |||||
* | Spelling patches provided by Ulrich Spoerlein. | Kristaps Dzonsons | 2010-06-01 | 2 | -4/+4 |
| | |||||
* | De Morgan's law not being applied properly. Noted by Ulrich Spoerlein. | Kristaps Dzonsons | 2010-06-01 | 1 | -1/+1 |
| | |||||
* | Noted that \} collapses into a zero-width space on the front-end. | Kristaps Dzonsons | 2010-06-01 | 1 | -1/+3 |
| | |||||
* | Regression made old-groff-friendly. | Kristaps Dzonsons | 2010-06-01 | 1 | -2/+0 |
| | |||||
* | Fixed condition of `\}' closing a conditional at the start of the line. | Kristaps Dzonsons | 2010-06-01 | 5 | -4/+100 |
| | | | | | | | | Fixed flushed-out condition of \} causing subsequent arguments to be truncated, when in fact the whole line should be passed through (if the conditional succeeds) to the front-end and the \} ignored there. Added regression test of this behaviour. | ||||
* | Lint fixes (noops). | Kristaps Dzonsons | 2010-05-31 | 1 | -2/+1 |
| | |||||
* | Cleanup post_bl_head() to use enum mdoc_list (avoid traversing that | Kristaps Dzonsons | 2010-05-31 | 4 | -12/+17 |
| | | | | | | | | list). Reverted MANDOC_COLUMNS to be a bad-bad syntax error: we don't, and apparently never have, allowed mixing of -column syntaxes. This would have segfaulted if encountered. | ||||
* | Clean up the validation code for `It' macros: use enum mdoc_list | Kristaps Dzonsons | 2010-05-31 | 1 | -71/+39 |
| | | | | | instead of iterating over arguments and only scan with `-column', which needs the count of arguments. | ||||
* | Remove now-superfluous check on `Ta' context. | Kristaps Dzonsons | 2010-05-31 | 1 | -20/+0 |
| | |||||
* | Fixed my breaking of Ingo's eoln-whitespace detection code, where a | Kristaps Dzonsons | 2010-05-31 | 1 | -0/+1 |
| | | | | | hyphen wasn't resetting the fact of being whitespace. Noted by Jason McIntyre. | ||||
* | Macro lines now infer an `It' if they immediately follow a `Bl -column' | Kristaps Dzonsons | 2010-05-31 | 5 | -10/+100 |
| | | | | | | | or a closed-out `It' block within a `Bl -column' (which only happens when a macro or free-form text is encountered prior to an `It'). Added some regression tests for this behaviour. | ||||
* | Strengthened constraint for passing into `It'. | Kristaps Dzonsons | 2010-05-31 | 2 | -1/+19 |
| | | | | Added regression test for constrained condition. | ||||
* | Add ability to interpret initial free-form lines as part of a `Bl | Kristaps Dzonsons | 2010-05-31 | 7 | -2/+79 |
| | | | | | | | | -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. | ||||
* | Getting args() function ready to handle no-context (*pos can == 0) | Kristaps Dzonsons | 2010-05-31 | 1 | -11/+11 |
| | | | | processing. | ||||
* | `Ta' scope-checks need to be more specific (until implicit `It' handling | Kristaps Dzonsons | 2010-05-31 | 1 | -1/+4 |
| | | | | comes into play). | ||||
* | Add some regression tests. | Kristaps Dzonsons | 2010-05-31 | 2 | -0/+36 |
| | |||||
* | Remove enum mdocargerr from phrase() (unused). | Kristaps Dzonsons | 2010-05-31 | 8 | -24/+111 |
| | | | | | | | | | | | | | | 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'. | ||||
* | Fix unescaped `Ta' invocations in mdoc.7. | Kristaps Dzonsons | 2010-05-31 | 1 | -3/+3 |
| | |||||
* | Have mdoc_args() use enum mdoc_list instead of scanning. | Kristaps Dzonsons | 2010-05-30 | 1 | -16/+3 |
| | |||||
* | Tweak regression so it doesn't puke on the groff behaviour (allowing | Kristaps Dzonsons | 2010-05-30 | 1 | -1/+1 |
| | | | | | open scopes to migrate across tabs) that we probably won't support and is well-known. | ||||
* | Migrate `Bl -column' phrases to be MDOC_BODY instead of MDOC_HEAD. This | Kristaps Dzonsons | 2010-05-30 | 10 | -64/+135 |
| | | | | | | | | | | 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 | 3 | -8/+42 |
| | | | | | | | | 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. | ||||
* | Make check for case a little more intuitive (suggested by joerg@). | Kristaps Dzonsons | 2010-05-30 | 1 | -3/+1 |
| | |||||
* | Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case). | Kristaps Dzonsons | 2010-05-30 | 4 | -16/+40 |
| | | | | | | | | Have `Dt' default to UNKNOWN if it's an empty string. Raise a warning if `Dt' title isn't capitalised. Sync'd `Dt' documentation with reality. | ||||
* | Fixed tech@ mailing list pointer (noted by Ulrich Spoerlein). | Kristaps Dzonsons | 2010-05-30 | 1 | -3/+3 |
| | | | | Fixed case of some anchor tag closings (no-op). | ||||
* | Added a final regression for `Ar' (won't work on old groff). | Kristaps Dzonsons | 2010-05-29 | 1 | -0/+10 |
| | |||||
* | Bump 1.10.0 version in Makefile. | Kristaps Dzonsons | 2010-05-29 | 1 | -2/+2 |
| | |||||
* | Added version bits to www pages. | Kristaps Dzonsons | 2010-05-29 | 2 | -107/+116 |
| | | | | Cleaned up www to be more compact and add a header for sections. | ||||
* | Give libroff an extremely simple table-lookup instead of iterating over | Kristaps Dzonsons | 2010-05-29 | 1 | -21/+71 |
| | | | | | each and every macro. The table keys on the first character then walks a chain. Good enough for now. | ||||
* | Moved printing of empty word [back] into mdoc_action.c so that it's not | Kristaps Dzonsons | 2010-05-29 | 3 | -5/+23 |
| | | | | mirrored across front-ends. | ||||
* | Adding `Ar' regression for empty-prior-closing-punctuation checkin. | Kristaps Dzonsons | 2010-05-29 | 1 | -0/+17 |
| | | | | | NOTE: this will not work on old groff, which forgets to print `file ...' when encountering an empty Ar node. | ||||
* | Commit of patch floated on discuss@ a few days ago: if an in_line scope | Kristaps Dzonsons | 2010-05-29 | 7 | -16/+108 |
| | | | | | | | | | | 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. | ||||
* | Allow bad -man dates to flow verbatim into the front-ends. Noted by | Kristaps Dzonsons | 2010-05-26 | 6 | -7/+26 |
| | | | | Ulrich Spoerlein. | ||||
* | Documented `Ud'. | Kristaps Dzonsons | 2010-05-26 | 5 | -5/+44 |
| | | | | | | | | | | | Proper EOS handling for `Rv', `Ex', `Ud', and `Bt'. Both `Bt' and `Ud' now warn about and discard line arguments (reported by Ulrich Spoerlein). Collapsed posts_xr into posts_wtext (harmless: they're the same thing). Added regressions for `Ud' and `Bt'. | ||||
* | Fixed `Lb' to be in_line (reported by Ulrich Spoerlein). | Kristaps Dzonsons | 2010-05-26 | 8 | -4/+103 |
| | | | | | | | | | 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). | ||||
* | Made index.sgml release notes, mostly cribbed from Ingo's m2k10 report. | Kristaps Dzonsons | 2010-05-25 | 1 | -84/+66 |
| | | | | Added libroff references to index.sgml. |