Commit Graph

466 Commits

Author SHA1 Message Date
nick black
44da49d351
ncvisual: free up the oframe #241 2020-01-01 07:25:39 -05:00
nick black
e05ec51629
ncvisual: fix the major memory leak in streaming #241 2020-01-01 07:18:25 -05:00
nick black
bc1f9bfb43
ncvisual: free up image alloc #241 2020-01-01 07:07:45 -05:00
nick black
9fdee8f672
xray: kill obsolete FIXME and static 2020-01-01 06:48:49 -05:00
Nick Black
2fbc94e41c
Higher planes obliterate bisected wide glyphs #158 (#243)
* higher planes stomp wide glyphs
* broken unit test
* develop out widestomp PoC
* fix notcurses_at_yx()
* fix up dig_visible_cell() return value
* refuse wide glyph on last column #242
* set adjacent cell wide when rendering #158
* xray: eliminate weird color flicker
* witherworm: don't eat wide glyphs
* unit test for boxed glyph
* uniblock: no need to emit so many U+200Es
* witherworm: remove wide glyph hack
2020-01-01 06:41:19 -05:00
nick black
48177b8474
implement notcurses_at_yx() 2019-12-31 21:30:20 -05:00
nick black
35aa7f6e85
move cell_egc_copy() to internal.h 2019-12-31 21:29:57 -05:00
nick black
bdcea181a2
don't sleep without defined interval #224 2019-12-30 07:55:50 -05:00
nick black
e03653b964
fix libav when DISABLE_FFMPEG is used 2019-12-30 07:04:07 -05:00
nick black
99541cc036
pull out terminfo's cub1 2019-12-30 07:03:46 -05:00
nick black
32ff214be2
update demos for ncplane_aligned #237 2019-12-30 02:43:33 -05:00
nick black
2ea4f77875
introduce ncplane_aligned() #237 2019-12-30 02:28:40 -05:00
nick black
8926fc5879
cursor: always get cnorm/civis defs #240 2019-12-30 01:50:43 -05:00
nick black
7d4f9b5231 witherworm: message 2019-12-30 01:10:10 -05:00
nick black
bcd12279c0 ncvisual: handle plane resize #169 2019-12-30 01:10:10 -05:00
nick black
ed980f1059 pull _get from all accessors 2019-12-30 01:10:10 -05:00
nick black
014afa348b rename ncplane default -> base #236 2019-12-30 01:10:10 -05:00
nick black
d5748c634d ncvisual: keep duration sum for better sync #113 2019-12-29 23:28:14 -05:00
nick black
707862507d use video pts when available #113 2019-12-29 23:28:14 -05:00
nick black
c21a04137c curry a void* through ncvisual_stream #113 2019-12-29 23:28:14 -05:00
nick black
41153e3c7e notcurses-view: rewrite using ncvisual_stream #113 2019-12-29 23:28:14 -05:00
nick black
db8b99d594
notcurses_render: simplify using new alpha rules 2019-12-29 19:37:24 -05:00
nick black
c0126b3389
maxcolor: add a legend for transparencies 2019-12-29 19:29:46 -05:00
nick black
924d80f0d5
don't blend default colors #235 2019-12-29 17:49:38 -05:00
nick black
46b1b8e622
notcurses_stats man page #213 2019-12-29 03:24:32 -05:00
nick black
21c3861804
s/bannner/banner/g, heh 2019-12-28 18:37:44 -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
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
38ace7677f
build man pages properly #213 2019-12-27 08:01:15 -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
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
bd034c983a input: handle modifiers+mouse (alt, shift, ctrl) #226 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