1 |
|
2003-09-25 Yoshinori K. Okuji <okuji@enbug.org> |
2 |
|
|
3 |
|
I forgot to check in these changes for a long time. This adds |
4 |
|
incomplete support for VGA console, and this is still very |
5 |
|
buggy. Also, a lot of consideration is required for I18N, |
6 |
|
UNICODE, and VGA font issues. Therefore, assume that this is |
7 |
|
such that "better than nothing". |
8 |
|
|
9 |
|
* font/manager.c: New file. |
10 |
|
* include/pupa/font.h: Likewise. |
11 |
|
* include/pupa/i386/pc/vga.h: Likewise. |
12 |
|
* term/i386/pc/vga.c: Likewise. |
13 |
|
* util/unifont2pff.rb: Likewise. |
14 |
|
|
15 |
|
* conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vga.h. |
16 |
|
(pkgdata_MODULES): Added vga.mod and font.mod. |
17 |
|
(vga_mod_SOURCES): New variables. |
18 |
|
(vga_mod_CFLAGS): Likewise. |
19 |
|
(font_mod_SOURCES): Likewise. |
20 |
|
(font_mod_CFLAGS): Likewise. |
21 |
|
|
22 |
|
* include/pupa/err.h (PUPA_ERR_BAD_FONT): New constant. |
23 |
|
|
24 |
|
* include/pupa/term.h: Include pupa/err.h. |
25 |
|
(struct pupa_term): Added init and fini. |
26 |
|
Changed the argument of putchar to pupa_uint32_t. |
27 |
|
|
28 |
|
* include/pupa/i386/pc/console.h: Include pupa/symbol.h. |
29 |
|
(pupa_console_real_putchar): New prototype. |
30 |
|
(pupa_console_putchar): Removed. |
31 |
|
(pupa_console_checkkey): Exported. |
32 |
|
(pupa_console_getkey): Likewise. |
33 |
|
|
34 |
|
* kern/misc.c (pupa_vsprintf): Add support for UNICODE |
35 |
|
characters. |
36 |
|
|
37 |
|
* kern/term.c (pupa_term_set_current): Rewritten. |
38 |
|
(pupa_putchar): Likewise. |
39 |
|
(pupa_putcode): New function. |
40 |
|
|
41 |
|
* kern/i386/pc/startup.S (pupa_console_putchar): Renamed to ... |
42 |
|
(pupa_console_real_putchar): ... this. |
43 |
|
(pupa_vga_set_mode): New function. |
44 |
|
(pupa_vga_get_font): Likewise. |
45 |
|
|
46 |
|
* normal/command.c: Include pupa/term.h. |
47 |
|
(terminal_command): New function. |
48 |
|
(pupa_command_init): Register the command "terminal". |
49 |
|
|
50 |
|
* normal/menu.c (DISP_LEFT): Changed to a UNICODE value. |
51 |
|
(DISP_UP): Likewise. |
52 |
|
(DISP_RIGHT): Likewise. |
53 |
|
(DISP_DOWN): Likewise. |
54 |
|
(DISP_HLINE): Likewise. |
55 |
|
(DISP_VLINE): Likewise. |
56 |
|
(DISP_UL): Likewise. |
57 |
|
(DISP_UR): Likewise. |
58 |
|
(DISP_LL): Likewise. |
59 |
|
(DISP_LR): Likewise. |
60 |
|
|
61 |
|
* term/i386/pc/console.c (pupa_console_putchar): New function. |
62 |
|
|
63 |
2003-02-08 NIIBE Yutaka <gniibe@m17n.org> |
2003-02-08 NIIBE Yutaka <gniibe@m17n.org> |
64 |
|
|
65 |
* util/resolve.c (pupa_util_resolve_dependencies): BUG |
* util/resolve.c (pupa_util_resolve_dependencies): BUG |