<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.22.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.22.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.22.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2025-04-17T12:41:13Z</updated>
<entry>
<title>changelog: prepare for 1.22.0</title>
<updated>2025-04-17T12:41:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-17T12:41:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2c8214f6eac2ad8def58ecce76e806db18b4a4ce'/>
<id>urn:sha1:2c8214f6eac2ad8def58ecce76e806db18b4a4ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: move 'alpha-mode' to next-release</title>
<updated>2025-04-14T14:48:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-14T14:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bacfba135da5326d72508ba788a5cd8db3dcd671'/>
<id>urn:sha1:bacfba135da5326d72508ba788a5cd8db3dcd671</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add alpha_mode option</title>
<updated>2025-04-14T14:47:45Z</updated>
<author>
<name>Fazzi</name>
<email>faaris.ansari@proton.me</email>
</author>
<published>2023-10-09T17:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5f83278afd0530c323d4192e1095b3d1dea644c9'/>
<id>urn:sha1:5f83278afd0530c323d4192e1095b3d1dea644c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url-mode: fix double-width characters not being handled correctly</title>
<updated>2025-04-13T06:28:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-13T06:26:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b93d2f042c378e9a2a6d0882c79331492d5dee09'/>
<id>urn:sha1:b93d2f042c378e9a2a6d0882c79331492d5dee09</id>
<content type='text'>
When a regex matches a string containing double-width characters, the
CELL_SPACER values were included in the URL string. This meant the
final URL (either launched, or copied) weren't handled correctly, as
invalid UTF-8 sequences were inserted in the middle of the string.

Closes #2027
</content>
</entry>
<entry>
<title>changelog: move vmod support in config from "changed" to "added"</title>
<updated>2025-04-10T10:18:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-10T10:18:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bc2e0a29bba936728cd2033fcb795351b738e8a3'/>
<id>urn:sha1:bc2e0a29bba936728cd2033fcb795351b738e8a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland+input: add support for toplevel edge constraints</title>
<updated>2025-04-07T11:41:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-07T11:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=23431e3ecfb59f71627b332852b906dc3d0bfad7'/>
<id>urn:sha1:23431e3ecfb59f71627b332852b906dc3d0bfad7</id>
<content type='text'>
Edge constraints are new (not yet available in a wayland-protocols
release) toplevel states, acting as a complement to the existing tiled
states.

Tiled tells us we shouldn't draw shadows etc *outside our window
geometry*.

Constrained tells us the window cannot be resized in the constrained
direction.

This patch does a couple of things:

* Recognize the new states when debug logging

* Change is_top_left() etc to look at the new constrained state
  instead of the tiled state. These functions are used when both
  choosing cursor shape, and when determining if/how to resize a
  window on a CSD edge click-and-drag.

* Update cursor shape selection to use the default (left_ptr) shape
  when on a constrained edge (or corner).

* Update CSD resize triggering, to not trigger a resize when attempted
  on a constrained edge (or corner).

See
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/86750c99ed062c306e837f11bb9492df572ad677:

    An edge constraint is an complementery state to the tiled state,
    meaning that it's not only tiled, but constrained in a way that it
    can't resize in that direction.

    This typically means that the constrained edge is tiled against a
    monitor edge. An example configuration is two windows tiled next
    to each other on a single monitor. Together they cover the whole
    work area.

    The left window would have the following tiled and edge constraint
    state:

        [ tiled_top, tiled_right, tiled_bottom, tiled_left,
          constrained_top, constrained_bottom, constrained_left ]

    while the right window would have the following:

        [ tiled_top, tiled_right, tiled_bottom, tiled_left,
          constrained_top, constrained_bottom, constrained_right ]

    This aims to replace and deprecate the
    `gtk_surface1.configure_edges` event and the
    `gtk_surface1.edge_constraint` enum.
</content>
</entry>
<entry>
<title>config: update default URL regex</title>
<updated>2025-04-07T07:11:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-02T06:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1760cb6ab82b355a0751f614f3b45c7446e23e95'/>
<id>urn:sha1:1760cb6ab82b355a0751f614f3b45c7446e23e95</id>
<content type='text'>
The old one is in some cases too liberal. The new one is stricter in
two ways:

1. The protocol list is now explicit, rather than matching anything://
2. Allowed characters are now limited to the "safe character set", the
   "reserved character set", and some from the "unsafe character set"

Furthermore, some of the characters are restricted in how/when they
are allowed:

1. Periods, commas, question marks etc are allowed inside an URL, but
   not at the end.
