grub/util
okuji 5709cfc4d1 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org>
Make the format of Environment Block plain text. The boot loader
    part is not tested well yet.
    
    * util/grub-editenv.c (DEFAULT_ENVBLK_SIZE): New macro.
    (buffer): Removed.
    (envblk): Likewise.
    (usage): Remove "info" and "clear". Add "unset". Update the
    description of "set", as this does not delete variables any
    longer.
    (create_envblk_file): Complete rewrite.
    (open_envblk_file): Likewise.
    (cmd_info): Removed.
    (cmd_list): Likewise.
    (cmd_set): Likewise.
    (cmd_clear): Likewise.
    (list_variables): New function.
    (write_envblk): Likewise.
    (set_variables): Likewise.
    (unset_variables): Likewise.
    (main): Complete rewrite.

    * commands/loadenv.c (buffer): Removed.
    (envblk): Likewise.
    (open_envblk_file): New function.
    (read_envblk_file): Complete rewrite.
    (grub_cmd_load_env): Likewise.
    (grub_cmd_list_env): Likewise.
    (struct blocklist): New struct.
    (free_blocklists): New function.
    (check_blocklists): Likewise.
    (write_blocklists): Likewise.
    (grub_cmd_save_env): Complete rewrite.

    * include/grub/lib/envblk.h (GRUB_ENVBLK_SIGNATURE): Replaced with
    a plain text signature.
    (GRUB_ENVBLK_MAXLEN): Removed.
    (struct grub_envblk): Complete rewrite.
    (grub_envblk_find): Removed.
    (grub_envblk_insert): Likewise.
    (grub_envblk_open): New prototype.
    (grub_envblk_set): Likewise.
    (grub_envblk_delete): Put const to VALUE.
    (grub_envblk_iterate): Put const to NAME and VALUE.
    (grub_envblk_close): New prototype.
    (grub_envblk_buffer): New inline function.
    (grub_envblk_size): Likewise.

    * lib/envblk.c: Include grub/mm.h.
    (grub_env_find): Removed.
    (grub_envblk_open): New function.
    (grub_envblk_close): Likewise.
    (escaped_value_len): Likewise.
    (find_next_line): Likewise.
    (grub_envblk_insert): Removed.
    (grub_envblk_set): New function.
    (grub_envblk_delete): Complete rewrite.
    (grub_envblk_iterate): Likewise.
2009-03-28 19:58:15 +00:00
..
elf 2009-01-27 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-27 18:26:09 +00:00
grub.d 2009-02-27 Robert Millan <rmh@aybabtu.com> 2009-02-27 21:37:07 +00:00
i386 2009-03-01 Bean <bean123ch@gmail.com> 2009-03-01 17:51:44 +00:00
ieee1275 Forgot to remove files / run autogen.sh 2008-09-25 14:17:43 +00:00
powerpc/ieee1275 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 16:27:24 +00:00
console.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
getroot.c 2009-02-04 Felix Zielcke <fzielcke@z-51.de> 2009-02-04 10:52:25 +00:00
grub-editenv.c 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
grub-emu.c 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
grub-fstest.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
grub-mkconfig.in 2009-02-22 Vesa Jääskeläinen <chaac@nic.fi> 2009-02-22 21:55:49 +00:00
grub-mkconfig_lib.in 2009-01-02 Colin D Bennett <colin@gibibit.com> 2009-01-02 15:26:06 +00:00
grub-mkdevicemap.c 2008-09-25 Robert Millan <rmh@aybabtu.com> 2008-09-25 14:40:59 +00:00
grub-mkfont.c 2009-01-27 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-27 18:26:09 +00:00
grub-pe2elf.c 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
grub-probe.c 2009-03-01 Bean <bean123ch@gmail.com> 2009-03-01 17:51:44 +00:00
hostdisk.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 07:48:28 +00:00
hostfs.c 2008-08-29 Bean <bean123ch@gmail.com> 2008-08-29 19:55:23 +00:00
lvm.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
misc.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 07:48:28 +00:00
raid.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
resolve.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00
usb.c 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00