Commit Graph

8433 Commits

Author SHA1 Message Date
nick black
f21c3be67a ncsixel_as_rgba: move to STATE_WANT_DATA following '-' 2024-06-21 22:12:43 -04:00
nick black
50a81df822 LoadBiggerSixel unit test for #2787 2024-06-21 22:12:43 -04:00
nick black
aeb6bca35a
ncsixel_as_rgba: fix processing following '$'
waveplate pointed out that we needed to move to
STATE_WANT_DATA rather than STATE_WANT_HASH following
a '$' in sixel text. this was breaking ncsixel_as_rgba()
for larger sixels, for which we now have a unit test.

Closes #2784
2024-06-11 09:02:18 -04:00
nick black
87ff6fb048
ncvisual_from_*(): check geometries for validity 2024-06-11 09:01:51 -04:00
nick black
21429dacc2
tester: add LoadBigSixel() from waveplate #2784 2024-06-11 08:59:07 -04:00
nick black
6fb36a98ff
notcurses.h: add failure cases to nvisual_from_*() 2024-06-11 08:58:05 -04:00
nick black
0f3a737a3c
tester: reject empty argument for -l 2024-06-11 08:26:02 -04:00
nick black
498777db4c
tester: fix handling of -l arg 2024-06-11 08:09:18 -04:00
nick black
b41af4e192 use encoding_us_utf8() for ncdirect 2024-06-05 10:11:56 -04:00
nick black
8595f4a308 doc: improve BUGS note for notcurses_metric(3) 2024-06-05 10:11:56 -04:00
nick black
4e4a75bc52 notcurses_metric: corrections, add note to BUGS 2024-06-05 10:11:56 -04:00
nick black
b43a905a2a nctree_add_internal: kill set-but-unused depth 2024-06-05 09:59:14 -04:00
nick black
a5d3a793e6 [macos] export PKG_CONFIG_PATH for cmake 2024-06-05 09:59:14 -04:00
nick black
d31dc93b26
note encoding match changes in NEWS 2024-06-04 23:47:54 -04:00
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
2024-06-04 23:44:39 -04:00
nick black
bc4dc23035
ncchannel_alpha(): return uint32_t (not an ABI change) 2024-04-09 23:31:36 -04:00
nick black
0e389967e5
sixel: free meta on error paths 2024-04-09 23:31:02 -04:00
nick black
adc7313a4d
tabbed: eliminate double-free on error path 2024-03-25 00:46:47 -04:00
nick black
34b6cc12ec
ncplane_resize: factor out ncplane_resize_internal_check() 2024-03-24 23:51:00 -04:00
nick black
503e9fb3c5
release-checklist: escape semicolon in shell example 2024-03-23 06:10:35 -04:00
nick black
97508498db
init_lang: remove dead code 2024-03-23 06:09:16 -04:00
nick black
1586fe4c56
tfman: eliminate unnecessary write 2024-03-23 05:47:54 -04:00
nick black
83a0ca48bb
tfman: always initialize success 2024-03-23 05:45:48 -04:00
nick black
1995749c4b
eliminate clang-tidy memory leak bitchery 2024-03-23 05:08:21 -04:00
nick black
87782f340a
query_rgb: tigetflag() returns 1 on success 2024-03-08 09:21:48 -05:00
nick black
9b52619936 drone: use official debian layer 2024-03-08 05:39:32 -05:00
nick black
441d66a063
check LIBAVUTIL_VERSION_MAJOR against 59 for pkt_duration 2024-03-08 05:38:50 -05:00
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
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 a66c1e95f8 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