<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty-vte.git/src, branch rahm-graphics</title>
<subtitle>Alacritty's VTE library with Rahm's extra hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/'/>
<entry>
<title>Add new OSC 117 that allows executing an extension script.</title>
<updated>2025-11-12T19:00:30+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2025-11-12T19:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=a91597d03b9d679c652be5b5402bfb8aefbd9fef'/>
<id>a91597d03b9d679c652be5b5402bfb8aefbd9fef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'alacritty/master' into graphics</title>
<updated>2025-02-24T00:00:00+00:00</updated>
<author>
<name>Ayose</name>
<email>ayosec@gmail.com</email>
</author>
<published>2025-02-24T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=22c7c29c0303398baa71db8798473ee704f9717c'/>
<id>22c7c29c0303398baa71db8798473ee704f9717c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace `no_std` with `std` feature</title>
<updated>2025-01-27T14:55:59+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2025-01-27T14:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=35dd9e27a1a32553dc196840122d1beb3ce8c7ff'/>
<id>35dd9e27a1a32553dc196840122d1beb3ce8c7ff</id>
<content type='text'>
The `no_std` feature has been broken since version `0.14`, since it did
not disable the `std` feature of `memchr`.

To fall more in line with the general ecosystem standards, this crate
changes the `no_std` feature into an `std` feature. Since `vte` should
be significantly faster with this feature, it has also been enabled by
default (previously `no_std` was default).

This is a breaking change, even if we ignore `no_std` consumers which
aren't able to compile 0.14, since intermediate dependencies relying on
the `no_std` feature will have to remove it from the manifest.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `no_std` feature has been broken since version `0.14`, since it did
not disable the `std` feature of `memchr`.

To fall more in line with the general ecosystem standards, this crate
changes the `no_std` feature into an `std` feature. Since `vte` should
be significantly faster with this feature, it has also been enabled by
default (previously `no_std` was default).

This is a breaking change, even if we ignore `no_std` consumers which
aren't able to compile 0.14, since intermediate dependencies relying on
the `no_std` feature will have to remove it from the manifest.</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for DECST8C</title>
<updated>2025-01-17T12:44:03+00:00</updated>
<author>
<name>Ayman Bagabas</name>
<email>ayman.bagabas@gmail.com</email>
</author>
<published>2025-01-17T12:44:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=9c45ce63039f0d4a9fb077a546cdd1e969a49df3'/>
<id>9c45ce63039f0d4a9fb077a546cdd1e969a49df3</id>
<content type='text'>
See https://vt100.net/docs/vt510-rm/DECST8C.html.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://vt100.net/docs/vt510-rm/DECST8C.html.</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite table based state change to `match` based</title>
<updated>2025-01-12T19:54:18+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2025-01-12T19:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=b3fba5651a264d164d840bfd4f8f0a30fa0b555b'/>
<id>b3fba5651a264d164d840bfd4f8f0a30fa0b555b</id>
<content type='text'>
The table based state change was too complex to make guesses why it's
getting slow and too fragile, as in modifying the amount of
states/actions were slowing down, even though, they were not used.

Rewrite the state + action change exactly how it's in [1] with respect
to our modifications/C1, etc. The new implementation is generally faster
than the previous one and is easier for compiler to reason about and
generate more efficient structures.

Also, the structure got way simpler to follow, since it matches the
spec pretty much exactly.

[1] - https://vt100.net/emu/dec_ansi_parser</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The table based state change was too complex to make guesses why it's
getting slow and too fragile, as in modifying the amount of
states/actions were slowing down, even though, they were not used.

Rewrite the state + action change exactly how it's in [1] with respect
to our modifications/C1, etc. The new implementation is generally faster
than the previous one and is easier for compiler to reason about and
generate more efficient structures.

Also, the structure got way simpler to follow, since it matches the
spec pretty much exactly.

[1] - https://vt100.net/emu/dec_ansi_parser</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash when valid char was split</title>
<updated>2025-01-12T08:59:01+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2025-01-12T08:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=c18ef2206af630f729835da237381628650005aa'/>
<id>c18ef2206af630f729835da237381628650005aa</id>
<content type='text'>
If the valid character was split across reads of partial utf8 and
got terminated by invalid byte, we should print it and advance, instead
of trying to discard it entirely.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the valid character was split across reads of partial utf8 and
got terminated by invalid byte, we should print it and advance, instead
of trying to discard it entirely.</pre>
</div>
</content>
</entry>
<entry>
<title>Switch parser to multi-byte processing</title>
<updated>2025-01-09T06:27:15+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2025-01-09T06:27:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=7321a442a6fc0fc5b6d6ed7af364477d25e706fd'/>
<id>7321a442a6fc0fc5b6d6ed7af364477d25e706fd</id>
<content type='text'>
This patch overhauls the `Parser::advance` API to operate on byte slices
instead of individual bytes, which allows for additional performance
optimizations.

VTE does not support C1 escapes and C0 escapes always start with an
escape character. This makes it possible to simplify processing if a
byte stream is determined to not contain any escapes. The `memchr` crate
provides a battle-tested implementation for SIMD-accelerated byte
searches, which is why this implementation makes use of it.

VTE also only supports UTF8 characters in the ground state, which means
that the new non-escape parsing path is able to rely completely on STD's
`str::from_utf8` since `memchr` gives us the full length of the plain
text character buffer. This allows us to completely remove `utf8parse`
and all related code.

We also make use of `memchr` in the synchronized escape handling in
`ansi.rs`, since it relies heavily on scanning large amounts of text for
the extension/termination escape sequences.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch overhauls the `Parser::advance` API to operate on byte slices
instead of individual bytes, which allows for additional performance
optimizations.

VTE does not support C1 escapes and C0 escapes always start with an
escape character. This makes it possible to simplify processing if a
byte stream is determined to not contain any escapes. The `memchr` crate
provides a battle-tested implementation for SIMD-accelerated byte
searches, which is why this implementation makes use of it.

VTE also only supports UTF8 characters in the ground state, which means
that the new non-escape parsing path is able to rely completely on STD's
`str::from_utf8` since `memchr` gives us the full length of the plain
text character buffer. This allows us to completely remove `utf8parse`
and all related code.

We also make use of `memchr` in the synchronized escape handling in
`ansi.rs`, since it relies heavily on scanning large amounts of text for
the extension/termination escape sequences.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'alacritty/master' into graphics</title>
<updated>2025-01-07T00:00:00+00:00</updated>
<author>
<name>Ayose</name>
<email>ayosec@gmail.com</email>
</author>
<published>2025-01-07T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=0700cee5af14c63895878dab357119f89ff263d0'/>
<id>0700cee5af14c63895878dab357119f89ff263d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve attrs_from_sgr_parameters performance</title>
<updated>2024-12-28T21:18:14+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2024-12-28T21:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=40af63902e0af313722dfdc19a6d10a1d2ba29f4'/>
<id>40af63902e0af313722dfdc19a6d10a1d2ba29f4</id>
<content type='text'>
Instead of collecting all the data into the vector just dispatch it
right away avoiding allocations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of collecting all the data into the vector just dispatch it
right away avoiding allocations.</pre>
</div>
</content>
</entry>
<entry>
<title>Use a specific name for the fork.</title>
<updated>2024-06-03T00:00:00+00:00</updated>
<author>
<name>Ayose</name>
<email>ayosec@gmail.com</email>
</author>
<published>2024-06-03T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty-vte.git/commit/?id=bbba466bdbef3ff2706b267c6348883e18a009a3'/>
<id>bbba466bdbef3ff2706b267c6348883e18a009a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
