<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/selection.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-12T14:59:07Z</updated>
<entry>
<title>selection: don’t strip formatting C0 control characters in bracketed paste mode</title>
<updated>2021-02-12T14:59:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T09:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0da766e50540fbb92b2cb510dab13eee054b097c'/>
<id>urn:sha1:0da766e50540fbb92b2cb510dab13eee054b097c</id>
<content type='text'>
It’s ok to let the receiving end handle formatting C0 control
characters in bracketed paste mode.

In fact, we *must* let them through. Otherwise it is impossible to
paste e.g. tabs into editors and similar applications.
</content>
</entry>
<entry>
<title>Convert all but 2 remaining uses of xassert(false) to BUG("...")</title>
<updated>2021-02-10T09:01:51Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-02-10T09:01:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3c86af52c2a3e9352a88e969392575e55c3b6f74'/>
<id>urn:sha1:3c86af52c2a3e9352a88e969392575e55c3b6f74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: remove selection_enabled()</title>
<updated>2021-02-02T08:52:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-02T08:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=eff8481cdc6c37407faaa3167ea6f6897b12f544'/>
<id>urn:sha1:eff8481cdc6c37407faaa3167ea6f6897b12f544</id>
<content type='text'>
Its name did not reflect its semantics. Since it was only used in a
single place, “inline” it there, and get rid of it.
</content>
</entry>
<entry>
<title>selection: don’t replace \r\n and \n with \r in bracketed paste mode</title>
<updated>2021-01-27T09:44:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-27T09:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=81fb756ea7d10c623b9720548c3a6ce12e381971'/>
<id>urn:sha1:81fb756ea7d10c623b9720548c3a6ce12e381971</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: remove duplicate ‘ESC’ in switch case</title>
<updated>2021-01-26T18:31:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-23T10:30:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=49d6dbd761af1dded9e78076dd1a6049c68f82a0'/>
<id>urn:sha1:49d6dbd761af1dded9e78076dd1a6049c68f82a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: DEL is 0x7f, not 0x1f</title>
<updated>2021-01-26T18:31:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-23T10:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e70776fc8c24dee1d34029b3aa51a89ab899ef4d'/>
<id>urn:sha1:e70776fc8c24dee1d34029b3aa51a89ab899ef4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: codespell: stript -&gt; strip</title>
<updated>2021-01-26T18:31:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-23T10:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9e5ef6efac995672ea608b04927a5a5d3ce8b51c'/>
<id>urn:sha1:9e5ef6efac995672ea608b04927a5a5d3ce8b51c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: strip non-formatting C0, BS, HT and DEL from pasted text</title>
<updated>2021-01-26T18:31:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-23T10:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=357af41d7e8889efb369deb7c61def5efd89b12e'/>
<id>urn:sha1:357af41d7e8889efb369deb7c61def5efd89b12e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: unbreak text/uri-list decoding: we’re not using \r, not \n</title>
<updated>2021-01-26T18:31:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-21T14:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b31d0c080b705f910132fe6b77aff09ff0bddd3e'/>
<id>urn:sha1:b31d0c080b705f910132fe6b77aff09ff0bddd3e</id>
<content type='text'>
Before passing the pasted text to the decoder, we now replace \r\n,
and \n, with \r.

The URI decoder was looking for a \n, which meant we failed to split
up the list and instead pasted a single “multi-line” URI.
</content>
</entry>
<entry>
<title>selection: replace \r\n and \n with \r, and strip \e from pasted text</title>
<updated>2021-01-26T18:31:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-20T18:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5168aa72cd43f42572ea32358c115a38f52a6032'/>
<id>urn:sha1:5168aa72cd43f42572ea32358c115a38f52a6032</id>
<content type='text'>
Closes #305
Closes #306
</content>
</entry>
<entry>
<title>config: add ‘none’ as a possible value for ‘selection-target’</title>
<updated>2021-01-23T09:43:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-16T14:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4f578189cc5ff6cd9be87db8c6b590804a49afa4'/>
<id>urn:sha1:4f578189cc5ff6cd9be87db8c6b590804a49afa4</id>
<content type='text'>
When ‘selection-target’ is set to ‘none’, selecting text does not copy
the text to _any_ clipboard.

This patch also refactors the value parsing to be data driven.
</content>
</entry>
<entry>
<title>selection: copy selected text to the target configured by ‘selection-target’</title>
<updated>2021-01-23T09:43:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-16T10:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=07f6b3b1af2ad9a492efe81c867cd033ae22f12a'/>
<id>urn:sha1:07f6b3b1af2ad9a492efe81c867cd033ae22f12a</id>
<content type='text'>
Closes #288
</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>config: add ‘select-extend-character-wise’ bind action</title>
<updated>2021-01-14T15:29:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-06T10:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=767bd4f1dbbb14d9d28acb22cf42a91e6305a69a'/>
<id>urn:sha1:767bd4f1dbbb14d9d28acb22cf42a91e6305a69a</id>
<content type='text'>
This forces the (new) selection mode to be character-wise when
extending a word- or line-wise selection.

Default key binding is ctrl+RMB.
</content>
</entry>
<entry>
<title>selection: uri decode: move zero-length check into decode_one_uri()</title>
<updated>2021-01-12T13:56:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-12T13:56:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3be80622efacd303b68482ef84aa426b79452185'/>
<id>urn:sha1:3be80622efacd303b68482ef84aa426b79452185</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: add a ‘finish’ function, called at the end of receiving clipboard data</title>
<updated>2021-01-12T13:45:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-12T13:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c8bcce83d5499ef8e565b59ddcc9803919a3b371'/>
<id>urn:sha1:c8bcce83d5499ef8e565b59ddcc9803919a3b371</id>
<content type='text'>
This is necessary to decode the final URI in a text/uri-list offer if
it hasn’t been newline terminated.
</content>
</entry>
<entry>
<title>selection: URI decoder: break out decoding of a single URI</title>
<updated>2021-01-12T13:45:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-12T13:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e3e3ffc67c4f8f5f4d1214b13a9dfc13b013612b'/>
<id>urn:sha1:e3e3ffc67c4f8f5f4d1214b13a9dfc13b013612b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: extend-block: update pivot point and selection direction</title>
<updated>2021-01-06T10:14:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-06T10:14:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=21dbb44a3019e5267c506fec6b902eb95734ac22'/>
<id>urn:sha1:21dbb44a3019e5267c506fec6b902eb95734ac22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: extend: don’t copy to primary - it is done when RMB is released</title>
<updated>2021-01-06T10:13:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-06T10:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3a34eda8cc8b32480ed0dd1dedba25e60aafc4a7'/>
<id>urn:sha1:3a34eda8cc8b32480ed0dd1dedba25e60aafc4a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: extend: re-calculate pivot point</title>
<updated>2021-01-06T10:07:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-06T10:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b09197ea076a4c1cfb20df5e77014921d2ff3ddc'/>
<id>urn:sha1:b09197ea076a4c1cfb20df5e77014921d2ff3ddc</id>
<content type='text'>
</content>
</entry>
</feed>
