<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/client.c, 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:18:26Z</updated>
<entry>
<title>client: explicitly use a 64-bit type for ‘total_len’</title>
<updated>2021-01-23T09:18:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-21T11:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c70694bd8f40a6e0aee38b9d0be821ab18f4db33'/>
<id>urn:sha1:c70694bd8f40a6e0aee38b9d0be821ab18f4db33</id>
<content type='text'>
This fixes an out-of-range comparison in 32-bit builds:

 client.c:289:19: error: result of comparison of constant 4294967296 with expression of type 'size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
        if (total_len &gt;= 1llu &lt;&lt; (8 * sizeof(uint32_t)) ||
            ~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</content>
</entry>
<entry>
<title>client/server: switch to POSIX header for sockaddr_un</title>
<updated>2021-01-23T09:16:19Z</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=dd485d941499703f92515440d3a75e62a7fa81d5'/>
<id>urn:sha1:dd485d941499703f92515440d3a75e62a7fa81d5</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>features: include compile-time enable/disable state of features when printing version</title>
<updated>2020-12-07T19:44:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-04T17:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=77bc7c8b2c61c9eb166fa0050be0b53270475e97'/>
<id>urn:sha1:77bc7c8b2c61c9eb166fa0050be0b53270475e97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add new "--window-size-*" options to docs and CHANGELOG.md</title>
<updated>2020-11-22T18:52:51Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-22T18:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b8fc2e19da50c6e067515fa70d7d45c76406c9ef'/>
<id>urn:sha1:b8fc2e19da50c6e067515fa70d7d45c76406c9ef</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>client: fix handling of "-m" command-line flag</title>
<updated>2020-11-22T16:40:15Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-22T16:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=82caa7bd042491568609753fbd9d0d5e5df21214'/>
<id>urn:sha1:82caa7bd042491568609753fbd9d0d5e5df21214</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add missing options to getopt_long(3) optstring argument</title>
<updated>2020-11-21T20:34:49Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-21T20:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e81388336750a20a2da98a57e9726c8ba1b481e3'/>
<id>urn:sha1:e81388336750a20a2da98a57e9726c8ba1b481e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: we added argv lengths twice</title>
<updated>2020-11-21T19:46:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T19:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=997c6a4ae3fb701caea7b209104723cb287ccc2f'/>
<id>urn:sha1:997c6a4ae3fb701caea7b209104723cb287ccc2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: avoid doing a signed vs. unsigned comparison</title>
<updated>2020-11-21T19:29:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T19:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0b3a84bd9cc6a9756c530b26035d474b81255ddd'/>
<id>urn:sha1:0b3a84bd9cc6a9756c530b26035d474b81255ddd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client/server: simplify setup packet handling</title>
<updated>2020-11-21T19:21:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T19:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fc81f413c040a93fd219699599033e6bc2615438'/>
<id>urn:sha1:fc81f413c040a93fd219699599033e6bc2615438</id>
<content type='text'>
Instead of writing (and logging errors for) every parameter, one at a
time, send all fixed size data in a single struct, followed by all the
variable length data.
</content>
</entry>
<entry>
<title>client: let getopt_long(3) print error messages</title>
<updated>2020-11-10T18:04:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-10T18:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c9de30e2bccf2a92bcb2e791d6875dff6c708b87'/>
<id>urn:sha1:c9de30e2bccf2a92bcb2e791d6875dff6c708b87</id>
<content type='text'>
Closes #191
</content>
</entry>
<entry>
<title>Convert most dynamic allocations to use functions from xmalloc.h</title>
<updated>2020-08-08T19:37:57Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-08T19:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7a77958ba20c2b344be5e66e69e2f212a4bbf6b3'/>
<id>urn:sha1:7a77958ba20c2b344be5e66e69e2f212a4bbf6b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket path</title>
<updated>2020-08-02T11:10:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-02T11:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5e26d3ef470bc1129e7fb442334e34dcbb045d12'/>
<id>urn:sha1:5e26d3ef470bc1129e7fb442334e34dcbb045d12</id>
<content type='text'>
Foot is a Wayland client and cannot be run outside of a Wayland
session. As such, it makes more sense to use $WAYLAND_SESSION instead
of $XDG_SESSION_ID in the default socket path since this makes it
clearer which Wayland session we belong to.

Closes #55.
</content>
</entry>
<entry>
<title>doc: foot.1: fix default path in -s,--server</title>
<updated>2020-08-02T10:32:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-02T10:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f3c301ee8b94c3354080695326ceedc7a3866321'/>
<id>urn:sha1:f3c301ee8b94c3354080695326ceedc7a3866321</id>
<content type='text'>
The documentation incorrectly stated that the default path is
$XDG_RUNTIME_DIR/foot.sock.

The correct default path is

* $XDG_RUNTIME_DIR/foot-$XDG_SESSION_ID.sock
* $XDG_RUNTIME_DIR/foot-no-session.sock
* /tmp/foot.sock

Depending on whether XDG_RUNTIME_DIR and XDG_SESSION_ID has been set
or not.

This also removes the '&lt;&gt;' from the default when XDG_SESSION_ID is not
set.

Closes #53.
</content>
</entry>
<entry>
<title>client/server: implement '--hold' in footclient</title>
<updated>2020-05-26T18:11:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-26T18:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3943cad7edcafafab0b1a5c1aff25ff3518012f4'/>
<id>urn:sha1:3943cad7edcafafab0b1a5c1aff25ff3518012f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main/client: be POSIXLY_CORRECT when parsing command line</title>
<updated>2020-05-08T16:43:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-08T16:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b70f94827b365b44b0d28a8e3768fa9eb4268ca'/>
<id>urn:sha1:5b70f94827b365b44b0d28a8e3768fa9eb4268ca</id>
<content type='text'>
This means command line parsing stops when it encounters the first
nonoption argument.

The result is that one no longer need to use '--' to ensure arguments
are passed to the shell/command, instead of parsed by foot.

That is, instead of

  foot -- sh -c true

one can now do

  foot sh -c true

Arguments to foot *must* go before the command:

  foot --fullscreen sh -c true
</content>
</entry>
<entry>
<title>conf: add 'title' conf option and --title command line option</title>
<updated>2020-04-01T17:59:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T17:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ec7a7684876c06764a583a1cefe2a93f6706e3ca'/>
<id>urn:sha1:ec7a7684876c06764a583a1cefe2a93f6706e3ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: add app-id config option and --app-id command line option</title>
<updated>2020-04-01T16:40:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T16:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d52a870b493c17172766db3d0a76cd8f0c3204c'/>
<id>urn:sha1:4d52a870b493c17172766db3d0a76cd8f0c3204c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add --maximized and --fullscreen</title>
<updated>2020-03-27T20:14:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-27T20:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=758fd9fd58b25ab285868db7f36afdf9378df733'/>
<id>urn:sha1:758fd9fd58b25ab285868db7f36afdf9378df733</id>
<content type='text'>
We now create a copy of the config for each client, and updates it
with the values passed from the client.

Since we're not actually cloning it (and e.g. strdup() all strings
etc) we can't call conf_destroy() to free it, but need to free just
the strings we've replaced.
</content>
</entry>
<entry>
<title>client: log path we actually tried to connect to (and failed)</title>
<updated>2020-03-10T17:06:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-10T17:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9049488acc36db90719357ee5327435baf617f4b'/>
<id>urn:sha1:9049488acc36db90719357ee5327435baf617f4b</id>
<content type='text'>
</content>
</entry>
</feed>
