Commit Graph

4713 Commits

Author SHA1 Message Date
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
nick black
ad7936ccc3 nctree_prev(): implement it #1164 2021-02-15 13:23:41 -05:00
nick black
69d78fb945 nctree_focused() 2021-02-15 13:23:41 -05:00
nick black
293618e427 nctree_create(): free plane on all error paths #1164 2021-02-15 13:23:41 -05:00
nick black
74079c4b65 nctree: test nctree_focused() #1164 2021-02-15 13:23:41 -05:00
nick black
25370abd19 nctree: prep_initial_path(), nctree_focused() #1164 2021-02-15 13:23:41 -05:00
nick black
be1282ffd9 nctree: keep ncplane in toplevel #1164 2021-02-15 13:23:41 -05:00
nick black
3aa4311559 nctree: test NULL callback case for real #1164 2021-02-15 13:23:41 -05:00
nick black
6227b9c1ba tree: rationalize data organization #1164 2021-02-15 13:23:41 -05:00
nick black
85e3e1d79a implement nctree_offer_input() 2021-02-15 13:23:41 -05:00
nick black
ce619f7af5 tree: implement nctree_plane() #1164 2021-02-15 13:23:41 -05:00
nick black
cf367289c8 nctree: fix memory leak on error path 2021-02-15 13:23:41 -05:00
nick black
41d056b8d6 nctree tests: render planes #1164 2021-02-15 13:23:41 -05:00
nick black
bad552fade zalgo: suppress banners 2021-02-15 13:23:41 -05:00
nick black
bb14694000 add nctree movement api #1164 2021-02-15 13:23:41 -05:00
nick black
8de0453148 initial nctree unit tests #1164 2021-02-15 13:23:41 -05:00
nick black
3eb42d6c0c implment nctree_create()/free() #1164 2021-02-15 13:23:41 -05:00
nick black
7a698310b6 ncinput is not opaque 2021-02-15 13:23:41 -05:00
nick black
14ce0ace73 man pages: relate nctree and ncreel #1164 2021-02-15 13:23:41 -05:00
nick black
2348546932 nctree API cut 1 #1164 2021-02-15 13:23:41 -05:00
nick black
e88875c4a7 nctree: add nctreecb to options #1164 2021-02-15 13:23:41 -05:00
nick black
7e56c8e1c2 nctree_options definition #1164 2021-02-15 13:23:41 -05:00
nick black
2ae618c06b add new man page notcurses_tree.3 #1164 2021-02-15 13:23:41 -05:00
nick black
e89c2bc566 CMakeLists.txt: switch from O0 to Og 2021-02-15 13:23:41 -05:00
nick black
5facfbd78a
progbar PoC: check hbar_make() result #1348 2021-02-15 05:05:18 -05:00
nick black
07dd9dddde
ncplane_new_internal(): check ncplane malloc #1348 2021-02-15 05:04:14 -05:00
nick black
5925d4e121
ncplane_qrcode: get no-qrcodegen definition 2021-02-15 04:23:33 -05:00
nick black
974eb014ee
ncwidth PoC: plug 'memory leak' #1348 2021-02-15 04:19:35 -05:00
nick black
03bb1f73c0
linuxconsole PoC: drop dead store #1348 2021-02-15 04:18:02 -05:00
nick black
9dd710d1e6
hilodirect PoC: unite error paths 2021-02-15 04:05:14 -05:00
nick black
815368c9a7
cffi: update qrcode definition 2021-02-15 03:53:14 -05:00
nick black
1b1e0b88be
ncplane_qrcode: drop blitter argument, update docs 2021-02-15 03:34:14 -05:00
nick black
6e9b23f06f
demo: account for raster time in TheoFPS calculation 2021-02-14 20:01:10 -05:00
nick black
f1d9257732 finish direct mode player #1342 2021-02-14 19:40:37 -05:00
nick black
0e7bf80ee9 hack up direct_mode_player #1342 2021-02-14 19:40:37 -05:00
nick black
2e6b07081e ncplayer: -k will use direct mode #1342 2021-02-14 19:40:37 -05:00
nick black
85da24d3e6
drone: use 2021-02-12b debian builder 2021-02-14 17:52:32 -05:00
nick black
006477e132
sgr-full: suppress banners 2021-02-12 05:06:02 -05:00