<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/config.c, branch 1.22.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.22.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.22.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2025-04-14T14:58:23Z</updated>
<entry>
<title>config+render: move alpha-mode to colors.alpha-mode, fix cursor handling</title>
<updated>2025-04-14T14:58:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-14T14:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d2d4f538619177bc3af6c09e2465272f564ee780'/>
<id>urn:sha1:d2d4f538619177bc3af6c09e2465272f564ee780</id>
<content type='text'>
Move main.alpha-mode to colors.alpha-mode.

Fix (inverted) cursor handling, by always using the bg color without
alpha.

Do a minor optimization, where we don't even lock at colors.alpha-mode
if there's no transparency configured.
</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>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>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>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>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>
<entry>
<title>fcft: require fcft &gt;= 3.3.0, add support for new scaling-filters</title>
<updated>2025-03-12T09:03:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-03-12T09:03:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7f11ba59efad352b1ff0bb11c0286942ae3d1edb'/>
<id>urn:sha1:7f11ba59efad352b1ff0bb11c0286942ae3d1edb</id>
<content type='text'>
Update tweak.scaling-filter to recognize the new scaling filters added
in fcft-3.3.0.

Since fcft_set_scaling_filter() is deprecated in 3.3.0, don't use it
anymore, and set the scaling filter via fcft_font_options instead.
</content>
</entry>
<entry>
<title>render: gamma-correct blending</title>
<updated>2025-03-05T17:45:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-21T10:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ccf625b9914917e131beb83379c526bab1927edc'/>
<id>urn:sha1:ccf625b9914917e131beb83379c526bab1927edc</id>
<content type='text'>
This implements gamma-correct blending, which mainly affects font
rendering.

The implementation requires compile-time availability of the new
color-management protocol (available in wayland-protocols &gt;= 1.41),
and run-time support for the same in the compositor (specifically, the
EXT_LINEAR TF function and sRGB primaries).

How it works: all colors are decoded from sRGB to linear (using a
lookup table, generated in the exact same way pixman generates it's
internal conversion tables) before being used by pixman. The resulting
image buffer is thus in decoded/linear format. We use the
color-management protocol to inform the compositor of this, by tagging
the wayland surfaces with the 'ext_linear' image attribute.

Sixes: all colors are sRGB internally, and decoded to linear before
being used in any sixels. Thus, the image buffers will contain linear
colors. This is important, since otherwise there would be a
decode/encode penalty every time a sixel is blended to the grid.

Emojis: we require fcft &gt;= 3.2, which adds support for sRGB decoding
color glyphs. Meaning, the emoji pixman surfaces can be blended
directly to the grid, just like sixels.

Gamma-correct blending is enabled by default *when the compositor
supports it*. There's a new option to explicitly enable/disable it:
gamma-correct-blending=no|yes. If set to 'yes', and the compositor
does not implement the required color-management features, warning
logs are emitted.

There's a loss of precision when storing linear pixels in 8-bit
channels. For this reason, this patch also adds supports for 10-bit
surfaces. For now, this is disabled by default since such surfaces
only have 2 bits for alpha. It can be enabled with
tweak.surface-bit-depth=10-bit.

Perhaps, in the future, we can enable it by default if:

* gamma-correct blending is enabled
* the user has not enabled a transparent background
</content>
</entry>
<entry>
<title>config: add search-bindings.delete-to-{start,end} key bindings</title>
<updated>2025-03-05T07:48:23Z</updated>
<author>
<name>Adrian fxj9a</name>
<email>af24@tuta.io</email>
</author>
<published>2025-03-03T13:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6d39f66eb7c0cafb9e12be7da6831598c6dd4afb'/>
<id>urn:sha1:6d39f66eb7c0cafb9e12be7da6831598c6dd4afb</id>
<content type='text'>
Defaults to ctrl+u and ctrl+k respectively.

