1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

266 Commits

Author SHA1 Message Date
Witold Filipczyk
82431263ed [images] check if temporary file is readable. Refs #257 2023-08-11 13:52:41 +02:00
Witold Filipczyk
cce12632c2 [images] Save in cache only if ui.sessions.postpone_unlink is set. Refs #257 2023-08-11 13:29:55 +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
7e8ffa940c [images] download.c -> download.cpp 2023-08-11 12:28:35 +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
de285144f0 [iframes] Still not functional
There are bugs.
For example:
- frames borders are drawn in wrong place
- iframes are not "relative" to the document, they are drawn in the same position of the screen
  even when scrolling.
- some elements of screen disappear when going back
- crashes
2023-06-10 17:57:28 +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
54f1426e43 [status] Introduced print_screen_status_delayed.
For cases when status is updated often. For example
uploads or downloads.
2023-01-18 21:35:50 +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
af7bed47e6 [download] refresh_dialog in display_download
Results are promising, lower CPU usage while displaying
download info dialog. Need to check bittorrent.
2022-12-15 19:40:12 +01: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
307be32113 [ecmascript] draw_formatted(..., 3) in doc_rerender_after_document_update.
Previously, in document_replace wrong length was passed to add_fragment.
Now, I guess is correct, and testing arithmetics works for me.
2022-07-13 19:10:54 +02:00
Witold Filipczyk
0db5bb7764 [clipboard] Moved function to session, to easier testing. 2022-06-05 15:25:42 +02:00
Witold Filipczyk
ca7b6ca959 [session] Maybe I'm wrong, but two draw_formatted in a row are not necessary. 2022-05-25 20:17:40 +02:00
Unknown
0d60536a09 [ javascript ] rerender core dumps fix 2022-05-25 19:53:33 +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
61dab79139 [download] explicit cast to (char *) instead of macro 2022-03-04 20:59:46 +01:00
Witold Filipczyk
f0d1a425a7 [session] const in ses_find_frame 2022-02-25 20:29:32 +01:00
Witold Filipczyk
7fa9c6f7d9 [download] const description and desc_sep 2022-02-21 18:54:55 +01:00
Witold Filipczyk
4846a04751 [download] explicit cast to (char *) 2022-02-21 18:51:10 +01:00
Witold Filipczyk
1672e75bd2 [download] cast to char * 2022-02-21 18:41:01 +01:00
Witold Filipczyk
f97d3e6164 [session] const in goto_url_with_hook 2022-02-21 18:34:06 +01:00
Witold Filipczyk
0c367b33db [session] changed declaration of handler 2022-02-21 16:09:58 +01:00
Witold Filipczyk
6ee1349dfb [session] const in request_additional_file 2022-02-10 19:52:24 +01:00
Witold Filipczyk
4118a4dfc5 [session] Removed dummy=1 2022-02-10 19:43:29 +01:00
Witold Filipczyk
11b4d40212 [download] const type 2022-01-31 17:49:13 +01:00
Witold Filipczyk
5ef839cf18 [term] enum term_env_type -> term_env_type_T 2022-01-28 17:37:43 +01:00
Witold Filipczyk
44f0adb1cb [cache] enum cache_mode -> cache_mode_T 2022-01-28 17:32:27 +01:00
Witold Filipczyk
2b9f3d5cf9 [download] enum download_flags -> download_flags_T 2022-01-28 17:26:15 +01:00
Witold Filipczyk
ec6cfcaf22 [network] enum connection_priority -> connection_priority_T 2022-01-28 16:22:03 +01:00
Witold Filipczyk
4c159b33cf [session] enum remote_session_flags -> remote_session_flags_T 2022-01-28 14:51:37 +01:00
Witold Filipczyk
20aea2ceaf [session] cast 2022-01-26 17:51:52 +01:00
Witold Filipczyk
881f896e85 [mem_calloc] Cast 2022-01-16 21:08:50 +01:00
Witold Filipczyk
20c161559c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
Witold Filipczyk
a3eb8a369d [uri] Silly change to static char[] instead const char * to avoid warning 2022-01-15 19:08:39 +01:00
Witold Filipczyk
c56f0c5e98 [uri] URI_HOST_PORT 2022-01-15 18:28:46 +01:00
Witold Filipczyk
0e8ee7876a [uri] 0 -> URI_NONE in get_uri to decrease number of warnings 2022-01-14 20:52:17 +01:00
Witold Filipczyk
57c996c383 [dom] compilation fixes 2021-12-08 17:17:50 +01:00
Witold Filipczyk
7b2179be1f [status] window_status unconditional. Refs #128 2021-09-22 15:01:52 +02:00
Witold Filipczyk
66305fcb50 [gettext] try system gettext. Refs #62
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +02:00
Witold Filipczyk
365bacfa96 [session] Unused variables 2021-08-06 19:09:01 +02:00
Witold Filipczyk
a945d47584 [iframes] No progress today 2021-07-28 21:22:47 +02:00
Witold Filipczyk
734028277c [iframe] Small progress. 2021-07-26 21:28:19 +02:00
Witold Filipczyk
06d50a9ccc [iframe] Copy-paste programming does not work 2021-07-25 23:07:05 +02:00
Witold Filipczyk
ec44f8a6fb [iframe] Try to load iframes. Now they are not displayed, but dowloaded. 2021-07-20 15:07:25 +02:00
Witold Filipczyk
221f246d4c [iframe] Begining of iframe rewrite 2021-07-19 22:12:03 +02:00
Witold Filipczyk
e1fbc48d9a [scroll] This time scroll3 is tolerable. 2021-07-17 19:03:51 +02:00
Witold Filipczyk
2acfe70caa [session] Show retry connection dialog also for gemini 2021-07-03 09:50:41 +02:00
Witold Filipczyk
5ed65c8733 [gemini] text/gemini 2021-07-01 20:18:29 +02:00