<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/pgo, branch 1.18.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.18.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.18.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2024-07-25T17:31:27Z</updated>
<entry>
<title>pgo: add notify_close() stub</title>
<updated>2024-07-25T17:31:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-07-25T17:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8f16fe54d3cbe2417a0edf9bde585d2844ea4bda'/>
<id>urn:sha1:8f16fe54d3cbe2417a0edf9bde585d2844ea4bda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: updated stubs for notification functions</title>
<updated>2024-07-23T10:15:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-07-23T10:15:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=50efd9726d041b00d3966431b8e6957a3739b33c'/>
<id>urn:sha1:50efd9726d041b00d3966431b8e6957a3739b33c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: update notify_notify() prototype, add notify_free()</title>
<updated>2024-07-23T05:43:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-07-23T05:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e88ec86c9337b0a2e1b9d3d1d207005a4c084a79'/>
<id>urn:sha1:e88ec86c9337b0a2e1b9d3d1d207005a4c084a79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: update spawn() prototype</title>
<updated>2024-07-23T05:43:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-07-23T05:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7268ee9078e8c0ce4b7cdaa479b67ea34aa8e88f'/>
<id>urn:sha1:7268ee9078e8c0ce4b7cdaa479b67ea34aa8e88f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc/notify: add support for OSC-99, kitty desktop notifications</title>
<updated>2024-07-23T05:17:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-07-19T13:04:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b0bf8ca5f7034f6d95bc3b58082e719a81d99859'/>
<id>urn:sha1:b0bf8ca5f7034f6d95bc3b58082e719a81d99859</id>
<content type='text'>
This adds limited support for OSC-99, kitty desktop notifications[^1]. We
support everything defined by the "protocol", except:

* 'a': action to perform on notification activation. Since we don't
  trigger the notification ourselves (over D-Bus), we don't know a)
  which ID the notification got, or b) when it is clicked.
* ... and that's it. Everything else is supported

To be explicit, we *do* support:

* Chunked notifications (d=0|1), allowing the application to append
  data to a notification in chunks, before it's finally displayed.
* Plain UTF-8, or base64-encoded UTF-8 payload (e=0|1).
* Notification identifier (i=xyz).
* Payload type (p=title|body).
* When to honor the notification (o=always|unfocused|invisible), with
  the following quirks:
    - we don't know when the window is invisible, thus it's treated as
      'unfocused'.
    - the foot option 'notify-focus-inhibit' overrides 'always'
* Urgency (u=0|1|2)

[^1]: https://sw.kovidgoyal.net/kitty/desktop-notifications/
</content>
</entry>
<entry>
<title>pgo: render_resize_force() has been removed, adjust stub accordingly</title>
<updated>2024-02-08T15:44:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-08T15:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9d9690410a72e03511bcc19e6f4a848d450fd0cc'/>
<id>urn:sha1:9d9690410a72e03511bcc19e6f4a848d450fd0cc</id>
<content type='text'>
Closes #1601
</content>
</entry>
<entry>
<title>pgo: add missing stub for render_refresh_app_id()</title>
<updated>2024-02-06T13:04:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-06T13:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3b5d83a3ec0b0bba3a8e56d97aaa6d14c46417f1'/>
<id>urn:sha1:3b5d83a3ec0b0bba3a8e56d97aaa6d14c46417f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: fix function prototype for stub function get_current_modifiers()</title>
<updated>2024-02-06T13:03:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-06T13:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=af114f81a0cef1d789c354c4d05140400210b136'/>
<id>urn:sha1:af114f81a0cef1d789c354c4d05140400210b136</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use fancy Unicode quotes, stick to ASCII</title>
<updated>2024-02-06T11:36:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-06T11:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7999975016a57cc0a2c2e20bc55f29de32df7044'/>
<id>urn:sha1:7999975016a57cc0a2c2e20bc55f29de32df7044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add CCACHE_DISABLE=1 to pgo.sh to avoid errors when ccache is enabled</title>
<updated>2023-10-20T09:06:05Z</updated>
<author>
<name>Fazzi</name>
<email>faaris.ansari@proton.me</email>
</author>
<published>2023-10-20T09:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85a4e4ccc15089b58ad8ce4aaec3b301e9025369'/>
<id>urn:sha1:85a4e4ccc15089b58ad8ce4aaec3b301e9025369</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: add stub for wayl_fractional_scaling()</title>
<updated>2023-07-18T03:48:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-17T18:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4a4f2b5dae6f7303e27d45a1d60aaefb7be2d7ba'/>
<id>urn:sha1:4a4f2b5dae6f7303e27d45a1d60aaefb7be2d7ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: update xcursor stubs to use enum instead of char pointer</title>
<updated>2023-07-03T12:36:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-06-27T16:16:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=803b250652d766cf08721e334215585f4fd72fb9'/>
<id>urn:sha1:803b250652d766cf08721e334215585f4fd72fb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: update font subpixel mode, and window opaque compositor hint, on alpha changes</title>
<updated>2023-05-26T08:01:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-05-25T16:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c51050a9bc16b231de964156cd3ffd20ee12569e'/>
<id>urn:sha1:c51050a9bc16b231de964156cd3ffd20ee12569e</id>
<content type='text'>
When background alpha is changed at runtime (using OSC-11), we (may)
have to update the opaque hint we send to the compositor.

