<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/server.c, branch 1.10.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-11-01T01:52:29Z</updated>
<entry>
<title>foot/client: implement xdga client activation</title>
<updated>2021-11-01T01:52:29Z</updated>
<author>
<name>Ronan Pigott</name>
<email>rpigott@berkeley.edu</email>
</author>
<published>2021-10-29T00:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8'/>
<id>urn:sha1:99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8</id>
<content type='text'>
This is an application of the xdg activation protocol that will allow
compositors to associate new foot toplevels with the command that
launched them.

footclient receives an activation token from the launcher which the
compositor can use to track application startup. It passes the token
to the foot server, which then activates the new window with the token
to complete the startup sequence.
</content>
</entry>
<entry>
<title>server: no need to clone the config to handle -N,--no-wait</title>
<updated>2021-09-05T07:28:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-05T07:28:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f39a62fa5e9207a6f8c16066527c68ca9a5524a6'/>
<id>urn:sha1:f39a62fa5e9207a6f8c16066527c68ca9a5524a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: verify primary font is monospaced</title>
<updated>2021-08-31T17:58:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-08-31T17:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1233e000f02ce664134fbbba7b46b710f544436d'/>
<id>urn:sha1:1233e000f02ce664134fbbba7b46b710f544436d</id>
<content type='text'>
... unless we’re re-using the main conf as-is, in which case we will
already have done this (and the conf’s user-notification list will
already contain a warning).
</content>
</entry>
<entry>
<title>term: consolidate shutdown related state into an anonymous struct</title>
<updated>2021-07-31T17:08:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-31T17:08:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03f952cf4dcf45d909ce209838a3beb4304358e5'/>
<id>urn:sha1:03f952cf4dcf45d909ce209838a3beb4304358e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: the terminal now purges SHM pixmaps on its own</title>
<updated>2021-07-11T09:54:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-11T09:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8290cebc09c74ac0969ed2692a8de08ca134871c'/>
<id>urn:sha1:8290cebc09c74ac0969ed2692a8de08ca134871c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: make sure ‘overrides’ have been initialized in all error paths</title>
<updated>2021-06-23T13:38:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-23T13:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ef349bfea26f63456a6cf6ebd3bc8d26fb3ca3d5'/>
<id>urn:sha1:ef349bfea26f63456a6cf6ebd3bc8d26fb3ca3d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: avoid “member access within misaligned address” ASAN warning</title>
<updated>2021-06-23T13:12:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-23T12:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04d42662c78823fbb2e71c7a481c86293a031c9a'/>
<id>urn:sha1:04d42662c78823fbb2e71c7a481c86293a031c9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: send overrides for everything that is publicly visible in the conf</title>
<updated>2021-06-23T13:12:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-23T12:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=136d60606a1e01eb68ed984de63b7a55f8966075'/>
<id>urn:sha1:136d60606a1e01eb68ed984de63b7a55f8966075</id>
<content type='text'>
Send a generic “overrides” list to the server, containing options in
text, on the format “section.key=value”.

This reduces the size of the base client/server protocol packet, as
well as opens up for a generic -o,--override command line option (not
yet implemented).
</content>
</entry>
<entry>
<title>server: use config_clone() + config_override_apply()</title>
<updated>2021-06-23T13:12:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-23T11:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa5cde6ce1a7c755c1d8215abdf46e5ec728392c'/>
<id>urn:sha1:fa5cde6ce1a7c755c1d8215abdf46e5ec728392c</id>
<content type='text'>
When the connecting client overrides config options, clone the
server’s configuration, and then convert the overridden options to
config overrides, and apply them using config_override_apply().

When destroying the client, free the cloned config using the regular
config_free().
</content>
</entry>
<entry>
<title>server: don’t clone the config unless we’re going to modify it</title>
<updated>2021-06-17T16:11:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-17T16:11:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7d2770f154906a3452867f15af74008057430265'/>
<id>urn:sha1:7d2770f154906a3452867f15af74008057430265</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main/client: change exit code</title>
<updated>2021-05-04T08:41:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-05-01T08:46:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=da923100cad1000252c87b02a4132ce5878a28ec'/>
<id>urn:sha1:da923100cad1000252c87b02a4132ce5878a28ec</id>
<content type='text'>
* foot exits with -26/230
* footclient exits with -36/220

This is to give each application a range of exit codes. Currently
unused, but we may want to change this in the future.
</content>
</entry>
<entry>
<title>foot/footclient: use a custom exit code when foot/footclient fail to run</title>
<updated>2021-05-04T08:40:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-30T20:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a1b41bd186147f3f028030e9079821d0bfa7b3f6'/>
<id>urn:sha1:a1b41bd186147f3f028030e9079821d0bfa7b3f6</id>
<content type='text'>
Normally, foot and footclient uses the exit code from the client
application (i.e. the shell).

