1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
Commit Graph

5326 Commits

Author SHA1 Message Date
Witold Filipczyk
2735f29b21 [mujs] Added mjs_push_document2
Difference is that this function does not add document to
global object, and does not set thisval.
2024-07-06 12:04:29 +02:00
Witold Filipczyk
6552a3df8a [quickjs] "Fixes" related to DOMParser 2024-07-06 11:43:14 +02:00
Witold Filipczyk
815c8f684b [spidermonkey] Fixes in element.remove() 2024-07-06 10:26:57 +02:00
Witold Filipczyk
6e07af8e50 [spidermonkey] element.remove() 2024-07-06 09:38:05 +02:00
Witold Filipczyk
0f5340834f [mujs] DOMParser (not tested) 2024-07-06 09:18:40 +02:00
Witold Filipczyk
56c11ef07a [quickjs] DOMParser
Not tested.
2024-07-06 09:04:24 +02:00
Witold Filipczyk
7c249117f9 [spidermonkey] DOMParser
Not tested.
2024-07-06 08:44:07 +02:00
Witold Filipczyk
d10fe7d3c7 [ecmascript] Do not fire onload event, when in plain text mode 2024-07-05 16:33:17 +02:00
Witold Filipczyk
af11da3e1c [spidermonkey] dom_node_ref in initDocument and getDocument 2024-07-04 20:02:50 +02:00
Witold Filipczyk
31e4eb240a [spidermonkey] polyfilled fetch
fetch.js code from https://github.com/JakeChampion/fetch
modified to pass test assertion.
Module import in spidermonkey based on examples.
2024-07-03 20:25:11 +02:00
Witold Filipczyk
55979c1551 [spidermonkey] fun dynamically allocated 2024-06-30 16:00:26 +02:00
Witold Filipczyk
298588ad18 [ecmascript] Moved list of timeouts to ecmascript_interpreter from document 2024-06-30 13:58:46 +02:00
Witold Filipczyk
348725ee3a [spidermonkey] Set result for setter and deletter 2024-06-29 10:16:51 +02:00
Witold Filipczyk
8d7ec1a81c [ecmascript] Added camel_to_html function
This function converts text from camelCase to dash-style
and prepends "data-" to string.
2024-06-29 09:42:48 +02:00
Witold Filipczyk
2eb2c2c3f0 [quickjs] No dataset.toString 2024-06-29 08:54:09 +02:00
Witold Filipczyk
e1ab592abf [mujs] element.dataset 2024-06-29 08:51:59 +02:00
Witold Filipczyk
26571aeac2 [quickjs] element.dataset 2024-06-28 20:57:01 +02:00
Witold Filipczyk
3756faf0eb [spidermonkey] Rewrite html after changes in dataset 2024-06-28 17:14:58 +02:00
Witold Filipczyk
85d22c150c [mujs] element.removeAttribute 2024-06-28 17:02:41 +02:00
Witold Filipczyk
5c2f7350bf [quickjs] element.removeAttribute 2024-06-28 16:58:19 +02:00
Witold Filipczyk
d00a11ba59 [spidermonkey] element.removeAttribute 2024-06-28 16:52:55 +02:00
Witold Filipczyk
fe5d5bcf68 [spidermonkey] element.dataset (slow) 2024-06-28 16:42:11 +02:00
Witold Filipczyk
fbbba38b8a [mujs] element.classList getter 2024-06-27 17:54:30 +02:00
Witold Filipczyk
63e65bb4fc [quickjs] element.classList 2024-06-27 17:29:26 +02:00
Witold Filipczyk
7b3a5ea87b [spidermonkey] element.classList 2024-06-27 16:31:27 +02:00
Witold Filipczyk
8c40f0dbd4 [ecmascript] element.innerText setter calls element.textContent setter 2024-06-27 12:44:21 +02:00
Witold Filipczyk
0b4b09453f [mujs] document.getElementsByClassName 2024-06-25 18:32:29 +02:00
Witold Filipczyk
3daca597b5 [quickjs] document.getElementsByClassName
Need to free strings.
2024-06-25 18:25:52 +02:00
Witold Filipczyk
851c9c6f61 [spidermonkey] document.getElementsByClassName
Memory leaks will be addressed later.
2024-06-25 17:38:24 +02:00
Witold Filipczyk
63590b0e05 [dump] char * in place of struct string * 2024-06-25 12:58:29 +02:00
Witold Filipczyk
0f2f6beb05 [dump] print footer after finished dump, not after starting dump. Refs #314 2024-06-25 09:49:44 +02:00
Witold Filipczyk
8d778449a6 [ecmascript] Compare the first character of url with slash
It did not load '_static/something.json'.
2024-06-24 20:36:09 +02:00
Witold Filipczyk
9a68ae3596 [mujs] nodelist2 for querySelectorAll 2024-06-24 17:46:39 +02:00
Witold Filipczyk
68ff18eca4 [quickjs] nodelist2 for querySelectorAll 2024-06-24 17:22:13 +02:00
Witold Filipczyk
89dde0e0b6 [spidermonkey] own implementation of nodeList for querySelectorAll 2024-06-24 17:11:03 +02:00
Witold Filipczyk
5329a84cb5 [ecmascript] Call dom_html_element_get_class_name 2024-06-23 20:36:20 +02:00
Witold Filipczyk
f90f52f5b4 [mujs] simpler element.contains
Go up, not down.
2024-06-23 14:41:51 +02:00
Witold Filipczyk
939bbc66d5 [spidermonkey] simpler element.contains 2024-06-23 14:37:17 +02:00
Witold Filipczyk
49d769e34a [quickjs] Simpler element.contains 2024-06-23 14:31:55 +02:00
Witold Filipczyk
e89dcea08c [mujs] element.contains fix 2024-06-22 21:31:32 +02:00
Witold Filipczyk
c09aadc239 [spidermonkey] element contains itself 2024-06-22 21:29:04 +02:00
Witold Filipczyk
ca4e1451ca [quickjs] element.contains(element) is true 2024-06-22 21:25:33 +02:00
Witold Filipczyk
ac6d22fe38 [mujs] element.textContent getter and setter 2024-06-22 15:13:16 +02:00
Witold Filipczyk
b8dd815e10 [quickjs] Check undefined in xhr.open
And null in statusText getter.
2024-06-22 14:57:18 +02:00
Witold Filipczyk
66dcf19139 [spidermonkey] Check for undefined in xhr.open 2024-06-22 14:40:59 +02:00
Witold Filipczyk
86234795fb [ecmascript] reset_document before rewrite 2024-06-22 12:29:07 +02:00
Witold Filipczyk
b521083839 [spidermonkey] element.textContent getter nad setter 2024-06-20 21:33:18 +02:00
Witold Filipczyk
e8afed7c5c [quickjs] Check whether node is "active" before returning it
Deleted nodes by libdom are removed from map and next request for such
nodes in getOpaque will return NULL.
2024-06-20 18:21:31 +02:00
Witold Filipczyk
acb33d3399 [quickjs] style ref|unref 2024-06-19 18:42:18 +02:00
Witold Filipczyk
6663e06981 [quickjs] nodelist ref|unref 2024-06-19 18:38:14 +02:00
Witold Filipczyk
8d6f26c1d8 [quickjs] keyboard ref|unref 2024-06-19 18:33:16 +02:00
Witold Filipczyk
3290a9d174 [quickjs] event ref|unref 2024-06-19 18:26:30 +02:00
Witold Filipczyk
7b00db6265 [quickjs] element ref|unref 2024-06-19 18:23:08 +02:00
Witold Filipczyk
7c18364e9a [quickjs] document ref|unref 2024-06-19 17:34:17 +02:00
Witold Filipczyk
d67e8ce58b [quickjs] customevent ref|unref 2024-06-19 17:12:08 +02:00
Witold Filipczyk
94952dd006 [quickjs] collection ref|unref 2024-06-19 17:06:25 +02:00
Witold Filipczyk
51b735f695 [quickjs] attributes ref|unref 2024-06-19 17:00:56 +02:00
Witold Filipczyk
d631d32518 [quickjs] attr more ref|unref 2024-06-19 16:53:31 +02:00
Witold Filipczyk
2bf349a013 [quickjs] textContent 2024-06-19 16:48:36 +02:00
Witold Filipczyk
189115b661 [mujs] DOMRect 2024-06-16 20:18:16 +02:00
Witold Filipczyk
86affcf076 [quickjs] DOMRect 2024-06-16 19:41:15 +02:00
Witold Filipczyk
0bcdbef902 [spidermonkey] DOMRect 2024-06-16 18:59:52 +02:00
Witold Filipczyk
6f4e30f8b6 [ecmascript] placeholder for CSSStyleDeclaration.getPropertyValue
It returns undefined.
2024-06-16 18:17:01 +02:00
Witold Filipczyk
78b7499f52 [spidermonkey] Empty finalizer for attributes
There was double free. To be resolved later.
2024-06-16 14:45:54 +02:00
Witold Filipczyk
36571c79b3 [spidermonkey] check for empty string 2024-06-14 21:28:36 +02:00
Witold Filipczyk
42a5152cc4 [quickjs] URLSearchParams 2024-06-14 21:24:14 +02:00
Witold Filipczyk
fed5103e64 [spidermonkey] URLSearchParams 2024-06-12 19:34:13 +02:00
Witold Filipczyk
0a7895e362 [python] Updated comment 2024-06-10 13:25:29 +02:00
Witold Filipczyk
2577da8942 [python] module imp is deprecated. Refs #313 2024-06-10 13:07:23 +02:00
Witold Filipczyk
e12140658e [mujs] allow timeout 0 for setTimeout 2024-06-09 18:52:55 +02:00
Witold Filipczyk
3837f45127 [quickjs] allow timeout 0 for setTimeout 2024-06-09 18:46:47 +02:00
Witold Filipczyk
17eaef0688 [spidermonkey] allow timeout == 0 for setTimeout 2024-06-09 18:42:03 +02:00
Witold Filipczyk
761752239f [ecmascript] Try to not put_interpreter when page is modified 2024-06-08 14:08:28 +02:00
Witold Filipczyk
b3f6f44eaf [mujs] document.readyState 2024-06-06 21:50:59 +02:00
Witold Filipczyk
3178bb66a0 [quickjs] document.readyState 2024-06-06 21:41:43 +02:00
Witold Filipczyk
a4a8171d2a [spidermonkey] document.readyState 2024-06-06 21:30:06 +02:00
Witold Filipczyk
13bf5abfcb [spidermonkey] document.getElementsByName not implemented 2024-06-04 17:15:01 +02:00
Witold Filipczyk
dfa2d3f60c [spdermonkey] document.getElementByClassName not implemented 2024-06-04 17:05:43 +02:00
Witold Filipczyk
7d0b5899a3 [spidermonkey] JS::Heap in element listeners 2024-06-04 16:43:59 +02:00
Witold Filipczyk
bf1ef237b7 [mujs] Typos 2024-06-04 14:31:14 +02:00
Witold Filipczyk
de54805f6c [mujs] style.backgroundClip 2024-06-04 14:28:49 +02:00
Witold Filipczyk
fe0c162b2b [quickjs] style.backgroundClip 2024-06-04 14:24:48 +02:00
Witold Filipczyk
98276c2829 [spidermonkey] style.backgroundClip unused, but jquery checks it 2024-06-04 14:19:27 +02:00
Witold Filipczyk
16b2186d75 [spdermonkey] JS::Heap in document 2024-06-03 21:14:02 +02:00
Witold Filipczyk
ffa6c0c2a7 [meson] / operator for paths 2024-06-03 17:22:24 +02:00
Witold Filipczyk
9d5a827a68 [test] added libdomdeps 2024-06-03 16:54:21 +02:00
Witold Filipczyk
06790918b0 [test] Fix ecmascript tests 2024-06-02 10:13:35 +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
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
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
Witold Filipczyk
c42188c15a [curl] Distinguish FTP and SFTP 2024-05-27 16:39:07 +02:00