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

146 Commits

Author SHA1 Message Date
Witold Filipczyk
759897306d [select] Code depends on libevent and libcurl 2023-06-28 12:27:17 +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
7a91db2f13 [select] Compilation fix 2023-06-20 13:48:27 +02:00
Witold Filipczyk
853e8c544e [curl] Store estimated length for ftpes and sftp. 2023-06-20 08:51:34 +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
0d5a600b33 [select] kill_timer 2023-01-20 11:25:52 +01:00
Witold Filipczyk
201e6c055a [select] Start redrawing terminal also without libevent. Refs #201 2022-12-26 19:02:36 +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
d08bd08171 [select] period_redraw_all_terminals also for non-libevent 2022-12-16 22:19:16 +01:00
Witold Filipczyk
37cc5f52eb [terminal] Periodically refresh screen
DISPLAY_TIME_REFRESH 50ms (No more than 20fps).
It is still using too much CPU for refreshing screen.
2022-12-11 16:22:41 +01:00
Witold Filipczyk
fb30cb3bf4 [ecmascript] clearTimeout without iteration over timeouts list 2022-09-07 21:28:31 +02:00
Witold Filipczyk
63027feabc [mujs] small success window.alert('Thu'); 2022-08-04 20:01:26 +02:00
Witold Filipczyk
1c51410fd3 [mujs] Stubs for mujs 2022-08-01 21:31:07 +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
9cab4ceb94 [event] struct event -> struct el_event 2022-07-21 10:14:13 +02:00
Witold Filipczyk
3d8605cb4f [unused_result] Silly way to suppress warning 2022-06-25 16:11:59 +02:00
Witold Filipczyk
4790ae9981 [smjs] Compilation fixes when -Dsm-scripting=true and -Dspidermonkey=false. Refs #176 2022-06-16 17:33:06 +02:00
Witold Filipczyk
5fefca2cb3 [dos] Do not use poll under DOS 2022-06-11 22:03:10 +02:00
Witold Filipczyk
c3a3225699 [dos] init_os is init_osdep for other operating systems 2022-05-12 14:11:01 +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
33e36dc1e8 [meson] added options: reproducible and source-date-epoch for reproducible builds
Usage example:
-Dreproducible=true \
-Dsource-date-epoch=$(git log -1 --pretty=%ct)
2022-03-25 14:13:03 +01:00
Witold Filipczyk
777d0a4114 [version] Show gpm version 2022-03-01 17:55:13 +01:00
Witold Filipczyk
2e2737e6de [select] Introduced get_handler_data 2022-02-21 19:03:54 +01:00
Witold Filipczyk
3978f3a930 [main] const arg 2022-02-18 15:33:51 +01:00
Witold Filipczyk
07a3a19b75 [main] const in report_af_unix_error 2022-02-17 19:24:30 +01:00
Witold Filipczyk
cba95b2b30 [event] union for const/non-const void * 2022-01-30 19:19:20 +01:00
Witold Filipczyk
0d2cbb8847 [event] const in trigger_event_name 2022-01-30 15:33:05 +01:00
Witold Filipczyk
5f56b97a34 [event] const char *name 2022-01-30 15:08:45 +01:00
Witold Filipczyk
44fc223840 [timer] cast 2022-01-29 12:26:56 +01:00
Witold Filipczyk
a579526325 [main] cast 2022-01-25 18:16:12 +01:00
Witold Filipczyk
e62b301657 [strrchr] Drop cast to const char * 2022-01-18 20:42:29 +01:00
Witold Filipczyk
53a860a3d6 [strchr] casting first parameter to const char * was not a good idea 2022-01-18 20:30:48 +01:00
Witold Filipczyk
881f896e85 [mem_calloc] Cast 2022-01-16 21:08:50 +01:00
Witold Filipczyk
be8a030fa7 [mem_realloc] cast return value 2022-01-16 19:38:30 +01:00
Witold Filipczyk
20c161559c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
Witold Filipczyk
36a4fc1c2f [module] name - const char * 2022-01-14 21:08:04 +01:00
Witold Filipczyk
dfe9186c87 [main] Added --always-load-config command-line option. Refs #137
This option loads config on 2nd instance of ELinks and next.
It can be useful in alias.
2022-01-04 15:15:39 +01:00
Witold Filipczyk
33a9fea02a [version] Show version of libevent 2021-12-28 17:49:15 +01:00
Witold Filipczyk
571d275759 [version] Show runtime version of decompression libraries 2021-12-27 17:02:58 +01:00
Witold Filipczyk
0ed9511286 [c] compilation fixes on Pi 2021-12-22 16:12:09 +01:00
Witold Filipczyk
5a14b61c0d [register] Drop register
Compilers are smart and don't need such hints.
2021-12-03 12:34:00 +01:00
Witold Filipczyk
adddbf53fb [quickjs] clearTimeout 2021-12-01 19:27:50 +01:00
Witold Filipczyk
dc12c13244 [quickjs] Test commit. window.alert('Blabla') works. 2021-10-17 18:17:48 +02:00
Witold Filipczyk
4258e248d0 [gettext] Show info about gettext.
gettext (System) means gettext from the libc library.
gettext (ELinks) builtin from src/intl/gettext.
2021-08-15 17:52:54 +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
36aa04ed12 [time.h] time.h can be included unconditionally 2021-03-19 14:22:04 +01:00
Witold Filipczyk
d20216cf53 [hash] const char * 2021-03-03 14:12:31 +01:00
Witold Filipczyk
0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
ee5ec9c287 [dump] Removed silly debug statement. 2020-10-29 20:23:39 +01:00