Commit Graph

5076 Commits

Author SHA1 Message Date
nick black
c792b2e972
[demo] place hud down and in center 2021-05-01 18:59:31 -04:00
nick black
745cbfb41b
intro: animate following orca move, not before #1616 2021-05-01 18:43:07 -04:00
nick black
6944dd5bf8
sprixel: remove x/y fields, as we now shrink the plane to fit #1612 2021-05-01 17:37:48 -04:00
nick black
70357f7173
notcurses_init: bad signal registration is once again an error, huzzah 2021-05-01 17:35:03 -04:00
nick black
1f55d2e398
exception tests: explicitly stop context 2021-05-01 17:32:24 -04:00
nick black
fb1bc236b4
signals: improve diagnostics 2021-05-01 17:31:50 -04:00
nick black
476d180797
sixel tests: notcurses_stop() on early exit 2021-05-01 17:28:19 -04:00
nick black
eb04a7872a
[ncplayer] name the rendered plane for debug 2021-05-01 16:38:28 -04:00
nick black
ad4763127e
ncplane_reparent: destroy old empty piles #1614 2021-05-01 16:17:35 -04:00
nick black
7c53072803 [xray] clean up last sprixel plane 2021-04-30 16:44:36 -04:00
nick black
f701271c27 migrate sprixels across sprixelcaches when reparenting across piles #1608 2021-04-30 16:44:36 -04:00
nick black
b557db381a [xray] kick the living shit out of this #1607 2021-04-30 16:44:36 -04:00
nick black
d1f67dcddf [xray] kill off cancelled global 2021-04-30 16:44:36 -04:00
nick black
5e1247051f xray: more threading work #1607 2021-04-30 16:44:36 -04:00
nick black
5947f3d4d2 experimental threaded xray #1607 2021-04-30 16:44:36 -04:00
nick black
9a1499bd02 [sprixel] kill FIXME, make sprixelid_nonce atomic 2021-04-30 16:44:36 -04:00
nick black
b0a3c12f9b
drone: use new alpine edge builder, with musl-dbg #1538 2021-04-30 10:37:28 -04:00
nick black
23b966d4a3
[textplay] drop loglevel back 2021-04-30 09:40:28 -04:00
nick black
89c17b7b91
[textplay] put some flair on the leader 2021-04-30 09:39:29 -04:00
nick black
467c8d0e72
textplay: need render to a new plane 2021-04-30 09:33:29 -04:00
nick black
e21f3585dc ncplane_reparent: add some diagnostics 2021-04-30 05:38:51 -04:00
nick black
eced048de1
readme: shield for matrix chatroom 2021-04-30 03:52:06 -04:00
nick black
fceaad5183
README: add note about Pandoc stack + interrogations 2021-04-29 18:01:59 -04:00
nick black
58b8c528fc intro: base orca movement off screen width 2021-04-29 07:47:42 -04:00
nick black
7f1310f4d1 ncplane_move_yx: don't invoke sprixel_move on no movement 2021-04-29 07:47:42 -04:00
nick black
069084d435 auxvec: unite memory release in sprite_rebuild() #1440 2021-04-29 07:47:42 -04:00
nick black
a6766c3bd4 [sixel] use transparency vector + auxvecs #1440 2021-04-29 07:47:42 -04:00
nick black
effb1d4613 [sixel] get last column in wipes 2021-04-29 07:47:42 -04:00
nick black
505571e43f [sixel] implement wipe_color #1440 2021-04-29 07:47:42 -04:00
nick black
f4ff9beb50 [sixel] flip it and reverse it #1440 2021-04-29 07:47:42 -04:00
nick black
a34714ca68 implement sixel_reblit() #1440 2021-04-29 07:47:42 -04:00
nick black
fe719a6c39 [sixel] attach the sixelmap to the sprixel post-load 2021-04-29 07:47:42 -04:00
nick black
322ee8309d ncplayer: use a different plane for each file 2021-04-29 07:47:42 -04:00
nick black
9c472a5d5e free auxvectors at ncplane free time, not sixel hide time #1440 2021-04-29 07:47:42 -04:00
nick black
6ad7fcc7a9 factor out write_sixel_payload for rematerialization #1440 2021-04-29 07:47:42 -04:00
nick black
5799c92415 Third Idea: raw sixel-based sixelmap #1440 2021-04-29 07:47:42 -04:00
nick black
262550c5ea [sixel] create sixelmap for rematerialization #1440 2021-04-29 07:47:42 -04:00
nick black
eb5c9185e5 pixel: shrink BYOP to match sprixel ("crop to content") 2021-04-29 07:47:42 -04:00
nick black
03bc0163ac player: expand on misleading diagnostic 2021-04-29 07:47:42 -04:00
nick black
8cef88b251 properly bound paint_sprixel on sprixel geom #1598 2021-04-29 07:47:42 -04:00
nick black
dd4eb3e5c2 write_sixel_data: allow direct reprodution of palette #1440 2021-04-29 07:47:42 -04:00
nick black
624d6a1390 sixel: start in on sixel_update() to unify wipe+rebuild #1440 2021-04-29 07:47:42 -04:00
nick black
1442e8abd4 move rebuild's free() of auxvec into callback 2021-04-29 07:47:42 -04:00
nick black
37d64d96ec kill off sprixel_kitty_p(), hurrah 2021-04-29 07:47:42 -04:00
nick black
9c03fdcfb5 sprite_wipe: check for ANNIHILATED_TRANS and return 0 2021-04-29 07:47:42 -04:00
nick black
e05ea90760 introduce ANNIHILATED_TRANS, special-case O(1) conversion from TRANSPARENT #1587 2021-04-29 07:47:42 -04:00
nick black
3eb004b61d s/channels/ncchannels/g #1570 2021-04-29 01:32:08 -04:00
nick black
decb36a9fd
let that big bitch riiiiiiiiiiiiiiide 2021-04-28 00:11:42 -04:00
nick black
d8cc3569ac
Block some signals while writing
Writing a partial escape can easily lock up a terminal. This
is especially relevant when working with bitmaps, as they're
thousands or even millions of times longer than a typical
escape. Immediately before writing, block SIGINT, SIGQUIT, and
SIGTERM in the writing thread, and unblock them upon emerging
(at which point we'll immediately see any queued signal
get delivered). Don't block signals like SIGSEGV that would
seem indicative of actual problems. For this to actually work,
all other threads must also have the signals masked; we thus
now add them to the signal mask of notcurses_getc(), rather
than deleting them. Closes #1416.
2021-04-27 16:53:44 -04:00
nick black
e43a9955cd
channel_* functions -> ncchannel_* #1570 2021-04-27 14:10:41 -04:00