Witold Filipczyk
d696ca2f96
[assert] document.body.id
2024-04-12 16:49:16 +02:00
Witold Filipczyk
6059ad2211
[assert] element.attributes
2024-04-12 16:45:36 +02:00
Witold Filipczyk
4aee3a3717
[assert] document.anchors
2024-04-12 16:42:15 +02:00
Witold Filipczyk
ca3cc5b214
[assert] document.baseURI
2024-04-12 16:37:47 +02:00
Witold Filipczyk
da14bf16cd
[assert] document.body.children
2024-04-12 16:31:49 +02:00
Witold Filipczyk
1435c2da92
[assert] element.appendChild
2024-04-12 16:27:11 +02:00
Witold Filipczyk
3f9af02ff6
[ecmascript] Do not rewrite html when testing
2024-04-12 16:17:41 +02:00
Witold Filipczyk
5f74bdd539
[assert] element.id
2024-04-12 16:17:22 +02:00
Witold Filipczyk
298d4cb206
[assert] Begin
2024-04-12 16:02:38 +02:00
Witold Filipczyk
86b621966e
[mujs] console.exit
2024-04-11 19:17:10 +02:00
Witold Filipczyk
58515c8df4
[quickjs] console.exit
2024-04-11 19:10:41 +02:00
Witold Filipczyk
6adca27072
[test] Added command line option --test
...
If --test 1, then elinks is headless. Display is /dev/null.
console.exit(0); or console.exit(1);
terminates elinks session.
console.exit is implemented for spidermonkey only.
2024-04-11 18:58:07 +02:00
Witold Filipczyk
e9ad5b4d70
[mujs] console.assert
2024-04-11 17:52:29 +02:00
Witold Filipczyk
43fb1e84bc
[quickjs] console.assert
2024-04-11 17:38:49 +02:00
Witold Filipczyk
4190613ed2
[spidermonkey] console.assert
2024-04-11 17:27:15 +02:00
Witold Filipczyk
7545b8093d
[getpid] Removed check for HAVE_GETPID
...
It is assumed that every supported system has getpid().
2024-04-11 11:17:30 +02:00
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