1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00
Commit Graph

290 Commits

Author SHA1 Message Date
Witold Filipczyk
f8d08d1db3 [osdep] os_get_free_mem_in_mib
DOS and Linux implementation. Called in bfu/leds.c
2024-05-02 14:31:27 +02:00
Witold Filipczyk
1c9c30ad75 [types] %ld is for long 2024-04-26 22:41:39 +02:00
Witold Filipczyk
23c5c8b866 [status] Boolean option ui.show_mem
Display available memory from /proc/meminfo.
2024-04-25 16:44:39 +02:00
Witold Filipczyk
9ee4ebfa46 [bfu] clang's warning 2024-04-18 17:09:11 +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
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
gabriele balducci
a96d7b3e5f Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
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
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
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
9e7257c3b7 [leds] Check return value of fscanf 2022-10-16 16:08:33 +02:00
Witold Filipczyk
4c775291c0 [color] Missing declaration 2022-10-16 16:06:48 +02:00
Witold Filipczyk
927fe10c6a [cast] (unsigned char) for isspace 2022-10-16 16:04:00 +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
7ea04c7f0f [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
Witold Filipczyk
32afb683f2 [leds] Check return value of fscanf 2022-06-24 22:03:07 +02:00
Witold Filipczyk
83a0a4b42f [input] Fix input history under DOS. 2022-05-22 14:12:27 +02:00
Witold Filipczyk
ac0241f479 [colors] Fix issue with mono colors and menu 2022-03-24 16:05:33 +01:00
Witold Filipczyk
17915976f5 [colors] config.h is usually included first 2022-03-23 19:08:43 +01:00
Witold Filipczyk
27ca62762c [colors] Compilation fixes. Refs #142 2022-03-22 19:11:23 +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
9e39ef5d1a [colors] Unification
Still do not know why in 24bit are issues with menu.
2022-03-20 16:01:05 +01:00
Witold Filipczyk
085c2ebd95 [colors] Simplifications 2022-03-20 15:41:29 +01:00
Witold Filipczyk
411b25cecc [colors] One function instead of two for COLOR_MODE_16 2022-03-20 15:24:15 +01:00
Witold Filipczyk
b2ea78617e [colors] Added _node for 88 colors
Now 88 and 256 colors have inefficient check in add_chars256.
2022-03-20 13:43:58 +01:00
Witold Filipczyk
ed4175a4a7 [mono] _node colors 2022-03-20 13:22:24 +01:00
Witold Filipczyk
9782c7e761 Revert "Revert "[dialog] _node""
This reverts commit 45a7087cec.
2022-03-19 18:56:01 +01:00
Witold Filipczyk
45a7087cec Revert "[dialog] _node"
This reverts commit fb0bd72743.
2022-03-19 15:59:03 +01:00
Witold Filipczyk
07abe94955 [text] Removed unused function 2022-03-19 10:52:50 +01:00
Witold Filipczyk
672e4becf7 [leds] Removed unused functions 2022-03-19 10:36:46 +01:00
Witold Filipczyk
81da515ba3 [menu] Removed unused functions 2022-03-19 10:34:00 +01:00
Witold Filipczyk
75aa0359a0 [menu] Removed unused function 2022-03-19 10:23:45 +01:00
Witold Filipczyk
cd6f8a9ea4 [button] _node 2022-03-19 10:20:41 +01:00
Witold Filipczyk
cb35bfe0b9 [checkbox] Removed commented code 2022-03-19 10:07:54 +01:00
Witold Filipczyk
efe2979ca8 [text] removed commented code 2022-03-19 10:06:11 +01:00
Witold Filipczyk
afa50fe6ae [menu] Removed commmented code 2022-03-19 10:04:38 +01:00
Witold Filipczyk
533e688ab1 [leds] Removed commented code 2022-03-19 10:02:47 +01:00
Witold Filipczyk
318d260b9c [inpfield] Deleted commented code 2022-03-19 09:58:49 +01:00
Witold Filipczyk
fb0bd72743 [dialog] _node 2022-03-18 18:56:54 +01:00
Witold Filipczyk
f2a1998d65 [listbox] _node 2022-03-18 18:51:43 +01:00
Witold Filipczyk
b99c7cfb03 [group] _node 2022-03-18 18:46:34 +01:00
Witold Filipczyk
1db4844920 [menu] _node 2022-03-18 18:44:13 +01:00
Witold Filipczyk
8497f59420 [text] _node 2022-03-18 18:25:08 +01:00
Witold Filipczyk
4411485a04 [checkbox] color_node 2022-03-18 18:12:32 +01:00
Witold Filipczyk
e8719ba9e7 [colors] COLOR_MODE_16
Some bugs left.
2022-03-18 17:00:25 +01:00
Witold Filipczyk
9b1b2f4590 [colors] displaying node_numbers colors for 24bit color 2022-03-18 16:33:52 +01:00
Witold Filipczyk
407ca7d114 [colors] Implemented displaying for 256 color mode 2022-03-18 16:24:48 +01:00
Witold Filipczyk
4b93f841a8 [bfu] draw_*_node 2022-03-17 19:11:13 +01:00