nick black
b41af4e192
use encoding_us_utf8() for ncdirect
4 days ago
nick black
8595f4a308
doc: improve BUGS note for notcurses_metric(3)
4 days ago
nick black
4e4a75bc52
notcurses_metric: corrections, add note to BUGS
4 days ago
nick black
b43a905a2a
nctree_add_internal: kill set-but-unused depth
4 days ago
nick black
a5d3a793e6
[macos] export PKG_CONFIG_PATH for cmake
4 days ago
nick black
d31dc93b26
note encoding match changes in NEWS
5 days ago
nick black
9845b5bb54
introduce encoding_is_utf8() internal
...
apparently _nl_normalize_charset() of glibc removes
everything but alnums, and converts to lowercase.
replace strcmp() against "UTF-8" with encoding_is_utf8(),
which matches this behavior, and supports the optional
"cs" ("character set") prefix.
Closes #2780
5 days ago
nick black
bc4dc23035
ncchannel_alpha(): return uint32_t (not an ABI change)
2 months ago
nick black
0e389967e5
sixel: free meta on error paths
2 months ago
nick black
adc7313a4d
tabbed: eliminate double-free on error path
3 months ago
nick black
34b6cc12ec
ncplane_resize: factor out ncplane_resize_internal_check()
3 months ago
nick black
503e9fb3c5
release-checklist: escape semicolon in shell example
3 months ago
nick black
97508498db
init_lang: remove dead code
3 months ago
nick black
1586fe4c56
tfman: eliminate unnecessary write
3 months ago
nick black
83a0ca48bb
tfman: always initialize success
3 months ago
nick black
1995749c4b
eliminate clang-tidy memory leak bitchery
3 months ago
nick black
87782f340a
query_rgb: tigetflag() returns 1 on success
3 months ago
nick black
9b52619936
drone: use official debian layer
3 months ago
nick black
441d66a063
check LIBAVUTIL_VERSION_MAJOR against 59 for pkt_duration
3 months ago
nick black
bed402adf9
ffmpeg: use pkt_duration when it's available #2688
3 months ago
nick black
9d4c9e0083
ffmpeg: replace deprecated pkt_duration with duration #2688
3 months ago
nick black
fb7b132551
CMake: don't run rgbbg unless we built it
3 months ago
nick black
d88f40b836
CMake: USE_CXX oughtn't restrict NOTCURSES_HEADERS
3 months ago
nick black
cb1244d3d4
ffmpeg: remove call to deprecated avcodec_close()
3 months ago
Nat!
2e2cc8121c
* size_t overflow check for cell array
...
* use calloc to gain mucho speed for huge dimensions
3 months ago
nick black
fdd33449f1
ncplane_new_internal: don't check for negative rows/cols, use unsigned spec #2763
3 months ago
nick black
43c81ed944
update COPYRIGHT blergh
4 months ago
nick black
4ad0236a6e
usage: provide updated ncchannels_reverse() definition ( #2757 )
4 months ago
nick black
051a1b8bbd
[c++] Plane.hh: fix set_bg_rgb8() #2748
4 months ago
nick black
d0ae404152
channels_blend(): bow to clang14 -Wbitwise-instead-of-logical overlords
5 months ago
nick black
a2674d98ee
kill comment obsoleted by a66c1e95f8
5 months ago
nick black
d3d7a90495
ffmpeg: remove unused frame counter
5 months ago
Tobias Wood
d9cc551f5a
Fix a bitwise instead of logical warning
5 months ago
nick black
c19a715773
demo: use full zero initializers ( closes #2739 )
6 months ago
Tobias Wood
481fa39678
Added find_path for unigbrk.h
7 months ago
barracuda156
e8b4c7958a
inttypes.h needs __STDC_FORMAT_MACROS defined
10 months ago
Dheepak Krishnamurthy
442cfea046
Update README.md to include link to Julia bindings
1 year ago
nick black
dd31ba729a
notcurses_capabilities.3: formatting
1 year ago
nick black
0ac1251435
notcurses_capabilities.3: typo
1 year ago
nick black
c81a55fa29
TERMINALS.md: recommented?
1 year ago
Dheepak Krishnamurthy
32eba71d31
Fix typo in `notcurses.h`
1 year ago
Michael Bradley, Jr
5d6f7abde9
use correct codepoints for NCCHESSWHITE
1 year ago
nick black
bb4a5d09ac
remove deps rendered unnecessary by libavdevice-dev
1 year ago
Cameron Tenny
356c60a6ed
Update builders for libavdevice, pkg-config; add note about ffmpeg device support
1 year ago
Cameron Tenny
04470f9532
Add dependency on libavdevice when building with ffmpeg support, register in ffmpeg_init
1 year ago
nick black
fd4b2d9db7
notcurses.h: remove duplicate definition of notcurses_stdplane{_const} #2710
1 year ago
nick black
3c7dcd951e
add link to michael s. bradley jr.'s nim wrapper #2708
1 year ago
nick black
0f4cca9c55
check outstanding kernel patch into doc/ so it's not forgotten
1 year 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.
1 year ago
nick black
2f4fb5514b
notcurses_output: properly escape tab and newline
1 year ago