1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

7404 Commits

Author SHA1 Message Date
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
Witold Filipczyk
3012ad04ad [draw] Second if removed
I guess there is off-by-one here.
2025-01-16 11:20:32 +01:00
Witold Filipczyk
b54ce58c57 [draw] One if less 2025-01-16 10:42:28 +01:00
Witold Filipczyk
50692a9fdc [margin] Set box from the begining 2025-01-15 15:39:21 +01:00
Witold Filipczyk
821a0ecbbb [margin] Try to draw frame lines
It ought to be simpler.
2025-01-15 11:34:24 +01:00
Witold Filipczyk
4b979b47ed [meson] Try to set TERM=dumb for js tests. Refs #361 2025-01-13 19:48:31 +01:00
Witold Filipczyk
765ccd406f [meson] Added bool test-js. Refs #361
Default enabled, but requires also Dtest=true
Not every test environment has access to terminal.
AFAIK, elinks needs terminal, js tests depend on elinks binary.
2025-01-13 18:42:19 +01:00
Witold Filipczyk
e66e00d469 Revert "Revert "[draw] Set margin also for frames""
This reverts commit f0fb1584f9316bb392460ad41dcdf4734b312797.
2025-01-13 17:26:36 +01:00
Witold Filipczyk
f0fb1584f9 Revert "[draw] Set margin also for frames"
This reverts commit b9348af7e086e77b015bc630cf3518eb75256936.
2025-01-13 17:10:26 +01:00
Witold Filipczyk
b9348af7e0 [draw] Set margin also for frames
Tested on test/frames.html
2025-01-13 16:33:01 +01:00
Witold Filipczyk
7d4f8ce0b1 [win32] el.bat as suggested in #363 2025-01-13 10:02:28 +01:00
Witold Filipczyk
d5e88f6924 [url] Removed suspicious mem_free_if 2025-01-12 20:13:52 +01:00
Witold Filipczyk
b4fc111982 [url] get_uri in quickjs 2025-01-12 20:11:35 +01:00
Witold Filipczyk
4750770259 [url] get_uri instead of parse_uri in spidermonkey URL implementation 2025-01-12 19:56:42 +01:00
Witold Filipczyk
2c4c31a084 [html] compress_empty_lines also in documents rewritten by js 2025-01-12 15:16:44 +01:00
Witold Filipczyk
f8e158309e [js] Group variables together and change type for Spidermonkey 2025-01-11 20:27:40 +01:00
Witold Filipczyk
31be553392 [mem] calloc -> mem_calloc. Refs #362 2025-01-11 15:01:18 +01:00
Witold Filipczyk
c68f7e2ab6 [html] Added option document.html.compress_empty_lines. Refs #362
It was not tested too much.
2025-01-11 14:36:37 +01:00