<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git, branch releases/1.11</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.11</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.11'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2022-02-05T16:31:16Z</updated>
<entry>
<title>ci: codespell: don’t uppercase words in the exclude list</title>
<updated>2022-02-05T16:31:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8c66dbbd788972db8b7338ca6b7aea8991fce963'/>
<id>urn:sha1:8c66dbbd788972db8b7338ca6b7aea8991fce963</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: fix codespell -L usage, take 2</title>
<updated>2022-02-05T16:30:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1b0fac49edeffeea1e929f92b57e50d435ccd06d'/>
<id>urn:sha1:1b0fac49edeffeea1e929f92b57e50d435ccd06d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: fix codespell -L usage</title>
<updated>2022-02-05T16:29:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e5926ad6be169201dcea413d93bd111fe27ee84f'/>
<id>urn:sha1:e5926ad6be169201dcea413d93bd111fe27ee84f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: use fcft master branch</title>
<updated>2022-02-05T16:27:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bfab825b02619f1629bcb0eed2d6ae9d25b03f41'/>
<id>urn:sha1:bfab825b02619f1629bcb0eed2d6ae9d25b03f41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: allow ‘Ser’ (as in Simon Ser) in Codespell</title>
<updated>2022-02-05T16:26:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6c38c2358a341781535c4dabe32cc16afd8ec325'/>
<id>urn:sha1:6c38c2358a341781535c4dabe32cc16afd8ec325</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: remove debug logging</title>
<updated>2022-02-05T16:22:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:22:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=844563a7916a6d176316aa733cb1968f68a7caf6'/>
<id>urn:sha1:844563a7916a6d176316aa733cb1968f68a7caf6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: bump version to 1.11.0</title>
<updated>2022-02-05T16:20:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3fea7829fa1be5dc8b61b89453dfa687bd8ea672'/>
<id>urn:sha1:3fea7829fa1be5dc8b61b89453dfa687bd8ea672</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.11.0</title>
<updated>2022-02-05T16:19:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ccb0cd178ff6afe3dbf87ab2023dedc41cfe6670'/>
<id>urn:sha1:ccb0cd178ff6afe3dbf87ab2023dedc41cfe6670</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'fcft-3'</title>
<updated>2022-02-05T16:15:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=52f1f44897fa0025cc0482a5dd348c6aa0ec1a2d'/>
<id>urn:sha1:52f1f44897fa0025cc0482a5dd348c6aa0ec1a2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>char32: inline wcs*() wrappers</title>
<updated>2022-02-05T16:00:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-10T20:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dc42b41b6238cb44c1098009e68d7d63095cbef3'/>
<id>urn:sha1:dc42b41b6238cb44c1098009e68d7d63095cbef3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: adapt to API changes in fcft-3.x</title>
<updated>2022-02-05T16:00:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-08-21T12:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e0227266cabc015c282774ac898e3f52dce943df'/>
<id>urn:sha1:e0227266cabc015c282774ac898e3f52dce943df</id>
<content type='text'>
Fcft no longer uses wchar_t, but plain uint32_t to represent
codepoints.

Since we do a fair amount of string operations in foot, it still makes
sense to use something that actually _is_ a string (or character),
rather than an array of uint32_t.

For this reason, we switch out all wchar_t usage in foot to
char32_t. We also verify, at compile-time, that char32_t used
UTF-32 (which is what fcft expects).

Unfortunately, there are no string functions for char32_t. To avoid
having to re-implement all wcs*() functions, we add a small wrapper
layer of c32*() functions.

These wrapper functions take char32_t arguments, but then simply call
the corresponding wcs*() function.

For this to work, wcs*() must _also_ be UTF-32 compatible. We can
check for the presence of the  __STDC_ISO_10646__ macro. If set,
wchar_t is at least 4 bytes and its internal representation is UTF-32.

FreeBSD does *not* define this macro, because its internal wchar_t
representation depends on the current locale. It _does_ use UTF-32
_if_ the current locale is UTF-8.

Since foot enforces UTF-8, we simply need to check if __FreeBSD__ is
defined.

Other fcft API changes:

