Karl Seguin 
							
						 
					 
					
						
						
							
						
						8d3a378761 
					 
					
						
						
							
							remove unused import, add debug statement  
						
						
						
						
					 
					
						2025-05-14 11:27:39 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						b542762dce 
					 
					
						
						
							
							update zig-v8 dep for proper named property masking flag  
						
						
						
						
					 
					
						2025-05-14 11:27:25 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						35b2ea870d 
					 
					
						
						
							
							use zig-v8-fork v8_upgrade branch  
						
						
						
						
					 
					
						2025-05-14 11:26:48 +08:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						b2605dd30c 
					 
					
						
						
							
							cancelAnimationFrame and test  
						
						
						
						
					 
					
						2025-05-13 18:24:10 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						18b04e2999 
					 
					
						
						
							
							requestAnimationFrame  
						
						
						
						
					 
					
						2025-05-13 18:24:10 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						54c2dedac0 
					 
					
						
						
							
							expectEqual and naming  
						
						
						
						
					 
					
						2025-05-13 17:42:35 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						0efa6661b8 
					 
					
						
						
							
							fix units of reslution to microsec  
						
						
						
						
					 
					
						2025-05-13 17:42:35 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						42d0532580 
					 
					
						
						
							
							cleanup  
						
						
						
						
					 
					
						2025-05-13 17:42:35 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						8d5f7c8d3e 
					 
					
						
						
							
							performance now  
						
						
						
						
					 
					
						2025-05-13 17:42:35 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						04214200b8 
					 
					
						
						
							
							Merge pull request  #626  from lightpanda-io/text-encoder  
						
						... 
						
						
						
						WIP implement TextEncoder 
						
						
					 
					
						2025-05-13 22:49:10 +08:00 
						 
				 
			
				
					
						
							
							
								Pierre Tachoire 
							
						 
					 
					
						
						
							
						
						99229513ba 
					 
					
						
						
							
							implement TextEncoder  
						
						
						
						
					 
					
						2025-05-13 16:41:59 +02:00 
						 
				 
			
				
					
						
							
							
								Muki Kiboigo 
							
						 
					 
					
						
						
							
						
						e15c80927b 
					 
					
						
						
							
							check page module_map before fetching  
						
						
						
						
					 
					
						2025-05-13 06:39:45 -07:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						e918a0bf26 
					 
					
						
						
							
							add direct http proxy support  
						
						
						
						
					 
					
						2025-05-13 18:21:27 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						35bff8cc67 
					 
					
						
						
							
							Merge pull request  #631  from lightpanda-io/element_closest  
						
						... 
						
						
						
						Element closest 
						
						
					 
					
						2025-05-13 16:40:25 +08:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						0998ae753c 
					 
					
						
						
							
							use log an brievity  
						
						
						
						
					 
					
						2025-05-13 10:31:40 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						7bb6506709 
					 
					
						
						
							
							Merge pull request  #623  from lightpanda-io/http_client_keepalive  
						
						... 
						
						
						
						add keepalive to http client 
						
						
					 
					
						2025-05-13 10:51:07 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						64f80312de 
					 
					
						
						
							
							fix formatting  
						
						
						
						
					 
					
						2025-05-13 10:42:51 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						ce2eed28c1 
					 
					
						
						
							
							Fix memory leaks  
						
						
						
						
					 
					
						2025-05-13 10:42:16 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						505fa91d7d 
					 
					
						
						
							
							add keepalive to http client  
						
						
						
						
					 
					
						2025-05-13 10:42:16 +08:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						dd7e6d3831 
					 
					
						
						
							
							Element closest  
						
						
						
						
					 
					
						2025-05-12 17:20:43 +02:00 
						 
				 
			
				
					
						
							
							
								Pierre Tachoire 
							
						 
					 
					
						
						
							
						
						b086337dbe 
					 
					
						
						
							
							Merge pull request  #629  from lightpanda-io/return_typed_arrays  
						
						... 
						
						
						
						Ability to return typed arrays 
						
						
					 
					
						2025-05-12 14:31:04 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						884ec05a1e 
					 
					
						
						
							
							Merge pull request  #628  from lightpanda-io/init_netsurf_at_page_creation  
						
						... 
						
						
						
						Init netsurf at page creation 
						
						
					 
					
						2025-05-12 17:57:59 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						212d7f1865 
					 
					
						
						
							
							Ability to return typed arrays  
						
						
						
						
					 
					
						2025-05-12 17:47:05 +08:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						9ab8a2cbd2 
					 
					
						
						
							
							remove manual test parser.init  
						
						
						
						
					 
					
						2025-05-12 11:34:57 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						f5761ee69d 
					 
					
						
						
							
							Init netsurf at page creation  
						
						
						
						
					 
					
						2025-05-12 11:19:19 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						b8cdc0f145 
					 
					
						
						
							
							Add prepend, append and relpaceChildren to DocumentFragment  
						
						
						
						
					 
					
						2025-05-12 09:35:33 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						b5eea2136b 
					 
					
						
						
							
							Merge pull request  #612  from lightpanda-io/fix-url-resolving  
						
						... 
						
						
						
						Fix URL Resolving 
						
						
					 
					
						2025-05-11 08:38:57 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						beb960b753 
					 
					
						
						
							
							A few attribute fixes  
						
						... 
						
						
						
						Driven by dom/nodes/attributes.html. However, many issues remain and seem
