[PATCH] [master] new TUI
Martin Sivak
msivak at redhat.com
Wed Aug 8 08:52:38 UTC 2012
Hi,
(I already tried to submit this, but it is still not in the list,
so I am consodering the mail to be lost and sending it again.)
This patchset adds the TUI framework, summary hub and two spokes.
The goal was to prepare API and set of classes which will resemble
what we have in GUI - for both developers and users.
It is also supposed to work even on dot matrix printer and very
old and stupid consoles with no scrolling or cursor movement.
Patchset was prepared on the rebased version of my newtui branch and is
already merged to current master, so to see it work (or apply it)
please checkout from my git repo:
http://fedorapeople.org/cgit/msivak/public_git/anaconda.git/
git://fedorapeople.org/msivak/public_git/anaconda.git
The documentation and framework tests are added by couple of patches
in the second half of this set. The documentation format is the same
as used on the python.org website (http://pypi.python.org/pypi/Sphinx/).
To test this, you can use the Makefile targets:
make runtextspoke SPOKE_MODULE=password SPOKE_CLASS=PasswordSpoke
or
make runtexthub HUB_MODULE=summary HUB_CLASS=SummaryHub
For Jessie:
There was a slight change in the API for screen, so please update
the input and prompt methods if your work-in-progress spokes.
Martin
Martin Sivak (13):
Text based UI framework core
Make collect and part of UserInterface setup more generic
Create the base classes for TUI Hub and Spoke model
Create common abstract classes usable for all types of UI
Fix bits and pieces to make TUI hub and spoke model work + example
Hub and Password spoke
Add the new Summary hub and Password TUI spokes + tools to test TUI
stuff
Add documentation to the simpleline library for TUI
add documentation and comments to TUI classes
add couple of tests and support for them
add couple of tests and fix write method of widget (newline added
unwanted space)
Add automake files for TUI
Pass screen args argument to prompt and input methods + fix for
run-text-spoke
Add elementary timezone spoke
More information about the anaconda-patches
mailing list