/[grub]/grub/ChangeLog
ViewVC logotype

Diff of /grub/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.502 by okuji, Sat Jun 1 00:00:27 2002 UTC revision 1.503 by okuji, Tue Jun 11 16:36:54 2002 UTC
# Line 1  Line 1 
1    2002-06-12  Yoshinori K. Okuji  <okuji@enbug.org>
2    
3            The terminal handling code is rewritten radically.
4            
5            * stage2/console.c: New file.
6            * stage2/term.h: Likewise.
7            
8            * stage2/Makefile.am (noinst_HEADERS): Added term.h.
9            (libgrub_a_SOURCES): Added serial.c.
10            (pre_stage2_exec_SOURCES): Added console.c.
11    
12            * stage2/asm.S (console_putchar): Rewritten from scratch.
13            [!STAGE1_5] (translation_table): New variable.
14            [!STAGE1_5] (translate_keycode): New function.
15            [!STAGE1_5] (console_getkey): Call translate_keycode.
16            [!STAGE1_5] (console_checkkey): Likewise.
17            [!STAGE1_5] (nocursor): Renamed to ...
18            [!STAGE1_5] (console_nocursor): ... this.
19            [!STAGE1_5] (console_set_attrib): Removed.
20    
21            * stage2/builtins.c: Include term.h.
22            (terminal): Removed.
23            (normal_color): Likewise.
24            (highlight_color): Likewise.
25            (cat_func): Display a question mark when a non-printable
26            character was read.
27            (terminal_func): Rewritten almost from scratch.
28    
29            * stage2/char_io.c: Include term.h.
30            [!STAGE1_5] (auto_fill): Removed.
31            [!STAGE1_5] (term_table): New variable.
32            [!STAGE1_5] (current_term): Likewise.
33            [!STAGE1_5] (real_get_cmdline): New function. The code was
34            stolen from the previous version of get_cmdline.
35            [!STAGE1_5] (get_cmdline): Rewritten from scratch.
36            [!STAGE1_5] (translate_keycode): Removed.
37            [!STAGE1_5] (getkey): Rewritten from scratch.
38            [!STAGE1_5] (checkkey): Likewise.
39            (grub_putchar): Likewise.
40            [!STAGE1_5] (gotoxy): Likewise.
41            [!STAGE1_5] (getxy): Likewise.
42            [!STAGE1_5] (cls): Likewise.
43            [!STAGE1_5] (nocursor): New function.
44            [SUPPORT_SERIAL] (serial_getxy): Removed.
45            [SUPPORT_SERIAL] (serial_gotoxy): Likewise.
46            [SUPPORT_SERIAL] (serial_cls): Likewise.
47            [SUPPORT_SERIAL] (serial_getxy): Likewise.
48            [!STAGE1_5] (set_attrib): Likewise.
49    
50            * stage2/cmdline.c (init_cmdline): Set COUNT_LINES to -1.
51    
52            * stage2/common.c [!STAGE1_5] (err_list): Removed
53            ERR_NEED_SERIAL and added ERR_DEV_NEED_INIT.
54    
55            * stage2/hercules.c: Rewritten almost from scratch.
56            * stage2/hercules.h (herc_putchar): Removed.
57            (herc_cls): Likewise.
58            (herc_getxy): Likewise.
59            (herc_gotoxy): Likewise.
60            (herc_set_attrib): Likewise.
61    
62            * stage2/serial.c: Rewritten almost from scratch.
63            * stage2/serial.h: Likewise.
64    
65            * stage2/shared.h [GRUB_UTIL] (DISP_UL): Set to the same value
66            as VGA's.
67            [GRUB_UTIL] (DISP_UR): Likewise.
68            [GRUB_UTIL] (DISP_LL): Likewise.
69            [GRUB_UTIL] (DISP_LR): Likewise.
70            [GRUB_UTIL] (DISP_HORIZ): Likewise.
71            [GRUB_UTIL] (DISP_VERT): Likewise.
72            [GRUB_UTIL] (DISP_LEFT): Likewise.
73            [GRUB_UTIL] (DISP_RIGHT): Likewise.
74            [GRUB_UTIL] (DISP_UP): Likewise.
75            [GRUB_UTIL] (DISP_DOWN): Likewise.
76            (grub_error_t): Removed ERR_NEED_SERIAL.
77            Added ERR_DEV_NEED_INIT.
78            (normal_color): Removed.
79            (highlight_color): Likewise.
80            (console_cls): Removed, because this is declared in term.h.
81            (console_getxy): Likewise.
82            (console_gotoxy): Likewise.
83            (console_putchar): Likewise.
84            (console_getkey): Likewise.
85            (console_checkkey): Likewise.
86            (console_set_attrib): Removed.
87            (set_attrib): Likewise.
88            [GRUB_UTIL] (nocursor): Declared.
89            (auto_fill): Removed.
90            (terminal): Likewise.
91            (TERMINAL_CONSOLE): Likewise.
92            (TERMINAL_SERIAL): Likewise.
93            (TERMINAL_HERCULES): Likewise.
94            (TERMINAL_DUMB): Likewise.
95            (translate_keycode): Likewise.
96    
97            * stage2/stage2.c: Include term.h.
98            (print_entry): Rewritten from scratch.
99            (print_entries): Likewise.
100            (print_border): Likewise.
101            (set_line): Removed.
102            (set_line_normal): Likewise.
103            (set_line_highlight): Likewise.
104            
105            * grub/Makefile.am (AM_CFLAGS): Added -DSUPPORT_HERCULES=1.
106            
107            * grub/asmstub.c: Don't include hercules.h. Include term.h.
108            (console_current_color): New variable.
109            (console_translate_key): New function.
110            (console_checkkey): Rewritten from scratch.
111            (console_getkey): Likewise.
112            (console_putchar): Likewise.
113            (console_set_attrib): Removed.
114            (console_highlight): New function.
115            (console_setcolor): Likewise.
116            (console_nocursor): Likewise.
117            (serial_getkey): Removed.
118            (serial_checkkey): Likewise.
119            (serial_putchar): Likewise.
120            (serial_exists): Likewise.
121            (serial_get_port): Likewise.
122            (serial_init): Likewise.
123            (serial_hw_fetch): New function.
124            (serial_hw_put): Likewise.
125            (serial_hw_delay): Likewise.
126            (serial_hw_get_port): Likewise.
127            (serial_hw_init): Likewise.
128            (set_serial_device): Renamed to ...
129            (serial_set_device): ... this.
130            (herc_putchar): Renamed to ...
131            (hercules_putchar): ... this.
132            (herc_cls): Renamed to ...
133            (hercules_cls): ... this.
134            (herc_getxy): Renamed to ...
135            (hercules_getxy): ... this.
136            (herc_gotoxy): Renamed to ...
137            (hercules_gotoxy): ... this.
138            (hercules_highlight): New function.
139            (hercules_setcolor): Likewise.
140            (hercules_nocursor): Likewise.
141            (herc_set_attrib): Removed.
142    
143            * grub/main.c: Include term.h.
144            (main): If USE_CURSES is false, set CURRENT_TERM->FLAGS to
145            TERM_NO_EDIT | TERM_DUMB. TERMINAL is not used any longer.
146            
147  2002-06-01  Yoshinori K. Okuji  <okuji@enbug.org>  2002-06-01  Yoshinori K. Okuji  <okuji@enbug.org>
148    
149          * docs/grub.texi (FAQ): Removed. See the GNU GRUB FAQ on the web          * docs/grub.texi (FAQ): Removed. See the GNU GRUB FAQ on the web

Legend:
Removed from v.1.502  
changed lines
  Added in v.1.503

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26