<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/pgo, branch 1.8.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-05-17T16:14:10Z</updated>
<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>
<entry>
<title>shm: unbreak build without memfd_create</title>
<updated>2021-01-23T08:52:40Z</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2021-01-19T14:20:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=db9dc7e90853208a28d48c8b52f4251118005007'/>
<id>urn:sha1:db9dc7e90853208a28d48c8b52f4251118005007</id>
<content type='text'>
New FreeBSD versions have memfd_create but other BSDs don't.

pgo/pgo.c:260:22: error: implicit declaration of function 'memfd_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        int mem_fd = memfd_create("foot-pgo-ptmx", MFD_CLOEXEC);
                     ^
pgo/pgo.c:260:52: error: use of undeclared identifier 'MFD_CLOEXEC'
        int mem_fd = memfd_create("foot-pgo-ptmx", MFD_CLOEXEC);
                                                   ^
shm.c:13:10: fatal error: 'linux/mman.h' file not found
 #include &lt;linux/mman.h&gt;
          ^~~~~~~~~~~~~~
shm.c:277:15: error: implicit declaration of function 'memfd_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    pool_fd = memfd_create("foot-wayland-shm-buffer-pool", MFD_CLOEXEC | MFD_ALLOW_SEALING);
              ^
shm.c:277:60: error: use of undeclared identifier 'MFD_CLOEXEC'
    pool_fd = memfd_create("foot-wayland-shm-buffer-pool", MFD_CLOEXEC | MFD_ALLOW_SEALING);
                                                           ^
shm.c:277:74: error: use of undeclared identifier 'MFD_ALLOW_SEALING'
    pool_fd = memfd_create("foot-wayland-shm-buffer-pool", MFD_CLOEXEC | MFD_ALLOW_SEALING);
                                                                         ^
shm.c:339:15: error: use of undeclared identifier 'F_SEAL_GROW'
              F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) &lt; 0)
              ^
shm.c:339:29: error: use of undeclared identifier 'F_SEAL_SHRINK'
              F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) &lt; 0)
                            ^
shm.c:339:71: error: use of undeclared identifier 'F_SEAL_SEAL'
              F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) &lt; 0)
                                                                      ^
