<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/meson.build, 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-08-07T07:32:02Z</updated>
<entry>
<title>meson: bump version to 1.13.0</title>
<updated>2022-08-07T07:32:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-08-07T07:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e0465d3a7a0b8d6962462a505f2f8b32c2ee74bc'/>
<id>urn:sha1:e0465d3a7a0b8d6962462a505f2f8b32c2ee74bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: add new Unicode input mode</title>
<updated>2022-07-29T07:26:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-07-28T16:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8967dd9cfe51276d63ef8ff64e8fc76f80a6fa3d'/>
<id>urn:sha1:8967dd9cfe51276d63ef8ff64e8fc76f80a6fa3d</id>
<content type='text'>
This mode is activated through the new key-bindings.unicode-input and
search-bindings.unicode-input key bindings.

When active, the user can “build” a Unicode codepoint by typing its
hexadecimal value.

Note that there’s no visual feedback in this mode. This is
intentional. This mode is intended to be a fallback for users that
don’t use an IME.

Closes #1116
</content>
</entry>
<entry>
<title>wayland: log human readable SHM format names in debug builds</title>
<updated>2022-06-20T16:58:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-06-16T16:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fabffd626b6bdeed624c0980f36283a902b2f864'/>
<id>urn:sha1:fabffd626b6bdeed624c0980f36283a902b2f864</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: -Dsystemd-units-dir installs even if systemd is not found</title>
<updated>2022-05-12T11:46:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-05-11T18:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=15d45d5704f3cf4a6fc31fb6204cb5d874aa2bae'/>
<id>urn:sha1:15d45d5704f3cf4a6fc31fb6204cb5d874aa2bae</id>
<content type='text'>
If -Dsystemd-units-dir is explicitly set, then install the systemd
service files regardless of whether systemd is available or not.
</content>
</entry>
<entry>
<title>meson: add -Dsystemd-units-dir=&lt;path&gt; meson command line option</title>
<updated>2022-05-12T11:45:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-05-04T15:33:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=62fe452cc29d47d6e5d8996f85a04ea9c91ce252'/>
<id>urn:sha1:62fe452cc29d47d6e5d8996f85a04ea9c91ce252</id>
<content type='text'>
This allows package maintainers to override the location to which our
systemd service files are installed.

It’s value is an *absolute* path, and *not* relative ${prefix}.

The default is ${systemduserunitdir}.
</content>
</entry>
<entry>
<title>meson: bump version to 1.12.1</title>
<updated>2022-04-27T18:06:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-27T18:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e95269447f1b62384dc64707bb19ebe1006386ac'/>
<id>urn:sha1:e95269447f1b62384dc64707bb19ebe1006386ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: bump version to 1.12.0</title>
<updated>2022-04-22T15:14:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-22T15:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ea1171a5a22054c453a493e626f6b9e46cec674d'/>
<id>urn:sha1:ea1171a5a22054c453a493e626f6b9e46cec674d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: add -Dtests=false|true option</title>
<updated>2022-04-22T15:05:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-06T11:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c7248cf76398f573b560ba376061aa1bc42a62cb'/>
<id>urn:sha1:c7248cf76398f573b560ba376061aa1bc42a62cb</id>
<content type='text'>
When set to false, no test binaries are neither built, nor
executed (with “ninja test”).

Closes #919
</content>
</entry>
<entry>
<title>doc + meson.build: update information about foot.ini, small cleanup</title>
<updated>2022-04-22T15:00:04Z</updated>
<author>
<name>Merlin Büge</name>
<email>merlin.buege@tuhh.de</email>
</author>
<published>2022-04-21T08:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e6f884a9e1313b530130593e1743cb763b91f6fe'/>
<id>urn:sha1:e6f884a9e1313b530130593e1743cb763b91f6fe</id>
<content type='text'>
- foot.ini.5: mention location of example config file
- foot.1: replace outdated (or incomplete) information about the
  location of the config file with references to foot.ini.5
- foot.1 and foot.ini.5: conform to scdoc specification, thus surround each
  header with (at least) one blank line. additionally consistently use exactly
  one line before/after each header (was sometimes two before)
- foot.1: some parts of the keybindings had their own section, move into
  KEYBOARD SHORTCUTS section
- foot.1: move EXIT STATUS section to the end where it is commonly found
- foot.1: copy information about config file handling from the beginning of
  foot.ini.5 into the CONFIGURATION section of foot.1
- INSTALL.md: foot.ini is no longer included in the documentation
- meson.build: do not bundle foot.ini with documentation anymore, see also
  https://codeberg.org/dnkl/foot/pulls/1015

Closes #1002
</content>
</entry>
<entry>
<title>key-binding: new API, for handling sets of key bindings</title>
<updated>2022-04-17T13:39:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-17T13:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=90a2ca966f657e5fdd82997aad9663e9984f3cc9'/>
<id>urn:sha1:90a2ca966f657e5fdd82997aad9663e9984f3cc9</id>
<content type='text'>
Up until now, our Wayland seats have been tracking key bindings. This
makes sense, since the seat’s keymap determines how the key bindings
are resolved.

However, tying bindings to the seat/keymap alone isn’t enough, since
we also depend on the current configuration (i.e. user settings) when
resolving a key binding.