2. [ ], ( ), " " and ' ' are allowed but only when balanced. This
   allows us to match e.g. [http://foo.bar/foo[bar]] correctly.

Closes #2016
</content>
</entry>
<entry>
<title>changelog: reword, and remove section that no longer applies</title>
<updated>2025-03-31T09:08:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-31T09:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0d8c7db962f43255ed0c2e98d9a36253bdddbd3e'/>
<id>urn:sha1:0d8c7db962f43255ed0c2e98d9a36253bdddbd3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>key-binding: recognize virtual modifiers, and translate to the corresponding real modifier.</title>
<updated>2025-03-31T08:25:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-31T08:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dc99cf735888d0aba31194b8c59e92eed7e1bc4f'/>
<id>urn:sha1:dc99cf735888d0aba31194b8c59e92eed7e1bc4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: xkb: ignore virtual modifiers</title>
<updated>2025-03-31T06:08:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-29T09:34:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=58910856c8a86095883625009a089cef464edc44'/>
<id>urn:sha1:58910856c8a86095883625009a089cef464edc44</id>
<content type='text'>
Some compositors (mutter/GNOME is one) adds _virtual_ modifiers to the
set of active modifiers when e.g. Alt, Meta, Super or Hyper is
pressed. For example, pressing Alt+b would result in *both* the Alt
*and* the Mod1 modifier being set.

Since foot makes close to zero assumptions on how the modifiers should
be interpreted, this causes various breakages.

For example, a foot shortcut defined as Mod1+b will not match, since
the Alt modifiers is also set. This has forced users to
redefine/override some of the default key bindings to include the
additional modifiers.

It also causes issues with the kitty keyboard protocol, for some key
combinations. Mainly whether or not to use unshifted key or not,
resulting in incorrect escape sequences.

Since all the "real" modifiers are always set as well, we can safely
ignore the virtual modifiers.

Closes #2009
</content>
</entry>
<entry>
<title>grid: reflow: fix empty line coalescing</title>
<updated>2025-03-29T09:16:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-29T09:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c8470f40c1f5a850048a5b296a944e07abae716a'/>
<id>urn:sha1:c8470f40c1f5a850048a5b296a944e07abae716a</id>
<content type='text'>
If a range of empty lines ended with a non-empty line at the very
bottom of the to-be-resized grid, all those empty lines were removed.

Closes #2011
</content>
</entry>
<entry>
<title>meson: add foot (render.c) -&gt; srgb.h dep</title>
<updated>2025-03-26T17:17:59Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2025-03-17T20:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9b776f2d6de39569670dbd76f635c11a383b8971'/>
<id>urn:sha1:9b776f2d6de39569670dbd76f635c11a383b8971</id>
<content type='text'>
otherwise, depending on ninja dependency resolution order and parallel
build, srgb.h may not be built in time

Fixes: ccf625b991 ("render: gamma-correct blending")
</content>
</entry>
<entry>
<title>render: dim and brighten using linear rgb interpolation</title>
<updated>2025-03-23T14:24:23Z</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2025-03-22T19:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=663c9082db4dfe43bb329a09fd5b93a6ba99fdb6'/>
<id>urn:sha1:663c9082db4dfe43bb329a09fd5b93a6ba99fdb6</id>
<content type='text'>
Adds setting tweak.dim-amount, similar to bold-text-in-bright-amount.

Closes #2006
</content>
</entry>
<entry>
<title>changelog: url-mode: show-urls-persistent regression fix</title>
<updated>2025-03-20T07:52:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-20T07:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5f72f51ae8671d232f7fdc8c1ce42b537d73c409'/>
<id>urn:sha1:5f72f51ae8671d232f7fdc8c1ce42b537d73c409</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: utf8: don't discard current byte when an invalid UTF-8 sequence is detected</title>
<updated>2025-03-18T13:37:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-18T13:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=878e07da59855d62e89eba5f5f479a5ee598998e'/>
<id>urn:sha1:878e07da59855d62e89eba5f5f479a5ee598998e</id>
<content type='text'>
Example:

  printf "pok\xe9mon\n"

would result in 'pokon' - the 'm' has been discarded along with E9.

While correct, in some sense, it's perhaps not intuitive.

This patch changes the VT parser to instead discard everything up to
the invalid byte, but then try the invalid byte from the ground
state. This way, invalid UTF-8 sequences followed by both plain ASCII,
or longer (and valid) UTF-8 sequences are printed as expected instead
of being discarded.
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2025-03-17T11:15:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-17T11:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6813b321f5bd0661eea0af0b9104d615e3d6d0b8'/>
<id>urn:sha1:6813b321f5bd0661eea0af0b9104d615e3d6d0b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.21.0</title>
<updated>2025-03-17T11:04:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-17T11:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3eef3ec877fa55e3faf2b6e0c5b7fffc92cab8e3'/>
<id>urn:sha1:3eef3ec877fa55e3faf2b6e0c5b7fffc92cab8e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: remove deprecated options 'notify' and 'notify-focus-inhibit'</title>
<updated>2025-03-17T11:02:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-17T11:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d2ede697f9cb40269399bd2f72bcac11a2b918b0'/>
<id>urn:sha1:d2ede697f9cb40269399bd2f72bcac11a2b918b0</id>
<content type='text'>
They've been deprecated since 1.18.0
</content>
</entry>
<entry>
<title>ime: fix initial cursor rectangle being reported as 0,0,0,0</title>
<updated>2025-03-17T07:43:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-17T07:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cd4ee8ae49f7c3ba1441917decd2e4ebb804e4ab'/>
<id>urn:sha1:cd4ee8ae49f7c3ba1441917decd2e4ebb804e4ab</id>
<content type='text'>
Closes #1994
</content>
</entry>
<entry>
<title>meson: require wayland-protocols &gt;= 1.41</title>
<updated>2025-03-13T12:28:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-12T16:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d48a1c53f59e8b7c99c18f4e4a5693ca0b10bd52'/>
<id>urn:sha1:d48a1c53f59e8b7c99c18f4e4a5693ca0b10bd52</id>
<content type='text'>
</content>
</entry>
</feed>
