<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.10.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-12-02T19:26:42Z</updated>
<entry>
<title>changelog: prepare for 1.10.2</title>
<updated>2021-12-02T19:26:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-02T19:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a59bbdb7191f0608d3497dbc03d8f34f9de524e'/>
<id>urn:sha1:5a59bbdb7191f0608d3497dbc03d8f34f9de524e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc-4: don’t update the color of cells with RGB fg/bg colors</title>
<updated>2021-12-01T19:07:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T18:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a3016a6cc909d9c383359a4eaafd30bcd52bd272'/>
<id>urn:sha1:a3016a6cc909d9c383359a4eaafd30bcd52bd272</id>
<content type='text'>
OSC 4/104 changes the 256-color palette. We also run a pass over the
visible cells, and update their colors.

This was previously done by comparing the actual color of the cell,
with the “old” color in the palette. If they matched, the cell was
updated.

This meant that cells with an RGB color (i.e. not a palette based
color) was also updated, _if_ its color matched the palette color.

Now that each cell tracks its color *source*, we can ignore all
non-palette based cells.

Note that this still isn’t perfect: if the palette contains multiple
entries with the same color, we’ll end up updating the “wrong” cells.

Closes #678
</content>
</entry>
<entry>
<title>input: always update the xcursor shape in pointer enter/motion events</title>
<updated>2021-12-01T19:04:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-01T19:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1619e83c13875f71f79e5ca0e4504dd59dd81d79'/>
<id>urn:sha1:1619e83c13875f71f79e5ca0e4504dd59dd81d79</id>
<content type='text'>
Now that term_xcursor_update_for_seat() takes the current surface into
account (i.e. doesn’t assume the cursor is over the main grid),
there’s no longer any need to call render_xcursor_set() directly.

Thus, we can simply call term_xcursor_update_for_seat() on **all**
pointer enter and motion events. As long as we take care to update the
internal state to reflect the, possibly new, current surface before
doing so.

Also make sure to **always** reset the seat’s “current” xcursor
pointer on pointer leave events. This is done without actually sending
anything to the compositor, but is necessary to ensure that we *do*
send a request to update the xcursor on the next pointer enter event.
</content>
</entry>
<entry>
<title>changelog: window-menu</title>
<updated>2021-11-30T21:12:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd82fb81fa8bef795eb4d9ac2fdccdf787c35759'/>
<id>urn:sha1:fd82fb81fa8bef795eb4d9ac2fdccdf787c35759</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: fix csd border rendering glitch when width &gt; 5px</title>
<updated>2021-11-29T18:32:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-29T18:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3afe317e4637d511bb4f795d20d8e0467c0e42bf'/>
<id>urn:sha1:3afe317e4637d511bb4f795d20d8e0467c0e42bf</id>
<content type='text'>
CSD borders are always *at least* 5px. If url.border-width=0, those
5px are all fully transparent (and act as interactive resize handles).

As csd.border-width increases, the number of transparent pixels
decrease. Once csd.border-width &gt;= 5, the border is fully opaque.

When csd.border-width &gt; 5, then width of the border is (obviously)
more than 5px. But, when rendering the opaque part of the border, we
still used 5px for the invisible part, which caused some pixman
rectangles to have negative x/y coordinates.

This resulted in rendering glitches due to overflows in pixman when
rendering the borders.

The fix is to ensure the total border size is always at least, but
not *always* 5px. That is, set it to max(5, csd.border-width).

This patch also fixes an issue where the CSD borders were not
dimmed (like the titlebar) when the window looses input focus.

Closes #823
</content>
</entry>
<entry>
<title>changelog: kitty keyboard protocol - disambiguate escape codes</title>
<updated>2021-11-28T14:14:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-27T17:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1f19dd6694b1268b40620ca5743ac458948ad0c5'/>
<id>urn:sha1:1f19dd6694b1268b40620ca5743ac458948ad0c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grid: bug: OSC-8 URIs were incorrectly skipped while resizing the alt screen</title>
<updated>2021-11-26T19:29:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-26T19:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=be203aeae1280ad7cac3ec9e287d1dd97528f390'/>
<id>urn:sha1:be203aeae1280ad7cac3ec9e287d1dd97528f390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc8: update URI ranges as we print data, *not* when the URI is closed</title>
<updated>2021-11-25T18:31:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-25T18:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8c50a7afd401686f645fb26676fbcaedb8d4ab62'/>
<id>urn:sha1:8c50a7afd401686f645fb26676fbcaedb8d4ab62</id>
<content type='text'>
At first, an OSC-8 URI range was added when we received the closing
OSC-8 escape (i.e. with an empty URI).

But, this meant that cursor movements while the OSC-8 escape was in
effect wasn’t handled correctly, since we’d add a range that spanned
the cursor movements.

Attempts were made to handle this in the cursor movement functions, by
closing and re-opening the URI.

However, there are too many corner cases to make this a viable
approach. Scrolling is one such example, line-wrapping another.

