Commit Graph

4713 Commits

Author SHA1 Message Date
nick black
bdf54518e3 kitty encoder up to base64 encoding #1095 2021-03-08 23:21:43 -05:00
nick black
4d5fd3c465 add kitty_blit, divert to it in kitty #1095 2021-03-08 23:21:43 -05:00
nick black
bc84987af5
v2.2.3 2021-03-08 07:10:50 -05:00
nick black
c882a44ac5 CMake: CMAKE_REQUIRED_INCLUDES everywhere #1387 2021-03-08 08:32:11 -03:00
nick black
17e92a69f9
keller: work around damage check for pixel #1381 2021-03-08 05:02:15 -05:00
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.
2021-03-08 03:30:17 -05:00
nick black
6c1e3565ac
Merge branch 'master' of github.com:dankamongmen/notcurses 2021-03-07 22:59:11 -05:00
nick black
70be457071
rust: hide blitset definition 2021-03-07 22:59:02 -05:00
nick black
f0c2570915
sixel: don't print empty bands #1391 2021-03-07 22:51:41 -05:00
nick black
b6d818c8f7
OTHERS: add jexer. java gets on the board! 2021-03-07 21:56:07 -05:00
nick black
91b83ea2d9
ncls: accept -b param to specify blitter 2021-03-07 21:37:52 -05:00
nick black
228b9edf09
ncneofetch: adapt to screen width for neofetch-style logos 2021-03-07 21:25:57 -05:00
nick black
ef5a3200de
pull pixelon/pixeloff out of tinfo struct 2021-03-07 19:50:55 -05:00
nick black
6693e5f386
pass tcache down through visual blit stack #1095 2021-03-07 19:30:43 -05:00
nick black
014e2ea8f8
sixel: undo pixelon tcache change, breaks direct mode 2021-03-07 19:10:44 -05:00
nick black
210052906e
sixel: write pixelon/off from tcache #1095 2021-03-07 19:06:42 -05:00
nick black
5bd1db168b
ncvisual_render_pixels(): unite duplicated code 2021-03-07 16:44:42 -05:00
nick black
103eb7fe01
remove codeql-analysis.yml 2021-03-07 15:08:20 -05:00
nick black
cdf8685154
keller: don't use NCSCALE_STRETCH with NCBLIT_PIXEL...yet #1381 2021-03-07 14:16:16 -05:00
nick black
9b2ce38385
ncneofetch: print units on RAM output 2021-03-07 14:11:59 -05:00
nick black
d1fc0c3adc
ncneofetch: no newline in RAM line #1386 2021-03-07 14:10:50 -05:00
nick black
e57a714936
init banner: more vibrant RGB indicator 2021-03-07 14:10:19 -05:00
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.
2021-03-07 13:53:00 -05:00
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).
2021-03-07 11:51:13 -05:00
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.
2021-03-07 11:49:49 -05:00
nick black
e277df390b
sixel: remove obsolete comments 2021-03-04 15:19:01 -05:00
nick black
717562f54e
sixel: binary search, cut another 40% #1380 2021-03-04 02:25:10 -05:00
nick black
76e1f01572
ncls: use NCBLIT_PIXEL 2021-03-04 02:24:55 -05:00
nick black
c0cad0d497
sixel: heap-allocate ctable directly 2021-03-03 23:59:09 -05:00
nick black
f71dbd6413
properly reposition cursor on shutdown in 0 render case 2021-03-03 23:55:34 -05:00
nick black
60ff6a73d6
sliders: simplify, kill compiler warning 2021-03-03 23:33:33 -05:00
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.
2021-03-03 23:17:38 -05:00
nick black
e3ede498b6
sixel: combine ctable/dtable extraction passes, cuts 80% of runtime #1380 2021-03-03 22:34:14 -05:00
nick black
43b3724f07 init banner: punch up RGB signifier 2021-03-02 08:12:37 -05:00
nick black
7b28c68cd5 ncneofetch: prettier RGB signifier 2021-03-02 08:12:37 -05:00
nick black
43937cfb5b ncneofetch: use NCBLIT_PIXEL #1380 2021-03-02 08:12:37 -05:00
nick black
7b61395ec4 sixel: set egc width properly based off tcache #1380 2021-03-02 08:12:37 -05:00
nick black
3ad8057965 ncdirect: proper scaling for NCBLIT_PIXEL #1380 2021-03-02 08:12:37 -05:00
nick black
7592d0c4a3 rendered mode: properly scale pixel graphics #1380 2021-03-02 08:12:37 -05:00
nick black
2eb3bc1f88 get cell size in pixels, include in banner #1368 2021-03-02 08:12:37 -05:00
nick black
f86b4cdc8c
document terminal TIOCGWINSZ pixel support 2021-03-02 01:03:45 -05:00
nick black
1e77fcc5c5
notcurses_stop: restore nonblocking state #1090 2021-03-01 22:38:58 -05:00
nick black
f09ed74e84
sixel: purge leftover cruft 2021-03-01 18:54:57 -05:00
nick black
647225bee3
sixel: document some stuff, drop memset() 2021-03-01 18:26:45 -05:00
nick black
a9c257465a
keller demo: separate legend lines 2021-03-01 18:17:35 -05:00
nick black
7e451c42d2
eliminate duplicate set_fd_nonblocking() 2021-02-28 22:19:55 -05:00
nick black
a759f9ba0b
keller: always begin at row 1 2021-02-28 13:19:19 -05:00
nick black
1b2aedff67
keller: add pixel iteration #1281 2021-02-28 13:03:35 -05:00
nick black
49c7b6be3f
sixel_blit: dumb quantization algorithm #1378 2021-02-28 11:44:34 -05:00
nick black
3382de37e3
ncdirect_render_frame: single row for NCBLIT_PIXEL #1380 2021-02-28 10:13:25 -05:00