8518 Commits

Author SHA1 Message Date
nick black
67a122e857 genericize hires call to cell_set_bitquadrant() 2024-12-28 14:58:59 -05:00
nick black
2d9abd34eb finish octtrans EGC table 2024-12-28 14:58:59 -05:00
nick black
b2846f73b7 continue building up octtrans literal array 2024-12-28 14:58:59 -05:00
nick black
0308af82a7 we can just reverse oct_egcs 2024-12-28 14:58:59 -05:00
nick black
74df4d77b5 genericize hired_trans_check() on EGC set, start defining octtrans[] 2024-12-28 14:58:59 -05:00
nick black
544586b8c9 genericize geometry for hires_solver() 2024-12-28 14:58:59 -05:00
nick black
b4dd7f1a7c make hires_trans_check() generic across cellheights 2024-12-28 14:58:59 -05:00
nick black
22f99c650f hires_blit: genericize rgb array prep 2024-12-28 14:58:59 -05:00
nick black
e4a777f940 start in on unified hires blitter (sex/oct) 2024-12-28 14:58:59 -05:00
nick black
27b49941a4
update sexblitter partitions to match fixed sexegcs 2024-12-28 11:18:08 -05:00
nick black
feeb4e8b42
sexblitter: fix inverted characters 32+64
while working on the octblitter (see #2669), i noticed that
the last character in the sex[] collection was inverted.
this would result in a swapped foreground/background
color when either the 32nd or 64th spot was hit.
we wanted U+1fb2e (🬮, BLOCK SEXTANT-156) but were
supplying U+1fb0d (🬍, BLOCK SEXTANT-234).
2024-12-28 10:39:53 -05:00
nick black
1f4e4b9782
clarify use of NCBLIT_4x2 2024-12-26 22:11:55 -05:00
nick black
ae3be88883
whiteout: update blurb to unicode 16 #2669 2024-12-25 03:17:38 -05:00
nick black
b8e162e197
NEWS.md: mention NCBLIT_4x2 2024-12-25 03:14:30 -05:00
nick black
ad8816028a
notcurses_visual.3: fully detail octant blitter 2024-12-25 03:12:26 -05:00
nick black
a7271d5941
ncplayer.1: include octant blitter 2024-12-25 03:05:10 -05:00
nick black
9c4d3f5b87
ncplayer: list octant blitter in help 2024-12-25 03:03:45 -05:00
nick black
4dad3a99df
ecgpool: eliminate cross-signedness comparisons 2024-12-24 20:16:41 -05:00
nick black
054e31cc34
termdesc: disable octants if libc lacks support for unicode 16 2024-12-24 20:03:16 -05:00
Erik Schnetter
531bdd0e8b Implement generic 4x2 blitter 2024-12-24 19:39:43 -05:00
Erik Schnetter
bf9c31db27 Correct mistakes, update default blitter choice 2024-12-24 19:39:43 -05:00
Erik Schnetter
e17c412736 Support Unicode 16 octants 2024-12-24 19:39:43 -05:00
nick black
c723857877
trilerp: correct duplicated comment 2024-12-20 21:15:41 -05:00
nick black
3a3c75e65a
egcpool.h: update comment (we can store 4 bytes in an nccell), check for overflow 2024-12-02 08:07:13 -05:00
nick black
20bed5ef16
notcurses.h: document region functions as not updating cursor position 2024-12-02 01:48:01 -05:00
nick black
a5c7d2262a qrcode: force 2x1 blitter
only the 2x1 blitter can generate the proper aspect ratio
needed for qrcodes, so force its use with
NCVISUAL_OPTION_NODEGRADE. see PR #2806.
2024-11-16 17:35:23 -05:00
RMZeroFour
fc2636ad01 qrcode: fix vertical space check 2024-11-16 04:45:26 -05:00
nick black
3bd6489ec1
kill duplicated 'use' in comment 2024-11-10 07:54:26 -05:00
nick black
9377370b59
v3.0.11 2024-10-02 17:31:13 -04:00
nick black
bfb65c252e
v3.0.11 v3.0.11 2024-10-02 17:27:41 -04:00
nick black
8e6dd6e134
v3.10.0 v3.0.10 2024-10-02 06:01:45 -04:00
nick black
51ee78ee55
move grow_esc_table() out of header, eliminate c++ cast 2024-10-02 04:34:27 -04:00
nick black
625609c79b
man/parse: proper structure checks for LINE_TP and LINE_PP 2024-10-02 03:00:01 -04:00
nick black
51f473ade8
fix transposed arguments to calloc()
calloc() wants the number of members followed by the
size of each member. obviously the product is the same
either way, but there could be alignment problems if
the arguments are transposed, as they were here.
2024-10-02 02:18:42 -04:00
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