Commit Graph

303 Commits

Author SHA1 Message Date
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
nick black
04f90fa1ea
ncsubproc: launch processes, make pipes
link to LWN article in History section of README.md.
2020-04-21 03:33:04 -04:00
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
2020-04-20 23:26:41 -04:00
nick black
790a953c82
list libqrcodegen in README 2020-04-20 06:58:58 -04:00
nick black
40f36a9fb4
accepted into Debian, like a boss 2020-04-19 15:23:39 -04:00
Nick Black
1c7796a2b0
ncdirect_cursor_yx, ncdirect_cursor_pop, ncdirect_cursor_push #401 (#492)
* ncdirect_cursor_{push, pop, yx} declarations #401
* direct PoC: invoke ncdirect_cursor_yx() #401
* direct PoC: move to top of screen #401
* OTHERS.md: mention blessings
* ncdirect_cursor_yx working #401
* CHANGELOG: mention ncdirect_cursor_*() #401
2020-04-18 07:11:33 -04:00
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
2020-04-18 00:09:14 -04:00
nick black
957e09671e debian: repack DFSG tarball using uscan #496 2020-04-17 21:14:12 -04:00
nick black
6cbca20d0a
add 1.3.0 release to README 2020-04-13 15:10:19 -04:00