<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/tests, branch 1.11.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.11.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.11.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2022-02-05T16:00:54Z</updated>
<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>test: config: tweak.grapheme-shaping can’t be set when grapheme-clustering has been disabled</title>
<updated>2022-01-13T11:26:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-13T11:26:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=467e4f2ef864a6a695aa2fcdf717f414188a6215'/>
<id>urn:sha1:467e4f2ef864a6a695aa2fcdf717f414188a6215</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test ‘tweak’ section</title>
<updated>2022-01-13T11:16:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-13T11:16:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9bd9f55d5a8f5722acde7e985630977e1493877e'/>
<id>urn:sha1:9bd9f55d5a8f5722acde7e985630977e1493877e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: colors: test ‘256’ is an invalid key</title>
<updated>2021-12-30T20:49:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-30T20:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c0aa4144048091168fd43fb279893a8d224432a9'/>
<id>urn:sha1:c0aa4144048091168fd43fb279893a8d224432a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test colors section</title>
<updated>2021-12-29T18:54:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b7976e95652e6040f56fdc080ff1756142acfeb1'/>
<id>urn:sha1:b7976e95652e6040f56fdc080ff1756142acfeb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: csd: test color options</title>
<updated>2021-12-29T18:43:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3583d1cd9820a4e233aa3b0389dcaed5b4db1145'/>
<id>urn:sha1:3583d1cd9820a4e233aa3b0389dcaed5b4db1145</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: add test_color() utility function</title>
<updated>2021-12-29T18:43:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:43:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7938b9e811c76fe32b7ed5177c931a729003cc0c'/>
<id>urn:sha1:7938b9e811c76fe32b7ed5177c931a729003cc0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test csd section</title>
<updated>2021-12-29T18:33:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a780a8b66fab4aa09a9d0aeb6c394908746a222e'/>
<id>urn:sha1:a780a8b66fab4aa09a9d0aeb6c394908746a222e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test mouse section</title>
<updated>2021-12-29T18:18:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:18:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8b2e46b6dc3e73663842549667f11928d083d23d'/>
<id>urn:sha1:8b2e46b6dc3e73663842549667f11928d083d23d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test cursor section</title>
<updated>2021-12-29T18:18:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=956f8995b9b982cdac4b002e0c0f71c84681d18d'/>
<id>urn:sha1:956f8995b9b982cdac4b002e0c0f71c84681d18d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test URL section</title>
<updated>2021-12-29T18:18:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=58ce3b4a17bee7fa92feb89874b79168ae836219'/>
<id>urn:sha1:58ce3b4a17bee7fa92feb89874b79168ae836219</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: rename ‘conf_ptr’ -&gt; ‘ptr’</title>
<updated>2021-12-29T18:10:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8aa0ab0d9acb4d5d786546c1bcbd5f0ef01ea775'/>
<id>urn:sha1:8aa0ab0d9acb4d5d786546c1bcbd5f0ef01ea775</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: scrollback: test indicator-positition</title>
<updated>2021-12-29T18:04:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=67edb43db4e2316bf46f155e383151f6522c225d'/>
<id>urn:sha1:67edb43db4e2316bf46f155e383151f6522c225d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: main: test dpi-aware, selection-target and initial-window-mode</title>
<updated>2021-12-29T18:03:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e058a43689f996b41ce605953c695bbef1f16ef4'/>
<id>urn:sha1:e058a43689f996b41ce605953c695bbef1f16ef4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: add test_enum() utility function</title>
<updated>2021-12-29T18:03:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-29T18:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a7c489980e71484e0dcfed6d406c99bc011e998e'/>
<id>urn:sha1:a7c489980e71484e0dcfed6d406c99bc011e998e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: fix format specifier: uint32_t needs %u, not %hu</title>
<updated>2021-12-26T12:03:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T12:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4986df7eeb4705afa4645a16c10f35ff9cd9280f'/>
<id>urn:sha1:4986df7eeb4705afa4645a16c10f35ff9cd9280f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: test ‘scrollback’ section</title>
<updated>2021-12-26T11:37:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T11:37:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2fa29fb5f4c0bdb986c537b547840b5d191fcdf4'/>
<id>urn:sha1:2fa29fb5f4c0bdb986c537b547840b5d191fcdf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: add test_double() utility function</title>
<updated>2021-12-26T11:36:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T11:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cd9b9360032268cf65bed067b9acbf13e3269282'/>
<id>urn:sha1:cd9b9360032268cf65bed067b9acbf13e3269282</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: add test_uint32() utility function</title>
<updated>2021-12-26T11:36:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T11:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=193c696d03b3b79c982b0c446f196adb55797eaa'/>
<id>urn:sha1:193c696d03b3b79c982b0c446f196adb55797eaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: bindings: verify pipe argv</title>
<updated>2021-12-25T22:37:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-25T22:37:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c765d6722ce95f0734f85b3e3bf1f742b509d516'/>
<id>urn:sha1:c765d6722ce95f0734f85b3e3bf1f742b509d516</id>
<content type='text'>
</content>
</entry>
</feed>
