nick black
fe7704919f
[ncman] reset alt signal stack after free()
2021-12-05 22:23:47 -05:00
nick black
9190d3bdfa
[signals] use an alternate signal stack #2424
2021-12-05 22:05:03 -05:00
nick black
91111cdb58
[ncchannels_reverse] don't generate illegal alpha+color states #2421
2021-12-04 06:27:38 -05:00
nick black
6c4c16465b
[xray] show only 1% of dropped frames
2021-12-04 03:54:44 -05:00
nick black
1c93a5ff45
[palette] rename unit tests, add some CHECKs
2021-12-04 03:54:30 -05:00
nick black
6f3ba8c3dd
utf8_to_egc: cast wchar_t to unsigned for logging
2021-12-04 02:55:53 -05:00
nick black
6080de837a
[ncplane_putc_yx] copy egc to avoid invalidation
...
ncplane_putc_yx() calls ncplane_put() using an EGC extracted
from its nccell argument. The very act of writing that cell
to the plane, however, can grow the plane's underlying EGCpool,
possibly invalidating this reference. This was showing up as
a unit test failure on macOS, and was hopefully also the cause
of unit test failures on Alpine i686. Do a quick heap copy of
the EGC in ncplane_putc_yx(), and free it after writing to the
plane. Shouldn't cost anything (there was no measurable
impact in my testing). Closes #2420 .
2021-12-04 01:03:13 -06:00
nick black
418aad1e45
reenable PlaneAtCursorInsane unit test on apple
2021-12-04 00:22:43 -06:00
nick black
c49d3b1e02
enable RightToLeft test on apple
2021-12-04 00:18:21 -06:00
nick black
4513d36978
enable MultiglyphWidth test on apple
2021-12-04 00:16:24 -06:00
nick black
a7db3b88fe
Use samoa.avi instead of fm6.mov in unit test
...
On DFSG builds, we don't have fm6.mov available to us,
so use samoa.avi (of my own construction) instead.
2021-12-03 23:27:54 -05:00
nick black
52c40cbca5
[notcurses.3] document all environment variables
2021-12-03 20:04:46 -05:00
nick black
d98eb2a454
grunt #2416
2021-12-02 09:31:58 -05:00
nick black
4a4bec5078
[demo] bring sham jungle definition up to date #2416
2021-12-02 08:21:24 -05:00
nick black
04489e179a
[ncneofetch] properly place palette plane
2021-12-02 08:09:23 -05:00
nick black
b57d6eb8d8
notcurses_data_path: allow overrides
2021-12-02 04:32:47 -05:00
nick black
16c9e9f101
[ncneofetch] fix display when no logo is found
2021-12-02 04:11:30 -05:00
nick black
a4bc4e1897
[windows] fall back to NOTCURSES_SHARE
2021-12-02 03:53:17 -05:00
nick black
46114adb57
oiio_decode_loop: fix sense of seek_subimage() test #2402
2021-12-02 03:31:11 -05:00
nick black
7925df32cc
[ncneofetch] use notcurses_data_path() #2402
2021-12-02 03:08:08 -05:00
nick black
238de45e96
[nctetris] find the background everywhere #2042
2021-12-02 03:06:39 -05:00
nick black
7351b2aff6
[oiio] plug memory leak in oiio_destroy, thanks ASAN! #2402
2021-12-02 02:44:38 -05:00
nick black
e9d299c139
[ncneofetch] clear area to left and right of palettebox
2021-12-02 02:21:21 -05:00
nick black
cf36985c69
block_on_input: pass HANDLE** #2402
2021-12-02 02:02:01 -05:00
nick black
caaeec5094
Place ncneofetch properly ( #2415 )
...
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
2021-12-02 01:45:49 -05:00
nick black
771f2e1fb6
[ncplane_scrollup_child] need move to physical scroll location #2378
2021-12-01 21:11:01 -05:00
nick black
4ef8b53602
[ncneofetch] handle palette size not a multiple of showel
2021-12-01 21:11:01 -05:00
nick black
5cd85ca367
[ncneofetch] when in utf8, use half blocks for palette
2021-12-01 21:11:01 -05:00
nick black
3ffe7ac12c
kittykbdsupport bool distinct from kbdlevel, use in notcurses-info #2412
2021-12-01 15:02:51 -05:00
nick black
69b2b3d274
never send keyboard level changes with DRAININPUT #2412
2021-12-01 14:52:09 -05:00
nick black
dae138c7d0
[ncneofetch] only render once #2378
2021-11-30 12:14:16 -05:00
nick black
2a636e3d9d
windows compile fixup erp
2021-11-30 11:37:42 -05:00
nick black
879a79f001
milt!
2021-11-30 11:28:37 -05:00
nick black
fb33ea39c1
[windows] don't drain the input readiness pipe #2408
2021-11-30 11:14:39 -05:00
joseLuís
b1f636a2d9
[docs] rename plane/visual sections to regions
2021-11-30 15:39:58 +01:00
nick black
a4d7bd5670
[TERMINALS.md] document PuTTY settings #1298
2021-11-30 09:01:16 -05:00
nick black
48b124f82b
legacy_cb_f3 conflicts with cursor location report, dump it
2021-11-30 08:23:16 -05:00
nick black
bce181a0d9
[ncneofetch] handle NULL from notcurses_data_dir()
2021-11-30 06:55:09 -05:00
nick black
538dff91ba
[input] provide utf8 form in ncinput
2021-11-30 04:27:46 -05:00
nick black
62f694dfa3
extract_color_table: get cell-pixel geometry from bargs #2404
2021-11-30 02:56:23 -05:00
nick black
e57720ef51
[Stacking] fix unit test
2021-11-30 02:03:09 -05:00
nick black
6c5bc6b396
[rendercore] on fg elide, persist previous fg rgb
2021-11-30 02:03:09 -05:00
nick black
ffc5993eec
[rendercore] drop diagnostic
2021-11-30 02:03:09 -05:00
nick black
1be43cb54a
[rendercore] omit fg on rgbequal #1316
2021-11-30 02:03:09 -05:00
nick black
0761994abb
mark some string literals as utf8
2021-11-30 02:03:09 -05:00
nick black
dc527439d4
[rendercore] cleanup, drop 'alttext', add 'noforeground'
2021-11-30 02:03:09 -05:00
nick black
7a91a2f905
normalize cell initializer names (prefix with NC)
2021-11-30 02:03:09 -05:00
nick black
b340f01a0a
always use space when fgrgb == bgrgb #1316
...
When both foreground and background are using RGB, and
the two channels are the same RGB value, the glyph will
be invisible; emitting a space with the correct background
can save RGB escapes and glyph bytes. Eliminates several
longstanding FIXMEs in the Stacking unit tests. Add a new
function nccell_rgbequal_p(), and unit testing for it.
Add a new unit test to check that this optimization has
taken place, and that it has only taken place in the
rasterization phase--the original plane must be unchanged.
Closes #1316 .
2021-11-30 02:03:09 -05:00
nick black
0b75f06abd
add and unit test nccell_rgbequal_p() #1316
2021-11-30 02:03:09 -05:00
nick black
c298563e32
[FgMatchesBg] new unit test for optimized fg==bg #1316
2021-11-30 02:03:09 -05:00