<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chawan/lib/quickjs, 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-06-03T19:15:44Z</updated>
<entry>
<title>Move JS wrapper into Monoucha</title>
<updated>2024-06-03T19:15:44Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-06-03T18:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e'/>
<id>urn:sha1:3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e</id>
<content type='text'>
Operation "modularize Chawan somewhat" part 3
</content>
</entry>
<entry>
<title>js: fix runtime cleanup</title>
<updated>2024-06-03T18:28:29Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-06-03T18:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=dfb03387691e72f8832734255765ddfdd38db372'/>
<id>urn:sha1:dfb03387691e72f8832734255765ddfdd38db372</id>
<content type='text'>
This is a minefield.

Intuitively, you would think that just clearing the opaque and manually
freeing registered object should be enough. Unfortunately, this is
not true; we do not store whether we are actually holding a reference to
registered JS objects, so this approach leads to double frees.

Instead, we add a QJS callback that is called right after the final
GC cleanup, but before the list_free assertion. This way, we can be sure
that any object still in our registry is referenced by us, and can
therefore unreference them safely.
</content>
</entry>
<entry>
<title>regexp: fix non greedy quantizers with zero length matches</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Fabrice Bellard</name>
<email>fabrice@bellard.org</email>
</author>
<published>2024-05-30T14:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=76fb1173641abd7f1b2ada2e346ef0c426663256'/>
<id>urn:sha1:76fb1173641abd7f1b2ada2e346ef0c426663256</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `js_resolve_proxy` (#293)</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Charlie Gordon</name>
<email>github@chqrlie.org</email>
</author>
<published>2024-05-09T12:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=5b52f020c29fe790de9bf469de1d048b787fe87b'/>
<id>urn:sha1:5b52f020c29fe790de9bf469de1d048b787fe87b</id>
<content type='text'>
- simplify `JS_IsArray` for proxy chains
- remove `js_proxy_isArray`
</content>
</entry>
<entry>
<title>Add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` (#264)</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Kasper Isager Dalsgarð</name>
<email>kasperisager@hey.com</email>
</author>
<published>2024-05-09T11:07:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=b1e497d333c92431032032491242b54d7b11e010'/>
<id>urn:sha1:b1e497d333c92431032032491242b54d7b11e010</id>
<content type='text'>
* add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` all accepting `JSValueConst`
* make `js_strict_eq` accept `JSValueConst`, remove uses of this function internally and replace them with
`js_strict_eq2` instead.
</content>
</entry>
<entry>
<title>Expose `JS_SetUncatchableError()` (#262)</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Kasper Isager Dalsgarð</name>
<email>kasperisager@hey.com</email>
</author>
<published>2024-05-09T10:45:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=1cfca841d138f7aede0dcd46444b35c51b5d3cce'/>
<id>urn:sha1:1cfca841d138f7aede0dcd46444b35c51b5d3cce</id>
<content type='text'>
* Expose `JS_SetUncatchableError()`

* Remove unnecessary `JS_SetUncatchableError` declaration
</content>
</entry>
<entry>
<title>Add `JS_HasException()` (#265)</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Kasper Isager Dalsgarð</name>
<email>kasperisager@hey.com</email>
</author>
<published>2024-05-08T21:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=3df4a6d03143543999c142cd9de807956c6351cc'/>
<id>urn:sha1:3df4a6d03143543999c142cd9de807956c6351cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `JS_NewTypedArray()` (#272)</title>
<updated>2024-05-30T16:55:56Z</updated>
<author>
<name>Dmitry Volyntsev</name>
<email>xeioexception@gmail.com</email>
</author>
<published>2024-05-08T21:17:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=bfdbadd61fa3d52bcd764862a115748686d62593'/>
<id>urn:sha1:bfdbadd61fa3d52bcd764862a115748686d62593</id>
<content type='text'>
</content>
</entry>
<entry>
<title>quickjs: revert SetUncatchableError patch</title>
<updated>2024-05-30T16:55:20Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-05-30T16:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=a407f86065a5ae968a54cc566a71c6d596e5a6cd'/>
<id>urn:sha1:a407f86065a5ae968a54cc566a71c6d596e5a6cd</id>
<content type='text'>
taking it from upstream
</content>
</entry>
<entry>
<title>libunicode: fix compilation</title>
<updated>2024-05-07T17:05:58Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-05-07T17:05:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=b3a88c3da0d5d6f8be737881bd115a497bd8c30c'/>
<id>urn:sha1:b3a88c3da0d5d6f8be737881bd115a497bd8c30c</id>
<content type='text'>
</content>
</entry>
</feed>
