nick black
441d66a063
check LIBAVUTIL_VERSION_MAJOR against 59 for pkt_duration
7 months ago
nick black
bed402adf9
ffmpeg: use pkt_duration when it's available #2688
7 months ago
nick black
9d4c9e0083
ffmpeg: replace deprecated pkt_duration with duration #2688
7 months ago
nick black
cb1244d3d4
ffmpeg: remove call to deprecated avcodec_close()
7 months ago
Nat!
2e2cc8121c
* size_t overflow check for cell array
...
* use calloc to gain mucho speed for huge dimensions
7 months ago
nick black
fdd33449f1
ncplane_new_internal: don't check for negative rows/cols, use unsigned spec #2763
7 months ago
nick black
d0ae404152
channels_blend(): bow to clang14 -Wbitwise-instead-of-logical overlords
9 months ago
nick black
d3d7a90495
ffmpeg: remove unused frame counter
9 months ago
nick black
c19a715773
demo: use full zero initializers ( closes #2739 )
9 months ago
barracuda156
e8b4c7958a
inttypes.h needs __STDC_FORMAT_MACROS defined
1 year ago
Cameron Tenny
04470f9532
Add dependency on libavdevice when building with ffmpeg support, register in ffmpeg_init
2 years ago
Dan Bungert
8f972a3e0e
metric: fix test on armhf/glibc 2.37
...
In the metric test is a call to ncnmetric, which eventually calls
snprintf. Along the way is a size that is much larger than the actual
bufsize, but it shouldn't matter as the buffer size exceeds what we
print (or at least what is expected).
In testing with glibc 2.37 on armhf on Ubuntu Lunar, I found that these
metric tests can fail with some unexpected truncation of the values.
For example, in the following check,
```
impericize_ncmetric(0, 1, buf, 0, 1000, '\0');
CHECK(!strcmp("0.00", buf));
```
buf would actually be "0.0".
Using a more realistic buffer size produces a working result.
2 years ago
Jeroen Domburg
4332f8a249
notcurses-input: also show effective text if different from ID/utf8
2 years ago
Jeroen Domburg
243bdc31ee
Automaton creation: do not try to recurse into every single digit on numeric value when it is not needed
2 years ago
Jeroen Domburg
b0f19f9f29
Do not be lazy, make amount of max text code points into a define
2 years ago
Jeroen Domburg
3512f9e812
Fix misunderstanding in Kitty kbd proto docs
2 years ago
Jeroen Domburg
d8cb625b9a
Add 'effective utf8' field to ncinput struct. This field will contain the utf8 emitted by a key with all modifiers taken into account.
2 years ago
nick black
eac79ee680
automaton: s/thought/though/g
2 years ago
nick black
90135203e8
debug: loglevel ought be ncloglevel_e
2 years ago
nick black
d29f364f62
ncvisual_create: error-check malloc #2691
2 years ago
nick black
09f7b717ac
[ncwidth] error-check printfs #2691
2 years ago
nick black
5c34ff4735
[tests] add FamilyAbove for infinite loop found by drewt #2687
2 years ago
Drew Thoreson
f6d396e8b4
Fix infinite loop in ncplane_move_family_*
...
Fix bugs that occur when moving a plane-family up in the z-order with
ncplane_move_family_above, or down in the z-order with
ncplane_move_family_below.
2 years ago
nick black
7651cde998
workarounds for busted doctest 2.4.9 #2673
2 years ago
Christian Parpart
9f0a7bf095
Fixes DECSDM interpretation for Contour.
2 years ago
Tim Gates
ab8590d7b3
docs: Fix a few typos
...
There are small typos in:
- src/demo/fission.c
- src/tests/wide.cpp
Fixes:
- Should read `obliterated` rather than `oblitrated`.
- Should read `range` rather than `reange`.
2 years ago
Christian Parpart
d76316cc60
Add XT{PUSH,POP}COLORS support to Contour heuristic.
2 years ago
Dmitry Atamanov
7eb51cb456
Add support g/Home keys to tfman
2 years ago
Daniel Davis
142d3ab4e9
Fix tfman help msg version flag
...
Should be uppercase
2 years ago
nick black
2316c7e646
deconstify functions which write to pool
...
several functions appear to have recently been marked
as accepting a const ncplane, despite potentially writing
into that plane's egcpool. in such cases, the ncplane
argument cannot be marked constant, as indicated by
compiler warnings. all have been rectified.
2 years ago
joseLuís
c3ace47939
use const references in several fns; fix #2658
2 years ago
nick black
c8882178ed
terminate potential escape on incomplete buffer #2647
3 years ago
nick black
dcf3e10965
[sixel] drop unused auxvec_idx
3 years ago
Christian Parpart
d046b2c406
Adds ucurl heuristic to Contour terminal, similarily to how it's done on other terminals.
3 years ago
Nick Black
ec1ef7200b
use ffmpeg-free-compatible video in all tests #2631
3 years ago
nick black
8cd54b7932
[sixel] fix unit tests on big-endian machines
3 years ago
nick black
066dde8e33
[scroll_down] kill naked diagnostic
3 years ago
nick black
15f0ac2522
[render] scroll after display for sensible scrollback #2557
3 years ago
nick black
7db7b0150a
[enqueue_to_workers] only increment wq->writeto when we write #2627
3 years ago
nick black
a35d42b0e4
ncplane_scrollup: call notcurses_render() when appropriate #2557
3 years ago
nick black
184666170c
[ncplane_put] hold off on render until we've written the output #2414
3 years ago
nick black
ad76543ef1
[scrolling] call notcurses_render() from scroll_down() #2414
3 years ago
nick black
37fe78917c
[sixel_blit] typo in comment
3 years ago
nick black
10c23d6dfd
remove quantanal; it's been obsoleted
3 years ago
nick black
07b808588b
simple ncvisual_from_sixel() unit test
3 years ago
nick black
bec97315ad
[tabs] autogrow to the right to next tabstop #1233
3 years ago
nick black
3681a95b3c
[tabs] update plane+cell unit tests #1233
3 years ago
nick black
78cc44a1bf
[tabs] get all unit tests working #1233
3 years ago
nick black
21f68bf57c
[tabs] get PutcTaB unit test working #1233
3 years ago
nick black
7c8cf1e6e8
[ncplane_put] admit tab characters #1233
3 years ago