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

6971 Commits

Author SHA1 Message Date
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
Witold Filipczyk
95f45b7327 [quickjs] memleaks 2024-07-19 21:01:58 +02:00
Witold Filipczyk
83b3185e11 [quickjs] Memleak in doctype 2024-07-18 21:40:55 +02:00
Witold Filipczyk
8797227b19 [quickjs] unref attrs in finalizer 2024-07-18 19:41:28 +02:00
Witold Filipczyk
f91d9b3d06 [dom] dom_namednodemap_unref(attrs) not dom_node_unref(attrs) 2024-07-18 19:33:24 +02:00
Witold Filipczyk
fb30e10f91 [quickjs] Some memleaks 2024-07-17 21:41:24 +02:00
Witold Filipczyk
a2609542e6 [mujs] Free uristring in finalizer 2024-07-16 21:46:15 +02:00
Witold Filipczyk
656d8a32ea [spidermonkey] Leak in URL 2024-07-16 21:39:04 +02:00
Witold Filipczyk
ecf1b56c5f [quickjs] Free uri string 2024-07-16 21:31:46 +02:00
Witold Filipczyk
856d656d66 [spidermonkey] Free function 2024-07-16 20:16:14 +02:00
Witold Filipczyk
2988237889 [libdom] Dups 2024-07-16 19:47:27 +02:00
Witold Filipczyk
e7f2d6d908 [tests] 5 seconds was too little 2024-07-16 16:22:34 +02:00
Witold Filipczyk
0ce218f66e [ecmascript] warnings 2024-07-15 21:00:03 +02:00
Witold Filipczyk
adecd52b3a [inpfield] Cast to unsigned char * . Refs #315 2024-07-13 08:17:18 +02:00
Witold Filipczyk
00553ed5f6 [quickjs] mark_function for element 2024-07-12 21:37:17 +02:00
Witold Filipczyk
fd04e5cbb2 [ecmascript] Removed unused walk_tree_content 2024-07-12 20:12:28 +02:00
Witold Filipczyk
90f73d8394 [ecmascript] Moved common code of walk_tree to ecmascript-c.c 2024-07-12 15:46:10 +02:00
Witold Filipczyk
c20eb2421f [mujs] No ampersand 2024-07-12 13:19:15 +02:00
Witold Filipczyk
c4ec831978 [quickjs] & is wrong in dom_string_unref 2024-07-12 11:22:31 +02:00
Witold Filipczyk
132c72c123 [test] Rewritten test for fetch to free Promise 2024-07-08 21:32:38 +02:00
Witold Filipczyk
a13ddcce89 [quickjs] Commented call which caused failure of a few tests 2024-07-08 15:47:08 +02:00
Witold Filipczyk
55a87a8fa8 [meson] Generate fetch.h also for quickjs 2024-07-07 21:23:06 +02:00
Witold Filipczyk
2f6360ac49 [quickjs] Added pollyfilled fetch, but tests fail 2024-07-07 18:09:16 +02:00
Witold Filipczyk
f847c253f9 [quickjs] Execute pending jobs
There are not pending jobs yet, but preparing for it.
2024-07-07 16:18:32 +02:00
Witold Filipczyk
53da0cf2f6 [test] element.href.html 2024-07-07 14:43:38 +02:00
Witold Filipczyk
daf8b5e397 [quickjs] Prevent from trigger DOMContentLoaded many times 2024-07-07 14:25:50 +02:00
Witold Filipczyk
f5cb5f3ba3 [quickjs] Typos in copy-pasted code 2024-07-07 14:25:07 +02:00
Witold Filipczyk
b2b3b64c9a [quikcjs] Added gc_mark function for document 2024-07-07 13:28:38 +02:00
Witold Filipczyk
d27c3912fc [quickjs] timeout is int 2024-07-07 13:27:57 +02:00
Witold Filipczyk
e82cf83123 [quickjs] js_doc_getopaque nonstatic 2024-07-06 17:45:13 +02:00
Witold Filipczyk
64be2be5ee [mujs] element.href 2024-07-06 16:08:49 +02:00
Witold Filipczyk
b911a27746 [quickjs] element.href 2024-07-06 16:04:09 +02:00
Witold Filipczyk
07c59485f5 [spidermonkey] element.href getter and setter 2024-07-06 15:47:35 +02:00
Witold Filipczyk
87044f9499 [spidermonkey] "Rewrite" document->dom
There is a small progress. Some items are displayed in Python's docs
searching.
2024-07-06 15:24:50 +02:00
Witold Filipczyk
a6cb50e413 [mujs] element.remove() 2024-07-06 12:37:02 +02:00
Witold Filipczyk
e6c99cfc1a [quickjs] Fix in element.remove 2024-07-06 12:27:30 +02:00
Witold Filipczyk
e8523fc1bf [test] element.remove 2024-07-06 12:22:28 +02:00
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