<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/search.c, branch 1.6.4</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.4</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-01-26T19:47:51Z</updated>
<entry>
<title>search: match composed characters when extending the search string to the next word boundary</title>
<updated>2021-01-26T19:47:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-26T19:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5db389da21ce2d4132f4416545da4f8a50217109'/>
<id>urn:sha1:5db389da21ce2d4132f4416545da4f8a50217109</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: fix matching of multi-column characters</title>
<updated>2021-01-26T19:47:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-26T19:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=709d6deeae82049ef48af0c8a2c5076557517a7f'/>
<id>urn:sha1:709d6deeae82049ef48af0c8a2c5076557517a7f</id>
<content type='text'>
We were matching the sub-sequence SPACERs as if they were regular
characters, which obviously failed.
</content>
</entry>
<entry>
<title>search: don’t re-scan the scrollback unless the search string actually has changed</title>
<updated>2021-01-26T19:45:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-24T19:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9d51f2cb1a8a6bb10d1b8d43934c33e3567b03fb'/>
<id>urn:sha1:9d51f2cb1a8a6bb10d1b8d43934c33e3567b03fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: fix matching against composed characters</title>
<updated>2021-01-26T19:43:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-24T11:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8df49c7f84d96e10a60da0f449758e74ac72a390'/>
<id>urn:sha1:8df49c7f84d96e10a60da0f449758e74ac72a390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: filter out non-printable characters</title>
<updated>2021-01-26T19:42:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-24T10:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=96af3971de77c057379687ad88b2c9bc5fd8df9d'/>
<id>urn:sha1:96af3971de77c057379687ad88b2c9bc5fd8df9d</id>
<content type='text'>
Don’t allow non-printable characters in the search input string.
</content>
</entry>
<entry>
<title>search: reset IME state when entering/exiting search mode</title>
<updated>2020-12-07T19:44:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-07T17:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fc2bcf9bc0e1d01d191bd663d5493cfabff54420'/>
<id>urn:sha1:fc2bcf9bc0e1d01d191bd663d5493cfabff54420</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: search: glyph_offset is in *cells*, cursor position in *characters*</title>
<updated>2020-12-07T19:44:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-05T22:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b4a0f5b13b44525bd1dbdbc12e4e412fc9a0a1cb'/>
<id>urn:sha1:b4a0f5b13b44525bd1dbdbc12e4e412fc9a0a1cb</id>
<content type='text'>
When calculating the offset into the search string, from where to
start rendering, take into account that the cursor position is
in *characters*, and the glyph-offset is in *cells*.
</content>
</entry>
<entry>
<title>search: new function: search_add_chars()</title>
<updated>2020-12-07T19:44:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-05T10:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f51ce347532d0c0c0169ba6e1d32a09b13481ed4'/>
<id>urn:sha1:f51ce347532d0c0c0169ba6e1d32a09b13481ed4</id>
<content type='text'>
This function inserts a string into the search buffer, at the current
insertion point (i.e. where the cursor is).
</content>
</entry>
<entry>
<title>search: add {clipboard,primary}-paste key bindings</title>
<updated>2020-11-01T11:39:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-01T11:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f3e6941c9a9448883ec2df75f025840fce57ee17'/>
<id>urn:sha1:f3e6941c9a9448883ec2df75f025840fce57ee17</id>
<content type='text'>
These bindings copy from the clipboard or primary selection into the
search buffer.

Default bindings:

* clipboard-paste: ctrl+v, ctrl+y
* primary-paste: shift+insert
</content>
</entry>
<entry>
<title>config: add ‘[default].word-delimiters’</title>
<updated>2020-10-09T17:44:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-09T17:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=49f4b3da64d45cee04295ce005ff0399fcfeebe2'/>
<id>urn:sha1:49f4b3da64d45cee04295ce005ff0399fcfeebe2</id>
<content type='text'>
This option lets the user configure which characters act as word
delimiters when selecting text.

This affects both “double clicking”, and ‘ctrl-w’ in scrollback search
mode.

