<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.5.4</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.4</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.4'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-12-01T18:46:14Z</updated>
<entry>
<title>keymap: add ‘CSI 27;&lt;mod&gt;;27~’ escapes for Esc with modifiers</title>
<updated>2020-12-01T18:46:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-28T10:50:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9a33559fdaa4868ec84de673973cc4a2834940a2'/>
<id>urn:sha1:9a33559fdaa4868ec84de673973cc4a2834940a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: update contributors</title>
<updated>2020-12-01T18:44:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-21T21:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7430d03c6d4d6ef18fad4f48a2ca318ab765d492'/>
<id>urn:sha1:7430d03c6d4d6ef18fad4f48a2ca318ab765d492</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sixel: fix crash when an explicit sixel size had a height less than 6 pixels</title>
<updated>2020-12-01T18:42:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-23T18:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ee3935c371370ec10fab04efbf9f7b60374b2a86'/>
<id>urn:sha1:ee3935c371370ec10fab04efbf9f7b60374b2a86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: fix handling of "-m" command-line flag</title>
<updated>2020-12-01T18:42:19Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-11-22T16:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=20910abf365ec376761112d1e5cf00484f8600c0'/>
<id>urn:sha1:20910abf365ec376761112d1e5cf00484f8600c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymap: fix alt+return combos</title>
<updated>2020-12-01T18:41:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-19T18:20:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9c7cded616c2fadfd0e80c14381525d7aa9a4b4d'/>
<id>urn:sha1:9c7cded616c2fadfd0e80c14381525d7aa9a4b4d</id>
<content type='text'>
All alt+return combos mapped to the same escape sequence as alt+return
itself.

With this patch, alt+&lt;mod(s)&gt;+return map to a standard ‘CSI 27;x;13~’
sequence.
</content>
</entry>
<entry>
<title>keymap: use same lookup table for Tab and ISO_Left_Tab</title>
<updated>2020-12-01T18:41:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-19T18:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3a3616af962bcd53c245e648cc73185584d79a5d'/>
<id>urn:sha1:3a3616af962bcd53c245e648cc73185584d79a5d</id>
<content type='text'>
With XKB, Shift+Tab maps to XKB_KEY_ISO_Left_Tab, not
XKB_Key_Tab. Previously, we had two different lookup tables for the
two.

The tab table was correctly populated, while the ISO-left tab
wasn’t. As a result, all Shift+Tab combos (except Shift+Tab itself)
was wrong, and resulted in the same escape sequence as Shift+Tab.

Fix by using the same table for both tab and ISO-left tab.

Closes #210
</content>
</entry>
<entry>
<title>config: enable allow-overflowing-double-width-glyphs by default</title>
<updated>2020-12-01T18:40:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-13T16:49:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3526af34d721a0ca35e02c958556e642e13c54a9'/>
<id>urn:sha1:3526af34d721a0ca35e02c958556e642e13c54a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: fix link to readme#keypad</title>
<updated>2020-12-01T18:40:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-12T17:20:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d86b6b30314bb41af81aa6293e07810b39ac6dea'/>
<id>urn:sha1:d86b6b30314bb41af81aa6293e07810b39ac6dea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>readme/doc:foot.1: document the (new) keypad behavior</title>
<updated>2020-12-01T18:40:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-11T17:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8970c7ea1801032ffc44919dca5e4faef77449a6'/>
<id>urn:sha1:8970c7ea1801032ffc44919dca5e4faef77449a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: preempt render scheduling in ‘configure’ events</title>
<updated>2020-12-01T18:35:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-10T18:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3031ddfc16bbe39b5fe324b0495041c59245347c'/>
<id>urn:sha1:3031ddfc16bbe39b5fe324b0495041c59245347c</id>
<content type='text'>
A configure event must be “committed”. In case of resizing, that means
rendering a new frame and committing that surface.

render_resize() will resize the grid and *schedule* a render
refresh. However, if one is already pending, the refresh will take a
very (relatively) long time - until the next frame callback is
received.

This poses a problem when the window is hidden, since in this case,
the frame callback *never* comes. This in turn means we fail to commit
a new surface in response to the ‘configure’ event. And that means the
compositor needs to wait for a transaction timeout before continuing.

The end effect is very slow and jerky window resizing when a hidden
foot window is being resized.

This can happen in tiled compositors, like Sway, where a window can be
tabbed (and thus invisible), but still resized when its container is
resized.

Closes #190
</content>
</entry>
<entry>
<title>changelog: add entry for 1.5.4</title>
<updated>2020-12-01T18:33:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-01T18:33:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99b3e20126930e44aae97aee51afda6feeac2ec8'/>
<id>urn:sha1:99b3e20126930e44aae97aee51afda6feeac2ec8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: explicitly set direction when right-click extending</title>
<updated>2020-11-06T19:09:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-04T18:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66f846d72324ecb030236e3dd0b7001c0840a7a5'/>
<id>urn:sha1:66f846d72324ecb030236e3dd0b7001c0840a7a5</id>
<content type='text'>
Fixes an issue where right-click-and-dragging to extend a selection
caused one cell being removed from the selection.

