Alex Samuel
e1d2b8bbf6
[py] Fix function signatures.
2022-02-06 22:19:38 -05:00
Alex Samuel
0efeb4e28f
[py] Get the input tester to work.
2022-02-06 22:19:38 -05:00
Alex Samuel
87ffd4c160
[py] Implement Notcurses.get_blocking() and Notcurses.get_nblock().
2022-02-06 22:19:38 -05:00
Alex Samuel
ed2a459b6f
[py] Add NcInput type.
2022-02-06 22:19:38 -05:00
Alex Samuel
9d648e9457
Don't use ul masks for unsigneds.
2022-02-06 22:19:09 -05:00
nick black
9c080ba153
[sixel] don't duplicate calls to write_rle() #2537
2022-02-05 04:54:52 -05:00
nick black
2ff212446d
[sixel] wipe fix for cell heights not multiples of 6
2022-02-05 04:04:42 -05:00
nick black
0624112050
[sixel] wiping now works perfectly #2573
2022-02-04 10:50:00 -05:00
nick black
776dbff79d
[sixels] factor out write_rle()
2022-02-04 10:50:00 -05:00
nick black
aad1aba832
[sixel] fix last band
2022-02-04 10:50:00 -05:00
nick black
470304919e
[sixel] kill memory leak in bandbuilder
2022-02-04 10:50:00 -05:00
nick black
1f316470e1
[sixels] simplify build_sixel_band()
2022-02-04 10:50:00 -05:00
nick black
6777c93f8a
[sixel] take a stab at sixel_wipe()
2022-02-04 10:50:00 -05:00
nick black
85dc76c465
[sixel] wipe_band()
2022-02-04 10:50:00 -05:00
nick black
254b0bcf36
[sixel] logpanic on internal error
2022-02-04 10:50:00 -05:00
nick black
51f16ecc57
[sixel] replace constant vfprintf()s with direct writes #2573
2022-02-04 10:50:00 -05:00
nick black
f96713d18f
[sixel] sparse band extension #2573
2022-02-04 10:50:00 -05:00
nick black
abbf36304d
[sixel] sparse data table + gather encoding #2573
2022-02-04 10:50:00 -05:00
Alex Samuel
008fb80a5b
Use the right code for unsigned int.
2022-02-04 10:47:36 -05:00
nick black
8c1ec8a835
[termdesc] initialize kittykbd to 0 in initctx
2022-02-02 06:32:01 -05:00
nick black
39ca67699a
[release] invoke tools/generate_ffi.py #2591
2022-02-02 02:01:51 -05:00
nick black
3e94ac02f2
update FFI #2591
2022-02-02 01:59:40 -05:00
nick black
f95e21ebd2
[demo] only reject NCTYPE_RELEASE for non-mouse events #2582
2022-02-01 18:39:42 -05:00
nick black
706c887200
[ncsixel_as_rgba] interpret sixel RLE of 0 as 1
2022-02-01 18:26:57 -05:00
nick black
779386abe1
send no DECSDM to unknown terminals #2587
2022-01-30 12:54:01 -05:00
nick black
e261023321
[sixel] absorb write_sixel() into sixel_blit_inner() #2573
2022-01-29 20:18:32 -05:00
nick black
5990c6921c
[sixel] don't write payload on initial blit, wait for sixel_reblit #2573
2022-01-29 20:18:32 -05:00
nick black
475b18bd26
[sixel_reblit] use new fbuf_chop to avoid copies #2573
2022-01-29 20:18:32 -05:00
nick black
91183e6044
[sixel] move ctable to qstate so it's immediately free()d #2573
2022-01-29 20:18:32 -05:00
nick black
601a87eb04
[sixel] tighten up arguments using qs #2573
2022-01-29 20:18:32 -05:00
nick black
2f4a13157b
[sixel] tighten up build_data_table, prep for interleave #2573
2022-01-29 20:18:32 -05:00
nick black
3806a08b4d
[sixel] don't examine sixel overhead for rgb data #2585
2022-01-29 14:38:10 -05:00
nick black
129546f294
[sixel] further simplify extract_cell_color_table()
2022-01-28 03:28:27 -05:00
nick black
44bc265565
[sixel] streamline extract core
2022-01-28 03:28:27 -05:00
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