<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git, branch releases/1.15</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.15</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.15'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2023-08-07T14:39:54Z</updated>
<entry>
<title>meson: bump version to 1.15.3</title>
<updated>2023-08-07T14:39:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-08-07T14:39:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f3146999454b0d28f19f61491bb33f203fe7c53e'/>
<id>urn:sha1:f3146999454b0d28f19f61491bb33f203fe7c53e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.15.3</title>
<updated>2023-08-07T14:39:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-08-07T14:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=341a5eeefdd6cfcd2baaea6af5a44dd1135c559b'/>
<id>urn:sha1:341a5eeefdd6cfcd2baaea6af5a44dd1135c559b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: “title%s” -&gt; “title=%s”</title>
<updated>2023-08-07T14:38:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-08-05T05:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5334e3d1aae017a92cdd858d0e426ecb813afb55'/>
<id>urn:sha1:5334e3d1aae017a92cdd858d0e426ecb813afb55</id>
<content type='text'>
Fix regression of --title,-T option. This broken when command line
parsing was switched to using overrides, in
0b4f1b4af20cea0afae39a2c1c4e42c22962dcde.

Closes #1457
</content>
</entry>
<entry>
<title>vt: fix ASAN UB warning</title>
<updated>2023-08-07T14:38:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-08-05T05:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d00a2a222ef92a971e9dbc7dab4d2654399f7ac2'/>
<id>urn:sha1:d00a2a222ef92a971e9dbc7dab4d2654399f7ac2</id>
<content type='text'>
  ../vt.c:648:13: runtime error: signed integer overflow: 3924432811 * 2654435761 cannot be represented in type 'long'
  SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../vt.c:648:13 in

Closes #1456
</content>
</entry>
<entry>
<title>render: OSD: center text vertically</title>
<updated>2023-08-07T14:38:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-31T14:29:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a3d54614c7bc0a88b00bb98ad7bb2f730b0b7e72'/>
<id>urn:sha1:a3d54614c7bc0a88b00bb98ad7bb2f730b0b7e72</id>
<content type='text'>
Rewrite render_osd(), and instead of passing in an y-offset, let
render_osd() itself center the text inside the OSD buffer.

This is done using the same baseline calculation term_font_baseline()
does, except we use the buffer height instead of the line height.

Note that most OSDs are sized based on the line height...

Closes #1430
</content>
</entry>
<entry>
<title>main: translate command line options to overrides</title>
<updated>2023-08-07T14:37:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-31T14:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e56725044961248006350ea1e8455780c57a3f95'/>
<id>urn:sha1:e56725044961248006350ea1e8455780c57a3f95</id>
<content type='text'>
Instead of special casing configuration affecting command line
options (like --font, --fullscreen, --maximized etc), translate them
to overrides, and let the configuration system handle them.

This also fixes an issue where -f,--font did not set csd.font, if
csd.font were otherwise unset.
</content>
</entry>
<entry>
<title>changelog: add new ‘unreleased section’</title>
<updated>2023-08-07T14:37:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-30T11:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e1d66ad0c1a444ed497e614b039d0668dd1c8a32'/>
<id>urn:sha1:e1d66ad0c1a444ed497e614b039d0668dd1c8a32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: bump version to 1.15.2</title>
<updated>2023-07-30T11:18:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-30T11:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=53a5d62e5a1950ca7caa21ec395a763e65c2dba2'/>
<id>urn:sha1:53a5d62e5a1950ca7caa21ec395a763e65c2dba2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.15.2</title>
<updated>2023-07-30T11:18:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-30T11:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3111bc89e507034df44d46fb64efba224178a38c'/>
<id>urn:sha1:3111bc89e507034df44d46fb64efba224178a38c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into releases/1.15</title>
<updated>2023-07-30T11:17:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-30T11:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=89d0fe561f733ed54e31256c4c411afc9e9000f6'/>
<id>urn:sha1:89d0fe561f733ed54e31256c4c411afc9e9000f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>--window-size-chars: ensure width/height are valid for current scaling factor</title>
<updated>2023-07-30T05:53:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-30T05:53:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1af0277564f6347caa85fda4b46071c0cf03234c'/>
<id>urn:sha1:1af0277564f6347caa85fda4b46071c0cf03234c</id>
<content type='text'>
Before this patch, we didn’t ensure width and height were valid for
the current scaling factor, when fractional scaling _is_
available. That is, we didn’t ensure the width/height values
multiplied back to their original values after dividing with the
scaling factor.