Closes #180
</content>
</entry>
<entry>
<title>input: don’t use seat-&gt;kbd_focus as terminal when processing a key press</title>
<updated>2020-11-06T19:09:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-03T18:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c512dc4490b552c535636563db28b74b258ec0fc'/>
<id>urn:sha1:c512dc4490b552c535636563db28b74b258ec0fc</id>
<content type='text'>
When converting mouse scroll events to keyboard input (in alternate
scroll mode), we need to use seat-&gt;mouse_focus, not seat-&gt;kbd_focus.

To enable this, break out key press/release handling code to a
separate function that takes an explicit term argument. Call this
function from keyboard_key(), input_repeat() and in alternate scroll
mode.

Closes #179
</content>
</entry>
<entry>
<title>tiocswinsz: fix compilation error on e.g. ppc64</title>
<updated>2020-11-06T19:08:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-29T17:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=273f105af5861e35f58b6a37e9b1b576dd9adaec'/>
<id>urn:sha1:273f105af5861e35f58b6a37e9b1b576dd9adaec</id>
<content type='text'>
On some platforms, TIOCSWINSZ has a very large value, &gt;
0x80000000.

On some platforms, the `request` argument to `ioctl(3)` is an `int`.

For platforms where both of the above is true, gcc will warn (and
error out if compiled with `-Werror`) on:

  ioctl(fd, TIOCSWINSZ, ...)

To silence this warning, we need to cast `TIOCSWINSZ` to an
integer.

However, doing this on platforms where `request` is an `unsigned long`
will result in `TIOCSWINSZ` being sign-extended (and thus we end up
with an invalid value).

It seems that casting to `unsigned int` works in both cases; it
silences the long -&gt; int conversion warning, while also preserving the
correct value in all cases.
</content>
</entry>
<entry>
<title>input: handle XKB errors</title>
<updated>2020-11-06T19:08:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=30f23a3b743525bf7daf4334a549030956146b15'/>
<id>urn:sha1:30f23a3b743525bf7daf4334a549030956146b15</id>
<content type='text'>
* Don’t de-reference the xkb context/keymap/state if we failed to
  instantiate them.
* Don’t try to send a translated utf8 key sequence if the translation
  failed.
* Handle xkb_compose_state_get_utf8() and xkb_state_key_get_utf8()
  returning more than 64 bytes.

This _may_ fix #171.
</content>
</entry>
<entry>
<title>input: don’t allow diagonal resize when tiled</title>
<updated>2020-11-06T19:08:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=90544ef391f0c546e831255036a939ac5314f6a9'/>
<id>urn:sha1:90544ef391f0c546e831255036a939ac5314f6a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: properly restore window size when being un-tiled</title>
<updated>2020-11-06T19:07:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T18:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ebd4a32768ba1e587fb884b58819605f4ef87c18'/>
<id>urn:sha1:ebd4a32768ba1e587fb884b58819605f4ef87c18</id>
<content type='text'>
Bind to xdg-shell version 2 if available, as this enables us to
track our window’s ‘tiled’ state in the ‘configure’ events.

This in turn allows us to stash the ‘old’ window size when being
tiled, to be used again when restoring the window size when un-tiled.
</content>
</entry>
<entry>
<title>input: don’t crash if xkbcommon cannot find a compose file</title>
<updated>2020-11-06T19:07:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-19T16:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9e7783596aad33fcb5564186feb93d94e465627b'/>
<id>urn:sha1:9e7783596aad33fcb5564186feb93d94e465627b</id>
<content type='text'>
Handle xkb_compose_table_new_from_locale() returning NULL. When this
happens, log a warning that “dead keys” will be disabled, and make
sure to never de-reference the compose table pointer.

Closes #170
</content>
</entry>
<entry>
<title>changelog: prepare for 1.5.3</title>
<updated>2020-11-06T19:06:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-06T19:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e85ace0b0d0bc50cd8ddfbd27586b298f22cb7ca'/>
<id>urn:sha1:e85ace0b0d0bc50cd8ddfbd27586b298f22cb7ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: regression: don’t pass on mouse click to application if we consumed it</title>
<updated>2020-10-13T06:02:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-13T06:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fdb7e403555df5fdcb7daf23f665bdec13b02500'/>
<id>urn:sha1:fdb7e403555df5fdcb7daf23f665bdec13b02500</id>
<content type='text'>
When we ‘consume’ a mouse button event (i.e. when we have a shortcut
mapped to it), the event should *not* be passed on to the client
application.

In 5f64c5c33590a41afd3f621870c6abd89b859073, button handling was
refactored and unfortunately introduced a regression where we once
again started passing consumed button presses to the client
application.

Fixes #168
</content>
</entry>
</feed>
