aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (unfollow)
Commit message (Expand)AuthorLines
2026-06-12sixel: fix NULL deref when using a shared palette and gamma-correct blendingDaniel Eklöf-4/+4
2026-06-12sixel: clamp pan/pad to 5Daniel Eklöf-2/+2
2026-01-28sixel: force a height of at least one sixel when explicitly resizingDaniel Eklöf-0/+3
2026-01-04shm: don't bother with xrgb surfaces, always use argbDaniel Eklöf-2/+2
2025-12-20config: add [colors-dark] and [colors-light], replacing [colors] and [colors2]Daniel Eklöf-3/+3
2025-05-03config: tweak.surface-bit-depth: add support for 16-bit surfacesDaniel Eklöf-1/+12
2025-05-01config: tweak.surface-bit-depth now defaults to 'auto'Daniel Eklöf-2/+2
2025-05-01config: tweak.surface-bit-depth now defaults to 'auto'Daniel Eklöf-2/+2
2025-03-05render: gamma-correct blendingDaniel Eklöf-16/+81
2024-10-23config: add color.sixelN optionsDaniel Eklöf-36/+7
2024-09-05sixel: default bg color is now taken from the sixel palette, not the ANSI bg colorDaniel Eklöf-33/+4
2024-06-26term: performance: use a bitfield to track which ascii printer to useDaniel Eklöf-0/+11
2024-05-22sixel: comment: document the P1 parameterDaniel Eklöf-1/+7
2024-04-15sixel: don't allow pan/pad changes after sixel data has been emittedDaniel Eklöf-3/+23
2024-04-15sixel: also set 'alloc_height', when short-cutting a resize operationDaniel Eklöf-2/+5
2024-03-25sixel: abuse wmemset() when initializing a freshly allocated image bufferDaniel Eklöf-36/+76
2024-03-18sixel: fix cursor positioning when image is split up into severalDaniel Eklöf-1/+6
2024-03-18sixel: hopefully handle image height correctly when trimmingDaniel Eklöf-4/+16
2024-03-18sixel: RA region does not affect the text cursor positionDaniel Eklöf-2/+84
2024-03-18sixel: trim trailing, fully transparent sixel rowsDaniel Eklöf-11/+38
2024-03-18sixel: place cursor on the last character row touched by the sixelDaniel Eklöf-12/+4
2024-03-16sixel: disable debug loggingDaniel Eklöf-1/+1
2024-03-15sixel: initialize the color table to colors used by the VT340Daniel Eklöf-3/+36
2024-03-07sixel: don't try to emit a sixel if we're outside the image's boundariesDaniel Eklöf-0/+3
2024-03-07sixel: debug: sixel image _may_ be zero-sizedDaniel Eklöf-1/+2
2024-03-07sixel: we no longer need the extra newlineDaniel Eklöf-3/+2
2024-03-07sixel: debug: fix logged width/height values when emitting sixelDaniel Eklöf-1/+1
2024-03-06sixel: performance improvementsDaniel Eklöf-28/+60
2024-03-06sixel: fix row height calculation in resize_vertically()Daniel Eklöf-1/+2
2024-02-06Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf-8/+8
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