summaryrefslogtreecommitdiffstats
path: root/regress
Commit message (Collapse)AuthorAgeFilesLines
* Regression made old-groff-friendly.Kristaps Dzonsons2010-06-011-2/+0
|
* Fixed condition of `\}' closing a conditional at the start of the line.Kristaps Dzonsons2010-06-011-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 Dzonsons2010-05-313-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 Dzonsons2010-05-311-0/+17
| | | | Added regression test for constrained condition.
* Add ability to interpret initial free-form lines as part of a `BlKristaps Dzonsons2010-05-313-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 Dzonsons2010-05-312-0/+36
|
* Tweak regression so it doesn't puke on the groff behaviour (allowingKristaps Dzonsons2010-05-301-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. ThisKristaps Dzonsons2010-05-304-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 listsKristaps Dzonsons2010-05-302-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 Dzonsons2010-05-291-0/+10
|
* Adding `Ar' regression for empty-prior-closing-punctuation checkin.Kristaps Dzonsons2010-05-291-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 scopeKristaps Dzonsons2010-05-294-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 Dzonsons2010-05-262-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 Dzonsons2010-05-264-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 Dzonsons2010-05-252-0/+35
|
* Test .SH with only empty paragraph. Don't test .IP without body.Joerg Sonnenberger2010-05-221-0/+3
|
* Multiple empty .PPs don't add a vspace eitherJoerg Sonnenberger2010-05-171-0/+3
|
* Add support for .AT. Properly implement .UC. Add regress tests.Joerg Sonnenberger2010-05-1713-0/+67
|
* Tests for sane and insane handling of lines before and after .SH/.SSJoerg Sonnenberger2010-05-172-0/+23
|
* Full support for ie/el. This completes the initial roff support.Kristaps Dzonsons2010-05-1723-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 aKristaps Dzonsons2010-05-172-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/.REJoerg Sonnenberger2010-05-161-0/+16
|
* `ig' support in all its glory. TryKristaps Dzonsons2010-05-168-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 interactionsJoerg Sonnenberger2010-05-161-0/+64
| | | | with .Bd.
* Regression tests in place for `.if' in libroff.Kristaps Dzonsons2010-05-168-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 Sonnenberger2010-05-161-3/+6
|
* Skip first line when comparing output.Joerg Sonnenberger2010-05-161-1/+3
|
* mandoc should be a variable.Kristaps Dzonsons2010-05-161-2/+2
| | | | Consensus is on using a *.in for regression tests (symmetry-broken by Ingo).
* Remove temp files on success.Joerg Sonnenberger2010-05-161-0/+1
|
* Add a basic regression testing script.Joerg Sonnenberger2010-05-161-0/+39
|
* Deprecated old regression tests.Kristaps Dzonsons2009-03-1669-611/+0
|
* Strings abstracted into dynamically-created C files.Kristaps Dzonsons2009-03-061-1/+1
| | | | | Added -V option. Deprecated README files.
* Added another regression test.Kristaps Dzonsons2009-03-051-0/+8
|
* Added argv regression tests.Kristaps Dzonsons2009-03-052-0/+15
| | | | Table-ised argument flags in argv.c.
* Added new old escape sequence \*[nn].Kristaps Dzonsons2009-03-022-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 Dzonsons2009-02-281-0/+11
|
* Added more character-escape regressions.Kristaps Dzonsons2009-02-273-0/+68
|
* Added character-encoding checks.Kristaps Dzonsons2009-02-245-0/+91
|
* Escape-sequence validation in place (for nodes).Kristaps Dzonsons2009-02-246-1/+101
|
* Finished proper parsing of -column macros.Kristaps Dzonsons2009-01-221-0/+12
|
* More list tests.Kristaps Dzonsons2009-01-226-0/+60
|
* More validation on prologue/first NAME section.Kristaps Dzonsons2009-01-2127-0/+98
|
* Added regression tests (just for prologue, for now).Kristaps Dzonsons2009-01-2026-0/+99
Minor fixes in parsing prologue.