aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (follow)
Commit message (Expand)AuthorAgeLines
* config: add color.sixelN optionsDaniel Eklöf2024-10-23-36/+7
* sixel: default bg color is now taken from the sixel palette, not the ANSI bg colorDaniel Eklöf2024-09-05-33/+4
* term: performance: use a bitfield to track which ascii printer to useDaniel Eklöf2024-06-26-0/+11
* sixel: comment: document the P1 parameterDaniel Eklöf2024-05-22-1/+7
* sixel: don't allow pan/pad changes after sixel data has been emittedDaniel Eklöf2024-04-15-3/+23
* sixel: also set 'alloc_height', when short-cutting a resize operationDaniel Eklöf2024-04-15-2/+5
* sixel: abuse wmemset() when initializing a freshly allocated image bufferDaniel Eklöf2024-03-25-36/+76
* sixel: fix cursor positioning when image is split up into severalDaniel Eklöf2024-03-18-1/+6
* sixel: hopefully handle image height correctly when trimmingDaniel Eklöf2024-03-18-4/+16
* sixel: RA region does not affect the text cursor positionDaniel Eklöf2024-03-18-2/+84
* sixel: trim trailing, fully transparent sixel rowsDaniel Eklöf2024-03-18-11/+38
* sixel: place cursor on the last character row touched by the sixelDaniel Eklöf2024-03-18-12/+4
* sixel: disable debug loggingDaniel Eklöf2024-03-16-1/+1
* sixel: initialize the color table to colors used by the VT340Daniel Eklöf2024-03-15-3/+36
* sixel: don't try to emit a sixel if we're outside the image's boundariesDaniel Eklöf2024-03-07-0/+3
* sixel: debug: sixel image _may_ be zero-sizedDaniel Eklöf2024-03-07-1/+2
* sixel: we no longer need the extra newlineDaniel Eklöf2024-03-07-3/+2
* sixel: debug: fix logged width/height values when emitting sixelDaniel Eklöf2024-03-07-1/+1
* sixel: performance improvementsDaniel Eklöf2024-03-06-28/+60
* sixel: fix row height calculation in resize_vertically()Daniel Eklöf2024-03-06-1/+2
* Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf2024-02-06-8/+8
* sixel: erase: fix clearing of cell->attrs.cleanDaniel Eklöf2023-10-12-1/+1
* sixel: fix regression for DECGRI with a repeat count of 0CismonX2023-07-10-2/+10
* sixel: re-scale images when the cell dimensions changeDaniel Eklöf2023-06-30-71/+195
* sixel: add_ar_11(): manually unroll loopDaniel Eklöf2023-06-29-7/+18
* sixel: refactor: shorten very verbose switch case statementsDaniel Eklöf2023-06-29-53/+14
* sixel: special case parsing of images with an aspect ratio of 1:1Daniel Eklöf2023-06-29-22/+147
* sixel: assert upper pixel of last sixel maps to last image row, *or lower*Daniel Eklöf2023-06-24-0/+2
* sixel: ensure enough rows have been scrolled in, to fit the imageDaniel Eklöf2023-06-24-4/+30
* sixel: resize(): handle no size changeDaniel Eklöf2023-06-24-0/+3
* sixel: regression: linefeed count for chunked up sixel imageDaniel Eklöf2023-06-24-1/+6
* sixel: minor fixes after implementing support for non-1:1 aspect ratiosDaniel Eklöf2023-06-24-17/+29
* sixel: stop cropping images to the last non-transparent rowDaniel Eklöf2023-06-24-21/+0
* sixel: respect sixel aspect ratioDaniel Eklöf2023-06-24-14/+40
* sixel: fix cursor positioning logicDaniel Eklöf2023-06-24-20/+17
* sixel: apply background alpha when P2=0 or P2=2, and current bg color is the default bg colorDaniel Eklöf2023-05-31-4/+18
* Tag a couple variables with UNUSED, to fix warnings with clang-15Daniel Eklöf2023-02-12-1/+1
* sixel: don’t crash when sixel image exceeds current sixel max heightDaniel Eklöf2022-10-13-1/+1
* sixel: add sixel_reflow_grid()Daniel Eklöf2022-10-10-62/+66
* sixel/terminal: use the new grid and selection APIsDaniel Eklöf2022-04-25-31/+24
* sixel: revert to default state when an invalid DECGRI character is receivedDaniel Eklöf2022-02-04-0/+5
* sixel: DECGRI (repeat) with a count of 0 should emit a single sixelDaniel Eklöf2022-02-04-0/+2
* sixel: resize: truncate instead of failing, when new size exceeds max sizeDaniel Eklöf2022-02-04-13/+19
* sixel: VT state’s bg color may now be an index, rather than an actual color valueDaniel Eklöf2021-12-26-3/+18
* term: track cell color sourceDaniel Eklöf2021-11-20-1/+1
* sixel: call decsixel() directly, instead of going through sixel_put()Daniel Eklöf2021-09-05-2/+2
* sixel: avoid looking up color from palette for each sixelDaniel Eklöf2021-09-05-3/+3
* sixel: calculate default bg once, in initDaniel Eklöf2021-09-05-15/+10
* sixel: destroy(): don’t unref a NULL pixman imageDaniel Eklöf2021-07-18-2/+3
* sixel: fix crash when splitting up an image across the scrollbackDaniel Eklöf2021-06-24-12/+10
* sixel: add support for overlapping sixelsDaniel Eklöf2021-06-09-17/+222
* sixel: don’t *ever* shrink image below its SRA sizeDaniel Eklöf2021-05-16-6/+6
* sixel: don’t emit sixels that will end up covering more than the entire scrollbackDaniel Eklöf2021-05-08-2/+16
* sixel: fix assertion: image is allowed to cover the entire scrollbackDaniel Eklöf2021-05-08-1/+1
* sixel: unhook: tighten up the condition needed for us to free image data pre-maturelyDaniel Eklöf2021-04-07-5/+5
* sixel: sixel_fini(): free image dataDaniel Eklöf2021-04-07-0/+1
* sixel: fix double free caused by bad free() in sixel_colors_set()Daniel Eklöf2021-03-30-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