nick black
dd5136256a
[ffmpeg] don't erase() in stream()
4 years ago
nick black
feb462bafa
[sprixels] comment out debugging cruft
4 years ago
nick black
69c8e25894
[sprixels] kill glyph copy on sprixel load
4 years ago
nick black
4ee0582321
[bitmaps] introduce sprixcell_e enum #1457
4 years ago
nick black
85d0df491e
[bitmap] intensify unit tests
4 years ago
nick black
cd6b9c2c87
[intro] kill unused param warnings
4 years ago
nick black
f887b5a122
[intro] use NCSCALE_SCALE
4 years ago
nick black
11685e77cc
[sprixel_create] eliminate copy of glyph
4 years ago
nick black
fac56fc2cc
[plane] incorporate left/top margins into resize #1472
4 years ago
nick black
5a6ee2d720
[ncplane_dup] remove cheerful diagnostic
4 years ago
nick black
a8a42c2a50
[planes] implement ncplane_resize_marginalized() #1472
4 years ago
nick black
7c5b7fe85c
[ncplane_new] allocate based on true length #1472
4 years ago
nick black
1688f66bc7
[ncplane_new_internal] fix diagnostic
4 years ago
nick black
50df69ab31
[planes] implement MARGINALIZED in ncplane_create() #1472
4 years ago
nick black
78c8e70933
[planes] add NCPLANE_OPTION_MARGINALIZED #1472
4 years ago
nick black
a3a4f40fa0
[bitmaps] add a big unit test on wiping
4 years ago
nick black
d095ba9bb7
[keller] drop 2 unnecessary bitmap workarounds
4 years ago
nick black
0100e26d62
[ncplayer] use unique_ptr for view plane
4 years ago
nick black
0c36e1248e
[blit] skip over left/top trim, allowing neg placement #1470
4 years ago
nick black
ca84f95379
[demo] vertically align fpsgraph at bottom
4 years ago
nick black
fea6b51bdf
xray: horizontally center video
4 years ago
nick black
390bfc6647
ncplayer: extract handle_subtitle()
4 years ago
nick black
df85fb55ba
[bitmaps] fix bitmap placement when making a new plane #1468
4 years ago
nick black
229c1ab3c2
ncplane_new_internal: use ncplane_valign() #1468
4 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 .
4 years ago
nick black
51ccd60e96
[kitty] comment up the graphics protocol]
4 years ago
nick black
8b3e692fa1
[ncplayer] don't vertically center until #1468 is resolved
4 years ago
nick black
958b75bed7
NCPLANE_OPTION_VERALIGNED for bitmaps #1465
4 years ago
nick black
ff86bb0187
[ncvisual] first stab at NCVISUAL_OPTION_VERALIGNED #1461
4 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.
4 years ago
nick black
465390f5e1
[planes] implement NCPLANE_OPTION_VERALIGNED #1465
4 years ago
nick black
6105913d06
[planes] add NCPLANE_OPTION_VERALIGNED #1465
4 years ago
nick black
3d586844fb
[intro] great scott!
4 years ago
nick black
625955ba63
[intro] cover the x-axis when we move
4 years ago
nick black
00634eb982
[ncdirect] honor xoff for bitmaps #1436
4 years ago
nick black
83af07546d
[bitmap] actually call sprite_sixel_init()
4 years ago
nick black
6f446f94de
remove kittyzapper PoC
4 years ago
nick black
721e208ce2
[ncplayer] newline between bitmaps in directmode
4 years ago
nick black
8b9af4cf0e
[visual] work for all alignment types
4 years ago
nick black
42e1e4f5d0
[visual] NCVISUAL_OPTIONS_HORALIGNED for bitmaps #1443
4 years ago
nick black
1c3e10f926
[visual] implement NCVISUAL_OPTION_HORALIGNED for cells 1443
4 years ago
nick black
f714337fe1
[visual] NCVISUAL_OPTION_HORALIGNED for cell blitters #1443
4 years ago
nick black
cd297ff4d2
[tests] add pixel video test, direct mode scale test
4 years ago
nick black
57cb7004ff
[ncvisual] add logerror() throughout parameter checks
4 years ago
nick black
6f4a9e089c
[tests] unit test for directmode image rendering
4 years ago
nick black
828cce634a
[capabilites] remove redundant notcurses_canpixel()
4 years ago
nick black
32def3a600
[nctabbed] notcurses_stop() ending unit tests
4 years ago
nick black
a487aa9a28
[nctabbed_destroy] work on single-element case
4 years ago
nick black
978d872307
[nctabbed] get Add test working
4 years ago
nick black
7754eed249
fix bad test in ncreel_add()/nctabbed_add()
4 years ago
nick black
636b7a5d45
[nctabbed] break loop in nctabbed_destroy()
4 years ago
nick black
e0c3f4dd82
[tabbed] don't explode when destroying 0 tabs
4 years ago
nick black
37a12e4273
[nctabbed] NULL guards around trivalent nctabbed_channels()
4 years ago
MasFlam
c677a4fd8a
Add the nctabbed widget ( #1431 )
...
Tabs for the people!
fixes #986
4 years ago
nick black
c5a70dbd43
[sixel] clean up warnings from merge :(
4 years ago
nick black
d82a3e935f
[ncplayer] erase() standard plane for frame count
4 years ago
nick black
1ea85c4191
[yield] reduce pixel threshold
4 years ago
nick black
ddac4706d8
[visual-tests] update media reference
4 years ago
nick black
8d2f1ec639
[intro] kill warnings
4 years ago
nick black
740a3a40e0
[ncplayer] direct mode: newline if not at start of line
4 years ago
nick black
6ac95e1ab1
[intro] orcaride along the bottom
4 years ago
nick black
0484c35b79
[xray] move to pixels when available
4 years ago
nick black
1a20632b68
[intro] check for on for orcaride
4 years ago
nick black
beb254ec90
[sixel] use parse_start to optimize wiping
4 years ago
nick black
a27fc0e3f7
notcurses_fade.3: break up typedef across lines
4 years ago
nick black
0a86ce83cc
[bitmaps] add sprixel_invalidate #1449
4 years ago
nick black
af91bfb015
[eagle] don't run pixel background
4 years ago
nick black
836f356305
[debug] setab, not setbf
4 years ago
nick black
48585d074e
[ncplayer] clean up raggedy output in frame count
4 years ago
nick black
e3c79863fe
mark ncplane_{yx}/nccplane_abs_{yx} as pure
4 years ago
nick black
3e4709e595
[intro] add natasha orca when we have pixel support #1423
4 years ago
nick black
2cf0f06562
[visual] add OPTION_HORALIGNED #1443
4 years ago
nick black
68d4ebebef
[sixel] disable sprite_sixel_annihilate() for now #1388
4 years ago
nick black
192b82e931
[stats] properly account refreshes #1455
4 years ago
nick black
3929e7b23a
[sixel] purge debugging cruft
4 years ago
nick black
be7f2d5d32
[yield] bring it back up
4 years ago
nick black
9574035a02
stupid asshole #1448
4 years ago
nick black
b2948a5581
[pixel] pass tacache into plane_blit_pixel from constructors #1388
4 years ago
nick black
33d408b4a3
[sixel] call sprite_sixel_init at proper time #1436
4 years ago
nick black
3e15a9423e
ncls: use c++ iostreams everywhere
4 years ago
nick black
57f8dc4390
[nctree_create] check for NULL ncplane
4 years ago
nick black
4fa0857311
[normal] prep for NCBLIT_PIXEL
4 years ago
nick black
ea09089b8d
[validate_ncreel_opts] log errors on bad reel arguments
4 years ago
nick black
ad215daaeb
[render] non-transparent backgrounds override bitmaps #1388
4 years ago
nick black
1c50fceb0a
ncplane_erase: kill any bound sprixel #1432
4 years ago
nick black
ed1a35d87a
[sixel] use private scrolling #1433
4 years ago
nick black
0714f64b3d
[sixel] use private scrolling #1433
4 years ago
nick black
5ea47d856b
[sixel] use private scrolling #1433
4 years ago
nick black
4cd3c9734c
[ncplane_destroy] add loginfo()
4 years ago
nick black
949251ffa8
[ncplayer] flatten exception handling #1435
4 years ago
nick black
760ee94b04
[kitty] speed up kitty_null() with parse_start
4 years ago
nick black
889e81d648
[notcurses] print diagnostic on create_initial_ncplane() error
4 years ago
nick black
c3edca7329
[ncplayer] catch notcurses construction exception #1435
4 years ago
nick black
5e2911d590
[ncplayer] nc.stop() before exception print
4 years ago
nick black
086c151ac8
[ncplayer] flipmode
4 years ago
nick black
115135098b
interrogate_terminfo: only emit to valid fds
4 years ago
nick black
82f4ac4c5a
move plot template into plot.cpp
4 years ago
nick black
a6548fbcc8
[ncvisual] refuse to blit bitmaps to standard plane
4 years ago
nick black
1599e026cd
[ncplayer] print newline after bitmaps in direct mode
4 years ago
nick black
96244bb3ff
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
6fd9a9fda9
[pool_release] reset width on recycle
4 years ago
nick black
fd2875eae6
[kitty] clear all graphics on startup #1437
4 years ago
nick black
24dfb0626f
[kitty] properly account for borders #1438
4 years ago
nick black
9ca15d9076
[sixel] restore DESDM
4 years ago
nick black
43e7da6398
[sixel] restore opening escape, yeesh
4 years ago
nick black
04d4372d6d
[direct] only pass pixel args when using pixel #1434
4 years ago
nick black
b8ab28c60f
[ncls] emit a newline following each image
4 years ago
nick black
f658629a1b
add new PoC caps-rendered #1430
4 years ago
nick black
214ca464aa
drop terminfo el, el1, cub1 as unused
4 years ago
nick black
92b2165b39
use fputs_unlocked() everywhere we can
4 years ago
nick black
c0a1be59ce
[fallin] not yet ready for NCBLIT_PIXEL
4 years ago
nick black
7951098261
[pixel] properly place on the y axis #1388
4 years ago
nick black
ef380fe768
[pixel] beginning of transparency-annihilation cache #1388
4 years ago
nick black
ca84f96f9c
[sixel] implement sixel_wipe_cell() #1388
4 years ago
nick black
eb07e1c4ef
[sixel] implement sixel_wipe_cell() #1388
4 years ago
nick black
111bb893f6
[paint] invoke sprite_wipe_cell() #1388
4 years ago
nick black
4f4175098a
pixel poc: add vertical movement
4 years ago
nick black
2bd7fa33ff
[kitty] invalidate sprixel on cell annihilation
4 years ago
nick black
3a3baae753
new unit test PixelCellWipePolychromatic
4 years ago
nick black
51409439f6
[fallin] put background image on first row
4 years ago
nick black
11108e4d95
[kitty] kitty_cell_wipe() now works perfectly
4 years ago
nick black
07594606fd
[kitty] finish sprite_kitty_cell_wipe
4 years ago
nick black
c067c2bfd9
[kitty] further work on kitty_cell_wipe()
4 years ago
nick black
fc4c0a2d9c
[kitty] most of sprite_kitty_cell_wipe()
4 years ago
nick black
9270a58b2d
[pixel] unit test on sprixel_cell_wipe()
4 years ago
nick black
d6cb986d72
[pixel] multiplex sprixel_cell_wipe()
4 years ago
nick black
6ab325a36e
[tinfo] zero out sixel_maxx/sixel_maxy
4 years ago
nick black
53a85871fe
[pixel] detach old sprite when blitting onto existing plane
4 years ago
nick black
4f876cf962
[demo] always place HUD in the right place
4 years ago
nick black
7b0e6f432c
[yield] render background into a plane #1425
4 years ago
nick black
7e03705ffb
[fallin] render background to new plane #1425
4 years ago
nick black
9b9bf83863
[pixel] don't render bitmaps to existing planes
4 years ago
nick black
1b095b1bae
[yield] render to new plane each iteration #1425
4 years ago
nick black
7426cc8067
fallin' demo: use NCBLIT_PIXEL #1425
4 years ago
nick black
8ea2cb9c18
yield demo: use NCBLIT_PIXEL if available #1425
4 years ago
nick black
760bdd2c35
[visual] back to basics
4 years ago
nick black
7bcc68136d
[media] fix up oiio/null implementations
4 years ago
nick black
fceb0b5182
[media] move to all-c allocation #1421
4 years ago
nick black
c1ee44b1b7
[media] use c allocation to match ncvisual api
4 years ago
nick black
3ea1a79250
[kitty] properly emit m=1 on 2-chunk graphics #1426
4 years ago
nick black
2393548e38
sixel_blit_inner: properly scale rows by celldimy
4 years ago
nick black
6998db1a91
kitty_blit_inner: properly scale rows by celldimy
4 years ago
nick black
dda2cca47f
[kitty] include q=1 on single-chunk sprixels
4 years ago
nick black
252826245d
[visual] c++ to c #1421
4 years ago
nick black
7d72b69f1d
[direct] move direct.cpp to c-only direct.c #1421
4 years ago
nick black
22a1482353
[sixel] improve relaxation scheme
4 years ago
nick black
ce9585b656
[sixel] relaxation: collapse 3xcomponents
4 years ago
nick black
77e00da697
[sixel] fix from @dknl (Daniel Eklöf) for memset #1391
4 years ago
nick black
c6aab0a398
[sixel] remove debugging cruft
4 years ago
nick black
fecc4573f6
[sixel] relaxation #1391
4 years ago
nick black
69e4718e24
[sixel] relaxation: don't double-count #1391
4 years ago
nick black
ac866655db
[sixel] relaxation algorithm #1391
4 years ago
nick black
807366e4f3
[sixel] use raw components for sums
4 years ago
nick black
14a39c3485
[sixel] track lowest/highest components for relaxation #1391
4 years ago
nick black
66e545f160
[pixel] fill out only through the plane #1391
4 years ago
nick black
5d49892c69
[keller] suffix blitter name with 'blitter'
4 years ago
nick black
cd1f5bd0d0
pixel PoC: switch colors around under pixel glyph #1388
4 years ago
nick black
2eff848061
[pixels] unify sprixel nonce
4 years ago
nick black
cd48c78eb2
[kitty] pass q=0 with final chunk
4 years ago
nick black
90b0d39169
plane_blit_sixel(): proper sprixel id on all endians
4 years ago
nick black
0e3ece88e7
[oiio] even up spacing
4 years ago
nick black
a4c8aee8bd
[keller] run braille first now that pixel's in the mix
4 years ago
nick black
47e2be7dc5
[pixel] hook up kitty image destroy #1401
4 years ago
nick black
be0a52676a
[pixel] split annihilators for indirect callback #1401
4 years ago
nick black
c72f920ea6
[pixel] invalidate cells on sprixel remove #1401
4 years ago
nick black
8482c1157f
[pixel] honor configured margins when rasterizing
4 years ago
nick black
b74cfea440
[pixel] add SPRIXEL_HIDE and sprixel_hide()
4 years ago
nick black
1153e53479
[pixel] proper y dimension for sprixel planes #1401
4 years ago
nick black
32d7af584d
[pixel] add SPRIXEL_HIDE and sprixel_hide()
4 years ago
nick black
ccb02c61b3
[pixel] bypass sprixel planes in paint() #1401
4 years ago
nick black
486374a6b0
[pixels] build up the sprixel cache #1401
4 years ago
nick black
b282c2055b
[visual] move placey/placex into cell union
4 years ago
nick black
70fb40ea5a
[pixel] derivce location for raster from plane
4 years ago
nick black
8df17b463f
[pixel] handle hardcursorpos for sprixles #1401
4 years ago
nick black
9ad9448cd6
[pixels] rasterize sprixels post-raster #1401
4 years ago
nick black
232e774c61
notcurses-tester: don't set LOGLEVEL_ERROR
...
this ends up just confusing people more often than it
gets us useful bug reports. indeed, one distribution
disabled our tests because "it says it can't run without
a real tty".
4 years ago
nick black
645b61e9dc
[pixel] pass celldimy through blitterargs #1401
4 years ago
nick black
b2ef9a074b
add simple pixel-rendering unit test
4 years ago
nick black
b18682e86c
[pixels] rewrite cell_pixels_p() for 0x02 #1401
4 years ago
nick black
08b65a8699
sprixels: introduce sprixel cache #1401
4 years ago
nick black
15aab20d21
term_setstyles: proper bitwise set of curattr
4 years ago
nick black
4c9c2e1ed1
[ncplayer] continue to honor split margins for pixels in -k #1411
4 years ago
nick black
06f9a0ab34
ncplayer: use NCAlign::Center with -k #1411
4 years ago
nick black
9b15854ef4
direct mode unit test fix for sgr0 #1344
4 years ago
nick black
a8aec8d8d1
directmode tests: handle non-sgr case #1344
4 years ago
nick black
79b73cff94
term_setstyles: verify sgr presence before using it #1344
4 years ago
nick black
ede7594971
[ncls] accept -s for scaling mode #1411
4 years ago
nick black
9728e79396
[ncplayer] obey margins in direct mode #1411
4 years ago
nick black
0a89a4e8b3
ncplayer: add raster_image() for direct mode #1411
4 years ago
nick black
7bc3800e27
[direct] accept limits for prep_image() #1411
4 years ago
nick black
d99b16a1ba
ncpp: error_guard<int> in get_dim_x/y() #1413
4 years ago
nick black
e961b15fb2
highcontrast: kill dead code
4 years ago
nick black
04664f6195
oiio.h: need internal.h
4 years ago
nick black
432aae8b05
OIIO: update header for blitterargs
4 years ago
nick black
df73a7fedb
OIIO/none: pass through blitterargs
4 years ago
nick black
fd0bb6f843
sixel: get maximum geometry supported #1389
4 years ago
nick black
63b4e74800
ncvisual: plumb blitterargs all the way through the stack #1389
4 years ago
nick black
dc118e54f6
blitters: accept new blitterarg union #1389
4 years ago
nick black
679f4fb47a
sixel: extract XTSMGRAPHICS geometry details #1389
4 years ago
nick black
8ac1aeec66
sixel: read color register count #1389
4 years ago
nick black
04ad933a4b
ncplayer: don't try to drive four/eight #1406
4 years ago
nick black
d9fe3f7c78
logerror: newlines on output
4 years ago
nick black
d8d8251a0e
notcurses-tester: enforce minimum geometry
4 years ago
nick black
1dfa303303
sixel: prep for relaxation #1391
4 years ago
nick black
eec1b8762d
sixel: remove extract_color_inner() #1391
4 years ago
nick black
0e0a074703
sixel: merge color and sixeltables
4 years ago
nick black
6debae3906
sixel: use 64-bit cdetails variables #1391
4 years ago
nick black
948749c1bc
sixel: pull sixelcount out of colortable
4 years ago
nick black
ea103d5303
sixel: might need 0xe0 mask for now #1391
4 years ago
nick black
e78fb867ea
sixel: mask can always be 0xf0 #1391
4 years ago
nick black
3821185ba3
sixel: track details for more accuracy #1391
4 years ago
nick black
365dc5f832
sixel: replace 5 with CENTSIZE
4 years ago
nick black
b79db9f356
remove blocks PoCPP
4 years ago
Daniel Eklöf
4eaa117e9f
terminfo: ‘foot’ has sextant support
4 years ago
nick black
b97af99fa0
man1: normalize notcurses case
4 years ago
nick black
35112f8d62
raster: extract emit_{b,f}g_palindex()
4 years ago
nick black
e2885b5a68
nctree: implement NCKEY_END
4 years ago
nick black
64634143ca
keller: render to new planes
4 years ago
nick black
04a7736112
demo: move fpsgraph/hud to another pile when hidden #1402
4 years ago
nick black
7dfb366cbc
notcurses-demo: drop 'i' argument
4 years ago
nick black
268a720225
Keep hardcursurpos bool across rasterizations
...
Move hardcursorpos into the renderstate carried
across rasterizations. This eliminates undesirable vertical
movement following pixel image emission #1400 .
4 years ago
nick black
3574e3ec2f
keller: use NCSCALE_SCALE for NCBLIT_PIXEL
4 years ago
nick black
660d25eb4a
kitty: use 32-bit RGBA draws for transparency #1399
4 years ago
nick black
825b8bd3fb
oiio/null mediacores: propagate CELL_PIXELS
4 years ago
nick black
a3c7b5ea69
pixels: properly set width and CELL_PIXEL_GRAPHICS #1397
4 years ago
nick black
715a4fea7c
add pixel PoC
4 years ago
nick black
16d0b71162
kitty: fix overactive green channel #1095
4 years ago
nick black
3818f0b31f
kitty: get graphics protocol syntactic #1095
4 years ago
nick black
26d2ad8e7b
kitty: add some FIXMEs #1095
4 years ago
nick black
5b3d4c7961
kitty: base64-encode payload #1095
4 years ago
nick black
bdf54518e3
kitty encoder up to base64 encoding #1095
4 years ago
nick black
4d5fd3c465
add kitty_blit, divert to it in kitty #1095
4 years ago
nick black
c882a44ac5
CMake: CMAKE_REQUIRED_INCLUDES everywhere #1387
4 years ago
nick black
17e92a69f9
keller: work around damage check for pixel #1381
4 years ago
Nick Black
cde75505ea
Work around OpenImageIO bswap definition #1392
...
Recent OpenImageIO (on Fedora Rawhide, at least) export
a bswap symbol, causing us no end of pain. Perform a
massive rearrangement to deal with this annoyance,
splitting oiio.c into C++ and C contents. Closes #1392 .
4 years ago
nick black
f0c2570915
sixel: don't print empty bands #1391
4 years ago
nick black
91b83ea2d9
ncls: accept -b param to specify blitter
4 years ago
nick black
228b9edf09
ncneofetch: adapt to screen width for neofetch-style logos
4 years ago
nick black
ef5a3200de
pull pixelon/pixeloff out of tinfo struct
4 years ago
nick black
6693e5f386
pass tcache down through visual blit stack #1095
4 years ago
nick black
014e2ea8f8
sixel: undo pixelon tcache change, breaks direct mode
4 years ago
nick black
210052906e
sixel: write pixelon/off from tcache #1095
4 years ago
nick black
5bd1db168b
ncvisual_render_pixels(): unite duplicated code
4 years ago
nick black
cdf8685154
keller: don't use NCSCALE_STRETCH with NCBLIT_PIXEL...yet #1381
4 years ago
nick black
9b2ce38385
ncneofetch: print units on RAM output
4 years ago
nick black
d1fc0c3adc
ncneofetch: no newline in RAM line #1386
4 years ago
nick black
e57a714936
init banner: more vibrant RGB indicator
4 years ago
nick black
0576793565
sixel: back out Set Raster Attributes (PR #1384 )
...
Set Raster Attributes allows us to specify the pixel
aspect ratio and the image geometry. Unfortunately, it
has the side effect of filling in all unspecified sixels
with Color Register 0, which we do not want.
4 years ago
Daniel Eklöf
0b89c8943f
sixel: use Set Raster Attributes to configure image size
...
This lets the terminal allocate the image once, instead of dynamically
resizing the image as the sixel data is emitted.
Note that this isn’t limiting the sixel size - if the sixel ends up
being larger than advertised here, the terminal is required to resize
the image to fit the entire sixel (i.e. you cannot use this to crop
the image to something that isn’t a multiple of 6).
4 years ago
Daniel Eklöf
3e8e51525a
sixel: don’t emit DECGNL after the last row
...
Emitting DECGNL is the sixel equivalent of printing ‘\n’, and can
cause the terminal content to scroll.
4 years ago