Michael Brown
c3b4860ce3
[legal] Update FSF mailing address in GPL licence texts
Suggested-by: Daniel P. Berrange <berrange@redhat.com >
Signed-off-by: Michael Brown <mcb30@ipxe.org >
12 years ago
Michael Brown
64d17dbd50
[console] Exclude text-based UI output from logfile-based consoles
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 >
12 years ago
Michael Brown
a6d49c17c9
[console] Move putchar() and getchar() declarations to stdio.h
Signed-off-by: Michael Brown <mcb30@ipxe.org >
12 years ago
Michael Brown
6a6dd5c452
[readline] Add init_editstring() wrapper function
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 >
13 years ago
Michael Brown
1c0ff6e1a7
[console] Move include/console.h to include/ipxe/console.h
Signed-off-by: Michael Brown <mcb30@ipxe.org >
13 years ago
Michael Brown
8406115834
[build] Rename gPXE to iPXE
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 >
14 years ago
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