aboutsummaryrefslogtreecommitdiff
path: root/grid.c (follow)
Commit message (Expand)AuthorAgeLines
* sixel: re-scale images when the cell dimensions changeDaniel Eklöf2023-06-30-14/+55
* fix typosHarri Nieminen2023-03-28-1/+1
* grid_free(): allow being called with grid == NULLDaniel Eklöf2022-10-18-0/+3
* grid: resize: assert grid->cur_row is not NULL after a grid resizeDaniel Eklöf2022-10-10-0/+4
* render: delay reflow for ‘resize-delay-ms’ millisecondsDaniel Eklöf2022-10-10-0/+2
* grid: reflow: assert there aren’t any open URIs on the last rowDaniel Eklöf2022-08-29-0/+15
* grid: reflow: don’t line-wrap the last rowDaniel Eklöf2022-08-29-21/+3
* grid: when setting the new viewport, ensure it’s correctly boundedDaniel Eklöf2022-08-29-17/+11
* grid: get rid of empty row at the bottom after reflowingDaniel Eklöf2022-08-05-0/+20
* grid: reflow: require col count > 0 when skipping line truncationDaniel Eklöf2022-06-30-1/+1
* Revert "grid: invert the default value of ‘linebreak’, from false to true"Daniel Eklöf2022-06-30-11/+3
* osc: add support for OSC 133;A (prompt markers)Daniel Eklöf2022-06-16-0/+40
* grid: reflow: don’t trim trailing empty cells from logical linesDaniel Eklöf2022-06-11-0/+5
* grid: invert the default value of ‘linebreak’, from false to trueDaniel Eklöf2022-06-11-3/+11
* grid: add abs-to-sb and sb-to-abs utility functionDaniel Eklöf2022-04-25-0/+28
* grid: reflow: add TODO to detect selection on re-used rows, and cancel itDaniel Eklöf2022-02-07-0/+7
* replace gettimeofday with clock_gettimePranjal Kole2022-01-15-9/+9
* grid: reload pointers into the uri range vector after insertingDaniel Eklöf2021-12-08-2/+40
* grid: uri_range_erase(): unittest: try erasing a row without any URIsDaniel Eklöf2021-11-28-0/+4
* grid: uri_range_erase: walk the ranges backwardsDaniel Eklöf2021-11-28-5/+4
* grid: remove useless assertionDaniel Eklöf2021-11-27-1/+0
* grid: resize without reflowing: use URI range utility functionsDaniel Eklöf2021-11-27-10/+13
* grid: uri_range_{append,insert}: pass range attributes as separate parametersDaniel Eklöf2021-11-27-64/+54
* grid: snapshot: use uri range utility functionsDaniel Eklöf2021-11-27-19/+14
* grid: uri_range_ensure_size(): add the requested amount of entriesDaniel Eklöf2021-11-27-1/+1
* grid: reflow: no need to keep a uri-range-idx variableDaniel Eklöf2021-11-26-14/+10
* grid: resize without reflow: only verify URI ranges in debug buildsDaniel Eklöf2021-11-26-0/+2
* grid: bug: OSC-8 URIs were incorrectly skipped while resizing the alt screenDaniel Eklöf2021-11-26-1/+1
* osc8: replace grid_row_uri_range_add() with internal uri_range_append()Daniel Eklöf2021-11-26-151/+138
* osc8: uri ranges: use a dynamically re-sizable array instead of a tllistDaniel Eklöf2021-11-26-107/+295
* osc8: update URI ranges as we print data, *not* when the URI is closedDaniel Eklöf2021-11-25-35/+117
* grid: refactor grid_row_uri_range_erase()Daniel Eklöf2021-11-21-43/+32
* grid: row_uri_range_erase(): assume caller has checked row->extra != NULLDaniel Eklöf2021-11-21-2/+1
* grid: add grid_row_uri_range_erase()Daniel Eklöf2021-11-21-5/+151
* composed: store compose chains in a binary search treeDaniel Eklöf2021-06-24-3/+1
* grid: reflow: ‘amount’ has already been added to ‘from’Daniel Eklöf2021-06-02-1/+1
* grid: reflow: URI range start: take over ownership of URI stringDaniel Eklöf2021-06-02-1/+2
* grid: reflow: debug loggingDaniel Eklöf2021-06-02-12/+18
* grid: reflow: when determining row end coord, check *last* URI rangeDaniel Eklöf2021-06-02-1/+5
* grid: reflow: when determining row end coord, check *last* tracking pointDaniel Eklöf2021-06-02-2/+10
* grid: reflow: check the *entire* row for non-empty cellsDaniel Eklöf2021-06-02-1/+1
* grid: reflow: avoid unnecessary if-statements before chunking a rowDaniel Eklöf2021-06-02-8/+13
* grid: disable reflow timing by defaultDaniel Eklöf2021-06-02-1/+1
* grid: reflow: commentsDaniel Eklöf2021-06-02-1/+22
* grid: no need to keep the tp_col/uri_col variables aroundDaniel Eklöf2021-06-02-6/+3
* grid: fix col max calculation when row contains URI rangesDaniel Eklöf2021-06-02-1/+1
* grid: set tp/uri break flags explicitly when we know them to be trueDaniel Eklöf2021-06-02-6/+12
* grid: reflow: slightly simplified logic for end-coordinate calculationDaniel Eklöf2021-06-02-10/+8
* grid: reflow: rename _range -> rangeDaniel Eklöf2021-06-02-16/+16
* grid: reflow: remove dead codeDaniel Eklöf2021-06-02-135/+0
* grid: reflow: memcpy() chunks of cells, instead of single cell-by-cellDaniel Eklöf2021-06-02-1/+159
* grid: don’t cut multi-column chars in half when resizing the alt screenDaniel Eklöf2021-06-02-1/+5
* grid: reflow: uri-ranges: avoid looping URI ranges when reflowingDaniel Eklöf2021-05-23-54/+57
* grid: row_add_uri_range: ensure the URIs are sortedDaniel Eklöf2021-05-22-1/+7
* grid: disable timing of resize operationsDaniel Eklöf2021-05-17-1/+1
* grid: reflow: free old rows as soon as we’re done with themDaniel Eklöf2021-05-17-3/+8
* grid: reflow: don’t initialize newly allocated rowsDaniel Eklöf2021-05-17-3/+9
* grid: reflow: qsort_r() is not portableDaniel Eklöf2021-05-15-11/+15
* grid: include <stdlib.h>, for qsort_r()Daniel Eklöf2021-05-15-0/+1
* grid: reflow: always run qsort_r(), handle rows == 0 in tp_cmp() insteadDaniel Eklöf2021-05-15-7/+5
* grid: take scrollback start into account when sorting the tracking points arrayDaniel Eklöf2021-05-15-9/+29
* grid: fix 32-bit compilationDaniel Eklöf2021-05-15-2/+4
* grid: reflow: tag tracking point if-statements with likely/unlikelyDaniel Eklöf2021-05-15-5/+5
* grid: reflow: use a sorted array for tracking pointsDaniel Eklöf2021-05-15-27/+66
* grid: reflow: no need to check for combining charactersDaniel Eklöf2021-05-14-21/+10
* grid: don’t depend on wcwidth()Daniel Eklöf2021-05-14-41/+45
* term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf2021-05-14-5/+5
* grid: add compile-time define to enable timing of the reflow operationDaniel Eklöf2021-05-14-0/+17
* grid: snapshot: don’t mark all cells as dirty - copy state from source gridDaniel Eklöf2021-02-26-3/+1
* csi: remove extra ‘;’Daniel Eklöf2021-02-26-1/+1
* grid: snapshot: copy scroll damageDaniel Eklöf2021-02-26-0/+3
* grid: grid_free(): free scroll damage listDaniel Eklöf2021-02-26-0/+1
* grid: add grid_snapshot()Daniel Eklöf2021-02-26-0/+82
* grid: add grid_free()Daniel Eklöf2021-02-26-0/+14
* grid: reflow_uri_ranges(): URI end point is *inclusive*Daniel Eklöf2021-02-25-1/+1
* grid: refactor: break out allocation of ‘extra’ member to separate functionDaniel Eklöf2021-02-21-2/+7
* grid: refactor: use grid_row_add_uri_range()Daniel Eklöf2021-02-21-12/+3
* grid: add new function grid_row_add_uri_range()Daniel Eklöf2021-02-21-0/+9
* grid: resize_without_reflow: allocate ‘extra’ on-demand on ‘new’ rowsDaniel Eklöf2021-02-21-1/+2
* grid: grid_resize_without_reflow: transfer URI rangesDaniel Eklöf2021-02-21-1/+21
* grid: reflow: translate URI rangesDaniel Eklöf2021-02-21-22/+137
* grid: grid_row_free(): use grid_row_reset_extra()Daniel Eklöf2021-02-21-7/+1
* grid: enable rows to have ‘extra’ data associated with themDaniel Eklöf2021-02-21-0/+9
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-10/+10
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-1/+1
* grid: resize_without_reflow: don’t call min() on every loop iterationDaniel Eklöf2020-11-25-1/+1
* resize: don’t reflow text on alt screenDaniel Eklöf2020-11-25-9/+122
* sixel: implement reflowDaniel Eklöf2020-10-09-54/+1
* grid: reflow: re-insert sixels *after* new grid offset has been setDaniel Eklöf2020-10-09-40/+51
* grid: reflow: fix release build; ‘idx’ is only used in an assert()Daniel Eklöf2020-09-29-1/+2
* grid: reflow: handle viewport being too far down when enlarging the windowDaniel Eklöf2020-09-29-2/+17
* grid: reflow: retain scrollback positionDaniel Eklöf2020-09-29-1/+10
* grid: reflow: make sure cursor is within the visible screen areaDaniel Eklöf2020-09-10-6/+4
* grid: reflow: calculate width of composed characters correctlyDaniel Eklöf2020-09-06-4/+20
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-4/+5
* grid: reflow: don't insert <width> spacer cells for *every* empty cellDaniel Eklöf2020-08-04-7/+8
* grid: reflow: use macro print_spacer() to insert multi-column character spacersDaniel Eklöf2020-07-14-8/+11
* grid: reflow: handle multi column character spacersDaniel Eklöf2020-07-14-2/+22
* grid: reflow: always emit *all* cells of a multi-column characterDaniel Eklöf2020-07-14-1/+7
* grid: reflow: use width=1 for invalid charactersDaniel Eklöf2020-07-14-1/+1