<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/server.c, branch releases/1.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-12-14T11:59:38Z</updated>
<entry>
<title>server: use socket-path from config</title>
<updated>2019-12-14T11:59:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T11:59:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=89ea61cf0ca033b1e3bf0b312c950b57d235de5c'/>
<id>urn:sha1:89ea61cf0ca033b1e3bf0b312c950b57d235de5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: log socket packet</title>
<updated>2019-12-13T21:28:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-13T21:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6ef65058cf0b5904a13960692e23ee92579814c4'/>
<id>urn:sha1:6ef65058cf0b5904a13960692e23ee92579814c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing includes</title>
<updated>2019-12-01T18:22:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T18:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b5780e735e5b73ba5aa50d53af698e012aaf3f74'/>
<id>urn:sha1:b5780e735e5b73ba5aa50d53af698e012aaf3f74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tllist: is now an external "library", so use &lt;&gt; includes</title>
<updated>2019-11-17T18:19:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T18:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=29cccadd1d9c372b3861bb0c285628bb374da2ba'/>
<id>urn:sha1:29cccadd1d9c372b3861bb0c285628bb374da2ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: disable debug output</title>
<updated>2019-11-05T13:36:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T13:36:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=54f750c494b1a8b42a4e27edf3c6e6c025127505'/>
<id>urn:sha1:54f750c494b1a8b42a4e27edf3c6e6c025127505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/client: harden reading of initialization data, and make async</title>
<updated>2019-11-05T09:08:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T09:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9abc5ca971b12c53f4d424d2bb3345f5a2b2007f'/>
<id>urn:sha1:9abc5ca971b12c53f4d424d2bb3345f5a2b2007f</id>
<content type='text'>
* Client terminal initialization data is now received
  asynchronously. To facilitate this, a couple of minor changes to the
  protocol was made:
    - The client now starts with sending a 4-byte unsigned integer
      with the *total* size of the initialization data (*not*
      including the size field itself.
    - Strings (TERM variable + argv) are now sent NULL-terminated

* The server allocates a single buffer, and fills it
  asynchronously. When full (as indicated by the initial 'total size'
  integer), we parse it (taking care not to read outside boundaries
  etc, and verifies the lengths (of the TERM variable and argv array)
  indicated by the client matches the actual lengths of the strings
  received.

* The server now ignores 'unexpected' data received from the client,
  after the terminal has been instantiated.
</content>
</entry>
<entry>
<title>server: workaround evil clients</title>
<updated>2019-11-05T08:31:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T08:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b3fe4492c78124949bcba8c215e65388c116602'/>
<id>urn:sha1:5b3fe4492c78124949bcba8c215e65388c116602</id>
<content type='text'>
If the clients attempt to send more data after we've instantiated the
terminal, just consume the data but ignore it.
</content>
</entry>
<entry>
<title>server: don't cache argc/argv in client context</title>
<updated>2019-11-05T08:31:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T08:31:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5f77f0e999c56047c007010a649e1bf1f198a5d2'/>
<id>urn:sha1:5f77f0e999c56047c007010a649e1bf1f198a5d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded include</title>
<updated>2019-11-03T12:07:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a8cb6c531ec33159e49aa5ee4d4eddf15e0227ec'/>
<id>urn:sha1:a8cb6c531ec33159e49aa5ee4d4eddf15e0227ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: set CLOEXEC | NONBLOCK directly in socket() call</title>
<updated>2019-11-03T00:48:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T00:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a326427caf9da174f6dda7664cdf0e7b769b9933'/>
<id>urn:sha1:a326427caf9da174f6dda7664cdf0e7b769b9933</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into async-ptmx</title>
<updated>2019-11-03T00:14:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T00:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b4c810cf509e2ee90a476f48612e12f195f3a5b1'/>
<id>urn:sha1:b4c810cf509e2ee90a476f48612e12f195f3a5b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: FD_CLOEXEC is a file descriptor flag, not a file status flag</title>
<updated>2019-11-03T00:11:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T00:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8d9ad96b52e5eeeab61a80e09608584172251c72'/>
<id>urn:sha1:8d9ad96b52e5eeeab61a80e09608584172251c72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc: fdm already logs failures</title>
<updated>2019-11-02T23:52:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T23:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=79c3121aa34dbee4c3557fa058a864f229f8e313'/>
<id>urn:sha1:79c3121aa34dbee4c3557fa058a864f229f8e313</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: server_destroy(): unlink UNIX socket</title>
<updated>2019-11-02T22:32:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T22:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1543c71f7887f3642875cfcd5fc6f18830f540ed'/>
<id>urn:sha1:1543c71f7887f3642875cfcd5fc6f18830f540ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: use a non-blocking socket when trying to connect</title>
<updated>2019-11-02T22:25:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T22:25:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ad26914631f1882eb614bef836ee796438949cdd'/>
<id>urn:sha1:ad26914631f1882eb614bef836ee796438949cdd</id>
<content type='text'>
When checking of a 'foot --server' instance is already running, we try
to connect to the UNIX socket we're planning on listening on.

In most cases, this will fail hard and fast. But under certain
circumstances, we can get stuck in connect() waiting for a connection
timeout.

Since it should be possible to establish a connection immediately *if*
there's someone actually listening on the socket, rely on the fact
that connect() will fail with a EINPROGRESS if a connection can *not*
be established immediately (and thus no one is listening on it).
</content>
</entry>
<entry>
<title>server: don't get stuck in read() if TERM length is 0</title>
<updated>2019-11-02T11:17:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T11:17:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=338747dc5a3f655dc6b565902f05dd798f975374'/>
<id>urn:sha1:338747dc5a3f655dc6b565902f05dd798f975374</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: don't get stuck in read() if length of argv argument is 0</title>
<updated>2019-11-02T11:16:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T11:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a1ba4cb0104d33ba1d3528d02caf923cc5d909a2'/>
<id>urn:sha1:a1ba4cb0104d33ba1d3528d02caf923cc5d909a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: purge shm buffers when terminal is destroyed</title>
<updated>2019-11-01T23:49:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T23:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=035ace33b63cbb87775653dd1e13f87b38e735a2'/>
<id>urn:sha1:035ace33b63cbb87775653dd1e13f87b38e735a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: add debug logging of client argc/argv</title>
<updated>2019-11-01T23:00:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T23:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=19c099236b4a4134a095e28cad6cc5b01fd9d708'/>
<id>urn:sha1:19c099236b4a4134a095e28cad6cc5b01fd9d708</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client/server: add -t,--term to footclient</title>
<updated>2019-11-01T20:10:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T20:10:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=438d6eaff0b4280492c8a0a161a33daec5de3707'/>
<id>urn:sha1:438d6eaff0b4280492c8a0a161a33daec5de3707</id>
<content type='text'>
</content>
</entry>
</feed>
