<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chawan/res/urimethodmap, 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-01-30T18:10:42Z</updated>
<entry>
<title>about: move to loader</title>
<updated>2025-01-30T18:10:42Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2025-01-30T17:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=6131db458fc1d0f8faf17ded996ae25092af8900'/>
<id>urn:sha1:6131db458fc1d0f8faf17ded996ae25092af8900</id>
<content type='text'>
This means we can now use about:downloads for downloads.
Plus it shaves off some ks from the distribution.
</content>
</entry>
<entry>
<title>img: add nanosvg</title>
<updated>2024-12-19T19:08:00Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-12-19T19:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=a5be67edc10e30ec9d15f44e07ed8515cb36256a'/>
<id>urn:sha1:a5be67edc10e30ec9d15f44e07ed8515cb36256a</id>
<content type='text'>
Only for SVG in image tags for now.  Plus it comes with NanoSVG's
limitations, i.e. no text.  Still, better than nothing.

I've gone through open tickets and PRs at upstream to check for known
security issues.  As a recurring theme I found that parseTransform
fails to check the result of parseTransformArgs, so I fixed and
refactored that part.  (Probably not a security issue, but still UB.)

Also, I've added a fix for an OOB read in parseColorRGB.

Future directions:

* replace nanosvgrast with our own rasterizer in canvas (will have to be
  extended somewhat...)
* add text rendering (with unifont, which canvas already includes)
</content>
</entry>
<entry>
<title>Add `nc' tool &amp; adjust finger/spartan to use it</title>
<updated>2024-10-12T15:19:44Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-10-12T15:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=c4a75720959a968004fec1996d6870d0874c953d'/>
<id>urn:sha1:c4a75720959a968004fec1996d6870d0874c953d</id>
<content type='text'>
Simple netcat clone, useful for portable scripts. Especially because
some netcats will close the connection as soon as I close stdin... this
one only quits when either stdout or the socket refuses new data.

Also, it uses our standard TCP connection routine, meaning it respects
ALL_PROXY. (i.e. now spartan works with socks5 too)
</content>
</entry>
<entry>
<title>gmifetch: rewrite in Nim</title>
<updated>2024-10-12T14:30:11Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-07-13T17:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=6087f759642cd747d03e43cc57da0a508ccc1d61'/>
<id>urn:sha1:6087f759642cd747d03e43cc57da0a508ccc1d61</id>
<content type='text'>
This finally makes it possible to use socks5 for Gemini.

Also slightly refactored the config, to make it easier to pass on the
config dir.

By the way, the known_hosts file is now stored in the config dir too.
The adapter will try to move it to there from the old location.
</content>
</entry>
<entry>
<title>ftp: remove libcurl dependency</title>
<updated>2024-10-01T19:18:59Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-10-01T19:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=b0a511f900a2884c0d1bb55e3991c068ef3e37f2'/>
<id>urn:sha1:b0a511f900a2884c0d1bb55e3991c068ef3e37f2</id>
<content type='text'>
This splits out sftp into a separate binary that *does* depend on
libcurl. However, ftp now uses the same socket code as gopher.

ftps is dropped, because I've never even tested it. Maybe I'll add
it back when we have working OpenSSL bindings.

This is still "doing the easy part first", now I have no clue how to
handle sftp because my initial plan ("just use the sftp binary") doesn't
work - sftp batch mode doesn't accept passwords. libssh2 remains the
sole candidate, but that's what libcurl wraps anyway.
</content>
</entry>
<entry>
<title>gopher: do not depend on libcurl</title>
<updated>2024-09-28T15:56:45Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-09-28T15:56:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=1dea3e9fbe4a902db6325195df0d7a465f82cfc5'/>
<id>urn:sha1:1dea3e9fbe4a902db6325195df0d7a465f82cfc5</id>
<content type='text'>
I'm thinking of making libcurl entirely optional; let's start with the
easiest part.

I've added a SOCKS5 client for ALL_PROXY support; I know curl supported
others too, but whatever.
</content>
</entry>
<entry>
<title>canvas: move to separate CGI script</title>
<updated>2024-08-31T23:46:38Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-08-31T23:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=55cfd29e961488a8c1ed9eb7801d237d27bc86c7'/>
<id>urn:sha1:55cfd29e961488a8c1ed9eb7801d237d27bc86c7</id>
<content type='text'>
* stream: and passFd is now client-based, and accessible for buffers
* Bitmap's width &amp; height is now int, not uint64
* no more non-network Bitmap special case in the pager for canvas

I just shoehorned it into the static image model, so it still doesn't
render changes after page load. But at least now it doesn't crash the
browser.
</content>
</entry>
<entry>
<title>sixel: break out into a separate cgi script</title>
<updated>2024-08-24T17:52:43Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-08-24T17:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=b6e10287b23241fb8933f311a72ebe95976b174b'/>
<id>urn:sha1:b6e10287b23241fb8933f311a72ebe95976b174b</id>
<content type='text'>
This caches sixel output. Works best when the line height is a multiple
of 6px, but should still be faster than the previous solution everywhere
else too (simply by virtue of encoding separate images in parallel).

Next step: actual color quantization
</content>
</entry>
<entry>
<title>loader: move back data URL handling</title>
<updated>2024-08-02T23:54:35Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-08-02T23:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=4c64687290c908cd791a058dede9bd4f2a1c7757'/>
<id>urn:sha1:4c64687290c908cd791a058dede9bd4f2a1c7757</id>
<content type='text'>
data URIs can get megabytes long; however, you can only stuff so many
bytes into the envp. (This was thwarting my efforts to view pandoc-
generated standalone HTML in Chawan.) So put `data:' back into the
loader process.
</content>
</entry>
<entry>
<title>img: add webp decoder (jebp)</title>
<updated>2024-07-20T12:09:16Z</updated>
<author>
<name>bptato</name>
<email>nincsnevem662@gmail.com</email>
</author>
<published>2024-07-01T17:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/chawan/commit/?id=2a9b57b6b6a68af453e75384300887bacc3f6add'/>
<id>urn:sha1:2a9b57b6b6a68af453e75384300887bacc3f6add</id>
<content type='text'>
It works fine AFAICT, just missing VP8 deblocking filters, so lossy
WebP images don't look great.

I have extended the API a bit to allow reading from stdin, not just
paths. Otherwise, it's the same as matanui159/jebp.

TODO: add loop filters
</content>
</entry>
</feed>
