| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | render: use cairo_rel_line_to() | Daniel Eklöf | 2019-07-16 | -2/+2 |
| | | ||||
| * | render: shorten foreground/background local variable names | Daniel Eklöf | 2019-07-16 | -21/+21 |
| | | ||||
| * | render: implement strikeout | Daniel Eklöf | 2019-07-16 | -3/+17 |
| | | ||||
| * | render: implement 'underline' | Daniel Eklöf | 2019-07-16 | -23/+41 |
| | | ||||
| * | render: implement 'dim' | Daniel Eklöf | 2019-07-16 | -49/+27 |
| | | ||||
| * | terminal: foreground/background in cell attributes are now uint32_t | Daniel Eklöf | 2019-07-16 | -13/+64 |
| | | | | | This reduces the cell size, and thus improves the cache behavour | |||
| * | render: bug: don't render cursor when hide cursor is enabled | Daniel Eklöf | 2019-07-11 | -1/+1 |
| | | ||||
| * | selection: selections can be made, and are rendered | Daniel Eklöf | 2019-07-11 | -1/+27 |
| | | | | | | | | * Start selection on mouse button down * Update selection on motion * Button release cancels selection if there were no motion after start * Renderer detects cells inside the selection and inverts their colors | |||
| * | render: reduce scrollback line count | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | | | | More than 1000 lines and we start exhibiting bad cache behavior | |||
| * | cell: we only need 4 bytes for the longest utf8 sequence | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | | | | | | We don't *have* to NULL-terminate the utf8 string. So don't. This makes the cell glyph 4 bytes exactly, which is better for alignment and cache usage. | |||
| * | grid: don't pre-allocate the entire grid (with all scrollback lines) | Daniel Eklöf | 2019-07-10 | -27/+20 |
| | | | | | | | | | | | The row array may now contain NULL pointers. This means the corresponding row hasn't yet been allocated and initialized. On a resize, we explicitly allocate the visible rows. Uninitialized rows are then allocated the first time they are referenced. | |||
| * | render: damage the *view* too, when resizing | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | ||||
| * | render: reset 'normal' grid's view correctly | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | ||||
| * | render: don't render cursor if it is not in view | Daniel Eklöf | 2019-07-10 | -18/+28 |
| | | ||||
| * | wip: initial scroll back support | Daniel Eklöf | 2019-07-09 | -6/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | Can scroll up and down, and stops when the beginning/end of history is reached. However, it probably breaks when the entire scrollback buffer has been filled - we need to detect when the view has wrapped around to the current terminal offset. The detection of when we've reached the bottom of the history is also flawed, and only works when we overshoot the bottom with at least a page. Resizing the windows while in a view most likely doesn't work. The view will not detect a wrapped around scrollback buffer. I.e. if the user has scrolled back, and is stationary at a view, but there is still output being produced. Then eventually the scrollback buffer will wrap around. In this case, the correct thing to do is make the view start following the beginning of the history. Right now it doesn't, meaning once the scrollback buffer wraps around, you'll start seeing command output... | |||
| * | render: store frame callback pointer in terminal struct | Daniel Eklöf | 2019-07-09 | -5/+6 |
| | | | | | This allows us to free it when exiting | |||
| * | cleanup | Daniel Eklöf | 2019-07-09 | -302/+1 |
| | | ||||
| * | render: copy old contents to new grids when resizing | Daniel Eklöf | 2019-07-09 | -67/+57 |
| | | | | | Eventually, we'll add text reflow here as well. | |||
| * | render: hackerman | Daniel Eklöf | 2019-07-08 | -1/+1 |
| | | ||||
| * | rgba: drop alpha channel support | Daniel Eklöf | 2019-07-08 | -19/+13 |
| | | ||||
| * | render: use CAIRO_OPERATER_SOURCE to draw glyphs | Daniel Eklöf | 2019-07-08 | -2/+0 |
| | | | | | This is *much* faster. | |||
| * | render: use doubles instead of ints | Daniel Eklöf | 2019-07-08 | -4/+4 |
| | | ||||
| * | render: use pointers to rgba foreground/background colors | Daniel Eklöf | 2019-07-08 | -11/+13 |
| | | | | | | This is faster, since we don't have to copy several large doubles when swapping the colors. | |||
| * | wip: grid is now represented as a grid, not a linear array | Daniel Eklöf | 2019-07-08 | -4/+209 |
| | | | | | | | | | | | | | The grid is now represented with an array of row *pointers*. Each row contains an array of cells (the row's columns). The main point of having row pointers is we can now move rows around almost for free. This is useful when scrolling with scroll margins for example, where we previously had to copy the lines in the margins. Now it's just a matter of swapping two pointers. | |||
| * | render: collect glyphs over *all* update damages | Daniel Eklöf | 2019-07-07 | -12/+12 |
| | | ||||
| * | render: performance: don't stack allocate glyph sequence | Daniel Eklöf | 2019-07-06 | -1/+4 |
| | | ||||
| * | render: reverse video only reverses the default background/foreground | Daniel Eklöf | 2019-07-05 | -8/+4 |
| | | ||||
| * | csi: implement reverse video | Daniel Eklöf | 2019-07-05 | -6/+13 |
| | | ||||
| * | render: fill area outside the cell grid with default bg color | Daniel Eklöf | 2019-07-05 | -2/+20 |
| | | ||||
| * | render: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE | Daniel Eklöf | 2019-07-05 | -0/+29 |
| | | ||||
| * | render: break out rendering functions to render.{c,h} | Daniel Eklöf | 2019-07-05 | -0/+532 |
