aboutsummaryrefslogtreecommitdiff
path: root/grid.c (unfollow)
Commit message (Expand)AuthorLines
2021-05-14grid: don’t depend on wcwidth()Daniel Eklöf-41/+45
2021-05-14term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf-5/+5
2021-05-14grid: add compile-time define to enable timing of the reflow operationDaniel Eklöf-0/+17
2021-02-26grid: snapshot: don’t mark all cells as dirty - copy state from source gridDaniel Eklöf-3/+1
2021-02-26csi: remove extra ‘;’Daniel Eklöf-1/+1
2021-02-26grid: snapshot: copy scroll damageDaniel Eklöf-0/+3
2021-02-26grid: grid_free(): free scroll damage listDaniel Eklöf-0/+1
2021-02-26grid: add grid_snapshot()Daniel Eklöf-0/+82
2021-02-26grid: add grid_free()Daniel Eklöf-0/+14
2021-02-25grid: reflow_uri_ranges(): URI end point is *inclusive*Daniel Eklöf-1/+1
2021-02-21grid: refactor: break out allocation of ‘extra’ member to separate functionDaniel Eklöf-2/+7
2021-02-21grid: refactor: use grid_row_add_uri_range()Daniel Eklöf-12/+3
2021-02-21grid: add new function grid_row_add_uri_range()Daniel Eklöf-0/+9
2021-02-21grid: resize_without_reflow: allocate ‘extra’ on-demand on ‘new’ rowsDaniel Eklöf-1/+2
2021-02-21grid: grid_resize_without_reflow: transfer URI rangesDaniel Eklöf-1/+21
2021-02-21grid: reflow: translate URI rangesDaniel Eklöf-22/+137
2021-02-21grid: grid_row_free(): use grid_row_reset_extra()Daniel Eklöf-7/+1
2021-02-21grid: enable rows to have ‘extra’ data associated with themDaniel Eklöf-0/+9
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-10/+10
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-1/+1
2020-11-25grid: resize_without_reflow: don’t call min() on every loop iterationDaniel Eklöf-1/+1
2020-11-25resize: don’t reflow text on alt screenDaniel Eklöf-9/+122
2020-10-11sixel: implement reflowDaniel Eklöf-54/+1
2020-10-11grid: reflow: re-insert sixels *after* new grid offset has been setDaniel Eklöf-40/+51
2020-10-11grid: reflow: fix release build; ‘idx’ is only used in an assert()Daniel Eklöf-1/+2
2020-10-11grid: reflow: handle viewport being too far down when enlarging the windowDaniel Eklöf-2/+17
2020-10-11grid: reflow: retain scrollback positionDaniel Eklöf-1/+10
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-1502/+150
2020-10-09sixel: implement reflowDaniel Eklöf-54/+1
2020-10-09grid: reflow: re-insert sixels *after* new grid offset has been setDaniel Eklöf-40/+51
2020-09-29grid: reflow: fix release build; ‘idx’ is only used in an assert()Daniel Eklöf-1/+2
2020-09-29grid: reflow: handle viewport being too far down when enlarging the windowDaniel Eklöf-2/+17
2020-09-29grid: reflow: retain scrollback positionDaniel Eklöf-1/+10
2020-09-10grid: reflow: make sure cursor is within the visible screen areaDaniel Eklöf-6/+4
2020-09-06grid: reflow: calculate width of composed characters correctlyDaniel Eklöf-4/+20
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-4/+5
2020-08-04grid: reflow: don't insert <width> spacer cells for *every* empty cellDaniel Eklöf-7/+8
2020-07-14grid: reflow: use macro print_spacer() to insert multi-column character spacersDaniel Eklöf-8/+11
2020-07-14grid: reflow: handle multi column character spacersDaniel Eklöf-2/+22
2020-07-14grid: reflow: always emit *all* cells of a multi-column characterDaniel Eklöf-1/+7
2020-07-14grid: reflow: use width=1 for invalid charactersDaniel Eklöf-1/+1
2020-07-14grid: reflow: force line-wrap if a multi-column character does not fit on current lineDaniel Eklöf-14/+1
2020-06-29reflow: ensure sixels are correctly sorted when re-insertedDaniel Eklöf-32/+62
2020-06-27grid: reflow: delete sixels that end up crossing the scrollback wrap aroundDaniel Eklöf-5/+6
2020-06-27grid: add TODO, and an assert, that sixels must not cross wrap-aroundDaniel Eklöf-0/+4
2020-05-16grid: swap_row: remove unused parameter 'initialize'Daniel Eklöf-1/+1
2020-05-03unicode-combining: store seen combining chains "globally" in the term structDaniel Eklöf-22/+1
2020-05-02unicode-combine: remove utf8proc dependencyDaniel Eklöf-4/+4
2020-05-01unicode-combining: completely remove unicode combining characters when feature is disabledDaniel Eklöf-0/+8
2020-05-01grid: reflow: copy combining charactersDaniel Eklöf-0/+9
2020-05-01grid: add per-cell combining charactersDaniel Eklöf-1/+5
2020-05-01util.h: new header file defining commonly used macrosDaniel Eklöf-2/+1
2020-04-17grid: reflow: make tracking_points array 'const'Daniel Eklöf-1/+1
2020-04-17grid: reflow: caller may now pass a list of coordinates that should be translatedDaniel Eklöf-1/+6
2020-04-17grid: reflow: generalize cursor coordinate translationDaniel Eklöf-26/+41
2020-04-17grid: reflow: remove commented out codeDaniel Eklöf-2/+0
2020-04-17grid: reflow: turn line-wrapping code into a macroDaniel Eklöf-24/+19
2020-04-17grid: reflow: don't randomly insert hard linebreaksDaniel Eklöf-0/+2
2020-04-16grid: grid_reflow() now translates cursor coordinatesDaniel Eklöf-7/+51
2020-03-13sixel: improve handling of images when reflowing the gridsDaniel Eklöf-0/+35
2020-02-25grid: grid_reflow(): may be called with old_rows/cols == new_rows/colsDaniel Eklöf-1/+1
2020-02-15render/grid: move grid reflow code to grid.cDaniel Eklöf-1/+145
2020-02-14term: convert cell 'linefeed' attribute to a row 'linebreak' propertyDaniel Eklöf-0/+1
2019-08-23grid: remove commented out codeDaniel Eklöf-6/+1
2019-08-22scrolling: optimize row access by assuming number of rows is a power of 2Daniel Eklöf-14/+23
2019-07-30render: add a 'clean' bit to each cell; only render cells that aren't cleanDaniel Eklöf-0/+2
2019-07-23grid: swap rows doesn't mark rows as dirtyDaniel Eklöf-3/+0
2019-07-10grid: swap_row: drop requirement that row indices be positiveDaniel Eklöf-2/+3
2019-07-10grid: don't pre-allocate the entire grid (with all scrollback lines)Daniel Eklöf-0/+19
2019-07-10grid: don't implement grid_swap_row() in the header fileDaniel Eklöf-78/+13
2019-07-08wip: grid is now represented as a grid, not a linear arrayDaniel Eklöf-1/+2
2019-07-07grid: add a fast path to grid_memmove()Daniel Eklöf-0/+13
2019-07-07grid: grid_memset() -> grid_memclear()Daniel Eklöf-2/+2
2019-07-03logging: disable debug logging by defaultDaniel Eklöf-1/+1
2019-07-03scrolling: initial reverse scrolling support - no scroll regionsDaniel Eklöf-10/+13
2019-07-01grid: implement a memmove-sort-of functionDaniel Eklöf-0/+33
2019-07-01wip: use a sliding window instead of memmove() to scrollDaniel Eklöf-0/+34
2019-06-29Rename grid_* functions to term_*Daniel Eklöf-303/+0
2019-06-26grid: attributes now track whether we've set a foreground/background colorDaniel Eklöf-8/+0
2019-06-26scroll: let the render erase the scrolled up regionDaniel Eklöf-25/+19
2019-06-25scroll-region: don't clear damage queue when changing scroll regionDaniel Eklöf-119/+96
2019-06-24grid: scroll reverse: hopefully done correct nowDaniel Eklöf-3/+3
2019-06-24grid: scroll: fix start/end for erase regionDaniel Eklöf-3/+4
2019-06-23scrolling region: wipDaniel Eklöf-44/+95
2019-06-23vt: wip: implement scrolling regionDaniel Eklöf-29/+21
2019-06-23vt: implement reverse scrolling (terminfo 'ri')Daniel Eklöf-21/+74
2019-06-21grid: implement DAMAGE_SCROLLDaniel Eklöf-10/+79
2019-06-19render: break up grid_render()Daniel Eklöf-1/+2
2019-06-19Use a 'damage' list to communicate what needs to be updatedDaniel Eklöf-8/+85
2019-06-19grid: erase: memset() the entire range in one callDaniel Eklöf-3/+5
2019-06-19wip: initial scrolling support (no scrollback though)Daniel Eklöf-0/+24
2019-06-19wip: initial input handlingDaniel Eklöf-30/+14
2019-06-17grid: track both linear and row,col cursorDaniel Eklöf-7/+66
2019-06-17vt: handle cursor-at-right-edgeDaniel Eklöf-0/+1
2019-06-17wip: vt parsing: break out grid operating functionsDaniel Eklöf-0/+34