Commit Graph

8373 Commits

Author SHA1 Message Date
nick black
fb3e4b3820 [sixel] unify all context in the qstate object, factor out extract_cell_color_table() #2573 2022-01-28 03:28:27 -05:00
nick black
4aae5787de
[ncplane_scrollup_child] test for descendance, not immediate parenthood 2022-01-28 02:43:56 -05:00
nick black
46fd9317e5
notcurses-input: use getopt, no mice with -m #2579 2022-01-28 01:51:23 -05:00
nick black
47c42cf172
consider kitty keyboard events PRESS by default
Whenever we get a keyboard event while using the Kitty
keyboard protocol (used by kitty and foot), unless there
is an explicit evtype provided, assume it to be a press.
We already did this for kitty-only types, but we need do
it for all possible inputs. Closes #2578.
2022-01-28 01:42:07 -05:00
nick black
b7bab3ca6d
notcurses-input: document new -m option #2579 2022-01-27 23:44:59 -05:00
nick black
73224f03e9 mark write_sixel() inline 2022-01-26 12:09:49 -05:00
nick black
d73f89e9a1 [sixel] cut actionmap from a byte per to a bit #2573 2022-01-26 12:09:49 -05:00
nick black
1c52377e08 sixel action table #2573
For each color, for each sixel row, stash a bit
when loading the data table into the new vector
"action". If this is low upon hitting
write_sixel_payload, we can skip the color for
that sixelrow. A pretty consistent 10% win on
complex images; a negligible loss on small ones.
2022-01-26 12:09:49 -05:00
nick black
afd8a54a89 [sixel] kill unused preprocess_cell() 2022-01-26 12:09:49 -05:00
nick black
e457eeb60d [extract_color_table] work per-cell, facilitating parallelism #2573 2022-01-26 12:09:49 -05:00
nick black
b9f8f0a9c0 [sixel] use cell geometry calculated in visual layer #2575 2022-01-26 12:09:49 -05:00
nick black
1be2cf1b94 [sixel] stop tracking unused value pos 2022-01-26 12:09:49 -05:00
nick black
ffca3de583 [sixel] rmatrix is per-cell, not per-pixel 2022-01-26 12:09:49 -05:00
nick black
1dee3c9a43 [sixel] start xforming extract_color_table() to cell-based #2573 2022-01-26 12:09:49 -05:00
nick black
b629fb3315 declare preprocess_cell, our kernel for multithreaded quantization #2573 2022-01-26 12:09:49 -05:00
nick black
23bf9346b4 [sixel] throw up and reap worker threads #2573 2022-01-26 12:09:49 -05:00
Harrison Katz
3181b6c8d9 docs: fix formatting
Restores the ``` to close code block.
2022-01-26 12:08:01 -05:00
nick black
82921e2f0d
[shutdown] free the terminfo cache (and input) earlier 2022-01-24 05:08:58 -05:00
nick black
87704a3c3c
[drone] use new gentoo builder 2022-01-24 04:33:29 -05:00
nick black
7b27e508cb
drone: disable macos new python for now #2484 2022-01-23 21:53:46 -05:00
nick black
66b9e5e70f
add ncchannels_{set_}?channels(), nccell_{set_}?channels() #2571 2022-01-23 21:45:40 -05:00
nick black
4985bf1f3f
doc ncchannels_channels() and ncchannels_set_channels() 2022-01-23 21:45:06 -05:00
nick black
1af32a63a6
[plane] safe ncplane_set_channels()/ncplane_channels() 2022-01-23 21:44:39 -05:00
nick black
cb7e77eab2
document ncplane_set_[fb]channel 2022-01-23 21:24:07 -05:00
nick black
7c4c3040f4
restore nccell_set_[fb]channel #2571 2022-01-23 19:03:52 -05:00
nick black
65de20490f
[USAGE] update comment text 2022-01-23 19:00:04 -05:00
nick black
64e3444b9f
make ncchannels_set_[fb]channel safe #2571 2022-01-23 18:55:47 -05:00
nick black
c996282e05
restore ncplane_set_[fb]channel #2571 2022-01-23 18:43:15 -05:00
nick black
f842e74f20
[ncplane] restore ncplane_set_[fb]channel 2022-01-23 18:39:26 -05:00
nick black
beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571 2022-01-23 18:19:23 -05:00
nick black
24293e8d72
Revert "purge all references to nccell_{set}?_[fb]channel() #2571"
This reverts commit 4e0428dfcc.
2022-01-23 18:16:00 -05:00
nick black
860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571 2022-01-23 18:15:53 -05:00
nick black
9890346769
notcurses_plane.3: correct some signatures #2571 2022-01-23 18:06:01 -05:00
nick black
f15fcac7f9
[drone] build FFI library in debian 2022-01-23 17:53:03 -05:00
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571 2022-01-23 17:46:04 -05:00
nick black
4e0428dfcc
purge all references to nccell_{set}?_[fb]channel() #2571 2022-01-23 17:40:07 -05:00
nick black
3e8e11e7c5
[termdesc] identify Konsole by TDA of ~KDE #2556 2022-01-23 12:00:15 -05:00
nick black
514ee9892c
Merge branch 'master' of github.com:dankamongmen/notcurses 2022-01-23 09:40:30 -05:00
nick black
8d3eb96508
[termdesc] don't send OSC 4 palette queries to linux yet #2561 2022-01-23 09:40:15 -05:00
nick black
cbd5db20c7 [freebsd] don't shadow global termname() ident ugh 2022-01-21 17:59:38 -03:00
nick black
cf4d49ebae
debrelease: stop exporting false TERM 2022-01-21 13:02:06 -05:00
nick black
1cfe1360a4
[NEWS] add 3.0.6 entry 2022-01-21 12:40:38 -05:00
nick black
dc845b5dcc
v3.0.5 2022-01-21 12:39:27 -05:00
nick black
bc4bee8afc
[sixel] kill obsolete FIXME 2022-01-21 12:27:15 -05:00
nick black
a6fc8f08ee
[rasterize_core] pass margin-adjusted location to sprixel_invalidate #2546 2022-01-21 12:26:46 -05:00
nick black
89e9be0b3c
[info] use gradient based on the detected palette #2568 2022-01-21 09:26:29 -05:00
nick black
6ccd425f5d
remove obsolete comment 2022-01-21 08:55:23 -05:00
nick black
acca18b1b5
disable old python wrappers on macos for now 2022-01-21 06:02:23 -05:00
nick black
1754451cf9 [heuristics] break up apply_term_heuristics into per-term functors #2563 2022-01-21 05:46:01 -05:00
nick black
60158a19cf
ncpalette_get: can't return -1 on uint32_t erp 2022-01-21 05:32:16 -05:00