1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00
Commit Graph

131 Commits

Author SHA1 Message Date
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
Witold Filipczyk
d1ecd45828 [mozjs52] It compiles, but often segfaults. No idea yet how to fix it. 2020-10-27 14:53:24 +01:00
Witold Filipczyk
1f57e72212 [mozjs24] Allow build elinks with g++
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.

Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
Witold Filipczyk
5f87bdbcb2 [meson] meson build scripts.
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.

autotools still will be available.
2020-09-05 22:06:01 +02:00
Witold Filipczyk
c56d11cfb9 [main] Fixed issue with scripting and fork_on_start 2020-05-22 21:52:36 +02:00
Witold Filipczyk
2dcac411a8 [sessions] New option ui.sessions.fork_on_start
Default value of this bool option is 0. Nothing changes in behaviour since 0.13.1.
If you set it to 1, one more process will be started. This main process will handle
only interlink connections, while other processes will be slaves to it.
This will allow to exit first started elinks session without breaking others.
2020-05-21 16:53:43 +02:00
Witold Filipczyk
f89b26d5b2 [interlink] Fixed elinks -remote 'ping()' 2020-05-20 18:35:40 +02:00
Witold Filipczyk
08138487a0 [interlink] Test commit. All terminals - slaves.
Before when master terminal quit session, all slave terminal stopped to work.
There is a workaround. ELinks on master terminal forks on start and becomes slave.
2020-05-17 16:35:58 +02:00
Witold Filipczyk
e532e348f8 [timer] set_event_for_timer is only for libevent 2019-11-16 11:35:18 +01:00
Witold Filipczyk
d56ad7ceb0 [select] restrict_fds was called only with LIBEVENT and POLL 2019-11-16 11:29:06 +01:00
Witold Filipczyk
21b8cf37d9 [select] Fixes based on links code
bittorrent code caused segmentation fault, because get_handler read
outside of current fd range. Workaround is to return NULL.
2019-11-16 09:40:01 +01:00
Witold Filipczyk
558baa830e [select] More code to avoid warning 2019-11-15 16:37:02 +01:00
Witold Filipczyk
90086599da [encoding] Experimental zstd encoding 2019-07-14 18:54:39 +02:00
Witold Filipczyk
3d96b0d7d7 Revert "Compile with C++."
This reverts commit 4f4df33638.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
4f4df33638 Compile with C++.
Weak points:
- alignof
- js problems

Todo:
- make js work with C++ and mozjs-17
- then mozjs-24
- then mozjs-52
- then mozjs-60
- decrease number of warnings
2019-02-17 20:46:16 +01:00
Felix Janda
336e596a83 Rename VA_COPY to va_copy
With this, the C99 standard macro va_copy is used when available
instead of the prestandard __va_copy.
2017-11-23 19:18:20 -05:00