Commit Graph

1709 Commits (adcabfae52253c51e50532b9823ccbb97396ed4f)

Author SHA1 Message Date
nick black 12a136cf6e
ncplane_puttext: remove meaningless assignment 4 years ago
nick black ce5484c13c
notcurses_lex_scalemode(): return 0 on success 4 years ago
nick black 733da37bb5
zoo: render the last bit of text 4 years ago
nick black 7c373ecc3a
zoo demo: correct delaytime for spooling 4 years ago
nick black 8aa0986f7d
zoo: support widget use for the duration #835 4 years ago
nick black 7d1e4fae54
plug memory leak in PoC direct 4 years ago
nick black d5eca34cd5
plug memory leak in PoC selector 4 years ago
Nick Black c3508d524b
ncplane_puttext() work for longer lines (#880)
* The zoo demo made manifest that we had some serious problems handling sequences of longer lines in ncplane_puttext(). This remedies most of the problems, though it's not yet perfect. #871
* Guard notcurses* for NULL in log*() #878 #879
* Fix memory leak in ncdirect_dump_plane()
4 years ago
nick black 4de70913bf logging: only fallback to stderr on NULL nc for error/warn 4 years ago
nick black 05689b4828 logging: guard for NULL nc argument #878 4 years ago
nick black 3d96b5249b ncdirect_dump_plane(): plug memory leak of egc 4 years ago
nick black 8759572632
zoo demo: smooth out delays in mselect input #835 4 years ago
nick black e5d17fd20c
zoo demo: smooth out delays in selector input #835 4 years ago
nick black e0bb0607a0
scan-build false positive workarounds #624
Eliminate scan-build false positive about garbage value
in conditional by replacing a malloc+manual init with a
calloc() #624. The other error it has been reporting goes
away with -maxloop=1000, so I think we're fine now.

Also, simplify paint() by dumping the lfdimx parameter, which
is always the same thing as dstlenx (we originally wrote this
with different resizing semantics). Update callers.
4 years ago
nick black 5b432c6d94
tighten_reel: don't call trim_reel_overhang() with NULL 4 years ago
nick black 82fe736d15
qrcode: fix ncvisual memory leak 4 years ago
nick black 5d08641751
zoo: don't use initialized variable on error path 4 years ago
nick black ac4a53bf3b
trim_reel_overhang: don't rely on assert()s 4 years ago
nick black 4a8d56cbfc
zoo: propagate return codes out of selector demos #835 4 years ago
nick black d6e2ae5262
zoo demo: propagate out return code #835 4 years ago
nick black 02c29f39b6
reel demo: adapt to new tablet callback #818 4 years ago
nick black f0f3b9f45f
ThreeCycleDownNoTabletBorders unit test #818 4 years ago
nick black 1f296256e3
ncreel_trim: work on borderless reels #818 4 years ago
nick black f586e7f47d
ncreel_draw_tablet: properly resize borderless border plane #818 4 years ago
nick black 9fd7ba44dc
ncreel_redraw: handle 0-line data planes via genocide 4 years ago
nick black d10c9a6401
ncreel: pre-trim nuke for bottom #818 4 years ago
Nick Black 11d6a4eb89
New reel layout algorithm #818 (#870)
New reel layout algorithm based on trimming and sifting. Fixes the original issue of #818, though I'm not marking that bug fixed until I've resolved the little issues remaining with this one.
Back off CMake version dependency, see if we can get by with 3.11.4 for EPEL8 #851
Simplify tablet drawing tremendously by separating tablet border and data planes. Callbacks no longer need worry about the borders; they can simply fill the plane they're handed. #833
Improve notcurses_debug() a bit
Add ncplane_new_named() and friends to expose plane naming to the user.
Add internal ncplane_genocide() to kill a plane and all its bound descendents
New industrial-strength ncreel unit testing
notcurses-ncreel now accepts -ln for log level n
Add ncplane_parent() and ncplane_parent_const()
4 years ago
nick black 75e805d1f1
selector/multiselect: interpret pgdown/up as arrows #862 4 years ago
nick black b977b5b84d
zoo demo: selectors go behind exposition plane #835 4 years ago
nick black 2f3fba59c8
revert early-morning idiocy #866 4 years ago
nick black 4232ca1427
blitters PoC: hoist ncv creation from main loop #866 4 years ago
nick black 73e71622f7
ncneofetch: free up some allocations 4 years ago
nick black c21f0fb812 ncselector_dim_yx: eliminate boundary checks 4 years ago
nick black c0ffe0ae91 reeldemo: kill compiler warning with grim cast 4 years ago
nick black 703fbc853e
zoo: differentiate title from borders 4 years ago
nick black 59fe0cb829
zoo demo: color up selectors 4 years ago
nick black e17f7198e7
printf(%lc) is wint_t not wchar_t 4 years ago
nick black 58f7dab1c0 doc it up (a plan for ncreels, that is) 4 years ago
nick black a080ac83b8 ncreel: remove wresize wrapper, introduce direction_e 4 years ago
nick black 3ba98c8b22 move ncselector defintiion into selector.c 4 years ago
nick black c618096083
ncselector_redraw(): don't call notcurses_render() #627 4 years ago
nick black ead60d06cc
unexport cell_egc_idx() 4 years ago
nick black ca2a6501e6
rasterize: remove noforeground check, no longer useful 4 years ago
nick black 78fdad0f43
demo: simplify HUD code, print top to bottom 4 years ago
nick black bc9ecd86a8
kill -Wempty-body warning 4 years ago
Cheong Sik Feng ccbb3fda22 use ncplane_resize_simple() instead of ncplane_resize() 4 years ago
Cheong Sik Feng 91613528f2 resize plane in additem and delitem when necessary
Signed-off-by: Cheong Sik Feng <sikfeng@gmail.com>
4 years ago
nick black b0c1a0ae18
zoo: fix reference to loaded file, use find_data() 4 years ago
nick black 5c5077840e
intro/hud: place things a bit tighter to avoid HUD stomping intro line 4 years ago
nick black ce8b34da86 Glyph transparency in selector backgrounds #847 4 years ago