<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chawan/src/io, 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>2025-05-10T12:45:35Z</updated>
<entry>
<title>fromjs: switch back res to `var' from `out'</title>
<updated>2025-05-10T12:45:35Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-05-10T12:33:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=7c5323086f2b332a2f0afe44d69a4fb773dfd333'/>
<id>urn:sha1:7c5323086f2b332a2f0afe44d69a4fb773dfd333</id>
<content type='text'>
The original goal was to comply the Uninit warning, but this is now a
futile effort as Uninit is no longer planned to be the default in Nim.

Setting `res' to its type's default value is therefore just a waste of
cycles when it's already zero-initialized.
</content>
</entry>
<entry>
<title>Enable ProveInit warning</title>
<updated>2025-05-10T12:21:26Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-05-10T12:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=a2576992a14d922279c3014d6a8895d39e1c1244'/>
<id>urn:sha1:a2576992a14d922279c3014d6a8895d39e1c1244</id>
<content type='text'>
It has caught some minor bugs.
</content>
</entry>
<entry>
<title>myaddr: backport &amp; switch to newSeqUninit</title>
<updated>2025-04-30T17:54:19Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-04-30T17:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=ef2034bf108d437e25eb125945f189c49a4cc296'/>
<id>urn:sha1:ef2034bf108d437e25eb125945f189c49a4cc296</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-add JSValueConst</title>
<updated>2025-03-12T17:20:21Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-03-12T17:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=84b12b22dfc218f7f353ab51d1a3235ce6d8596b'/>
<id>urn:sha1:84b12b22dfc218f7f353ab51d1a3235ce6d8596b</id>
<content type='text'>
This time, I've also ported over the consistency check to prevent some
ownership bugs.

Unfortunately, the check is very limited, and it is still possible to
double-free or leak JSValues.  I think it would be possible to make
coverage 100%, but only with ARC...
</content>
</entry>
<entry>
<title>promise: fix a refcounting bug</title>
<updated>2025-03-06T17:38:55Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-03-06T17:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=e754f7f65bda3e4644faf5c8055860d6ee8d8522'/>
<id>urn:sha1:e754f7f65bda3e4644faf5c8055860d6ee8d8522</id>
<content type='text'>
+ simplify argv -&gt; seq conversion
</content>
</entry>
<entry>
<title>loader: asyncify inputhandle status responses</title>
<updated>2025-03-05T20:51:31Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-03-05T20:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=747d8aeafe86421e1d6a4ee989d075be918b630c'/>
<id>urn:sha1:747d8aeafe86421e1d6a4ee989d075be918b630c</id>
<content type='text'>
I've also removed the rsBeforeStatus error check from iclose.  I'm not
sure if it's still needed at all, but if it is, then it was implemented
in the wrong place.
</content>
</entry>
<entry>
<title>dynstream: close extraneous fds received</title>
<updated>2025-03-05T20:38:58Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-03-05T20:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=dd522de024f19c864a6929a19a99837002eaaea0'/>
<id>urn:sha1:dd522de024f19c864a6929a19a99837002eaaea0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor bufreader, bufwriter</title>
<updated>2025-03-01T20:39:54Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-03-01T20:39:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=5a080116b92d80c498ea2f4220f3b3dc1fb54abc'/>
<id>urn:sha1:5a080116b92d80c498ea2f4220f3b3dc1fb54abc</id>
<content type='text'>
This adds a runtime check to packet readers to ensure that all fds have
been read, and switches to seqs for packet writers.
</content>
</entry>
<entry>
<title>dynstream, console: remove DynFileStream</title>
<updated>2025-02-26T19:21:56Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-02-26T19:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=3662225a7e42b60f661871e4562239d5cdeabe98'/>
<id>urn:sha1:3662225a7e42b60f661871e4562239d5cdeabe98</id>
<content type='text'>
Conflating buffered streams with non-buffered streams is generally a
bad idea.
</content>
</entry>
<entry>
<title>dynstream: remove exceptions</title>
<updated>2025-02-26T18:58:08Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-02-11T15:17:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=55ffd92756faa3b60e3472404025a18509e0fce2'/>
<id>urn:sha1:55ffd92756faa3b60e3472404025a18509e0fce2</id>
<content type='text'>
Now we just pass down the value of n and check errno, plus
readDataLoop/writeDataLoop returns a bool indicating whether it failed.
For now this seems to work OK, but maybe I'll add a better abstraction
in the future.

EOFError is still used for handling failed packets; this is brittle,
and should be replaced once we have a proper buffering mechanism for
them.  (That will also let us kill BufStream.)

Unrelated: this also fixes a bug in buffer with cacheId.
</content>
</entry>
</feed>