shm.c:338:24: error: use of undeclared identifier 'F_ADD_SEALS'
    if (fcntl(pool_fd, F_ADD_SEALS,
                       ^
</content>
</entry>
<entry>
<title>pgo: stub implementation of reaper_del()</title>
<updated>2021-01-12T08:20:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-12T08:20:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fe12c54d353cb5d0d22ff800f025b96cdb7b665f'/>
<id>urn:sha1:fe12c54d353cb5d0d22ff800f025b96cdb7b665f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: shutdown (or --hold) when the client process terminates</title>
<updated>2020-12-26T00:29:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-26T00:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8b0ef6aa85657e6b27904db45538f908f97683b7'/>
<id>urn:sha1:8b0ef6aa85657e6b27904db45538f908f97683b7</id>
<content type='text'>
Shutdown the terminal when the client process terminates, not when the
ptmx file descriptor is closed.

This fixes an issue where the terminal remains running after the
client process has terminated, if it spawned child processes that
inherited the ptmx file descriptor.
</content>
</entry>
<entry>
<title>notify: break out desktop notifications from osc.c</title>
<updated>2020-12-10T17:06:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-10T17:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03cbb6ad90045085442ac01e2bf4f63585809c1a'/>
<id>urn:sha1:03cbb6ad90045085442ac01e2bf4f63585809c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ime: add functions to enable/disable IME, simplify code that enables IME</title>
<updated>2020-12-07T19:44:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-04T17:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b59d695b2b00157e403399af78b3128848a65e0f'/>
<id>urn:sha1:b59d695b2b00157e403399af78b3128848a65e0f</id>
<content type='text'>
We may want to be able to enable/disable IME run-time, even though we
have received an ‘enter’ IME event.

This enables us to do that.

Also add functions to enable/disable IME on a per-terminal instance
basis.

A terminal may have multiple seats focusing it, and enabling/disabling
IME in a terminal instance enables/disables IME on all those seats.

Finally, the code to enable IME is simplified; the *only* surface that
can ever receive ‘enter’ IME events is the main grid. All other
surfaces are sub-surfaces, without their own keyboard focus.
</content>
</entry>
<entry>
<title>sixel: change default max size to 10000x10000</title>
<updated>2020-11-23T19:10:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-23T19:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ba8b15d67592c3dfde264ccd441699377948c4cf'/>
<id>urn:sha1:ba8b15d67592c3dfde264ccd441699377948c4cf</id>
<content type='text'>
It used to be the size of the window. This caused images to be cropped
when the application emitting them didn’t change the max size.
</content>
</entry>
<entry>
<title>pgo: feed VT data through fdm_ptmx(), not vt_from_slave()</title>
<updated>2020-11-22T18:29:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T12:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=daa8d129c1b9d089aa622c0874f9d1a8c8b9cc6d'/>
<id>urn:sha1:daa8d129c1b9d089aa622c0874f9d1a8c8b9cc6d</id>
<content type='text'>
fdm_ptmx(), the FDM callback handler for ptmx data, is just as much in
the hot path as vt_from_slave(). It is also slightly more complicated
than a read() followed by a call to vt_from_slave().

As a result, some benchmarks performed significantly worse in a
partial PGO build than in a full PGO build, since fdm_ptmx() wasn’t
PGO:d.

To be able to feed data through fdm_ptmx(), we need to set up the
delayed rendering timer FDs, configure the timeout values, and provide
a readable FD it can read the VT data from.

The latter is done with a memory FD. This ensures *all* VT data is
loaded into memory before we feed it to the parser.
</content>
</entry>
<entry>
<title>pgo: initialize (mouse) selection</title>
<updated>2020-11-22T18:29:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-19T18:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cf398df62e22c0e899c45d3ec098836c148f27e9'/>
<id>urn:sha1:cf398df62e22c0e899c45d3ec098836c148f27e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: initialize a dummy wayland backend</title>
<updated>2020-11-22T18:29:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-19T18:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4cd1d35c1e397d20be73ff2d73c4718be3b27881'/>
<id>urn:sha1:4cd1d35c1e397d20be73ff2d73c4718be3b27881</id>
<content type='text'>
* Empty seat list
* Empty monitor list
* Add dummy terminal instance to terminal list
</content>
</entry>
<entry>
<title>remove pre-generated input corpus for PGO</title>
<updated>2020-11-22T18:29:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-16T18:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e1bde0b0e73e3e634799c9f8550f2c7b7d485141'/>
<id>urn:sha1:e1bde0b0e73e3e634799c9f8550f2c7b7d485141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: updated stimuli (256-indexed colors)</title>
<updated>2020-11-22T18:29:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-15T13:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=001d309b81f453c75a7cbc0e3158afa3bad8de6a'/>
<id>urn:sha1:001d309b81f453c75a7cbc0e3158afa3bad8de6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pull in selection.c in pgolib</title>
<updated>2020-11-22T18:29:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-14T21:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cc850ed012cac3c10fe4dfd0cb765e1bb19eff19'/>
<id>urn:sha1:cc850ed012cac3c10fe4dfd0cb765e1bb19eff19</id>
<content type='text'>
Some of the selection functions are in the hot path, so this makes a
huge difference!
</content>
</entry>
<entry>
<title>pgo: support for specifying multiple stimuli files</title>
<updated>2020-11-22T18:28:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-14T13:56:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8619ebd778b43288f74cb260d84fcf7831a1982d'/>
<id>urn:sha1:8619ebd778b43288f74cb260d84fcf7831a1982d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: move pgo.c and pgo stimuli to pgo directory</title>
<updated>2020-11-22T18:28:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-14T13:30:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a1273eb5b4e6f5b4abe54d2ab00916ff894f9b3'/>
<id>urn:sha1:5a1273eb5b4e6f5b4abe54d2ab00916ff894f9b3</id>
<content type='text'>
</content>
</entry>
</feed>
