Commit Graph

801 Commits

Author SHA1 Message Date
nick black
bf62f5ac3f
notcurses_visual.3: document what functionality requires a multimedia backend #1718 2021-06-06 00:22:30 -04:00
nick black
507d2c8d8e
v2.3.2 2021-06-03 02:29:13 -04:00
nick black
d170e6e7a2 man pages: document that only one context can be active at a time #1694 2021-06-01 17:44:34 -04:00
Nick Black
cd2b5de5fa
Panblitter ncplane_as_rgba() (#1697)
ncplane_as_rgba: genericize across blitters

ncplane_as_rgba() previously was implemented explicitly
in terms of NCBLIT_2x1. it now uses the `egcs` field of the
`blitset`. this supports NCBLIT_2x2 and NCBLIT_3x2 in
ncplane_rgba(). Closes #1490.
2021-06-01 02:25:11 -04:00
nick black
d20a4d8104
ncdirect: restore colors properly following sgr #1703 2021-05-31 20:07:10 -04:00
nick black
c4e2932c76 add ncdirect_supported_styles(), move SGR/SGR0/OC into escblock #1525 2021-05-26 18:04:29 -04:00
nick black
50693fb812
add a section on hardware cursor to notcurses_init.3 #1681 2021-05-22 23:19:58 -04:00
nick black
f2b26723c9
document notcurses_cursor_yx() #1681 2021-05-22 23:07:11 -04:00
nick black
07ea230476
notcurses.3: proper pandoc syntax for FILE* 2021-05-22 17:21:42 -04:00
nick black
6969652031
add ncinput_nomod_p() 2021-05-21 20:06:36 -04:00
nick black
739c96032d
v2.3.1 2021-05-18 04:03:27 -04:00
nick black
42f26fcb1e ncls: update to prep_image() maxy/maxx #1661 2021-05-18 03:36:27 -04:00
nick black
c42fab1564 implement ncdirectf passthroughs #1659 2021-05-16 12:58:24 -04:00
nick black
d1e7adf410 add ncdirectf api #1659 2021-05-16 12:58:24 -04:00
nick black
f91ffae773
link to new 2.3.0 video 2021-05-14 04:44:38 -04:00
nick black
167b81e856
CURSES.md: not just keyboard escape sequences 2021-05-14 03:52:51 -04:00
nick black
6fd7a4cd52
convert a few 'cell' instances to 'nccell' in docs 2021-05-14 03:51:03 -04:00
nick black
1a7c5172f4
add note about sprixel/fb relationship to NEWS.md 2021-05-14 01:45:20 -04:00
nick black
8bd73378cf
add NCSCALE_INFLATE 2021-05-12 13:07:23 -04:00
nick black
644b008671
add 2.3.0 to HISTORY.md 2021-05-09 21:10:48 -04:00
nick black
ea4c593455
v2.3.0 2021-05-09 18:54:22 -04:00
nick black
dc9db79100
v2.2.11 2021-05-08 18:25:13 -04:00
nick black
f080e1502b add ncplane_erase_region() 2021-05-08 16:57:33 -04:00
nick black
73fc4ea935
demo: change up the order a bit, moving zoo before outro 2021-05-05 05:47:33 -04:00
nick black
06e7391b89
release.sh: change both instances of the version in index.html 2021-05-05 05:20:27 -04:00
nick black
2d6bdd3b5b
v2.2.10 2021-05-05 05:18:57 -04:00
nick black
4f5a8480c0 document new option NCVISUAL_OPTION_CHILDPLANE #1603 2021-05-04 19:08:55 -04:00
nick black
1a3df54ab9
release.sh: properly mangle index.html 2021-05-04 10:42:03 -04:00
nick black
923bc40516
v2.2.9 2021-05-03 02:51:04 -04:00
nick black
c8f4df9f15 HACKING: much ncvisual documentation 2021-05-02 20:20:05 -04:00
nick black
55837bcb55
add nccell_width() to avoid calling utf8_egc_len externally 2021-05-01 20:04:26 -04:00
nick black
5947f3d4d2 experimental threaded xray #1607 2021-04-30 16:44:36 -04:00
nick black
3eb004b61d s/channels/ncchannels/g #1570 2021-04-29 01:32:08 -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
Nick Black
2c5d938cbd
Paint sprixels bottom-to-top (#1589)
* Paint sprixels in order, bottom-to-top

We don't want to have to track sprixel order whenever someone
moves an ncplane, so just keep a list growing backwards as we
pass top-to-bottom in notcurses_render_internal(). Each time
we hit a sprixel plane, splice it out of the sprixel list, and
add it to the front of our temporary list. When we hit the
bottom, stick this temporary list on the end of our existing
list (any such planes are to be deleted, which comes before
drawing). Closes #1575.

* reorder collected sprixellist; solves kitty but breaks sixel =/ #1575

* remove debugging cruft

* [rust] fix up mergedown mutability
2021-04-24 13:08:09 -04:00
nick black
e29701cac3
notcurses-tester: accept -l to enable all logging 2021-04-24 05:18:04 -04:00
nick black
5a72383cb0
reject sprixels larger than plane, add unit test #1572 2021-04-24 04:41:23 -04:00
nick black
cc73811dd4
sprixelated planes may be resized after all #1572 2021-04-24 03:46:19 -04:00
nick black
cc657bbe35
notcurses_plane(3): document sprixelated effects #1585 2021-04-24 02:38:30 -04:00
nick black
23ef5313e3
document pixel blitting vis-a-vis planes #1585 #1572 2021-04-24 02:28:23 -04:00
nick black
68db5d5df6
notcurses(3) add paragraph on visuals #1585 2021-04-23 11:22:51 -04:00
Nick Black
c8680255be
palette256 -> ncpalette #1570 (#1573)
everything prefixed with palette256 is now prefixed with ncpalette
2021-04-22 04:11:06 -04:00
nick black
f4aa419a31
add notcurses_canhalfblock()/notcurses_canquadrant() #1575 2021-04-22 00:10:55 -04:00
nick black
6c7b40debf
add stats for sprixel emissions/elisions #1563 2021-04-21 11:43:10 -04:00
nick black
df8ff1f947
update index page 2.2.6 -> 2.2.8 2021-04-19 16:09:34 -04:00
nick black
d5b58d9f58
v2.2.8 2021-04-18 13:24:24 -04:00
nick black
eefc4fb91f
v2.2.7 2021-04-18 12:34:41 -04:00
nick black
6b7195a387 document new function ncvisual_inflate() #1546 2021-04-18 01:12:28 -04:00
Nick Black
8c6cd6a630
Further work on opacity optimizations (#1549)
* [bitmap] on move, clear old OPAQUE cells #1527
* update ncvisual_blitter_geom() documentation #1547
* replace some ncvisual_blitter_geom with NCVISUAL_OPTION_VERALIGNED
* [normal] replace ncvisual_blitter_geom with NCVISUAL_OPTION_VERALIGNED
* [intro] use ncvisual_blitter_geom() correctly #1547
* ncvisual_blitter_geom: only set *blitter on success
2021-04-17 23:11:11 -04:00