Commit Graph

265 Commits (86a95eb4ea6f524514626c7c0deb10db7ccee9dc)

Author SHA1 Message Date
nick black 0b4ada19b1 Remove AVFrame from API #532 4 years ago
nick black 21822f98e7 fix up averr->ncerr #532 4 years ago
nick black ad0685aa1b switch to nc_err_e #532 4 years ago
nick black d81b3ef0cf start factoring out FFMpeg for OIIO plug #453 4 years ago
Nick Black 0e73b9d3d5
Floating-point ncplot, genericize ncplot (#531)
* compile ncplot as c++ generic #446
* add floating-point plots #446
4 years ago
nick black 5a017574f6
ncsubproc tests: don't rely on /etc/ files 4 years ago
nick black 34629688d9
interpret NULL second argument to *_init() as stdout 4 years ago
nick black 3e853f6635
ncsubproc: map new pipe onto stdio #310 4 years ago
nick black 04f90fa1ea
ncsubproc: launch processes, make pipes
link to LWN article in History section of README.md.
4 years ago
nick black 6304bc73e3
tester: better terminal restoration #240 4 years ago
Nick Black fe8034b5e0
ncfdplane, fileroller PoC, ncfdplane unit tests, qrcodes #24 #514 (#524)
* first draft of ncsubproc spec
* qrcode first draft #24
* demo: add qrcode demo skeleton, entries #24
* qrcode demo #24
* fedora python build changes from @dcantrell
* ncplane_qrcode() works #24
* add some flash to the qrcode demo #24
* drone: use newest builders
* fix up rgb PoC
* drop jungle demo to 100Hz target
* add fd.c
* ncfd skeletons
* more ncfdplane #514
* ncfdp i/o loop
* ncfp: improve uinit test, write core
* firm up ncfdplane #514
* fileroller PoC #514
* ncplane: allow '\n' in stream when scrolling #523
4 years ago
nick black 483470f777
tester: restore terminal on early exit #240 4 years ago
nick black 4823098316
Hurd: uint64_t is ULL, fix up printf format/constants #519 4 years ago
nick black 9e28e14001
move enforce_utf8() into main 4 years ago
nick black 0a6f5d1a9f
enforce_utf8() for wide tests, duh 4 years ago
nick black 11600b6820
ensure UTF8 for metric tests 4 years ago
Nick Black c6a9997554
Normalize ncplane_at_* / ncplane_set_base() (#479)
* ncplane_at_* and ncplane_at_cursor_*

We had notcurses_at_yx() expanding into three distinct parts of
the cell structure, and ncplane_at_yx() / ncplane_at_cursor()
writing directly to a cell. It was annoying to remember which
was which. The latter two now have a signature matching
notcurses_at_yx(), while the old functionality has been moved
to ncplane_at_yx_cell() and ncplane_at_cursor_yx(). #476
4 years ago
nick black d274af34b9 ncplot: define 2x2 and 4x2 sets #461 4 years ago
nick black 355ea6d3d7
Allow EGCpools up to 1GB #425 4 years ago
nick black a4e1d68786
Add ExhaustPool unit test #482 4 years ago
nick black 327c9cba78 Scrolling! all unit tests work #443 4 years ago
nick black b385feef8f zero out newly-scrolled lines #443 4 years ago
nick black 646bcf3db2 finish out ScrollingOffBottom test #443 4 years ago
nick black 40fd887012 New unit test for scrolling ScrollingOffBottom #443 4 years ago
nick black ad9828e808 add ScrollingBoxen unit test 4 years ago
nick black d98f89c167
check channels in WidePlaneAtopNarrow test #475 4 years ago
nick black 87136c37d3
flesh out two more Wide+Narrow tests #475 4 years ago
nick black 05cdd1514b pull in PlaneStompsWideGlyph from render.cc 4 years ago
nick black 1c41705d99 flesh out NarrowPlaneAtopWide unit test #475 4 years ago
nick black 295ae0a8d0
extract wide glyph unit tests into their own file #475 4 years ago
nick black b0fc654444 Check that cell is not wide right in render #362 5 years ago
nick black b0aa6b9a7f simplify wide handling in putc_yx #362 5 years ago
nick black e6a80ab98d Strip down OverWide unit test 5 years ago
nick black d26b111f35 new unit test Ncplane::OverWide #362 5 years ago
nick black e005940acf
ncplot: fix unit tests following #457 (#464) 5 years ago
Nick Black c2a645e9af
Rust wrapper work (#454)
* packaging: s/libtinfo/Terminfo/g
* rust: add stddim_yx()
* rust: check for valid init in unit tests
* rust: serialize up tests
* constify notcurses_term_dim_yx()
* rust: add dim wrappers
* remove notcurses_resize() from public API #367
* call notcurses_resize() from notcurses_refresh() #367
5 years ago
nick black a7f17040ce another scrolling unit test 5 years ago
nick black 601e84df83 another scrolling unit test #323 5 years ago
nick black 0f12bcdb4c add 2 scrolling unit tests, both currently fail #323 5 years ago
nick black c0f8d9b444
eliminate detectdomain, infer it from maxy==miny #439 5 years ago
nick black 6b74ea7718 plot: fix off-by-one on wide window shift, asdd unit test 5 years ago
nick black fc2dc68619 AugmentCycle2 Unit Test #430 5 years ago
nick black a3f7dd486b plot: AugmentSample5 test case 5 years ago
nick black 5bccf6b446 ncplot: implement x windowing #430 5 years ago
nick black b3cda0d09f notcurses-keyplot: throw a perimeter around base plane 5 years ago
nick black d2fe768c30 plot unit tests #430 5 years ago
nick black e87fbb3003 Throw up an ncplot unit test 5 years ago
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.
5 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.
5 years ago
nick black a77774f4dc
notcurses_at_yx(): value-result u32+u64, not cell
Resolves #410. notcurses_at_yx() accepted a cell*, but the
gcluster of this cell was always set to 0. The EGC is instead
a heap-allocated copy, returned as the primary return value.
This is due to the absence of an egcpool to bind against.
Existing callers can be converted thus:

* instead of passing cell 'c', pass &(c)->attrword, &(c)->channels
* either initialize 'c' with CELL_TRIVIAL_INITIALIZER, or set its
   gcluster field to 0 following the call

I've updated all calls from tests/demos, updated the docs, and
updated the C++ and Python wrappers.
5 years ago