Commit Graph

7998 Commits (489a36d29102a67b129d8dbe13ed3346b30b0396)
 

Author SHA1 Message Date
nick black eb53f420b1 handle resizes gracefully when rendering/fading #105 5 years ago
nick black c5ecc28ca1 remove resize check from demo core #105 5 years ago
Nick Black 6f9b1e0379
Locking #82 (#106)
* remove unused simple_gcluster_p()
* detail statistics
* add byte statistics on rendering
* lock around notcurses_render() #82
* lock nc in notcurses_putc() #82
* lock ncplane_styles() and friends #82
5 years ago
nick black 82c5b96f92
remove obsolete assert from panelreels #91 5 years ago
nick black d8e3cc9675
lol, whoops, don't render twice each call :D 5 years ago
nick black 08d4765dc4
enforce utf-8 encoding via nl_langinfo check #89 5 years ago
nick black f0e81ea814
widecolors: make everything a bit more visible on small screens 5 years ago
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
5 years ago
nick black e21594b4e9
ncplane_*_box_cells() -> cells_*_box() #97 5 years ago
nick black ccbdfcd499
summarize emission/elision rates on exit 5 years ago
nick black 5554b3fccb
persist elision/emission stats, expose them in API 5 years ago
nick black d09029f7f4
use -std=c11 not -std=gnu11 5 years ago
nick black 1ebfb2c9e3
enable -DFORTIFY_SOURCE=2 for all code 5 years ago
nick black f83987711c
silence -Wmaybe-uninitialized through ...whitespace? :/ 5 years ago
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.
5 years ago
nick black f7437d2e68
avast, scurvy dog 5 years ago
nick black c70bc7b2a4
slider-demo: work atop a background 5 years ago
nick black f6b70fd839
prep for 0.4.0 5 years ago
nick black a17ed83be8
v0.3.0 5 years ago
nick black 415e238b3d transparent planes #10 5 years ago
nick black 2aadd096c0 lookin' good atl 5 years ago
nick black 738c590bfd
fix up outro 5 years ago
nick black be5ce9051d
outro 5 years ago
nick black 957af8151e view-demo: add video element 5 years ago
nick black 94e52d4acc respect default mode in fadein #40 5 years ago
nick black 0e4080456c fade unit tests #40 5 years ago
nick black 966239747c add ncplane_fadein() #40 5 years ago
nick black 02b30c822e fix cel_rgb_get[bf]b() #40 5 years ago
nick black 4426ef0574 first go at ncplane_fadeout() #40 5 years ago
nick black 055f49b5fd sliding-demo: animate moves #72 5 years ago
nick black 570b42b78b sliders-demo: factor out move_square() #72 5 years ago
Nick Black 9f4fa94209
Use halfblocks to double vertical resolution of media (#98)
halfblocks vertical, w00t #88
5 years ago
nick black 383895e404
notcurses-view: much more accurate timing 5 years ago
nick black b882fe4e40
poll() on write() EAGAIN 5 years ago
nick black 1dc254396b
comment back out debugging cruft 5 years ago
nick black 296663717c
uniblock: erase screen each time 5 years ago
nick black 148a206c7e install all test data 5 years ago
nick black b59d9c633f video works all the way now :D #94 5 years ago
nick black 56e637d006 motherfucking video #94 5 years ago
nick black 19e1b3ac94
widecolor-demo: fix up right bar of handle 5 years ago
nick black 78e1a06661
view-demo: do both a jpeg and png test 5 years ago
nick black 999f33a2ee
0.3.0-pre 5 years ago
nick black 82fbe16556
v0.2.0 5 years ago
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
5 years ago
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
5 years ago
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!
5 years ago
nick black 326e93fee1 debian: install data files for notcurses-demo 5 years ago
nick black 627be30e1c install test png 5 years ago
nick black a9f54ed483 add viewdemo #86 5 years ago
nick black 860fb43e3f ncvisual_render(): respect alpha channel 5 years ago