<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/main.c, branch 0.9.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-09-29T11:03:48Z</updated>
<entry>
<title>font: calculate underline/strikeout metrics in font, not main</title>
<updated>2019-09-29T11:03:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-29T11:03:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a0bb292eec67cff0924379f50291333e1a03516'/>
<id>urn:sha1:5a0bb292eec67cff0924379f50291333e1a03516</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: unset DESKTOP_STARTUP_ID</title>
<updated>2019-09-26T16:41:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-26T16:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3dd5b1fe6046003bbf9cc36004a19b3aca993342'/>
<id>urn:sha1:3dd5b1fe6046003bbf9cc36004a19b3aca993342</id>
<content type='text'>
This is used in the desktop startup notification protocol. We don't
support it (is it even used on Wayland?), but need to ensure programs
launced from within foot doesn't inherit it.
</content>
</entry>
<entry>
<title>main: initialize scale to '1'</title>
<updated>2019-09-26T16:39:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-26T16:39:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2d6369482e231e8d2cdfbf567e4b651a4c71f763'/>
<id>urn:sha1:2d6369482e231e8d2cdfbf567e4b651a4c71f763</id>
<content type='text'>
This ensures we always have a valid (but possibly incorrect) scaling
value. This allows us to simplify code that uses the scale - it
doesn't have to verify the scale if valid.

Furthermore, since render_resize() is the function that actually
updates term-&gt;scale, make sure to call it *before* updating the
cursor (otherwise, the cursor will use the old scaling value).
</content>
</entry>
<entry>
<title>selection: primary: don't require compositor to implement it</title>
<updated>2019-09-25T17:26:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-25T17:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=16f15d1a36a30e79e0ad42dd05746bb04bc0d7dd'/>
<id>urn:sha1:16f15d1a36a30e79e0ad42dd05746bb04bc0d7dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: we prefer xdg-output-manager version 2, but get by with 1</title>
<updated>2019-09-24T17:44:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-24T17:44:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5340204cbcf69c7b9c941d089857fab0bd71ffd8'/>
<id>urn:sha1:5340204cbcf69c7b9c941d089857fab0bd71ffd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: log (at debug level) global interfaces and their versions</title>
<updated>2019-09-24T17:43:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-24T17:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b0d5af51d06e61bd22b185f794d91a2aef922c3f'/>
<id>urn:sha1:b0d5af51d06e61bd22b185f794d91a2aef922c3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>It's Hz, not HZ</title>
<updated>2019-09-21T18:09:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-21T18:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6d5d3a8d7d7d856aef7fede75fa3362e9443353b'/>
<id>urn:sha1:6d5d3a8d7d7d856aef7fede75fa3362e9443353b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: -f,--font now accepts a list of fonts</title>
<updated>2019-09-21T18:01:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-21T18:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f20b08db3d77ba43f63ce37a29da8b6f8263f46b'/>
<id>urn:sha1:f20b08db3d77ba43f63ce37a29da8b6f8263f46b</id>
<content type='text'>
This makes -f,--font behave just like the configuration file option
'font'; the first font in the list is the primary font, and the
remaining fonts are fallback fonts used when a glyph cannot be found
in the primary font.
</content>
</entry>
<entry>
<title>main: round strikeout and underline position fallback handling</title>
<updated>2019-09-20T22:47:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T22:47:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b2ca984ccbc2492ff13262c329c2a3cdf3ddfd4e'/>
<id>urn:sha1:b2ca984ccbc2492ff13262c329c2a3cdf3ddfd4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: round strikeout position, and ceil strikeout thickness</title>
<updated>2019-09-20T22:46:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T22:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a1cd3769a3fd425d5e40a250420c5141698cb897'/>
<id>urn:sha1:a1cd3769a3fd425d5e40a250420c5141698cb897</id>
<content type='text'>
This fixes an issue where sometimes the strikeout thickness where
truncated to 0 (e.g. Cascadia Code).

