1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

6647 Commits

Author SHA1 Message Date
Witold Filipczyk
9080bf4dac [assert] document.getElementsByClassName (failed) 2024-04-12 20:00:24 +02:00
Witold Filipczyk
78dcb125ea [assert] element.getAttributeNode 2024-04-12 19:51:50 +02:00
Witold Filipczyk
58129c4396 [assert] element.getAttribute 2024-04-12 19:48:13 +02:00
Witold Filipczyk
9c75225871 [assert] element.firstElementChild 2024-04-12 19:43:35 +02:00
Witold Filipczyk
370c9d90c5 [assert] element.firstChild 2024-04-12 19:39:45 +02:00
Witold Filipczyk
59612be1f8 [assert] element.getElementsByTagName 2024-04-12 19:35:38 +02:00
Witold Filipczyk
e32c69f05f [assert] document.domain 2024-04-12 19:31:32 +02:00
Witold Filipczyk
351aa1fce7 [assert] document.documentURI 2024-04-12 19:28:26 +02:00
Witold Filipczyk
305664eaf9 [assert] document.documentElement 2024-04-12 19:23:49 +02:00
Witold Filipczyk
1445d613c6 [assert] document.doctype 2024-04-12 19:18:08 +02:00
Witold Filipczyk
317361d63b [assert] element.dir.html 2024-04-12 19:15:20 +02:00
Witold Filipczyk
839a1493ac [assert] element.contains.html 2024-04-12 17:36:10 +02:00
Witold Filipczyk
1b1b34e0d7 [assert] element.closest (Failed) 2024-04-12 17:29:46 +02:00
Witold Filipczyk
0ec3a68148 [assert] element.cloneNode 2024-04-12 17:19:28 +02:00
Witold Filipczyk
442f119ffd [assert] element.className 2024-04-12 17:11:25 +02:00
Witold Filipczyk
974429611c [assert] document.body.childNodes 2024-04-12 17:06:39 +02:00
Witold Filipczyk
5f8898b2a2 [assert] element.childElementCount 2024-04-12 17:01:47 +02:00
Witold Filipczyk
274b832fa6 [assert] element.checked 2024-04-12 16:57:20 +02:00
Witold Filipczyk
b9428b846c [assert] document.characterSet 2024-04-12 16:53:26 +02:00
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