aboutsummaryrefslogtreecommitdiff
path: root/grid.c (follow)
Commit message (Expand)AuthorAgeLines
* Rename various uses of "curly" in the source code with "underline"Craig Barnes2024-07-01-72/+72
* grid: merge reflow_{uri,curly}_range_start(), and reflow_{uri,curly}_range_end()Daniel Eklöf2024-06-27-41/+47
* grid: refactor: replace {uri,curly}_range_append() with range_append()Daniel Eklöf2024-06-26-49/+70
* grid: row_range_put(): use correct type in call to range_delete()Daniel Eklöf2024-06-26-1/+1
* grid: refactor: remove union range_data_for_insertionDaniel Eklöf2024-06-26-49/+25
* grid: grid_row_{uri,curly}_range_put(): share codeDaniel Eklöf2024-06-26-130/+114
* grid: reflow: handle styled underlinesDaniel Eklöf2024-06-26-38/+128
* csi: wip: styled underlinesDaniel Eklöf2024-06-26-54/+223
* grid: refactor: first step towards a more generic range handlingDaniel Eklöf2024-06-26-68/+95
* xmalloc: add xmemdup() and use to replace some uses of xmalloc+memcpyCraig Barnes2024-03-17-4/+2
* Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf2024-02-06-16/+16
* grid: resize with reflow: reflow FTCS_COMMAND_{EXECUTED,FINISHED}Daniel Eklöf2024-02-06-27/+29
* grid: resize without reflow: truncate shell_integration.cmd_{start,end}Daniel Eklöf2024-02-06-1/+3
* osc: store column of FTCS_COMMAND_{EXECUTED,FINISHED} in row structDaniel Eklöf2024-02-06-0/+4
* term: move row->prompt_marker into new struct, row->shell_integrationDaniel Eklöf2024-02-06-5/+5
* Codespell fixesDaniel Eklöf2023-10-03-2/+2
* 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