8557 Commits

Author SHA1 Message Date
nick black
bed402adf9
ffmpeg: use pkt_duration when it's available #2688 2024-03-08 02:33:08 -05:00
nick black
9d4c9e0083
ffmpeg: replace deprecated pkt_duration with duration #2688 2024-03-07 23:57:55 -05:00
nick black
fb7b132551
CMake: don't run rgbbg unless we built it 2024-03-02 21:17:43 -05:00
nick black
d88f40b836
CMake: USE_CXX oughtn't restrict NOTCURSES_HEADERS 2024-03-01 08:13:49 -05:00
nick black
cb1244d3d4
ffmpeg: remove call to deprecated avcodec_close() 2024-03-01 07:57:44 -05:00
Nat!
2e2cc8121c * size_t overflow check for cell array
* use calloc to gain mucho speed for huge dimensions
2024-03-01 07:23:34 -05:00
Nat!
ded1195977 * remove cpp headers and other c++ support file from installation if USE_CXX is not set 2024-02-29 01:30:44 +01:00
nick black
fdd33449f1
ncplane_new_internal: don't check for negative rows/cols, use unsigned spec #2763 2024-02-27 17:31:33 -05:00
nick black
43c81ed944
update COPYRIGHT blergh 2024-02-13 05:49:35 -05:00
nick black
4ad0236a6e
usage: provide updated ncchannels_reverse() definition (#2757) 2024-02-12 07:53:15 -05:00
nick black
051a1b8bbd
[c++] Plane.hh: fix set_bg_rgb8() #2748 2024-01-31 00:19:58 -05:00
nick black
d0ae404152
channels_blend(): bow to clang14 -Wbitwise-instead-of-logical overlords 2024-01-09 22:14:49 -05:00
nick black
a2674d98ee
kill comment obsoleted by a66c1e95f80d184b87d212c9939a787f88dd36e3 2024-01-09 22:14:14 -05:00
nick black
d3d7a90495
ffmpeg: remove unused frame counter 2024-01-09 22:13:58 -05:00
Tobias Wood
d9cc551f5a
Fix a bitwise instead of logical warning 2024-01-09 22:13:11 -05:00
nick black
c19a715773
demo: use full zero initializers (closes #2739) 2023-12-19 22:17:48 -05:00
Tobias Wood
481fa39678 Added find_path for unigbrk.h 2023-11-15 22:55:11 -05:00
barracuda156
e8b4c7958a inttypes.h needs __STDC_FORMAT_MACROS defined 2023-08-06 04:37:48 -04:00
Dheepak Krishnamurthy
442cfea046 Update README.md to include link to Julia bindings 2023-04-22 00:46:12 -04:00
nick black
dd31ba729a
notcurses_capabilities.3: formatting 2023-04-19 17:00:21 -04:00
nick black
0ac1251435
notcurses_capabilities.3: typo 2023-04-19 16:58:51 -04:00
nick black
c81a55fa29
TERMINALS.md: recommented? 2023-04-13 06:01:46 -04:00
Dheepak Krishnamurthy
32eba71d31 Fix typo in notcurses.h 2023-04-11 17:56:25 -04:00
Michael Bradley, Jr
5d6f7abde9 use correct codepoints for NCCHESSWHITE 2023-04-04 13:15:31 -04:00
nick black
bb4a5d09ac
remove deps rendered unnecessary by libavdevice-dev 2023-03-28 21:41:58 -04:00
Cameron Tenny
356c60a6ed Update builders for libavdevice, pkg-config; add note about ffmpeg device support 2023-03-28 21:40:02 -04:00
Cameron Tenny
04470f9532 Add dependency on libavdevice when building with ffmpeg support, register in ffmpeg_init 2023-03-28 21:40:02 -04:00
nick black
fd4b2d9db7
notcurses.h: remove duplicate definition of notcurses_stdplane{_const} #2710 2023-03-21 00:09:06 -04:00
nick black
3c7dcd951e
add link to michael s. bradley jr.'s nim wrapper #2708 2023-03-04 20:21:05 -05:00
nick black
0f4cca9c55
check outstanding kernel patch into doc/ so it's not forgotten 2023-02-25 16:17:29 -05:00
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.
2023-02-22 23:05:47 -05:00
nick black
2f4fb5514b
notcurses_output: properly escape tab and newline 2023-02-20 04:35:06 -05:00
nick black
29a5dc2295
use _FORTIFY_SOURCE level 3 #2703 2023-02-07 02:56:34 -05:00
Michael Bradley, Jr
0f64dbb24b [wip] move to OpenImageIO's CMake support 2023-01-23 17:16:19 -05:00
Michael Bradley, Jr
cf9a4ccdfc [workflows] delete ilmbase dependency in windows workflow
`ilmbase` is no longer offered:
* https://github.com/msys2/MINGW-packages/pull/12871#issuecomment-1235816186
* https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-ilmbase
2023-01-23 17:16:19 -05:00
Jeroen Domburg
4332f8a249 notcurses-input: also show effective text if different from ID/utf8 2023-01-23 10:25:32 -05:00
Jeroen Domburg
243bdc31ee Automaton creation: do not try to recurse into every single digit on numeric value when it is not needed 2023-01-23 10:25:32 -05:00
Jeroen Domburg
b0f19f9f29 Do not be lazy, make amount of max text code points into a define 2023-01-22 22:56:27 -05:00
Jeroen Domburg
3512f9e812 Fix misunderstanding in Kitty kbd proto docs 2023-01-22 22:56:27 -05:00
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. 2023-01-22 22:56:27 -05:00
nick black
eac79ee680
automaton: s/thought/though/g 2023-01-20 05:12:34 -05:00
nick black
90135203e8
debug: loglevel ought be ncloglevel_e 2023-01-19 22:31:25 -05:00
nick black
2c7a2efb9e
[nctetris.1] fix NAME for nctetris man page #2693 2023-01-03 14:43:06 -05:00
nick black
d29f364f62
ncvisual_create: error-check malloc #2691 2022-12-17 14:10:51 -05:00
nick black
09f7b717ac
[ncwidth] error-check printfs #2691 2022-12-17 14:10:34 -05:00
nick black
040ff99fb7
v3.0.9 v3.0.9 2022-12-10 05:20:23 -05:00
nick black
b6d1137f8e
[NEWS] mention #2687 infinite loop fix 2022-12-10 05:16:48 -05:00
nick black
5c34ff4735 [tests] add FamilyAbove for infinite loop found by drewt #2687 2022-12-10 05:13:42 -05:00
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.
2022-12-10 05:10:41 -05:00
nick black
7651cde998 workarounds for busted doctest 2.4.9 #2673 2022-10-04 04:59:43 -04:00