summaryrefslogtreecommitdiffstats
path: root/src/hci/mucurses
Commit message (Collapse)AuthorAgeFilesLines
* [mucurses] Avoid potential division by zeroMichael Brown2017-07-041-2/+1Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Ensure SLK labels are always terminatedMichael Brown2017-03-221-1/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Attempt to fix use of uninitialised buffer with strcat()Michael Brown2017-03-211-0/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Attempt to fix resource leaksMichael Brown2017-03-211-6/+4Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Attempt to fix keypress processing logicMichael Brown2017-03-211-4/+3Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Attempt to fix test for empty stringMichael Brown2017-03-211-1/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Fix GCC 6 nonnull-compare errorsVinson Lee2016-05-041-11/+0Star
| | | | | | | Remove null checks for arguments declared as nonnull. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-0215-15/+15
| | | | | | | Relicense files authored by Dan Lynch while working as an employee of Fen Systems Ltd., with permission from Fen Systems Ltd. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-021-1/+5
| | | | | | | Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Add missing FILE_LICENCE declarationsMichael Brown2015-03-026-0/+12
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Fix display of characters with top bit setMichael Brown2014-03-131-1/+1
| | | | | | | | | | Inhibit implicit sign-padding of characters with the top bit set (e.g. accented characters), which confuses the mucurses library by colliding with the bits used to store character attributes and colours. Reported-by: Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Use centralised concept of colour pairsMichael Brown2013-12-091-6/+8
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Allow consoles to update the recorded console sizeMichael Brown2013-12-061-4/+1Star
| | | | | | | | | | | | | | | | | | | | Provide a mechanism for consoles to update the recorded console width and height, and use this width and height to provide the curses COLS and LINES variables. We choose not to use ANSI escape sequences to obtain the width and height, for two reasons: - iPXE's model is that all output is sent to all consoles; we could therefore end up with multiple consoles reporting conflicting widths and heights - when a serial console is in use, we probably don't want to resize the output shown on the BIOS console to match the size of the serial console, since it's likely that the serial console is in use only for debugging. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Implement curs_set() to control cursor visibilityMichael Brown2013-12-023-0/+17
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Use "<ESC>[2J" ANSI escape sequence to clear screenMichael Brown2013-11-282-11/+32
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Fix uses of literal 0 as a NULL pointerMichael Brown2013-04-281-1/+1
| | | | | | Detected using sparse. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Update FSF mailing address in GPL licence textsMichael Brown2012-07-201-1/+2
| | | | | Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Exclude text-based UI output from logfile-based consolesMichael Brown2012-03-261-2/+14
| | | | | | | | The output from text-based user interfaces such as the "config" command is not generally meaningful for logfile-based consoles such as syslog and vmconsole. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Move putchar() and getchar() declarations to stdio.hMichael Brown2012-03-261-1/+0Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [readline] Add init_editstring() wrapper functionMichael Brown2011-03-301-2/+1Star
| | | | | | | | Standardise on using init_editstring() to initialise an embedded editable string, to match the coding style used by other embedded objects. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Move include/console.h to include/ipxe/console.hMichael Brown2011-03-092-2/+2
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-202-2/+2
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-1810-0/+20
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [editbox] Allow for password widgets that do not display their contentsMichael Brown2009-02-171-3/+8
|
* [dhcp] Split PXE menuing code out of dhcp.cMichael Brown2009-02-012-3/+3
| | | | | | | | | The DHCP client code now implements only the mechanism of the DHCP and PXE Boot Server protocols. Boot Server Discovery can be initiated manually using the "pxebs" command. The menuing code is separated out into a user-level function on a par with boot_root_path(), and is entered in preference to a normal filename boot if the DHCP vendor class is "PXEClient" and the PXE boot menu option exists.
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-021-1/+1
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* __nonnull changesHolger Lubitz2007-08-201-5/+5
|
* __nonnull changesHolger Lubitz2007-08-201-0/+8
|
* __nonnull changesHolger Lubitz2007-08-201-0/+5
|
* Make has_key() a static inline, rather than omitting it altogether.Michael Brown2007-07-281-15/+1Star
|
* Revert "make bool m_echo static" - I suspect this to be defined by specMichael Brown2007-07-281-1/+1
| | | | This reverts commit 3cb133d27daf11e77fe48d44e1ce639711f903de.
* make bool m_echo staticHolger Lubitz2007-07-271-1/+1
|
* remove has_key by #if 0'ing outHolger Lubitz2007-07-271-1/+3
|
* make _wgetc staticHolger Lubitz2007-07-271-0/+1
|
* make struct _softlabelkeys *slks staticHolger Lubitz2007-07-271-1/+1
|
* Warnings purge: src/{crypto,hci,net}Marty Connor2007-07-031-0/+1
|
* vsprintf.h is gPXE-specific; move it to include/gpxeMichael Brown2007-01-191-1/+1
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-192-2/+3
|
* Include stdlib.h rather than malloc.hMichael Brown2007-01-182-2/+2
|
* Avoid creating implicit memcpy()sMichael Brown2007-01-051-4/+3Star
|
* Define KEY_MIN and use it in kb.c.Michael Brown2006-12-201-2/+2
|
* Explicitly call erase(), to cope with platforms where the ANSI clearMichael Brown2006-12-201-0/+5
| | | | screen sequence doesn't work (like bios_console.c on some platforms).
* Fix (hopefully) the scrolling logicMichael Brown2006-12-201-11/+11
|
* Don't automatically redraw the edit box; this allows better inheritance.Michael Brown2006-12-201-19/+0Star
|
* Editable text box widget based on mucurses and edit_string.Michael Brown2006-12-201-0/+115
|
* Reset screen on exit as well as entryMichael Brown2006-12-201-6/+3Star
|
* Explicitly move cursor to top-left of screen, in case the clear screenMichael Brown2006-12-191-1/+1
| | | | call doesn't do it.
* Use current attributes when erasing.Michael Brown2006-12-193-4/+16
|
* Assume a 24-line screen, since we can't (easily) avoid scrolling afterMichael Brown2006-12-191-1/+1
| | | | printing in the bottom-right position.
* Avoid cursor move on every single characterMichael Brown2006-12-191-4/+20
|