Commit Graph

549 Commits

Author SHA1 Message Date
Pierre Tachoire
44a5fa011a dom: implement nodelist.foreach 2024-09-20 18:32:23 +02:00
Pierre Tachoire
aeaa745600 clearTimeout: ignore invalid timeout ids 2024-09-19 16:37:42 +02:00
Pierre Tachoire
be27359109 dom: implement clearTimeout 2024-09-19 16:37:42 +02:00
Pierre Tachoire
0559fb9365 dom: first draft for window setTimeout 2024-09-19 16:36:34 +02:00
Pierre Tachoire
183abc4610 use 64KB for header buffer 2024-09-18 09:24:57 +02:00
Pierre Tachoire
c9fae67649 Merge pull request #258 from lightpanda-io/tls.zig
use tls.zig with async client
2024-07-22 10:44:38 +02:00
Pierre Tachoire
22b03bf7df browser: fix invalid deinit order
http client depends on io loop and must be deinit before.
2024-07-19 17:15:53 +02:00
Pierre Tachoire
6a4d64ed00 use tls.zig with async client
see https://github.com/ziglang/zig/compare/master...ianic:zig:tls23 for
http.std.Client integration
2024-07-19 14:39:50 +02:00
Pierre Tachoire
df27ce09ca Merge pull request #260 from lightpanda-io/zig0.13
upgrade to zig 0.13
2024-07-19 14:36:13 +02:00
Pierre Tachoire
6da2954e0b upgrade to zig 0.13 2024-07-19 14:32:47 +02:00
Pierre Tachoire
65c4b471af browser: handle wait with unstarted env 2024-07-19 11:14:50 +02:00
Pierre Tachoire
8c3939b842 wpt: remove useless Suite.stack 2024-07-18 16:52:32 +02:00
Pierre Tachoire
b537e52a6d browser: use log instead of std.log 2024-07-18 16:46:12 +02:00
Pierre Tachoire
4434e11bdd wpt: restore the test results 2024-07-18 16:40:44 +02:00
Francis Bouvier
b8ec53f708 Adapt to js_exec changes in zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-07-18 12:10:06 +02:00
Pierre Tachoire
d8fe029f80 mutation: very partial childList implementation 2024-06-24 15:19:39 +02:00
Pierre Tachoire
c9cfb1ecba dom: add attributeNS funcs 2024-06-24 15:19:39 +02:00
Pierre Tachoire
94e47f4f35 mutation: implement attribute and cdata observer 2024-06-24 15:19:38 +02:00
Pierre Tachoire
12111d4cdf dom: first draft for MutationObserver 2024-06-24 15:19:30 +02:00
Pierre Tachoire
00e8f13f62 Merge pull request #251 from lightpanda-io/eventlistener-data
events: create an EventHandlerData struct
2024-06-24 15:19:09 +02:00
Pierre Tachoire
ab31cc0a18 wpt: if no test case found, the suite fails 2024-06-21 16:19:37 +02:00
Pierre Tachoire
1924f136c6 events: create an EventHandlerData struct
It simplifies the EventHandlerFunc creation and allows to insert user's
data.
2024-06-21 09:20:03 +02:00
Pierre Tachoire
78467ff209 generate: handle more than 100 in itoa 2024-06-19 11:42:19 +02:00
Pierre Tachoire
17a86cc1a6 http: use 16KB for the client header buffer 2024-06-18 17:19:05 +02:00
Pierre Tachoire
9cdf1f5762 xhr: fix unit tests for 0.12.1 2024-06-18 16:13:34 +02:00
Pierre Tachoire
720d3f4df9 test: fix comptime var 2024-06-18 16:13:28 +02:00
Pierre Tachoire
f2a406d224 move netsurf and mimalloc into modules 2024-06-18 16:13:27 +02:00
Pierre Tachoire
ef364f83c8 upgrade to zig 0.12.1 2024-06-18 16:13:27 +02:00
Pierre Tachoire
f5a2c8d303 upgrade to zig 0.12 2024-06-18 16:13:26 +02:00
Pierre Tachoire
c555c325e9 upgrade to zig 0.12
0.12.0-dev.3439+31a7f22b8
2024-06-18 16:13:26 +02:00
Pierre Tachoire
9fe56c5889 Merge pull request #240 from lightpanda-io/wpt-wait
Wpt wait
2024-05-23 15:24:38 +02:00
Pierre Tachoire
77bf332f13 wpt: split script exec and wait loop 2024-05-23 15:11:24 +02:00
Pierre Tachoire
b4f445183c wpt: add log.debug method in pure JS 2024-05-23 15:11:24 +02:00
Pierre Tachoire
7a6d929f08 browser: add wait to run the loop 2024-05-22 15:13:23 +02:00
Pierre Tachoire
d50f761c8f event: log listeners errors and continue execution 2024-05-22 15:07:49 +02:00
Pierre Tachoire
00d75584db usrctx: use ctx http client with xhr 2024-05-22 14:58:48 +02:00
Pierre Tachoire
c2e64c131a userctx: document is not opational anymore 2024-05-22 14:56:41 +02:00
Pierre Tachoire
840aea9013 dom: fix document creation process 2024-05-22 14:56:41 +02:00
Pierre Tachoire
bf522937e1 shell: add missing try 2024-05-22 14:56:41 +02:00
Pierre Tachoire
7d91f7992c dom: first draft for hierachy check in nodes 2024-05-22 14:56:40 +02:00
Pierre Tachoire
b2df0c1541 dom: implement document fragment constructor 2024-05-22 14:56:40 +02:00
Pierre Tachoire
d823eebce5 dom: remove useless TODO 2024-05-22 14:56:40 +02:00
Pierre Tachoire
55b80ecd15 dom: implement text constructor 2024-05-22 14:56:39 +02:00
Pierre Tachoire
14e1c44eb0 dom: implement comment constructor 2024-05-22 14:56:29 +02:00
Pierre Tachoire
eef2fa94d0 text: return error on constructor
Blocked by #102
2024-05-22 14:45:40 +02:00
Pierre Tachoire
49ee5e4e68 comment: return error on constructor
Blocked by https://github.com/lightpanda-io/browsercore/issues/102
2024-05-22 14:45:39 +02:00
Pierre Tachoire
b7f589ee1a dom: fix document constructor 2024-05-22 14:45:39 +02:00
Pierre Tachoire
e18d04a799 userctx: inject user context 2024-05-22 14:45:34 +02:00
Pierre Tachoire
ead08557bf script: implement interface 2024-05-14 16:19:22 +02:00
Pierre Tachoire
6d808d89b0 anchor: implement set_host 2024-05-14 13:44:27 +02:00