<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/main.c, branch 1.0.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-12-14T11:59:54Z</updated>
<entry>
<title>main: allow server socket path to be set on the command line</title>
<updated>2019-12-14T11:59:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T11:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=44f24b01bc4fb77806b992e57a6c91121bd93bda'/>
<id>urn:sha1:44f24b01bc4fb77806b992e57a6c91121bd93bda</id>
<content type='text'>
This adds an optional argument to -s,--server that allows the user to
override the default socket path (XDG_RUNTIME_DIR/foot.sock).
</content>
</entry>
<entry>
<title>main: stop initializing a default set of fonts</title>
<updated>2019-12-04T21:01:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-04T21:01:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bafe7cab287f395b9e4b0eb9ee828e22b2b46180'/>
<id>urn:sha1:bafe7cab287f395b9e4b0eb9ee828e22b2b46180</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: font_from_name() no longer accepts a tllist</title>
<updated>2019-12-01T18:22:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T18:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e9fbb371df911947b8effde7a926d23bad6530d8'/>
<id>urn:sha1:e9fbb371df911947b8effde7a926d23bad6530d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: include &lt;fcft/fcft.h&gt;, and use fcft/stride.h instead of local copy</title>
<updated>2019-12-01T13:03:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T13:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=30335ef32ac8d04b4221b5a0988835767f9ea944'/>
<id>urn:sha1:30335ef32ac8d04b4221b5a0988835767f9ea944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: use fcft instead of local copy of font.c/font.h</title>
<updated>2019-12-01T12:43:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T12:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd9c28464db8e3f334819ec9d773bf31ed37c088'/>
<id>urn:sha1:fd9c28464db8e3f334819ec9d773bf31ed37c088</id>
<content type='text'>
</content>
</entry>
<entry>
<title>font: pass dpi=96 to fontconfig</title>
<updated>2019-11-26T18:02:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-26T17:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ae91c53fb2aea05f13d98edc1f80bbb56e1f28f3'/>
<id>urn:sha1:ae91c53fb2aea05f13d98edc1f80bbb56e1f28f3</id>
<content type='text'>
TODO: use actual output PPI. Question is *which* output...
</content>
</entry>
<entry>
<title>log: set syslog facility to LOG_DAEMON when run in server mode</title>
<updated>2019-11-20T18:43:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-20T18:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=55a23a5b290140816a7f7c215ef90c8af1cb82ef'/>
<id>urn:sha1:55a23a5b290140816a7f7c215ef90c8af1cb82ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: mention why we initialize a font set</title>
<updated>2019-11-20T18:27:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-20T18:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4f4ee5b39dd4e9a7cbc71c73ac0f54e72a2169b2'/>
<id>urn:sha1:4f4ee5b39dd4e9a7cbc71c73ac0f54e72a2169b2</id>
<content type='text'>
Since fonts are destroyed and removed from the font cache when the
last instance is destroyed, closing the "last" terminal window in
server mode would destroy the fonts, and their glyph caches.

By instantiating the set in main, we ensure the fonts, and the glyph
caches, remain. This makes launching new terminals (much) faster.

Note that in "normal" (non-server) mode, this isn't really necessary,
but also doesn't have any penalty.
</content>
</entry>
<entry>
<title>fonts: use 'weight' and 'slant', not 'style' when loading fonts</title>
<updated>2019-11-19T16:35:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-19T16:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3c8a87168aa74e19665a2b43e2e242fbc72898b8'/>
<id>urn:sha1:3c8a87168aa74e19665a2b43e2e242fbc72898b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scan-build: fix a couple of minor warnings from a scan-build run</title>
<updated>2019-11-05T09:39:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T09:39:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=15b12f45c69751014f7a96f089ba32a76f97d4a6'/>
<id>urn:sha1:15b12f45c69751014f7a96f089ba32a76f97d4a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: destroy cached SHM buffers *after* terminals have been destroyed</title>
<updated>2019-11-05T08:30:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T08:30:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1c7fb2869d6937f6b7d83b0a2d535c6751bf2c3f'/>
<id>urn:sha1:1c7fb2869d6937f6b7d83b0a2d535c6751bf2c3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: usage for --server now hints about 'footclient'</title>
<updated>2019-11-03T12:46:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=567989e9f35f669aba155801412cbfc33ab21d5e'/>
<id>urn:sha1:567989e9f35f669aba155801412cbfc33ab21d5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: restore signals before calling exec()</title>
<updated>2019-11-03T12:24:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=61dfa1365ea65b3b133153c583a7a7d3764eaadd'/>
<id>urn:sha1:61dfa1365ea65b3b133153c583a7a7d3764eaadd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: ignore SIGHUP in master process</title>
<updated>2019-11-03T12:23:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d26c67e58978cfd66c4e74264977cd0cb8f17a3e'/>
<id>urn:sha1:d26c67e58978cfd66c4e74264977cd0cb8f17a3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: pre-allocate fonts</title>
<updated>2019-11-02T12:50:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T12:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=32129083bdb26df3257d4777bd499cb3c31046ee'/>
<id>urn:sha1:32129083bdb26df3257d4777bd499cb3c31046ee</id>
<content type='text'>
Since fonts are cached, this adds no additional memory. However, it
makes the first terminal window in --server mode start much faster,
since the (primary) fonts have already been loaded.

Fallback fonts are still loaded on-demand.
</content>
</entry>
<entry>
<title>term_init(): initialize slave TERM from term_init() argument</title>
<updated>2019-11-01T20:03:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T20:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0bd2ddd8ad60a77e27cdb459da8e319647fd6f59'/>
<id>urn:sha1:0bd2ddd8ad60a77e27cdb459da8e319647fd6f59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: set TERM environment variable in slave process</title>
<updated>2019-11-01T20:01:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T20:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69d62d3cd2918bee089fc879e381820349497483'/>
<id>urn:sha1:69d62d3cd2918bee089fc879e381820349497483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: implement a --server mode</title>
<updated>2019-11-01T19:39:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T19:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a1efd65746cb0c464fac987e076ec3632e632445'/>
<id>urn:sha1:a1efd65746cb0c464fac987e076ec3632e632445</id>
<content type='text'>
In this mode, foot listens on a UNIX socket and creates terminal
windows when clients connect.

A connecting client sends argc/argv to the server, and the server
instantiates a new terminal window.

When the terminal window is closed, the exit code is sent back to the
client.
</content>
</entry>
<entry>
<title>main: register signal handlers for SIGINT and SIGTERM</title>
<updated>2019-11-01T19:36:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T19:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=32c6ed70699e341256428ffafd214aab1a6f52a2'/>
<id>urn:sha1:32c6ed70699e341256428ffafd214aab1a6f52a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: call user-defined callback when destroying terminal</title>
<updated>2019-11-01T19:34:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T19:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1e41a25f00aab1038486cff37e286fd5c729a72b'/>
<id>urn:sha1:1e41a25f00aab1038486cff37e286fd5c729a72b</id>
<content type='text'>
main uses this to get the exit code of the terminal.
</content>
</entry>
</feed>
