Commit Graph

40 Commits

Author SHA1 Message Date
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.
2020-05-28 21:16:58 -04:00
nick black
c08c9b7f7f
v1.4.3 2020-05-22 09:18:39 -04:00
nick black
07e894c40c
v1.4.2.4 2020-05-20 15:38:23 -04:00
nick black
32d3ae91c8
v1.4.2.3 2020-05-17 09:01:53 -04:00
nick black
e132c6bb24
v1.4.2.2 2020-05-17 08:11:48 -04:00
nick black
49fb03655e
v1.4.2.1 2020-05-17 07:59:04 -04:00
nick black
38e67abd9d
v1.4.2 2020-05-17 07:29:10 -04:00
nick black
8b5b44cf36
v1.4.1 2020-05-10 22:21:48 -04:00
nick black
6a22040584
v1.4.0 2020-05-10 21:36:48 -04:00
nick black
e2b610506f
v1.3.4 2020-05-07 01:38:35 -04:00
nick black
84107c547d
view: support -m argument for margins #551 2020-04-29 03:24:11 -04:00
nick black
6e8a0bebae
view: support -k to inhibit alternate screen #551 2020-04-29 03:08:21 -04:00
nick black
05753bd91a
v1.3.3 2020-04-26 21:25:23 -04:00
nick black
ffbcb069a6
man pages: s/FFmpeg/multimedia/g 2020-04-25 15:54:09 -04:00
nick black
38cca493e7
man pages: terminals don't honor COLORTERM, they honor escapes 2020-04-19 17:12:13 -04:00
nick black
1dad2c6b50
v1.3.2 2020-04-19 02:24:03 -04:00
nick black
e00ef4aca9
prep for 1.3.1 2020-04-18 00:35:15 -04:00
nick black
86e225dc4c prep for 1.3.0 #460 2020-04-11 22:00:34 -04:00
nick black
24a9343b0b
prep for 1.2.9 2020-04-11 12:39:54 -04:00
nick black
69b716f7f8 prep for 1.2.8 2020-04-10 16:19:41 -04:00
nick black
89809d5b59 prep for 1.2.7 2020-04-09 20:21:33 -04:00
nick black
6d366380ed prep for 1.2.6 2020-04-08 10:10:47 -04:00
nick black
df3dc6b5bc
prep for 1.2.5 2020-04-04 18:49:16 -04:00
nick black
7c6b655483 v1.2.4 2020-03-24 16:25:47 -04:00
nick black
ac683e21d2
v1.2.3 2020-03-07 18:53:36 -05:00
nick black
e72111ac8b
v1.2.2 2020-02-24 00:03:00 -05:00
nick black
88c49df1b1
v1.2.1
DSFG demo can't have luigi
s/1.2.0/1.2.1/g
2020-02-20 05:13:22 -05:00
nick black
2b08c53075 prep for 1.2.0 2020-02-17 21:57:52 -05:00
nick black
e71c9284ef
man pages: address some syntax issues 2020-02-11 20:46:39 -05:00
nick black
887726b0d9 Debian: move all symbols/history to 1.1.8 2020-02-11 19:11:34 -05:00
nick black
cda600a4aa :/ 2020-02-10 21:37:20 -05:00
nick black
b284901d18
prep for 1.1.6 2020-02-05 04:08:42 -05:00
nick black
429e00d612 v1.1.5 2020-02-04 23:26:55 -05:00
nick black
60c19017f0
v1.1.4 2020-02-02 02:48:22 -05:00
nick black
746ef96ea1 prep for v1.1.3 2020-02-01 02:37:55 -05:00
nick black
c9bfc54381
prep for 1.1.2 2020-01-29 01:03:00 -05:00
nick black
ac791c781d
1.1.1, update version numbers 2020-01-27 02:15:38 -05:00
nick black
3bd0732e81 notcurses_view: accept -s option 2020-01-17 08:35:28 -05:00
nick black
2c2542a553 docs/rust/python: update versions to 1.1.0 2020-01-15 04:50:54 -05:00
nick black
5e1764d9b1
ncvisual_stream: add timescale param 2020-01-14 15:50:16 -05:00