| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | vt: no need to clear temporary utf8 buffer after printing it | Daniel Eklöf | 2019-07-01 | -1/+0 |
| | | ||||
| * | wip: use a sliding window instead of memmove() to scroll | Daniel Eklöf | 2019-07-01 | -1/+5 |
| | | | | | | Instead of memmoving a large amount of data on every scroll, use a sliding window. That is, each time we scroll, we offset origin. | |||
| * | vt: only prep logging of CSI/ESC parameters when debug logging is enabled | Daniel Eklöf | 2019-07-01 | -1/+1 |
| | | ||||
| * | terminal: prepare for floating grids | Daniel Eklöf | 2019-06-29 | -1/+1 |
| | | ||||
| * | terminal: move print_needs_wrap from grid to terminal | Daniel Eklöf | 2019-06-29 | -2/+2 |
| | | ||||
| * | terminal: move cursor from grid to terminal | Daniel Eklöf | 2019-06-29 | -10/+10 |
| | | ||||
| * | terminal: move col/row count, cell width/height and scroll region to terminal | Daniel Eklöf | 2019-06-29 | -3/+3 |
| | | ||||
| * | Rename grid_* functions to term_* | Daniel Eklöf | 2019-06-29 | -11/+11 |
| | | ||||
| * | vt: dummy implementation of of "ESC (B" (character charset) | Daniel Eklöf | 2019-06-29 | -0/+21 |
| | | ||||
| * | vt: execute: implement HT - horizontal tab | Daniel Eklöf | 2019-06-26 | -1/+13 |
| | | ||||
| * | scroll-region: don't clear damage queue when changing scroll region | Daniel Eklöf | 2019-06-25 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | Vim, for example, changes the scroll region every time you scroll a single line. Thus, resetting the damage queue is slow. This reworks the damage handling of scroll updates: * Split damage queue into two: one for scroll operations and one for update/erase operations. * Don't separate update/erase operations inside/outside the scroll region * Store the current scroll region in the scroll damage operation. This allows us to stack multiple scroll operations with different scroll regions. * When updating update/erase operations after a scroll operation, split the update/erase operations if necessary (the current scroll operation may have a scroll region different from before, thus forcing us to split existing update/erase operations. * The renderer no longer erases after a scroll. The scroll operation also adds an erase operation. This also means that erase operation are subject to adjustments by later scroll operations. | |||
| * | scrolling region: wip | Daniel Eklöf | 2019-06-23 | -3/+2 |
| | | ||||
| * | vt: wip: implement scrolling region | Daniel Eklöf | 2019-06-23 | -2/+2 |
| | | | | | | | | | | | This is largely untested, but existing scrolling code has been converted to using a terminal-global scrolling region that is defined as start-end of the scrollable region. This is compared to the old code where the scrolling region where defined in terms of marginals, counted in lines from top and from bottom. | |||
| * | csi/vt: fix logging of intermediate characters | Daniel Eklöf | 2019-06-23 | -1/+1 |
| | | ||||
| * | vt: implement reverse scrolling (terminfo 'ri') | Daniel Eklöf | 2019-06-23 | -0/+5 |
| | | | | | | This currently duplicates the code paths for DAMAGE_SCROLL; there are many similarities between the two, but also major differences... | |||
| * | vt: dummy implementation of ESC dispatch | Daniel Eklöf | 2019-06-23 | -1/+37 |
| | | ||||
| * | vt: add all (?) missing states, actions and transitions | Daniel Eklöf | 2019-06-23 | -100/+516 |
| | | ||||
| * | vt: add missing entry action for ESCAPE | Daniel Eklöf | 2019-06-22 | -1/+1 |
| | | ||||
| * | vt: add missing transition from state ESCAPE -> CSI DISPATCH | Daniel Eklöf | 2019-06-22 | -0/+1 |
| | | ||||
| * | grid: implement DAMAGE_SCROLL | Daniel Eklöf | 2019-06-21 | -2/+3 |
| | | ||||
| * | Use a 'damage' list to communicate what needs to be updated | Daniel Eklöf | 2019-06-19 | -4/+2 |
| | | | | | | | | | | | Instead of having each cell in the grid track it's own dirtiness, grid operations now append "damage" to a list. This list is consumed every time we render the grid. This allows us to special case some operations, like erase (and in the future, scroll). | |||
| * | grid: erase: memset() the entire range in one call | Daniel Eklöf | 2019-06-19 | -7/+5 |
| | | ||||
| * | wip: initial scrolling support (no scrollback though) | Daniel Eklöf | 2019-06-19 | -2/+12 |
| | | ||||
| * | wip: initial input handling | Daniel Eklöf | 2019-06-19 | -1/+13 |
| | | ||||
| * | vt: fix utf-8 bug: re-load 'current state' after processing a utf8 byte | Daniel Eklöf | 2019-06-18 | -0/+5 |
| | | ||||
| * | vt: disable the worst spamming logging | Daniel Eklöf | 2019-06-18 | -3/+4 |
| | | ||||
| * | grid: track both linear and row,col cursor | Daniel Eklöf | 2019-06-17 | -8/+6 |
| | | ||||
| * | vt: handle cursor-at-right-edge | Daniel Eklöf | 2019-06-17 | -2/+9 |
| | | | | | | | When printing to the right-most-cell, don't advance the cursor. Instead, set a flag that indicates that the *next* print should line-wrap. | |||
| * | wip: vt parsing: break out grid operating functions | Daniel Eklöf | 2019-06-17 | -9/+6 |
| | | ||||
| * | wip: vt parsing | Daniel Eklöf | 2019-06-17 | -2/+13 |
| | | ||||
| * | vt: cell now tracks attributes (bold, italic, underline etc) | Daniel Eklöf | 2019-06-16 | -2/+1 |
| | | ||||
| * | wip: vt parsing: initial csi/osc dispatching | Daniel Eklöf | 2019-06-15 | -0/+314 |