This patch takes a different approach; emit, or update the URI range
when we print to the grid. This models the intended behavior much more
closely, where an active OSC-8 URI act like any other SGR attribute -
it is applied to all cells printed to, but otherwise have no effect.

To avoid killing performance, this is only done in the “generic”
printer. This means OSC-8 open/close calls must now “switch” the ASCII
printer.

Note that the “fast” printer still needs to *erase* pre-existing OSC-8
URIs.

Closes #816
</content>
</entry>
<entry>
<title>input: finalize mouse selection on a pointer-leave event on the GRID surface</title>
<updated>2021-11-25T14:21:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-25T14:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=325ad6dd4e950546514448a838ce03027103d0bd'/>
<id>urn:sha1:325ad6dd4e950546514448a838ce03027103d0bd</id>
<content type='text'>
If a mouse selection was ongoing, and the user switched
workspace (probably using the keyboard...), and then back, the
selection was still treated as ongoing, while all other mouse state
has been reset.

This meant the user had to tap at least once to stop the selection.
</content>
</entry>
<entry>
<title>config: add tweak.grapheme-width-method=max</title>
<updated>2021-11-23T18:50:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T22:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c1c0f11821e36e96add5060916d83533308b4126'/>
<id>urn:sha1:c1c0f11821e36e96add5060916d83533308b4126</id>
<content type='text'>
‘max’ is a new value for ‘tweak.grapheme-width-method’. When enabled,
the width of a grapheme cluster is that of the cluster’s widest
codepoint.
</content>
</entry>
<entry>
<title>changelog: add new ‘unreleased’ section</title>
<updated>2021-11-22T21:24:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T21:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=caec64cbdae2fc59da2a40cf3bf142a3df9b15e5'/>
<id>urn:sha1:caec64cbdae2fc59da2a40cf3bf142a3df9b15e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add #801 to “OSC-8 data not being cleared...”</title>
<updated>2021-11-22T21:23:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T21:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8b979e9dba808dd9942e8cbe0a57195f674a227d'/>
<id>urn:sha1:8b979e9dba808dd9942e8cbe0a57195f674a227d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.10.1</title>
<updated>2021-11-22T20:56:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T20:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f91dc5dd00608600d0ab3d213052241a55395b8b'/>
<id>urn:sha1:f91dc5dd00608600d0ab3d213052241a55395b8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: osc-8 data not being cleared when cell is overwritten</title>
<updated>2021-11-21T17:09:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T17:10:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ad8d1bf25c73be4e5561b49e44de663600db4f40'/>
<id>urn:sha1:ad8d1bf25c73be4e5561b49e44de663600db4f40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: pipe-* key bindings not being parsed correctly</title>
<updated>2021-11-21T17:09:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T17:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7522c2d2118183a0428ae471b20fe23276307de5'/>
<id>urn:sha1:7522c2d2118183a0428ae471b20fe23276307de5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: create a copy of the section name</title>
<updated>2021-11-21T09:55:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T09:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9b232e07f9b24a16d496939ec44c37fb772cd0b7'/>
<id>urn:sha1:9b232e07f9b24a16d496939ec44c37fb772cd0b7</id>
<content type='text'>
The parsing context keeps a pointer to the current section name. This
is used when logging errors.

However, the pointer was into a buffer allocated by getline(). This
buffer are often re-used in the next call to getline(), or free:d.

Regardless, the section name pointer is invalid after the next call to
getline(), which meant all error messages were logging a correct
section name.
</content>
</entry>
<entry>
<title>config: letter-spacing: add missing ‘return’</title>
<updated>2021-11-15T18:22:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-15T18:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b22322bfd104949b93d1df22ff36689747917448'/>
<id>urn:sha1:b22322bfd104949b93d1df22ff36689747917448</id>
<content type='text'>
The missing return caused us to fall through to the bottom of the
function, where we ended with an error message:

  [main].letter-spacing: 0: not a valid option: letter-spacing

Closes #795
</content>
</entry>
<entry>
<title>footclient.desktop: new XDG desktop file, for footclient</title>
<updated>2021-11-15T11:14:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-15T11:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=843ba49565672af75627e46b0958a9209142c2e6'/>
<id>urn:sha1:843ba49565672af75627e46b0958a9209142c2e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: add -Dthemes=false|true</title>
<updated>2021-11-14T22:12:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-14T22:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=31966f5494ed82268c414b04b63b20e88d4fff16'/>
<id>urn:sha1:31966f5494ed82268c414b04b63b20e88d4fff16</id>
<content type='text'>
This adds a new meson option that controls whether the example theme
files should be installed or not. The default is true.

Previously, themes were gated by the -Ddocs option.
</content>
</entry>
<entry>
<title>changelog: add new ‘unreleased’ section</title>
<updated>2021-11-14T17:26:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-14T17:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=48758a101e91bc47fbcf2e43de2c59081d1e69af'/>
<id>urn:sha1:48758a101e91bc47fbcf2e43de2c59081d1e69af</id>
<content type='text'>
</content>
</entry>
</feed>
