1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

6151 Commits

Author SHA1 Message Date
rkd77
edac06cd6d
Merge pull request #234 from balducci/master
Allow building with -Dlibsixel=false
2023-05-28 12:20:26 +02:00
gabriele balducci
a96d7b3e5f Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
Witold Filipczyk
e3b85a0bfe [po] Updated POTFILES 2023-05-27 22:11:56 +02:00
Witold Filipczyk
1b8397892a [sixel] Added copyright info
Big code fragments were taken from libsixel.
2023-05-27 22:10:00 +02:00
Witold Filipczyk
28b5dc9456 [configure.ac] --with-libsixel 2023-05-27 22:07:11 +02:00
Witold Filipczyk
aae82861cf [sixel] Added sixel to terminal options.
To see sixel images you must:
- build elinks with -Dlibsixel=true
- set document.plain.sixel=1
- enable sixel in terminal options
- add to mailcap:
image/*; img2sixel %s; copiousoutput
or
image/*; convert %s sixel:- ; copiousoutput

and click some images on terminal which supports sixel.

While opening dialogs or menu, sixel images are not shown.
2023-05-27 21:35:31 +02:00
Witold Filipczyk
ed1afeb648 [options] Added bool option document.plain.sixel 2023-05-26 19:46:07 +02:00
Witold Filipczyk
c8f55f5df0 [document] Added cell_width and cell_height to document options 2023-05-26 19:22:56 +02:00
Witold Filipczyk
721d7795cf [sixel] Reuse allocator 2023-05-26 18:51:37 +02:00
Witold Filipczyk
c1b2b60f7c [sixel] Reuse allocator 2023-05-26 15:34:52 +02:00
Witold Filipczyk
9582f865a6 [plain] done_string(&pixels) 2023-05-26 14:41:28 +02:00
Witold Filipczyk
82d76921cd [sixel] Big memory leak 2023-05-26 13:13:00 +02:00
Witold Filipczyk
715c16f4d1 [document] delele sixel images when document done 2023-05-26 13:00:38 +02:00
Witold Filipczyk
5ecf02da29 [plain] Assume that ESC P is sufficient to detect sixel image
Imagick's convert generate some values between 'P' and 'q'.
I left it for the future to detect it properly.
2023-05-26 11:29:33 +02:00
Witold Filipczyk
a7af080101 [teminal] Added two output parameters to get_terminal_size.
cell_width and cell_height in pixels. It is a bit ugly, and not efficient.
2023-05-24 21:52:45 +02:00
Witold Filipczyk
6d44ddd892 [screen] Draw sixel images before redrawing terminal. 2023-05-24 21:14:07 +02:00
Witold Filipczyk
549034322f [sixel] Allow to scroll sixels horizontally.
It does not work. I don't get it.
2023-05-22 20:32:57 +02:00
Witold Filipczyk
3fee0b4f6a [sixel] Copied big framgents of code form libsixel.
Also hardcode 6x13 cell size. Scroll works for me.
2023-05-21 21:17:13 +02:00
Witold Filipczyk
c0a140f4f3 [sixel] Small progress.
You can see images. In ~/.mailcap:
image/*; img2sixel %s; copiousoutput
2023-05-19 21:31:51 +02:00
Witold Filipczyk
ee29a8877b [line] union in place of struct (sixel)
Chars are accessible via ch.chars not chars as before.
2023-05-18 11:12:05 +02:00
Witold Filipczyk
c1d954ab0a [document] bitifield kind in struct line.
I want to use it for sixel, but later some other kinds might be added.
2023-05-18 10:38:30 +02:00
Witold Filipczyk
70b47238e0 [meson] Added libsixel boolean option. Disabled by default 2023-05-18 10:21:08 +02:00
Witold Filipczyk
bb5511207e [libdom] compilation fix 2023-05-17 12:52:47 +02:00
Witold Filipczyk
8485baea76 [meson] No need for -Wc++-compat 2023-05-17 12:50:42 +02:00
Witold Filipczyk
40b825eadd [document] pass charset to document_parse_text 2023-05-16 20:08:36 +02:00
Witold Filipczyk
e470cf76dc [meson] Fix 2023-05-15 19:26:27 +02:00
Witold Filipczyk
084558ee5e [po] Added document/libdom/doc.[ch] 2023-05-15 19:17:37 +02:00
Witold Filipczyk
9a6edd69db [libdom] Possibility to build libcss code without ecmascript.
meson config option libcss enabled by default.
To enable libcss in elinks:
set document.css.libcss = 1
2023-05-15 19:13:38 +02:00
Witold Filipczyk
6c06b2f3de [document] Do not require enabled ecmascript for libcss 2023-05-15 18:33:25 +02:00
Witold Filipczyk
8846617b96 [quickjs] window.c Do not decref function 2023-05-15 17:06:10 +02:00
Witold Filipczyk
748407dee5 [clipboard] wayland version of clipboard scripts 2023-05-13 12:35:14 +02:00
Witold Filipczyk
9396600f7b [contrib] Removed debian. Refs #232
Newer files one can find in debian repository.
2023-05-10 09:16:33 +02:00
rkd77
cdbb0d0b0a
Merge pull request #232 from aelmahmoudy/watch
Fix watch file
2023-05-10 09:14:09 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy)
272c824dbe Fix watch file
It would be better to remove this file (or even the whole
contrib/debian dir), as it confuses uscan
2023-05-10 01:36:49 +02:00
Witold Filipczyk
0a7250d8b2 [libcss] python docs display white background 2023-05-09 18:48:16 +02:00
Witold Filipczyk
d8ba111010 [home] Restored ELINKS_CONFDIR . Refs #199 2023-05-07 14:47:43 +02:00
Witold Filipczyk
d9f9478cc5 [libcss] Commented weird assert 2023-05-06 19:33:38 +02:00
Witold Filipczyk
a754b39287 [quickjs] some finalizers 2023-05-06 10:55:58 +02:00
Witold Filipczyk
d8794b5aec [libdom] spidermonkey finalizers 2023-05-06 10:03:26 +02:00
Witold Filipczyk
4e9862d94b [po] updated POTFILES 2023-05-05 21:14:35 +02:00
Witold Filipczyk
757c686190 [python] Default utf-8. Refs #231 2023-05-05 21:12:10 +02:00
Witold Filipczyk
bb05445ad5 [configure.ac] Removed CONFIG_XML 2023-05-05 20:58:07 +02:00
Witold Filipczyk
c96f4c7177 [meson] Removed CONFIG_XML 2023-05-05 20:48:14 +02:00
Witold Filipczyk
a445c6507a [xml] Removed code related to CONFIG_XML 2023-05-05 20:40:17 +02:00
Witold Filipczyk
6da8ab303f [css] Removed css2 (xml code) 2023-05-05 20:23:40 +02:00
Witold Filipczyk
946c2e11f6 [libdom] removed CONFIG_XML in a few places 2023-05-05 13:55:40 +02:00
Witold Filipczyk
8ad10015f2 [ecmascript] Changes related to events (ontest.html) 2023-05-05 13:23:35 +02:00
Witold Filipczyk
f9993e3918 [mujs] nodelist property length 2023-05-04 17:19:25 +02:00
Witold Filipczyk
d3dc68ab3e [mujs] Removed old code 2023-05-04 16:10:44 +02:00
Witold Filipczyk
1544b1fd02 [quickjs] Removed old code 2023-05-04 16:09:09 +02:00