Francis Bouvier
625c1741c6
Update zig-js-runtime (tigerbeetle)
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-06 18:07:43 +01:00
Francis Bouvier
f6f5ec5eb3
server: add cancel current recv before accepting new connection
...
Only on Linux. On MacOS cancel is not supported for now and
we do not have any problem with the current recv operation
on a closed socket.
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-06 18:07:43 +01:00
Francis Bouvier
c74feb9c3a
server: add log on I/O errors
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-05 17:16:39 +01:00
Pierre Tachoire
1e64513c16
Merge pull request #292 from lightpanda-io/tcp_nodelay
...
server: set TCP.NODELAY on linux to avoid latency issues
2024-11-04 10:04:25 +01:00
Francis Bouvier
64779acf32
Merge pull request #278 from lightpanda-io/cdp_full_async
...
Cdp full async
2024-11-01 18:14:21 +01:00
Francis Bouvier
c3a3ac19f4
server: set TCP.NODELAY on linux to avoid latency issues
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-01 17:54:49 +01:00
Pierre Tachoire
0813d99b44
Merge pull request #290 from lightpanda-io/dockerfile
...
dockerfile: adjust binary name after merge
2024-10-30 10:42:15 +01:00
Pierre Tachoire
491e89d102
dockerfile: adjust binary name after merge
2024-10-30 10:40:59 +01:00
Francis Bouvier
f01558251c
Merge pull request #277 from lightpanda-io/merge_bin
...
Merge get and server binaires
2024-10-29 22:27:09 +01:00
Francis Bouvier
8665d0420b
Merge pull request #282 from lightpanda-io/docker-build
...
add a Dockerfile to build the project
2024-10-29 22:20:49 +01:00
Francis Bouvier
cf0636ca63
Update src/main.zig usage
...
Co-authored-by: Pierre Tachoire <pierre@lightpanda.io >
2024-10-29 22:19:44 +01:00
Francis Bouvier
46d0aa6f9e
Remove all references to the name 'browsercore'
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-29 22:16:56 +01:00
Pierre Tachoire
7afe74310f
add a Dockerfile to build the project
2024-10-23 15:22:12 +02:00
Pierre Tachoire
826f82610e
Merge pull request #280 from lightpanda-io/cdpdump-close-dir
...
cdp: close dir in dumpFile
2024-10-23 10:15:31 +02:00
Pierre Tachoire
5d7796b95d
cdp: close dir in dumpFile
...
and avoid error.ProcessFdQuotaExceeded error
2024-10-23 10:02:34 +02:00
Pierre Tachoire
b3ac313cc7
Merge pull request #279 from lightpanda-io/ci-ubuntu
...
ci: use ubuntu 22.04 for nightly build
2024-10-22 15:43:39 +02:00
Pierre Tachoire
b281ba7754
ci: use zig-v8 0.1.9
2024-10-22 15:03:01 +02:00
Pierre Tachoire
10994b202b
ci: use ubuntu latest for all expect nightly build
2024-10-22 14:27:47 +02:00
Pierre Tachoire
2aeac1bdeb
ci: force ubuntu 22.04 for nightly build
...
To ensure a better compatibility.
2024-10-22 14:27:10 +02:00
Francis Bouvier
8508c21080
cdp: remove send sync
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-21 18:29:10 +02:00
Francis Bouvier
20dd140c31
cdp: send I/O next read before executing current cmd
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-21 18:21:43 +02:00
Francis Bouvier
486c19079a
Merge get and server binaires
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-18 16:06:23 +02:00
Pierre Tachoire
f30501ca3c
Merge pull request #276 from lightpanda-io/compare-position
...
node: implement node.compareDocumentPosition
2024-10-17 15:06:47 +02:00
Pierre Tachoire
e67e6e267b
Merge pull request #275 from lightpanda-io/fake-css-properties
...
html: implement empty style property
2024-10-17 15:06:40 +02:00
Pierre Tachoire
8dc757ddf3
node: implement getRootNode
2024-10-17 14:44:34 +02:00
Pierre Tachoire
b64f7d013d
node: implement node.compareDocumentPosition
2024-10-17 14:44:33 +02:00
Francis Bouvier
62ec936f1e
Merge pull request #215 from lightpanda-io/cdp_basic
...
CDP basic
2024-10-17 10:52:09 +02:00
Francis Bouvier
8d83dfad45
ci: force ubuntu version (24.04)
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-17 10:24:00 +02:00
Pierre Tachoire
e450072f45
ci: add zig v8 version into the cache key
2024-10-16 21:00:44 +02:00
Francis Bouvier
7f08d08a78
Update zig-v8 again
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-16 17:54:41 +02:00
Francis Bouvier
b0634cd871
Adapt wpt and shell to zig-js-runtime changes
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-16 15:21:03 +02:00
Francis Bouvier
462485bfcb
Update zig-v8 and zig-js-runtime deps
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-16 14:56:04 +02:00
Francis Bouvier
2311765289
Remove some dead code
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-16 14:53:50 +02:00
Francis Bouvier
7bc7da5499
browser: back on createPage returning a Page (pointer)
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-16 14:53:11 +02:00
Pierre Tachoire
b712a4771e
html: implement empty style property
2024-10-16 10:22:23 +02:00
Francis Bouvier
8e05f09fc8
server, cdp: improve logging
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 22:57:56 +02:00
Francis Bouvier
84c49fbe34
cdp: ensure there is an ID on each request
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 17:28:18 +02:00
Francis Bouvier
7750956c7b
msg: Add a more complex test case with 2 multipart messages combined
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 16:07:46 +02:00
Francis Bouvier
ea9af210f9
Remove heap allocation for Session
...
And adapt to similar changes on zig-js-runtime for Env
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 15:52:48 +02:00
Francis Bouvier
efca71510a
browser: put back VM is an arg for browser init
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-12 10:41:59 +02:00
Francis Bouvier
cbf6348055
server: panic if sendInspector without an inspector
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-12 10:38:53 +02:00
Francis Bouvier
ec680593b0
msg: set a hard limit max size
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-11 18:13:20 +02:00
Francis Bouvier
fd6c25daaa
msg: improve comments on reallocation
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-11 18:05:04 +02:00
Francis Bouvier
4b495f213f
cdp: add comment on hard coded ID for page.createIsolatedWorld
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 15:21:09 +02:00
Francis Bouvier
7ad03fb548
cdp: fix a comment on page.navigate
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 15:18:55 +02:00
Francis Bouvier
17c641845e
msg: return error if input does not have "size:"
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 15:13:06 +02:00
Francis Bouvier
e53b9d984b
browser: add comment for auxData param in page.navigate
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 15:10:30 +02:00
Francis Bouvier
28593d93ff
browser: panic if callInspector without Inspector
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 12:47:14 +02:00
Francis Bouvier
fa4920bd94
browser: rename setInspector -> initInspector
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 12:45:28 +02:00
Francis Bouvier
eaf5c6f86f
cdp: ensure method action is present
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 12:42:20 +02:00