aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (unfollow)
Commit message (Expand)AuthorLines
2021-04-18sixel: unhook: tighten up the condition needed for us to free image data pre-maturelyDaniel Eklöf-5/+5
2021-04-18sixel: sixel_fini(): free image dataDaniel Eklöf-0/+1
2021-04-18sixel: fix double free caused by bad free() in sixel_colors_set()Daniel Eklöf-2/+4
2021-03-28sixel: free backing buffer if final image size is zeroDaniel Eklöf-0/+5
2021-03-28sixel: initialize max_non_empty_row_no to -1, not 0Daniel Eklöf-3/+7
2021-03-16term: runtime switch between a ‘fast’ and a ‘generic’ ASCII print functionDaniel Eklöf-0/+7
2021-03-14sixel: sixel_overwrite_at_cursor(): early exit when the image list is emptyDaniel Eklöf-0/+3
2021-03-14sixel: max geometry should be max geometry, not current window sizeDaniel Eklöf-2/+2
2021-03-11sixel: implement P2=1 - transparent pixelsDaniel Eklöf-17/+36
2021-03-11sixel: decgra: set max-non-empty-row-no when resizing the imageDaniel Eklöf-0/+1
2021-03-11sixel: decgri: handle a repeat count of 0, by ignoring itDaniel Eklöf-2/+11
2021-03-11sixel: add: add sixel_add_many(), improving performance of DECGRIDaniel Eklöf-24/+27
2021-03-11sixel: add: calculate absolute row no inside the loopDaniel Eklöf-2/+3
2021-03-11sixel: add: increase data pointer instead of offsetDaniel Eklöf-3/+3
2021-03-11sixel: decgri: avoid load inside for-loopDaniel Eklöf-1/+2
2021-03-11sixel: add optimized resize_horizontally() and resize_vertically()Daniel Eklöf-2/+78
2021-03-11sixel: empty pixels in the last sixel row doesn’t contribute to the image heightDaniel Eklöf-1/+17
2021-03-11sixel: resize: width is no longer a multiple of 6Daniel Eklöf-16/+4
2021-03-11sixel: set ‘col’ outside image boundaries when we’ve reached max heightDaniel Eklöf-3/+13
2021-03-11sixel: remove ‘max_col’Daniel Eklöf-12/+3
2021-03-11sixel: adjust image height when processing ‘-’Daniel Eklöf-8/+8
2021-03-11sixel: resize: check new width/height against max geometry earlyDaniel Eklöf-9/+9
2021-03-11Revert "sixel: resize: always round up height to a multiple of 6"Daniel Eklöf-4/+6
2021-03-11sixel: add: use de-reference the term struct for each access to the backing imageDaniel Eklöf-7/+10
2021-03-11sixel: get rid of an ‘imul’ in sixel_add()Daniel Eklöf-2/+4
2021-03-11sixel: add: resize is already checking against the current max geometryDaniel Eklöf-6/+0
2021-03-11sixel: resize: don’t resize beyond the current max geometryDaniel Eklöf-0/+14
2021-03-11sixel: unhook: make sure image height is within boundsDaniel Eklöf-0/+4
2021-03-11sixel: add: simplify check for resize neededDaniel Eklöf-1/+1
2021-03-11sixel: resize: always round up height to a multiple of 6Daniel Eklöf-6/+4
2021-03-11sixel: fixup row is multiple of 6Daniel Eklöf-1/+1
2021-03-11sixel: calculate alpha when updating the paletteDaniel Eklöf-9/+6
2021-03-11sixel: pre-calculate color before calling sixel_add()Daniel Eklöf-3/+11
2021-03-11sixel: ignore invalid sixel characters in DECGRI (repeat)Daniel Eklöf-1/+11
2021-03-11sixel: avoid multiplication inside the inner sixel emitter loopDaniel Eklöf-6/+6
2021-03-11sixel: store current row position in pixels, not charactersDaniel Eklöf-6/+5
2021-03-06sixel: size provided by DECGRA does *not* limit the sixel sizeDaniel Eklöf-6/+1
2021-02-26sixel: don’t go past the bottom scroll margin when sixel scrolling is disabledDaniel Eklöf-1/+1
2021-02-26sixel: implement private mode 80 - sixel scrollingDaniel Eklöf-38/+61
2021-02-23sixel: implement private mode 8452 - cursor positioning after sixelDaniel Eklöf-2/+22
2021-02-23sixel: free private color registers on unhookDaniel Eklöf-11/+6
2021-02-23sixel: implement private mode 1070 - private color paletteDaniel Eklöf-6/+26
2021-01-21Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes-8/+9
2021-01-21sixel: current geometry: don’t exceed current window dimensionsDaniel Eklöf-1/+2
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-35/+35
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-0/+1
2021-01-14Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes-8/+9
2021-01-14sixel: current geometry: don’t exceed current window dimensionsDaniel Eklöf-1/+2
2020-12-01sixel: fix crash when an explicit sixel size had a height less than 6 pixelsDaniel Eklöf-4/+1
2020-11-23sixel: change default max size to 10000x10000Daniel Eklöf-26/+8
2020-11-23sixel: fix crash when an explicit sixel size had a height less than 6 pixelsDaniel Eklöf-4/+1
2020-11-15hsl: add our own implementations of rgb-to-hsl and hsl-to-rgbDaniel Eklöf-9/+28
2020-11-13render: improve sixel rendering performanceDaniel Eklöf-2/+13
2020-10-11sixel: reflow: drop sixels that crosses the scrollback history’s endDaniel Eklöf-0/+23
2020-10-11sixel: unhook: do overwrite *after* linefeedingDaniel Eklöf-2/+5
2020-10-11sixel: overwrite: use pixman to calculate new the sixel boundariesDaniel Eklöf-75/+74
2020-10-11sixel: ovewrite-by-rectangle: in debug builds, cross-reference against pixmanDaniel Eklöf-2/+38
2020-10-11sixel: verify scrollback consistency: new verify functionDaniel Eklöf-0/+26
2020-10-11sixel: add comments to verify_*() functionsDaniel Eklöf-0/+23
2020-10-11sixel: verify-*: don’t return anything; rely on asserts onlyDaniel Eklöf-18/+7
2020-10-11sixel: scroll up/down: early return when list is emptyDaniel Eklöf-0/+6
2020-10-11sixel: cell-size-changed: don’t verify sixels hereDaniel Eklöf-2/+0
2020-10-11sixel: unhook: look total number of sixelsDaniel Eklöf-0/+3
2020-10-11sixel: scroll-up: don’t break out early of loopDaniel Eklöf-2/+12
2020-10-11sixel: verify-list-order: add an ‘index’ variableDaniel Eklöf-0/+4
2020-10-11sixel: overwrite-by-rectangle: assert sixels don’t cross scrollback wrap-aroundDaniel Eklöf-4/+7
2020-10-11sixel: scroll: call sixel_erase() instead of sixel_destroy()Daniel Eklöf-2/+2
2020-10-11sixel: TOOD -> TODO (fixes codespell build error)Daniel Eklöf-1/+1
2020-10-11sixel: verify-no-overlap: free pixman regionsDaniel Eklöf-0/+5
2020-10-11sixel: verify-no-overlap: initialize ‘intersection’ pixman regionDaniel Eklöf-0/+1
2020-10-11sixel: unhook: only call render_refresh() onceDaniel Eklöf-2/+3
2020-10-11sixel: implement reflowDaniel Eklöf-0/+48
2020-10-11sixel: verify-sixels: check for bad list order lastDaniel Eklöf-2/+2
2020-10-11sixel: verify-no-wraparound-crossover: fix calculation of ‘end’ rowDaniel Eklöf-1/+1
2020-10-11sixel: add sixel_cell_size_changed()Daniel Eklöf-0/+24
2020-10-11sixel: debug: more fine-grained verification of sixel image listDaniel Eklöf-5/+63
2020-10-11sixel: overwrite: calculate split-up image pieces’ rows/cols from their width/heightDaniel Eklöf-8/+3
2020-10-11sixel: overwrite: remove assertsDaniel Eklöf-12/+1
2020-10-11sixel: fix sheared image when image crosses scrollback wrap-aroundDaniel Eklöf-1/+11
2020-10-11sixel: overwrite-by-rectangle expects ‘width’ to not exceed screenDaniel Eklöf-1/+2
2020-10-11sixel: fold long lineDaniel Eklöf-1/+3
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-392/+159
2020-10-09sixel: reflow: drop sixels that crosses the scrollback history’s endDaniel Eklöf-0/+23
2020-10-09sixel: unhook: do overwrite *after* linefeedingDaniel Eklöf-2/+5
2020-10-09sixel: overwrite: use pixman to calculate new the sixel boundariesDaniel Eklöf-75/+74
2020-10-09sixel: ovewrite-by-rectangle: in debug builds, cross-reference against pixmanDaniel Eklöf-2/+38
2020-10-09sixel: verify scrollback consistency: new verify functionDaniel Eklöf-0/+26
2020-10-09sixel: add comments to verify_*() functionsDaniel Eklöf-0/+23
2020-10-09sixel: verify-*: don’t return anything; rely on asserts onlyDaniel Eklöf-18/+7
2020-10-09sixel: scroll up/down: early return when list is emptyDaniel Eklöf-0/+6
2020-10-09sixel: cell-size-changed: don’t verify sixels hereDaniel Eklöf-2/+0
2020-10-09sixel: unhook: look total number of sixelsDaniel Eklöf-0/+3
2020-10-09sixel: scroll-up: don’t break out early of loopDaniel Eklöf-2/+12
2020-10-09sixel: verify-list-order: add an ‘index’ variableDaniel Eklöf-0/+4
2020-10-09sixel: overwrite-by-rectangle: assert sixels don’t cross scrollback wrap-aroundDaniel Eklöf-4/+7
2020-10-09sixel: scroll: call sixel_erase() instead of sixel_destroy()Daniel Eklöf-2/+2
2020-10-09sixel: TOOD -> TODO (fixes codespell build error)Daniel Eklöf-1/+1
2020-10-09sixel: verify-no-overlap: free pixman regionsDaniel Eklöf-0/+5
2020-10-09sixel: verify-no-overlap: initialize ‘intersection’ pixman regionDaniel Eklöf-0/+1
2020-10-09sixel: unhook: only call render_refresh() onceDaniel Eklöf-2/+3