No description
Find a file
okuji 992ffbbebb 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org>
* normal/misc.c: New file.

        * DISTLIST: Added normal/misc.c.

        * partmap/amiga.c (amiga_partition_map_iterate): Add an argument
        DISK to HOOK. Call HOOK with DISK.
        * partmap/apple.c (apple_partition_map_iterate): Likewise.
        * partmap/pc.c (pc_partition_map_iterate): Likewise.
        * partmap/sun.c (sun_partition_map_iterate): Likewise.

        * normal/menu_entry.c (struct screen): Added a new member
        "completion_shown".
        (completion_buffer): New global variable.
        (make_screen): Set SCREEN->COMPLETION_SHOWN to zero.
        (store_completion): New function.
        (complete): Likewise.
        (clear_completions): Likewise.
        (grub_menu_entry_run): If SCREEN->COMPLETION_SHOWN is non-zero,
        call clear_completions and reset SCREEN->COMPLETION_SHOWN. If C is
        a tab, call complete.

        * normal/completion.c (disk_dev): Removed.
        (print_simple_completion): Likewise.
        (print_partition_completion): Likewise.
        (print_func): New global variable.
        (add_completion): Do not take the arguments WHAT or PRINT any
        longer. Added a new argument TYPE. Instead of printing directly,
        call PRINT_FUNC if not NULL.
        All callers changed.
        (complete_device): Use a local variable DEV instead of
        DISK_DEV. Do not move CURRENT_WORD to the end of a device name.
        (grub_normal_do_completion): Take a new argument HOOK. Do not
        initialize DISK_DEV. Initialize PRINT_FUNC to HOOK. If RET is an
        empty string, return NULL instead.
        All callers changed.

        * normal/cmdline.c (print_completion): New function.

        * kern/partition.c (grub_partition_iterate): Add an argument DISK
        to HOOK.
        All callers changed.

        * kern/disk.c (grub_print_partinfo): Removed.

        * include/grub/partition.h (struct grub_partition_map): Add a new
        argument DISK into HOOK of ITERATE.
        (grub_partition_iterate): Add a new argument DISK to HOOK.

        * include/grub/normal.h (enum grub_completion_type): New enum.
        (grub_completion_type_t): New type.
        (GRUB_COMPLETION_TYPE_COMMAND): New constant.
        (GRUB_COMPLETION_TYPE_DEVICE): Likewise.
        (GRUB_COMPLETION_TYPE_PARTITION): Likewise.
        (GRUB_COMPLETION_TYPE_FILE): Likewise.
        (grub_normal_do_completion): Added a new argument HOOK.
        (grub_normal_print_device_info): New prototype.

        * include/grub/disk.h (grub_print_partinfo): Removed.

        * conf/i386-pc.rmk (grub_emu_SOURCES): Added normal/misc.c.
        (normal_mod_SOURCES): Likewise.
        * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
        (normal_mod_SOURCES): Likewise.

        * commands/ls.c (grub_ls_list_disks): Use
        grub_normal_print_device_info instead of grub_print_partinfo. Free
        PNAME.
        (grub_ls_list_files): Use grub_normal_print_device_info instead of
        duplicating the code.
2005-08-18 03:14:39 +00:00
boot 2005-08-03 Hollis Blanchard <hollis@penguinppc.org> 2005-08-03 22:53:51 +00:00
commands 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
conf 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
disk 2005-08-03 Hollis Blanchard <hollis@penguinppc.org> 2005-08-03 22:53:51 +00:00
font 2005-07-17 Yoshinori Okuji <okuji@enbug.org> 2005-07-17 20:26:07 +00:00
fs 2005-07-31 Yoshinori K. Okuji <okuji@enbug.org> 2005-07-31 16:12:29 +00:00
hello 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
include/grub 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
kern 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
loader 2005-08-03 Hollis Blanchard <hollis@penguinppc.org> 2005-08-03 22:53:51 +00:00
normal 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
partmap 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
term Update source to follow GCS more precisely. 2005-08-16 18:34:17 +00:00
util 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
video/i386/pc Update source to follow GCS more precisely. 2005-08-16 18:34:17 +00:00
.cvsignore Initial revision 2002-12-27 08:53:07 +00:00
aclocal.m4 2005-08-13 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-13 18:44:14 +00:00
AUTHORS 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
autogen.sh Initial revision 2002-12-27 08:53:07 +00:00
ChangeLog 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
config.guess 2005-08-06 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-06 15:50:07 +00:00
config.h.in 2005-08-08 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-08 23:15:21 +00:00
config.sub 2005-08-06 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-06 15:50:07 +00:00
configure 2005-08-13 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-13 18:44:14 +00:00
configure.ac 2005-08-08 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-08 23:15:21 +00:00
COPYING 2005-08-07 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-07 14:59:56 +00:00
DISTLIST Added first version of the VBE terminal code. 2005-08-15 21:25:41 +00:00
gencmdlist.sh 2005-03-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-03-18 18:16:26 +00:00
gendistlist.sh 2005-03-19 Yoshinori K. Okuji <okuji@enbug.org> 2005-03-19 17:49:19 +00:00
genfslist.sh 2005-07-03 Yoshinori Okuji <okuji@enbug.org> 2005-07-03 18:06:56 +00:00
genkernsyms.sh shinori K. Okuji <okuji@enbug.org> 2004-02-24 17:21:53 +00:00
genmk.rb 2005-08-07 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-07 17:12:52 +00:00
genmodsrc.sh 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
gensymlist.sh 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
INSTALL 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
install-sh 2005-08-06 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-06 15:50:07 +00:00
Makefile.in 2005-08-08 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-08 23:15:21 +00:00
mkinstalldirs 2005-08-06 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-06 15:50:07 +00:00
NEWS 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
README 2005-08-07 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-07 14:59:56 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00
THANKS There were two Vladimir Serbinenko. 2005-08-08 23:33:47 +00:00
TODO 2005-01-04 Hollis Blanchard <hollis@penguinppc.org> 2005-01-04 14:01:45 +00:00

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

For now, there is not much documentation yet. Please look at the GRUB
Wiki <http://www.autistici.org/grub/> for testing procedures.