[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub ./ChangeLog ./genmk.rb commands/help.c con...

From: Yoshinori K . Okuji
Subject: grub ./ChangeLog ./genmk.rb commands/help.c con...
Date: Mon, 07 Mar 2005 20:01:06 -0500

CVSROOT:        /cvsroot/grub
Module name:    grub
Changes by:     Yoshinori K. Okuji <address@hidden>     05/03/08 01:01:06

Modified files:
        .              : ChangeLog genmk.rb 
        commands       : help.c 
        conf           : 
        include/grub   : normal.h 
        normal         : cmdline.c command.c main.c 

Log message:
        2005-03-08  Yoshinori Okuji  <address@hidden>
        Automatic loading of commands is supported.
        * normal/main.c (read_command_list): New function.
        (grub_normal_execute): Call read_command_list.
        * normal/command.c (grub_register_command): Return zero or CMD.
        Allocate CMD->NAME from the heap.
        Initialize CMD->MODULE_NAME to zero.
        Find the same name as well. If the same command is found and it is
        a dummy command, overwrite members. If it is not a dummy command,
        return zero.
        (grub_unregister_command): Free Q->NAME and Q->MODULE_NAME.
        (grub_command_find): If a dummy command is found, load a module
        and retry to find a command only once.
        * normal/cmdline.c (grub_tab_complete): Call grub_command_find to
        make sure that each command is loaded.
        * include/grub/normal.h (GRUB_COMMAND_FLAG_NOT_LOADED): New
        (struct grub_command): Remove const from the member `name'.
        Add a new member `module_name'.
        (grub_register_command): Return grub_command_t.
        * commands/help.c (grub_cmd_help): Call grub_command_find to make
        sure that each command is loaded.
        * genmk.rb (PModule::rule): Specify a module name without the
        suffix ".mod" to


reply via email to

[Prev in Thread] Current Thread [Next in Thread]