Commit Graph

14 Commits (3d75f674655e0e1637e12932e203336cb5777a5a)

Author SHA1 Message Date
nick black a45d888601
All fill-type functions return cells changed
Fill-type functions used to return 0 for success, and -1
on failure. They now return the number of cells written
on success, similarly to ncvisual_render(). Resolves #427.
4 years ago
nick black a3323fb22c
Enforce UTF8 where necessary in unit tests #428
Certain unit tests required UTF8 encoding on the output
terminal to work (#428). This includes anything which does
any kind of fill. Add enforce_utf8() checks to all such
tests that were missing them. Unit tests once again pass in
a pure ASCII environment.
4 years ago
Nick Black 2b7b384e91
Most of notcurses-tetris, mergedown fixes (#420)
* ncplane_mergedown() fix for small planes #417
* tetris game needed for the book
4 years ago
nick black c3feca6ded ncplane_polyfill: reject null glyph + test #418 4 years ago
nick black 7e71ad8e11 implement ncplane_mergedown() #361 4 years ago
nick black eead4c1414
notcurses_highgradient() added #398 4 years ago
nick black 5b4c6c14e3
gradient: implement + test 1d fills 4 years ago
Nick Black 745e742a12
Fix gradient engine #368 (#372)
Simplify and correct the gradient engine, resolving all test breakage.
4 years ago
Nick Black e6637e81cc
Prep for serious rusting #101 (#354)
* CMake: add USE_PANDOC, USE_DOXYGEN options #101
* README: mention rust
* start integrating rust into build #101
* CMake: add USE_NETWORK option for cargo
* Debian: build-dep on doxygen
* rust: colloquy checks in Cargo.lock
* extract NCKEY defines into their own include
* colloquy: use clap to parse CLI args
* CMake: unify option namespace
* Python: update include path
* Rust: fix up --frozen workings for -DUSE_NETWORK=off
* CMake: abstract out colloquy a little
* Sync direct.hh to the New Way
4 years ago
nick black 2114cc2eda demo: rewrite handloop with ncplane_gradient() 4 years ago
nick black 7addd06341 more gradient work, more unit tests #340 4 years ago
nick black 61fe5f5b7e gradient + unit test #340 4 years ago
nick black c6520ab84c add notcurses_drop_planes, use from demo #346 4 years ago
nick black 124004c87c add nplane_polyfill_yx() #340 4 years ago