Witold Filipczyk
29138d737a
[meson] Added ecmascript tests
...
It does not work. Tests always succeed, but some should fail.
2024-06-01 21:24:56 +02:00
Witold Filipczyk
ff43fdccbe
[tests] Removed alarm
2024-06-01 20:45:08 +02:00
Witold Filipczyk
b57e1eb565
[tests] alarm after 5 seconds for elinks -test 1
2024-06-01 19:05:39 +02:00
Witold Filipczyk
05f97fa385
[assertions] console.exit() has no params
2024-06-01 13:30:03 +02:00
Witold Filipczyk
fd3502ede8
[mujs] Show number of assertions on exit
2024-06-01 13:25:37 +02:00
Witold Filipczyk
27580a98e9
[quickjs] Show number of assertions on exit
2024-06-01 13:21:50 +02:00
Witold Filipczyk
524cdeb09e
[spidermonkey] Show number of assertions.
...
Return FAIL when number of failed assertions is not 0.
2024-06-01 13:15:28 +02:00
Witold Filipczyk
582c0e6e40
[mujs] element.addEventListener skip duplicates
2024-05-30 20:32:24 +02:00
Witold Filipczyk
ea947405c2
[quickjs] element.addEventListener skip duplicate listeners
2024-05-30 20:24:28 +02:00
Witold Filipczyk
f7e3626a7d
[spidermonkey] element.addEventListener fixes
2024-05-30 20:17:13 +02:00
Witold Filipczyk
5c3ab7781d
[mujs] document.addEventListener fixes and sample html file
2024-05-29 16:37:14 +02:00
Witold Filipczyk
4f6a439cbc
[quickjs] changes in document.addEventListener
...
check for duplicates.
2024-05-29 16:30:37 +02:00
Witold Filipczyk
5efad5b30a
[spidermonkey] fire_onload
...
This function is to dispatch the "DOMContentLoaded" event.
2024-05-28 21:07:59 +02:00
rkd77
e33b789f99
Merge pull request #308 from Moult/patch-2
...
Update INSTALL
2024-05-28 12:23:28 +02:00
Dion Moult
ceeffe1771
Update INSTALL
2024-05-28 19:28:02 +10:00
Witold Filipczyk
ee43345e4a
Revert "[curl] include sys/cdefs.h for __STRING" . Refs #306
...
This reverts commit 3923ae6d64
.
2024-05-27 20:25:23 +02:00
rkd77
dcee1cda20
Merge pull request #305 from pstumpf/master
...
Eliminate sed(1) GNUism
2024-05-27 18:37:24 +02:00
pstumpf
42f2483350
Eliminate sed(1) GNUism
...
\| is an incompatible GNU extension to BREs. This corrupts formatting of the elinkskeys(5) man page on any system where sed is not GNU sed (e.g. the BSDs). Use ERE syntax instead.
2024-05-27 18:21:11 +02:00
Witold Filipczyk
c42188c15a
[curl] Distinguish FTP and SFTP
2024-05-27 16:39:07 +02:00
Witold Filipczyk
17e905b95d
[SFTP] Added -Dsftp option. Enabled by default
...
Fixed building tests.
SFTP can be disabled, even if FTP and libcurl are enabled.
2024-05-27 16:31:25 +02:00
Witold Filipczyk
eb2aaf25ec
[curl] Added include. Refs #304
2024-05-27 11:58:10 +02:00
Witold Filipczyk
a198d2da3c
[curl] Compilation fix. Refs #304
2024-05-27 11:55:13 +02:00
Witold Filipczyk
1f0ee66aec
[protolcols] Do not compile-in SFTP when ftp was disabled. Refs #304
2024-05-27 10:23:46 +02:00
Witold Filipczyk
21dcc580bc
[mujs] element.dispatchEvent
2024-05-26 17:45:19 +02:00
Witold Filipczyk
912f1f2fe5
[quickjs] element.dispatchEvent
2024-05-26 17:27:50 +02:00
Witold Filipczyk
ded0717a64
[spidermonkey] element.dispatchEvent
2024-05-26 16:30:57 +02:00
Witold Filipczyk
7b2e8e7aca
[mujs] document.dispatchEvent
2024-05-26 13:32:41 +02:00
Witold Filipczyk
488dc0a4aa
[quickjs] dispatchEvent
...
There is an issue with ecmascript_heartbeat. Commented now.
2024-05-24 21:34:05 +02:00
Witold Filipczyk
fadf4f48a9
[spidermonkey] dispatchEvent
...
event_handler is called twice, but better than none.
2024-05-24 18:23:25 +02:00
Witold Filipczyk
44b743540e
[ecmascript] keyboardEvent.target
2024-05-23 16:53:12 +02:00
Witold Filipczyk
6534c412c2
[ecmascript] customEvent.target getter
2024-05-23 16:39:43 +02:00
Witold Filipczyk
67deceb07a
[ecmascript] Added event.target getters
...
It does not work, it is a bug in libdom (unintialised value).
2024-05-23 16:23:47 +02:00
Witold Filipczyk
f5ecff0fd0
[xterm] check also for cases like screen.xterm-256color
2024-05-20 17:06:35 +02:00
Witold Filipczyk
9e4541a0b2
[ecmascript] Check NULL
2024-05-20 16:05:52 +02:00
Witold Filipczyk
8b1fa5e1ff
[mujs] Code related to document "similar" to quickjs and spidermonkey
...
Also added prototypes for endsWith and startsWith.
2024-05-19 21:08:35 +02:00
Witold Filipczyk
4d79093742
[quickjs] JS_DupValue in some places.
2024-05-19 16:32:51 +02:00
Witold Filipczyk
1dad777d14
[quickjs] document rewritten a bit
2024-05-19 15:42:02 +02:00
Witold Filipczyk
888f06c74c
[spidermoneky] dom_node_ref
...
There was error in element_finalize.
2024-05-19 13:37:16 +02:00
Witold Filipczyk
cb8a1c5698
[spidermonkey] Typo
2024-05-18 21:11:59 +02:00
Witold Filipczyk
c152c4aeae
[spidermonkey] Added initDocument function
2024-05-18 21:09:14 +02:00
Witold Filipczyk
7885fb0797
[libdom] debug_dump_xhtml
...
Helper function which print current state of document, called
after modification of DOM tree.
2024-05-17 22:05:25 +02:00
Witold Filipczyk
5c92b4ee96
[libdom] Free keyboard and dom related strings
2024-05-12 18:52:27 +02:00
Witold Filipczyk
8a2e85b73f
[dom] keyCodes like in Firefox
...
KeyboardEvent.keyCode returns 0 in Firefox for test case.
I won't change the test, because elinks relies on libdom API.
2024-05-12 16:51:04 +02:00
Witold Filipczyk
2b4dd0f7ba
[mujs] Typo, but still not ok
2024-05-12 13:53:53 +02:00
Witold Filipczyk
ffcbc08d12
[mujs] KeyboardEvent.keyCode (ENTER only)
...
Something is broken.
2024-05-12 13:48:31 +02:00
Witold Filipczyk
e44821367c
[quickjs] KeyboardEvent.keyCode (ENTER only)
2024-05-12 13:30:57 +02:00
Witold Filipczyk
20ab63c1d1
[spidermonkey] KeyboardEvent.keyCode (Enter only)
...
Only Enter is handled. Strings are not "finalized".
2024-05-12 13:17:15 +02:00
Witold Filipczyk
4439f4e976
[spidermonkey] convert keyCode to dom_string
2024-05-12 12:11:26 +02:00
Witold Filipczyk
c45fa86605
[mujs] KeyboardEvent (libdom)
2024-05-11 14:24:27 +02:00
Witold Filipczyk
3e416135f1
[quickjs] KeyboardEvent (libdom)
2024-05-11 13:55:46 +02:00