Commit Graph

38 Commits (2b31d6ce4d7a4082242efde0bbd38185f9751f9e)

Author SHA1 Message Date
nick black 354ece5826
v1.4.4.1 4 years ago
nick black 230f3af8e1
v1.4.4 4 years ago
nick black 0331ae4c4c
introduce NCVISUAL_OPTION_BLEND #652 4 years ago
Nick Black ebcba82d4b
Fully general ncvisual layer (#647)
This represents an essentially complete rewrite of ncvisual and associated code. It had two major goals:

Improve the ncvisual API based off lessons learned, pursuant to the upcoming API freeze. In particular, I wanted to:

decouple ncvisuals from ncplanes. It should be possible to render a ncvisual to multiple planes, with different scaling each time. It should be possible to create an ncvisual without a plane, etc.
normalize the various ways of constructing an ncvisual -- file, memory, plane, etc.
Support multiple blitters, from 7-bit ASCII to Sixel. This required writing the blitters in several cases, and they're not yet in their final implementations (but the API is fine)
I have not yet unified Plots and Visuals, and might not, given that the Plot code works fine. We could at this point implement Plots in terms of Visuals, though -- the blitter backend range has been unified. Sixel is not yet implemented, though it is listed.

There is a new POC tool, blitter. It renders its arguments using all possible blitter+scaling combinations. Another new POC, resize, displays its argument, then resizes it to the screen size and displays that, explicitly making use of ncvisual_resize() rather than a scaling parameter to ncvisual_render().

This also eliminates some memory leaks and bugs we were seeing in trunk, and brings in Sixel scaffolding.

The C++ wrapper will also need patching back up; I cut most of it down while wrestling with this crap, urk.

Closes #638, #562, and #622.
4 years ago
nick black c08c9b7f7f
v1.4.3 4 years ago
nick black 07e894c40c
v1.4.2.4 4 years ago
nick black 32d3ae91c8
v1.4.2.3 4 years ago
nick black e132c6bb24
v1.4.2.2 4 years ago
nick black 49fb03655e
v1.4.2.1 4 years ago
nick black 38e67abd9d
v1.4.2 4 years ago
nick black 8b5b44cf36
v1.4.1 4 years ago
nick black 6a22040584
v1.4.0 4 years ago
nick black a440382fb5 demo: use NCPLOT_OPTIONS_EXPOENTIALD #470 4 years ago
nick black 16376f872c fix notcurses_ncplane(3) -> notcurses_plane(3) 4 years ago
nick black e2b610506f
v1.3.4 4 years ago
nick black 05753bd91a
v1.3.3 4 years ago
nick black cc3debf259 man: separate out ncplot functions 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 7a0f4677c3
man pages: update notcurses.h to notcurses/notcurses.h 4 years ago
nick black 1dad2c6b50
v1.3.2 4 years ago
nick black e00ef4aca9
prep for 1.3.1 4 years ago
nick black 86e225dc4c prep for 1.3.0 #460 5 years ago
nick black 24a9343b0b
prep for 1.2.9 5 years ago
nick black 69b716f7f8 prep for 1.2.8 5 years ago
nick black 89809d5b59 prep for 1.2.7 5 years ago
nick black b04a37c433
plots: always start from the right #457 5 years ago
nick black 6d366380ed prep for 1.2.6 5 years ago
nick black 77dd998b05
ncplot uses exclusively non-negative samples #447 5 years ago
nick black df3dc6b5bc
prep for 1.2.5 5 years ago
nick black 4917603478
ncplot: swap NCPLOT_2x1 and NCPLOT_1x1x4 5 years ago
nick black 2a7ccffec6 ncplot: add labelaxisd, use it in keyplot #438 5 years ago
nick black c0f8d9b444
eliminate detectdomain, infer it from maxy==miny #439 5 years ago
nick black 68b4ba1706 plots: implement remaining vertical grid types #136 5 years ago
nick black 5bccf6b446 ncplot: implement x windowing #430 5 years ago
nick black 4926186b5a ncplot: check input parameters for validity #430 5 years ago
nick black a2170a4291 ncplot: add_sample(), set_sample() #430 5 years ago
nick black 5aedb3491d ncplot_plane(), ncplot_destroy() 5 years ago
nick black 69d6240741 ncplot_destroy, ncplot(3) man page 5 years ago