aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Move Error enum to the error moduleRobin Krahl2019-01-11
| | | | | | | | | 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.
* Implement zenity backendRobin Krahl2019-01-08
|
* Add the Password dialog boxRobin Krahl2019-01-08
|
* Release v0.1.0v0.1.0Robin Krahl2019-01-08
|
* Refactor io::Error into custom Error enumRobin Krahl2019-01-08
|
* Add question dialog boxesRobin Krahl2019-01-08
|
* Add input dialog boxesRobin Krahl2019-01-08
| | | | | | This patch implements input dialog boxes. This required some refactoring in the dialog backend to allow additional arguments after the width and the height.
* Move tests/ to examples/Robin Krahl2019-01-08
| | | | | | | So far it is hard to write unit tests for this crate as we don’t have much logic. The existing tests are usage examples, therefore they are moved to the examples directory. They can be run with `cargo run --example <name>`.
* backends/Dialog: Add support for output handlingRobin Krahl2019-01-08
| | | | | | | | 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.
* Implement message boxes using the dialog backendRobin Krahl2019-01-08
| | | | | | This patch adds a first dialog box type, message boxes, and a first backend, the dialog(1) tool. It does not yet address the problems of output handling and backend selection.
* Create project skeletonRobin Krahl2019-01-08