Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
15 years ago
Michael Brown
67ee41ad6d
[editbox] Allow for password widgets that do not display their contents
15 years ago
Michael Brown
e65afc4b10
[dhcp] Split PXE menuing code out of dhcp.c
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.
16 years ago
Alexey Zaytsev
a1572e0ab0
Modify gPXE core and drivers to work with the new timer subsystem
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com >
16 years ago
Holger Lubitz
d39e79248c
__nonnull changes
17 years ago
Holger Lubitz
c5414e6d12
__nonnull changes
17 years ago
Holger Lubitz
6a3ee34c18
__nonnull changes
17 years ago
Michael Brown
0d568ac219
Make has_key() a static inline, rather than omitting it altogether.
17 years ago
Michael Brown
3e816c3d56
Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d .
17 years ago
Holger Lubitz
3cb133d27d
make bool m_echo static
17 years ago
Holger Lubitz
ac1e0aa63e
remove has_key by #if 0'ing out
17 years ago
Holger Lubitz
0e0843a872
make _wgetc static
17 years ago
Holger Lubitz
9280f2649a
make struct _softlabelkeys *slks static
17 years ago
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
17 years ago
Michael Brown
f4c1e564a1
vsprintf.h is gPXE-specific; move it to include/gpxe
18 years ago
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
18 years ago
Michael Brown
5ff23aa406
Include stdlib.h rather than malloc.h
18 years ago
Michael Brown
d0a3cc3417
Avoid creating implicit memcpy()s
18 years ago
Michael Brown
b9f8599537
Define KEY_MIN and use it in kb.c.
18 years ago
Michael Brown
9ab17484d0
Explicitly call erase(), to cope with platforms where the ANSI clear
screen sequence doesn't work (like bios_console.c on some platforms).
18 years ago
Michael Brown
c66b99272f
Fix (hopefully) the scrolling logic
18 years ago
Michael Brown
3e0f7621eb
Don't automatically redraw the edit box; this allows better inheritance.
18 years ago
Michael Brown
35dcbfe771
Editable text box widget based on mucurses and edit_string.
18 years ago
Michael Brown
82ec3fc5cc
Reset screen on exit as well as entry
18 years ago
Michael Brown
abbfbd678d
Explicitly move cursor to top-left of screen, in case the clear screen
call doesn't do it.
18 years ago
Michael Brown
c1bac56f85
Use current attributes when erasing.
18 years ago
Michael Brown
cdfe61662b
Assume a 24-line screen, since we can't (easily) avoid scrolling after
printing in the bottom-right position.
18 years ago
Michael Brown
e85bf52446
Avoid cursor move on every single character
18 years ago
Michael Brown
e7cc1c6c35
Use ANSI escape sequence to reset and clear terminal, rather than using
the (slow) werase().
18 years ago
Michael Brown
edbdce6e3d
Now basically functioning on ANSI-supporting consoles.
18 years ago
Michael Brown
09f9142cbf
Adjusted to use the normal internal mucurses API rather than accessing
stdscr directly.
18 years ago
Michael Brown
b6b36e8ac4
Remove more dynamic allocation
18 years ago
Michael Brown
04d15fb8f8
There seems to be no reason why pos_x is static...
18 years ago
Michael Brown
1f74fa2cad
Remove some unnecessary use of calloc() for tiny memory areas.
18 years ago
Michael Brown
ba26defa6e
Convert _{store,restore}_cursor_pos to static inlines.
18 years ago
Michael Brown
56970053f4
wmove() is part of the public curses API, and already defined in curses.h
18 years ago
Michael Brown
1755d8df7a
Renamed core.h to mucurses.h
18 years ago
Michael Brown
426e847c4c
Rename core.c->mucurses.c; bin/core.o is too generic to belong to mucurses.
18 years ago
Michael Brown
2ed2b2efe8
Use iskey() and getchar() to interact with console, rather than object
abstraction.
18 years ago
Dan Lynch
c29c868475
- implemented cursor retreat function (_wcursback) as a core function
- reimplemented cleaner wgetnstr
- fixed wdelch for use with _wcursback
18 years ago
Dan Lynch
7f4cfe4a84
- put in the screen initialisation stuff and clear the screen...
18 years ago
Dan Lynch
11e280670d
- works with test ansi tty, but will need a rethink when we start
getting key_ codes instead
18 years ago
Dan Lynch
916f21921f
check whether malloc returns a valid pointer
18 years ago
Dan Lynch
9ca2f64ee1
moved console specific items out of mucurses (should be handled by external screen object)
18 years ago
Dan Lynch
05c0b3ce09
included contents of input.{c,h} in kb.c
18 years ago
Dan Lynch
1c87d54bb8
- recoded wgetch and wgetnstr for greater more efficiency
- wgetch now includes non, part and full blocking read support
18 years ago
Dan Lynch
fb85954249
first working version - nasty, but mostly works
18 years ago
Dan Lynch
890dc758e8
- proper layout formatted soft label array, with justification formatted labels
- some minor preventatives
18 years ago
Dan Lynch
811df504a5
- erradicate compiler warning due to possibility of uninitialised variables (switch statement)
18 years ago
Dan Lynch
6fc723c294
- added doxygen @file header
- no longer depends on slk
18 years ago