Vladimir 'phcoder' Serbinenko
2237daf246
* grub-core/term/terminfo.c: Add Home and End key sequences.
2013-09-28 00:55:38 +02:00
Pawel Wojtalczyk
436ad5c3f4
* grub-core/term/efi/console.c (grub_console_getkey): Accept VT100-style
...
codes.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-18 18:58:09 +02:00
Vladimir 'phcoder' Serbinenko
a62ae90c2b
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Start with
...
standard rather than noral color, in line with other terminals.
2013-08-02 22:58:16 +02:00
Vladimir 'phcoder' Serbinenko
ae27e4d323
Merge mainline into arm
2013-07-16 18:43:43 +02:00
Andrey Borzenkov
5b06b53cbd
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use
...
grub_term_normal_color, do not hardcode GRUB_TERM_DEFAULT_NORMAL_COLOR.
2013-06-16 16:24:05 +04:00
Vladimir 'phcoder' Serbinenko
837222cc30
* grub-core/term/gfxterm.c: USe right background color when scrolling.
2013-06-16 03:53:07 +02:00
Vladimir 'phcoder' Serbinenko
e6930a454d
Enable coreboot information commands even when not loaded as
...
coreboot payload (e.g. when loaded from SeaBIOS-as-payload).
2013-06-16 01:57:55 +02:00
Vladimir 'phcoder' Serbinenko
fc4c4fddf6
Detach optional parts of gfxterm and integrate in with coreboot init.
2013-05-31 00:42:33 +02:00
Vladimir 'phcoder' Serbinenko
8e71d87482
merge mainline into arm
2013-05-11 10:24:24 +02:00
Vladimir 'phcoder' Serbinenko
8200fa1597
* grub-core/term/terminfo.c: Rename ANSI_C0 to ANSI_CSI to avoid
...
misnomer.
2013-05-10 14:07:41 +02:00
Vladimir 'phcoder' Serbinenko
e56d9637ae
* grub-core/term/efi/console.c: Fix compile error.
2013-05-07 20:40:00 +02:00
Vladimir 'phcoder' Serbinenko
85002bf34a
Agglomerate more mallocs to speed-up gfxterm.
2013-05-04 22:23:23 +02:00
Vladimir 'phcoder' Serbinenko
22b06e9685
Speed-up gfxterm by slightly agglomerating mallocs.
2013-05-04 15:07:13 +02:00
Vladimir 'phcoder' Serbinenko
92323d1fb0
Speed-up gfxterm by saving intermediate results in index+alpha
...
format.
2013-05-04 13:58:30 +02:00
Vladimir 'phcoder' Serbinenko
03f7c8c304
Fix several memory leaks.
2013-05-04 13:47:10 +02:00
Leif Lindholm
b385e0723b
Leif's API fixes
2013-05-03 15:07:39 +02:00
Vladimir 'phcoder' Serbinenko
583e5b645c
* include/grub/arc/arc.h: Account for missing "other" peripheral on
...
ARCS. All users updated.
2013-04-30 17:40:31 +02:00
Vladimir 'phcoder' Serbinenko
f97ec54645
* grub-core/term/morse.c: Macroify dih and dah.
2013-04-28 13:27:51 +02:00
Vladimir 'phcoder' Serbinenko
141e2a7816
* grub-core/term/ns8250.c: Systematically probe ports by writing
...
to SR before using them.
2013-04-27 22:47:57 +02:00
Vladimir 'phcoder' Serbinenko
db99fbe83f
Replace libcurses with our own vt100 handling for the ease of testing
...
and decreasing prerequisites.
2013-04-27 00:02:23 +02:00
Vladimir 'phcoder' Serbinenko
b04b5990df
Add serial on ARC platform.
2013-04-25 22:40:03 +02:00
Vladimir 'phcoder' Serbinenko
65a6b30b47
* grub-core/term/ieee1275/console.c (grub_console_dimensions): Ignore
...
bogus SLOF values.
2013-04-25 00:45:29 +02:00
Vladimir 'phcoder' Serbinenko
d1989e2e1d
* grub-core/term/arc/console.c: Assume that console is 80x24 vt100 if
...
it's serial.
2013-04-24 18:39:00 +02:00
Vladimir 'phcoder' Serbinenko
aa1af9bbda
Allow IEEE1275 ports on path even if it wasn't detected automatically.
...
Needed on OpenBIOS due to incomplete device tree.
2013-04-14 17:01:31 +02:00
Vladimir 'phcoder' Serbinenko
bbdd6305db
Handle Japanese special keys.
...
Reported by: Hiroyuki YAMAMORI.
Codes supplied by: Hiroyuki YAMAMORI.
2013-04-12 22:26:38 +02:00
Andrey Borzenkov
ca53deb88f
* grub-core/term/i386/pc/console.c: Fix cursor moving algorithm.
2013-04-08 19:51:33 +02:00
Leif Lindholm
389b31cd71
Initial import of Leif's work
2013-04-07 02:41:07 +02:00
Vladimir 'phcoder' Serbinenko
db8ff59f61
* grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease
...
reported width by one to compensate for curesor algorithm problem.
2013-04-03 15:21:51 +02:00
Vladimir 'phcoder' Serbinenko
d975e8d59c
* grub-core/term/at_keyboard.c: Increase robustness on coreboot
...
and qemu.
2013-03-23 16:54:36 +01:00
Vladimir 'phcoder' Serbinenko
cc19857a2a
New commands cbmemc, lscoreboot, coreboot_boottime to inspect
...
coreboot tables content. Support for cbmemc.
2013-03-20 17:13:31 +01:00
Vladimir 'phcoder' Serbinenko
e5a2dd7b55
remove get_endpoint_descriptor and change all functions needing
...
descriptor to just receive it as argument rather than endpoint
address.
2013-03-19 11:19:36 +01:00
Vladimir 'phcoder' Serbinenko
f6b58fe538
* grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
...
gotoxy to 0,0.
2013-03-05 20:00:51 +01:00
Vladimir 'phcoder' Serbinenko
6e4146c41e
Move to more hookless approach in IEEE1275 devices handling.
2013-03-02 23:51:19 +01:00
Vladimir 'phcoder' Serbinenko
18288f17ac
Improve spkmodem reliability by adding a separator between bytes.
2013-01-21 21:05:33 +01:00
Vladimir 'phcoder' Serbinenko
bc1369732f
Make color variables global instead of it being per-terminal.
2013-01-21 17:53:41 +01:00
Vladimir 'phcoder' Serbinenko
17334a6b6a
Rewrite spkmodem to use PIT for timing. Double the speed.
2013-01-17 20:06:52 +01:00
Vladimir 'phcoder' Serbinenko
b78d6c32e3
New terminal outputs using serial: morse and spkmodem.
2013-01-16 20:39:54 +01:00
Vladimir 'phcoder' Serbinenko
969b804f2a
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Get font as
...
argument rather than font name. All users updated.
(grub_gfxterm_set_window): Likewise.
2012-12-10 16:07:33 +01:00
Vladimir 'phcoder' Serbinenko
7ddffdadea
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
...
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN on mac.
* grub-core/term/ieee1275/console.c (grub_console_init_lately): Use
ieee1275-nocursor if GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN is set.
* grub-core/term/terminfo.c (grub_terminfo_set_current): Add new type
ieee1275-nocursor.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN.
2012-09-18 11:52:19 +02:00
Colin Watson
dfd39dbdea
* grub-core/term/terminfo.c: Only fix up powerpc key repeat on
...
IEEE1275 machines. Fixes powerpc-emu compilation.
* include/grub/terminfo.h: Likewise.
2012-09-14 11:23:36 +01:00
Vladimir 'phcoder' Serbinenko
d187a1c3d7
Fix coreboot compilation.
...
* grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
(grub_vga_text_init_real): ... this.
(grub_vga_text_fini): Rename to ...
(grub_vga_text_fini_real): ... this.
2012-07-22 16:21:24 +02:00
Vladimir 'phcoder' Serbinenko
4d569e12e3
* grub-core/term/efi/serial.c: Support 1.5 stop bits.
2012-07-02 11:30:04 +02:00
Vladimir 'phcoder' Serbinenko
e80fdf7d2e
missing file from last commit
2012-06-28 15:36:48 +02:00
Vladimir 'phcoder' Serbinenko
c35fc5bd15
Add monochrome text support (mda_text, aka `hercules' in grub-legacy).
...
* grub-core/Makefile.core.def (mda_text): New module.
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Support `hercules'.
* grub-core/term/i386/vga_common.c (grub_console_cur_color): Moved to ..
* grub-core/term/i386/pc/vga_text.c (cur_color): ... here
* grub-core/term/i386/pc/console.c (grub_console_cur_color): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_getwh): Moved to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_getwh): ... here
* grub-core/term/i386/pc/console.c (grub_console_getwh): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_setcolorstate): Moved
to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_setcolorstate):
... here
* grub-core/term/i386/pc/console.c (grub_console_setcolorstate): ... and
here.
* grub-core/term/i386/vga_common.c: Removed.
* include/grub/i386/vga_common.h: Likewise.
* include/grub/vga.h (grub_vga_cr_bw_write): New function.
(grub_vga_cr_bw_read): Likewise.
* include/grub/vgaregs.h (GRUB_VGA_IO_CR_BW_INDEX): New enum value.
(GRUB_VGA_IO_CR_BW_DATA): Likewise.
* grub-core/term/i386/pc/vga_text.c [MODE_MDA]: Call
grub_vga_cr_bw_read/grub_vga_cr_bw_write instead of
grub_vga_cr_read/grub_vga_cr_write.
(grub_vga_text_setcolorstate) [MODE_MDA]: Ignore color.
2012-06-28 15:27:54 +02:00
Vladimir 'phcoder' Serbinenko
73a68bcb3a
* grub-core/term/arc/console.c (grub_console_init_output): Add one since
...
the value returned by firmware is the maximal position, not diumension.
(grub_terminfo_output_state): Use a more sane fallback.
2012-06-26 23:34:32 +02:00
Vladimir 'phcoder' Serbinenko
392a603b67
* grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.
2012-06-26 23:32:00 +02:00
Vladimir 'phcoder' Serbinenko
9f1d654e67
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New enum value
...
GRUB_IEEE1275_FLAG_BROKEN_REPEAT.
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_BROKEN_REPEAT on PowerBook3,3.
* include/grub/terminfo.h (grub_terminfo_input_state) [__powerpc__]:
New fields last_key and last_key_time.
* grub-core/term/terminfo.c (grub_terminfo_getkey): Transform
extended key-esc into extended key-extended key.
2012-06-20 22:19:26 +02:00
Vladimir 'phcoder' Serbinenko
cbe0b4efdb
* grub-core/term/ieee1275/console.c (grub_console_fini): Don't
...
needlessly lose the console.
2012-06-13 01:06:35 +02:00
Vladimir 'phcoder' Serbinenko
f695e99a75
* grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix
...
compilation error on sparc64.
2012-06-09 10:55:02 +02:00
Vladimir 'phcoder' Serbinenko
61c42af084
ESCC serial driver for conducting sautomated tests in qemu.
...
Not tested on real hardware.
* include/grub/serial.h (grub_serial_port): New field escc_desc.
* grub-core/term/ieee1275/escc.c: New file.
* grub-core/Makefile.core.def (escc): New module.
2012-06-08 19:42:59 +02:00