<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.6.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-12-18T13:51:34Z</updated>
<entry>
<title>changelog: prepare for 1.6.0</title>
<updated>2020-12-18T13:51:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-18T13:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8cc179cc53c1c99e4f1e0793259c96f7987b0ca6'/>
<id>urn:sha1:8cc179cc53c1c99e4f1e0793259c96f7987b0ca6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: move entry for dpi-aware up, to make it more visible</title>
<updated>2020-12-18T13:46:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-18T13:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=59e4243f2a93f3003613499af66d48f3b1a382c0'/>
<id>urn:sha1:59e4243f2a93f3003613499af66d48f3b1a382c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: use code/monospace highlighting for foot.ini config options</title>
<updated>2020-12-18T13:46:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-18T13:46:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c1dc38e813e5fad4a1f6f04ae33e1a38e8ebdd8b'/>
<id>urn:sha1:c1dc38e813e5fad4a1f6f04ae33e1a38e8ebdd8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'dpi-aware-when-scaling-factor-is-one'</title>
<updated>2020-12-18T13:42:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-18T13:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5c59e38cf467693d24402751a6460ad6d1f718d9'/>
<id>urn:sha1:5c59e38cf467693d24402751a6460ad6d1f718d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminfo: add status line capabilities: hs, dsl, fsl and tsl</title>
<updated>2020-12-18T12:46:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-18T12:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa93a97a084c458eb70c371bca4da425127b3d13'/>
<id>urn:sha1:fa93a97a084c458eb70c371bca4da425127b3d13</id>
<content type='text'>
* hs  - boolean, signals status line availability
* tsl - to_status_line: begin an OSC 2 sequence (set window title)
* fsl - from_status_line: OSC terminator
* dsl - disable status line: \E]2;\E\\ - clears the window title

Closes #242
</content>
</entry>
<entry>
<title>fonts: size fonts using the scaling factor when output scaling is enabled</title>
<updated>2020-12-17T11:05:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-17T11:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0a821f2ed44f46086650a20a39c28f077d954aa2'/>
<id>urn:sha1:0a821f2ed44f46086650a20a39c28f077d954aa2</id>
<content type='text'>
This extends the new ‘dpi-aware’ option with a new default value,
‘auto’.

When set to ‘auto’, fonts are sized using monitors’ DPI when output
scaling is disabled. When output scaling is enabled, fonts are instead
sized using the scaling factor.

The reasoning here is that a user that has enabled output scaling is
obviously *not* relying on DPI scaling.

Output scaling can also be a way to compensate for different viewing
distances, in which case we do *not* want to break that by using DPI
scaling.

