Commit Graph

180 Commits (fef33ad2aa9616041bc60a3e57d291473c1ecde4)

Author SHA1 Message Date
nick black fef33ad2aa wide.cpp: patch up tests for OS X 11.4 3 years ago
nick black bc4f2a3626
CHANNELS_RGB_ -> NCCHANNELS_ 3 years ago
nick black 55f8614391
improve 256-color grey quantization 3 years ago
nick black 14a50cfa3f
add ncchannels_reverse, use it in ncmenu, add unit test #1878 3 years ago
nick black 29f1acc479
bulk up scrolling unit test #1649 3 years ago
nick black 8df91e35a9
unit test for virtual cursor on scrolling plane #1649 3 years ago
nick black 0941efbea5
unit tests for ncplane_moverel() 3 years ago
nick black 505f38956d
Fade unit test: use CELL_CHAR_INITIALIZER 3 years ago
nick black 5af6f58e07
Visual: render 1x1->fullscreen #1675 3 years ago
nick black feccb7dab8
purge wayward notcurses_debug() calls in pile unit tests 3 years ago
nick black f219a21732
ResizeThenRotateFromMemory is garbage =[ 3 years ago
nick black 4d1681bf11
fix dumb error in ResizeThenRotateFromMemory #1722 3 years ago
nick black 569e06f519
media tests: remove treacherous sleep(3)s 3 years ago
nick black cbd3483010
fix up DenyControlASCII test to admit NUL 3 years ago
nick black 490c89f694 add ncplane_scrolling_p() #1841 3 years ago
nick black b185e2528c get ResizeAndRotateFromMemory working sans leaks/breakage #1800 3 years ago
nick black 1b32823e42 bulk up ResizeThenRotateFromFile test 3 years ago
nick black 64abad918e
fix up LayoutLeadingSpaces test not to send tabs 3 years ago
nick black 7361683d3b
deny control characters in cells and plane emissions #1840 3 years ago
nick black e32ae497d2
unit test for rotate+resize+render #1800 3 years ago
nick black 7b10d723ec
SprixelTermValues: correct test 3 years ago
nick black 8d3c042640
turn off bitmap support if TIOCGWINSZ doesn't supply pixel info #1805 3 years ago
nick black e4656dbd77
ncvisual_from_rgb_packed: correct alloc size, add unit test #1806 3 years ago
nick black d0889d3615
extract contour version from XTVERSION #1798 3 years ago
nick black 1bfb230553 add VisualFromRGBxPacked unit test 3 years ago
nick black c5542cbd1a add unit test VisualFromRGBPacked #1767 3 years ago
nick black c8dfa17485
Set up sane logging for direct mode
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690.
3 years ago
nick black 5e16208801
remove garbage CursesStyles unit test #1791 3 years ago
nick black ce2b89552a
direct cursor tests require ncdirect_canget_cursor() #1790 3 years ago
nick black e0276bbfdb undercurl unit test #1758 3 years ago
nick black 912c897e67 ncdirect capabilites, all #1768 3 years ago
nick black cadd4aefee s/CELL_ALPHA_/NCCELL_ALPHA_/g 3 years ago
nick black 0b72bec79d
add ncdirect_ascii_box(), use it in DefaultBox unit test 3 years ago
nick black 3dbb3c149d get another mergedown() unit test #1615 3 years ago
nick black 091908295f fix up Fills::MergeDownUni unit test #1615 3 years ago
nick black 2f43bc70f1
ncplane_move_yx: correct dy/dx for root planes, add unit test #1753 3 years ago
nick black 4731e8269f
add a unit test for ncdirect boxen #1752 3 years ago
nick black deea4ddf9c ncdirectf_geom: move to ncvisual_options #1746 3 years ago
nick black 59f4edd777 ncdirectf_render: accept an ncvisual_options #1738 3 years ago
nick black 6fcaad3c5d
generalize ncvisual_inflate() to ncvisual_resize_noninterpolative() #1738 3 years ago
nick black e3bf3c9802
place resized pixel planes properly 3 years ago
nick black f8533d44a1 new unit test, InflateVsScale #1728 3 years ago
Nick Black b686661873 RGBA/BRGA unit tests: don't do any scaling #1714 3 years ago
nick black 97bfd726e4 ncvisual_from_bgra(): use ncpixel API to work on big-endian #1714 3 years ago
nick black 7f2635ced1
rgba/bgra from memory tests need htole() #1714 3 years ago
nick black eee6ed4f7b rotate unit tests: fix for big-endian #1714 3 years ago
nick black 8f0324547e oiio: use pixel_stride() when appropriate #1723 3 years ago
nick black 4cf653635a add Visual::Stretch unit test, complete FIXMEs in two others #1718 3 years ago
nick black e07d712029 notcurses-tester: use unique_ptr on find_data() 3 years ago
nick black 63bbe9fbbf FdsAndSubprocs: WARN on (very rarely) failing pthread_mutex_destroy() 3 years ago