rkd77
271569c409
Merge pull request #316 from john-peterson/make
...
generate fetch.h from make
2024-08-15 09:43:29 +02:00
Witold Filipczyk
90dbe1871d
[spidermonkey] Modified Element.closest
...
to be consistent with quickjs and mujs.
2024-08-14 20:17:33 +02:00
John S Peterson
50ca8b2cde
generate fetch.h from make
2024-08-13 19:02:26 +03:00
Witold Filipczyk
63579d4b75
[mujs] Modified Element.closest
2024-08-13 17:51:39 +02:00
Witold Filipczyk
9ed2c152fa
[quickjs] Rewrite of Element.closest
...
There were leaks. Still they are.
2024-08-12 20:08:38 +02:00
Witold Filipczyk
50401d3055
[css] More dom_node_unref
...
Subsequent calls to el_match_selector cause memleak.
Need to resolve it.
2024-08-11 18:51:51 +02:00
Witold Filipczyk
d805d4bdbf
[css] dom_node_unref in parent_node
...
Test element.matches.html passes
2024-08-10 20:52:49 +02:00
Witold Filipczyk
cb1d80acd4
[quickjs] debug
2024-08-10 10:09:21 +02:00
Witold Filipczyk
dd74b31fda
[mujs] dom_node_unref in attr finalizer
2024-08-09 15:47:43 +02:00
Witold Filipczyk
98e7ee5c8b
[mujs] namednodemap_unref in attributes finalizer
2024-08-09 15:42:41 +02:00
Witold Filipczyk
62cf824fc6
[mujs] Commented out code to be consistent with quickjs
...
domparser.html passes
2024-08-09 15:33:14 +02:00
Witold Filipczyk
ef06daa504
[mujs] casts
2024-08-09 15:28:07 +02:00
Witold Filipczyk
9921589785
[quickjs] Casts to avoid warnings
2024-08-09 15:24:44 +02:00
Witold Filipczyk
5e73db98bf
[quickjs] More debug statements
2024-08-08 17:48:59 +02:00
Witold Filipczyk
be7cd62625
[mujs] More debug statements
2024-08-08 17:40:58 +02:00
Witold Filipczyk
bb172ed9fe
[mujs] More nodelist_unref
2024-08-07 18:37:19 +02:00
Witold Filipczyk
32471eb951
[mujs] Free nodelist in element.getElementsByTagName
2024-08-07 18:29:33 +02:00
Witold Filipczyk
f89a87882a
[mujs] Free nodelist in getElementsByTagName
2024-08-07 18:23:47 +02:00
Witold Filipczyk
157f90d1cc
[quickjs] commented ref|unref
2024-08-07 17:47:35 +02:00
Witold Filipczyk
c7b3713235
[ecmascript] Debug before free context
2024-08-07 17:31:03 +02:00
Witold Filipczyk
159eda99c0
[ecmascript] Some debug statements in mujs and quickjs
...
mujs and quickjs have different order of executing finalizers,
so differences in (not) releasing memory.
2024-08-07 16:31:27 +02:00
Witold Filipczyk
f8c842ac70
[mujs] dom_node_unref in doctype finalizer
2024-08-06 18:18:17 +02:00
Witold Filipczyk
299a8fd5a3
[ecmascript] Swapped order of parameters for camel_to_html
...
The result string as the last parameter not the first one.
2024-08-06 16:58:53 +02:00
Witold Filipczyk
b5e85bc15c
[mujs] collection2.c for getElementsByClassName
2024-08-05 21:05:04 +02:00
Witold Filipczyk
ff81eaa220
[mujs] More dom_node_unref after mjs_push_element.
...
Similar cases to quickjs.
2024-08-04 20:02:29 +02:00
Witold Filipczyk
432edc6f65
[mujs] free html_collection in collections's finalizer
2024-08-04 17:24:20 +02:00
Witold Filipczyk
1ed5cf1d86
[mujs] Free attr_name
2024-08-04 08:50:09 +02:00
Witold Filipczyk
999a2c6de7
[spideronkey] Free attr_name
2024-08-03 19:37:25 +02:00
Witold Filipczyk
e050734266
[quickjs] dom_node_unref after getElement
2024-08-03 19:29:33 +02:00
Witold Filipczyk
9d2a83b09c
[ecmascript] initialise with NULL
2024-08-03 19:28:37 +02:00
Witold Filipczyk
0b671d69f7
[spidermonkey] getElement(...) followed by dom_node_unref
2024-08-03 19:27:18 +02:00
Witold Filipczyk
ae82d42318
[quickjs] element.appendChild and cloneNode
2024-07-24 21:02:16 +02:00
Witold Filipczyk
c4fe2c04ca
[quickjs] Fix in createElement
2024-07-24 20:51:19 +02:00
Witold Filipczyk
ff28219a94
[quickjs] documentElement
2024-07-24 20:48:11 +02:00
Witold Filipczyk
9329b66b28
[quickjs] document.body.id
2024-07-24 20:45:49 +02:00
Witold Filipczyk
f356c05dcc
[quikcjs] firstElementChild
2024-07-24 20:42:25 +02:00
Witold Filipczyk
e6bf26fa31
[quickjs] lastChild, nextSibling
2024-07-24 20:37:36 +02:00
Witold Filipczyk
eba47a3352
[quickjs] element.firstChild
2024-07-24 20:31:18 +02:00
Witold Filipczyk
1570955137
[quickjs] parentNode, parentElement .html
...
They pass test with --leak-check=full
2024-07-24 20:26:13 +02:00
Witold Filipczyk
7872617317
[quikcjs] previousElementSibling.html
2024-07-24 20:23:06 +02:00
Witold Filipczyk
daa753e98a
[quickjs] element.previousSibling
2024-07-24 20:18:47 +02:00
Witold Filipczyk
c01339fee9
[quickjs] domparser.html passed test
2024-07-24 20:13:13 +02:00
Witold Filipczyk
4dc436e26d
[quickjs] Free response_text in xhr.c finalizer
2024-07-24 18:40:58 +02:00
Witold Filipczyk
2fd55215a7
[quickjs] Commented out dom_node_ref
...
dom_node_ref should be added in places where is JS_SetOpaque.
2024-07-24 17:51:23 +02:00
Witold Filipczyk
80dfbd8b8e
[ecmascript] Removed unused parameter from walk_tree_query_append
2024-07-23 20:48:27 +02:00
Witold Filipczyk
52de1a682c
[quickjs] dom_node_ref for nodelist2
2024-07-23 20:42:11 +02:00
Witold Filipczyk
c52510fd9f
[nodelist2] Free nodelist after generating values.
2024-07-23 19:01:50 +02:00
Witold Filipczyk
68a7a26418
[quickjs] Copy of collection.c as collection2.c
...
They differ in finalizer. collection2 is for getElementsByClassName
2024-07-22 22:01:40 +02:00
Witold Filipczyk
3609f6c90c
[quickjs] memleak in getAttributeNode
2024-07-22 19:07:18 +02:00
Witold Filipczyk
7149746eb1
[quickjs] Workaround for memory leak in anchors
...
Check if refcnt is positive before unref node in element_finalizer.
refcnt was -1. Likely it is a bug in elinks code, but it is hard to locate it.
Also commented out ref|unref in element and document.
Collection code also changed. Array is not prototype for collection object.
2024-07-22 18:38:17 +02:00