<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/main.c, branch 1.4.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-07-13T12:17:55Z</updated>
<entry>
<title>main: free 'cwd' at exit</title>
<updated>2020-07-13T12:17:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-13T12:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=74c3b4be1ad846aeff1ae372317e1a0857c63e44'/>
<id>urn:sha1:74c3b4be1ad846aeff1ae372317e1a0857c63e44</id>
<content type='text'>
This fixes an issue where e.g. failing to initialize the Wayland
backend would leave cwd un-free:d
</content>
</entry>
<entry>
<title>term: don't use deprecated fcft_size_adjust()</title>
<updated>2020-07-07T08:44:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-07T08:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69e4213e4a68a969e34dfad1807b49430c8606fb'/>
<id>urn:sha1:69e4213e4a68a969e34dfad1807b49430c8606fb</id>
<content type='text'>
When resizing the font on-the-fly, we now do a complete
font-reload (this is basically what fcft_size_adjust() did anyway).

To get the correct size, we maintain the current size ourselves.

We get the initial size from the user-provided font pattern, by
converting the string to an FcPattern, and using FcPatternGet() to
retrieve both the FC_SIZE and FC_PIXEL_SIZE attributes. These
attributes are then removed from the pattern, and the pattern is
converted back to a string.

The terminal struct maintains a copy of the font sizes. These are
initially set to the sizes from the config.

When the user resizes the font, the terminal-local sizes are
adjusted. To ensure the primary and user-configured fallback fonts are
resizes equally much, convert any pixel sizes to point sizes at this
point.

When the font size is reset, we reload the font sizes from the
config (thus once again returning actual pixel-sizes, if that's what
the user has configured).
</content>
</entry>
<entry>
<title>main: log architecture at startup</title>
<updated>2020-06-09T18:35:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-09T18:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7fb2da3cf91c793fda3793f4d023f2f0387cf9cb'/>
<id>urn:sha1:7fb2da3cf91c793fda3793f4d023f2f0387cf9cb</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>reaper: new module, uses a signalfd to wait() on child processes</title>
<updated>2020-05-21T18:15:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-21T18:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f49742ebba769e5024f178428d6e7ad048f18e77'/>
<id>urn:sha1:f49742ebba769e5024f178428d6e7ad048f18e77</id>
<content type='text'>
Use a signalfd to listen for SIGCHLD signals.

When we receive a SIGCHLD over the signalfd, reap all dead children by
looping over all registered child PIDs and call waitpid(WNOHANG) on
them.
</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>main: only set LC_CTYPE</title>
<updated>2020-04-29T18:09:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-29T18:09:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=242bcb9550456f24d0f4134dc232bad3fc7f27d3'/>
<id>urn:sha1:242bcb9550456f24d0f4134dc232bad3fc7f27d3</id>
<content type='text'>
This is the only locale variable we need. This ensures LC_NUMERIC in
particular remains as "C", which is needed by fcft when instantiating
new fonts.
</content>
</entry>
<entry>
<title>main: log locale</title>
<updated>2020-04-21T17:02:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-21T17:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=77af910330388fa96d0183ddc3ee73b7be221148'/>
<id>urn:sha1:77af910330388fa96d0183ddc3ee73b7be221148</id>
<content type='text'>
</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>Merge branch 'master' into scroll-damage-performance</title>
<updated>2020-03-27T20:16:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-27T20:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=598ac4bcd0690995fbf94c7a2b17564dbf69a5f1'/>
<id>urn:sha1:598ac4bcd0690995fbf94c7a2b17564dbf69a5f1</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>foot: add --maximized and --fullscreen command line options</title>
<updated>2020-03-26T18:47:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-26T18:47:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=728e23863c301bce84b3000987e34f3de2c41f1f'/>
<id>urn:sha1:728e23863c301bce84b3000987e34f3de2c41f1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shm: make max pool size user configurable (via a 'tweak' setting)</title>
<updated>2020-03-25T19:48:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-25T19:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0baa249d8b59007913dbf7db8aa8d94e6c2b9d44'/>
<id>urn:sha1:0baa249d8b59007913dbf7db8aa8d94e6c2b9d44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: log version at startup</title>
<updated>2020-03-15T10:41:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-15T10:41:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ef5bacc6187e0b66c44cd32d7e26411b32d662b1'/>
<id>urn:sha1:ef5bacc6187e0b66c44cd32d7e26411b32d662b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: free config if we fail to load the config</title>
<updated>2020-03-09T19:04:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-09T19:04:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c993148635ec80e64728c7b86069a4572faf448b'/>
<id>urn:sha1:c993148635ec80e64728c7b86069a4572faf448b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: check return value of getcwd()</title>
<updated>2020-02-20T17:46:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=eed5052ce855652ed067ea861b588b327535af75'/>
<id>urn:sha1:eed5052ce855652ed067ea861b588b327535af75</id>
<content type='text'>
</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>config: add 'login-shell' option</title>
<updated>2020-02-20T17:35:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6af4b87ec5067380a46adad4ce3c862db155c619'/>
<id>urn:sha1:6af4b87ec5067380a46adad4ce3c862db155c619</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: add --login-shell command line option</title>
<updated>2020-02-20T17:34:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d3071b817e7bcb8d2d180c7f0fc78617d403b556'/>
<id>urn:sha1:d3071b817e7bcb8d2d180c7f0fc78617d403b556</id>
<content type='text'>
</content>
</entry>
</feed>
