Witold Filipczyk
16a3732382
[curl] Removed blocking code
2023-06-21 19:35:13 +02:00
Witold Filipczyk
e53f7d8286
[sftp] Restart connection and add / in case of error
2023-06-21 19:32:06 +02:00
Witold Filipczyk
285fe378b5
[ftpes] Non-blocking way to add '/' to directory.
2023-06-21 19:25:48 +02:00
Witold Filipczyk
5c0e8fb889
[sftp] Workaround for symlink to directory
...
Won't work for files with 4096 bytes size, or bigger directories.
2023-06-21 17:47:41 +02:00
Witold Filipczyk
430c3fea93
[ftpes] Check existence of file in blocking way
2023-06-21 17:24:36 +02:00
Witold Filipczyk
2f32ca5611
[curl] Check g.multi
2023-06-20 09:30:14 +02:00
Witold Filipczyk
a2a06df24a
[curl] NOPROGRESS
2023-06-20 09:25:33 +02:00
Witold Filipczyk
853e8c544e
[curl] Store estimated length for ftpes and sftp.
2023-06-20 08:51:34 +02:00
Witold Filipczyk
c3943a441f
[ftp] done_ftpes function for cleanup
2023-06-19 21:50:50 +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
b7bb7fc403
[sftp] Copy-paste (fork and curl)
...
Did not test with keys. User/password works on test connection.
2023-06-17 19:06:43 +02:00
Witold Filipczyk
6b04aff968
[ftpes] Test ftpes implementation (fork and curl).
...
Explicit FTP over TLS. Works, but it is slow.
2023-06-17 17:48:45 +02:00
Witold Filipczyk
dc37be3b60
[uri] Encode only bytes with highest bit set. Refs #226
...
It is not good, but before it was worse.
Characters like ? and = were encoded.
2023-04-27 14:28:19 +02:00
Witold Filipczyk
9ac7f48f19
[test] Removed gettext from dependencies. Refs #218
2023-04-24 09:32:10 +02:00
Witold Filipczyk
7a665d8de4
[uri] Introduced function encode_uri_string_percent. Refs #221
...
This function is similar to encode_uri_string, but does not
encode percents.
2023-04-23 15:05:58 +02:00
Witold Filipczyk
060abde3d6
[config] Changed in more places ~/.elinks -> ~/.config/elinks
2023-01-26 12:41:46 +01:00
Witold Filipczyk
acf7527624
[idn] Back to idn2_to_ascii_8z
...
Previous function did not work under DOS for me.
2023-01-03 17:16:03 +01:00
Witold Filipczyk
8cb69b3832
[meson] libidn2
2023-01-02 17:09:24 +01:00
Robert Scheck
b8ae8297e8
Port ELinks to libidn2
...
Bug: https://bugzilla.redhat.com/1098789
2023-01-02 09:28:34 +01:00
Witold Filipczyk
f03d1ea44d
[meson] Do not build test programs by default
...
If you want run tests, pass -Dtest=true to meson
and run "meson test" at the end.
2022-11-30 10:17:49 +01:00
Witold Filipczyk
294732babc
[test] compilation fixes
2022-11-21 19:09:50 +01:00
Witold Filipczyk
f1f18ace45
[document] Try to set system charset.
2022-11-10 13:25:37 +01: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
3276cb75a1
[tests] compilation fix
2022-10-13 15:53:54 +02:00
Witold Filipczyk
a801578d27
[tests] fixes
2022-10-08 11:05:15 +02:00
Witold Filipczyk
6e83bbf23c
[tests] build_by_default: false for executables.
...
It does not work, but this as a meson issue.
2022-10-07 19:56:54 +02:00
Witold Filipczyk
917378f766
[tests] should_fail not needed
2022-10-07 15:53:20 +02:00
Witold Filipczyk
caf277ff3f
[tests] cheat in get-translated-uri test with leading //
2022-10-07 15:34:32 +02:00
Witold Filipczyk
58387c5a50
[tests] sh -> bash in test-ftp-parser
2022-10-06 18:28:34 +02:00
Witold Filipczyk
0b8230863d
[tests] added dom tests, some of them fail
2022-10-05 19:43:27 +02:00
Witold Filipczyk
92e9ab116a
[tests] temprary should_fail
2022-10-05 18:36:28 +02:00
Witold Filipczyk
7048acab00
[tests] Temporarily set should_fail for get-translated-uri test
2022-10-05 18:34:03 +02:00
Witold Filipczyk
9a677dc5f5
[tests] normalize-uri
2022-10-05 18:27:38 +02:00
Witold Filipczyk
9cb4f4544e
[test] compilation fixes
2022-10-03 19:38:22 +02:00
Witold Filipczyk
faff6b9b63
ascii replacements for linux virtual terminals
...
Patch by sgerwk, slightly modified. Taken from Debian.
2022-10-03 17:55:20 +02:00
Witold Filipczyk
f2cca12915
[http] Set POST_BUFFER_SIZE to 4096
...
Patch from Debian
2022-10-03 17:39:39 +02:00
Witold Filipczyk
8c2f1092f6
[uri] Do not return earlier. Check also POST
2022-09-27 19:54:24 +02:00
Witold Filipczyk
ff495c7716
Merge branch 'master' into mujs
2022-08-18 10:06:27 +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
63027feabc
[mujs] small success window.alert('Thu');
2022-08-04 20:01:26 +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
4811d20a30
[dgi] Unification.
...
one fuction prepare_command instead of two very similar.
2022-07-14 22:29:24 +02:00
Witold Filipczyk
7ea04c7f0f
[isspace] Some implementations of isspace require unsigned char
2022-06-28 20:25:06 +02:00
Witold Filipczyk
797f1e8a8f
[dgi] suppress warning
2022-06-25 16:17:43 +02:00
Witold Filipczyk
ad646029e3
[bittorrent] signed char is not sufficient for va_arg
2022-06-23 21:39:11 +02:00
Witold Filipczyk
57ac78bcdd
[protocol] Added option protocol.default_protocol . Refs #174
2022-06-14 18:43:09 +02:00
Witold Filipczyk
409334369b
[http] Changed default Accept-Header . Refs #143
2022-06-07 10:35:57 +02:00
Witold Filipczyk
47a9356259
[idn] convert_string instead of iconv
2022-06-06 16:04:06 +02:00
Witold Filipczyk
cd0ec0faa9
[Makefile] DRY
2022-06-05 14:25:25 +02:00
Witold Filipczyk
09e3f044da
[test] Fix building tests
...
mailcap test was too hard to build, so skip for now.
2022-06-03 15:09:12 +02:00
Witold Filipczyk
22e8a83472
[idn] Convert domain name to utf-8 from gettext codepage.
2022-06-01 22:24:07 +02:00
Witold Filipczyk
a78f3a0891
[http] Fix issue with uploading files on DOS
2022-05-22 13:39:27 +02:00
Witold Filipczyk
8b1d180f8b
[dgi] Simplification.
2022-05-21 20:48:31 +02:00
Witold Filipczyk
74b1967ce7
[dgi] compilation fix
2022-05-21 20:14:12 +02:00
Witold Filipczyk
443d42608d
[dgi] Experimental DGI support.
...
Dos Gateway Interface was introduced by Arachne browser.
I tested two cases:
file/cdplayer.dgi |[7]$ecdplayer.exe $s
application/pdf pdf>txt|$epdftotext $1 $2
2022-05-21 18:18:55 +02:00
Witold Filipczyk
24c5295a28
[dgi] compilation fixes.
2022-05-18 21:20:45 +02:00
Witold Filipczyk
7af65e06a0
[dgi] Many config options
2022-05-18 21:00:12 +02:00
Witold Filipczyk
ced830020b
[dgi] Some code for cdplayer.dgi
2022-05-17 22:21:16 +02:00
Witold Filipczyk
f4979cb5a4
[dgi] Beginning. Not compilable code
2022-05-16 22:01:41 +02:00
Witold Filipczyk
852e024c40
[uri] Let enter c:\ in goto url dialog
2022-05-10 21:11:48 +02:00
Witold Filipczyk
0e7507b285
[dos] Do not define CONFIG_OS_UNIX for DOS
2022-05-10 20:19:42 +02:00
Witold Filipczyk
bc54b7c5d0
[bittorrent] compilation fix
2022-04-23 16:24:43 +02:00
Unknown
01319aafd2
[ win64 ] build_win64.sh, doc etc.
2022-04-22 21:47:52 +02:00
Witold Filipczyk
0df4ef0571
[http] protocol.http.accept option . Refs #143
2022-04-20 11:24:23 +02:00
Witold Filipczyk
66137e8f7d
[bittorrent] removed commented code
2022-03-19 10:14:25 +01:00
Witold Filipczyk
b2c7566544
[dialogs] _node
2022-03-18 19:22:38 +01:00
Witold Filipczyk
179e30aa12
[bittorrent] draw_*_node
...
There will be some issue with inverted colors.
2022-03-16 18:45:05 +01:00
Witold Filipczyk
2c2cf97e03
[options] No need for C_ macro in INIT_OPT_*
2022-03-02 19:02:47 +01:00
Witold Filipczyk
c2182097a9
[dumb] removed freshmeat , added freshcode.club (fc)
2022-02-27 16:50:52 +01:00
Witold Filipczyk
d8b13d695a
[http] const header_field
2022-02-21 17:58:36 +01:00
Witold Filipczyk
194a34a4be
[http] const code
2022-02-21 17:55:31 +01:00
Witold Filipczyk
18d0a9cd9c
[data] const type
2022-02-21 17:52:17 +01:00
Witold Filipczyk
3930d6a89a
[file] const redirect_location
2022-02-21 17:47:48 +01:00
Witold Filipczyk
fe516f532c
[nntp] explicit cast to char *
2022-02-21 17:42:35 +01:00
Witold Filipczyk
47364e12f2
[rewrite] const in rewrite_uri
2022-02-21 17:36:39 +01:00
Witold Filipczyk
cc56055f1f
[nntp] const protocol
2022-02-21 17:18:35 +01:00
Witold Filipczyk
8e6808b640
[gopher] const format
2022-02-21 17:15:48 +01:00
Witold Filipczyk
a576245561
[cache] const in redirect_cache
2022-02-21 17:13:14 +01:00
Witold Filipczyk
b64753d214
[gemini] changed declaration
2022-02-21 16:56:21 +01:00
Witold Filipczyk
a77925ebb5
[bittorrent] const in init_bittorrent_peer_id
2022-02-21 16:52:48 +01:00
Witold Filipczyk
89340c3848
[intl] const char * in get_cp_mime_name
2022-02-18 15:45:47 +01:00
Witold Filipczyk
7fc4be7689
[http] changed declaration of done_http
2022-02-17 21:32:37 +01:00
Witold Filipczyk
7817f7bced
[bittorrent] const event
2022-02-17 21:19:05 +01:00
Witold Filipczyk
2c10ae2b21
[dialogs] const separator in progress
2022-02-17 21:14:36 +01:00
Witold Filipczyk
37bd8a43f1
[protocol] const info
2022-02-17 20:50:05 +01:00
Witold Filipczyk
74c2ebd12b
[http] const in get_header_param
2022-02-17 20:39:07 +01:00
Witold Filipczyk
e8ad0b5948
[auth] const in add_auth_entry
2022-02-17 20:33:16 +01:00
Witold Filipczyk
dbe9cd5fe3
[protocol] more const in get_protocol_proxy
2022-02-17 20:22:29 +01:00
Witold Filipczyk
839c408086
[protocol] const in get_protocol_proxy
2022-02-17 20:16:42 +01:00
Witold Filipczyk
ea847b8436
[gopher] const in content-type
2022-02-17 19:46:22 +01:00
Witold Filipczyk
d7359f5f79
[gopher] const in description
2022-02-17 19:43:00 +01:00
Witold Filipczyk
0f758ec5a4
[bittorrent] const in bencoding_dictionary_info
2022-02-17 19:33:01 +01:00
Witold Filipczyk
07fb70a4a3
[bittorrent] const in get_peer_message
2022-02-17 19:29:04 +01:00
Witold Filipczyk
a86f992c42
[about] const
2022-02-02 18:53:51 +01:00
Witold Filipczyk
cba95b2b30
[event] union for const/non-const void *
2022-01-30 19:19:20 +01:00
Witold Filipczyk
04c1660f97
[protocol] const name
2022-01-30 15:50:29 +01:00
Witold Filipczyk
10d2fb6c2b
[quickjs] navigator fixes
2022-01-30 13:41:16 +01:00
Witold Filipczyk
157f1978cf
[header] const name
2022-01-29 18:27:06 +01:00
Witold Filipczyk
1c618b1cd4
[bittorent] signed char
2022-01-28 20:53:20 +01:00
Witold Filipczyk
bd27d9a793
[uri] uri_errno_T
2022-01-28 17:22:11 +01:00