1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
Commit Graph

404 Commits

Author SHA1 Message Date
Witold Filipczyk
2c47b22bc4 [libsixel] memcount 2023-10-23 21:54:29 +02:00
Witold Filipczyk
7185d705de [debug] compilation fixes for -Dwithdebug=true 2023-10-23 15:56:53 +02:00
Witold Filipczyk
524b4e0469 [terminfo] strike 2023-08-25 20:23:01 +02:00
Witold Filipczyk
c9fd41588f [terminal] Strikethrough for <STRIKE> element 2023-08-25 20:10:54 +02:00
Witold Filipczyk
33731cf82c [terminal] Do not count non-existent temporary files
Weird names were counted on slave terminals, but files
were not created.
2023-08-22 17:19:11 +02:00
Witold Filipczyk
f351f66f84 [info] Show number of temporary files 2023-08-11 15:51:36 +02:00
Witold Filipczyk
bbb18c506a [temp] Shorter for loop 2023-08-11 14:57:14 +02:00
Witold Filipczyk
acbc574b4b [images] Store in map url -> filename for images and others. Refs #257 2023-08-11 13:24:10 +02:00
Witold Filipczyk
a3605dfe50 [images] C++ map instead of linked list for temporary files 2023-08-11 12:15:40 +02:00
Witold Filipczyk
bd8b3f590c [view] Added option "ui.sessions.postpone_unlink" . Refs #257
This option let clean files after exit of elinks, not immediately.
2023-08-10 12:22:11 +02:00
Witold Filipczyk
c45209729f [terminfo] Terminfo also for mono terminals 2023-07-20 12:25:41 +02:00
Witold Filipczyk
83a296234a [terminal] Added terminfo for 24 bit color
To test: Build with terminfo support and run elinks for example as:
TERM=xterm-direct elinks --terminfo 1
2023-07-19 19:00:26 +02:00
Witold Filipczyk
e4fb9a80df [mouse] Decode ESC [ < . Refs #246
It is based on links code. Was not tested too much.
2023-07-18 17:13:58 +02:00
Witold Filipczyk
a67188413c [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp
Implementation of ftpes and sftp is based on curl's hiperfifo example. It requires libevent.
ftpes only encrypts control channel. There were problems when both control and data were encrypted. It stucked on SIZE.
Only successful connections work, errors are not handled properly.
2023-06-19 18:43:53 +02:00
gabriele balducci
a96d7b3e5f Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
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
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
82d76921cd [sixel] Big memory leak 2023-05-26 13:13:00 +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
cb5916214d [c] Let be compatible with -std=gnu90 2023-02-12 12:54:22 +01:00
Witold Filipczyk
7ea7cacade [.config] Read/write configuration from ~/.config/elinks . Refs #199
Note, configs and other files from ~/.elinks/ are not moved
to ~/.config/elinks/ automatically. You must do it yourself.

ELINKS_CONFDIR and HOME_ETC also are no longer supported.
2022-12-26 17:48:55 +01:00
Witold Filipczyk
f3dffb9fd8 [screen] try to replace dirty_from and dirty_to with was_dirty 2022-12-15 14:55:38 +01:00
Witold Filipczyk
df5dd1515e [screen] minor optimisation 2022-12-14 22:18:10 +01:00
Witold Filipczyk
571cb05e05 [screen] Added struct bitfield dirty to screen 2022-12-14 22:04:01 +01:00
Witold Filipczyk
c2bdd5a723 [color] Restore painting of trailing spaces 2022-10-17 10:04:46 +02:00
Witold Filipczyk
828d9e75cf [draw] unicode_val_T in draw_box for UTF8 2022-10-16 15:58:06 +02:00
Witold Filipczyk
f7c44b52fc [color] draw background 2022-10-16 15:26:49 +02:00
Witold Filipczyk
c086cbe26e [color] Removed code related to draw_text_node
This idea failed. Code was slow.
2022-10-16 15:18:34 +02:00
Witold Filipczyk
361b8f661d [long] long -> intptr_t . Refs #8304
AFAIK on Windows long is sizeof 4, while void * is sizeof 8.
intptr_t is the same sizeof as void *.
2022-08-17 20:48:58 +02:00
Witold Filipczyk
172c32a64c [cpp] All files suspected for any C++ relation renamed to cpp
Now (in meson) .c files are compiled by C compiler and .cpp by C++ compiler.
2022-07-31 16:44:11 +02:00
Witold Filipczyk
7ea04c7f0f [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
Witold Filipczyk
3af789e9e6 [smjs] More compilation fixes. Mainly casts. Refs #176 2022-06-17 15:55:05 +02:00
Witold Filipczyk
dfa578d7d9 [color] initialize is_node 2022-06-14 19:51:25 +02:00
Witold Filipczyk
0aeb8b4c25 [mouse] enabled mouse in DOS
Also redefined constants in mouse.h to be consistent with links.
2022-05-10 19:19:49 +02:00
Witold Filipczyk
0de00f8555 [draw] Segfault. Refs #167 2022-05-09 20:53:35 +02:00
Witold Filipczyk
ae23e15104 Revert "[color] Revert changes related to leading and trailing spaces and colours"
This reverts commit 51dd9e7e6e.
2022-05-09 20:37:08 +02:00
Witold Filipczyk
2bec2984c4 [dos] Very experimental DOS port based on links-2.26 code
WATT-32 and openssl you must compile yourself.
You must tweak configure options, something like:
--disable-utf-8, etc.
Only checked on dosemu with LFN. Networking lags is a bit.
2022-05-09 18:53:36 +02:00
Witold Filipczyk
b9a648059b [terminal] Workaround for infinite loop triggered by -remote openURL(URL, new-window) 2022-04-23 17:23:32 +02:00
Unknown
01319aafd2 [ win64 ] build_win64.sh, doc etc. 2022-04-22 21:47:52 +02:00
Witold Filipczyk
1e27359afa [screen] Drop optimisation
Shadows were not displayed correctly, likely because of this check.
2022-03-27 19:37:16 +02:00
Witold Filipczyk
8ee9062955 [options] Introduced ui.background_char. Refs #142
Integer code of background character.
For example:
32 for space
9617 is default value (TV background char).
2022-03-25 20:47:04 +01:00
Witold Filipczyk
ac0241f479 [colors] Fix issue with mono colors and menu 2022-03-24 16:05:33 +01:00