* fcft_glyph_rasterize() -&gt; fcft_codepoint_rasterize()
* font.space_advance has been removed
* ‘tags’ have been removed from fcft_grapheme_rasterize()
* ‘fcft_log_init()’ removed
* ‘fcft_init()’ and ‘fcft_fini()’ must be explicitly called
</content>
</entry>
<entry>
<title>Merge branch 'config-no-null-strings-in-printf'</title>
<updated>2022-02-05T16:00:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T16:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2be8c39044b5a0f63578b0f6d40b5e3d383e9db0'/>
<id>urn:sha1:2be8c39044b5a0f63578b0f6d40b5e3d383e9db0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: s/of the form/on the form/</title>
<updated>2022-02-05T15:59:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T15:59:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=343f2c51a4cc44aa5ae3a813ae1c908b2f01b9f5'/>
<id>urn:sha1:343f2c51a4cc44aa5ae3a813ae1c908b2f01b9f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: XF86Copy+XF86Paste are now recognized by default</title>
<updated>2022-02-05T15:42:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-05T15:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a339c40f5d537457d7486a385c9ae2a0b37ee823'/>
<id>urn:sha1:a339c40f5d537457d7486a385c9ae2a0b37ee823</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: use getline idiomatically</title>
<updated>2022-02-05T08:18:08Z</updated>
<author>
<name>Pranjal Kole</name>
<email>pranjal.kole7@gmail.com</email>
</author>
<published>2022-02-04T13:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=06fdebbbcbc47562e4703a9c9ac3c2c16bb545c5'/>
<id>urn:sha1:06fdebbbcbc47562e4703a9c9ac3c2c16bb545c5</id>
<content type='text'>
getline(3) contains an example program at the end, showing its usage.

A few other changes have also been made.
</content>
</entry>
<entry>
<title>config: don't pass null strings to *printf()</title>
<updated>2022-02-05T06:20:41Z</updated>
<author>
<name>Pranjal Kole</name>
<email>pranjal.kole7@gmail.com</email>
</author>
<published>2022-01-29T17:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65b5469e86dc57969cac2109ce5bd53a88164b08'/>
<id>urn:sha1:65b5469e86dc57969cac2109ce5bd53a88164b08</id>
<content type='text'>
musl and glibc's *printf() convert NULL strings to "(null)" [0][1], but
this is undefined behaviour.

context.value has to be set to two backspaces, so that the extra colon
is removed. context.key is set to one backspace, so that the extra dot
is removed. context.section is now set to "main" by default, so it is
never NULL.

[0]: https://git.musl-libc.org/cgit/musl/tree/src/stdio/vfprintf.c#n593
[1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-common/vfprintf-internal.c;hb=HEAD#l1011
</content>
</entry>
<entry>
<title>Merge branch 'improve-shellscript'</title>
<updated>2022-02-04T20:30:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-04T20:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ef54b7f2e53b5efa2bd27d70dbebfca352edee2b'/>
<id>urn:sha1:ef54b7f2e53b5efa2bd27d70dbebfca352edee2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>box-drawing: LIGHT ARC: check for sqrt() failures</title>
<updated>2022-02-04T17:15:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-03T21:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e97e873b9ef448aa2796667ba1d0a69ffe2e07e0'/>
<id>urn:sha1:e97e873b9ef448aa2796667ba1d0a69ffe2e07e0</id>
<content type='text'>
Closes #914
</content>
</entry>
<entry>
<title>Merge branch 'sixel-repeat-edge-cases'</title>
<updated>2022-02-04T17:14:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-04T17:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a5f8ed1b78885a4edb54738cd03dda72645e42fe'/>
<id>urn:sha1:a5f8ed1b78885a4edb54738cd03dda72645e42fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sixel: revert to default state when an invalid DECGRI character is received</title>
<updated>2022-02-04T17:14:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-03T18:24:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=58bbbb0a319687774e7c06edf52b17bb79d6085a'/>
<id>urn:sha1:58bbbb0a319687774e7c06edf52b17bb79d6085a</id>
<content type='text'>
</content>
</entry>
</feed>
