1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

7027 Commits

Author SHA1 Message Date
Witold Filipczyk
d501d762ea [libdom] find_offset similar to find_in_map
Also with bsearch, but this time elements are explicitly sorted.
2024-08-25 12:46:33 +02:00
Witold Filipczyk
1a26f492ea [typo] No NULL. Refs #318 2024-08-25 12:07:21 +02:00
Witold Filipczyk
45486090c6 [css] Check NULL 2024-08-24 20:11:58 +02:00
Witold Filipczyk
cdada4b04d [css] Modified find_in_map. Refs #317
Instead of hash, array which can be binary searched.
Performance is not as good as original css, but is tolerable.
2024-08-24 19:22:35 +02:00
Witold Filipczyk
0c28f1b7cc [configure.ac] SIZEOF_INTPTR_T 2024-08-23 22:42:45 +02:00
Witold Filipczyk
1ab0dab2fc [meson] SIZEOF_INTPTR_T 2024-08-23 22:21:11 +02:00
Witold Filipczyk
081efa66d9 [mujs] cast to uintptr_t 2024-08-22 15:26:11 +02:00
Witold Filipczyk
6de140d7e5 [docker] added xxd for alpine-static 2024-08-21 17:16:44 +02:00
Witold Filipczyk
3fb0cb7d29 [docker] xxd for djgpp 2024-08-21 16:12:36 +02:00
Witold Filipczyk
95989ffee9 [meson] Hardcode /home/elinks/lib for expat and dos 2024-08-21 16:10:44 +02:00
Witold Filipczyk
d9e26d685a [dos] updated build_quickjs 2024-08-21 15:36:17 +02:00
Witold Filipczyk
69b60d514f [meson] Hardcode /home/elinks/lib for quickjs and dos 2024-08-20 16:35:52 +02:00
Witold Filipczyk
c661a8272b [meson] Really require lua 2024-08-19 15:39:11 +02:00
Witold Filipczyk
d4c5f838bb [meson] Hardcode /home/elinks/lib for djgpp
I don't know how to set path for libraries for crosscompilation.
2024-08-18 13:55:40 +02:00
Witold Filipczyk
c6f2f6f8ff [dos] \ is separator 2024-08-18 13:54:41 +02:00
Witold Filipczyk
cd7b71b6b1 [configure.ac] added flags for gcc-13 and gcc-14 2024-08-17 11:09:43 +02:00
Witold Filipczyk
1aba9682ef [dump] Modified description 2024-08-16 16:14:06 +02:00
Witold Filipczyk
8b57c0b617 [dump] Added the "document.dump.scripting_enabled" option 2024-08-15 16:47:41 +02:00
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