Commit Graph

251 Commits

Author SHA1 Message Date
nick black
49ae79341d
v1.6.15 2020-08-16 11:04:43 -04:00
nick black
dc99d56ac1
v1.6.14 2020-08-16 10:06:33 -04:00
nick black
e897de3700
v1.6.13 2020-08-16 08:54:22 -04:00
nick black
aebf2cdb9c
CMake: restore 3.14.0+ requirements 2020-08-13 23:38:10 -04:00
nick black
52103af364
Cell: overlap RGB and palette indices #884 2020-08-13 11:35:53 -04:00
nick black
9704f5cbe7
v1.6.12 2020-08-12 09:37:59 -04:00
nick black
48615b8b3d
CMake: missed a word in title =] :D 2020-08-09 17:47:21 -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
4f5be0b100
tests: treat TERM=unknown like unset TERM #865 2020-08-08 07:54:09 -04:00
nick black
fa76f5a432
v1.6.11 2020-08-03 02:47:07 -04:00
nick black
8cfd1677c4
v1.6.10 2020-08-01 17:53:19 -04:00
nick black
77e04c63c5
CMake: only run PoC tests if TERM is set 2020-07-28 13:22:16 -04:00
nick black
92d365da19
CMake: kill duplicate doctest REQUIRED 2020-07-27 17:33:46 -04:00
nick black
d126c71dd6
v1.6.9 2020-07-26 23:27:11 -04:00
nick black
f8c16ceb79
v1.6.8 2020-07-26 22:20:52 -04:00
nick black
4f8673b0e9
v1.6.7 2020-07-26 21:25:52 -04:00
nick black
71db3dbe61 CMake: unset HAVE_UNISTRING_H cache to force search 2020-07-23 21:37:44 -04:00
nick black
0bd73e2f1f
CMake: drop dirgb from test suite due to excess output 2020-07-22 16:38:23 -04:00
nick black
604747c8f2 notcurses_puttext: use libunistring for wordbreaking #772 2020-07-22 03:31:54 -04:00
nick black
255b404842
ncplane_puttext(): start long words early
If we're fed a word that in and of itself is wider than
the text layout area, and it is not the first word on the
row on which it starts, go ahead and start it there, as
opposed to breaking the line. #720

Also, remove sgr from test suite, as it's not a notcurses
application.
2020-07-22 02:11:09 -04:00
nick black
759e001ca6
CMake: sgr isn't a notcurses app; don't run it as a test 2020-07-22 01:39:03 -04:00
nick black
dd4d4817d1
CMake: run tests in serial #812 2020-07-21 22:47:03 -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
17f1323c20
v1.6.6 2020-07-19 21:55:10 -04:00
nick black
2a4e728de6
CMake: don't install notcurses-pydemo 2020-07-19 21:40:46 -04:00
nick black
308b49da5a
v1.6.5 2020-07-19 21:16:53 -04:00
nick black
b2e924319b
v1.6.4 2020-07-19 20:09:14 -04:00
nick black
a4ee5bd9c7
v1.6.3 2020-07-16 12:53:42 -04:00
nick black
330b1612d4
CMake: fix up linux pkgconfig install path 2020-07-16 12:52:10 -04:00
nick black
3f544a4ed1
v1.6.2 2020-07-15 23:34:25 -04:00
nick black
62f6896715
CMake: remove python stuff; it'll be built externally 2020-07-13 08:30:32 -04:00
nick black
fa343c92a4
install pkg-config to libdata on FreeBSD #792 2020-07-13 08:14:18 -04:00
nick black
f5a84620d2
CMake: remove rust stuff; it's built externally 2020-07-12 06:36:55 -04:00
nick black
1cc0371373
v1.6.1 2020-07-12 03:20:50 -04:00
nick black
284dfc4fad
v1.6.0 2020-07-04 22:40:32 -04:00
Nick Black
415d4b813f
Tight work on unit testing, controlling tty vs output fd (#758)
* Some things go to the FILE* we're provided. Some can only go to a controlling terminal. Check to see if the FILE we're given is a TTY. If not, open up /dev/tty #752.
* term_emit(): fflush() can return EAGAIN. Loop on it to eliminate a rare error on shutdown that particularly affected unit tests (where we start and shut down Notcurses many times in a row).
* sgr poc: check return value of setlocale()
* drone: run all unit tests
* CMake: add some tests using PoCs
* ncneofetch: print even small palettes
2020-07-02 18:03:52 -04:00
nick black
6be683c83b rebase off master 2020-07-01 20:30:06 -04:00
nick black
6ab11e679f
v1.5.3 2020-06-28 16:18:57 -04:00
nick black
3a8b0150d3
move doctest --tce to drone.yaml 2020-06-28 08:28:30 -04:00
nick black
1b23e63f42
CTesst: exclude Ncpp,Exceptions for now 2020-06-28 08:23:04 -04:00
nick black
aec94e86ee
CMake: run some PoCs + ncneofetch as tests 2020-06-28 06:04:41 -04:00
nick black
141e8229a8
use pkg_search_module() to find tinfo or ncurses #734 2020-06-25 01:39:43 -04:00
Nick Black
16c086b41a CMake: don't define killer options on FreeBSD 2020-06-18 02:57:57 -04:00
nick black
ffab8b5294 lay groundwork for ncneofetch #550 2020-06-17 16:44:32 -04:00
Marek Habersack
5608b8735e [C++] Actually use compilation options
Fixes: https://github.com/dankamongmen/notcurses/issues/722

`-Wpedantic` is dropped because C code uses designated structure
initializers which are available in C++20 onward (and we use C++17
ATM). Once we switch to C++20 we should re-enable the flag.

`-fno-exceptions` is dropped because we do have exceptions, so...
2020-06-17 01:05:12 -04:00
nick black
929992c881 CMake: clean up defines a little 2020-06-16 18:39:08 -04:00
nick black
463f5acd6a CMake: unset cached result of qrcodegen header check #711 2020-06-16 13:40:16 -04:00
nick black
c6657f763a
prep for 1.5.2 2020-06-14 18:42:36 -04:00
nick black
0657267274
v1.5.1 2020-06-14 17:17:49 -04:00
nick black
7fc38d8fdd
v1.5.0 2020-06-08 06:05:17 -04:00