<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/osc.c, branch 1.7.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.7.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.7.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-02-21T19:15:31Z</updated>
<entry>
<title>osc-8: fix thinko: can’t use the ID parameters *address* as actual ID</title>
<updated>2021-02-21T19:15:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-14T12:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d44cda11bf435b7687fada29946d4a1cecbc728c'/>
<id>urn:sha1:d44cda11bf435b7687fada29946d4a1cecbc728c</id>
<content type='text'>
Doing so means the next OSC-8 URL emitted by the client application,
with the same ID, will get a *new* id internally.

Instead, hash the string and use that as ID.
</content>
</entry>
<entry>
<title>term: add ‘id’ parameter to term_osc8_open()</title>
<updated>2021-02-21T19:14:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T12:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b934969b858d8874e480cc9ee7f4ccf5657f6f2a'/>
<id>urn:sha1:b934969b858d8874e480cc9ee7f4ccf5657f6f2a</id>
<content type='text'>
The current OSC-8 URL’s ID is now tracked along with the URI itself,
and its starting point.
</content>
</entry>
<entry>
<title>osc: 8: parse params, and the ‘id’ parameter specifically</title>
<updated>2021-02-21T19:14:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T12:41:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ecbfc2bbe9b1964c8b2563b52618393d63dc40ce'/>
<id>urn:sha1:ecbfc2bbe9b1964c8b2563b52618393d63dc40ce</id>
<content type='text'>
Applications can assign an ID to the URL. This is used to associate
the parts of a split up URL with each other:

  ╔═ file1 ════╗
  ║          ╔═ file2 ═══╗
  ║http://exa║Lorem ipsum║
  ║le.com    ║ dolor sit ║
  ║          ║amet, conse║
  ╚══════════║ctetur adip║
             ╚═══════════╝

In the example above, ‘http://exa’ and ‘le.com’ are part of the same
URL, but by necessity split up into two OSC-8 URLs.

If the application sets the same ID for those two OSC-8 URLs, the
terminal can ensure they are handled as one.
</content>
</entry>
<entry>
<title>osc: parse OSC-8, by calling term_osc8_{open,close} as appropriate</title>
<updated>2021-02-21T19:14:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T11:41:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b55f6925d360dcb8109b90b266c0e9c2fc625b0c'/>
<id>urn:sha1:b55f6925d360dcb8109b90b266c0e9c2fc625b0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debug: rename assert() to xassert(), to avoid clashing with &lt;assert.h&gt;</title>
<updated>2021-01-16T20:16:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-01-16T20:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e56136ce1192d04a52b01ccb41284f0b7896430e'/>
<id>urn:sha1:e56136ce1192d04a52b01ccb41284f0b7896430e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add xsnprintf() and remove some unnecessary strlen(3) calls</title>
<updated>2021-01-14T21:30:06Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-01-14T21:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3f4cfa338b5035b3789ea414eab9f139a18d140b'/>
<id>urn:sha1:3f4cfa338b5035b3789ea414eab9f139a18d140b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>notify: break out desktop notifications from osc.c</title>
<updated>2020-12-10T17:06:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-10T17:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03cbb6ad90045085442ac01e2bf4f63585809c1a'/>
<id>urn:sha1:03cbb6ad90045085442ac01e2bf4f63585809c1a</id>
<content type='text'>
</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>term: remove read-only properties copied from the config</title>
<updated>2020-11-26T17:08:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-26T17:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=360cc8e6de8802015b3a4a744289c311beb8d82d'/>
<id>urn:sha1:360cc8e6de8802015b3a4a744289c311beb8d82d</id>
<content type='text'>
Use the config directly instead.
</content>
</entry>
<entry>
<title>osc: use new uri_parse() to parse an OSC7 PWD URI</title>
<updated>2020-10-28T18:11:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-28T18:11:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cad0ae957dbbd2363f1b9bbbc7c1d8034d367bb5'/>
<id>urn:sha1:cad0ae957dbbd2363f1b9bbbc7c1d8034d367bb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: change info logging to debug logging when changing the cursor color</title>
<updated>2020-10-20T19:03:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b507d3a55ec2342a95cfec7028b04eb192edfde3'/>
<id>urn:sha1:b507d3a55ec2342a95cfec7028b04eb192edfde3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: don’t explicitly call render_refresh() when changing the color palette</title>
<updated>2020-09-29T08:05:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-29T08:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=edb904a1877324ae4977c8a38596487518c9e1a8'/>
<id>urn:sha1:edb904a1877324ae4977c8a38596487518c9e1a8</id>
<content type='text'>
Doing so will schedule the renderer “as soon as possible”. I.e we’re
by-passing the regular scheduler, and thus we’re by-passing the user’s
setting of the delayed-render-* timers.

