Commit Graph

1067 Commits

Author SHA1 Message Date
nick black
86ec4af810
oiio: no need to perform explicit seek_subimage #547 2020-04-28 02:22:47 -04:00
nick black
4fcd7edd1f
subprocs: exit() on dup() failure in child #537 2020-04-28 00:21:51 -04:00
nick black
559a45326c
notcurses_fds.3 man page #546 2020-04-27 19:11:00 -04:00
nick black
2f904449a7
drop -fkeep-inline-functions #543 2020-04-27 03:24:37 -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
fdf8c4544e
fallin: move falling planes to top of z-axis 2020-04-26 08:29:22 -04:00
nick black
9f211c75f9
rename jpeg -> jpg 2020-04-25 19:13:37 -04:00
nick black
f92a5805bd
pocroller/fileroller: destroy widgets 2020-04-25 17:55:59 -04:00
nick black
d904b2b8c1
scroll/cjkscroll: remove unused variables 2020-04-25 17:52:04 -04:00
nick black
84a635dd48
enmetric: use µ for micro 2020-04-25 17:35:06 -04:00
nick black
fd3df0a938
oiio: comment out unused vars in ncvisual_stream() 2020-04-25 16:07:26 -04:00
Nick Black
9a075ae5d0
Support image decoding with OpenImageIO #453 (#534)
* fedora: dep on OpenImageIO, and use it
* fedora: dep on libqrcodegen-devel
* fedora: BuildRequires OpenEXR-devel
* tight check on USE_MULTIMEDIA
* CMake: enable notcurses-view for ffmpeg OR oiio
* notcurses-view: don't reach into libav
* oiio: ncvisual_render() #453
* oiio: need our own properly-offset ncvisual_plane()
* `visual` poc: accept optional command line argument
* oiio: work for 3-channel images #453
* oiio: destroy ncvisual's plane if we own it #453
* notcurses_visual.3: s/FFmpeg/multimedia/g
2020-04-25 15:52:23 -04:00
nick black
642a687601 openimageio: extract version #453 2020-04-24 04:17:56 -04:00
nick black
3624953700 fallin': correct sense of ncvisual_decode() test 2020-04-24 04:17:56 -04:00
nick black
1d66f89032 ncvisual_stream: fix up ncerr assignment 2020-04-24 04:17:56 -04:00
nick black
5f42e06383 oiio: open and close image #453 2020-04-24 04:17:56 -04:00
nick black
0b4ada19b1 Remove AVFrame from API #532 2020-04-24 04:17:56 -04:00
nick black
21822f98e7 fix up averr->ncerr #532 2020-04-24 04:17:56 -04:00
nick black
2037cdfacb move libav.c to nc_err_e #532 2020-04-24 04:17:56 -04:00
nick black
ad0685aa1b switch to nc_err_e #532 2020-04-24 04:17:56 -04:00
nick black
5bae4f93b8 hide ffmpeg ncvisual definition 2020-04-24 04:17:56 -04:00
nick black
ddfa62db70 get USE_MULTIMEDIA differentiated 2020-04-24 04:17:56 -04:00
nick black
d81b3ef0cf start factoring out FFMpeg for OIIO plug #453 2020-04-24 04:17:56 -04:00
nick black
40aa5853c9
kill space 2020-04-23 05:11:58 -04:00
Nick Black
0e73b9d3d5
Floating-point ncplot, genericize ncplot (#531)
* compile ncplot as c++ generic #446
* add floating-point plots #446
2020-04-23 03:52:07 -04:00
nick black
12050a8ca7
ncsubproc: memset() clone_args rather than by-field 2020-04-22 15:04:51 -04:00
nick black
34629688d9
interpret NULL second argument to *_init() as stdout 2020-04-22 12:53:56 -04:00
nick black
7da3847b50
ncsubproc: get client exit notification #310 2020-04-21 10:14:17 -04:00
nick black
11c5aacb08
ncsubproc: move to big bad clone3() #310 2020-04-21 09:42:25 -04:00
nick black
16a336fd21
ncsubproc: tease apart from ncfdplane 2020-04-21 08:45:07 -04:00
nick black
2e8a6feb9e
FreeBSD wants exect(), not execvpe() 2020-04-21 07:06:01 -04:00
nick black
199a87c1fd
mbstr_find_codepoint: remove unnecessary cast 2020-04-21 06:59:06 -04:00
nick black
37aaa9c0e5
fill: don't include qrcodegen.h without USE_QRCODEGEN 2020-04-21 06:57:44 -04:00
nick black
023f06591e
ncsubproc: kill_and_wait_subproc() #310 2020-04-21 05:37:07 -04:00
nick black
3e853f6635
ncsubproc: map new pipe onto stdio #310 2020-04-21 03:51:54 -04:00
nick black
04f90fa1ea
ncsubproc: launch processes, make pipes
link to LWN article in History section of README.md.
2020-04-21 03:33:04 -04:00
nick black
ee15d4c1f4
new procroller PoC 2020-04-21 01:50:25 -04:00
Nick Black
fe8034b5e0
ncfdplane, fileroller PoC, ncfdplane unit tests, qrcodes #24 #514 (#524)
* first draft of ncsubproc spec
* qrcode first draft #24
* demo: add qrcode demo skeleton, entries #24
* qrcode demo #24
* fedora python build changes from @dcantrell
* ncplane_qrcode() works #24
* add some flash to the qrcode demo #24
* drone: use newest builders
* fix up rgb PoC
* drop jungle demo to 100Hz target
* add fd.c
* ncfd skeletons
* more ncfdplane #514
* ncfdp i/o loop
* ncfp: improve uinit test, write core
* firm up ncfdplane #514
* fileroller PoC #514
* ncplane: allow '\n' in stream when scrolling #523
2020-04-20 23:26:41 -04:00
nick black
6c131f4860
fallin': erase standard plane post-copy for non-FFmpeg builds #505 2020-04-19 23:36:15 -04:00
nick black
bcbd857706
demo: remove all uses of PATH_MAX #519 2020-04-19 20:11:08 -04:00
nick black
4823098316
Hurd: uint64_t is ULL, fix up printf format/constants #519 2020-04-19 20:03:33 -04:00
nick black
bc239077c2
demo: render immediately following menu creation #506 2020-04-18 19:42:09 -04:00
nick black
10643980fa
demo_getc_nblock() call in demo_render() #509 2020-04-18 19:11:18 -04:00
nick black
67100dc5e9
Process menu/HUD input in demo_nanosleep() #509 2020-04-18 17:55:49 -04:00
nick black
60e3e604a8
Handle fallout from reversion of Notcurses::render() semantic inversion (see #510) 2020-04-18 15:28:26 -04:00
nick black
80a1185529 whiteout: kill worm_thread, eliminate race #504 2020-04-18 12:52:18 -04:00
nick black
9fa52fcdef demo: move input handling into demo thread #504 2020-04-18 12:52:18 -04:00
Nick Black
1c7796a2b0
ncdirect_cursor_yx, ncdirect_cursor_pop, ncdirect_cursor_push #401 (#492)
* ncdirect_cursor_{push, pop, yx} declarations #401
* direct PoC: invoke ncdirect_cursor_yx() #401
* direct PoC: move to top of screen #401
* OTHERS.md: mention blessings
* ncdirect_cursor_yx working #401
* CHANGELOG: mention ncdirect_cursor_*() #401
2020-04-18 07:11:33 -04:00
Nick Black
c6a9997554
Normalize ncplane_at_* / ncplane_set_base() (#479)
* ncplane_at_* and ncplane_at_cursor_*

We had notcurses_at_yx() expanding into three distinct parts of
the cell structure, and ncplane_at_yx() / ncplane_at_cursor()
writing directly to a cell. It was annoying to remember which
was which. The latter two now have a signature matching
notcurses_at_yx(), while the old functionality has been moved
to ncplane_at_yx_cell() and ncplane_at_cursor_yx(). #476
2020-04-18 00:09:14 -04:00