<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/pgo, branch 1.9.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.9.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.9.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-10-02T12:46:02Z</updated>
<entry>
<title>pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8</title>
<updated>2021-10-02T12:46:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-10-02T12:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9389f337d0f75bcdeaf95cbfc9c8525db0e2007b'/>
<id>urn:sha1:9389f337d0f75bcdeaf95cbfc9c8525db0e2007b</id>
<content type='text'>
That locale may not exist. Instead, require the user/build script to
explicitly set an UTF-8 locale.

Document this in INSTALL.md, and in the bundled PKGBUILD.
</content>
</entry>
<entry>
<title>pgo.sh: set -x *after* verifying input</title>
<updated>2021-09-12T14:11:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-12T14:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b6df5f6456f4e4a897cb30f814c7d85254efbc8a'/>
<id>urn:sha1:b6df5f6456f4e4a897cb30f814c7d85254efbc8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: remove both gcc and clang generated profile stats</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5493267bf7ca08527e563717b4bf7812388f79f5'/>
<id>urn:sha1:5493267bf7ca08527e563717b4bf7812388f79f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: add meson bld/src dir arguments last</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a941253ba74d5ca48cbb1401b4ced8d0fa2b6a1e'/>
<id>urn:sha1:a941253ba74d5ca48cbb1401b4ced8d0fa2b6a1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: run ‘find’ in the build-directory, not cwd</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6d67c2b4ab3194df40d383841fb95bcc2f033fa1'/>
<id>urn:sha1:6d67c2b4ab3194df40d383841fb95bcc2f033fa1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: allow a pre-existing build directory</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e907ec209cf9b3e2f7ef06e0ffd71b9735f1e702'/>
<id>urn:sha1:e907ec209cf9b3e2f7ef06e0ffd71b9735f1e702</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: auto: don’t use full-headless-sway</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cf7c5050f64709bea48e3175a3218f7b74d19f36'/>
<id>urn:sha1:cf7c5050f64709bea48e3175a3218f7b74d19f36</id>
<content type='text'>
This requires Sway &gt;= 1.6.2, which hasn’t been released yet. Thus,
don’t auto-use it.

Users can still request it explicitly.
</content>
</entry>
<entry>
<title>pgo: add set -x to all PGO scripts</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99c4e51e199f87c0b4d97d43a2d34af62c6b7ae4'/>
<id>urn:sha1:99c4e51e199f87c0b4d97d43a2d34af62c6b7ae4</id>
<content type='text'>
Without this, debugging error reports from users is going to be _very_
difficult...
</content>
</entry>
<entry>
<title>pgo: full-headless-cage: remove references to Sway</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f25055f101d031244a88dc37cef20f2c46d060f8'/>
<id>urn:sha1:f25055f101d031244a88dc37cef20f2c46d060f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: full-headless-cage: new headless variant</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=801bce335be8c3cf6d3793a50c2dfcf2ada29f19'/>
<id>urn:sha1:801bce335be8c3cf6d3793a50c2dfcf2ada29f19</id>
<content type='text'>
Appears to work, but cage spams a lot of

 00:00:08.026 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1
 00:00:08.036 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1
</content>
</entry>
<entry>
<title>pgo: full-inner: quote path in trap’s “rm” command</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:04:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3a34b94f2e8dadf845889bec2fa8cea5f89665d3'/>
<id>urn:sha1:3a34b94f2e8dadf845889bec2fa8cea5f89665d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: full-inner: remove -o tweak.render-timer=log</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T08:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aeb510182b32c342a9175045aed37f5e1023384e'/>
<id>urn:sha1:aeb510182b32c342a9175045aed37f5e1023384e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: replace meson-pgo.sh with several script primitives</title>
<updated>2021-09-12T08:39:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T08:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a43ae0d098da2b0a5d77b6ecbc578f6d14b22d55'/>
<id>urn:sha1:a43ae0d098da2b0a5d77b6ecbc578f6d14b22d55</id>
<content type='text'>
All scripts are in the ‘pgo’ directory:

* options: command line options for generate-alt-random-writes.py,
  sourced by other scripts.

* pgo.sh: top-level script, generates a meson build directory, selects
  a PGO method, generates the profiling data, re-configures the meson
  build directory and does the final build.

  This script is intended to be used by end-users, and shows _how_ to
  integrate the script primitives.

  Build servers will most likely *not* want to use this script as-is.

* partial.sh: generates alt-random-write data and runs “foot{,client}
  --version”, and then feeds the alt-random data to the PGO helper
  binary. Does not require a running Wayland session. Touches
  $blddir/pgo-ok on success.