This means configurations that doesn’t match the wayland object’s
configuration, currently don’t resolve key bindings correctly. This
applies to footclients where the user has overridden key bindings on
the command line (e.g. --override key-bindings.foo=bar).

Thus, to correctly resolve key bindings, each set of key bindings must
be tied *both* to a seat/keymap, *and* a configuration.

This patch introduces a key-binding manager, with an API to
add/remove/lookup, and load/unload keymaps from sets of key bindings.

In the API, sets are tied to a seat and terminal instance, since this
makes the most sense (we need to instantiate, or incref a set whenever
a new terminal instance is created). Internally, the set is tied to a
seat and the terminal’s configuration.

Sets are *added* when a new seat is added, and when a new terminal
instance is created. Since there can only be one instance of each
seat, sets are always removed when a seat is removed.

Terminals on the other hand can re-use the same configuration (and
typically do). Thus, sets ref-count the configuration. In other words,
when instantiating a new terminal, we may not have to instantiate a
new set of key bindings, but can often be incref:ed instead.

Whenever the keymap changes on a seat, all key bindings sets
associated with that seat reloads (re-resolves) their key bindings.

Closes #931
</content>
</entry>
<entry>
<title>meson: install foot.ini to /etc/xdg/foot/foot.ini</title>
<updated>2022-04-17T09:27:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-06T17:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e95bc9283ef2c4568cf4662b2cf9c29ef8265f21'/>
<id>urn:sha1:e95bc9283ef2c4568cf4662b2cf9c29ef8265f21</id>
<content type='text'>
Closes #1001
</content>
</entry>
<entry>
<title>meson: stop using deprecated functions, require meson &gt;= 0.58</title>
<updated>2022-02-27T10:28:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-27T10:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9b343fd9fb9dec30b6ccb01c23ab17e56a9c873a'/>
<id>urn:sha1:9b343fd9fb9dec30b6ccb01c23ab17e56a9c873a</id>
<content type='text'>
* get_pkgconfig_variable() -&gt; get_variable()
* prog.path() -&gt; prog.full_path()
* meson.build_root() -&gt; meson.global_build_root()
</content>
</entry>
<entry>
<title>Adding systemd unit files for socket activation</title>
<updated>2022-02-26T15:09:30Z</updated>
<author>
<name>Max Gautier</name>
<email>mg@max.gautier.name</email>
</author>
<published>2022-01-15T16:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1783f69cbd6291a30b9ab1f4daef9159b5dadd85'/>
<id>urn:sha1:1783f69cbd6291a30b9ab1f4daef9159b5dadd85</id>
<content type='text'>
- Support for multiples concurrent instances, templated on
  WAYLAND_DISPLAY
- Use standard input for the socket file descriptor (inetd style)
- Always use the socket provided by systemd with the systemd user
  service
- wayland-instance@.target is intended to be a special target a bit like
  graphical-session.target.
</content>
</entry>
<entry>
<title>meson: fcft-3.0.0 is buggy, require 3.0.1</title>
<updated>2022-02-09T20:48:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-02-09T20:48:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=990a15250a98c52fd440537dc456780aca35f90f'/>
<id>urn:sha1:990a15250a98c52fd440537dc456780aca35f90f</id>
<content type='text'>
Fcft-3.0.0 is known to cause crashes. We don’t want anyone ever
compiling foot against it.

Closes #935
</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>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>meson: fix race build order of builtin terminfo</title>
<updated>2022-01-15T16:15:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-15T16:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=379e68916e891bb3cf0a632692ae4312cde525c5'/>
<id>urn:sha1:379e68916e891bb3cf0a632692ae4312cde525c5</id>
<content type='text'>
The builtin terminfo is used by dcs.c, which is built as part of the
static library ‘vtlib’. Thus, vtlib needs to depend on the
builtin_terminfo target.
</content>
</entry>
<entry>
<title>script: add generate-builtin-terminfo.py</title>
<updated>2022-01-13T12:42:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-02T10:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b8fc56ecb49e26ab3fcc37fae7565c279fa43b6b'/>
<id>urn:sha1:b8fc56ecb49e26ab3fcc37fae7565c279fa43b6b</id>
<content type='text'>
This script parses a terminfo source file and generates a C header
file with a static struct containing terminfo names and their values.

The table is sorted on the capability names
</content>
</entry>
<entry>
<title>meson: generate-version: use CURRENT_SOURCE_DIR instead of SOURCE_ROOT</title>
<updated>2021-12-21T12:40:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-21T12:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9df537a110d2953225539ab9a096a2b9a33a062e'/>
<id>urn:sha1:9df537a110d2953225539ab9a096a2b9a33a062e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: initial external unit test suite for ‘config.c’</title>
<updated>2021-12-11T17:52:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-27T16:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e1c3bdc6f2658e5c0f3bf128000f3dc1dc7f88bb'/>
<id>urn:sha1:e1c3bdc6f2658e5c0f3bf128000f3dc1dc7f88bb</id>
<content type='text'>
This patch adds a separate (external) test binary with unit tests for
config.c

This is achieved by having the test’s source file include
config.c (yes, the C file, not the header file).

This allows us to call e.g. parse_section_*() directly, without having
to go through config_load() (which requires having a readable file at
“path”).
</content>
</entry>
</feed>
