Commit Graph

31 Commits (de0b61925ef41c2e112580d4584962ca9eb089b9)

Author SHA1 Message Date
nick black fd2acde1b1 rename cell->nccell, keep alias #1200 4 years ago
nick black e6bc09084c
notcurses_align: return error on negative column count 4 years ago
nick black b7a57eaab7 convert all channel rgb calls #985 4 years ago
nick black 7ca5a7e82c
ncneofetch: create info plane #550 4 years ago
nick black b49d1ad838
rewrite all unit tests to use testing_notcurses() #718 4 years ago
nick black b2dcc50606
notcurses_options: fold bools into flags 4 years ago
nick black 2d3fef115e ncfadectx_setup(): remove timespec param #659 4 years ago
nick black fd2bb53f83 fade: more unit tests, verify abort on callback #659 4 years ago
nick black 3deeecdf2e fade: finish out proposed API, basic unit tests #659 4 years ago
nick black 3ff083b73f Fade API: move control of delays into callback 4 years ago
nick black 0766007a77
tester: kill off inhibit_alternate_screen #651 4 years ago
nick black 8971bda0c2 ncpp: stop() resets _instance, add unit test #538 4 years ago
nick black 8f78a8fdc0 fade tests: don't use CLOCK_MONOTONIC_RAW 4 years ago
nick black 6edc6f098f
streamline unit test common initialization 4 years ago
nick black e2a94817e7 tests: lots of NULL->nullptr 4 years ago
nick black a7f17040ce another scrolling unit test 4 years ago
Nick Black 4e58747709
ncplane_rotate_cw() and ncplane_rotate_ccw() (#396)
Introduce limited plane rotation capability. We currently support clockwise and counterclockwise rotation of planes. Square and rectangular geometries are both supported, but there must be an even number of columns. The atomic unit of rotation is a 2x1 "square" (this assumes .5 cell aspect ratio). We can only rotate those glyphs which have rotated equivalents, and not even all of those. We currently handle only:

* null glyph
* space
* upper half block
* lower half block
* full block

I've added unit tests as well. This functionality is used by our Tetris example in the book
4 years ago
nick black 124004c87c add nplane_polyfill_yx() #340 4 years ago
nick black b02acd8631
Curry a void* to fader callbacks #284 5 years ago
nick black 7c687faea0
pulsing text + unit test + docs #163 5 years ago
nick black 7e59cf1053
don't print Term line with suppress_banner 5 years ago
Nick Black ce2a390b52
Out with googletest, in with doctest #202 (#231)
* introduce doctest over googletest #202
* call dtester in in targets
* doctest conversion #202
* channel.cpp -> doctest #202
* egcpool tests -> doctest #202
* input tests to doctester
* zaxis -> doctest
* drone: always define LANG
* libav to doctest #202
* panelreel tests to doctest #202
* spec that a C++17 compiler is now required for doctest #202
* enmetric tests -> doctest #202
* fade tests -> doctest #202
* notcurses test case -> doctest #202
* last conversion to doctest #202
* finish move to doctest #202
* drone: set up make test
5 years ago
nick black 132793211c
capabilities testing for fade/ffmpeg 5 years ago
nick black fb0e03fe89 UMOK: fadecb for faders #162 5 years ago
Nick Black ff463d464e
Channels API sanity #119 (#138)
* orthogonalize channel/channels/cells APIs #119
* sync README.md with new ncplane channels api #119
5 years ago
nick black 23f8a070b3
unit tests: don't try to close a NULL outfp_ 5 years ago
nick black ca2f0471c3
setlocale(LC_ALL, "") everywhere 5 years ago
nick black 1821867e35
move outfp out of notcurses_options #130 5 years ago
nick black 7eafdd6772
fix up unit testing sanity 5 years ago
nick black f40f8cfb15 use background in fade unit tests 5 years ago
nick black 0e4080456c fade unit tests #40 5 years ago