Commit Graph

629 Commits

Author SHA1 Message Date
Pierre Tachoire
a461ecd7df Merge pull request #129 from lightpanda-io/html-collection-arraylike
dom: html collection: implement array like
2024-01-16 15:50:40 +01:00
Pierre Tachoire
93db41ff10 html_collection: update iterator values 2024-01-15 14:25:20 +01:00
Pierre Tachoire
b5d3f220f6 Merge pull request #74 from lightpanda-io/hmtlcollection-iterator
dom: add HTMLCollectionIterator
2024-01-15 11:27:50 +01:00
Francis Bouvier
5734b903ec Adapt HTMLCollectionIterator to HTMLCollection._item changes
And update jsruntime to fix the build

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-13 15:14:43 +01:00
Pierre Tachoire
7cef1bb550 Merge pull request #152 from lightpanda-io/bug-parse-4
Parsing crash due to encoding change
2024-01-12 15:53:20 +01:00
Pierre Tachoire
2981703b7f netsurf: add TODO on encoding change error code 2024-01-12 15:40:43 +01:00
Pierre Tachoire
0f24660707 netsurf: fix parser error values 2024-01-12 15:22:30 +01:00
Pierre Tachoire
028cd2331f netsurf: pass encoding to the parser 2024-01-12 15:22:30 +01:00
Pierre Tachoire
1a03412635 netsurf: add a test case for html parsing bug
https://github.com/lightpanda-io/libdom/issues/4
2024-01-11 16:50:21 +01:00
Pierre Tachoire
b83f3b5f5b Merge pull request #151 from lightpanda-io/fix-run-test
test: run classic test func
2024-01-11 16:27:26 +01:00
Pierre Tachoire
408482470b test: run classic test func 2024-01-11 16:13:07 +01:00
Pierre Tachoire
f59f36422c html_collection: free generated array like keys 2024-01-11 10:49:17 +01:00
Pierre Tachoire
39afb6593d dom: hmtl collection: wip postAttach 2024-01-11 10:00:00 +01:00
Pierre Tachoire
d92c121ecf Merge pull request #149 from lightpanda-io/fix-parse-chunk
netsurf: fix document html parse reader loop
2024-01-10 17:41:47 +01:00
Pierre Tachoire
2011e0b642 Merge pull request #147 from lightpanda-io/fix-attr-crash
dom: attr: fix crash w/o parent
2024-01-10 17:34:03 +01:00
Pierre Tachoire
c1b4026fa3 Merge pull request #144 from lightpanda-io/html-doc
dom: DocumentHTML getters
2024-01-10 17:33:43 +01:00
Pierre Tachoire
390f9f408c netsurf: fix document html parse reader loop 2024-01-10 17:31:52 +01:00
Francis Bouvier
9df3e4182d Merge pull request #148 from lightpanda-io/global_api
Adopt global Types changes in jsruntime
2024-01-10 16:27:35 +01:00
Francis Bouvier
1e4ddf580d Forgot test_runner
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 16:20:19 +01:00
Francis Bouvier
a5dfa6cb44 Adopt global Types changes in jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 11:56:53 +01:00
Pierre Tachoire
cb3abe58c2 dom: attr: fix crash w/o parent 2024-01-09 17:45:14 +01:00
Pierre Tachoire
ca6bb577c6 Document: use document cast to node 2024-01-09 14:24:55 +01:00
Pierre Tachoire
be1e55272a DocumentHTML: cast directly document to node 2024-01-09 14:13:52 +01:00
Pierre Tachoire
a25169c9e8 documentHTML: replace NotSupported with NotImplemented 2024-01-09 14:13:52 +01:00
Pierre Tachoire
c73ecb5e0d HTMLDocument: implement all getter 2024-01-09 14:13:51 +01:00
Pierre Tachoire
fce9e44407 HTMLDocument: add noop legacy functions 2024-01-09 14:13:51 +01:00
Pierre Tachoire
91d1f539d4 HTMLDocument: implements anchors 2024-01-09 14:13:51 +01:00
Pierre Tachoire
552bf4224c HTMLDocument: pseudo designMode 2024-01-09 14:13:50 +01:00
Pierre Tachoire
584b254c08 HTMLDocument: applets return empty collection 2024-01-09 14:13:50 +01:00
Pierre Tachoire
d07717cd10 HTMLDocument: add currentScript getter 2024-01-09 14:13:50 +01:00
Pierre Tachoire
8f18fda54f HTMLDocument: add head getter 2024-01-09 14:13:49 +01:00
Pierre Tachoire
8c121ce7b8 upgrade tests/wpt 2024-01-09 14:13:49 +01:00
Pierre Tachoire
9de23d76d2 HTMLDocument: add body setter 2024-01-09 14:13:49 +01:00
Pierre Tachoire
7a4de724e3 HTMLDocument: add images/scripts/forms/links/embed getters 2024-01-09 14:13:48 +01:00
Pierre Tachoire
db8031f965 HTMLCollection: add match by links 2024-01-09 14:13:48 +01:00
Pierre Tachoire
6bc44cbe75 dom: add DocumentHTML getElementsByName 2024-01-09 14:13:48 +01:00
Pierre Tachoire
2b681c8353 nodelist: add comment about liveness 2024-01-09 14:13:47 +01:00
Pierre Tachoire
0b952f5295 HTMLCollection: add a matcher by name 2024-01-09 14:13:47 +01:00
Pierre Tachoire
a4d44081e5 netsurf: add missing inline 2024-01-09 14:13:47 +01:00
Pierre Tachoire
970d51e4b0 dom: DocumentHTML title 2024-01-09 14:13:46 +01:00
Pierre Tachoire
ea80e5e4a1 dom: DocumentHTML getters 2024-01-09 14:13:46 +01:00
Pierre Tachoire
c812ff300a Merge pull request #146 from lightpanda-io/fix-doc-parse
netsurf: fix documentHTMLParseFromStr
2024-01-09 12:05:10 +01:00
Pierre Tachoire
5496e68a02 netsurf: remove documentHTMLParseFromFile 2024-01-09 11:35:18 +01:00
Pierre Tachoire
cc3a7ec4a1 netsurf: fix DocumentHTMLParseFromStr and add test 2024-01-09 11:33:02 +01:00
Pierre Tachoire
57e948ded5 Merge pull request #142 from lightpanda-io/attr
dom: implement Attr interface
2024-01-08 17:39:27 +01:00
Francis Bouvier
e40d80a370 Merge pull request #145 from lightpanda-io/libdom-rewrite-wrapper
netsurf: rewrite wrapper.c in pure Zig
2024-01-08 16:32:51 +01:00
Pierre Tachoire
1c55269342 netsurf: use 1024 bytes for fil read buffer 2024-01-08 16:23:22 +01:00
Pierre Tachoire
681dd2390c netsurf: remove wrapper C files 2024-01-08 16:02:54 +01:00
Pierre Tachoire
ac99aab3fd netsurf: better parsing error 2024-01-08 16:02:54 +01:00
Pierre Tachoire
0159051b17 netsurf: remove deprecated API for parsing HTML 2024-01-08 16:02:53 +01:00