<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/server.c, branch 1.6.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-11-30T02:24:38Z</updated>
<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>
<entry>
<title>server: verify strings are NULL terminated</title>
<updated>2020-11-21T19:27:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T19:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f2a88d60716c35cee11c4e878f990c05b86833cb'/>
<id>urn:sha1:f2a88d60716c35cee11c4e878f990c05b86833cb</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>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>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>term: don't double fork new terminal windows</title>
<updated>2020-05-21T18:17:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-21T18:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=789617d5ad3f4d7019e3086d515aa44f111dd0d8'/>
<id>urn:sha1:789617d5ad3f4d7019e3086d515aa44f111dd0d8</id>
<content type='text'>
Instead, register their PIDs with the new reaper module and let it
handle them.
</content>
</entry>
<entry>
<title>server: don't do misaligned loads</title>
<updated>2020-04-18T10:20:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-18T10:20:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=02edee78b27cabc2af590d7ccd2d246b53eaabd8'/>
<id>urn:sha1:02edee78b27cabc2af590d7ccd2d246b53eaabd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix clang warnings</title>
<updated>2020-04-12T16:20:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-12T16:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1776f8bf1ecc2daec2573fb45a7dcbbbf7519cd8'/>
<id>urn:sha1:1776f8bf1ecc2daec2573fb45a7dcbbbf7519cd8</id>
<content type='text'>
All are printf() formatter related. Even if a variable is e.g. a
'short', when used in an expression like '&lt;variable&gt; - 1' it is
promoted to an 'int'.

Closes #16
</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>server: purge *all* buffers when a terminal shuts down</title>
<updated>2020-03-18T15:53:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-18T15:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f7572d4ab10d4f69c3c9097aebc1e2eb13ff798b'/>
<id>urn:sha1:f7572d4ab10d4f69c3c9097aebc1e2eb13ff798b</id>
<content type='text'>
Previously we only purged the main grid buffers. Now we also purge the
search buffers and the CSD buffers.
</content>
</entry>
<entry>
<title>slave: prefix argv[0] with a '-' when spawning a login-shell</title>
<updated>2020-02-20T17:36:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b5efe984bbfec151b70d3450f4f18243313de497'/>
<id>urn:sha1:b5efe984bbfec151b70d3450f4f18243313de497</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "server: use edge-triggered FDM handler for the client connections"</title>
<updated>2020-01-10T18:49:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-10T18:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ed8d7f4bae3c2601e6bb997142f26d30f7b4a1ff'/>
<id>urn:sha1:ed8d7f4bae3c2601e6bb997142f26d30f7b4a1ff</id>
<content type='text'>
This reverts commit 9141b8a6573f973f97aa1615a8cc0c488cfd77e7.
</content>
</entry>
<entry>
<title>server: use edge-triggered FDM handler for the client connections</title>
<updated>2020-01-10T18:30:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-10T18:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9141b8a6573f973f97aa1615a8cc0c488cfd77e7'/>
<id>urn:sha1:9141b8a6573f973f97aa1615a8cc0c488cfd77e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: be more resilient against bad behaving clients</title>
<updated>2020-01-10T18:27:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-10T18:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=629a625422615ca38732452b2a54fd59882789d4'/>
<id>urn:sha1:629a625422615ca38732452b2a54fd59882789d4</id>
<content type='text'>
Make both the server listening socket and the connecting client
sockets non-blocking.

Then, when reading the initial length of the setup packet, handle read
errors from partial reads separately.

Assume the client writes all four bytes of the 'length' field at once,
and bail out if we are unable to read those 4 bytes.

Limit the maximum setup packet size to 128K. This is to prevent
clients from pretending the setup packet is insanely large, causing us
to fail to malloc.
</content>
</entry>
<entry>
<title>server: verify CWD string length matches the indicated length</title>
<updated>2019-12-21T19:05:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T19:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c91ef4c512171ba849ada2353c227d273b723806'/>
<id>urn:sha1:c91ef4c512171ba849ada2353c227d273b723806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: move forward the indicated number of TERM bytes</title>
<updated>2019-12-21T19:05:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T19:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cd382a467ce872f3413304d8ecc6f050cfe8a4cf'/>
<id>urn:sha1:cd382a467ce872f3413304d8ecc6f050cfe8a4cf</id>
<content type='text'>
</content>
</entry>
</feed>
