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

385 Commits

Author SHA1 Message Date
Witold Filipczyk
c9fd41588f [terminal] Strikethrough for <STRIKE> element 2023-08-25 20:10:54 +02:00
Witold Filipczyk
664b85418e [menu] Added "Remove temporary files" menu entry. 2023-08-11 16:06:05 +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
ce5cec35c5 [config] no-home did not work 2023-08-08 14:23:14 +02:00
Witold Filipczyk
b92d8d9e9b [colors] Back to bfbfbf as text color instead of ffffff. Refs #247 2023-07-20 08:58:08 +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
5fcc27867d [options] Modified description. 2023-06-20 15:44:04 +02:00
Witold Filipczyk
a98470adcb [bookmarks] Added option "document.browse.links.hierbox_goto" . Refs #237
Option is similar to "document.browse.links.target_blank".
It is for hierbox dialogs with a "Go to" button.
2023-06-20 14:40:02 +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
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
d8ba111010 [home] Restored ELINKS_CONFDIR . Refs #199 2023-05-07 14:47:43 +02:00
Witold Filipczyk
c8e0dd9e47 [remote] Now addBookmark takes two parameters URL and title. Refs #227
title must be passed without quotes. Example:
elinks --remote 'addBookmark(https://www.example.com/forum, Forum Example)'

Implementation note: uri->post was reused and is title here.
2023-04-30 20:14:33 +02:00
Witold Filipczyk
060abde3d6 [config] Changed in more places ~/.elinks -> ~/.config/elinks 2023-01-26 12:41:46 +01:00
Witold Filipczyk
8cb69b3832 [meson] libidn2 2023-01-02 17:09:24 +01:00
Witold Filipczyk
846a6a7187 [.config] Add trailing / to xdg_config_home. Refs #202 2022-12-27 11:49:54 +01:00
Witold Filipczyk
d7dacd2dbc [config] Commented unused functions 2022-12-26 17:52:14 +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
8ac424f01b [dump] Added document.dump.terminal_hyperlinks option . Refs #198 2022-11-27 19:39:34 +01:00
Witold Filipczyk
5fa0552ab0 [exmode] Introduced 10 macro config options. macro.0 to macro.9 . Refs #196
They can be bind to keys. For example

set macro.0 = "set ui.show_title_bar = 0"
set macro.1 = "set ui.show_title_bar = 1"
bind "main" "z" = "macro-0"
bind "main" "Z" = "macro-1"
2022-11-13 17:45:42 +01:00
Witold Filipczyk
b6271bae85 [options] trigger option change with exmode. Refs #196 2022-11-12 18:03:40 +01:00
Witold Filipczyk
315eb78a14 [color] Revert changes in bfu/style.c related to draw_text_node Refs #195 2022-10-17 21:42:51 +02:00
Witold Filipczyk
9cb4f4544e [test] compilation fixes 2022-10-03 19:38:22 +02:00
Witold Filipczyk
d229ebe89c [options] Do not compile-in mouse related functions when mouse support is disabled. Refs #189 2022-09-09 11:30:21 +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
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
a1933e8d21 [options] include unistd.h for unlink 2022-05-11 21:30:33 +02:00
Witold Filipczyk
86f50716fe [lookup] cast 2022-05-10 15:29:54 +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
ca1241585f [lookup] Negative values were returned by --lookup 2022-05-08 20:28:36 +02:00
Witold Filipczyk
cdccaeaf21 [options] Set 32 as default value for background character 2022-05-04 12:06:51 +02:00
Witold Filipczyk
77c98ab2a4 [kbdbind] Assign values to default_keybinding every time. Refs #152 2022-04-23 19:42:15 +02:00
Witold Filipczyk
5e55f1981c [kbdbind] static struct 2022-04-23 17:00:08 +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
a583942dfd [options] redraw_all_terminals in case of changing ui colors 2022-03-21 14:11:39 +01:00
Witold Filipczyk
1b9072307a [background] Turbo Vision's background on startup screen 2022-03-20 14:34:19 +01:00
Witold Filipczyk
ff4e3be907 [options] Added unsigned int node to struct option
It will be used for colors.
2022-03-08 19:42:02 +01:00
Witold Filipczyk
2ec2d2b416 [options] rewritten set_option_or_save. Also call change hook 2022-03-05 21:01:38 +01:00
Witold Filipczyk
2c2cf97e03 [options] No need for C_ macro in INIT_OPT_* 2022-03-02 19:02:47 +01:00
Witold Filipczyk
e954286db5 [config] const in get_option_type_name 2022-02-21 18:13:26 +01:00
Witold Filipczyk
4748ae0281 [config] const slash 2022-02-21 16:06:16 +01:00
Witold Filipczyk
b0e93a9eab [intl] const in get_cp_config_name 2022-02-18 15:39:59 +01:00
Witold Filipczyk
9dcae138a7 [cmdline] const target in redir_cmd 2022-02-18 14:57:04 +01:00
Witold Filipczyk
29a84b5f44 [cmdline] const return value 2022-02-18 14:42:25 +01:00
Witold Filipczyk
4bfd00d4db [config] const in help_str 2022-02-10 19:48:46 +01:00
Witold Filipczyk
2b67592dfd [kbdbind] const in kbd_nm_lookup 2022-02-09 18:24:36 +01:00
Witold Filipczyk
bca78f977f [config] const in print_full_help_outer 2022-02-05 15:51:57 +01:00
Witold Filipczyk
471b431a98 [options] option_resolver const 2022-02-04 18:19:15 +01:00
Witold Filipczyk
d5f06127ff [config] get_keymap_name const 2022-02-04 16:40:46 +01:00