Francis Bouvier
766aa0f60a
Merge pull request #320 from lightpanda-io/http_json_version
...
websockets: add addr server info in Stream
2024-12-04 15:56:06 +01:00
Pierre Tachoire
fbe8835626
polyfill: use @embedfile to embed polyfill
2024-12-04 14:26:51 +01:00
Francis Bouvier
8ef79e348c
websockets: add addr server info in Stream
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-12-04 12:07:52 +01:00
Pierre Tachoire
47eef392d1
add missing license header
2024-12-03 14:34:04 +01:00
Francis Bouvier
b846541ff6
Merge pull request #311 from lightpanda-io/msg_size_encode
...
wpt / web platform tests (push) Waiting to run
wpt / perf-fmt (push) Blocked by required conditions
zig-test / zig build dev (push) Waiting to run
zig-test / zig build release (push) Waiting to run
zig-test / zig test (push) Waiting to run
zig-test / perf-fmt (push) Blocked by required conditions
Msg size encode
2024-12-03 14:33:33 +01:00
Pierre Tachoire
adfffd2b08
polyfill: fetch: disable Arraybuffer usage
2024-12-02 18:00:32 +01:00
Pierre Tachoire
4138c6fe95
polyfill: first draft to polyfill fetch api
2024-12-02 18:00:32 +01:00
Francis Bouvier
ca0d90dbcf
Merge pull request #310 from lightpanda-io/websockets
...
websocket: first implementation
2024-11-29 18:22:05 +01:00
Francis Bouvier
8f297b83c1
msg: rename MsgBuffer -> Buffer
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-29 15:07:52 +01:00
Francis Bouvier
b800d0eeb8
msg: fix len for msg.Buffer and encode msg size as binary header
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-29 15:07:52 +01:00
Francis Bouvier
d95462073a
websockets: fix port default in help
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-29 15:06:22 +01:00
Francis Bouvier
95ac92b343
server: fix cancel
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-29 14:59:54 +01:00
Pierre Tachoire
4cfb317af6
Merge pull request #316 from lightpanda-io/innerText
...
dom: implement innerText
2024-11-28 17:55:14 +01:00
Pierre Tachoire
487aaffa94
dom: implement innerText
2024-11-28 17:47:41 +01:00
Pierre Tachoire
50e62d44ff
xhr: fix invalid response with empty type
2024-11-28 16:29:09 +01:00
Francis Bouvier
760c082757
cli: wording mode -> opts
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-27 21:24:09 +01:00
Francis Bouvier
8449d5ab22
websocket: use Unix socket for internal server
...
And add an option for TCP only server
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-27 21:24:09 +01:00
Francis Bouvier
325ecedf0b
websocket: first implementation
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-27 21:24:09 +01:00
Pierre Tachoire
d6f1843ef3
add licensing file to be more explicit w/ licenses
2024-11-26 12:30:50 +01:00
Francis Bouvier
5b5d28f7c1
Merge pull request #302 from lightpanda-io/zig-async-io
...
Use zig-async-io for xhr requests
2024-11-21 16:52:36 +01:00
Francis Bouvier
de286dd78e
async: use zig-async-io
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-21 16:42:48 +01:00
Pierre Tachoire
70752027f1
async: remove @This from SigleThreaded
2024-11-19 15:55:26 +01:00
Pierre Tachoire
395eb3e8ad
async: add missing tests execution
2024-11-19 15:54:04 +01:00
Pierre Tachoire
e1137274fb
async: remove dead code
2024-11-19 15:51:36 +01:00
Francis Bouvier
bc716ef0ad
Merge pull request #299 from lightpanda-io/cli_refacto
...
cli: code refacto
2024-11-19 15:31:19 +01:00
Pierre Tachoire
d2d2e851b0
async: fix assync call pop error
2024-11-18 17:39:38 +01:00
Pierre Tachoire
9149b60136
async: remove dead code
2024-11-18 17:39:38 +01:00
Pierre Tachoire
18ab0c8199
cdp: replace tick by run_for_ns
2024-11-18 17:39:38 +01:00
Pierre Tachoire
7fed1f3015
async: remove pseudo-async http client
2024-11-18 17:39:37 +01:00
Pierre Tachoire
6809bb5393
async: adapt async cli
2024-11-18 17:39:37 +01:00
Pierre Tachoire
fadf3f609a
http: add full async client
2024-11-18 17:39:37 +01:00
Pierre Tachoire
f6ad95c647
improve event's log result
2024-11-18 13:13:52 +01:00
Pierre Tachoire
0788e22dd5
typo fix
2024-11-18 13:13:23 +01:00
Francis Bouvier
ac77453139
cli: code refacto
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-10 13:53:07 +01:00
Francis Bouvier
8a25545cac
memory: use a GPA in Debug mode and a page allocator in Release
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-09 13:34:15 +01:00
Francis Bouvier
ed3a464843
cdp: fix memory leak in msg parsing of the JSON
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-09 03:25:42 +01:00
Francis Bouvier
f60fcbec04
Merge pull request #286 from lightpanda-io/cdp-refacto-input
...
cdp: refacto message JSON read
2024-11-15 01:03:53 +01:00
Francis Bouvier
4f99407462
Merge pull request #288 from lightpanda-io/cdp-create-target
...
cdp: browserContextId is optional in Target.createTarget
2024-11-15 00:53:22 +01:00
Pierre Tachoire
5094942560
cdp: add msg tests into zig build test
2024-11-12 12:56:30 +01:00
Pierre Tachoire
82c37fc71b
cdp: refacto message JSON read
2024-11-12 12:56:29 +01:00
Pierre Tachoire
8ba911c8dd
cdp: return provided browser context id if any
2024-11-12 10:56:06 +01:00
Francis Bouvier
1854074f64
Merge pull request #293 from lightpanda-io/cdp-contextid
...
cdp: use a u32 for context id
2024-11-07 15:49:40 +01:00
Francis Bouvier
ec5de2fce0
Merge pull request #287 from lightpanda-io/cdp-attach-to-target
...
cdp: add Target.attachToTarget noop
2024-11-07 15:49:15 +01:00
Francis Bouvier
eed7b7186d
Merge pull request #284 from lightpanda-io/server-sync-deinit
...
server: ensure Send is always deinit in callback
2024-11-06 18:17:10 +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
0d76f80223
cdp: use a u32 for context id
2024-11-04 10:08:36 +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