nick black
978d872307
[nctabbed] get Add test working
2021-03-25 16:29:23 -04:00
MasFlam
c677a4fd8a
Add the nctabbed widget ( #1431 )
...
Tabs for the people!
fixes #986
2021-03-24 17:27:29 -04:00
nick black
ddac4706d8
[visual-tests] update media reference
2021-03-24 05:22:15 -04:00
nick black
92b2165b39
use fputs_unlocked() everywhere we can
2021-03-20 17:55:37 -04:00
nick black
3a3baae753
new unit test PixelCellWipePolychromatic
2021-03-20 12:26:41 -04:00
nick black
11108e4d95
[kitty] kitty_cell_wipe() now works perfectly
2021-03-20 10:59:33 -04:00
nick black
07594606fd
[kitty] finish sprite_kitty_cell_wipe
2021-03-20 10:59:33 -04:00
nick black
c067c2bfd9
[kitty] further work on kitty_cell_wipe()
2021-03-20 10:59:33 -04:00
nick black
fc4c0a2d9c
[kitty] most of sprite_kitty_cell_wipe()
2021-03-20 10:59:33 -04:00
nick black
9270a58b2d
[pixel] unit test on sprixel_cell_wipe()
2021-03-20 10:59:33 -04:00
nick black
6ab325a36e
[tinfo] zero out sixel_maxx/sixel_maxy
2021-03-20 10:59:33 -04:00
nick black
232e774c61
notcurses-tester: don't set LOGLEVEL_ERROR
...
this ends up just confusing people more often than it
gets us useful bug reports. indeed, one distribution
disabled our tests because "it says it can't run without
a real tty".
2021-03-16 00:32:45 -04:00
nick black
b2ef9a074b
add simple pixel-rendering unit test
2021-03-16 00:32:45 -04:00
nick black
08b65a8699
sprixels: introduce sprixel cache #1401
2021-03-16 00:32:45 -04:00
nick black
9b15854ef4
direct mode unit test fix for sgr0 #1344
2021-03-15 02:42:24 -04:00
nick black
a8aec8d8d1
directmode tests: handle non-sgr case #1344
2021-03-15 02:18:07 -04:00
nick black
d8d8251a0e
notcurses-tester: enforce minimum geometry
2021-03-14 03:32:17 -04:00
nick black
aa4da3f335
nctree: drop bchannels from options
2021-02-24 23:33:53 -05:00
Nick Black
e30b12a480
nctree ( #1361 )
...
The nctree widget, PoC, and unitt rs #1164 .
2021-02-23 14:38:06 -05:00
nick black
c014a2d55e
quadblitter: minimize total rgb distance
...
Previously, the quadblitter compared the external two pixels
against the two lerps, and if the closest was closer to the
primary lerp than the secondary, trilerped the closest with
the primary pair. Instead, calculate the total RGB distance,
and for whichever external pixel is closer to the primary
lerp, calculate the trilerp and the new candidate difference.
if the candidate difference is less than the total distance,
select it and perform the trilerp. This improves upon the
"twinkling problem" described in #1354 , though it does not
entirely resolve it. Performance change is negligible. Add a
unit test for this change.
2021-02-21 11:34:06 -05:00
nick black
2741b049cb
don't expose nctree in 2.2.2
2021-02-18 07:04:03 -05:00
nick black
528c7f589f
nctree: traversal unit tests #1644
2021-02-15 13:23:41 -05:00
nick black
ad7936ccc3
nctree_prev(): implement it #1164
2021-02-15 13:23:41 -05:00
nick black
74079c4b65
nctree: test nctree_focused() #1164
2021-02-15 13:23:41 -05:00
nick black
3aa4311559
nctree: test NULL callback case for real #1164
2021-02-15 13:23:41 -05:00
nick black
85e3e1d79a
implement nctree_offer_input()
2021-02-15 13:23:41 -05:00
nick black
41d056b8d6
nctree tests: render planes #1164
2021-02-15 13:23:41 -05:00
nick black
bb14694000
add nctree movement api #1164
2021-02-15 13:23:41 -05:00
nick black
8de0453148
initial nctree unit tests #1164
2021-02-15 13:23:41 -05:00
nick black
1b1e0b88be
ncplane_qrcode: drop blitter argument, update docs
2021-02-15 03:34:14 -05:00
nick black
97a92cbbd7
notcurses-tester: always reset terminal on exit
2021-02-11 15:46:28 -05:00
nick black
38e9051888
move tests to src/tests
2021-02-07 20:52:20 -05:00