<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/vt.c, branch 0.9.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-09-28T11:59:11Z</updated>
<entry>
<title>vt: don't log ignored execute commands</title>
<updated>2019-09-28T11:59:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-28T11:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=780a346071c762151a444eb8a256491bc6e76f88'/>
<id>urn:sha1:780a346071c762151a444eb8a256491bc6e76f88</id>
<content type='text'>
cat:ing a binary file would otherwise result in us spamming syslog.
</content>
</entry>
<entry>
<title>vt: implement 'insert mode'</title>
<updated>2019-08-30T20:08:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T20:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2707cf0fc4703ec2eab46bdde607f57f559945c8'/>
<id>urn:sha1:2707cf0fc4703ec2eab46bdde607f57f559945c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: remove unneeded include</title>
<updated>2019-08-30T19:43:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T19:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2e9349c4c4ffe494cf9b1ca4139097c963f68573'/>
<id>urn:sha1:2e9349c4c4ffe494cf9b1ca4139097c963f68573</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: tidy lazy initialization of escape parameters</title>
<updated>2019-08-27T13:24:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-27T13:24:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=382bea8309ae9031d6266c1ba772fdb2287e6c33'/>
<id>urn:sha1:382bea8309ae9031d6266c1ba772fdb2287e6c33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: no need to reset OSC string in CLEAR action</title>
<updated>2019-08-27T13:24:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-27T13:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=936526ed5bcae97e83f9fcf7ef02418d1cb12292'/>
<id>urn:sha1:936526ed5bcae97e83f9fcf7ef02418d1cb12292</id>
<content type='text'>
... as this is done when a new OSC string is started
</content>
</entry>
<entry>
<title>vt: store alt charset characters as wchars</title>
<updated>2019-08-27T13:23:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-27T13:23:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8d65f45bf5b7d6369c71308f680ef8e29b901ba9'/>
<id>urn:sha1:8d65f45bf5b7d6369c71308f680ef8e29b901ba9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: bug: fix lazy initialization of sub parameter value (off-by-one)</title>
<updated>2019-08-24T09:39:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-24T09:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0c5a19f950a5e387bb85199022d13860789ab75e'/>
<id>urn:sha1:0c5a19f950a5e387bb85199022d13860789ab75e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: clear CSI parameters lazily</title>
<updated>2019-08-24T09:33:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-24T09:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9b74cedb20beccd9b4f270f3c8ce6ba712e385a2'/>
<id>urn:sha1:9b74cedb20beccd9b4f270f3c8ce6ba712e385a2</id>
<content type='text'>
The CLEAR action is so common, that explicitly clearing the entire
params array, which is kind of big, is too slow.

Clear it lazily instead. Meaning, we only set 'idx' (count) to 0 in
CLEAR. Then whenever we parse a parameter, clear the value and sub
parameters.
</content>
</entry>
<entry>
<title>vt: remove support for urxvt 'extended' line drawing character set</title>
<updated>2019-08-16T16:04:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-16T16:04:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ece09cc76f300911d512d174f26cf8344fca68b4'/>
<id>urn:sha1:ece09cc76f300911d512d174f26cf8344fca68b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: there is no default charset for \e0 and \eB</title>
<updated>2019-08-16T16:01:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-16T16:01:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8586c9cb913c732fc024923b02379f3796c27f17'/>
<id>urn:sha1:8586c9cb913c732fc024923b02379f3796c27f17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: pack more efficiently and store glyph as a wchar</title>
<updated>2019-08-02T16:19:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-02T16:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d7993b36fa3f97e26c527c37b36eb9321b79791'/>
<id>urn:sha1:4d7993b36fa3f97e26c527c37b36eb9321b79791</id>
<content type='text'>
The 'attributes' struct is now 8 bytes and naturally packed (used to
be 9 bytes, artificially packed).

'cell' struct is now 12 bytes, naturally packed (used to be 13 bytes,
artificially packed).

