Commit Graph

1774 Commits (c0b2a641020efc2ac2794508af86cdf8690d650b)
 

Author SHA1 Message Date
nick black c0b2a64102
implement+doc notcurses_inputready_fd() #513 4 years ago
nick black d95bbb7c61
python: add input functions 4 years ago
nick black fd86da5530
kill_and_wait_subproc: no NULL siginfo_t for waiid() 4 years ago
nick black c8322e6cb1
ncfdplane: on non-following planes, break out on 0 read 4 years ago
nick black b34fa9be41
python: proper ncfdplane/ncsubproc decls 4 years ago
nick black 5132b5b2b5
ncsubproc: unify thread implementations #553 4 years ago
nick black 8feb01c7cc
rust: use ncplane_dim_{y|x} from libnotcurses-sys 4 years ago
nick black 0d38adc60a
rust: move inline replacements to libnotcurses-sys 4 years ago
nick black ff18138349
rust: ncplane_perimeter(), cells_rounded_box() 4 years ago
nick black 63f65a0902
rust: proper subslice in ncplane_putstr() 4 years ago
nick black a23efbb463
rigourize ncsubproc destruction
We need support three distinct paths for destruction of
ncsubprocs: (1) external call to ncsubproc_destroy() while
the subprocess is running, (2) external call to
ncsubproc_destroy() after the subprocess has terminated, and
(3) internal call to ncsubproc_destroy() without any external
call. To do this properly, we always waitid() on the subprocess
in our ncsubproc thread, and do not cancel said thread. This
guarantees that the subprocess has been reaped if the thread
has exited. We throw a pidfd_send_signal() into the thread
prior to the waitid(), because this is safe with pidfds. The
thread reclaims no resources otherwise. ncsubproc_destroy(),
instead, reclaims them, after joining the ncsubproc thread.
It sends SIGKILL before the join, which is once again safe
thanks to pidfds. Resolves #552.
4 years ago
nick black 6d0fb39458
python: add ncfdplane/ncsubproc decls 4 years ago
nick black c9088ff37b
subproc unit test rename 4 years ago
nick black 456c54e9bd
fds.3: detail usage of ncsubproc_destroy() #552 4 years ago
nick black 6e0fd72e33
proc/fileroller: don't call ncfdplane_destroy() from within callbacks 4 years ago
nick black ab2a57df1f
move notcurses spec to fedora packaging repo 4 years ago
nick black d54e2c3957
README: point to debian unstable package 4 years ago
nick black 433ff8a062
CHANGELOG note for notcurses_lex_margins() 4 years ago
nick black e156bd42be
plot: match delete, not free, with new 4 years ago
nick black 6a774afb27
canchangecolor: don't allow ccc if too few colors are supported #539 4 years ago
nick black 84107c547d
view: support -m argument for margins #551 4 years ago
nick black 6e8a0bebae
view: support -k to inhibit alternate screen #551 4 years ago
nick black 92ea6bac6f
fedora: blank line between changelog entries in specfile 4 years ago
nick black 4bee994c36
fedora: own /usr/share/notcurses 4 years ago
nick black 5072cbdf33
fedora: explicitly set 0755 on notcurses.py 4 years ago
nick black 6d500e8511
demo: for now, disable videos for OIIO 4 years ago
nick black 663eb73485
fedora: move binaries/data into notcurses-utils #548 4 years ago
nick black 0d8f5d1b92
notcurses_reset_stats(): allow NULL for second parameter 4 years ago
nick black 86b526bdcb
demo: reset stats following initialization #522 4 years ago
nick black c136d27bd5
oiio: use seek_subimage to find EOF #549 4 years ago
nick black 5210e410f4
visual unit test: use notcursesI.avi, which OIIO can decode #547 4 years ago
nick black 317aa5baef
demo: grey out unsupported demos, but list them #521 4 years ago
nick black 2ec797c70c
notcurses-demo: build all demos regardless of build type #521 4 years ago
nick black 86ec4af810
oiio: no need to perform explicit seek_subimage #547 4 years ago
nick black 294e8fd90a
subproc tests: pass outofline_cancelled through as curry 4 years ago
nick black 4fcd7edd1f
subprocs: exit() on dup() failure in child #537 4 years ago
nick black 288b841021
notcurses_fds.3 man page #546 4 years ago
nick black 559a45326c
notcurses_fds.3 man page #546 4 years ago
nick black 36bfa45d6c
notcurses-tester: fix double-free 4 years ago
nick black 30f8f02ccd
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 2f904449a7
drop -fkeep-inline-functions #543 4 years ago
nick black dcf262207b
notcurses-tetris.1: write up keys 4 years ago
nick black d4f71405d2
release-doc: remove unnecessary directive 4 years ago
nick black 18242d74a4
fedora: update DFSG GPG signature URI 4 years ago
nick black bfc243304c
document GBP steps for release 4 years ago
nick black 05753bd91a
v1.3.3 4 years ago
nick black 018e88f53b
README: don't undersell it 4 years ago
nick black 7d1e3c77c8 oiio: image scaling #535, subimages for video #536 4 years ago
nick black f4f58432b8 oiio: wrap raw data in an OIIO::ImageBuf #535 4 years ago
nick black 0a38cd6ff5
move usage ToC to USAGE.md 4 years ago