<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/server.c, branch releases/1.5</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.5</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.5'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-08-08T19:37:57Z</updated>
<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>
<entry>
<title>server: bug: move forward 2 bytes, not whatever the client sent</title>
<updated>2019-12-21T19:04:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T19:04:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2a58fc27b7935439d35c06e03b7da3f8cdc25d48'/>
<id>urn:sha1:2a58fc27b7935439d35c06e03b7da3f8cdc25d48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: term_init: add 'cwd' argument</title>
<updated>2019-12-21T18:57:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T18:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=39146fac5cb7db4d0b68ba685722ca4713ddf722'/>
<id>urn:sha1:39146fac5cb7db4d0b68ba685722ca4713ddf722</id>
<content type='text'>
This is used when spawning the slave, to set its current working
directory just before we exec() the client.

In a regular foot instance, we set the cwd from getcwd().

In a foot server instance, each connecting client sends its cwd to the
server, and we use that.
</content>
</entry>
<entry>
<title>client/server: client sends its CWD to server</title>
<updated>2019-12-21T18:56:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T18:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=277735db65799aada06a5013fe747a48dfa6040b'/>
<id>urn:sha1:277735db65799aada06a5013fe747a48dfa6040b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: term_spawn_new: always spawn foot/footclient from PATH</title>
<updated>2019-12-21T14:29:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T14:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a484a65fefc89bce0f3b77503ad35bf86f329680'/>
<id>urn:sha1:a484a65fefc89bce0f3b77503ad35bf86f329680</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: term_spawn_new(): new function, spawns a new foot/footclient process</title>
<updated>2019-12-21T14:27:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T14:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=57de9feaa508fdd83c0d08c499232187c5f4b6c1'/>
<id>urn:sha1:57de9feaa508fdd83c0d08c499232187c5f4b6c1</id>
<content type='text'>
Bind ctrl+shift+return to it
</content>
</entry>
</feed>