complicated to fix. Some of the remaining issues are documented in
https://github.com/lightpanda-io/project/discussions/124  
						
						
					 
					
						2025-05-10 14:17:15 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						5cc338dedc 
					 
					
						
						
							
							Merge pull request  #609  from lightpanda-io/ddg_compat  
						
						... 
						
						
						
						Work on DDG support (but still not working) 
						
						
					 
					
						2025-05-10 10:32:50 +08:00 
						 
				 
			
				
					
						
							
							
								Muki Kiboigo 
							
						 
					 
					
						
						
							
						
						15be42340d 
					 
					
						
						
							
							handling relative base URLs  
						
						
						
						
					 
					
						2025-05-09 07:00:57 -07:00 
						 
				 
			
				
					
						
							
							
								Muki Kiboigo 
							
						 
					 
					
						
						
							
						
						f10bee8cb0 
					 
					
						
						
							
							fix single slash url resolving issue  
						
						
						
						
					 
					
						2025-05-09 06:59:12 -07:00 
						 
				 
			
				
					
						
							
							
								Pierre Tachoire 
							
						 
					 
					
						
						
							
						
						e4513976f7 
					 
					
						
						
							
							Merge pull request  #617  from lightpanda-io/before_and_after  
						
						... 
						
						
						
						Add before and after functions 
						
						
					 
					
						2025-05-09 12:00:39 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						1820e79617 
					 
					
						
						
							
							Renable microtask_node that was fixed in main  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						2a95b7a37c 
					 
					
						
						
							
							Reduce url buffer  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						fb95df66c9 
					 
					
						
						
							
							redisable microtask_node  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						3c76284d89 
					 
					
						
						
							
							Print error on navigation failure  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						29967fde50 
					 
					
						
						
							
							delay navigate on click  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								sjorsdonkers 
							
						 
					 
					
						
						
							
						
						bd65e4084c 
					 
					
						
						
							
							renderer fix & url buffer  
						
						
						
						
					 
					
						2025-05-09 10:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						a2a9977af6 
					 
					
						
						
							
							Merge pull request  #614  from lightpanda-io/browser_controlled_gc_hints  
						
						... 
						
						
						
						Move call/control of gc_hint to browser. 
						
						
					 
					
						2025-05-09 12:26:14 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						0369b490b8 
					 
					
						
						
							
							Add before and after functions  
						
						... 
						
						
						
						Element and CharData both have a before & after function.
