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
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
b3054d68bf
cdp: browserContextId is optional in Target.createTarget
...
https://chromedevtools.github.io/devtools-protocol/tot/Target/#method-createTarget
2024-10-29 10:37:23 +01:00
Pierre Tachoire
60adf0a9c3
cdp: add Target.attachToTarget noop
2024-10-29 10:34:36 +01:00
Pierre Tachoire
dcdef2f640
server: ensure Send is always deinit in callback
2024-10-25 09:51:37 +02:00
Pierre Tachoire
5d7796b95d
cdp: close dir in dumpFile
...
and avoid error.ProcessFdQuotaExceeded error
2024-10-23 10:02:34 +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