Closes #1446
</content>
</entry>
<entry>
<title>Merge branch 'csd-fractional-scaling'</title>
<updated>2023-07-29T07:10:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-29T07:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=05131a9b0c38ca973623c78cc266546b9a6de360'/>
<id>urn:sha1:05131a9b0c38ca973623c78cc266546b9a6de360</id>
<content type='text'>
Closes #1441
</content>
</entry>
<entry>
<title>changelog: CSDs with fractional scaling</title>
<updated>2023-07-29T07:09:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-29T07:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aea687c0a1d6b14a302aeb7916358abb0ba10b3c'/>
<id>urn:sha1:aea687c0a1d6b14a302aeb7916358abb0ba10b3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayl_surface_scale_explicit_width_height(): don’t assert width/height are valid for scale</title>
<updated>2023-07-29T06:18:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-29T06:18:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=764248bb0d846f65c20931024c1f4adca57aae29'/>
<id>urn:sha1:764248bb0d846f65c20931024c1f4adca57aae29</id>
<content type='text'>
This function is only called directly when scaling the mouse
pointer. The mouse pointer is never guaranteed to have a valid width
and height, so skip the width/height assertions for it.
</content>
</entry>
<entry>
<title>fractional scaling: another round(!) of rounding fixes</title>
<updated>2023-07-28T14:03:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-28T13:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=17824744812c16560dd214b98f28977b0d2fb47d'/>
<id>urn:sha1:17824744812c16560dd214b98f28977b0d2fb47d</id>
<content type='text'>
* Ensure buffer sizes are valid. That is, ensure that
  size / scale * scale == size.
* Do size calculation of the window geometry in the same way we
  calculate the CSD offsets.
</content>
</entry>
<entry>
<title>render: round scaled border/title/button widths</title>
<updated>2023-07-28T14:03:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-27T18:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=753c4b5d4fb51574524af06ba56333f4241b1a9b'/>
<id>urn:sha1:753c4b5d4fb51574524af06ba56333f4241b1a9b</id>
<content type='text'>
And calculation of compounded offsets/widths/heights, to compensate
for compositor rounding when positioning and scaling/sizing
subsurfaces.

Closes #1441
</content>
</entry>
<entry>
<title>wayland: don't try to use a non-existing viewporter interface</title>
<updated>2023-07-28T13:42:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-28T13:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9d75c551465fa3dbb3cd20ae87d6de294fcebce1'/>
<id>urn:sha1:9d75c551465fa3dbb3cd20ae87d6de294fcebce1</id>
<content type='text'>
When instantiating the viewport for a pointer surface, we didn't first
check if the compositor implements the viewporter interface.

This triggered a crash when a) foot was compiled with fractional
scaling, and b) the compositor did not implement the viewporter
interface.

Closes #1444
</content>
</entry>
<entry>
<title>meson: add -Dterminfo-base-name option</title>
<updated>2023-07-28T13:40:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-26T14:14:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=139fd6d55cbdd2833be3d3eb7f2c96c87a7fa42d'/>
<id>urn:sha1:139fd6d55cbdd2833be3d3eb7f2c96c87a7fa42d</id>
<content type='text'>
This defines the base name of the generated terminfo files. It
defaults to the value of -Ddefault-terminfo (i.e. 'foot')

Example:

  meson -Ddefault-terminfo=foot-bananas -Dterminfo-base-name=foot-apples

The generated terminfo files will be

* terminfo/f/foot-apples
* terminfo/f/foot-apples-direct

The default value of $TERM will be 'foot-bananas'
</content>
</entry>
<entry>
<title>config: add tweak.bold-text-in-bright-amount</title>
<updated>2023-07-28T13:40:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-26T14:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f3c5b82c8276feda3c9eec522e549062c1589484'/>
<id>urn:sha1:f3c5b82c8276feda3c9eec522e549062c1589484</id>
<content type='text'>
By how much to increase the luminance when brightening bold
fonts. This was previously hard-coded to a factor of 1.3, which is now
the default value of the new config option.

Closes #1434
</content>
</entry>
<entry>
<title>render: revert part of a36f67cbe311bebd9321fbf58773dace8128fcd7</title>
<updated>2023-07-28T13:37:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-28T13:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e912656682cd6645241fd5ba9ce3c1d1533c03b4'/>
<id>urn:sha1:e912656682cd6645241fd5ba9ce3c1d1533c03b4</id>
<content type='text'>
render_osd() shouldn't use term_font_baseline().

This is because term_font_baseline() uses the line height to determine
the position, while render_osd() renders to surfaces that aren't sized
like the grid.

This fixes a regression, where the CSD title were sometimes rendered
too high up, and sometimes too low.
</content>
</entry>
</feed>
