<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dialog-rs/src/backends, branch v0.2.0</title>
<subtitle>Display dialog boxes using various backends (Rust library)</subtitle>
<id>https://git.ireas.org/dialog-rs/atom?h=v0.2.0</id>
<link rel='self' href='https://git.ireas.org/dialog-rs/atom?h=v0.2.0'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/'/>
<updated>2019-01-11T02:32:45Z</updated>
<entry>
<title>Add the stdio backend</title>
<updated>2019-01-11T02:32:45Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T02:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=84bfea7add93a98f83ad958151cca718c33bc0a4'/>
<id>urn:sha1:84bfea7add93a98f83ad958151cca718c33bc0a4</id>
<content type='text'>
This patch adds the stdio backend which acts as a fallback backend and
uses standard input and output.  For password queries, the rpassword
crate is used to suppress output.  Also, default_backend is changed to
return Stdio if Dialog is not available.
</content>
</entry>
<entry>
<title>Check DISPLAY environment variable in default_backend</title>
<updated>2019-01-11T01:56:32Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T01:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=dc754cbc9763b3ea6979ed55bd4e8030fe073078'/>
<id>urn:sha1:dc754cbc9763b3ea6979ed55bd4e8030fe073078</id>
<content type='text'>
This patch changes the default_backend to also check the DISPLAY
environment variable.  If it is set, there probably is a X server
running, so we try to use the zenity backend.  Otherwise, the dialog
backend is used.
</content>
</entry>
<entry>
<title>Check the DIALOG environment variable in default_backend</title>
<updated>2019-01-11T01:25:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T01:24:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=02190c44f7072b4fdaca50836a583f955866f8de'/>
<id>urn:sha1:02190c44f7072b4fdaca50836a583f955866f8de</id>
<content type='text'>
This patch changes the logic in default_backend to respect the DIALOG
environment variable that may contain the name of the backend to use.
</content>
</entry>
<entry>
<title>Return Box&lt;dyn Backend&gt; in default_backend()</title>
<updated>2019-01-11T00:46:50Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T00:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=3efbb1ddc8b85f85621db9b37a0980ec88d2386d'/>
<id>urn:sha1:3efbb1ddc8b85f85621db9b37a0980ec88d2386d</id>
<content type='text'>
This patch refactors the default_backend function to return a Box&lt;dyn
Backend&gt; instead of impl Backend.  This will allow us to dynamically
choose the backend implementation in a future patch.  To keep the
current interface, we change show_with to accept both a reference to a
backend instance as well as a reference to a boxed backend instance.
This also means we have to implement AsRef&lt;Self&gt; for the backend
structs.
</content>
</entry>
<entry>
<title>Implement zenity backend</title>
<updated>2019-01-08T19:56:09Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T18:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=f0f659944c6d89a6205fd98a2434ed61c0e7313b'/>
<id>urn:sha1:f0f659944c6d89a6205fd98a2434ed61c0e7313b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the Password dialog box</title>
<updated>2019-01-08T19:55:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T17:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=474d92046f17a98f8979e55edaf75ca867d85b86'/>
<id>urn:sha1:474d92046f17a98f8979e55edaf75ca867d85b86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor io::Error into custom Error enum</title>
<updated>2019-01-08T04:13:45Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T04:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=4ffee6bacc3579c57687f4029d2fc73213592c39'/>
<id>urn:sha1:4ffee6bacc3579c57687f4029d2fc73213592c39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add question dialog boxes</title>
<updated>2019-01-08T03:54:39Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T03:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=fce7d2b9bf30e09b615dbd77b4dd7db94d623bfb'/>
<id>urn:sha1:fce7d2b9bf30e09b615dbd77b4dd7db94d623bfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add input dialog boxes</title>
<updated>2019-01-08T03:54:20Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T03:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=ec84c425282c3fd26f5e862b7864ad2ae7ec1e2e'/>
<id>urn:sha1:ec84c425282c3fd26f5e862b7864ad2ae7ec1e2e</id>
<content type='text'>
This patch implements input dialog boxes.  This required some
refactoring in the dialog backend to allow additional arguments after
the width and the height.
</content>
</entry>
<entry>
<title>backends/Dialog: Add support for output handling</title>
<updated>2019-01-08T03:54:07Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-08T02:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=9fc28c2099b50484a4b3154f64f764904d57334e'/>
<id>urn:sha1:9fc28c2099b50484a4b3154f64f764904d57334e</id>
<content type='text'>
dialog(1) uses stdin to display the dialog boxes and prints output to
stderr (if applicable).  This patch changes the command invocation in
the Dialog backend to capture stderr.  stdin and stdout are inherited
from the main process so that dialog can display the dialog boxes and
receive user input.
</content>
</entry>
</feed>
