Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | do_update(): Use notice()HEADmaster | P. J. McDermott | 2015-11-06 | 1 | -2/+1 |
| | |||||
* | do_update(): Fix error handling | P. J. McDermott | 2015-11-06 | 1 | -3/+4 |
| | | | | What idiot messed up this return logic? | ||||
* | notice(): New function | P. J. McDermott | 2015-11-06 | 3 | -5/+26 |
| | | | | | In the TUI, info() now creates a dialog box without an "OK" button, and notice() creates a box with an "OK" button. | ||||
* | README: Write | P. J. McDermott | 2015-10-31 | 1 | -0/+112 |
| | |||||
* | src/term.sh: Adjust header description | P. J. McDermott | 2015-10-31 | 1 | -1/+1 |
| | |||||
* | tools/shmin.sh: Remove | P. J. McDermott | 2015-10-30 | 1 | -292/+0 |
| | | | | | | | | | | | It screws up handling backslash-escaped characters in src/ui/tui.sh; fails to parse src/dist/libiquity.sh (due to an EOF while parsing a double-quoted string); and doesn't know how to handle parameter expansions, command substitutions, here-documents, etc. It needs to be rewritten into a proper parser. But, if firman gets compressed (e.g. as part of an initramfs) anyway, minifying it first only saves less than 2 KiB. | ||||
* | tools/shmin.sh: Move fgetc() call | P. J. McDermott | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | tools/shmin.sh: Fix most syntax errors | P. J. McDermott | 2015-10-30 | 1 | -1/+0 |
| | | | | EOF after newline is perfectly valid. | ||||
* | tools/shmin.sh: Write errors to stderr | P. J. McDermott | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | tools/shmin.sh: Support writing to stdout | P. J. McDermott | 2015-10-30 | 1 | -10/+12 |
| | |||||
* | tools/shmin.sh: Detect syntax errors | P. J. McDermott | 2015-10-30 | 1 | -8/+27 |
| | |||||
* | tools/shmin.sh: Close input file's FD | P. J. McDermott | 2015-10-30 | 1 | -1/+6 |
| | |||||
* | tools/shmin.sh: Handle backslashes | P. J. McDermott | 2015-10-30 | 1 | -0/+7 |
| | |||||
* | Makefile.am: Define dependencies | P. J. McDermott | 2015-10-30 | 1 | -0/+1 |
| | |||||
* | Makefile.am: Finish fixing out-of-tree builds | P. J. McDermott | 2015-10-30 | 1 | -4/+7 |
| | |||||
* | Makefile.am: Distribute tools | P. J. McDermott | 2015-10-30 | 1 | -1/+3 |
| | |||||
* | Makefile.am: Partially fix out-of-tree builds | P. J. McDermott | 2015-10-30 | 1 | -3/+4 |
| | |||||
* | tui_show_prompt(): Add a Cancel button | P. J. McDermott | 2015-10-30 | 1 | -2/+17 |
| | |||||
* | tui_show_menu(): Add a Cancel button | P. J. McDermott | 2015-10-30 | 1 | -3/+18 |
| | |||||
* | src/action/update.sh: Add more error handling | P. J. McDermott | 2015-10-30 | 1 | -10/+32 |
| | |||||
* | dist_get_rom(): Finish error handling | P. J. McDermott | 2015-10-30 | 2 | -0/+12 |
| | |||||
* | src/download.sh: Replace err() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -4/+4 |
| | | | | | We can print more user-friendly error messages at higher levels in the application. | ||||
* | dist_get_versions(): Handle errors from dl() | P. J. McDermott | 2015-10-30 | 2 | -10/+19 |
| | | | | Also, replace while+read+heredoc with for. | ||||
* | tui_show_menu(): Output selected option | P. J. McDermott | 2015-10-30 | 1 | -0/+1 |
| | | | | Uhh, oops. | ||||
* | tui_info(): Write message to terminal | P. J. McDermott | 2015-10-30 | 1 | -1/+4 |
| | |||||
* | _tui_dialog(): Support info dialogs | P. J. McDermott | 2015-10-30 | 1 | -0/+5 |
| | |||||
* | cli_info(): Write message to terminal | P. J. McDermott | 2015-10-30 | 1 | -1/+4 |
| | |||||
* | src/main.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | do_update(): Add info() calls | P. J. McDermott | 2015-10-30 | 1 | -2/+10 |
| | |||||
* | src/flashrom.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | src/dist/libiquity.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -2/+2 |
| | |||||
* | src/dist/libreboot.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -2/+2 |
| | |||||
* | src/board/ich9.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -2/+2 |
| | |||||
* | src/action/update.sh: Replace info() with dbg() | P. J. McDermott | 2015-10-30 | 1 | -4/+4 |
| | |||||
* | tui_show_prompt(): Place cursor at end of default input | P. J. McDermott | 2015-10-29 | 1 | -1/+3 |
| | |||||
* | cli_show_prompt(): Show default value | P. J. McDermott | 2015-10-29 | 1 | -1/+5 |
| | |||||
* | ich9_prepare_rom(): Get current MAC address | P. J. McDermott | 2015-10-29 | 1 | -2/+10 |
| | |||||
* | show_menu(): Add initial value parameter | P. J. McDermott | 2015-10-29 | 3 | -6/+7 |
| | |||||
* | src/main.sh: New -m option | P. J. McDermott | 2015-10-29 | 1 | -1/+9 |
| | |||||
* | message(): New function | P. J. McDermott | 2015-10-29 | 3 | -3/+32 |
| | |||||
* | tui_show_prompt(): Hide cursor after KEY_ENTER from input | P. J. McDermott | 2015-10-29 | 1 | -1/+4 |
| | |||||
* | tui_show_menu(): Add Vim-style key bindings | P. J. McDermott | 2015-10-29 | 1 | -4/+4 |
| | |||||
* | _tui_box(): Fix coordinate offsets | P. J. McDermott | 2015-10-29 | 1 | -2/+2 |
| | | | | Rows and columns are counted from 1. | ||||
* | _tui_dialog(): Don't use SGR underline with icons | P. J. McDermott | 2015-10-29 | 1 | -19/+2 |
| | | | | | The Linux console handles SGR parameter 4 with color instead of an underline. | ||||
* | tui_show_prompt(): Draw box, not underlined field | P. J. McDermott | 2015-10-29 | 1 | -13/+15 |
| | | | | | The Linux console handles SGR parameter 4 with color instead of an underline. | ||||
* | _term_get_escseq(): Handle KEY_HOME and KEY_END on Linux console | P. J. McDermott | 2015-10-29 | 1 | -4/+16 |
| | |||||
* | _term_get_escseq(): Handle KEY_HOME and KEY_END on XTerm | P. J. McDermott | 2015-10-29 | 1 | -0/+2 |
| | |||||
* | _tui_box(): Reset SGR before clearing screen | P. J. McDermott | 2015-10-29 | 1 | -0/+1 |
| | | | | | | Otherwise, some video mode corruption happens and the screen gets cleared white for the next box (on VTE-based terminals) or all subsequent boxes (on XTerm and the Linux console). | ||||
* | tui_show_menu(): Fix scrolling | P. J. McDermott | 2015-10-29 | 1 | -3/+3 |
| | |||||
* | tui_show_menu(): Set ${scrpos} on KEY_UP, KEY_DOWN, and KEY_END | P. J. McDermott | 2015-10-29 | 1 | -3/+8 |
| |