Witold Filipczyk
9723da814f
[dd] Make DD and DT consistent with links. Refs #368
2025-02-10 19:37:21 +01:00
Witold Filipczyk
fa926c2ccb
[iframes] Horizontal line with iframe name
2025-02-10 15:57:34 +01:00
Witold Filipczyk
36199d65d2
[iframes] difference in cache_id
2025-02-10 08:11:42 +01:00
Witold Filipczyk
fbfcc63e53
[iframes] copy memory and free memory slowly
...
TODO copy link event hooks
2025-02-09 21:17:33 +01:00
Witold Filipczyk
5b0341eb39
[iframe] remove_document_from_document
...
You cannot go back in iframe, because it crashes elinks.
2025-02-09 17:04:42 +01:00
Witold Filipczyk
cb56c4b18c
[iframes] Handle also iframes without names
...
For nameless iframes assign name -number.
2025-02-08 17:08:09 +01:00
Witold Filipczyk
0b2d83b705
[iframes] Display text ---IFRAME--- to indicate iframes
...
It will be later change to something looking better.
2025-02-08 15:24:52 +01:00
Witold Filipczyk
4f88470fbd
[iframes] function insert_document_into_document
...
iframes are implemented similar to include.
They insert document into document.
TODO: Links must be opened in given iframe instead of the main document.
2025-02-07 17:53:40 +01:00
Witold Filipczyk
44998b3f3c
Merge branch 'master' into if3
2025-02-04 17:28:58 +01:00
Witold Filipczyk
89462bd721
[js] Do not require libcurl for js
...
libcurl is only required for xhr synchronous requests.
If is not compiled-in, return error for xhr sync.
2025-02-04 17:16:17 +01:00
Witold Filipczyk
70f747a420
[iframe] Temporary changes
2025-02-04 16:41:47 +01:00
Witold Filipczyk
b4b65b8713
Merge branch 'master' into if3
2025-02-03 17:52:06 +01:00
Witold Filipczyk
5c29e76807
[eventfd] enable once again
2025-02-03 16:29:08 +01:00
Witold Filipczyk
26d0145181
[eventfd] eventfd instead of pipe
...
Not tested. I does not give any gains, but I want this code to be
tested by users.
2025-02-03 16:27:23 +01:00
Witold Filipczyk
768fbbeaf1
[interlink] Commented new code
...
It was not faster.
2025-02-03 13:36:59 +01:00
Witold Filipczyk
8a4fe80410
[interlink] eventfd version of activation
2025-02-03 12:46:19 +01:00
Witold Filipczyk
de24101c8a
[iframes] Make placeholders for iframes
...
Similar to sixel images.
2025-02-01 20:32:35 +01:00
Witold Filipczyk
639073f78d
[img] casts
2025-02-01 10:37:21 +01:00
Witold Filipczyk
01c386114e
[cached] cache sixel images
...
I guess it is faster to cache them and save in sixel format
than everytime "parse" jpegs, pngs, etc.
2025-01-31 18:38:40 +01:00
Witold Filipczyk
123fa01cfa
[img] skip incomplete images
2025-01-30 16:24:14 +01:00
Witold Filipczyk
180e17a129
[spidermonkey] memory leak
2025-01-30 12:06:37 +01:00
Witold Filipczyk
8f550b8108
[meson] CONFIG_MEMCOUNT separated from CONFIG_DEBUG
2025-01-30 10:38:00 +01:00
Witold Filipczyk
c88f3cb5cb
[sixel] Added debug allocations functions
2025-01-30 09:30:20 +01:00
Witold Filipczyk
32788537fc
[curl] skip 200 Connection established
...
If you want to proxies with curl set environment
variables like http_proxy, https_proxy, ftp_proxy etc.
2025-01-29 21:15:28 +01:00
Witold Filipczyk
d8fbbbe13c
Revert "[screen] SCREEN_ATTR_IMAGE"
...
This reverts commit a5fb13c63a0d4cc905951360eb9662b6e8ef85d5.
2025-01-29 17:50:55 +01:00
Witold Filipczyk
b84d91e5ec
[img] Try to encode img number as utf8
...
Yes, it is silly, but other methods did not work.
xterm flickers, but shows sixel images.
konsole does not flicker, but does not clear images.
At least in bookworm.
2025-01-29 17:45:35 +01:00
Witold Filipczyk
a5fb13c63a
[screen] SCREEN_ATTR_IMAGE
2025-01-29 16:15:52 +01:00
Witold Filipczyk
c98f6c3033
[sixel] Length is known. strlen not needed
2025-01-29 11:44:55 +01:00
Witold Filipczyk
1562a1393f
[meson] Check for memfd_create
2025-01-28 18:46:00 +01:00
Witold Filipczyk
611c07ab6c
[sixel] Try to refresh screen when images are loaded
2025-01-28 16:32:06 +01:00
Witold Filipczyk
b718f8955e
[sixel] messy code to load sixel images
...
memfd_create is not portable, but I don't want
to modify libsixel code.
2025-01-27 22:10:36 +01:00
Witold Filipczyk
9809c60d1d
[plain] Show sixel images in plaintext document as before
2025-01-25 16:42:27 +01:00
Witold Filipczyk
dea05f7867
[python] Snippet for generating elsix attribute
...
It is very slow.
2025-01-24 20:32:45 +01:00
Witold Filipczyk
b781d91e6a
[sixel] Added images also for tables
...
Idea is to first add normal characters as placeholders,
render document as text and later copy images there.
Characters are indexes for images. 33, 34, 35 and so on.
Later I'll change them to invisible characters.
2025-01-23 18:25:37 +01:00
Witold Filipczyk
7bbf2e7ef9
[action] toggle-display-sixel
...
It requires reloading document. Needs more work.
2025-01-22 17:50:30 +01:00
jon
24aff34bec
[download] Auto select 'save' in the file handler dialog when there is no handler
...
This matches links+ behavior and honestly makes downloading files much more convenient.
2025-01-21 08:52:58 +01:00
jon
c02f279a44
[protocol] Add symbol to get the url without scaping
2025-01-21 08:51:05 +01:00
jon
9561d993a5
[download] Show the file name being downloaded instead of the URI for
...
explicitely saved files (matches links+ behaviour)
2025-01-21 08:48:55 +01:00
Witold Filipczyk
84b14fd224
[html] Code for compress empty lines and sixel images
2025-01-20 15:57:11 +01:00
Witold Filipczyk
0ca86825e5
[screen] IMO one additional check can be faster than a loop
2025-01-19 20:31:53 +01:00
Witold Filipczyk
49b50f2f7d
[screen] do not test bitfield twice
2025-01-19 20:27:20 +01:00
Witold Filipczyk
dedba954b9
[screen] Added bitfield dirty_image to screen
...
It is for sixel images to know whether to redraw screen.
2025-01-19 20:00:13 +01:00
Witold Filipczyk
af565afb69
[meson] --no-home 1 in js tests
...
To avoid influence of allow or disallow.txt.
2025-01-19 16:21:22 +01:00
Witold Filipczyk
32ab019299
Merge branch 'elsix'
2025-01-19 14:25:18 +01:00
Witold Filipczyk
c355d5e870
[img] introduce elsix attribute for img
...
elsix is base64 encoded sixel image. It does not
work with tables yet. elsix must be filled by user somehow.
For example in pre_format hook.
2025-01-19 14:19:14 +01:00
rkd77
d012b96006
Merge pull request #365 from doughdemon/sftp
...
[sftp] add declaration of ftp_curl_handle_error
2025-01-19 08:22:48 +01:00
Felix Janda
22a72290ac
[sftp] add declaration of ftp_curl_handle_error
...
fixes compilation error when sftp is enabled but ftp is disabled
2025-01-18 15:50:32 -05:00
Witold Filipczyk
adf52238b1
[sixel] Also clip for scrolling down
2025-01-18 21:26:43 +01:00
Witold Filipczyk
6144214ecf
[sixel] Hide part of image while scrolling
2025-01-18 19:35:03 +01:00
Witold Filipczyk
497887cdd5
[test] misleading indentation
2025-01-16 12:11:35 +01:00