Pierre Tachoire
c5397bfbe2
Merge pull request #448 from karlseguin/set_cookie
...
e2e-test / zig build release (push) Has been cancelled
wpt / web platform tests (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / puppeteer (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Add Set-Cookie parsing
2025-03-04 13:20:33 +01:00
Karl Seguin
6f5028612a
add cookie jar
2025-02-27 16:09:10 +08:00
Karl Seguin
d0ba06c44b
Add git_commit to build and build-dev target
...
Add "version" command to cli.
2025-02-26 20:44:44 +08:00
Karl Seguin
6d6b840cf6
Use $(ZIG) variable when building netsurf
2025-02-20 08:42:45 +08:00
Karl Seguin
2c4661a250
Add a new unittest build step
...
Preserves all existing behavior (i.e. make test and zig build test are not
changed in any way).
The new 'unittest' only runs unit tests and is fast to build. It takes ~1.7 to
build unittest, vs ~11.09 to build test. This is really the main goal, and
hopefully any unit test which are (a) fast and (b) don't impact build times
will be run here.
The test runner is based on:
https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b
It allow filtering, i.e. `make unittest F="parse query dup"`.
'unittest' does memory leak detection when tests use std.testing.allocator.
Fixed a memory leak in url/query which was detected/reported with by the new
'unittest'.
In order to avoid having 3 src/test_xyx.zig files, I merged the existing
test_runner.zig and run_tests.zig into a single main_tests.zig. (this change
is superfluous, but I thought it was cleaner this way. Happy to revert this).
2025-02-09 11:04:21 +08:00
Lucien Coffe
88e32505a3
fix Makefile download-zig: url changed
2024-11-22 18:50:11 +01:00
Francis Bouvier
2a2486cbe0
build: fix clean-libiconv
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-30 13:41:34 +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
0636240a58
Update README
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-05-15 18:10:05 +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
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
59b2954ff4
deps: add mimalloc dependency
2024-04-19 11:46:41 +02:00
Pierre Tachoire
52d3f3e966
deps: remove lexbor
2024-03-28 11:13:17 +01:00
Pierre Tachoire
006aea25b8
wpt: fix normal output
2024-01-03 09:56:56 +01:00
Pierre Tachoire
2643366639
make: use safe mode w/ wpt
2023-12-04 17:55:52 +01:00
Pierre Tachoire
6806c151a3
make: add download-zig target
2023-12-04 12:18:49 +01:00
Pierre Tachoire
db8747d1f2
make: add install-netsurf-dev
...
Build netsurf in debug mode
2023-11-22 17:17:51 +01:00
Pierre Tachoire
ad58e536ed
makefile: remove useless var
2023-11-14 11:36:33 +01:00
Pierre Tachoire
bf0af2c036
wpt: accept test name argument
2023-10-11 10:48:11 +02:00
Pierre Tachoire
22b9b1841c
wpt: rename file into main and create make wpt
2023-10-11 09:35:52 +02:00
Pierre Tachoire
a7933083bd
make: add NDEBUG option to netsurf build
...
In order to remove the debug output from the parser.
2023-10-10 17:53:09 +02:00
Pierre Tachoire
59b5e0a583
netsurf: use zigg cc to compile statically libdom example
2023-09-25 09:56:32 +02:00
Pierre Tachoire
d7fec31b8a
build libiconv from sources
2023-09-22 16:10:22 +02:00
Francis Bouvier
ef1ce6e8c2
Makefile: add clean-netsurf and test-netsurf
...
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com >
2023-09-20 22:44:02 +02:00
Francis Bouvier
1f61eaff9d
Makefile: use make install for install-netsurf
...
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com >
2023-09-20 22:42:06 +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
Francis Bouvier
97348cef5c
Add netsurf submodules
...
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com >
2023-09-06 17:51:43 +02:00
Francis Bouvier
d38f59d631
Makefile: add install-netsurf
...
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com >
2023-09-06 17:28:09 +02:00
Pierre Tachoire
e5c7a57946
make: use zig variable
2023-09-19 17:28:52 +02:00
Pierre Tachoire
cda5b2029f
make: build lexbor the way commented in build.zig
2023-09-01 17:29:31 +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
999e1747bb
make: improve lexbor build options
2023-09-01 16:00:27 +02:00
Pierre Tachoire
4124b6e4c0
readme: add install instructions
2023-09-01 16:00:26 +02:00
Francis Bouvier
fa0b8b8671
Merge pull request #3 from francisbouvier/fix-make-help
...
make: fix help w/ linux
2023-08-30 17:09:05 +02:00
Pierre Tachoire
d9978b250c
make: fix help w/ linux
...
Before the change, `make help` generated an error in linux:
```
$ make help
Command Usage
sed: -e expression #1 , char 64: unterminated address regex
```
2023-08-29 21:00:31 +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