We must also update the subpixel mode used when rendering font
glyphs.

Why?

When the window is fully opaque, we use wl_surface_set_opaque_region()
on the entire surface, to hint to the compositor that it doesn’t have
to blend the window content with whatever is behind the
window. Obviously, if alpha is changed from opaque, to transparent (or
semi-transparent), that hint must be removed.

Sub-pixel mode is harder to explain, but in short, we can’t do
subpixel hinting with a (semi-)transparent background. Thus, similar
to the opaque hint, subpixel antialiasing must be enabled/disabled
when background alpha is changed.
</content>
</entry>
<entry>
<title>build: fix GCC detection in pgo.sh</title>
<updated>2022-10-23T21:56:34Z</updated>
<author>
<name>Andrea Pappacoda</name>
<email>andrea@pappacoda.it</email>
</author>
<published>2022-10-23T21:56:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1313e6352a442bfd7483f7b6e14308f2cabdc684'/>
<id>urn:sha1:1313e6352a442bfd7483f7b6e14308f2cabdc684</id>
<content type='text'>
On my system, GCC doesn't output its name when passing the --version
flag:

    $ cc --version
    cc (Debian 12.2.0-3) 12.2.0
    Copyright (C) 2022 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

As the Free Software Foundation is unlikely to write another compiler, I
think that searching for the foundation's name instead of GCC is a good
enough fix (and I'm almost sure we wouldn't be the first ones to do so).
</content>
</entry>
<entry>
<title>pgo: don’t re-use the rows between the ‘normal’ and ‘alt’ grids</title>
<updated>2022-10-18T16:31:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-10-18T16:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3ba03901b893abcdb4433d71d0b6568abceba770'/>
<id>urn:sha1:3ba03901b893abcdb4433d71d0b6568abceba770</id>
<content type='text'>
This used to work because we never free:d any of the rows. Now
however, we do free (some of) them when reverse scrolling. This means
we can no longer re-use the rows between the two screens.

Closes #1196
</content>
</entry>
<entry>
<title>pgo: run xtgettcap without any arguments</title>
<updated>2022-10-10T15:18:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-10-10T15:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a9fc7ce1806d92779da9931c804a88ac444344ab'/>
<id>urn:sha1:a9fc7ce1806d92779da9931c804a88ac444344ab</id>
<content type='text'>
We execute xtgettcap in the parent terminal. Thus we don’t know if it
implements XTGETTCAP, and thus it’s not guaranteed to exit - it may
hang indefinitely waiting for a reply.

Fix by not actually quering anything.
</content>
</entry>
<entry>
<title>pgo: execute xtgettcap utility, to get profiling data</title>
<updated>2022-10-07T19:47:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-10-07T19:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=503740f8365aa67197a8ef6f710852b5caec362c'/>
<id>urn:sha1:503740f8365aa67197a8ef6f710852b5caec362c</id>
<content type='text'>
Fixes:

  ../utils/xtgettcap.c:175:1: error: ‘/home/daniel/src/foot/src/utils/xtgettcap.p/xtgettcap.c.gcda’ profile count data file not found [-Werror=missing-profile]
</content>
</entry>
<entry>
<title>terminal: don’t unref a not-yet-referenced key-binding set</title>
<updated>2022-09-06T18:44:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-09-05T17:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d2e67689ea0d5ec986b66936188e0557c1f04858'/>
<id>urn:sha1:d2e67689ea0d5ec986b66936188e0557c1f04858</id>
<content type='text'>
Key-binding sets are bound to a seat/configuration pair. The conf
reference is done when a new terminal instance is created.

When that same terminal instance is destroyed, the key binding set is
unref:ed.

If the terminal instance is destroyed *before* the key binding set has
been referenced, we’ll still unref it. This creates an imbalance.

In particular, when the there is exactly one other terminal instance
referencing that same key binding set, that terminal instance will
trigger a foot server crash as soon as it receives a key press/release
event. This happens because the next-to-last terminal instance brought
the reference count of the binding set down to 0, causing it to be
free:d.

Thus, we *must* reference the binding set *before* we can error
out (when instantiating a new terminal instance).

At this point, we don’t yet have a valid terminal instance. But,
that’s ok, because all the key_binding_new_for_term() did with the
terminal instance was get the "struct wayland" and "struct config"
pointers. So, rename the function and simply pass these pointers
explicitly.

Similarly, change key_binding_for() to take a "struct config" pointer,
rather than a "struct terminal" pointer.

Also rename key_binding_unref_term() -&gt; key_binding_unref().
</content>
</entry>
<entry>
<title>pgo: slave_spawn(): sync function signature</title>
<updated>2022-06-13T14:32:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-06-13T14:32:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d3c51b51b7d4d8f32962ab634eec85316c1c3621'/>
<id>urn:sha1:d3c51b51b7d4d8f32962ab634eec85316c1c3621</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: add xdg_activation_token parameter to spawn() stub</title>
<updated>2022-05-06T08:39:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-05-06T08:39:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f14fc120ad1fc618ac225b26d61f4f8459f84b95'/>
<id>urn:sha1:f14fc120ad1fc618ac225b26d61f4f8459f84b95</id>
<content type='text'>
</content>
</entry>
</feed>
