nick black
1622beeac4
ncvisual_from_rgba: align suitably for ffmpeg (64B) #1675
2021-05-22 17:28:15 -04:00
nick black
20ea3a3345
new unit test, ImageFileChildScaling #1675
2021-05-22 17:27:42 -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
08e6fefb25
rgba_trans_q: replace illegal type punning with memcpy
2021-05-21 19:09:03 -04:00
nick black
21c0d0a215
kitty: rebuild auxvector when decoding a new frame #1605
2021-05-20 04:22:28 -04:00
nick black
580fe2d660
OIIO: comment about beg{x,y} and len{x,y} #1661
2021-05-20 00:54:52 -04:00
nick black
def4f5fd17
directmode render: update outy following a scaling #1673
2021-05-20 00:54:52 -04:00
nick black
3475a9d59b
initialize blitterags leny/lenx from ncvisual
2021-05-20 00:54:52 -04:00
nick black
dc9343714d
ffmpeg: scale from computed srcleny/srclenx #1661
2021-05-20 00:54:52 -04:00
nick black
937bf98473
nctabbed: spelling (alocate -> allocate)
2021-05-20 00:54:52 -04:00
nick black
92fcbce415
support DEBVERSION in debrelease.sh
2021-05-20 00:54:52 -04:00
nick black
6a982799a3
respect leny/lenx in cell rendering #1661
2021-05-20 00:54:52 -04:00
nick black
6b2169d8ec
vizdirect: exercise the ncdirectf path
2021-05-20 00:54:52 -04:00
nick black
22e7fbf4c9
ncvgeom: explicitly set rcelly/rcellx to -1 until filled
2021-05-20 00:54:52 -04:00
nick black
a0bf28645f
unit test for visuals with partial limit + offset #1661
2021-05-20 00:54:52 -04:00
nick black
69adacf3f5
add Visual::Partial unit test for #1661
2021-05-20 00:54:52 -04:00
Sunjay Cauligi
b2523cf7dd
fix cffi build for other architectures
2021-05-19 15:56:16 -04:00
nick black
739c96032d
v2.3.1
2021-05-18 04:03:27 -04:00
nick black
ce24efaaf8
vizdirect: exercise direct render restrictions #1661
2021-05-18 03:36:27 -04:00
nick black
42f26fcb1e
ncls: update to prep_image() maxy/maxx #1661
2021-05-18 03:36:27 -04:00
nick black
0e593502d4
directmode: honor xmax/ymax when rendering images #1661
2021-05-18 03:36:27 -04:00
nick black
0b197fe19b
is_test_tty: check for /dev/tty #1668
2021-05-17 19:16:52 -04:00
nick black
a903f32cd6
Robustify detect_cursor_inversion()
...
When we're doing cursor querying, whether for detection
of inversion or just straight up localizing ourselves,
we need to talk to a real terminal, or else there's not
much point. When detecting cursor inversion, we need
move the cursor, *and have it reflected in the terminal
feedback*, which means we need write directly to the
terminal (if one exists). This requires ctermfd over
ttyfp, which we now hardcode. Fixes cursor crap when
redirected away from the terminal #1668 .
2021-05-17 19:16:52 -04:00
nick black
a7fe43654b
wrap cursor tests in is_test_tty() #1668
2021-05-17 19:16:52 -04:00
nick black
6d1b7e7571
add is_test_tty() for notcurses-tester
2021-05-17 19:16:52 -04:00
nick black
65c3aa6653
drop_signals: return 0 even if we don't own the atomic
2021-05-17 19:16:52 -04:00
nick black
d8238da8c6
if we aren't setting signal handlers, don't try to take ownership of signal atomic #1666
2021-05-16 22:03:28 -04:00
nick black
c49749a1bd
add unit tests to check cursor following render #1664
2021-05-16 18:28:06 -04:00
nick black
8df01c2ab8
beef up directmode directf tests #1664
2021-05-16 18:24:15 -04:00
nick black
f5160f5378
README: update vague 'things' link
2021-05-16 15:34:55 -04:00
nick black
8729eccf06
SprixelGeom test: validate that scale{x,y} == cdim{x,y} #1659
2021-05-16 14:04:40 -04:00
nick black
2ef759f7a9
correct ncvisual_blitset_geom() for ncdirect case #1659
2021-05-16 14:01:07 -04:00
Sunjay Cauligi
0e6f40eb4f
fix cffi build
2021-05-16 13:41:01 -04:00
nick black
94cd3b60f1
basic unit testing of ncdirectf_geom() #1659
2021-05-16 12:58:24 -04:00
nick black
445ead70da
basic unit testing of ncdirectf_geom() #1659
2021-05-16 12:58:24 -04:00
nick black
646f57312e
first pass at ncdirecf_geom() #1659
2021-05-16 12:58:24 -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
20c9ff85be
ncdirect: add nonnull attributes throughout
2021-05-16 12:58:24 -04:00
nick black
b8cdd29a63
ffmpeg_details_destroy: use av_freep, not av_frame_free() #1658
2021-05-16 08:31:58 -04:00
nick black
ec5509b9be
use av_image_alloc() in ffmpeg_resize() #1658
2021-05-16 08:14:59 -04:00
nick black
3ae7ed6ed3
fix bitmapmaximize unit test to not use standard plane #1658
2021-05-16 08:14:59 -04:00
nick black
39afbd75c4
bitmap tests: remove useless garbage
2021-05-16 08:14:59 -04:00
nick black
b9e941e51e
tester: interpret any -l as -l8
2021-05-16 08:14:59 -04:00
nick black
194c739038
add new unit test SprixelMaximize #1658
2021-05-16 08:14:59 -04:00
igo95862
935d2dbe28
python: Fix translate function.
2021-05-16 08:14:24 -04:00
igo95862
560c731e22
python: Use ncchannels instead of channel like upstream
2021-05-16 08:14:24 -04:00
igo95862
18a9872c0f
python: NcPlane_create now requires rows and collumns
2021-05-16 08:14:24 -04:00
igo95862
fb9b326e18
python: Updated examples to use new code
2021-05-16 08:14:24 -04:00