Commit Graph

5859 Commits

Author SHA1 Message Date
nick black
19e1b3ac94
widecolor-demo: fix up right bar of handle 2019-12-01 21:14:41 -05:00
nick black
78e1a06661
view-demo: do both a jpeg and png test 2019-12-01 21:03:03 -05:00
nick black
999f33a2ee
0.3.0-pre 2019-12-01 20:56:42 -05:00
nick black
82fbe16556
v0.2.0 2019-12-01 20:45:52 -05:00
Nick Black
8b0634527d
Correctly copy in shrink + SIGWINCH (#80) (#93)
* notcurses_resize(): properly set new lenx/leny #80
* ppoll() for SIGWINCH #80
* widecolor-demo: keystroke-driven
2019-12-01 20:26:25 -05:00
Nick Black
0b967ae528
More panelreels work #52 (#92)
* setup_signals: handle SIGSEGV with restore

* wresize(): fix keep parameter to ncplane_resize() #52

* ncplane_resize: set new lenx/leny on keep #80

* hrmrmm

* ncplane_resize(): fix numerous confusions

* panelreel-demo: don't allow us to go off the left edge

* panelreel: place tablets correctly #52

* panelreel: set background on focused element
2019-12-01 19:31:00 -05:00
Nick Black
426f632300
Panelreels port #52 (#90)
Port of panelreels, unit tests, and panelreel-demo from outcurses #52.
Doesn't completely work yet, but is surprisingly close!
2019-12-01 17:48:38 -05:00
nick black
326e93fee1 debian: install data files for notcurses-demo 2019-12-01 15:29:59 -05:00
nick black
627be30e1c install test png 2019-12-01 15:29:59 -05:00
nick black
a9f54ed483 add viewdemo #86 2019-12-01 15:29:59 -05:00
nick black
860fb43e3f ncvisual_render(): respect alpha channel 2019-12-01 15:29:59 -05:00
nick black
52c309093a update cell API 2019-12-01 15:29:59 -05:00
nick black
36ed25fb46 fix cell_fg_default() and cell_bg_default() 2019-12-01 15:29:59 -05:00
nick black
3ede80f47f libav: keep the alpha channel, AV_PIX_FMT_RGBA 2019-12-01 15:29:59 -05:00
nick black
7600b9ed54 libav: come correct #86 2019-12-01 15:29:59 -05:00
nick black
634c54776f libav: set up oframe beyond scale #86 2019-12-01 15:29:59 -05:00
nick black
8e9ed2b8a1 libav tests: check dimensions 2019-12-01 15:29:59 -05:00
nick black
3906357e4e that's an image! #86 2019-12-01 15:29:59 -05:00
nick black
28fac736bb notcurses-view: stop() before printing error
implement ncvisual_render()
2019-12-01 15:29:59 -05:00
nick black
d106ebf0d3 libav: check for AVERROR_EOF #86 2019-12-01 15:29:59 -05:00
nick black
531340a145 libav: return averr to caller #86 2019-12-01 15:29:59 -05:00
nick black
fb37f8351f CMake: use proper LIBRARY_DIRS when linking notcurses.so #86 2019-12-01 15:29:59 -05:00
nick black
fd79c86880 av: get height/width #86 2019-12-01 15:29:59 -05:00
nick black
40ed1f1896 print_frame_summary(), let's figure out what the fuck we're doing #86 2019-12-01 15:29:59 -05:00
nick black
684d9f66fe egcpool: fix corruption #59 2019-12-01 02:22:13 -05:00
nick black
3b5aee09a9 widechar-demo: spacing 2019-12-01 02:22:13 -05:00
nick black
8e96c2d78e ncplane backgrounds: render and use i nsliding-demo #69 2019-12-01 02:22:13 -05:00
nick black
c2f377d599 ncplane_background()/ncplane_set_background() #69 2019-12-01 02:22:13 -05:00
nick black
b993360f53 add ncplane API 2019-12-01 02:22:13 -05:00
Nick Black
a7d50b557d
ncplane_at_cursor (#76), CCCflag, nonblocking stdin (#78) (#84)
* put stdin into nonblocking mode, retry on short write to stdout #78
* wrap getc_blocking() around a poll #78
* get CCCflag from terminfo. stop clearing the screen in render/startup
* implement ncplane_at_cursor() #76
* ncplane_at_cursor() unit test for simples #76
* PlaneAtCursorComplex unit test #76
* PlaneAtCursorInsane() unit test #76
* nplane_at_cursor: return number of bytes, not just 0/-1
* uniblock-demo: add a bunch of pages from Unicode 12
* demo: make -d delay multiplier a float
* egcpool: check offset against poolsize in check_validity()
* notcurses_init(): set smkx/rmkx to NULL with pass_through_esc
* PlaneAtCursorAttrs unit test #76
* add ncplane_styles() accessor
2019-11-30 22:53:24 -05:00
nick black
0cb1c24622
debian: mention notcurses-view and notcurses-input 2019-11-30 18:53:11 -05:00
nick black
020f712e40
ncplane_create: NULL out userptr on creation 2019-11-30 10:37:45 -05:00
nick black
28ac1e7498 environment/emulator notes 2019-11-29 05:55:41 -05:00
nick black
9fe6c152a9 enhance SetStyles unit test 2019-11-29 05:55:41 -05:00
nick black
5e35e05151 render: don't send unnecessary color change sequences #47 2019-11-29 05:55:41 -05:00
nick black
4cc0ce037d read terminfo entries for keypad #78 2019-11-29 05:55:41 -05:00
nick black
6a5c21cacd demo: accept -f, open argument for renderfp 2019-11-29 05:55:41 -05:00
nick black
b3c6f9232a add renderfp option to render to a file 2019-11-29 05:55:41 -05:00
nick black
8c6d0495ee
input: decode special keys, call notcurses_resize() #79 2019-11-29 03:56:53 -05:00
nick black
e391bfbb81
input: add pass_through_esc option, otherwise run smkx #78 2019-11-29 03:26:37 -05:00
nick black
8fe19262f4
document notcurses_getc() #8 2019-11-29 01:58:45 -05:00
nick black
cb60c11f09
input: factor out handle_getc(), export cell_simple_p() #8 2019-11-29 01:53:36 -05:00
nick black
51a86ece7b
input: print keypresses #8 2019-11-29 01:22:38 -05:00
nick black
c76735cb2a
notcurses_getc(): read from stdin 2019-11-29 01:17:35 -05:00
nick black
a037cdfe5a
add new notcurses-input binary #8 2019-11-29 00:20:30 -05:00
nick black
b3a0b2ed6b
list ffmpeg deps 2019-11-28 22:34:55 -05:00
nick black
5f3a12bc63
pre-0.2.0 2019-11-28 22:32:49 -05:00
nick black
c6da5d5e7a
v0.1.0 2019-11-28 22:23:00 -05:00
nick black
c5157dbe54
a few more changes to release guide 2019-11-28 22:22:44 -05:00
nick black
f68c2e548d
Merge branch 'master' of github.com:dankamongmen/notcurses 2019-11-28 22:21:43 -05:00