Commit Graph

2933 Commits

Author SHA1 Message Date
nick black
21de64f65b
ncdirect_cursor_move_yx: only use cursor_yx_get with a real terminal #1486 2021-03-31 00:16:38 -04:00
nick black
afeed4d075
drone: run ctest with --output-on-failure 2021-03-30 17:13:32 -04:00
nick black
cef16e77ce
disable PixelWipe test until we can keep it from OOMing ctest 2021-03-30 17:08:30 -04:00
nick black
05f73da2da
directmode: get cursor position if we need to for cursor move #1486 2021-03-29 20:12:34 -04:00
nick black
98d506d011 [plots] error path return fixups -- thanks, unit tests! 2021-03-29 02:43:54 -04:00
nick black
4ca2bb0940 [visual-details] get compiling with OIIO C++ 2021-03-29 02:43:54 -04:00
nick black
687aa93a84 [plots] c++ conversion done #1421 2021-03-29 02:43:54 -04:00
nick black
acc5be058c [plots] move plot.cpp to C plot.c #1421 2021-03-29 02:43:54 -04:00
nick black
d62ced7aa4 [TERMINALS] wezterm notes 2021-03-29 02:43:54 -04:00
nick black
d2dfa0ecbb [ffmpeg] move C++ to C #1421 2021-03-29 02:43:54 -04:00
nick black
322e4f4b3b
[kitty] fix off-by-one in write_kitty_data(), ugh 2021-03-29 01:52:47 -04:00
nick black
913f06d59c
[PixelWipeImages] actually test image wiping 2021-03-28 19:47:27 -04:00
nick black
0434d75689
[unittests] correct checks for putchar 2021-03-28 19:42:47 -04:00
nick black
b92991e57b
[visual] allow NCBLIT_PIXEL in ascii mode 2021-03-28 19:40:21 -04:00
nick black
c67981d668
[unittests] don't export sprite_wipe_cell() 2021-03-28 19:15:26 -04:00
nick black
57114c8005
[bitmaps] remove redundant PixelWipeBlocks test 2021-03-28 16:59:02 -04:00
nick black
5e4c07816d
[stream] restore erase(), preserve tacache across sixels #1482 2021-03-28 16:31:21 -04:00
nick black
da0da25269 [bitmaps] abstract out sprite_destroy() 2021-03-28 15:12:43 -04:00
nick black
65cc9a3ea9 [xray] keep bitmap plane below others 2021-03-28 15:12:43 -04:00
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.
2021-03-28 15:12:43 -04:00
nick black
7127118d27
[fallin] undo changes which put background on top 2021-03-28 12:36:33 -04:00
nick black
51182e3315 [sixel] reproduce surgery map #1457 2021-03-27 17:34:37 -04:00
nick black
6907562c9c [kitty] apply tacache #1457 2021-03-27 17:34:37 -04:00
nick black
21c0e17c05 [kitty] tacache resuse #1457 2021-03-27 17:34:37 -04:00
nick black
2e1582af1f plane_blit_sixel: move back to memcpy() 2021-03-27 17:34:37 -04:00
nick black
094dd89bb7 [sixel] don't double-close fp on error 2021-03-27 17:34:37 -04:00
nick black
dd5136256a [ffmpeg] don't erase() in stream() 2021-03-27 17:34:37 -04:00
nick black
feb462bafa [sprixels] comment out debugging cruft 2021-03-27 17:34:37 -04:00
nick black
69c8e25894 [sprixels] kill glyph copy on sprixel load 2021-03-27 17:34:37 -04:00
nick black
4ee0582321 [bitmaps] introduce sprixcell_e enum #1457 2021-03-27 17:34:37 -04:00
nick black
85d0df491e
[bitmap] intensify unit tests 2021-03-27 17:28:22 -04:00
nick black
cd6b9c2c87 [intro] kill unused param warnings 2021-03-27 12:21:11 -04:00
nick black
f887b5a122
[intro] use NCSCALE_SCALE 2021-03-27 12:11:14 -04:00
nick black
11685e77cc
[sprixel_create] eliminate copy of glyph 2021-03-27 11:43:58 -04:00
nick black
fac56fc2cc
[plane] incorporate left/top margins into resize #1472 2021-03-27 08:12:18 -04:00
nick black
5a6ee2d720
[ncplane_dup] remove cheerful diagnostic 2021-03-27 07:15:28 -04:00
nick black
a8a42c2a50 [planes] implement ncplane_resize_marginalized() #1472 2021-03-27 07:07:48 -04:00
nick black
7c5b7fe85c [ncplane_new] allocate based on true length #1472 2021-03-27 07:07:48 -04:00
nick black
1688f66bc7 [ncplane_new_internal] fix diagnostic 2021-03-27 07:07:48 -04:00
nick black
50df69ab31 [planes] implement MARGINALIZED in ncplane_create() #1472 2021-03-27 07:07:48 -04:00
nick black
78c8e70933 [planes] add NCPLANE_OPTION_MARGINALIZED #1472 2021-03-27 07:07:48 -04:00
nick black
a3a4f40fa0 [bitmaps] add a big unit test on wiping 2021-03-27 07:07:48 -04:00
nick black
d095ba9bb7 [keller] drop 2 unnecessary bitmap workarounds 2021-03-27 07:07:48 -04:00
nick black
0100e26d62 [ncplayer] use unique_ptr for view plane 2021-03-27 07:07:48 -04:00
nick black
0c36e1248e
[blit] skip over left/top trim, allowing neg placement #1470 2021-03-27 03:09:17 -04:00
nick black
ca84f95379
[demo] vertically align fpsgraph at bottom 2021-03-27 02:39:08 -04:00
nick black
fea6b51bdf
xray: horizontally center video 2021-03-27 02:34:15 -04:00
nick black
390bfc6647 ncplayer: extract handle_subtitle() 2021-03-27 02:31:51 -04:00
nick black
df85fb55ba [bitmaps] fix bitmap placement when making a new plane #1468 2021-03-27 02:31:51 -04:00
nick black
229c1ab3c2 ncplane_new_internal: use ncplane_valign() #1468 2021-03-27 02:31:51 -04:00
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.
2021-03-27 02:31:51 -04:00
nick black
51ccd60e96 [kitty] comment up the graphics protocol] 2021-03-27 02:31:51 -04:00
nick black
8b3e692fa1
[ncplayer] don't vertically center until #1468 is resolved 2021-03-27 01:03:36 -04:00
nick black
958b75bed7 NCPLANE_OPTION_VERALIGNED for bitmaps #1465 2021-03-26 09:50:22 -04:00
nick black
ff86bb0187 [ncvisual] first stab at NCVISUAL_OPTION_VERALIGNED #1461 2021-03-26 09:50:22 -04:00
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.
2021-03-26 06:26:00 -04:00
nick black
465390f5e1 [planes] implement NCPLANE_OPTION_VERALIGNED #1465 2021-03-26 04:18:15 -04:00
nick black
6105913d06 [planes] add NCPLANE_OPTION_VERALIGNED #1465 2021-03-26 04:18:15 -04:00
nick black
3d586844fb
[intro] great scott! 2021-03-25 23:08:30 -04:00
nick black
625955ba63
[intro] cover the x-axis when we move 2021-03-25 22:53:21 -04:00
nick black
00634eb982
[ncdirect] honor xoff for bitmaps #1436 2021-03-25 22:22:10 -04:00
nick black
83af07546d
[bitmap] actually call sprite_sixel_init() 2021-03-25 21:16:02 -04:00
nick black
6f446f94de
remove kittyzapper PoC 2021-03-25 20:55:08 -04:00
nick black
721e208ce2
[ncplayer] newline between bitmaps in directmode 2021-03-25 20:54:30 -04:00
nick black
8b9af4cf0e [visual] work for all alignment types 2021-03-25 20:41:02 -04:00
nick black
42e1e4f5d0 [visual] NCVISUAL_OPTIONS_HORALIGNED for bitmaps #1443 2021-03-25 20:41:02 -04:00
nick black
1c3e10f926 [visual] implement NCVISUAL_OPTION_HORALIGNED for cells 1443 2021-03-25 20:41:02 -04:00
nick black
f714337fe1 [visual] NCVISUAL_OPTION_HORALIGNED for cell blitters #1443 2021-03-25 20:41:02 -04:00
nick black
cd297ff4d2 [tests] add pixel video test, direct mode scale test 2021-03-25 20:41:02 -04:00
nick black
57cb7004ff [ncvisual] add logerror() throughout parameter checks 2021-03-25 20:41:02 -04:00
nick black
6f4a9e089c [tests] unit test for directmode image rendering 2021-03-25 20:41:02 -04:00
nick black
828cce634a [capabilites] remove redundant notcurses_canpixel() 2021-03-25 20:41:02 -04:00
nick black
32def3a600
[nctabbed] notcurses_stop() ending unit tests 2021-03-25 16:42:43 -04:00
nick black
a487aa9a28
[nctabbed_destroy] work on single-element case 2021-03-25 16:31:05 -04:00
nick black
978d872307
[nctabbed] get Add test working 2021-03-25 16:29:23 -04:00
nick black
7754eed249
fix bad test in ncreel_add()/nctabbed_add() 2021-03-25 16:27:10 -04:00
nick black
636b7a5d45
[nctabbed] break loop in nctabbed_destroy() 2021-03-25 15:45:53 -04:00
nick black
e0c3f4dd82
[tabbed] don't explode when destroying 0 tabs 2021-03-25 14:38:35 -04:00
nick black
37a12e4273
[nctabbed] NULL guards around trivalent nctabbed_channels() 2021-03-24 17:57:56 -04:00
MasFlam
c677a4fd8a
Add the nctabbed widget (#1431)
Tabs for the people!

fixes #986
2021-03-24 17:27:29 -04:00
nick black
c5a70dbd43
[sixel] clean up warnings from merge :( 2021-03-24 05:26:42 -04:00
nick black
d82a3e935f [ncplayer] erase() standard plane for frame count 2021-03-24 05:22:15 -04:00
nick black
1ea85c4191 [yield] reduce pixel threshold 2021-03-24 05:22:15 -04:00
nick black
ddac4706d8 [visual-tests] update media reference 2021-03-24 05:22:15 -04:00
nick black
8d2f1ec639 [intro] kill warnings 2021-03-24 05:22:15 -04:00
nick black
740a3a40e0 [ncplayer] direct mode: newline if not at start of line 2021-03-24 05:22:15 -04:00
nick black
6ac95e1ab1 [intro] orcaride along the bottom 2021-03-24 05:22:15 -04:00
nick black
0484c35b79 [xray] move to pixels when available 2021-03-24 05:22:15 -04:00
nick black
1a20632b68 [intro] check for on for orcaride 2021-03-24 05:22:15 -04:00
nick black
beb254ec90 [sixel] use parse_start to optimize wiping 2021-03-24 05:22:15 -04:00
nick black
a27fc0e3f7 notcurses_fade.3: break up typedef across lines 2021-03-24 05:22:15 -04:00
nick black
0a86ce83cc [bitmaps] add sprixel_invalidate #1449 2021-03-24 05:22:15 -04:00
nick black
af91bfb015 [eagle] don't run pixel background 2021-03-24 05:22:15 -04:00
nick black
836f356305 [debug] setab, not setbf 2021-03-24 05:22:15 -04:00
nick black
48585d074e [ncplayer] clean up raggedy output in frame count 2021-03-24 05:22:15 -04:00
nick black
e3c79863fe mark ncplane_{yx}/nccplane_abs_{yx} as pure 2021-03-24 05:22:15 -04:00
nick black
3e4709e595 [intro] add natasha orca when we have pixel support #1423 2021-03-24 05:22:15 -04:00
nick black
2cf0f06562 [visual] add OPTION_HORALIGNED #1443 2021-03-24 05:22:15 -04:00
nick black
68d4ebebef
[sixel] disable sprite_sixel_annihilate() for now #1388 2021-03-24 02:22:44 -04:00
nick black
192b82e931
[stats] properly account refreshes #1455 2021-03-24 01:26:08 -04:00