Commit Graph

2952 Commits

Author SHA1 Message Date
nick black
430e328df6
[query_sixel] tighten sixel check state machine #1523 2021-04-12 02:03:17 -04:00
nick black
96ca5e79cb
xray: use alpha channel for sprixel 2021-04-12 01:12:37 -04:00
nick black
2e254d29e0
ncvisual_blitset_geom: fix unknown flag diagnostic 2021-04-12 00:53:42 -04:00
nick black
f8f2784a22
[alacritty] did they disable XTSMGRAPHICS again? wtf? 2021-04-10 13:39:29 -04:00
nick black
fada4148b5 [ncplayer] add -a option for alpha channel #1518 2021-04-10 12:02:58 -04:00
nick black
76241f81d2 [rust] adapt pixel-cell.rs 2021-04-10 12:02:58 -04:00
nick black
34bcbb505b [xray] put streaming plane back above scrolling #1518 2021-04-10 12:02:58 -04:00
nick black
bac7d634d9 [visual] pipe transcolor through, use it everywhere #1518 2021-04-10 12:02:58 -04:00
nick black
0c566cd74a [ncvisual] pipe transcolor through #1518 2021-04-10 12:02:58 -04:00
nick black
ff76dba6ed
cell_strdup -> nccell_strdup 2021-04-10 09:21:52 -04:00
nick black
d504e972cc
cell_release -> nccell_release 2021-04-10 09:09:56 -04:00
nick black
9dbcef9969
stop exporting lookup_blitset()
the media code that makes up non-core libnotcurses called
into lookup_rgba(). instead, have them use the new
funtion ncvisual_blitter_geom() to access the actual blitter
being used. we can then hide lookup_blitset(), which ought
never have been exported. closes #1519.
2021-04-10 08:56:59 -04:00
nick black
d4fff6a921
check wcwidth('⣿') for braille support 2021-04-10 07:56:56 -04:00
nick black
1f67f540e6
[stacking] guard tests for quadrants 2021-04-10 06:58:08 -04:00
nick black
1720457467
[rotate] fix unit tests for odd number of columns 2021-04-10 06:52:39 -04:00
nick black
17a27427ec
[visual] guard quadblitter tests with check 2021-04-10 06:37:05 -04:00
nick black
7488a84121
[xray] bring slider plane to top #1518 2021-04-10 06:23:48 -04:00
nick black
80d93fdfb6
disable quadrants except where whitelisted #1517
Require a known-good TERM heuristic match to enable
quadrants (NCBLIT_2x2); they otherwise decay to halves
(NCBLIT_2x1). The only terminal that supports quadrants
but does not support sextants is the Linux console, where
we program quadrants directly into the font table,
like a beast. Closes #1517, and #1298 if we're lucky.
2021-04-10 05:12:45 -04:00
nick black
62242f0e41 [terminfo] add alacritty hack for sixel #1430 2021-04-10 04:41:14 -04:00
nick black
53894caccb add ncdirect_stream #1346 2021-04-10 04:41:14 -04:00
Nick Black
04b1ba8ed2
Dankamongmen/unify geom (#1514)
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
2021-04-10 04:04:02 -04:00
nick black
35e44d81c5
caps-rendered: differentiate sixel v kitty 2021-04-10 00:48:24 -04:00
nick black
1f33ada62e
[cffi] update for ncplane_as_rgba() 2021-04-10 00:47:03 -04:00
nick black
582bdebbc3
lol remove notcurses_debug() from notcurses_render() 2021-04-10 00:39:07 -04:00
nick black
f294c6bb0b
add ncplane_pixelgeom() #1507 2021-04-10 00:34:38 -04:00
nick black
d153ccb8f4
[ncvisual] properly size created plane
if we go into ncvisual_render() looking to render a number
of rows not evenly divisible by the scaling factor, we need
to get an extra row (duh). correct ncvisual_render_cell() to
reflect this. the blitters already know to fill this line in
with transparency wherever the image is not defined. fix up
rotation unit tests to reflect this. closes #1513.
2021-04-09 23:27:06 -04:00
nick black
94839c2958
[ncdirect_stream] kill unused variable warnings 2021-04-09 18:08:23 -04:00
nick black
05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508 2021-04-08 04:12:11 -04:00
nick black
694a0c133f
[terminfo] only interrogate for sixel when pixel geometry is defined #1511 #1506 2021-04-08 01:15:18 -04:00
nick black
217453780e
[terminfo] remove alacritty hacks #1506 #1430 2021-04-08 01:06:38 -04:00
nick black
b1baa5e88a
[demo] print that we're checking for pixel support #1506 2021-04-08 00:55:25 -04:00
nick black
cc3cddf40b
[sprixel] don't yet enable sixel on alacritty 2021-04-07 19:53:14 -04:00
nick black
0febe3428f
[sprixels] simplify query_sixel() 2021-04-07 18:47:20 -04:00
nick black
9dad70568b
[plot] drop inline from update_sample 2021-04-07 12:29:00 -04:00
joseLuís
fce6c6873f fix typos 2021-04-07 15:00:48 +02:00
nick black
8db054ede7
kill off get_controlling_tty in favor of get_tty_fd #1504 2021-04-04 16:42:19 -04:00
nick black
7865539505
query_sixel: support alacritty's ugh decisions #1430 2021-04-04 05:37:19 -04:00
nick black
0c2e3d6e35
[sixel] make some sixeltable args const 2021-04-04 05:29:19 -04:00
Nick Black
7e78690597
[bitmaps] new unit test LoadVideoPixelScaleDifferentPlanes (#1502) 2021-04-04 05:19:36 -04:00
nick black
7c35d94a9b
paint: referene crender, not rvec #1482 2021-04-04 04:18:09 -04:00
nick black
0dbd3cf830
ncvisual_render_pixels: hide any old sprixels 2021-04-04 04:17:34 -04:00
nick black
2f47d9adef
[bitmaps] new unit test LoadVideoPixelScaleDifferentPlanes 2021-04-04 04:16:55 -04:00
nick black
656b3221af
refresh: initialize with init_rvec, not memset() 2021-04-04 00:07:18 -04:00
nick black
123447183c
[jungle] fix invalid access on some window geometries 2021-04-03 21:35:54 -04:00
nick black
3d3d235abb
[xray] update frame count for new video 2021-04-03 21:21:21 -04:00
nick black
998ebf8254
[ncplayer] meaningless timespec dealloc 2021-04-03 21:13:36 -04:00
nick black
ee2f150058
[sprixels] move destruction into free_plane() from ncplane_destroy() 2021-04-03 21:03:25 -04:00
nick black
16b7910b57
[sprixels] plug two memory leaks 2021-04-03 17:54:09 -04:00
nick black
94b073dd3d
ncvisual_render_pixels: zorch reuse on either invalid ncv or n sprixel 2021-04-02 10:35:11 -04:00
nick black
cbd92e5180
sprixel_recycle: use the valid sprixel link 2021-04-02 10:33:34 -04:00