The fact that we’re scheduling “as soon as possible” also means we’re
much more likely to trigger flickering, or color flashes, if the
application is changing colors which are on the screen.

To handle changes to the cursor color(s), use the new
term_damage_cursor() instead of render_refresh().

To handle background color changes, which affect the margins, use the
new term_damage_margins() instead of render_refresh_margins(),

Closes #141
</content>
</entry>
<entry>
<title>osc52: use first source that actually *has* data</title>
<updated>2020-09-09T17:01:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-09T16:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=419bd87098a068f398db10d9c5cab5e40a01a2ca'/>
<id>urn:sha1:419bd87098a068f398db10d9c5cab5e40a01a2ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc52: unset (clear) selection when an invalid payload is received</title>
<updated>2020-09-09T17:01:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-09T16:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=776b831d89ff873ce1daf4e65e5eb13e808914a7'/>
<id>urn:sha1:776b831d89ff873ce1daf4e65e5eb13e808914a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: explicitly refresh margins on a background color change</title>
<updated>2020-09-01T05:34:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-01T05:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d579c0e1e4f1cfd6d54a80e69c763003d337125a'/>
<id>urn:sha1:d579c0e1e4f1cfd6d54a80e69c763003d337125a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use "case X ... Y:", if possible/where it makes sense</title>
<updated>2020-08-23T08:07:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-23T07:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aa3985a298d7770ef780324adea3ba0fe75b4e09'/>
<id>urn:sha1:aa3985a298d7770ef780324adea3ba0fe75b4e09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: dirty grids on *all* color modifying sequences</title>
<updated>2020-08-18T15:54:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-18T05:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3e1636c0136a1620aad9d2f2bfc8456b03a65f2b'/>
<id>urn:sha1:3e1636c0136a1620aad9d2f2bfc8456b03a65f2b</id>
<content type='text'>
We only updated the grid for OSC 4 - Set color &lt;idx&gt;. But we did *not*
do it for 104 (reset color &lt;idx&gt;), 10 - set default foreground, 11 -
set default background, 110 - reset default foreground, or 111 - reset
default background.
</content>
</entry>
<entry>
<title>Fix some spelling mistakes</title>
<updated>2020-08-15T18:39:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-15T18:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=104fe2fa55b113212899bea893a13fe7b3467156'/>
<id>urn:sha1:104fe2fa55b113212899bea893a13fe7b3467156</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert most dynamic allocations to use functions from xmalloc.h</title>
<updated>2020-08-08T19:37:57Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-08T19:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7a77958ba20c2b344be5e66e69e2f212a4bbf6b3'/>
<id>urn:sha1:7a77958ba20c2b344be5e66e69e2f212a4bbf6b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace non-portable "\e" escape in string literals with "\033"</title>
<updated>2020-08-02T22:54:04Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-02T22:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=11a1d99da732cad13995dcbfc04b6559b5255d01'/>
<id>urn:sha1:11a1d99da732cad13995dcbfc04b6559b5255d01</id>
<content type='text'>
</content>
</entry>
</feed>
