Commit Graph

626 Commits

Author SHA1 Message Date
nick black
b7f54e6e5f remove now-obsolete performance note :) #131 2019-12-27 20:27:12 -05:00
nick black
e9890eefc0 general foreground elision #131 2019-12-27 20:27:12 -05:00
nick black
5b322add56 glyph-based background spec elision #131
When we emit a glyph that has no background pixels (i.e.
the U+2588 FULL BLOCK glyph), there's no need to emit a
background color change.

Eagle demo currently has hand-coded elision. Results from
80x70 runs using the `-c` parameter:

No optimization: 12.63MiB
Hand-optimized: 12.48MiB
New scheme, no hand-coded optimization: 12.45MiB

w00t!
2019-12-27 20:27:12 -05:00
nick black
113a8f8f62 tests: fix up -p 2019-12-27 20:01:46 -05:00
nick black
f024cee3a1
unittests: support -p argument #218 2019-12-27 17:43:24 -05:00
Nick Black
ce2a390b52
Out with googletest, in with doctest #202 (#231)
* introduce doctest over googletest #202
* call dtester in in targets
* doctest conversion #202
* channel.cpp -> doctest #202
* egcpool tests -> doctest #202
* input tests to doctester
* zaxis -> doctest
* drone: always define LANG
* libav to doctest #202
* panelreel tests to doctest #202
* spec that a C++17 compiler is now required for doctest #202
* enmetric tests -> doctest #202
* fade tests -> doctest #202
* notcurses test case -> doctest #202
* last conversion to doctest #202
* finish move to doctest #202
* drone: set up make test
2019-12-27 17:20:20 -05:00
nick black
d4caefc55d
fade: throw a 10ms cap in, improves visual and lessens load 2019-12-27 10:41:49 -05:00
nick black
148114c6ca
rewrite term_esc_rgb for ~8% more FPS 2019-12-27 09:55:06 -05:00
nick black
38cff7e54f
man pages #213 2019-12-27 08:35:16 -05:00
nick black
4ce774ba13
man pages: fix install #213 2019-12-27 08:20:48 -05:00
nick black
e05bde3d5a
gimme a bit of top-level man page 2019-12-27 08:16:13 -05:00
nick black
38ace7677f
build man pages properly #213 2019-12-27 08:01:15 -05:00
nick black
cad8471d76
build man pages using ronn 2019-12-27 07:36:42 -05:00
nick black
66057e0363
eliminate most uniglyphs from unit tests #196 2019-12-27 05:47:24 -05:00
nick black
8a8e297835
fix horrible cmake mistake ugh 2019-12-27 05:27:51 -05:00
nick black
f6aebe55a7
libav: fix unit test for DISABLE_FFMPEG case 2019-12-27 05:20:23 -05:00
nick black
132793211c
capabilities testing for fade/ffmpeg 2019-12-27 05:13:29 -05:00
nick black
3544bd86e2
witherworm: don't hide chars below message 2019-12-27 04:33:11 -05:00
nick black
fe0c18d5e4
disable eventfd in panelreel demo for now #196 2019-12-27 03:51:07 -05:00
nick black
bf49db1ae4
FreeBSD: guard all uses of _unlocked #196 2019-12-27 03:46:39 -05:00
nick black
90f750dec8
eagle: remove direct libav calls 2019-12-27 03:35:36 -05:00
nick black
af7cf118a9 HUD: properly initialize backchannel 2019-12-27 03:23:42 -05:00
nick black
37a45955ad
FreeBSD: declare array explicitly 2019-12-27 02:49:17 -05:00
nick black
09aa606281 FreeBSD: no CLOCK_MONOTONIC_RAW #196 2019-12-27 02:48:13 -05:00
nick black
caf7e41737 need struct AVFrame for sans-libav build 2019-12-27 02:48:13 -05:00
nick black
430a321557 don't import av headers in non-ffmpeg build 2019-12-27 02:48:13 -05:00
nick black
b2acb31c0b freebsd: get SIGWINCH/ppoll #196 2019-12-27 02:48:13 -05:00
nick black
f1453d106e freebsd: fix attribute ordering 2019-12-27 02:48:13 -05:00
nick black
cf2712ec6d no-ffmpeg: don't try to define _view() 2019-12-27 02:48:13 -05:00
nick black
bd034c983a input: handle modifiers+mouse (alt, shift, ctrl) #226 2019-12-27 02:48:13 -05:00
nick black
b9a10cad9f README: make it clear that libav is optional 2019-12-27 02:48:13 -05:00
nick black
1cc100cd2d UMOK: get endgame working once more 2019-12-27 02:48:13 -05:00
nick black
fb0e03fe89 UMOK: fadecb for faders #162 2019-12-27 02:48:13 -05:00
nick black
a218851acb sweet-ass stats in HUD #162 2019-12-27 02:48:13 -05:00
nick black
91a00b3400 ULTRAMEGAOK: feed the HUD #162 2019-12-27 02:48:13 -05:00
nick black
9402d7e927 HUD: click on X to close HUD 2019-12-27 02:48:13 -05:00
nick black
ee99eb53c3 HUD: throw a close-X on the hud 2019-12-27 02:48:13 -05:00
nick black
b13da606f6 whiten and shrink HUD 2019-12-27 02:48:13 -05:00
nick black
7f82ac6f16 ULTRAMEGAOK: mouse-moveable HUD #162 2019-12-27 02:48:13 -05:00
nick black
6ffbe195cc
man: fix up groff syntax 2019-12-25 11:59:30 -05:00
nick black
f99810f900
v0.9.3 2019-12-25 11:55:40 -05:00
nick black
24350ed51e
get everybody read for 0.9.3 2019-12-25 11:55:07 -05:00
nick black
13b376f94f
panelreels: fix logic error at bottom #222 2019-12-25 11:45:42 -05:00
nick black
7906989582
kill obsolete FIXME 2019-12-25 10:45:22 -05:00
nick black
4e841865b3
panelreel-tester: accept offset arguments #180 2019-12-25 10:38:13 -05:00
nick black
770cdf4773
panelreel: plug up hole at the bottom #220 2019-12-25 10:22:07 -05:00
Nick Black
4571b57ece
Rust/FreeBSD (#221)
* rust bindings
* update release documentation with Rust info
* panelreel tester: accept command-line options#180
* input: char32_t not wchar_t in output
* freebsd compilation issues #196
2019-12-25 10:11:24 -05:00
nick black
4d877603c3
maxcolor: fix direction switch 2019-12-25 06:55:15 -05:00
Nick Black
63ada9289c
Implement CELL_ALPHA_BLEND, improve transparency semantics #191 (#219)
* channels_blend() introduced
* implement CELL_ALPHA_BLEND #191
* maxcolor demo: slidingpanel
* much improved transparency semantics #191
* maxcolor: show all transparencies #191
2019-12-25 06:36:35 -05:00
nick black
4b6063e1ce sliders: fix timing 2019-12-25 02:24:10 -05:00