<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/tests/ref/vim_large_window_scroll, branch rahm</title>
<subtitle>My custom-patched version of alacritty.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/'/>
<entry>
<title>Split alacritty into a separate crates</title>
<updated>2019-04-28T13:24:58+00:00</updated>
<author>
<name>Theodore Dubois</name>
<email>tblodt@icloud.com</email>
</author>
<published>2019-04-28T13:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=dbd8538762ef8968a493e1bf996e8693479ca783'/>
<id>dbd8538762ef8968a493e1bf996e8693479ca783</id>
<content type='text'>
The crate containing the entry point is called alacritty, and the crate
containing everything else is called alacritty_terminal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The crate containing the entry point is called alacritty, and the crate
containing everything else is called alacritty_terminal.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix failing test with `bench` feature</title>
<updated>2018-09-29T20:48:24+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2018-09-29T20:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=e01317d88593af7874da13c2043aa53336fb2d73'/>
<id>e01317d88593af7874da13c2043aa53336fb2d73</id>
<content type='text'>
Using the `bench` feature, `cargo test` was failing since one of the
benchmarks was running into a debug assertion for attempting to access a
line with an index beyond the grid length.

Since this issue was caused by the `len` property not being serialized
and deserialized, the `#[serde(skip)]` attribute has been changed to
`#[serde(default)]`. The ref-test has been edited to include the correct
grid length for proper deserialization.

This fixes #1604.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the `bench` feature, `cargo test` was failing since one of the
benchmarks was running into a debug assertion for attempting to access a
line with an index beyond the grid length.

Since this issue was caused by the `len` property not being serialized
and deserialized, the `#[serde(skip)]` attribute has been changed to
`#[serde(default)]`. The ref-test has been edited to include the correct
grid length for proper deserialization.

This fixes #1604.</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize Row::reset</title>
<updated>2018-06-02T16:56:50+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2018-05-19T18:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=c61a912f6221a320ec4787cd883527b0e7f26a8e'/>
<id>c61a912f6221a320ec4787cd883527b0e7f26a8e</id>
<content type='text'>
Now, only cells that have been used are cleared. This is achieved by
using a "occupied" memo on the Row itself. The value, `occ`, is updated
wherever the Row is accessed mutably, and it's cleared to zero in
Row::reset.

The tests for grid scroll_up and scroll_down were updated to include a
test on the value `occ` and slightly refactored, but are otherwise
equivalent to the previous implementation of those tests.

Because of the change to the `Row` struct, the ref tests were updated so
Deserialization keeps working as expected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, only cells that have been used are cleared. This is achieved by
using a "occupied" memo on the Row itself. The value, `occ`, is updated
wherever the Row is accessed mutably, and it's cleared to zero in
Row::reset.

The tests for grid scroll_up and scroll_down were updated to include a
test on the value `occ` and slightly refactored, but are otherwise
equivalent to the previous implementation of those tests.

Because of the change to the `Row` struct, the ref tests were updated so
Deserialization keeps working as expected.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make tests compile again</title>
<updated>2018-06-02T16:56:50+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2018-03-09T21:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=b0f655ac85ab6d86e9e482cbb9035200c6f08d40'/>
<id>b0f655ac85ab6d86e9e482cbb9035200c6f08d40</id>
<content type='text'>
Some tests are still not passing, though.

A migration script was added to migrate serialized grids from
pre-scrollback to the current format. The script is included with this
commit for completeness, posterity, and as an example to be used in the
future.

A few tests in grid/tests.rs were removed due to becoming irrelevant.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests are still not passing, though.

A migration script was added to migrate serialized grids from
pre-scrollback to the current format. The script is included with this
commit for completeness, posterity, and as an example to be used in the
future.

A few tests in grid/tests.rs were removed due to becoming irrelevant.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix BCE issues affecting vim</title>
<updated>2017-08-11T15:29:56+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2017-08-09T18:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=f041ce0f59ab52bedae963b6fb2666b6e97f6455'/>
<id>f041ce0f59ab52bedae963b6fb2666b6e97f6455</id>
<content type='text'>
Now pass more vttests as well.

Resolves #123
cc #660 - screenshot there exhibited the problem, but issue is not
entirely about the background problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now pass more vttests as well.

Resolves #123
cc #660 - screenshot there exhibited the problem, but issue is not
entirely about the background problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add window padding option</title>
<updated>2017-05-06T19:53:54+00:00</updated>
<author>
<name>Tuomas Siipola</name>
<email>siiptuo@kapsi.fi</email>
</author>
<published>2017-05-06T15:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=9316771f64842533181cfb04a27aa9ae809cc435'/>
<id>9316771f64842533181cfb04a27aa9ae809cc435</id>
<content type='text'>
Padding can be configured by using the `padding` field in the config
file, like so:

    padding:
      x: 2
      y: 2

which would result in a 2px padding within each side of the window.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Padding can be configured by using the `padding` field in the config
file, like so:

    padding:
      x: 2
      y: 2

which would result in a 2px padding within each side of the window.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ref tests</title>
<updated>2017-04-04T03:44:23+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2017-04-04T03:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=2d1af06c2d17d45e978479f4fc567b706beb1e3e'/>
<id>2d1af06c2d17d45e978479f4fc567b706beb1e3e</id>
<content type='text'>
Implementing BCE caused a few ref tests to fail erroneously.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementing BCE caused a few ref tests to fail erroneously.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for indexed colors</title>
<updated>2016-12-12T04:23:41+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2016-12-04T19:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=23e36f19255db60084c2c240a166d137f6c12c3e'/>
<id>23e36f19255db60084c2c240a166d137f6c12c3e</id>
<content type='text'>
ANSI escape sequences like `\x1b[48;5;10m` were not supported until now.
Specifically, the second attribute, 5, says that the following attribute
is a color index.

The ref tests were updated since `enum Color` variants changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ANSI escape sequences like `\x1b[48;5;10m` were not supported until now.
Specifically, the second attribute, 5, says that the following attribute
is a color index.

The ref tests were updated since `enum Color` variants changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor cell selection out of renderer</title>
<updated>2016-12-12T04:23:41+00:00</updated>
<author>
<name>Joe Wilm</name>
<email>joe@jwilm.com</email>
</author>
<published>2016-11-28T22:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=30bee80a6902eb09c51bed9c9f54c7617c4d53db'/>
<id>30bee80a6902eb09c51bed9c9f54c7617c4d53db</id>
<content type='text'>
The terminal now has a `renderable_cells()` function that returns a
`RenderableCellIter` iterator. This allows reuse of the cell selection
code by multiple renderers, makes it testable, and makes it
independently optimizable.

The render API now takes an `Iterator&lt;Item=IndexedCell&gt;` to support both
the new renderable cells iterator and the `render_string()` method which
generates its own iterator.

The `vim_large_window_scoll` ref test was added here because it provides
a nice large and busy grid to benchmark the cell selection with.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The terminal now has a `renderable_cells()` function that returns a
`RenderableCellIter` iterator. This allows reuse of the cell selection
code by multiple renderers, makes it testable, and makes it
independently optimizable.

The render API now takes an `Iterator&lt;Item=IndexedCell&gt;` to support both
the new renderable cells iterator and the `render_string()` method which
generates its own iterator.

The `vim_large_window_scoll` ref test was added here because it provides
a nice large and busy grid to benchmark the cell selection with.
</pre>
</div>
</content>
</entry>
</feed>
