Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Documented `In' in full. | Kristaps Dzonsons | 2010-06-04 | 1 | -0/+24 | |
| | | | | | | 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 | 1 | -0/+22 | |
| | | | | | hell `Fd' is supposed to do anyway (answer: it's a historical macro and we shouldn't be doing anything with it anyway). | |||||
* | 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 | 1 | -0/+95 | |
| | | | | | | | | 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. | |||||
* | Macro lines now infer an `It' if they immediately follow a `Bl -column' | Kristaps Dzonsons | 2010-05-31 | 3 | -0/+43 | |
| | | | | | | | 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 | 1 | -0/+17 | |
| | | | | Added regression test for constrained condition. | |||||
* | Add ability to interpret initial free-form lines as part of a `Bl | Kristaps Dzonsons | 2010-05-31 | 3 | -0/+39 | |
| | | | | | | | | -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. | |||||
* | Add some regression tests. | Kristaps Dzonsons | 2010-05-31 | 2 | -0/+36 | |
| | ||||||
* | 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 | 4 | -0/+54 | |
| | | | | | | | | | | 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. | |||||
* | First in several iterative patches in getting complex -column lists | Kristaps Dzonsons | 2010-05-30 | 2 | -0/+30 | |
| | | | | | | | | 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. | |||||
* | Added a final regression for `Ar' (won't work on old groff). | Kristaps Dzonsons | 2010-05-29 | 1 | -0/+10 | |
| | ||||||
* | 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 | 4 | -5/+72 | |
| | | | | | | | | | | 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. | |||||
* | Documented `Ud'. | Kristaps Dzonsons | 2010-05-26 | 2 | -0/+22 | |
| | | | | | | | | | | | 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 | 4 | -0/+74 | |
| | | | | | | | | | 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). | |||||
* | Forgot to add regression tests. | Kristaps Dzonsons | 2010-05-25 | 2 | -0/+35 | |
| | ||||||
* | Test .SH with only empty paragraph. Don't test .IP without body. | Joerg Sonnenberger | 2010-05-22 | 1 | -0/+3 | |
| | ||||||
* | Multiple empty .PPs don't add a vspace either | Joerg Sonnenberger | 2010-05-17 | 1 | -0/+3 | |
| | ||||||
* | Add support for .AT. Properly implement .UC. Add regress tests. | Joerg Sonnenberger | 2010-05-17 | 13 | -0/+67 | |
| | ||||||
* | Tests for sane and insane handling of lines before and after .SH/.SS | Joerg Sonnenberger | 2010-05-17 | 2 | -0/+23 | |
| | ||||||
* | Full support for ie/el. This completes the initial roff support. | Kristaps Dzonsons | 2010-05-17 | 23 | -16/+197 | |
| | | | | | Added test files for ie/el. Using `if 0' as a baseline for "false" roff instructions instead of `if t'. | |||||
* | libroff now is aware of which sub-nodes should be interpreted even in a | Kristaps Dzonsons | 2010-05-17 | 2 | -0/+33 | |
| | | | | | | | | | | conditional-negative context so as to preserve structural integrity. Initial "rules" (deny/allow) are now inherited for future work in evaluating conditionals. Lint-fix noted by Joerg. Added regression tests for zany constructs. | |||||
* | Add a test case for nesting of .RS/.RE | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+16 | |
| | ||||||
* | `ig' support in all its glory. Try | Kristaps Dzonsons | 2010-05-16 | 8 | -0/+97 | |
| | | | | | | | | | | | | | | | | | | .ig ig asdf .ig fdsa .. or .ig if asdf .if n \ foo for a laugh. It all works. Lots of regression tests supporting this and documentation for the same. | |||||
* | Add a basic regression test for .Bl -bullet and the various interactions | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+64 | |
| | | | | with .Bd. | |||||
* | Regression tests in place for `.if' in libroff. | Kristaps Dzonsons | 2010-05-16 | 8 | -0/+98 | |
| | | | | | Check against some strange `.if' constructs I missed. Added initial roff.7 manual. | |||||
* | Fully skip first and last line for the purpose of cmp. | Joerg Sonnenberger | 2010-05-16 | 1 | -3/+6 | |
| | ||||||
* | Skip first line when comparing output. | Joerg Sonnenberger | 2010-05-16 | 1 | -1/+3 | |
| | ||||||
* | mandoc should be a variable. | Kristaps Dzonsons | 2010-05-16 | 1 | -2/+2 | |
| | | | | Consensus is on using a *.in for regression tests (symmetry-broken by Ingo). | |||||
* | Remove temp files on success. | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+1 | |
| | ||||||
* | Add a basic regression testing script. | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+39 | |
| | ||||||
* | Deprecated old regression tests. | Kristaps Dzonsons | 2009-03-16 | 69 | -611/+0 | |
| | ||||||
* | Strings abstracted into dynamically-created C files. | Kristaps Dzonsons | 2009-03-06 | 1 | -1/+1 | |
| | | | | | Added -V option. Deprecated README files. | |||||
* | Added another regression test. | Kristaps Dzonsons | 2009-03-05 | 1 | -0/+8 | |
| | ||||||
* | Added argv regression tests. | Kristaps Dzonsons | 2009-03-05 | 2 | -0/+15 | |
| | | | | Table-ised argument flags in argv.c. | |||||
* | Added new old escape sequence \*[nn]. | Kristaps Dzonsons | 2009-03-02 | 2 | -0/+49 | |
| | | | | | Initial correct .Bd support (still only text in literal displays). Symbols put into tables (character-encoding). | |||||
* | Added support for dynamic -width detection for -tag lists. | Kristaps Dzonsons | 2009-02-28 | 1 | -0/+11 | |
| | ||||||
* | Added more character-escape regressions. | Kristaps Dzonsons | 2009-02-27 | 3 | -0/+68 | |
| | ||||||
* | Added character-encoding checks. | Kristaps Dzonsons | 2009-02-24 | 5 | -0/+91 | |
| | ||||||
* | Escape-sequence validation in place (for nodes). | Kristaps Dzonsons | 2009-02-24 | 6 | -1/+101 | |
| | ||||||
* | Finished proper parsing of -column macros. | Kristaps Dzonsons | 2009-01-22 | 1 | -0/+12 | |
| | ||||||
* | More list tests. | Kristaps Dzonsons | 2009-01-22 | 6 | -0/+60 | |
| | ||||||
* | More validation on prologue/first NAME section. | Kristaps Dzonsons | 2009-01-21 | 27 | -0/+98 | |
| | ||||||
* | Added regression tests (just for prologue, for now). | Kristaps Dzonsons | 2009-01-20 | 26 | -0/+99 | |
Minor fixes in parsing prologue. |