Witold Filipczyk
7dedda3022
[SITES] Mentioned also MSYS2
2024-04-11 08:14:11 +02:00
Witold Filipczyk
33bf3ddf03
[SITES] MacOS brew
2024-04-11 08:09:48 +02:00
Witold Filipczyk
1489e4002a
[style] shorter
2024-04-11 08:07:48 +02:00
rkd77
605f2d8ddb
Merge pull request #296 from smemsh/masterpid-forkonstart
...
fix suspend in session master when fork_on_start
2024-04-11 08:01:17 +02:00
Scott Mcdermott
b2556aa953
[fg] track master proc for suspend via pids, not term fds, for fork_on_start
...
When ui.sessions.fork_on_start, we fork a process that has a different
fdout than get_output_handle() (which has hardcoded fdout of 1), so it
will never be considered term->master, yet this is the process we want
to wake up in SIGTSTP handler.
Since we cannot rely on term->master to determine if we are the master
process, we instead move master_pid to be set explicitly at the places
where we have information about whether our process is a master or a
slave: first on start, then once the interlink determination has been
made.
master_pid has to be set in both parent and child, because both will get
suspended and need to know which one needs to resume in background with
SIGCONT (the master). We can't inherit from the parent because it's
unknown at the time of fork.
Previously, master_pid worked correctly with fork_on_start=0,
-no-connect or -dump, but not with fork_on_start=1.
See #287 for background.
2024-04-10 15:14:23 -07:00
Witold Filipczyk
5886cad776
[curl] Once again disable FOLLOWLOCATION
...
The issue with curl is that it does not work with rememberred passwords.
2024-04-09 20:27:30 +02:00
Witold Filipczyk
e183bc7bab
[style] perl-like {}
2024-04-08 15:01:58 +02:00
rkd77
14c10000da
Merge pull request #295 from smemsh/test-mailcap
...
let $DISPLAY be set for mailcap tests, and make standalone
2024-04-08 14:51:25 +02:00
Scott Mcdermott
dbdd49718d
[mailcap] allow to run 'mailcap-cache' test with --display=0/1 or yes/no
...
the tests do not allow ever matching the entries with DISPLAY=:0 test,
since it's hardcoded to force $DISPLAY unset
leave default unchanged, (forced unset), but just add a command line
flag if user wants to match the entry with $DISPLAY set in mailcap
2024-04-08 02:22:43 -07:00
Scott Mcdermott
afc5ac5deb
[mailcap] silence compiler warning about get_mailcap_path() const qualifier
...
it's declared "const char *path" in "struct option_init", but we're
using it as char *, so cast it
2024-04-08 02:14:19 -07:00
Scott Mcdermott
d1621e7230
[mailcap] make a meson 'test-mailcap' option that only builds mailcap tests
...
Not all 'test' compiled, and only needed to test mailcap, so separated
it out. It will still be built with 'test' option like before.
2024-04-08 01:55:25 -07:00
Witold Filipczyk
4c3d7ecbc4
[win32] Check if cmdline_options is not NULL
2024-04-07 19:57:59 +02:00
Witold Filipczyk
a1b438a140
[types] get rid of longptr_T
2024-04-07 19:55:02 +02:00
Witold Filipczyk
699531f541
[options] intptr_t instead of longptr_T
...
longptr_T was not long enough on Windows
2024-04-07 19:50:11 +02:00
Witold Filipczyk
82b16247d3
[meson] Added temporary option msys2
...
Fo msys2 add -Dmsys2=true
I don't know how to detect msys2.
host_machine.system() returns 'windows'
windows.h and winsock.h
interfere with cygwin or msys2, so are not included for msys2.
If you know how to make it better, let me know.
2024-04-06 20:13:24 +02:00
Witold Filipczyk
dcc5d3786a
[docker] Updated to Fedora 39, www.mirrorservice.org for ftp.delorie.com
2024-04-04 16:49:01 +02:00
Witold Filipczyk
2d11e12685
[asciidoc] Fix syntax
2024-04-04 15:42:21 +02:00
Witold Filipczyk
d09f8060ee
[types] Define OFFT_MAX somehow
2024-04-04 15:30:09 +02:00
Witold Filipczyk
41724fb217
[config] Compilation fix
2024-04-04 15:27:56 +02:00
Witold Filipczyk
afd2456319
[configure.ac] --with-libcss to enable libcss support also without js
2024-04-02 13:18:18 +02:00
Witold Filipczyk
08cdc9b00f
[meson] Fallback to static library when shared libcss or libdom are not available
2024-04-01 17:48:48 +02:00
Witold Filipczyk
3ca409f53f
[curl] Send Accept-Language
2024-03-29 19:13:53 +01:00
Witold Filipczyk
674fa3c907
[curl] duplicate
2024-03-29 18:52:51 +01:00
Witold Filipczyk
085c87edbc
[curl] Reset string with headers
...
When following urls, headers were added to previous values.
2024-03-29 13:38:32 +01:00
Witold Filipczyk
d10108751f
[curl] FOLLOWLOCATION 1
...
It does not execute follow-url-hook, but works.
2024-03-29 11:50:04 +01:00
Witold Filipczyk
d12dacf6ab
[config] mkdir_with_parents for config directory
...
Based on glib2 code
2024-03-27 15:47:32 +01:00
Witold Filipczyk
f2690c3e21
[loop] check_bottom_halves after starting libevent and curl
...
dump with curl enabled did not work
2024-03-18 18:19:12 +01:00
Witold Filipczyk
88de3ca754
[perl] ses can be NULL for pre_format_html_hook. Refs #291
2024-03-18 12:44:02 +01:00
Witold Filipczyk
e47a482590
[signals] Removed code related to SIGALRM
...
links does not have such code.
2024-03-17 17:05:22 +01:00
Witold Filipczyk
6684f4bdef
[select] Always compile-in select's version of curl functions
...
For -no-libevent 1
2024-03-17 17:00:13 +01:00
Witold Filipczyk
5410019b88
[select] Add suffix _select for curl's select related functions
2024-03-17 16:54:54 +01:00
Witold Filipczyk
c1d4d7d9bc
[signals] EINTRLOOP for consistence
2024-03-17 11:03:48 +01:00
Witold Filipczyk
86285f9f66
[conv] Minus instead of dot
2024-03-16 12:33:56 +01:00
Witold Filipczyk
6e4540cde7
[perl] use Array::Base +1
...
Script modified. Likely not all is correct.
Old version did not work with current Perl version.
2024-03-13 17:38:06 +01:00
jon
d4b52d5bc4
[bookmarks] Script to convert bookmarks from links2 to elinks
2024-03-13 10:32:17 +01:00
Witold Filipczyk
5db5d33911
[libdom] Check charset in document only when it was not present in headers
2024-03-12 21:41:06 +01:00
Witold Filipczyk
415cd4d261
[mujs] CustomEvent
2024-03-12 18:33:45 +01:00
Witold Filipczyk
87c492680c
[quickjs] CustomEvent
2024-03-12 17:56:47 +01:00
Witold Filipczyk
072acebcc8
[spidermonkey] CustomEvent
2024-03-12 17:38:31 +01:00
Witold Filipczyk
909f8bac07
[mujs] More properties for MessageEvent
2024-03-11 18:07:51 +01:00
Witold Filipczyk
a46524f579
[quickjs] More properties for MessageEvent (copied from Event)
2024-03-11 17:44:04 +01:00
Witold Filipczyk
c7c494fc2b
[spidermonkey] More properties for MessageEvent
2024-03-11 17:24:44 +01:00
Witold Filipczyk
65ce0cdd20
[mujs] Copy properties Event -> KeyboardEvent
2024-03-11 16:39:42 +01:00
Witold Filipczyk
f6ca5b8ce8
[quikcjs] Copied props from Event to KeyboardEvent
2024-03-11 16:14:19 +01:00
Witold Filipczyk
1ad7db0e63
[spidermonkey] copied properties and code from Event to KeyboardEvent
2024-03-11 15:54:26 +01:00
Witold Filipczyk
dd40377e71
[mujs] 2nd param for Event constructor
2024-03-10 19:08:31 +01:00
Witold Filipczyk
d0e80bbe83
[quickjs] second param for Event constructor
2024-03-10 18:55:03 +01:00
Witold Filipczyk
48c5e80b31
[spidermonkey] handle second argument for Event constructor
2024-03-10 18:43:32 +01:00
Witold Filipczyk
0d28694b45
[mujs] event.preventDefault
2024-03-10 18:11:44 +01:00
Witold Filipczyk
da7a525c99
[quickjs] event.preventDefault()
2024-03-10 18:06:56 +01:00