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
Witold Filipczyk
835dce933f
[screen] Another compilation fix. Refs #142
2022-03-22 20:49:57 +01:00
Witold Filipczyk
27ca62762c
[colors] Compilation fixes. Refs #142
2022-03-22 19:11:23 +01:00
Witold Filipczyk
458a4894f2
[screen] copy_struct
2022-03-21 14:37:10 +01:00
Witold Filipczyk
aff460d7a9
[screen] Do not check twice for is_node
2022-03-20 16:10:17 +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
1b9072307a
[background] Turbo Vision's background on startup screen
2022-03-20 14:34:19 +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
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