1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-03 02:25:30 +00:00
Commit Graph

6191 Commits

Author SHA1 Message Date
Witold Filipczyk
3ff58b17e4 [gemini] Missing LIs. Refs #242 2023-06-27 16:06:58 +02:00
Witold Filipczyk
9bf5494a6a [curl] ACCEPT_ENCODING "" 2023-06-25 19:00:26 +02:00
Witold Filipczyk
5e35e906dc [curl] Begining of curl's http 2023-06-25 18:21:35 +02:00
Witold Filipczyk
f7bbd09c07 [view] Commented code which caused segfault
When document had no links, "move down" caused segfault.
Bad code was introduced with iframe code.
iframes are not ready yet.
2023-06-23 10:45:41 +02:00
Witold Filipczyk
54416c0fa5 [select] Removed unused code 2023-06-22 20:12:56 +02:00
Witold Filipczyk
651e4e72e8 [config] curl's ftp related code requires libevent. Refs #240
It does not compile with libev.
2023-06-22 20:07:08 +02:00
Witold Filipczyk
e69168c58a [ftp] Added bool option "protocol.ftp.use_curl" 2023-06-22 19:39:13 +02:00
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
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
f85f899a7f [plain] Compilation fix. Refs #239 2023-06-20 13:58:14 +02:00
Witold Filipczyk
7a91db2f13 [select] Compilation fix 2023-06-20 13:48:27 +02:00
Witold Filipczyk
4f8af35a52 [po] updated POTFILES 2023-06-20 09:31:47 +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
51c99599f8 [meson] Added -Dlibcurl=true option 2023-06-11 16:39:56 +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
fb4d1c9a27 [iframe] Pass document->nlinks to iframe 2023-06-04 21:18:04 +02:00
Witold Filipczyk
755b588387 [html] Assign document to html_context every time 2023-06-04 21:08:28 +02:00
Witold Filipczyk
2aa34e0f22 [iframe] do not reset current_link 2023-06-04 17:46:22 +02:00
Witold Filipczyk
cdcb32af8a [html] unused variable 2023-05-30 15:26:38 +02:00
Witold Filipczyk
cdb37b743d [libcss] No warning 2023-05-30 15:24:47 +02:00
Witold Filipczyk
4ffa019038 [libcss] memacpy to avoid warning 2023-05-29 15:27:05 +02:00
Witold Filipczyk
ba0cb07faf [html] libdom can be not compiled-in 2023-05-29 13:46:23 +02:00
Witold Filipczyk
52c61a6450 [python] Py_SetProgramName is deprecated 2023-05-29 13:23:18 +02:00
Witold Filipczyk
d6cb06f105 [html] Sites with ISO-8859-2 encoding displayed garbage. 2023-05-29 13:07:26 +02:00
Witold Filipczyk
1a05e20203 [libcss] mem_free in resolve_url 2023-05-28 20:48:26 +02:00
Witold Filipczyk
c1fc9ff532 [libcss] No need to select twice 2023-05-28 20:22:50 +02:00
Witold Filipczyk
4f2ff8536b [libcss] Bring back assert 2023-05-28 17:07:47 +02:00
Witold Filipczyk
41074ac1ca [dom] Bad function for unref caused memory leak. 2023-05-28 16:50:19 +02:00
Witold Filipczyk
df7c4c0579 [dom] Do not treat single '\n' specially 2023-05-28 15:48:14 +02:00
rkd77
edac06cd6d
Merge pull request #234 from balducci/master
Allow building with -Dlibsixel=false
2023-05-28 12:20:26 +02:00
gabriele balducci
a96d7b3e5f Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
Witold Filipczyk
e3b85a0bfe [po] Updated POTFILES 2023-05-27 22:11:56 +02:00
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
ed1afeb648 [options] Added bool option document.plain.sixel 2023-05-26 19:46:07 +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