<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/main.c, branch 1.2.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-02-20T17:46:45Z</updated>
<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>
<entry>
<title>main: bug: -t requires an argument</title>
<updated>2020-02-15T20:05:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-15T20:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f0887df5c5b5b7fde8f2f44ab788f6c47241dc4d'/>
<id>urn:sha1:f0887df5c5b5b7fde8f2f44ab788f6c47241dc4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: add --print-pid=FILE|FD</title>
<updated>2020-02-05T18:54:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-05T18:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=82b8853f17b943901776eddcb857089384a61dda'/>
<id>urn:sha1:82b8853f17b943901776eddcb857089384a61dda</id>
<content type='text'>
When specified, our PID is written to the specified file (or FD),
after we've successfully started up.
</content>
</entry>
<entry>
<title>main: add --print-pid=FILE|FD</title>
<updated>2020-02-05T18:53:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-05T18:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=00d76784f42408bdf46a8b1e753536f033fd9e08'/>
<id>urn:sha1:00d76784f42408bdf46a8b1e753536f033fd9e08</id>
<content type='text'>
When specified, our PID is written to the specified file (or FD),
after we've successfully started up.

Only applicable in server mode.
</content>
</entry>
<entry>
<title>Implement --hold</title>
<updated>2020-02-03T18:58:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-03T18:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8f4ec9aa479c5414661a7507543e6a59e4e1f6da'/>
<id>urn:sha1:8f4ec9aa479c5414661a7507543e6a59e4e1f6da</id>
<content type='text'>
When specified, we don't exit when the slave/client process exits.
</content>
</entry>
<entry>
<title>render: trigger terminal refreshes in an FDM hook</title>
<updated>2020-01-04T18:49:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-04T18:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99f471d738e0c2a0dcb61a559be3be512659d113'/>
<id>urn:sha1:99f471d738e0c2a0dcb61a559be3be512659d113</id>
<content type='text'>
In some cases, we end up calling render_refresh() multiple times in
the same FDM iteration. This means will render the first update
immediately, and then set the 'pending' flag, causing the updated
content to be rendered in the next frame.

This can cause flicker, or flashes, since we're presenting one or more
intermediate frames until the final content is shown.

Not to mention that it is inefficient to render multiple frames like
this.

Fix by:

* render_refresh() only sets a flag in the terminal

* install an FDM hook; this hook loops all terminals and executes what
  render_refresh() _used_ to do (that is, render immediately if we're
  not waiting for a frame callback, otherwise set 'pending' flag). for
  all terminals that have the 'refresh_needed' flag set.
</content>
</entry>
<entry>
<title>wayland: only bind to 'presentation' interface if -p,--presentation-timings</title>
<updated>2019-12-31T15:12:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-31T15:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b100a82c2a1aa75bb8a27e2d2a1235b36359a161'/>
<id>urn:sha1:b100a82c2a1aa75bb8a27e2d2a1235b36359a161</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: optionally use the presentation time protocol to measure input lag</title>
<updated>2019-12-31T14:39:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-31T14:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a074190960130b6136a398d83da43fd1e8ec7e2'/>
<id>urn:sha1:5a074190960130b6136a398d83da43fd1e8ec7e2</id>
<content type='text'>
This adds a flag, -p,--presentation-timings, that enables input lag
measuring using the presentation time Wayland protocol.

When enabled, we store a timestamp when we *send* a key to the
slave. Then, when we commit a frame for rendering to the compositor,
we request presentation feedback. We also store a timestamp for when
the frame was committed.

The 'presented' callback then looks at the input and commit
timestamps, and compares it with the presented timestamp.

The delay is logged at INFO when the delay was less than one frame
interval, at WARN when it was one frame interval, and at ERR when it
was two or more frame intervals.

We also update statistic counters that we log when foot is shut down.
</content>
</entry>
<entry>
<title>main: let getopt_long() print error message</title>
<updated>2019-12-29T17:35:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-29T17:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ea1d072f52665b2c0b38996b04c5d87d48c8a690'/>
<id>urn:sha1:ea1d072f52665b2c0b38996b04c5d87d48c8a690</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: third member in "struct option" is a pointer</title>
<updated>2019-12-29T17:27:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-29T17:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=58a7ab76ba0427b85e38a483afe5919ab39e736c'/>
<id>urn:sha1:58a7ab76ba0427b85e38a483afe5919ab39e736c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: use a single printf() when printing usage</title>
<updated>2019-12-29T17:26:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-29T17:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=67bacc2a947b092f1434c4e5ff526acc3c43dd07'/>
<id>urn:sha1:67bacc2a947b092f1434c4e5ff526acc3c43dd07</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>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>
<entry>
<title>main: verify locale is UTF-8</title>
<updated>2019-12-19T06:25:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-19T06:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4c924ab14a032a6fcb695059463ee1cd7734b77a'/>
<id>urn:sha1:4c924ab14a032a6fcb695059463ee1cd7734b77a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: enable user to specify path to configuration file</title>
<updated>2019-12-17T18:08:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-17T18:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=caa76bcdeadad9ddf383b8aae542e16054a574de'/>
<id>urn:sha1:caa76bcdeadad9ddf383b8aae542e16054a574de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: remove unused macros</title>
<updated>2019-12-17T18:08:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-17T18:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d15631e3deb6b0e0f72fba9b9eed228ffa0022fd'/>
<id>urn:sha1:d15631e3deb6b0e0f72fba9b9eed228ffa0022fd</id>
<content type='text'>
</content>
</entry>
</feed>
