Commit Graph

4300 Commits

Author SHA1 Message Date
nick black
aa4da3f335
nctree: drop bchannels from options 2021-02-24 23:33:53 -05:00
nick black
7c40f40ba2
tree PoC: key off of container plane ylen 2021-02-24 22:27:01 -05:00
nick black
ac9059e0ac nctree: free items pushed below screen #1164 2021-02-24 22:23:01 -05:00
nick black
3f66cb0ff7 nctree: clean up items pushed off the top #1164 2021-02-24 22:23:01 -05:00
nick black
ff228650d6 init_rvec: run a single loop 2021-02-24 22:23:01 -05:00
nick black
1eae0ae2f2 drone: use new debian unstable 2021-02-24a 2021-02-24 22:23:01 -05:00
nick black
962ad874e4 nctree PoC: set backgrounds relative to active #1164 2021-02-24 22:23:01 -05:00
nick black
4ea2b67061 nctree: pass distance to cbfxn #1164 2021-02-24 22:23:01 -05:00
nick black
fe8abbecc5 NEWS: mention nctree for 2.2.3 2021-02-24 22:23:01 -05:00
nick black
cef5e45be6
drone: use new debian unstable 2021-02-24a 2021-02-24 01:56:56 -05:00
Nick Black
e30b12a480
nctree (#1361)
The nctree widget, PoC, and unitt rs #1164.
2021-02-23 14:38:06 -05:00
nick black
11dbf7701e
link to markdown from index.html 2021-02-23 11:40:29 -05:00
nick black
bd92552aa4
Merge branch 'master' of github.com:dankamongmen/notcurses 2021-02-22 00:02:04 -05:00
nick black
58066d2018
HISTORY: add 2.2.0 from 2021-02-08 2021-02-22 00:02:00 -05:00
nick black
2221120543 add SIGILL to documented fatal signals #1357 2021-02-21 23:22:37 -05:00
nick black
8a7ff8a317 signals: restore them on exit #1357 2021-02-21 23:22:37 -05:00
nick black
211f180c56
README: provide the Focal PPA 2021-02-21 21:05:43 -05:00
nick black
cd10321819
zoo: clean up central plane #1353 2021-02-21 16:26:32 -05:00
nick black
c30c7a5c23
sex_solver: only need 32 glyphs #1354 2021-02-21 16:22:54 -05:00
nick black
ed3075414e
zoo demo: use nul glyph as base cell #1353 2021-02-21 16:22:54 -05:00
Ben Spencer
9625450848 rust: fix a couple of doc comments 2021-02-21 15:11:21 -05:00
nick black
2190d3eaf0
extract init_banner_warnings()
factor init_banner_warnings() out of init_banner().
check the output FILE for ttyness, and only emit control
sequences when it is indeed a tty. this eliminates some
control sequences that were being dumped when stderr was
redirected.
2021-02-21 12:36:20 -05:00
nick black
c014a2d55e
quadblitter: minimize total rgb distance
Previously, the quadblitter compared the external two pixels
against the two lerps, and if the closest was closer to the
primary lerp than the secondary, trilerped the closest with
the primary pair. Instead, calculate the total RGB distance,
and for whichever external pixel is closer to the primary
lerp, calculate the trilerp and the new candidate difference.
if the candidate difference is less than the total distance,
select it and perform the trilerp. This improves upon the
"twinkling problem" described in #1354, though it does not
entirely resolve it. Performance change is negligible. Add a
unit test for this change.
2021-02-21 11:34:06 -05:00
nick black
6f156c11a1
Merge branch 'master' of github.com:dankamongmen/notcurses 2021-02-21 08:22:45 -05:00
nick black
d732ffc1f4
rust: use CELL_BG_ALPHA_MASK not CHANNEL_ALPHA_MASK 2021-02-21 08:22:25 -05:00
nick black
925870bd7a
update some definitions in USAGE.md 2021-02-19 12:41:43 -05:00
nick black
4951ea3d88
update comment on notcurses_lex_scalemode() 2021-02-19 12:36:25 -05:00
nick black
d845e979c2
tighten up CELL_BG_ALPHA_MASK 2021-02-19 12:15:44 -05:00
nick black
54c5675318
fetch_bsd_cpuinfo: no love from hurd 2021-02-18 08:13:27 -05:00
nick black
c10f5a40ce
v2.2.2 2021-02-18 07:07:26 -05:00
nick black
2741b049cb
don't expose nctree in 2.2.2 2021-02-18 07:04:03 -05:00
nick black
3603a2a661
ffmpeg: don't use best_effort_timestamp #1352 2021-02-18 06:27:15 -05:00
nick black
b93915c2f5
ffmpeg: update diagnostic 2021-02-18 06:04:28 -05:00
nick black
14d6627874
apply_term_heuristics: note about alacritty/sextants 2021-02-18 05:19:23 -05:00
nick black
87e7c2c490
differentiate ourselves from the python competition lol 2021-02-18 04:18:10 -05:00
nick black
6273a34fe5 emit term reset only on terms 2021-02-18 04:14:41 -05:00
nick black
f775ae6b59 rust: update stats() 2021-02-18 04:14:41 -05:00
nick black
aec3b06171 remove 1350.c 2021-02-18 04:14:41 -05:00
nick black
28adef7ed8 interrogate_terminfo: set utf8 bit 2021-02-18 04:14:41 -05:00
nick black
840155cd18 reset_term_attributes: ensure we flush #1350 2021-02-18 04:14:41 -05:00
nick black
d3bbfa411b add ton's sample code PoC #1350 2021-02-18 04:14:41 -05:00
nick black
6c599797e6
ncdirect_flush() in ncdirect_stop_minimal() #1090 2021-02-18 01:48:46 -05:00
nick black
1df9d85f28
Lock accesses to notcurses_stats #1139
notcurses_stats() and notcurses_stats_reset() now take the
new statlock member, as do stat modifications from render,
raster, writeout, resize, plane creation, and plane
destruction. Add nonnull attributes to stats API. Initialize
and destroy statlock as part of notcurses struct. Update
documentation. Free pilelock on error paths. Closes #1139.
2021-02-18 01:37:30 -05:00
nick black
9be2f138e3
move sixel support bit to tcache from notcurses #200 2021-02-18 01:08:55 -05:00
nick black
a95d3f6035
stats: eliminate stashstats structure 2021-02-18 01:03:18 -05:00
nick black
d567ec683f
banner and stats work
Stats: preserve planecount across reset_stats(), since it is
an instantaneous (rather than cumulative) stat. Properly
initialize plane count to 0 in notcurses_init().

Banners: print min/avg/max rather than min/man/avg. Don't
predivide maximum byte output; it reduces accuracy.
2021-02-18 00:51:49 -05:00
nick black
4e577cbc97 nctree: toss unused code #1164 2021-02-15 13:23:41 -05:00
nick black
bcfe0b2fd5 nctree_prev(): test cases pass #1164 2021-02-15 13:23:41 -05:00
nick black
ab8caf5915 nctree_next: implement + test #1644 2021-02-15 13:23:41 -05:00
nick black
528c7f589f nctree: traversal unit tests #1644 2021-02-15 13:23:41 -05:00