<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/pgo, branch 1.6.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-01-23T09:16:37Z</updated>
<entry>
<title>shm: unbreak build without memfd_create</title>
<updated>2021-01-23T09:16:37Z</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=fcf3f124d626afbc2438756efb7605a4324eb94d'/>
<id>urn:sha1:fcf3f124d626afbc2438756efb7605a4324eb94d</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-21T10:55:18Z</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=1d6b7d7a356530867b6c182c11a85498f1c6dee2'/>
<id>urn:sha1:1d6b7d7a356530867b6c182c11a85498f1c6dee2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: shutdown (or --hold) when the client process terminates</title>
<updated>2021-01-21T10:44:04Z</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=ce90480011c9d78275a069e0514e9a03813edffc'/>
<id>urn:sha1:ce90480011c9d78275a069e0514e9a03813edffc</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>
