Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delay opening a word state until a character is ready to be output. | Kristaps Dzonsons | 2010-06-11 | 1 | -21/+42 |
| | | | | | This paves the way for closing/reopening scope in the event that a font changes. | ||||
* | Teach -Tps to ignore backspace-encoding by using a one-char buffer and a | Kristaps Dzonsons | 2010-06-11 | 1 | -2/+31 |
| | | | | simple state machine. This paves the way for decorated text. | ||||
* | Allow open word contexts in -Tps to preserve whitespace, as whitespace | Kristaps Dzonsons | 2010-06-10 | 1 | -4/+5 |
| | | | | | apparently doesn't collapse in PostScript (surprise!). Makes output files much more compact. | ||||
* | Forgot to increment into the nil terminator. And call va_end() while | Kristaps Dzonsons | 2010-06-09 | 1 | -2/+4 |
| | | | | we're at it. | ||||
* | Have the standard manpage header and footer print on every page of -Tps | Kristaps Dzonsons | 2010-06-09 | 1 | -55/+139 |
| | | | | | | | | | | | | | | | output. This is more tricky than you may think: we can't just call the header function out-of-state (i.e., before a flushln has occured) because we'd clobber our current state. Thus, we call at the beginning and dump the output into an auxiliary buffer. For the record, I don't think there's any other clean way to do this. The only other Way That Works is to copy-aside *all* termp state, zero it, and do the necessary headf/footf. This is just as complex, as memory needs to be alloc'd and free'd per margin. Unfortunately, this prohibits page numbering (the margin is only printed once), so I'll probably end up re-writing this down the line. | ||||
* | Lint noops. Also fixed getsubopt() to be in unistd.h (noted by joerg@). | Kristaps Dzonsons | 2010-06-08 | 1 | -1/+2 |
| | |||||
* | Broke ascii_*() functions into term_ascii.c | Kristaps Dzonsons | 2010-06-08 | 1 | -1/+173 |
| | | | | Made low-level engine functions into function pointers. | ||||
* | No functionality changes: just restructuring. Deprecated | Kristaps Dzonsons | 2010-06-08 | 1 | -0/+45 |
terminal_free() in favour of ps_free() and ascii_free(). Moved ps_*() functions into term_ps.c so that they don't clutter up term.c. |