<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/tests, branch 1.13.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.13.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.13.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2022-07-28T17:02:56Z</updated>
<entry>
<title>config: add colors.search-box-{no-,}match</title>
<updated>2022-07-28T17:02:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-07-27T17:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d79a3b9350ba864464229a1c188e2f696fac5a26'/>
<id>urn:sha1:d79a3b9350ba864464229a1c188e2f696fac5a26</id>
<content type='text'>
Closes #1112
</content>
</entry>
<entry>
<title>test: config: test colors.{jump-labels,scrollback-indicator}</title>
<updated>2022-07-28T17:02:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-07-27T17:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4873004c379f9f06babd65ffc65ba4f99fa62906'/>
<id>urn:sha1:4873004c379f9f06babd65ffc65ba4f99fa62906</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: config: new test for the new ‘environment’ section</title>
<updated>2022-06-13T09:55:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-05-28T17:34:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8436e6acea7e45a58bef48772f00dd0b4bbd285f'/>
<id>urn:sha1:8436e6acea7e45a58bef48772f00dd0b4bbd285f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add [csd].hide-when-maximized=yes|no</title>
<updated>2022-04-16T09:45:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-15T18:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fbcebd4f1c32f30bfedbad6a108acf6900ea955f'/>
<id>urn:sha1:fbcebd4f1c32f30bfedbad6a108acf6900ea955f</id>
<content type='text'>
When enabled, the CSD titlebar will be hidden when the window is
maximized.

Closes #1019
</content>
</entry>
<entry>
<title>config: config_free(): pass conf struct by pointer, not by-value</title>
<updated>2022-04-12T13:21:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-12T11:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99db7aa7cfe55c2485c31e9f0fefd459fc1c09f2'/>
<id>urn:sha1:99db7aa7cfe55c2485c31e9f0fefd459fc1c09f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: config: initial tests for text-bindings</title>
<updated>2022-02-16T22:02:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-06T20:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0018e570d49778f388756890ab3ecfa23a437987'/>
<id>urn:sha1:0018e570d49778f388756890ab3ecfa23a437987</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: rename csd.color.close -&gt; quit</title>
<updated>2022-02-09T16:51:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-08T19:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=757768dbe5a61a5fbfc628ad554f26add0397e42'/>
<id>urn:sha1:757768dbe5a61a5fbfc628ad554f26add0397e42</id>
<content type='text'>
This fixes a compilation error on FreeBSD:

../../foot/render.c:2055:45: error: no member named 'epoll_shim_close' in 'struct config::(anonymous at ../../foot/config.h:254:9)'
        conf_color = &amp;term-&gt;conf-&gt;csd.color.close;
                      ~~~~~~~~~~~~~~~~~~~~~ ^

/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:8:15:
note: expanded from macro 'close': #define close epoll_shim_close
</content>
</entry>
<entry>
<title>config: ‘pipe’ is now optional ‘aux’ data in the key-binding struct</title>
<updated>2022-02-09T16:51:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-08T18:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e5c5cd54788076973f08f6aadf0d2b2f954a0423'/>
<id>urn:sha1:e5c5cd54788076973f08f6aadf0d2b2f954a0423</id>
<content type='text'>
This allows us to add helper functions that e.g. compare bindings’ aux
data in a generic way.
</content>
</entry>
<entry>
<title>config: rename enum config_key_binding_type -&gt; key_binding_type</title>
<updated>2022-02-09T16:51:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-08T18:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9814d9620607f18c8ac7f99b2b87cdc7e100020d'/>
<id>urn:sha1:9814d9620607f18c8ac7f99b2b87cdc7e100020d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix typo in error message</title>
<updated>2022-02-07T12:32:23Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-02-07T12:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ff90781ebcfd73d987fcb8f4f6f91fd8265b6826'/>
<id>urn:sha1:ff90781ebcfd73d987fcb8f4f6f91fd8265b6826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: tests: config: add missing ‘wayland_client’ dependency</title>
<updated>2022-02-06T11:02:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-06T11:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=203a09d53312cf43f5961fc934d481f3fa3aa2e6'/>
<id>urn:sha1:203a09d53312cf43f5961fc934d481f3fa3aa2e6</id>
<content type='text'>
Closes #918
</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>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>
</feed>
