Witold Filipczyk
43ae9e7d36
[doc] Some notes about images
2025-06-29 14:28:28 +02:00
Witold Filipczyk
1c51f95f47
[kitty] el_string_init
2025-06-28 20:00:35 +02:00
Witold Filipczyk
ce56d1f306
[kitty] el_string_ref and el_string_unref
2025-06-28 19:39:17 +02:00
Witold Filipczyk
c53a2c9c8b
[sixel] No need to check twice for NULL in unref functions
2025-06-27 19:40:14 +02:00
Witold Filipczyk
364c05f4e8
[sixel] unref allocator early
2025-06-27 19:32:34 +02:00
Witold Filipczyk
b167b2b61b
[memcount] Count stbi allocations (kitty or sixel)
2025-06-27 18:39:21 +02:00
Witold Filipczyk
71a99b4436
[sixel] sixel_allocator also in image.c
...
el_sixel_allocator is NULL when not initialised by init_sixel_allocator.
2025-06-27 18:14:31 +02:00
Witold Filipczyk
bf6ebe2687
[kitty] Try to use reference counting
...
It is a bit suspicious, but worked for a few seconds while testing.
2025-06-26 12:29:58 +02:00
Witold Filipczyk
0fa0e40c32
[kitty] Do not cache kitty images
...
It is bad, but previously it crashed on some local files.
2025-06-26 10:53:10 +02:00
Witold Filipczyk
3a5d480d79
[sixel] Do not "remember" sixel version of image in cache
2025-06-26 08:24:33 +02:00
Witold Filipczyk
dca877376a
[sixel] Align height to 6 pixels
2025-06-25 16:19:35 +02:00
Witold Filipczyk
5b4633ccf2
[kitty] define EL_KITTY_CHUNK 4096
2025-06-25 11:22:30 +02:00
Witold Filipczyk
2c86b6d76b
[kitty] Case when the last chunk is exactly 4000 bytes long
2025-06-25 10:07:20 +02:00
Witold Filipczyk
c68097c930
[kitty] A few bytes sent less for bigger images
2025-06-25 10:00:00 +02:00
Witold Filipczyk
260c5b9492
[kitty] Pass x, y, w, h for every image
2025-06-25 09:28:47 +02:00
Witold Filipczyk
2809a5fa0b
[kitty] 4 bytes per pixel by default
...
People want transparent images.
2025-06-24 18:53:15 +02:00
Witold Filipczyk
fa3da7d854
[images] Check content_type
2025-06-21 09:21:57 +02:00
Witold Filipczyk
4e243d8ffb
[libsixel] Older versions of libsixel have no set_ormode
2025-06-18 15:17:33 +02:00
Witold Filipczyk
cdecac3696
[images] char * instead of unsigned char *
2025-06-16 19:14:15 +02:00
Witold Filipczyk
9919df532e
[image] pass data and datalen instead struct string
2025-06-16 18:50:51 +02:00
Witold Filipczyk
1411b5cc67
[plain] pixels -> sixels
2025-06-16 14:26:15 +02:00
Witold Filipczyk
b752a1f689
[actions] Define ACTION_BOX_SIZE as MAIN_ACTIONS
...
MAIN_ACTIONS is biggest from all kinds of actions in elinks.
At least now. No need to manually increase it every time.
Yes, these arrays ought to be allocated separately to save some RAM.
2025-06-14 19:47:05 +02:00
Witold Filipczyk
908c6c39fe
[actions] Increased ACTION_BOX_SIZE. Refs #382
2025-06-14 19:28:29 +02:00
Witold Filipczyk
b30da1d67d
Revert "[pl.po] HTML-a -> HTMLa"
...
This reverts commit 46910cc601 .
2025-06-14 14:58:30 +02:00
Witold Filipczyk
46910cc601
[pl.po] HTML-a -> HTMLa
2025-06-14 11:21:01 +02:00
Witold Filipczyk
cfc74f3ef7
[sixel] image.x -> image.cx, image.y -> image.cy to be consistent with kitty
2025-06-13 19:21:19 +02:00
Witold Filipczyk
893007b63f
[images] Restore set_screen_dirty_image and clear kitty images
2025-06-13 19:10:45 +02:00
Witold Filipczyk
b97449bf21
[images] Do not display images when document.html.kitty and document.html.sixel are disabled
...
Leave it for traditional handlers.
2025-06-12 19:06:34 +02:00
Witold Filipczyk
34ea3c5dad
[images] gif also supported
2025-06-12 17:01:51 +02:00
Witold Filipczyk
7a4cdc3a43
[images] Handle png and jpegs internally when kitty or sixel are enabled.
2025-06-12 15:15:01 +02:00
Witold Filipczyk
f324ba28a2
[images] Append to string, and flush all at once
2025-06-12 09:35:41 +02:00
Witold Filipczyk
4cbc238ec8
[images] nbsp because 9608 is not show correclty on non-utf8
2025-06-11 19:39:06 +02:00
Witold Filipczyk
05c150f493
[image] Typo
2025-06-11 19:29:31 +02:00
Witold Filipczyk
9de22e9085
[image] Added more portable code for encoding sixel image
2025-06-11 18:00:35 +02:00
Witold Filipczyk
70189a892a
[images] char *
2025-06-11 08:19:19 +02:00
Witold Filipczyk
76a61fa783
[images] box->y not needed here
2025-06-10 20:36:20 +02:00
Witold Filipczyk
5363fd1808
[images] vertical scrolling: box->y seems to be not needed in these conditions
2025-06-10 20:14:44 +02:00
Witold Filipczyk
e9f90632ac
[po] Updated POTFILES
2025-06-10 17:47:40 +02:00
Witold Filipczyk
b553cf57f6
[action] toggle-display-kitty
2025-06-10 17:36:20 +02:00
Witold Filipczyk
c517f1e1bb
[images] <= instead < for sixel
2025-06-10 16:30:54 +02:00
Witold Filipczyk
9798f8ef95
[kitty] Changed < to <= for horizontal scroll
2025-06-10 14:22:23 +02:00
Witold Filipczyk
67b38193e2
[kitty] cx and cy are for terminal positions
...
x and y are positions in pixels.
2025-06-10 14:11:46 +02:00
Witold Filipczyk
20530ab966
[images] less copying. struct el_string with reference count
2025-06-10 14:00:58 +02:00
Witold Filipczyk
f31241a22a
[kitty] Add KITTY_BYTES_PER_PIXEL to setup.h
2025-06-09 20:45:38 +02:00
Witold Filipczyk
a09391f6ef
[kitty] Try nbsp; as placeholder
...
Need to remember to not "compress" nbsps as one space.
2025-06-09 20:17:34 +02:00
Witold Filipczyk
cfdc86fe2e
[kitty] Try to compress images
2025-06-09 19:37:34 +02:00
Witold Filipczyk
8f02de86e8
[kitty] Try to decode kitty escape sequences
2025-06-09 17:54:23 +02:00
Witold Filipczyk
f2872b3711
[kitty] Mark items as sent
...
It could be done better, but at least less flickers on rpi.
2025-06-08 17:33:17 +02:00
Witold Filipczyk
f59be954fa
[kitty] missing files
2025-06-08 16:36:29 +02:00
Witold Filipczyk
5fc2a2bb7d
[terminal] experimental kitty graphics protocol support
...
bool document.html.kitty.
Also need to check kitty in terminal options.
When both kitty and sixel are enabled, kitty has precedence.
2025-06-08 16:21:53 +02:00