++2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
++
++ * kern/mm.c (grub_real_malloc): Satisfy alignment requirement when
++ extra == 0.
++
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * commands/iorw.c: New file.
+ * conf/i386.rmk (pkglib_MODULES): Add iorw.mod.
+ (iorw_mod_SOURCES): New variable.
+ (iorw_mod_CFLAGS): Likewise.
+ (iorw_mod_LDFLAGS): Likewise.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Hotkey support
+
+ * include/grub/menu.h (grub_menu_entry): New field 'hotkey'.
+ * normal/main.c (hotkey_aliases): New variable.
+ (grub_normal_add_menu_entry): Parse "--hotkey".
+ * normal/menu_text.c (run_menu): Handle hotkeys.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/i386/coreboot/init.c (grub_machine_init): Call
+ grub_machine_mmap_init on qemu.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * boot/i386/qemu/boot.S: Add a missing .code16.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Use LBIO on coreboot.
+
+ * conf/i386-coreboot.rmk (kernel_img_SOURCES): Change
+ kern/i386/multiboot_mmap.c to kern/i386/coreboot/mmap.c.
+ * include/grub/i386/coreboot/memory.h (GRUB_LINUXBIOS_MEMBER_LINK):
+ New declaration.
+ * kern/i386/coreboot/init.c (grub_machine_init): Don't call
+ grub_machine_mmap_init on coreboot.
+ * kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate): Handle
+ GRUB_LINUXBIOS_MEMBER_LINK.
+ (grub_machine_mmap_iterate): Fix declaration.
+ * kern/i386/coreboot/startup.S: Don't save mbi location on coreboot.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Split coreboot and multiboot ports.
+
+ * conf/i386-multiboot.rmk: New file.
+ * configure.ac: Add multiboot port.
+ * include/grub/i386/multiboot/boot.h: New file.
+ * include/grub/i386/multiboot/console.h: Likewise.
+ * include/grub/i386/multiboot/init.h: Likewise.
+ * include/grub/i386/multiboot/kernel.h: Likewise.
+ * include/grub/i386/multiboot/loader.h: Likewise.
+ * include/grub/i386/multiboot/memory.h: Likewise.
+ * include/grub/i386/multiboot/serial.h: Likewise.
+ * include/grub/i386/multiboot/time.h: Likewise.
+ * include/grub/multiboot.h: Add GRUB_MACHINE_MULTIBOOT to ifdef.
+ * loader/multiboot.c: Likewise.
+ * loader/multiboot_mbi2.c: Likewise.
+ * util/grub-mkrescue.in: Generate multiboot rescue.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/parser.c (grub_parser_execute): Cope with read-only config.
+
+2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Merge handling of input and output terminals. Fix a hang.
+
+ * commands/terminal.c (abstract_terminal): New struct.
+ (handle_command): New function. Based on grub_cmd_terminal_input.
+ (grub_cmd_terminal_input): Use handle_command.
+ (grub_cmd_terminal_output): Use handle_command.
+
+2010-05-01 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix comment handling.
+
+ * tests/grub_script_comments.in: New testcase.
+ * conf/tests.rmk: Rules for new testcase.
+ * script/yylex.l: Updated flex rules.
+
+2010-04-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * docs/grub.texi (play): Document that zero pitches produce rests.
+ * commands/i386/pc/play.c (grub_cmd_play): Call 'grub_file_open' only
+ if argc is 1.
+
+2010-04-27 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * conf/x86-efi.rmk (linux_mod_SOURCES): Write explicitly to avoid
+ autogen issues.
+
+2010-04-26 Christian Franke <franke@computer.org>
+
+ * include/grub/util/getroot.h (grub_get_prefix): Remove prototype.
+ * util/getroot.c [__CYGWIN__] (get_win32_path): Remove function.
+ (grub_get_prefix): Remove function.
+ * util/grub-emu.c (main): Replace grub_get_prefix () call by
+ make_system_path_relative_to_its_root ().
+ * util/sparc64/ieee1275/grub-setup.c (main): Likewise.
+
+2010-04-24 Christian Franke <franke@computer.org>
+
+ * Makefile.in (TARGET_LDFLAGS): Add -static-libgcc.
+ (kernel_img_LDFLAGS): Remove -static-libgcc.
+
+2010-04-24 Christian Franke <franke@computer.org>
+
+ * configure.ac: Do not CHECK_BSS_START_SYMBOL
+ and CHECK_END_SYMBOL if grub-emu is built.
+ Unset TARGET_OBJ2ELF if grub-emu is built
+ without module support.
+
+2010-04-24 Jiro SEKIBA <jir@unicus.jp>
+
+ Nilfs2 support.
+
+ * conf/common.rmk (grub_probe_SOURCES): Add fs/nilfs2.c.
+ (grub_fstest_SOURCES): Likewise.
+ (pkglib_MODULES): Add nilfs2.mod.
+ (nilfs2_mod_SOURCES): New variable.
+ (nilfs2_mod_CFLAGS): Likewise.
+ (nilfs2_mod_LDFLAGS): Likewise.
+ * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/nilfs2.c.
+ * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add fs/nilfs2.c.
+ * fs/nilfs2.c: New file.
+
+2010-04-21 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * configure.ac: Refuse to compile for x86_64-efi is mcmodel=large
+ is not supported.
+
+2010-04-19 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ Add grub-mkconfig support for NetBSD.
+
+ * util/grub.d/10_netbsd.in: grub-mkconfig helper script for NetBSD.
+ * util/grub-mkconfig.in: export new NetBSD specific variables.
+ * po/POTFILES-shell: added 10_netbsd.in.
+ * util/grub-mkconfig_lib.in: check for gettext binary, default to echo.
+
+2010-04-19 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix emu build with grub-emu-pci and grub-emu-modules.
+
+ * include/grub/util/misc.h: Export grub_util_{info,error,warn}
+ functions.
+ * include/grub/libpciaccess.h: New file.
+ * conf/any-emu.rmk: Update kernel headers for emu build.
+
+2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * fs/udf.c (grub_udf_iterate_dir): Silence a spurious warning.
+
+2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * fs/udf.c (grub_udf_iterate_dir): Decode the Unicode filenames.
+
+2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * boot/sparc64/ieee1275/boot.S: Various size-reducing changes.
+ Retrieve chosen/bootpath if bootpath isn't hardcoded.
+ * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add
+ util/ieee1275/ofpath.c.
+ * util/sparc64/ieee1275/grub-ofpathname.c: Renamed to ...
+ * util/ieee1275/grub-ofpathname.c: ... this. All users updated
+ * include/grub/sparc64/ieee1275/boot.h
+ (GRUB_BOOT_MACHINE_KERNEL_SECTOR): Renamed to ...
+ (GRUB_BOOT_MACHINE_KERNEL_BYTE): ...this. Moved 8 bytes lower.
+ * util/hostdisk.c (grub_util_biosdisk_get_osdev): New function.
+ * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Make argument
+ const char *.
+ * util/sparc64/ieee1275/grub-setup.c (compute_dest_ofpath): Removed.
+ (setup): Use KERNEL_BYTE instead of KERNEL_SECTOR.
+ Use grub_util_devname_to_ofpath. Zero-fill boot_devpath on same disk
+ install.
+
+2010-04-18 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * util/grub-mkconfig.in: Corrected two == equality tests.
+ Set grub_prefix as in grub-install for NetBSD and OpenBSD.
+ * configure.ac: All definitions and uses of TARGET_IMG_LDFLAGS_AC now
+ expect a number appended to it.
+ * acinclude.m4 (grub_PROG_OBJCOPY_ABSOLUTE): ${TARGET_IMG_LDFLAGS_AC}
+ expects a number appended to it.
+
+2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * po/POTFILES: Renamed multiboot_loader.c to multiboot.c
+
+2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/hostdisk.c (make_device_name): Change to new partition naming.
+
+2010-04-17 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.
+
+2010-04-17 Christian Franke <franke@computer.org>
+
+ * Makefile.in: Add missing localedir setting.
+
+2010-04-14 Colin Watson <cjwatson@ubuntu.com>
+
+ Restore TEXTDOMAINDIR correction from r1889, lost apparently by
+ mistake in r2156. Noticed by Anthony Fok.
+
+ * util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased
+ @localedir@.
+ * util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise.
+
+2010-04-14 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix a spurious, uninitialized variable warning.
+
+ * loader/i386/bsdXX.c (grub_freebsd_load_elfmodule_obj):
+ Initialize variable, shdr.
+ (grub_freebsd_load_elfmodule): Likewise.
+ (grub_freebsd_load_elf_meta): Likewise.
+
+2010-04-13 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix for escaped dollar in double quoted strings.
+
+ * script/yylex.l: Updated flex rules.
+ * conf/tests.rmk: Rule for new testcase.
+ * tests/grub_script_dollar.in: New testcase.
+
+2010-04-13 Carles Pina i Estany <carles@pina.cat>
+2010-04-13 Colin Watson <cjwatson@ubuntu.com>
+
+ Enclose all translated strings in grub.cfg in single quotes, and
+ escape them appropriately (Ubuntu bug #552921).
+
+ * util/grub-mkconfig_lib.in (gettext_quoted): New function.
+ * util/grub.d/10_hurd.in: Use it.
+ * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
+ * util/grub.d/10_linux.in (linux_entry): Likewise.
+
+2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Fix cygwin compilation.
+
+ * configure.ac: Define NEED_REGISTER_FRAME_INFO.
+ * include/grub/misc.h (__register_frame_info)
+ [NEED_REGISTER_FRAME_INFO && !UTIL]: New export.
+ (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.
+ * kern/misc.c (__register_frame_info)
+ [NEED_REGISTER_FRAME_INFO && !UTIL]: New empty function.
+ (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.
+
+2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * configure.ac: Respect grub_cv_asm_uscore when defining dummy symbols.
+
+2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Unify libgcc processing.
+
+ * Makefile.in (kernel_img_LDFLAGS): New variable.
+ * conf/common.rmk (kernel_img_HEADERS): Add libgcc.h.
+ * conf/i386-coreboot.rmk (kernel_img_LDFLAGS): Append instead of
+ overwriting.
+ * conf/i386-ieee1275.rmk (kernel_img_LDFLAGS): Likewise.
+ * conf/i386-pc.rmk (kernel_img_LDFLAGS): Likewise.
+ * conf/i386-qemu.rmk (kernel_img_LDFLAGS): Likewise.
+ * conf/x86-efi.rmk (kernel_img_LDFLAGS): Likewise.
+ * conf/mips-qemu-mips.rmk (kernel_img_LDFLAGS): Append instead of
+ overwriting. Remove -lgcc and -static-libgcc
+ * conf/mips-yeeloong.rmk (kernel_img_LDFLAGS): Likewise.
+ * conf/mips.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
+ * conf/powerpc-ieee1275.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
+ (kernel_img_LDFLAGS): Append instead of overwriting.
+ Remove -lgcc and -static-libgcc
+ * conf/sparc64-ieee1275.rmk: Likewise.
+ * include/grub/powerpc/libgcc.h: Move to ...
+ * include/grub/libgcc.h: .. this.
+ * include/grub/libgcc.h: Don't export most of the function on x86.
+ (__bswapsi2): New export.
+ (__bswapdi2): Likewise.
+ * include/grub/mips/libgcc.h: Removed.
+ * include/grub/sparc64/libgcc.h: Likewise.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Remove
+ disk_info_msg (conflicts with gettexting into languages with cases).
+
+2010-04-10 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ Add grub-probe support for NetBSD.
+
+ * util/getroot.c (find_root_device): Convert block device to
+ character device on NetBSD.
+ * util/probe.c (probe): Require character device on NetBSD.
+ * util/hostdisk.c: NetBSD specific headers.
+ (configure_device_driver): new function to tune device driver
+ parameters (currently only for NetBSD floppy driver).
+ (grub_util_biosdisk_open): NetBSD specific code (get disk size
+ via disklabel ioctl).
+ (open_device): call configure_device_driver on NetBSD.
+ (convert_system_partition_to_system_disk): NetBSD specific code.
+ (device_is_wholedisk): Likewise.
+ (grub_util_biosdisk_get_grub_dev): Likewise.
+ (make_device_name): Fixed a typo in bsd_part_str.
+ * configure.ac: check for opendisk() and getrawpartition() on
+ NetBSD and set LIBUTIL.
+ * Makefile.in: add LIBUTIL to LIBS.
+
+2010-04-10 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Documentation fix.
+
+ * util/grub-script-check.c: Better help message.
+
+2010-04-10 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix FreeBSD build.
+
+ * configure.ac: Flex version check.
+ * conf/common.rmk: Add -Wno-error to sh.mod.
+ * script/yylex.l: Remove all #pragma.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/util/misc.h (canonicalise_file_name): Add missing
+ prototype.
+ Reported by: Seth Goldberg.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * loader/multiboot.c (GRUB_MOD_INIT) [GRUB_USE_MULTIBOOT2]:
+ Rename "module" to "module2".
+ Reported by: Seth Goldberg.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/efi/memory.h (grub_machine_mmap_iterate): Remove
+ EXPORT_FUNC.
+ Reported by: Seth Goldberg.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * lib/posix_wrap/locale.h: Add missing file.
+ Reported by: Seth Goldberg.
+
+2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ grub-emu module load support.
+
+ * Makefile.in (TARGET_NO_MODULES): New variable. All users of
+ NO_DYNAMIC_MODULES switched to this.
+ (TARGET_CFLAGS): Add -DGRUB_TARGET_NO_MODULES=1 if applicable.
+ (CFLAGS): Likewise.
+ * conf/any-emu.rmk: Generate symlist.
+ (kernel_img_HEADERS): Add util/datetime.h.
+ (kernel_img_HEADERS) [sdl]: Add sdl.h.
+ (kernel_img_HEADERS) [libusb]: Add libusb.h.
+ (kernel_img_SOURCES) [TARGET_NO_MODULES = no && !x86]: Add
+ kern/$(target_cpu)/cache.S.
+ * configure.ac (grub-emu-modules): New option.
+ * genmk.rb: Handle multiple source lists.
+ * include/grub/sdl.h: New file.
+ * include/grub/libusb.h: Likewise.
+ * util/grub-emu.c (main): Hanle (host) root.
+ * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Error with
+ GRUB_ERR_UNKNOWN_DEVICE.
+ * util/misc.c: Move mm functions to ...
+ * util/mm.c: ... here. All users updated.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * Makefile.in (RMKFILES): Search in srcdir and not current directory.
+ (MAINTAINER_CLEANFILES): Don't add $(srcdir) to MKFILES. Add few
+ missing files.
+ (maintainer-clean): Remove libgcrypt-grub.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * term/efi/console.c (grub_console_checkkey): Macroify key contants.
+
+2010-04-09 EFI Coder <eficoder@hotmail.com>
+
+ * normal/menu_text.c (print_message): Clean up the message and show
+ the Fn information when on EFI
+ * term/efi/console.c (grub_console_checkkey): Add F4 support.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * normal/autofs.c (read_fs_list): New parameter 'prefix'.
+ All users updated.
+ * normal/crypto.c (read_crypto_list): Likewise.
+ * normal/dyncmd.c (read_command_list): Likewise.
+ * normal/term.c (read_terminal_list): Likewise.
+ * normal/main.c (read_lists): Use explicit prefix.
+ (read_lists_hook): Use read_lists.
+ (grub_normal_execute): Likewise.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/grub-mkrescue.in: Fix incorrect path in coreboot part.
+ Reported by: Thomas Schmitt.
+ Add -no-emul-boot to grub-mkisofs parameters.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * font/font.c: Indented.
+
+2010-04-09 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Elif support to GRUB script (by Deepak Vankadaru).
+
+ * tests/grub_script_if.in: New testcase.
+ * conf/tests.rmk: Rule for new testcase.
+ * script/parser.y: Grammar rules for elif.
+
+2010-04-09 BVK Chaitanya <bvk.groups@gmail.com>
+
+ While and until loops support to GRUB script.
+
+ * include/grub/script_sh.h (grub_script_cmdwhile): New struct.
+ (grub_script_create_cmdwhile): New function prototype.
+ (grub_script_execute_cmdwhile): New function prototype.
+ * script/execute.c (grub_script_execute_cmdwhile): New function.
+ * script/parser.y (command): New commands.
+ (whilecmd): New grammar rule.
+ (untilcmd): New grammar rule.
+ * script/script.c (grub_script_create_cmdwhile): New function.
+ * util/grub-script-check.c (grub_script_execute_cmdwhile): New
+ function.
+
+ * tests/grub_script_while1.in: New testcase.
+ * conf/tests.rmk: Rule for new testcase.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg
+ as *.jpg.
+
+2010-04-09 Mario Vazquez <mariovazq@gmail.com>
+
+ GRUB_BACKGROUND support.
+
+ * util/grub-mkconfig.in: Export GRUB_BACKGROUND.
+ * util/grub.d/00_header.in: Parse GRUB_BACKGROUND.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Load fonts and modules for gfxmenu in grub-mkconfig.
+ Idea by: Mario Vazquez
+
+ * util/grub.d/00_header.in: Load pf2 and image modules.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ grub-mkconfig multiple terminal support.
+
+ * util/grub-mkconfig.in: Handle multiple terminals correctly.
+ * util/grub.d/00_header.in: Likewise.
+
+2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * Makefile.in: Specify files explicitly instead of using $< and $@ since
+ we use cd $(srcdir).
+
+2010-04-08 Colin Watson <cjwatson@ubuntu.com>
+
+ * util/grub.d/10_linux.in: Only use the first word of
+ GRUB_DISTRIBUTOR for --class, to avoid problems if somebody puts
+ spaces in GRUB_DISTRIBUTOR.
+ * util/grub.d/10_kfreebsd.in: Likewise.
+ * util/grub.d/10_hurd.in: Likewise.
+
+2010-04-06 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Fix unit testing framework for Qemu 0.12.
+
+ * tests/util/grub-shell.in: Remove -serial stdio option.
+
+2010-04-06 Vladimir Serbinenko <phcoder@gmail.com>
+
+ POSIX header file wrappers.
+
+ * lib/posix_wrap/assert.h: New file. Wrapper for its POSIX
+ equivalents.
+ * lib/posix_wrap/ctype.h: Likewise.
+ * lib/posix_wrap/errno.h: Likewise.
+ * lib/posix_wrap/langinfo.h: Likewise.
+ * lib/posix_wrap/limits.h: Likewise.
+ * lib/posix_wrap/localcharset.h: Likewise.
+ * lib/posix_wrap/stdint.h: Likewise.
+ * lib/posix_wrap/stdio.h: Likewise.
+ * lib/posix_wrap/stdlib.h: Likewise.
+ * lib/posix_wrap/string.h: Likewise.
+ * lib/posix_wrap/sys/types.h: Likewise.
+ * lib/posix_wrap/unistd.h: Likewise.
+ * lib/posix_wrap/wchar.h: Likewise.
+ * lib/posix_wrap/wctype.h: Likewise.
+ * conf/common.rmk (grub_script.yy.c): Remove #include elimination.
+ (grub_script.yy.h): Likewise.
+ * script/yylex.l: Remove POSIX emulation #defines.
+ * Makefile.in (POSIX_CFLAGS): New variable.
+ (GNULIB_UTIL_CFLAGS): Likewise.
+
+ Regexp support.
+
+ * conf/common.rmk (pkglib_MODULES): Add regexp.mod.
+ (regexp_mod_SOURCES): New variable.
+ (regexp_mod_CFLAGS): Likewise.
+ (regexp_mod_LDFLAGS): Likewise.
+ * commands/regexp.c: New file.
+ * gnulib/regcomp.c: New file. Imported from gnulib.
+ * gnulib/regex.c: Likewise.
+ * gnulib/regex_internal.c: Likewise.
+ * gnulib/regex_internal.h: Likewise.
+ * gnulib/regexec.c: Likewise.
+ * gnulib/regex.h: Likewise.
+
+2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
+ unsupported video mode types.
+
+2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code).
+
+2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/i386/pc/init.h (grub_get_mmap_entry): Don't export.
+ * conf/i386-pc.rmk (kernel_img_HEADERS): Remove machine/init.h.
+
+2010-04-04 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Remove unused grub_vga_get_font.
+
+ * kern/i386/pc/startup.S (grub_vga_get_font): Removed.
+ * include/grub/i386/pc/vga.h (grub_vga_get_font): Likewise.
+
+2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * kern/misc.c: Disable the __enable_execute_stack hack for utilities.
+ * include/grub/misc.h: Likewise.
+
+2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * util/grub-install.in: Add `|| exit 1' to all grub-probe calls
+ for which failure is fatal.
+
+2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * util/grub-install.in: Use mkdir -p to create grub directory.
+ * util/i386/efi/grub-install.in: Likewise.
+ * util/ieee1275/grub-install.in: Likewise.
+
+2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * Makefile.in (LEX): new variable.
+
+2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ * util/i386/efi/grub-dumpdevtree: replaced the non-portable `==' by
+ `=' and added double quotes on operands of this equality test.
+
+2010-04-03 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * Makefile.in (uninstall): Remove a leftover debug echo.
+ Reported by: Grégoire Sutre
+
+2010-04-03 Vladimir Serbinenko <phcoder@gmail.com>
+
+ MIPS multiboot2 support.
+
+ * conf/mips.rmk (pkglib_MODULES): Add multiboot2.mod.
+ (multiboot2_mod_SOURCES): New variable.
+ (multiboot2_mod_CFLAGS): Likewise.
+ (multiboot2_mod_LDFLAGS): Likewise.
+ (multiboot2_mod_ASFLAGS): Likewise.
+ * include/grub/i386/multiboot.h (MULTIBOOT_INITIAL_STATE): New
+ definition.
+ (MULTIBOOT_ENTRY_REGISTER): Likewise.
+ (MULTIBOOT_MBI_REGISTER): Likewise.
+ (MULTIBOOT_ARCHITECTURE_CURRENT): Likewise.
+ (MULTIBOOT_ELF32_MACHINE): Likewise.
+ (MULTIBOOT_ELF64_MACHINE): Likewise.
+ * include/grub/mips/multiboot.h: New file.
+ * include/grub/video.h (grub_video_driver_id): New type
+ GRUB_VIDEO_DRIVER_SM712.
+ (grub_video_get_info_and_fini): Export.
+ (grub_video_get_palette): Likewise.
+ (grub_video_get_driver_id): Likewise.
+ * include/multiboot2.h: Resynced with spec.
+ * loader/i386/multiboot.c: Moved from here ...
+ * loader/multiboot.c: ... here. All users updated.
+ (grub_multiboot_boot): Use platform-specific macros.
+ * loader/i386/multiboot_elfxx.c: Moved from here ...
+ * loader/multiboot_elfxx.c: ... here. All users updated.
+ (E_MACHINE): Use MULTIBOOT_ELF32_MACHINE and MULTIBOOT_ELF64_MACHINE.
+ * loader/i386/multiboot_mbi2.c (grub_multiboot_load): Check arcitecture.
+ * video/sm712.c (grub_video_sm712_adapter): Add missing id field.
+
+2010-04-02 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Import gnulib argp module.
+
+ * gnulib/argp-ba.c: New file.
+ * gnulib/argp-eexst.c: Likewise.
+ * gnulib/argp-fmtstream.c: Likewise.
+ * gnulib/argp-fmtstream.h: Likewise.
+ * gnulib/argp-fs-xinl.c: Likewise.
+ * gnulib/argp-help.c: Likewise.
+ * gnulib/argp-namefrob.h: Likewise.
+ * gnulib/argp-parse.c: Likewise.
+ * gnulib/argp-pin.c: Likewise.
+ * gnulib/argp-pv.c: Likewise.
+ * gnulib/argp-pvh.c: Likewise.
+ * gnulib/argp-version-etc.c: Likewise.
+ * gnulib/argp-version-etc.h: Likewise.
+ * gnulib/argp-xinl.c: Likewise.
+ * gnulib/argp.h: Likewise.
+
+2010-03-31 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/device.c (grub_device_iterate): Clear errors after failed
+ opening device.
+
+2010-03-31 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/ieee1275/openfw.c (grub_children_iterate): Skip device itself if
+ returned by firmware.
+
+2010-03-30 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * loader/i386/multiboot_mbi2.c (retrieve_video_parameters): Fix
+ compilation on coreboot and qemu
+
+2010-03-28 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/multiboot2.h: Resync with spec.
+
+2010-03-28 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Multiboot2 tag support
+
+ * conf/i386.rmk (multiboot2_mod_SOURCES): Replace
+ loader/i386/multiboot_mbi.c with loader/i386/multiboot_mbi2.c.
+ Remove loader/multiboot_loader.c.
+ * include/grub/i386/multiboot.h (grub_multiboot_real_boot): Removed.
+ (grub_multiboot2_real_boot): Likewise.
+ * include/grub/multiboot.h (grub_multiboot_set_accepts_video): Removed.
+ (grub_get_multiboot_mmap_count): New proto.
+ (grub_fill_multiboot_mmap): Likewise.
+ (grub_multiboot_set_video_mode): Likewise.
+ (grub_multiboot_set_console): Likewise.
+ (grub_multiboot_load): Likewise.
+ (grub_multiboot_load_elf): Likewise.
+ (GRUB_MULTIBOOT_CONSOLE_EGA_TEXT): New definition.
+ (GRUB_MULTIBOOT_CONSOLE_FRAMEBUFFER): Likewise.
+ * include/multiboot.h: Resynced with specification.
+ * include/multiboot2.h: Resynced with specification.
+ * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): Moved from here...
+ * loader/i386/multiboot.c (DEFAULT_VIDEO_MODE): ... here.
+ * loader/i386/multiboot_mbi.c (HAS_VGA_TEXT): Moved from here ..
+ * include/grub/multiboot.h (GRUB_MACHINE_HAS_VGA_TEXT): ... here. All
+ users updated.
+ * loader/i386/multiboot_mbi.c (accepts_video): Moved from here...
+ * loader/i386/multiboot.c (accepts_video): ... here. All users updated.
+ * loader/i386/multiboot_mbi.c (grub_multiboot_set_accepts_video):
+ Removed.
+ * loader/i386/multiboot_mbi.c (grub_get_multiboot_mmap_len):
+ Moved from here...
+ * loader/i386/multiboot.c (grub_get_multiboot_mmap_len): ... here.
+ * loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap):
+ Moved from here...
+ * loader/i386/multiboot.c (grub_fill_multiboot_mmap): ... here.
+ * loader/i386/multiboot_mbi.c (set_video_mode): Moved from here...
+ * loader/i386/multiboot.c (grub_multiboot_set_video_mode): ... here.
+ All users updated.
+ * loader/i386/multiboot_mbi2.c: New file.
+
+2010-03-27 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Resync with gnulib.
+
+ * Makefile.in (GNULIB_CFLAGS): New variable.
+ * conf/common.rmk (grub_mkisofs_CFLAGS): Add GNULIB_CFLAGS.
+ (grub_script_check_CFLAGS): New variable.
+ * gnulib/alloca.h: Resync with gnulib.
+ * gnulib/error.c: Likewise.
+ * gnulib/error.h: Likewise.
+ * gnulib/fnmatch.c: Likewise.
+ * gnulib/fnmatch_loop.c: Likewise.
+ * gnulib/getdelim.c: Likewise.
+ * gnulib/getline.c: Likewise.
+ * gnulib/getopt.c: Likewise.
+ * gnulib/getopt1.c: Likewise.
+ * gnulib/getopt_int.h: Likewise.
+ * gnulib/gettext.h: Likewise.
+ * gnulib/progname.c: Likewise.
+ * gnulib/progname.h: Likewise.
+
+2010-03-27 Grégoire Sutre <gregoire.sutre@gmail.com>
+
+ Fix a build failure (-Wundef -Werror) when ENABLE_NLS is not defined,
+ which is the case with --disabled-nls.
+
+ * include/grub/i18n.h: Use (defined(ENABLE_NLS)
+ && ENABLE_NLS) instead of ENABLE_NLS in all #if preprocessor macros.
+ * util/misc.c: Likewise.
+ * util/mkisofs/mkisofs.c: Likewise.
+ * util/mkisofs/mkisofs.h: Likewise.
+
+2010-03-27 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Simplify Apple CC support.
+
+ * commands/i386/pc/drivemap_int13h.S: Use LOCAL when possible.
+ Add 0 byte at the end not to have a symbol with empty target.
+ * mmap/i386/pc/mmap_helper.S: Likewise.
+ * genmk.rb: Ignore errors 2030 and 2050.
+ * kern/i386/pc/startup.S: Use LOCAL when possible.
+
+2010-03-26 BVK Chaitanya <bvk.groups@gmail.com>
+
+ Testcase and the fix for final semicolon on cmdline.
+
+ * tests/grub_script_final_semicolon.in: New testcase.
+ * conf/tests.rmk: Rules for the new testcase.
+ * script/parser.y: Grammar fix.
+
+2010-03-26 BVK Chaitanya <bvk@localhost>
+
+ Blank lines testcase for GRUB script.
+
+ * tests/grub_script_blanklines.in: New testcase.
+ * conf/tests.rmk: Rules for the new testcase.
+
+2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Don't use __FILE__.
+
+ * genmk.rb: Add -DGRUB_FILE to all C targets.
+ * fs/reiserfs.c: Replace __FILE__ with GRUB_FILE.
+ * include/grub/list.h: Likewise.
+ * include/grub/misc.h: Likewise.
+ * include/grub/mm.h: Likewise.
+ * include/grub/test.h: Likewise.
+ * kern/mm.c: Likewise.
+ * lib/libgcrypt_wrap/cipher_wrap.h: Likewise.
+
+2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Sunpc partitions support.
+
+ * conf/common.rmk (grub_probe_SOURCES): Add partmap/sunpc.c.
+ (grub_fstest_SOURCES): Likewise.
+ (pkglib_MODULES): Add part_sunpc.mod.
+ (part_sunpc_mod_SOURCES): New variable.
+ (part_sunpc_mod_CFLAGS): Likewise.
+ (part_sunpc_mod_LDFLAGS): Likewise.
+ * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/sunpc.c.
+ * partmap/sunpc.c: New file.
+
+2010-03-26 BVK Chaitanya <bvk@localhost>
+
+ For loop support to GRUB script.
+
+ * include/grub/script_sh.h (grub_script_cmdfor): New struct.
+ (grub_script_create_cmdfor): New function prototype.
+ (grub_script_execute_cmdfor): New function prototype.
+ * script/execute.c (grub_script_execute_cmdfor): New function.
+ * script/parser.y (command): New for command.
+ (forcmd): New grammar rule.
+ * script/script.c (grub_script_create_cmdfor): New function.
+ * util/grub-script-check.c (grub_script_execute_cmdfor): New
+ function.
+ * tests/grub_script_for1.in: New testcase.
+ * conf/tests.rmk: Rules for new testcase.
+
+2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Nested partitions
+
+ * commands/blocklist.c (grub_cmd_blocklist): Don't check whether
+ 'partition' is NULL, grub_partition_get_start already does that.
+ * commands/loadenv.c (check_blocklists): Likewise.
+ (write_blocklists): Likewise.
+ * conf/common.rmk (grub_probe_SOURCES): Add partmap/bsdlabel.c.
+ (grub_fstest_SOURCES): Likewise.
+ (pkglib_MODULES): Add part_bsd.mod.
+ (part_bsd_mod_SOURCES): New variable.
+ (part_bsd_mod_CFLAGS): Likewise.
+ (part_bsd_mod_LDFLAGS): Likewise.
+ * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/bsdlabel.c.
+ (grub_emu_SOURCES): Likewise.
+ * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
+ * include/grub/bsdlabel.h: New file.
+ * include/grub/partition.h (grub_partition_map): Remove 'probe' and
+ 'get_name'.
+ (grub_partition): Add 'parent' and 'number'. Remove 'data'.
+ (grub_partition_map_list): New variable.
+ (grub_partition_map_register): Inline.
+ (grub_partition_map_unregister): Likewise.
+ (FOR_PARTITION_MAPS): New macro.
+ (grub_partition_map_iterate): Removed.
+ (grub_partition_get_start): Handle nested partitions.
+ * include/grub/msdos_partition.h: Remove bsd-related entries.
+ (grub_pc_partition): Remove.
+ * kern/disk.c (grub_disk_close): Free partition data.
+ (grub_disk_adjust_range): Handle nested partitions.
+ * kern/partition.c (grub_partition_map_probe): New function.
+ (grub_partition_probe): Parse name to number, handle subpartitions.
+ (get_partmap): New function.
+ (grub_partition_iterate): Handle subpartitions.
+ (grub_partition_get_name): Likewise.
+ * loader/i386/pc/bsd.c (grub_bsd_get_device): Likewise.
+ * loader/i386/multiboot.c (grub_multiboot_get_bootdev): Likewise.
+ * loader/i386/pc/chainloader.c (grub_chainloader_cmd): Likewise.
+ * partmap/acorn.c (acorn_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ (acorn_partition_map_probe): Remove.
+ (acorn_partition_map_get_name): Likewise.
+ * partmap/amiga.c (amiga_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ Set 'index' to 0 since there can be only one partition entry per sector.
+ (amiga_partition_map_probe): Remove.
+ (amiga_partition_map_get_name): Likewise.
+ * partmap/apple.c (apple_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ Set 'offset' and 'index' to real positions of partitions.
+ (apple_partition_map_probe): Remove.
+ (apple_partition_map_get_name): Likewise.
+ * partmap/bsdlabel.c: New file.
+ * partmap/gpt.c (gpt_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ Allocate 'data' so it can be correctly freed.
+ Set 'index' to offset inside sector.
+ (gpt_partition_map_probe): Remove.
+ (gpt_partition_map_get_name): Likewise.
+ * partmap/msdos.c (grub_partition_parse): Remove.
+ (pc_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ Make 'ext_offset' a local variable.
+ (pc_partition_map_probe): Remove.
+ (pc_partition_map_get_name): Remove.
+ * partmap/sun.c (sun_partition_map_iterate): Don't force raw access.
+ Set 'number'.
+ (sun_partition_map_probe): Remove.
+ (sun_partition_map_get_name): Likewise.
+ * parttool/msdospart.c (grub_pcpart_boot): Handle nested partitions.
+ (grub_pcpart_type): Likewise.
+ * util/hostdisk.c (open_device): Handle new numbering scheme.
+ (grub_util_biosdisk_get_grub_dev): Handle nested partitions.
+ * util/i386/pc/grub-setup.c (setup): Handle new numbering scheme.
+ * util/grub-probe.c (probe_partmap): Handle nested paritions.
+ * util/grub-install.in: Insert all subpartition modules.
+ * util/ieee1275/grub-install.in: Likewise.
+
+2010-03-24 Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+
+ * kern/dl.c (grub_dl_resolve_symbols): Improve error message
+ grammar.
+
+2010-03-24 Colin Watson <cjwatson@ubuntu.com>
+
+ * .bzrignore: Add grub-bin2h, grub-reboot, and grub-set-default.
+
+2010-03-21 Colin Watson <cjwatson@ubuntu.com>
+
+ * util/grub-install.in: Copy .mo files from @datadir@/locale, to
+ match where 'make install' puts them.
+ * util/i386/efi/grub-install.in: Likewise.
+
+2010-03-19 Colin Watson <cjwatson@ubuntu.com>
+
+ * .bzrignore: Add gentrigtables, grub-script-check,
+ grub_script_check_init.c, grub_script_check_init.h, and
+ trigtables.c.
+
+2010-03-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/parser.c: Indented.
+
+2010-03-17 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * term/i386/pc/vesafb.c: Removed (orphaned, deprecated and broken).
+
+2010-03-17 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * video/fb/fbblit.c (grub_video_fbblit_blend_XXXA8888_1bit): Handle
+ alpha_mask_size == 0 case.
+
2010-03-14 BVK Chaitanya <bvk.groups@gmail.com>
GRUB shell lexer and parser improvements.