Commit Graph

3057 Commits (c7d284a9afe3f3d4f07545889fb36febc2771a3a)

Author SHA1 Message Date
nick black 998ebf8254
[ncplayer] meaningless timespec dealloc 3 years ago
nick black ee2f150058
[sprixels] move destruction into free_plane() from ncplane_destroy() 3 years ago
nick black 16b7910b57
[sprixels] plug two memory leaks 3 years ago
nick black 94b073dd3d
ncvisual_render_pixels: zorch reuse on either invalid ncv or n sprixel 3 years ago
nick black cbd92e5180
sprixel_recycle: use the valid sprixel link 3 years ago
nick black d7408cf5aa
[bitmap] check p_beats_sprixel, use text phase 2 when set #1496 3 years ago
nick black 3c4d25a092
[ncvisual] detach from sprite in ncvisual_destroy() 3 years ago
nick black 89734a2dc7
[bitmap] proper parameters for tacache TAM2 #1495 3 years ago
nick black ad3322e4db
erp 3 years ago
nick black 6a1e74feae
[bitmaps] clear out ncvisual link on hide 3 years ago
nick black f968ba7774
[plots] free up title in destructor 3 years ago
nick black 021fc052fc [render] end kitty flicker #1493 3 years ago
nick black 631697e9e2 eliminate sixel flicker #1493 3 years ago
nick black 83296b4688
Revert "eliminate sixel flicker #1493"
This reverts commit aa80af8f87.
3 years ago
nick black aa80af8f87
eliminate sixel flicker #1493 3 years ago
nick black d4883d30f2
[tests] add directmode bitmap test 3 years ago
nick black c0dadcd5d7
[normal] don't use expired ncplane 'n' #1492 3 years ago
nick black b6a9b59f9d notcurses_plane.3: add BUGS about bitmap graphics and ncplane_at_yx() 3 years ago
nick black fbe16935f3 [sixel] clean up sprixels on move #1449 3 years ago
nick black d813a66581
[sixel] seed initial TAM matrix #1445 3 years ago
nick black 670dcbdd08
[kitty] initialize TAM matrix #1445 3 years ago
nick black dd6d9392ec
[unittests] add PixelTAMSetup test #1445 3 years ago
nick black 259c5f5e3e
[tests] pixel test shouldn't check for wipe function 3 years ago
nick black 4c735cd95d
[paint] why must we constify ourselves, every day 3 years ago
nick black 21de64f65b
ncdirect_cursor_move_yx: only use cursor_yx_get with a real terminal #1486 3 years ago
nick black afeed4d075
drone: run ctest with --output-on-failure 3 years ago
nick black cef16e77ce
disable PixelWipe test until we can keep it from OOMing ctest 3 years ago
nick black 05f73da2da
directmode: get cursor position if we need to for cursor move #1486 3 years ago
nick black 98d506d011 [plots] error path return fixups -- thanks, unit tests! 3 years ago
nick black 4ca2bb0940 [visual-details] get compiling with OIIO C++ 3 years ago
nick black 687aa93a84 [plots] c++ conversion done #1421 3 years ago
nick black acc5be058c [plots] move plot.cpp to C plot.c #1421 3 years ago
nick black d62ced7aa4 [TERMINALS] wezterm notes 3 years ago
nick black d2dfa0ecbb [ffmpeg] move C++ to C #1421 3 years ago
nick black 322e4f4b3b
[kitty] fix off-by-one in write_kitty_data(), ugh 3 years ago
nick black 913f06d59c
[PixelWipeImages] actually test image wiping 3 years ago
nick black 0434d75689
[unittests] correct checks for putchar 3 years ago
nick black b92991e57b
[visual] allow NCBLIT_PIXEL in ascii mode 3 years ago
nick black c67981d668
[unittests] don't export sprite_wipe_cell() 3 years ago
nick black 57114c8005
[bitmaps] remove redundant PixelWipeBlocks test 3 years ago
nick black 5e4c07816d
[stream] restore erase(), preserve tacache across sixels #1482 3 years ago
nick black da0da25269 [bitmaps] abstract out sprite_destroy() 3 years ago
nick black 65cc9a3ea9 [xray] keep bitmap plane below others 3 years ago
nick black 58c1cdf055 [bitmaps] ATL represent
Fix Sixel mutation by printing the Sixel first, and only then
printing text atop it. Come around a second time on sprixels
only. All tests and demos now work under both the Sixel and
the Kitty protocols.

