<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/src/tty, 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 ConPTY panic</title>
<updated>2019-04-22T19:50:07+00:00</updated>
<author>
<name>Andrew Opalach</name>
<email>ado92300@gmail.com</email>
</author>
<published>2019-04-22T19:50:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=c901c74d017a89e8196976e4f515960a5219c2cf'/>
<id>c901c74d017a89e8196976e4f515960a5219c2cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve errors for missing shell file on Windows </title>
<updated>2019-04-21T22:44:09+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-04-21T22:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=d3cfda03715c6a644048995afdffdb085984585a'/>
<id>d3cfda03715c6a644048995afdffdb085984585a</id>
<content type='text'>
The ConPTY had a cryptic 'assertion failed: success' error whenever
spawning the shell failed.

This changes the ConPTY assertion to a human-readable error which
clearly states that the file could not be found.

The WinPTY backend has not been fixed yet.

This fixes #2016.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ConPTY had a cryptic 'assertion failed: success' error whenever
spawning the shell failed.

This changes the ConPTY assertion to a human-readable error which
clearly states that the file could not be found.

The WinPTY backend has not been fixed yet.

This fixes #2016.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix duplicate resize events</title>
<updated>2019-04-14T15:37:58+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-04-14T15:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=5174f9b27488902e7862aeb470aa0f0375c95e46'/>
<id>5174f9b27488902e7862aeb470aa0f0375c95e46</id>
<content type='text'>
If a resize event is identical to the current size, it is no longer
propagated but the resize is discarded immediately.

To further prevent resizes when not necessary, the list of monitors is
enumerated and the DPR of the first display is assumed to be the target
DPR.

This allows spawning a window with dimensions when the config has
columns and lines specified and the window only needs to be resized if
the estimated DPR is not correct.

Fixes #1825.
Fixes #204.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a resize event is identical to the current size, it is no longer
propagated but the resize is discarded immediately.

To further prevent resizes when not necessary, the list of monitors is
enumerated and the DPR of the first display is assumed to be the target
DPR.

This allows spawning a window with dimensions when the config has
columns and lines specified and the window only needs to be resized if
the estimated DPR is not correct.

Fixes #1825.
Fixes #204.
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to winapi 0.3.7</title>
<updated>2019-04-04T17:04:06+00:00</updated>
<author>
<name>David Hewitt</name>
<email>1939362+davidhewitt@users.noreply.github.com</email>
</author>
<published>2019-04-04T17:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=83b5474c4f206db54c81246fb4c64e2222d0812e'/>
<id>83b5474c4f206db54c81246fb4c64e2222d0812e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add rustfmt style guide</title>
<updated>2019-03-30T16:48:36+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-30T16:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=cfd025b5289bc305470a96657868c982a2b13bc2'/>
<id>cfd025b5289bc305470a96657868c982a2b13bc2</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix invalid --working-dir string ptr for ConPTY</title>
<updated>2019-03-14T20:27:18+00:00</updated>
<author>
<name>Alex Purdy</name>
<email>aspurdy@users.noreply.github.com</email>
</author>
<published>2019-03-14T20:27:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=3a9b8e65dddd4477869feda248d09bf2ca5aa5d0'/>
<id>3a9b8e65dddd4477869feda248d09bf2ca5aa5d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix signal handling on Unix systems</title>
<updated>2019-03-12T19:44:47+00:00</updated>
<author>
<name>Rachel K</name>
<email>raech.kanati@gmail.com</email>
</author>
<published>2019-03-12T19:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=62c1d999e1361fc68ee4e54865b205415fa0a38d'/>
<id>62c1d999e1361fc68ee4e54865b205415fa0a38d</id>
<content type='text'>
This removes the the signal handling machinery in tty::unix, and
replaces it with functionality from signal-hook, which should be more
robust. Signals caught by signal-hook wake up the existing I/O event
loop, which then delegates back to the PTY to handle them.

In particular, this allows `SIGCHLD` (i.e. child process exits) to shut
down the terminal promptly, instead of sometimes leaving the window
lingering.

Fixes #915.
Fixes #1276.
Fixes #1313.

As a side effect, this fixes a very rare bug on Linux, where a `read`
from the PTY on the master side would sometimes "fail" with `EIO` if the
child closed the client side at a particular moment. This was subject to
a race condition, and was very difficult to trigger in practice.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the the signal handling machinery in tty::unix, and
replaces it with functionality from signal-hook, which should be more
robust. Signals caught by signal-hook wake up the existing I/O event
loop, which then delegates back to the PTY to handle them.

In particular, this allows `SIGCHLD` (i.e. child process exits) to shut
down the terminal promptly, instead of sometimes leaving the window
lingering.

Fixes #915.
Fixes #1276.
Fixes #1313.

As a side effect, this fixes a very rare bug on Linux, where a `read`
from the PTY on the master side would sometimes "fail" with `EIO` if the
child closed the client side at a particular moment. This was subject to
a race condition, and was very difficult to trigger in practice.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add dynamic title support for Window</title>
<updated>2019-03-07T20:37:11+00:00</updated>
<author>
<name>David Hewitt</name>
<email>1939362+davidhewitt@users.noreply.github.com</email>
</author>
<published>2019-03-07T20:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=ea87c1546b98265332239ccf6ff7eb45d7549ee2'/>
<id>ea87c1546b98265332239ccf6ff7eb45d7549ee2</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>Make start_daemon behaviour on Windows consistent with Unix</title>
<updated>2019-03-04T22:58:03+00:00</updated>
<author>
<name>David Hewitt</name>
<email>1939362+davidhewitt@users.noreply.github.com</email>
</author>
<published>2019-03-04T22:58:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=9ba7c4fae4d927e109c7981f7e11ca7acdc14eb3'/>
<id>9ba7c4fae4d927e109c7981f7e11ca7acdc14eb3</id>
<content type='text'>
In cases where the Alacritty process had invalid std handles then
the ConPTY subprocess would fail to spawn. By setting appropriate
flags we prevent these handles from being passed to the ConPTY
subprocess.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In cases where the Alacritty process had invalid std handles then
the ConPTY subprocess would fail to spawn. By setting appropriate
flags we prevent these handles from being passed to the ConPTY
subprocess.
</pre>
</div>
</content>
</entry>
</feed>
