- 24 Jun, 2019 1 commit
-
-
Leonora Tindall authored
-
- 08 Jun, 2019 1 commit
-
-
Leonora Tindall authored
Using GNU Make we can now build, install, and uninstall from a vanilla Linux system, including desktop file and icons.
-
- 07 Jun, 2019 2 commits
-
-
Leonora Tindall authored
Refactor and show parse errors See merge request !1
-
Federico Mena Quintero authored
-
- 06 Jun, 2019 16 commits
-
-
Federico Mena Quintero authored
-
Federico Mena Quintero authored
This should let us print error messages from parsing.
-
Federico Mena Quintero authored
This moves the logic for updating the GUI state into main.rs, and leaves rolls.rs concerned only with extracting data out of rfyl. We have a new State::update_from_roll_result() that handles that logic, and a test for it.
-
Federico Mena Quintero authored
This makes a test codify some behavior that will be visible in the GUI with respect to error handling; you may want to change this later. This also adds #[derive(Debug, PartialEq)] to State so that it can be used in assert_eq.
-
Federico Mena Quintero authored
-
Federico Mena Quintero authored
This should make it easier to write tests.
-
Federico Mena Quintero authored
widgetry gui state
-
Federico Mena Quintero authored
Callbacks already own a strong reference to the State. They only need a mutable borrow so they can change the state.
-
Federico Mena Quintero authored
This function is not concerned with who owns the state; it just wants to modify it.
-
Federico Mena Quintero authored
This makes setting up the callbacks less noisy.
-
Federico Mena Quintero authored
This lets us update the window from a State without passing explicit widgets around.
-
Federico Mena Quintero authored
This function does not mutate the state; it only looks at its value to update the widgets.
-
Federico Mena Quintero authored
This makes calls to update() less noisy.
-
Federico Mena Quintero authored
The MainWindow is put in an Arc<> so each callback can hold a reference to the MainWindow. In addition, this means that each callback only needs a reference to the whole window, not to every sub-widget it may need.
-
Leonora Tindall authored
Add README and COPYING, bump version
-
Leonora Tindall authored
Enter key in user spec entry rolls what's in the entry as well as maximization not breaking the app.
-
- 04 Jun, 2019 1 commit
-
-
Leonora Tindall authored
-
- 02 Jun, 2019 5 commits
-
-
Leonora Tindall authored
The error popover looks nicer without a button, and it's not necessary.
-
Leonora Tindall authored
-
Leonora Tindall authored
This adds several more FFI functions but the interface from ffi.py is sofar unchanged.
-
Leonora Tindall authored
Rolling each predefined roll works, as does halving and custom rfyl entries. However erroris in the rfyl entry box lead to replacing the value with a zero rather than anything more useful. A popover is implemented but error transfer is not yet.
-
Leonora Tindall authored
Move the FFI dance to its own file, and start building a GTK application in the main.py file. That's where all the basic app logic will be maintained, at least for now.
-
- 01 Jun, 2019 3 commits
-
-
Leonora Tindall authored
-
Leonora Tindall authored
-
Leonora Tindall authored
-