Huzzah! World leader, bitch! Ain't nobody else done this.
3 years ago
nick black 7127118d27
[fallin] undo changes which put background on top 3 years ago
nick black 51182e3315 [sixel] reproduce surgery map #1457 3 years ago
nick black 6907562c9c [kitty] apply tacache #1457 3 years ago
nick black 21c0e17c05 [kitty] tacache resuse #1457 3 years ago
nick black 2e1582af1f plane_blit_sixel: move back to memcpy() 3 years ago
nick black 094dd89bb7 [sixel] don't double-close fp on error 3 years ago
nick black dd5136256a [ffmpeg] don't erase() in stream() 3 years ago
nick black feb462bafa [sprixels] comment out debugging cruft 3 years ago
nick black 69c8e25894 [sprixels] kill glyph copy on sprixel load 3 years ago
nick black 4ee0582321 [bitmaps] introduce sprixcell_e enum #1457 3 years ago
nick black 85d0df491e
[bitmap] intensify unit tests 3 years ago
nick black cd6b9c2c87 [intro] kill unused param warnings 3 years ago
nick black f887b5a122
[intro] use NCSCALE_SCALE 3 years ago
nick black 11685e77cc
[sprixel_create] eliminate copy of glyph 3 years ago
nick black fac56fc2cc
[plane] incorporate left/top margins into resize #1472 3 years ago
nick black 5a6ee2d720
[ncplane_dup] remove cheerful diagnostic 3 years ago
nick black a8a42c2a50 [planes] implement ncplane_resize_marginalized() #1472 3 years ago
nick black 7c5b7fe85c [ncplane_new] allocate based on true length #1472 3 years ago
nick black 1688f66bc7 [ncplane_new_internal] fix diagnostic 3 years ago
nick black 50df69ab31 [planes] implement MARGINALIZED in ncplane_create() #1472 3 years ago
nick black 78c8e70933 [planes] add NCPLANE_OPTION_MARGINALIZED #1472 3 years ago
nick black a3a4f40fa0 [bitmaps] add a big unit test on wiping 3 years ago
nick black d095ba9bb7 [keller] drop 2 unnecessary bitmap workarounds 3 years ago
nick black 0100e26d62 [ncplayer] use unique_ptr for view plane 3 years ago
nick black 0c36e1248e
[blit] skip over left/top trim, allowing neg placement #1470 3 years ago
nick black ca84f95379
[demo] vertically align fpsgraph at bottom 3 years ago
nick black fea6b51bdf
xray: horizontally center video 3 years ago
nick black 390bfc6647 ncplayer: extract handle_subtitle() 3 years ago
nick black df85fb55ba [bitmaps] fix bitmap placement when making a new plane #1468 3 years ago
nick black 229c1ab3c2 ncplane_new_internal: use ncplane_valign() #1468 3 years ago
nick black 86de98c5d2 Fix cell blit / plane vertical alignment
Deprecate ncplane_align(), after rewriting it as a passthrough
to new function ncplane_halign(). Add ncplane_valign(). Update
all callers. Closes #1468.
3 years ago
nick black 51ccd60e96 [kitty] comment up the graphics protocol] 3 years ago
nick black 8b3e692fa1
[ncplayer] don't vertically center until #1468 is resolved 3 years ago
nick black 958b75bed7 NCPLANE_OPTION_VERALIGNED for bitmaps #1465 3 years ago
nick black ff86bb0187 [ncvisual] first stab at NCVISUAL_OPTION_VERALIGNED #1461 3 years ago
nick black de69fd858b
fwrite vs ncputs
theoretically, fwrite() could get better performance than
fputs() due to knowing the length of its input buffer. i
didn't see any perf change beyond noise, but who knows.
3 years ago
nick black 465390f5e1 [planes] implement NCPLANE_OPTION_VERALIGNED #1465 3 years ago
nick black 6105913d06 [planes] add NCPLANE_OPTION_VERALIGNED #1465 3 years ago
nick black 3d586844fb
[intro] great scott! 3 years ago
nick black 625955ba63
[intro] cover the x-axis when we move 3 years ago
nick black 00634eb982
[ncdirect] honor xoff for bitmaps #1436 3 years ago
nick black 83af07546d
[bitmap] actually call sprite_sixel_init() 3 years ago
nick black 6f446f94de
remove kittyzapper PoC 3 years ago
nick black 721e208ce2
[ncplayer] newline between bitmaps in directmode 3 years ago
nick black 8b9af4cf0e [visual] work for all alignment types 3 years ago
nick black 42e1e4f5d0 [visual] NCVISUAL_OPTIONS_HORALIGNED for bitmaps #1443 3 years ago
nick black 1c3e10f926 [visual] implement NCVISUAL_OPTION_HORALIGNED for cells 1443 3 years ago
nick black f714337fe1 [visual] NCVISUAL_OPTION_HORALIGNED for cell blitters #1443 3 years ago
nick black cd297ff4d2 [tests] add pixel video test, direct mode scale test 3 years ago
nick black 57cb7004ff [ncvisual] add logerror() throughout parameter checks 3 years ago
nick black 6f4a9e089c [tests] unit test for directmode image rendering 3 years ago
nick black 828cce634a [capabilites] remove redundant notcurses_canpixel() 3 years ago
nick black 32def3a600
[nctabbed] notcurses_stop() ending unit tests 3 years ago
nick black a487aa9a28
[nctabbed_destroy] work on single-element case 3 years ago
nick black 978d872307
[nctabbed] get Add test working 3 years ago
nick black 7754eed249
fix bad test in ncreel_add()/nctabbed_add() 3 years ago
nick black 636b7a5d45
[nctabbed] break loop in nctabbed_destroy() 3 years ago
nick black e0c3f4dd82
[tabbed] don't explode when destroying 0 tabs 3 years ago
nick black 37a12e4273
[nctabbed] NULL guards around trivalent nctabbed_channels() 3 years ago
MasFlam c677a4fd8a
Add the nctabbed widget (#1431)
Tabs for the people!

fixes #986
3 years ago
nick black c5a70dbd43
[sixel] clean up warnings from merge :( 3 years ago
nick black d82a3e935f [ncplayer] erase() standard plane for frame count 3 years ago
nick black 1ea85c4191 [yield] reduce pixel threshold 3 years ago
nick black ddac4706d8 [visual-tests] update media reference 3 years ago
nick black 8d2f1ec639 [intro] kill warnings 3 years ago
nick black 740a3a40e0 [ncplayer] direct mode: newline if not at start of line 3 years ago
nick black 6ac95e1ab1 [intro] orcaride along the bottom 3 years ago
nick black 0484c35b79 [xray] move to pixels when available 3 years ago
nick black 1a20632b68 [intro] check for on for orcaride 3 years ago
nick black beb254ec90 [sixel] use parse_start to optimize wiping 3 years ago
nick black a27fc0e3f7 notcurses_fade.3: break up typedef across lines 3 years ago
nick black 0a86ce83cc [bitmaps] add sprixel_invalidate #1449 3 years ago
nick black af91bfb015 [eagle] don't run pixel background 3 years ago
nick black 836f356305 [debug] setab, not setbf 3 years ago
nick black 48585d074e [ncplayer] clean up raggedy output in frame count 3 years ago
nick black e3c79863fe mark ncplane_{yx}/nccplane_abs_{yx} as pure 3 years ago
nick black 3e4709e595 [intro] add natasha orca when we have pixel support #1423 3 years ago
nick black 2cf0f06562 [visual] add OPTION_HORALIGNED #1443 3 years ago
nick black 68d4ebebef
[sixel] disable sprite_sixel_annihilate() for now #1388 3 years ago
nick black 192b82e931
[stats] properly account refreshes #1455 3 years ago
nick black 3929e7b23a
[sixel] purge debugging cruft 3 years ago
nick black be7f2d5d32
[yield] bring it back up 3 years ago
nick black 9574035a02
stupid asshole #1448 3 years ago
nick black b2948a5581
[pixel] pass tacache into plane_blit_pixel from constructors #1388 3 years ago
nick black 33d408b4a3
[sixel] call sprite_sixel_init at proper time #1436 3 years ago
nick black 3e15a9423e
ncls: use c++ iostreams everywhere 3 years ago
nick black 57f8dc4390
[nctree_create] check for NULL ncplane 3 years ago
nick black 4fa0857311
[normal] prep for NCBLIT_PIXEL 3 years ago
nick black ea09089b8d
[validate_ncreel_opts] log errors on bad reel arguments 3 years ago
nick black ad215daaeb
[render] non-transparent backgrounds override bitmaps #1388 3 years ago
nick black 1c50fceb0a ncplane_erase: kill any bound sprixel #1432 3 years ago
nick black ed1a35d87a [sixel] use private scrolling #1433 3 years ago
nick black 0714f64b3d [sixel] use private scrolling #1433 3 years ago
nick black 5ea47d856b [sixel] use private scrolling #1433 3 years ago
nick black 4cd3c9734c [ncplane_destroy] add loginfo() 3 years ago
nick black 949251ffa8 [ncplayer] flatten exception handling #1435 3 years ago
nick black 760ee94b04 [kitty] speed up kitty_null() with parse_start 3 years ago
nick black 889e81d648 [notcurses] print diagnostic on create_initial_ncplane() error 3 years ago
nick black c3edca7329 [ncplayer] catch notcurses construction exception #1435 3 years ago
nick black 5e2911d590 [ncplayer] nc.stop() before exception print 3 years ago
nick black 086c151ac8 [ncplayer] flipmode 3 years ago
nick black 115135098b interrogate_terminfo: only emit to valid fds 3 years ago
nick black 82f4ac4c5a move plot template into plot.cpp 3 years ago
nick black a6548fbcc8 [ncvisual] refuse to blit bitmaps to standard plane 3 years ago
nick black 1599e026cd [ncplayer] print newline after bitmaps in direct mode 3 years ago
nick black 96244bb3ff
Merge branch 'master' of github.com:dankamongmen/notcurses 3 years ago
nick black 6fd9a9fda9
[pool_release] reset width on recycle 3 years ago
nick black fd2875eae6
[kitty] clear all graphics on startup #1437 3 years ago
nick black 24dfb0626f
[kitty] properly account for borders #1438 3 years ago
nick black 9ca15d9076
[sixel] restore DESDM 3 years ago
nick black 43e7da6398
[sixel] restore opening escape, yeesh 3 years ago
nick black 04d4372d6d
[direct] only pass pixel args when using pixel #1434 3 years ago
nick black b8ab28c60f
[ncls] emit a newline following each image 3 years ago
nick black f658629a1b
add new PoC caps-rendered #1430 3 years ago
nick black 214ca464aa
drop terminfo el, el1, cub1 as unused 3 years ago
nick black 92b2165b39
use fputs_unlocked() everywhere we can 3 years ago
nick black c0a1be59ce
[fallin] not yet ready for NCBLIT_PIXEL 3 years ago
nick black 7951098261 [pixel] properly place on the y axis #1388 3 years ago
nick black ef380fe768 [pixel] beginning of transparency-annihilation cache #1388 3 years ago
nick black ca84f96f9c [sixel] implement sixel_wipe_cell() #1388 3 years ago
nick black eb07e1c4ef [sixel] implement sixel_wipe_cell() #1388 3 years ago
nick black 111bb893f6 [paint] invoke sprite_wipe_cell() #1388 3 years ago
nick black 4f4175098a pixel poc: add vertical movement 3 years ago
nick black 2bd7fa33ff [kitty] invalidate sprixel on cell annihilation 3 years ago
nick black 3a3baae753 new unit test PixelCellWipePolychromatic 3 years ago
nick black 51409439f6 [fallin] put background image on first row 3 years ago
nick black 11108e4d95 [kitty] kitty_cell_wipe() now works perfectly 3 years ago
nick black 07594606fd [kitty] finish sprite_kitty_cell_wipe 3 years ago
nick black c067c2bfd9 [kitty] further work on kitty_cell_wipe() 3 years ago
nick black fc4c0a2d9c [kitty] most of sprite_kitty_cell_wipe() 3 years ago
nick black 9270a58b2d [pixel] unit test on sprixel_cell_wipe() 3 years ago
nick black d6cb986d72 [pixel] multiplex sprixel_cell_wipe() 3 years ago
nick black 6ab325a36e [tinfo] zero out sixel_maxx/sixel_maxy 3 years ago
nick black 53a85871fe [pixel] detach old sprite when blitting onto existing plane 3 years ago
nick black 4f876cf962 [demo] always place HUD in the right place 3 years ago
nick black 7b0e6f432c [yield] render background into a plane #1425 3 years ago
nick black 7e03705ffb [fallin] render background to new plane #1425 3 years ago
nick black 9b9bf83863 [pixel] don't render bitmaps to existing planes 3 years ago
nick black 1b095b1bae [yield] render to new plane each iteration #1425 3 years ago
nick black 7426cc8067 fallin' demo: use NCBLIT_PIXEL #1425 3 years ago
nick black 8ea2cb9c18 yield demo: use NCBLIT_PIXEL if available #1425 3 years ago
nick black 760bdd2c35 [visual] back to basics 3 years ago
nick black 7bcc68136d [media] fix up oiio/null implementations 3 years ago
nick black fceb0b5182 [media] move to all-c allocation #1421 3 years ago
nick black c1ee44b1b7 [media] use c allocation to match ncvisual api 3 years ago
nick black 3ea1a79250 [kitty] properly emit m=1 on 2-chunk graphics #1426 3 years ago
nick black 2393548e38 sixel_blit_inner: properly scale rows by celldimy 3 years ago
nick black 6998db1a91 kitty_blit_inner: properly scale rows by celldimy 3 years ago
nick black dda2cca47f [kitty] include q=1 on single-chunk sprixels 3 years ago
nick black 252826245d
[visual] c++ to c #1421 3 years ago
nick black 7d72b69f1d
[direct] move direct.cpp to c-only direct.c #1421 3 years ago
nick black 22a1482353
[sixel] improve relaxation scheme 3 years ago
nick black ce9585b656 [sixel] relaxation: collapse 3xcomponents 3 years ago
nick black 77e00da697 [sixel] fix from @dknl (Daniel Eklöf) for memset #1391 3 years ago
nick black c6aab0a398 [sixel] remove debugging cruft 3 years ago
nick black fecc4573f6 [sixel] relaxation #1391 3 years ago