Commit Graph

1332 Commits

Author SHA1 Message Date
Pierre Tachoire
bfa6f55551 ci: remove container usage and download v8 from release 2024-07-17 09:56:34 +02:00
Pierre Tachoire
5fb25cf015 Merge pull request #254 from lightpanda-io/nightly
ci: add linux amd64 nightly build
2024-07-16 14:29:36 +02:00
Pierre Tachoire
5cad450e5a ci: add linux amd64 nightly build 2024-07-16 12:47:26 +02:00
Francis Bouvier
14a3a662fd Fix response of runtime.Evaluate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-07-09 16:10:25 +02:00
Francis Bouvier
41409031fd Adapt to refacto in js_exec from zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-07-08 22:51:41 +02:00
Pierre Tachoire
8ec22ca6b8 Merge pull request #246 from lightpanda-io/mutation-observer
dom: implement MutationObserver
nightly
2024-06-24 16:03:58 +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
e1e501e14a Merge pull request #252 from lightpanda-io/wpt-subtest
Wpt subtest
2024-06-21 16:32:36 +02:00
Pierre Tachoire
32015eae3c upgrade tests/wpt 2024-06-21 16:20:14 +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
Francis Bouvier
ea410c8ced Fix changes in Zig 0.12 std lib
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-20 00:32:06 +02:00
Francis Bouvier
0481676be5 Merge pull request #250 from lightpanda-io/deps
Upgrade zig-js-runtime
2024-06-19 22:31:05 +02:00
Francis Bouvier
0da1955b52 Upgrade zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-19 22:30:30 +02:00
Francis Bouvier
aca64eedca Uniformize calling name conventions
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-19 15:56:44 +02:00
Francis Bouvier
0f8b47b598 Move MsgBuffer in it's own file for unit test purpose
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-19 15:48:20 +02:00
Pierre Tachoire
522b293149 Merge pull request #249 from lightpanda-io/upgrade-jsruntime
upgrade zig-js-runtime
2024-06-19 15:32:44 +02:00
Francis Bouvier
5eae15889d Add some optional fields in Runtime.evaluate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-19 15:23:09 +02:00
Pierre Tachoire
0a50b586fd upgrade zig-js-runtime 2024-06-19 15:11:40 +02:00
Pierre Tachoire
11a63b776e Merge pull request #245 from lightpanda-io/hundred-types
generate: handle more than 100 in itoa
2024-06-19 13:56:06 +02:00
Pierre Tachoire
78467ff209 generate: handle more than 100 in itoa 2024-06-19 11:42:19 +02:00
Pierre Tachoire
6e5f67cd66 Merge pull request #243 from lightpanda-io/http-buf
http: use 16KB for the client header buffer
2024-06-18 17:21:59 +02:00
Pierre Tachoire
17a86cc1a6 http: use 16KB for the client header buffer 2024-06-18 17:19:05 +02:00
Pierre Tachoire
f6e080bdfd Merge pull request #203 from lightpanda-io/upgrade-zig
Upgrade zig 0.12
2024-06-18 16:16:44 +02:00
Pierre Tachoire
3744dc1e58 upgrade zig-js-runtime 2024-06-18 16:13:34 +02:00
Pierre Tachoire
9cdf1f5762 xhr: fix unit tests for 0.12.1 2024-06-18 16:13:34 +02:00
Pierre Tachoire
25ee34e65d jsruntime upgrade 2024-06-18 16:13:29 +02:00
Pierre Tachoire
720d3f4df9 test: fix comptime var 2024-06-18 16:13:28 +02:00
Pierre Tachoire
dcca5e60e3 upgrade jsruntime deps 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
68c8372493 build: use path() func 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
33c92776f0 build.zig: upgrade to zig 0.12.1 2024-06-18 16:13:26 +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
9310b91ad5 README: upgrade zig version 2024-06-18 16:13:25 +02:00
Pierre Tachoire
a708bc7d0f CI: upgrade zig version 0.12.1 2024-06-18 16:13:25 +02:00
Pierre Tachoire
4ba4ce0f7c build: upgrade build.zig to 0.12 2024-06-18 16:13:25 +02:00
Pierre Tachoire
49f20adbab upgrade jsruntime-lib 2024-06-18 16:13:22 +02:00
Pierre Tachoire
6724004a49 Merge pull request #242 from lightpanda-io/ci-EPERM
ci: add --security-opt seccomp=unconfined docker option
2024-06-18 16:08:34 +02:00
Pierre Tachoire
33ec300947 ci: run ci on .github changes 2024-06-18 16:05:21 +02:00
Pierre Tachoire
0c2f0b78aa ci: add --security-opt seccomp=unconfined docker option
It seems docker blocks io_uring by default using seccomp.

see tigerbeetle/tigerbeetle#1995 and
moby/moby#46762
2024-06-18 16:03:44 +02:00
Francis Bouvier
9319e4a7f1 Handle Runtime.callFunctionOn
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-17 16:35:22 +02:00
Francis Bouvier
4d756b5bfc Add a dumpFile utility function
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-17 16:34:47 +02:00
Francis Bouvier
409969621d Add Runtime.addBinding
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-12 17:56:54 +02:00
Francis Bouvier
7abb7277c9 Fix call to Runtime.executionContextCreated in Page.navigate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-12 17:56:07 +02:00