Note that we already do this for the underline calculations.
</content>
</entry>
<entry>
<title>main: names for poll FD indices</title>
<updated>2019-09-20T20:27:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T20:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d558d8bed1c1e3e9edc6c597336efda9ad445ca'/>
<id>urn:sha1:4d558d8bed1c1e3e9edc6c597336efda9ad445ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: better names of timers for delayed rendering timeouts</title>
<updated>2019-09-20T20:21:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T20:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b3a419f42785b52f42c8ecdba0fb3be1fe847bc8'/>
<id>urn:sha1:b3a419f42785b52f42c8ecdba0fb3be1fe847bc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: track output refresh rate</title>
<updated>2019-09-20T20:15:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T20:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1a9ec997b30ad40079e60f26fefb126c32bcde1d'/>
<id>urn:sha1:1a9ec997b30ad40079e60f26fefb126c32bcde1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: improve delayed rendering</title>
<updated>2019-09-20T16:12:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-20T16:08:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=652ff5da921ad6aa08dc0ee9cbe093cfe56a6121'/>
<id>urn:sha1:652ff5da921ad6aa08dc0ee9cbe093cfe56a6121</id>
<content type='text'>
We now use two timers for delayed rendering; one _lower_ limit timeout
that is reset each time we receive input from the slave. We never
render *before* this timeout. Since it's reset, this means rendering
may be pushed further into the future.

To prevent this from happening indefinitely, the second timer defines
the _upper_ limit. This timer is only reset after rendering.

Thus, slave input may now increase the rendering delay, but only up to
a certain limit.

The lower limit is as before, 1ms. The upper limit is set to 16ms (the
time between frame updates on a 60HZ output).
</content>
</entry>
<entry>
<title>main: use a timer FD to delay render refresh after client data</title>
<updated>2019-08-30T15:57:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T15:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f7ea6292e0fc114c5a3f8b5d0a77cb23f61ce89'/>
<id>urn:sha1:9f7ea6292e0fc114c5a3f8b5d0a77cb23f61ce89</id>
<content type='text'>
This ensures we never wait *longer* than 1ms (previously, we could end
up doing multiple polls, each with a timeout value of 1ms - thereby
potentially delaying the refresh indefinitely).
</content>
</entry>
<entry>
<title>main: render_resize() scales the width and height</title>
<updated>2019-08-30T15:56:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T15:56:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fb018eb64e78fd62cadbb42c26d5244ae0f8bb5f'/>
<id>urn:sha1:fb018eb64e78fd62cadbb42c26d5244ae0f8bb5f</id>
<content type='text'>
Thus, when we call render_resize() with *old* with/height values, we
must scale them back to their original values.

This fixes an issue where, for example, moving a window between
outputs with different scales caused the window to keep growing.
</content>
</entry>
<entry>
<title>main: request server-side decorations</title>
<updated>2019-08-30T15:55:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T15:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=47da5b4086d2081737ec2264f7b5b754c0166a3a'/>
<id>urn:sha1:47da5b4086d2081737ec2264f7b5b754c0166a3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: don't destroy/recreate search (sub)surface</title>
<updated>2019-08-29T18:22:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-29T18:22:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1e4b11b0fa73d4fa9e4f124fa04173f92f645d1f'/>
<id>urn:sha1:1e4b11b0fa73d4fa9e4f124fa04173f92f645d1f</id>
<content type='text'>
Create the sub-surface once, at startup. Then, instead of destroying
it when committing/cancelling a search, unmap it (by attaching a NULL
buffer to it).
</content>
</entry>
<entry>
<title>main: destroy sub-compositor at exit</title>
<updated>2019-08-29T18:17:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-29T18:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=af8682210ec7b4f89f4d6a52fb568da9a4523d71'/>
<id>urn:sha1:af8682210ec7b4f89f4d6a52fb568da9a4523d71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: move wayland surface variables into the term struct</title>
<updated>2019-08-29T18:15:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-29T18:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=44a353a7f74b562cb057c23760013a12becbecf3'/>
<id>urn:sha1:44a353a7f74b562cb057c23760013a12becbecf3</id>
<content type='text'>
</content>
</entry>
</feed>
