<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git, branch 1.15.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.15.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.15.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2023-07-30T11:18:55Z</updated>
<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>
<entry>
<title>font baseline: use max(font-&gt;height, font-&gt;ascent + font-&gt;descent) when calculating font height</title>
<updated>2023-07-28T13:36:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-28T13:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd813d0e6cfff57cf8a8f55e9a249ddb6fbdb6d6'/>
<id>urn:sha1:fd813d0e6cfff57cf8a8f55e9a249ddb6fbdb6d6</id>
<content type='text'>
This is how it's done when calculating the cell height, and we should
do the same thing when calculating the font baseline.
</content>
</entry>
<entry>
<title>scaling: always round the scaling factor when converting to int</title>
<updated>2023-07-25T14:48:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-25T13:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=613c61abb44e49236a893376764eb21702c0ef32'/>
<id>urn:sha1:613c61abb44e49236a893376764eb21702c0ef32</id>
<content type='text'>
* In all calls to wl_subsurface_set_position()
* (wp_viewport_set_destination() already does this)
* Whenever we use the scale to calculate margins (search box,
  scrollback indicator etc)
* Since the scaling factor is stored as a float (and not a double),
  use roundf() instead of round()
</content>
</entry>
<entry>
<title>ci (sr.ht): alpine no longer allows pip installing to the system installation</title>
<updated>2023-07-25T14:47:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-25T14:47:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=391bc119de711fe2fc8a460d5990f7a8e872738a'/>
<id>urn:sha1:391bc119de711fe2fc8a460d5990f7a8e872738a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: alpine no longer allows pip installing to the system installation</title>
<updated>2023-07-25T14:45:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-25T14:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=76e471c4bc9e80aa25ee6aa125078ed5b92d0cf7'/>
<id>urn:sha1:76e471c4bc9e80aa25ee6aa125078ed5b92d0cf7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: apply new baseline calculation everywhere</title>
<updated>2023-07-25T13:53:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-23T15:35:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a36f67cbe311bebd9321fbf58773dace8128fcd7'/>
<id>urn:sha1:a36f67cbe311bebd9321fbf58773dace8128fcd7</id>
<content type='text'>
* URL jump labels
* Scrollback position indicator
* Line/box drawings characters

Closes #1430
</content>
</entry>
<entry>
<title>wayland: update terminals (fonts etc) on xdg_output_handle_done()</title>
<updated>2023-07-23T18:12:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-23T18:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0a61cfc3beb881fc8942ae99bf3ad3b5de5e6345'/>
<id>urn:sha1:0a61cfc3beb881fc8942ae99bf3ad3b5de5e6345</id>
<content type='text'>
Monitor DPI depends on information from both the wl_output and the
xdg_output interfaces.

Before this patch, terminals were only updated after changes to the
wl_output interfaces (thus depending on xdg output changes being
pushed by the compositor before wl_output changes).

That assumption (xdg_output happening before wl_output) isn’t always
true.

This patch fixes the issue by updating the terminals in the
xdg_output’s “done” event.

Closes #1431
</content>
</entry>
<entry>
<title>Merge branch 'invalid-utf8'</title>
<updated>2023-07-23T18:10:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-23T18:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=57d8f745543f7160efb2e4e4fad702768eaa9906'/>
<id>urn:sha1:57d8f745543f7160efb2e4e4fad702768eaa9906</id>
<content type='text'>
Closes #1423
</content>
</entry>
</feed>