Furthermore, the glyph is stored as a wchar instead of a char*. This
makes it easier (faster) to do glyph lookup when rendering.
</content>
</entry>
<entry>
<title>term: implement reset</title>
<updated>2019-08-01T18:51:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-01T18:51:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ab92abbd21fd65c313880b4765aa119ff60311f7'/>
<id>urn:sha1:ab92abbd21fd65c313880b4765aa119ff60311f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>font: initial support for double-width *and* color emoji glyphs</title>
<updated>2019-07-31T16:03:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-31T16:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=858a0d9906a66f2eb9c2ffaf6d71e1153dad33f7'/>
<id>urn:sha1:858a0d9906a66f2eb9c2ffaf6d71e1153dad33f7</id>
<content type='text'>
Fonts are now loaded with FT_LOAD_COLOR and we recognize and support
the FT_PIXEL_MODE_BGRA pixel mode.

This is mapped to a CAIRO_FORMAT_ARGB32 surface, that is blitted
as-is (instead of used as a mask like we do for gray and mono glyphs).

Furthermore, since many emojis are double-width, we add initial
support for double-width glyphs.

These are assumed to always be utf8. When PRINT:ing an utf8 character,
we check its width, and add empty "spacer" cells after the cell with
the multi-column glyph.

When rendering, we render the columns in each row backwards. This
ensures the spacer cells get cleared *before* we render the glyph (so
that we don't end up erasing part of the glyph).

Finally, emoji fonts are usually bitmap fonts with *large*
glyphs. These aren't automatically scaled down. I.e. even if we
request a glyph of 13 pixels, we might end up getting a 100px glyph.

To handle this, fontconfig must be configured to scale bitmap
fonts. When it is, we can look at the 'scalable' and 'pixelsizefixup'
properties, and use these to scale the rendered glyph.
</content>
</entry>
<entry>
<title>vt: disable flash on bell, it's too annoying in e.g. zsh</title>
<updated>2019-07-30T20:11:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T20:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=748a1f229c3681b9940b6b66377f958a28dcc74a'/>
<id>urn:sha1:748a1f229c3681b9940b6b66377f958a28dcc74a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: BELL is now logged at info level, and flashes the screen</title>
<updated>2019-07-30T20:09:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T20:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e1f7fc459b21a295d9c4489214436aef461b9a61'/>
<id>urn:sha1:e1f7fc459b21a295d9c4489214436aef461b9a61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: remove almost all abort() calls</title>
<updated>2019-07-30T19:42:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T19:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8acc3b891dabf5ba96b71771c77061769c3e29b8'/>
<id>urn:sha1:8acc3b891dabf5ba96b71771c77061769c3e29b8</id>
<content type='text'>
Replace with generic error log messages that simply says the
ESC/CSI/OSC sequence is unhandled. This can mean either invalid or
unimplemented, depending on the context.
</content>
</entry>
<entry>
<title>vt: remove duplicate initialization warnings (clang)</title>
<updated>2019-07-30T18:30:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T18:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=51c1fc344a9585fcd726e3c50bd7681bb054795d'/>
<id>urn:sha1:51c1fc344a9585fcd726e3c50bd7681bb054795d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: add a 'clean' bit to each cell; only render cells that aren't clean</title>
<updated>2019-07-30T16:03:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T16:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85ef9df586dfca22d16d04c9777dc38ff896223a'/>
<id>urn:sha1:85ef9df586dfca22d16d04c9777dc38ff896223a</id>
<content type='text'>
This patch takes a bit from the foreground color value in a
cell (todo: split up foreground/background into bitfields with a
separate field for 'foreground/background' has been set), and only
re-renders cells that aren't marked as clean.

Note: we use a 'clean' bit rather than a 'dirty' bit to make it easy
to erase cells - we can (keep doing) do that by simply memsetting a
cell range to 0.
</content>
</entry>
<entry>
<title>term: make sure to update 'current row' when restoring saved cursor</title>
<updated>2019-07-23T15:57:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-23T15:57:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f5a6304850fd7344f72355416cfbfd69b76482c4'/>
<id>urn:sha1:f5a6304850fd7344f72355416cfbfd69b76482c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dcs: we have no parent terminal to pass through to</title>
<updated>2019-07-21T16:22:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-21T16:22:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2096753b522b16f6faafc91eca66fe98ad5b9757'/>
<id>urn:sha1:2096753b522b16f6faafc91eca66fe98ad5b9757</id>
<content type='text'>
</content>
</entry>
</feed>
