<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.6.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-12-21T12:50:27Z</updated>
<entry>
<title>changelog: prepare for 1.6.1</title>
<updated>2020-12-21T12:50:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-21T12:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7c3cb008ec18896f674ed72a24efbb7b5be77784'/>
<id>urn:sha1:7c3cb008ec18896f674ed72a24efbb7b5be77784</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: mention -Wno-profile-instr-unprofiled</title>
<updated>2020-12-21T12:50:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-21T12:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b6b565cc9aa3e4b0d18a287219e09ac9a1b45271'/>
<id>urn:sha1:b6b565cc9aa3e4b0d18a287219e09ac9a1b45271</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: mention --seed in in generate-alt-random.pu</title>
<updated>2020-12-21T12:47:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-21T12:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1ad63a5c584e67fc504c3e4c7c75a4425a74a510'/>
<id>urn:sha1:1ad63a5c584e67fc504c3e4c7c75a4425a74a510</id>
<content type='text'>
</content>
</entry>
<entry>
<title>generate-alt-random: ioctl(TIOCGWINSZ) may fail in run inside a container</title>
<updated>2020-12-21T12:42:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-21T12:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=68dd9c17d5d3aeaa8196d5e31256ccb95429ac2e'/>
<id>urn:sha1:68dd9c17d5d3aeaa8196d5e31256ccb95429ac2e</id>
<content type='text'>
This _should_ only happen when we’re doing a partial PGO build, since
then the script is run in the parent terminal. In this case, the user
is expected to use --rows/--cols anyway.
</content>
</entry>
<entry>
<title>changelog: use -std=c11 instead of -std=c18</title>
<updated>2020-12-21T11:28:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-21T11:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=505680087cb6a1d994c1ea8089bc2c44cd36187a'/>
<id>urn:sha1:505680087cb6a1d994c1ea8089bc2c44cd36187a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: update ‘contributors’</title>
<updated>2020-12-20T14:49:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-20T14:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fbe9f54db0d207ee56d926e676ea8584a424ecd4'/>
<id>urn:sha1:fbe9f54db0d207ee56d926e676ea8584a424ecd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: remove trailing ‘5’</title>
<updated>2020-12-20T14:48:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-20T14:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=533db90a94292772002aa417de6e1b856f1ff6e0'/>
<id>urn:sha1:533db90a94292772002aa417de6e1b856f1ff6e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: fix rounding error when calculating background color with alpha</title>
<updated>2020-12-20T14:46:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-20T11:25:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a2ce0622c5396774c64245bb6cbd6b7dbd0d339d'/>
<id>urn:sha1:a2ce0622c5396774c64245bb6cbd6b7dbd0d339d</id>
<content type='text'>
We use pre-multiplied alpha color channels, but were having bad
rounding errors due to the alpha divider being truncated to an
integer.

The algorithm for pre-multiplying a color channel is:

  alpha_divider = 0xffff / alpha
  pre_mult_color = color / alpha_divider

In order to fix the rounding errors, we could turn ‘alpha_divider’
into a double.

That however would introduce a performance penalty since now we’d need
to do floating point math for each cell.

The algorithm can be trivially converted to:

  pre_mult_color = color * alpha / 0xffff

Since both color and alpa values are &lt; 65536, the multiplication is
“safe”; it will not overflow an uint32_t.

Closes #249
</content>
</entry>
<entry>
<title>changelog: mention meson dependency fix</title>
<updated>2020-12-20T14:46:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-20T10:56:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3fd60d4975c589242a8083b2323040bb788a5d16'/>
<id>urn:sha1:3fd60d4975c589242a8083b2323040bb788a5d16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add 1.6.1 section</title>
<updated>2020-12-20T14:46:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-20T14:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b976d10f7dd3bb24a355eee58363376f0a29a9f8'/>
<id>urn:sha1:b976d10f7dd3bb24a355eee58363376f0a29a9f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: fix link to "1.6.0" heading</title>
<updated>2020-12-20T14:44:09Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-12-19T22:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9e7d108afd8e7ea1c6582269543992184559ed39'/>
<id>urn:sha1:9e7d108afd8e7ea1c6582269543992184559ed39</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
