Commit Graph

7469 Commits

Author SHA1 Message Date
nick black
055f49b5fd sliding-demo: animate moves #72 2019-12-02 03:44:11 -05:00
nick black
570b42b78b sliders-demo: factor out move_square() #72 2019-12-02 03:44:11 -05:00
Nick Black
9f4fa94209
Use halfblocks to double vertical resolution of media (#98)
halfblocks vertical, w00t #88
2019-12-02 01:55:25 -05:00
nick black
383895e404
notcurses-view: much more accurate timing 2019-12-02 00:25:08 -05:00
nick black
b882fe4e40
poll() on write() EAGAIN 2019-12-01 23:56:24 -05:00
nick black
1dc254396b
comment back out debugging cruft 2019-12-01 23:40:18 -05:00
nick black
296663717c
uniblock: erase screen each time 2019-12-01 23:37:58 -05:00
nick black
148a206c7e install all test data 2019-12-01 22:58:35 -05:00
nick black
b59d9c633f video works all the way now :D #94 2019-12-01 22:58:35 -05:00
nick black
56e637d006 motherfucking video #94 2019-12-01 22:58:35 -05:00
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