Also, changed the existing functions that took a Node but should take
a Node or Text, i.e append, prepend and replaceChildren. These functions, along
with the new before/after all take a new NodeOrText union. 
						
						
					 
					
						2025-05-09 12:23:31 +08:00 
						 
				 
			
				
					
						
							
							
								Pierre Tachoire 
							
						 
					 
					
						
						
							
						
						d9e5821d31 
					 
					
						
						
							
							Merge pull request  #613  from lightpanda-io/css_selector_parsing_tweaks  
						
						... 
						
						
						
						"Improve" css selector parsing 
						
						
					 
					
						2025-05-08 14:43:43 +02:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						54a7df8d40 
					 
					
						
						
							
							Move call/control of gc_hint to browser.  
						
						... 
						
						
						
						It has more context than the env about when this should be called. Specifically
it can be called once per session, whereas, in the env, we can only call it
once per context - which could be too often. 
						
						
					 
					
						2025-05-08 18:31:46 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						17ed502123 
					 
					
						
						
							
							Merge pull request  #601  from lightpanda-io/http_gzip  
						
						... 
						
						
						
						Support gzip compressed content for the synchronous http client 
						
						
					 
					
						2025-05-08 13:52:05 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						56eef2ec94 
					 
					
						
						
							
							"Improve" css selector parsing  
						
						... 
						
						
						
						This is driven by dom/nodes/ParentNode-querySelector-escapes.html
It seems like invalid unicode and null terminating characters should be replaced
with the replacement character (i.e. �).
Also, allow escape sequence to be at the end of the string.
For the functions I changed, I added:
```zig
const sel = p.s;
const sel_len = sel.len
```
To improve readability (`selector` can't be used because it shadows the import).
Tests went from 39/68 -> 66/68. 
						
						
					 
					
						2025-05-08 11:34:04 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						200036efc9 
					 
					
						
						
							
							undo microtask change, do it in a separate PR  
						
						
						
						
					 
					
						2025-05-08 07:46:05 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						7fa7f4ed8a 
					 
					
						
						
							
							Work on DDG support (but still not working)  
						
						... 
						
						
						
						- Add dummy MediaQueryList and window.matchMedia
- Execute deferred scripts after non-deferred
  I realize this doesn't change much, given how we currently load all scripts
  after the document is parsed, but scripts _could_ depend on execution order.
- Add support for executing the `onload` attribute of <scripts>
I also cleaned up some of the Script code, i.e. removimg `unknown` kind and
simply returning a null script, and removing the EmptyBody error and returning
a null body string.
Finally, I re-enabled the microtask loop which I must have previously disabled. 
						
						
					 
					
						2025-05-08 07:46:04 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						3466325d4d 
					 
					
						
						
							
							Merge pull request  #610  from lightpanda-io/loop_interval_cleanup  
						
						... 
						
						
						
						Optimize intervals, and make sure they're probably cleaned up. 
						
						
					 
					
						2025-05-08 07:44:59 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						6d8d688063 
					 
					
						
						
							
							Optimize intervals, and make sure they're probably cleaned up.  
						
						... 
						
						
						
						A loop interval will no longer stop the loop from returning from `run`, and
no longer requires mutating event_nb on each iteration.
Re-enable microtask loop, which I accidentally stopped in a previous commit. 
						
						
					 
					
						2025-05-07 19:20:26 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						5207bdfd85 
					 
					
						
						
							
							Merge pull request  #608  from lightpanda-io/wpt-opts-url  
						
						... 
						
						
						
						wpt: use local url for wpt tests 
						
						
					 
					
						2025-05-07 16:07:24 +08:00 
						 
				 
			
				
					
						
							
							
								Karl Seguin 
							
						 
					 
					
						
						
							
						
						690d4238e8 
					 
					
						
						
							
							Merge pull request  #607  from lightpanda-io/fix_int_overflow  
						
						... 
						
						
						
						fix overflow when setting timeout/interval 
						
						
					 
					
						2025-05-07 16:05:37 +08:00