Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make "sub" for conditionals run roffnode_cleanscope() before calling | 2010-06-09 | 1 | -2/+12 | |
| | | | | down to sub-arguments. From a bug report by Ulrich Spoerlein. | ||||
* | Fixed condition of `\}' closing a conditional at the start of the line. | 2010-06-01 | 1 | -4/+2 | |
| | | | | | | | | 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. | ||||
* | Give libroff an extremely simple table-lookup instead of iterating over | 2010-05-29 | 1 | -22/+72 | |
| | | | | | each and every macro. The table keys on the first character then walks a chain. Good enough for now. | ||||
* | recognize ".if n" as true; | 2010-05-24 | 1 | -6/+17 | |
| | | | | | | nothing fancy yet, no negation, no grammer, just that one letter; from OpenBSD; "looks fine" kristaps@ | ||||
* | provide stubs to ignore .ds, .rm and .tr, | 2010-05-24 | 1 | -1/+17 | |
| | | | | | | which occur in the standard pod2man preamble; from OpenBSD; "sounds good" joerg@, "can be checked in" kristaps@ | ||||
* | Full support for ie/el. This completes the initial roff support. | 2010-05-17 | 1 | -61/+115 | |
| | | | | | Added test files for ie/el. Using `if 0' as a baseline for "false" roff instructions instead of `if t'. | ||||
* | Oops: forgot to make roff_cblock() understand the new macros. | 2010-05-17 | 1 | -2/+17 | |
| | |||||
* | libroff now intelligently throws away `am', `ami', `am1', `de', `dei', | 2010-05-17 | 1 | -14/+33 | |
| | | | | and `de1'. This is also documented in roff.7. | ||||
* | libroff now is aware of which sub-nodes should be interpreted even in a | 2010-05-17 | 1 | -81/+144 | |
| | | | | | | | | | | 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. | ||||
* | `ig' support in all its glory. Try | 2010-05-16 | 1 | -22/+125 | |
| | | | | | | | | | | | | | | | | | | .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. | ||||
* | Regression tests in place for `.if' in libroff. | 2010-05-16 | 1 | -5/+30 | |
| | | | | | Check against some strange `.if' constructs I missed. Added initial roff.7 manual. | ||||
* | Re-admit the simple case of `.ig' that works with groff's stranger invocations. | 2010-05-16 | 1 | -124/+72 | |
| | |||||
* | Support for the general case of `if', which will boil out into other | 2010-05-16 | 1 | -50/+78 | |
| | | | | | | | | constructs: single-level and multi-level blocks; nested, varied-level blocks; recalculating buffer (begin) boundaries pushed correctly into the back-ends, and so on. This will allow, once conditions are turned on, for things like `.ie n .TH FOO 1' then `.el .Dd Mdocdate'. Read it and weep. | ||||
* | Allow roff_parseln() to be re-run. | 2010-05-16 | 1 | -32/+109 | |
| | | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser). | ||||
* | Backed-out warning messages (lots). | 2010-05-15 | 1 | -4/+4 | |
| | |||||
* | The `am', `ami', `de', and holy `dei' are all being properly ignored. | 2010-05-15 | 1 | -36/+24 | |
| | |||||
* | The `ig' now supports `ig end-macro'. | 2010-05-15 | 1 | -8/+73 | |
| | | | | Initial warning/error messages in place (still experimental). | ||||
* | Pull `ig' out of -man and leave it the roff preparser. | 2010-05-15 | 1 | -11/+1 | |
| | |||||
* | Magic fix for bogus manuals making -man puke: I don't care if it's magic ↵ | 2010-05-15 | 1 | -2/+2 | |
| | | | | because roff instructions will be nixed from the underlying systems anyway. | ||||
* | Segfault fix and letting warnings slip through for now. | 2010-05-15 | 1 | -3/+5 | |
| | |||||
* | Add mandoc.h, which will eventually replace compilers' inner enum errors ↵ | 2010-05-15 | 1 | -2/+306 | |
| | | | | | | with unified ones. Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions. | ||||
* | Initial roff shim skeleton in place. | 2010-05-15 | 1 | -0/+24 | |
| | |||||
* | More file pruning. | 2008-12-15 | 1 | -1724/+0 | |
| | |||||
* | *** empty log message *** | 2008-12-12 | 1 | -3/+95 | |
| | |||||
* | Ready for looking over by people. | 2008-12-10 | 1 | -4/+4 | |
| | |||||
* | Sx to Sh anchors work. | 2008-12-10 | 1 | -4/+7 | |
| | |||||
* | Put prelude checking into asec. | 2008-12-10 | 1 | -66/+43 | |
| | |||||
* | Linted on NetBSD side. | 2008-12-10 | 1 | -17/+16 | |
| | |||||
* | Versioning up. | 2008-12-10 | 1 | -2/+4 | |
| | |||||
* | *** empty log message *** | 2008-12-10 | 1 | -6/+40 | |
| | |||||
* | *** empty log message *** | 2008-12-10 | 1 | -6/+5 | |
| | |||||
* | *** empty log message *** | 2008-12-09 | 1 | -2/+2 | |
| | |||||
* | Considerable clean-ups. | 2008-12-09 | 1 | -296/+223 | |
| | |||||
* | *** empty log message *** | 2008-12-09 | 1 | -60/+46 | |
| | |||||
* | *** empty log message *** | 2008-12-08 | 1 | -18/+31 | |
| | |||||
* | *** empty log message *** | 2008-12-08 | 1 | -17/+228 | |
| | |||||
* | Added warnings for using macros in the wrong sections. | 2008-12-08 | 1 | -26/+93 | |
| | |||||
* | *** empty log message *** | 2008-12-07 | 1 | -12/+22 | |
| | |||||
* | *** empty log message *** | 2008-12-07 | 1 | -2/+25 | |
| | |||||
* | *** empty log message *** | 2008-12-07 | 1 | -8/+9 | |
| | |||||
* | .St macros in place. | 2008-12-06 | 1 | -10/+17 | |
| | |||||
* | *** empty log message *** | 2008-12-06 | 1 | -25/+28 | |
| | |||||
* | *** empty log message *** | 2008-12-06 | 1 | -3/+11 | |
| | |||||
* | *** empty log message *** | 2008-12-06 | 1 | -78/+66 | |
| | |||||
* | *** empty log message *** | 2008-12-05 | 1 | -266/+4 | |
| | |||||
* | Nm works properly, many other changes, etc. | 2008-12-05 | 1 | -23/+90 | |
| | |||||
* | *** empty log message *** | 2008-12-05 | 1 | -2/+3 | |
| | |||||
* | *** empty log message *** | 2008-12-04 | 1 | -28/+99 | |
| | |||||
* | Moved charset recognition into the filter. | 2008-12-04 | 1 | -15/+1 | |
| | |||||
* | Character-set validation fixes. | 2008-12-04 | 1 | -2/+10 | |
| |