nick black
2370329077
loop on fflush()->EAGAIN
...
sometimes when we call fflush(ttyfp), we get EAGAIN. we can
loop on this and force the flush. without it, we (fairly rarely)
get errors on shutdown, sometimes manifesting as unit test
failures (especially in the rust wrappers). #742
2020-07-02 17:34:30 -04:00
nick black
c0f12f4623
tester: pass INHIBIT_SETLOCALE|NO_ALTERNATE_SCREEN
2020-07-02 00:39:06 -04:00
nick black
6b5fd0d009
ncdirect_render_image(): handle newlines properly
...
in ncdirect_render_image(), we want to emit newlines if and
only if we did not hit the right border. we want to emit
cuds (cursor downs) if and only if we've hit the bottom
border. this resolves all mysteries of blank lines, eliminating
a FIXME. it also fixes ncneofetch's image display on very
wide terminals. closes #756 . also removes the display semaphore
in ncneofetch, using a more natural pthread_join().
2020-07-02 00:10:59 -04:00
nick black
31c584e2e6
ncneofetch: work no matter y offset, done! #750
2020-07-01 20:30:06 -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
8fedec050c
ncneofetch: draw infoplane with notcurses + margin_t #750
2020-07-01 20:30:06 -04:00
nick black
93ff1d7789
ncdirect: open an fd for the controlling terminal
...
Use ctermid(3) to identify the controlling terminal device.
When one exists, open(2) it up, and retain this file descriptor
across the life of the ncdirect context. Allow a failure, since
not everything requires such an fd. This will be used for tty-
specific activity such as ioctl()s and escape sequences
involving terminal replies (such as get absolute cursor
position). #752
2020-07-01 20:30:06 -04:00
nick black
cda4253a0a
ncneofetch: sem_post() on error path
2020-07-01 20:30:06 -04:00
nick black
a8db078689
ncneofetch: default background on palette
2020-07-01 20:30:06 -04:00
nick black
6be683c83b
rebase off master
2020-07-01 20:30:06 -04:00
nick black
9ae1c6b3df
ncdirect_render_image: fix arguments to rgba_blitter_low #751
2020-07-01 20:30:06 -04:00
nick black
4e04c3ae8f
ncneofetch: fill out first line of infoplane
2020-07-01 20:30:06 -04:00
nick black
45fbbdb4ef
ncneofetch: align output #750
2020-07-01 20:30:06 -04:00
nick black
33cb21d917
ncdirect_printf_aligned() added #750
2020-07-01 20:30:06 -04:00
nick black
4889e9b391
ncneofetch: scale
2020-07-01 20:30:06 -04:00
nick black
60619fc4b9
ncneofetch: move back to NCSCALE_SCALE #750
2020-07-01 20:30:06 -04:00
nick black
7eb70dad71
ncneofetch: display() in direct mode #750
2020-07-01 20:30:06 -04:00
nick black
7a022a4c76
ncneofetch: show palette via direct mode #750
2020-07-01 20:30:06 -04:00
nick black
452fdc671d
intro: move legend into main plane
2020-07-01 03:24:15 -04:00
nick black
4863c7e3df
ncdirect_image_render: restore NCBLIT_2x2 #751
2020-07-01 01:14:42 -04:00
nick black
0586adbe24
ffmpeg: disable debugging cruft erp
2020-06-30 00:43:18 -04:00
nick black
8a2f86ea16
vizdirect: use DFSG-safe media only #725
2020-06-30 00:18:02 -04:00
nick black
85893fb927
NEWS entry for ncdirect_render_image()
2020-06-30 00:18:02 -04:00
nick black
fd064b0f2a
ncvisual_render_image(): working! #725
2020-06-30 00:18:02 -04:00
nick black
40d0efcece
ncdirect_render_image(): just about working #725
2020-06-30 00:18:02 -04:00
nick black
277cbc9c16
ncdirect_render_image(): getting closer #725
2020-06-30 00:18:02 -04:00
nick black
3bb789eb74
refactoring to prep for ncdirect_visual
2020-06-30 00:18:02 -04:00
nick black
229079696d
ncvisual refactoring to support ncdirect
2020-06-30 00:18:02 -04:00
nick black
052e10ebe1
subproc: fix up USING_PIDFD definition
2020-06-29 00:20:42 -04:00
nick black
b9dc9a7f1c
subprocs: simplify __linux__ check
2020-06-28 23:49:45 -04:00
nick black
32b1f3937c
add FAQ entry about xterm's eightBitInput resource #735
2020-06-28 22:31:17 -04:00
nick black
dda6d2f596
subproc: check for __NR_clone3
2020-06-28 22:19:41 -04:00
nick black
419dc1efb6
remove APKBUILD, it's been submitted to Alpine
2020-06-28 22:13:09 -04:00
nick black
8310b687ac
demo: enable FPS plot by default #744
2020-06-28 21:09:26 -04:00
nick black
ae1b45efbf
plot: make legend glyph-transparent #744
2020-06-28 21:07:06 -04:00
nick black
9a5a4a65ca
demo: enable HUD by default #743
2020-06-28 20:50:35 -04:00
nick black
8da3e6f968
HUD: fully glyph-transparent, looks great #743
2020-06-28 20:47:42 -04:00
nick black
ba1c9868e5
HUD: glyph-transparent inter-column gap #743
2020-06-28 20:39:02 -04:00
nick black
64857e12ac
HUD: glyph transparency on frame count #743
2020-06-28 20:34:12 -04:00
nick black
96575fb402
hud: glyph-transparent right side
2020-06-28 20:22:02 -04:00
nick black
1cbf98cb6c
notcurses_init: allow US-ASCII, used by FreeBSD
2020-06-28 18:56:40 -04:00
nick black
3d6585e445
Trigger clone3()+waitid() path off definition of P_PIDFD #733
2020-06-28 17:38:51 -04:00
nick black
6ab11e679f
v1.5.3
2020-06-28 16:18:57 -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
1b23e63f42
CTesst: exclude Ncpp,Exceptions for now
2020-06-28 08:23:04 -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