* full-inner.sh: runs “footclient --version”, and then a complex
  “foot” command that first generates alt-random-write data, and then
  “cat’s” it. Requires a running Wayland session, *but*, this script
  is usually not called directly (see below). Touches $blddir/pgo-ok
  onsucces..

* full-current-session.sh: runs full-inner.sh. That is, it runs foot
  in the currently running Wayland session. Note that this will pop up a
  foot window.

* full-headless-sway.sh: generates a custom Sway configuration that
  exec’s foot-headless-sway-inner.sh (see below), and then executes a
  headless Sway. In other words, this script does a *full* PGO build,
  but *without* requiring a running Wayland session. Requires Sway &gt;=
  1.6.2.

* full-headless-sway.sh: runs full-inner.sh + “swaymsg exit”.

To do a custom PGO build, without using pgo.sh, you’d need to:

CFLAGS=”$CFLAGS -O3” meson --buildtype=release -Db_lto=true
meson configure -Db_pgo=generate
ninja
ninja test (only needed if tllist+fcft are built as subprojects)

Run *one* of:
  - partial.sh
  - full-current-session.sh
  - full-headless-sway.sh

meson configure -D b_pgo=use
ninja
</content>
</entry>
<entry>
<title>pgo: add stub for search_selection_cancelled()</title>
<updated>2021-07-23T08:15:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-23T08:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f28193733555f95250a00ff0160277e2df025ecb'/>
<id>urn:sha1:f28193733555f95250a00ff0160277e2df025ecb</id>
<content type='text'>
Fixes PGO build failures caused by
251545203baa65364e491ddbe71ab3f8080bfe25

Closes #648
</content>
</entry>
<entry>
<title>pgo: fix PGO builds with clang</title>
<updated>2021-07-22T08:02:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-22T08:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2acd4b34c57659d86dca76c58e4363de9b0a1f17'/>
<id>urn:sha1:2acd4b34c57659d86dca76c58e4363de9b0a1f17</id>
<content type='text'>
Add stubs for shm_chain_new(), shm_chain_free() and shm_unref(). This
fixes ‘pgo’ linking failures in the ‘generate’ phase when doing a PGO
build with clang.

Closes #642
</content>
</entry>
<entry>
<title>extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()</title>
<updated>2021-05-17T16:14:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-03-30T12:40:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a6d9f01c0d1d914362b73eacd89e1e09877632cb'/>
<id>urn:sha1:a6d9f01c0d1d914362b73eacd89e1e09877632cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: add wayl_win_set_urgent() stub</title>
<updated>2021-05-14T11:26:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-05-11T05:56:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bf44f3f5949a4c49b4c79763350eb0f08ced36f3'/>
<id>urn:sha1:bf44f3f5949a4c49b4c79763350eb0f08ced36f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ime: move preedit state from terminal struct to the seat struct</title>
<updated>2021-03-25T08:36:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-03-23T12:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e8ffb05bc7fb3b996752f345b77af4b757f69776'/>
<id>urn:sha1:e8ffb05bc7fb3b996752f345b77af4b757f69776</id>
<content type='text'>
This ensures different seat’s don’t step on each others IME pre-edit
state.

It also removes most dependencies on having a valid term pointer for
many IME operations.

We’re still not all the way, since we support disabling IME with a
private mode, which is per terminal, not seat.

Thus, we still require the seat to have keyboard focus on one of our
windows.

Closes #324. But note that *rendering* of multiple seat’s IME pre-edit
strings is still broken.
</content>
</entry>
<entry>
<title>fdm: add support for managing signals</title>
<updated>2021-02-11T17:55:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-10T15:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=863ae1143f9336f300c300c4d62165c3eac22834'/>
<id>urn:sha1:863ae1143f9336f300c300c4d62165c3eac22834</id>
<content type='text'>
Add fdm_signal_add() and fdm_signal_del(). Signals added to the fdm
will be monitored, and the provided callback called as “soon as
possible” from the main context (i.e not from the signal handler
context).

Monitored signals are *blocked* by default. We use epoll_pwait() to
unblock them while we’re polling. This allows us to do race-free
signal detection.

We use a single handler for all monitored signals; the handler simply
updates the signal’s slot in a global array (sized to fit SIGRTMAX
signals).

When epoll_pwait() returns EINTR, we loop the global array. The
callback associated with each signal that fired is called.
</content>
</entry>
<entry>
<title>urls: initial support for detecting URLs and rendering jump-labels</title>
<updated>2021-02-07T15:33:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-31T10:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2cc84db97978388475504592c88911046bcd2eb6'/>
<id>urn:sha1:2cc84db97978388475504592c88911046bcd2eb6</id>
<content type='text'>
The jump labels work, but is currently hardcoded to use xdg-open
</content>
</entry>
</feed>
