Commit Graph

1777 Commits (bc0016b827b71053eeef71fa0475cb79b120e050)

Author SHA1 Message Date
nick black c9b65dce2e i see, i see the evil hand of the big-endian mafia 4 years ago
nick black 98cb2de850 pool_egc_copy: beat the stupid out with a broom 4 years ago
nick black a3fbd9ae84 term_esc_rgb: add some assert()s 4 years ago
nick black d3d9d41fd9 ncplane_polyfill: eliminate allocations 4 years ago
nick black 40e85c4143 rotate: use cell_extended_gcluster() #830 4 years ago
nick black 226c00c74d egcelide: detect endianness, define NCSTYLE_* accordingly 4 years ago
nick black 1a3991a069 nitroboost that fucker 4 years ago
nick black 81052e344c cell_load_direct: shortcut for bytes <= 1 4 years ago
nick black 3bc15c2824 inlined egcs: straightline cell_duplicate() 4 years ago
nick black 112b4938b8 term_putc(): correctly shim inlined ctrls #830 4 years ago
nick black 2656cad07a cell_duplicate_far() fix length issue 4 years ago
nick black 7ac3f68f4e cell_load: fix CELL_WIDEASIAN_MASK bug 4 years ago
nick black 3681939e38 term_putc: use bounded fprintf 4 years ago
nick black b0f7f36995 egc inlining #830 4 years ago
nick black b980d7deee
sgr-direct PoC 4 years ago
nick black b315c31141
ncdirect: fix style transitions #890 4 years ago
Nick Black 963ac742fb tablet_coordinates(): remove unused function 4 years ago
nick black 52103af364
Cell: overlap RGB and palette indices #884 4 years ago
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
nick black 7e43077128
ncselector_additem: extend longops/longdesc if necessary #846 4 years ago
nick black 835a62361d
cell_nobackground_p(): load time, 5% perf win =] =] =] #838 4 years ago
nick black 2dcab374c4 mojibake: fix some row overruns #842 4 years ago
nick black ca6ecf2f35 ncplane_resize(): fix irregular keep areas #842 4 years ago
nick black fe904cc8da resize PoC: restore bottom stanza 4 years ago
nick black 886255e941 mojibake: clean up topmost line of display #842 4 years ago
nick black c1c1238e7e resize PoC: add some functionality #842 4 years ago
nick black 63556d295f
demo: color HUD light rather than dark 4 years ago
nick black ac59918682
zoo: mention plots! #835 4 years ago
nick black 9a758b82e2 zoo: speed up the "typing" 4 years ago
nick black b7b6572bc7 zoo: render informative text on ncreader #835 4 years ago
nick black 5a9e2645a5 zoo: blend reader background 4 years ago
nick black 78a7b4d255 constify ncreader_options->egc 4 years ago
nick black c8f623a426 zoo: add necessary locking #835 4 years ago
nick black bea35fb91f zoo: delay based off mult, add reader thread #835 4 years ago
nick black 86e6b2d89b
cell_load_direct(): simplify conditionals 4 years ago
nick black 620ae34c02
Merge branch 'master' of github.com:dankamongmen/notcurses into master 4 years ago
nick black 1a82273231
selector: handle nonzero defidx with zero maxdisplay #834 4 years ago
nick black 0b55b360ff
mojibake: leave some wiggle room for invalid wcwidth() 4 years ago
nick black aec5f79369
demo: move HUD down, right above FPS plot 4 years ago
nick black dde540b1da
zoo demo: render prior to inter-widget pause 4 years ago
nick black 2b4b516260
selector PoC: use CHANNELS_RGB_INITIALIZER() 4 years ago
nick black d23bf9a393
zoo demo: use CHANNELS_RGB_INITIALIZER() for selector 4 years ago
nick black 47800e57f1
zoo demo: multiselector use CHANNELS_RGB_INIT 4 years ago
nick black 6d6c375265 notcurses-demo: accept --help longform argument 4 years ago
nick black 8f9646c194 zoo: delay + handle input for multiselector #628 4 years ago
nick black c036f14b07 zoo: pause following selector, handling input #628 4 years ago
nick black e0cf13999d zoo: text for multiselect #628 4 years ago
nick black 74d80d76b1 zoo demo: handle inputs 4 years ago
nick black a5f2160558 zoo demo: background 4 years ago
nick black c7cd82af55 update zoo demo for no itemcount 4 years ago
nick black e24d0f9b0a zoo: add items to selector 4 years ago