aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (follow)
Commit message (Expand)AuthorAgeLines
* sixel: unhook: tighten up the condition needed for us to free image data pre-maturelyDaniel Eklöf2021-04-18-5/+5
* sixel: sixel_fini(): free image dataDaniel Eklöf2021-04-18-0/+1
* sixel: fix double free caused by bad free() in sixel_colors_set()Daniel Eklöf2021-04-18-2/+4
* sixel: free backing buffer if final image size is zeroDaniel Eklöf2021-03-28-0/+5
* sixel: initialize max_non_empty_row_no to -1, not 0Daniel Eklöf2021-03-28-3/+7
* term: runtime switch between a ‘fast’ and a ‘generic’ ASCII print functionDaniel Eklöf2021-03-16-0/+7
* sixel: sixel_overwrite_at_cursor(): early exit when the image list is emptyDaniel Eklöf2021-03-14-0/+3
* sixel: max geometry should be max geometry, not current window sizeDaniel Eklöf2021-03-14-2/+2
* sixel: implement P2=1 - transparent pixelsDaniel Eklöf2021-03-11-17/+36
* sixel: decgra: set max-non-empty-row-no when resizing the imageDaniel Eklöf2021-03-11-0/+1
* sixel: decgri: handle a repeat count of 0, by ignoring itDaniel Eklöf2021-03-11-2/+11
* sixel: add: add sixel_add_many(), improving performance of DECGRIDaniel Eklöf2021-03-11-24/+27
* sixel: add: calculate absolute row no inside the loopDaniel Eklöf2021-03-11-2/+3
* sixel: add: increase data pointer instead of offsetDaniel Eklöf2021-03-11-3/+3
* sixel: decgri: avoid load inside for-loopDaniel Eklöf2021-03-11-1/+2
* sixel: add optimized resize_horizontally() and resize_vertically()Daniel Eklöf2021-03-11-2/+78
* sixel: empty pixels in the last sixel row doesn’t contribute to the image heightDaniel Eklöf2021-03-11-1/+17
* sixel: resize: width is no longer a multiple of 6Daniel Eklöf2021-03-11-16/+4
* sixel: set ‘col’ outside image boundaries when we’ve reached max heightDaniel Eklöf2021-03-11-3/+13
* sixel: remove ‘max_col’Daniel Eklöf2021-03-11-12/+3
* sixel: adjust image height when processing ‘-’Daniel Eklöf2021-03-11-8/+8
* sixel: resize: check new width/height against max geometry earlyDaniel Eklöf2021-03-11-9/+9
* Revert "sixel: resize: always round up height to a multiple of 6"Daniel Eklöf2021-03-11-4/+6
* sixel: add: use de-reference the term struct for each access to the backing imageDaniel Eklöf2021-03-11-7/+10
* sixel: get rid of an ‘imul’ in sixel_add()Daniel Eklöf2021-03-11-2/+4
* sixel: add: resize is already checking against the current max geometryDaniel Eklöf2021-03-11-6/+0
* sixel: resize: don’t resize beyond the current max geometryDaniel Eklöf2021-03-11-0/+14
* sixel: unhook: make sure image height is within boundsDaniel Eklöf2021-03-11-0/+4
* sixel: add: simplify check for resize neededDaniel Eklöf2021-03-11-1/+1
* sixel: resize: always round up height to a multiple of 6Daniel Eklöf2021-03-11-6/+4
* sixel: fixup row is multiple of 6Daniel Eklöf2021-03-11-1/+1
* sixel: calculate alpha when updating the paletteDaniel Eklöf2021-03-11-9/+6
* sixel: pre-calculate color before calling sixel_add()Daniel Eklöf2021-03-11-3/+11
* sixel: ignore invalid sixel characters in DECGRI (repeat)Daniel Eklöf2021-03-11-1/+11
* sixel: avoid multiplication inside the inner sixel emitter loopDaniel Eklöf2021-03-11-6/+6
* sixel: store current row position in pixels, not charactersDaniel Eklöf2021-03-11-6/+5
* sixel: size provided by DECGRA does *not* limit the sixel sizeDaniel Eklöf2021-03-06-6/+1
* sixel: don’t go past the bottom scroll margin when sixel scrolling is disabledDaniel Eklöf2021-02-26-1/+1
* sixel: implement private mode 80 - sixel scrollingDaniel Eklöf2021-02-26-38/+61
* sixel: implement private mode 8452 - cursor positioning after sixelDaniel Eklöf2021-02-23-2/+22
* sixel: free private color registers on unhookDaniel Eklöf2021-02-23-11/+6
* sixel: implement private mode 1070 - private color paletteDaniel Eklöf2021-02-23-6/+26
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-35/+35
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-0/+1
* Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes2021-01-14-8/+9
* sixel: current geometry: don’t exceed current window dimensionsDaniel Eklöf2021-01-14-1/+2
* sixel: change default max size to 10000x10000Daniel Eklöf2020-11-23-26/+8
* sixel: fix crash when an explicit sixel size had a height less than 6 pixelsDaniel Eklöf2020-11-23-4/+1
* hsl: add our own implementations of rgb-to-hsl and hsl-to-rgbDaniel Eklöf2020-11-15-9/+28
* render: improve sixel rendering performanceDaniel Eklöf2020-11-13-2/+13
* sixel: reflow: drop sixels that crosses the scrollback history’s endDaniel Eklöf2020-10-09-0/+23
* sixel: unhook: do overwrite *after* linefeedingDaniel Eklöf2020-10-09-2/+5
* sixel: overwrite: use pixman to calculate new the sixel boundariesDaniel Eklöf2020-10-09-75/+74
* sixel: ovewrite-by-rectangle: in debug builds, cross-reference against pixmanDaniel Eklöf2020-10-09-2/+38
* sixel: verify scrollback consistency: new verify functionDaniel Eklöf2020-10-09-0/+26
* sixel: add comments to verify_*() functionsDaniel Eklöf2020-10-09-0/+23
* sixel: verify-*: don’t return anything; rely on asserts onlyDaniel Eklöf2020-10-09-18/+7
* sixel: scroll up/down: early return when list is emptyDaniel Eklöf2020-10-09-0/+6
* sixel: cell-size-changed: don’t verify sixels hereDaniel Eklöf2020-10-09-2/+0
* sixel: unhook: look total number of sixelsDaniel Eklöf2020-10-09-0/+3
* sixel: scroll-up: don’t break out early of loopDaniel Eklöf2020-10-09-2/+12
* sixel: verify-list-order: add an ‘index’ variableDaniel Eklöf2020-10-09-0/+4
* sixel: overwrite-by-rectangle: assert sixels don’t cross scrollback wrap-aroundDaniel Eklöf2020-10-09-4/+7
* sixel: scroll: call sixel_erase() instead of sixel_destroy()Daniel Eklöf2020-10-09-2/+2
* sixel: TOOD -> TODO (fixes codespell build error)Daniel Eklöf2020-10-09-1/+1
* sixel: verify-no-overlap: free pixman regionsDaniel Eklöf2020-10-09-0/+5
* sixel: verify-no-overlap: initialize ‘intersection’ pixman regionDaniel Eklöf2020-10-09-0/+1
* sixel: unhook: only call render_refresh() onceDaniel Eklöf2020-10-09-2/+3
* sixel: implement reflowDaniel Eklöf2020-10-09-0/+48
* sixel: verify-sixels: check for bad list order lastDaniel Eklöf2020-10-09-2/+2
* sixel: verify-no-wraparound-crossover: fix calculation of ‘end’ rowDaniel Eklöf2020-10-09-1/+1
* sixel: add sixel_cell_size_changed()Daniel Eklöf2020-10-09-0/+24
* sixel: debug: more fine-grained verification of sixel image listDaniel Eklöf2020-10-09-5/+63
* sixel: overwrite: calculate split-up image pieces’ rows/cols from their width/heightDaniel Eklöf2020-10-09-8/+3
* sixel: overwrite: remove assertsDaniel Eklöf2020-10-09-12/+1
* sixel: fix sheared image when image crosses scrollback wrap-aroundDaniel Eklöf2020-10-09-1/+11
* sixel: overwrite-by-rectangle expects ‘width’ to not exceed screenDaniel Eklöf2020-10-09-1/+2
* sixel: fold long lineDaniel Eklöf2020-10-09-1/+3
* Don't use "case X ... Y:", if possible/where it makes senseDaniel Eklöf2020-08-23-4/+16
* Cast printf formatter %p arguments to void*Daniel Eklöf2020-08-23-1/+1
* don't use empty struct initializersDaniel Eklöf2020-08-23-1/+1
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-8/+9
* sixel: remove sixel-to-be-splitted *before* splitting itDaniel Eklöf2020-07-23-4/+8
* sixel: overwrite: use target sixel's height, not cell heightDaniel Eklöf2020-07-23-2/+2
* sixel: verify list order: fix assertion when two sixels are on the same rowDaniel Eklöf2020-07-16-2/+22
* term: rename term_formfeed() -> term_carriage_return()Daniel Eklöf2020-07-14-1/+1
* sixel: overwrite_by_row: handle case where 'width' goes past end of rowDaniel Eklöf2020-07-07-1/+4
* Merge branch 'master' into sixel-performanceDaniel Eklöf2020-06-29-0/+11
|\
| * sixel: destroy all sixels when font size is decreasedDaniel Eklöf2020-06-29-0/+11
* | scroll: destroy scrolled out sixels before scroll is appliedDaniel Eklöf2020-06-29-127/+55
* | sixel: overwrite-by-rectangle: optimize: break out of loop as soon as possibleDaniel Eklöf2020-06-28-0/+18
* | sixel: overwrite-by-row: optimize: break out of loop as soon as possibleDaniel Eklöf2020-06-28-14/+24
* | sixel: overwrite: pass 'width' to sixel_overwrite_at_cursor()Daniel Eklöf2020-06-28-2/+2
* | sixel: insert: calculate end rows in a single statementDaniel Eklöf2020-06-28-8/+21
* | sixel: insert: sort sixels such that those furthest up in the scrollback is at the backDaniel Eklöf2020-06-28-0/+19
* | sixel: add local function sixel_insert()Daniel Eklöf2020-06-28-2/+8
|/
* sixel: split -> overwriteDaniel Eklöf2020-06-27-15/+15
* term: erasing characters now splits sixels instead of deleting themDaniel Eklöf2020-06-27-12/+22
* sixel: delete/split: early(ier) exit when there aren't in sixel imagesDaniel Eklöf2020-06-27-9/+16
* sixel: split: make pixman instantiation genericDaniel Eklöf2020-06-27-34/+27