Witold Filipczyk
ce13ef6f97
[event] Do not mix libev headers with libevent
2024-03-08 13:33:58 +01:00
Witold Filipczyk
8167173954
Revert "[libevent] These lines seem not needed"
...
This reverts commit 419ead8604
.
2024-03-07 19:22:52 +01:00
Witold Filipczyk
419ead8604
[libevent] These lines seem not needed
2024-03-07 19:15:51 +01:00
Witold Filipczyk
204234b921
[memcount] libevent malloc, realloc, free replacement functions
2023-12-26 19:09:32 +01:00
Witold Filipczyk
b1bf9e8dba
[libevent] Add SOCK_SHIFT for curl and libevent
2023-12-26 17:04:24 +01:00
Witold Filipczyk
1f4ca1445d
[libevent] include event2/event.h instead of event.h
2023-12-26 15:53:22 +01:00
Witold Filipczyk
5211b2d8a1
[curl] fifo_event was unused
2023-12-26 14:57:25 +01:00
Witold Filipczyk
8d0054041b
[select] Another try
...
Set fields of timeout manually.
2023-12-20 20:31:13 +01:00
Witold Filipczyk
f91d214820
[select] This code is problematic.
...
EINVAL on OpenBSD/i386.
2023-12-20 18:06:20 +01:00
Witold Filipczyk
4ecb3fa8bb
[main] timer.cpp -> timer.c
2023-11-27 15:08:20 +01:00
Witold Filipczyk
f70c1dc51b
[main] module.cpp -> module.c
2023-11-25 14:30:05 +01:00
Witold Filipczyk
8164715d0f
[select] SOCK_SHIFT for curl under Windows
2023-11-06 19:04:14 +01:00
Witold Filipczyk
6629f34466
[memcount] CONFIG_DEBUG inside memcount.h
2023-10-25 17:17:08 +02:00
Witold Filipczyk
1145193290
[curl] Added info about allocations in CONFIG_DEBUG
2023-10-24 17:39:26 +02:00
Witold Filipczyk
bd8b3f590c
[view] Added option "ui.sessions.postpone_unlink" . Refs #257
...
This option let clean files after exit of elinks, not immediately.
2023-08-10 12:22:11 +02:00
Witold Filipczyk
2ab64d4a12
[redraw] Terminals are redrawn similar to links, but for downloads install timer. Refs #258
...
When download dialog is shown, redraw_all_terminals is limited to 20 fps.
At least in theory.
2023-08-08 13:12:15 +02:00
Witold Filipczyk
3923ae6d64
[curl] include sys/cdefs.h for __STRING
2023-07-25 16:14:14 +02:00
Witold Filipczyk
c09b5da405
[curl] free f when non NULL
2023-07-24 16:57:52 +02:00
Witold Filipczyk
a142489a63
[curl] multisocket action also without libevent or libev
2023-07-24 16:52:01 +02:00
Witold Filipczyk
868234cb13
[curl] Added libev code based on curl's evhiperfifo.c
2023-07-09 15:52:16 +02:00
Witold Filipczyk
1a5f77f1f4
[curl] Compilation fixes
2023-07-08 09:30:55 +02:00
Azamat H. Hackimov
393bf23a26
Fix compilation with Perl 5.38
...
Perl now includes own `struct object` which clashes with elinks
implementation. Renamed `struct object` to `struct elinks_object` to
avoid it.
Bug: https://bugs.gentoo.org/909042
2023-07-03 14:12:22 +03:00
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