Closes #1972
</content>
</entry>
<entry>
<title>config+render: allow cursor.style=hollow</title>
<updated>2025-02-19T10:50:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-19T10:44:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c41008da31aba42e3d0e25966af9eab27cfd3fac'/>
<id>urn:sha1:c41008da31aba42e3d0e25966af9eab27cfd3fac</id>
<content type='text'>
Closes #1965
</content>
</entry>
<entry>
<title>config: regex: fix invalid free</title>
<updated>2025-02-10T06:43:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-10T06:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=325086291b1e2c31322780377abb0759e9870489'/>
<id>urn:sha1:325086291b1e2c31322780377abb0759e9870489</id>
<content type='text'>
Zero-initialize the 'launch' spawn template before calling
value_to_spawn_template(). This is needed since
value_to_spawn_template() tries to free the old value before assigning
the new one.

Closes #1951
</content>
</entry>
<entry>
<title>url-mode: use the first *sub* expression as URL</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-03T12:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a984531ce57f30bc9ec7f664e7c2e8c77b3f439e'/>
<id>urn:sha1:a984531ce57f30bc9ec7f664e7c2e8c77b3f439e</id>
<content type='text'>
When auto-matching URLs (or custom regular expressions), use the
first *subexpression* as URL, rather than the while regex match.

This allows us to write custom regular expressions with prefix/suffix
strings that should not be included in the presented match.
</content>
</entry>
<entry>
<title>config: remove debug logging</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-03T08:31:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=31f536ff8c8cb746de7d4dea2eb1402d44a4b43e'/>
<id>urn:sha1:31f536ff8c8cb746de7d4dea2eb1402d44a4b43e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config+url: add support for user-defined regex patterns</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-03T07:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=051cd6ecfc8b98e1d80b399ebea40207fe040750'/>
<id>urn:sha1:051cd6ecfc8b98e1d80b399ebea40207fe040750</id>
<content type='text'>
Users can now define their own regex patterns, and use them via key
bindings:

    [regex:foo]
    regex=foo(bar)?
    launch=path-to-script-or-application {match}

    [key-bindings]
    regex-launch=[foo] Control+Shift+q
    regex-copy=[foo] Control+Mod1+Shift+q

That is, add a section called 'regex:', followed by an
identifier. Define a regex and a launcher command line.

Add a key-binding, regex-launch and/or regex-copy (similar to
show-urls-launch and show-urls-copy), and connect them to the regex
with the "[regex-name]" syntax (similar to how the pipe-* bindings
work).
</content>
</entry>
<entry>
<title>foot.ini+doc: add default value of url.regex</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-30T11:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=130b05f02baaebe533bb00cc2824ffb9902f11d3'/>
<id>urn:sha1:130b05f02baaebe533bb00cc2824ffb9902f11d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url-mode+config: wip: add url.regex option</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-30T11:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d41b28bd027affe67bfd8032a2041241df8be823'/>
<id>urn:sha1:d41b28bd027affe67bfd8032a2041241df8be823</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: remove url.{uri-characters,protocols}</title>
<updated>2025-02-05T12:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-30T10:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e76d8dd7af0cd7b6b2e1b5ed9c395bd75f503e61'/>
<id>urn:sha1:e76d8dd7af0cd7b6b2e1b5ed9c395bd75f503e61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>key-bindings: add keypad variants to existing default key-bindings</title>
<updated>2025-01-31T06:29:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-31T06:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d24f700256240ae38505a4ab501e25814133c011'/>
<id>urn:sha1:d24f700256240ae38505a4ab501e25814133c011</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: fix memory leak on e.g. "not a valid XKB key name" errors</title>
<updated>2025-01-27T05:34:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-27T05:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=43206e66016175407abd11c415c7135c293a0c50'/>
<id>urn:sha1:43206e66016175407abd11c415c7135c293a0c50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: check for FcNameUnparse() failure</title>
<updated>2025-01-24T05:38:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-01-24T05:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=736328ab6b1d2a8cc90745e6003f4031e1fef5fd'/>
<id>urn:sha1:736328ab6b1d2a8cc90745e6003f4031e1fef5fd</id>
<content type='text'>
</content>
</entry>
</feed>
