logo       

grub ./ChangeLog ./genmk.rb commands/help.c con...: msg#00004

Subject: grub ./ChangeLog ./genmk.rb commands/help.c con...
CVSROOT:        /cvsroot/grub
Module name:    grub
Branch:         
Changes by:     Yoshinori K. Okuji <okuji@xxxxxxxxxxxxxxxx>     05/03/08 
01:01:06

Modified files:
        .              : ChangeLog genmk.rb 
        commands       : help.c 
        conf           : i386-pc.mk powerpc-ieee1275.mk 
        include/grub   : normal.h 
        normal         : cmdline.c command.c main.c 

Log message:
        2005-03-08  Yoshinori Okuji  <okuji@xxxxxxxxx>
        
        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
        macro.
        (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 gencmdlist.sh.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/ChangeLog.diff?tr1=1.100&tr2=1.101&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/genmk.rb.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/commands/help.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/conf/i386-pc.mk.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/conf/powerpc-ieee1275.mk.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/include/grub/normal.h.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/normal/cmdline.c.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/normal/command.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub2/normal/main.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe