Commit Graph

46 Commits

Author SHA1 Message Date
Francis Bouvier
7dbb55da06 update zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-11-26 12:58:45 +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
Francis Bouvier
b9e2be2052 build: support multi os/arch conf for netsurf
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-10-29 20:06:29 +01:00
Francis Bouvier
be5d7022cc build: support multi os/arch conf for libiconv
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-10-28 21:08:46 +01:00
Francis Bouvier
d1951b286c build: support multi os/arch conf for mimalloc
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-10-28 16:06:41 +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
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
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
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
33c92776f0 build.zig: upgrade to zig 0.12.1 2024-06-18 16:13:26 +02:00
Pierre Tachoire
4ba4ce0f7c build: upgrade build.zig to 0.12 2024-06-18 16:13:25 +02:00
Francis Bouvier
986e69f45d Update dependancy jsruntime-lib -> zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-14 11:35:23 +02:00
Pierre Tachoire
2a3a243d1c add AGPL license header in zig files 2024-05-13 20:51:36 +02:00
Pierre Tachoire
53a5326248 mimalloc: avoid mimalloc override
By default mimalloc is built to override default allocation functions.
So it is used also by v8.

This change avoid the mimalloc override to keep the native stdlib
functions.
2024-04-19 11:47:03 +02:00
Pierre Tachoire
9363acf4ec glue mimalloc with netsurf C libs 2024-04-19 11:46:42 +02:00
Pierre Tachoire
d080dde361 test: bench: use pretty for console output 2024-04-08 14:54:55 +02:00
Pierre Tachoire
32349e472c test: add test arguments and expose json benchmark result 2024-04-08 14:40:52 +02:00
Pierre Tachoire
0af69fee6d build: remove deprecated usage 2024-04-03 14:58:11 +02:00
Pierre Tachoire
20f25fc352 build: remove useless getInstallStep deps
the dependance of getInstallStep is useful only if we need a previous
binary to exists before using running the step.
2024-04-03 14:55:38 +02:00
Pierre Tachoire
b59618120f build: remove shell installation 2024-04-03 14:55:10 +02:00
Pierre Tachoire
ff0b7ed6bf build: fix path error 2024-04-03 14:55:01 +02:00
Pierre Tachoire
52d3f3e966 deps: remove lexbor 2024-03-28 11:13:17 +01:00
Pierre Tachoire
a1af89b6a0 build: use test step option struct 2024-03-06 15:59:12 +01:00
Pierre Tachoire
1642741027 browser: start browser API 2024-01-17 18:21:47 +01:00
Francis Bouvier
a5dfa6cb44 Adopt global Types changes in jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 11:56:53 +01:00
Pierre Tachoire
681dd2390c netsurf: remove wrapper C files 2024-01-08 16:02:54 +01:00
Pierre Tachoire
bda6a843ca update addCSourceFiles signature
see https://github.com/ziglang/zig/pull/17420
2023-12-05 14:08:06 +01:00
Pierre Tachoire
0d0628b39e build: don't alias zig version 2023-12-04 17:33:48 +01:00
Pierre Tachoire
f210c773f0 zig: add a zig version check 2023-12-04 11:19:49 +01:00
Pierre Tachoire
22b9b1841c wpt: rename file into main and create make wpt 2023-10-11 09:35:52 +02:00
Pierre Tachoire
8321aa42c7 wpt: create a command instead of a test 2023-10-11 09:35:52 +02:00
Pierre Tachoire
d171b0ff01 wpt: first draft for tests 2023-10-11 09:35:47 +02:00
Pierre Tachoire
a8c4977ed8 build: run test suite 2023-09-28 07:43:40 +02:00
Pierre Tachoire
d7fec31b8a build libiconv from sources 2023-09-22 16:10:22 +02:00
Francis Bouvier
26a38cc16e build: add netsurf private apis
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-09-20 22:49:10 +02:00
Francis Bouvier
f06d1396f7 netsurf: add wrapper
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-09-20 22:48:44 +02:00
Francis Bouvier
bb87055900 build: adapt to zig 0.11 and use netsurf/include
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-09-20 22:45:39 +02:00
Francis Bouvier
d6027b238b build: link netsurf
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-09-07 16:51:29 +02:00
Pierre Tachoire
81b3aed888 0.11: ugrade build.zig 2023-09-19 17:29:25 +02:00
Pierre Tachoire
5d5411e75e 0.11: build: optimize replaces release-safe zig option 2023-09-19 17:29:24 +02:00
Pierre Tachoire
3bfefcb047 vendor: seperate lexbor source from build
* add `vendor/lexbor-src` submodule
* build lexbor static lib into `vendor/lexbor`
2023-09-01 16:00:27 +02:00
Pierre Tachoire
257d0337f0 build: lexbor is now under vendor/ 2023-09-01 16:00:26 +02:00
Francis Bouvier
740b1a0d9c Update to jsruntime engine interface
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-08-29 20:20:57 +02:00
Francis Bouvier
50ac87ed6a Implement HTMLDocument.createElement
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-03-16 18:22:46 +01:00
Francis Bouvier
497a1119f8 Initial commit
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-02-07 16:22:01 +01:00