Commit Graph

7138 Commits

Author SHA1 Message Date
joseLuís
b2d745834c add minimal example for #2266 2021-10-13 12:00:43 +02:00
nick black
febaff364b
[BitmapSmoothMove] only WARN in test until sixel supports this #2258 2021-10-12 07:38:39 -04:00
nick black
b8a66fed12
[heuristics] GNU screen 4x never has rgb 2021-10-12 00:57:09 -04:00
nick black
b9fa29247a
[automaton] detect GNU screen + version #2261 2021-10-11 19:05:50 -04:00
nick black
2f2f75ed49
[automaton] match vt101/vt100/vt132 explicitly #2260 2021-10-11 18:37:24 -04:00
nick black
e7e6302391
[uniblocks] don't bail on bad unicode 2021-10-11 03:39:50 -04:00
nick black
ccad129fc2 smooth pixel motion #1682 2021-10-11 03:28:34 -04:00
nick black
676b92187b [tests] tighten up movement in BitmapSmoothMove #1682 2021-10-11 03:28:34 -04:00
nick black
80d968a52e sprixel_load: diagnostic on failure 2021-10-11 03:28:34 -04:00
nick black
56fffba757 [kitty] pass pixel offsets through to sprixel_load() #1682 2021-10-11 03:28:34 -04:00
nick black
9b0bf6af23 BitmapSmoothMove unit test #1682 2021-10-11 03:28:34 -04:00
nick black
8ac0791470 [smoothpixel] check that pixel offsets are within cell geometry bounds #1682 2021-10-11 03:28:34 -04:00
nick black
b42b866189 initial support for pixel offsets
Add pixel offset fields to blitterargs in the pixel
portion of the union. Check in blitter_geom that
pixel offsets are not used with cell blitting.
Prepare the new blitterargs fields. Account for pixel
offsets when calculating cell geometry #1682.
2021-10-11 03:28:34 -04:00
nick black
ba10390e1e
wcstombs -> wcsrtombs in ncplane_putwstr_yx() 2021-10-11 02:45:21 -04:00
nick black
40dacc3f4e
[DA1] restore comments about VT101, VT100, VT132 2021-10-11 00:19:39 -04:00
nick black
f44799e226
[automaton] require Sixel in DA1, unless it's snowflake alacritty #2257 2021-10-11 00:16:01 -04:00
nick black
091646dc47
name 3.0.0 2021-10-10 22:04:36 -04:00
nick black
39ccdbfcb6
[load_ncinput] send synthesized signal even when draining 2021-10-10 22:03:41 -04:00
nick black
41cf28b775
[NCPP] restore Visual::subtitle() 2021-10-10 20:49:00 -04:00
nick black
66d8eab7b7
[direct_stop] call del_curterm when not on windows 2021-10-10 18:58:08 -04:00
nick black
36e9ab510d
[direct] allocate TAM when rendering images #2254 2021-10-10 18:53:48 -04:00
nick black
a20ee4c75b
[automaton] extract older XTerm versions #2252 2021-10-10 17:25:32 -04:00
nick black
4b89bf2a1a
[automaton] match old XTerm via DA2 #2252 2021-10-10 17:25:25 -04:00
nick black
f5ec1406fe
[uniblocks] fill in background in chunk 2021-10-09 11:15:15 -04:00
nick black
368d32e337
[xterm] fix DECSDM version check for xterm before 357 #2252 2021-10-09 11:11:37 -04:00
nick black
2148bcc4f2
Revert "[nckeys] move from PUA-B to 'plane 18' #2247"
This reverts commit e83f1f5ba3.
2021-10-09 11:07:26 -04:00
nick black
e83f1f5ba3
[nckeys] move from PUA-B to 'plane 18' #2247 2021-10-09 11:06:51 -04:00
nick black
7088f4a767 [NEWS] note about DA1 feature 4 #2229 2021-10-09 09:58:28 -04:00
nick black
4df2cab5a2 [automaton] enable 256-creg sixel when DA1 advertises feature 4 #2229 2021-10-09 09:58:28 -04:00
nick black
98884e21a6 [automaton] fold down DA1 rules, extract attrs #2229 2021-10-09 09:58:28 -04:00
nick black
69c2ae3ba0 Pop keyboard stack if we crash in initialization
if we crash while detecting kitty keyboard support, we
currently don't pop the keyboard state. since we set our
desired state before detecting support, this could leave
the terminal in an invalid state. now, we initialize
kbdlevel to UINT_MAX before detection, so that in a crash,
the pop always happens. we reset it at the end of
interrogation, assuming we didn't load it from a query
response. the downside is that a terminal which doesn't
consume this sequence will get hit with it in a crash, but
we're already crashing, so who cares? leaving the terminal
in an invalid state, however, is very annoying.
2021-10-09 09:58:28 -04:00
nick black
5b5e97033d [sprixel] unite TAM allocation/resize path #2240 2021-10-09 07:50:00 -04:00
nick black
4336aec7d5 [workflows] windows: run ninja install 2021-10-09 07:50:00 -04:00
nick black
0c7a4b3ac6 [kitty] keyboard sanity across screens
A Notcurses program might shift between the regular and
alternate screen freely. At all times, we want the Kitty
keyboard protocol to be locked in. At the same time, we
always want a screen's keyboard state at the time we start
using it preserved, and restored when we're done. Thus:

start: optionally smcup, push the state, set the state, query
leave alternate: pop state, rmcup, push state, set state
enter alternate: pop state, smcup, push state, set state
done: pop state, optionally rmcup

"set state" means both XTMODKEYS and kitty set.

Closes #2249
2021-10-09 06:38:56 -04:00
nick black
afa75e6958 [workflows] build notcurses-tester on windows 2021-10-09 06:38:56 -04:00
nick black
7d82b6f067 [windows] use GetConsoleScreenBufferInfo whenever we have handles 2021-10-09 03:14:47 -04:00
nick black
bee03d5b60
[terminfo] on windows init failure, print panic diagnostic 2021-10-09 02:42:52 -04:00
nick black
685422dbab [CMake] no _FORTIFY_SOURCE on MSYS2 #2119 2021-10-09 02:38:46 -04:00
nick black
6ed6cf2038
[workflows] windows: run ninja 2021-10-09 02:12:28 -04:00
nick black
e8df81ebef
[windows] exit if we can't get ConsoleHandles #2244 2021-10-09 02:01:04 -04:00
nick black
5177773949
[workflow] windows: use ninja/ffmpeg 2021-10-09 01:01:35 -04:00
nick black
7d6fdceb6e
[internal] break API/ALLOC across headers once more to fix python 2021-10-09 00:44:11 -04:00
nick black
75d5b9ee88 [windows] ncneofetch requires compatsrc 2021-10-09 04:19:19 -04:00
nick black
624d181af4
[workflows] try reenabling ctest on windows 2021-10-09 00:16:46 -04:00
nick black
a3ceeac170
unify definitions of API/ALLOC 2021-10-09 00:15:22 -04:00
nick black
5b8f60b50b
[NEWS] mention that we support Kitty keyboard features 1, 2, and 8 2021-10-08 23:34:12 -04:00
nick black
87341111b8
[menu] ignore release events 2021-10-08 22:54:03 -04:00
nick black
e4b75f41e7
[POC] reader: always print legend 2021-10-08 20:29:57 -04:00
nick black
a85d1eebf1
[tree] ignore Release events 2021-10-08 20:24:14 -04:00
nick black
617a211581
[reel] ignore RELEASE events 2021-10-08 20:23:51 -04:00