Users can still force DPI-only font sizing by setting ‘dpi-aware=yes’,
or disable it completely by setting ‘dpi-aware=no’.
</content>
</entry>
<entry>
<title>vt: don’t ignore extra private/intermediate characters</title>
<updated>2020-12-16T13:30:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-16T13:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2e137c0a7e747a781ec311c6aad656873072b96c'/>
<id>urn:sha1:2e137c0a7e747a781ec311c6aad656873072b96c</id>
<content type='text'>
Take ‘\E(#0’ for example - this is *not* the same as ‘\E(0’.

Up until now, foot has however treated them as the same escape,
because the handler for ‘\E(0’ didn’t verify there weren’t any _other_
private characters present.

Fix this by turning the ‘private’ array into a single 4-byte
integer. This allows us to match *all* privates with a single
comparison.

Private characters are added to the LSB first, and MSB last. This
means we can check for single privates in pretty much the same way as
before:

  switch (term-&gt;vt.private) {
  case ‘?’:
      ...
      break;
  }

Checking for two (or more) is much uglier, but foot only supports
a *single* escape with two privates, and no escapes with three or
more:

  switch (term-&gt;vt.private) {
  case 0x243f:  /* ‘?$’ */
      ...
      break;
  }

The ‘clear’ action remains simple (and fast), with a single write
operation.

Collecting privates is potentially _slightly_ more complex than
before; we now need mask and compare, instead of simply comparing,
when checking how many privates we already have.

We _could_ add a counter, which would make collecting privates easier,
but this would add an additional write to the ‘clean’ action which is
really bad since it’s in the hot path.
</content>
</entry>
<entry>
<title>csi: implement DECRQM (DEC modes), for real</title>
<updated>2020-12-16T12:57:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-16T12:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=db097891f2c50020cd5f690d0613eacbf4b5f884'/>
<id>urn:sha1:db097891f2c50020cd5f690d0613eacbf4b5f884</id>
<content type='text'>
Previously, we always returned ‘2 - reset’, instead of the actual
state of the requested mode.
</content>
</entry>
<entry>
<title>changelog: ECMA-4*8*</title>
<updated>2020-12-16T09:33:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-16T09:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=37f036f9e94fe266394eb5a3dacfbd75d7c0a03c'/>
<id>urn:sha1:37f036f9e94fe266394eb5a3dacfbd75d7c0a03c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: group ‘bell’ entries together</title>
<updated>2020-12-16T09:32:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-16T09:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=066b2297efe51531825029f18c6392a7f1f1e832'/>
<id>urn:sha1:066b2297efe51531825029f18c6392a7f1f1e832</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config_font_parse(): return fail/success</title>
<updated>2020-12-15T17:55:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-15T17:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0d6b5f522ed755aca8a85c005962fb03232b4c96'/>
<id>urn:sha1:0d6b5f522ed755aca8a85c005962fb03232b4c96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: SGR 21 is “double underline”, not “disable bold” (according to ECMA-48)</title>
<updated>2020-12-14T18:10:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-14T18:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04703c07f0db9e933ceda549f40cf5f30a46a724'/>
<id>urn:sha1:04703c07f0db9e933ceda549f40cf5f30a46a724</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: enabling application synchronized updates clear pending grid refresh</title>
<updated>2020-12-14T18:05:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-14T18:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6c8b034affae251cdb6645633c1b965c67e78850'/>
<id>urn:sha1:6c8b034affae251cdb6645633c1b965c67e78850</id>
<content type='text'>
This fixes issues with de-synchronized frames being rendered; we may
have scheduled a redraw earlier, that hasn’t yet triggered (probably
because we’re waiting for a frame callback), when we enable
application synchronized updates.

This means we risk rendering a partially updated state when the frame
callback finally arrives, if the application hasn’t yet ended its
synchronized update.
</content>
</entry>
<entry>
<title>csi: fix sub-parameter versions of 38/48 SGR escapes</title>
<updated>2020-12-12T19:55:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-12T19:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f321e60303d76c40eeff1bea931fbbead6434ff'/>
<id>urn:sha1:9f321e60303d76c40eeff1bea931fbbead6434ff</id>
<content type='text'>
Well this is embarrassing; the sub-parameter versions of the 38/48 SGR
escapes all required an extra ‘:2’ that wasn’t supposed to be there,
causing all the other sub-parameters to be shifted one step to the
right.

That is, foot expected e.g. 38:2:2:r:g:b, or 38:2:5:idx when the
correct sequences are 38:2:cs:r:g:b and 38:5:idx.

I.e. I mixed up the color-space ID (cs) of 38:2 with *type* of color:
RGB or indexed.

In addition to fixing this, this patch also adds support for a
“bastard” version of the sub-parameter based RGB escapes, where the
color-space identifier has been left out: e.g. 38:2:r:g:b. This
sequence is invalid, but applications tend to “forget” the color-space
ID...
</content>
</entry>
<entry>
<title>input: report mouse drag events also when the pointer is outside the grid</title>
<updated>2020-12-11T20:01:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-11T19:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a1a0b489eec73b8e4823cf210fbebfe1fd1d1efa'/>
<id>urn:sha1:a1a0b489eec73b8e4823cf210fbebfe1fd1d1efa</id>
<content type='text'>
As long as the mouse button was *pressed* while the pointer was inside
the grid, we want to keep reporting motion events until the button is
released.

Even when the pointer moves outside the grid (but in this case, the
reported coordinates are bounded by the grid size).

This patch also tries to improve multi-button handling (i.e. multiple
buttons pressed at the same time), and the events we report to the
client for these, in the following ways:

* Motion events now report the *initial* button. That is, if you start
  a drag operation with the LEFT button, then press RIGHT (before
  releasing LEFT), keep reporting LEFT in the motion events.
* Mouse release events are reported for *any* button, as long as the
  pointer is *inside* the grid, *or*, the button released was the
  button used to start a drag operation.

The last point is important; if we have reported a button press
followed by motion events (i.e. a drag operation), we need to report
the button release, *even* if the pointer is outside the grid.

Note that the client may receive unbalanced button press/release
events in the following ways if the user pressed one, and then a
second button *inside* the grid, then releases the *first*
button (possibly outside the grid), and finally releases the *second*
button *outside* the grid.

In this case, both buttons will report press events. The first button
will report a release event since it is the initial button in the drag
operation.

However, we don’t track the fact that the second button is being
pressed, and thus if it is released outside the grid, it wont generate
a release event.
</content>
</entry>
<entry>
<title>csi: ‘CSI s’ and ‘CSI u’ now saves/restores attributes and charsets</title>
<updated>2020-12-11T19:01:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-11T19:01:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=975e70dae1d94e425745fd6b6447d4e3f748b75b'/>
<id>urn:sha1:975e70dae1d94e425745fd6b6447d4e3f748b75b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add ‘notify’ to possible values for ‘bell’ in foot.ini</title>
<updated>2020-12-10T17:22:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-10T17:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=15d20af2a24664b09604f1ec5f121c38f1500c32'/>
<id>urn:sha1:15d20af2a24664b09604f1ec5f121c38f1500c32</id>
<content type='text'>
When `bell=notify`, foot will trigger a desktop notification when it
receives a BEL in an unfocused window.
</content>
</entry>
<entry>
<title>osc: implement urxvt’s “OSC 777;notify”</title>
<updated>2020-12-09T19:54:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-08T18:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=21cc68d49e94f3a385afc2bf59c5f7d88f9ad802'/>
<id>urn:sha1:21cc68d49e94f3a385afc2bf59c5f7d88f9ad802</id>
<content type='text'>
OSC 777 is URxvt’s generic escape to send commands to its perl
extensions. The first parameter is the name of the extension, followed
by its arguments.

OSC 777;notify is a, if not well established, at least a fairly well
known escape sequence to request a (desktop) notification. The syntax
is:

  \e]777;notify;&lt;title&gt;;&lt;body&gt;\e\\

Neither title nor body is escaped in any way, meaning they should not
contain a ‘;’.

Foot will split title from body at the *first* ‘;’. Any remaining ‘;’
characters are treated as part of ‘body’.

Instead of adding built-in support for the freedesktop notification
specification (which would require us to link against at least dbus),
add a new config option to foot.ini: ‘notify’.

This option specifies the command to execute when a notification is
received. ‘${title}’ and ‘${body}’ can be used anywhere, in any
combination, and as many times as you want, in any of the command
arguments.

The default value is ‘notify-send -a foot -i foot ${title} ${body}’
</content>
</entry>
<entry>
<title>Merge branch 'remove-deprecated-things'</title>
<updated>2020-12-09T19:53:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-09T19:53:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3e25faeae74244f04cd4a5e7ff3bae4bd82ff385'/>
<id>urn:sha1:3e25faeae74244f04cd4a5e7ff3bae4bd82ff385</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: don’t repeat ‘IME’</title>
<updated>2020-12-08T19:31:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-08T19:31:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e42fd0f87f916b76312225d6ff9eadae25b6f7f0'/>
<id>urn:sha1:e42fd0f87f916b76312225d6ff9eadae25b6f7f0</id>
<content type='text'>
</content>
</entry>
</feed>
