aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (unfollow)
Commit message (Expand)AuthorLines
2023-10-12sixel: erase: fix clearing of cell->attrs.cleanDaniel Eklöf-1/+1
2023-07-10sixel: fix regression for DECGRI with a repeat count of 0CismonX-2/+10
2023-06-30sixel: re-scale images when the cell dimensions changeDaniel Eklöf-71/+195
2023-06-29sixel: add_ar_11(): manually unroll loopDaniel Eklöf-7/+18
2023-06-29sixel: refactor: shorten very verbose switch case statementsDaniel Eklöf-53/+14
2023-06-29sixel: special case parsing of images with an aspect ratio of 1:1Daniel Eklöf-22/+147
2023-06-24sixel: assert upper pixel of last sixel maps to last image row, *or lower*Daniel Eklöf-0/+2
2023-06-24sixel: ensure enough rows have been scrolled in, to fit the imageDaniel Eklöf-4/+30
2023-06-24sixel: resize(): handle no size changeDaniel Eklöf-0/+3
2023-06-24sixel: regression: linefeed count for chunked up sixel imageDaniel Eklöf-1/+6
2023-06-24sixel: minor fixes after implementing support for non-1:1 aspect ratiosDaniel Eklöf-17/+29
2023-06-24sixel: stop cropping images to the last non-transparent rowDaniel Eklöf-21/+0
2023-06-24sixel: respect sixel aspect ratioDaniel Eklöf-14/+40
2023-06-24sixel: fix cursor positioning logicDaniel Eklöf-20/+17
2023-05-31sixel: apply background alpha when P2=0 or P2=2, and current bg color is the default bg colorDaniel Eklöf-4/+18
2023-02-12Tag a couple variables with UNUSED, to fix warnings with clang-15Daniel Eklöf-1/+1
2022-10-13sixel: don’t crash when sixel image exceeds current sixel max heightDaniel Eklöf-1/+1
2022-10-10sixel: add sixel_reflow_grid()Daniel Eklöf-62/+66
2022-04-25sixel/terminal: use the new grid and selection APIsDaniel Eklöf-31/+24
2022-02-04sixel: revert to default state when an invalid DECGRI character is receivedDaniel Eklöf-0/+5
2022-02-04sixel: DECGRI (repeat) with a count of 0 should emit a single sixelDaniel Eklöf-0/+2
2022-02-04sixel: resize: truncate instead of failing, when new size exceeds max sizeDaniel Eklöf-13/+19
2021-12-26sixel: VT state’s bg color may now be an index, rather than an actual color valueDaniel Eklöf-3/+18
2021-11-20term: track cell color sourceDaniel Eklöf-1/+1
2021-09-05sixel: call decsixel() directly, instead of going through sixel_put()Daniel Eklöf-2/+2
2021-09-05sixel: avoid looking up color from palette for each sixelDaniel Eklöf-3/+3
2021-09-05sixel: calculate default bg once, in initDaniel Eklöf-15/+10
2021-07-18sixel: destroy(): don’t unref a NULL pixman imageDaniel Eklöf-2/+3
2021-06-24sixel: fix crash when splitting up an image across the scrollbackDaniel Eklöf-12/+10
2021-06-09sixel: add support for overlapping sixelsDaniel Eklöf-17/+222
2021-05-16sixel: don’t *ever* shrink image below its SRA sizeDaniel Eklöf-6/+6
2021-05-08sixel: don’t emit sixels that will end up covering more than the entire scrollbackDaniel Eklöf-2/+16
2021-05-08sixel: fix assertion: image is allowed to cover the entire scrollbackDaniel Eklöf-1/+1
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-04-07sixel: unhook: tighten up the condition needed for us to free image data pre-maturelyDaniel Eklöf-5/+5
2021-04-07sixel: sixel_fini(): free image dataDaniel Eklöf-0/+1
2021-03-30sixel: 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