nick black
08d4765dc4
enforce utf-8 encoding via nl_langinfo check #89
2019-12-03 20:26:54 -05:00
nick black
f0e81ea814
widecolors: make everything a bit more visible on small screens
2019-12-03 19:16:05 -05:00
Nick Black
8e8cb92c54
Improved cell API #97 ( #103 )
...
* cell/ncplane: simplify box API (#97 )
* widecolor: use new box api (#97 )
* uniblock: use new box API #97
* intro: use new box api #97
* panelreel: use new box api
* boxdemo: use new box API #97
* sliding: use new box API #97
* maxcolor: use new box api #97
* factor out notcurses_channel_prep() #97
* maxcolor: use new channel API #97
* sliding: use new channel API #97
* intro: use new channel API #97
* new output functions with no need for a cell
* add ncplane_putegc() and ncplane_putsimple(). the former takes an EGC, the latter a simple char less than 0x80. (#97 )
* cell_prime: directly load all parts of a cell with immediates
* widecolor: use new output API #97
* boxdemo: properly initialize cells
* slider: total time cap of 5 * delaydemo
* maxcolor: use new output API #97
2019-12-03 18:40:41 -05:00
nick black
e21594b4e9
ncplane_*_box_cells() -> cells_*_box() #97
2019-12-03 14:29:48 -05:00
nick black
ccbdfcd499
summarize emission/elision rates on exit
2019-12-03 14:19:46 -05:00
nick black
5554b3fccb
persist elision/emission stats, expose them in API
2019-12-03 14:08:26 -05:00
nick black
d09029f7f4
use -std=c11 not -std=gnu11
2019-12-03 13:31:04 -05:00
nick black
1ebfb2c9e3
enable -DFORTIFY_SOURCE=2 for all code
2019-12-03 13:26:49 -05:00
nick black
f83987711c
silence -Wmaybe-uninitialized through ...whitespace? :/
2019-12-03 12:26:45 -05:00
nick black
35badf8ae7
panelreel: fix some NULL dereferences
...
ncurses getbegy() and friends, as it turns out, check for
a NULL input and return -1. we've been blindly passing
NULL in a few places on the ncurses side--with its own
problems--but that rapidly led to crashes here.
2019-12-03 03:21:51 -05:00
nick black
f7437d2e68
avast, scurvy dog
2019-12-02 10:39:48 -05:00
nick black
c70bc7b2a4
slider-demo: work atop a background
2019-12-02 07:20:47 -05:00
nick black
f6b70fd839
prep for 0.4.0
2019-12-02 06:02:03 -05:00
nick black
a17ed83be8
v0.3.0
2019-12-02 05:52:53 -05:00
nick black
415e238b3d
transparent planes #10
2019-12-02 05:49:13 -05:00
nick black
2aadd096c0
lookin' good atl
2019-12-02 05:49:13 -05:00
nick black
738c590bfd
fix up outro
2019-12-02 05:48:46 -05:00
nick black
be5ce9051d
outro
2019-12-02 05:42:10 -05:00
nick black
957af8151e
view-demo: add video element
2019-12-02 03:44:11 -05:00
nick black
94e52d4acc
respect default mode in fadein #40
2019-12-02 03:44:11 -05:00
nick black
0e4080456c
fade unit tests #40
2019-12-02 03:44:11 -05:00
nick black
966239747c
add ncplane_fadein() #40
2019-12-02 03:44:11 -05:00
nick black
02b30c822e
fix cel_rgb_get[bf]b() #40
2019-12-02 03:44:11 -05:00
nick black
4426ef0574
first go at ncplane_fadeout() #40
2019-12-02 03:44:11 -05:00
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