<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dialog-rs/src, 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>Document the Zenity backend in the crate comment</title>
<updated>2019-01-10T23:57:23Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-10T23:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=27834815893eca768f64c4fb9c5a85d42dea60e6'/>
<id>urn:sha1:27834815893eca768f64c4fb9c5a85d42dea60e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement Display for the Error enum</title>
<updated>2019-01-10T23:49:35Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-10T23:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=5db93c5962fb2fc65c26f2cc9f6875414c43b697'/>
<id>urn:sha1:5db93c5962fb2fc65c26f2cc9f6875414c43b697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move Error enum to the error module</title>
<updated>2019-01-10T23:49:22Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-10T23:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/dialog-rs/commit/?id=3e7464c0f8cbadb8c6335c53579ec9570962dc3f'/>
<id>urn:sha1:3e7464c0f8cbadb8c6335c53579ec9570962dc3f</id>
<content type='text'>
The trait implementations for the Error enum contain a lot of
boilerplate code and are not very insightful.  Therefore this patch
moves the Error enum, its trait implementations and the related Result
type definition from the main module to the error module.  The Error and
Result types are re-exported from the main module so that the public
interface does not change.
</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>
</feed>
