Pierre Tachoire
|
19b459b4db
|
xhr: add status and statusText
|
2024-02-15 16:42:54 +01:00 |
|
Pierre Tachoire
|
5bd5905da7
|
xhr: implement responseText
|
2024-02-15 16:42:54 +01:00 |
|
Pierre Tachoire
|
3915c60913
|
xhr: handle response headers
|
2024-02-15 16:42:54 +01:00 |
|
Pierre Tachoire
|
6f46d76c93
|
xhr: implementation follow up
|
2024-02-15 16:42:53 +01:00 |
|
Pierre Tachoire
|
0693011ad3
|
async: remove context from loop impl init
|
2024-02-15 16:42:53 +01:00 |
|
Pierre Tachoire
|
89409a4847
|
xhr: add a setOnload due to a setter issue
see https://lightpanda.slack.com/archives/C05TRU6RBM1/p1706708213838989
|
2024-02-15 16:42:53 +01:00 |
|
Pierre Tachoire
|
c2bc48ba0f
|
xhr: fix implementation errors
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
8b6d7d0db0
|
xhr: implement prototype chain correctly
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
af20584ff2
|
async: remove useless http.zig
Replace it with a tested sample implementation
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
2b79a65d6d
|
xhr: implement async http client
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
2fa66f93fd
|
async: refacto with comptime generation
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
c200f60d7d
|
async: add pure async http client
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
511e9b969a
|
async: use std http client with loop
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
9d26a43aa8
|
async: copy stdlib http client
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
f714d86bb8
|
xhr: validate method
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
df7d17cd30
|
xhr: start implementation
|
2024-02-15 16:42:49 +01:00 |
|
Pierre Tachoire
|
0ac605ab6d
|
upgrade jsruntime
|
2024-02-15 16:42:49 +01:00 |
|
Pierre Tachoire
|
35ede4d79c
|
netsurf: declare EventTargetTBase as extern
to guarantee the memory layout
|
2024-02-15 16:15:14 +01:00 |
|
Pierre Tachoire
|
069313817a
|
netsurf: use EventTargetTBase field to cast EventTarget
|
2024-02-15 15:59:45 +01:00 |
|
Pierre Tachoire
|
bc7055c98d
|
netsurf: fix eventTargetVtable
|
2024-02-15 14:49:24 +01:00 |
|
Pierre Tachoire
|
434c21e1da
|
Merge pull request #157 from lightpanda-io/window-event-target
Window: add EventTargetBase
|
2024-02-15 14:37:56 +01:00 |
|
Pierre Tachoire
|
71a503671d
|
Merge pull request #179 from lightpanda-io/upgrade-deps
Upgrade deps
|
2024-02-15 14:30:34 +01:00 |
|
Pierre Tachoire
|
ae28d9d6a4
|
netsurf: use the right type for EventTarget cast
|
2024-02-15 14:28:14 +01:00 |
|
Pierre Tachoire
|
1d2ffb348a
|
upgrade libdom
|
2024-02-15 14:10:50 +01:00 |
|
Pierre Tachoire
|
f33f00ce05
|
upgrade jsruntime
|
2024-02-15 14:09:58 +01:00 |
|
Pierre Tachoire
|
25a971c440
|
window: remove useless import
|
2024-02-15 14:06:49 +01:00 |
|
Pierre Tachoire
|
e222d72b46
|
upgrade tests/wpt
|
2024-02-12 16:02:28 +01:00 |
|
Pierre Tachoire
|
fe31d81e29
|
wpt: allow .htm tests cases
|
2024-02-12 13:08:52 +01:00 |
|
Pierre Tachoire
|
e4b4719208
|
wpt: defer console log display
|
2024-02-12 13:08:52 +01:00 |
|
Pierre Tachoire
|
5619ed020c
|
browser: dispatch window.load event
|
2024-02-12 12:12:13 +01:00 |
|
Pierre Tachoire
|
951bf4b501
|
events: fix remove_event_listener typo
|
2024-02-12 09:38:58 +01:00 |
|
Pierre Tachoire
|
25d4aedb1d
|
events: add mssing iter_event_listener in EventTargetTBase
|
2024-02-12 09:38:19 +01:00 |
|
Pierre Tachoire
|
5aef5a21ac
|
browser: dispatch DOMContentLoaded event
|
2024-02-05 16:41:11 +01:00 |
|
Pierre Tachoire
|
9050f2586b
|
events: add EventTargetBase
EventTargetBase implements event target vtable for pure zig struct
|
2024-02-05 16:41:11 +01:00 |
|
Francis Bouvier
|
85a8decffc
|
Merge pull request #173 from lightpanda-io/update
Update jsruntime
|
2024-01-29 13:01:13 +01:00 |
|
Francis Bouvier
|
3d55e292ce
|
Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 13:00:44 +01:00 |
|
Francis Bouvier
|
d24396333d
|
Merge pull request #156 from lightpanda-io/events
First implementation of Event system
|
2024-01-29 12:59:34 +01:00 |
|
Francis Bouvier
|
501b3caa8e
|
Add legacy document.createEvent and event.initEvent
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 09:04:03 +01:00 |
|
Francis Bouvier
|
ce3c533680
|
Add deinit for EventTarget (eventTargetRemoveAllEventListeners)
And unify the way allocator is used on eventTarget add/remove listener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 08:01:35 +01:00 |
|
Francis Bouvier
|
6bac8763f7
|
Merge pull request #165 from lightpanda-io/update_libdom
Update libdom
|
2024-01-24 11:47:19 +01:00 |
|
Francis Bouvier
|
1bf1f5a0aa
|
Update libdom
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-24 11:46:06 +01:00 |
|
Francis Bouvier
|
9ba4c69a92
|
Add removeEventListener
And check if callback has been already added in addEventListener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-24 11:43:16 +01:00 |
|
Francis Bouvier
|
3483dfa81e
|
Check if event target has listener before adding it
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-23 02:56:12 +01:00 |
|
Pierre Tachoire
|
30d52dff3f
|
Merge pull request #164 from lightpanda-io/html-em
Add missing html tags
|
2024-01-22 11:41:57 +01:00 |
|
Pierre Tachoire
|
9a050fe069
|
html: add missing applet, basefont and keygen tags
|
2024-01-22 11:08:46 +01:00 |
|
Francis Bouvier
|
e7dcf426f3
|
Update WPT with events files
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-20 17:47:29 +01:00 |
|
Pierre Tachoire
|
45504a50e7
|
html: add menu and menuitem
|
2024-01-19 17:44:28 +01:00 |
|
Pierre Tachoire
|
f7752675bc
|
html: add strong tag
|
2024-01-19 17:42:43 +01:00 |
|
Pierre Tachoire
|
c2106b4b77
|
html: add em tag
|
2024-01-19 17:42:22 +01:00 |
|
Francis Bouvier
|
b2d5ee237b
|
Merge pull request #163 from lightpanda-io/upgrade
Upgrade libdom
|
2024-01-19 16:54:25 +01:00 |
|