Commit Graph

92 Commits

Author SHA1 Message Date
nick black
2190b33421
drone: update to debian unstable 2020-12-16a builder, disable ubuntu #1220 2020-12-16 19:56:58 -05:00
nick black
8c5c9d8566
drone: update fedora builder to 2020-12-16a 2020-12-16 19:53:17 -05:00
joseLuís
04b10741d4 drone: build rust in debian and fedora #1220 2020-12-17 00:59:37 +01:00
joseLuís
e778cc38e4 show rustc version in drone 2020-12-16 23:33:03 +01:00
Nick Black
db77e19795
drone: alpine builder (#1217)
* drone: add alpine-edge builder #1216. ffmpeg, no qrcodegen, no pandoc
2020-12-16 07:04:42 -05:00
Nick Black
438e042cdf
Multipile resize support #1172 (#1190)
drone: use ctest -V
2020-12-11 20:46:12 -05:00
nick black
be6362d74f
drone: use new builder 2020-11-26b 2020-11-26 22:11:03 -05:00
nick black
428a4ce861
drone: build from cffi/, not python/ 2020-11-22 03:12:38 -05:00
nick black
dee1ec861d
drone: use ubuntu 2020-11-21a builder 2020-11-21 02:44:21 -05:00
nick black
fb5148f098 drone: step up to fedora34 builder 2020-11-17 23:42:36 -05:00
nick black
d0c63bcdf0 drone: build with two cpus per runner 2020-11-17 23:42:36 -05:00
nick black
05a8005b5d
drone: use 2020-11-17b debian autobuilder 2020-11-17 23:24:58 -05:00
joseLuís
9fe0363937 rust: improve testing
- add new alias `t_all` for running every test even if some fail.
- call it from `.drone.yml` to have more complete testing picture.
- add a new test for `notcurses_init` as the first test.
2020-11-18 01:48:54 +01:00
nick black
ab7c92a2b3
ubuntu drone: run rust tests with TERM set #1119 2020-11-17 01:28:23 -05:00
nick black
fe173210a3
drone: use new 2020-10-25a builders 2020-10-25 11:19:34 -04:00
nick black
a31c29f278
drone: run ldconfig post-install 2020-10-13 19:45:45 -04:00
nick black
da1b8d1d53
install version.h #1054 2020-10-10 20:53:45 -04:00
nick black
4360f3bec8
release: upload doc package to github #981 2020-10-08 17:44:54 -04:00
nick black
8228ba8204
drone: run notcurses-direct-pydemo 2020-10-07 19:44:47 -04:00
nick black
6ddf105746
uninline ncplane_new() so older binaries continue to link 2020-09-29 11:52:48 -04:00
nick black
364cf61004
drone: ubuntu builer 2020-09-22a 2020-09-22 23:59:11 -04:00
nick black
dd4b97e06e
drone: use 2020-08-31a builders 2020-08-31 22:28:58 -04:00
nick black
026b94969d cffi heap allocations are zero-initialized #942 2020-08-23 22:27:50 -04:00
nick black
679e2d25f8
drone: build python as well as srcdest 2020-08-22 11:49:02 -04:00
nick black
e9f0f36eef
drone: restrict rust to ubuntu for now #930 2020-08-20 23:11:58 -04:00
nick black
418ea3ea31
drone: use 2020-08-20a builders 2020-08-20 22:53:40 -04:00
nick black
88c765ba7e
drone: build rust in CI, run unit tests #930 2020-08-20 22:45:06 -04:00
nick black
7d2d7c7896
drone: build python in CI #930 2020-08-20 22:43:46 -04:00
nick black
248c49402e
drone: use new builders 2020-08-15 23:57:48 -04:00
nick black
b5d93077f1
drone: revert to older fedora until new one's fixed 2020-08-15 17:39:40 -04:00
nick black
a8b4c01210 brown v board of education comes for ubuntu 2020-08-15 17:38:20 -04:00
nick black
84631369d4 update to new drones 2020-08-15 17:38:20 -04:00
nick black
cb189869ee debugging ubuntu CI 2020-08-15 17:38:20 -04:00
nick black
dd0605939a
drone: add libunistring 2020-07-22 04:15:42 -04:00
nick black
1792f820e4
drone: shift ubuntu docker back to 2020-07-13a 2020-07-13 06:19:05 -04:00
nick black
1e39589c08
drone: update to 2020-07-13a builders 2020-07-13 01:56:24 -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
b6aa91bf4c
drone: fix up exclude syntax 2020-06-28 08:35:58 -04:00
nick black
3a8b0150d3
move doctest --tce to drone.yaml 2020-06-28 08:28:30 -04:00
nick black
9d6b5b2872
drone: fucking yaml syntax 2020-06-28 07:23:00 -04:00
nick black
dd2b36ce0a
drone: set TERM on debian 2020-06-28 07:21:22 -04:00
nick black
33667df40e
drone: set TERM for fedora 2020-06-28 07:00:20 -04:00
nick black
4a3d436e5b
drone: update builders 2020-06-19 14:10:18 -04:00
Nick Black
28431914a8
First go at ncplane_puttext() (#690)
Very simple take at ncplane_puttext(), a new function for linebroken text. Also some very basic unit tests. I doubt this works very well yet, but it handles the simplest cases #682. Added nclog(), internal function for logging. #520
2020-06-08 03:01:58 -04:00
nick black
e879bf8f93
let outro demo run on no-multimedia builds 2020-05-31 23:15:43 -04:00
nick black
0766007a77
tester: kill off inhibit_alternate_screen #651 2020-05-29 02:30:57 -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
dbc20bd5c0
add man page for ncmetric(3) #631 2020-05-24 04:48:17 -04:00
nick black
698f664bd8
drone: update to new builders 2020-05-23 18:49:41 -04:00
Nick Black
216495ce8a
Fedora rawhide docker build (#602)
* run a fedora build
* fedora: dnf -y install for now
* dnf install ncurses-devl
2020-05-13 07:30:51 -04:00