Closes #156
</content>
</entry>
<entry>
<title>don't use empty struct initializers</title>
<updated>2020-08-23T08:07:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-23T05:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dabdffafa59f43314333be42aa519d7fff1b4498'/>
<id>urn:sha1:dabdffafa59f43314333be42aa519d7fff1b4498</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: don't update/refresh match when modifier keys are pressed</title>
<updated>2020-08-12T17:40:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-12T16:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8626b4bc1a06e01659baf7cb0c2ab0b171a4c919'/>
<id>urn:sha1:8626b4bc1a06e01659baf7cb0c2ab0b171a4c919</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: fix viewport not moving if we tried to move it past the scrollback start</title>
<updated>2020-08-12T17:40:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-12T16:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b01431e38f96c8d42a5fa37c1b1e1f46bfb60f3a'/>
<id>urn:sha1:b01431e38f96c8d42a5fa37c1b1e1f46bfb60f3a</id>
<content type='text'>
If the match was somewhere near the scrollback beginning, and if the
entire scrollback hadn't yet been filled, we ended up trying to move
the viewport past the beginning of the scrollback, which we then
adjusted in the wrong direction, causing the viewport to not move at
all.

Besides being a bad user experience, since the new match wasn't
visible, foot would also crash if you manually scrolled up to the
match.
</content>
</entry>
<entry>
<title>fix printf-format errors in 32-bit builds</title>
<updated>2020-08-06T21:20:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-06T21:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=019b6bc039f318b150b78a1fec3672db71c74a63'/>
<id>urn:sha1:019b6bc039f318b150b78a1fec3672db71c74a63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: fix crash when searching the scrollback history</title>
<updated>2020-07-25T09:23:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-25T09:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f82cbaa496f3c9c8210d3e78bee0de038d232e9'/>
<id>urn:sha1:9f82cbaa496f3c9c8210d3e78bee0de038d232e9</id>
<content type='text'>
search_update_selection() was changed in 1.4.x to *first* update the
selection, *then* move the viewport.

This leads to a crash if the new match (selection) is outside the
current viewport; the selection code assumes the updated selection
endpoint is in the visible viewport.

Changing back to *first* move the viewport, *then* update the
selection solves this.
</content>
</entry>
<entry>
<title>search: improve viewport movements</title>
<updated>2020-07-24T15:49:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-24T15:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8d81dde5b8ba0d0b694794c0a223c76cfcff5335'/>
<id>urn:sha1:8d81dde5b8ba0d0b694794c0a223c76cfcff5335</id>
<content type='text'>
* Don't move the viewport if the new match is already fully visible
* When we do have to move the viewport, position it such that the new
  match ends up roughly in the middle.
</content>
</entry>
<entry>
<title>search: re-enable search-commit action</title>
<updated>2020-07-22T15:51:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-22T15:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ac7b229f7cb83535765597519888c3e4a27215d3'/>
<id>urn:sha1:ac7b229f7cb83535765597519888c3e4a27215d3</id>
<content type='text'>
This was disabled while implementing multi-seat support, and I forgot
to fix and re-enable before that feature was merged.
</content>
</entry>
<entry>
<title>multi-seat: re-enable scrollback search support</title>
<updated>2020-07-08T16:20:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T16:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04e566492cd831f038afb5ef8908453efca84cde'/>
<id>urn:sha1:04e566492cd831f038afb5ef8908453efca84cde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip: multi-seat support</title>
<updated>2020-07-08T14:45:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T14:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c47082506714f458e999f6ff1bf3099dfc4c0c0c'/>
<id>urn:sha1:c47082506714f458e999f6ff1bf3099dfc4c0c0c</id>
<content type='text'>
Compiles and runs, but mouse, clipboard and other things have been
disabled.
</content>
</entry>
<entry>
<title>util.h: new header file defining commonly used macros</title>
<updated>2020-05-01T09:46:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-01T09:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69c3e744983e37662fa7b4f61482fb1d142e257c'/>
<id>urn:sha1:69c3e744983e37662fa7b4f61482fb1d142e257c</id>
<content type='text'>
</content>
</entry>
</feed>
