aboutsummaryrefslogtreecommitdiff
path: root/sixel.c (unfollow)
Commit message (Expand)AuthorLines
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-1387/+335
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
2020-10-09sixel: implement reflowDaniel Eklöf-0/+48
2020-10-09sixel: verify-sixels: check for bad list order lastDaniel Eklöf-2/+2
2020-10-09sixel: verify-no-wraparound-crossover: fix calculation of ‘end’ rowDaniel Eklöf-1/+1
2020-10-09sixel: add sixel_cell_size_changed()Daniel Eklöf-0/+24
2020-10-09sixel: debug: more fine-grained verification of sixel image listDaniel Eklöf-5/+63
2020-10-09sixel: overwrite: calculate split-up image pieces’ rows/cols from their width/heightDaniel Eklöf-8/+3
2020-10-09sixel: overwrite: remove assertsDaniel Eklöf-12/+1
2020-10-09sixel: fix sheared image when image crosses scrollback wrap-aroundDaniel Eklöf-1/+11
2020-10-09sixel: overwrite-by-rectangle expects ‘width’ to not exceed screenDaniel Eklöf-1/+2
2020-10-09sixel: fold long lineDaniel Eklöf-1/+3
2020-08-23Don't use "case X ... Y:", if possible/where it makes senseDaniel Eklöf-4/+16
2020-08-23Cast printf formatter %p arguments to void*Daniel Eklöf-1/+1
2020-08-23don't use empty struct initializersDaniel Eklöf-1/+1
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-8/+9
2020-07-23sixel: remove sixel-to-be-splitted *before* splitting itDaniel Eklöf-4/+8
2020-07-23sixel: overwrite: use target sixel's height, not cell heightDaniel Eklöf-2/+2
2020-07-16sixel: verify list order: fix assertion when two sixels are on the same rowDaniel Eklöf-2/+22
2020-07-14term: rename term_formfeed() -> term_carriage_return()Daniel Eklöf-1/+1
2020-07-07sixel: overwrite_by_row: handle case where 'width' goes past end of rowDaniel Eklöf-1/+4
2020-06-29scroll: destroy scrolled out sixels before scroll is appliedDaniel Eklöf-127/+55
2020-06-29sixel: destroy all sixels when font size is decreasedDaniel Eklöf-0/+11
2020-06-28sixel: overwrite-by-rectangle: optimize: break out of loop as soon as possibleDaniel Eklöf-0/+18
2020-06-28sixel: overwrite-by-row: optimize: break out of loop as soon as possibleDaniel Eklöf-14/+24
2020-06-28sixel: overwrite: pass 'width' to sixel_overwrite_at_cursor()Daniel Eklöf-2/+2
2020-06-28sixel: insert: calculate end rows in a single statementDaniel Eklöf-8/+21
2020-06-28sixel: insert: sort sixels such that those furthest up in the scrollback is at the backDaniel Eklöf-0/+19
2020-06-28sixel: add local function sixel_insert()Daniel Eklöf-2/+8
2020-06-27sixel: split -> overwriteDaniel Eklöf-15/+15
2020-06-27term: erasing characters now splits sixels instead of deleting themDaniel Eklöf-12/+22
2020-06-27sixel: delete/split: early(ier) exit when there aren't in sixel imagesDaniel Eklöf-9/+16
2020-06-27sixel: split: make pixman instantiation genericDaniel Eklöf-34/+27
2020-06-27sixel: never generate scrollback wrapping sixel imagesDaniel Eklöf-53/+96
2020-06-27sixel: refactor handling of wrap-around delete- and split regionsDaniel Eklöf-39/+99
2020-06-27sixel: split_by_rectangle: bug: typo in boundary checkDaniel Eklöf-1/+1