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
6c1e3565ac
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
70be457071
rust: hide blitset definition
4 years ago
nick black
f0c2570915
sixel: don't print empty bands #1391
4 years ago
nick black
b6d818c8f7
OTHERS: add jexer. java gets on the board!
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
103eb7fe01
remove codeql-analysis.yml
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
nick black
e277df390b
sixel: remove obsolete comments
4 years ago
nick black
717562f54e
sixel: binary search, cut another 40% #1380
4 years ago
nick black
76e1f01572
ncls: use NCBLIT_PIXEL
4 years ago
nick black
c0cad0d497
sixel: heap-allocate ctable directly
4 years ago
nick black
f71dbd6413
properly reposition cursor on shutdown in 0 render case
4 years ago
nick black
60ff6a73d6
sliders: simplify, kill compiler warning
4 years ago
nick black
eb87cd4892
banners: drop terminal line, move rgb/size down
...
Cleans up the init banner a bit, and removes the terminal line
printed at the very beginning. Rewrites two loops in
`ncplane_reparent()` to avoid warnings with older gcc #1348 .
4 years ago
nick black
e3ede498b6
sixel: combine ctable/dtable extraction passes, cuts 80% of runtime #1380
4 years ago
nick black
43b3724f07
init banner: punch up RGB signifier
4 years ago
nick black
7b28c68cd5
ncneofetch: prettier RGB signifier
4 years ago
nick black
43937cfb5b
ncneofetch: use NCBLIT_PIXEL #1380
4 years ago
nick black
7b61395ec4
sixel: set egc width properly based off tcache #1380
4 years ago
nick black
3ad8057965
ncdirect: proper scaling for NCBLIT_PIXEL #1380
4 years ago
nick black
7592d0c4a3
rendered mode: properly scale pixel graphics #1380
4 years ago
nick black
2eb3bc1f88
get cell size in pixels, include in banner #1368
4 years ago
nick black
f86b4cdc8c
document terminal TIOCGWINSZ pixel support
4 years ago
nick black
1e77fcc5c5
notcurses_stop: restore nonblocking state #1090
4 years ago
nick black
f09ed74e84
sixel: purge leftover cruft
4 years ago
nick black
647225bee3
sixel: document some stuff, drop memset()
4 years ago
nick black
a9c257465a
keller demo: separate legend lines
4 years ago
nick black
7e451c42d2
eliminate duplicate set_fd_nonblocking()
4 years ago
nick black
a759f9ba0b
keller: always begin at row 1
4 years ago
nick black
1b2aedff67
keller: add pixel iteration #1281
4 years ago
nick black
49c7b6be3f
sixel_blit: dumb quantization algorithm #1378
4 years ago
nick black
3382de37e3
ncdirect_render_frame: single row for NCBLIT_PIXEL #1380
4 years ago
nick black
e0de3c310b
sixel_blit(): drop all use of x/y; we map to a single cell #1380
4 years ago
nick black
69765080e7
ncplayer: start on row 1 for NCBLIT_PIXEL #1380
4 years ago
nick black
4a203ef0a9
direct mode: optimize out redundant SETAF, nice
4 years ago
nick black
dc62ce46f1
sixel_blit: apply sixel RLE #1378
4 years ago
nick black
38e60a3c0a
sixel_blit(): get it working #1378
4 years ago