Commit Graph

311 Commits

Author SHA1 Message Date
nick black
4d7941f1b9
CMake: add USE_POC to control building poc binaries 2020-08-29 18:55:21 -04:00
nick black
f8854f84e8
demo summary: scale TheoFPS div by 1000 #928 2020-08-20 16:19:35 -04:00
nick black
2add9bacd6 wisdom? 2020-08-15 17:38:20 -04:00
nick black
99d90a4ecf
charset vs charencoding terminology 2020-08-14 16:30:54 -04:00
nick black
aebf2cdb9c
CMake: restore 3.14.0+ requirements 2020-08-13 23:38:10 -04:00
nick black
45e5d95774
ugh 2020-08-11 19:45:00 -04:00
Nick Black
11d6a4eb89
New reel layout algorithm #818 (#870)
New reel layout algorithm based on trimming and sifting. Fixes the original issue of #818, though I'm not marking that bug fixed until I've resolved the little issues remaining with this one.
Back off CMake version dependency, see if we can get by with 3.11.4 for EPEL8 #851
Simplify tablet drawing tremendously by separating tablet border and data planes. Callbacks no longer need worry about the borders; they can simply fill the plane they're handed. #833
Improve notcurses_debug() a bit
Add ncplane_new_named() and friends to expose plane naming to the user.
Add internal ncplane_genocide() to kill a plane and all its bound descendents
New industrial-strength ncreel unit testing
notcurses-ncreel now accepts -ln for log level n
Add ncplane_parent() and ncplane_parent_const()
2020-08-09 17:40:59 -04:00
nick black
f5f9808d80 install notcurses-pydemo.1 as part of python #836 2020-07-29 09:37:35 -04:00
nick black
604747c8f2 notcurses_puttext: use libunistring for wordbreaking #772 2020-07-22 03:31:54 -04:00
nick black
42b0be7f3a
Run PoC tests even without doctest #811
Add back the USE_DOCTEST CMake option, but make it conditional
upon BUILD_TESTING. If BUILD_TESTING is provided without
USE_DOCTEST, we build and run the PoC tests, just not
notcurses-tester. If neither is defined, no tests are available
(the PoC binaries are still built). If both are defined, build
the PoCs plus notcurses-tester, and run them all in make test.
2020-07-20 20:59:49 -04:00
nick black
62f6896715
CMake: remove python stuff; it'll be built externally 2020-07-13 08:30:32 -04:00
nick black
f5a84620d2
CMake: remove rust stuff; it's built externally 2020-07-12 06:36:55 -04:00
nick black
0ca1716cbd
README: purge alignment div, apache 2.0 badge 2020-07-09 04:16:03 -04:00
Nick Black
6685ff2767
right-align other badges alongside ToC 2020-07-09 04:10:39 -04:00
nick black
573a248da4
add Repology badge 2020-07-09 04:04:10 -04:00
nick black
8afd25fef6
FAQ entry about screen #757 2020-07-05 11:24:44 -04:00
nick black
8731b1191d
FAQ wording 2020-07-05 02:52:01 -04:00
nick black
3ebb5b0e4c
add 1.6.0 / Alpine to HISTORY 2020-07-03 23:41:26 -04:00
nick black
ef9e50be33 beef up 'what it is' a little; get our swag on 2020-07-01 20:30:06 -04:00
nick black
27c150b855 reorder introduction 2020-07-01 20:30:06 -04:00
nick black
32b1f3937c
add FAQ entry about xterm's eightBitInput resource #735 2020-06-28 22:31:17 -04:00
nick black
6ad8ef1dd3
add FAQ about TERM defintions 2020-06-25 01:27:14 -04:00
nick black
c5b517c448
note requirement of musl 1.20+ #733 2020-06-25 01:13:40 -04:00
nick black
3df44a05f7 Add link to 'glyph hell' 2020-06-17 16:44:32 -04:00
nick black
ffab8b5294 lay groundwork for ncneofetch #550 2020-06-17 16:44:32 -04:00
nick black
463f5acd6a CMake: unset cached result of qrcodegen header check #711 2020-06-16 13:40:16 -04:00
nick black
d3c3905996 FAQ entry about cmake+libqrcodegen-dev #711 2020-06-16 13:32:06 -04:00
nick black
ba31c575ba
README: discuss LANG and TERM 2020-06-16 04:13:49 -04:00
nick black
633ef1f76c
add beginnings of yield demo 2020-06-05 15:14:07 -04:00
nick black
84ae45ef39
remove all libsixel crap #200 2020-06-05 04:19:56 -04:00
nick black
89ffb6658e
CMake: improvements to testing usability
Replace USE_TESTS with BUILD_TESTING variable already exported by CTest.
Use the CMake 3.17 CMAKE_CTEST_ARGUMENTS to pass "-V" to ctest. #651
2020-05-29 02:47:29 -04:00
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
f425944bba
FreeBSD: move back to getrandom(); read_random() is kernelspace 2020-05-22 05:32:47 -04:00
nick black
fc998510a0
CMake: only install static libs if built #625 2020-05-21 23:51:10 -04:00
nick black
a288c2e654
document all build options 2020-05-20 13:22:43 -04:00
nick black
9ccbc99e9e
now in fedora core! 2020-05-13 14:56:09 -04:00
nick black
4b642bc68d
require oiio 2.15.0+ to get infinite loop fix #547 2020-05-13 07:41:19 -04:00
nick black
5081ed048c
do an OIIO rotate() #559 2020-05-13 07:35:31 -04:00
nick black
084bb721fa
we're now part of freebsd! 2020-05-11 12:30:53 -04:00
nick black
759dfbf499
add 1.4.0 to README.md 2020-05-10 22:52:49 -04:00
nick black
98eddd86a9
README: link to hype videos 2020-05-09 06:08:23 -04:00
nick black
a2888f2c75 FAQ entry about 10-bit color 2020-05-06 01:02:46 -04:00
nick black
d54e2c3957
README: point to debian unstable package 2020-04-30 01:14:42 -04:00
nick black
018e88f53b
README: don't undersell it 2020-04-26 21:21:43 -04:00
nick black
7d1e3c77c8 oiio: image scaling #535, subimages for video #536 2020-04-26 18:33:52 -04:00
nick black
0a38cd6ff5
move usage ToC to USAGE.md 2020-04-26 17:38:54 -04:00
nick black
d40c46a7aa
README: fix up syntax in header list 2020-04-26 17:37:55 -04:00
nick black
5f42e06383 oiio: open and close image #453 2020-04-24 04:17:56 -04:00
nick black
6045c54189 move usage stuff into USAGE.md 2020-04-24 04:17:56 -04:00
nick black
11c5aacb08
ncsubproc: move to big bad clone3() #310 2020-04-21 09:42:25 -04:00