However, foot (or footclient) itself may fail to run; if run outside
of a Wayland session, or no fonts are installed, or the client
application/shell cannot be found (“foot lsdjfldsjf”) etc.

Up until now, there has been no way to differentiate these kind of
failures from the client application exiting with code 1.

This patch changes foot’s failure exit code to -27/229, and
footclient’s to -28/228. Note that footclient will exit with foot’s
-27/229 if footclient ran successfully, but the foot server failed to
instantiate a new window.

Closes #466.
</content>
</entry>
<entry>
<title>fix code style issues and memory leak</title>
<updated>2021-03-13T11:01:38Z</updated>
<author>
<name>Felipe Trzaskowski</name>
<email>felipe.trzaskowski@gmail.com</email>
</author>
<published>2021-03-13T10:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2dc13cc13b0a8367c12dd217e3e5e08176e2e7ce'/>
<id>urn:sha1:2dc13cc13b0a8367c12dd217e3e5e08176e2e7ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add option to detach the client process from the terminal instance</title>
<updated>2021-03-13T08:48:55Z</updated>
<author>
<name>Felipe Trzaskowski</name>
<email>felipe.trzaskowski@gmail.com</email>
</author>
<published>2021-03-12T23:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3ed93142667f052909beae43463501df37a4dcca'/>
<id>urn:sha1:3ed93142667f052909beae43463501df37a4dcca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: send exit-code -1 when we fail to instantiate a new terminal</title>
<updated>2021-02-12T20:42:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T08:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=64a60d12f0f8b8cec55795818b0b7d008b66ae3c'/>
<id>urn:sha1:64a60d12f0f8b8cec55795818b0b7d008b66ae3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client/server: switch to POSIX header for sockaddr_un</title>
<updated>2021-01-21T11:00:02Z</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2021-01-19T14:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=567a8de3b08392f049b6a2e3ce7d2a5a8ba4e0ed'/>
<id>urn:sha1:567a8de3b08392f049b6a2e3ce7d2a5a8ba4e0ed</id>
<content type='text'>
client.c:13:10: fatal error: 'linux/un.h' file not found
 #include &lt;linux/un.h&gt;
          ^~~~~~~~~~~~
client.c:195:24: error: variable has incomplete type 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
                       ^
client.c:195:12: note: forward declaration of 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
           ^
server.c:11:10: fatal error: 'linux/un.h' file not found
 #include &lt;linux/un.h&gt;
          ^~~~~~~~~~~~
server.c:307:24: error: variable has incomplete type 'struct sockaddr_un'
    struct sockaddr_un addr;
                       ^
server.c:307:12: note: forward declaration of 'struct sockaddr_un'
    struct sockaddr_un addr;
           ^
server.c:347:24: error: variable has incomplete type 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
                       ^
server.c:347:12: note: forward declaration of 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
           ^
server.c:394:24: error: variable has incomplete type 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
                       ^
server.c:394:12: note: forward declaration of 'struct sockaddr_un'
    struct sockaddr_un addr = {.sun_family = AF_UNIX};
           ^
</content>
</entry>
<entry>
<title>debug: rename assert() to xassert(), to avoid clashing with &lt;assert.h&gt;</title>
<updated>2021-01-16T20:16:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-01-16T20:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e56136ce1192d04a52b01ccb41284f0b7896430e'/>
<id>urn:sha1:e56136ce1192d04a52b01ccb41284f0b7896430e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: replace union in config struct with simple width/height members</title>
<updated>2020-11-30T02:24:38Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-30T02:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=adde947fc5ffc3d143040a984d0907262ac279bc'/>
<id>urn:sha1:adde947fc5ffc3d143040a984d0907262ac279bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add "--window-size-pixels" and "--window-size-chars" options</title>
<updated>2020-11-22T18:52:28Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-22T00:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=748f98e0c0e5629b24b7bb9db6baa0e40fc325b9'/>
<id>urn:sha1:748f98e0c0e5629b24b7bb9db6baa0e40fc325b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: avoid doing unaligned struct accesses</title>
<updated>2020-11-21T19:47:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T19:47:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f4de500a18e6d14549a1ab01da2acefbf2afcc00'/>
<id>urn:sha1:f4de500a18e6d14549a1ab01da2acefbf2afcc00</id>
<content type='text'>
</content>
</entry>
</feed>
