| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Don't display the cursor on the graphical screen while doing a quiet
boot. When doing a quiet boot we will probably show the graphical
screen for a fair bit of time; as a result, we really don't want a
completely bogus cursor blob on the bottom of the screen.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add a MENU RESOLUTION command to make it possible to set a nonstandard
resolution. If the nonstandard resolution is unavailable, we revert
to the text mode screen.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |/
|
|
|
|
| |
Add (disabled) debugging hooks to the menu system.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
Automatically reformat com32/menu/menu.h using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Change MENU SAVE to be a cascading default that can be reverted with
MENU NOSAVE.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Implement MENU SAVE, which allows the menu system to retain the
previous selection from one boot to another. In the process, fix the
syslinux_setadv() function.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
Add a new "UI" directive to specify a user interface module, instead
of abusing the DEFAULT directive. This allows the DEFAULT directive
to be used for setting the default, even when the menu system is
enabled.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
Avoid leaving obvious password turds in memory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
| |
Break off execute() into its own source file, with the intent of being
able to re-use it for a CLI module.
|
| |
|
|
|
| |
Allow MENU EXIT to "exit" to an arbitrary menu. This is really just a
variant of "MENU GOTO", but it allows displaying an exit marker.
|
| |
|
|
|
| |
Color directives would always end up attached to the root menu, no
matter what menu declaration they where actually located in.
|
| |
|
|
|
| |
For each menu, remember what the current position of the cursor and
the scroll is.
|
| | |
|
| | |
|
| |
|
|
| |
Allow either "MENU LABEL" or "MENU TITLE" to default for each other.
|
| |
|
|
|
|
| |
Since we store pointers to struct menu_entry, we can't put it in
storage that is subject to realloc(). Accordingly, make menu_entries
an indirect array instead.
|
| |
|
|
|
| |
With this edit, the submenu system seems to have minimal
functionality.
|
| |
|
|
|
| |
Switch consistently to using refstrings; we now seem to have original
functionality back.
|
| | |
|
| |
|
|
| |
Development snapshot before converting to refstrings
|
| |
|
|
|
|
| |
Use a dynamic array instead of a static array which we would simply
crash on overflow. Always make it a power-of-two sized so we don't
end up doing a realloc() and a full array copy on every extend.
|
| |
|
|
|
|
|
|
|
| |
Extend the command line size to 2047 characters. The editor probably
doesn't deal all that well with it; as it pretty much needs a
scrolling window of some sort (2047 characters is bigger than an 80x25
screen.)
Worry about that bit later.
|
| | |
|
| |
|
|
| |
Move passwd_compare() into a separate source file, for cleanliness.
|
|
|
Move the simple menu system into its own subdirectory, to make it more
obvious which source files are part of it.
|