Commit Graph

1770 Commits

Author SHA1 Message Date
nick black
b34fa9be41
python: proper ncfdplane/ncsubproc decls 2020-05-02 11:01:43 -04:00
nick black
5132b5b2b5
ncsubproc: unify thread implementations #553 2020-05-02 09:29:39 -04:00
nick black
8feb01c7cc
rust: use ncplane_dim_{y|x} from libnotcurses-sys 2020-05-02 08:23:48 -04:00
nick black
0d38adc60a
rust: move inline replacements to libnotcurses-sys 2020-05-02 08:13:15 -04:00
nick black
ff18138349
rust: ncplane_perimeter(), cells_rounded_box() 2020-05-02 08:04:13 -04:00
nick black
63f65a0902
rust: proper subslice in ncplane_putstr() 2020-05-02 07:17:17 -04:00
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.
2020-05-02 04:34:37 -04:00
nick black
6d0fb39458
python: add ncfdplane/ncsubproc decls 2020-05-02 03:49:43 -04:00
nick black
c9088ff37b
subproc unit test rename 2020-05-02 03:49:16 -04:00
nick black
456c54e9bd
fds.3: detail usage of ncsubproc_destroy() #552 2020-05-02 03:47:18 -04:00
nick black
6e0fd72e33
proc/fileroller: don't call ncfdplane_destroy() from within callbacks 2020-05-02 03:33:30 -04:00
nick black
ab2a57df1f
move notcurses spec to fedora packaging repo 2020-04-30 16:09:59 -04:00
nick black
d54e2c3957
README: point to debian unstable package 2020-04-30 01:14:42 -04:00
nick black
433ff8a062
CHANGELOG note for notcurses_lex_margins() 2020-04-29 05:44:22 -04:00
nick black
e156bd42be
plot: match delete, not free, with new 2020-04-29 05:32:08 -04:00
nick black
6a774afb27
canchangecolor: don't allow ccc if too few colors are supported #539 2020-04-29 04:19:16 -04:00
nick black
84107c547d
view: support -m argument for margins #551 2020-04-29 03:24:11 -04:00
nick black
6e8a0bebae
view: support -k to inhibit alternate screen #551 2020-04-29 03:08:21 -04:00
nick black
92ea6bac6f
fedora: blank line between changelog entries in specfile 2020-04-28 23:56:57 -04:00
nick black
4bee994c36
fedora: own /usr/share/notcurses 2020-04-28 23:14:52 -04:00
nick black
5072cbdf33
fedora: explicitly set 0755 on notcurses.py 2020-04-28 23:12:15 -04:00
nick black
6d500e8511
demo: for now, disable videos for OIIO 2020-04-28 23:05:32 -04:00
nick black
663eb73485
fedora: move binaries/data into notcurses-utils #548 2020-04-28 22:37:29 -04:00
nick black
0d8f5d1b92
notcurses_reset_stats(): allow NULL for second parameter 2020-04-28 21:57:04 -04:00
nick black
86b526bdcb
demo: reset stats following initialization #522 2020-04-28 21:56:51 -04:00
nick black
c136d27bd5
oiio: use seek_subimage to find EOF #549 2020-04-28 21:32:22 -04:00
nick black
5210e410f4
visual unit test: use notcursesI.avi, which OIIO can decode #547 2020-04-28 21:23:36 -04:00
nick black
317aa5baef
demo: grey out unsupported demos, but list them #521 2020-04-28 21:09:42 -04:00
nick black
2ec797c70c
notcurses-demo: build all demos regardless of build type #521 2020-04-28 17:46:41 -04:00
nick black
86ec4af810
oiio: no need to perform explicit seek_subimage #547 2020-04-28 02:22:47 -04:00
nick black
294e8fd90a
subproc tests: pass outofline_cancelled through as curry 2020-04-28 00:27:07 -04:00
nick black
4fcd7edd1f
subprocs: exit() on dup() failure in child #537 2020-04-28 00:21:51 -04:00
nick black
288b841021
notcurses_fds.3 man page #546 2020-04-27 19:11:11 -04:00
nick black
559a45326c
notcurses_fds.3 man page #546 2020-04-27 19:11:00 -04:00
nick black
36bfa45d6c
notcurses-tester: fix double-free 2020-04-27 07:16:49 -04:00
nick black
30f8f02ccd
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-04-27 03:24:42 -04:00
nick black
2f904449a7
drop -fkeep-inline-functions #543 2020-04-27 03:24:37 -04:00
nick black
dcf262207b
notcurses-tetris.1: write up keys 2020-04-27 00:36:54 -04:00
nick black
d4f71405d2
release-doc: remove unnecessary directive 2020-04-26 22:46:43 -04:00
nick black
18242d74a4
fedora: update DFSG GPG signature URI 2020-04-26 21:56:23 -04:00
nick black
bfc243304c
document GBP steps for release 2020-04-26 21:38:32 -04:00
nick black
05753bd91a
v1.3.3 2020-04-26 21:25:23 -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
f4f58432b8 oiio: wrap raw data in an OIIO::ImageBuf #535 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
fdf8c4544e
fallin: move falling planes to top of z-axis 2020-04-26 08:29:22 -04:00
nick black
1d2bd97c3d
fedora: correct data target directory, sheesh 2020-04-25 19:31:51 -04:00
nick black
c129eb1680
fedora: fix up -data description 2020-04-25 19:22:53 -04:00