<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chawan/test/js/encode_decode.html, branch master</title>
<subtitle>Chawan - a web browser for your terminal (mirror)
</subtitle>
<id>https://git.tilde.institute/ahoang/chawan/atom?h=master</id>
<link rel='self' href='https://git.tilde.institute/ahoang/chawan/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/'/>
<updated>2024-12-26T17:56:34Z</updated>
<entry>
<title>jsencoding: fix nil deref on empty encode input</title>
<updated>2024-12-26T17:56:34Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-12-26T17:56:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=f2d3040da5c686fd4a3a78dbcca68b75512ea28e'/>
<id>urn:sha1:f2d3040da5c686fd4a3a78dbcca68b75512ea28e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dom: support all HTMLHyperlinkElementUtils getters</title>
<updated>2024-11-09T15:34:26Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-11-09T15:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=074d86a867c20d6e9daf164e5d03a81cf7ecb2b4'/>
<id>urn:sha1:074d86a867c20d6e9daf164e5d03a81cf7ecb2b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>js: fix various leaks etc.</title>
<updated>2024-05-02T23:58:12Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-05-02T23:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=970378356d0d7239b332baa37470455391b5e6e4'/>
<id>urn:sha1:970378356d0d7239b332baa37470455391b5e6e4</id>
<content type='text'>
Previously we didn't actually free the main JS runtime, probably because
you can't do this without first waiting for JS to unwind the stack.
(This has the unfortunate effect that code now *can* run after quit().
TODO: find a fix for this.)

This isn't a huge problem per se, we only have one of these and the OS
can clean it up.  However, it also disabled the JS_FreeRuntime leak
check, which resulted in sieve-like behavior (manual refcounting is
a pain).

So now we choose the other tradeoff: quit no longer runs exitnow, but
it waits for the event loop to run to the end and only then exits the
browser.  Then, before exit we free the JS context &amp; runtime, and also
all JS values allocated by config.

Fixes:

* fix `ad' flag not being set for just one siteconf/omnirule
* fix various leaks (since leak check is enabled now)
* use ptr UncheckedArray[JSValue] for QJS bindings that take an array
* allow JSAtom in jsgetprop etc., also disallow int types other than
  uint32
* do not set a destructor for globals
</content>
</entry>
<entry>
<title>test: add js &amp; layout tests</title>
<updated>2024-04-21T19:28:45Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-04-21T19:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=e3d9ee2c6224cd30bf56e24f7988899e0e3985c1'/>
<id>urn:sha1:e3d9ee2c6224cd30bf56e24f7988899e0e3985c1</id>
<content type='text'>
(Sadly some layout tests still fail.)
</content>
</entry>
</feed>
