2N/A2012-06-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid unnecessary memcpy of whole video buffer.
2N/A
2N/A * grub-core/video/fb/video_fb.c (dirty): New struct.
2N/A (framebuffer): Add members current_dirty and previous_dirty.
2N/A (dirty): New function.
2N/A (grub_video_fb_fill_rect): Update dirty.
2N/A (common_blitter): Likewise.
2N/A (grub_video_fb_scroll): Likewise.
2N/A (doublebuf_blit_update_screen): Copy only dirty part.
2N/A (doublebuf_pageflipping_update_screen): Likewise.
2N/A (grub_video_fb_doublebuf_blit_init): Init dirty.
2N/A (doublebuf_pageflipping_init): Likewise.
2N/A (grub_video_fb_setup): Likewise.
2N/A
2N/A2012-06-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid slow read-back from VRAM.
2N/A
2N/A * include/grub/video_fb.h (grub_video_fb_doublebuf_update_screen_t):
2N/A Move from here ...
2N/A * grub-core/video/fb/video_fb.c
2N/A (grub_video_fb_doublebuf_update_screen_t): ... here. Remove arguments.
2N/A * grub-core/video/fb/video_fb.c (framebuf_t): New type.
2N/A (front_target): Remove front_target. Add pages.
2N/A (grub_video_fb_init): Skip setting front_pages.
2N/A (grub_video_fb_fini): Likewise.
2N/A (doublebuf_blit_update_screen): Use pages.
2N/A (grub_video_fb_doublebuf_blit_init): Likewise.
2N/A (doublebuf_pageflipping_init): Allocate offscreen buffer.
2N/A (doublebuf_pageflipping_update_screen): Use offscreen buffer.
2N/A (grub_video_fb_setup): Prefer doublebuffing.
2N/A
2N/A2012-02-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Use write-combining MTRR to speed up video with buggy BIOSes.
2N/A
2N/A * grub-core/video/i386/pc/vbe.c (framebuffer): New member mtrr.
2N/A (cpuid): New define.
2N/A (rdmsr): Likewise.
2N/A (wrmsr): Likewise.
2N/A (mtrr_base): Likewise.
2N/A (mtrr_mask): Likewise.
2N/A (grub_vbe_enable_mtrr_entry): New function.
2N/A (grub_vbe_enable_mtrr): Likewise.
2N/A (grub_vbe_disable_mtrr): Likewise.
2N/A (grub_vbe_bios_set_display_start): Disable mtrr when handing the
2N/A control off to BIOS.
2N/A (grub_video_vbe_init): Fill mtrr.
2N/A (grub_video_vbe_fini): Disable mtrr.
2N/A (grub_video_vbe_get_info_and_fini): Likewise.
2N/A (grub_video_vbe_setup): Enable mtrr.
2N/A
2N/A2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support powerpc with GCC that defines __PPC__ but not __powerpc__.
2N/A
2N/A * config.h.in (__powerpc__) [__PPC__ && !__powerpc__]: New definition.
2N/A * grub-core/lib/setjmp.S: Treat __PPC__ as equivalent to __powerpc__.
2N/A
2N/A2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/datetime.h (grub_get_datetime_cmos): Don't define in
2N/A GRUB_UTIL.
2N/A (grub_set_datetime_cmos): Likewise.
2N/A
2N/A2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make XZ compression parameters dependent on target and not host CPU.
2N/A
2N/A * configure.ac: Define GRUB_TARGET_CPU_XYZ series.
2N/A * grub-core/lib/xzembed/xz_config.h: Use GRUB_TARGET_CPU_XYZ.
2N/A
2N/A2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove
2N/A set but not used variable.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/reiserfs.c (grub_reiserfs_uuid): Reject 0-uuid as
2N/A created when no uuid support is compiled into mkfs.reiser.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/hfs.c (macroman_to_utf8): Convert / to :.
2N/A (utf8_to_macroman): Do the opposite.
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_iterate_dir): Convert / to :.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Refise build qemu_mips w/o unifont.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Eliminate grub_min/grub_max prone to overflow usage.
2N/A
2N/A * grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Eliminate grub_min.
2N/A (poll_nonroot_hub): Likewise.
2N/A * grub-core/fs/affs.c (grub_affs_iterate_dir): Likewise.
2N/A (grub_affs_label): Likewise.
2N/A * grub-core/fs/btrfs.c (grub_btrfs_lzo_decompress): Likewise.
2N/A * grub-core/fs/hfs.c (grub_hfs_dir): Likewise.
2N/A (grub_hfs_label): Likewise.
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_cmp_catkey): Likewise.
2N/A * grub-core/fs/zfs/zfs.c (MIN): Remove.
2N/A (zap_leaf_array_equal): Use grub_size. Remove MIN.
2N/A (zap_leaf_array_get): Likewise.
2N/A (dnode_get_path): Likewise.
2N/A * grub-core/io/lzopio.c (grub_lzopio_read): Eliminate grub_min.
2N/A * grub-core/io/xzio.c (grub_xzio_read): Likewise.
2N/A * grub-core/script/execute.c (grub_script_break): Likewise.
2N/A * grub-core/script/lexer.c (grub_script_lexer_record): Eliminate
2N/A grub_max.
2N/A * grub-core/script/yylex.l (grub_lexer_yyrealloc): Likewise.
2N/A * include/grub/misc.h (grub_min): Removed.
2N/A (grub_max): Likewise.
2N/A
2N/A2012-01-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * grub-core/fs/ext2.c (grub_ext2_iterate_dir): Ignore entries with
2N/A direct.inode = 0.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/datetime.h (grub_datetime2unixtime): Fix offset.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/posix_wrap/stdlib.h (MB_CUR_MAX): Moved from here ...
2N/A * grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
2N/A rather than a hack for grub_strncasemap.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support multiple initrds
2N/A Note: part of this was accidently committed in r3739.
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_cmd_initrd): Support multiple
2N/A initrd.
2N/A * grub-core/loader/i386/pc/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/ia64/efi/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/mips/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_initrd): Likewise.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Skip
2N/A disks with unknown size.
2N/A * grub-core/disk/raid.c (scan_devices): Allow disks with unknown sizes.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove defines pertaining to arbitrary limits not affecting GRUB
2N/A anymore.
2N/A
2N/A * grub-core/fs/ext2.c (EXT2_PATH_MAX): Removed.
2N/A (EXT2_MAX_SYMLINKCNT): Likewise.
2N/A * grub-core/fs/nilfs2.c (NILFS_BTREE_LEVEL_MAX): Likewise.
2N/A * grub-core/net/tftp.c (TFTP_MAX_PACKET): Likewise.
2N/A * include/grub/i386/pc/pxe.h (GRUB_PXE_MIN_BLKSIZE): Likewise.
2N/A (GRUB_PXE_MAX_BLKSIZE): Likewise.
2N/A * include/grub/normal.h (GRUB_MAX_CMDLINE): Likewise.
2N/A * include/grub/zfs/dnode.h (DN_MAX_INDBLKSHIFT): Likewise.
2N/A (DN_MAX_OBJECT_SHIFT): Likewise.
2N/A (DN_MAX_OFFSET_SHIFT): Likewise.
2N/A (DN_MAX_OBJECT): Likewise.
2N/A (DNODES_PER_LEVEL_SHIFT): Likewise.
2N/A * include/grub/zfs/spa.h (SPA_MAXBLOCKSHIFT): Likewise.
2N/A (SPA_MAXBLOCKSIZE): Likewise.
2N/A (SPA_BLOCKSIZES): Likewise.
2N/A * include/grub/zfs/zap_impl.h (MZAP_MAX_BLKSHIFT): Likewise.
2N/A (MZAP_MAX_BLKSZ): Likewise.
2N/A
2N/A2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (grub_zfs_read): Remove useless alloc and
2N/A handle NULL appropriately.
2N/A Remove MIN.
2N/A
2N/A2012-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix efiemu.
2N/A
2N/A * grub-core/efiemu/runtime/efiemu.c: explicitly include right
2N/A cpu/types.h.
2N/A (efiemu_set_virtual_address_map): Remove UINT_TO_PTR.
2N/A * configure.ac: Fix efiemu check.
2N/A
2N/A2012-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Fix occurence of grub-probe instead of
2N/A grub_probe.
2N/A Reported by: adamwill
2N/A
2N/A2012-01-12 Seth Goldberg <seth.goldberg@oracle.com>
2N/A
2N/A * grub-core/lib/arg.c (grub_arg_parse): Fix NULL pointer dereference.
2N/A
2N/A2012-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix handling of wide characters in gfxterm.
2N/A
2N/A * grub-core/term/gfxterm.c (grub_colored_char): Remove width and index.
2N/A (clear_char): Likewise.
2N/A (paint_char): Skip code == NULL chars.
2N/A (grub_gfxterm_putchar): Set code = NULL on "shadowed" positions.
2N/A
2N/A2012-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/charset.c: Move comment to right place.
2N/A
2N/A2012-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_bblock): Revert flags.
2N/A (GRUB_AFFS_FLAG_FFS): Put back where it was.
2N/A (grub_affs_mount): Revert the correct version checking.
2N/A
2N/A2012-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Unicode): Mention several other unsupported features.
2N/A
2N/A2011-12-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/squash4.c (squash_mount): Mark endian conversion in
2N/A case statements as compile-time one.
2N/A (direct_read): Prevent spurious warnings.
2N/A (grub_squash_read_data): Likewise.
2N/A
2N/A2011-12-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Various squash4 fixes and LZO and XZ support.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add xzembed directory to cppflags.
2N/A Add xzembed source files.
2N/A * grub-core/Makefile.core.def (squash4): Add xzembed and minilzo flags.
2N/A * grub-core/fs/squash4.c (grub_squash_super): New field compression.
2N/A (grub_squash_inode): New subtype long_dir.
2N/A (SQUASH_TYPE_LONG_DIR): New inode type.
2N/A (COMPRESSION): New enum.
2N/A (XZBUFSIZ): New const.
2N/A (grub_squash_data): New fields blksz, decompress, xzdec, xzbuf.
2N/A (read_chunk): Use data->decompress.
2N/A (zlib_decompress): New function.
2N/A (lzo_decompress): Likewise.
2N/A (xz_decompress): Likewise.
2N/A (squash_mount): Set new data fields.
2N/A (grub_squash_iterate_dir): Handle long dir.
2N/A (squash_unmount): Free xzdec and xzbuf.
2N/A (grub_squash_open): Check ino type.
2N/A (direct_read): Stylistic fixes. Use data->decompress.
2N/A (grub_squash_read_data): Likewise.
2N/A * grub-core/io/gzio.c (grub_gzio): Remove disk_input.
2N/A (get_byte): Likewise.
2N/A (grub_zlib_disk_read): Removed.
2N/A * grub-core/lib/posix_wrap/sys/types.h (ssize_t): New type.
2N/A (GRUB_POSIX_BOOL_DEFINED): New define.
2N/A * grub-core/lib/posix_wrap/unistd.h: Include sys/types.h.
2N/A * grub-core/lib/xzembed/xz.h: Addmissing includes.
2N/A [!GRUB_POSIX_BOOL_DEFINED]: Define bool.
2N/A * include/grub/deflate.h (grub_zlib_disk_read): Removed.
2N/A
2N/A2011-12-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't override more informative errors.
2N/A
2N/A * grub-core/commands/acpi.c (grub_cmd_acpi): Don't override errors.
2N/A * grub-core/font/font.c (open_section): Likewise.
2N/A * grub-core/loader/i386/bsd.c (grub_bsd_load_aout): New argument
2N/A filename. Don't override errors.
2N/A (grub_cmd_openbsd_ramdisk): Don't override errors.
2N/A * grub-core/loader/i386/linux.c (grub_cmd_linux): Likewise.
2N/A (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2N/A (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/ia64/efi/linux.c (grub_load_elf64): Likewise.
2N/A (grub_cmd_linux): Likewise.
2N/A (grub_cmd_initrd): Likewise.
2N/A (grub_cmd_payload): Likewise.
2N/A * grub-core/loader/mips/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/multiboot.c (grub_cmd_multiboot): Likewise.
2N/A (grub_cmd_module): Likewise.
2N/A * grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/xnu.c (grub_xnu_load_driver): Likewise.
2N/A (grub_cmd_xnu_mkext): Likewise.
2N/A (grub_cmd_xnu_ramdisk): Likewise.
2N/A (grub_xnu_check_os_bundle_required): Likewise.
2N/A (grub_xnu_load_kext_from_dir): Likewise.
2N/A (grub_cmd_xnu_kextdir): Likewise.
2N/A * grub-core/loader/xnu_resume.c (grub_xnu_resume): Likewise.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/minix.c (grub_minix_mount) [MODE_MINIX3]: Treat 0xffff
2N/A as 1024 in block size field. Found on one of my test images.
2N/A Small optimisation while on it.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Filesystems): Mention SFS as Latin1 filesystem.
2N/A * grub-core/fs/sfs.c (grub_sfs_mount): Fix a memory leak while on it.
2N/A (grub_sfs_iterate_dir): Convert Latin1 to UTF8. Stylistic and
2N/A performance fixes while on it.
2N/A (grub_sfs_close): Fix memory leak while on it.
2N/A (grub_sfs_label): Convert Latin1 to UTF-8.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/hfs.c (grub_hfs_dir): Cap keylen to actually available
2N/A space to avoid overflows.
2N/A (grub_hfs_label): Convert from macroman to UTF-8.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_label): Interpret label as latin1.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu.c (menu_init): Don't stop menu init at gfxterm.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * unicode: Import Unicode 6.0 data.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/gfxterm.c (grub_gfxterm_putchar): Don't set values
2N/A outside of range.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid cutting in the middle of UTF-8 character.
2N/A
2N/A * include/grub/charset.h (grub_getend): New function.
2N/A * grub-core/script/function.c (grub_script_function_find): Use
2N/A grub_getend.
2N/A * grub-core/normal/completion.c (add_completion): Likewise.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/charset.c (grub_ucs4_to_utf8): Small stylistic fix.
2N/A (grub_bidi_line_logical_to_visual): Skip tags. They are deprecated.
2N/A * include/grub/unicode.h (GRUB_UNICODE_TAG_START): New enum value.
2N/A (GRUB_UNICODE_TAG_END): Likewise.
2N/A (GRUB_UNICODE_LAST_VALID): Likewise.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/unicode.h (grub_unicode_compact_range): Replace end with
2N/A len and make it smaller. All users updated.
2N/A * util/import_unicode.py: Put length and not end character.
2N/A Check length.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make better Unicode-compliant and unify some UTF-8 code pathes.
2N/A
2N/A * grub-core/normal/charset.c (grub_utf8_to_utf16): Don't eat possibly
2N/A valid character.
2N/A (grub_is_valid_utf8): Use grub_utf8_process.
2N/A Check resulting code range.
2N/A (grub_utf8_to_ucs4): Use grub_utf8_process.
2N/A * include/grub/charset.h (grub_utf16_to_utf8): Don't eat up a possibly
2N/A valid character.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/io/bufio.c (grub_bufio_read): Fix handling of corner cases.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Filesystems): Mention AFS.
2N/A
2N/A2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Filesystems): Clarify restrictions.
2N/A (Regexp): Mention non-Unicode regexp behaviour.
2N/A (Other): Mention non-Unicode matching behaviour.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make HFS implementation use MacRoman.
2N/A
2N/A * grub-core/fs/hfs.c (MAX_UTF8_PER_MAC_ROMAN): New define.
2N/A (macroman): New const array.
2N/A (macroman_to_utf8): New function.
2N/A (utf8_to_macroman): Likewise.
2N/A (grub_hfs_find_dir): Use utf8_to_macroman.
2N/A (grub_hfs_dir): Use macroman_to_utf8.
2N/A Set case_insensitive.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Filesystems): Add IEEE1275 full-path example.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Integrate hints into autogeneration scripts.
2N/A
2N/A * docs/grub.texi (Filesystems): Add a hostdisk example.
2N/A * Makefile.util.def (grub-mkdevicemap): Remove ofpath.
2N/A (grub-probe): Add ofpath.
2N/A * gentpl.py: Remove group nosparc64.
2N/A * grub-core/commands/search.c (cache_entry): New struct.
2N/A (cache): New var.
2N/A (FUNC_NAME): Use and save cache. Fix handling of trailing comma.
2N/A * grub-core/commands/search_wrap.c (options): Add platform-specific
2N/A hint options.
2N/A (grub_cmd_search): Handle platform-specific hints.
2N/A (GRUB_MOD_INIT): Declare grub_cmd_search as accept_dash.
2N/A * grub-core/kern/emu/hostdisk.c (map): New field device_map.
2N/A (grub_util_biosdisk_data): Likewise.
2N/A (grub_util_biosdisk_open): Set device_map.
2N/A (read_device_map): Handle "" as indication of no map.
2N/A Set device_map.
2N/A (find_system_device): Add hostdisk/ prefix for autogenerated entries.
2N/A (grub_util_biosdisk_get_compatibility_hint): New function.
2N/A * grub-core/normal/main.c (features): Add feature_platform_search_hint.
2N/A * include/grub/emu/hostdisk.h
2N/A (grub_util_biosdisk_get_compatibility_hint): New proto.
2N/A * util/grub-install.in: Don't call grub-mkdevicemap.
2N/A Add platform-specific hint to load.cfg.
2N/A * util/grub-mkconfig.in: Don't call grub-mkdevicemap.
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
2N/A hints. Set root preliminary to compatibility hint, not to OS name.
2N/A * util/grub-probe.c (PRINT_*): Add hints.
2N/A (print): Make static.
2N/A (escape_of_path): New function.
2N/A (guess_bios_drive): Likewise.
2N/A (guess_efi_drive): Likewise.
2N/A (guess_baremetal_drive): Likewise.
2N/A (print_full_name): Likewise.
2N/A (probe): Handle hints.
2N/A (main): Likewise.
2N/A * util/ieee1275/devicemap.c: Removed.
2N/A * util/ieee1275/ofpath.c (find_obppath): Allow to fail. All users
2N/A updated.
2N/A (grub_util_devname_to_ofpath): Return NULL on failure.
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Fix
2N/A resource leak.
2N/A * util/getroot.c (grub_util_pull_device): Fix memory leak.
2N/A
2N/A * po/POTFILES.in: Regenerated.
2N/A
2N/A Allow purely long options
2N/A
2N/A * grub-core/lib/arg.c (SHORT_ARG_HELP): Removed.
2N/A (SHORT_ARG_USAGE): Likewise.
2N/A (grub_arg_show_help): Compare opt with help_options.
2N/A (parse_option): Receive opt as argument. If makes big simplificatons.
2N/A All users updated
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN):
2N/A Restructure to avoid warning.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Account for possible escaped comma in device
2N/A name.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/ofpath.c (of_path_of_ide): Fix address for secondary
2N/A channel.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/openfw.c (grub_devalias_iterate): Fix
2N/A allocation and zero-setting.
2N/A (grub_ieee1275_get_devname): Check that alias is complete.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/disk.c (grub_disk_read): Fix hook calling for
2N/A unaligned segments.
2N/A
2N/A2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Add ieee1275/
2N/A prefix.
2N/A (grub_ofdisk_open): Check and discard ieee1275 prefix.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname):
2N/A Add ieee1275 prefix.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Filesystems): Update.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support odc, newc and bigendian cpio formats.
2N/A
2N/A * Makefile.util.def (libgrubmods): Add odc.c, newc.c and cpio_be.c.
2N/A * grub-core/Makefile.core.def (newc): New module.
2N/A (odc): Likewise.
2N/A (cpio_be): Likewise.
2N/A * grub-core/fs/cpio.c (ALIGN_CPIO): New macro.
2N/A (MAGIC): Likewise.
2N/A (MAGIC2): Likewise.
2N/A (head) [MODE_ODC]: Adapt for the format.
2N/A (head) [MODE_NEWC]: Likewise.
2N/A (head) [!MODE_*]: Write fields of interest as arrays.
2N/A (MAGIC_USTAR): Removed.
2N/A (read_number) [MODE_NEWC]: Change to hex.
2N/A (read_number) [!MODE_*]: Parse binary arrays.
2N/A (grub_cpio_find_file): Factor out the code for better structure and
2N/A always use read_number.
2N/A (grub_cpio_mount): Use MAGIC and MAGIC2.
2N/A (grub_cpio_dir): Exit on first hook non-0 return.
2N/A (grub_cpio_fs) [MODE_ODC]: Set name to odc.
2N/A (grub_cpio_fs) [MODE_NEWC]: Set name to newc.
2N/A (GRUB_MOD_INIT) [MODE_ODC]: Set name to odc.
2N/A (GRUB_MOD_INIT) [MODE_NEWC]: Set name to newc.
2N/A (GRUB_MOD_FINI) [MODE_ODC]: Set name to odc.
2N/A (GRUB_MOD_FINI) [MODE_NEWC]: Set name to newc.
2N/A * grub-core/fs/newc.c: New file.
2N/A * grub-core/fs/odc.c: Likewise.
2N/A * grub-core/fs/cpio_be.c: Likewise.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix handling of tar numbers occupying the whole field.
2N/A
2N/A * grub-core/fs/cpio.c (read_number): New function.
2N/A (grub_cpio_find_file): Use read_number instead of strtoull.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/cpio.c (grub_cpio_find_file): Fix handling of names
2N/A occupying the whole field size.
2N/A
2N/A2011-12-23 Lukas Anzinger <l.anzinger@gmail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (version_test_gt): Fix variable names.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/net.c (grub_cmd_delroute): Add missing out condition.
2N/A
2N/A2011-12-23 Seth Goldberg <seth.goldberg@oracle.com>
2N/A
2N/A * grub-core/Makefile.core.def (lzma_decompress): Add missing
2N/A TARGET_IMG_LDFLAGS.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/getroot.c (ESCAPED_PATH_MAX): New define.
2N/A (mountinfo_entry): Increase the field size to take escaping into
2N/A account.
2N/A (find_root_device_from_libzfs): Add one byte to size of strings for
2N/A security.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy): Add
2N/A an assert.
2N/A * util/grub-setup.c (setup): Likewise.
2N/A
2N/A2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/i386/pc/startup_raw.S: Add missing argument for
2N/A _LzmaDecodeA.
2N/A
2N/A2011-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Internationalisation): New section.
2N/A
2N/A2011-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Loopback booting): New section.
2N/A
2N/A2011-12-22 Keshav P R <the.ridikulus.rat@gmail.com>
2N/A
2N/A * util/grub-mkstandalone.in: Fix minor typo errors.
2N/A
2N/A2011-12-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A IPv6, TCP, HTTP, ICMP and DNS support. Several cleanups and bugfixes.
2N/A
2N/A * grub-core/Makefile.core.def (net): Add net/dns.c, net/tcp.c,
2N/A net/icmp.c and net/icmp6.c.
2N/A (http): New module.
2N/A (priority_queue): Likewise.
2N/A * grub-core/io/bufio.c: Rewritten.
2N/A * grub-core/lib/legacy_parse.c (legacy_command): New argument type
2N/A TYPE_WITH_CONFIGFILE_OPTION.
2N/A (legacy_commands): Add bootp and dhcp.
2N/A (is_option): Handle TYPE_WITH_CONFIGFILE_OPTION.
2N/A (grub_legacy_parse): Likewise.
2N/A * grub-core/lib/priority_queue.c: New file.
2N/A * grub-core/net/arp.c: Add missing license header.
2N/A (arp_find_entry): Removed.
2N/A (arp_find_entry): Likewise.
2N/A (grub_net_arp_resolve): Rename to ...
2N/A (grub_net_arp_send_request): ...this.
2N/A (grub_net_arp_receive): New card argument.
2N/A * grub-core/net/bootp.c (parse_dhcp_vendor): Clean up.
2N/A Set router and DNS server.
2N/A (grub_net_configure_by_dhcp_ack): Handle routing information.
2N/A (grub_cmd_bootp): Set checksum.
2N/A (grub_bootp_init): Remove net_dhcp.
2N/A * grub-core/net/dns.c: New file.
2N/A * grub-core/net/drivers/efi/efinet.c (send_card_buffer): Wait for
2N/A completion.
2N/A (get_card_packet): Handle allocation.
2N/A (grub_efinet_findcards): Set mtu.
2N/A * grub-core/net/drivers/emu/emunet.c: Add missing license header.
2N/A (get_card_packet): Handle allocation.
2N/A (emucard): Set mtu.
2N/A * grub-core/net/drivers/i386/pc/pxe.c (grub_pxe_recv): Handle allocation
2N/A (GRUB_MOD_INIT): Set mtu.
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (grub_ofnetcard_data): Remove
2N/A mtu.
2N/A (get_card_packet): Handle allocation.
2N/A (grub_ofnet_findcards): Set mtu.
2N/A * grub-core/net/ethernet.c (send_ethernet_packet): Add compile time
2N/A assert.
2N/A (grub_net_recv_ethernet_packet): Handle IPv6.
2N/A * grub-core/net/http.c: New file.
2N/A * grub-core/net/icmp.c: Likewise.
2N/A * grub-core/net/icmp6.c: Likewise.
2N/A * grub-core/net/ip.c (ip6addr): New type.
2N/A (ip6hdr): Likewise.
2N/A (reassemble): Likewise.
2N/A (cmp): New function.
2N/A (reassembles): New variable.
2N/A (grub_net_ip_chksum): Handle 0xffff sum and unaligned buffers.
2N/A (id): New variable.
2N/A (send_fragmented): New function.
2N/A (grub_net_send_ip_packet): Rename to ...
2N/A (grub_net_send_ip4_packet): ... this. Send fragmented if needed.
2N/A Handle non-UDP.
2N/A (grub_net_recv_ip_packets): Rename to ...
2N/A (handle_dgram): ... this. Check checksum. Handle non-UDP.
2N/A (free_rsm): New function.
2N/A (free_old_fragments): Likewise.
2N/A (grub_net_recv_ip4_packets): New function.
2N/A (grub_net_send_ip6_packet): Likewise.
2N/A (grub_net_send_ip_packet): Likewise.
2N/A (grub_net_recv_ip6_packets): Likewise.
2N/A (grub_net_recv_ip_packets): Likewise.
2N/A * grub-core/net/net.c (grub_net_link_layer_entry): New struct.
2N/A (LINK_LAYER_CACHE_SIZE): New const.
2N/A (link_layer_find_entry): New function.
2N/A (grub_net_link_layer_add_address): Likewise.
2N/A (grub_net_link_layer_resolve_check): Likewise.
2N/A (grub_net_link_layer_resolve): Likewise.
2N/A (grub_net_ipv6_get_slaac): Likewise.
2N/A (grub_net_ipv6_get_link_local): Likewise.
2N/A (grub_cmd_ipv6_autoconf): Likewise.
2N/A (parse_ip): Handle one number representation.
2N/A (parse_ip6): New functoion.
2N/A (match_net): Handle IPv6.
2N/A (grub_net_resolve_address): Handle IPv6 and DNS.
2N/A (grub_net_resolve_net_address): Handle IPv6.
2N/A (route_cmp): New function.
2N/A (grub_net_route_address): Find best route.
2N/A (grub_net_addr_to_str): Handle IPv6.
2N/A (grub_net_addr_cmp): New function.
2N/A (grub_net_add_addr): Register local route.
2N/A (print_net_address): Handle net address.
2N/A (grub_net_poll_cards): Retransmit TCP.
2N/A (grub_net_poll_cards_idle_real): Likewise.
2N/A (have_ahead): New function.
2N/A (grub_net_seek_real): Use underlying seek.
2N/A (GRUB_MOD_INIT): Register net_ipv6_autoconf and init dns.
2N/A * grub-core/net/tcp.c: New file.
2N/A * grub-core/net/tftp.c (tftp_data): Add priority_queue.
2N/A (cmp): New function.
2N/A (ack): Likewise.
2N/A (tftp_receive): Handle unordered input.
2N/A (destroy_pq): New function.
2N/A (tftp_close): Close pq.
2N/A * grub-core/net/udp.c: Put missing license header.
2N/A (grub_net_udp_socket): New function.
2N/A (udp_socket_register): Likewise.
2N/A (grub_net_udp_close): Likewise.
2N/A (grub_net_recv_udp_packet): Check checksum.
2N/A * include/grub/efi/api.h (grub_efi_simple_network): Add status.
2N/A * include/grub/misc.h (grub_memchr): New function.
2N/A * include/grub/net.h (GRUB_NET_*_SIZE): New enum.
2N/A (grub_net_card_driver): Return buf in recv.
2N/A (grub_net_slaac_mac_list): New struct.
2N/A (grub_network_level_protocol_id): Add ipv6.
2N/A (grub_net_network_level_addr): Likewise.
2N/A (grub_net_network_level_net_addr): Likewise.
2N/A (grub_net_app_protocol): Add seek.
2N/A (grub_net_socket): Removed.
2N/A (grub_net_sockets): Likewise.
2N/A (grub_net_socket_register): Likewise.
2N/A (grub_net_socket_unregister): Likewise.
2N/A (FOR_NET_SOCKETS): Likewise.
2N/A (grub_net_add_addr): Add const.
2N/A (GRUB_NET_BOOTP_*): New enum.
2N/A (grub_net_addr_cmp): New proto.
2N/A (GRUB_NET_MAX_STR_ADDR_LEN): Take IPV6 into account.
2N/A (GRUB_NET_MAX_STR_HWADDR_LEN): New define.
2N/A (grub_net_hwaddr_to_str): NEw proto.
2N/A (FOR_NET_NETWORK_LEVEL_INTERFACES): New macro.
2N/A (FOR_NET_NETWORK_LEVEL_INTERFACES_SAFE): Handle NULL.
2N/A (grub_dns_init): New proto.
2N/A (grub_dns_fini): Likewise.
2N/A (grub_net_tcp_retransmit): Likewise.
2N/A (grub_net_link_layer_add_address): Likewise.
2N/A (grub_net_link_layer_resolve_check): Likewise.
2N/A (grub_net_link_layer_resolve): Likewise.
2N/A (grub_net_dns_lookup): Likewise.
2N/A (grub_net_add_dns_server): Likewise.
2N/A (grub_net_remove_dns_server): Likewise.
2N/A (GRUB_NET_TRIES): New const.
2N/A (GRUB_NET_INTERVAL): Likewise.
2N/A * include/grub/net/arp.h: Mostly rewritten.
2N/A * include/grub/net/ethernet.h (grub_net_ethertype_t): New enum.
2N/A * include/grub/net/ip.h: Mostly rewritten.
2N/A * include/grub/net/netbuff.h: Indent.
2N/A * include/grub/net/tcp.h: New file.
2N/A * include/grub/net/udp.h: Mostly rewritten.
2N/A * include/grub/priority_queue.h: New file.
2N/A * include/grub/types.h (PRIdGRUB_SSIZE): New define.
2N/A (grub_swap_bytes64_compile_time): Likewise.
2N/A (grub_cpu_to_be16_compile_time): Likewise.
2N/A (grub_cpu_to_be32_compile_time): Likewise.
2N/A (grub_cpu_to_be64_compile_time): Likewise.
2N/A (grub_be_to_cpu64_compile_time): Likewise.
2N/A
2N/A2011-12-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/i386/pc/drivemap.c (int13slot): Replace
2N/A UINT_TO_PTR with cast.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/import_gcry.py: Skip _gcry_rmd160_mixblock and serpent_test. We
2N/A don't use them.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/import_gcry.py: Don't add include camellia.h to camellia.c. It's
2N/A already there.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Clean multiboot header to avoid
2N/A confusing ipxe.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/libgcrypt/cipher/md4.c (transform) [WORDS_BIGENDIAN]:
2N/A Add missing const attribute.
2N/A * grub-core/lib/libgcrypt/cipher/md5.c (transform) [WORDS_BIGENDIAN]:
2N/A Likewise.
2N/A * grub-core/lib/libgcrypt/cipher/rmd160.c (transform) [WORDS_BIGENDIAN]:
2N/A Likewise.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/libgcrypt/cipher/serpent.c (serpent_key_prepare): Fix
2N/A misaligned access.
2N/A (serpent_setkey): Likewise.
2N/A (serpent_encrypt_internal): Likewise.
2N/A (serpent_decrypt_internal): Likewise.
2N/A (serpent_encrypt): Don't put an alignment-increasing cast.
2N/A (serpent_decrypt): Likewise.
2N/A (serpent_test): Likewise.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/multiboot.c (grub_cmd_module): Fix target address.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Replace UINT_TO_PTR and PTR_TO_UINT with explicit grub_addr_t casts.
2N/A
2N/A * include/grub/types.h (UINT_TO_PTR): Removed. All users switched to
2N/A grub_addr_t casts.
2N/A (PTR_TO_UINT64): Likewise.
2N/A (PTR_TO_UINT32): Likewise.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Decrease the higher limit
2N/A because of stack.
2N/A * util/grub-setup.c (setup): Don't add redundancy past the higher load
2N/A limit.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gfxmenu/gui_label.c (label_paint): Handle the case
2N/A text_width > available width a bit more gracefully.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Fix
2N/A current address calculation.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (decode_block): Allocate on heap and not
2N/A stack.
2N/A (encode_block): Likewise.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/i386/pc/startup_raw.S: Clear direction flag for
2N/A certainety.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/i386/pc/startup_raw.S: Move realmode routines to
2N/A non-RS part to avoid RS messing with GDT.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART):
2N/A Increase to suit in realmode routines.
2N/A
2N/A2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/realmode.S: Increase alignment.
2N/A * grub-core/boot/i386/pc/startup_raw.S: Likewise.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (init_powx): Set gf_powx_inv[0] just to
2N/A be deterministic.
2N/A (syndroms): Compute 0 syndrom.
2N/A (rs_recover): Use 0 syndrom.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/kernel.h (FOR_MODULES): Make it a bit faster.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/types.h (GRUB_PROPERLY_ALIGNED_ARRAY): Add missing
2N/A brackets.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gfxmenu/widget-box.c (get_left_pad): Take corners into
2N/A account.
2N/A (get_top_pad): Likewise.
2N/A (get_right_pad): Likewise.
2N/A (get_bottom_pad): Likewise.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gfxmenu/gui_list.c (draw_menu): Don't use assignment in if.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efi/api.h (grub_efi_memory_descriptor): Add packed
2N/A attribute as the structure isn't guaranteed to be properly aligned.
2N/A (grub_efi_pci_device_path): Likewise.
2N/A (grub_efi_pccard_device_path): Likewise.
2N/A (grub_efi_memory_mapped_device_path): Likewise. Additionaly explicitly
2N/A specify the size of `memory_type'.
2N/A (grub_efi_vendor_device_path): Likewise.
2N/A (grub_efi_controller_device_path): Likewise.
2N/A (grub_efi_acpi_device_path): Likewise.
2N/A (grub_efi_expanded_acpi_device_path): Likewise.
2N/A (grub_efi_atapi_device_path): Likewise.
2N/A (grub_efi_scsi_device_path): Likewise.
2N/A (grub_efi_fibre_channel_device_path): Likewise.
2N/A (grub_efi_1394_device_path): Likewise.
2N/A (grub_efi_usb_device_path): Likewise.
2N/A (grub_efi_usb_class_device_path): Likewise.
2N/A (grub_efi_i2o_device_path): Likewise.
2N/A (grub_efi_mac_address_device_path): Likewise.
2N/A (grub_efi_ipv4_device_path): Likewise.
2N/A (grub_efi_ipv6_device_path): Likewise.
2N/A (grub_efi_infiniband_device_path): Likewise.
2N/A (grub_efi_uart_device_path): Likewise.
2N/A (grub_efi_vendor_messaging_device_path): Likewise.
2N/A (grub_efi_hard_drive_device_path): Likewise.
2N/A (grub_efi_cdrom_device_path): Likewise.
2N/A (grub_efi_vendor_media_device_path): Likewise.
2N/A (grub_efi_file_path_device_path): Likewise.
2N/A (grub_efi_protocol_device_path): Likewise.
2N/A (grub_efi_piwg_device_path): Likewise.
2N/A (grub_efi_bios_device_path): Likewise.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/charset.h (grub_utf16_to_utf8): Make src a const pointer.
2N/A (grub_ucs4_to_utf8_alloc): Likewise.
2N/A (grub_ucs4_to_utf8): Likewise.
2N/A * grub-core/normal/charset.c (grub_ucs4_to_utf8): Likewise.
2N/A (grub_ucs4_to_utf8_alloc): Likewise.
2N/A
2N/A2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A AFFS never uses unicode.
2N/A
2N/A * include/grub/charset.h (GRUB_MAX_UTF8_PER_LATIN1): New const.
2N/A (grub_latin1_to_utf8): New inline function.
2N/A * grub-core/fs/affs.c (grub_affs_iterate_dir): Convert latin1 to UTF8.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/romfs.c (grub_romfs_mount): Fix pointer comparison
2N/A overflow.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/squash4.c (grub_squash_inode): Fix field sizes.
2N/A (grub_squash_dirent_header): Likewise.
2N/A (read_chunk): Don't double swap.
2N/A (grub_squash_iterate_dir): Fix swap sizes.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/jfs.c (grub_jfs_getent): Handle UTF16 endianness.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/hfs.c (grub_hfs_find_node): Handle unaligned keys.
2N/A (grub_hfs_iterate_dir): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix video on platforms where unaligned access is forbidden.
2N/A Make several optimisations while on it.
2N/A
2N/A * grub-core/video/fb/fbblit.c (grub_video_fbblit_replace_directN):
2N/A Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
2N/A (grub_video_fbblit_replace_32bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_24bit_1bit) [!GRUB_HAVE_UNALIGNED_ACCESS]:
2N/A Disable.
2N/A (grub_video_fbblit_replace_16bit_1bit):
2N/A Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
2N/A (grub_video_fbblit_replace_8bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_BGRX8888_RGBX8888): Likewise.
2N/A (grub_video_fbblit_replace_BGRX8888_RGB888): Likewise.
2N/A (grub_video_fbblit_replace_BGR888_RGBX8888): Likewise.
2N/A (grub_video_fbblit_replace_BGR888_RGBX8888): Likewise.
2N/A (grub_video_fbblit_replace_BGR888_RGB888): Likewise.
2N/A (grub_video_fbblit_replace_RGBX8888_RGB88): Likewise.
2N/A (grub_video_fbblit_replace_RGB888_RGBX888): Likewise.
2N/A (grub_video_fbblit_replace_RGB888_RGBX8888): Likewise.
2N/A (grub_video_fbblit_replace_index_RGBX8888): Likewise.
2N/A (grub_video_fbblit_replace_index_RGB888): Likewise.
2N/A (grub_video_fbblit_blend_BGRA8888_RGBA8888): Likewise.
2N/A (grub_video_fbblit_blend_BGR888_RGBA8888): Likewise.
2N/A (grub_video_fbblit_blend_RGBA8888_RGBA8888): Likewise.
2N/A (grub_video_fbblit_blend_RGB888_RGBA8888): Likewise.
2N/A (grub_video_fbblit_blend_index_RGBA8888): Likewise.
2N/A (grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXX888_1bit) [!GRUB_HAVE_UNALIGNED_ACCESS]:
2N/A Disable.
2N/A (grub_video_fbblit_blend_XXX565_1bit):
2N/A Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
2N/A * grub-core/video/fb/fbfill.c (grub_video_fbfill_direct32): Likewise.
2N/A * grub-core/video/fb/fbutil.c (grub_video_fb_get_video_ptr): Return
2N/A void *.
2N/A * grub-core/video/fb/video_fb.c (common_blitter)
2N/A [!GRUB_HAVE_UNALIGNED_ACCESS]: Skip disabled blitters.
2N/A (grub_video_fb_create_render_target_from_pointer)
2N/A [!GRUB_HAVE_UNALIGNED_ACCESS]: Check alignment.
2N/A * include/grub/fbutil.h (grub_video_fb_get_video_ptr): Return void *.
2N/A * include/grub/i386/types.h (GRUB_HAVE_UNALIGNED_ACCESS): New
2N/A definition.
2N/A * include/grub/x86_64/types.h (GRUB_HAVE_UNALIGNED_ACCESS): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Support
2N/A HH22 and HM10 relocations.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_vsnprintf_real): Fix fmt2 parsing.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/videotest.c (grub_cmd_videotest): Check that
2N/A allocation succeeded.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_convert_string): Make first
2N/A argument a u8 pointer. All users updated.
2N/A Handle unaligned buffers.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Force inlining of
2N/A add_part to workaround compiler bug.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/kernel.h (FOR_MODULES): Preserve alignment invariants.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_add_elfsyms):
2N/A Reserve alignment invariants.
2N/A (grub_multiboot_load): Likewise.
2N/A (retrieve_video_parameters): Likewise.
2N/A (grub_multiboot_make_mbi): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/xnu.c (grub_xnu_devprop_remove_property): Fix
2N/A incorrect pointer.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/pata.c (grub_pata_pio_read): Handle unaligned buffer.
2N/A (grub_pata_pio_write): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add noreturn attributes and remove unreachable code.
2N/A
2N/A * grub-core/bus/cs5536.c (grub_cs5536_smbus_wait): Remove unreachable
2N/A code.
2N/A * grub-core/commands/halt.c (grub_cmd_halt): Remove unreachable
2N/A code. Mark as noreturn.
2N/A * grub-core/commands/minicmd.c (grub_mini_cmd_exit): Likewise.
2N/A * grub-core/commands/reboot.c (grub_cmd_reboot): Likewise.
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Remove
2N/A unreachable code.
2N/A * grub-core/kern/main.c (grub_main): Mark as noreturn.
2N/A * grub-core/kern/rescue_reader.c (grub_rescue_run): Likewise.
2N/A * grub-core/lib/posix_wrap/stdlib.h (abort): Likewise.
2N/A * grub-core/normal/menu.c (run_menu): Remove unreachable code.
2N/A * include/grub/kernel.h (grub_main): Mark as noreturn.
2N/A * include/grub/reader.h (grub_rescue_run): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/qemu/memory.h (grub_machine_mmap_init): Remove
2N/A redundant declaration.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/net.h (grub_net_network_level_interfaces): Remove
2N/A redundant declaration.
2N/A (FOR_NET_NETWORK_LEVEL_INTERFACES): Move to appropriate place.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/hdparm.c (le16_to_char): Make src and dest uint16 *
2N/A to ensure alignment.
2N/A (grub_hdparm_print_identify): Make argument uint16 * to ensure
2N/A alignment. Ensure tmp alignment.
2N/A (grub_cmd_hdparm): Ensure buf alignment.
2N/A * grub-core/disk/ata.c (grub_ata_strncpy): Make src and dest uint16 *
2N/A to ensure alignment.
2N/A (grub_ata_dumpinfo): Ensure text alignment.
2N/A (grub_atapi_identify): Preserve alignment invariant.
2N/A (grub_ata_identify): Likewise. Use grub_get_unaligned32 when necessary.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/emu/misc.h (xasprintf): Add missing format attribute.
2N/A * include/grub/mips/kernel.h (grub_halt): Remove redundant declaration.
2N/A * include/grub/mips/qemu_mips/kernel.h (grub_halt): Likewise.
2N/A * include/grub/misc.h (grub_reboot)
2N/A [GRUB_MACHINE_EMU || GRUB_MACHINE_QEMU_MIPS]: Export.
2N/A (grub_halt) [__mips__]: Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efi/memory.h (grub_machine_mmap_iterate):
2N/A Remove redundant declaration.
2N/A (grub_mmap_get_post64): Likewise.
2N/A (grub_mmap_get_upper): Likewise.
2N/A (grub_mmap_get_lower): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/dvh.c (grub_dvh_is_valid): Make argument
2N/A uint32_t * to ensure alignment.
2N/A (dvh_partition_map_iterate): Make `block' a union to ensure alignment.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/sunpc.c (grub_sun_is_valid): Make argument
2N/A uint16_t * to ensure alignment.
2N/A (sun_pc_partition_map_iterate): Make `block' a union to ensure
2N/A alignment.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/sun.c (grub_sun_is_valid): Make argument uint16_t *
2N/A to ensure alignment.
2N/A (sun_partition_map_iterate): Make `block' a union to ensure alignment.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ntfs.c (u16at): Make into inline function.
2N/A Handle unaligned pointers.
2N/A (u32at): Likewise.
2N/A (u64at): Likewise.
2N/A (fixup): Use byte access instead of v16at.
2N/A (find_attr): Fix imporper usage of v32at.
2N/A (read_data): Likewise.
2N/A (list_file): Handle byte-swapping and unaligned strings.
2N/A (grub_ntfs_label): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/udf.c (grub_udf_partmap): Add packed attribute
2N/A as it's not necessarily aligned.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_at_keyboard_init): Remove
2N/A redundant declaration.
2N/A (grub_serial_init): Likewise.
2N/A (grub_terminfo_init): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (DVA_OFFSET_TO_PHYS_SECTOR): Make into inline
2N/A function.
2N/A (ZAP_HASH_IDX): Likewise.
2N/A (ZAP_LEAF_HASH_SHIFT): Likewise.
2N/A (ZAP_LEAF_HASH_NUMENTRIES): Likewise.
2N/A (LEAF_HASH): Likewise.
2N/A (ZAP_LEAF_NUMCHUNKS): Likewise.
2N/A (ZAP_LEAF_CHUNK): Likewise. Changed pointer arithmetic to preserve
2N/A alignment invariants. Return pointer. All users updated.
2N/A (ZAP_LEAF_ENTRY): Make into inline function.
2N/A (NBBY): Removed.
2N/A (xor): LIkewise.
2N/A (xor_out): Use grub_crypto_xor.
2N/A (dnode_get_path): Use grub_get_unaligned.
2N/A (nvlist_find_value): Likewise.
2N/A (grub_zfs_nvlist_lookup_uint64): Likewise.
2N/A (grub_zfs_nvlist_lookup_string): Likewise.
2N/A (get_nvlist_size): Likewise.
2N/A (grub_zfs_open): Likewise.
2N/A (fill_fs_info): Likewise.
2N/A (grub_zfs_dir): Likewise.
2N/A * include/grub/zfs/zap_leaf.h (zap_leaf_phys): Adapt to preserve
2N/A alignment invariants.
2N/A * include/grub/zfs/zio.h (zio_eck_t): Mark as packed as it's not
2N/A necessarily aligned.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/netbuff.c (grub_netbuff_alloc): Ensure proper alignment.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Change pointer
2N/A arithmetic to conserve alignment invariants.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efiemu/efiemu.h (grub_efiemu_get_memory_map): Remove
2N/A redundant declaration.
2N/A (grub_efiemu_mm_obtain_request): Likewise.
2N/A (grub_efiemu_prepare): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/list.h: Explicitly cast return of grub_bad_type_cast
2N/A to match types.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_btree_recoffset): Handle the
2N/A case of aunaligned recptr.
2N/A (grub_hfsplus_read_block): Declare extoverflow as key to ensure
2N/A alignment.
2N/A (grub_hfsplus_btree_search): Handle unaligned index.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Use grub_get_unaligned16
2N/A to get freetag and skip.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/nilfs2.c (grub_nilfs2_btree_node): Add zero-size keys
2N/A array.
2N/A (grub_nilfs2_btree_node_dkeys): Ensure return pointer alignment.
2N/A (grub_nilfs2_btree_lookup): Ensure buffer alignment.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/romfs.c (grub_romfs_iterate_dir): Properly align
2N/A name for checksum and fix allocation algorithm.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/types.h (grub_properly_aligned_t): New type.
2N/A (GRUB_PROPERLY_ALIGNED_ARRAY): New macro.
2N/A (grub_get_unaligned16): Add explicit casts.
2N/A (grub_get_unaligned32): Likewise.
2N/A (grub_get_unaligned64): Likewise.
2N/A (grub_set_unaligned16): New function.
2N/A (grub_set_unaligned32): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/datetime.c (grub_weekday_names): Make const.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/udf.c (read_string): Macroify GRUB_MAX_UTF8_PER_UTF16.
2N/A * grub-core/fs/jfs.c (grub_jfs_diropen): Likewise.
2N/A * grub-core/fs/fat.c (grub_fat_iterate_dir): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (set_scancodes): Fix preprocessor
2N/A conditionals.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/main.c (main): Add missing const qualifier.
2N/A * grub-core/loader/efi/appleloader.c (devdata): Likewise.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify and improve RAID and crypto xor.
2N/A
2N/A * grub-core/disk/raid.c (grub_raid_block_xor): Removed. All users
2N/A changed to grub_crypto_xor
2N/A * grub-core/lib/crypto.c (grub_crypto_xor): Moved from here ...
2N/A * include/grub/crypto.h (grub_crypto_xor): ... here. Inlined.
2N/A Use bigger types when possible.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (scan_devices): Fix condition.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (bootp_response_properties):
2N/A Make name a const ptr.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/ieee1275.c (grub_ieee1275_finddevice): Make
2N/A first argument a const pointer.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_children_iterate): Likewise.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_finddevice): Update
2N/A proto.
2N/A (grub_children_iterate): Likewise.
2N/A (grub_machine_mmap_iterate): Remove redundant declaration.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/acpi.c (grub_acpi_create_ebda) [!x86]: Disable.
2N/A (grub_cmd_acpi) [!x86]: Disable EBDA.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Enable UTF8 in gnulib regexp.
2N/A
2N/A * config.h.in (RE_ENABLE_I18N) [!GRUB_UTIL]: New define.
2N/A * grub-core/lib/posix_wrap/ctype.h (islower): Use grub_islower.
2N/A (isupper): Use grub_isupper.
2N/A (isascii): New inline function.
2N/A * grub-core/lib/posix_wrap/wchar.h: Replace dummy with real contents.
2N/A * grub-core/lib/posix_wrap/wctype.h: Likewise.
2N/A * grub-core/normal/charset.c (grub_utf8_process): New function.
2N/A (grub_utf8_to_utf16): Use grub_utf8_process.
2N/A (grub_encode_utf8_character): New function.
2N/A (grub_ucs4_to_utf8): Use grub_encode_utf8_character.
2N/A * include/grub/charset.h (grub_utf8_process): New declaration.
2N/A (grub_encode_utf8_character): Likewise.
2N/A * include/grub/misc.h (grub_islower): New inline function.
2N/A (grub_isupper): Likewise.
2N/A (grub_strchrsub): Moved down to fix the definitions.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/ohci.c (grub_ohci_check_transfer): Add an unsigned
2N/A specification.
2N/A
2N/A2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/loader.h (grub_loader_register_preboot_hook):
2N/A Use struct preboot * and not void * for handle. All users updated.
2N/A (grub_loader_unregister_preboot_hook): Likewise.
2N/A
2N/A2011-12-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/charset.h (GRUB_MAX_UTF8_PER_UTF16): New const.
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_catkey_internal): Change to
2N/A UTF-16-BE. All users updated.
2N/A (grub_hfsplus_cmp_catkey): Fix unicode handling.
2N/A (grub_hfsplus_iterate_dir): Likewise.
2N/A (grub_hfsplus_label): Likewise.
2N/A
2N/A2011-12-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/ahci.c (grub_ahci_pciinit): Fix compat condition.
2N/A
2N/A2011-11-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add missing const qualifiers.
2N/A
2N/A * grub-core/commands/i386/pc/sendkey.c (keysym): Add missing const.
2N/A * grub-core/commands/lspci.c (grub_pci_classname): Likewise.
2N/A * grub-core/commands/menuentry.c (hotkey_aliases): Likewise.
2N/A * grub-core/disk/lvm.c (grub_lvm_getvalue): Likewise.
2N/A (grub_lvm_check_flag): Likewise.
2N/A * grub-core/efiemu/i386/coredetect.c
2N/A (grub_efiemu_get_default_core_name): Likewise
2N/A * grub-core/efiemu/main.c (grub_efiemu_autocore): Likewise.
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_catkey_internal): Likewise.
2N/A * grub-core/fs/ntfs.c (fixup): Likewise.
2N/A * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Likewise.
2N/A * grub-core/fs/zfs/zfs.c (decomp_entry): Likewise.
2N/A (fzap_lookup): Likewise.
2N/A (zap_lookup): Likewise.
2N/A * grub-core/gnulib/regcomp.c (init_dfa): Likewise.
2N/A * grub-core/lib/legacy_parse.c (check_option): Likewise.
2N/A * grub-core/lib/posix_wrap/langinfo.h (nl_langinfo): Likewise.
2N/A * grub-core/loader/i386/bsd.c (grub_bsd_add_meta): Likewise.
2N/A (grub_freebsd_add_meta_module): Likewise.
2N/A (grub_cmd_freebsd_module): Likewise.
2N/A * grub-core/loader/i386/xnu.c (tbl_alias): Likewise.
2N/A * grub-core/loader/xnu.c (grub_xnu_register_memory): Likewise.
2N/A (grub_xnu_writetree_get_size): Likewise.
2N/A (grub_xnu_writetree_toheap_real): Likewise.
2N/A (grub_xnu_find_key): Likewise.
2N/A (grub_xnu_create_key): Likewise.
2N/A (grub_xnu_create_value): Likewise.
2N/A (grub_xnu_register_memory): Likewise.
2N/A (grub_xnu_check_os_bundle_required): Likewise.
2N/A (grub_xnu_scan_dir_for_kexts): Likewise.
2N/A (grub_xnu_load_kext_from_dir): Likewise.
2N/A * grub-core/normal/color.c (color_list): Likewise.
2N/A * grub-core/normal/completion.c (current_word): Likewise.
2N/A * grub-core/normal/menu_entry.c (insert_string): Likewise.
2N/A * grub-core/term/serial.c (grub_serial_find): Likewise.
2N/A * grub-core/term/tparm.c (grub_terminfo_tparm): Likewise.
2N/A * include/grub/efiemu/efiemu.h (grub_efiemu_get_default_core_name):
2N/A Likewise.
2N/A * include/grub/i386/bsd.h (grub_bsd_add_meta): Likewise.
2N/A (grub_freebsd_add_meta_module): Likewise.
2N/A * include/grub/lib/arg.h (grub_arg_option): Likewise.
2N/A * include/grub/net.h (grub_net_card_driver): Likewise.
2N/A (grub_net_card): Likewise.
2N/A (grub_net_app_protocol): Likewise.
2N/A * include/grub/parttool.h (grub_parttool_argdesc): Likewise.
2N/A * include/grub/serial.h (grub_serial_find): Likewise.
2N/A * include/grub/tparm.h (grub_terminfo_tparm): Likewise.
2N/A * include/grub/xnu.h (grub_xnu_create_key): Likewise.
2N/A (grub_xnu_create_value): Likewise.
2N/A (grub_xnu_find_key): Likewise.
2N/A (grub_xnu_scan_dir_for_kexts): Likewise.
2N/A (grub_xnu_load_kext_from_dir): Likewise.
2N/A
2N/A * include/grub/zfs/zio_checksum.h (zio_checksum_t): Moved from here ...
2N/A * grub-core/fs/zfs/zfs.c (zio_checksum_t): ...here.
2N/A * include/grub/zfs/zio_checksum.h (zio_checksum_info):
2N/A Moved from here ...
2N/A * grub-core/fs/zfs/zfs.c (zio_checksum_info): ... here. Added missing const.
2N/A
2N/A2011-11-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/getroot.c (find_root_device_from_libzfs): Use xasprintf.
2N/A
2N/A2011-11-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (recovery): Fix spelling.
2N/A (read_device): Fix size calculation.
2N/A
2N/A2011-11-25 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/getroot.c [HAVE_LIMITS_H]: Include `<limits.h>'.
2N/A (find_root_device_from_libzfs): Add zpool output parser to be used
2N/A as fallback when libzfs isn't available.
2N/A
2N/A2011-11-25 Seth Goldberg <seth.goldberg@oracle.com>
2N/A
2N/A * po/Makefile.in.in: Add missing escape-continuation.
2N/A
2N/A2011-11-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/cpio.c (grub_cpio_dir): Handle subdirs correctly.
2N/A
2N/A2011-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_load_segments): Fix alignment handling.
2N/A
2N/A2011-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_unload): Fix freeing segments.
2N/A
2N/A2011-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/x86_64/efi/callwrap.S: Fix the comment.
2N/A
2N/A2011-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/adler32.c: Add missing license specification.
2N/A * grub-core/lib/crc64.c: Likewise.
2N/A * grub-core/loader/i386/pc/plan9.c: Likewise.
2N/A * grub-core/partmap/plan.c: Likewise.
2N/A
2N/A2011-11-13 Lubomir Kundrak <lkundrak@redhat.com>
2N/A
2N/A Add facility to debug GRUB with gdb under qemu.
2N/A
2N/A * grub-core/gdb_grub.in: New file.
2N/A * grub-core/gmodule.pl.in: Likewise.
2N/A * grub-core/Makefile.core.def (gmodule.pl): New script.
2N/A (gdb_grub): Likewise.
2N/A
2N/A2011-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mount.c (argp_parser): Accept relative pathes.
2N/A * util/grub-fstest.c (argp_parser): Likewise.
2N/A
2N/A2011-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Plan9 support.
2N/A
2N/A * Makefile.util.def (libgrubmods): Add
2N/A grub-core/partmap/plan.c.
2N/A * docs/grub.texi: Notice Plan9 support.
2N/A * grub-core/Makefile.core.def (plan9): New module.
2N/A (part_plan): Likewise.
2N/A * grub-core/loader/i386/pc/plan9.c: New file.
2N/A * grub-core/partmap/plan.c: Likewise.
2N/A * include/grub/msdos_partition.h (GRUB_PC_PARTITION_TYPE_PLAN9): New
2N/A define.
2N/A (GRUB_PC_PARTITION_TYPE_LINUX_SWAP): Likewise.
2N/A * include/grub/mm.h (grub_extend_alloc): New inline function.
2N/A
2N/A2011-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make Reed-Solomon faster by using power of generator representation of
2N/A GF(256)*.
2N/A
2N/A * grub-core/lib/reed_solomon.c (grub_uint16_t) [TEST]: Removed.
2N/A (gf_double_t): Likewise.
2N/A (gf_invert): Removed.
2N/A (gf_powx): New array.
2N/A (gf_powx_inv): Likewise.
2N/A (scratch): Move higher.
2N/A (gf_reduce): Removed.
2N/A (gf_mul): Use powx.
2N/A (gf_invert): Likewise.
2N/A (init_inverts): Replaced with ...
2N/A (init_powx): ...this. All users updated.
2N/A (pol_evaluate): Replace multiplications with additions.
2N/A (rs_encode): Likewise.
2N/A (gauss_eliminate): Call gf_invert.
2N/A (grub_reed_solomon_add_redundancy): Call init_powx.
2N/A (grub_reed_solomon_recover): Call init_powx unconditionally.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/gpt.c (gpt_partition_map_embed): Fix spelling.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/gpt.c (gpt_partition_map_embed): Restore
2N/A disk->partiton for safety.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev):
2N/A Fix a memory leak.
2N/A (grub_util_biosdisk_get_grub_dev): Add a useful debug info.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (find_system_device): Fix a memory leak.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/lvm.h (grub_lvm_pv): Correct start type.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix spaces handling in proc/self/mountinfo.
2N/A
2N/A * util/getroot.c (unescape): New function.
2N/A (grub_find_root_device_from_mountinfo): Use unescape.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support ZFS embedding.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (grub_zfs_embed): New function.
2N/A (grub_zfs_fs): Register grub_zfs_embed.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix MIPS compilation.
2N/A
2N/A * grub-core/boot/mips/startup_raw.S: Use GRUB_DECOMPRESSOR_*
2N/A * include/grub/offsets.h: Rename decompressor fields from
2N/A GRUB_KERNEL_* to GRUB_DECOMPRESSOR_*.
2N/A * util/grub-mkimage.c (image_targets): Use new names.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Defer multiboot device parsing until we're in compressed part.
2N/A
2N/A * grub-core/boot/i386/pc/lnxboot.S: Remove setting dos_part and
2N/A bsd_part. setdevice has fallen into disuse.
2N/A * grub-core/boot/i386/pc/startup_raw.S (dos_part): Removed.
2N/A (bsd_part): Likewise.
2N/A (boot_dev): New variable.
2N/A (multiboot_trampoline): Don't parse multiboot device.
2N/A Pass multiboot device in %edx.
2N/A * grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Parse
2N/A grub_boot_device.
2N/A * grub-core/kern/i386/pc/init.c (grub_machine_get_bootlocation):
2N/A Likewise.
2N/A * grub-core/kern/i386/pc/startup.S: Save edx.
2N/A (grub_boot_drive): Removed.
2N/A (grub_install_dos_part): Likewise.
2N/A (grub_install_bsd_part): Likewise.
2N/A (grub_boot_device): New variable.
2N/A * include/grub/i386/pc/kernel.h (grub_install_dos_part): Removed.
2N/A (grub_install_bsd_part): Likewise.
2N/A (grub_boot_drive): Likewise.
2N/A (grub_boot_device): New variable.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_INSTALL_DOS_PART):
2N/A Removed.
2N/A (GRUB_KERNEL_I386_PC_INSTALL_BSD_PART): Likewise.
2N/A (GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY): Moved lower.
2N/A (GRUB_KERNEL_MACHINE_INSTALL_BSD_PART): Removed.
2N/A (GRUB_KERNEL_MACHINE_INSTALL_DOS_PART): Likewise.
2N/A * util/grub-install.in: Remove redundant condition.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix bug introduced by previous commit.
2N/A
2N/A * grub-core/boot/i386/pc/startup_raw.S: Compute RS start correctly.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use decompressors framework on i386-pc. It increases core size
2N/A by 46 bytes but improves compatibility and maintainability.
2N/A
2N/A * grub-core/Makefile.core.def (lzma_decompress): New image.
2N/A (kernel): Add i386_pc_ldflags.
2N/A * grub-core/kern/i386/pc/startup.S: Move intial part to ..
2N/A * grub-core/boot/i386/pc/startup_raw.S: ... here. Pass pointers
2N/A to real_to_prot, prot_to_real and device info.
2N/A * include/grub/offsets.h: Renamed decompressor offsets.
2N/A * util/grub-mkimage.c (grub_compression_t): New cmpression lzma.
2N/A (image_target_desc): Remove raw_size and rename decompressor fields.
2N/A (compress_kernel): Handle lzma.
2N/A (generate_image): Handle decompressors on i386-pc.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Add -fno-asynchronous-unwind-tables.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move assembly code to C by using intwrap. It increases core size
2N/A by 88 bytes but improves compatibility and maintainability.
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_putchar): Moved to ...
2N/A * grub-core/term/i386/pc/console.c (grub_console_putchar_real):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Moved to ...
2N/A * grub-core/term/i386/pc/console.c (grub_console_getkey):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_getxy): Moved to ...
2N/A * grub-core/term/i386/pc/console.c (grub_console_getxy):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_gotoxy): Moved to ...
2N/A * grub-core/term/i386/pc/console.c (grub_console_gotoxy):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_cls): Moved to ...
2N/A * grub-core/term/i386/pc/console.c (grub_console_cls):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Moved to ..
2N/A * grub-core/term/i386/pc/console.c (grub_console_setcursor):
2N/A ... here. Translated to C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_get_rtc): Moved to ..
2N/A * grub-core/kern/i386/pc/init.c (grub_get_rtc): ... here.
2N/A Translated to C.
2N/A * grub-core/term/i386/pc/console.c (int10_9): New function.
2N/A (grub_console_putchar): Likewise.
2N/A * include/grub/i386/pc/console.h: Removed the not anymore shared
2N/A functions.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move grub_chainloader_real_boot out of the kernel.
2N/A
2N/A * grub-core/Makefile.am: Remove machine/loader.h.
2N/A * grub-core/kern/i386/pc/startup.S (grub_chainloader_real_boot):
2N/A Removed.
2N/A * grub-core/lib/i386/relocator.c (grub_relocator16_esi): New extern
2N/A variable.
2N/A (grub_relocator16_keep_a20_enabled): Likewise.
2N/A (grub_relocator16_boot): Fill new variables.
2N/A * grub-core/lib/i386/relocator16.S: Add gate a20 handling.
2N/A * grub-core/loader/i386/pc/chainloader.c (grub_chainloader_boot): Use
2N/A relocator.
2N/A (grub_chainloader_unload): Likewise.
2N/A (grub_chainloader_cmd): Likewise.
2N/A * include/grub/i386/pc/loader.h: Removed.
2N/A * include/grub/i386/relocator.h (grub_relocator16_state): Add a20
2N/A and esi. All initialisers updated.
2N/A
2N/A2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-11-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.util.def (grub-mount): New util.
2N/A * .bzrignore: Add grub-mount.
2N/A * configure.ac: Check for fuse and enable grub-mount if available.
2N/A * docs/man/grub-mount.h2m: New file.
2N/A * util/grub-mount.c: Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/efi/fixvideo.c: Gettextize.
2N/A * grub-core/commands/hashsum.c: Likewise.
2N/A * grub-core/commands/i386/cmostest.c: Likewise.
2N/A * grub-core/commands/i386/pc/drivemap.c: Likewise.
2N/A * grub-core/commands/i386/pc/lsapm.c: Likewise.
2N/A * grub-core/commands/i386/pc/sendkey.c: Likewise.
2N/A * grub-core/commands/lsmmap.c: Likewise.
2N/A * grub-core/commands/menuentry.c: Likewise.
2N/A * grub-core/commands/mips/loongson/lsspd.c: Likewise.
2N/A * grub-core/commands/setpci.c: Likewise.
2N/A * grub-core/loader/i386/bsd.c: Likewise.
2N/A * grub-core/loader/i386/linux.c: Likewise.
2N/A * util/getroot.c: Likewise.
2N/A * util/grub-editenv.c: Likewise.
2N/A * util/grub-fstest.c: Likewise.
2N/A * util/grub-mkfont.c: Likewise.
2N/A * util/grub-mkimage.c: Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c: Likewise.
2N/A * util/grub-pe2elf.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/grub-setup.c: Likewise.
2N/A * util/ieee1275/ofpath.c: Likewise.
2N/A * util/misc.c: Likewise.
2N/A * util/raid.c: Likewise.
2N/A
2N/A2011-11-11 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/getroot.c (grub_util_get_geom_abstraction): Remove
2N/A __attribute__((unused)) from `os_dev', which *is* being used.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/dl.h (GRUB_ARCH_DL_TRAMP_SIZE) [__ia64__]: Add back
2N/A forgotten define.
2N/A (GRUB_ARCH_DL_GOT_ALIGN) [__ia64__]: Redefine in terms of
2N/A GRUB_IA64_DL_GOT_ALIGN.
2N/A (GRUB_ARCH_DL_TRAMP_ALIGN) [__ia64__]: Redefine in terms of
2N/A GRUB_IA64_DL_TRAMP_ALIGN.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Replace grub_fatal with normal errors in i386 linux loader.
2N/A
2N/A * grub-core/loader/i386/linux.c (find_efi_mmap_size): Return 0 on error.
2N/A (allocate_pages): Check find_efi_mmap_size return value.
2N/A (grub_e820_add_region): Return error.
2N/A (grub_linux_boot): Check mmap return value.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/acpihalt.c: Gettextized.
2N/A * grub-core/commands/cacheinfo.c: Likewise.
2N/A * grub-core/commands/cmp.c: Likewise.
2N/A * grub-core/commands/efi/loadbios.c: Likewise.
2N/A * grub-core/commands/gptsync.c: Likewise.
2N/A * grub-core/commands/ieee1275/suspend.c: Likewise.
2N/A * grub-core/commands/legacycfg.c: Likewise.
2N/A * grub-core/commands/memrw.c: Likewise.
2N/A * grub-core/commands/minicmd.c: Likewise.
2N/A * grub-core/commands/parttool.c: Likewise.
2N/A * grub-core/commands/time.c: Likewise.
2N/A * grub-core/commands/videoinfo.c: Likewise.
2N/A * grub-core/disk/geli.c: Likewise.
2N/A * grub-core/disk/i386/pc/biosdisk.c: Likewise.
2N/A * grub-core/disk/luks.c: Likewise.
2N/A * grub-core/disk/lvm.c: Likewise.
2N/A * grub-core/font/font_cmd.c: Likewise.
2N/A * grub-core/fs/zfs/zfscrypt.c: Likewise.
2N/A * grub-core/fs/zfs/zfsinfo.c: Likewise.
2N/A * grub-core/gfxmenu/view.c: Likewise.
2N/A * grub-core/kern/emu/hostdisk.c: Likewise.
2N/A * grub-core/kern/emu/main.c: Likewise.
2N/A * grub-core/kern/emu/misc.c: Likewise.
2N/A * grub-core/kern/emu/mm.c: Likewise.
2N/A * grub-core/kern/mips/arc/init.c: Likewise.
2N/A * grub-core/kern/mips/loongson/init.c: Likewise.
2N/A * grub-core/kern/partition.c: Likewise.
2N/A * grub-core/lib/i386/halt.c: Likewise.
2N/A * grub-core/lib/mips/arc/reboot.c: Likewise.
2N/A * grub-core/lib/mips/loongson/reboot.c: Likewise.
2N/A * grub-core/loader/i386/pc/chainloader.c: Likewise.
2N/A * grub-core/loader/i386/xnu.c: Likewise.
2N/A * grub-core/loader/multiboot.c: Likewise.
2N/A * grub-core/net/bootp.c: Likewise.
2N/A * grub-core/net/net.c: Likewise.
2N/A * grub-core/normal/term.c: Likewise.
2N/A * grub-core/partmap/bsdlabel.c: Likewise.
2N/A * grub-core/parttool/msdospart.c: Likewise.
2N/A * grub-core/term/gfxterm.c: Likewise.
2N/A * grub-core/term/terminfo.c: Likewise.
2N/A * grub-core/video/i386/pc/vbe.c: Likewise.
2N/A * util/grub-menulst2cfg.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-mklayout.c: Likewise.
2N/A * util/grub-mkrelpath.c: Likewise.
2N/A * util/grub-script-check.c: Likewise.
2N/A * util/ieee1275/grub-ofpathname.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support %1$d syntax.
2N/A
2N/A * tests/printf_unit_test.c: New file.
2N/A * Makefile.util.def (printf_test): New test.
2N/A * grub-core/kern/misc.c (grub_vsnprintf_real): Support %1$d syntax.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic
2N/A fix.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/mm.c (grub_efiemu_mmap_fill): Change printf into
2N/A dprintf.
2N/A * grub-core/font/font.c (grub_font_load): Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-macho2img.c: Add comment concerning gettext.
2N/A * grub-core/lib/legacy_parse.c: Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_vprintf): Add missing va_end.
2N/A (grub_xvasprintf): Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add const keyword to grub_env_get and gettextize week days.
2N/A
2N/A * grub-core/hook/datehook.c (grub_datetime_names): Make const.
2N/A (grub_read_hook_datetime): Return const char *.
2N/A * grub-core/kern/env.c (grub_env_get): Return const char *. All users
2N/A updated.
2N/A * grub-core/normal/datetime.c (grub_weekday_names): Make const.
2N/A Mark for gettext.
2N/A (grub_get_weekday_name): Return const char *. Call gettext.
2N/A * grub-core/script/argv.c (grub_script_argv_append): Receive const
2N/A char * and len as the argument. All users updated.
2N/A (grub_script_argv_split_append): Receive const char *.
2N/A * include/grub/datetime.h (grub_get_weekday_name): Update proto.
2N/A * include/grub/env.h (grub_env_get): Likewise.
2N/A (grub_env_read_hook_t): Return const char *.
2N/A * include/grub/script_sh.h (grub_script_argv_append): Update proto.
2N/A (grub_script_argv_split_append): Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/main.c (grub_normal_execute): Remove leftover call.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_strstr): Moved from here ...
2N/A * include/grub/misc.h (grub_strstr): ... here. Make static and inline.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_set_property):
2N/A Fix prototype.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix mips compilation.
2N/A
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec): Restrict hash_id to
2N/A normal decoder.
2N/A (hashes): Use in embed decoder as well (for sizes).
2N/A (dec_stream_header): Fix embed decompressor logic.
2N/A (dec_stream_footer): Likewise.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Issue
2N/A an error and not a fatal on unrecognised relocation types.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args):
2N/A Issue error rather than printf on unknown arguments.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/ieee1275.c (grub_ieee1275_set_property):
2N/A Make buf a const.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfscrypt.c (GRUB_MOD_INIT), (GRUB_MOD_FINI):
2N/A Fix module name.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ntfs.c (grub_ntfs_read_symlink): Stylistic fix. Remove
2N/A leftover debug printf.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_embed): Spelling fix.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/main.c (grub_efiemu_register_configuration_table):
2N/A A stylistic fix.
2N/A
2N/A2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/probe.c (grub_cmd_probe): Fix error message.
2N/A
2N/A2011-11-10 Shea Levy <slevy@tieronedesign.com>
2N/A
2N/A Allow all modules to perform serial IO
2N/A
2N/A * grub-core/term-serial.c (grub_serial_find): Remove static qualifier
2N/A * include/grub/serial.h (grub_serial_port_configure): New inline
2N/A function.
2N/A (grub_serial_port_fetch): Likewise.
2N/A (grub_serial_port_put): Likewise.
2N/A (grub_serial_port_fini): Likewise.
2N/A (grub_serial_find): New proto.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Put symlink at the end of the node and fix a potential
2N/A memory corruption.
2N/A
2N/A * grub-core/fs/iso9660.c (grub_fshelp_node): New field have_symlink.
2N/A Make symlink into an array.
2N/A (set_rockridge): Set have_symlink and alloc_dirents.
2N/A (grub_iso9660_read_symlink): Use new layout.
2N/A (grub_iso9660_iterate_dir): Fix memory corruption.
2N/A Use new layout.
2N/A (grub_iso9660_dir): Set have_symlink.
2N/A (grub_iso9660_open): Likewise.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove local keyword.
2N/A
2N/A * util/grub-mkconfig_lib.in (version_test_numeric): Remove local.
2N/A (version_test_gt): Likewise.
2N/A (version_find_latest): Likewise.
2N/A (gettext_printf): Likewise.
2N/A * util/grub.d/10_windows.in (get_os_name_from_boot_ini): Likewise.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zfs_mount): Fix spurious warning.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix ZFS memory and resource leaks.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (fill_vdev_info_real): New paramter inserted.
2N/A All users updated.
2N/A Free type on exit.
2N/A (fill_vdev_info): New parameter inserted. All users updated.
2N/A (check_pool_label): Likewise.
2N/A (scan_disk): Likewise.
2N/A (scan_devices): Close non-inserted disks.
2N/A (fzap_iterate): Free l.
2N/A (unmount_device): Free children descripto memory.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Fix grub_strncat
2N/A argument (access out of bounds).
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Fix RAID10 logic for
2N/A >= 6 drives.
2N/A
2N/A2011-11-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/netbsd_bootinfo.h (grub_netbsd_btinfo_bootwedge):
2N/A Fix declaration.
2N/A
2N/A2011-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix several memory leaks.
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_dir): Fix memory leak.
2N/A * grub-core/fs/cpio.c (grub_cpio_find_file): Likewise.
2N/A (grub_cpio_dir): Likewise.
2N/A * grub-core/fs/fat.c (grub_fat_label): Likewise.
2N/A * grub-core/fs/jfs.c (grub_jfs_label): Likewise.
2N/A * grub-core/fs/romfs.c (grub_romfs_close): Likewise.
2N/A (grub_romfs_label): Likewise.
2N/A * grub-core/fs/squash4.c (squash_mount): Use zalloc for safety.
2N/A (squash_unmount): New function.
2N/A (grub_squash_dir): Fix memory leak.
2N/A (grub_squash_open): Likewise.
2N/A (grub_squash_read): Likewise.
2N/A (grub_squash_mtime): Likewise.
2N/A * grub-core/fs/xfs.c (grub_xfs_open): Likewise.
2N/A * grub-core/fs/zfs/zfs.c (check_pool_label): Likewise.
2N/A * util/grub-fstest.c (fstest): Likewise.
2N/A
2N/A2011-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/misc.h (grub_strncat): Fix the order of conditionals to
2N/A avoid accessing beyond the array.
2N/A
2N/A2011-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Add missing -mXX to TARGET_CPPFLAGS.
2N/A
2N/A2011-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Several AFFS fixes.
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_bblock): Replace flags with version.
2N/A (GRUB_AFFS_FLAG_FFS): Removed.
2N/A (GRUB_AFFS_SYMLINK_SIZE): Likewise.
2N/A (GRUB_AFFS_FILETYPE_DIR): Make positive and unsigned.
2N/A (GRUB_AFFS_FILETYPE_DIR), (GRUB_AFFS_FILETYPE_REG): Fix a mix-up.
2N/A (grub_fshelp_node): Make block 32-bit.
2N/A Add block_cache and last_block_cache.
2N/A (grub_affs_read_block): Fill and use block cache.
2N/A (grub_affs_read_file): Removed.
2N/A (grub_affs_mount): Zero-fill node. Fix version check. Don't reread
2N/A boot block.
2N/A (grub_affs_read_symlink): Fix symlink size. Add a \0 at the end for
2N/A safety.
2N/A (grub_affs_iterate_dir): Use more appropriate types. Zero-fill allocated
2N/A space.
2N/A (grub_affs_close): Free block cache.
2N/A (grub_affs_read): Use grub_fshelp_read_file directly.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (read_dva): Issue an error if read failed
2N/A with no error set.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/LzmaEnc.c (LzmaEnc_CodeOneBlock): Remove set but not
2N/A used variable.
2N/A * grub-core/kern/ia64/dl_helper.c (grub_ia64_dl_get_tramp_got_size):
2N/A Likewise.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix potential problem with calling zfs_to_cpu and cpu_to_be in a row.
2N/A
2N/A * grub-core/fs/zfs/zfscrypt.c (grub_zfs_decrypt_real): Use explicit
2N/A byteswap when needed.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix FreeBSD compilation.
2N/A
2N/A * grub-core/disk/geli.c (GRUB_MD_SHA256) [GRUB_UTIL]: Redefine in a way
2N/A to avoid circular dependency.
2N/A (GRUB_MD_SHA512) [GRUB_UTIL]: Likewise.
2N/A * util/getroot.c (grub_util_follow_gpart_up): Move from here...
2N/A * grub-core/kern/emu/hostdisk.c (+grub_util_follow_gpart_up): ... here.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix ZFS crypto error types.
2N/A
2N/A * grub-core/fs/zfs/zfscrypt.c (grub_ccm_decrypt): Fix return type.
2N/A (grub_gcm_decrypt): Likewise.
2N/A (grub_zfs_load_key_real): Fix error code type. Handle possible error
2N/A from PBKDF2.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Illumos support.
2N/A
2N/A * Makefile.util.def (10_illumos): New script.
2N/A * configure.ac: Set COND_HOST_ILLUMOS.
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors) [__sun__]:
2N/A Support Illumos calls.
2N/A (find_partition_start) [__sun__]: Likewise.
2N/A (convert_system_partition_to_system_disk) [__sun__]: Likewise.
2N/A (device_is_wholedisk) [__sun__]: Handle Illumos naming scheme.
2N/A (grub_util_biosdisk_get_grub_dev) [__sun__]: Handle Illumos.
2N/A * util/getroot.c (find_root_device_from_libzfs) [__sun__]: Return raw
2N/A device.
2N/A * util/grub-probe.c (probe) [__sun__]: Do character check.
2N/A * util/grub.d/10_illumos.in: New file.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support escaped commas in hostdisk.
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (unescape_cmp): New function.
2N/A (find_grub_drive): Use unescape_cmp.
2N/A (make_device_name): Escape commas.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Use ${grub_mkrelpath} not grub-mkrelpath.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used
2N/A variable.
2N/A
2N/A2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support trampoline jumps on powerpc.
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_load_segments) [__powerpc__]: Follow
2N/A __ia64__ path.
2N/A (grub_dl_load_segments): Set mod->sz.
2N/A (grub_dl_flush_cache): Flush whole space occupied by module, not just
2N/A segments.
2N/A * grub-core/kern/ia64/dl.c (nopm): Make const while on it.
2N/A (jump): Likewise.
2N/A * grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): New
2N/A function.
2N/A (trampoline): New struct.
2N/A (trampoline_template): New const.
2N/A (grub_arch_dl_relocate_symbols): Create trampolines on overflow.
2N/A * include/grub/dl.h (grub_dl): Add sz element.
2N/A [__powerpc__]: Follow __ia64__.
2N/A (GRUB_ARCH_DL_TRAMP_ALIGN): Define on ppc.
2N/A (GRUB_ARCH_DL_GOT_ALIGN): Likewise.
2N/A (GRUB_ARCH_DL_TRAMP_SIZE): Likewise.
2N/A (grub_arch_dl_get_tramp_got_size) [__powerpc__]: New proto.
2N/A
2N/A2011-11-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ZFS crypto support.
2N/A
2N/A * Makefile.util.def (libgrubmods): Add grub-core/fs/zfs/zfscrypt.c.
2N/A * grub-core/Makefile.core.def (zfscrypt): New module.
2N/A * grub-core/fs/zfs/zfs.c (subvolume): New structure.
2N/A (grub_zfs_data): Replace mdn with subvol. Put case_insensitivity inside
2N/A it. All users updated.
2N/A (grub_zfs_decrypt): New var.
2N/A (grub_zfs_load_key): Likewise.
2N/A (zio_checksum_functions): Add SHA256+MAC.
2N/A (zio_checksum_verify): Handle incomplete comparison due to MAC.
2N/A (zio_read): Handle encrypted blocks.
2N/A (zap_verify): Remove incorrect check.
2N/A (fzap_iterate): Handle non-standard fzap.
2N/A (zap_iterate): Likewise.
2N/A (zap_iterate_u64): New function.
2N/A (dnode_get_fullpath): Load keys.
2N/A * grub-core/fs/zfs/zfscrypt.c: New file.
2N/A * grub-core/lib/crypto.c (grub_crypto_cipher_close): Removed.
2N/A (grub_crypto_ecb_encrypt): Make input const.
2N/A * include/grub/crypto.h (grub_crypto_cipher_close): Inline.
2N/A (grub_crypto_ecb_encrypt): Make input const.
2N/A (GRUB_CIPHER_AES): New macro.
2N/A * include/grub/zfs/dmu.h (dmu_object_type): Add DMU_OT_DSL_KEYCHAIN.
2N/A * include/grub/zfs/dsl_dir.h (dsl_dir_phys): Add keychain.
2N/A * include/grub/zfs/spa.h (grub_zfs_endian): Moved from here ...
2N/A * include/grub/zfs/zfs.h (grub_zfs_endian): ... here. Added GURB_ZFS_
2N/A prefix. All users updated.
2N/A (grub_zfs_add_key): New proto.
2N/A (grub_zfs_decrypt): Likewise.
2N/A (grub_zfs_load_key): Likewise.
2N/A * include/grub/zfs/zio.h (zio_checksum): Add SHA256+MAC.
2N/A * util/grub-fstest.c (options): Add -K option.
2N/A (argp_parser): Likewise.
2N/A
2N/A2011-11-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support zle compression on ZFS.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zle_decompress): New function.
2N/A (decomp_table): Add zle.
2N/A * include/grub/zfs/zio.h (zio_compress): Add zle.
2N/A
2N/A2011-11-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support BtrFS embedding.
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_embed) [GRUB_UTIL]: New function.
2N/A (grub_btrfs_fs) [GRUB_UTIL]: Set embed.
2N/A * include/grub/fs.h (grub_fs) [GRUB_UTIL]: New field embed.
2N/A * util/grub-setup.c (setup): Use fs embedding if available.
2N/A Add additional sanity check.
2N/A
2N/A2011-11-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Fix condition for config_opt.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support third redundancy strip on raidz3.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (recovery): Add Gauss for general case.
2N/A Return error on singularity. All users updated.
2N/A (read_device): Don't stop on 3rd failure on raidz3.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support case-insensitive ZFS subvolumes.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (mzap_lookup): New parameter case_insensitive.
2N/A All users updated.
2N/A (zap_hash): Likewise.
2N/A (name_cmp): New function.
2N/A (zap_leaf_array_equal): New parameter case_insensitive.
2N/A All users updated.
2N/A (zap_leaf_lookup): Likewise.
2N/A (fzap_lookup): Likewise.
2N/A (zap_lookup): Likewise.
2N/A (dnode_get_path): New parameter case_insensitive. Retrieve case
2N/A sensitiviness of a volume. All users updated.
2N/A (dnode_get_fullpath): New parameter case_insensitive.
2N/A All users updated.
2N/A (grub_zfs_dir): Set info.case_insensitiveness.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support second redundancy strip on raidz(2,3).
2N/A
2N/A * grub-core/fs/zfs/zfs.c (powx): New array.
2N/A (powx_inv): Likewise.
2N/A (poly): New const.
2N/A (xor_out): New function.
2N/A (gf_mul): Likewise.
2N/A (recovery): Likewise.
2N/A (read_device): Use second redundancy strip.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use a power of generator representation of GF(256) multiplication group
2N/A to save space time and complexity.
2N/A
2N/A * grub-core/disk/raid6_recover.c (raid6_table1): Removed.
2N/A (raid6_table2): Likewise.
2N/A (powx): New array.
2N/A (powx_inv): Likewise.
2N/A (poly): New const.
2N/A (grub_raid_block_mul): Replace with ...
2N/A (grub_raid_block_mulx): ...this.
2N/A (grub_raid6_init_table): Rewritten.
2N/A (grub_raid6_recover): Use power of generator representation.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid6_recover.c (grub_raid6_recover): Get start_sector
2N/A for the right device.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/kernel.h (grub_module_header): Make type into uint32 as
2N/A expected by grub-mkimage and it's more clear since there is no implicit
2N/A padding.
2N/A
2N/A2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (scan_devices): Don't derference NULL on whole
2N/A disk.
2N/A * grub-core/disk/lvm.c (do_lvm_scan): Likewise.
2N/A
2N/A2011-11-03 Philipp Matthias Hahn <pmhahn@debian.org>
2N/A
2N/A * util/grub-mkrescue.in: Fix handling xorriso option.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gettext/gettext.c (grub_gettext_init_ext): Exit if local is
2N/A NULL.
2N/A
2N/A2011-11-03 crocket <crockabiscuit@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Add Slackware initrd naming.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A XZ CRC64 and SHA256 support.
2N/A
2N/A * Makefile.util.def (libgrubmods): Add crc64.c.
2N/A * grub-core/Makefile.core.def (crc64): New module.
2N/A * grub-core/lib/crc64.c: New file.
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_hash)
2N/A [!GRUB_EMBED_DECOMPRESSOR]: Rename crc32_context to hash_context.
2N/A Fix the type.
2N/A (MAX_HASH_SIZE): New define.
2N/A (xz_dec) [!GRUB_EMBED_DECOMPRESSOR]: Add generic hash fields.
2N/A (dec_block) [!GRUB_EMBED_DECOMPRESSOR]: Handle non-crc32 hashes.
2N/A (index_update) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
2N/A (dec_index) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
2N/A (crc32_validate) [!GRUB_EMBED_DECOMPRESSOR]: Rename to ...
2N/A (hash_validate) [!GRUB_EMBED_DECOMPRESSOR]: ... this.
2N/A Handle non-crc32 hashes.
2N/A (hashes) [!GRUB_EMBED_DECOMPRESSOR]: New variable.
2N/A (dec_stream_header): Handle non-crc32 hashes.
2N/A (dec_stream_footer): Likewise.
2N/A (dec_block_header): Likewise.
2N/A (dec_main): Likewise.
2N/A (xz_dec_init): Likewise.
2N/A (xz_dec_reset): Likewise.
2N/A (xz_dec_end): Likewise.
2N/A * util/import_gcry.py: Add CRC64 line.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ufs.c (grub_ufs_mtime) [MODE_UFS2]: Check mtime field
2N/A as well.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make reiserfs label retrieval similar to other *_label functions.
2N/A
2N/A * grub-core/fs/reiserfs.c (grub_reiserfs_superblock): New field label.
2N/A (REISERFS_MAX_LABEL_LENGTH): Removed.
2N/A (REISERFS_LABEL_OFFSET): Likewise.
2N/A (grub_reiserfs_label): Rewritten.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/nilfs2.c (grub_nilfs2_mtime): Use correct superblock
2N/A field.
2N/A
2N/A2011-11-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (read_device): Support raidz3.
2N/A
2N/A2011-11-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (read_device): Add ability to sustain a single
2N/A drive failure on both raidz and raidz2.
2N/A
2N/A2011-11-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix RAIDZ(2) for >= 5 devices.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (read_device): Fix length formula. Remove
2N/A asize argument. All users updated.
2N/A
2N/A2011-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix RAIDZ(2).
2N/A
2N/A * grub-core/fs/zfs/zfs.c (grub_zfs_device_desc): New member ashift.
2N/A (fill_vdev_info_real): Set ashift.
2N/A (read_device): Rewrite RAIDZ part based on reverse engineering.
2N/A
2N/A2011-10-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_extent_read): Add sanity check and
2N/A don't report potentially unavialiable fields in debug output.
2N/A (find_path): Fix double-free and memory leak.
2N/A
2N/A2011-10-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Read label on UFS1.
2N/A
2N/A * grub-core/fs/ufs.c (grub_ufs_label): Remove MODE_UFS2 condition.
2N/A (grub_ufs_fs): Always set .label.
2N/A
2N/A2011-10-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use shifts in UFS.
2N/A
2N/A * grub-core/fs/ufs.c (UFS_LOG_BLKSZ): New macro.
2N/A (grub_ufs_data): New field log2_blksz.
2N/A (grub_ufs_read_file): Use shifts.
2N/A (grub_ufs_mount): Check block size and logarithm it.
2N/A
2N/A2011-10-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ufs.c (grub_ufs_lookup_symlink): Fix handling of
2N/A long symlinks.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handle symlinks and long names on tar and cpio.
2N/A
2N/A * grub-core/fs/cpio.c (ATTR_TYPE): New definition.
2N/A (ATTR_FILE): Likewise.
2N/A (ATTR_DIR): Likewise.
2N/A (ATTR_LNK): Likewise.
2N/A (grub_cpio_data) [MODE_USTAR]: New fields linkname and linkname_alloc.
2N/A (grub_cpio_find_file): Fill mode, handle linkname field as well as
2N/A L and K entries.
2N/A (grub_cpio_mount): Zero-fill data.
2N/A (handle_symlink): New function.
2N/A (grub_cpio_dir): Handle symlinks.
2N/A (grub_cpio_open): Likewise.
2N/A (grub_cpio_close) [MODE_USTAR]: Free linkname.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix iso9660 filename limitations and fix memory leaks.
2N/A
2N/A * grub-core/fs/iso9660.c (set_rockridge): Free sua at the end.
2N/A (grub_iso9660_iterate_dir): Fix slash handling in symlinks.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix JFS file name length limitations.
2N/A
2N/A * grub-core/fs/jfs.c (grub_jfs_inode): Fix in-place symlink length.
2N/A (grub_jfs_diropen): Fix maximum filename length.
2N/A (grub_jfs_getent): Fix filename length.
2N/A (grub_jfs_lookup_symlink): Fix size checks.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/mips/linux.c (loongson_machtypes): Fix fuloong type
2N/A string.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Leverage BFS implementation to read AFS.
2N/A
2N/A * Makefile.util.def (libgrubmods): Add afs.c.
2N/A * grub-core/Makefile.core.def (afs): New module
2N/A * grub-core/fs/afs.c: New file.
2N/A * grub-core/fs/bfs.c [MODE_AFS]: Adapt for AFS.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/bfs.c: Macroify and add some necessary sanity checks.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/bfs.c: Run indent.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A BFS implementation based on the specification.
2N/A
2N/A * grub-core/fs/bfs.c: New file.
2N/A * Makefile.util.def (libgrubmods): Add bfs.c.
2N/A * grub-core/Makefile.core.def (bfs): New module.
2N/A
2N/A2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-fstest.c (cmd_cp): Clarify error message.
2N/A (cmd_cmp): Likewise.
2N/A
2N/A2011-10-30 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * po/POTFILES.in: Regenerate because of the removal of afs, afs_be, befs
2N/A and befs_be.
2N/A
2N/A2011-10-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove afs and befs because of copyright problem.
2N/A
2N/A * grub-core/fs/afs.c: Removed.
2N/A * grub-core/fs/afs_be.c: Removed.
2N/A * grub-core/fs/befs.c: Removed.
2N/A * grub-core/fs/befs_be.c: Removed.
2N/A * Makefile.util.def (libgrubkern): Remove afs, afs_be, befs and befs_be.
2N/A * grub-core/Makefile.core.def (afs): Removed.
2N/A (afs_be): Likewise.
2N/A (befs): Likewise.
2N/A (befs_be): Likewise.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Prefer rockridge over Joliet.
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_mount): Move rockridge detection
2N/A to ...
2N/A (set_rockridge): ... here.
2N/A (grub_iso9660_mount): Check rockridge on the primary label when
2N/A discovering. Ignore Joliet if Rockridge is present.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use shifts in nilfs2.
2N/A
2N/A * grub-core/fs/nilfs2.c (LOG_INODE_SIZE): New definition.
2N/A (LOG_NILFS_DAT_ENTRY_SIZE): Likewise.
2N/A (grub_nilfs2_palloc_entries_per_group): Replace with ...
2N/A (grub_nilfs2_log_palloc_entries_per_group): ... this.
2N/A (grub_nilfs2_palloc_group): Use shifts and bitmasks.
2N/A (grub_nilfs2_entries_per_block): Replaced with ...
2N/A (grub_nilfs2_log_entries_per_block_log): ... this.
2N/A (grub_nilfs2_blocks_per_group): Replaced with ...
2N/A (grub_nilfs2_blocks_per_group_log): ... this.
2N/A (grub_nilfs2_blocks_per_desc_block): Replaced with ...
2N/A (grub_nilfs2_blocks_per_desc_block_log): ... this.
2N/A (grub_nilfs2_palloc_desc_block_offset): Replaced with ...
2N/A (grub_nilfs2_palloc_desc_block_offset_log): ... this.
2N/A (grub_nilfs2_palloc_entry_offset): Replaced ...
2N/A (grub_nilfs2_palloc_entry_offset_log): ... this. Use shifts.
2N/A (grub_nilfs2_dat_translate): Use shifts.
2N/A (grub_nilfs2_read_inode): Likewise.
2N/A (GRUB_MOD_INIT): Ensure that logs are correct.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use shifts in minix filesystem.
2N/A
2N/A * grub-core/fs/minix.c (GRUB_MINIX_ZONESZ): Use log_block_size.
2N/A (GRUB_MINIX_ZONE2SECT): Likewise.
2N/A (grub_minix_data): Replace block_size with log_block_size.
2N/A (grub_minix_read_file): Use shifts.
2N/A (grub_minix_mount): Check block size and take a logarithm.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use shifts in squash4.
2N/A
2N/A * grub-core/fs/squash4.c (grub_squash_data): New field log2_blksz.
2N/A (squash_mount): Check block size and take logarithm.
2N/A (direct_read): Use shifts.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Correct befs block counting logic.
2N/A
2N/A * grub-core/fs/afs.c (GRUB_AFS_BLOCKS_PER_DI_RUN): Replaced with...
2N/A (GRUB_AFS_LOG_BLOCKS_PER_DI_RUN): ... this.
2N/A (GRUB_AFS_BLOCKRUN_LOG_SIZE): New definition.
2N/A (grub_afs_read_inode): Use block_shift.
2N/A (RANGE_SHIFT): New definition.
2N/A (grub_afs_read_block): Account for RANGE_SHIFT, emit errors on
2N/A unexpected conditions, use shifts and appropriate types.
2N/A (GRUB_MOD_INIT): Check the value of GRUB_AFS_BLOCKRUN_LOG_SIZE.
2N/A
2N/A2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (scan_devices): Check partition.
2N/A * grub-core/disk/lvm.c (do_lvm_scan): Likewise.
2N/A
2N/A2011-10-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support BFS (befs) UUID.
2N/A
2N/A * grub-core/fs/afs.c (grub_afs_inode): Make small_data zero-size.
2N/A (grub_afs_small_data_element_header): New struct.
2N/A (grub_afs_read_inode): Read complete inode. Fix ino type while on it.
2N/A (grub_afs_read_attribute) [MODE_BFS]: New function.
2N/A (grub_afs_iterate_dir): Allocate for complete inode.
2N/A (grub_afs_mount): Likewise.
2N/A (grub_afs_uuid) [MODE_BFS]: New function.
2N/A (grub_afs_fs) [MODE_BFS]: Add .uuid.
2N/A
2N/A2011-10-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (read_device): Silence spurious warning.
2N/A (zfs_unmount): Fix memory leak.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support NTFS reparse points.
2N/A
2N/A * grub-core/fs/ntfs.c (list_file): Set symlink type when appropriate.
2N/A (symlink_descriptor): New struct.
2N/A (grub_ntfs_read_symlink): New function.
2N/A (grub_ntfs_iterate_dir): Use grub_ntfs_read_symlink.
2N/A (grub_ntfs_open): Likewise.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/ntfs.h: Add GRUB_NTFS_ prefix. All users updated.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A fstest xnu_uuid subcommand.
2N/A
2N/A * grub-core/commands/xnu_uuid.c (libgrubkrn): Add
2N/A grub-core/commands/xnu_uuid.c.
2N/A * util/grub-fstest.c (CMD_XNU_UUID): New enum value.
2N/A (fstest): Handle xnu_uuid.
2N/A (options): Document xnu_uuid.
2N/A (argp_parser): Parse xnu_uuid.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/xnu_uuid.c (grub_cmd_xnu_uuid): Support
2N/A -l argument. Add newline at the end if printing.
2N/A (GRUB_MOD_INIT): Document -l.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/nilfs2.c (grub_nilfs2_uuid): Add missing field length.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ZFS multi-device and version 33 support.
2N/A
2N/A * Makefile.util.def (libgrubkern): Add grub-core/fs/zfs/zfsinfo.c.
2N/A * grub-core/fs/zfs/zfs.c (grub_zfs_device_desc): New struct.
2N/A (grub_zfs_data): Add multidev-ice-related fields.
2N/A (zio_checksum_verify): Zero-pad printed values. Print checksum name.
2N/A (dva_get_offset): Make dva const.
2N/A (zfs_fetch_nvlist): New function.
2N/A (fill_vdev_info_real): Likewise.
2N/A (fill_vdev_info): Likewise.
2N/A (check_pool_label): Likewise.
2N/A (scan_disk): Likewise.
2N/A (scan_devices): Likewise.
2N/A (read_device): Likewise.
2N/A (read_dva): Likewise.
2N/A (zio_read_gang): Use read_dva.
2N/A (zio_read_data): Likewise.
2N/A (zap_leaf_lookup): Add missing endian conversion.
2N/A (zap_verify): Add missing endian conversion. All users updated.
2N/A (fzap_lookup): Likewise.
2N/A (fzap_iterate): Likewise.
2N/A (dnode_get_path): Handle SA bonus.
2N/A (nvlist_find_value): Make input const. All users updated.
2N/A (unmount_device): New function.
2N/A (zfs_unmount): Use unmount_device.
2N/A (zfs_mount): Use scan_disk.
2N/A (zfs_mtime): New function.
2N/A (grub_zfs_open): Handle system attributes.
2N/A (fill_fs_info): Likewise.
2N/A (grub_zfs_dir): Likewise.
2N/A (grub_zfs_fs): Add mtime.
2N/A * grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Add missing return.
2N/A * include/grub/zfs/sa_impl.h (SA_TYPE_OFFSET): New definition.
2N/A (SA_MTIME_OFFSET): Likewise.
2N/A (SA_SYMLINK_OFFSET): Likewise.
2N/A * include/grub/zfs/zfs.h (SPA_VERSION): Increase to 33.
2N/A * util/grub-fstest.c (CMD_ZFSINFO): New enum value.
2N/A (fstest): Support zfsinfo.
2N/A (argp_parser): Likewise.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/datetime.h (grub_datetime2unixtime): Fix off-by-one
2N/A error.
2N/A
2N/A2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ZFS fixes.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (fzap_iterate): Fix handling of indexes
2N/A sharing the same block. Iterate over correct number of indices.
2N/A (dnode_get_path): Handle symlinks correctly.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/jfs.c (grub_jfs_sblock): Fix offset to volname.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Read label on HFS+.
2N/A
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_cmp_catkey_id): New function.
2N/A (grub_hfsplus_btree_search): Fix types.
2N/A (grub_hfsplus_label): Implement.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ntfs.c (grub_ntfs_uuid): Fix a memory leak.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/fat.c (grub_fat_uuid): Make uppercase to match Linux.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix symlink handling on iso9660.
2N/A
2N/A * grub-core/fs/iso9660.c (grub_fshelp_node): Remove dir_off. Add symlink
2N/A All users updated.
2N/A (grub_iso9660_susp_iterate): Accept zero-size iterate.
2N/A (grub_iso9660_read_symlink): Moved most of code ...
2N/A (grub_iso9660_iterate_dir): ... here. Fill node->symlink.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsd.c (grub_netbsd_add_boot_disk_and_wedge):
2N/A Use union to avoid breaking strict-aliasing rules.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support multi-extent iso files.
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_data): Remove first_sector.
2N/A Add node.
2N/A (grub_fshelp_node): Revamp. All users updated.
2N/A (FLAG_*): New enum.
2N/A (read_node): New function.
2N/A (grub_iso9660_susp_iterate): Use read_node. Receive a node as argument.
2N/A All users updated.
2N/A (grub_iso9660_mount): Don't attempt to read sua when there is none.
2N/A (get_node_size): New function.
2N/A (grub_iso9660_iterate_dir): Use read_node. Agglomerate multi-extent
2N/A entries.
2N/A Fix memory leak on . and ..
2N/A (grub_iso9660_read): Use read_node.
2N/A (grub_iso9660_close): Free node.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix tar 4G limit and handle paths containing dot.
2N/A
2N/A * grub-core/fs/cpio.c (grub_cpio_data): Use grub_off_t for offsets.
2N/A (canonicalize): New function.
2N/A (grub_cpio_find_file): Use canonicalize. Store offs in
2N/A grub_disk_addr_t.
2N/A (grub_cpio_dir): Use grub_disk_addr_t.
2N/A (grub_cpio_open): Likewise.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix handling of uncompressed blocks on squashfs and break 4G limit.
2N/A
2N/A * grub-core/fs/squash4.c (grub_squash_super): Add block_size. Remove
2N/A unused flags.
2N/A (grub_squash_inode): Add long_file and block_size.
2N/A (grub_squash_cache_inode): New struct.
2N/A (grub_squash_dirent): Make types into enum.
2N/A (SQUASH_TYPE_LONG_REGULAR): New type.
2N/A (grub_squash_frag_desc): Add field size.
2N/A (SQUASH_BLOCK_FLAGS): New enum.
2N/A (grub_squash_data): Use grub_squash_cache_inode.
2N/A (grub_fshelp_node): Make ino_chunk 64-bit.
2N/A (read_chunk): Minor argument change. All users updated.
2N/A (squash_mount): Use correct le_to_cpu.
2N/A (grub_squash_open): Handle LONG_REGULAR.
2N/A (direct_read): New function.
2N/A (grub_squash_read_data): Handle blocks correctly.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/disk.c (grub_disk_read_small): Fix memory leak.
2N/A
2N/A2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/romfs.c (grub_romfs_open): Add missing return.
2N/A
2N/A2011-10-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix 2G limit on ZFS.
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zio_checksum_verify): Use more appropriate
2N/A types.
2N/A (uberblock_verify): Likewise.
2N/A (dmu_read): Likewise.
2N/A (grub_zfs_read): Likewise. Remove invalid cast.
2N/A
2N/A2011-10-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/jfs.c (grub_jfs_blkno): Use more appropriate types.
2N/A (grub_jfs_blkno): Fix incorrect shift.
2N/A (grub_jfs_read_file): Use more appropriate types.
2N/A
2N/A2011-10-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support triple indirect on minix2 and minix3.
2N/A
2N/A * grub-core/fs/minix.c (grub_minix_inode) [MODE_MINIX2 || MODE_MINIX3]:
2N/A Declare triple_indir_zone.
2N/A (grub_minix_get_file_block) [MODE_MINIX2 || MODE_MINIX3]: Handle triple
2N/A indirect.
2N/A
2N/A2011-10-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Minix FS fixes.
2N/A
2N/A * grub-core/fs/minix.c (GRUB_MINIX_INODE_SIZE): Size is always 32-bit.
2N/A (grub_minix_inode) [!MODE_MINIX2 && !MODE_MINIX3]: Make size 32-bit.
2N/A Rename ctime to mtime. All users updated.
2N/A (grub_minix_get_file_block): Fix types and double indirect computations.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/fat.c (grub_fat_label) [MODE_EXFAT]: Set *label to 0
2N/A if no label is found.
2N/A (grub_fat_iterate_dir): Fix file size type.
2N/A (grub_fat_iterate_dir): Likewise.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (gf_invert): Declare as const and
2N/A save some space.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Decrease.
2N/A (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/import_gcry.py: Automatically fix camellia.c and camellia.h.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/import_gcry.py: Accept space between # and include.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/longjmp.S.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fine grainely disable warnings on lexer. Remove Wno-error on it.
2N/A
2N/A * grub-core/Makefile.core.def (normal): Remove -Wno-error.
2N/A * grub-core/script/lexer.c: Declare yytext_ptr to avoid having
2N/A yylex_strncpy.
2N/A * grub-core/script/yylex.l: Add fine-grained #pragma.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/posix_wrap/string.h (memcpy) [GRUB_UTIL]:
2N/A New inline function.
2N/A * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (memcpy) [GRUB_UTIL]:
2N/A Likewise.
2N/A (memset) [GRUB_UTIL]: Likewise.
2N/A (memcmp) [GRUB_UTIL]: Likewise.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/misc.h (grub_memcpy): Declare grub_memcpy with static
2N/A inline function rather than a define.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c: Add missing include.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/grub-ofpathname.c: Add missing include.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (grub_exit): Add missing zeroing-out.
2N/A * grub-core/lib/i386/reboot_trampoline.S (grub_reboot_start):
2N/A Likewise.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
2N/A grub_memcmp usage.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Add datarootdir as per automake manual
2N/A suggestion.
2N/A * util/grub-mknetdir.in: Likewise.
2N/A
2N/A2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_hurd.in: Add datarootdir as per automake manual
2N/A suggestion.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/10_netbsd.in: Likewise.
2N/A * util/grub.d/10_windows.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2011-10-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove redundant grub_kernel_image_size.
2N/A
2N/A * grub-core/kern/i386/coreboot/init.c (grub_machine_init): Use
2N/A _edata and _start.
2N/A * grub-core/kern/i386/coreboot/startup.S: Move multiboot header after
2N/A the small code. It moves it only by few bytes but simplifies the code.
2N/A * grub-core/kern/i386/pc/init.c (grub_machine_init): Use _edata and
2N/A _start.
2N/A * grub-core/kern/i386/pc/startup.S: Use _edata and _start.
2N/A (grub_kernel_image_size): Removed.
2N/A * grub-core/kern/i386/qemu/startup.S: Use _edata and _start.
2N/A (grub_kernel_image_size): Removed.
2N/A [APPLE_CC]: Remove apple compiler support. i386-qemu port can't be
2N/A compiled with Apple toolchain.
2N/A * grub-core/kern/sparc64/ieee1275/crt0.S: Remove leftover fields.
2N/A * include/grub/i386/pc/kernel.h (grub_kernel_image_size): Removed.
2N/A * include/grub/i386/qemu/kernel.h (grub_kernel_image_size): Removed.
2N/A (grub_total_module_size): Likewise.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_KERNEL_IMAGE_SIZE):
2N/A Removed.
2N/A (GRUB_KERNEL_I386_PC_COMPRESSED_SIZE): Put it lower.
2N/A (GRUB_KERNEL_I386_PC_INSTALL_DOS_PART): Likewise.
2N/A (GRUB_KERNEL_I386_PC_INSTALL_BSD_PART): Likewise.
2N/A (GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY): Likewise.
2N/A (GRUB_KERNEL_I386_QEMU_KERNEL_IMAGE_SIZE): Removed.
2N/A (GRUB_KERNEL_SPARC64_IEEE1275_KERNEL_IMAGE_SIZE): Likewise.
2N/A (GRUB_KERNEL_SPARC64_IEEE1275_COMPRESSED_SIZE): Likewise.
2N/A * include/grub/sparc64/ieee1275/kernel.h (grub_kernel_image_size):
2N/A Removed.
2N/A (grub_total_module_size): Removed.
2N/A * util/grub-mkimage.c (image_target_desc): Remove image_size.
2N/A (image_targets): Likewise.
2N/A Set .compressed_size to no field on sparc.
2N/A (generate_image): Remove kernel_image_size handling.
2N/A
2N/A2011-10-19 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/bus/usb/uhci.c (grub_uhci_setup_transfer): Fix possible
2N/A NULL pointer dereference.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Removed unused GRUB_BOOT_VERSION. Check for kernel version is better
2N/A done with a dedicated section.
2N/A
2N/A * grub-core/boot/sparc64/ieee1275/boot.S: Remove GRUB_BOOT_VERSION.
2N/A Ensure the correct position of boot_path.
2N/A * grub-core/kern/i386/efi/startup.S: Remove GRUB_BOOT_VERSION.
2N/A * grub-core/kern/i386/pc/startup.S: Likewise. Ensure correct position of
2N/A other fields.
2N/A * grub-core/kern/x86_64/efi/startup.S: Remove GRUB_BOOT_VERSION.
2N/A * include/grub/boot.h: Removed. All references removed.
2N/A * include/grub/sparc64/ieee1275/boot.h (GRUB_BOOT_MACHINE_VER_MAJ):
2N/A Removed.
2N/A (GRUB_BOOT_MACHINE_BOOT_DEVPATH): Make it lower.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Declare IEEE1275 as able to find out the disk
2N/A name.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/main.c (grub_set_prefix_and_root): Init prefix.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname):
2N/A Don't add the bogus brackets.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ExFAT support.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add grub-core/fs/exfat.c.
2N/A * grub-core/Makefile.core.def (exfat): New module.
2N/A * grub-core/fs/exfat.c: New file.
2N/A * grub-core/fs/fat.c (GRUB_FAT_DIR_ENTRY_SIZE): Removed.
2N/A (GRUB_FAT_ATTR_*): Make into an enum.
2N/A (GRUB_FAT_ATTR_LONG_NAME) [MODE_EXFAT]: Removed.
2N/A (GRUB_FAT_ATTR_VALID) [MODE_EXFAT]: Remove GRUB_FAT_ATTR_VOLUME_ID.
2N/A (GRUB_FAT_ATTR_VOLUME_ID) [MODE_EXFAT]: Removed.
2N/A (GRUB_FAT_MAXFILE): Removed.
2N/A (grub_exfat_bpb) [MODE_EXFAT]: New struct.
2N/A (grub_current_fat_bpb_t): New type.
2N/A (grub_fat_dir_entry) [MODE_EXFAT]: New struct.
2N/A (grub_fat_dir_node) [MODE_EXFAT]: New struct.
2N/A (grub_fat_dir_node_t): New type.
2N/A (grub_fat_data) [MODE_EXFAT]: Remove root_sector and num_root_sectors.
2N/A (fat_log2) [MODE_EXFAT]: Removed.
2N/A (grub_fat_mount): Use grub_current_fat_bpb_t. Add some sanity checks.
2N/A (grub_fat_mount) [MODE_EXFAT]: Handle ExFAT.
2N/A (grub_fat_iterate_dir) [MODE_EXFAT]: New function.
2N/A (grub_fat_find_dir) [MODE_EXFAT]: Handle ExFAT.
2N/A (grub_fat_label) [MODE_EXFAT]: New function.
2N/A (grub_fat_fs) [MODE_EXFAT]: Set name to "exfat" and
2N/A reserved_first_sector to 0.
2N/A
2N/A2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move grub_reboot out of the kernel.
2N/A
2N/A * grub-core/Makefile.core.def (reboot): Add platform-specific files.
2N/A * grub-core/kern/efi/efi.c (grub_reboot): Moved to ...
2N/A * grub-core/lib/efi/reboot.c: ... here.
2N/A * grub-core/kern/i386/efi/startup.S: Remove including of realmode.S.
2N/A * grub-core/kern/i386/ieee1275/startup.S: Likewise.
2N/A * grub-core/kern/i386/pc/startup.S (grub_exit): Inline cold_reboot.
2N/A * grub-core/kern/i386/realmode.S (grub_reboot): Moved to...
2N/A * grub-core/lib/i386/reboot_trampoline.S: ... here.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_reboot): Moved to...
2N/A * grub-core/lib/ieee1275/reboot.c: ... here.
2N/A * grub-core/kern/mips/arc/init.c (grub_reboot): Moved to...
2N/A * grub-core/lib/mips/arc/reboot.c: ... here.
2N/A * grub-core/kern/mips/loongson/init.c (grub_reboot): Moved to...
2N/A * grub-core/lib/mips/loongson/reboot.c: ...here.
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_reboot): Moved to...
2N/A * grub-core/lib/mips/qemu_mips/reboot.c: ... here.
2N/A * include/grub/emu/misc.h (grub_reboot): New function declaration.
2N/A * include/grub/i386/reboot.h: New file.
2N/A * include/grub/mips/loongson/ec.h: Fix includes.
2N/A * include/grub/mips/qemu_mips/kernel.h (grub_reboot): Removed.
2N/A * include/grub/misc.h (grub_reboot): Don't mark as kernel function.
2N/A * grub-core/lib/i386/reboot.c: New file.
2N/A
2N/A2011-10-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make grub_prefix into module to fix the arbitrary limit and save
2N/A some space.
2N/A
2N/A * grub-core/kern/emu/main.c (grub_prefix): Removed.
2N/A * grub-core/kern/i386/coreboot/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/i386/efi/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/i386/ieee1275/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/i386/pc/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/i386/qemu/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/ia64/efi/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/mips/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
2N/A * grub-core/kern/sparc64/ieee1275/crt0.S (grub_prefix): Likewise.
2N/A * grub-core/kern/x86_64/efi/startup.S (grub_prefix): Likewise.
2N/A * include/grub/ia64/efi/kernel.h: Removed.
2N/A * include/grub/kernel.h: New module type OBJ_TYPE_PREFIX.
2N/A (grub_prefix): Removed.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_PREFIX): Removed.
2N/A (GRUB_KERNEL_I386_PC_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_I386_QEMU_PREFIX): Likewise.
2N/A (GRUB_KERNEL_I386_QEMU_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_SPARC64_IEEE1275_PREFIX): Likewise.
2N/A (GRUB_KERNEL_SPARC64_IEEE1275_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_POWERPC_IEEE1275_PREFIX): Likewise.
2N/A (GRUB_KERNEL_POWERPC_IEEE1275_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MIPS_LOONGSON_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_LOONGSON_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_I386_EFI_PREFIX): Likewise.
2N/A (GRUB_KERNEL_I386_EFI_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_IA64_EFI_PREFIX): Likewise.
2N/A (GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_X86_64_EFI_PREFIX): Likewise.
2N/A (GRUB_KERNEL_X86_64_EFI_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_I386_COREBOOT_PREFIX): Likewise.
2N/A (GRUB_KERNEL_I386_COREBOOT_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_I386_MULTIBOOT_PREFIX): Likewise.
2N/A (GRUB_KERNEL_I386_MULTIBOOT_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_I386_IEEE1275_PREFIX): Likewise.
2N/A (GRUB_KERNEL_I386_IEEE1275_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MACHINE_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MACHINE_PREFIX_END): Likewise.
2N/A * grub-core/kern/main.c (grub_set_prefix_and_root): Retrieve grub_prefix
2N/A from module.
2N/A * util/grub-mkimage.c (image_target_desc): Removed prefix and
2N/A prefix_end.
2N/A (image_targets): Likewise.
2N/A (generate_image): Put prefix as a module.
2N/A
2N/A2011-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Replace grub_module_iterate with FOR_MODULES.
2N/A
2N/A * grub-core/disk/memdisk.c (GRUB_MOD_INIT): Switched to new interface.
2N/A * grub-core/kern/efi/efi.c (grub_arch_modules_addr): Renamed to...
2N/A (grub_efi_modules_addr): ...this.
2N/A * grub-core/kern/efi/init.c (grub_modbase): New variable.
2N/A (grub_efi_init): Set grub_modbase.
2N/A * grub-core/kern/emu/main.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A * grub-core/kern/i386/coreboot/init.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * grub-core/kern/i386/pc/init.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * grub-core/kern/ieee1275/init.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * grub-core/kern/main.c (grub_module_iterate): Remove.
2N/A (grub_modules_get_end): Use grub_modbase.
2N/A (grub_load_modules): Use FOR_MODULES.
2N/A (grub_load_config): Likewise.
2N/A * grub-core/kern/mips/arc/init.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * grub-core/kern/mips/loongson/init.c (grub_arch_modules_addr): Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_arch_modules_addr):
2N/A Removed.
2N/A (grub_modbase): New variable.
2N/A (grub_machine_init): Set grub_modbase.
2N/A * include/grub/efi/efi.h (grub_efi_modules_addr): New declaration.
2N/A * include/grub/kernel.h (grub_arch_modules_addr): Removed.
2N/A (grub_module_iterate): Likewise.
2N/A (grub_modbase): New variable declaration.
2N/A (FOR_MODULES): New macro.
2N/A
2N/A2011-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Check for __ctzdi2 and __ctzsi2.
2N/A * include/grub/libgcc.h: Include __ctzdi2 and __ctzsi2 if present.
2N/A
2N/A2011-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix few obvious type discrepancies.
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_read_file): Use grub_off_t for offset.
2N/A * grub-core/fs/afs.c (grub_afs_read_file): Likewise.
2N/A * grub-core/fs/fshelp.c (grub_fshelp_find_file): Remove leftover
2N/A variable.
2N/A * grub-core/fs/hfs.c (grub_hfs_read_file): Use grub_off_t for offset
2N/A and connected types.
2N/A * grub-core/fs/nilfs2.c (grub_nilfs2_read_file): Use grub_off_t for
2N/A offset.
2N/A (grub_nilfs2_iterate_dir): Use grub_off_t for fpos.
2N/A * grub-core/fs/sfs.c (grub_sfs_read_file): Use grub_off_t for offset.
2N/A * grub-core/fs/ufs.c (grub_ufs_read_file): Use grub_off_t for offset
2N/A and connected types.
2N/A
2N/A2011-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix python 3.x incompatibilities.
2N/A
2N/A * gentpl.py: Put brackets around print strings.
2N/A * util/import_gcry.py: Open explicitly as utf-8.
2N/A Use in instead of has_key.
2N/A
2N/A2011-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/xfs.c (grub_xfs_inode): New field fork_offset.
2N/A (GRUB_XFS_INO_AGBITS): Make into inline function.
2N/A (GRUB_XFS_INO_INOINAG): Likewise.
2N/A (GRUB_XFS_INO_AG): Likewise.
2N/A (GRUB_XFS_FSB_TO_BLOCK): Likewise.
2N/A (GRUB_XFS_EXTENT_OFFSET): Likewise.
2N/A (GRUB_XFS_EXTENT_BLOCK): Likewise.
2N/A (GRUB_XFS_EXTENT_SIZE): Likewise.
2N/A (GRUB_XFS_ROUND_TO_DIRENT): Likewise.
2N/A (GRUB_XFS_NEXT_DIRENT): Likewise.
2N/A (grub_xfs_read_block): Rewrite the btree parsing. Fixes invalid BMAP.
2N/A (grub_xfs_read_file): Fix offset type.
2N/A
2N/A2011-10-15 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/getroot.c (grub_util_get_grub_dev): Fix OS selection #ifdefs.
2N/A
2N/A2011-10-15 Robert Millan <rmh@gnu.org>
2N/A
2N/A Fix build problem on FreeBSD and GNU/kFreeBSD.
2N/A
2N/A * util/getroot.c [__FreeBSD_kernel__]: Include `<sys/mount.h>'.
2N/A
2N/A2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix overflow with >2GiB file on HFS+. >4GiB wasn't tested.
2N/A
2N/A * grub-core/fs/hfsplus.c (grub_hfsplus_btree): Use more appropriate
2N/A types.
2N/A (grub_hfsplus_btree_recoffset): Likewise.
2N/A (grub_hfsplus_btree_recptr): Likewise.
2N/A (grub_hfsplus_find_block): Likewise.
2N/A (grub_hfsplus_btree_search): Likewise.
2N/A (grub_hfsplus_read_block): Likewise.
2N/A (grub_hfsplus_read_file): Likewise.
2N/A (grub_hfsplus_mount): Likewise.
2N/A (grub_hfsplus_btree_iterate_node): Likewise.
2N/A (grub_hfsplus_btree_search): Likewise.
2N/A (grub_hfsplus_iterate_dir): Likewise.
2N/A (grub_hfsplus_read): A small code simplification.
2N/A
2N/A2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Don't assume that children
2N/A of mapper nodes are mapper nodes.
2N/A
2N/A2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/posix_wrap/ctype.h (isxdigit): Use grub_isxdigit.
2N/A * include/grub/misc.h (grub_isxdigit): New function.
2N/A * grub-core/video/colors.c (my_isxdigit): Removed. All users
2N/A switched to grub_isxdigit.
2N/A * grub-core/term/serial.c (grub_serial_find): Fix in case of port
2N/A number starting with a letter.
2N/A
2N/A2011-10-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A LVM support for FreeBSD and GNU/kFreeBSD.
2N/A
2N/A * util/lvm.c (grub_util_lvm_isvolume): Enable on FreeBSD and
2N/A GNU/kFreeBSD.
2N/A (LVM_DEV_MAPPER_STRING): Move from here ...
2N/A * include/grub/util/lvm.h (LVM_DEV_MAPPER_STRING): ... to here.
2N/A * util/getroot.c: Include `<grub/util/lvm.h>'.
2N/A (grub_util_get_dev_abstraction): Enable
2N/A grub_util_biosdisk_is_present() on FreeBSD and GNU/kFreeBSD.
2N/A Check for LVM abstraction on FreeBSD and GNU/kFreeBSD.
2N/A (grub_util_get_grub_dev): Replace "/dev/mapper/" with
2N/A `LVM_DEV_MAPPER_STRING'. Enable LVM and mdRAID only on platforms that
2N/A support it.
2N/A * util/grub-setup.c (main): Check for LVM also on FreeBSD and
2N/A GNU/kFreeBSD.
2N/A * util/grub.d/10_kfreebsd.in: Load `geom_linux_lvm' kernel module
2N/A when LVM abstraction is required for ${GRUB_DEVICE}.
2N/A
2N/A2011-10-06 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Add support for LZO compression in GRUB:
2N/A - import of minilzo library,
2N/A - LZO decompression for btrfs,
2N/A - lzop files decompression.
2N/A
2N/A * grub-core/io/lzopio.c: New file.
2N/A * grub-core/lib/adler32.c: Likewise.
2N/A * grub-core/lib/minilzo/lzoconf.h: Likewise.
2N/A * grub-core/lib/minilzo/lzodefs.h: Likewise.
2N/A * grub-core/lib/minilzo/minilzo.c: Likewise.
2N/A * grub-core/lib/minilzo/minilzo.h: Likewise.
2N/A * Makefile.util.def (libgrubmods.a): Add grub-core/io/lzopio.c,
2N/A grub-core/lib/adler32.c, grub-core/io/lzopio.c,
2N/A grub-core/lib/minilzo/minilzo.c to common.
2N/A * Makefile.util.def (libgrubmods.a): Add flags required by minilzo to
2N/A cflags in cppflags.
2N/A * grub-core/Makefile.core.def (btrfs): Likewise.
2N/A * grub-core/Makefile.core.def (lzopio): New module.
2N/A (adler32): Likewise.
2N/A * grub-core/fs/btrfs.c: Include minilzo.h.
2N/A (GRUB_BTRFS_COMPRESSION_LZO): New define.
2N/A (GRUB_BTRFS_LZO_BLOCK_SIZE): Likewise.
2N/A (GRUB_BTRFS_LZO_BLOCK_MAX_CSIZE): Likewise.
2N/A (grub_btrfs_lzo_decompress): New function.
2N/A (grub_btrfs_extent_read): Add support for LZO compression type.
2N/A * include/grub/types.h (GRUB_UCHAR_MAX): New define.
2N/A (GRUB_USHRT_MAX): Likewise.
2N/A (GRUB_UINT_MAX): Likewise.
2N/A * grub-core/lib/posix_wrap/limits.h (USHRT_MAX): Likewise.
2N/A (UINT_MAX): Likewise.
2N/A (CHAR_BIT): Likewise.
2N/A * grub-core/lib/posix_wrap/sys/types.h (ULONG_MAX): Moved to
2N/A grub-core/lib/posix_wrap/limits.h
2N/A (UCHAR_MAX): Likewise.
2N/A * include/grub/file.h (grub_file_filter_id): New compression filter
2N/A GRUB_FILE_FILTER_LZOPIO.
2N/A * include/grub/file.h (grub_file_filter_id): Set
2N/A GRUB_FILE_FILTER_LZOPIO as GRUB_FILE_FILTER_COMPRESSION_LAST.
2N/A * include/grub/types.h (grub_get_unaligned16): New function.
2N/A (grub_get_unaligned32): Likewise.
2N/A (grub_get_unaligned64): Likewise.
2N/A * util/import_gcry.py (cryptolist): Add adler32.
2N/A
2N/A2011-10-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def: Eliminate rarely used emu_condition. This
2N/A in perspective decreases the complexity of build system and fixes
2N/A compilation right now.
2N/A
2N/A2011-10-01 Ales Nesrsta <starous@volny.cz>
2N/A
2N/A * grub-core/bus/usb/uhci.c: Changes made by Rock Cui - thanks!
2N/A (fixed problem related to using UHCI with coreboot).
2N/A
2N/A2011-08-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * gentpl.py: Use Autogen macros so that the output template file
2N/A (Makefile.tpl) size is reduced.
2N/A
2N/A2011-09-29 Mads Kiilerich <mads@kiilerich.com>
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Add kern/i386/int.S to
2N/A extra_dist.
2N/A
2N/A2011-09-29 Mario Limonciello <mario_limonciello@dell.com>
2N/A
2N/A * util/misc.c (grub_util_get_disk_size) [__MINGW32__]: Strip trailing
2N/A slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls.
2N/A
2N/A2011-09-29 Mario Limonciello <mario_limonciello@dell.com>
2N/A
2N/A * grub-core/kern/emu/misc.c (canonicalize_file_name) [__MINGW32__]: Use
2N/A _fullpath.
2N/A
2N/A2011-09-29 Mario Limonciello <mario_limonciello@dell.com>
2N/A
2N/A Remove extra declaration of sleep for mingw32.
2N/A
2N/A * util/misc.c (sleep) [__MINGW32__]: Removed.
2N/A * include/grub/util/misc.h (sleep) [__MINGW32__]: Likewise.
2N/A
2N/A2011-09-28 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * include/grub/bsdlabel.h (grub_partition_bsd_disk_label): Add fields
2N/A type and packname.
2N/A * include/grub/i386/netbsd_bootinfo.h (NETBSD_BTINFO_BOOTDISK):
2N/A Resurrected.
2N/A (NETBSD_BTINFO_BOOTWEDGE): New definition.
2N/A (grub_netbsd_btinfo_bootwedge): New struct.
2N/A * grub-core/loader/i386/bsd.c (grub_netbsd_add_boot_disk_and_wedge):
2N/A New function.
2N/A (grub_cmd_netbsd): Call grub_netbsd_add_boot_disk_and_wedge.
2N/A
2N/A2011-09-28 Thomas Haller <thomas.haller@fen-net.de>
2N/A
2N/A * grub-core/loader/multiboot_elfxx.c (Elf_Shdr): Set according to
2N/A loader.
2N/A
2N/A2011-09-28 Andreas Born <futur.andy@googlemail.com>
2N/A
2N/A Fix incorrect identifiers in bash-completion.
2N/A
2N/A * util/bash-completion.d/grub-completion.bash.in
2N/A (_grub_mkpasswd-pbkdf2): Rename to ...
2N/A (_grub_mkpasswd_pbkdf2): ... this. All users updated.
2N/A (_grub_script-check): Rename to ...
2N/A (_grub_script_check): ... this. All users updated.
2N/A
2N/A2011-09-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy):
2N/A Return 0 if disk isn't biosdisk.
2N/A
2N/A2011-09-17 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * Makefile.util.def (grub-mkrelpath): Add LIBUTIL for getrawpartition(3)
2N/A on NetBSD.
2N/A * Makefile.util.def (grub-fstest): Likewise.
2N/A
2N/A2011-09-17 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors) [__NetBSD__]:
2N/A Get sector size from disk label.
2N/A
2N/A2011-09-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
2N/A */README* as well as README*.
2N/A Reported by: Axel Beckert.
2N/A
2N/A2011-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
2N/A case of less than 256 MiB of RAM.
2N/A
2N/A2011-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/wildcard.c (make_regex): Handle @.
2N/A
2N/A2011-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Move cryptodisk logic to appropriate place.
2N/A
2N/A2011-08-21 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * acinclude.m4: Use AC_LANG_PROGRAM macro to generate source code for
2N/A AC_LANG_CONFTEST macros.
2N/A
2N/A2011-08-20 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Add grub-fstest option to uncompress data for commands.
2N/A
2N/A * util/grub-fstest.c (uncompress): New var.
2N/A (options): New option -u.
2N/A
2N/A2011-08-20 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_linux_setup_video): Add
2N/A GRUB_VIDEO_DRIVER_RADEON_FULOONG2E to switch case statement.
2N/A
2N/A2011-08-20 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/io/gzio.c (grub_gzio_open): Always return original io if
2N/A file type was not recognized correctly (not gzip or corrupted).
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
2N/A * include/grub/cs5536.h (GRUB_CS5536_MSR_DIVIL_RESET): New definition.
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Add video/radeon_fuloong2e.c on
2N/A loongson.
2N/A * grub-core/kern/mips/loongson/init.c (grub_machine_init): Init
2N/A video_radeon_fuloong2e.
2N/A * grub-core/video/radeon_fuloong2e.c: New file.
2N/A * include/grub/video.h (grub_video_id_t): Add new ID
2N/A GRUB_VIDEO_DRIVER_RADEON_FULOONG2E.
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_COP0_PRID): New
2N/A define.
2N/A * grub-core/kern/mips/loongson/init.c (grub_machine_init): Check
2N/A that PRID matches the detected subplatform and reset the subplatform
2N/A if it doesn't.
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_vprintf): Fix a bug on malloc failure.
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix PCI iterating on functions >= 4.
2N/A
2N/A * grub-core/bus/pci.c (grub_pci_iterate): Remove useless ghost skipping.
2N/A * include/grub/mips/loongson/pci.h (GRUB_LOONGSON_OHCI_GHOST_FUNCTION):
2N/A Removed.
2N/A (GRUB_LOONGSON_EHCI_GHOST_FUNCTION): Likewise.
2N/A (grub_pci_read): Fix bitmask.
2N/A (grub_pci_read_word): Likewise.
2N/A (grub_pci_read_byte): Likewise.
2N/A (grub_pci_write): Likewise.
2N/A (grub_pci_write_word): Likewise.
2N/A (grub_pci_write_byte): Likewise.
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Don't impose march=loongson2f on loongson platform. (It
2N/A can still be specified in TARGET_CFLAGS)
2N/A
2N/A2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Rename Fuloong into Fuloong 2F. Add new ID for Fuloong2E.
2N/A
2N/A * grub-core/Makefile.core.def (fwstart_fuloong): Rename fwstart_fuloong
2N/A into fwstart_fuloong2f. Use boot/mips/loongson/fuloong2f.S.
2N/A * grub-core/boot/mips/loongson/fuloong.S: Rename to ...
2N/A * grub-core/boot/mips/loongson/fuloong2f.S: ... this.
2N/A (FULOONG): Rename to ...
2N/A (FULOONG2F): ... this. All users updated.
2N/A * grub-core/boot/mips/startup_raw.S (machtype_fuloong_str): Rename to
2N/A (machtype_fuloong2f_str): ... this.
2N/A (machtype_fuloong2e_str): New string.
2N/A Check for machtype_fuloong2e_str.
2N/A * grub-core/loader/mips/linux.c (loongson_machtypes)
2N/A [GRUB_MACHINE_MIPS_LOONGSON]: Add GRUB_ARCH_MACHINE_FULOONG2E.
2N/A * grub-core/term/serial.c (loongson_defserial)
2N/A [GRUB_MACHINE_MIPS_LOONGSON]: New array.
2N/A (grub_serial_register) [GRUB_MACHINE_MIPS_LOONGSON]: Use
2N/A loongson_defserial.
2N/A * include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_FULOONG):
2N/A Rename to ...
2N/A (GRUB_ARCH_MACHINE_FULOONG2F): ... this.
2N/A (GRUB_ARCH_MACHINE_FULOONG2E): New const.
2N/A * util/grub-mkimage.c (image_target_desc): Rename IMAGE_FULOONG_FLASH
2N/A to IMAGE_FULOONG2F_FLASH. All users updated.
2N/A (image_targets): Rename images.
2N/A * util/grub-mkstandalone.in: Accept fuloong2f and fuloong2e.
2N/A
2N/A2011-08-19 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Make enable of disk cache statistics code configurable.
2N/A
2N/A * configure.ac: --enable-cache-stats added.
2N/A * config.h.in (DISK_CACHE_STATS): New define.
2N/A * grub-core/Makefile.core.def (cacheinfo): New command.
2N/A * include/grub/disk.h(grub_disk_cache_get_performance): New function.
2N/A * grub-core/commands/cacheinfo.c: New file.
2N/A * grub-core/commands/minicmd.c (grub_rescue_cmd_info): Updated and
2N/A moved to cacheinfo.c.
2N/A * grub-core/kern/disk.c: Use DISK_CACHE_STATS to disable disk cache
2N/A debug code.
2N/A * include/grub/disk.h: Likewise.
2N/A
2N/A2011-08-19 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * Makefile.am (AUTOMAKE_OPTIONS): = Added -Wno-portability flag.
2N/A * grub-core/Makefile.am: Likewise.
2N/A
2N/A2011-08-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
2N/A non-zero pull.
2N/A
2N/A2011-08-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/jfs.c (grub_jfs_read_file): New parameter ino.
2N/A All users updated.
2N/A (grub_jfs_lookup_symlink): Use correct starting inode.
2N/A
2N/A2011-08-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (main): Add missing gcry initialisation.
2N/A
2N/A2011-08-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't accept text modes on EFI when booting Linux.
2N/A
2N/A * grub-core/loader/i386/linux.c (ACCEPTS_PURE_TEXT): New define.
2N/A (grub_linux_boot) [!ACCEPTS_PURE_TEXT]: Restrict to graphics modes.
2N/A
2N/A2011-08-15 Mario Limonciello <mario_limonciello@dell.com>
2N/A2011-08-15 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-probe.c (probe): Canonicalise the path argument, fixing
2N/A use of "/path/.." as in grub-install for EFI as well as handling
2N/A symlinks correctly.
2N/A Fixes Debian bug #637768.
2N/A
2N/A2011-08-15 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-probe.c: Remove duplicate #include.
2N/A
2N/A2011-08-10 Robert Millan <rmh@gnu.org>
2N/A
2N/A Detect LSI MegaRAID SAS (`mfi') devices on GNU/kFreeBSD.
2N/A
2N/A * util/deviceiter.c [__FreeBSD_kernel__] (get_mfi_disk_name): New
2N/A function.
2N/A [__FreeBSD_kernel__] (grub_util_iterate_devices): Scan for mfi
2N/A (/dev/mfid[0-9]+) devices using get_mfi_disk_name().
2N/A
2N/A2011-08-03 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/zfs/zap_leaf.h (typedef union zap_leaf_chunk): Mark
2N/A la_array as packed.
2N/A Reported by: Zachary Bedell
2N/A
2N/A2011-07-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: The Loongson port requires grub-mkfont due to its
2N/A use of -DUSE_ASCII_FAILBACK. Raise an error if it is not going to
2N/A be built.
2N/A
2N/A2011-07-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Don't source grub-mkconfig_lib until after
2N/A processing arguments (otherwise help2man fails when GRUB has not yet
2N/A been installed).
2N/A
2N/A2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A New script grub-mkstandalone.
2N/A
2N/A * Makefile.util.def (grub-mkstandalone): New script.
2N/A * docs/man/grub-mkstandalone.h2m: New file.
2N/A * util/grub-mkstandalone.in: Likewise.
2N/A
2N/A2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support ATA disks with 4K sectors.
2N/A
2N/A * include/grub/ata.h (grub_ata): New member log_sector_size.
2N/A * grub-core/disk/ata.c (grub_ata_dumpinfo): Show sector size.
2N/A (grub_ata_identify): Read sector size.
2N/A (grub_ata_readwrite): Use log_sector_size rather than hardcoded value.
2N/A
2N/A2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Don't use uhci outside of x86.
2N/A
2N/A2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Add missing quotes.
2N/A
2N/A2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): Fix NULL
2N/A dereference.
2N/A
2N/A2011-07-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/pata.c (grub_pata_readwrite): Add missing wait.
2N/A
2N/A2011-07-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/video.h: add missing EXPORT_FUND on
2N/A grub_video_edid_checksum and grub_video_edid_preferred_mode.
2N/A
2N/A2011-07-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/mips/kernel.h: Fix define conflict.
2N/A
2N/A2011-07-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]: Flush
2N/A all four ways.
2N/A
2N/A2011-07-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Preferred resolution detection for VBE.
2N/A
2N/A * grub-core/video/video.c (grub_video_edid_checksum): New function.
2N/A (grub_video_edid_preferred_mode): Likewise. Try EDID followed by
2N/A the Flat Panel extension, in line with the X.org VESA driver.
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_flat_panel_info):
2N/A New function.
2N/A (grub_vbe_bios_get_ddc_capabilities): Likewise.
2N/A (grub_vbe_bios_read_edid): Likewise.
2N/A (grub_vbe_get_preferred_mode): Likewise.
2N/A (grub_video_vbe_setup): When the mode is "auto", try to get the
2N/A preferred mode from VBE, and use the largest mode that is no larger
2N/A than the preferred mode (some BIOSes expose a preferred mode that is
2N/A not in their mode list!). If this fails, fall back to 640x480 as a
2N/A safe conservative choice.
2N/A (grub_video_vbe_get_edid): New function.
2N/A (grub_video_vbe_adapter): Add get_edid.
2N/A * include/grub/video.h (struct grub_vbe_edid_info): New structure.
2N/A (struct grub_video_adapter): Add get_edid.
2N/A (grub_video_edid_checksum): Add prototype.
2N/A (grub_video_edid_preferred_mode): Likewise.
2N/A * include/grub/i386/pc/vbe.h (struct grub_vbe_flat_panel_info): New
2N/A structure.
2N/A
2N/A * grub-core/commands/videoinfo.c (print_edid): New function.
2N/A (grub_cmd_videoinfo): Print EDID if available.
2N/A
2N/A * util/grub.d/00_header.in (GRUB_GFXMODE): Default to "auto". This
2N/A is more appropriate on a wider range of platforms than 640x480.
2N/A * docs/grub.texi (Simple configuration): Update GRUB_GFXMODE
2N/A documentation.
2N/A
2N/A2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Recognize ESP mounted at /boot/EFI.
2N/A
2N/A2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * po/POTFILES.in: Regenerate.
2N/A
2N/A2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Fix
2N/A incorrect memory usage.
2N/A
2N/A2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Source grub-mkconfig_lib.
2N/A
2N/A2011-07-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove getroot.c from core on emu platform.
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Remove kern/emu/getroot.c and
2N/A kern/emu/raid.c.
2N/A * grub-core/kern/emu/main.c (main): Don't try to guess root device. It's
2N/A useless.
2N/A * grub-core/kern/emu/misc.c (get_win32_path): Moved from here...
2N/A * util/getroot.c (get_win32_path): ... here.
2N/A * grub-core/kern/emu/misc.c (fini_libzfs): Moved from here...
2N/A * util/getroot.c (fini_libzfs): ... here.
2N/A * grub-core/kern/emu/misc.c (grub_get_libzfs_handle): Moved from here...
2N/A * util/getroot.c (grub_get_libzfs_handle): ... here.
2N/A * grub-core/kern/emu/misc.c (grub_find_zpool_from_dir):
2N/A Moved from here...
2N/A * util/getroot.c (grub_find_zpool_from_dir): ... here.
2N/A * grub-core/kern/emu/misc.c
2N/A (grub_make_system_path_relative_to_its_root): Moved from here...
2N/A * util/getroot.c (grub_make_system_path_relative_to_its_root): ... here.
2N/A * grub-core/kern/emu/getroot.c: Moved from here ...
2N/A * util/getroot.c: ... here. All users updated.
2N/A * grub-core/kern/emu/raid.c: Moved from here ...
2N/A * util/raid.c: ... here. All users updated.
2N/A
2N/A2011-07-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * po/POTFILES.in: Regenerate.
2N/A
2N/A2011-07-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix compilation on GNU/Linux.
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_pull_device) [!FreeBSD]:
2N/A Disable geli.
2N/A (grub_util_get_grub_dev) [!FreeBSD]: Likewise.
2N/A (grub_util_pull_device) [HAVE_DEVICE_MAPPER]: Fix const and func name.
2N/A * grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Fix proto.
2N/A
2N/A2011-07-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-07-07 Michael Gorven <michael@gorven.za.net>
2N/A2011-07-07 Clemens Fruhwirth <clemens@endorphin.org>
2N/A
2N/A LUKS and GELI support.
2N/A
2N/A * Makefile.util.def (libgrubkern.a): Add grub-core/lib/crypto.c,
2N/A grub-core/disk/luks.c, grub-core/disk/geli.c,
2N/A grub-core/disk/cryptodisk.c, grub-core/disk/AFSplitter.c,
2N/A grub-core/lib/pbkdf2.c, grub-core/commands/extcmd.c,
2N/A grub-core/lib/arg.c.
2N/A (libgrubmods.a): Remove gcrypts cflags and cppflags.
2N/A Remove grub-core/commands/extcmd.c, grub-core/lib/arg.c,
2N/A grub-core/lib/crypto.c, grub-core/lib/libgcrypt-grub/cipher/sha512.c,
2N/A grub-core/lib/libgcrypt-grub/cipher/crc.c and grub-core/lib/pbkdf2.c.
2N/A (grub-bin2h): Add libgcry.a.
2N/A (grub-mkimage): Likewise.
2N/A (grub-mkrelpath): Likewise.
2N/A (grub-script-check): Likewise.
2N/A (grub-editenv): Likewise.
2N/A (grub-mkpasswd-pbkdf2): Likewise.
2N/A (grub-pe2elf): Likewise.
2N/A (grub-fstest): Likewise.
2N/A (grub-mkfont): Likewise.
2N/A (grub-mkdevicemap): Likewise.
2N/A (grub-probe): Likewise.
2N/A (grub-ofpath): Likewise.
2N/A (grub-mklayout): Likewise.
2N/A (example_unit_test): Likewise.
2N/A (grub-menulst2cfg): Likewise.
2N/A * autogen.sh (UTIL_DEFS): Add Makefile.utilgcry.def.
2N/A * grub-core/Makefile.core.def (cryptodisk): New module.
2N/A (luks): Likewise.
2N/A (geli): Likewise.
2N/A * grub-core/disk/AFSplitter.c: New file.
2N/A * grub-core/disk/cryptodisk.c: Likewise.
2N/A * grub-core/disk/geli.c: Likewise.
2N/A * grub-core/disk/luks.c: Likewise.
2N/A * grub-core/kern/emu/getroot.c (get_dm_uuid): New function based on
2N/A grub_util_is_lvm.
2N/A (grub_util_get_dm_abstraction): New function.
2N/A (grub_util_follow_gpart_up): Likewise.
2N/A (grub_util_get_geom_abstraction): Likewise.
2N/A (grub_util_get_dev_abstraction): Use new functions.
2N/A (grub_util_pull_device): Pull GELI and LUKS.
2N/A (grub_util_get_grub_dev): Handle LUKS and GELI.
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors): New function.
2N/A (grub_util_biosdisk_open): Use grub_util_get_fd_sectors.
2N/A (follow_geom_up): Removed.
2N/A (grub_util_fd_seek): New function.
2N/A (open_device): Use grub_util_fd_seek.
2N/A (nread): Rename to ..
2N/A (grub_util_fd_read): ... this. All users updated.
2N/A * grub-core/lib/crypto.c (grub_crypto_ecb_decrypt): A better prototype.
2N/A (grub_crypto_cbc_decrypt): Likewise.
2N/A (grub_crypto_hmac_write): Likewise.
2N/A (grub_crypto_hmac_buffer): Likewise.
2N/A (grub_password_get): Extend to util.
2N/A * include/grub/crypto.h (gcry_cipher_spec) [GRUB_UTIL]:
2N/A New member modname.
2N/A (gcry_md_spec) [GRUB_UTIL]: Likewise.
2N/A * include/grub/cryptodisk.h: New file.
2N/A * include/grub/disk.h (grub_disk_dev_id): Rename LUKS to CRYPTODISK.
2N/A * include/grub/emu/getroot.h (grub_dev_abstraction_types): Add
2N/A LUKS and GELI.
2N/A (grub_util_follow_gpart_up): New proto.
2N/A * include/grub/emu/hostdisk.h (grub_util_fd_seek): Likewise.
2N/A (grub_util_fd_read): Likewise.
2N/A (grub_cryptodisk_cheat_mount): Likewise.
2N/A (grub_util_cryptodisk_print_uuid): Likewise.
2N/A (grub_util_get_fd_sectors): Likewise.
2N/A * util/grub-fstest.c (mount_crypt): New var.
2N/A (fstest): Mount crypto if requested.
2N/A (options): New option -C.
2N/A (argp_parser): Parse -C.
2N/A (main): Init and fini gcry.
2N/A * util/grub-install.in: Support cryptodisk install.
2N/A * util/grub-mkconfig.in: Export GRUB_ENABLE_CRYPTODISK.
2N/A * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Support
2N/A cryptodisk.
2N/A (prepare_grub_to_access_device): Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c (main): Use grub_password_get.
2N/A * util/grub-probe.c (probe_partmap): Support cryptodisk UUID probe.
2N/A (probe_cryptodisk_uuid): New function.
2N/A (probe_abstraction): Likewise.
2N/A (probe): Use new functions.
2N/A * util/import_gcry.py: Create Makefile.utilgcry.def.
2N/A Add modname member.
2N/A
2N/A2011-07-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Lazy device scanning.
2N/A
2N/A * Makefile.util.def (libgrubkern.a): Add grub-core/kern/emu/raid.c.
2N/A (grub-setup): Remove util/raid.c.
2N/A * grub-core/Makefile.core.def (kernel): Add kern/emu/raid.c on emu.
2N/A * grub-core/disk/lvm.c (scan_depth): New variable.
2N/A (grub_lvm_iterate): Rescan if necessary.
2N/A (find_lv): New function based on grub_lvm_open.
2N/A (grub_lvm_open): Use find_lv. Rescan on error.
2N/A (is_node_readable): New function.
2N/A (is_lv_readable): Likewise.
2N/A (grub_lvm_scan_device): Skip already found disks.
2N/A (do_lvm_scan): New function. Move grub_lvm_scan_device inside of it.
2N/A Stop if searched device is found and readable.
2N/A * grub-core/disk/raid.c (inscnt): New variable.
2N/A (scan_depth): Likewise.
2N/A (scan_devices): New function based on grub_raid_register. Abort if
2N/A looked for device is found.
2N/A (grub_raid_iterate): Rescan if needed.
2N/A (find_array): NEw function based on -grub_raid_open.
2N/A (grub_raid_open): Use find_array and rescan.
2N/A (insert_array): Set became_readable_at.
2N/A * grub-core/kern/disk.c (grub_disk_dev_iterate): Iterate though "pull.
2N/A * grub-core/kern/emu/getroot.c (grub_util_open_dm) [HAVE_DEVICE_MAPPER]:
2N/A New function.
2N/A (grub_util_is_lvm) [HAVE_DEVICE_MAPPER]: Use grub_util_open_dm.
2N/A (grub_util_pull_device): New function.
2N/A (grub_util_get_grub_dev): Call grub_util_pull_device.
2N/A * util/raid.c: Moved to ..
2N/A * grub-core/kern/emu/raid.c: ... here.
2N/A (grub_util_raid_getmembers): New parameter "bootable".
2N/A All users updated. Support 1.x.
2N/A * include/grub/ata.h (grub_ata_dev): Change iterate prototype.
2N/A All users updated.
2N/A * include/grub/disk.h (grub_disk_pull_t): New enum.
2N/A (grub_disk_dev): Change iterate prototype.
2N/A All users updated.
2N/A * include/grub/emu/getroot.h (grub_util_raid_getmembers) [__linux__]:
2N/A New proto.
2N/A * include/grub/emu/hostdisk.h (grub_util_pull_device): Likewise.
2N/A * include/grub/lvm.h (grub_lvm_lv): New members fullname and compatname.
2N/A * include/grub/raid.h (grub_raid_array): New member became_readable_at.
2N/A * include/grub/scsi.h (grub_scsi_dev): Change iterate prototype.
2N/A All users updated.
2N/A * include/grub/util/raid.h: Removed.
2N/A
2N/A2011-07-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * po/POTFILES.in: Regenerate.
2N/A
2N/A2011-07-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify sparc init with other ieee1275.
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Use kern/ieee1275/init.c
2N/A instead of kern/sparc64/ieee1275/init.c.
2N/A * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options)
2N/A [__sparc__]: Set GRUB_IEEE1275_FLAG_NO_PARTITION_0.
2N/A * grub-core/kern/ieee1275/init.c [__sparc__]: Include
2N/A grub/machine/kernel.h.
2N/A (grub_ieee1275_original_stack) [__sparc__]: New variable.
2N/A (grub_claim_heap) [__sparc__]: Use sparc version.
2N/A (grub_machine_init): Moved args parsing to
2N/A (grub_parse_cmdline): ...this.
2N/A * grub-core/kern/sparc64/ieee1275/init.c: Removed.
2N/A * include/grub/offsets.h (GRUB_KERNEL_SPARC64_IEEE1275_MOD_GAP):
2N/A New definition.
2N/A (GRUB_KERNEL_SPARC64_IEEE1275_MOD_ALIGN): Likewise.
2N/A
2N/A Move BOOTP to separate file.
2N/A
2N/A * grub-core/Makefile.core.def (net): Add net/bootp.c.
2N/A * grub-core/net/net.c: Move all BOOTP functions to
2N/A * grub-core/net/bootp.c: ... here.
2N/A
2N/A Use frame interface on PXE.
2N/A
2N/A * grub-core/Makefile.core.def (pxecmd): Removed.
2N/A (pxe): Use net/drivers/i386/pc/pxe.c rather than net/i386/pc/pxe.c.
2N/A * grub-core/commands/i386/pc/pxecmd.c: Removed.
2N/A * grub-core/i386/pc/pxe.c: Moved from here ...
2N/A * grub-core/net/i386/pc/pxe.c: ... here. Rewritten.
2N/A * grub-core/net/net.c (grub_net_open_real): Handle old pxe syntax.
2N/A * include/grub/i386/pc/pxe.h (grub_pxe_unload): Removed.
2N/A
2N/A EFI network support.
2N/A
2N/A * grub-core/Makefile.core.def (efinet): New module.
2N/A * grub-core/disk/efi/efidisk.c (compare_device_paths): Moved from
2N/A here...
2N/A * grub-core/kern/efi/efi.c (grub_efi_compare_device_paths): ... here.
2N/A All users updated.
2N/A * grub-core/kern/efi/init.c (grub_efi_net_config): New variable.
2N/A (grub_machine_get_bootlocation): Call grub_efi_net_config if needed.
2N/A * grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_7): New function.
2N/A * grub-core/net/drivers/efi/efinet.c: New file.
2N/A * include/grub/efi/efi.h (grub_efi_compare_device_paths): New proto.
2N/A (grub_efi_net_config): New extern var.
2N/A
2N/A Various cleanups and bugfixes.
2N/A
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_open): Fix off-by-one
2N/A error.
2N/A (grub_efidisk_get_device_name): Unify similar codepaths. Accept whole
2N/A disk declared as partition.
2N/A * grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_open): Fix memory
2N/A leak on failure.
2N/A * grub-core/kern/dl.c (grub_dl_load_file): Fix memory leak.
2N/A * grub-core/kern/mm.c (grub_debug_malloc): Don't use unsupported %zx.
2N/A (grub_debug_zalloc): Likewise.
2N/A (grub_debug_realloc): Likewise.
2N/A (grub_debug_memalign): Likewise.
2N/A * grub-core/net/arp.c (grub_net_arp_receive): IPv4 is 4-byte wide.
2N/A Check that target is IPv4.
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (grub_ofnet_findcards): Use
2N/A local-mac-address as fallback.
2N/A * grub-core/net/ethernet.c (grub_net_recv_ethernet_packet): Prevent
2N/A memory leak.
2N/A * grub-core/net/ip.c (ipchksum): Rename to ...
2N/A (grub_net_ip_chksum): ... this. All users updated.
2N/A (grub_net_recv_ip_packets): Special handling for DHCP.
2N/A * util/grub-mkimage.c (generate_image): Zero-out aout header.
2N/A
2N/A Unify prefix handling
2N/A
2N/A * grub-core/kern/efi/init.c (grub_efi_set_prefix): Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A * grub-core/kern/emu/main.c (grub_machine_set_prefix): Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A (grub_prefix): New variable.
2N/A (prefix): Removed.
2N/A (root_dev): New variable.
2N/A (dir): Likewise.
2N/A (main): Use new variables.
2N/A * grub-core/kern/i386/coreboot/init.c (grub_machine_set_prefix):
2N/A Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A * grub-core/kern/i386/efi/init.c (grub_machine_set_prefix): Removed.
2N/A * grub-core/kern/i386/pc/init.c (make_install_device): Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A (grub_machine_set_prefix): Removed.
2N/A * grub-core/kern/ia64/efi/init.c (grub_machine_set_prefix): Removed.
2N/A * grub-core/kern/ieee1275/init.c (grub_machine_set_prefix):
2N/A Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A * grub-core/kern/main.c (grub_set_root_dev): Revamped into ...
2N/A (grub_set_prefix_and_root): ... this. All users updated.
2N/A * grub-core/kern/mips/init.c (grub_machine_set_prefix):
2N/A Revamped into ...
2N/A (grub_machine_get_bootlocation): ... this.
2N/A * include/grub/kernel.h (grub_machine_set_prefix): Removed.
2N/A (grub_machine_get_bootlocation): New proto.
2N/A * include/grub/i386/pc/kernel.h (grub_pc_net_config): New var.
2N/A
2N/A Less intrusive and more reliable seek on network implementation.
2N/A
2N/A * grub-core/kern/file.c (grub_file_net_seek): Removed.
2N/A (grub_file_seek): Don't call grub_file_net_seek.
2N/A * grub-core/net/net.c (grub_net_fs_read): Renamed to ...
2N/A (grub_net_fs_read_real): .. this.
2N/A (grub_net_seek_real): Use net->offset.
2N/A (grub_net_fs_read): Seek if necessary.
2N/A
2N/A Unify IEEE1275 netwotk config with the other platforms.
2N/A
2N/A * grub-core/kern/ieee1275/init.c (grub_ieee1275_net_config):
2N/A New variable.
2N/A (grub_machine_get_bootlocation): Support network.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args):
2N/A Support type and device parsing.
2N/A (grub_ieee1275_get_device_type): New function.
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (grub_getbootp_real): Revamped
2N/A into ...
2N/A (grub_ieee1275_net_config_real): ... this.
2N/A (grub_ofnet_probecards): Removed.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Remove ofnet.h.
2N/A * include/grub/ieee1275/ofnet.h: Removed.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_net_config): NEw
2N/A extern var.
2N/A (grub_ieee1275_get_device_type): New function.
2N/A
2N/A Unify network device closing across platforms and make more robust.
2N/A
2N/A * grub-core/kern/ieee1275/init.c (grub_machine_fini): Don't call
2N/A grub_grubnet_fini.
2N/A * grub-core/net/ethernet.c (send_ethernet_packet): Open card if it isn't
2N/A already.
2N/A * grub-core/net/net.c (grub_net_network_level_interface_register):
2N/A Update num_ifaces.
2N/A (grub_net_card_unregister): Close all interfaces.
2N/A (receive_packets): Don't poll if no iterfaces are registered.
2N/A Open if necessary.
2N/A (grub_net_fini_hw): New function.
2N/A (grub_net_restore_hw): Likewise.
2N/A (fini_hnd): New variable.
2N/A (GRUB_MOD_INIT): Register preboot hook.
2N/A (GRUB_MOD_FINI): Run and unregister preboot hook.
2N/A
2N/A Poll network cards when idle.
2N/A
2N/A * grub-core/kern/term.c (grub_net_poll_cards_idle): New variable.
2N/A (grub_checkkey): Call grub_net_poll_cards_idle if it's not NULL.
2N/A * grub-core/net/net.c (receive_packets): Save last poll time.
2N/A (grub_net_poll_cards_idle_real): New function.
2N/A (GRUB_MOD_INIT): Register grub_net_poll_cards_idle.
2N/A (GRUB_MOD_FINI): Unregister grub_net_poll_cards_idle.
2N/A * include/grub/kernel.h (grub_poll_cards_idle): New extern variable.
2N/A
2N/A Rename ofnet interfaces.
2N/A
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (find_alias): New function.
2N/A (grub_ofnet_findcards): Use ofnet_%s names.
2N/A
2N/A * util/grub-mknetdir.in: Support for EFI and IEEE1275.
2N/A
2N/A Cleanup socket opening.
2N/A
2N/A * grub-core/net/net.c (grub_net_fs_open): Rewritten.
2N/A (grub_net_fs_close): Likewise.
2N/A (grub_net_fs_read_real): Use eof member.
2N/A * include/grub/net/udp.h (+grub_net_udp_open): New proto.
2N/A (+grub_net_udp_close): New inline function.
2N/A
2N/A * include/grub/net/tftp.h: Moved to the top of ...
2N/A * grub-core/net/tftp.c: ... here.
2N/A * include/grub/net/ip.h: Moved mostly to the top of ...
2N/A * grub-core/net/ip.c: ... here.
2N/A * include/grub/net/ethernet.h: Moved mostly to the top of ...
2N/A * grub-core/net/ethernet.c: ... here.
2N/A
2N/A * grub-core/kern/device.c (grub_device_close): Free device->net->server.
2N/A
2N/A * grub-core/commands/probe.c (grub_cmd_probe): Use protocol name for
2N/A FS name.
2N/A
2N/A * include/grub/net/ip.h (ipv4_ini): Removed.
2N/A (ipv4_fini): Likewise.
2N/A
2N/A * include/grub/net/ip.h (grub_net_recv_ip_packets): New proto.
2N/A (grub_net_send_ip_packets): Likewise.
2N/A
2N/A2011-07-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/qemu/mmap.c (grub_machine_mmap_init): Use new
2N/A grub_read_cmos prototype.
2N/A
2N/A2011-07-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A VGA text support in qemu-mips
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Add term/i386/pc/vga_text.c,
2N/A term/i386/vga_common.c and kern/vga_init.c on qemu-mips.
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Init vga
2N/A text.
2N/A * grub-core/kern/i386/qemu/init.c: Renamed to ...
2N/A * grub-core/kern/vga_init.c: ... this.
2N/A * grub-core/kern/vga_init.c (VGA_ADDR) [__mips__]: Adjust.
2N/A (grub_qemu_init_cirrus) [__mips__]: Skip PCI and adjust the I/O base.
2N/A * grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN) [__mips__]:
2N/A Adjust.
2N/A * include/grub/vga.h [GRUB_MACHINE_MIPS_QEMU_MIPS]: Declare
2N/A GRUB_MACHINE_PCI_IO_BASE.
2N/A
2N/A2011-07-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A MIPS qemu flash support.
2N/A
2N/A * grub-core/boot/mips/startup_raw.S [GRUB_MACHINE_MIPS_QEMU_MIPS]: Check
2N/A magic.
2N/A * grub-core/kern/mips/qemu_mips/init.c (probe_mem): New function.
2N/A (grub_machine_init): Probe memory if its size isn't known.
2N/A * util/grub-mkimage.c (image_targets): Add flash targets.
2N/A (generate_image): Handle flash targets.
2N/A
2N/A2011-07-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A MIPS qemu at_keyboard support.
2N/A
2N/A * gentpl.py (videoinkernel): Add qemu-mips.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add necessary headers.
2N/A * grub-core/Makefile.core.def (kernel): Add at_keyboard and layout.
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Init new
2N/A modules.
2N/A * grub-core/term/at_keyboard.c (grub_keyboard_controller_init)
2N/A [GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't consider original set.
2N/A * grub-core/term/serial.c (grub_serial_register)
2N/A [GRUB_MACHINE_MIPS_QEMU_MIPS]: Make com0 explicitly active.
2N/A
2N/A2011-07-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A CMOS support on sparc.
2N/A
2N/A * gentpl.py (cmos): Add powerpc and sparc.
2N/A * grub-core/Makefile.core.def (datetime): Add lib/ieee1275/cmos.c on
2N/A powerpc and sparc.
2N/A * grub-core/lib/cmos_datetime.c (grub_get_datetime)
2N/A [__powerpc__ || __sparc__]: Rename to grub_get_datetime_cmos.
2N/A (grub_set_datetime) [__powerpc__ || __sparc__]: Likewise to
2N/A grub_set_datetime_cmos.
2N/A * grub-core/lib/ieee1275/cmos.c: New file.
2N/A * grub-core/lib/ieee1275/datetime.c (no_ieee1275_rtc): New vaiable.
2N/A (find_rtc): Set no_ieee1275_rtc on error.
2N/A (grub_get_datetime): Call grub_get_datetime_cmos on error.
2N/A (grub_set_datetime): Call grub_set_datetime_cmos on error.
2N/A * include/grub/cmos.h (grub_cmos_read): Return grub_err_t since it may
2N/A fail. Move value to argument. All users updated
2N/A (grub_cmos_write): Likewise.
2N/A (grub_cmos_read) [__powerpc__ || __sparc__]: Rewritten.
2N/A (grub_cmos_write) [__powerpc__ || __sparc__]: Likewise.
2N/A * include/grub/datetime.h [__powerpc__ || __sparc__]: Declare
2N/A grub_get_datetime_cmos and grub_set_datetime_cmos.
2N/A
2N/A2011-07-02 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in: Use @PACKAGE@ instead of hardcoded name when
2N/A sourcing grub-mkconfig_lib.
2N/A * util/update-grub_lib.in: Likewise.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/10_netbsd.in: Likewise.
2N/A * util/grub.d/10_windows.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A
2N/A2011-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use
2N/A default_bg_color rather than black.
2N/A (grub_gfxterm_fullscreen): Likewise.
2N/A (grub_gfxterm_background_color_cmd): Save new background color in
2N/A default_bg_color.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (chain): Fix coreboot filename.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/pata.c (grub_pata_initialize) [QEMU_MIPS]: Fix a
2N/A mismerge.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Chainloading on coreboot support.
2N/A
2N/A * grub-core/Makefile.core.def (chain): Add coreboot.
2N/A * grub-core/loader/i386/coreboot/chainloader.c: New file.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsd.c (grub_bsd_load): Handle relocator failure
2N/A if it happens.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Implement time command.
2N/A
2N/A * grub-core/Makefile.core.def (time): New module.
2N/A * grub-core/commands/time.c: New file.
2N/A * grub-core/script/parser.y: Remove "time" keyword.
2N/A * grub-core/script/yylex.l: Likewise.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/loader.h (grub_loader_unregister_preboot_hook): Export.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (malloc_in_range): Fix a memory corruption
2N/A when handling leftovers.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/grub-ofpathname.c (main): Handle --help and --version
2N/A so that help2man doesn't fail.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer) Use right
2N/A type in pointers on sparc64.
2N/A (get_card_packet): Likewise.
2N/A
2N/A2011-06-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/videoinfo.c (hook): Indicate current video mode
2N/A with `*'.
2N/A (grub_cmd_videoinfo): Fetch current video mode.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/scsi.c (grub_scsi_read): Limit SCSI reads to 32K
2N/A because of underlying system restrictions.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Rename "ata" to "pata" and add ahci when
2N/A necessary.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Coreboot video support.
2N/A
2N/A * grub-core/Makefile.core.def (vga): Extend to coreboot and multiboot.
2N/A (vbe): Likewise.
2N/A * grub-core/kern/i386/coreboot/startup.S: Include int.S.
2N/A * grub-core/kern/i386/pc/startup.S (grub_bios_interrupt): Moved from
2N/A here ...
2N/A * grub-core/kern/i386/int.S: ... here.
2N/A * grub-core/video/i386/pc/vbe.c: Updated includes.
2N/A * grub-core/video/i386/pc/vga.c: Likewise.
2N/A * include/grub/i386/coreboot/memory.h
2N/A (GRUB_MEMORY_MACHINE_SCRATCH_ADDR): New definition.
2N/A (GRUB_MEMORY_MACHINE_SCRATCH_SEG): Likewise.
2N/A (GRUB_MEMORY_MACHINE_SCRATCH_SIZE): Likewise.
2N/A * include/grub/i386/pc/int.h (GRUB_CPU_INT_FLAGS_DEFAULT) [!PCBIOS]:
2N/A Disable interrupts.
2N/A * include/grub/i386/pc/vga.h: Removed. All users updated.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/ahci.c (grub_ahci_readwrite_real): Use proper
2N/A definitions for dprintf.
2N/A * grub-core/disk/pata.c (grub_pata_readwrite): Likewise.
2N/A
2N/A2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer): Fix
2N/A prototype.
2N/A (get_card_packet): Likewise.
2N/A
2N/A2011-06-26 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Display the path of the file when file is not found
2N/A
2N/A * grub-core/fs/fat.c: Display the filename when file is not found.
2N/A * grub-core/fs/fshelp.c: Likewise.
2N/A * grub-core/fs/hfs.c: Likewise.
2N/A * grub-core/fs/jfs.c: Likewise.
2N/A * grub-core/fs/minix.c: Likewise.
2N/A * grub-core/fs/ufs.c: Likewise.
2N/A * grub-core/fs/btrfs.c: Likewise.
2N/A * grub-core/commands/i386/pc/play.c: Likewise.
2N/A
2N/A2011-06-26 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/commands/cmp.c (grub_cmd_cmp): Remove unnecessary NULL
2N/A pointer checks before calling grub_free().
2N/A * grub-core/commands/wildcard.c (match_devices): Likewise.
2N/A * grub-core/commands/wildcard.c (match_files): Likewise.
2N/A * grub-core/fs/cpio.c (grub_cpio_dir): Likewise.
2N/A * grub-core/fs/cpio.c (grub_cpio_open): Likewise.
2N/A * grub-core/fs/udf.c (grub_udf_read_block): Likewise.
2N/A * grub-core/fs/xfs.c (grub_xfs_read_block): Likewise.
2N/A * grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Likewise.
2N/A * grub-core/normal/cmdline.c (grub_cmdline_get): Likewise.
2N/A * grub-core/script/yylex.l (grub_lexer_unput): Likewise.
2N/A * grub-core/video/readers/jpeg.c (grub_video_reader_jpeg): Likewise.
2N/A * grub-core/video/readers/png.c (grub_png_output_byte): Likewise.
2N/A
2N/A2011-06-25 Patrick <p55@mailinator.com>
2N/A
2N/A * grub-core/kern/main.c (grub_load_normal_mode): Correct the comment.
2N/A
2N/A2011-06-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/net/i386/pc/pxe.c (grub_pxe_recv): Fix declaration.
2N/A (grub_pxe_send): Likewise.
2N/A (GRUB_MOD_INIT): Fix types.
2N/A
2N/A2011-06-24 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/io/xzio.c: Fix code style issues
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-06-24 Manoel Rebelo Abranches <mrabran@gmail.com>
2N/A
2N/A Network infrastructure.
2N/A The ARP protocol was made by Paulo Pinatti <ppinatti@br.ibm.com>
2N/A
2N/A * include/grub/net/arp.h: New file.
2N/A * include/grub/net/device.h: Likewise.
2N/A * include/grub/net/ethernet.h: Likewise.
2N/A * include/grub/net/ip.h: Likewise.
2N/A * include/grub/net/netbuff.h: Likewise.
2N/A * include/grub/net/tftp.h: Likewise.
2N/A * include/grub/net/udp.h: Likewise.
2N/A * include/grub/ieee1275/ofnet.h: Likewise.
2N/A * include/grub/emu/export.h: Likewise.
2N/A * include/grub/net.h: Likewise.
2N/A * grub-core/net/arp.c: Likewise.
2N/A * grub-core/net/ethernet.c: Likewise.
2N/A * grub-core/net/ip.c: Likewise.
2N/A * grub-core/net/udp.c: Likewise.
2N/A * grub-core/net/tftp.c: Likewise.
2N/A * grub-core/net/netbuff.c: Likewise.
2N/A * grub-core/net/net.c: Likewise.
2N/A * grub-core/net/drivers/emu/emunet.c: Likewise.
2N/A * grub-core/net/drivers/ieee1275/ofnet.c: Likewise.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add net.h, ofnet.h and
2N/A export.h.
2N/A * grub-core/Makefile.core.def (net): New module.
2N/A (tftp): Likewise.
2N/A (ofnet): Likewise.
2N/A (emunet): Likewise.
2N/A * grub-core/commands/ls.c (grub_ls_list_devices) [!GRUB_UTIL]: List
2N/A network protocols.
2N/A * grub-core/kern/device.c (grub_net_open) : New variable.
2N/A (grub_device_open): Handle network device.
2N/A (grub_device_close): Likewise.
2N/A * grub-core/kern/file.c (grub_file_net_seek) : New variable.
2N/A (grub_grubnet_fini): Likewise.
2N/A (grub_file_seek): Seek in network device.
2N/A * grub-core/kern/fs.c (grub_fs_probe): Handle network devices.
2N/A * grub-core/kern/ieee1275/init.c (grub_machine_set_prefix): Handle
2N/A network root.
2N/A (grub_machine_fini): Call grub_grubnet_fini.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args): Handle
2N/A network.
2N/A (grub_ieee1275_get_aliasdevname): New function.
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size):
2N/A Add unofficial Solaris network info.
2N/A (grub_multiboot_make_mbi): Likewise.
2N/A * grub-core/fs/i386/pc/pxe.c: Moved from here ...
2N/A * grub-core/net/i386/pc/pxe.c: ...here. Adapted for new design.
2N/A * include/grub/device.h (grub_fs): Removed.
2N/A * include/grub/err.h (grub_err_t): Add network-related values.
2N/A * include/grub/i386/pc/pxe.h: Removed bootp parts.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ofnetcard_data): New struct.
2N/A (grub_ieee1275_get_aliasdevname): New proto.
2N/A * include/grub/net.h: Rewritten.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (insert_array): Ensure uniqueness of readable
2N/A names.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/wildcard.c (match_files): Add a useful dprintf.
2N/A (wildcard_expand): Don't stop on nonregexp parts after regexp ones since
2N/A it truncates the output.
2N/A Reported by: Ximin Luo.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Skip . and ..
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
2N/A partmap before abstraction.
2N/A
2N/A2011-06-24 Alexander Kurtz <kurtz.alex@googlemail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in: Add missing quotes.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_guess_root_device): Revert to
2N/A old method if mountinfo would return /dev/root and /dev/root doesn't
2N/A exist.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ZFS zlib support
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zlib_decompress): New function.
2N/A (decomp_table): Add zlib entries.
2N/A (zio_read): USe 8 bits for compression function rather than 3.
2N/A * include/grub/zfs/zio.h (zio_compress): Add zlib values.
2N/A
2N/A2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/ahci.c: Add missing license statements.
2N/A * grub-core/fs/romfs.c: Likewise.
2N/A * grub-core/lib/ia64/setjmp.S: Likewise.
2N/A * grub-core/loader/i386/pc/freedos.c: Likewise.
2N/A * grub-core/loader/ia64/efi/linux.c: Likewise.
2N/A * grub-core/video/colors.c: Likewise.
2N/A * include/grub/dl.h (GRUB_MOD_DEP): New macro.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A AHCI support.
2N/A
2N/A * grub-core/Makefile.core.def (ata_pthru): Removed.
2N/A (ahci): New module.
2N/A (pata): Likewise.
2N/A * grub-core/bus/usb/ohci.c (GRUB_MOD_FINI): Unregister preboot hook
2N/A on unload.
2N/A * grub-core/commands/hdparm.c (grub_hdparm_do_ata_cmd): Use ATA
2N/A readwrite.
2N/A (grub_hdparm_do_check_powermode_cmd): Likewise.
2N/A (grub_hdparm_do_smart_cmd): Likewise.
2N/A (grub_hdparm_set_val_cmd): Likewise.
2N/A (grub_cmd_hdparm): Likewise. Check thta we have an ATA device.
2N/A * grub-core/disk/ahci.c: New file.
2N/A * grub-core/disk/ata.c: Factor out the low-level part into ...
2N/A * grub-core/disk/pata.c: ... here.
2N/A * grub-core/disk/ata_pthru.c: Contents moved to ...
2N/A * grub-core/disk/pata.c: ... here.
2N/A * grub-core/disk/scsi.c (grub_scsi_names): New array.
2N/A (grub_scsi_iterate): Use grub_scsi_names.
2N/A (grub_scsi_open): Likewise.
2N/A * grub-core/kern/disk.c (grub_disk_ata_pass_through): Removed.
2N/A * include/grub/ata.h (grub_ata_commands): Add DMA commands.
2N/A (grub_ata_regs_t): New struct.
2N/A (grub_disk_ata_pass_through_parms): Likewise.
2N/A (grub_ata_device): Renamed to ...
2N/A (grub_ata): ... this.
2N/A (grub_ata_dev): New struct.
2N/A Removed all low-level inline functions.
2N/A * include/grub/scsi.h: Add PATA and AHCI subsystems.
2N/A (grub_scsi_dev): Removed 'name' and 'id'. Added 'id' parameter to
2N/A iterate hooks and open. All users updated.
2N/A * util/grub-install.in: Handle AHCI disk module.
2N/A
2N/A2011-06-23 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Add support for DRI and RSTn markers in JPEG files.
2N/A
2N/A * grub-core/video/readers/jpeg.c (JPEG_MARKER_DRI): New define.
2N/A (JPEG_MARKER_RST0): Likewise.
2N/A (JPEG_MARKER_RST1): Likewise.
2N/A (JPEG_MARKER_RST2): Likewise.
2N/A (JPEG_MARKER_RST3): Likewise.
2N/A (JPEG_MARKER_RST4): Likewise.
2N/A (JPEG_MARKER_RST5): Likewise.
2N/A (JPEG_MARKER_RST6): Likewise.
2N/A (JPEG_MARKER_RST7): Likewise.
2N/A (grub_jpeg_data): New fields dri, r1, bitmap_ptr.
2N/A (grub_jpeg_decode_dri): New function.
2N/A (grub_jpeg_decode_sos): Move image data related part into
2N/A grub_jpeg_decode_data function.
2N/A (grub_jpeg_decode_data): New function.
2N/A (grub_jpeg_reset): New function.
2N/A (grub_jpeg_decode_jpeg): Handle new markers.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/ofpath.c (check_sas): Close fd.
2N/A (main): Free of_path.
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkpasswd-pbkdf2.c (main): Don't double-close.
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Close
2N/A file after stat.
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/raid.c (grub_util_raid_getmembers): Close fd before returning.
2N/A
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (rs_recover) [STANDALONE]:
2N/A Prevent memory leak.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (rs_recover): Prevent memory leak.
2N/A (main): Close file.
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/xnu.c (grub_cpu_xnu_fill_devprop): Don't attempt
2N/A to continue if allocation is failed.
2N/A
2N/A Reported by: David Volgyes <dvolgyes>.
2N/A
2N/A2011-06-23 David Volgyes <dvolgyes>
2N/A
2N/A * grub-core/bus/usb/ohci.c (grub_ohci_pci_iter): Avoid NULL-pointer
2N/A dereference.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix spurious warning.
2N/A
2N/A * grub-core/partmap/acorn.c (grub_acorn_boot_block): Make a union.
2N/A (acorn_partition_map_find): Use .bin member.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_guess_root_device): Don't accept
2N/A /dev/root as a valid device.
2N/A
2N/A2011-06-23 Jim Meyering <meyering@redhat.com>
2N/A
2N/A Avoid NULL deref in grub_device_open.
2N/A
2N/A * grub-core/kern/device.c (grub_device_open): Don't dereference
2N/A a NULL pointer upon failed grub_env_get.
2N/A
2N/A2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support non-512B sectors and agglomerate reads.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add grub-core/commands/testload.c.
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_data): Remove disk_io.
2N/A (disk_io_guid): Removed.
2N/A (make_devices): Locate solely by BlockIO.
2N/A (grub_efidisk_open): Fill log_sector_size and total_sectors.
2N/A (grub_efidisk_read): Use read_blocks.
2N/A (grub_efidisk_write): Use write_blocks.
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Fill
2N/A log_sector_size.
2N/A (get_safe_sectors): Handle non-512B sectors.
2N/A (grub_biosdisk_read): Remove special CDROM handling. Handle non-512B
2N/A sectors.
2N/A (grub_biosdisk_write): Handle non-512B sectors.
2N/A * grub-core/disk/scsi.c (grub_scsi_open): Fill log_sector_size.
2N/A (grub_scsi_read): Remove special non-512B block handling (now handled
2N/A one level up).
2N/A * grub-core/kern/disk.c (grub_disk_open): Fill default log_sector_size
2N/A and do sanity checks.
2N/A (grub_disk_adjust_range): Handle non-512B sectors.
2N/A (transform_sector): New function.
2N/A (grub_disk_read_small): Likewise.
2N/A (grub_disk_read): Rewritten.
2N/A (grub_disk_write): Handle non-512B sectors.
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Fill
2N/A log_sector_size.
2N/A (open_device): Use log_sector_size.
2N/A (grub_util_biosdisk_read): Likewise.
2N/A (grub_util_biosdisk_write): Likewise.
2N/A * grub-core/partmap/msdos.c (grub_partition_msdos_iterate): Handle
2N/A non-512B sectors.
2N/A (pc_partition_map_embed): Likewise.
2N/A * include/grub/disk.h (grub_disk): New field log_sector_size.
2N/A (GRUB_DISK_CACHE_SIZE): Redefined from GRUB_DISK_CACHE_BITS.
2N/A (GRUB_DISK_CACHE_BITS): Increased to 6.
2N/A * util/grub-fstest.c (fstest): New command testload.
2N/A (argp_parser): Likewise.
2N/A
2N/A2011-06-16 Robert Millan <rmh@gnu.org>
2N/A
2N/A Detect `ataraid' devices on GNU/kFreeBSD. Fix for ATA devices using
2N/A `ata' driver on kernel of FreeBSD 9.
2N/A
2N/A * util/deviceiter.c [__FreeBSD_kernel__] (get_ada_disk_name)
2N/A (get_ataraid_disk_name): New functions.
2N/A [__FreeBSD_kernel__] (grub_util_iterate_devices): Scan for ataraid
2N/A (/dev/ar[0-9]+) and ada (/dev/ada[0-9]+) devices using
2N/A get_ataraid_disk_name() and get_ada_disk_name().
2N/A
2N/A2011-06-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/man/grub-mklayout.h2m (DESCRIPTION): Add a reference to the
2N/A input format.
2N/A
2N/A2011-05-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Obtaining and Building GRUB): Substitute
2N/A `ftp.gnu.org' for `alpha.gnu.org'.
2N/A
2N/A2011-05-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (linux_find_partition): Handle
2N/A partitions under /dev/disk/by-id/.
2N/A
2N/A2011-05-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (linux_find_partition): Give up
2N/A after ten consecutive open failures. Scanning all the way up to
2N/A 10000 is excessive and can cause serious performance problems in
2N/A some configurations.
2N/A Fixes Ubuntu bug #787461.
2N/A
2N/A2011-05-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/arc/arcdisk.c (reopen): Close old handle before
2N/A opening new one.
2N/A
2N/A2011-05-21 Colin Watson <cjwatson@ubuntu.com>
2N/A2011-05-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't stat devices unless we have to.
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_find_device): Recognize
2N/A dir == /dev/mapper.
2N/A (grub_guess_root_device): Use already known os_dev if possible.
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Scan only in /dev/mapper
2N/A if device is known to be a dm one.
2N/A
2N/A2011-05-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_CMDLINE_LINUX_XEN_REPLACE and
2N/A GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT.
2N/A Reported by: Pawel Tecza.
2N/A
2N/A2011-05-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (lsacpi): Fix ia64 mismerge.
2N/A (lsefisystab): Likewise.
2N/A (lssal): Likewise.
2N/A (lsefimmap): Likewise.
2N/A (hdparm): Enable on qemu-mips.
2N/A (setjmp): Add ia64 nodist.
2N/A (serial): Simplify tags.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.util.def (grub-ofpathname): Install manual page.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/fs/squash4.c: Add missing GRUB_MOD_LICENSE.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add grub-core/modinfo.sh and a number of test files.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Downgrade a printf
2N/A into dprintf.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use full 64-bit division.
2N/A
2N/A * grub-core/kern/misc.c (grub_divmod64_full): Renamed to ...
2N/A (grub_divmod64): ... this.
2N/A * include/grub/misc.h (grub_divmod64): Removed. All users switch to full
2N/A version.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in: Use portable `.' rather than non-portable
2N/A `source'.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e',
2N/A to avoid accidents when debugging with 'sh -x'.
2N/A * grub-core/gensyminfo.sh.in: Likewise.
2N/A * tests/example_scripted_test.in: Likewise.
2N/A * tests/grub_cmd_regexp.in: Likewise.
2N/A * tests/grub_script_blanklines.in: Likewise.
2N/A * tests/grub_script_dollar.in: Likewise.
2N/A * tests/grub_script_expansion.in: Likewise.
2N/A * tests/grub_script_final_semicolon.in: Likewise.
2N/A * tests/partmap_test.in: Likewise.
2N/A * tests/util/grub-shell-tester.in: Likewise.
2N/A * tests/util/grub-shell.in: Likewise.
2N/A
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Move gfxmenu color handling to video, so that gfxterm can use it
2N/A too.
2N/A
2N/A * grub-core/gfxmenu/named_colors.c: Move to ...
2N/A * grub-core/video/colors.c: ... here. Rename
2N/A grub_gui_get_named_color to grub_video_get_named_color.
2N/A * grub-core/gfxmenu/gui_string_util.c (my_isxdigit): Move to ...
2N/A * grub-core/video/colors.c (my_isxdigit): ... here.
2N/A * grub-core/gfxmenu/gui_string_util.c (parse_hex_color_component):
2N/A Move to ...
2N/A * grub-core/video/colors.c (parse_hex_color_component): ... here.
2N/A * grub-core/gfxmenu/gui_string_util.c (grub_gui_parse_color): Move
2N/A to ...
2N/A * grub-core/video/colors.c (grub_video_parse_color): ... here.
2N/A
2N/A * include/grub/gui.h (grub_gui_color_t): Move to ...
2N/A * include/grub/video.h (grub_video_rgba_color_t): ... here.
2N/A * include/grub/gui.h (grub_gui_color_rgb): Move to ...
2N/A * include/grub/video.h (grub_video_rgba_color_rgb): ... here.
2N/A * include/grub/gui.h (grub_gui_map_color): Move to ...
2N/A * include/grub/video.h (grub_video_map_rgba_color): ... here.
2N/A * include/grub/gui_string_util.h (grub_gui_get_named_color): Move
2N/A to ...
2N/A * include/grub/video.h (grub_video_get_named_color): ... here.
2N/A * include/grub/gui_string_util.h (grub_gui_parse_color): Move to ...
2N/A * include/grub/video.h (grub_video_parse_color): ... here.
2N/A
2N/A * grub-core/Makefile.core.def (kernel) [videoinkernel]: Add
2N/A video/colors.c.
2N/A (gfxmenu): Remove gfxmenu/named_colors.c.
2N/A (video) [videomodules]: Add video/colors.c.
2N/A
2N/A Add a background_color command.
2N/A
2N/A * grub-core/term/gfxterm.c (grub_gfxterm_background_color_cmd): New
2N/A function.
2N/A (GRUB_MOD_INIT): Register background_color command.
2N/A (GRUB_MOD_FINI): Unregister background_color command.
2N/A (redraw_screen_rect): Allow blend/replace of text layer to be
2N/A controlled independently from whether there is a background bitmap.
2N/A (grub_gfxterm_background_image_cmd): Change blend_text_bg when
2N/A changing bitmap.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Patch BPB in ntldr and chainloader --bpb.
2N/A
2N/A * grub-core/fs/fat.c: Include grub/fat.h.
2N/A (grub_fat_bpb): Moved to ...
2N/A * include/grub/fat.h (grub_fat_bpb): ... here. New file.
2N/A * grub-core/loader/i386/pc/chainloader.c: Include grub/fat.h and
2N/A grub/ntfs.h.
2N/A * include/grub/i386/pc/chainloader.h (grub_chainloader_flags_t):
2N/A Moved from here...
2N/A * grub-core/loader/i386/pc/chainloader.c (grub_chainloader_flags_t): ...
2N/A here.
2N/A * grub-core/loader/i386/pc/chainloader.c (grub_chainloader_patch_bpb):
2N/A New function.
2N/A (grub_chainloader_cmd): Patch BPB if --bpb is given.
2N/A (GRUB_MOD_INIT): Show --bpb.
2N/A * grub-core/loader/i386/pc/ntldr.c (grub_cmd_ntldr): Patch BPB.
2N/A * grub-core/normal/main.c (features): New variable.
2N/A (GRUB_MOD_INIT): Set feature_* variables.
2N/A * include/grub/i386/pc/chainloader.h (grub_chainloader_patch_bpb): New
2N/A proto.
2N/A * include/grub/ntfs.h (grub_ntfs_bpb): New field bios_drive.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (ieee1275_fb): Use enable=powerpc_ieee1275
2N/A for cleanness.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A FreeDOS direct loading support.
2N/A
2N/A * docs/grub.texi (Supported OS): Add FreeDOS.
2N/A * grub-core/Makefile.core.def (freedos): New module.
2N/A * grub-core/lib/i386/relocator.c (grub_relocator16_ebx): New extern
2N/A variable.
2N/A (grub_relocator16_boot): Handle %ebx.
2N/A * grub-core/lib/i386/relocator16.S: Likewise.
2N/A * grub-core/loader/i386/pc/freedos.c: New file.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Long Linux command line support.
2N/A
2N/A * grub-core/loader/i386/linux.c (GRUB_LINUX_CL_END_OFFSET): Removed.
2N/A (maximal_cmdline_size): New variable.
2N/A (allocate_pages): Use maximal_cmdline_size.
2N/A (grub_cmd_linux): Set and use maximal_cmdline_size.
2N/A * grub-core/loader/i386/pc/linux.c (GRUB_LINUX_CL_END_OFFSET): Removed.
2N/A (allocate_pages): Use maximal_cmdline_size.
2N/A (grub_cmd_linux): Set and use maximal_cmdline_size.
2N/A * include/grub/i386/linux.h (GRUB_LINUX_SETUP_MOVE_SIZE): Removed.
2N/A (linux_kernel_header): Add fields kernel_alignment, relocatable, pad
2N/A and cmdline_size.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Improve devmapper support
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Removed.
2N/A (grub_util_is_lvm): New function.
2N/A (grub_util_get_dev_abstraction): Assume dmraid if not lvm rather
2N/A than lvm if not dmraid.
2N/A Handle mapped md nodes.
2N/A * grub-core/kern/emu/hostdisk.c (device_is_mapped): Rename to ...
2N/A (grub_util_device_is_mapped): ... this. Make always available. All users
2N/A updated.
2N/A (grub_util_get_dm_node_linear_info) [HAVE_DEVICE_MAPPER]: New function.
2N/A (convert_system_partition_to_system_disk): Handle lvm, mpath and
2N/A dmraid nodes.
2N/A * include/grub/emu/misc.h (grub_util_device_is_mapped): New proto.
2N/A
2N/A2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms
2N/A
2N/A * grub-core/Makefile.am (platform_DATA): Add modinfo.sh.
2N/A * grub-core/modinfo.sh.in: New file.
2N/A * grub-core/Makefile.core.def (modinfo.sh): New script.
2N/A * util/grub-mknetdir.in: Use modinfo.sh.
2N/A * util/grub-mkrescue.in: Likewise.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ia64/dl_helper.c (grub_ia64_dl_get_tramp_got_size):
2N/A Fix potential usage of Elf32 instead of Elf64 when compiling on
2N/A 32-bit architecture. Add endianness macros while on it.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use mipsel- rather than mips- in directories involving mipsel ports to
2N/A allow both endiannesses coexist.
2N/A
2N/A * configure.ac: proparate target_cpu=mipsel rather than resetting to
2N/A mips. All conditions adjusted.
2N/A * tests/util/grub-shell-tester.in: Remove gratuitious target_cpu
2N/A variable.
2N/A * util/grub-install.in: Adjust conditions to take renaming into account.
2N/A * util/grub-mkimage.c (image_targets): Likewise. New target
2N/A mips-qemu_mips-elf for bigendian mips.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid unnecessary copying on MIPS.
2N/A
2N/A * grub-core/boot/decompressor/none.c (grub_decompress_core): Exit
2N/A early if src == dest.
2N/A * util/grub-mkimage.c (generate_image): Arange for src == dest if
2N/A compression is none.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Reduce memory footprint on SGI by putting modules before the kernel
2N/A as opposed to after.
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Increase linking address.
2N/A (none_decompress): Likewise.
2N/A (xz_decompress): Likewise.
2N/A * grub-core/boot/mips/startup_raw.S: Use prewritten uncompression
2N/A address.
2N/A * grub-core/kern/mips/arc/init.c (grub_machine_init): Handle memory
2N/A layout change.
2N/A (grub_arch_modules_addr): New function.
2N/A * grub-core/kern/mips/init.c (grub_arch_modules_addr): Moved from here...
2N/A * grub-core/kern/mips/loongson/init.c (grub_arch_modules_addr): .. here
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_arch_modules_addr): ... and
2N/A here.
2N/A * grub-core/kern/mips/startup.S (total_size): Rename to ...
2N/A (grub_total_modules_size): ... this. Make global.
2N/A [GRUB_MACHINE_ARC]: Don't attempt to move modules out of the bss.
2N/A * include/grub/offsets.h (GRUB_KERNEL_MIPS_LOONGSON_UNCOMPRESSED_ADDR):
2N/A New definition.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_UNCOMPRESSED_ADDR): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_UNCOMPRESSED_ADDR): Likewise.
2N/A (GRUB_KERNEL_MACHINE_UNCOMPRESSED_ADDR): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_LINK_ADDR): Increased.
2N/A * util/grub-mkimage.c (image_target_desc): New flag
2N/A PLATFORM_FLAGS_MODULES_BEFORE_KERNEL.
2N/A (image_targets): Set PLATFORM_FLAGS_MODULES_BEFORE_KERNEL on mips-arc.
2N/A (generate_image): Handle images with modules before kernel.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Prevent potential loss of memory map by overwrite on qemu-mips.
2N/A
2N/A * grub-core/boot/mips/startup_raw.S [GRUB_MACHINE_MIPS_QEMU_MIPS]:
2N/A Save ram size in $s4.
2N/A * grub-core/kern/mips/qemu_mips/init.c (RAMSIZE): Removed.
2N/A All users changed to grub_arch_memsize.
2N/A * grub-core/kern/mips/startup.S (grub_arch_machine): Restrict to
2N/A Loongson.
2N/A [GRUB_MACHINE_MIPS_QEMU_MIPS]: Save grub_arch_memsize.
2N/A * grub-core/loader/mips/linux.c (grub_linux_boot): Pass memory size.
2N/A * include/grub/mips/qemu_mips/memory.h (grub_arch_memsize): New
2N/A external variable.
2N/A
2N/A2011-05-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Remove grub-dumpbios.
2N/A
2N/A2011-05-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/20_linux_xen.in: Honour GRUB_CMDLINE_LINUX_XEN_REPLACE
2N/A and GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT, which replace
2N/A GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT (complementing the
2N/A existing options which append).
2N/A * docs/grub.texi (Simple configuration): Document new options.
2N/A Reported by: Ian Jackson. Fixes Debian bug #617538.
2N/A
2N/A2011-05-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-fstest.c (cmd_cat): New function.
2N/A (fstest): Handle CMD_CAT.
2N/A (options): Add cat.
2N/A (argp_parser): Handle cat.
2N/A
2N/A2011-05-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.util.def (grub-bin2h): Don't install.
2N/A * docs/man/grub-bin2h.h2m: Remove.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/startup.S (grub_arch_cpuclock): Move to the right
2N/A place.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Reenable qemu-mips port.
2N/A
2N/A * configure.ac: Handle --target=qemu-mips and --target=qemu_mips.
2N/A Fix small arc bug while on it.
2N/A * gentpl.py: Handle qemu_mips.
2N/A * grub-core/Makefile.am: Likewise.
2N/A * grub-core/Makefile.core.def: Likewise.
2N/A * grub-core/disk/ata.c [GRUB_MACHINE_MIPS_QEMU_MIPS]: Remove
2N/A inappropriate includes.
2N/A (grub_ata_pciinit) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Removed.
2N/A (grub_ata_initialize): [GRUB_MACHINE_MIPS_QEMU_MIPS]: Rewritten.
2N/A * grub-core/kern/main.c (grub_modules_get_end)
2N/A [GRUB_MACHINE_MIPS_QEMU_MIPS]: Enable.
2N/A * grub-core/kern/mips/qemu-mips: Moved to ..
2N/A * grub-core/kern/mips/qemu_mips: ... this.
2N/A * grub-core/kern/mips/qemu_mips/init.c (grub_get_rtc): Removed.
2N/A (grub_machine_init): Call terminfo_init and serial_init.
2N/A * grub-core/kern/mips/startup.S: Change MIPS_LOONGSON to MACHINE.
2N/A * grub-core/loader/mips/linux.c (params) [GRUB_MACHINE_MIPS_QEMU_MIPS]:
2N/A New variable.
2N/A (grub_linux_boot) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Handle the qemu-mips
2N/A parameter passing.
2N/A (grub_linux_unload) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Free params.
2N/A (grub_cmd_linux) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Handle params.
2N/A (grub_cmd_initrd) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Likewise.
2N/A * include/grub/mips/qemu_mips/cmos.h: New file.
2N/A * include/grub/mips/qemu-mips/kernel.h: Don't include cpu/kernel.h.
2N/A * include/grub/mips/qemu-mips/memory.h (grub_machine_mmap_iterate):
2N/A Removed.
2N/A * include/grub/mips/qemu-mips/serial.h (GRUB_MACHINE_SERIAL_PORTS):
2N/A Use correct mips-style address.
2N/A * include/grub/mips/qemu-mips/time.h: Include cpu/time.h.
2N/A (GRUB_TICKS_PER_SECOND): Removed.
2N/A (grub_get_rtc): Likewise.
2N/A (grub_cpu_idle): Likewise.
2N/A * include/grub/offsets.h (GRUB_KERNEL_MIPS_QEMU_MIPS_LINK_ADDR):
2N/A New definition.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_LINK_ALIGN): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_COMPRESSED_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_UNCOMPRESSED_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_TOTAL_MODULE_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MIPS_QEMU_MIPS_MOD_ALIGN): Likewise.
2N/A * util/grub-mkimage.c (image_targets): Add mipsel-qemu_mips-elf.
2N/A
2N/A2011-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A SGI ARCS port.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add dvh.c.
2N/A * conf/Makefile.common (CCASFLAGS_PLATFORM): Add -mips3 on all mips
2N/A platforms.
2N/A * configure.ac: New target mips-arc.
2N/A * gentpl.py: Likewise.
2N/A * grub-core/Makefile.am: Likewise.
2N/A * grub-core/Makefile.core.def: Likewise.
2N/A (xz_decompress): Remove -D GRUB_MACHINE_LINK_ADDR.
2N/A (none_decompress): Likewise.
2N/A (lsdev): New module.
2N/A (datetime): Use lib/arc/datetime.c on ARC.
2N/A (part_dvh): New module.
2N/A * grub-core/commands/arc/lsdev.c: New file.
2N/A * grub-core/disk/arc/arcdisk.c: Likewise.
2N/A * grub-core/kern/mips/arc/init.c: Likewise.
2N/A * grub-core/kern/mips/cache_flush.S: Don't flush non 4-byte
2N/A aligned addresses.
2N/A * grub-core/kern/mips/dl.c (grub_arch_dl_check_header): Fix bigendian
2N/A support.
2N/A (grub_arch_dl_relocate_symbols): Likewise.
2N/A * grub-core/kern/mips/loongson/init.c (grub_get_rtc): Moved from here...
2N/A * grub-core/kern/mips/init.c (grub_get_rtc): ... here.
2N/A * grub-core/kern/mips/startup.S (grub_arch_cpuclock): Have on all
2N/A platforms.
2N/A * grub-core/lib/arc/datetime.c: New file.
2N/A * grub-core/loader/mips/linux.c: Always include time.h. Don't include
2N/A pci.h on non-loongson.
2N/A (envp_off) [!GRUB_MACHINE_MIPS_LOONGSON]: Remove.
2N/A (grub_linux_boot): Set unused registers to 0.
2N/A (grub_cmd_linux) [!GRUB_MACHINE_MIPS_LOONGSON]: Remove envp.
2N/A * grub-core/mmap/mips/loongson/uppermem.c: Moved from here ...
2N/A * grub-core/mmap/mips/uppermem.c: ...here.
2N/A * grub-core/partmap/dvh.c: New file.
2N/A * grub-core/term/arc/console.c: Likewise.
2N/A * grub-core/term/terminfo.c (ANSI_C0_STR): New const.
2N/A (grub_terminfo_set_current): Add terminal "arc".
2N/A (grub_terminfo_readkey): Support ARC sequences.
2N/A * include/grub/arc/arc.h: New file.
2N/A * include/grub/arc/console.h: Likewise.
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A GRUB_DISK_DEVICE_ARCDISK_ID.
2N/A * include/grub/mips/arc/kernel.h: New file.
2N/A * include/grub/mips/arc/memory.h: Likewise.
2N/A * include/grub/mips/arc/time.h: Likewise.
2N/A * include/grub/mips/loongson/kernel.h (grub_halt): Moved from here ...
2N/A * include/grub/mips/kernel.h (grub_halt): ... here.
2N/A * include/grub/mips/loongson.h (GRUB_CPU_REGISTER_WRAP): Moved from
2N/A here...
2N/A * include/grub/mips/mips.h (GRUB_CPU_REGISTER_WRAP): ... here.
2N/A (GRUB_CPU_LOONGSON_COP0_TIMER_COUNT): Moved from here ...
2N/A * include/grub/mips/mips.h (GRUB_CPU_LOONGSON_COP0_TIMER_COUNT): .. here
2N/A * include/grub/mips/loongson/kernel.h (grub_reboot): Removed redundant
2N/A proto.
2N/A * include/grub/mips/loongson/memory.h (GRUB_ARCH_LOWMEMVSTART): Moved
2N/A from here ...
2N/A * include/grub/mips/memory.h (GRUB_ARCH_LOWMEMVSTART): ... here.
2N/A (GRUB_ARCH_LOWMEMPSTART): Moved from here ...
2N/A * include/grub/mips/memory.h (GRUB_ARCH_LOWMEMPSTART): ... here.
2N/A (GRUB_ARCH_LOWMEMMAXSIZE): Moved from here ...
2N/A * include/grub/mips/memory.h (GRUB_ARCH_LOWMEMMAXSIZE): ... here.
2N/A (GRUB_ARCH_HIGHMEMPSTART): Moved from here ...
2N/A * include/grub/mips/memory.h (GRUB_ARCH_HIGHMEMPSTART): ... here.
2N/A (grub_phys_addr_t): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_phys_addr_t): ... here.
2N/A (grub_vtop): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_vtop): ... here.
2N/A (grub_map_memory): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_map_memory): ... here.
2N/A (grub_unmap_memory): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_unmap_memory): ... here.
2N/A (grub_machine_mmap_iterate): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_machine_mmap_iterate): ... here.
2N/A (grub_mmap_get_lower): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_mmap_get_lower): ... here.
2N/A (grub_mmap_get_upper): Moved from here ...
2N/A * include/grub/mips/memory.h (grub_mmap_get_upper): ... here.
2N/A * include/grub/mips/loongson/time.h (grub_arch_cpuclock): Moved from
2N/A here ...
2N/A * include/grub/mips/time.h (grub_arch_cpuclock): ... here.
2N/A * include/grub/mips/loongson/time.h (grub_get_rtc): Moved from
2N/A here ...
2N/A * include/grub/mips/time.h (grub_get_rtc): ... here.
2N/A * include/grub/mips/loongson/time.h (grub_arch_cpuclock): Moved from
2N/A here ...
2N/A * include/grub/mips/time.h (grub_arch_cpuclock): ... here.
2N/A * include/grub/mips/loongson/time.h (grub_cpu_idle): Moved from
2N/A here ...
2N/A * include/grub/mips/time.h (grub_cpu_idle): ... here.
2N/A * include/grub/offsets.h (GRUB_KERNEL_MIPS_ARC_LINK_ADDR): New
2N/A definition.
2N/A (GRUB_KERNEL_MIPS_ARC_LINK_ALIGN): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_COMPRESSED_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_UNCOMPRESSED_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_TOTAL_MODULE_SIZE): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MIPS_ARC_MOD_ALIGN): Likewise.
2N/A (GRUB_MACHINE_LINK_ADDR): Likewise.
2N/A * include/grub/terminfo.h (GRUB_TERMINFO_READKEY_MAX_LEN): Increased
2N/A to 6.
2N/A * util/grub-install.in: Run dvhtool on ARC.
2N/A * util/grub-mkimage.c (image_targets): Add mips-arc.
2N/A (generate_image): Handle ECOFF output for mips-arc.
2N/A
2N/A2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/pci.c (grub_memalign_dma32): Always allocate in 64-byte
2N/A blocks.
2N/A
2N/A2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/usbhub.c (attach_root_port): Wait 10ms
2N/A after enabling port.
2N/A
2N/A2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Skip incorrect USB devices.
2N/A
2N/A * grub-core/bus/usb/usb.c (grub_usb_device_initialize): Fail if
2N/A configcnt == 0.
2N/A * include/grub/usb.h (grub_usb_err_t): New enum value
2N/A GRUB_USB_ERR_BADDEVICE.
2N/A
2N/A2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fuloong video init support.
2N/A
2N/A * include/grub/vga.h (grub_vga_write_arx): inb monochrome address as
2N/A well.
2N/A (grub_vga_read_arx): New function.
2N/A * grub-core/video/sis315pro.c (GRUB_SIS315PRO_MMIO_SPACE): New
2N/A definition.
2N/A (framebuffer): New members io, mmioptr and mmiobase.
2N/A (read_sis_cmd): New function.
2N/A (write_sis_cmd): Likewise.
2N/A (grub_video_sis315pro_setup): Do the initialisation. Use 640x480
2N/A rather than 640x400.
2N/A * grub-core/video/sis315_init.c: New file.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/cs5536.c: Don't include grub/machine/kernel.h on
2N/A non-loongson.
2N/A * grub-core/kern/mips/dl.c (grub_arch_dl_init_linker): Fix argument
2N/A to grub_dl_register_symbol.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix compilation errors.
2N/A
2N/A * grub-core/term/ns8250.c (serial_get_divisor): Declare 'port' as
2N/A potentially unused.
2N/A * grub-core/loader/i386/linux.c (grub_linux_setup_video):
2N/A Handle GRUB_VIDEO_DRIVER_SIS315PRO.
2N/A * grub-core/bus/cs5536.c (grub_cs5536_init_geode): Restrict DIVIL init
2N/A to loongson machines.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Several FS mtime support.
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_time): New struct.
2N/A (grub_affs_file): New field mtime.
2N/A (grub_fshelp_node): Changed 'block' and 'parent' to more appropriate
2N/A type. Removed 'size'. New field 'di'. All users updated.
2N/A (grub_affs_mount): Simplify checsum checking.
2N/A (grub_affs_iterate_dir): New helper grub_affs_create_node.
2N/A (grub_affs_dir): Handle mtime.
2N/A * grub-core/fs/cpio.c (grub_cpio_find_file): Handle mtime.
2N/A (grub_cpio_dir): Likewise.
2N/A * grub-core/fs/hfs.c (grub_hfs_dirrec): New fields 'ctime' and 'mtime'.
2N/A (grub_hfs_filerec): New field mtime.
2N/A (grub_hfs_dir): Handle mtime.
2N/A (grub_hfs_mtime): New function.
2N/A (grub_hfs_fs): Register grub_hfs_mtime.
2N/A * grub-core/fs/iso9660.c (grub_iso9660_date2): New struct.
2N/A (grub_iso9660_dir): New field mtime.
2N/A (grub_fshelp_node): New field dirent.
2N/A (iso9660_to_unixtime): New function.
2N/A (iso9660_to_unixtime2): Likewise.
2N/A (grub_iso9660_read_symlink): Use node->dirent.
2N/A (grub_iso9660_iterate_dir): Likewise.
2N/A (grub_iso9660_dir): Set mtime.
2N/A (grub_iso9660_mtime): New function.
2N/A (grub_iso9660_fs): Register grub_iso9660_mtime.
2N/A * grub-core/fs/jfs.c (grub_jfs_time): New struct.
2N/A (grub_jfs_inode): New fields atime, ctime and mtime.
2N/A (grub_jfs_dir): Set mtime.
2N/A * grub-core/fs/minix.c (grub_minix_dir): Likewise.
2N/A * grub-core/fs/ntfs.c (list_file): Set mtime.
2N/A (grub_ntfs_dir): Likewise.
2N/A * grub-core/fs/reiserfs.c (grub_fshelp_node): New field 'mtime'.
2N/A (grub_reiserfs_iterate_dir): Set mtime.
2N/A (grub_reiserfs_dir): Likewise.
2N/A * grub-core/fs/sfs.c (grub_sfs_obj): New field mtime.
2N/A (grub_fshelp_node): Likewise.
2N/A (grub_sfs_iterate_dir): Set mtime.
2N/A (grub_sfs_dir): Likewise.
2N/A * grub-core/fs/udf.c (grub_udf_dir): Set mtime.
2N/A * grub-core/fs/xfs.c (grub_xfs_time): New struct.
2N/A (grub_xfs_inode): New fields atime, mtime, ctime.
2N/A (grub_xfs_dir): Set mtime.
2N/A * include/grub/datetime.h (grub_datetime2unixtime): New function.
2N/A * include/grub/hfs.h (grub_hfs_sblock): New fields ctime and mtime.
2N/A * include/grub/ntfs.h (grub_fshelp_node): New field mtime.
2N/A
2N/A Support UDF symlinks.
2N/A
2N/A * grub-core/fs/udf.c (grub_udf_iterate_dir): Handle symlinks.
2N/A (grub_ufs_read_symlink): New function. All users updated.
2N/A
2N/A Check amiga partmap checksum.
2N/A
2N/A * grub-core/partmap/amiga.c (grub_amiga_rdsk): Pad to 128 bytes.
2N/A (grub_amiga_partition): Likewise.
2N/A (amiga_partition_map_checksum): New function.
2N/A (amiga_partition_map_iterate): Check checksum.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ROMFS support.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add romfs.
2N/A * grub-core/Makefile.core.def (romfs): New module.
2N/A * grub-core/fs/romfs.c: New file.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Squashfs v4 support.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add squash4.
2N/A * grub-core/Makefile.core.def (squash4): New module.
2N/A * grub-core/fs/squash4.c: New file.
2N/A * grub-core/io/gzio.c (grub_gzio): New members disk_input_off,
2N/A disk_input_start, disk_input.
2N/A (get_byte): Handle disk_input.
2N/A (grub_zlib_disk_read): New function.
2N/A * include/grub/deflate.h (grub_zlib_disk_read): New proto.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-05-15 Feiran Zheng <famcool@gmail.com>
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add minix3.
2N/A * grub-core/Makefile.core.def (minix3): New module.
2N/A * grub-core/fs/minix.c (GRUB_MINIX_MAGIC) [MODE_MINIX3]: New value.
2N/A (GRUB_MINIX_BSIZE): Removed.
2N/A (GRUB_MINIX_INODE_DIR_BLOCKS): New definition. All users updated.
2N/A (grub_minix_ino_t): New type.
2N/A (grub_minix_le_to_cpu_ino): New macro.
2N/A (GRUB_MINIX_ZONE2SECT): New definition. All users updated.
2N/A (grub_minix_sblock) [MODE_MINIX3]: Change for minix3.
2N/A (grub_minix_data): New field block_size.
2N/A (grub_minix_read_file): Handle 64-bit correctly.
2N/A * grub-core/fs/minix3.c: New file.
2N/A
2N/A2011-05-15 Tristan Gingold <gingold@free.fr>
2N/A2011-05-15 Robert Millan <rmh.grub@aybabtu.com>
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A IA64 support.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add grub-core/kern/ia64/dl_helper.c
2N/A * configure.ac: Add ia64-efi target.
2N/A Probe for __ia64_trampoline, __udivsi3, __umoddi3, __udivdi3,
2N/A __divsi3, __modsi3, __umodsi3, __moddi3 and __divdi3 symbols.
2N/A * gentpl.py: Add ia64_efi platform.
2N/A Rename x86_efi to efi and Add ia64-efi. All users updated.
2N/A * grub-core/Makefile.am: Set KERNEL_HEADER_FILES for ia64-efi.
2N/A * grub-core/Makefile.core.def (kernel.img): Add compile flags for ia64.
2N/A Remove kern/generic/rtc_get_time_ms.c on EFI.
2N/A Add kern/ia64/efi/startup.S, kern/ia64/efi/init.c, kern/ia64/dl.c,
2N/A kern/ia64/dl_helper.c on ia64-efi.
2N/A Add kern/emu/cache.c on emu.
2N/A (linux): Use on loader/ia64/efi/linux.c on ia64.
2N/A * grub-core/gensymlist.sh (grub_register_exported_symbols): Check
2N/A whether symbol is a function.
2N/A * grub-core/kern/dl.c [GRUB_MACHINE_EMU]: Include sys/mman.h.
2N/A (grub_symbol): New field 'isfunc'.
2N/A (grub_dl_resolve_symbol): Return whole symbol rather than just address.
2N/A (grub_dl_register_symbol): New argument 'isfunc'. All users updated.
2N/A (grub_dl_load_segments): Place all sections into the same region.
2N/A [__ia64__]: Create trampolines and got.
2N/A [GRUB_MACHINE_EMU]: Call mprotect.
2N/A (grub_dl_resolve_symbols): Resolve symbol type as well.
2N/A [__ia64__]: Create function descriptors.
2N/A * grub-core/kern/efi/efi.c (grub_get_rtc): Renamed to ...
2N/A (grub_rtc_get_time_ms): ... this. Expressions simplified.
2N/A (grub_get_rtc): New function.
2N/A * grub-core/kern/emu/cache.c [__ia64__]: New file.
2N/A * grub-core/kern/emu/cache.S: Renamed to ...
2N/A * grub-core/kern/emu/cache_s.S: ... this.
2N/A [__ia64__]: Add a nop.
2N/A * grub-core/kern/emu/full.c (grub_arch_dl_get_tramp_got_size)
2N/A [__ia64__]: New function.
2N/A * grub-core/kern/emu/lite.c [__ia64__]: Include ../ia64/dl.c.
2N/A * grub-core/kern/ia64/dl.c: New file.
2N/A * grub-core/kern/ia64/dl_helper.c: Likewise.
2N/A * grub-core/kern/ia64/efi/init.c: New file.
2N/A * grub-core/kern/ia64/efi/startup.S: Likewise.
2N/A * grub-core/lib/efi/halt.c [__ia64__]: Don't try acpi.
2N/A * grub-core/lib/ia64/longjmp.S: New file (from glibc).
2N/A * grub-core/lib/ia64/setjmp.S: Likewise (from glibc).
2N/A * grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/setjmp.S.
2N/A * grub-core/loader/ia64/efi/linux.c: New file.
2N/A * include/grub/dl.h (GRUB_MOD_NAME): Redefined using C rather than asm.
2N/A (GRUB_MOD_DEP): Likewise.
2N/A (grub_dl) [__ia64__]: New fields got and tramp.
2N/A (grub_dl): New field 'base'.
2N/A (grub_dl_register_symbol): New argument isfunc. All users updated.
2N/A (GRUB_IA64_DL_TRAMP_ALIGN): New definition.
2N/A (GRUB_IA64_DL_TRAMP_SIZE): Likewise.
2N/A (GRUB_IA64_DL_GOT_ALIGN): Likewise.
2N/A (grub_ia64_dl_get_tramp_got_size): New proto.
2N/A (GRUB_ARCH_DL_TRAMP_ALIGN) [__ia64__]: Likewise
2N/A (GRUB_ARCH_DL_GOT_ALIGN) [__ia64__]: Likewise
2N/A (grub_arch_dl_get_tramp_got_size) [__ia64__]: Likewise
2N/A * include/grub/efi/api.h: Skip call wrappers on ia64.
2N/A * include/grub/efi/pe32.h (GRUB_PE32_MACHINE_IA64): New definition.
2N/A * include/grub/efi/time.h (GRUB_TICKS_PER_SECOND): Change to 1000.
2N/A * include/grub/elf.h (ELF_ST_INFO): New definition.
2N/A * include/grub/ia64/efi/kernel.h: New file.
2N/A * include/grub/ia64/efi/memory.h: Likewise.
2N/A * include/grub/ia64/efi/time.h: Likewise.
2N/A * include/grub/ia64/kernel.h: Likewise.
2N/A * include/grub/ia64/setjmp.h: Likewise (from glibc).
2N/A * include/grub/ia64/time.h: New file.
2N/A * include/grub/ia64/types.h: Likewise.
2N/A * include/grub/libgcc.h (__udivsi3, __umodsi3, __umoddi3, __udivdi3,
2N/A __moddi3, __divdi3, __divsi3, __modsi3, __ia64_trampoline):
2N/A New protos.
2N/A * include/grub/offsets.h (GRUB_KERNEL_IA64_EFI_PREFIX): New definition.
2N/A (GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
2N/A * include/grub/types.h (PRIxGRUB_ADDR): Likewise.
2N/A * util/grub-mkimage.c (image_target_desc): New field pe_target.
2N/A All users updated.
2N/A (EFI64_HEADER_SIZE): New definition. All users updated.
2N/A (image_targets): Add ia64-efi.
2N/A * util/grub-mkimagexx.c (relocate_symbols): New arguments jumpers and
2N/A jumpers_addr. All users updated.
2N/A Create function descriptors.
2N/A (count_funcs): New function.
2N/A (unaligned_uint32): New struct.
2N/A (MASK20): New definition.
2N/A (MASK19): Likewise.
2N/A (MASKF21): Likewise.
2N/A (add_value_to_slot_20b): New function.
2N/A (add_value_to_slot_21_real): Likewise.
2N/A (add_value_to_slot_21): Likewise.
2N/A (ia64_kernel_trampoline): New struct.
2N/A (nopm): New variable.
2N/A (jump): Likewise.
2N/A (make_trampoline): New function.
2N/A (relocate_addresses): Handle ia64.
2N/A (make_reloc_section): Likewise.
2N/A (load_image): Likewise.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Silence spurious
2N/A warning. Move variables before code while on it.
2N/A
2N/A2011-05-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fuloong support.
2N/A
2N/A * configure.ac: Rename yeeloong platform to loongson. All users updated.
2N/A * grub-core/Makefile.core.def (fwstart_fuloong): New image.
2N/A * grub-core/boot/mips/loongson/fuloong.S: New file.
2N/A * grub-core/boot/mips/loongson/fwstart.S: Wait for CS5536 to come up.
2N/A Explicitly init CS5536.
2N/A [FULOONG]: Don't use serial until CS5536 is available.
2N/A Set GPIO based on dumps.
2N/A (serial_hw_init) [FULOONG]: Handle CS5536 parts.
2N/A [FULOONG]: Handle GPIO and memory controller differences.
2N/A Parse machine type in $a2.
2N/A * grub-core/boot/mips/startup_raw.S: Determine and save the
2N/A architecture.
2N/A * grub-core/bus/cs5536.c (gpiodump): Move to fwstart.S.
2N/A (grub_cs5536_init_geode): Remove gpio part. Conditionalise DIVIL
2N/A init on architecture type.
2N/A * grub-core/kern/mips/loongson/init.c (grub_machine_init): Init
2N/A SIS315E. Don't init at_keyboard on fuloong.
2N/A (grub_halt): Support Fuloong.
2N/A * grub-core/kern/mips/startup.S [LOONGSON]: Save $s7.
2N/A * grub-core/loader/mips/linux.c (LOONGSON_MACHTYPE): Removed.
2N/A (loongson_machtypes): New array.
2N/A (grub_cmd_linux) [GRUB_MACHINE_MIPS_LOONGSON]: Pass the right machine
2N/A type.
2N/A * grub-core/term/ns8250.c (serial_get_divisor): New parameter port and
2N/A config. All users updated. Handle CS5536 serial.
2N/A * grub-core/term/serial.c (grub_serial_register): Conditionalise
2N/A default port on machine type. Register serial as inactive.
2N/A * grub-core/video/sis315pro.c: New file.
2N/A * include/grub/cs5536.h (GRUB_CS5536_MSR_MAILBOX_CONFIG_ENABLED): New
2N/A definition.
2N/A (GRUB_CS5536_MSR_MAILBOX_CONFIG): Likewise.
2N/A (GRUB_CS5536_MSR_DIVIL_LEG_IO_UART1_COM1): Likewise.
2N/A (GRUB_CS5536_MSR_DIVIL_LEG_IO_UART2_COM3): Likewise.
2N/A (GRUB_CS5536_MSR_DIVIL_UART1_CONF): Likewise.
2N/A (GRUB_CS5536_MSR_DIVIL_UART2_CONF): Likewise.
2N/A * include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_SHUTDOWN_GPIO): Rename
2N/A to ...
2N/A (GRUB_CPU_YEELOONG_SHUTDOWN_GPIO): ... this.
2N/A * include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_YEELOONG): New
2N/A definition.
2N/A (GRUB_ARCH_MACHINE_FULOONG): Likewise.
2N/A (grub_arch_machine): New extern var.
2N/A * include/grub/mips/loongson/serial.h
2N/A (GRUB_MACHINE_SERIAL_DIVISOR_115200): Renamed to ...
2N/A (GRUB_MACHINE_SERIAL_PORT0_DIVISOR_115200): ... this.
2N/A (GRUB_MACHINE_SERIAL_PORT): Renamed to ...
2N/A (GRUB_MACHINE_SERIAL_PORT0): ... this.
2N/A (GRUB_MACHINE_SERIAL_PORT2_DIVISOR_115200): New definition.
2N/A (GRUB_MACHINE_SERIAL_PORT1): Likewise.
2N/A (GRUB_MACHINE_SERIAL_PORT2): Likewise.
2N/A (GRUB_MACHINE_SERIAL_PORTS): Include ports 1 and 2.
2N/A * include/grub/term.h (grub_term_register_input_inactive): New inline
2N/A function.
2N/A (grub_term_register_output_inactive): Likewise.
2N/A * include/grub/video.h (grub_video_driver_id): New value
2N/A GRUB_VIDEO_DRIVER_SIS315PRO.
2N/A * util/grub-mkimage.c (image_target_desc): Rename name to dirname.
2N/A New field "names". All users updated.
2N/A New field value IMAGE_FULOONG_FLASH.
2N/A (generate_image): USe separate fwstart hashes for yeeloong and fuloong.
2N/A
2N/A2011-05-14 Jordan Uggla <jordan.uggla@gmail.com>
2N/A
2N/A * docs/grub.texi (Invoking grub-install): Fix additional outdated claims
2N/A and add some clarification.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Autoload gzio since it's needed on some
2N/A platforms if kernel is compressed.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
2N/A unused modules since currently referrence counter isn't reliable and
2N/A there isn't much memory to recover there anyway.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
2N/A rather than resetting it to allow modules to reference themselves
2N/A in init.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
2N/A counter on dependencies since grub_dl_unref already handles this.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno
2N/A on error if not already done.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix few potential memory misusage.
2N/A
2N/A * grub-core/font/font.c (load_font_index): Don't free char_index to
2N/A avoid double free.
2N/A (grub_font_load): Zero-fill font at alloc for safety.
2N/A Close file on error.
2N/A (free_font): Free bmp_idx.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Installation): Fix several outdated claims.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handle module_license on windows.
2N/A
2N/A * util/grub-pe2elf.c (MODLICENSE_SECTION): New definition. All following
2N/A sections shifted.
2N/A (insert_string): Make argument const char * instead of char *.
2N/A (write_section_data): Handle long section names.
2N/A Handle module_license.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly
2N/A handle class-free menuentries.
2N/A (grub_normal_add_menu_entry): Add a check to be sure.
2N/A
2N/A2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between
2N/A PgUp and PgDown.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Bump version to 1.99.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Give ATA device a bit more time on first try in order to allow disks
2N/A to spin up.
2N/A
2N/A * grub-core/disk/ata.c (grub_atapi_identify): Use GRUB_ATA_TOUT_DEV_INIT
2N/A if dev->present is 1. Reset dev->present on failure.
2N/A (grub_ata_device_initialize): Set dev->present to 1.
2N/A * include/grub/ata.h (GRUB_ATA_TOUT_DEV_INIT): New value.
2N/A (grub_ata_device): New member 'present'.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Update hash.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Flush caches on DMA memory.
2N/A
2N/A * grub-core/kern/mips/cache.S (grub_arch_sync_dma_caches): New function.
2N/A * grub-core/bus/pci.c (grub_memalign_dma32): Flush caches.
2N/A (grub_dma_free): Likewise.
2N/A * include/grub/cache.h (grub_arch_sync_dma_caches): New declaration.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3
2N/A to avoid asm treating ld and sd as macros.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/mips/startup_raw.S: Flush cache after loading
2N/A decompressor.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
2N/A grub_decompress_core since later would fail if grub_decompress_core
2N/A is too far.
2N/A
2N/A2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
2N/A R_MIPS_JALR since it's used by newer compiler.
2N/A
2N/A2011-05-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Correctly handle the Linux in root.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set
2N/A file_path to 0 for surety.
2N/A (grub_chainloader_boot): Set exit_data to NULL.
2N/A Unset the loader once done.
2N/A (grub_cmd_chainloader): Fix confusing error message if file is empty.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (fetch_key): Make a printf on
2N/A unknown key into a dprintf.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort
2N/A on first non-existant partition.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
2N/A openning fails.
2N/A Reported by: Mark Korenberg.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible
2N/A overflow.
2N/A
2N/A2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (main): Explicitely flush and sync the output
2N/A before closing to ensure that it will be readable by grub-setup.
2N/A
2N/A2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
2N/A (devpath_1): Use MAKE_PIWG_PATH.
2N/A (devpath_2): Likewise.
2N/A (devpath_3): Likewise.
2N/A (devpath_4): Likewise.
2N/A (devpath_5): Likewise.
2N/A (devpath_6): Likewise.
2N/A
2N/A The appleldr.mod was checked that to be binary identical to previous
2N/A version.
2N/A
2N/A2011-05-05 Zach <mikezackles>
2N/A
2N/A Support 2010 Macbooks.
2N/A
2N/A * grub-core/loader/efi/appleloader.c (devpath_6): New variable.
2N/A (devs): Add devpath_6.
2N/A
2N/A2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
2N/A /dev/random. /dev/urandom is good enough for our purposes (salting).
2N/A
2N/A2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.
2N/A
2N/A2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
2N/A hexadecimal.
2N/A
2N/A2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
2N/A and not 0 on failure.
2N/A
2N/A2011-05-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
2N/A GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe
2N/A disk; otherwise grub_fs_probe will not fall back to the next
2N/A filesystem.
2N/A (grub_pxefs_open): Likewise, for consistency.
2N/A Reported and tested by: Ezekiel Grave.
2N/A
2N/A2011-05-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * tests/partmap_test.in: Don't hardcode path to parted.
2N/A Reported by: Peter Hjalmarsson. Fixes Savannah bug #33150.
2N/A
2N/A2011-05-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
2N/A of `ls' to find out which devices are available.
2N/A
2N/A2011-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
2N/A than source address for efi mmap buffer.
2N/A
2N/A2011-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
2N/A wrong action on non-detecting the magic.
2N/A
2N/A2011-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
2N/A already supplied by another part of the module (fixes compilation on
2N/A FreeBSD).
2N/A
2N/A2011-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
2N/A match the one used by mdadm.
2N/A
2N/A2011-04-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * po/README: Add instructions for creating po/LINGUAS.
2N/A
2N/A2011-04-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Add "SEE ALSO" sections to most man pages. Fixes Debian bug
2N/A #551428.
2N/A
2N/A * docs/man/grub-editenv.h2m (SEE ALSO): New section.
2N/A * docs/man/grub-emu.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-fstest.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-install.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-macho2img.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-menulst2cfg.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkconfig.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkdevicemap.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkfont.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mklayout.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mknetdir.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkpasswd-pbkdf2.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkrelpath.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-mkrescue.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-ofpathname.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-pe2elf.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-probe.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-reboot.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-script-check.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-set-default.h2m (SEE ALSO): Likewise.
2N/A * docs/man/grub-setup.h2m (SEE ALSO): Likewise.
2N/A
2N/A2011-04-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c
2N/A (grub_find_root_device_from_mountinfo): Remove non-virtual-device
2N/A test that was incorrectly reintroduced in r3214.
2N/A Reported by: Ian Dall. Fixes Savannah bug #33133.
2N/A
2N/A2011-04-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix stack pointer handling in 16-bit relocator.
2N/A
2N/A * grub-core/lib/i386/relocator16.S (grub_relocator16_start): Move
2N/A grub_relocator16_sp to %esp rather than %ss, and zero-extend it.
2N/A Fixes Ubuntu bug #683904.
2N/A
2N/A2011-04-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Bump version to 1.99~rc2.
2N/A
2N/A2011-04-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/dl.h [ASM_FILE]: Adapt for assembly.
2N/A * grub-core/lib/i386/setjmp.S: Add missing GRUB_MOD_LICENSE.
2N/A * grub-core/lib/x86_64/setjmp.S: Likewise.
2N/A * grub-core/lib/mips/setjmp.S: Likewise.
2N/A * grub-core/lib/powerpc/setjmp.S: Likewise.
2N/A * grub-core/lib/sparc64/setjmp.S: Likewise.
2N/A
2N/A2011-04-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
2N/A * grub-core/lib/efi/datetime.c: Likewise.
2N/A
2N/A2011-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
2N/A New function.
2N/A (grub_util_biosdisk_close): Use grub_util_biosdisk_flush.
2N/A * include/grub/emu/hostdisk.h (grub_util_biosdisk_flush): New proto.
2N/A * util/grub-setup.c (setup): Use grub_util_biosdisk_flush.
2N/A
2N/A2011-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
2N/A bitmap.
2N/A (grub_gfxterm_term_init): Likewise.
2N/A
2N/A2011-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Take into account the decorations the computing menu entry width.
2N/A
2N/A * grub-core/gfxmenu/widget-box.c (get_border_width): New function.
2N/A (grub_gfxmenu_create_box): Register get_border_width.
2N/A * grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width
2N/A if available.
2N/A * include/grub/gfxwidgets.h (grub_gfxmenu_box): New member
2N/A get_border_width.
2N/A
2N/A2011-04-18 Endres Puschner <code@e7p.de>
2N/A
2N/A * grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
2N/A Don't skip first class.
2N/A
2N/A2011-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
2N/A chunks.
2N/A * include/grub/err.h (grub_err_t): New enum value GRUB_ERR_BUG.
2N/A
2N/A2011-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Complete 64-bit division support.
2N/A
2N/A * grub-core/kern/misc.c (grub_divmod64): Rename to ...
2N/A (grub_divmod64_full): ... this. Support 64-bit divisor and reminder.
2N/A * include/grub/misc.h (grub_divmod64): Rename to ...
2N/A (grub_divmod64_full): ... this.
2N/A (grub_divmod64): New inline function.
2N/A
2N/A2011-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Add forgotten comma.
2N/A
2N/A2011-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Update fwstart.img hash after
2N/A performing the necessary test.
2N/A
2N/A2011-04-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
2N/A (kfreebsd.elf): Likewise.
2N/A (pc-chainloader.elf): Likewise.
2N/A (ntldr.elf): Likewise.
2N/A
2N/A2011-04-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Identify RAID by its UUID rather than (guessed) name.
2N/A
2N/A * grub-core/disk/raid.c (ascii2hex): New function.
2N/A (grub_raid_open): Accept mduuid/%s specification.
2N/A * grub-core/kern/emu/getroot.c (get_mdadm_name): Revamped into ...
2N/A (get_mdadm_uuid): ... this.
2N/A (grub_util_get_grub_dev): Use mduuid/%s if UUID is available.
2N/A
2N/A2011-04-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gfxmenu/gui_image.c (rescale_image): Don't attempt to scale
2N/A to negative size.
2N/A
2N/A2011-04-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Add rootflags=subvol=<name> if / is on a
2N/A btrfs subvolume.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2011-04-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Rewrite /proc/self/mountinfo handling to cope with bind-mounts and
2N/A move-mounts appearing out of order. Fixes Ubuntu bug #738345.
2N/A
2N/A * grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
2N/A Build a list of relevant visible mounts using the mnt_id and
2N/A parent_mnt_id fields, and then scan that list at the end.
2N/A
2N/A2011-04-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (normal): New section.
2N/A (normal_exit): New section.
2N/A (Embedded configuration): Add reference to normal.
2N/A (GRUB only offers a rescue shell): Likewise.
2N/A * docs/grub-dev.texi (Error Handling): Fix typo.
2N/A
2N/A2011-04-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * NEWS: Drop obsolete entry about probe-only btrfs support.
2N/A
2N/A2011-04-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/import_gcry.py: Fix typo.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * NEWS: Add btrfs support.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-04-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A BtrFS support. Written by me (Vladimir) with important bugfixes and
2N/A even more important testing by Colin.
2N/A
2N/A * Makefile.util.def (libgrubmods.a): Add crc.c and gzio.c
2N/A * grub-core/Makefile.core.def (btrfs): Add crc.c.
2N/A * grub-core/fs/btrfs.c: Stub replaced with real implementation.
2N/A * grub-core/io/gzio.c (grub_gzio): New fields mem_input_size,
2N/A mem_input_off and mem_input. All users updated to accept in-RAM input.
2N/A (gzio_seek): New function.
2N/A (test_zlib_header): Likewise.
2N/A (grub_gzio_read): Likewise.
2N/A (grub_zlib_decompress): Likewise.
2N/A * grub-core/kern/emu/getroot.c (grub_find_root_device_from_mountinfo):
2N/A Accept partial and non-virtual mounts.
2N/A (grub_guess_root_device): Do rescanning after device_from_mountinfo to
2N/A avoid receiving /dev/dm-X as device.
2N/A * grub-core/kern/emu/misc.c (grub_make_system_path_relative_to_its_root):
2N/A Handle bind and partial mounts.
2N/A * grub-core/lib/crc.c: New file.
2N/A * include/grub/deflate.h: Likewise.
2N/A * include/grub/emu/misc.h (grub_find_root_device_from_mountinfo): New
2N/A proto.
2N/A * include/grub/lib/crc.h: New file.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Implement automatic module license checking according to new GNU
2N/A guidelines.
2N/A
2N/A * grub-core/kern/dl.c (grub_dl_check_license): New function.
2N/A (grub_dl_load_core): Use grub_dl_check_license.
2N/A * include/grub/dl.h (GRUB_MOD_SECTION): New macro.
2N/A (GRUB_MOD_LICENSE): Likewise.
2N/A (GRUB_MOD_DUAL_LICENSE): Likewise.
2N/A All modules updated.
2N/A
2N/A2011-04-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set
2N/A reserved_first_sector to 1. btrfs reserves plenty of space for boot
2N/A loaders.
2N/A Reported by: Gene Cumm. Fixes Ubuntu bug #757446.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-fstest.c (cmd_cmp): Check that sizes match.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-fstest.c (read_file): Report GRUB error if file opening
2N/A failed.
2N/A
2N/A2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/file.c (grub_file_open): Don't take into account the
2N/A parenthesis in the middle of the filename.
2N/A
2N/A2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
2N/A rather than trying to put initrd way too high.
2N/A Reported by: Ryan Lortie <desrt@desrt.ca>
2N/A
2N/A2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/mips/yeeloong/fwstart.S (no_cs5536): Put back
2N/A improperly removed string.
2N/A
2N/A2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_data): New member
2N/A is_disk.
2N/A (grub_util_biosdisk_open): Don't apply ioctl on non-disk devices.
2N/A (open_device) Likewise.
2N/A (grub_util_biosdisk_close): Likewise.
2N/A Reported by: Mark Korenberg.
2N/A
2N/A2011-04-10 Alexander Kurtz <kurtz.alex@googlemail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in: Add missing quotes.
2N/A
2N/A2011-04-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate
2N/A is NULL.
2N/A
2N/A2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Dynamically count the number of lines for the lower banner.
2N/A
2N/A * grub-core/normal/menu_entry.c (per_term_screen): New member
2N/A num_entries.
2N/A (print_down): Use num_entries.
2N/A (update_screen): Likewise.
2N/A (grub_menu_entry_run): Set num_entries.
2N/A * grub-core/normal/menu_text.c (menu_viewer_data): New member
2N/A num_entries.
2N/A (grub_print_message_indented): Move real part to ...
2N/A (grub_print_message_indented_real): ... here. Additional argument
2N/A dry_run.
2N/A (draw_border): Additional argument num_entries.
2N/A (print_message): Additional argument dry_run.
2N/A (print_entries): Receive menu viewer data.
2N/A (grub_menu_init_page): New argment num_entries.
2N/A (menu_text_set_chosen_entry): Use num_entries.
2N/A (grub_menu_try_text): Likewise.
2N/A * grub-core/normal/term.c (print_ucs4_terminal): New argument dry_run.
2N/A All users updated.
2N/A (grub_ucs4_count_lines): New function.
2N/A * include/grub/term.h (grub_term_cursor_x): Moved from here ..
2N/A * grub-core/normal/menu_text.c (grub_term_cursor_x): ... to here.
2N/A * include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): Removed.
2N/A (grub_term_border_height): Likewise.
2N/A (grub_term_num_entries): Likewise.
2N/A
2N/A2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/mips/yeeloong/fwstart.S: Fix address to error message.
2N/A Remove now unused string.
2N/A
2N/A2011-04-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub-dev.texi (Finding your way around): Update for 1.99
2N/A build system.
2N/A (Getting started): GRUB is developed in Bazaar now, not Subversion.
2N/A
2N/A (Comment): Fix typo.
2N/A (Getting started): General copy-editing.
2N/A (Typical Development Experience): Likewise.
2N/A (Error Handling): Likewise.
2N/A (Video API): Likewise.
2N/A
2N/A2011-04-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub-dev.texi: Replace MoinMoin syntax with Texinfo syntax
2N/A throughout.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (main): Handle special naming of yeeloong
2N/A directory.
2N/A
2N/A2011-04-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub-dev.texi: Fix spelling of "developer" throughout.
2N/A * grub-core/fs/i386/pc/pxe.c (parse_dhcp_vendor): Fix spelling of
2N/A "development".
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (run): Use grub_memcpy rather than
2N/A grub_strcpy since the lines aren't necessarily 0-terminated.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/legacy_parse.c (legacy_commands): Find doesn't set
2N/A root on legacy.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/probe.c (options): Argument to set isn't optional.
2N/A (GRUB_MOD_INIT): DEVICE isn't optional.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
2N/A word on new line if it's too long anyway. Fixes a hang.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/util/raid.h (grub_util_raid_getmembers): Make argument
2N/A const.
2N/A * util/grub-setup.c (main): Reuse md device name if available.
2N/A * util/raid.c (grub_util_raid_getmembers): Receive device name and
2N/A not GRUB name as argument.
2N/A Based on patch by: Florian Wagner <fwagner>.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
2N/A Place mbi on low memory for better compatibility.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efiemu/efiemu.h: Use grub_memory_hook_t type.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2011-04-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * autogen.sh: Ensure that collate and ctype locale is C.
2N/A * conf/Makefile.common: Likewise.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu.c: Add missing include.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c [GRUB_UTIL]: Add missing include.
2N/A
2N/A2011-04-08 Martin Zuther <mzuther@mzuther.de>
2N/A
2N/A * util/grub-mkconfig.in: Ignore emacsen backup.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not
2N/A on open.
2N/A (grub_util_biosdisk_close): Likewise.
2N/A
2N/A2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing
2N/A const attribute and use grub_isdigit.
2N/A
2N/A2011-04-06 Andrey <dev_null@ukr.net>
2N/A
2N/A * grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
2N/A gcc warning.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
2N/A useful grub_dprintf's.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/00_header.in: Don't use LANG unless unifont is available.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Output errors if theme loading failed.
2N/A
2N/A * grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Move the call to
2N/A grub_gfxterm_fullscreen on error paths to ...
2N/A * grub-core/normal/menu.c (menu_init): ...here. Wait after showing
2N/A theme loading error.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more
2N/A space for older compilers.
2N/A (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.
2N/A
2N/A2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares
2N/A and report them as not RAID members since they are useless for GRUB.
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Increase LVM implementation robustness in order not to crash on
2N/A configurations like pvmove. Previously code assumed that in some places
2N/A only lvs or only pvs are used whereas it seems that they are used
2N/A interchangeably.
2N/A
2N/A * grub-core/disk/lvm.c (read_node): New function.
2N/A (read_lv): Use read_node.
2N/A (grub_lvm_scan_device): Use only first mirror on pvmove'd lvs.
2N/A Match volumes only at the end when all lvs are found. Take both
2N/A pvs (first) and lvs (second) into account.
2N/A * include/grub/lvm.h (grub_lvm_segment): Merge fields stripe_* and
2N/A mirror_* into node_*. All users updated.
2N/A (grub_lvm_stripe): Merge this ...
2N/A (grub_lvm_mirror): ... and this ...
2N/A (grub_lvm_node): ... into this. All users updated.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
2N/A of function to allow further scanning for LVMs.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
2N/A on failed seek as it breaks open fd reusage.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Add a recommendation to use --recheck before
2N/A reporting bugs.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Vendor power-on buttons): Explain how the numbers
2N/A are obtained.
2N/A
2N/A2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A GRUB developper manual based on existing Internals section and
2N/A contributions by the various authors with active copyright assignment.
2N/A
2N/A * docs/Makefile.am (info_TEXINFOS): Add grub-dev.texi.
2N/A * docs/font_char_metrics.png: New file.
2N/A * docs/font_char_metrics.txt: Likewise.
2N/A * docs/grub-dev.texi: Likewise.
2N/A * docs/grub.texi (Internals): Move from here ...
2N/A * docs/grub-dev.texi: ... here.
2N/A
2N/A2011-04-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Store the loopback device as data on loopback grub_disk structures,
2N/A rather than the file it points to. This fixes use of freed memory
2N/A if an existing loopback device is replaced.
2N/A
2N/A * grub-core/disk/loopback.c (grub_loopback_open): Store dev in
2N/A disk->data, not dev->file.
2N/A (grub_loopback_read): Adjust file assignment to match.
2N/A Fixes Ubuntu bug #742967.
2N/A
2N/A2011-04-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak
2N/A when replacing an existing device.
2N/A
2N/A2011-04-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some
2N/A memory corruptions.
2N/A
2N/A * grub-core/fs/jfs.c (struct grub_jfs_diropen): Interpret bytes as
2N/A unsigned.
2N/A (grub_jfs_lookup_symlink): Make ino a grub_uint32_t rather than int.
2N/A (grub_jfs_blkno): Use 64-bit quantities for block sectors.
2N/A (grub_jfs_read_inode): Likewise.
2N/A (grub_jfs_opendir): Likewise. Remove now useless casts.
2N/A (grub_jfs_getent): Likewise.
2N/A Make ino a grub_uint32_t rather than int.
2N/A (grub_jfs_mount): Ensure that blksize and log2_blksize are consistent.
2N/A (grub_jfs_read_file): Use 64-bit quantities when necessary. Replace
2N/A division and module with bit operations.
2N/A (grub_jfs_find_file): Make ino a grub_uint32_t.
2N/A (grub_jfs_lookup_symlink): Likewise. Use 64-bit quantities
2N/A
2N/A2011-04-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (run): Quieten uninitialised
2N/A warning. (This was in fact always initialised before use, but GCC
2N/A wasn't smart enough to prove that.)
2N/A * grub-core/script/lexer.c (grub_script_lexer_yywrap): Likewise.
2N/A
2N/A2011-03-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte
2N/A stack alignment.
2N/A (efi_wrap_1): Likewise.
2N/A (efi_wrap_2): Likewise.
2N/A (efi_wrap_3): Likewise.
2N/A (efi_wrap_4): Likewise.
2N/A (efi_wrap_5): Likewise.
2N/A (efi_wrap_6): Likewise.
2N/A (efi_wrap_10): Likewise.
2N/A Based on information by: Red Hat/Peter Jones.
2N/A
2N/A2011-03-31 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
2N/A set-but-not-used variable.
2N/A
2N/A2011-03-31 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Be more explicit about
2N/A GRUB_DEFAULT, and add an example.
2N/A Reported by: Leslie Rhorer.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Commands): Link to "GRUB only offers a rescue
2N/A shell".
2N/A
2N/A2011-03-30 Alexey Shvetsov <alexxy@gentoo.org>
2N/A
2N/A * util/grub.d/10_linux.in: Add gentoo-specific config filename.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Try alternative config filenames where
2N/A we parse config file.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2011-03-30 Alexey Shvetsov <alexxy@gentoo.org>
2N/A
2N/A * util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (insert_array): Add few potentially
2N/A useful grub_util_info.
2N/A (grub_raid_register): Likewise.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
2N/A Preserve partition number in mdadm code path.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add
2N/A few potentially useful grub_util_info.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (default): Use @example rather than nested
2N/A itemized lists to avoid breaking gendocs.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Future): Update.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Environment): New chapter.
2N/A (Changes from GRUB Legacy): Link to "Environment block" section for
2N/A details of limitations.
2N/A (Simple configuration): Likewise. Link to documentation of gfxmode
2N/A and gfxpayload variables from GRUB_GFXMODE and GRUB_GFXPAYLOAD
2N/A respectively.
2N/A (Shell-like scripting): Note that normal variables are stored in the
2N/A environment.
2N/A (gettext): Link to documentation of lang and locale_dir.
2N/A (list_env): New section.
2N/A (load_env): New section.
2N/A (save_env): New section.
2N/A
2N/A (Reporting bugs): Fix typo.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi: Correctly use "terminal_input" and not "terminal" in
2N/A the example.
2N/A
2N/A2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (set_scancodes)
2N/A [!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Menu-specific commands): Remove some semantics
2N/A that were true in GRUB Legacy but not in GRUB 2.
2N/A (submenu): New section.
2N/A (false): New section.
2N/A (read): New section.
2N/A (true): New section.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Changes from GRUB Legacy): Minor proofreading.
2N/A
2N/A2011-03-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Explain some of the
2N/A current limitations of grub-mkconfig.
2N/A Reported by: Leslie Rhorer.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Old macs search for boot.efi rather than for bootia32.efi.
2N/A
2N/A * util/grub-install.in: Copy bootia32.efi to boot.efi.
2N/A * util/grub-mkrescue.in: Likewise.
2N/A Suggested by: Peter Jones.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
2N/A (grub_lvm_segment): New fields 'type', 'mirror_count' and 'mirrors'.
2N/A (grub_lvm_mirror): New struct.
2N/A * grub-core/disk/lvm.c (grub_lvm_checkvalue): Commented out.
2N/A (grub_lvm_iterate): Iterate only visible volumes.
2N/A (grub_lvm_read): Factor out to ..
2N/A (read_lv): ... this. Support mirrors.
2N/A (grub_lvm_read): New wrapper function.
2N/A (grub_lvm_scan_device): Parse mirrors. Skip everything that isn't
2N/A stripped or mirrored.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms.
2N/A
2N/A2011-03-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (loopback): New section.
2N/A
2N/A2011-03-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting
2N/A removed -p option.
2N/A
2N/A2011-03-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (BIOS installation): New section, partly based on
2N/A previous text in other sections.
2N/A (Installing GRUB using grub-install): Replace BIOS discussion with a
2N/A cross-reference.
2N/A (Images): Likewise.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (find_partition_start)
2N/A [HAVE_DIOCGDINFO]: Add safety checks.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
2N/A per default compiled in kernel and prior to 8.0 isn't shipped at all.
2N/A
2N/A2011-03-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If
2N/A real_sb->size is zero (e.g. RAID-0), get the disk size from
2N/A real_sb->data_size instead.
2N/A Fixes Ubuntu bug #743136.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/misc.c (grub_normal_print_device_info): Use correct
2N/A printf clauses for printing size and start.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow.
2N/A Reported and tested by: Timothy Nikkel.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/gfxterm.c (dirty_region_add): Move core part to ...
2N/A (dirty_region_add_real): ... this.
2N/A (dirty_region_add): Don't discard margin refresh when performing
2N/A scheduled repaint.
2N/A
2N/A2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (allocate_regstart)
2N/A [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Avoid grub_dprintf since not all
2N/A terminals are capabple of malloc-free operation.
2N/A (allocate_inreg) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
2N/A (malloc_in_range) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
2N/A
2N/A2011-03-29 Mario Limonciello <Mario_Limonciello@Dell.com>
2N/A
2N/A * util/grub-setup.c: Copy the partition table zone if floppy support
2N/A is disabled, even if no partition table is found.
2N/A
2N/A Otherwise, the BIOS on Dell Latitude E series laptops will freeze
2N/A during POST if an invalid partition table is contained in the PBR
2N/A of the active partition when GRUB is installed to a partition.
2N/A
2N/A2011-03-28 Colin Watson <cjwatson@debian.org>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale
2N/A comment.
2N/A
2N/A2011-03-28 Colin Watson <cjwatson@debian.org>
2N/A
2N/A * grub-core/disk/raid.c (grub_raid_register): Adjust debug message
2N/A to be specific about what kind of RAID device we're scanning for.
2N/A
2N/A2011-03-26 Seth Goldberg <seth.goldberg@oracle.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't
2N/A return freed string.
2N/A
2N/A2011-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label.
2N/A
2N/A2011-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use libgeom on FreeBSD to detect partitions.
2N/A
2N/A * Makefile.util.def (grub-mkimage): Add LIBGEOM to ldadd.
2N/A (grub-mkrelpath): Likewise.
2N/A (grub-script-check): Likewise.
2N/A (grub-editenv): Likewise.
2N/A (grub-mkpasswd-pbkdf2): Likewise.
2N/A (grub-fstest): Likewise.
2N/A (grub-mkfont): Likewise.
2N/A (grub-mkdevicemap): Likewise.
2N/A (grub-probe): Likewise.
2N/A (grub-setup): Likewise.
2N/A (grub-ofpathname): Likewise.
2N/A (grub-mklayout): Likewise.
2N/A (example_unit_test): Likewise.
2N/A (grub-menulst2cfg): Likewise.
2N/A * grub-core/Makefile.core.def (grub-emu): Likewise.
2N/A (grub-emu-lite): Likewise.
2N/A * configure.ac: Check for -lgeom on FreeBSD and set LIBGEOM.
2N/A * grub-core/kern/emu/hostdisk.c [FreeBSD]: Include libgeom.h. Don't
2N/A define HAVE_DIOCGDINFO.
2N/A (follow_geom_up) [FreeBSD]: New function.
2N/A (find_partition_start) [FreeBSD]: Rewritten using follow_geom_up.
2N/A (convert_system_partition_to_system_disk) [FreeBSD]: Likewise.
2N/A (grub_util_biosdisk_get_grub_dev) [FreeBSD]: Use FreeBSD path
2N/A unconditionally of HAVE_DIOCGDINFO.
2N/A
2N/A2011-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix FreeBSD compilation problem.
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (MAJOR) [FreeBSD]: New definition.
2N/A (FLOPPY_MAJOR) [FreeBSD]: Likewise.
2N/A
2N/A2011-03-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini):
2N/A Switch back to page zero before loading a kernel, since some kernel
2N/A drivers expect that.
2N/A Thanks to: Felix Kuehling.
2N/A
2N/A2011-03-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr)
2N/A [DEBUG_RELOCATOR]: Reuse grub_mm_check.
2N/A (grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise.
2N/A
2N/A2011-03-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/mm.h (GRUB_MM_CHECK): Rename to ...
2N/A (grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE.
2N/A
2N/A2011-03-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (allocate_inreg): Avoid dprintf unless
2N/A DEBUG_RELOCATOR is defined since gfxterm can't cope with output when
2N/A malloc is disabled.
2N/A
2N/A2011-03-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account
2N/A for modules headers when counting the needed allocation size.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8
2N/A if no ASCII character is found to prevent crash.
2N/A
2N/A2011-03-23 Alexander Kurtz <kurtz.alex@googlemail.com>
2N/A
2N/A * grub-core/video/bitmap.c (match_extension): Ignore case.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/script/parser.y: Declare "time" as valid argument.
2N/A
2N/A2011-03-23 Peter Jones <pjones@redhat.com>
2N/A
2N/A Fix incorrect assert failure reporting.
2N/A
2N/A * grub-core/tests/example_functional_test.c (example_test): Add
2N/A a failure comment.
2N/A * grub-core/tests/lib/test.c (add_failure): Renamed to ...
2N/A (failure_start): ...this. Check that malloc succeeded.
2N/A Don't call xvasprintf. Return failure struct.
2N/A (failure_append_vtext): New function.
2N/A (failure_append_text): Likewise.
2N/A (add_failure): Likewise.
2N/A (grub_test_assert_helper): Likewise.
2N/A * include/grub/test.h (grub_test_assert_helper): New declaration.
2N/A (grub_test_assert): Macro rewritten.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/i386/pc/biosnum.c: Add missing include.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/usbms.c (grub_usbms_reset): Transform USB-style error
2N/A into GRUB-style one.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Return usb-style
2N/A error and not grub_errno.
2N/A * grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
2N/A GRUB_USB_SPEED_NONE in case of failure and not the error code.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/i386/pc/cfgtables.c
2N/A (grub_machine_efiemu_init_tables): Make declaration a prototype.
2N/A * grub-core/loader/xnu.c (grub_xnu_lock): Likewise.
2N/A (grub_xnu_unlock): Likewise.
2N/A * grub-core/normal/cmdline.c (grub_cmdline_get/cl_set_pos_all): Likewise.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/usb.c (attach_hooks): Make static.
2N/A * grub-core/bus/usb/usbhub.c (hubs): Likewise.
2N/A * grub-core/commands/hashsum.c (aliases): Likewise.
2N/A * grub-core/commands/setpci.c (pci_registers): Likewise.
2N/A * grub-core/disk/usbms.c (attach_hook): Likewise.
2N/A * grub-core/fs/zfs/zfs.c (decomp_table): Likewise.
2N/A (zio_checksum_table): Likewise.
2N/A * grub-core/gettext/gettext.c (grub_gettext_msg_list): Likewise.
2N/A * grub-core/gfxmenu/gfxmenu.c (cached_view): Likewise.
2N/A * grub-core/lib/legacy_parse.c (legacy_commands): Likewise.
2N/A * grub-core/lib/relocator.c (leftovers): Likewise.
2N/A (extra_blocks): Likewise.
2N/A * grub-core/loader/i386/bsd.c (relocator): Likewise.
2N/A * grub-core/loader/i386/multiboot_mbi.c (modules): Likewise.
2N/A (modules_last): Likewise.
2N/A * grub-core/loader/i386/xnu.c (table_aliases): Likewise.
2N/A (devices): Likewise.
2N/A * grub-core/loader/multiboot_mbi2.c (modules): Likewise.
2N/A (modules_last): Likewise.
2N/A * grub-core/normal/auth.c (users): Likewise.
2N/A * grub-core/normal/context.c (initial_menu): Likewise.
2N/A (current_menu): Likewise.
2N/A * grub-core/normal/crypto.c (crypto_specs): Likewise.
2N/A * grub-core/term/serial.c (grub_serial_ports): Likewise.
2N/A (grub_serial_terminfo_input_template): Likewise.
2N/A (grub_serial_terminfo_output_template): Likewise.
2N/A (grub_serial_terminfo_input): Likewise.
2N/A (grub_serial_terminfo_output): Likewise.
2N/A (registered): Likewise.
2N/A * grub-core/term/usb_keyboard.c (attach_hook): Likewise.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/video/bochs.c (grub_video_bochs_setup): Use
2N/A grub_video_mode_type_t.
2N/A * grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise.
2N/A * grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise.
2N/A * grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise.
2N/A
2N/A2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Correct the x86-64 name as x86_64.
2N/A
2N/A2011-03-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the
2N/A initial chunk read from the kernel always includes GRUB's multiboot
2N/A header, which is now outside the first sector.
2N/A
2N/A2011-03-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
2N/A cached mmap_size, so that this works correctly when called multiple
2N/A times.
2N/A Reported by: Daniel Kahn Gillmor. Should fix Debian bug #616638.
2N/A
2N/A2011-03-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Tidy up formatting.
2N/A
2N/A2011-03-07 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (zap_leaf_lookup):
2N/A Set-but-not-used variable removed.
2N/A
2N/A2011-02-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Workaround yet another IEEE1275 bug.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New enum value
2N/A GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS.
2N/A * grub-core/kern/ieee1275/mmap.c (grub_machine_mmap_iterate): Ignore
2N/A adress_cells and size:cells if GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS
2N/A is set.
2N/A * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
2N/A GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS on powermacs.
2N/A
2N/A2011-02-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/msdos.c (pc_partition_map_embed): Fix off by one
2N/A error.
2N/A
2N/A2011-02-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/20_linux_xen.in: Bail out early if linux_list is
2N/A empty, since in that case we can only generate either nothing or a
2N/A syntactically invalid configuration file.
2N/A Reported by: Michal Suchanek. Fixes Debian bug #612898.
2N/A
2N/A2011-02-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Kernel): Add reference to grub-mkrescue.
2N/A (Making a GRUB bootable CD-ROM): Likewise.
2N/A (Invoking grub-mkrescue): New section.
2N/A Reported by: Yann Dirson. Fixes Debian bug #612585.
2N/A
2N/A2011-02-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Remove unnecessary brackets from tr
2N/A arguments.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A Reported by: Jamie Heilman. Fixes Debian bug #612564.
2N/A
2N/A2011-02-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/file.h (not_easly_seekable): Rename to ...
2N/A (not_easily_seekable): ... this. Update all users.
2N/A
2N/A2011-01-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Making a GRUB bootable CD-ROM): Update to describe
2N/A grub-mkrescue.
2N/A
2N/A2011-01-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Refuse to create the images
2N/A bigger than the actual flash (512K) in Loongson machines. 512K is also
2N/A the biggest chip supported by them.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c: Include config-util.h explicitly.
2N/A
2N/A2011-01-22 Anthony DeRobertis <anthony@derobert.net>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Check
2N/A super_offset field.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Ignore install device on platforms
2N/A where it doesn't make sense. Always use UUIDs except on pc, efi and
2N/A sparc64.
2N/A Reported by: Daniel Kahn Gillmor.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/bonito.c (write_bases): Fix direction of the shift.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/bsdlabel.c: Include grub/emu/misc.h and not grub/util/misc.h.
2N/A (iterate_real): Don't rely on partition being non-NULL.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/script/argv.c (round_up_exp): unsigned is 32-bit on all
2N/A supported platforms. Put a compile time assert for this rather than
2N/A generate a warning with 32-bit shift.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/scsi.c (grub_scsi_read): Fix binary and check and make
2N/A logical expression more readable.
2N/A
2N/A2011-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (insert_array): Ensure uniqueness of p->number
2N/A even if some elements have a name.
2N/A Reported by: Alexander GQ Gerasiov.
2N/A
2N/A2011-01-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a
2N/A path unreadable if `grub-probe -t abstraction' fails, for example if
2N/A memberlist fails on an LVM volume group.
2N/A Reported by: Darius Jahandarie.
2N/A
2N/A2011-01-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Document
2N/A GRUB_PRELOAD_MODULES.
2N/A
2N/A2011-01-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Remove nonexistent grub-pbkdf2.
2N/A
2N/A2011-01-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Bump version to 1.99~rc1.
2N/A
2N/A2011-01-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkimage.c (generate_image): Check fwstart.img checksum
2N/A for safety.
2N/A
2N/A2011-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/mips/yeeloong/init.c (grub_machine_init): Init boot
2N/A module.
2N/A
2N/A2011-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (fwstart): Add lost LDFLAGS.
2N/A
2N/A2011-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and
2N/A diskdevid.
2N/A
2N/A2011-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix compilation on cygwin.
2N/A
2N/A * conf/Makefile.common (STRIPFLAGS_KERNEL): Add -F elf32-i386 and
2N/A -R .drectve on cygwin.
2N/A * conf/i386-pc-cygwin-img-ld.sc: Merge rdata and pdata into data.
2N/A * configure.ac: Use $(top_builddir) in TARGET_OBJ2ELF.
2N/A (COND_CYGWIN): New condition.
2N/A * grub-core/Makefile.am (%.mod): Set TARGET_OBJ2ELF.
2N/A * grub-core/genmod.sh.in: Use ${TARGET_OBJ2ELF} and
2N/A not @TARGET_OBJ2ELF@.
2N/A * util/grub-pe2elf.c (write_symbol_table): Use pe_symtab->type and not
2N/A type to determine whether aux is to be used.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Use the
2N/A realpath'ed device string.
2N/A Handle floppy (somewhat).
2N/A Issue error in unknown case rather than garbage.
2N/A Reported by: Axel Beckert.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/00_header.in (load_video): Handle the case when no video
2N/A drivers available.
2N/A Thanks to: Axel Beckert.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
2N/A variable. Fixes problem on big endian platforms.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (ieee1275_fb): Disable on sparc.
2N/A It doesn't work well there.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/context.c (grub_env_context_close): Silence spurious
2N/A warning.
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): Likewise.
2N/A * grub-core/partmap/msdos.c (pc_partition_map_embed): Use unsigned
2N/A counter.
2N/A
2N/A2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use alias->path rather than buggy "canon".
2N/A
2N/A * grub-core/disk/ieee1275/ofdisk.c (ofdisk_hash_add_real): New function.
2N/A (ofdisk_hash_add): New argument curcan. All users updated.
2N/A
2N/A2011-01-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Fall back to `true' if `makeinfo' does not exist.
2N/A
2N/A2011-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_load32): Apply
2N/A loadmask before doing any calculations. Use correct type for offset.
2N/A (grub_linux_load64): Likewise.
2N/A
2N/A2011-01-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mklayout.c (console_grub_equivalences_shift): Terminate
2N/A with NULL.
2N/A (console_grub_equivalences_unshift): Likewise.
2N/A Reported by: Daniel Dehennin.
2N/A
2N/A2011-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable.
2N/A (set_env_limn_ro): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * grub-core/hook/datehook.c (GRUB_MOD_INIT): Likewise. Change to
2N/A ARRAY_SIZE while on it.
2N/A (GRUB_MOD_FINI): Change to ARRAY_SIZE.
2N/A * grub-core/normal/context.c (grub_env_export): Move from here ...
2N/A * grub-core/kern/env.c (grub_env_export): ... here.
2N/A * grub-core/normal/context.c (grub_cmd_export): Skip exporting root and
2N/A prefix.
2N/A * grub-core/kern/main.c (grub_main): Export root and prefix.
2N/A * include/grub/env.h (grub_env_export): Export.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2011-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
2N/A Take into account space used by ELF sections and multiboot palette.
2N/A Reported by: Grégoire Sutre.
2N/A
2N/A2011-01-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * BUGS: New file.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Pass more appropriate video id to Linux.
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_linux_setup_video): Use
2N/A grub_video_get_driver_id and variable gfxpayloadforcelfb to
2N/A fill have_vga.
2N/A (grub_linux_boot): Rely on grub_linux_setup_video to fill have_vga and
2N/A shift params->lfb_size.
2N/A * include/grub/i386/linux.h: Make an enume out of have_vga values.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-menulst2cfg.c: Add missing include of misc.h.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as
2N/A separator and pass bootpath/devid even if only one of them is available.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't use post-4G memory on EFI even if 64-bit since some non-compliant
2N/A implementations bug on them.
2N/A
2N/A * grub-core/kern/efi/mm.c (grub_efi_allocate_pages): Skip post-4G
2N/A memory.
2N/A (filter_memory_map): Likewise.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables.
2N/A Reported by: nebuchadnezzar.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-kbdcomp.in: Add missing transform and bindir variables.
2N/A Reported by: nebuchadnezzar.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Submenu default support.
2N/A
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): New parameter
2N/A auto_boot. All users updated.
2N/A Declared static.
2N/A Handle chosen and default with submenus.
2N/A (grub_menu_execute_with_fallback): Declared static.
2N/A Don't notify failure if autobooted. Upper level does it.
2N/A (menuentry_eq): New function.
2N/A (get_entry_number): Use menuentry_eq.
2N/A (show_menu): New parameter "autobooted". All users updated.
2N/A (grub_show_menu): Likewise.
2N/A * include/grub/normal.h (grub_show_menu): Likewise.
2N/A * include/grub/menu.h (grub_menu_execute_entry): Removed.
2N/A (grub_menu_execute_with_fallback): Likewise.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mklayout.c (usage): Update help text.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/legacycfg.c (legacy_file): Trim the line.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-menulst2cfg.c (main): Trim the line.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
2N/A (grub_machine_init): Don't check amount of low memory as reportedly
2N/A INT 12h can be broken and if low memory is too low we wouldn't have
2N/A gotten into grub_machine_init anyway.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function.
2N/A (grub_machine_mmap_iterate): Take low memory into account
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
2N/A badfs.
2N/A Reported by: TiCPU.
2N/A
2N/A2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
2N/A members errors.
2N/A
2N/A2011-01-09 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub.d/10_netbsd.in (netbsd_load_fs_module): New function.
2N/A (netbsd_entry): Use netbsd_load_fs_module() to load filesystem module.
2N/A
2N/A2011-01-09 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Handle
2N/A openbsd and netbsd types being in part_bsd module.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * config.h.in (_LARGEFILE_SOURCE): Add missing define.
2N/A (_FILE_OFFSET_BITS): Likewise.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2011-01-08 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * configure.ac: Check for libdevmapper header.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
2N/A avoid aliasing.
2N/A (fzap_lookup): Likewise.
2N/A (dnode_get): Likewise.
2N/A (make_mdn): Likewise.
2N/A (zfs_mount): Likewise.
2N/A (fzap_iterate): Use temporary pointer to avoid aliasing.
2N/A (grub_zfs_read): Likewise.
2N/A * grub-core/loader/i386/xnu.c (grub_xnu_boot): Likewise.
2N/A * grub-core/loader/xnu.c (grub_cmd_xnu_kernel): Use void * for some
2N/A pointers to avoid aliasing.
2N/A (grub_cmd_xnu_kernel64): Likewise.
2N/A (grub_xnu_load_driver): Likewise.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
2N/A aliasing warning.
2N/A (grub_cmd_terminal_output): Likewise.
2N/A Reported and tested by: Grégoire Sutre.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
2N/A warning.
2N/A Reported and tested by: Grégoire Sutre.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Do CPU substitution even if it's specified explicitly.
2N/A Reported and tested by: Alain Greppin.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
2N/A Reported and tested by: Alain Greppin.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Satisfy some bison versions need for inttypes.h.
2N/A
2N/A * grub-core/lib/posix_wrap/inttypes.h: New file.
2N/A * grub-core/lib/posix_wrap/sys/types.h (int8_t): New type.
2N/A (int16_t): Likewise.
2N/A (int32_t): Likewise.
2N/A (int64_t): Likewise.
2N/A Reported and tested by: Alain Greppin.
2N/A
2N/A2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
2N/A Silence spurious warning.
2N/A Reported and tested by: Alain Greppin.
2N/A
2N/A2011-01-07 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * docs/grub.texi (Support automatic decompression): Update with xz
2N/A decompression support.
2N/A
2N/A2011-01-07 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Improve loaders' kernel command line handling.
2N/A
2N/A * grub-core/lib/cmdline.c: New file.
2N/A * include/grub/lib/cmdline.h: Likewise.
2N/A * grub-core/loader/i386/linux.c (grub_cmd_linux): Use
2N/A grub_create_loader_cmdline to create kernel command line.
2N/A * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2N/A * grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Likewise.
2N/A * grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_linux): Likewise.
2N/A * grub-core/Makefile.core.def (linux16): Add lib/cmdline.c on i386_pc.
2N/A (linux): Add lib/cmdline.c on common.
2N/A
2N/A2011-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
2N/A inopos might be unaligned.
2N/A
2N/A2011-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
2N/A endian transformations.
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
2N/A Based on report by: Doug Nazar.
2N/A
2N/A2011-01-07 Doug Nazar <nazard.michi@gmail.com>
2N/A
2N/A * grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
2N/A array->members[i].start_sector.
2N/A * grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.
2N/A
2N/A2011-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
2N/A Reported and tested by: Grégoire Sutre.
2N/A
2N/A2011-01-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
2N/A avoid causing test failures by clearing the screen.
2N/A
2N/A2011-01-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
2N/A Fix prefix check to handle the case where dir ends with a slash
2N/A (most significantly, "/" itself).
2N/A Reported by: Michael Vogt.
2N/A
2N/A2011-01-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Run terminfo_cls on initing terminfo output to clear the screen and
2N/A move the cursor to (0,0).
2N/A
2N/A * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_init_output):
2N/A Call grub_terminfo_output_init.
2N/A * grub-core/term/serial.c (grub_serial_term_output): Set .init.
2N/A * grub-core/term/terminfo.c (grub_terminfo_output_init): New function.
2N/A * include/grub/terminfo.h (grub_terminfo_output_init): New declaration.
2N/A
2N/A2011-01-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
2N/A only when needed.
2N/A
2N/A2011-01-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
2N/A CTRL.
2N/A
2N/A2011-01-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A The E820 type 5 is BADRAM, not EXEC_CODE.
2N/A
2N/A * grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
2N/A (GRUB_E820_BADRAM): New define.
2N/A * grub-core/loader/i386/linux.c (grub_linux_boot): Translate code
2N/A into reserved. Propagate BADRAM.
2N/A * grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
2N/A (GRUB_E820_BADRAM): New define.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/efi/relocator.c (grub_relocator_firmware_fill_events):
2N/A Ignore the memory post-4G.
2N/A (grub_relocator_firmware_alloc_region): Additional debug statement.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Check md/%s
2N/A names.
2N/A Reported by: David Pravec.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy
2N/A BIOSes.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy):
2N/A Prevent overflow.
2N/A (grub_reed_solomon_recover): Likewise.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (main) [TEST]: Reactivate normal test.
2N/A
2N/A2011-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (scratch) [! STANDALONE]: Remove leftover
2N/A variable.
2N/A
2N/A2011-01-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/legacycfg.c (GRUB_MOD_INIT): Fix typo in
2N/A descriptions of extract_legacy_entries_source and
2N/A extract_legacy_entries_configfile.
2N/A Reported by: Seung Soo, Ha.
2N/A
2N/A2011-01-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions
2N/A on devices that do not implement function 0.
2N/A
2N/A2011-01-03 Dave Vasilevsky <dave@vasilevsky.ca>
2N/A
2N/A * grub-core/fs/hfsplus.c: Make parent unsigned.
2N/A (grub_hfsplus_cmp_catkey): Don't compare using subtraction, it
2N/A overflows.
2N/A (grub_hfsplus_cmp_extkey): Likewise
2N/A
2N/A2011-01-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Correctly use bootloader_id and not
2N/A GRUB_DISTRIBUTOR on efibootmgr line.
2N/A
2N/A2011-01-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkfont.c (main): Report errors in FT_New_Face.
2N/A
2N/A2010-12-31 Ian Campbell <ijc@hellion.org.uk>
2N/A
2N/A * util/grub.d/20_linux_xen.in (linux_entry): Correctly capitalize
2N/A Xen and reorder menu item wording to make it clearer that this entry
2N/A will launch Xen. Print separate messages when loading Xen and
2N/A Linux.
2N/A
2N/A2010-12-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/amiga.c (GRUB_AMIGA_PART_MAGIC): New define.
2N/A (amiga_partition_map_iterate): Check "PART" magic to avoid a very long
2N/A loop in case of incorrect amiga partmap.
2N/A
2N/A2010-12-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/amiga.c (GRUB_AMIGA_RDSK_MAGIC): New define.
2N/A (amiga_partition_map_iterate): Use grub_memcmp instead of grub_strcmp.
2N/A Reported by:EHeM.
2N/A
2N/A2010-12-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
2N/A spurious warning.
2N/A Reported by: crocket
2N/A
2N/A2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:
2N/A Preload EFIemu.
2N/A (grub_cmd_xnu_kernel64) [! GRUB_MACHINE_EFI]: Likewise.
2N/A
2N/A2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/xnu.c (grub_cmd_xnu_kext): Abort if no kernel
2N/A is loaded
2N/A (grub_cmd_xnu_kextdir): Likewise.
2N/A (grub_cmd_xnu_splash): Likewise.
2N/A
2N/A2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid using Reed-Solomon with 0 redundancy.
2N/A
2N/A * grub-core/kern/i386/pc/startup.S: Remove 0-data check.
2N/A * grub-core/lib/reed_solomon.c (decode_block): Do not proceed on 0 data
2N/A or 0 redundancy.
2N/A (grub_reed_solomon_add_redundancy): Do not proceed with 0 redundancy.
2N/A (grub_reed_solomon_recover): Likewise.
2N/A
2N/A2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't use disk subsystem in freebsd_boot.
2N/A
2N/A * grub-core/loader/i386/bsd.c (freebsd_bootdev): New variable.
2N/A (freebsd_biosdev): Likewise.
2N/A (grub_freebsd_boot): Use freebsd_bootdev and freebsd_biosdev.
2N/A (grub_cmd_freebsd): Set freebsd_bootdev and freebsd_biosdev.
2N/A
2N/A2010-12-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handling of files of unknown size is currently limited. They can't be
2N/A used e.g. for initrd or modules. Moreover gzip handling of not
2N/A easily seekable files is buggy. Disable unknown file size for now. May
2N/A be inefficient but works.
2N/A
2N/A * grub-core/io/gzio.c (test_header): Always retrieve the file size.
2N/A * grub-core/io/xzio.c (grub_xzio_open): Likewise.
2N/A
2N/A2010-12-25 Mirko Parthey <mirko.parthey@informatik.tu-chemnitz.de>
2N/A
2N/A * grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on
2N/A floppy probe.
2N/A
2N/A2010-12-25 Jeroen Dekkers <jeroen@dekkers.ch>
2N/A
2N/A * grub-core/disk/raid.c (insert_array): Don't add spurious members.
2N/A
2N/A2010-12-25 Shea Levy <shlevy>
2N/A
2N/A * grub-core/genmod.sh.in: Use @OBJCOPY@ rather than objcopy.
2N/A
2N/A2010-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Don't emit drivemap directive for
2N/A Windows Server 2008.
2N/A Reported by: Devin Giddings.
2N/A
2N/A2010-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/acpihalt.c (grub_acpi_halt): Sleep for 1.5 before
2N/A writing an error message because of async power management.
2N/A * grub-core/kern/mips/yeeloong/init.c (grub_halt): Likewise.
2N/A (grub_reboot): Likewise.
2N/A
2N/A2010-12-23 Jordan Uggla <jordan.uggla@gmail.com>
2N/A
2N/A * tests/util/grub-shell.in: Suppress "ACPI shutdown failed" error to
2N/A keep unit tests from failing when they shouldn't.
2N/A
2N/A2010-12-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): The
2N/A previous patch increased the size of the RS code by 20 bytes (at
2N/A least with gcc-4.4), so increase this by 20 bytes to match.
2N/A (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.
2N/A
2N/A2010-12-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/lib/reed_solomon.c (gauss_solve): Fix size of standalone
2N/A scratch area. Make sure to initialise chosen in standalone mode as
2N/A well as non-standalone.
2N/A Reported by: Robert Hooker and Andy Whitcroft.
2N/A Tested by: Andy Whitcroft.
2N/A
2N/A2010-12-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/echo.c (grub_cmd_echo): Make UTF-8-clean by
2N/A constructing a new unescaped string and passing it to grub_xputs in
2N/A one go, rather than passing characters to grub_printf one at a time.
2N/A
2N/A2010-12-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/fs/udf.c (read_string): Pacify GCC warning by
2N/A initialising utf16.
2N/A
2N/A2010-12-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying
2N/A comment. Add an extra layer of quotation, requiring the output of
2N/A this function to be used in a printf format string.
2N/A (gettext_printf): New function.
2N/A * util/grub.d/10_hurd.in: Use gettext_printf where appropriate.
2N/A Extract translatable strings from here-documents and use a temporary
2N/A variable instead, so that xgettext can find them.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A * po/grub.d.sed: New file.
2N/A * po/Makefile.in.in ($(DOMAIN).pot-update): Extract gettext_printf
2N/A arguments. Set c-format flags on all strings extracted from
2N/A util/grub.d/ (xgettext refuses to include these itself for strings
2N/A it extracted from a shell file, but these really are c-format).
2N/A
2N/A2010-12-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_add_module):
2N/A Avoid next pointing to nowhere.
2N/A
2N/A2010-12-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_mount): Read data->bblock.rootblock
2N/A rather than assuming than rootblock is exactly in the middle.
2N/A (grub_affs_label): Likewise.
2N/A
2N/A2010-12-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/affs.c (grub_affs_fs) [GRUB_UTIL]: Explicitly set
2N/A reserved_first_sector to 0.
2N/A * grub-core/fs/cpio.c (grub_cpio_fs) [GRUB_UTIL]: Likewise.
2N/A * grub-core/fs/sfs.c (grub_sfs_fs) [GRUB_UTIL]: Likewise.
2N/A * grub-core/fs/xfs.c (grub_xfs_fs) [GRUB_UTIL]: Likewise.
2N/A
2N/A2010-12-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix handling of UTF-16 UDF labels.
2N/A
2N/A * grub-core/fs/udf.c (grub_udf_iterate_dir): Move string-parsing part
2N/A (read_string): .. here.
2N/A (grub_udf_label): Use read_string.
2N/A
2N/A2010-12-19 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (run): Execute commands from menu
2N/A editor under argument scope.
2N/A Reported by: Jordan Uggla
2N/A
2N/A2010-12-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkfont.c (main): Handle errors from FT_Set_Pixel_Sizes.
2N/A
2N/A2010-12-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/normal/term.c (print_more): Make \r or \n scroll one
2N/A line, and other keys scroll an entire page (previous handling was
2N/A for \r and \n to scroll a page and other keys to scroll two lines).
2N/A
2N/A2010-12-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
2N/A Set ptrdest to correct get_physical_target_address rather than
2N/A incorrect get_virtual_current_address.
2N/A
2N/A2010-12-18 kashyap garimella <garimella.kashyap@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use
2N/A correct cat to grub_uint8_t * rather than grub_uint32_t *.
2N/A
2N/A2010-12-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Ignore grub-core/rs_decoder.S.
2N/A
2N/A2010-12-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/gettext/gettext.c (grub_gettext_init_ext): Factor out
2N/A .mo/.mo.gz opening sequence to ...
2N/A (grub_mofile_open_lang): ... here.
2N/A (grub_gettext_init_ext): If opening ll_CC fails, try ll.
2N/A * util/grub.d/00_header.in (grub_lang): Include country part of
2N/A locale.
2N/A Reported by: Mario Limonciello.
2N/A
2N/A2010-12-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A * NEWS: Document addition of ZFS support.
2N/A
2N/A2010-12-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1'
2N/A rather than `/ 2', as the latter requires -Wa,--divide which would
2N/A require bumping our minimum binutils version.
2N/A
2N/A2010-12-03 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * util/grub-script-check.c (main): Print script line number on
2N/A error.
2N/A
2N/A2010-12-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/fs/zfs/zfs.c: New file.
2N/A * grub-core/fs/zfs/zfs_fletcher.c: Likewise.
2N/A * grub-core/fs/zfs/zfs_lzjb.c: Likewise.
2N/A * grub-core/fs/zfs/zfs_sha256.c: Likewise.
2N/A * grub-core/fs/zfs/zfsinfo.c: Likewise.
2N/A
2N/A * include/grub/zfs/dmu.h: Likewise.
2N/A * include/grub/zfs/dmu_objset.h: Likewise.
2N/A * include/grub/zfs/dnode.h: Likewise.
2N/A * include/grub/zfs/dsl_dataset.h: Likewise.
2N/A * include/grub/zfs/dsl_dir.h: Likewise.
2N/A * include/grub/zfs/sa_impl.h: Likewise.
2N/A * include/grub/zfs/spa.h: Likewise.
2N/A * include/grub/zfs/uberblock_impl.h: Likewise.
2N/A * include/grub/zfs/vdev_impl.h: Likewise.
2N/A * include/grub/zfs/zap_impl.h: Likewise.
2N/A * include/grub/zfs/zap_leaf.h: Likewise.
2N/A * include/grub/zfs/zfs.h: Likewise.
2N/A * include/grub/zfs/zfs_acl.h: Likewise.
2N/A * include/grub/zfs/zfs_znode.h: Likewise.
2N/A * include/grub/zfs/zil.h: Likewise.
2N/A * include/grub/zfs/zio.h: Likewise.
2N/A * include/grub/zfs/zio_checksum.h: Likewise.
2N/A
2N/A * Makefile.util.def: Build ZFS into libgrubmods.
2N/A * grub-core/Makefile.core.def: Build zfs.mod.
2N/A
2N/A2010-11-30 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
2N/A variable.
2N/A * grub-core/commands/wildcard.c (match_files): Likewise.
2N/A
2N/A2010-11-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/loader/i386/bsd.c
2N/A (grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module_elf): Check
2N/A whether kernel is loaded using grub_loader_is_loaded(), rather
2N/A than `kernel_type', which may still be `KERNEL_TYPE_NONE' under
2N/A certain error conditions.
2N/A
2N/A2010-11-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/commands/echo.c: Include `<grub/term.h>'.
2N/A (grub_cmd_echo): Call grub_refresh() after printing a message.
2N/A
2N/A2010-11-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid using tricks for initialising endian variables.
2N/A
2N/A * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot):
2N/A Make const.
2N/A (GRUB_MOD_INIT): Don't byte-swap.
2N/A * include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
2N/A Use grub_cpu_to_le16_compile_time and grub_cpu_to_le32_compile_time.
2N/A * include/grub/types.h (grub_swap_bytes16_compile_time): New macro.
2N/A (grub_swap_bytes32_compile_time): Likewise.
2N/A (grub_cpu_to_le32_compile_time): Likewise.
2N/A (grub_cpu_to_le16_compile_time): Likewise.
2N/A
2N/A2010-11-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Stop recommending --force. People who
2N/A understand the dangers of blocklists are able to find this option
2N/A anyway and the ones who don't shouldn't use it anyway.
2N/A
2N/A2010-11-26 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN): Beautify.
2N/A Update all users.
2N/A
2N/A2010-11-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix LVM-on-RAID probing.
2N/A
2N/A * util/grub-probe.c (probe): Remember which disk was detected as
2N/A RAID (perhaps an LVM physical volume). Use that disk's raidname
2N/A rather than that of the top-level disk.
2N/A
2N/A2010-11-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix cmdline argument quotes for setparams command of menuentry
2N/A definitions.
2N/A
2N/A * grub-core/commands/menuentry.c (setparams_prefix): Use single
2N/A quotes for arguments.
2N/A * grub-core/lib/legacy_parse.c (grub_legacy_escape): Use
2N/A grub_strchrsub function instead.
2N/A
2N/A * include/grub/misc.h (grub_strchrsub): New function.
2N/A
2N/A2010-11-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Save a bit of
2N/A effort by skipping "." and ".." entries up-front.
2N/A Suggested by: Michael Lazarev.
2N/A
2N/A2010-11-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
2N/A ldflags to ldadd, to fix link line ordering.
2N/A (none_decompress): Likewise.
2N/A
2N/A2010-11-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
2N/A platforms.
2N/A (grub-emu-lite): Remove kern/emu/cache.S.
2N/A
2N/A2010-11-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/deviceiter.c (compare_devices): If the by-id link for a
2N/A device couldn't be resolved, fall back to sorting by the by-id link
2N/A rather than segfaulting.
2N/A Reported and tested by: Daniel Mierswa.
2N/A
2N/A2010-11-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not
2N/A ldflags, to fix link line ordering.
2N/A
2N/A2010-11-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/Makefile.am (gentrigtables): Put -lm after $<; some
2N/A linkers are picky about this.
2N/A
2N/A2010-11-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/Makefile.am (command.lst): Adjust sed expression
2N/A ordering so that extended and priority commands aren't treated as
2N/A ordinary commands.
2N/A
2N/A2010-11-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
2N/A Remove byte-swapping function calls, which are not valid in
2N/A structure initialisers.
2N/A * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot): Make
2N/A non-const.
2N/A (GRUB_MOD_INIT): Byte-swap data1, data2, and data3 fields of
2N/A grub_gpt_partition_type_bios_boot.
2N/A
2N/A2010-11-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix test program build on GNU/kFreeBSD.
2N/A
2N/A * Makefile.util.def (example_unit_test): Add `$(LIBZFS)
2N/A $(LIBNVPAIR)' library dependencies.
2N/A
2N/A2010-11-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Fix parsing of --grub-mkrelpath= option.
2N/A
2N/A2010-11-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Remove excessive quoting that broke
2N/A installations to RAID devices.
2N/A
2N/A2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
2N/A bootloader version instead of 0.
2N/A
2N/A2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
2N/A warning.
2N/A
2N/A2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
2N/A retrieve the metadat sector if size isn't known.
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
2N/A
2N/A2010-11-18 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/fs/btrfs.c (grub_btrfs_mount): Replace grub_strncmp()
2N/A with grub_memcmp().
2N/A
2N/A2010-11-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (print_up): Fix displacement of up
2N/A arrow.
2N/A Reported by: Jordan Uggla.
2N/A
2N/A2010-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make better UTF compliant.
2N/A
2N/A * grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte
2N/A sequences as incorrect.
2N/A (grub_is_valid_utf8): Likewise.
2N/A (grub_utf8_to_ucs4): Likewise.
2N/A (grub_ucs4_to_utf8): Handle codepoints outside of BMP.
2N/A (grub_ucs4_to_utf8_alloc): Likewise.
2N/A * include/grub/charset.h (grub_utf16_to_utf8): Likewise.
2N/A
2N/A2010-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make legacy_source behave like source.
2N/A
2N/A * grub-core/commands/legacycfg.c (legacy_file): Don't call
2N/A grub_show_menu.
2N/A (grub_cmd_legacy_source): Call grub_show_menu if needed.
2N/A
2N/A2010-11-16 Colin Watson <cjwatson@debian.org>
2N/A
2N/A * conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
2N/A (-Wunused implies -Wunused-parameter, but not vice versa).
2N/A
2N/A2010-11-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Make error messages less confusing by testing for
2N/A -Wtrampolines rather than -Wno-trampolines (since -Wno-* is always
2N/A accepted, but produces a diagnostic if something else is wrong).
2N/A
2N/A2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
2N/A [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out
2N/A (now unused).
2N/A (grub_keyboard_controller_init)
2N/A [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to
2N/A read the initial state since controller isn't inited yet.
2N/A
2N/A2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (malloc_in_range): Take into account that
2N/A allocate_regbeg may need to create new chunk header.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix quoting in legacy parser.
2N/A
2N/A * grub-core/lib/legacy_parse.c (grub_legacy_escape): Correctly handle
2N/A single quotes.
2N/A (grub_legacy_parse): Likewise.
2N/A Reported by: Jordan Uggla.
2N/A Tested by: Jordan Uggla.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't add -lgcc on i386 and x86_64.
2N/A
2N/A * configure.ac (LIBS): Don't add -lgcc on i386 and x86_64.
2N/A * conf/Makefile.common (LDADD_KERNEL): Likewise.
2N/A * grub-core/Makefile.core.def (kernel): Use LDADD_KERNEL.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Add -Wno-trampolines when supported.
2N/A
2N/A2010-11-14 Modestas Vainius <modax@debian.org>
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
2N/A fakeraid.
2N/A
2N/A2010-11-14 Giuseppe Caizzone <acaizzo@gmail.com>
2N/A
2N/A Add generic logical block size support for UDF.
2N/A
2N/A * grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
2N/A (GRUB_UDF_BLKSZ): Removed.
2N/A (struct grub_udf_data): New field "lbshift" to hold the logical block
2N/A size of the file system in log2 format. All users updated.
2N/A (sblocklist): Change type to unsigned.
2N/A (grub_udf_mount): Change type of "sblklist" to unsigned.
2N/A Move AVDP search before VRS recognition, because the latter requires
2N/A knowledge of the logical block size, which is detected during the
2N/A former.
2N/A Detect and validate logical block size during AVDP search, adding
2N/A support for block sizes 512, 1024 and 4096.
2N/A Make VRS recognition independent of block size.
2N/A
2N/A2010-11-14 Giuseppe Caizzone <acaizzo@gmail.com>
2N/A
2N/A Properly handle deleted files on UDF.
2N/A
2N/A * grub-core/fs/udf.c (grub_udf_iterate_dir): Skip directory entries
2N/A whose "characteristics" field has the bit GRUB_UDF_FID_CHAR_DELETED
2N/A set.
2N/A
2N/A2010-11-14 Giuseppe Caizzone <acaizzo@gmail.com>
2N/A
2N/A Support reading files larger than 2 GiB.
2N/A
2N/A * grub-core/fs/udf.c (grub_udf_iterate_dir): Change type of variable
2N/A "offset" to grub_off_t.
2N/A (grub_udf_read_file): Likewise for parameter "pos".
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Changes from GRUB Legacy): Note when save_env is
2N/A unavailable.
2N/A (Simple configuration): Refer to Changes from GRUB Legacy about
2N/A save_env availability.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Ignore empty partition table detection
2N/A instead of trying to include part_ module.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
2N/A LVM on RAID support.
2N/A
2N/A2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Properly define WORDS_BIGENDIAN in wrapped environments.
2N/A
2N/A * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New
2N/A definition.
2N/A * grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise.
2N/A
2N/A Reported by: Manoel Rebelo Abranches.
2N/A Tested by: Manoel Rebelo Abranches.
2N/A
2N/A2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in: Fix quoting.
2N/A
2N/A2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support big ext2 files.
2N/A
2N/A * grub-core/fs/ext2.c (grub_ext2_inode): Rename dir_acl to size_high.
2N/A (grub_ext2_read_block): Support triple indirect blocks.
2N/A (grub_ext2_read_file): Use 64-bit types and read size_high.
2N/A (grub_ext2_open): Read size_high.
2N/A Reported by: Ximin Luo.
2N/A Tested by: Manoel Rebelo Abranches.
2N/A
2N/A2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Handle filenames containing spaces.
2N/A Reported by: Jordan Uggla.
2N/A Tested by: Jordan Uggla.
2N/A
2N/A2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in (grub_script_check): New variable.
2N/A Use grub_script_check instead of grub-script-check.
2N/A Reported by: Barry Jackson.
2N/A
2N/A2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (menu): Correct the order.
2N/A Reported by: D. Hugh Redelmeier.
2N/A
2N/A2010-11-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing
2N/A jump.
2N/A
2N/A2010-11-08 Manoel Rebelo Abranches <mrabran@br.ibm.com>
2N/A
2N/A * include/grub/elfload.h (grub_elf32_size): New parameter.
2N/A All users updated.
2N/A Return maximum segments alignment.
2N/A (grub_elf64_size): Likewise.
2N/A * kern/elf.c (grub_elf32_size): New parameter. All users updated.
2N/A Return maximum segments alignment.
2N/A (grub_elf64_size): Likewise.
2N/A * grub-core/loader/powerpc/ieee1275/linux.c:
2N/A (grub_linux_claimmap_iterate): New function. Uses the
2N/A "available" property in the "memory" node for memory allocation
2N/A for kernel in the PowerPC loader.
2N/A (grub_linux_load32): Correctly find linux entry point offset.
2N/A (grub_linux_load64): Likewise.
2N/A
2N/A2010-11-07 Robert Millan <rmh@gnu.org>
2N/A
2N/A On mips-yeeloong, build with -march=loongson2f when this flag is
2N/A available (GCC >= 4.4).
2N/A * conf/Makefile.common [COND_mips_yeeloong] (CFLAGS_PLATFORM): Remove
2N/A `-march=mips3'.
2N/A * configure.ac: For mips-yeeloong, add -march=loongson2f if available,
2N/A or otherwise add -march=mips3.
2N/A
2N/A2010-11-07 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Suppress shell expansion on echo '*' and echo "*" like cases.
2N/A Reported by: Jordan Uggla.
2N/A
2N/A * grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
2N/A string arguments before shell expansion.
2N/A * tests/grub_cmd_echo.in: New testcases.
2N/A
2N/A2010-11-07 Robert Millan <rmh@gnu.org>
2N/A
2N/A * conf/mips-qemu-mips.rmk: Remove stale file from previous
2N/A transition.
2N/A
2N/A2010-11-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Handle devices like "sdaa1".
2N/A
2N/A2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/emu/misc.h: Don't include grub/util/libzfs.h.
2N/A * include/grub/emu/misc.h (grub_get_libzfs_handle): Move from here ...
2N/A * include/grub/util/libzfs.h (grub_get_libzfs_handle): ... here.
2N/A
2N/A2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.
2N/A
2N/A2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Replace useless recomendation to pass
2N/A --modules with a recomendation to report a bug.
2N/A
2N/A2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Properly register serial terminfo.
2N/A Reported by: Jordan Uggla
2N/A
2N/A * grub-core/term/serial.c (grub_serial_terminfo_input_template): New
2N/A const.
2N/A (grub_serial_terminfo_output_template): Likewise.
2N/A (grub_cmd_serial): Register "serial" with terminfo.
2N/A (GRUB_MOD_INIT(serial)): Fill grub_serial_terminfo_input and
2N/A grub_serial_terminfo_output.
2N/A
2N/A2010-11-05 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig.in: Remove gfxterm.mod probe (no longer
2N/A needed).
2N/A
2N/A2010-11-05 Robert Millan <rmh@gnu.org>
2N/A
2N/A On Yeeloong, pass machine type information to Linux.
2N/A
2N/A * grub-core/loader/mips/linux.c [GRUB_MACHINE_MIPS_YEELOONG]
2N/A (LOONGSON_MACHTYPE): New macro, set to
2N/A "machtype=lemote-yeeloong-2f-8.9inches".
2N/A [LOONGSON_MACHTYPE] (grub_cmd_linux): Pass LOONGSON_MACHTYPE as
2N/A additional argument to Linux.
2N/A
2N/A2010-11-04 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Increase SCSI
2N/A limit to 48 (to cope with Sun Fire X4500), and IDE limit to 96
2N/A (its SATA disks are detected as slaveless IDE master drives on
2N/A kFreeBSD).
2N/A Reported by Carsten Aulbert.
2N/A
2N/A2010-11-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/bin2h.c (main): Fix spelling error in generated output.
2N/A
2N/A2010-11-01 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * grub-core/partmap/bsdlabel.c (iterate_real): Fix an integer overflow.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/linux.c (grub_cmd_linux): Autoload vbe.mod if
2N/A vga= option is supplied.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_hurd.in: Don't call savedefault on recovery entries.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/arg.c (grub_arg_parse): Avoid interpreting direct
2N/A argument as an argument to no-argument option.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Add missing load_video with explicit
2N/A GRUB_GFXPAYLOAD_LINUX.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.am (libgrub.pp): Propagate the libgrub.a split.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Do not put
2N/A elements with invlid index.
2N/A * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
2N/A * grub-core/disk/raid.c (insert_array): Automatically reallocate
2N/A members.
2N/A * include/grub/raid.h (grub_raid_member): New struct.
2N/A (grub_raid_array): Transform devices and start_sector into usage of
2N/A grub_raid_member. All users updated
2N/A (allocated_devs): New member.
2N/A
2N/A2010-11-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/man/grub-set-default.h2m: Clarify that only saved default entry
2N/A is modified
2N/A
2N/A2010-10-29 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A NetBSD build fix for getline function conflict from gnulib.
2N/A
2N/A * Makefile.util.def (libgrubkern.a): New library for grub kernel
2N/A components that depend on gnulib headers.
2N/A (libgrubmods.a): Renamed from earlier libgrub.a.
2N/A * conf/Makefile.common: Remove gnulib from *_LIBRARY flags.
2N/A
2N/A2010-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Refuse to do a cross-disk embeddingless
2N/A install rather than creating a broken install.
2N/A
2N/A2010-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (argp): Remove misleading example of installing to
2N/A a partition.
2N/A
2N/A2010-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Clarify the error message.
2N/A
2N/A2010-10-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/types.h (grub_target_off_t): Removed no longer used type.
2N/A
2N/A2010-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/misc.c
2N/A (grub_make_system_path_relative_to_its_root)
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR]: Fix mountpoint return on ZFS.
2N/A
2N/A2010-10-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/misc.c
2N/A (grub_make_system_path_relative_to_its_root): Revert r2882.
2N/A
2N/A2010-10-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (grub_relocator_subchunk): Remove now
2N/A useless field head. All users updated.
2N/A (free_subchunk): Correct handling of IN_REGION subchunk.
2N/A
2N/A2010-10-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Installing GRUB using grub-install): Proofread.
2N/A (Supported kernels): Likewise.
2N/A
2N/A2010-10-18 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A Make mktemp invocations portable.
2N/A
2N/A * grub-core/genmod.sh.in: Use mktemp with an explicit template, and
2N/A exit if mktemp fails.
2N/A * tests/grub_script_blockarg.in: Likewise.
2N/A * tests/partmap_test.in: Likewise.
2N/A * tests/util/grub-shell-tester.in: Likewise.
2N/A * tests/util/grub-shell.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
2N/A * Makefile.am: Likewise, and chain shell commands with `&&'
2N/A instead of ';'.
2N/A * util/grub-mkrescue.in: Use the same explicit template as above, and
2N/A exit if mktemp fails.
2N/A
2N/A2010-10-18 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in: Fix built-in initramfs image mode for
2N/A Linux kernel, reported by Dennis Schridde.
2N/A
2N/A2010-10-17 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/normal/auth.c (grub_auth_check_authentication):
2N/A Set-but-not-used variable removed.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (GNU/Linux): Document APM unavailability with
2N/A 32-bit linux protocol.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
2N/A cursor shape for sanity.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Installation): Document buggy BIOS install.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Installation): Indent.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): New parameter allow_floppy.
2N/A (arguments): New member allow_floppy.
2N/A (argp_parser): Handle --allow-floppy.
2N/A (main): Pass allow_floppy.
2N/A * util/grub-install.in: New option --allow-floppy passed though to
2N/A grub-setup.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Handle partitionless disks.
2N/A
2N/A2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Don't clean blocklists before readability
2N/A verfification.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Installation): Document embedding zone. Remove
2N/A obsolete grub-install example.
2N/A
2N/A2010-10-16 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel):
2N/A Set-but-not-used variable ifdef'ed.
2N/A * grub-core/lib/legacy_parse.c (grub_legacy_parse): Likewise.
2N/A * grub-core/bus/usb/ohci.c (grub_ohci_pci_iter): Set-but-not-used
2N/A variable removed.
2N/A * grub-core/disk/lvm.c (grub_lvm_scan_device): Likewise.
2N/A * grub-core/fs/jfs.c (grub_jfs_find_file): Likewise.
2N/A * grub-core/fs/minix.c (grub_minix_dir): Likewise.
2N/A * grub-core/fs/sfs.c (grub_sfs_read_extent): Likewise.
2N/A * grub-core/fs/ufs.c (grub_ufs_dir): Likewise.
2N/A * grub-core/gfxmenu/gui_list.c (grub_gui_list_new): Likewise.
2N/A * grub-core/gfxmenu/view.c (redraw_menu_visit): Likewise.
2N/A * grub-core/gfxmenu/widget-box.c (draw): Likewise.
2N/A * grub-core/lib/relocator.c (malloc_in_range): Likewise.
2N/A * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta): Likewise.
2N/A * grub-core/loader/i386/bsd_pagetable.c (fill_bsd64_pagetable):
2N/A Likewise.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/acpihalt.c (skip_ext_op): Skip index field op.
2N/A * include/grub/acpi.h (GRUB_ACPI_EXTOPCODE_INDEX_FIELD_OP): New
2N/A enum value.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/acpihalt.c (get_sleep_type): Accept \_S5_ as
2N/A synonym to _S5_. Needed for some DSDTs.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Userspace ACPI parser debugging.
2N/A
2N/A * grub-core/commands/acpihalt.c [GRUB_DSDT_TEST]: Include userspace
2N/A headers and add relevant defines. Don't include standard headers.
2N/A (main) [GRUB_DSDT_TEST]: New function.
2N/A * include/grub/acpi.h [GRUB_DSDT_TEST]: Don't include standard headers.
2N/A Don't declare functions.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove dead grub_efi_mm_fini.
2N/A
2N/A * grub-core/kern/efi/mm.c (allocated_page): Removed.
2N/A (ALLOCATED_PAGES_SIZE): Likewise.
2N/A (MAX_ALLOCATED_PAGES): Likewise.
2N/A (allocated_pages): Likewise.
2N/A (grub_efi_allocate_pages): Don't record allocated pages.
2N/A (grub_efi_free_pages): Likewise.
2N/A (grub_efi_mm_init): Likewise.
2N/A (grub_efi_mm_fini): Removed.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/efi/mm.c (BYTES_TO_PAGES): Round up instead of down.
2N/A (grub_efi_mm_init): Take into account the memory map size increase.
2N/A
2N/A2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/ns8250.c (do_real_config): Set port->broken to 0.
2N/A (serial_hw_put): Wait based on real time rather than port reads. Don't
2N/A roken ports.
2N/A * include/grub/serial.h (grub_serial_port): New field broken.
2N/A
2N/A2010-10-16 Robert Millan <rmh@gnu.org>
2N/A
2N/A * grub-core/kern/emu/misc.c
2N/A (grub_make_system_path_relative_to_its_root): Fix premature return
2N/A when processing non-root ZFS filesystems.
2N/A Reported by Sergio Talens-Oliag.
2N/A
2N/A2010-10-15 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_linux.in (list): Expand "vmlinu[zx]" instances to
2N/A guarantee compressed ones are processed first.
2N/A
2N/A2010-10-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from
2N/A grub_efiemu_autocore.
2N/A
2N/A2010-10-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (bypass_table): Use 0x1b explicitly
2N/A rather than 0x1b.
2N/A (grub_console_getkey): Use correct jae opcode rather than ja.
2N/A
2N/A2010-10-12 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig.in: Merge `GRUB_DISABLE_LINUX_RECOVERY' and
2N/A `GRUB_DISABLE_NETBSD_RECOVERY' into a single `GRUB_DISABLE_RECOVERY'
2N/A variable. All references updated.
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Support recovery boot entries.
2N/A
2N/A2010-10-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Correctly distinguish mdraid flavours.
2N/A
2N/A * grub-core/disk/raid.c (grub_raid_getname) [GRUB_UTIL]: New function.
2N/A (insert_array): New argument raid.
2N/A * include/grub/disk.h (grub_disk_dev) [GRUB_UTIL]: New member raidname.
2N/A * include/grub/raid.h (grub_raid_array) [GRUB_UTIL]: New member driver.
2N/A * util/grub-probe.c (probe): PRint raidname instead of plainly "mdraid".
2N/A
2N/A2010-10-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Fix incorrect
2N/A handling of special keys.
2N/A
2N/A2010-10-02 Aleš Nesrsta <starous@volny.cz>
2N/A
2N/A * include/grub/scsi.h (grub_make_scsi_id): Fix incorrect usgae of
2N/A GRUB_SCSI_ID_BUS_SHIFT instead of GRUB_SCSI_ID_LUN_SHIFT.
2N/A
2N/A2010-10-02 Aleš Nesrsta <starous@volny.cz>
2N/A
2N/A * grub-core/bus/usb/ohci.c (GRUB_OHCI_TDS): Increase.
2N/A * grub-core/bus/usb/uhci.c (N_TD): New definition. All previous implicit
2N/A users updated.
2N/A * grub-core/bus/usb/usbtrans.c (grub_usb_bulk_setup_readwrite):
2N/A Use right endpoint when querying descriptor.
2N/A
2N/A2010-10-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Clear out 0x80 color bit on EFI.
2N/A Tested by: decoder
2N/A Reported by: decoder and meta tech.
2N/A
2N/A * grub-core/term/efi/console.c (grub_console_standard_color): Removed.
2N/A (grub_console_setcolorstate): Clear out 0x80 bit.
2N/A Use GRUB_TERM_DEFAULT_STANDARD_COLOR.
2N/A (grub_console_output): Use GRUB_TERM_DEFAULT_NORMAL_COLOR.
2N/A Use GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR.
2N/A
2N/A2010-10-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/linux.c (DEFAULT_VIDEO_MODE) [GRUB_MACHINE_EFI]:
2N/A Set to "auto".
2N/A
2N/A2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gettext/gettext.c (grub_gettext_init_ext): Avoid using
2N/A mo_file after freeing.
2N/A
2N/A2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/term.c (read_terminal_list): Free in a right order.
2N/A
2N/A2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/script/execute.c (grub_script_execute_sourcecode): Set
2N/A flags.
2N/A
2N/A2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (main) [GRUB_MACHINE_IEEE1275]: Propagate argp
2N/A usage.
2N/A
2N/A2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Put terminfo into core on ieee1275 and yeeloong (needed for console).
2N/A
2N/A * gentpl.py: New groups terminfoinkernel and terminfomodule.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Include extcmd.h, arg.h
2N/A and terminfo.h when needed.
2N/A * grub-core/Makefile.core.def (kernel): Include term/terminfo.c,
2N/A term/tparm.c, commands/extcmd.c, lib/arg.c on terminfokernel.
2N/A (terminfo): Enable only on terminfokernel.
2N/A (extcmd): Likewise.
2N/A * include/grub/extcmd.h: Add missing EXPORT_FUNC.
2N/A * include/grub/lib/arg.h: Likewise.
2N/A * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): Fix
2N/A incorrect usage of ->.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi]
2N/A [GRUB_MACHINE_EFI && __i386__]: Fix typo.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix coreboot compilation.
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size):
2N/A Take VBE info into account even if only text is supported.
2N/A (fill_vbe_info): Take into account the case when only VGA text
2N/A is supported.
2N/A * include/grub/multiboot.h (GRUB_MACHINE_HAS_VBE): Set to zero
2N/A on coreboot, multiboot and qemu.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/relocator.c (malloc_in_range): Trim too verbose
2N/A debug messages.
2N/A (grub_relocator_prepare_relocs): Set movers_chunk.srcv.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial
2N/A parameters.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/arg.c (grub_arg_parse): Fix treating of all commands as
2N/A if they were BSD-style.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/i386/pc/lnxboot.S: Replace
2N/A GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE with
2N/A GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART.
2N/A
2N/A2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Write embedding zone using Reed-Solomon.
2N/A
2N/A * Makefile.util.def (grub-setup): Add grub-core/lib/reed_solomon.c.
2N/A * grub-core/Makefile.am (rs_decoder.S): New target.
2N/A (kern/i386/pc/startup.S): Depend on rs_decoder.S.
2N/A * grub-core/kern/i386/pc/startup.S (reed_solomon_redundancy): New field.
2N/A (multiboot): Move to RS part.
2N/A (post_reed_solomon): New label.
2N/A (grub_boot_drive): Move to non-RS part since it's modified in memory
2N/A on boot.
2N/A Include rs_decoder.S.
2N/A * grub-core/lib/reed_solomon.c: New file.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY):
2N/A New definition.
2N/A (GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE): Removed.
2N/A (GRUB_KERNEL_I386_PC_RAW_SIZE): Updated.
2N/A (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): New definition.
2N/A * include/grub/partition.h (grub_partition_map): Change prototype of
2N/A embed to allow returning additional sectors.
2N/A * include/grub/reed_solomon.h: New file.
2N/A * util/grub-setup.c (setup): Handle Reed-Solomon.
2N/A
2N/A2010-09-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix
2N/A i386 and x86-64 definedness tests.
2N/A
2N/A2010-09-27 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Fix generation of kernel_syms.lst
2N/A
2N/A * grub-core/Makefile.am (kernel_syms.lst): Fix value and position of
2N/A ASM_PREFIX
2N/A
2N/A2010-09-26 Robert Millan <rmh@gnu.org>
2N/A
2N/A Support degraded ZFS arrays in "grub-probe -t device" resolution.
2N/A
2N/A * grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): When
2N/A the pool is an array of devices, iterate through it and return the
2N/A first device that passes a stat() test (instead of blindly returning
2N/A the first one).
2N/A
2N/A2010-09-26 Robert Millan <rmh@gnu.org>
2N/A
2N/A Build fixes for GNU/kFreeBSD.
2N/A
2N/A * Makefile.util.def: Add `$(LIBZFS) $(LIBNVPAIR)' library dependencies
2N/A to programs that require ZFS conversion.
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Support
2N/A kernels that don't have FLOPPY_MAJOR.
2N/A
2N/A2010-09-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * grub-core/kern/emu/full.c (grub_emu_post_init): Fix typo.
2N/A
2N/A2010-09-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix grub-emu build.
2N/A
2N/A * grub-core/kern/emu/main.c: Remove #include <getopt.h>.
2N/A * grub-core/kern/emu/full.c: Split grub_mdraid_{init,fini} into
2N/A mdraid09 and mdraid1x.
2N/A
2N/A2010-09-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Re-enable grub-extras.
2N/A
2N/A * autogen.sh: Create symlinks to ${GRUB_CONTRIB} if necessary to
2N/A avoid confusing Automake. Run autogen only twice, once for the top
2N/A level and once for grub-core. Add Makefile.util.def and
2N/A Makefile.core.def from extra modules to the appropriate autogen
2N/A invocations. If Makefile.common exists in an extra module, include
2N/A it in both Makefile.util.am and grub-core/Makefile.core.am;
2N/A similarly, include any Makefile.util.common file in Makefile.util.am
2N/A and any Makefile.core.common file in grub-core/Makefile.core.am.
2N/A * conf/Makefile.common ($(top_srcdir)/grub-core/Makefile.core.am):
2N/A Depend on $(top_srcdir)/grub-core/Makefile.gcry.def.
2N/A ($(top_srcdir)/grub-core/Makefile.gcry.def): Remove.
2N/A * grub-core/Makefile.am: Remove inclusion of Makefile.gcry.am.
2N/A
2N/A * gentpl.py (gvar_add): Turn GVARS into a set.
2N/A (global_variable_initializers): Sort global variables on output.
2N/A (vars_init): New function.
2N/A (first_time): Likewise.
2N/A (library): Ensure that non-global variable initialisations are
2N/A emitted before the first time we emit code for a library block.
2N/A Append to variables rather than setting them. Only emit
2N/A noinst_LIBRARIES, BUILT_SOURCES, and CLEANFILES the first time for
2N/A each conditional path.
2N/A (program): installdir() emits an Autogen macro, so must be passed to
2N/A var_add rather than gvar_add.
2N/A (data): Likewise.
2N/A (script): Likewise.
2N/A (rules): New function, centralising handling for different target
2N/A types. Set up Guile association lists for first_time and vars_init,
2N/A and send most output to a diversion so that variable initialisations
2N/A can be emitted first.
2N/A (module_rules): Use new rules function.
2N/A (kernel_rules): Likewise.
2N/A (image_rules): Likewise.
2N/A (library_rules): Likewise.
2N/A (program_rules): Likewise.
2N/A (script_rules): Likewise.
2N/A (data_rules): Likewise.
2N/A
2N/A * configure.ac: Add AC_PROG_LN_S, for the benefit of ntldr-img.
2N/A
2N/A * .bzrignore: Add contrib and grub-core/contrib. Remove
2N/A grub-core/Makefile.gcry.am.
2N/A
2N/A2010-09-24 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * grub-core/lib/LzFind.c: Add missing include.
2N/A * grub-core/lib/LzmaEnc.c: Likewise.
2N/A * grub-core/script/lexer.c: Likewise.
2N/A * grub-core/script/yylex.l: Likewise.
2N/A * util/grub-macho2img.c: Likewise.
2N/A * util/grub-menulst2cfg.c: Likewise.
2N/A * util/grub-mklayout.c: Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c
2N/A * util/grub-mkrelpath.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A
2N/A2010-09-24 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * Makefile.util.def (example_unit_test): Add
2N/A grub-core/gnulib/libgnu.a.
2N/A
2N/A2010-09-23 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * grub-core/commands/acpihalt.c (get_sleep_type): Initialize prev.
2N/A
2N/A2010-09-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support xz compression on yeeloong.
2N/A
2N/A * Makefile.util.def (grub-mkimage): Add $(LIBLZMA).
2N/A * configure.ac: Check for LZMA.
2N/A * grub-core/Makefile.core.def (xz_decompress): New target.
2N/A (none_decompress): Likewise.
2N/A * grub-core/boot/decompressor/minilib.c: New file.
2N/A * grub-core/boot/decompressor/none.c: Likewise.
2N/A * grub-core/boot/decompressor/xz.c: Likewise.
2N/A * grub-core/kern/mips/cache.S: Change to noreorder nomacro.
2N/A * grub-core/kern/mips/cache_flush.S: Likewise.
2N/A * grub-core/kern/i386/pc/lzma_decode.S: Remove dead code.
2N/A * grub-core/kern/mips/startup.S: Move first stage to ...
2N/A * grub-core/boot/mips/startup_raw.S: ...here. Change to noreorder
2N/A nomacro.
2N/A * grub-core/kern/mips/startup.S: Change to noreorder nomacro.
2N/A * grub-core/lib/mips/relocator_asm.S: Change to noreorder nomacro.
2N/A * grub-core/lib/xzembed/xz_dec_bcj.c [GRUB_EMBED_DECOMPRESSOR]:
2N/A Allocate statically.
2N/A * grub-core/lib/xzembed/xz_dec_lzma2.c [GRUB_EMBED_DECOMPRESSOR]:
2N/A Allocate statically or use scratch. Don't check CRC32.
2N/A * grub-core/lib/xzembed/xz_dec_stream.c [GRUB_EMBED_DECOMPRESSOR]:
2N/A Allocate statically. Don't check CRC32.
2N/A * include/grub/decompressor.h: New file.
2N/A * include/grub/offsets.h (GRUB_KERNEL_MIPS_YEELOONG_RAW_SIZE):
2N/A Removed.
2N/A (GRUB_KERNEL_MIPS_YEELOONG_UNCOMPRESSED_SIZE): New field.
2N/A (GRUB_KERNEL_MIPS_YEELOONG_TOTAL_MODULE_SIZE): Adjusted.
2N/A (GRUB_KERNEL_MIPS_YEELOONG_PREFIX): Likewise.
2N/A (GRUB_KERNEL_MIPS_YEELOONG_PREFIX_END): Likewise.
2N/A (GRUB_KERNEL_MACHINE_UNCOMPRESSED_SIZE): New define.
2N/A * util/grub-mkimage.c (grub_compression_t): New type.
2N/A (PLATFORM_FLAGS_DECOMPRESSORS): New flag.
2N/A (image_target_desc): New field default_compression.
2N/A (image_targets): Adjust yeeloong targets.
2N/A (compress_kernel_xz) [HAVE_LIBLZMA]: New function.
2N/A (compress_kernel): New parameter comp.
2N/A (generate_image): Likewise. Handle new compression case.
2N/A (options): New option --compression
2N/A (help): Likewise.
2N/A (main): Handle new option.
2N/A
2N/A2010-09-22 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c [__NetBSD__]: Define FLOPPY_MAJOR.
2N/A
2N/A2010-09-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix
2N/A typo in __i386__ conditional.
2N/A
2N/A2010-09-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (GRUB_MACHINE_EFI): Add missing
2N/A include.
2N/A
2N/A2010-09-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Implement EFI and ACPI multiboot2 extensions.
2N/A
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Declare
2N/A new tags as supported.
2N/A (acpiv2_size): New function.
2N/A (grub_multiboot_get_mbi_size): Take new tags into account.
2N/A (grub_multiboot_make_mbi): Add new tags.
2N/A * include/grub/multiboot.h (GRUB_MACHINE_HAS_ACPI): New definition.
2N/A
2N/A2010-09-21 Aleš Nesrsta <starous@volny.cz>
2N/A
2N/A * grub-core/bus/usb/serial/common.c (grub_usbserial_attach):
2N/A Added missing configuration of USB device.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/normal/menu_entry.c (run): Make sure we always return
2N/A a value.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
2N/A NumberOfPages is UINT64 according to the UEFI specification, not
2N/A UINTN. Fix printf format.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of
2N/A `err' to grub_usb_err_t.
2N/A Reported and tested by: KESHAV P.R.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Make
2N/A tpart non-const, so that we can assign to it. (Since this is a
2N/A typedef, the constness refers to the pointer rather than what it
2N/A points to.)
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * conf/Makefile.common (CPPFLAGS_GNULIB): Add
2N/A $(top_srcdir)/grub-core/gnulib as well as
2N/A $(top_builddir)/grub-core/gnulib.
2N/A Reported by: KESHAV P.R.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Fix the bootloader ID option to be
2N/A consistently --bootloader-id, not --bootloader_id.
2N/A Reported by: KESHAV P.R.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/hashsum.c (GRUB_MOD_INIT): Make "Compute or
2N/A check hash checksum." consistently translatable.
2N/A
2N/A2010-09-21 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * conf/Makefile.common (CPPFLAGS_GNULIB): Replace $(top_srcdir) with
2N/A $(top_builddir).
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/hashsum.c (aliases): Add sha1sum alias.
2N/A (GRUB_MOD_INIT): Register sha1sum command.
2N/A (GRUB_MOD_FINI): Unregister sha1sum command.
2N/A
2N/A2010-09-21 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Keep boot and grub directory names in sync with utils scripts
2N/A
2N/A * configure.ac: Define GRUB_BOOT_DIR_NAME and GRUB_DIR_NAME macros.
2N/A * config.h.in: Add previous macros.
2N/A * include/grub/emu/misc.h (DEFAULT_DIRECTORY): Use previous macros.
2N/A * util/grub-install.in: Use $bootdir and $grubdir variables.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (find_system_device): Only try to
2N/A convert partition names to disk names if the new `convert' parameter
2N/A is set.
2N/A (grub_util_biosdisk_get_grub_dev): If opening the disk device
2N/A returns GRUB_ERR_UNKNOWN_DEVICE, treat the partition device as a
2N/A disk in its own right. This can happen with Xen disk images.
2N/A
2N/A2010-09-21 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * util/grub-editenv.c: Update strings to avoid warnings when generating
2N/A grub.pot file.
2N/A * util/grub-setup.c: Likewise.
2N/A
2N/A2010-09-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Change version to 1.99~beta0.
2N/A
2N/A2010-09-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap):
2N/A Add BADRAM.
2N/A * grub-core/loader/multiboot_mbi2.c (grub_fill_multiboot_mmap):
2N/A Likewise.
2N/A * include/multiboot.h: Resynced with specification.
2N/A * include/multiboot2.h: Likewise.
2N/A
2N/A2010-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix po directory handling.
2N/A
2N/A * configure.ac: Create po/Makefile.in rather than po/Makefile.
2N/A * grub-core/gnulib/Makefile.am: Import gettext module.
2N/A * m4/gnulib-cache.m4: Likewise.
2N/A * m4/gnulib-comp.m4: Likewise.
2N/A * m4/gettext.m4: New file, from gnulib.
2N/A * m4/glibc2.m4: Likewise.
2N/A * m4/iconv.m4: Likewise.
2N/A * m4/intdiv0.m4: Likewise.
2N/A * m4/intl.m4: Likewise.
2N/A * m4/intldir.m4: Likewise.
2N/A * m4/intlmacosx.m4: Likewise.
2N/A * m4/intmax.m4: Likewise.
2N/A * m4/inttypes-pri.m4: Likewise.
2N/A * m4/lcmessage.m4: Likewise.
2N/A * m4/lib-ld.m4: Likewise.
2N/A * m4/lib-link.m4: Likewise.
2N/A * m4/lib-prefix.m4: Likewise.
2N/A * m4/lock.m4: Likewise.
2N/A * m4/nls.m4: Likewise.
2N/A * m4/po.m4: Likewise.
2N/A * m4/printf-posix.m4: Likewise.
2N/A * m4/progtest.m4: Likewise.
2N/A * m4/threadlib.m4: Likewise.
2N/A * m4/uintmax_t.m4: Likewise.
2N/A * m4/visibility.m4: Likewise.
2N/A * po/Makefile.am: Remove.
2N/A * po/Makefile.in.in: New file, from gettext.
2N/A ($(DOMAIN).pot-update): Support POTFILES-shell.
2N/A * po/Makevars: New file.
2N/A * po/POTFILES-shell: Rename to ...
2N/A * po/POTFILES-shell.in: ... this. Update.
2N/A * po/POTFILES: Rename to ...
2N/A * po/POTFILES.in: ... this. Update.
2N/A * po/Rules-quot: New file, from gettext.
2N/A * po/boldquot.sed: Likewise.
2N/A * po/en@boldquot.header: Likewise.
2N/A * po/en@quot.header: Likewise.
2N/A * po/insert-header.sin: Likewise.
2N/A * po/quot.sed: Likewise.
2N/A * po/remove-potcdate.sin: Likewise.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Use UUID when possible.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/20_linux_xen.in: Use submenus.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support submenus.
2N/A
2N/A * grub-core/commands/menuentry.c (grub_normal_add_menu_entry): New
2N/A parameter submenu. All users updated.
2N/A * grub-core/normal/main.c (free_menu): Rename to ...
2N/A (grub_normal_free_menu): ... this. Made global.
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): Open new context
2N/A if requested.
2N/A * grub-core/normal/menu_entry.c (screen): New field submenu.
2N/A (make_screen): Set submenu.
2N/A (run): Open new context if requested.
2N/A * include/grub/menu.h (grub_menu_entry): New field submenu.
2N/A * include/grub/normal.h (grub_normal_free_menu): New proto.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Menu entries extractor.
2N/A
2N/A * grub-core/commands/configfile.c (grub_cmd_source): Implement extractor
2N/A variants.
2N/A (GRUB_MOD_INIT): Register new variants.
2N/A (GRUB_MOD_FINI): Unregister new variants.
2N/A * grub-core/commands/legacycfg.c (grub_cmd_legacy_configfile): Merge
2N/A into grub_cmd_legacy_source.
2N/A (grub_cmd_legacy_source): Implement extractor variants.
2N/A (GRUB_MOD_INIT): Register new variants.
2N/A (GRUB_MOD_FINI): Unregister new variants.
2N/A * grub-core/commands/menuentry.c (grub_menu_init): Declare menuentry
2N/A as an extractor.
2N/A * grub-core/commands/search_wrap.c (GRUB_MOD_INIT): Declare
2N/A search as an extractor.
2N/A * grub-core/commands/test.c (GRUB_MOD_INIT): Declare
2N/A test as an extractor.
2N/A * grub-core/kern/corecmd.c (grub_register_core_commands): Declare set
2N/A as an extractor.
2N/A * grub-core/normal/context.c (grub_env_context_open): Reorganised.
2N/A (grub_env_new_context): New function.
2N/A (grub_env_context_open): Likewise.
2N/A (grub_env_extractor_open): Likewise.
2N/A (grub_env_extractor_close): Likewise.
2N/A * grub-core/script/execute.c (grub_script_execute_cmdline): Handle
2N/A grub_extractor_level.
2N/A * include/grub/command.h (GRUB_COMMAND_FLAG_EXTRACTOR): New flag.
2N/A * include/grub/env.h (grub_env_extractor_open): New proto.
2N/A (grub_env_extractor_close): Likewise.
2N/A * include/grub/normal.h (grub_extractor_level): New external variable.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make cutmem accept a region specification.
2N/A Suggested by: Samuel Thibault
2N/A
2N/A * grub-core/mmap/mmap.c (parsemem): New function.
2N/A (grub_cmd_cutmem): Handle new arguments.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A New command cutmem.
2N/A
2N/A * grub-core/mmap/mmap.c (grub_cmd_cutmem): New function.
2N/A (GRUB_MOD_INIT): Register new command.
2N/A (GRUB_MOD_FINI): Unregister new command.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support some annoying BSD and Minix subpartitions.
2N/A
2N/A * Makefile.util.def (libgrub.a): Add grub-core/partmap/bsdlabel.c.
2N/A * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name):
2N/A Properly handle concatenation.
2N/A * grub-core/kern/device.c (grub_device_iterate): Likewise.
2N/A * grub-core/normal/completion.c (iterate_partition): Likewise.
2N/A * grub-core/kern/disk.c (grub_disk_open): Make disk->name not
2N/A contain partition. All users updated.
2N/A * grub-core/partmap/bsdlabel.c (grub_netbsdlabel_partition_map): New
2N/A struct.
2N/A (grub_openbsdlabel_partition_map): Likewise.
2N/A (bsdlabel_partition_map_iterate): Rename to ..
2N/A (iterate_real): ... this. New arguments sector, freebsd and pmap.
2N/A (bsdlabel_partition_map_iterate): New function.
2N/A (netopenbsdlabel_partition_map_iterate): Likewise.
2N/A (netbsdlabel_partition_map_iterate): Likewise.
2N/A (openbsdlabel_partition_map_iterate): Likewise.
2N/A (GRUB_MOD_INIT): Register new partmaps.
2N/A (GRUB_MOD_FINI): Unregister new partmaps.
2N/A * grub-core/partmap/msdos.c (pc_partition_map_iterate): Rename to ...
2N/A (grub_partition_msdos_iterate): ... this. All users updated.
2N/A Don't support embedding other than in a minix partition.
2N/A * include/grub/msdos_partition.h (grub_partition_msdos_iterate): New
2N/A proto.
2N/A * include/grub/partition.h (grub_partition): New field msdostype.
2N/A * util/grub-install.in: Handle openbsd and netbsd types being in
2N/A part_bsd module.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split mdraid.mod into mdraid09.mod and mdraid1x.mod.
2N/A
2N/A * Makefile.util.def (libgrub.a): Add grub-core/disk/mdraid1x_linux.c.
2N/A * grub-core/Makefile.core.def (mdraid): Renamed to ...
2N/A (mdraid09): ... this.
2N/A (mdraid1x): New module.
2N/A * grub-core/disk/mdraid_linux.c: Move 1.x parts ...
2N/A * grub-core/disk/mdraid1x_linux.c: ...here. All users updated.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/misc.c (asprintf): Use vsnprintf instead of
2N/A vsprintf.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/efi/lsefimmap.c: Correct header.
2N/A * NEWS: Update.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-editenv.c (argp_parser): Don't pass translated strings
2N/A as printf format strings; the translations might contain '%' which
2N/A could cause a crash.
2N/A (main): Likewise.
2N/A * util/grub-fstest.c (argp_parser): Likewise.
2N/A * util/grub-setup.c (argp_parser): Likewise.
2N/A (main): Likewise.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use argp in grub-fstest.
2N/A
2N/A * util/grub-fstest.c: Don't include getopt.h.
2N/A Include argp.h.
2N/A (root): New variable.
2N/A (args_count): Likewise.
2N/A (nparm): Likewise.
2N/A (num_disks): Likewise.
2N/A (images): Likewise.
2N/A (cmd): Likewise.
2N/A (debug_str): Likewise.
2N/A (args): Likewise.
2N/A (options): Transformed to argp.
2N/A (usage): Removed.
2N/A (main): Split argument parsing into ...
2N/A (argp_parser): ... this. Changed to argp format.
2N/A (argp): New variable.
2N/A (main): Use argp_parse.
2N/A
2N/A2010-09-20 Tristan Gingold <gingold@free.fr>
2N/A2010-09-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/efi/lsefimmap.c: New file.
2N/A * grub-core/Makefile.core.def (lsefimmap): New module.
2N/A * include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): New definition.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Pause the execution (10s max) if any errors are displayed so the user
2N/A has a chance to see them.
2N/A
2N/A * grub-core/kern/err.c (grub_err_printed_errors): New variable.
2N/A (grub_print_error): Increment grub_err_printed_errors.
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): Pause the
2N/A execution if any errors were displayed.
2N/A (show_menu): Remove old code for pause.
2N/A * grub-core/normal/menu_entry.c (run): Likewise.
2N/A * grub-core/normal/term.c (grub_normal_char_counter): Removed. All
2N/A users updated.
2N/A (grub_normal_get_char_counter): Likewise.
2N/A * include/grub/err.h (grub_err_printed_errors): New external variable.
2N/A * include/grub/normal.h (grub_normal_get_char_counter): Removed.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support multiboot VBE info.
2N/A
2N/A * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size):
2N/A Take VBE info into account.
2N/A (fill_vbe_info) [GRUB_MACHINE_HAS_VBE]: New function.
2N/A (retrieve_video_parameters) [GRUB_MACHINE_HAS_VBE]:
2N/A Call fill_vbe_info when appropriate.
2N/A (grub_multiboot_make_mbi): Account for the size occupied by VBE info.
2N/A * grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Declare tags
2N/A as supported.
2N/A (grub_multiboot_get_mbi_size): Take new tags into account.
2N/A (fill_vbe_tag) [GRUB_MACHINE_HAS_VBE]: New function.
2N/A (retrieve_video_parameters) [GRUB_MACHINE_HAS_VBE]:
2N/A Call fill_vbe_tag when appropriate.
2N/A (grub_multiboot_make_mbi): Properly align tags.
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_pm_interface): New
2N/A function.
2N/A * include/grub/i386/pc/vbe.h (grub_vbe_bios_get_pm_interface): New
2N/A proto.
2N/A * include/grub/multiboot.h (GRUB_MACHINE_HAS_VBE): New definition.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Suport manual terminal geometry specification.
2N/A
2N/A * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_dimensions):
2N/A Save state in grub_ofconsole_terminfo_output.
2N/A (grub_ofconsole_term): Use grub_terminfo_getwh.
2N/A (grub_ofconsole_getwh): Removed.
2N/A * grub-core/term/serial.c (grub_serial_getwh): Removed.
2N/A (grub_serial_term): Use grub_terminfo_getwh.
2N/A * grub-core/term/terminfo.c (grub_terminfo_getwh): New function.
2N/A (options): New struct.
2N/A (OPTION_*): New enum.
2N/A (grub_cmd_terminfo): Transform into extcmd and handle new parameters.
2N/A * include/grub/terminfo.h (grub_terminfo_output_state): New fields
2N/A width and height.
2N/A (grub_terminfo_getwh): New proto.
2N/A * grub-core/lib/legacy_parse.c (grub_legacy_parse): Handle --lines.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handle legacy "terminal" command.
2N/A
2N/A * grub-core/lib/legacy_parse.c (legacy_command): New flags FLAG_TITLE
2N/A and FLAG_TERMINAL.
2N/A (legacy_commands): Add terminal and title.
2N/A (grub_legacy_parse): Handle terminal. Simplify title handling.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/arg.c (grub_arg_show_help): Correctly handle
2N/A parameters overflow.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add grub-core/gnulib/sys, widthspec.bin, and
2N/A widthspec.h.
2N/A
2N/A * docs/grub.texi (Shell-like scripting): Document `!'.
2N/A (Network): Simplify using new i386-pc-pxe format. Mention
2N/A grub-mknetdir.
2N/A
2N/A * NEWS: Update.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.am (SUBDIRS): Restore "."; it's important to force
2N/A ordering, so that e.g. ascii.h is built before grub-core/font/font.c
2N/A when needed.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/commands/efi/lsefisystab.c: Correct header.
2N/A * grub-core/commands/efi/lssal.c: Likewise.
2N/A * grub-core/commands/testload.c: Likewise.
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in: Add explicit root argument to --set to
2N/A prevent the UUID being interpreted as an argument to --set (matches
2N/A previous change to prepare_grub_to_access_device).
2N/A
2N/A2010-09-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
2N/A on FreeBSD. Define HAVE_DIOCGDINFO on NetBSD and FreeBSD to reduce
2N/A the verbosity of later #ifs.
2N/A (find_partition_start): Define this function on FreeBSD too.
2N/A (device_is_wholedisk) [__FreeBSD__ || __FreeBSD_kernel__]: New
2N/A function.
2N/A (grub_util_biosdisk_get_grub_dev): Use partition-start-sector logic
2N/A on FreeBSD.
2N/A
2N/A2010-09-20 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * util/grub-editenv.c: Use argp instead of getopt.
2N/A
2N/A2010-09-20 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * util/grub-setup.c: Use argp instead of getopt.
2N/A
2N/A2010-09-20 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Use gnulib-tool to create gnulib source files.
2N/A
2N/A * Add gnulib files generated by gnulib-tool in build-aux, m4 and
2N/A grub-core/gnulib directories
2N/A * .bzignore: Add **/.deps and autogenerated gnulib files
2N/A * configure.ac: Assign auxiliary directory to build-aux, add invocation
2N/A of gnulib macros, add grub-core/gnulib/Makefile
2N/A * Makefile.am: Add gnulib directory in SUBDIRS (removing unnecessary .),
2N/A include m4 directory to aclocal.
2N/A * Makefile.util.def: Remove direct compilation of gnulib source files
2N/A and use the new grub-core/gnulib/libgnu.a.
2N/A * build-aux/config.rpath: move config.rpath from top directory to
2N/A build-aux
2N/A * conf/Makefile.common: Remove the macro _GL_UNUSED already defined
2N/A in gnulib headers
2N/A * conf/Makefile.extra-dist: Add m4/gnulib-cache.m4
2N/A * grub-core/Makefile.core.def: Remove unnecessary extra_dist
2N/A * grub-core/lib/posix_wrap/localcharset.h (locale_charset): Update
2N/A header.
2N/A * grub-core/lib/posix_wrap/langinfo.h (nl_langinfo): Return static
2N/A string.
2N/A
2N/A2010-09-20 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * .bzrignore: Add grub-kbdcomp, grub-menulst2cfg, *.marker,
2N/A grub-core/genmod.sh and grub-core/gensyminfo.sh
2N/A
2N/A2010-09-20 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Add a test for echo command options.
2N/A
2N/A * tests/grub_cmd_echo.in: New test.
2N/A * Makefile.util.def: Rules for new test.
2N/A
2N/A2010-09-20 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A Remove crc.mod and move crc command to hashsum.mod.
2N/A Remove lib/crc.c - users updated to use gcrypt implementation.
2N/A
2N/A * grub-core/commands/crc.c: Removed.
2N/A * grub-core/Makefile.core.def (crc): Module removed.
2N/A * grub-core/commands/hashsum.c (aliases[]): Add crc alias.
2N/A * grub-core/commands/hashsum.c (GRUB_MOD_INIT): Register crc command.
2N/A * grub-core/commands/hashsum.c (GRUB_MOD_FINI): Unregister crc command.
2N/A * grub-core/lib/crc.c: Removed.
2N/A * include/grub/lib/crc.h: Removed.
2N/A * Makefile.util.def (crc): Remove lib/crc.c
2N/A * grub-core/Makefile.core.def (libgrub.a): Remove grub-core/lib/crc.c.
2N/A * util/grub-fstest.c (cmd_crd): Use libgcrypt crc implementation.
2N/A * Makefile.util.def (libgrub.a): Add grub-core/lib/libgcrypt-grub/cipher/crc.c.
2N/A * Makefile.util.def (grub-fstest): Add CFLAGS_GCRY to cflags.
2N/A * Makefile.util.def (grub-fstest): Add CPPFLAGS_GCRY to cppflags.
2N/A * grub-core/efiemu/prepare.c (grub_efiemu_crc): Use libgcrypt crc implementation.
2N/A
2N/A2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/boot/i386/pc/boot.S: Ignore %dl if it's not in a sane range.
2N/A
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split config.h for util and core.
2N/A
2N/A * acinclude.m4 (HAVE_ASM_USCORE): Transformed into a variable.
2N/A (ADDR32): Likewise.
2N/A (DATA32): Likewise.
2N/A (BSS_START_SYMBOL): Likewise.
2N/A (END_SYMBOL): Likewise.
2N/A (NEED_ENABLE_EXECUTE_STACK): Likewise. All users updated.
2N/A (grub_I386_ASM_ABSOLUTE_WITHOUT_ASTERISK): Removed.
2N/A * config.h.in: New file.
2N/A * configure.ac: Use config-util.h as config define file.
2N/A Rename MACHINE into GRUB_MACHINE. All users updated.
2N/A (NEED_REGISTER_FRAME_INFO): Transformed into a variable. All users
2N/A updated.
2N/A (NESTED_FUNC_ATTR): Likewise.
2N/A Substitue new variables.
2N/A (COND_HAVE_ASM_USCORE): New conditional.
2N/A * grub-core/Makefile.am (ASM_PREFIX): New variable.
2N/A (kernel_syms.lst): Use ASM_PREFIX.
2N/A * grub-core/kern/emu/console.c: Include config-util.h.
2N/A * grub-core/kern/emu/misc.c: Likewise.
2N/A * grub-core/kern/emu/mm.c: Likewise.
2N/A * include/grub/emu/misc.h: Likewise.
2N/A * include/grub/libgcc.h: Likewise.
2N/A
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_*
2N/A constants usage.
2N/A * grub-core/kern/emu/console.c (grub_ncurses_getkey):
2N/A Fix GRUB_TERM_KEY_* constants usage.
2N/A * grub-core/kern/emu/misc.c (asprintf): Fix vasprintf usage.
2N/A
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
2N/A print pointer.
2N/A * grub-core/bus/usb/uhci.c: Remove empty define.
2N/A (grub_uhci_check_transfer): Add missing cast.
2N/A * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Use %p to
2N/A print pointer.
2N/A * grub-core/term/usb_keyboard.c (grub_usb_keyboard_getkey): Use
2N/A PRIuGRUB_SIZE.
2N/A * include/grub/types.h (PRIuGRUB_SIZE): New definition.
2N/A
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (legacycfg): Add
2N/A lib/i386/pc/vesa_modes_table.c on emu.
2N/A
2N/A2010-09-19 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Reduce number of temporary files generated by build system.
2N/A
2N/A * grub-core/gencmdlist.sh: Removed.
2N/A * grub-core/genfslist.sh: Removed.
2N/A * grub-core/genhandlerlist.sh: Removed.
2N/A * grub-core/genmodsrc.sh: Removed.
2N/A * grub-core/genpartmaplist.sh: Removed.
2N/A * grub-core/genparttoollist.sh: Removed.
2N/A * grub-core/gentermiinallist.sh: Removed.
2N/A * grub-core/genvideolist.sh: Removed.
2N/A
2N/A * grub-core/genmod.sh.in: New file.
2N/A * grub-core/gensyminfo.sh.in: New file.
2N/A
2N/A * conf/Makefile.common (CPPFLAGS_*_LIST): New marker flags.
2N/A * conf/Makefile.extra-dist: Update with new files.
2N/A * gentpl.py: Remove rules related to unnecessary temporary files.
2N/A * grub-core/Makefile.am (syminfo.lst): New replacement for def-*
2N/A and und-* files.
2N/A * grub-core/Makefile.core.def: New rules for gensyminfo.sh and
2N/A genmod.sh scripts.
2N/A * grub-core/bus/usb/uhci.c: Remove empty #define.
2N/A * grub-core/genmoddep.awk: Updated with new syminfo format.
2N/A * util/bash-completion.d/Makefile.am: Add config.log to
2N/A CLEANFILES.
2N/A
2N/A2010-09-19 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * Makefile.util.def: Add forgotten $(LIBINTL) library.
2N/A
2N/A2010-09-19 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in: Check the config script for syntax errors
2N/A before saving.
2N/A
2N/A2010-09-19 Colin Watson <cjwatson@ubuntu.com>
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.util.def (grub-install): Use util/grub-install.in on all
2N/A platforms.
2N/A * util/grub-install.in: Add EFI and IEEE1275 support.
2N/A * util/i386/efi/grub-install.in: Removed.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/i386/cmostest.c (+parse_args): New function.
2N/A (grub_cmd_cmosclean): Likewise.
2N/A (GRUB_MOD_INIT): Register command cmosclean.
2N/A * util/grub-mkconfig.in: Export GRUB_BUTTON_CMOS_CLEAN.
2N/A * util/grub.d/00_header.in: Handle GRUB_BUTTON_CMOS_CLEAN.
2N/A
2N/A2010-09-18 Carles Pina i Estany <carles@pina.cat>
2N/A2010-09-18 Aleš Nesrsta <starous@volny.cz>
2N/A2010-09-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add keyboard layouts support.
2N/A
2N/A * Makefile.util.def (grub-mklayout): New file.
2N/A (grub-kbdcomp): New script.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES) [COND_mips_yeeloong]:
2N/A Add keyboard_layouts.h.
2N/A * grub-core/Makefile.core.def (kernel): Add commands/keylayouts.c and
2N/A commands/boot.c on yeeloong.
2N/A (keylayouts): New module.
2N/A * grub-core/bus/usb/ohci.c
2N/A * grub-core/bus/usb/uhci.c
2N/A * grub-core/bus/usb/usbhub.c (rescan): New variable.
2N/A (grub_usb_add_hub): Poll interrupt pipe for device handling.
2N/A (attach_root_port): Likewise.
2N/A (poll_nonroot_hub): Likewise.
2N/A (grub_usb_poll_devices): Likewise.
2N/A (detach_device): Close transfer.
2N/A * grub-core/bus/usb/usbtrans.c (grub_usb_execute_and_wait_transfer): New
2N/A function.
2N/A (grub_usb_bulk_setup_readwrite): Likewise.
2N/A (grub_usb_bulk_finish_readwrite): Likewise.
2N/A * grub-core/commands/keylayouts.c: New file.
2N/A * grub-core/commands/keystatus.c (grub_getkeystatus): New function.
2N/A * grub-core/commands/menuentry.c (hotkey_aliases): All several new
2N/A aliases.
2N/A * grub-core/term/at_keyboard.c: Restructured to use keylayouts and
2N/A support scancode 2.
2N/A * grub-core/term/usb_keyboard.c: Restructured to use keylayouts.
2N/A * include/grub/keyboard_layouts.h: New file.
2N/A * util/grub-mklayout.c: New file.
2N/A * util/grub-kbdcomp.in: Likewise.
2N/A
2N/A2010-09-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify memory types.
2N/A
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Include memory.h.
2N/A * grub-core/commands/lsmmap.c (grub_cmd_lsmmap): Output user-readable
2N/A types.
2N/A * grub-core/kern/i386/multiboot_mmap.c (grub_lower_mem): Removed.
2N/A (grub_upper_mem): Likewise.
2N/A * grub-core/kern/ieee1275/init.c (grub_upper_mem): Likewise.
2N/A * include/grub/memory.h (grub_memory_type_t): New enum.
2N/A All users updated.
2N/A
2N/A2010-09-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (lsapm): New module.
2N/A * grub-core/commands/i386/pc/lsapm.c: New file.
2N/A * grub-core/loader/i386/multiboot_mbi.c (make_mbi) [GRUB_MACHINE_PCBIOS]: Pass APM info.
2N/A * grub-core/loader/multiboot_mbi2.c (make_mbi) [GRUB_MACHINE_PCBIOS]:
2N/A Likewise.
2N/A * include/grub/i386/pc/apm.h: New file.
2N/A * include/multiboot.h (multiboot_apm_info): New struct.
2N/A
2N/A2010-09-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A GRUB-legacy configuration file support.
2N/A
2N/A * Makefile.util.def (grub-menulst2cfg): New util.
2N/A * docs/man/grub-menulst2cfg.h2m: New file.
2N/A * grub-core/Makefile.core.def (legacycfg): New module.
2N/A * grub-core/commands/legacycfg.c: New file.
2N/A * grub-core/commands/menuentry.c (append_menu_entry): Rename to ...
2N/A (grub_normal_add_menu_entry): ... this.
2N/A * grub-core/commands/password.c (grub_cmd_password): Split main part to ...
2N/A (grub_normal_set_password): ...this.
2N/A * grub-core/commands/videoinfo.c (grub_cmd_videoinfo): Support MODE.
2N/A * grub-core/loader/i386/linux.c (linux_vesafb_res): Move to ..,
2N/A * grub-core/lib/i386/pc/vesa_modes_table.c: ... here.
2N/A * grub-core/lib/legacy_parse.c: New file.
2N/A * grub-core/normal/auth.c (grub_cmd_authenticate): New command.
2N/A * include/grub/i386/pc/vesa_modes_table.h: New file.
2N/A * include/grub/legacy_parse.h: Likewise.
2N/A * include/grub/normal.h (grub_normal_add_menu_entry): New proto.
2N/A * util/grub-menulst2cfg.c: New file.
2N/A
2N/A2010-09-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Initialise node.
2N/A
2N/A2010-09-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Fix devmapper memory pool
2N/A leak.
2N/A Reported and based on patch by: Modestas Vainius.
2N/A
2N/A2010-09-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix DM-RAID probing with recent versions of device-mapper udev
2N/A rules.
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (read_device_map): Don't
2N/A canonicalise device paths under /dev/mapper/.
2N/A (convert_system_partition_to_system_disk): Compare the
2N/A uncanonicalised path to /dev/mapper/ rather than the canonicalised
2N/A path, since device nodes under /dev/mapper/ are often symlinks.
2N/A
2N/A2010-09-17 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * .bzrignore: *.d removed (old rule), add *.image and symlist.h.
2N/A
2N/A2010-09-16 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * configure.ac: Avoid some annoying error messages if freetype-config
2N/A program is not found.
2N/A
2N/A2010-09-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Support RAID on virtio devices, and others.
2N/A
2N/A * grub-core/kern/emu/getroot.c [__MINGW32__] (find_root_device):
2N/A Rename to ...
2N/A [__MINGW32__] (grub_find_device): ... this.
2N/A [! __MINGW32__ && ! __CYGWIN__] (find_root_device): Rename to ...
2N/A [! __MINGW32__ && ! __CYGWIN__] (grub_find_device): ... this. Use a
2N/A reasonable default if dir is NULL.
2N/A [! __MINGW32__ && __CYGWIN__] (find_cygwin_root_device): Rename to
2N/A ...
2N/A [! __MINGW32__ && __CYGWIN__] (grub_find_device): ... this.
2N/A (grub_guess_root_device): Update callers.
2N/A * include/grub/emu/getroot.h (grub_find_device): Add prototype.
2N/A
2N/A * util/raid.c (grub_util_getdiskname): Remove.
2N/A (grub_util_raid_getmembers): Use grub_find_device rather than
2N/A grub_util_getdiskname.
2N/A
2N/A2010-09-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (serial): Remove obsolete comment about GRUB
2N/A needing to be compiled with serial support.
2N/A (ls): Indicate that multiple files are accepted.
2N/A * grub-core/commands/ls.c (GRUB_MOD_INIT): Update help text to
2N/A indicate that multiple files are accepted.
2N/A
2N/A2010-09-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add *.1, *.8, grub-shell, grub-shell-tester,
2N/A libgrub_a_init.c, and util/bash-completion.d/grub.
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-setup.c (setup): Fix incorrect container semantics.
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
2N/A misusage.
2N/A Reported by: J. Nick Terry
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move embedding routines to partmap sources files.
2N/A
2N/A * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot)
2N/A [GRUB_UTIL]: New variable.
2N/A (gpt_partition_map_iterate): Set part.parent.
2N/A (gpt_partition_map_embed) [GRUB_UTIL]: New function.
2N/A (grub_gpt_partition_map) [GRUB_UTIL]: Set .embed.
2N/A * grub-core/partmap/msdos.c (pc_partition_map_embed) [GRUB_UTIL]:
2N/A New function.
2N/A (grub_msdos_partition_map) [GRUB_UTIL]: Set .embed.
2N/A * include/grub/partition.h (grub_embed_type_t) [GRUB_UTIL]: New type.
2N/A (grub_partition_map) [GRUB_UTIL]: New field embed.
2N/A * util/grub-setup.c (grub_gpt_partition_type_bios_boot): Removed.
2N/A (setup): Use ->embed.
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): New
2N/A function.
2N/A * include/grub/emu/hostdisk.h (grub_util_biosdisk_is_floppy): New proto.
2N/A * util/grub-setup.c (setup): Use grub_util_biosdisk_is_floppy.
2N/A
2N/A2010-09-15 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Add function to get completions from usage.
2N/A
2N/A * util/bash-completion.d/grub-completion.bash.in: Add function to get
2N/A completions from usage. Use LC_ALL=C to get options properly.
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gnulib/basename-lgpl.c: Imported.
2N/A * grub-core/gnulib/basename.c: Likewise.
2N/A * grub-core/gnulib/dirname-lgpl.c: Likewise.
2N/A * grub-core/gnulib/dirname.c: Likewise.
2N/A * grub-core/gnulib/dirname.h: Likewise.
2N/A * grub-core/gnulib/stripslash.c: Likewise.
2N/A
2N/A2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/gnulib/error.c: Resynced.
2N/A * grub-core/gnulib/getopt.c: Likewise.
2N/A * grub-core/gnulib/getopt_int.h: Likewise.
2N/A * grub-core/gnulib/regex.h: Likewise.
2N/A * grub-core/gnulib/regex_internal.c: Likewise.
2N/A * grub-core/gnulib/regex_internal.h: Likewise.
2N/A
2N/A2010-09-15 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (dec_main): Fix index and block
2N/A CRC calculations and validity checks.
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (dec_index): Fix index CRC
2N/A calculations.
2N/A
2N/A2010-09-15 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix incorrect echo options handling.
2N/A Reported by: Yves Blusseau.
2N/A
2N/A * include/grub/command.h (grub_command_flags_t): New flags
2N/A GRUB_COMMAND_ACCEPT_DASH and GRUB_COMMAND_OPTIONS_AT_START.
2N/A * grub-core/lib/arg.c (grub_arg_parse): Handle new flags.
2N/A * grub-core/commands/echo.c (GRUB_MOD_INIT): Use new flags.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All
2N/A users updated.
2N/A (GRUB_COMMAND_FLAG_MENU): Likewise.
2N/A (GRUB_COMMAND_FLAG_BOTH): Likewise.
2N/A (GRUB_COMMAND_FLAG_TITLE): Removed.
2N/A (GRUB_COMMAND_FLAG_NO_ECHO): Likewise.
2N/A (GRUB_COMMAND_FLAG_EXTCMD): Moved into enum.
2N/A (GRUB_COMMAND_FLAG_DYNCMD): Likewise.
2N/A (GRUB_COMMAND_FLAG_BLOCKS): Likewise.
2N/A (grub_command_flags_t): New enum. All users updated.
2N/A
2N/A2010-09-14 Seth Goldberg <seth.goldberg@oracle.com>
2N/A
2N/A Fix solaris compilation.
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Include gnulib/error.c on emu.
2N/A (grub-emu): Add LIBZFS and LIBNVPAIR to ldadd.
2N/A (grub-emu-list): Likewise.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove deprecated root command.
2N/A
2N/A * grub-core/commands/minicmd.c (grub_mini_cmd_root): Removed. All users
2N/A updated.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c: Merge this ...
2N/A * util/sparc64/ieee1275/grub-setup.c: ... and this ...
2N/A * util/grub-setup.c: ... into this.
2N/A * include/grub/sparc64/ieee1275/boot.h (grub_boot_blocklist) [ASM_FILE]:
2N/A New struct.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/ext2.c (grub_ext2_open): Use return error value when
2N/A possible.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly
2N/A allocate p.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
2N/A explicit root argument to set to prevent UUID to be interpreted as
2N/A argument to set.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't export grub_gate_a20.
2N/A
2N/A * grub-core/kern/i386/pc/init.c: Remove leftovers.
2N/A * grub-core/kern/i386/pc/startup.S (FUNCTION(grub_gate_a20)): Rename
2N/A to ...
2N/A (grub_gate_a20): ... this. All users updated.
2N/A * include/grub/i386/pc/init.h: Removed. All users updated.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Create euro.pf2 which supports most European languages.
2N/A
2N/A * Makefile.am (grubdata_DATA): Add euro.pf2.
2N/A (euro.pf2): New target.
2N/A (CLEANFILES): Add euro.pf2.
2N/A
2N/A2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Disable emu-usb by default to prevent inadvertent
2N/A device takeover.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Disable usbserial on grub-emu since our libusb code isn't good enough
2N/A yet.
2N/A
2N/A * grub-core/Makefile.core.def (usbserial_common): Disable on emu.
2N/A (usbserial_pl2303): Likewise.
2N/A (usbserial_ftdi): Likewise.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/disk.h (grub_disk): Remove has_partitions.
2N/A All users updated.
2N/A * disk/loopback.c (grub_loopback): Remove has_partitions.
2N/A All users updated.
2N/A (options): Remove partitions. All users updated.
2N/A * util/grub-fstest.c (fstest): Don't pass "-p" to loopback.
2N/A * util/i386/pc/grub-setup.c (setup): copy partition table only when
2N/A actual partition table is found.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove readability checks (too many false negatives).
2N/A
2N/A * util/grub-install.in: Remove readability checks.
2N/A * util/grub-mkconfig.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Revert to old
2N/A way.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Enable acpi shutdown on all ACPI platforms.
2N/A
2N/A * grub-core/Makefile.core.def (halt): Inlude commands/acpihalt.c
2N/A on coreboo, multiboot and EFI.
2N/A * grub-core/commands/acpihalt.c (get_sleep_type): Add missing casts.
2N/A (grub_acpi_halt): Likewise.
2N/A * grub-core/commands/i386/pc/halt.c (grub_halt): Call grub_acpi_halt.
2N/A (grub_cmd_halt): Don't call grub_acpi_halt directly.
2N/A * grub-core/lib/efi/halt.c (grub_halt): Call grub_acpi_halt.
2N/A * grub-core/lib/i386/halt.c (grub_halt)
2N/A [GRUB_MACHINE_COREBOOT || GRUB_MACHINE_MULTIBOOT]: Likewise.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/iorw.c (grub_cmd_read): Declare buf in smallest
2N/A context.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/video/efi_gop.c: Fix over-80-chars line.
2N/A * grub-core/video/efi_uga.c: Likewise.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Filter devaliases and never open same device twice.
2N/A
2N/A * grub-core/disk/ieee1275/ofdisk.c (last_devpath): New variable.
2N/A (last_ihandle): Likewise.
2N/A (ofdisk_hash_ent): New member shortest.
2N/A (ofdisk_hash_add): Add canonical path too.
2N/A (scan): New function.
2N/A (grub_ofdisk_iterate): Iterate over hashed entries.
2N/A (compute_dev_path): Don't add :0.
2N/A (grub_ofdisk_open): Don't really open the disk.
2N/A (grub_ofdisk_close): Avoid closing unrelated disk.
2N/A (grub_ofdisk_read): Implement reopen logic.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_canonicalise_devname):
2N/A New function.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_canonicalise_devname):
2N/A New proto.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix sparc64.
2N/A
2N/A * configure.ac (GRUB_KERNEL_MACHINE_LINK_ADDR): Removed.
2N/A * grub-core/Makefile.core.def (kernel): Make ldflags just use the
2N/A right address. Add sparc64_ieee1275_ldflags.
2N/A * grub-core/loader/sparc64/ieee1275/linux.c: Remove leftover include.
2N/A * util/grub-mkimagexx.c (locate_sections): Correct grub_host_to_target32
2N/A to grub_host_to_target_addr
2N/A (load_image): Likewise.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/completion.c (complete_file): Handle device
2N/A containing slash.
2N/A Fix based on patch by Doug Nazar.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A grub-mknetdir script.
2N/A
2N/A * Makefile.util.def (grub-mknetdir): New module.
2N/A * tests/util/grub-shell.in: Support boot=net
2N/A * util/grub-mknetdir.in: New file.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A videoinfo on non-vbe.
2N/A
2N/A * grub-core/Makefile.core.def (vbeinfo): Removed.
2N/A (vbetest): Removed.
2N/A (videoinfo): New module.
2N/A * grub-core/commands/i386/pc/vbeinfo.c: Removed.
2N/A * grub-core/commands/i386/pc/vbetest.c: Removed.
2N/A * grub-core/commands/videoinfo.c: New file.
2N/A * grub-core/commands/videotest.c (grub_cmd_videotest): Support mode
2N/A specification.
2N/A (grub_cmd_videotest) [GRUB_MACHINE_PCBIOS]: Load vbe.mod when invoked
2N/A as vbetest.
2N/A (GRUB_MOD_INIT) [GRUB_MACHINE_PCBIOS]: New command vbetest.
2N/A (GRUB_MOD_FINI) [GRUB_MACHINE_PCBIOS]: Unregister vbetest.
2N/A * grub-core/video/efi_gop.c (grub_video_gop_fill_mode_info): Fill
2N/A mode_number. New parameter mode. All users updated.
2N/A (grub_video_gop_iterate): New function.
2N/A (grub_video_efi_gop): New member iterate.
2N/A * grub-core/video/i386/pc/vbe.c (framebuffer): Removed leftover fields.
2N/A (grub_vbe_set_video_mode): Remove setting useless fields.
2N/A (vbe2videoinfo): New function.
2N/A (grub_video_vbe_iterate): Likewise.
2N/A (grub_video_vbe_setup): Use vbe2videoinfo.
2N/A (grub_video_vbe_print_adapter_specific_info): New function.
2N/A (grub_video_vbe_adapter): New fields iterate and
2N/A print_adapter_specific_info.
2N/A * include/grub/video.h (GRUB_VIDEO_MODE_*): Transform into enum.
2N/A All users updated.
2N/A (grub_video_mode_info): New field mode_number.
2N/A (grub_video_adapter): New fields iterate and
2N/A print_adapter_specific_info.
2N/A
2N/A2010-09-13 Tristan Gingold <gingold@free.fr>
2N/A2010-09-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/efi/lsefisystab.c: New file.
2N/A * grub-core/commands/efi/lssal.c: Likewise.
2N/A * grub-core/Makefile.core.def (lsacpi): New module.
2N/A (lsefisystab): Likewise.
2N/A * include/grub/efi/api.h (GRUB_EFI_SAL_TABLE_GUID): New definition.
2N/A (GRUB_EFI_HCDP_TABLE_GUID): Likewise.
2N/A (grub_efi_sal_system_table): New struct.
2N/A (grub_efi_sal_system_table_entrypoint_descriptor): Likewise.
2N/A (grub_efi_sal_system_table_memory_descriptor): Likewise.
2N/A (grub_efi_sal_system_table_platform_features): Likewise.
2N/A (grub_efi_sal_system_table_translation_register_descriptor): Likewise.
2N/A (grub_efi_sal_system_table_purge_translation_coherence): Likewise.
2N/A (grub_efi_sal_system_table_ap_wakeup): Likewise.
2N/A * include/grub/types.h (PRIuGRUB_UINT64_T): New definition.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support explicit user claim that a device is BIOS-visible.
2N/A
2N/A * grub-core/kern/emu/getroot.c (grub_util_get_dev_abstraction):
2N/A Return GRUB_DEV_ABSTRACTION_NONE if device is in device.map.
2N/A * grub-core/kern/emu/hostdisk.c
2N/A (convert_system_partition_to_system_disk): Support mdX.
2N/A (find_system_device): New parameter add. All users updated.
2N/A (grub_util_biosdisk_is_present): New function.
2N/A * include/grub/emu/hostdisk.h (grub_util_biosdisk_is_present): New
2N/A proto.
2N/A
2N/A2010-09-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Search hints support.
2N/A
2N/A * commands/search.c (FUNC_NAME): New arguments hints and nhints.
2N/A All users updated.
2N/A
2N/A2010-09-13 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Bash completion script for util commands
2N/A
2N/A * Makefile.am: Add util/bash-completion.d directory
2N/A * configure.ac: Likewise.
2N/A * util/bash-completion.d/Makefile.am: New file.
2N/A * util/bash-completion.d/grub-completion.bash.in: Likewise.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/term.c (put_glyphs_terminal): Correct sign.
2N/A (print_backlog): set backlog_ucs4 and backlog_glyphs.
2N/A Reported by: Yves Blusseau.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/misc.c (grub_normal_print_device_info): Show
2N/A partition size and offset.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/wildcard.c (make_regex): Escape brackets.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/ls.c (grub_cmd_ls): Accept multiple files.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_vprintf): Use va_copy when necessary.
2N/A (grub_xvasprintf): Likewise.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/main.c (main): Call hostfs_init only after init_all.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/commands/menuentry.c (append_menu_entry): Don't rely on
2N/A args ending with NULL.
2N/A
2N/A2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context
2N/A pointer.
2N/A
2N/A2010-09-11 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/commands/lsacpi.c (grub_cmd_lsacpi): Fix prototype.
2N/A
2N/A2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Shutdown using ACPI.
2N/A
2N/A * grub-core/Makefile.core.def (halt): Add commands/acpihalt.c on i386-pc.
2N/A * grub-core/commands/acpihalt.c: New file.
2N/A * grub-core/commands/i386/pc/halt.c (grub_cmd_halt): Call grub_acpi_halt.
2N/A * include/grub/acpi.h (grub_acpi_fadt): New member pm1a.
2N/A (grub_acpi_halt): New proto.
2N/A (GRUB_ACPI_SLP_EN): New const.
2N/A (GRUB_ACPI_SLP_TYP_OFFSET): Likewise.
2N/A (GRUB_ACPI_OPCODE_*): New enum.
2N/A (GRUB_ACPI_EXTOPCODE_*): Likewise.
2N/A
2N/A2010-09-11 Tristan Gingold <gingold@free.fr>
2N/A2010-09-11 Robert Millan <rmh.grub@aybabtu.com>
2N/A2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/lsacpi.c: New file.
2N/A * grub-core/Makefile.core.def (lsacpi): New module.
2N/A * include/grub/acpi.h (GRUB_ACPI_FADT_SIGNATURE): New definition.
2N/A (GRUB_ACPI_MADT_SIGNATURE): Likewise.
2N/A (grub_acpi_madt_entry_header): New struct.
2N/A (grub_acpi_madt): Likewise.
2N/A (grub_acpi_madt_entry_interrupt_override): Likewise.
2N/A (grub_acpi_madt_entry_sapic): Likewise.
2N/A (grub_acpi_madt_entry_lsapic): Likewise.
2N/A (grub_acpi_madt_entry_platform_int_source): Likewise.
2N/A * include/grub/types.h (PRIxGRUB_UINT32_T): New definition.
2N/A (PRIuGRUB_UINT32_T): Likewise.
2N/A (PRIxGRUB_UINT64_T): Likewise.
2N/A
2N/A2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Implement loading palette on ieee1275_fb.
2N/A
2N/A * grub-core/video/ieee1275.c (stdout_ihandle): New variable.
2N/A (have_setcolors): Likewise.
2N/A (grub_video_ieee1275_init): Fill stdout_ihandle and have_setcolors.
2N/A (grub_video_ieee1275_setup): Use grub_video_ieee1275_set_palette.
2N/A (grub_video_ieee1275_set_palette): Implement.
2N/A
2N/A2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2010-09-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in (grub_partition): New variable.
2N/A Set prefix_drive on EFI and PC to (,$grub_partition) as last resort.
2N/A * util/i386/pc/grub-setup.c (setup): Don't touch prefix.
2N/A Fixes a bug reported by Yves Blusseau.
2N/A
2N/A2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix emu on mipsel.
2N/A
2N/A * conf/Makefile.common (CFLAGS_PLATFORM): Add -mflush-func
2N/A =grub_cpu_flush_cache on all mips and not only yeeloong.
2N/A * configure.ac (COND_mips): New conditional.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add libgcc on all
2N/A platforms.
2N/A * grub-core/kern/emu/cache.S (__mips__): Use _flush_cache.
2N/A * grub-core/kern/emu/full.c (grub_arch_dl_init_linker)
2N/A [GRUB_LINKER_HAVE_INIT]: New function.
2N/A (grub_emu_post_init): Likewise.
2N/A * grub-core/kern/emu/lite.c (grub_emu_post_init): Likewise.
2N/A * grub-core/kern/emu/main.c: Use grub_emu_post_init.
2N/A * include/grub/cache.h (_mips): Include mips/cache.h.
2N/A * include/grub/disk.h [GRUB_UTIL || GRUB_MACHINE_EMU]: Add missing
2N/A LVM and RAID prototypes.
2N/A * include/grub/emu/misc.h (grub_emu_post_init): New proto.
2N/A * include/grub/mips/time.h (grub_cpu_idle) [GRUB_MACHINE_EMU]: New
2N/A function.
2N/A
2N/A2010-09-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Don't try to verify core.img until after
2N/A running grub-mkimage to create it.
2N/A
2N/A2010-09-10 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_hurd.in: Add misc readability checks.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A
2N/A2010-09-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: ${imgext} won't be defined here until the
2N/A install branch is merged. For the meantime, only verify core.img on
2N/A i386-pc and sparc64-ieee1275 platforms.
2N/A
2N/A2010-09-10 Robert Millan <rmh@gnu.org>
2N/A
2N/A Solaris support in grub_find_zpool_from_dir(). Thanks
2N/A Seth Goldberg for referring to getextmntent() facility.
2N/A
2N/A * configure.ac: Check for getextmntent(), `sys/mnttab.h' and
2N/A `sys/mkdev.h'.
2N/A * grub-core/kern/emu/misc.c [HAVE_SYS_MNTTAB_H]: Include
2N/A `<sys/mnttab.h>'.
2N/A [HAVE_SYS_MKDEV_H]: Include `<sys/mkdev.h>'.
2N/A [HAVE_GETEXTMNTENT] (grub_find_zpool_from_dir): Add getextmntent()
2N/A method for finding zpool name.
2N/A
2N/A2010-09-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A grub-fstest needs the host and hostfs modules while other utilities
2N/A actively require those modules to be absent, so grub-fstest needs
2N/A its own initialisation and finalisation code.
2N/A
2N/A * Makefile.am (grub_fstest.pp): New target.
2N/A (grub_fstest_init.lst): Likewise.
2N/A (grub_fstest_init.c): Likewise.
2N/A * Makefile.util.def (grub-fstest): Add grub_fstest_init.c.
2N/A
2N/A2010-09-10 Robert Millan <rmh@gnu.org>
2N/A
2N/A * configure.ac: Check for `struct statfs.f_fstypename' and
2N/A `struct statfs.f_mntfromname'.
2N/A
2N/A * grub-core/kern/emu/misc.c (grub_find_zpool_from_dir): Conditionalize
2N/A kFreeBSD-specific code.
2N/A
2N/A2010-09-10 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Fix ${kfreebsd_device} initialization
2N/A on ZFS. Now non-main filesystems are supported as / too.
2N/A
2N/A2010-09-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.util.def (libgrub.a): Move grub-core/kern/emu/hostfs.c
2N/A and grub-core/disk/host.c to ...
2N/A (grub-fstest): ... here. Having the host disk implementation
2N/A present confuses grub-probe and other utility programs.
2N/A
2N/A * util/grub-mkconfig.in: Only verify readability of grub.cfg.new
2N/A when writing to a file, not when writing to stdout.
2N/A
2N/A2010-09-09 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * tests/partmap_test.in: New test for partitions.
2N/A * Makefile.util.def: Rules for new test.
2N/A
2N/A2010-09-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-probe.c (probe): Fix a pair of unhandled error
2N/A conditions.
2N/A
2N/A2010-09-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A Basic Btrfs support (detection and UUID).
2N/A
2N/A * grub-core/fs/btrfs.c: New file.
2N/A * Makefile.util.def (library): Register btrfs.c.
2N/A * grub-core/Makefile.core.def: Likewise.
2N/A
2N/A2010-09-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Improve
2N/A with (optional) parameters to specify device and relative path.
2N/A * util/grub-install.in: Use is_path_readable_by_grub() to
2N/A verify readability of a few critical files.
2N/A * util/grub-mkconfig.in: Use is_path_readable_by_grub() to
2N/A verify readability of grub.cfg.new.
2N/A
2N/A2010-09-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split minix.mod into minix.mod and minix2.mod.
2N/A
2N/A * Makefile.util.def (libgrub.a): Add grub-core/fs/minix2.c.
2N/A * grub-core/Makefile.core.def (minix2): New module.
2N/A * grub-core/fs/minix.c: Use definitions instead of runtime version
2N/A checking.
2N/A * grub-core/fs/minix2.c: New file.
2N/A
2N/A2010-09-08 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Add new --boot-directory option to replace --root-directory
2N/A
2N/A * util/grub-install.in: Add new --boot-directory option
2N/A * util/grub-reboot.in: Likewise.
2N/A * util/grub-set-default.in: Likewise.
2N/A
2N/A2010-09-08 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * util/grub-mkconfig.in: Use new variable.
2N/A
2N/A2010-09-08 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * configure.ac: Define some useful variables.
2N/A
2N/A2010-09-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
2N/A GRUB_IEEE1275_FLAG_HAS_CURSORONOFF when appropriate.
2N/A * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_setcursor):
2N/A Use terminfo and don't use cursor-on/cursor-off unless it's known
2N/A to work.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New element
2N/A GRUB_IEEE1275_FLAG_HAS_CURSORONOFF.
2N/A
2N/A2010-09-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * grub-core/kern/efi/init.c (grub_efi_set_prefix): If the prefix
2N/A starts with "(,", fill the drive containing the loaded image in
2N/A between those two characters, but expect that a full partition
2N/A specification including partition map names will follow.
2N/A
2N/A2010-09-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A * configure.ac: Remove `--enable-grub-fstest' option.
2N/A * Makefile.util.def (grub-fstest): Remove COND_GRUB_FSTEST condition.
2N/A
2N/A * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Use
2N/A `grub-fstest' instead of `grub-probe' for readability verification.
2N/A * util/grub-probe.c (probe): Remove readability verification kludge.
2N/A
2N/A2010-09-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig.in: Pass `--device ${GRUB_DEVICE}' when
2N/A initializing `GRUB_FS'.
2N/A
2N/A2010-09-08 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Not command (!) support to GRUB script.
2N/A
2N/A * tests/grub_script_not.in: New test.
2N/A * Makefile.util.def: Rules for new test.
2N/A
2N/A * grub-core/script/execute.c (grub_script_execute_cmdline): Handle
2N/A ! command as a special case.
2N/A * grub-core/script/yylex.l (GRUB_PARSER_TOKEN_NOT): Removed.
2N/A
2N/A2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * grub-core/commands/wildcard.c (wildcard_expand): Fix wrong
2N/A grub_free.
2N/A
2N/A2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}.
2N/A
2N/A2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * docs/grub.texi (Shell-like scripting): Documentation for break,
2N/A continue, shift and return commands.
2N/A
2N/A2010-09-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Rename CD-ROM to cd on BIOS.
2N/A
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_get_drive): Recognise
2N/A "cd".
2N/A (grub_biosdisk_call_hook): Call with "cd" instead of arbitrary hdX.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/emu/main.c (main): Reinit LVM and RAID.
2N/A * util/grub-probe.c (main): Likewise.
2N/A * util/i386/pc/grub-setup.c (main): Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c (main): Likewise.
2N/A Reported and debugged by: alexxy
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/disk/lvm.c (grub_lvm_scan_device) [GRUB_UTIL]: Output more
2N/A diagnostic info.
2N/A
2N/A2010-09-05 Jo Shields <directhex@apebox.org>
2N/A
2N/A * util/grub.d/30_os-prober.in: Add missing classes.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Theme file format): Document new position format.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Theme file format): Replace Box_slice_names.png with
2N/A a table. Use @code instead of @verbatim.
2N/A
2N/A2010-09-05 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Gfxmenu documentation.
2N/A
2N/A * docs/grub.texi (Theme file format): New chapter.
2N/A
2N/A2010-09-05 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/Makefile.core.def (xzio): New module.
2N/A * grub-core/io/xzio.c: New file.
2N/A * grub-core/lib/xzembed/xz.h: New file (from xembed).
2N/A * grub-core/lib/xzembed/xz_config.h: Likewise.
2N/A * grub-core/lib/xzembed/xz_dec_bcj.c: Likewise.
2N/A * grub-core/lib/xzembed/xz_dec_lzma2.c: Likewise.
2N/A * grub-core/lib/xzembed/xz_dec_stream.c: Likewise.
2N/A * grub-core/lib/xzembed/xz_lzma2.h: Likewise.
2N/A * grub-core/lib/xzembed/xz_private.h: Likewise.
2N/A * grub-core/lib/xzembed/xz_stream.h: Likewise.
2N/A * include/grub/file.h (grub_file_filter_id): New compression filter
2N/A GRUB_FILE_FILTER_XZIO.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/file.h (GRUB_FILE_SIZE_UNKNOWN): New definition.
2N/A * grub-core/disk/loopback.c (grub_loopback_open): Handle unknown file
2N/A size.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/err.h (grub_err_t): Replace GRUB_ERR_BAD_GZIP_DATA with
2N/A GRUB_ERR_BAD_COMPRESSED_DATA. All users updated.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Uncompressed checksum support.
2N/A
2N/A * grub-core/commands/hashsum.c (options): Add option --uncompress.
2N/A (check_list): New parameter uncompress.
2N/A (grub_cmd_hashsum): Handle --uncompress.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Reintroduce testload.
2N/A
2N/A * grub-core/commands/minicmd.c (grub_rescue_cmd_testload) [0]: Moved
2N/A from here ...
2N/A * grub-core/commands/testload.c (grub_cmd_testload): ... here.
2N/A (GRUB_MOD_INIT): New function.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * grub-core/Makefile.core.def (testload): New module.
2N/A
2N/A2010-09-05 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * grub-core/lib/posix_wrap/sys/types.h (bool): Transform into an enum.
2N/A (uint8_t): New type.
2N/A (uint16_t): Likewise.
2N/A (uint32_t): Likewise.
2N/A (uint64_t): Likewise.
2N/A
2N/A2010-09-05 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * include/grub/crypto.h (GRUB_MD_CRC32): New definition.
2N/A
2N/A2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/io/gzio.c (grub_gzio_open): Removed "transparent" parameter.
2N/A Made static.
2N/A (grub_gzfile_open): Removed. All users updated.
2N/A (GRUB_MOD_INIT): New function.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * grub-core/kern/file.c (grub_file_filters_all): New variable.
2N/A (grub_file_filters_enabled): Likewise.
2N/A (grub_file_open): Handle filters.
2N/A * grub-core/loader/i386/bsd.c (GRUB_MOD_INIT): Load gzio.
2N/A * grub-core/normal/main.c (GRUB_MOD_INIT): Likewise.
2N/A * include/grub/file.h (grub_file_filter_id_t): New type.
2N/A (grub_file_filter_t): Likewise.
2N/A (grub_file_filters_all): New extern variable.
2N/A (grub_file_filters_enabled): Likewise.
2N/A (grub_file_filter_register): New inline function.
2N/A (grub_file_filter_unregister): Likewise.
2N/A (grub_file_filter_disable): Likewise.
2N/A (grub_file_filter_disable_compression): Likewise.
2N/A * include/grub/gzio.h: Removed.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Filename expansion support for wildcards in GRUB script.
2N/A
2N/A * tests/grub_script_expansion.in: New test.
2N/A * Makefile.util.def: Rule for new test.
2N/A
2N/A * grub-core/commands/wildcard.c: New file, implements filename
2N/A expansion support for GRUB script.
2N/A * grub-core/Makefile.core.def: Rule update for regexp.mod.
2N/A * grub-core/script/argv.c: Cosmetic changes.
2N/A * grub-core/script/execute.c (grub_script_arglist_to_argv):
2N/A Refactored to perform wildcard expansion on arguments.
2N/A * include/grub/script_sh.h (grub_script_wildcard_translator): New
2N/A struct.
2N/A
2N/A * tests/util/grub-shell.in: Fix quoting for read input.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Support for updating environment variables with matched substrings
2N/A of regexp.
2N/A
2N/A * tests/grub_cmd_regexp.in: New test.
2N/A * Makefile.util.def: Rule for new test.
2N/A
2N/A * grub-core/commands/regexp.c: New option -s to update environment
2N/A variables with regexp matches.
2N/A
2N/A2010-09-04 Szymon Janc <szymon@janc.net.pl>
2N/A
2N/A * include/grub/file.h (grub_file): New member not_easly_seekable.
2N/A (grub_file_seekable): New inline function.
2N/A * grub-core/io/gzio.c (test_header): Don't test end magic if file isn't
2N/A easily seekable.
2N/A (grub_gzio_open): Set not_easly_seekable.
2N/A * grub-core/fs/i386/pc/pxe.c (grub_pxefs_open): Set not_easily_seekable.
2N/A * grub-core/io/bufio.c (grub_bufio_open): Propagate not_easily_seekable.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Support for options to appear multiple times on cmdline.
2N/A
2N/A * include/grub/lib/arg.h (grub_arg_list_alloc): New prototype.
2N/A * grub-core/commands/extcmd.c: Support for repeatable option.
2N/A * grub-core/lib/arg.c (grub_arg_list_alloc): New function for
2N/A repeatable option support.
2N/A
2N/A Refactor menuentry into a regular command.
2N/A
2N/A * grub-core/commands/menuentry.c: New file, menuentry command
2N/A implementation.
2N/A * grub-core/Makefile.core.def: Rule update for normal.mod.
2N/A * grub-core/normal/main.c: Moved menuentry creation to
2N/A grub-core/commands/menuentry.c.
2N/A * grub-core/normal/menu.c (grub_menu_execute_entry): Removed.
2N/A (grub_menu_execute_entry_real): Removed.
2N/A * grub-core/script/execute.c (grub_script_execute_sourcecode): New
2N/A function.
2N/A (grub_script_execute_menuentry): Removed.
2N/A * grub-core/script/parser.y (menuentry): Removed.
2N/A * grub-core/script/script.c (grub_script_create_cmdmenu): Removed.
2N/A * grub-core/script/yylex.l (menuentry): Removed.
2N/A * include/grub/menu.h (grub_menu_init): New prototype.
2N/A (grub_menu_fini): New prototype.
2N/A * include/grub/normal.h (grub_normal_add_menu_entry): Removed.
2N/A * include/grub/script_sh.h (grub_script_cmd_menuentry): Removed.
2N/A (grub_script_execute_sourcecode): New prototype.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A "return" command for GRUB script functions.
2N/A
2N/A * tests/grub_script_return.in: New test.
2N/A * Makefile.util.def: Rules for new test.
2N/A
2N/A * grub-core/script/execute.c (grub_script_return): New function.
2N/A * grub-core/script/main.c: Register/unregister return commaond.
2N/A * include/grub/script_sh.h (grub_script_return): New prototype.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A "setparams" command to update positional parameters.
2N/A
2N/A * tests/grub_script_setparams.in: New test.
2N/A * Makefile.util.def: Rules for new test.
2N/A
2N/A * grub-core/script/argv.c (grub_script_argv_make): New function.
2N/A * grub-core/script/execute.c (replace_scope): New function.
2N/A (grub_script_setparams): New function.
2N/A * grub-core/script/lexer.c: Remove unused variables.
2N/A * grub-core/script/main.c: Register/unregister setparams command.
2N/A * include/grub/script_sh.h (grub_script_argv_make): New prototype.
2N/A (grub_script_setparams): New prototype.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * grub-core/normal/completion.c (grub_normal_do_completion): Fix
2N/A grub_free order.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Support for passing block of commands as an argument to extcmds.
2N/A
2N/A * Makefile.util.def: Rules for new test.
2N/A * tests/grub_script_blockarg.in: New test.
2N/A * grub-core/tests/test_blockarg.c: New file, block argument
2N/A command used in the test.
2N/A
2N/A * include/grub/extcmd.h (grub_extcmd_context): New struct.
2N/A (grub_register_extcmd_prio): New function prototype.
2N/A (grub_extcmd_dispatcher): New function prototype.
2N/A * include/grub/command.h (GRUB_COMMAND_FLAG_BLOCKS): New command
2N/A type.
2N/A * include/grub/script_sh.h (struct grub_script): New members
2N/A `children', `next_siblings' and `refcnt' for block arguments and
2N/A reference counting.
2N/A (GRUB_SCRIPT_ARG_TYPE_BLOCK): New argument type.
2N/A (grub_script_arg): New member `script' for block argument.
2N/A (grub_script_argv): New member `script' for block argument.
2N/A (grub_parser_param): New member `scripts' for block argument.
2N/A (grub_script_mem_free): New extern function prototype.
2N/A (grub_script_ref): New function prototype.
2N/A (grub_script_unref): New function prototype.
2N/A
2N/A * grub-core/normal/dyncmd.c (grub_dyncmd_dispatcher): Moved to
2N/A extcmd form to support block arguments.
2N/A * grub-core/script/argv.c: Block arguments support.
2N/A * grub-core/script/execute.c: Likewise.
2N/A * grub-core/script/lexer.c: Likewise.
2N/A * grub-core/script/main.c: Likewise.
2N/A * grub-core/script/script.c: Likewise.
2N/A * grub-core/script/parser.y: Likewise. New `block' and `block0'
2N/A non-terminals.
2N/A
2N/A * grub-core/commands/acpi.c: Update extcmd implementations with
2N/A grub_extcmd_context_t.
2N/A * grub-core/commands/cat.c: Likewise.
2N/A * grub-core/commands/echo.c: Likewise.
2N/A * grub-core/commands/extcmd.c: Likewise.
2N/A * grub-core/commands/hashsum.c: Likewise.
2N/A * grub-core/commands/hdparm.c: Likewise.
2N/A * grub-core/commands/help.c: Likewise.
2N/A * grub-core/commands/hexdump.c: Likewise.
2N/A * grub-core/commands/i386/cpuid.c: Likewise.
2N/A * grub-core/commands/i386/pc/drivemap.c: Likewise.
2N/A * grub-core/commands/i386/pc/halt.c: Likewise.
2N/A * grub-core/commands/i386/pc/sendkey.c: Likewise.
2N/A * grub-core/commands/iorw.c: Likewise.
2N/A * grub-core/commands/keystatus.c: Likewise.
2N/A * grub-core/commands/loadenv.c: Likewise.
2N/A * grub-core/commands/ls.c: Likewise.
2N/A * grub-core/commands/lspci.c: Likewise.
2N/A * grub-core/commands/memrw.c: Likewise.
2N/A * grub-core/commands/probe.c: Likewise.
2N/A * grub-core/commands/search_wrap.c: Likewise.
2N/A * grub-core/commands/setpci.c: Likewise.
2N/A * grub-core/commands/sleep.c: Likewise.
2N/A * grub-core/disk/loopback.c: Likewise.
2N/A * grub-core/hello/hello.c: Likewise.
2N/A * grub-core/loader/i386/bsd.c: Likewise.
2N/A * grub-core/loader/xnu.c: Likewise.
2N/A * grub-core/term/gfxterm.c: Likewise.
2N/A * grub-core/term/serial.c: Likewise.
2N/A * grub-core/tests/lib/functional_test.c: Likewise.
2N/A
2N/A2010-09-04 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Multi-line quoted strings support.
2N/A
2N/A * grub-core/script/lexer.c (append_newline): Removed.
2N/A (grub_script_lexer_yywrap): Refactored.
2N/A (grub_script_lexer_init): Refactored.
2N/A * grub-core/script/yylex.l (yywrap): New function.
2N/A (grub_lexer_resplit): New function.
2N/A (grub_lexer_unput): New function.
2N/A * include/grub/script_sh.h (grub_lexer_param): New members, unput
2N/A and resplit.
2N/A * tests/grub_script_echo1.in: Added few more testcases.
2N/A
2N/A2010-09-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c: Don't add abort alias in utils.
2N/A Reported by: echoline.
2N/A
2N/A2010-09-03 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Add missing files into "make dist" tarball for other platforms.
2N/A
2N/A * gentpl.py (script): Use dist_noinst_DATA instead of EXTRA_DIST.
2N/A * conf/Makefile.common (dist_noinst_DATA): New variable.
2N/A * conf/Makefile.extra-dist: Added missing make dist files.
2N/A * grub-core/Makefile.core.def: Likewise.
2N/A
2N/A2010-09-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Compress grub_prefix.
2N/A
2N/A * grub-core/boot/i386/pc/lnxboot.S: Use
2N/A GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE.
2N/A * grub-core/kern/i386/pc/startup.S: Move grub_prefix to compressed part.
2N/A * include/grub/offsets.h: Rename GRUB_MACHINE_DATA_END to
2N/A GRUB_MACHINE_PREFIX_END. All users updated.
2N/A (GRUB_KERNEL_I386_PC_PREFIX): Set to GRUB_KERNEL_I386_PC_RAW_SIZE.
2N/A (GRUB_KERNEL_I386_PC_PREFIX_END): Set to GRUB_KERNEL_I386_PC_PREFIX
2N/A + 0x40.
2N/A (GRUB_KERNEL_I386_PC_RAW_SIZE): Decrease.
2N/A * util/grub-mkimage.c (image_target_desc): Change data_end to
2N/A prefix_end. All users updated.
2N/A
2N/A2010-09-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/loader/i386/bsd.c (grub_freebsd_boot): Set %ebp to sane
2N/A value.
2N/A (grub_openbsd_boot): Likewise.
2N/A (grub_netbsd_boot): Likewise.
2N/A * grub-core/loader/i386/xnu.c (grub_xnu_boot_resume): Likewise.
2N/A (grub_xnu_boot): Likewise.
2N/A
2N/A2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Clean LIBS variable after tests.
2N/A
2N/A2010-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * INSTALL: Document that libdevmapper needs to be 1.02.34 or later.
2N/A
2N/A2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Check for dm_log_with_errno_init in libdevmapper and
2N/A echo if libdevmapper will be used.
2N/A
2N/A2010-09-02 Ian Turner <Ian.Turner@deshaw.com>
2N/A
2N/A * grub-core/fs/i386/pc/pxe.c (grub_pxefs_read): Keep the blocksize
2N/A constant for the same file.
2N/A
2N/A2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/i386/multiboot_mmap.c: Remove leftover include.
2N/A
2N/A2010-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add *.pp, **/.dirstamp, grub-core/*.module, and
2N/A grub-core/*.pp.
2N/A
2N/A2010-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Zero %ebp and %edi when entering Linux's 32-bit entry point, as
2N/A required by the boot protocol.
2N/A
2N/A * include/grub/i386/relocator.h (struct grub_relocator32_state): Add
2N/A ebp and edi members.
2N/A * grub-core/lib/i386/relocator.c (grub_relocator_boot): Handle
2N/A state.ebp and state.edi.
2N/A * grub-core/lib/i386/relocator32.S (grub_relocator32_start): Set
2N/A %ebp and %edi according to grub_relocator32_ebp and
2N/A grub_relocator32_edi respectively.
2N/A * grub-core/loader/i386/linux.c (grub_linux_boot): Zero state.ebp
2N/A and state.edi.
2N/A
2N/A2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add i386-pc-pxe image target.
2N/A
2N/A * util/grub-mkimage.c (image_target_desc): New enum value
2N/A IMAGE_I386_PC_PXE.
2N/A (image_targets): New target i386-pc-pxe.
2N/A (generate_image): Handle i386-pc-pxe image.
2N/A
2N/A2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix grub_pxe_scan.
2N/A
2N/A * grub-core/fs/i386/pc/pxe.c (grub_pxe_pxenv): Put correct type bangpxe.
2N/A (grub_pxe_scan): Fix types and pxe_rm_entry computation.
2N/A All users updated.
2N/A * include/grub/i386/pc/pxe.h (grub_pxe_bangpxe): New struct.
2N/A (grub_pxe_pxenv): Correct type.
2N/A
2N/A2010-09-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * NEWS: Document most of the important changes since 1.98.
2N/A
2N/A2010-09-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in (usage): Tidy up usage output (and hence
2N/A generated manual page) a little.
2N/A
2N/A2010-09-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi: Add myself as an author.
2N/A
2N/A2010-09-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.util.def (libgrub.a): Add missing sunpc.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Interrupt wrapping and code simplifications.
2N/A
2N/A * Makefile.util.def (grub-mkrescue): Use x86 tg instead of
2N/A x86_noieee1275 which are functionaly equivalent in this case.
2N/A (grub-install): Make source on each platform explicit. Enable on
2N/A all noemu.
2N/A * gentpl.py (x86_efi_pc): Removed group.
2N/A (x86_noefi): Likewise.
2N/A (i386_noefi): Likewise.
2N/A (x86_noieee1275): Likewise.
2N/A (i386_noieee1275): Likewise.
2N/A (i386_noefi_noieee1275): Likewise.
2N/A (i386_pc_qemu_coreboot): Likewise.
2N/A (i386_coreboot_multiboot): Likewise.
2N/A (i386_pc_coreboot_multiboot_qemu): Likewise.
2N/A (x86_noefi_mips): Likewise.
2N/A (noieee1275): Likewise.
2N/A (ieee1275_mips): Likewise.
2N/A (noemu_noieee1275): Likewise.
2N/A (cmos): New group.
2N/A (usb): Likewise.
2N/A (videoinkernel): Likewise.
2N/A (videomodules): Likewise.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Remove
2N/A include/grub/elf.h, include/grub/elfload.h, include/grub/net.h,
2N/A include/grub/reader.h, include/grub/symbol.h, include/grub/types.h,
2N/A include/grub/loader.h, include/grub/msdos_partition.h,
2N/A include/grub/machine/biosdisk.h, include/grub/machine/boot.h,
2N/A include/grub/machine/console.h, include/grub/machine/vga.h,
2N/A include/grub/machine/vbe.h, include/grub/machine/init.h,
2N/A include/grub/machine/kernel.h, include/grub/cpu/time.h,
2N/A include/grub/cpu/types.h, include/grub/gzio.h and include/grub/menu.h
2N/A (KERNEL_HEADER_FILES) [i386-pc]: Add include/grub/machine/int.h.
2N/A (KERNEL_HEADER_FILES) [i386-ieee1275]: Add include/grub/i386/pit.h
2N/A * grub-core/Makefile.core.def (kernel): Explicit the source for
2N/A startup. Explicit the platforms using kern/generic/rtc_get_time_ms.c.
2N/A Split ieee1275_mips. Remove kern/i386/halt.c. Remove kern/i386/misc.S.
2N/A Enable kern/i386/pit.c on all x86. Remove kern/i386/ieee1275/init.c.
2N/A Use videoinkernel tag.
2N/A (usb): Enable on all usb.
2N/A (usbserial_common): Likewise.
2N/A (usbserial_pl2303): Likewise.
2N/A (usbserial_ftdi): Likewise.
2N/A (uhci): Enable on all x86.
2N/A (ohci): Enable on all pci.
2N/A (cmostest): Enable on all CMOS.
2N/A (acpi): Include commands/acpi.c on all platforms.
2N/A (halt): Add relevant lib/*/halt.c.
2N/A (hdparm): Enable on all pci.
2N/A (lspci): Likewise.
2N/A (usbtest): Enable on all usb.
2N/A (ata): Enable on all pci.
2N/A (ata_pthru): Likewise.
2N/A (usbms): Enable on all usb.
2N/A (usb_keyboard): Likewise.
2N/A (font): Use tag videomodules.
2N/A (bufio): Likewise.
2N/A (datetime): Use tag cmos. Enable on all noemu.
2N/A (mmap): Use tags common and x86.
2N/A (gfxterm): Use tag videomodules.
2N/A (bitmap): Likewise.
2N/A (bitmap_scale): Likewise.
2N/A (video_fb): Likewise.
2N/A (video): Likewise.
2N/A * grub-core/bus/usb/ohci.c (grub_ohci_td): Make link_td a pointer and
2N/A adjust padding accordingly. All users updated.
2N/A (grub_ohci_transaction): Fix bad format specification.
2N/A (GRUB_MOD_INIT): Add asserts for struct size.
2N/A * grub-core/bus/usb/uhci.c (grub_uhci_pci_iter): Add explicit casts.
2N/A (grub_alloc_td): Likewise.
2N/A (grub_free_queue): Likewise.
2N/A (grub_uhci_transfer): Likewise.
2N/A (grub_uhci_transaction): Fix bad format specification.
2N/A * grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Likewise.
2N/A (grub_usb_bulk_readwrite): Likewise.
2N/A * grub-core/kern/i386/misc.S (grub_stop): Moved from here ...
2N/A * grub-core/commands/i386/pc/halt.c (stop): ...here. Transformed into C.
2N/A Made static.
2N/A * grub-core/lib/i386/halt.c (stop): ... and here. Transformed into C.
2N/A Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_halt): Moved from here ...
2N/A * grub-core/commands/i386/pc/halt.c (grub_halt): ...here.
2N/A Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_biosdisk_rw_int13_extensions):
2N/A Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_rw_int13_extensions):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_biosdisk_rw_standard):
2N/A Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_rw_standard):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_biosdisk_check_int13_extensions): Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c
2N/A (grub_biosdisk_check_int13_extensions): ... here. Transformed into C.
2N/A Made static.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_biosdisk_get_cdinfo_int13_extensions): Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c
2N/A (grub_biosdisk_get_cdinfo_int13_extensions): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_biosdisk_get_diskinfo_int13_extensions): Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c
2N/A (grub_biosdisk_get_diskinfo_int13_extensions): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_biosdisk_get_diskinfo_standard): Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c
2N/A (grub_biosdisk_get_diskinfo_standard): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_biosdisk_get_num_floppies): Moved from here ...
2N/A * grub-core/disk/i386/pc/biosdisk.c
2N/A (grub_biosdisk_get_num_floppies): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_get_diskinfo_real):
2N/A New function.
2N/A * grub-core/kern/i386/pc/startup.S (grub_pxe_scan): Moved from here ...
2N/A * grub-core/fs/i386/pc/pxe.c (grub_pxe_scan): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_rm_entry): Moved from here ...
2N/A * grub-core/fs/i386/pc/pxe.c (grub_rm_entry): ... here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/ieee1275/init.c: Removed.
2N/A * grub-core/kern/i386/misc.S: Likewise.
2N/A * grub-core/kern/i386/pc/startup.S (grub_get_memsize):
2N/A Splitted from here ...
2N/A * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): ... here.
2N/A Transformed into C. Made static. All users updated.
2N/A * grub-core/kern/i386/pc/mmap.c (grub_get_ext_memsize): ... and here.
2N/A Transformed into C. Made static. All users updated.
2N/A * grub-core/kern/i386/pc/startup.S (grub_get_eisa_mmap):
2N/A Moved from here...
2N/A * grub-core/kern/i386/pc/mmap.c (grub_get_eisa_mmap): ... here.
2N/A Transformed into C. Made static. All users updated.
2N/A * grub-core/kern/i386/pc/startup.S (grub_get_mmap_entry):
2N/A Moved from here...
2N/A * grub-core/kern/i386/pc/mmap.c (grub_get_mmap_entry): ... here.
2N/A Transformed into C. Made static. All users updated.
2N/A * grub-core/kern/i386/pc/startup.S (grub_stop_floppy):
2N/A Removed (replaced by C version).
2N/A * grub-core/kern/i386/pc/startup.S (grub_vga_set_mode):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vga.c (grub_vga_set_mode): ...here.
2N/A Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_controller_info):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_controller_info):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_mode_info):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_mode_info):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_mode):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_mode):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_mode):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_mode):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S
2N/A (grub_vbe_bios_getset_dac_palette_width):Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c
2N/A (grub_vbe_bios_getset_dac_palette_width):... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_memory_window):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_memory_window):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_memory_window):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_memory_window):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_scanline_length):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_scanline_length):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_scanline_length):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_scanline_length):
2N/A ... here. Transformed into C.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_display_start):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_display_start):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_display_start):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_display_start):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_palette_data):
2N/A Moved from here...
2N/A * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_palette_data):
2N/A ... here. Transformed into C. Made static.
2N/A * grub-core/kern/i386/pc/startup.S (grub_pxe_call): Receive
2N/A pxe_rm_entry as third argument.
2N/A (grub_bios_interrupt): New function.
2N/A * grub-core/kern/i386/qemu/mmap.c: Remove useless include.
2N/A * grub-core/kern/i386/qemu/startup.S (codestart): Do cli;hlt instead
2N/A of calling grub_stop.
2N/A * grub-core/kern/efi/efi.c (grub_halt): Moved from here ...
2N/A * grub-core/lib/efi/halt.c (grub_halt): ...here.
2N/A * grub-core/kern/emu/main.c (grub_halt): Moved from here ...
2N/A * grub-core/lib/emu/halt.c (grub_halt): ... here.
2N/A * grub-core/lib/i386/halt.c: Moved from here ...
2N/A * grub-core/lib/i386/halt.c: ... here.
2N/A * grub-core/kern/ieee1275/openfw.c (grub_halt): Moved from here ...
2N/A * grub-core/lib/ieee1275/halt.c (grub_halt): ... here.
2N/A * grub-core/loader/i386/pc/linux.c (grub_linux16_boot): Call
2N/A grub_stop_floppy.
2N/A * grub-core/loader/i386/xnu.c (guessfsb) [IEEE1275]: Enable.
2N/A * include/grub/i386/coreboot/init.h: Removed.
2N/A * include/grub/i386/multiboot/init.h: Likewise.
2N/A * include/grub/i386/pc/biosdisk.h: Removed all function prototypes.
2N/A * include/grub/i386/pc/init.h: Likewise except grub_gate_a20.
2N/A * include/grub/i386/pc/int.h: New file.
2N/A * include/grub/i386/pc/pxe.h (GRUB_PXE_SIGNATURE): New definition.
2N/A (grub_pxe_scan): Removed.
2N/A (grub_pxe_call): Update prototype.
2N/A * include/grub/i386/pc/vbe.h: Removed EXPORT_FUNC and useless
2N/A prototypes.
2N/A * include/grub/i386/pc/vga.h (grub_vga_set_mode): Removed.
2N/A * include/grub/i386/qemu/init.h: Removed.
2N/A * include/grub/mips/yeeloong/kernel.h (grub_reboot): Add missing
2N/A noreturn.
2N/A (grub_halt): Likewise.
2N/A * include/grub/misc.h (grub_halt): Removed EXPORT_FUNC.
2N/A (grub_reboot): Likewise.
2N/A * grub-core/kern/i386/coreboot/init.c (grub_stop_floppy): Moved from here...
2N/A * include/grub/i386/floppy.h (grub_stop_floppy): ...here. Inlined.
2N/A * grub-core/kern/i386/pc/startup.S (grub_hard_stop): Removed.
2N/A
2N/A2010-08-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A * NEWS: Document addition of ZFS support in `grub-install' and
2N/A `grub-mkconfig'.
2N/A
2N/A2010-08-30 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * conf/Makefile.common (CPPFLAGS_DEFAULT): Remove leading / from
2N/A dprintf output.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove leftover embedding of font objects.
2N/A
2N/A * include/grub/kernel.h (OBJ_TYPE_FONT): Removed.
2N/A * util/grub-install.in (font): Removed.
2N/A * util/grub-mkimage.c (generate_image): Remove font support. All users
2N/A updated.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove leftover embedding of font objects.
2N/A
2N/A * include/grub/kernel.h (OBJ_TYPE_FONT): Removed.
2N/A * util/grub-install.in (font): Removed.
2N/A * util/grub-mkimage.c (generate_image): Remove font support. All users
2N/A updated.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Network): Fix reference to pxe_blksize.
2N/A Reported by: Ian Turner
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/menu.c (grub_wait_after_message): Add a 10 second
2N/A timeout to avoid indefinite boot stalling.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/color.c (grub_env_write_color_normal): Fix a warning.
2N/A (grub_env_write_color_highlight): Likewise.
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/term.c (print_more): Return to normal and not
2N/A to standard state after printing "---MORE---".
2N/A
2N/A2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/i386/vga_common.c (grub_console_setcolorstate):
2N/A Mask out the bit 0x80 since it has other meaning that specifiing color.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A New relocator. Allows for more kernel support and more straightforward
2N/A loader writing.
2N/A
2N/A * Makefile.am (BOOTTARGET): New variable.
2N/A (QEMU32): Likewise.
2N/A (linux.init.x86_64): New target.
2N/A (linux.init.i386): Likewise.
2N/A (multiboot.elf): Likewise.
2N/A (kfreebsd.elf): Likewise.
2N/A (kfreebsd.aout): Likewise.
2N/A (pc-chainloader.elf): Likewise.
2N/A (pc-chainloader.bin): Likewise.
2N/A (ntldr.elf): Likewise.
2N/A (ntldr.bin): Likewise.
2N/A (multiboot2.elf): Likewise.
2N/A (kfreebsd.init.x86_64): Likewise.
2N/A (kfreebsd.init.i386): Likewise.
2N/A (knetbsd.init.i386): Likewise.
2N/A (kopenbsd.init.i386): Likewise.
2N/A (knetbsd.init.x86_64): Likewise.
2N/A (kopenbsd.init.x86_64): Likewise.
2N/A (linux-initramfs.i386): Likewise.
2N/A (linux-initramfs.x86_64): Likewise.
2N/A (kfreebsd-mfsroot.i386.img): Likewise.
2N/A (knetbsd.image.i386): Likewise.
2N/A (kopenbsd.image.i386): Likewise.
2N/A (kopenbsd.image.x86_64): Likewise.
2N/A (knetbsd.miniroot-image.i386.img): Likewise.
2N/A (kfreebsd-mfsroot.x86_64.img): Likewise.
2N/A (knetbsd.image.x86_64): Likewise.
2N/A (knetbsd.miniroot-image.x86_64.img): Likewise.
2N/A (kfreebsd-mfsroot.i386.gz): Likewise.
2N/A (bootcheck-kfreebsd-i386): Likewise.
2N/A (kfreebsd-mfsroot.x86_64.gz): Likewise.
2N/A (bootcheck-kfreebsd-x86_64): Likewise.
2N/A (knetbsd.miniroot-image.i386.gz): Likewise.
2N/A (bootcheck-knetbsd-i386): Likewise.
2N/A (bootcheck-kopenbsd-i386): Likewise.
2N/A (bootcheck-kopenbsd-x86_64): Likewise.
2N/A (knetbsd.miniroot-image.x86_64.gz): Likewise.
2N/A (bootcheck-knetbsd-x86_64): Likewise.
2N/A (bootcheck-linux-i386): Likewise.
2N/A (bootcheck-linux-x86_64): Likewise.
2N/A (bootcheck-linux16-i386): Likewise.
2N/A (bootcheck-linux16-x86_64): Likewise.
2N/A (bootcheck-multiboot): Likewise.
2N/A (bootcheck-multiboot2): Likewise.
2N/A (bootcheck-kfreebsd-aout): Likewise.
2N/A (bootcheck-pc-chainloader): Likewise.
2N/A (bootcheck-ntldr): Likewise.
2N/A (CLEANFILES): Add new targets.
2N/A (BOOTCHECKS): New variable.
2N/A (.PHONY): Add bootchecks.
2N/A (SUCCESSFUL_BOOT_STRING): New variable.
2N/A (BOOTCHECK_TIMEOUT): Likewise.
2N/A (bootcheck): New target
2N/A * Makefile.util.def (grub-mkrescue): Enable on i386-multiboot.
2N/A * configure.ac: Correct efiemu excuse.
2N/A * docs/grub.texi (Supported kernels): New chapter.
2N/A * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add
2N/A include/grub/mm_private.h. Simplify inclusion of
2N/A include/grub/boot.h, include/grub/loader.h
2N/A and include/grub/msdos_partition.h
2N/A (KERNEL_HEADER_FILES) [i386_coreboot]:
2N/A Remove include/grub/machine/loader.h. Add include/grub/i386/pit.h.
2N/A (KERNEL_HEADER_FILES) [i386_multiboot]: Likewise.
2N/A (KERNEL_HEADER_FILES) [i386_qemu]: Likewise.
2N/A (KERNEL_HEADER_FILES) [i386_ieee1275]: Remove
2N/A include/grub/machine/loader.h.
2N/A (KERNEL_HEADER_FILES) [x86_64-efi]: Likewise.
2N/A * grub-core/Makefile.core.def (kernel): Remove kern/i386/loader.S from
2N/A extra_dist.
2N/A (pci.mod): Enable on i386-multiboot.
2N/A (acpi.mod): Enable on i386-multiboot and i386-coreboot.
2N/A (efiemu.mod): Enable on i386-coreboot, i386-ieee1275, i386-multiboot and
2N/A i386-qemu.
2N/A (relocator.mod): Rewritten.
2N/A (aout.mod): Enable on all x86.
2N/A (bsd.mod): Likewise.
2N/A (ntldr.mod): New module.
2N/A (linux.mod): Use loader/i386/linux.c on all x86.
2N/A (xnu.mod): Enable on all x86.
2N/A (vga_text.mod): disable on EFI and QEMU.
2N/A * grub-core/efiemu/i386/coredetect.c: Remove useless include.
2N/A * grub-core/efiemu/i386/pc/cfgtables.c: Likewise.
2N/A * grub-core/efiemu/loadcore.c: Likewise.
2N/A * grub-core/efiemu/main.c: Likewise.
2N/A (grub_efiemu_exit_boot_services): Removed.
2N/A (grub_efiemu_finish_boot_services): Likewise.
2N/A * grub-core/efiemu/mm.c (grub_efiemu_finish_boot_services): New
2N/A function.
2N/A * grub-core/efiemu/i386/nocfgtables.c: New file.
2N/A * grub-core/kern/dl.c (grub_dl_unload_all): Removed.
2N/A * grub-core/kern/efi/efi.c (grub_efi_exit_boot_services): Removed.
2N/A (grub_efi_finish_boot_services): Moved from here ...
2N/A * grub-core/kern/efi/mm.c (grub_efi_finish_boot_services): ...here.
2N/A Fille finish memory map and related data.
2N/A (finish_mmap_buf): New variable.
2N/A (grub_efi_uintn_t finish_mmap_size): Likewise.
2N/A (grub_efi_uintn_t finish_key): Likewise.
2N/A (grub_efi_uintn_t finish_desc_size): Likewise.
2N/A (grub_efi_uint32_t finish_desc_version): Likewise.
2N/A (grub_efi_is_finished): Likewise.
2N/A (grub_efi_get_memory_map): Use saved memory map if EFI is already
2N/A finished.
2N/A * grub-core/kern/elf.c (grub_elf32_phdr_iterate): Make global.
2N/A (grub_elf64_phdr_iterate): Likewise.
2N/A * grub-core/kern/i386/coreboot/init.c (grub_os_area_addr): Removed.
2N/A (grub_os_area_size): Likewise.
2N/A (grub_machine_init): Don't reserve os area.
2N/A * grub-core/kern/i386/coreboot/startup.S: Don't include loader.S.
2N/A * grub-core/kern/i386/ieee1275/startup.S: Likewise.
2N/A * grub-core/kern/i386/loader.S: Removed.
2N/A * grub-core/kern/i386/pc/init.c (grub_os_area_addr): Removed.
2N/A (grub_os_area_size): Likewise.
2N/A (grub_machine_init): Don't reserve os area.
2N/A * grub-core/kern/i386/pc/startup.S (grub_chainloader_real_boot):
2N/A Don't call grub_dl_unload_all.
2N/A Don't include loader.S.
2N/A * grub-core/kern/i386/qemu/mmap.c (grub_machine_mmap_iterate):
2N/A Declare the memory after _end as available.
2N/A * grub-core/kern/mm.c (GRUB_MM_FREE_MAGIC): Moved from here...
2N/A * include/grub/mm_private.h (GRUB_MM_FREE_MAGIC): ... here.
2N/A (GRUB_MM_ALLOC_MAGIC): Moved from here...
2N/A * include/grub/mm_private.h (GRUB_MM_ALLOC_MAGIC): ... here.
2N/A * grub-core/kern/mm.c (grub_mm_header): Moved from here...
2N/A * include/grub/mm_private.h (grub_mm_header): ... here.
2N/A * grub-core/kern/mm.c (GRUB_MM_ALIGN): Moved from here...
2N/A * include/grub/mm_private.h (GRUB_MM_ALIGN): ... here.
2N/A * grub-core/kern/mm.c (grub_mm_region): Moved from here ...
2N/A (grub_mm_region): ..here. Removed addr. Added pre_size.
2N/A All users updated.
2N/A * grub-core/kern/mm.c (base): Renamed to ...
2N/A (grub_mm_base): ... this. Made global.
2N/A (grub_real_malloc): Alloc from end of region.
2N/A (grub_memalign): Don't attempt to malloc if grub_mm_base is NULL.
2N/A * grub-core/kern/powerpc/cache.S (grub_arch_sync_caches): Move to ...
2N/A * grub-core/kern/powerpc/cache_flush.S: ... here.
2N/A * grub-core/lib/efi/relocator.c: New file.
2N/A * grub-core/lib/i386/relocator.c: Rewritten.
2N/A * grub-core/lib/i386/relocator16.S: New file.
2N/A * grub-core/lib/i386/relocator32.S: Likewise.
2N/A * grub-core/lib/i386/relocator64.S: Likewise.
2N/A * grub-core/lib/i386/relocator_asm.S: Rewritten.
2N/A * grub-core/lib/i386/relocator_common.S: New file.
2N/A * grub-core/lib/ieee1275/relocator.c: Likewise.
2N/A * grub-core/lib/mips/relocator.c: Rewritten.
2N/A * grub-core/lib/mips/relocator_asm.S: Renamed variables and minor
2N/A stylistic adjustments.
2N/A * grub-core/lib/powerpc/relocator.c: New file.
2N/A * grub-core/lib/powerpc/relocator_asm.S: Likewise.
2N/A * grub-core/lib/relocator.c: Rewritten.
2N/A * grub-core/lib/x86_64/relocator_asm.S: New file.
2N/A * grub-core/loader/aout.c (grub_aout_load): Make load_addr a void *.
2N/A * grub-core/loader/i386/bsd.c (NETBSD_DEFAULT_VIDEO_MODE): New const.
2N/A (bsd_tag): New struct.
2N/A (tags): New variable.
2N/A (tags_last): Likewise.
2N/A (netbsd_module): New struct.
2N/A (netbsd_mods): New variable.
2N/A (netbsd_mods_last): Likewise.
2N/A (openbsd_opts): New parameter "serial".
2N/A (OPENBSD_SERIAL_ARG): New definition.
2N/A (netbsd_opts): New parameter "serial".
2N/A (NETBSD_SERIAL_ARG): New definition.
2N/A (grub_freebsd_add_meta): Reorganised into ...
2N/A (grub_bsd_add_meta): ...this. All users updated.
2N/A (grub_freebsd_add_mmap): Reorganised into ...
2N/A (generate_e820_mmap): ...this...
2N/A (grub_bsd_add_mmap): ...and this. All users updated.
2N/A (grub_freebsd_list_modules): Use tags.
2N/A (grub_netbsd_add_meta_module): New function.
2N/A (grub_netbsd_list_modules): Likewise.
2N/A (grub_freebsd_boot): Use relocator and finish EFI.
2N/A (grub_openbsd_boot): Likewise.
2N/A (grub_netbsd_setup_video): New function.
2N/A (grub_netbsd_add_modules): Likewise.
2N/A (grub_netbsd_boot): Use grub_netbsd_add_modules, relocator, netbsd_tags
2N/A and finish EFI.
2N/A (grub_bsd_unload): Unload tags.
2N/A (grub_bsd_load_aout): Use relocator.
2N/A (grub_bsd_elf32_size_hook): New function.
2N/A (grub_bsd_elf32_hook): Use relocator.
2N/A (grub_bsd_elf64_size_hook): New function.
2N/A (grub_bsd_elf64_hook): Use relocator.
2N/A (grub_bsd_load_elf): Use relocator and call grub_openbsd_find_ramdisk.
2N/A (grub_bsd_load): Zero-out openbsd_ramdisk.
2N/A (grub_bsd_load): Use relocator.
2N/A (grub_cmd_openbsd): Support serial.
2N/A (grub_cmd_netbsd): Support modules.
2N/A (grub_cmd_freebsd_module): Use relocator.
2N/A (grub_netbsd_module_load): New function.
2N/A (grub_cmd_netbsd_module): Likewise.
2N/A (grub_cmd_openbsd_ramdisk): Likewise.
2N/A (GRUB_MOD_INIT): Register knetbsd_module, knetbsd_module_elf and
2N/A kopenbsd_ramdisk.
2N/A (GRUB_MOD_FINI): Unregister new commands.
2N/A * grub-core/loader/i386/bsdXX.c (load): Remove useless checks.
2N/A (grub_freebsd_load_elfmodule_obj): Use relocator.
2N/A (grub_freebsd_load_elfmodule): Likewise.
2N/A (grub_freebsd_load_elf_meta): Likewise.
2N/A (grub_netbsd_load_elf_meta): New function.
2N/A (grub_openbsd_find_ramdisk): Likewise.
2N/A * grub-core/loader/i386/bsd_helper.S: Removed.
2N/A * grub-core/loader/i386/bsd_pagetable.c: Support relocator.
2N/A * grub-core/loader/i386/bsd_trampoline.S: Removed.
2N/A * grub-core/loader/i386/efi/linux.c: Likewise.
2N/A * grub-core/loader/i386/ieee1275/linux.c: Likewise.
2N/A * grub-core/loader/i386/linux.c (HAS_VGA_TEXT): New const.
2N/A (DEFAULT_VIDEO_MODE): Likewise.
2N/A (real_mode_target): New variable.
2N/A (prot_mode_target): Likewise.
2N/A (initrd_mem_target): Likewise.
2N/A (relocator): Likewise.
2N/A (efi_mmap_buf): Likewise.
2N/A (efi_mmap_size): Likewise.
2N/A (find_efi_mmap_size): Moved from grub-core/loader/i386/efi/linux.c.
2N/A (free_pages): Use relocator.
2N/A (allocate_pages): Account for efi_mmap and use relocator. Return error.
2N/A (grub_linux_setup_video): Return error.
2N/A (grub_linux_trampoline_start): Removed.
2N/A (grub_linux_trampoline_end): Likewise.
2N/A (grub_linux_boot): Use relocator and DEFAULT_VIDEO_MODE. Pass console
2N/A andd video parameters depending on firmware.
2N/A [GRUB_MACHINE_IEEE1275]: Pass OFW parameters.
2N/A [GRUB_MACHINE_EFI]: Pass EFI parameters.
2N/A (grub_cmd_linux) [GRUB_MACHINE_EFI]: Likewise.
2N/A (grub_cmd_initrd): Use relocator.
2N/A * grub-core/loader/i386/linux_trampoline.S: Removed.
2N/A * grub-core/loader/i386/multiboot_mbi.c (elf_sec_num): New variable.
2N/A (elf_sec_entsize): Likewise.
2N/A (elf_sec_shstrndx): Likewise.
2N/A (elf_sections): Likewise.
2N/A (grub_multiboot_load): Use relocator.
2N/A (grub_multiboot_get_mbi_size): Account for sections.
2N/A (grub_multiboot_make_mbi): Use relocator and support sections.
2N/A (grub_multiboot_add_elfsyms): New function.
2N/A (grub_multiboot_free_mbi): Free sections.
2N/A * grub-core/loader/i386/pc/linux.c (relocator): New variable.
2N/A (grub_linux_real_target): Likewise.
2N/A (grub_linux_real_chunk): Likewise.
2N/A (grub_linux16_prot_size): Likewise.
2N/A (grub_linux16_boot): Use relocator.
2N/A (grub_linux_unload): Unload relocator.
2N/A (grub_cmd_linux): Use relocator.
2N/A (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/i386/pc/ntldr.c: New file.
2N/A * grub-core/loader/i386/xnu.c (guessfsb) [GRUB_MACHINE_IEEE1275]:
2N/A Don't try to guess CPU frequency.
2N/A (grub_xnu_set_video): Stretch bitmap.
2N/A (grub_xnu_boot): Use relocator.
2N/A * grub-core/loader/mips/linux.c (grub_linux_boot): Use relocator.
2N/A (grub_linux_unload): Free relocator.
2N/A (grub_linux_load32): Use relocator.
2N/A (grub_linux_load64): Likewise.
2N/A (grub_cmd_initrd): Likewise.
2N/A * grub-core/loader/multiboot.c (grub_multiboot_boot): Use relocator.
2N/A (grub_multiboot_unload): Unload relocator.
2N/A (grub_cmd_multiboot): Use relocator.
2N/A (grub_cmd_module): Likewise.
2N/A * grub-core/loader/multiboot_elfxx.c (grub_multiboot_load_elfXX):
2N/A Use relocator and support sections.
2N/A * grub-core/loader/multiboot_mbi2.c(elf_sec_num): New variable.
2N/A (elf_sec_entsize): Likewise.
2N/A (elf_sec_shstrndx): Likewise.
2N/A (elf_sections): Likewise.
2N/A (grub_multiboot_load): Use relocator.
2N/A (grub_multiboot_get_mbi_size): Account for sections.
2N/A (grub_multiboot_make_mbi): Use relocator and support sections.
2N/A (grub_multiboot_add_elfsyms): New function.
2N/A * grub-core/loader/powerpc/ieee1275/linux.c: Remove useless include.
2N/A * grub-core/loader/sparc64/ieee1275/linux.c: Likewise.
2N/A * grub-core/loader/xnu.c (grub_xnu_heap_malloc): Use relocator.
2N/A Prototype changed. All users updated.
2N/A (grub_xnu_align_heap): Simplified.
2N/A (grub_xnu_writetree_toheap): Likewise.
2N/A (grub_xnu_unload): Unload relocator.
2N/A (grub_cmd_xnu_kernel): Use relocator.
2N/A (grub_cmd_xnu_kernel64): Likewise.
2N/A (grub_xnu_register_memory): Simplified.
2N/A * grub-core/loader/xnu_resume.c (grub_xnu_resume): Use relocator.
2N/A * grub-core/term/efi/console.c (grub_console_putchar): Abort if
2N/A EFI is finished.
2N/A (grub_console_checkkey): Likewise.
2N/A (grub_console_getkey): Likewise.
2N/A (grub_console_getwh): Likewise.
2N/A (grub_console_getxy): Likewise.
2N/A (grub_console_gotoxy): Likewise.
2N/A (grub_console_cls): Likewise.
2N/A (grub_console_setcolorstate): Likewise.
2N/A (grub_console_setcursor): Likewise.
2N/A * grub-core/term/ns8250.c (grub_ns8250_hw_get_port): New function.
2N/A * grub-core/tests/boot/kbsd.init-i386.S: New file.
2N/A * grub-core/tests/boot/kbsd.init-x86_64.S: Likewise.
2N/A * grub-core/tests/boot/kbsd.spec.txt: Likewise.
2N/A * grub-core/tests/boot/kernel-8086.S: Likewise.
2N/A * grub-core/tests/boot/kernel-i386.S: Likewise.
2N/A * grub-core/tests/boot/kfreebsd-aout.cfg: Likewise.
2N/A * grub-core/tests/boot/kfreebsd.cfg: Likewise.
2N/A * grub-core/tests/boot/kfreebsd.init-i386.S: Likewise.
2N/A * grub-core/tests/boot/kfreebsd.init-x86_64.S: Likewise.
2N/A * grub-core/tests/boot/knetbsd.cfg: Likewise.
2N/A * grub-core/tests/boot/kopenbsd.cfg: Likewise.
2N/A * grub-core/tests/boot/kopenbsdlabel.txt: Likewise.
2N/A * grub-core/tests/boot/linux.cfg: Likewise.
2N/A * grub-core/tests/boot/linux.init-i386.S: Likewise.
2N/A * grub-core/tests/boot/linux.init-x86_64.S: Likewise.
2N/A * grub-core/tests/boot/linux16.cfg: Likewise.
2N/A * grub-core/tests/boot/multiboot.cfg: Likewise.
2N/A * grub-core/tests/boot/multiboot2.cfg: Likewise.
2N/A * grub-core/tests/boot/ntldr.cfg: Likewise.
2N/A * grub-core/tests/boot/pc-chainloader.cfg: Likewise.
2N/A * include/grub/aout.h (grub_aout_load): Make load_addr a void *.
2N/A * include/grub/autoefi.h (grub_autoefi_finish_boot_services):
2N/A New definition.
2N/A * include/grub/dl.h (grub_dl_unload_all): Removed.
2N/A * include/grub/efi/efi.h (grub_efi_exit_boot_services): Likewise.
2N/A (grub_efi_finish_boot_services): Change prototype.
2N/A (grub_efi_is_finished): New variable.
2N/A * include/grub/efiemu/efiemu.h (grub_efiemu_finish_boot_services):
2N/A Changed prototype.
2N/A (grub_efiemu_finish_boot_services): Removed.
2N/A (grub_machine_efiemu_init_tables): New prototype.
2N/A * include/grub/elfload.h (grub_elf32_phdr_iterate): Likewise.
2N/A (grub_elf64_phdr_iterate): Likewise.
2N/A * include/grub/i386/bsd.h: Include relocator.h.
2N/A (freebsd_tag_header): New struct.
2N/A (grub_openbsd_bios_mmap): Removed.
2N/A (grub_unix_real_boot): Removed.
2N/A (grub_freebsd_load_elfmodule32): Changed prototype.
2N/A (grub_freebsd_load_elfmodule_obj64): Likewise.
2N/A (grub_freebsd_load_elf_meta32): Likewise.
2N/A (grub_freebsd_load_elf_meta64): Likewise.
2N/A (grub_freebsd_add_meta): Removed.
2N/A (grub_netbsd_load_elf_meta32): New prototype.
2N/A (grub_netbsd_load_elf_meta64): Likewise.
2N/A (grub_bsd_add_meta): Likewise.
2N/A (grub_openbsd_ramdisk_descriptor): New struct.
2N/A (grub_openbsd_find_ramdisk32): New prototype.
2N/A (grub_openbsd_find_ramdisk64): Likewise.
2N/A * include/grub/i386/coreboot/loader.h: Removed.
2N/A * include/grub/i386/efi/loader.h: Likewise.
2N/A * include/grub/i386/ieee1275/loader.h: Likewise.
2N/A * include/grub/i386/linux.h (linux_kernel_header): Change void *
2N/A to grub_uint32_t.
2N/A * include/grub/i386/loader.h: Removed.
2N/A * include/grub/i386/memory.h (GRUB_MEMORY_CPU_CR4_PAE_ON): Correct the
2N/A value.
2N/A (GRUB_MEMORY_CPU_CR4_PSE_ON): New definition.
2N/A (grub_phys_addr_t): New type.
2N/A (grub_vtop): New inline function.
2N/A (grub_map_memory): Likewise.
2N/A (grub_unmap_memory): Likewise.
2N/A * include/grub/i386/multiboot/loader.h: Removed.
2N/A * include/grub/i386/netbsd_bootinfo.h (NETBSD_BTINFO_BOOTDISK): Removed.
2N/A (NETBSD_BTINFO_CONSOLE): New definition.
2N/A (NETBSD_BTINFO_SYMTAB): Likewise.
2N/A (NETBSD_BTINFO_MODULES): Likewise.
2N/A (NETBSD_BTINFO_FRAMEBUF): Likewise.
2N/A (grub_netbsd_bootinfo): New struct.
2N/A (grub_netbsd_btinfo_common): Use explicit bitsize.
2N/A (grub_netbsd_btinfo_mmap_entry): Removed.
2N/A (GRUB_NETBSD_MAX_BOOTPATH_LEN): New definition.
2N/A (grub_netbsd_btinfo_bootdisk): New struct.
2N/A (grub_netbsd_btinfo_symtab): Likewise.
2N/A (grub_netbsd_btinfo_serial): Likewise.
2N/A (grub_netbsd_btinfo_modules): Likewise.
2N/A (grub_netbsd_btinfo_framebuf): Likewise.
2N/A (GRUB_NETBSD_MAX_ROOTDEVICE_LEN): New definition.
2N/A * include/grub/i386/openbsd_bootarg.h (OPENBSD_BOOTARG_CONSOLE):
2N/A Likewise.
2N/A (grub_openbsd_bootargs): Use explicit bitsize.
2N/A (grub_openbsd_bootarg_console): New struct.
2N/A (GRUB_OPENBSD_COM_MAJOR): New definition.
2N/A (GRUB_OPENBSD_VGA_MAJOR): Likewise.
2N/A * include/grub/i386/pc/efiemu.h: Removed.
2N/A * include/grub/i386/pc/loader.h: Don't include cpu/loader.h.
2N/A * include/grub/i386/qemu/loader.h: Removed.
2N/A * include/grub/i386/relocator.h: Rewritten.
2N/A * include/grub/i386/xnu.h (grub_xnu_heap_will_be_at): Removed.
2N/A * include/grub/mips/memory.h: New file.
2N/A * include/grub/mips/multiboot.h: Rewritten.
2N/A * include/grub/mips/relocator.h: Rewritten.
2N/A * include/grub/mips/yeeloong/memory.h (grub_phys_addr_t): New type.
2N/A (grub_vtop): New function.
2N/A (grub_map_memory): Likewise.
2N/A (grub_unmap_memory): Likewise.
2N/A * include/grub/misc.h (ALIGN_DOWN): New definition.
2N/A * include/grub/mm.h (grub_mm_check_real): New proto.
2N/A (GRUB_MM_CHECK): New definition.
2N/A * include/grub/mm_private.h: New file.
2N/A * include/grub/multiboot.h (grub_multiboot_relocator): New variable.
2N/A (grub_multiboot_get_mbi_size): Removed.
2N/A (grub_multiboot_make_mbi): Change prottype.
2N/A (grub_multiboot_set_accepts_video): New proto.
2N/A (grub_multiboot_add_elfsyms): Likewise.
2N/A (grub_multiboot_payload_eip): New variable.
2N/A * include/grub/ns8250.h (grub_ns8250_hw_get_port) [!ASM_FILE]:
2N/A New prototype.
2N/A * include/grub/offsets.h (GRUB_KERNEL_I386_MULTIBOOT_PREFIX):
2N/A New definition.
2N/A (GRUB_KERNEL_I386_MULTIBOOT_DATA_END): Likewise.
2N/A (GRUB_KERNEL_I386_MULTIBOOT_MOD_ALIGN): Likewise.
2N/A * include/grub/powerpc/ieee1275/loader.h: Removed.
2N/A * include/grub/powerpc/memory.h: New file.
2N/A * include/grub/powerpc/relocator.h: Likewise.
2N/A * include/grub/relocator.h: Likewise.
2N/A * include/grub/relocator_private.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/loader.h: Removed.
2N/A * include/grub/x86_64/memory.h: New file.
2N/A * include/grub/xnu.h (grub_xnu_writetree_toheap): Changed prototype.
2N/A (grub_xnu_heap_malloc): Likewise.
2N/A (grub_xnu_heap_real_start): Removed.
2N/A (grub_xnu_heap_start): Likewise.
2N/A (grub_xnu_relocator): New variable.
2N/A (grub_xnu_heap_target_start): Likewise.
2N/A * tests/util/grub-shell.in: Support non-pc.
2N/A * util/grub-mkimage.c (image_targets): Fix multiboot target.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Avoid deadloop
2N/A on malloc error.
2N/A (grub_bidi_logical_to_visual): Check that malloc succeded.
2N/A * grub-core/normal/term.c (grub_puts_terminal): Fix fallback to dumb
2N/A puts.
2N/A (grub_xputs_normal): Likewise.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/Makefile.core.def (kernel): Add kern/mips/cache_flush.S to
2N/A extra_dist.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/efiemu/runtime/efiemu.sh: Removed.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.util.def (grub-ofpathname): Add missing ldadd.
2N/A
2N/A2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/kern/misc.c (grub_real_dprintf): Always refresh after
2N/A dprintf.
2N/A
2N/A2010-08-29 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * Makefile.util.def: Use ldadd instead of ldflags for libraries.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/term.c (print_more): Fix a memory leak.
2N/A (grub_puts_terminal): Revert to dumb puts if memory allocation fails.
2N/A (grub_xputs_normal): Likewise.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/script/lexer.c (grub_script_lexer_init): Don't look before
2N/A the begining of the string
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/script/script.c (grub_script_parse): Free parsed on
2N/A failure.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/completion.c (grub_normal_do_completion): Free argv
2N/A on failure.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/normal/cmdline.c (grub_cmdline_get): Free cl_terms on
2N/A return.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/gfxterm.c (grub_gfxterm_term_fini): Free the text buffer.
2N/A (scroll_up): Fix a memory leak.
2N/A
2N/A2010-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/fs/nilfs2.c (grub_nilfs2_load_sb): Handle grub_disk_read
2N/A errors.
2N/A
2N/A2010-08-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handle USB pendrives exposed as floppies.
2N/A
2N/A * grub-core/boot/i386/pc/boot.S: Check LBA even on what appears to be
2N/A floppy.
2N/A * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Likewise.
2N/A Check for partitions on all devices.
2N/A
2N/A2010-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * grub-core/term/ieee1275/ofconsole.c (put): Correct prototype.
2N/A (readkey): Likewise.
2N/A
2N/A2010-08-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Multiple variable names support to "export" command.
2N/A
2N/A * normal/context.c (grub_cmd_export): "export" command supports
2N/A multiple variable names.
2N/A
2N/A2010-08-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/30_os-prober.in: Fix conversion from grub-probe
2N/A --target=drive output to Mach device name.
2N/A
2N/A2010-08-23 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A New Automake based build system for GRUB.
2N/A
2N/A * ABOUT-NLS: New file.
2N/A * Makefile.am: New file. GRUB host utils' rules that doesn't fit
2N/A in Makefile.util.def file.
2N/A * Makefile.util.def: New file. Autogen build definitions file for
2N/A GRUB host utils.
2N/A * conf/Makefile.common: New file. Common variables for GRUB host
2N/A utils and target modules.
2N/A * conf/Makefile.extra-dist: New file. Extra files for make dist.
2N/A * docs/Makefile.am: New file. Automake file for docs.
2N/A * gentpl.py: New file. Python script to generate Autogen
2N/A template.
2N/A * grub-core/Makefile.am: New file. GRUB target modules' rules
2N/A that doesn't fit in Makefile.core.def file.
2N/A * grub-core/Makefile.core.def: New file. Autogen build
2N/A definitions file for GRUB target modules.
2N/A * grub-core/lib/setjmp.S: New file. Wrapper for target_cpu
2N/A specific setjmp.S file.
2N/A * po/Makefile.am: New file.
2N/A
2N/A * .bzrignore: New ignores.
2N/A * INSTALL: New requirements, without Ruby.
2N/A * acinclude.m4: Use TARGET_IMG_BASE_LDOPT variable instead.
2N/A * autogen.sh: Updated to invoke autogen as necessary.
2N/A * configure.ac: Separate *FLAGS with HOST_ and TARGET_ prefixes,
2N/A and defines for Automake conditionals.
2N/A * geninit.sh: Refactoring.
2N/A
2N/A * include/grub/dl.h: Allow build rules to define GRUB_MOD_* if
2N/A necessary.
2N/A * include/grub/emu/getroot.h (grub_make_system_path_relative_to_its_root):
2N/A New prototype.
2N/A
2N/A * include/grub/test.h: Fix functional test modules' naming.
2N/A * grub-core/tests/example_functional_test.c: Fix test module name.
2N/A
2N/A * util/misc.c: Hosted versions' of grub functions for libgrub.a
2N/A * tests/lib/unit_test.c: Remove hosted versions of grub functions.
2N/A * util/grub-editenv.c: Likewise.
2N/A * util/grub-fstest.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-mkfont.c: Likewise.
2N/A * util/grub-mkimage.c: Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/grub-script-check.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A
2N/A * tests/util/grub-shell.in: Fix override directory path.
2N/A * util/grub-mkrescue.in: Replace @pkglib_DATA@ with files.
2N/A * util/import_gcry.py: Create Makefile.gcry.def file instead.
2N/A
2N/A * util/lvm.c: Update #includes.
2N/A * util/raid.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A * grub-core/bus/emu/pci.c: Likewise.
2N/A * grub-core/lib/posix_wrap/stdlib.h: Likewise.
2N/A * grub-core/lib/posix_wrap/string.h: Likewise.
2N/A * grub-core/kern/emu/main.c: Likewise.
2N/A
2N/A * grub-core/gensymlist.sh: New file. Script for generating kernel
2N/A symbols file.
2N/A * grub-core/genmoddep.awk: Support new kernel_syms.lst format.
2N/A
2N/A * grub-core/gentrigtables.c: Fix unused variable warnings.
2N/A
2N/A * Makefile.in: Removed.
2N/A * conf/any-emu.rmk: Removed.
2N/A * conf/common.rmk: Removed.
2N/A * conf/i386-coreboot.rmk: Removed.
2N/A * conf/i386-efi.rmk: Removed.
2N/A * conf/i386-ieee1275.rmk: Removed.
2N/A * conf/i386-multiboot.rmk: Removed.
2N/A * conf/i386-pc.rmk: Removed.
2N/A * conf/i386-qemu.rmk: Removed.
2N/A * conf/i386.rmk: Removed.
2N/A * conf/mips-yeeloong.rmk: Removed.
2N/A * conf/mips.rmk: Removed.
2N/A * conf/powerpc-ieee1275.rmk: Removed.
2N/A * conf/sparc64-ieee1275.rmk: Removed.
2N/A * conf/tests.rmk: Removed.
2N/A * conf/x86-efi.rmk: Removed.
2N/A * conf/x86_64-efi.rmk: Removed.
2N/A * gendistlist.sh: Removed.
2N/A * geninitheader.sh: Removed.
2N/A * genkernsyms.sh.in: Removed.
2N/A * genmk.rb: Removed.
2N/A * gensymlist.sh.in: Removed.
2N/A * mkinstalldirs: Removed.
2N/A * boot: Moved ...
2N/A * grub-core/boot: ... to here.
2N/A * bus: Moved ...
2N/A * grub-core/bus: ... to here.
2N/A * commands: Moved ...
2N/A * grub-core/commands: ... to here.
2N/A * disk: Moved ...
2N/A * grub-core/disk: ... to here.
2N/A * efiemu: Moved ...
2N/A * grub-core/efiemu: ... to here.
2N/A * font: Moved ...
2N/A * grub-core/font: ... to here.
2N/A * fs: Moved ...
2N/A * grub-core/fs: ... to here.
2N/A * gencmdlist.sh: Moved ...
2N/A * grub-core/gencmdlist.sh: ... to here.
2N/A * genemuinit.sh: Moved ...
2N/A * grub-core/genemuinit.sh: ... to here.
2N/A * genemuinitheader.sh: Moved ...
2N/A * grub-core/genemuinitheader.sh: ... to here.
2N/A * genfslist.sh: Moved ...
2N/A * grub-core/genfslist.sh: ... to here.
2N/A * genhandlerlist.sh: Moved ...
2N/A * grub-core/genhandlerlist.sh: ... to here.
2N/A * genmoddep.awk: Moved ...
2N/A * grub-core/genmoddep.awk: ... to here.
2N/A * genmodsrc.sh: Moved ...
2N/A * grub-core/genmodsrc.sh: ... to here.
2N/A * genpartmaplist.sh: Moved ...
2N/A * grub-core/genpartmaplist.sh: ... to here.
2N/A * genparttoollist.sh: Moved ...
2N/A * grub-core/genparttoollist.sh: ... to here.
2N/A * genterminallist.sh: Moved ...
2N/A * grub-core/genterminallist.sh: ... to here.
2N/A * gentrigtables.c: Moved ...
2N/A * grub-core/gentrigtables.c: ... to here.
2N/A * genvideolist.sh: Moved ...
2N/A * grub-core/genvideolist.sh: ... to here.
2N/A * gettext: Moved ...
2N/A * grub-core/gettext: ... to here.
2N/A * gfxmenu: Moved ...
2N/A * grub-core/gfxmenu: ... to here.
2N/A * gnulib: Moved ...
2N/A * grub-core/gnulib: ... to here.
2N/A * hello: Moved ...
2N/A * grub-core/hello: ... to here.
2N/A * hook: Moved ...
2N/A * grub-core/hook: ... to here.
2N/A * io: Moved ...
2N/A * grub-core/io: ... to here.
2N/A * kern: Moved ...
2N/A * grub-core/kern: ... to here.
2N/A * lib: Moved ...
2N/A * grub-core/lib: ... to here.
2N/A * loader: Moved ...
2N/A * grub-core/loader: ... to here.
2N/A * mmap: Moved ...
2N/A * grub-core/mmap: ... to here.
2N/A * normal: Moved ...
2N/A * grub-core/normal: ... to here.
2N/A * partmap: Moved ...
2N/A * grub-core/partmap: ... to here.
2N/A * parttool: Moved ...
2N/A * grub-core/parttool: ... to here.
2N/A * script: Moved ...
2N/A * grub-core/script: ... to here.
2N/A * term: Moved ...
2N/A * grub-core/term: ... to here
2N/A * tests/example_functional_test.c: Moved ...
2N/A * grub-core/tests/example_functional_test.c: ... to here.
2N/A * tests/lib/functional_test.c: Moved ...
2N/A * grub-core/tests/lib/functional_test.c: ... to here.
2N/A * tests/lib/test.c: Moved ...
2N/A * grub-core/tests/lib/test.c: ... to here.
2N/A * video: Moved ...
2N/A * grub-core/video: ... to here.
2N/A
2N/A2010-08-23 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Replace --enable-grub-emu-modules with grub-emu-lite.
2N/A
2N/A * kern/emu/cache.S: New file. Wrapper for $target_cpu specific
2N/A cache.S.
2N/A
2N/A * include/grub/emu/misc.h (grub_emu_init): New prototype.
2N/A * kern/emu/full.c: New file. For grub-emu specific initialization.
2N/A * kern/emu/lite.c: New file. For grub-emu-lite initialization.
2N/A * kern/emu/main.c: Call initialization function grub_emu_init.
2N/A
2N/A * Makefile.in: Include grub-emu-lite in install.
2N/A * commands/parttool.c: Use grub_no_autoload to differentiate
2N/A between grub-emu and grub-emu-lite.
2N/A * include/grub/misc.h: New variable grub_no_autoload.
2N/A
2N/A * conf/any-emu.rmk: New rules for grub-emu-lite.
2N/A * configure.ac: Remove --enable-grub-emu-modules.
2N/A * genmk.rb: Cleanup unnecessary rules.
2N/A * include/grub/dl.h: Remove GRUB_NO_MODULES macro.
2N/A
2N/A * normal/main.c: Don't load list files on grub-emu-lite.
2N/A * util/misc.c (grub_arch_sync_caches): Removed.
2N/A
2N/A2010-08-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/mips/startup.S (grub_prefix): Update comment to refer to
2N/A grub-mkimage rather than grub-mkelfimage.
2N/A * kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
2N/A
2N/A2010-08-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/at_keyboard.c (grub_at_keyboard_getkey_noblock): Don't discard
2N/A a key after CapsLock or NumLock. It's just a qemu bug.
2N/A
2N/A2010-08-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/usb.h (grub_usb_device): Add 'data' field back. It's
2N/A needed by libusb wrapper.
2N/A
2N/A2010-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * docs/grub.texi (GNU/Hurd): Document booting GNU/Hurd.
2N/A
2N/A2010-08-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/multiboot.c (grub_cmd_module): Don't unzip module if
2N/A --nounzip is passed.
2N/A
2N/A2010-08-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A USB hotunplugging and USB serial support.
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_transfer): Fill *actual and respect timeout.
2N/A * bus/usb/uhci.c (grub_free_queue): Compute *actual.
2N/A (grub_uhci_transfer): Respect timeout and set *actual.
2N/A * bus/usb/usb.c (grub_usb_device_initialize): Correctly skip fields of
2N/A non-standard length.
2N/A (grub_usb_device_attach): Autoload modules.
2N/A (GRUB_MOD_INIT): Set grub_term_poll_usb.
2N/A (GRUB_MOD_FINI): Unset grub_term_poll_usb.
2N/A * bus/usb/usbhub.c (grub_usb_hub): Replace speed with devices. All
2N/A users updated.
2N/A (grub_usb_add_hub): Fill nports and children.
2N/A (attach_root_port): Receive hub instead of controller.
2N/A All users updated. Fill hub->devices.
2N/A (grub_usb_root_hub): Allocate hub->devices.
2N/A (detach_device): New function.
2N/A (poll_nonroot_hub): Fill children and detach devices.
2N/A * bus/usb/usbtrans.c (grub_usb_bulk_readwrite): Accept timeout and
2N/A actual arguments. All users updated.
2N/A (grub_usb_bulk_read_extended): New function.
2N/A * bus/usb/serial/common.c: New file.
2N/A * bus/usb/serial/ftdi.c: Likewise.
2N/A * bus/usb/serial/pl2303.c: Likewise.
2N/A * commands/terminal.c (handle_command): Support wildcard.
2N/A * commands/usbtest.c: Output "Unknown" instead of empty string.
2N/A * conf/any-emu.rmk (pkglib_MODULES): Add usbserial_common.mod.
2N/A (usbserial_common_mod_SOURCES): New variable.
2N/A (usbserial_common_mod_CFLAGS): Likewise.
2N/A (usbserial_common_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add usbserial_pl2303.mod.
2N/A (usbserial_pl2303_mod_SOURCES): New variable.
2N/A (usbserial_pl2303_mod_CFLAGS): Likewise.
2N/A (usbserial_pl2303_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add usbserial_ftdi.mod.
2N/A (usbserial_ftdi_mod_SOURCES): New variable.
2N/A (usbserial_ftdi_mod_CFLAGS): Likewise.
2N/A (usbserial_ftdi_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add serial.mod.
2N/A (serial_mod_SOURCES): New variable.
2N/A (serial_mod_CFLAGS): Likewise.
2N/A (serial_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/mips-yeeloong.rmk: Likewise.
2N/A * conf/i386.rmk (serial_mod_SOURCES): Add term/ns8250.c.
2N/A * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise.
2N/A * disk/usbms.c (first_available_slot): New variable.
2N/A (grub_usbms_attach): Don't reuse free slots due to potential cache
2N/A problems.
2N/A * include/grub/serial.h: Moved to ..
2N/A * include/grub/ns8250.h: ...this.
2N/A * include/grub/serial.h: New file.
2N/A * include/grub/term.h (grub_term_poll_usb): New variable.
2N/A * include/grub/terminfo.h (grub_terminfo_input_state): Pass term to
2N/A readkey. All users updated.
2N/A (grub_terminfo_output_state): Pass term to put.
2N/A * include/grub/usb.h (GRUB_USB_REQTYPE): New enum.
2N/A (grub_usb_controller_dev): Add timeout and actual arguments to
2N/A transfer. All users updated.
2N/A (grub_usb_interface): New field detach_data.
2N/A (grub_usb_device): New fields children and nports.
2N/A (grub_usb_ep_type_t): New type.
2N/A (grub_usb_get_ep_type): New function.
2N/A (grub_usb_bulk_read_extended): Likewise.
2N/A * include/grub/usbdesc.h (grub_usb_desc): New type.
2N/A * include/grub/usbserial.h: New file.
2N/A * include/grub/usbtrans.h (grub_usb_transaction): New field preceding.
2N/A * kern/term.c (grub_term_poll_usb): New variable.
2N/A (grub_getkey): Call grub_term_poll_usb if set.
2N/A (grub_checkkey): Likewise.
2N/A (grub_getkeystatus): Likewise.
2N/A * term/serial.c: Moved controller-specific parts to ...
2N/A * term/ns8250.c: ... here.
2N/A * term/serial.c: Mostly rewritten.
2N/A * term/usb_keyboard.c: Reorganised to use GET_REPORT only on attaching
2N/A according to spec.
2N/A
2N/A2010-08-20 Robert Millan <rmh@gnu.org>
2N/A
2N/A Make kFreeBSD code more generic to support ext2fs as root, ufs as
2N/A a separate module and maybe other interesting combinations.
2N/A
2N/A * util/grub.d/10_kfreebsd.in (load_kfreebsd_module): New function.
2N/A (kfreebsd_entry): Use load_kfreebsd_module() to load modules.
2N/A (kfreebsd_entry): Add generic filesystem module load routine.
2N/A Map GRUB `ext2' to kFreeBSD `ext2fs'.
2N/A
2N/A2010-08-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/i386/pc/sendkey.c (keysym_table): Rename "numlock" to
2N/A "numcenter" (I misunderstood the purpose of this entry).
2N/A * docs/grub.texi (sendkey): Likewise.
2N/A
2N/A2010-08-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/i386/pc/sendkey.c (options): Remove "keep" from all
2N/A status flag options; simply omitting the option is equivalent and
2N/A simpler. Rename "wait" to "pause". Rename "sysreq" to "sysrq".
2N/A (keysym_table): Rename "num5numlock" to "numlock".
2N/A (grub_cmd_sendkey): Reinitialise `andmask' and `ormask', so that we
2N/A can uniformly say that only the last of multiple `sendkey'
2N/A invocations has any effect.
2N/A * docs/grub.texi (sendkey): New section.
2N/A
2N/A2010-08-19 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/i386/pc/sendkey.c (options): Fix three typos.
2N/A
2N/A2010-08-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Implement sendkey support.
2N/A
2N/A * commands/i386/pc/sendkey.c: New file.
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add sendkey.mod.
2N/A (sendkey_mod_SOURCES): New variable.
2N/A (sendkey_mod_CFLAGS): Likewise.
2N/A (sendkey_mod_LDFLAGS): Likewise.
2N/A
2N/A2010-08-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Move AM_INIT_AUTOMAKE after AC_CANONICAL_TARGET to
2N/A fix warnings from Autoconf.
2N/A
2N/A2010-08-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * acinclude.m4 (grub_ASM_USCORE): Use a more accurate grep pattern,
2N/A to avoid false positives with some assemblers that output things
2N/A like "someprefix_func" as part of their output.
2N/A
2N/A2010-08-15 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/misc.c (grub_get_libzfs_handle): Handle libzfs_init()
2N/A errors.
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): Handle
2N/A grub_get_libzfs_handle() errors.
2N/A
2N/A2010-08-14 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/misc.c (grub_find_zpool_from_dir): Abort function if
2N/A filesystem is not ZFS.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix for misspelled color names defaulting to black/black (bug
2N/A reported by Doug Nazar)
2N/A
2N/A * include/grub/normal.h (grub_parse_color_name_pair): Add return
2N/A status to prototype.
2N/A * normal/color.c (grub_parse_color_name_pair): Return failure
2N/A status.
2N/A (grub_env_write_color_normal): Ignore bad color names.
2N/A (grub_env_write_color_highlight): Likewise.
2N/A * normal/main.c (GRUB_MOD_INIT): Set default color names.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A "shift" command support to GRUB script.
2N/A
2N/A * include/grub/script_sh.h (grub_script_shift): New prototype.
2N/A * script/execute.c (grub_script_shift): New function.
2N/A * script/main.c (grub_script_init): Register shift command.
2N/A (grub_script_fini): Unregister shift command.
2N/A * util/grub-script-check.c (grub_script_cmd_shift): New function.
2N/A
2N/A * tests/grub_script_shift.in: New testcase.
2N/A * conf/tests.rmk: Rules for new testcase.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A "continue" command support to GRUB script.
2N/A
2N/A * script/execute.c (grub_script_execute_cmdwhile): Continue support.
2N/A (grub_script_break): Continue support.
2N/A * script/main.c (grub_script_init): Register continue command.
2N/A (grub_script_fini): Unregister continue command.
2N/A
2N/A * tests/grub_script_continue.in: New testcase.
2N/A * conf/tests.rmk: Rules for new testcase.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk@dbook>
2N/A
2N/A "break" command support to GRUB script.
2N/A
2N/A * conf/common.rmk: Rule updates to grub-script-check.
2N/A * include/grub/misc.h (grub_min): New function.
2N/A * include/grub/script_sh.h (grub_script_init): New prototype.
2N/A (grub_script_fini): New prototype.
2N/A (grub_script_break): New prototype.
2N/A * script/main.c (grub_script_init): New function.
2N/A (grub_script_fini): New function.
2N/A * script/execute.c (grub_script_break): New function.
2N/A * normal/main.c: Calls to grub_script_{init,fini}.
2N/A * util/grub-script-check.c (grub_script_break): New function.
2N/A
2N/A * tests/grub_script_break.in: New testcase.
2N/A * conf/tests.rmk: Rules for new test case.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Function parameters support to GRUB script.
2N/A
2N/A * script/yylex.l (VARIABLE): Regular expression update.
2N/A * script/function.c (grub_script_function_call): Moved ...
2N/A * script/execute.c (grub_script_function_call): ... to here.
2N/A (grub_script_execute_arglist_to_argv): Removed.
2N/A (grub_script_arglist_to_argv): New function.
2N/A * script/argv.c: New file.
2N/A (grub_script_argv_free): New function.
2N/A (grub_script_argv_next): Likewise.
2N/A (grub_script_argv_append): Likewise.
2N/A (grub_script_argv_split_append): Likewise.
2N/A * include/grub/script_sh.h (grub_script_argv): New struct.
2N/A (grub_script_argv_free): New function.
2N/A (grub_script_argv_next): Likewise.
2N/A (grub_script_argv_append): Likewise.
2N/A (grub_script_argv_split_append): Likewise.
2N/A
2N/A * conf/common.rmk (normal.mod): New source script/argv.c.
2N/A
2N/A * tests/grub_script_echo1.in: More tests.
2N/A * tests/grub_script_vars1.in: Likewise.
2N/A * tests/grub_script_functions.in: New test case.
2N/A * conf/tests.rmk: Rules for new testcase.
2N/A
2N/A2010-08-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Remove grub_script_cmdblock struct.
2N/A
2N/A * include/grub/script_sh.h: Remove grub_script_cmdblock.
2N/A * script/parser.y: Likewise.
2N/A * script/execute.c: Rename cmdblock suffix to cmdlist.
2N/A * script/script.c: Likewise.
2N/A * util/grub-script-check.c: Likewise.
2N/A
2N/A2010-08-11 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * .bzrignore: add grub-macho2img
2N/A
2N/A2010-08-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/qemu/init.c (grub_qemu_init_cirrus): Fix compilation error.
2N/A
2N/A2010-08-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove the dump of sm712 initialisation sequence.
2N/A
2N/A * include/grub/pci.h (GRUB_PCI_CLASS_SUBCLASS_VGA): New const.
2N/A * include/grub/vga.h (GRUB_VGA_IO_ARX_READ): New register.
2N/A (GRUB_VGA_IO_MISC_WRITE): Likewise.
2N/A (GRUB_VGA_CR_*): Added many registers.
2N/A (GRUB_VGA_SR_*): Likewise.
2N/A (GRUB_VGA_GR_*): Likewise.
2N/A (grub_vga_write_arx): New function.
2N/A (grub_video_hw_config): New struct.
2N/A (grub_vga_set_geometry): New function.
2N/A * kern/i386/qemu/init.c (load_palette): Use grub_vga_write_arx and
2N/A GRUB_PCI_CLASS_SUBCLASS_VGA.
2N/A * video/cirrus.c (grub_video_cirrus_setup): Use grub_vga_set_geometry.
2N/A * video/sm712.c (grub_sm712_write_reg): New function
2N/A (grub_sm712_read_reg): Likewise.
2N/A (grub_sm712_sr_write): Likewise.
2N/A (grub_sm712_gr_write): Likewise.
2N/A (grub_sm712_cr_write): Likewise.
2N/A (grub_sm712_write_arx): Likewise.
2N/A (grub_sm712_cr_shadow_write): Likewise.
2N/A (grub_sm712_write_dda_lookup): Likewise.
2N/A (grub_video_sm712_setup): Initialise the video rather then
2N/A blindly replay the dump.
2N/A (main) [TEST]: Add a routine to be able to compile as standalone for
2N/A tests.
2N/A * video/sm712_init.c (sm712_init): Removed.
2N/A (sm712_sr_seq1): New array.
2N/A (sm712_sr_seq2): Likewise.
2N/A
2N/A2010-08-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/vga.h: Add missing grub/pci.h include.
2N/A
2N/A2010-08-10 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * util/grub-macho2img.c (main): fix typo
2N/A
2N/A2010-08-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/vga.h (grub_vga_gr_write): Add GRUB_MACHINE_PCI_IO_BASE.
2N/A (grub_vga_gr_read): Likewise.
2N/A (grub_vga_cr_write): Likewise.
2N/A (grub_vga_cr_read): Likewise.
2N/A (grub_vga_sr_write): Likewise.
2N/A (grub_vga_sr_read): Likewise.
2N/A (grub_vga_palette_read): Likewise.
2N/A (grub_vga_palette_write): Likewise.
2N/A * video/sm712.c (GRUB_SM712_REG_BASE): New definition.
2N/A (grub_sm712_sr_read): New function.
2N/A (grub_video_sm712_setup): Use grub_vga_sr_write and grub_sm712_sr_read.
2N/A * video/sm712_init.c (sm712_init): Substract GRUB_MACHINE_PCI_IO_BASE.
2N/A
2N/A2010-08-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): Filter
2N/A out unused variables on non-ZFS build.
2N/A
2N/A2010-08-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A Fix path generation for sub-filesystems in ZFS.
2N/A
2N/A * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): Add
2N/A missing slash.
2N/A
2N/A2010-08-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-fstest.c (read_file, cmd_cmp): Improve error message.
2N/A
2N/A2010-08-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: When files required for ZFS do not
2N/A exist, issue a proper error message (rely on `ls' for translated
2N/A strings).
2N/A
2N/A2010-08-08 Robert Millan <rmh@gnu.org>
2N/A
2N/A Fix grub-probe invocation.
2N/A
2N/A * util/grub.d/10_kfreebsd.in: s/label/fs_label/g.
2N/A
2N/A2010-08-04 Robert Millan <rmh@gnu.org>
2N/A
2N/A * configure.ac: Remove checks for getfsstat() and getmntany().
2N/A Add checks for `<sys/param.h>' and `<sys/mount.h>'.
2N/A * kern/emu/misc.c [HAVE_GETMNTANY]: Remove `<sys/mnttab.h>'.
2N/A [HAVE_SYS_PARAM_H]: Include `<sys/param.h>'.
2N/A [HAVE_SYS_MOUNT_H]: Include `<sys/mount.h>'.
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_mount_point_from_dir): Remove
2N/A function.
2N/A (grub_find_zpool_from_dir): Use statfs() instead of indirect matching
2N/A via find_mount_point_from_dir() and getfsstat() / getmntany().
2N/A
2N/A2010-08-04 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/emu/misc.h (grub_find_mount_point_from_dir)
2N/A (grub_find_zpool_from_mount_point): Merge into ...
2N/A (grub_find_zpool_from_dir): ... this.
2N/A * kern/emu/misc.c: Likewise.
2N/A
2N/A * kern/emu/misc.c
2N/A (grub_make_system_path_relative_to_its_root): Replace
2N/A grub_find_mount_point_from_dir() / grub_find_zpool_from_mount_point()
2N/A with grub_find_zpool_from_dir().
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): Likewise.
2N/A
2N/A2010-08-04 Robert Millan <rmh@gnu.org>
2N/A
2N/A Support OpenSolaris in ZFS device resolution.
2N/A
2N/A * configure.ac: Check for getmntany().
2N/A * kern/emu/misc.c [HAVE_GETMNTANY]: Include `<sys/mnttab.h>'.
2N/A [HAVE_GETMNTANY] (grub_find_zpool_from_mount_point): Add OpenSolaris
2N/A support.
2N/A
2N/A2010-08-03 Robert Millan <rmh@gnu.org>
2N/A
2N/A Fix grub-emu build.
2N/A
2N/A * include/grub/util/misc.h: Move `<grub/util/libzfs.h>' to ...
2N/A * include/grub/emu/misc.h: ... here.
2N/A
2N/A * include/grub/util/misc.h (grub_get_libzfs_handle): Move function ...
2N/A * include/grub/emu/misc.h (grub_get_libzfs_handle): ... here.
2N/A
2N/A * util/misc.c: Remove `<grub/util/libzfs.h>'.
2N/A [HAVE_LIBZFS] (libzfs_handle, fini_libzfs)
2N/A (grub_get_libzfs_handle): Move to ...
2N/A * kern/emu/misc.c [HAVE_LIBZFS] (__libzfs_handle, fini_libzfs)
2N/A (grub_get_libzfs_handle): ... here.
2N/A
2N/A2010-08-03 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * script/execute.c (grub_script_execute_cmdline): Check for NULL
2N/A as command name case.
2N/A
2N/A2010-08-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * disk/raid.c (insert_array): Select unique numbers for named arrays
2N/A as well, for use as keys in the disk cache.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Initialize ${kfreebsd_device} as the
2N/A kFreeBSD device name, except on ZFS where the filesystem label is
2N/A used.
2N/A (kfreebsd_entry): On ZFS root, load `opensolaris.ko', `zfs.ko' and
2N/A `/boot/zfs/zpool.cache'.
2N/A Set mountfrom kernel variable using ${kfreebsd_device}.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A Make it even harder to use uninitialized `libzfs_handle' (and
2N/A make the interface a bit simpler).
2N/A
2N/A * include/grub/util/misc.h (grub_util_init_libzfs)
2N/A (libzfs_handle): Remove.
2N/A (grub_get_libzfs_handle): New prototype.
2N/A
2N/A * util/misc.c [HAVE_LIBZFS] (libzfs_handle): Add `static'
2N/A attribute.
2N/A (grub_util_init_libzfs): Remove.
2N/A (grub_get_libzfs_handle): New function.
2N/A
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): Use
2N/A grub_get_libzfs_handle() to obtain a libzfs handle instead of
2N/A accessing `libzfs_handle' directly.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/emu/misc.h (grub_find_mount_point_from_dir)
2N/A (grub_find_zpool_from_mount_point): New function prototypes.
2N/A
2N/A * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `<sys/mount.h>' to ...
2N/A * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here.
2N/A
2N/A * kern/emu/getroot.c (find_mount_point_from_dir): Move to ...
2N/A * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this. Remove
2N/A `static' attribute.
2N/A
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for
2N/A finding zpool from mount point into ...
2N/A * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this.
2N/A
2N/A * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When
2N/A requested path is part of a ZFS pool, use
2N/A grub_find_zpool_from_mount_point() to detect its filesystem name,
2N/A and generate a path with `/fsname@path' syntax.
2N/A
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/util/libzfs.h (libzfs_init): Set argument list to
2N/A (void) rather than () so that this is a proper prototype.
2N/A
2N/A2010-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * lib/arg.c (grub_arg_show_help): Add the necessary spacing.
2N/A
2N/A2010-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR]
2N/A
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img.
2N/A
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:].
2N/A
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Document GRUB_CMDLINE_XEN
2N/A and GRUB_CMDLINE_XEN_DEFAULT. Recommend setting
2N/A GRUB_GFXPAYLOAD_LINUX=text rather than unsetting it in order to
2N/A disable gfxpayload.
2N/A (Shell-like scripting): Add real content.
2N/A (Serial terminal): Suggest `terminal_input serial; terminal_output
2N/A serial' rather than putting the two commands on separate lines,
2N/A since console input will be inoperative after the first command.
2N/A (menuentry): Document --class, --users, and --hotkey options.
2N/A (terminfo): Describe what `visually-ordered UTF-8' means (thanks,
2N/A Vladimir Serbinenko).
2N/A
2N/A2010-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/misc.c (grub_memset): Optimise to reduce cache stalls.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/emu/misc.h (grub_find_mount_point_from_dir)
2N/A (grub_find_zpool_from_mount_point): New function prototypes.
2N/A
2N/A * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `<sys/mount.h>' to ...
2N/A * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here.
2N/A
2N/A * kern/emu/getroot.c (find_mount_point_from_dir): Move to ...
2N/A * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this. Remove
2N/A `static' attribute.
2N/A
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for
2N/A finding zpool from mount point into ...
2N/A * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this.
2N/A
2N/A * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When
2N/A requested path is part of a ZFS pool, use
2N/A grub_find_zpool_from_mount_point() to detect its filesystem name,
2N/A and generate a path with `/fsname@path' syntax.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A Prevent accidental use of uninitialized libzfs_handle.
2N/A
2N/A * util/grub-probe.c (main): Move grub_util_init_libzfs() call to ...
2N/A * kern/emu/getroot.c (find_root_device_from_libzfs): ... here.
2N/A * util/misc.c (grub_util_init_libzfs): Make this function idempotent.
2N/A
2N/A2010-08-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching
2N/A util/grub.d/10_linux.in). Fixes Debian bug #591093.
2N/A
2N/A2010-08-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/getroot.c: Include `<grub/util/misc.h>'.
2N/A
2N/A2010-07-31 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_kfreebsd.in: Make module handling more generic.
2N/A
2N/A2010-07-31 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/misc.c: Add missing license header.
2N/A
2N/A2010-07-31 Robert Millan <rmh@gnu.org>
2N/A
2N/A * configure.ac: Check for `libzfs.h' and `libnvpair.h'.
2N/A
2N/A * include/grub/util/libnvpair.h: Include `<config.h>'.
2N/A [HAVE_LIBNVPAIR_H]: Include `<libnvpair.h>' instead of
2N/A declaring libnvpair prototypes ourselves.
2N/A * include/grub/util/libzfs.h: Include `<config.h>'.
2N/A [HAVE_LIBZFS_H]: Include `<libzfs.h>' instead of
2N/A declaring libzfs prototypes ourselves.
2N/A
2N/A (libzfs_handle): Moved to ...
2N/A * include/grub/util/misc.h (libzfs_handle): ... here.
2N/A Include `<grub/util/libzfs.h>'.
2N/A
2N/A2010-07-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/emu/misc.h: Add missing license header.
2N/A
2N/A2010-07-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A Enable `grub-probe -t device' resolution on ZFS.
2N/A
2N/A * configure.ac: Check for getfsstat(), libzfs and libnvpair.
2N/A * include/grub/util/libnvpair.h: New file.
2N/A * include/grub/util/libzfs.h: New file.
2N/A
2N/A * kern/emu/getroot.c: Include `<assert.h>' and `<error.h>'.
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR]: Include `<grub/util/libzfs.h>' and
2N/A `<grub/util/libnvpair.h>'.
2N/A [HAVE_GETFSSTAT]: Include `<sys/mount.h>'.
2N/A
2N/A (find_mount_point_from_dir): New static function.
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_root_device_from_libzfs): New
2N/A function.
2N/A [HAVE_LIBZFS && HAVE_LIBNVPAIR] (grub_guess_root_device): Use
2N/A find_root_device_from_libzfs() before ressorting to find_root_device().
2N/A
2N/A * include/grub/util/misc.h (grub_util_init_libzfs): New function
2N/A prototype.
2N/A * util/misc.c: Include `<grub/util/libzfs.h>'.
2N/A (grub_util_init_libzfs): New function.
2N/A [HAVE_LIBZFS] (libzfs_handle): New global variable.
2N/A [HAVE_LIBZFS] (fini_libzfs): New static function.
2N/A (grub_util_init_libzfs): New function.
2N/A * util/grub-probe.c (main): Call grub_util_init_libzfs().
2N/A
2N/A2010-07-30 Robert Millan <rmh@gnu.org>
2N/A
2N/A * include/grub/emu/misc.h (grub_make_system_path_relative_to_its_root)
2N/A (xmalloc, xrealloc, xstrdup, xasprintf): Add
2N/A `warn_unused_result' attribute.
2N/A * include/grub/misc.h (grub_strdup, grub_strndup, grub_strlen)
2N/A (grub_xasprintf, grub_xvasprintf): Likewise.
2N/A * include/grub/emu/misc.h (xasprintf): Remove duplicate prototype.
2N/A
2N/A2010-07-29 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-probe.c (PRINT_FS_LABEL): New enum value.
2N/A (probe): Handle `PRINT_FS_LABEL'.
2N/A (main): Handle `-t fs_label'.
2N/A
2N/A2010-07-29 Robert Millan <rmh@gnu.org>
2N/A
2N/A * configure.ac: Remove grub-mkisofs checks.
2N/A
2N/A2010-07-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/ieee1275/grub-install.in: Don't use empty grub_device.
2N/A Reported by: Lennart Sorensen.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/00_header.in: Remove compatibility with terminal.mod
2N/A prior to terminal_input/terminal_output separation. It's been over 1.5
2N/A years and those versions weren't widely deployed.
2N/A
2N/A2010-07-22 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * disk/raid.c (insert_array): Don't count named arrays when looking
2N/A for unused array numbers.
2N/A Reported and tested by: Michael Guntsche.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
2N/A implementation of this so that grub-emu links again, with a note
2N/A that this should support hotplugging in the future.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * disk/loopback.c (grub_cmd_loopback): Don't leak a grub_file_t
2N/A handle on failure.
2N/A (grub_loopback_close): Remove empty function.
2N/A (grub_loopback_dev): Remove close method.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Disable EFI cursor when the EFI console becomes inactive.
2N/A
2N/A * term/efi/console.c (grub_efi_console_init): New function.
2N/A (grub_efi_console_fini): New function.
2N/A (grub_console_term_output): Register init and fini methods.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * tests/util/grub-shell-tester.in: Remove bashism and declare as
2N/A sh script.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/loopback.c (grub_loopback): Replace filename with file.
2N/A (delete_loopback): Handle new semantics.
2N/A (grub_cmd_loopback): Likewise.
2N/A (grub_loopback_iterate): Likewise.
2N/A (grub_loopback_close): Likewise.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/efi/grub-install.in: Revert to platform-specific behaviour
2N/A with -p "".
2N/A Reported by: Tito Keitel.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Naming convention): Document new naming convention.
2N/A
2N/A2010-07-20 Vadim Solomin <vadic052@gmail.com>
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Generate device.map in something closer to the old ordering.
2N/A
2N/A * util/deviceiter.c (struct device): New declaration.
2N/A (compare_file_names): Rename to ...
2N/A (compare_devices): ... this. Sort by kernel name in preference to
2N/A the stable by-id name, but keep the latter as a fallback comparison.
2N/A Update header comment.
2N/A (grub_util_iterate_devices) [__linux__]: Construct and sort an array
2N/A of `struct device' rather than of plain file names.
2N/A
2N/A2010-07-20 Thomas Frauendorfer <Thomas.Frauendorfer@googlemail.com>
2N/A
2N/A * lib/i386/relocator_asm.S [! __x86_64__]: Don't try to disable amd64
2N/A on i386.
2N/A
2N/A2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/acpi.c (setup_common_tables): Use sizeof instead of
2N/A hardcoding size.
2N/A (setv1table): Likewise.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
2N/A removing the homehost if present.
2N/A * kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
2N/A (grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
2N/A removing the homehost if present.
2N/A (grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
2N/A if possible.
2N/A * util/i386/pc/grub-setup.c (main): Handle md/* devices.
2N/A
2N/A * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
2N/A parameter. Set its pointer target to 0.
2N/A * disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
2N/A parameter. Set its pointer target to 0 for 0.9 metadata, or to the
2N/A `data_offset' value from the superblock for 1.x metadata.
2N/A * disk/raid.c (grub_raid_read): Offset reads by the start sector of
2N/A data on the device.
2N/A (insert_array): Record the start sector of data on the device.
2N/A (grub_raid_register): Pass start_sector parameters to
2N/A grub_raid_list->detect and insert_array.
2N/A * include/grub/raid.h (struct grub_raid_array): Add start_sector
2N/A member.
2N/A (struct grub_raid): Add start_sector parameter to `detect'.
2N/A
2N/A * disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
2N/A __attribute__ ((packed)), leaving a comment.
2N/A (grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
2N/A (grub_mdraid_detect_09): ... here and ...
2N/A (grub_mdraid_detect_1x): ... here.
2N/A
2N/A2010-07-20 Peter Henn <peter.henn@web.de>
2N/A
2N/A * disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
2N/A chunk size and disk size, which are already given as sector counts
2N/A as distinct from the 0.90 units. Fetch the correct device number
2N/A from the role table instead of using the table index.
2N/A
2N/A2010-07-20 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
2N/A * disk/mdraid_linux.c (grub_raid_super_1x): New structure.
2N/A (WriteMostly1): New macro.
2N/A Set array->name to NULL for metadata format 0.90. Add support for
2N/A metadata 1.x. Fix some comments.
2N/A * disk/raid.c (): Add support for name based RAID arrays. Fix a
2N/A few comments.
2N/A * util/getroot.c (grub_util_get_grub_dev): Add support for
2N/A /dev/md/name style devices.
2N/A
2N/A2010-07-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Ignore 20_linux_xen.
2N/A
2N/A2010-07-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/import_unicode.py: Remove unnecessary imports.
2N/A
2N/A2010-07-17 Aleš Nesrsta <starous@volny.cz>
2N/A
2N/A Hotplugging and USB hub support.
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_td): Add convenience fields.
2N/A (grub_ohci): Likewise.
2N/A (GRUB_OHCI_REG_CONTROL_BULK_ENABLE): New definition.
2N/A (GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE): Likewise.
2N/A (GRUB_OHCI_RESET_CONNECT_CHANGE): Likewise.
2N/A (GRUB_OHCI_CTRL_EDS): Likewise.
2N/A (GRUB_OHCI_BULK_EDS): Likewise.
2N/A (GRUB_OHCI_TDS): Likewise.
2N/A (GRUB_OHCI_ED_ADDR_MASK): Likewise.
2N/A (grub_ohci_ed_phys2virt): New function.
2N/A (grub_ohci_virt_to_phys): Likewise.
2N/A (grub_ohci_td_phys2virt): Likewise.
2N/A (grub_ohci_td_virt2phys): Likewise.
2N/A (grub_ohci_pci_iter): Allocate memory and don't wait for stable
2N/A attachment.
2N/A (grub_ohci_find_ed): New function.
2N/A (grub_ohci_alloc_td): Likewise.
2N/A (grub_ohci_free_td): Likewise.
2N/A (grub_ohci_free_tds): Likewise.
2N/A (grub_ohci_transfer): Use previously allocated memory.
2N/A (grub_ohci_portstatus): Reset status changed bit.
2N/A (grub_ohci_detect_dev): Supply status changed.
2N/A (grub_ohci_fini_hw): Free memory.
2N/A (grub_ohci_restore_hw): Reallocate memory.
2N/A * bus/usb/uhci.c (grub_uhci_portstatus): Don't reset on disable.
2N/A Reset status change.
2N/A (grub_uhci_detect_dev): Supply status_change.
2N/A * bus/usb/usb.c (attach_hooks): New var.
2N/A (grub_usb_device_attach): New function.
2N/A (grub_usb_register_attach_hook_class): Likewise.
2N/A (grub_usb_unregister_attach_hook_class): Likewise.
2N/A * bus/usb/usbhub.c (grub_usb_hub_add_dev): Handle errors correctly.
2N/A (grub_usb_add_hub): Reset connection changed bit.
2N/A (attach_root_port): New function.
2N/A (grub_usb_root_hub): Likewise.
2N/A (poll_nonroot_hub): Likewise.
2N/A (grub_usb_poll_devices): Likewise.
2N/A * commands/usbtest.c (grub_cmd_usbtest): Poll devices before listing.
2N/A * disk/usbms.c (grub_usbms_open): Use device hooks.
2N/A (grub_usbms_iterate) :Poll devices.
2N/A (grub_usbms_finddevs): Split into ...
2N/A (grub_usbms_attach): ... this ...
2N/A (grub_usbms_attach): ... and this.
2N/A * include/grub/usb.h (grub_usb_controller_dev): Supply status_changed
2N/A in detect_dev.
2N/A (grub_usb_interface): New fields attached and detach_hook.
2N/A (grub_usb_attach_hook_class): New type.
2N/A (grub_usb_attach_desc): New struct.
2N/A (grub_usb_register_attach_hook_class): New function.
2N/A (grub_usb_unregister_attach_hook_class): Likewise.
2N/A (grub_usb_poll_devices): Likewise.
2N/A (grub_usb_device_attach): Likewise.
2N/A * include/grub/usbtrans.h (GRUB_USB_HUB_FEATURE_C_CONNECTED): New const.
2N/A (GRUB_USB_HUB_STATUS_C_CONNECTED): Likewise.
2N/A
2N/A2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/bsdlabel.h (GRUB_PC_PARTITION_BSD_LABEL_WHOLE_DISK_PARTITION): New definition.
2N/A * partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Use FreeBSD
2N/A delta determination style. Works with most NetBSD partitions too.
2N/A
2N/A2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion.
2N/A * partmap/bsdlabel.c [GRUB_UTIL]: Likewise.
2N/A
2N/A2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
2N/A
2N/A2010-07-14 Anton Blanchard <anton@samba.org>
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
2N/A ET_DYN files.
2N/A
2N/A2010-07-14 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * Makefile.in: Use the substituted @USE_NLS@ instead of ENABLE_NLS.
2N/A
2N/A2010-07-14 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/partition.c (grub_partition_check_containment): New function to
2N/A check that a partition is physically contained in a parent. Since
2N/A offsets are relative (and non-negative), this reduces to checking that
2N/A the partition ends before its parent.
2N/A (grub_partition_map_probe): Discard out-of-range sub-partitions.
2N/A (grub_partition_iterate): Likewise.
2N/A * include/grub/partition.h (grub_partition_map): Slightly more detailed
2N/A comments.
2N/A * partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Discard
2N/A partitions that start before their parent, and add debug printfs.
2N/A
2N/A2010-07-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (.SUFFIX): Spell correctly, as ...
2N/A (.SUFFIXES): ... this. Fixes bug where `make foo' (where foo is a
2N/A bare module name without `.mod', e.g. `test') tried to invoke a
2N/A Modula-2 compiler.
2N/A
2N/A2010-07-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * README: Point to the Info manual.
2N/A
2N/A2010-07-13 Jiro SEKIBA <jir@unicus.jp>
2N/A
2N/A * fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate
2N/A 2nd superblock position from partition size.
2N/A
2N/A2010-07-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (MAINTAINER_CLEANFILES): Remove
2N/A unicode/UnicodeData.txt, unicode/BidiMirroring.txt, and
2N/A unicode/ArabicShaping.txt again; these are inputs to autogen.sh, not
2N/A outputs.
2N/A
2N/A2010-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Restructure SCSI .id handling.
2N/A Reported and tested by: Aleš Nesrsta.
2N/A
2N/A * disk/ata.c (grub_atapi_close): Removed. All users updated.
2N/A (grub_atapi_dev): Changed .name to "ata". New field .id.
2N/A * disk/usbms.c (grub_usbms_close): Removed. All users updated.
2N/A (grub_usbms_dev): New field .id.
2N/A * disk/scsi.c (grub_scsi_iterate): Generate name.
2N/A (grub_scsi_open): Parse name.
2N/A * include/grub/scsi.h (grub_make_scsi_id): New function.
2N/A (grub_scsi_dev): Change iterate and open to number instead of naming
2N/A busses. All users updated.
2N/A (grub_scsi): Remove name. Add .bus.
2N/A
2N/A2010-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/help.c (grub_cmd_help): Fix a typo.
2N/A
2N/A2010-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/term.c (put_glyphs_terminal): Fix state->num_lines counting.
2N/A Reported and tested by: Colin Watson.
2N/A
2N/A2010-07-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary
2N/A in this context.
2N/A
2N/A2010-07-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * tests/util/grub-shell.in: Remove bashisms and declare as sh script.
2N/A
2N/A2010-07-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * term/gfxterm.c (grub_gfxterm_background_image_cmd): Fix
2N/A indentation.
2N/A
2N/A2010-07-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add disk/raid5_recover.c
2N/A and disk/raid6_recover.c.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise.
2N/A
2N/A2010-07-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * term/gfxterm.c (repaint_schedulded): Rename to ...
2N/A (repaint_scheduled): ... this. Update all callers.
2N/A (repaint_was_schedulded): Rename to ...
2N/A (repaint_was_scheduled): ... this. Update all callers.
2N/A
2N/A2010-07-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
2N/A which we expect to be handled by upper layers.
2N/A
2N/A2010-07-06 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * bus/usb/usbhub.c: #include time.h header.
2N/A
2N/A2010-07-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_iterate_dir): Zero out first byte of
2N/A entry_name also for entries without stat blocks (e.g. ".."); fixes
2N/A corruption of the first entry in a directory.
2N/A
2N/A2010-07-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Process GRUB_THEME and GRUB_BACKGROUND
2N/A after setting gfxterm as the active terminal. GRUB_BACKGROUND
2N/A doesn't work otherwise.
2N/A
2N/A2010-07-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Features): Update list of supported file systems.
2N/A (GNU/Linux): Update for GRUB 2.
2N/A (Serial terminal): Remove mention of --disable-serial, which was a
2N/A GRUB Legacy configure option. Update instructions to use
2N/A `terminal_input' and `terminal_output' rather than `terminal'.
2N/A (Vendor power-on keys): Copy-edit. Add cross-references to `Simple
2N/A configuration' and `Installing GRUB using grub-install'.
2N/A (Menu entry editor): Update for GRUB 2.
2N/A (terminfo): Add vt100-color, ieee1275, and dumb terminal types.
2N/A Document new -a, -u, and -v options.
2N/A (initrd): New section.
2N/A (initrd16): New section.
2N/A (linux): New section.
2N/A (linux16): New section.
2N/A (search): The `var' argument to `--set' is optional.
2N/A (GRUB only offers a rescue shell): Go into a little more detail on
2N/A drive ordering.
2N/A
2N/A2010-07-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined.
2N/A
2N/A2010-07-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (MAINTAINER_CLEANFILES): Add unicode/UnicodeData.txt,
2N/A unicode/BidiMirroring.txt, unicode/ArabicShaping.txt, and unidata.c.
2N/A
2N/A2010-07-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Rename prefix to
2N/A install_prefix, in line with install_dos_part and install_bsd_part.
2N/A Add new prefix variable, which is copied to install_prefix after
2N/A comparing core.img in memory with the one read from disk in the
2N/A no-embedding case, and use that rather than overwriting
2N/A install_prefix immediately when installing to a partition.
2N/A Fixes Debian bug #586621; based on patches by Matt Kraai and M. Vefa
2N/A Bicakci.
2N/A
2N/A2010-07-04 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * configure.ac: Avoid == in test command, it's not portable.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A
2N/A2010-07-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/emu/getroot.c [__GNU__]: Include <sys/mman.h> for munmap.
2N/A
2N/A2010-07-04 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Do not embed when there are
2N/A multiple (top-level) partmaps.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/efi/grub-install.in: Don't use empty grub_device.
2N/A Reported by: Tino Keitel.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Bidi and diacritics support.
2N/A
2N/A * Makefile.in (widthspec.bin): New target.
2N/A (widthspec.h): Likewise.
2N/A (TARGET_CFLAGS): Add -DHAVE_UNIFONT_WIDTHSPEC=1 if font was available.
2N/A * autogen.sh: Generate unidata.c.
2N/A * commands/cat.c (grub_cmd_cat): Don't use grub_putchar.
2N/A * commands/ls.c (grub_ls_list_devices): Likewise.
2N/A (grub_ls_list_files): Likewise.
2N/A * commands/minicmd.c (grub_mini_cmd_cat): Likewise.
2N/A (grub_mini_cmd_lsmod): Likewise.
2N/A * commands/read.c: Likewise.
2N/A * kern/corecmd.c (grub_core_cmd_ls): Likewise.
2N/A * kern/rescue_reader.c (grub_rescue_read_line): Likewise.
2N/A * lib/arg.c (grub_arg_show_help): Likewise.
2N/A * lib/crypto.c (grub_password_get): Likewise.
2N/A * normal/auth.c (grub_username_get): Likewise.
2N/A * normal/misc.c (grub_normal_print_device_info): Likewise.
2N/A * commands/help.c (grub_cmd_help): Use grub_unicode_aglomerate_comb.
2N/A * conf/common.rmk (grub_mkfont_SOURCES): Add unidata.c.
2N/A (gfxmenu_mod_SOURCES): Add gfxmenu/font.c.
2N/A (normal/charset.c_DEPENDENCIES): New variable.
2N/A (normal_mod_SOURCES): Add normal/charset.c and unidata.c.
2N/A (pkglib_MODULES): Remove charset.mod.
2N/A (charset_mod_SOURCES): Removed.
2N/A (charset_mod_CFLAGS): Likewise.
2N/A (charset_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES) [ieee1275]: Remove terminfo.mod.
2N/A * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Add term/terminfo.c
2N/A and term/tparm.c.
2N/A * conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise.
2N/A (kernel_img_HEADERS): Add terminfo.h.
2N/A * font/font.c (ascii_glyph_lookup): Return NULL on failure.
2N/A Fill ->font. Reverse ascii bitmaps.
2N/A (grub_font_get_xheight): New function.
2N/A * font/font.c (grub_font_get_string_width): Moved from here ...
2N/A * gfxmenu/font.c (grub_font_get_string_width): ... here.
2N/A * font/font.c (grub_font_draw_string): Moved from here ...
2N/A * gfxmenu/font.c (grub_font_draw_string): ... here.
2N/A * font/font.c (grub_font_dup_glyph): New function.
2N/A (grub_font_blit_glyph): Likewise.
2N/A (grub_font_blit_glyph_mirror): Likewise.
2N/A (blit_comb): Likewise.
2N/A (grub_font_construct_dry_run): Likewise.
2N/A (grub_font_get_constructed_device_width): Likewise.
2N/A (grub_font_construct_glyph): Likewise.
2N/A * include/grub/charset.h (grub_ucs4_to_utf8): New proto.
2N/A * include/grub/misc.h (grub_utf8_to_ucs4): Moved from here ...
2N/A * include/grub/charset.h (grub_utf8_to_ucs4): ... here.
2N/A * include/grub/font.h (GRUB_FONT_CODE_CHAR_MASK): New constant.
2N/A (GRUB_FONT_CODE_RIGHT_JOINED): Likewise.
2N/A (GRUB_FONT_CODE_LEFT_JOINED): Likewise.
2N/A (grub_font_get_xheight): New proto.
2N/A (grub_font_get_constructed_device_width): Likewise.
2N/A (grub_font_construct_glyph): Likewise.
2N/A * include/grub/font.h (grub_font_get_string_width): Moved from here ...
2N/A * include/grub/gfxmenu_view.h (grub_font_get_string_width): ... here.
2N/A * include/grub/font.h (grub_font_draw_string): Moved from here ...
2N/A * include/grub/gfxmenu_view.h (grub_font_draw_string): ... here.
2N/A * include/grub/i386/vga_common.h (grub_console_putchar): Moved from here..
2N/A * include/grub/i386/pc/console.h (grub_console_putchar): ... here.
2N/A * include/grub/i386/vga_common.h (grub_console_real_putchar): Removed.
2N/A (grub_console_getcharwidth): Likewise.
2N/A * include/grub/misc.h (grub_xputs): New proto.
2N/A (grub_puts): Inlined.
2N/A * include/grub/normal.h (grub_print_ucs4): Add margin specification.
2N/A (grub_normal_get_line_counter): Removed.
2N/A (grub_install_newline_hook): Likewise.
2N/A (grub_normal_get_char_counter): New proto.
2N/A (grub_normal_reset_more): Likewise.
2N/A (grub_xputs_normal): Likewise.
2N/A * include/grub/powerpc/ieee1275/console.h: Removed.
2N/A * include/grub/sparc64/ieee1275/console.h: Likewise.
2N/A * include/grub/term.h (GRUB_TERM_CODE_TYPE_MASK): New definition.
2N/A (GRUB_TERM_CODE_TYPE_ASCII): Likewise.
2N/A (GRUB_TERM_CODE_TYPE_CP437): Likewise.
2N/A (GRUB_TERM_CODE_TYPE_UTF8_LOGICAL): Likewise.
2N/A (GRUB_TERM_CODE_TYPE_UTF8_VISUAL): Likewise.
2N/A (GRUB_TERM_CODE_TYPE_VISUAL_GLYPHS): Likewise.
2N/A (grub_term_input): Pass reference to self. All users updated.
2N/A (grub_term_output): Pass grub_unicode_glyph to putchar and getcharwidth.
2N/A Pass reference to self. New fields normal_color, highlight_color and
2N/A data. All users updated.
2N/A (grub_putchar): Removed.
2N/A (grub_putcode): Remove EXPORT_FUNC since it's not in kernel anymore.
2N/A (grub_unicode_estimate_width): New function.
2N/A (grub_term_getcharwidth): Add defaults.
2N/A (GRUB_TERM_DEFAULT_NORMAL_COLOR): New definition.
2N/A (GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR): Likewise.
2N/A (GRUB_TERM_DEFAULT_STANDARD_COLOR): Likewise.
2N/A (grub_cls): Remove EXPORT_FUNC.
2N/A (grub_setcolorstate): Inline.
2N/A (grub_newline_hook): Removed.
2N/A * include/grub/terminfo.h: Rewritten. All users updated.
2N/A * include/grub/unicode.h: New file.
2N/A * include/grub/video.h (grub_video_signed_rect): New type.
2N/A * kern/emu/console.c (grub_console_highlight_color): Removed.
2N/A (grub_console_normal_color): Likewise.
2N/A (grub_console_standard_color): Made static.
2N/A (grub_ncurses_putchar): Remove mapping.
2N/A (grub_ncurses_getcharwidth): Removed.
2N/A (grub_ncurses_term_output): Declare as GRUB_TERM_CODE_TYPE_ASCII.
2N/A (grub_ncurses_setcolor): Removed.
2N/A (grub_ncurses_getcolor): Likewise.
2N/A * kern/i386/pc/startup.S (grub_console_real_putchar): Renamed to ...
2N/A (grub_console_putchar): ... this.
2N/A (grub_console_putchar): Handle argument difference.
2N/A * kern/ieee1275/init.c (grub_machine_init): Split console_init into
2N/A console_init_early and console_init_lately.
2N/A * kern/sparc64/ieee1275/init.c (grub_machine_init): Likewise.
2N/A * kern/misc.c (grub_puts): Removed.
2N/A (grub_vprintf): Store UTF-8 string instead of outputting it directly.
2N/A (grub_vsnprintf_real): Remove str = NULL support.
2N/A * kern/misc.c (grub_utf8_to_ucs4): Move from here ...
2N/A * normal/charset.c (grub_utf8_to_ucs4): ... here.
2N/A * kern/term.c (grub_putcode): Renamed to ...
2N/A (grub_putcode_dumb): ... this. Pass grub_unicode_glyph instead of code.
2N/A (grub_putchar): Removed.
2N/A (grub_xputs_dumb): New function.
2N/A (grub_xputs): New variable.
2N/A * lib/charset.c: Move from here ...
2N/A * normal/charset.c: ... to here.
2N/A (grub_ucs4_to_utf8): New function.
2N/A (grub_ucs4_to_utf8_alloc): Use grub_ucs4_to_utf8.
2N/A (join_types): New variable.
2N/A (unpack_join): New function.
2N/A (bidi_types): New variable.
2N/A (unpack_bidi): New function.
2N/A (get_bidi_type): Likewise.
2N/A (get_join_type): Likewise.
2N/A (is_mirrored): Likewise.
2N/A (grub_unicode_get_comb_type): Likewise.
2N/A (grub_unicode_estimate_width) [HAVE_UNIFONT_WIDTHSPEC]: Likewise.
2N/A (is_type_after): Likewise.
2N/A (grub_unicode_aglomerate_comb): Likewise.
2N/A (bidi_line_wrap): Likewise.
2N/A (grub_bidi_line_logical_to_visual): Likewise.
2N/A (grub_bidi_logical_to_visual): Likewise.
2N/A (grub_unicode_mirror_code): Likewise.
2N/A (grub_unicode_shape_code): Likewise.
2N/A * normal/cmdline.c (grub_cmdline_get): Reset more counter.
2N/A Don't use grub_putchar.
2N/A * normal/main.c (grub_normal_init_page): Use grub_putcode.
2N/A (grub_normal_reader_init): Likewise.
2N/A (grub_xputs_saved): New variable.
2N/A (GRUB_MOD_INIT): Set grub_xputs.
2N/A (GRUB_MOD_FINI): Restore grub_xputs.
2N/A * normal/menu.c (grub_wait_after_message): Don't use grub_putchar.
2N/A (menu_init): Avoid printing gfxmenu error.
2N/A (show_menu): Use grub_normal_get_char_counter.
2N/A * normal/menu_entry.c (update_screen): Fix out-of-array.
2N/A (complete): Avoid NULL dereferencing.
2N/A * grub_menu_entry_run (grub_menu_entry_run): Don't use putchar.
2N/A * normal/menu_text.c (print_spaces): Removed.
2N/A (grub_print_ucs4): Likewise.
2N/A (grub_print_message_indented): Use grub_print_ucs4.
2N/A (print_message): Use grub_putcode.
2N/A (print_entry): Hanlde diacritics.
2N/A * normal/term.c (term_state): New type.
2N/A (grub_more_lines): Removed.
2N/A (term_states): New variable.
2N/A (grub_normal_line_counter): Renamed to ..
2N/A (grub_normal_char_counter): ...this. All users updated.
2N/A (grub_normal_get_line_counter): Renamed to ...
2N/A (grub_normal_get_char_counter): ... this.
2N/A (grub_normal_reset_more): New function.
2N/A (process_newline): Removed.
2N/A (print_more): New function.
2N/A (grub_install_newline_hook): Removed.
2N/A (map_code): New function.
2N/A (grub_puts_terminal): Use grub_print_ucs4.
2N/A (putglyph): New function.
2N/A (putcode_real): Likewise.
2N/A (grub_putcode): Use putcode_real.
2N/A (get_maxwidth): New function.
2N/A (get_startwidth): Likewise.
2N/A (print_ucs4_terminal): Likewise.
2N/A (find_term_state): Likewise.
2N/A (put_glyphs_terminal): Likewise.
2N/A (print_backlog): Likewise.
2N/A (print_ucs4_real): Likewise.
2N/A (grub_print_ucs4): Likewise.
2N/A (grub_xputs_normal): Likewise.
2N/A * term/efi/console.c (grub_console_putchar): Output diacritics.
2N/A (grub_console_getcharwidth): Removed.
2N/A (grub_console_term_output): Declare as GRUB_TERM_CODE_TYPE_UCS4_VISUAL.
2N/A * term/gfxterm.c (clear_char): Free chars.
2N/A (scroll_up): Avoid leaking memory.
2N/A (grub_gfxterm_putchar): Support diacritics.
2N/A (grub_video_term): Declare as GRUB_TERM_CODE_TYPE_UCS4_VISUAL.
2N/A * term/i386/pc/console.c (grub_console_term_output): Declare as
2N/A GRUB_TERM_CODE_TYPE_VGA.
2N/A * term/i386/pc/vga.c (grub_vga_term): Declare as
2N/A GRUB_TERM_CODE_TYPE_VISUAL_GLYPHS.
2N/A * term/i386/pc/vga_text.c (grub_vga_text_term): Declare as
2N/A GRUB_TERM_CODE_TYPE_VGA.
2N/A * term/i386/vga_common.c (map_char): Removed.
2N/A (grub_console_putchar): Likewise.
2N/A (grub_console_getcharwidth): Likewise.
2N/A * term/ieee1275/ofconsole.c: Simplify using terminfo.
2N/A (colors): Reordered to match terminfo.
2N/A (grub_ofconsole_normal_color): Removed.
2N/A (grub_ofconsole_writeesc): Likewise.
2N/A (grub_ofconsole_highlight_color): Likewise.
2N/A (grub_ofconsole_getcharwidth): Likewise.
2N/A (grub_ofconsole_setcolorstate): Likewise.
2N/A (grub_ofconsole_setcolor): Likewise.
2N/A (grub_ofconsole_getcolor): Likewise.
2N/A (grub_ofconsole_readkey): Renamed to ...
2N/A (readkey): ... this. Remove escape sequence handling. Return -1 on no
2N/A key.
2N/A (grub_ofconsole_checkkey): Removed.
2N/A (grub_ofconsole_getkey): Likewise.
2N/A (grub_ofconsole_getxy): Likewise.
2N/A (grub_ofconsole_gotoxy): Likewise.
2N/A (grub_ofconsole_cls): Likewise.
2N/A (grub_ofconsole_refresh): Likewise.
2N/A (grub_ofconsole_terminfo_input): New struct.
2N/A (grub_ofconsole_terminfo_output): Likewise.
2N/A (grub_ofconsole_term_input): Use terminfo.
2N/A (grub_ofconsole_term_output): Likewise.
2N/A (grub_console_init): Split into ...
2N/A (grub_console_init_early): ...this and ...
2N/A (grub_console_init_lately): ...this. Use terminfo.
2N/A (grub_ofconsole_putchar): Renamed to ...
2N/A (put): ... this. Remove mapping.
2N/A (grub_ofconsole_term_output): Declare as GRUB_TERM_CODE_TYPE_ASCII.
2N/A * term/serial.c: Simplify using terminfo.
2N/A (xpos): Removed.
2N/A (ypos): Likewise.
2N/A (keep_track): Likewise.
2N/A (registered): Likewise.
2N/A (input_buf): Likewise.
2N/A (npending): Likewise.
2N/A (serial_translate_key_sequence): Likewise.
2N/A (fill_input_buf): Likewise.
2N/A (grub_serial_checkkey): Likewise.
2N/A (grub_serial_getkey): Likewise.
2N/A (grub_serial_getxy): Likewise.
2N/A (grub_serial_gotoxy): Likewise.
2N/A (grub_serial_putchar): Likewise.
2N/A (grub_serial_cls): Likewise.
2N/A (grub_serial_setcolorstate): Likewise.
2N/A (grub_serial_setcursor): Likewise.
2N/A (serial_hw_init): Use serial_hw_fetch.
2N/A (grub_serial_terminfo_input): New variable.
2N/A (grub_serial_terminfo_output): Likewise.
2N/A (grub_serial_term_input): Use terminfo.
2N/A (grub_serial_term_output): Likewise.
2N/A * term/terminfo.c (putstr): Use put.
2N/A (grub_terminfo_all_free): New function
2N/A (grub_terminfo_set_current): New types vt100-color, ieee1275 and dumb.
2N/A (grub_terminfo_output_register): New function.
2N/A (grub_terminfo_output_unregister): Likewise.
2N/A (grub_terminfo_getxy): Likewise.
2N/A (grub_terminfo_readkey): Likewise.
2N/A (grub_terminfo_checkkey): Likewise.
2N/A (grub_terminfo_getkey): Likewise.
2N/A (grub_terminfo_input_init): Likewise.
2N/A (print_terminfo): Likewise.
2N/A (grub_cmd_terminfo): Handle encoding.
2N/A (grub_terminfo_gotoxy): Track position.
2N/A (grub_terminfo_cls): Likewise.
2N/A (grub_terminfo_putchar): Likewise.
2N/A (grub_terminfo_setcolorstate): Handle colors
2N/A (grub_terminfo_cursor_on): This ...
2N/A (grub_terminfo_cursor_off): ... and this merged into ...
2N/A (grub_terminfo_setcursor): ... this.
2N/A * term/tparm.c (grub_terminfo_tparm): Avoid NULL dereferencing.
2N/A * unicode/ArabicShaping.txt: New file (imported from Unicode).
2N/A * unicode/BidiMirroring.txt: Likewise.
2N/A * unicode/UnicodeData.txt: Likewise.
2N/A * unicode/COPYING: Likewise.
2N/A * util/grub-editenv.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/grub-fstest.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/grub-mkdevicemap.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/grub-probe.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/grub-script-check.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/i386/pc/grub-setup.c (grub_putchar): Removed.
2N/A (grub_xputs_real): New function.
2N/A (grub_xputs): New variable.
2N/A * util/import_unicode.py: New file.
2N/A * util/grub-mkfont.c (ft_errmsgs): New array.
2N/A (grub_glyph_info): Make bitmap a pointer.
2N/A (file_formats): New type WIDTH_SPEC.
2N/A (grub_font_info): New members glyphs_unsorted, glyphs_sorted, num_glyphs.
2N/A (options): Add width-spec.
2N/A (help): Likewise.
2N/A (add_char): Renamed to ...
2N/A (add_glyph): ... this.
2N/A (add_glyph): Use index. Show freetype errors. Cut blank space at borders.
2N/A (glyph_replace): New type.
2N/A (subst_rightjoin), (subst_leftjoin), (subst_medijoin): New variables.
2N/A (add_char): New function.
2N/A (add_subst): Likewise.
2N/A (process_cursive): Likewise.
2N/A (add_font): Handle GSUB.
2N/A (write_font_width_spec): New function.
2N/A (main): Sort glyphs.
2N/A * commands/minicmd.c (grub_mini_cmd_clear): Moved from here ...
2N/A * normal/main.c (grub_mini_cmd_clear): ..here. All users updated.
2N/A * kern/term.c (grub_cls): Moved from here...
2N/A * normal/term.c (grub_cls): ... here.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/types.h: Define the C99-style PRIxGRUB_SIZE macro,
2N/A suitable for using within the format argument of printf when
2N/A converting grub_size_t.
2N/A * disk/usbms.c (grub_usbms_transfer): Use PRIxGRUB_SIZE rather than
2N/A "x" to convert grub_size_t arguments.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gfxmenu/gui_list.c (draw_menu): Use viewport to simplify code and fix
2N/A too long captions.
2N/A (list_get_minimal_size): Take selection box into account.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * font/font.c (grub_font_get_glyph_with_fallback): Avoid dereferencing
2N/A NULL font.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Skip device-mapper
2N/A devices when iterating over /dev/disk/by-id; they will be handled
2N/A later if appropriate, which they aren't always (e.g. LVM).
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/misc.h (grub_reboot): Declare as noreturn.
2N/A * kern/efi/efi.c (grub_reboot): Don't return, even if reset_system
2N/A fails.
2N/A (grub_halt): Likewise.
2N/A * kern/ieee1275/openfw.c (grub_reboot): Don't return, even if
2N/A reset-all fails.
2N/A (grub_halt): Don't return, even if all of shut-down, power-off, and
2N/A poweroff fail.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/efi/init.c (grub_efi_init): set_watchdog_timer takes four
2N/A arguments, not three.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (uses_abstraction): New function.
2N/A * util/grub.d/10_linux.in: Use it to check for LVM, so that
2N/A LVM-on-RAID is handled correctly.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Changes from GRUB Legacy): New section.
2N/A (Future): Fix typo.
2N/A
2N/A2010-07-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Sometimes
2N/A grub.d/README accidentally ends up executable for one reason or
2N/A another. Ignore it.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * partmap/gpt.c (MAX_SECTOR_LOG): New definition.
2N/A (gpt_partition_map_iterate): Support non-512B sectors.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/efi/init.c (grub_efi_init): Disable watchdog.
2N/A Tested by: Seth Goldberg.
2N/A
2N/A2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/multiboot.c (grub_multiboot_boot) [GRUB_USE_MULTIBOOT2]:
2N/A Properly align mbi.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-07-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Avoid module duplication.
2N/A
2N/A2010-07-01 Sean Finney <seanius@seanius.net>
2N/A
2N/A * util/grub.d/10_linux.in: Don't use UUID for LVM root.
2N/A
2N/A2010-07-01 Sean Finney <seanius@seanius.net>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Skip snapshots.
2N/A
2N/A2010-07-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_checkvalue): New function.
2N/A (grub_lvm_check_flag): Likewise.
2N/A
2N/A2010-07-01 Robert Millan <rmh@gnu.org>
2N/A
2N/A * kern/emu/hostdisk.c (convert_system_partition_to_system_disk):
2N/A Support 'p' as partition separator on kernel of FreeBSD (used
2N/A with GPT labels).
2N/A (grub_util_biosdisk_get_grub_dev): Likewise.
2N/A
2N/A2010-07-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Yeeloong firmware port.
2N/A
2N/A * boot/mips/yeeloong/fwstart.S: New file.
2N/A * bus/cs5536.c (gpiodump): New const.
2N/A (set_io_space): New function.
2N/A (set_iod): Likewise.
2N/A (set_p2d): Likewise.
2N/A (grub_cs5536_init_geode): Likewise.
2N/A * commands/mips/yeeloong/lsspd.c: New file.
2N/A * conf/mips-qemu-mips.rmk (pkglib_MODULES): Add serial.mod.
2N/A (serial_mod_SOURCES): New variable.
2N/A (serial_mod_CFLAGS): Likewise.
2N/A (serial_mod_LDFLAGS): Likewise.
2N/A * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Add term/serial.c,
2N/A term/terminfo.c and term/tparm.c.
2N/A (pkglib_IMAGES): Add fwstart.img.
2N/A (fwstart_img_SOURCES): New variable.
2N/A (fwstart_img_CFLAGS): Likewise.
2N/A (fwstart_img_ASFLAGS): Likewise.
2N/A (fwstart_img_LDFLAGS): Likewise.
2N/A (fwstart_img_FORMAT): Likewise.
2N/A (pkglib_MODULES): Add lsspd.mod.
2N/A (lsspd_mod_SOURCES): New variable.
2N/A (lsspd_mod_CFLAGS): Likewise.
2N/A (lsspd_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add halt.mod.
2N/A (halt_mod_SOURCES): New variable.
2N/A (halt_mod_CFLAGS): Likewise.
2N/A (halt_mod_LDFLAGS): Likewise.
2N/A * conf/mips.rmk (pkglib_MODULES): Remove serial.mod.
2N/A (serial_mod_SOURCES): Removed.
2N/A (serial_mod_CFLAGS): Likewise.
2N/A (serial_mod_LDFLAGS): Likewise.
2N/A * disk/ata.c (check_device): New function.
2N/A (grub_ata_device_initialize): Use check_device.
2N/A (grub_ata_iterate): Recheck devices.
2N/A (grub_ata_open): Likewise.
2N/A (grub_atapi_iterate): Likewise.
2N/A (grub_atapi_open): Likewise.
2N/A * include/grub/ata.h (GRUB_ATA_CH0_PORT1): New macro.
2N/A (GRUB_ATA_CH1_PORT1): Likewise.
2N/A (GRUB_ATA_CH0_PORT2): Likewise.
2N/A (GRUB_ATA_CH1_PORT2): Likewise.
2N/A * include/grub/mips/loongson.h: New file.
2N/A * include/grub/mips/yeeloong/ec.h: Likewise.
2N/A * include/grub/mips/yeeloong/serial.h (GRUB_MACHINE_SERIAL_PORT): New definition.
2N/A (GRUB_MACHINE_SERIAL_DIVISOR_115200): Likewise.
2N/A (GRUB_MACHINE_SERIAL_PORTS) [ASM_FILE]: Remove.
2N/A * include/grub/misc.h (grub_halt): Declare as noreturn.
2N/A * include/grub/serial.h (UART_ENABLE_FIFO): Renamed to ...
2N/A (UART_ENABLE_FIFO_TRIGGER14): ... this. All users updated.
2N/A (UART_ENABLE_FIFO_TRIGGER1): New definition.
2N/A (UART_ENABLE_DTRRTS): Likewise.
2N/A (UART_ENABLE_MODEM): Removed.
2N/A (UART_ENABLE_OUT2): New const.
2N/A * include/grub/term.h (grub_term_register_input_active): New function.
2N/A (grub_term_register_output_active): Likewise.
2N/A * kern/mips/startup.S [GRUB_MACHINE_MIPS_YEELOONG]: Handle 0xffffffff
2N/A argument.
2N/A * kern/mips/yeeloong/init.c (grub_get_rtc): Macroify.
2N/A (init_pci): New function.
2N/A (grub_machine_init): Execute platform init when firmware. Init serial.
2N/A (grub_halt): Implement.
2N/A (grub_exit): Likewise.
2N/A (grub_reboot): Likewise.
2N/A * term/serial.c (serial_hw_init): Update macros.
2N/A [GRUB_MACHINE_MIPS_YEELOONG]: Init on startup.
2N/A * util/grub-mkimage.c (image_target_desc): New id IMAGE_YEELOONG_FLASH.
2N/A (image_targets): New target mipsel-yeeloong-flash.
2N/A (generate_image): Support IMAGE_YEELOONG_FLASH.
2N/A * video/sm712.c (GRUB_SM712_TOTAL_MEMORY_SPACE): New definition.
2N/A (grub_video_sm712_setup): Init card.
2N/A (grub_video_sm712_set_palette): Removed.
2N/A * video/sm712_init.c: New file.
2N/A
2N/A2010-06-30 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (install-local): Temporarily prepend $(builddir) to
2N/A PATH when running help2man and then run it on the unadorned
2N/A executable names, rather than passing $(builddir)/* paths to
2N/A help2man. This avoids the build directory ending up in generated
2N/A manual pages.
2N/A
2N/A2010-06-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e',
2N/A to avoid accidents when debugging with 'sh -x'.
2N/A * util/grub-mkrescue.in: Likewise.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/10_netbsd.in: Likewise.
2N/A * util/grub.d/10_windows.in: Likewise.
2N/A * util/grub.d/20_linux_xen.in: Likewise.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
2N/A
2N/A2010-06-29 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/cat.c (grub_cmd_cat): Fix buffer overrun if '\r' is the
2N/A last character in the buffer.
2N/A Reported by: Vladimir Serbinenko.
2N/A
2N/A2010-06-29 Robert Millan <rmh@gnu.org>
2N/A
2N/A * docs/grub.texi (Simple configuration): Document ${GRUB_BADRAM}.
2N/A (Command-line and menu entry commands): Document `badram' command.
2N/A
2N/A2010-06-28 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig.in: Export `GRUB_BADRAM' variable.
2N/A * util/grub.d/00_header.in: When `GRUB_BADRAM' is set, issue badram
2N/A command using ${GRUB_BADRAM} as parameter.
2N/A
2N/A2010-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Device map): New section.
2N/A (Themes): New section (stub).
2N/A * Makefile.in (docs/grub.info): The info documentation now builds
2N/A without errors. Make sure it stays that way.
2N/A
2N/A2010-06-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use normal parser for menu entries.
2N/A Reported by: Thomas Frauendorfer
2N/A
2N/A * include/grub/parser.h (grub_parser_execute): Don't export.
2N/A * normal/menu.c (grub_menu_execute_entry_real): New function.
2N/A (grub_menu_execute_entry): Use grub_menu_execute_entry_real.
2N/A
2N/A2010-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Embedded configuration): New section (replacing
2N/A old "Preset Menu" stub).
2N/A (Images): New section.
2N/A (configfile): Note that any menu entries defined in `file' are shown
2N/A immediately.
2N/A
2N/A2010-06-28 Josh Triplett <josh@joshtriplett.org>
2N/A
2N/A * mmap/i386/pc/mmap_helper.S: Set CF on return.
2N/A
2N/A2010-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Add --debug-image= option.
2N/A
2N/A2010-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Change grub-mkdevicemap to emit /dev/disk/by-id/ names where
2N/A possible on Linux.
2N/A
2N/A * util/deviceiter.c (check_device): Rename to ...
2N/A (check_device_readable_unique): ... this. Update all callers.
2N/A Maintain and check a list of which devices (by canonicalized name)
2N/A have already been seen.
2N/A (clear_seen_devices): New function.
2N/A (compare_file_names) [__linux__]: New function.
2N/A (grub_util_iterate_devices): Clear the list of seen devices on exit
2N/A and (just in case) on entry.
2N/A (grub_util_iterate_devices) [__linux__]: Iterate over non-partition
2N/A devices in /dev/disk/by-id/, in sorted order. Remove DM-RAID
2N/A seen-devices list, superseded by general code in check_device.
2N/A
2N/A2010-06-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/cat.c (options): New variable.
2N/A (grub_cmd_cat): Parse options. If the --dos option is given, print
2N/A DOS-style "\r\n" line endings as simple newlines (Debian bug
2N/A #586358).
2N/A (GRUB_MOD_INIT): Use extcmd.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * docs/grub.texi (cat): Document --dos.
2N/A
2N/A2010-06-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A XEN with Linux grub-mkconfig support.
2N/A
2N/A * conf/common.rmk (grub-mkconfig_SCRIPTS) [linux]: Add 20_linux_xen.
2N/A * util/grub-mkconfig.in: Export GRUB_CMDLINE_XEN and
2N/A GRUB_CMDLINE_XEN_DEFAULT.
2N/A * util/grub.d/20_linux_xen.in: New file.
2N/A
2N/A2010-06-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Initialise VGA video on qemu ourselves.
2N/A
2N/A * boot/i386/qemu/boot.S: Don't call 0xc000.
2N/A * conf/i386-qemu.rmk (kern/i386/qemu/init.c_DEPENDENCIES): New variable.
2N/A (kernel_img_SOURCES): Add kern/i386/qemu/init.c and bus/pci.c.
2N/A (kernel_img_HEADERS): Add pci.h.
2N/A * conf/i386.rmk (pkglib_MODULES) [qemu]: Remove pci.mod.
2N/A * configure.ac: Force unifont on qemu and yeeloong.
2N/A * include/grub/i386/qemu/kernel.h (grub_qemu_init_cirrus): New proto.
2N/A (grub_vga_palette_write): Use correct register.
2N/A * kern/i386/coreboot/init.c (grub_machine_init) [GRUB_MACHINE_QEMU]:
2N/A Call grub_qemu_init_cirrus.
2N/A * kern/i386/qemu/init.c: New file.
2N/A * term/i386/pc/vga_text.c (inc_y): Never read outside the screen.
2N/A
2N/A * commands/videotest.c (grub_cmd_videotest): Handle double buffering.
2N/A
2N/A2010-06-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/grub.d/10_linux.in: Add support for initrd images on Fedora
2N/A 13.
2N/A
2N/A2010-06-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Explain that
2N/A GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY must be
2N/A set to `true' to disable their respective recovery entries, not
2N/A merely set.
2N/A
2N/A2010-06-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Make the `source' command slightly faster.
2N/A
2N/A * normal/main.c (grub_normal_execute): Don't re-read list files when
2N/A nested.
2N/A
2N/A2010-06-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * loader/i386/multiboot_mbi.c (retrieve_video_parameters): Set red
2N/A field position and mask size to red fields from mode_info, not
2N/A green.
2N/A * loader/multiboot_mbi2.c (retrieve_video_parameters): Likewise.
2N/A Remove redundant tag->common.framebuffer_type assignment.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-06-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Sync up other versions of the Linux loader with Robert Millan's
2N/A change of 2010-01-09, "Make loader output a bit more user-friendly".
2N/A
2N/A * loader/i386/efi/linux.c (grub_linux_boot): Move debug info to
2N/A grub_dprintf().
2N/A (grub_cmd_linux): Likewise.
2N/A (grub_cmd_initrd): Likewise.
2N/A * loader/i386/ieee1275/linux.c (grub_cmd_linux): Likewise.
2N/A * loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2N/A
2N/A2010-06-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/efi/mm.c (grub_efi_mm_init): Handle systems with memory maps
2N/A larger than MEMORY_MAP_SIZE.
2N/A
2N/A2010-06-21 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix parallel build.
2N/A
2N/A * conf/common.rmk: Add grub_script.tab.h as a grub-script-check
2N/A dependency.
2N/A * script/parser.y: #include grub_script.tab.h header.
2N/A
2N/A2010-06-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support >3GiB and <16MiB RAM in i386-qemu.
2N/A
2N/A * kern/i386/qemu/mmap.c (QEMU_CMOS_MEMSIZE2_HIGH): New const.
2N/A (QEMU_CMOS_MEMSIZE2_LOW): Likewise.
2N/A (grub_lower_mem): Removed.
2N/A (grub_upper_mem): Likewise.
2N/A (mem_size): Made static.
2N/A (above_4g): New variable.
2N/A (grub_machine_mmap_init): Detect small mem_size and above_4g.
2N/A (grub_machine_mmap_iterate): Order in ascending order and add above_4g
2N/A support.
2N/A
2N/A2010-06-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Cirrus 5446 and Bochs video cards support.
2N/A
2N/A * conf/i386.rmk (pkglib_MODULES): Add video_cirrus.mod and
2N/A video_bochs.mod
2N/A (video_cirrus_mod_SOURCES): New variable.
2N/A (video_cirrus_mod_CFLAGS): Likewise.
2N/A (video_cirrus_mod_LDFLAGS): Likewise.
2N/A (video_bochs_mod_SOURCES): Likewise.
2N/A (video_bochs_mod_CFLAGS): Likewise.
2N/A (video_bochs_mod_LDFLAGS): Likewise.
2N/A * include/grub/vga.h: New file.
2N/A * include/grub/video_fb.h (grub_video_fb_doublebuf_blit_init): Removed.
2N/A (grub_video_fb_set_page_t): New type.
2N/A (grub_video_fb_setup): New prototype.
2N/A (grub_video_fb_swap_buffers): Likewise.
2N/A (grub_video_fb_get_info_and_fini): Likewise.
2N/A * term/i386/pc/vga_text.c (CRTC_ADDR_PORT): Moved to include/grub/vga.h.
2N/A (CRTC_DATA_PORT): Likewise.
2N/A (CRTC_CURSOR): Likewise.
2N/A (CRTC_CURSOR_ADDR_HIGH): Likewise.
2N/A (CRTC_CURSOR_ADDR_LOW): Likewise.
2N/A (CRTC_CURSOR_DISABLE): Likewise.
2N/A (update_cursor): Use grub_vga_cr_write.
2N/A (grub_vga_text_setcursor): Likewise.
2N/A * video/bochs.c: New file.
2N/A * video/fb/video_fb.c (render_target): Moved into framebuffer variable.
2N/A (palette): Likewise.
2N/A (palette_size): Likewise.
2N/A (framebuffer): New variable.
2N/A (grub_video_fb_init): Use 'framebuffer'.
2N/A (grub_video_fb_fini): Likewise.
2N/A (grub_video_fb_get_info): Likewise.
2N/A (grub_video_fb_get_palette): Likewise.
2N/A (grub_video_fb_set_palette): Likewise.
2N/A (grub_video_fb_set_viewport): Likewise.
2N/A (grub_video_fb_get_viewport): Likewise.
2N/A (grub_video_fb_map_color): Likewise.
2N/A (grub_video_fb_map_rgb): Likewise.
2N/A (grub_video_fb_map_rgba): Likewise.
2N/A (grub_video_fb_unmap_color): Likewise.
2N/A (grub_video_fb_unmap_color_int): Likewise.
2N/A (grub_video_fb_fill_rect): Likewise.
2N/A (grub_video_fb_blit_bitmap): Likewise.
2N/A (grub_video_fb_blit_render_target): Likewise.
2N/A (grub_video_fb_scroll): Likewise.
2N/A (grub_video_fb_create_render_target): Likewise.
2N/A (grub_video_fb_doublebuf_blit_init): Likewise.
2N/A (grub_video_fb_set_active_render_target): Handle doublebuffering.
2N/A (doublebuf_pageflipping_update_screen): New function.
2N/A (doublebuf_pageflipping_init): Likewise.
2N/A (grub_video_fb_setup): Likewise.
2N/A (grub_video_fb_swap_buffers): Likewise.
2N/A (grub_video_fb_get_info_and_fini): Likewise.
2N/A * video/i386/pc/vbe.c (framebuffer): Remove all doublebuffering fields.
2N/A All users updated.
2N/A (doublebuf_pageflipping_commit): Restructured into ...
2N/A (doublebuf_pageflipping_set_page): ... this.
2N/A (doublebuf_pageflipping_update_screen): Removed.
2N/A (doublebuf_pageflipping_init): Likewise.
2N/A (double_buffering_init): Likewise.
2N/A (grub_video_vbe_setup): Use grub_video_fb_setup.
2N/A (grub_video_vbe_swap_buffers): Removed.
2N/A (grub_video_vbe_set_active_render_target): Likewise.
2N/A (grub_video_vbe_get_active_render_target): Likewise.
2N/A (grub_video_vbe_get_info_and_fini): Use grub_video_fb_get_info_and_fini.
2N/A (grub_video_vbe_adapter): Use grub_video_fb_swap_buffers,
2N/A grub_video_fb_set_active_render_target and
2N/A grub_video_fb_get_active_render_target.
2N/A * video/i386/pc/vga.c (SEQUENCER_ADDR_PORT): Move to include/grub/vga.h.
2N/A (SEQUENCER_DATA_PORT): Likewise.
2N/A (MAP_MASK_REGISTER): Likewise.
2N/A (CRTC_ADDR_PORT): Likewise.
2N/A (CRTC_DATA_PORT): Likewise.
2N/A (START_ADDR_HIGH_REGISTER): Likewise.
2N/A (START_ADDR_LOW_REGISTER): Likewise.
2N/A (GRAPHICS_ADDR_PORT): Likewise.
2N/A (GRAPHICS_DATA_PORT): Likewise.
2N/A (READ_MAP_REGISTER): Likewise.
2N/A (INPUT_STATUS1_REGISTER): Likewise.
2N/A (INPUT_STATUS1_VERTR_BIT): Likewise.
2N/A (get_map_mask): Use grub_vga_sr_read.
2N/A (set_map_mask): Use grub_vga_sr_write.
2N/A (set_read_map): Use grub_vga_gr_write.
2N/A (set_start_address): Use grub_vga_cr_write.
2N/A * video/sm712.c (framebuffer): Remove leftover fields.
2N/A
2N/A2010-06-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX. Stop
2N/A setting GRUB_VIDEO_BACKEND. Make it available as a user override
2N/A instead. Replace the gfxterm backend check with a check that
2N/A ${GRUB_PREFIX}/video.lst is non-empty.
2N/A * util/grub.d/00_header.in: Use GRUB_PREFIX rather than computing it
2N/A again.
2N/A (load_video): New generated function. Call it before loading
2N/A gfxterm rather than loading ${GRUB_VIDEO_BACKEND}.
2N/A * util/grub.d/10_linux.in (linux_entry): Call load_video.
2N/A * util/grub.d/30_os-prober.in (osx_entry): Likewise.
2N/A * docs/grub.texi (Simple configuration): Document
2N/A GRUB_VIDEO_BACKEND.
2N/A
2N/A2010-06-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use video functions in linux and xnu loaders.
2N/A
2N/A * conf/i386-pc.rmk (xnu_mod_SOURCES): Remove loader/i386/pc/xnu.c.
2N/A * conf/x86-efi.rmk (xnu_mod_SOURCES): Remove loader/i386/efi/xnu.c.
2N/A * include/grub/i386/xnu.h (grub_xnu_set_video): Removed.
2N/A * loader/i386/efi/linux.c (grub_linux_setup_video): Copied from
2N/A loader/i386/pc/linux.c.
2N/A (grub_linux_boot): Resynced with loader/i386/pc/linux.c.
2N/A (find_line_len): Removed.
2N/A (find_framebuf): Likewise.
2N/A (grub_cmd_linux): Declare grub_linux_boot as possibly returning.
2N/A * loader/i386/efi/xnu.c: Removed.
2N/A * loader/i386/pc/xnu.c: Moved from here...
2N/A * loader/i386/xnu.c: ...here.
2N/A
2N/A Enable priorities in video drivers.
2N/A
2N/A * include/grub/video.h (grub_video_adapter_prio_t): New type.
2N/A (grub_video_adapter): New field prio.
2N/A (grub_video_register): Respect prio when inserting.
2N/A * video/efi_gop.c (grub_video_gop_adapter): Add prio.
2N/A * video/efi_uga.c (grub_video_uga_adapter): Likewise.
2N/A * video/emu/sdl.c (grub_video_sdl_adapter): Likewise.
2N/A * video/i386/pc/vbe.c (grub_video_vbe_adapter): Likewise.
2N/A * video/i386/pc/vga.c (grub_video_vga_adapter): Likewise.
2N/A * video/ieee1275.c (grub_video_ieee1275_adapter): Likewise.
2N/A * video/sm712.c (grub_video_sm712_adapter): Likewise.
2N/A
2N/A Fix SDL driver ID.
2N/A
2N/A * include/grub/video.h (grub_video_driver_id_t): New value
2N/A GRUB_VIDEO_DRIVER_SDL.
2N/A * video/emu/sdl.c (grub_video_sdl_adapter): Add id.
2N/A
2N/A2010-06-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (usage): Pass an extra `program_name'
2N/A argument to printf.
2N/A * util/sparc64/ieee1275/grub-setup.c (usage): Likewise.
2N/A
2N/A2010-06-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (usage): Fix syntax error.
2N/A * util/sparc64/ieee1275/grub-setup.c (usage): Likewise.
2N/A
2N/A2010-06-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (usage): Warn against running grub-setup
2N/A directly, and recommend grub-install instead.
2N/A * util/sparc64/ieee1275/grub-setup.c (usage): Likewise.
2N/A
2N/A2010-06-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix i386-pc prefix handling with nested partitions (Debian bug
2N/A #585068). Note that the case where the core image is booted using
2N/A multiboot and relocated from its original location still requires
2N/A more work.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): If the prefix starts
2N/A with "(,", fill the boot drive in between those two characters, but
2N/A expect that a full partition specification including partition map
2N/A names will follow.
2N/A * util/i386/pc/grub-setup.c (setup): Unless an explicit prefix was
2N/A specified, write a prefix without the drive name but including a
2N/A full partition specification.
2N/A
2N/A2010-06-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Ignore non-option arguments, for
2N/A compatibility with older versions (before 2010-06-12) which did the
2N/A same. In particular, this makes it easier to ship an update-grub
2N/A wrapper which is compatible with that used with GRUB Legacy (Debian
2N/A bug #586056).
2N/A
2N/A2010-06-14 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * Makefile.in (install-local): Use $$file.h2m instead of $$dest.h2m
2N/A for manual page generation.
2N/A
2N/A2010-06-14 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * po/POTFILES: Remove leftover commands/handler.c.
2N/A
2N/A2010-06-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Remove vestige of old argument parsing that
2N/A left this script non-functional.
2N/A
2N/A2010-06-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/man/grub-emu.h2m: New file.
2N/A
2N/A2010-06-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Commands): Document reduced command set in rescue
2N/A mode.
2N/A (cpuid): New section.
2N/A
2N/A2010-06-13 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the
2N/A new partition naming style.
2N/A * util/grub-install.in: Adapt sed subtitutions in grub-probe calls.
2N/A
2N/A2010-06-12 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Add "-o grub.iso" like cmdline options support.
2N/A
2N/A * util/grub-install.in: Improve cmdline option parsing.
2N/A * util/grub-mkconfig.in: Likewise.
2N/A * util/grub-mkrescue.in: Likewise.
2N/A * util/grub-reboot.in: Likewise.
2N/A * util/grub-set-default.in: Likewise.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
2N/A
2N/A2010-06-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Ignore 41_custom.
2N/A
2N/A2010-06-12 Thomas Schmitt <scdbackup@gmx.net>
2N/A
2N/A * util/grub-mkrescue.in: Pass unrecognized options to xorriso.
2N/A
2N/A2010-06-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Avoid false positives in fs.lst, partmap.lst, and video.lst due to
2N/A prototype declarations.
2N/A
2N/A * genmk.rb (PModule::rule): Define GRUB_LST_GENERATOR when
2N/A generating fs, partmap, and video lists.
2N/A * include/grub/fs.h (grub_fs_register): Omit prototype if
2N/A GRUB_LST_GENERATOR is defined.
2N/A * include/grub/partition.h (grub_partition_map_register): Likewise.
2N/A * include/grub/video.h (grub_video_register): Likewise.
2N/A
2N/A2010-06-12 Javier Martín <lordhabbit@gmail.com>
2N/A
2N/A * include/grub/types.h: Check for GRUB_CPU_SIZEOF_LONG when appropriate.
2N/A
2N/A2010-06-12 Thomas Schmitt <scdbackup@gmx.net>
2N/A
2N/A * util/grub-mkrescue.in: Support --xorriso argument.
2N/A
2N/A2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Use -graft-points instead of -pathspecs.
2N/A Suggested by: Thomas Schmitt.
2N/A
2N/A2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.
2N/A Suggested by: Thomas Schmitt.
2N/A
2N/A2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A custom.cfg support.
2N/A
2N/A * conf/common.rmk (grub-mkconfig_SCRIPTS): Add 41_custom.
2N/A * util/grub.d/41_custom.in: New file.
2N/A
2N/A2010-06-12 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in (make_image): Remove sh module, which has
2N/A been merged back into normal.
2N/A
2N/A2010-06-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/efi/uga_draw.h (GRUB_EFI_UGA_GLT_MAX): Rename to ...
2N/A (GRUB_EFI_UGA_BLT_MAX): ... this (typo fix).
2N/A
2N/A2010-06-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m
2N/A when generating manual pages.
2N/A * docs/man/grub-bin2h.h2m: New file.
2N/A * docs/man/grub-editenv.h2m: New file.
2N/A * docs/man/grub-fstest.h2m: New file.
2N/A * docs/man/grub-install.h2m: New file.
2N/A * docs/man/grub-macho2img.h2m: New file.
2N/A * docs/man/grub-mkconfig.h2m: New file.
2N/A * docs/man/grub-mkdevicemap.h2m: New file.
2N/A * docs/man/grub-mkfont.h2m: New file.
2N/A * docs/man/grub-mkimage.h2m: New file.
2N/A * docs/man/grub-mkpasswd-pbkdf2.h2m: New file.
2N/A * docs/man/grub-mkrelpath.h2m: New file.
2N/A * docs/man/grub-mkrescue.h2m: New file.
2N/A * docs/man/grub-ofpathname.h2m: New file.
2N/A * docs/man/grub-pe2elf.h2m: New file.
2N/A * docs/man/grub-probe.h2m: New file.
2N/A * docs/man/grub-reboot.h2m: New file.
2N/A * docs/man/grub-script-check.h2m: New file.
2N/A * docs/man/grub-set-default.h2m: New file.
2N/A * docs/man/grub-setup.h2m: New file.
2N/A
2N/A2010-06-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use FOR_* macros instead of *_iterate whenever possible.
2N/A
2N/A * commands/handler.c: Removed.
2N/A * commands/help.c (grub_cmd_help): Use FOR_COMMANDS.
2N/A * commands/minicmd.c (grub_mini_cmd_lsmod): Use FOR_DL_MODULES.
2N/A * conf/any-emu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
2N/A * conf/common.rmk (script/lexer.c_DEPENDENCIES): Add grub_script.yy.h.
2N/A (grub_probe_SOURCES): Remove kern/parser.c.
2N/A (util/grub-script-check.c_DEPENDENCIES): Removed.
2N/A (grub_script_check_SOURCES): Remove kern/handler.c, kern/parser.c
2N/A and grub_script_check_init.c.
2N/A (grub_script_check_init.lst): Removed.
2N/A (grub_script_check_init.h): Likewise.
2N/A (grub_script_check_init.c): Likewise.
2N/A (pkglib_MODULES): Remove handler.mod and sh.mod.
2N/A (handler_mod_SOURCES): Removed.
2N/A (handler_mod_CFLAGS): Likewise.
2N/A (handler_mod_LDFLAGS): Likewise.
2N/A (normal_mod_SOURCES): Remove normal/handler.c.
2N/A Add script/main.c, script/script.c, script/execute.c,
2N/A script/function.c, script/lexer.c, grub_script.tab.c
2N/A and grub_script.yy.c.
2N/A * conf/i386-coreboot.rmk (kernel_img_SOURCES): Remove kern/handler.c.
2N/A * conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Remove kern/parser.c.
2N/A * conf/i386-qemu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
2N/A * conf/mips-qemu-mips.rmk (kernel_img_SOURCES): Likewise.
2N/A * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Remove kern/parser.c.
2N/A * conf/x86-efi.rmk (kernel_img_SOURCES): Remove kern/handler.c.
2N/A * gettext/gettext.c (grub_gettext_delete_list): Don't use grub_list_pop.
2N/A * include/grub/command.h (grub_command_iterate): Removed.
2N/A (FOR_COMMANDS): New macro.
2N/A * include/grub/dl.h (grub_dl): New member next.
2N/A (grub_dl_iterate): Removed.
2N/A (grub_dl_head): New variable declaration.
2N/A (FOR_DL_MODULES): New macro.
2N/A * include/grub/fs.h: Include list.h.
2N/A (grub_fs): Make next first element.
2N/A (grub_fs_list): New variable declaration.
2N/A (grub_fs_register): Make inline.
2N/A (grub_fs_unregister): Likewise.
2N/A (grub_fs_iterate): Removed.
2N/A (FOR_FILESYSTEMS): New macro.
2N/A * include/grub/handler.h: Removed.
2N/A * include/grub/list.h (grub_list_hook_t): Removed.
2N/A (grub_list_test_t): Likewise.
2N/A (grub_list_pop): Likewise.
2N/A (grub_list_iterate): Likewise.
2N/A (grub_list_insert): Likewise.
2N/A (FOR_LIST_ELEMENTS): New macro.
2N/A * include/grub/parser.h (grub_parser_class): Removed.
2N/A (grub_parser_register): Likewise.
2N/A (grub_parser_unregister): Likewise.
2N/A (grub_parser_get_current): Likewise.
2N/A (grub_parser_set_current): Likewise.
2N/A (grub_register_rescue_parser): Likewise.
2N/A (grub_rescue_parse_line): New function.
2N/A * include/grub/partition.h (FOR_PARTITION_MAPS): Use FOR_LIST_ELEMENTS.
2N/A * include/grub/script_sh.h (grub_script_function_list): New variable
2N/A declaration.
2N/A (FOR_SCRIPT_FUNCTIONS): New macro.
2N/A (grub_script_function_iterate): Removed.
2N/A (grub_normal_parse_line): New prototype.
2N/A * include/grub/term.h (FOR_ACTIVE_TERM_INPUTS): Use FOR_LIST_ELEMENTS.
2N/A (FOR_DISABLED_TERM_INPUTS): Likewise.
2N/A (FOR_ACTIVE_TERM_OUTPUTS): Likewise.
2N/A (FOR_DISABLED_TERM_OUTPUTS): Likewise.
2N/A * include/grub/video.h (grub_video_adapter): Move 'next' to first
2N/A element.
2N/A (grub_video_register): Inline.
2N/A (grub_video_unregister): Likewise.
2N/A (grub_video_adapter_list): New variable declaration.
2N/A (grub_video_iterate): Removed.
2N/A (FOR_VIDEO_ADAPTERS): New macro.
2N/A * kern/dl.c (grub_dl_list): Removed. All users updated.
2N/A (grub_dl_iterate): Removed.
2N/A * kern/fs.c (grub_fs_list): Make global.
2N/A (grub_fs_register): Removed.
2N/A (grub_fs_unregister): Likewise.
2N/A (grub_fs_iterate): Likewise.
2N/A * kern/handler.c: Removed.
2N/A * kern/list.c (grub_list_pop): Removed.
2N/A (grub_list_iterate): Likewise.
2N/A (grub_list_insert): Likewise.
2N/A (grub_named_list_find): Use FOR_LIST_ELEMENTS.
2N/A (grub_prio_list_insert): Don't use grub_list_insert.
2N/A * kern/main.c (grub_register_rescue_parser): Don't call
2N/A grub_register_rescue_parser.
2N/A * kern/parser.c (grub_parser_class): Removed.
2N/A (grub_parser_execute): Use grub_rescue_parse_line.
2N/A * kern/rescue_parser.c (grub_rescue_parse_line): Make global.
2N/A (grub_rescue_parser): Removed.
2N/A (grub_register_rescue_parser): Likewise.
2N/A * kern/rescue_reader.c (grub_rescue_run): Use grub_rescue_parse_line.
2N/A * normal/auth.c (is_authenticated): Use FOR_LIST_ELEMENTS.
2N/A (grub_auth_check_authentication): Likewise.
2N/A * normal/completion.c (iterate_command): Removed.
2N/A (grub_normal_do_completion): Use FOR_COMMANDS.
2N/A * normal/handler.c: Removed.
2N/A * normal/main.c (read_config_file): Remove parser changing.
2N/A (grub_normal_execute): Don't call read_handler_list.
2N/A (grub_normal_read_line_real): Statically allocate prompt.
2N/A (grub_cmdline_run): Use grub_normal_parse_line.
2N/A (GRUB_MOD_FINI): Don't call free_handler_list.
2N/A * normal/menu_entry.c (run): Likewise.
2N/A * script/function.c (grub_script_function_list): Make global.
2N/A (grub_script_function_iterate): Removed.
2N/A * script/main.c (grub_normal_parse_line): Make global.
2N/A (grub_sh_parser): Removed.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * tests/lib/functional_test.c (grub_functional_test): Use
2N/A FOR_LIST_ELEMENTS.
2N/A * tests/lib/test.c (free_failures): Don't use grub_list_pop.
2N/A (grub_test_run): Use FOR_LIST_ELEMENTS.
2N/A * tests/lib/unit_test.c (main): Likewise.
2N/A * util/deviceiter.c (grub_util_iterate_devices): Don't use
2N/A grub_list_pop.
2N/A * util/grub-fstest.c (grub_term_input_class): Removed.
2N/A (grub_term_output_class): Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A * util/grub-script-check.c (main): Don't call grub_init_all and
2N/A grub_fini_all.
2N/A * video/video.c (grub_video_adapter_list): Make global.
2N/A (grub_video_register): Removed.
2N/A (grub_video_unregister): Likewise.
2N/A (grub_video_iterate): Likewise.
2N/A
2N/A2010-06-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * docs/grub.texi (Vendor power-on button): Add Asus EeePC 1005PE as
2N/A reported by Henrique Ferreiro.
2N/A
2N/A2010-06-09 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub.d/10_linux.in: Prefer compressed images over non-compressed
2N/A ones, when both are available.
2N/A
2N/A2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A Make --version uniform and avoid hard-coded program name.
2N/A
2N/A * util/grub-mkimage.c (main): Use `program_name' instead of
2N/A hard-coded string.
2N/A * util/i386/pc/grub-setup.c (main): Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c (parse_options): Likewise.
2N/A * util/grub-install.in: Save the basename of $0 in $self, and use the
2N/A latter in informational messages. Use the same format for --version
2N/A as the binary programs.
2N/A * util/grub-mkconfig.in: Likewise.
2N/A * util/grub-mkrescue.in: Likewise.
2N/A * util/grub-reboot.in: Likewise.
2N/A * util/grub-set-default.in: Likewise.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
2N/A
2N/A2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Use absolute offsets for start of
2N/A embedding area. Use <= instead of == when checking for non-emptiness.
2N/A
2N/A2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * configure.ac: Add `.' to the directories searched for unifont.
2N/A
2N/A2010-06-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add ascii.bitmaps, ascii.h, grub_script.yy.c, and
2N/A grub_script.yy.h.
2N/A
2N/A2010-06-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (History): Expand to cover GRUB 2.
2N/A (Serial terminal): Refer to `terminal_input' and `terminal_output'
2N/A commands, not `terminal'.
2N/A (serial): Likewise.
2N/A (terminal_input): New section.
2N/A (terminal_output): New section.
2N/A (uppermem): New section (stub).
2N/A (Obtaining and Building GRUB): Refer to Bazaar, not Subversion.
2N/A
2N/A2010-06-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Security): Menu entries are unrestricted by
2N/A default, not restricted to superusers as I had previously thought.
2N/A Reword to account for this.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/emu/misc.c (device_mapper_null_log): New function.
2N/A (grub_device_mapper_supported): New function.
2N/A * include/grub/emu/misc.h (grub_device_mapper_supported): Add
2N/A prototype.
2N/A * kern/emu/hostdisk.c (find_partition_start): Check whether
2N/A device-mapper is supported before trying to use it.
2N/A * util/deviceiter.c (grub_util_iterate_devices): Likewise.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Naming convention): Use GRUB 2 syntax.
2N/A (File name syntax): Likewise.
2N/A (help): --all is no longer supported in GRUB 2. Be more precise
2N/A about pattern matching.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * normal/completion.c (grub_normal_do_completion): When completing
2N/A arguments to "set" and the current word contains an equals sign,
2N/A skip to after the equals sign before starting completion.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Network): New section.
2N/A (Device syntax): The network device is called `(pxe)' in GRUB 2, not
2N/A `(nd)' as in GRUB Legacy.
2N/A (pxe_unload): New section.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Troubleshooting): `echo' is not usually available
2N/A in the rescue shell, so recommend using `set' instead. Thanks,
2N/A Jordan Uggla.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Filesystem): Refer to `search' instead of `find'.
2N/A (password): New section.
2N/A (password_pbkdf2): New section.
2N/A (search): New section.
2N/A (Security): New section.
2N/A (Troubleshooting): New section, currently very incomplete.
2N/A (Invoking grub-mkpasswd-pbkdf2): New section.
2N/A (Internals): New section, currently very incomplete.
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Add some more quoting (of
2N/A "${prev_saved_entry}" and "${boot_once}") needed to make savedefault
2N/A work again.
2N/A Reported by: Mario 'BitKoenig' Holbe (Debian bug #584812).
2N/A
2N/A2010-06-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable
2N/A to `count', fixing variable shadowing that broke the -c option.
2N/A
2N/A2010-06-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Quote values assigned to `saved_entry',
2N/A in case they contain spaces.
2N/A
2N/A2010-06-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend
2N/A "part_" to partmap module names, in line with grub-install.
2N/A Reported by: Jindřich Makovička (Debian bug #584426).
2N/A
2N/A2010-06-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkimage.c: Make target-related error messages slightly
2N/A more helpful; -O talks about "format". Explicitly point to the use
2N/A of -O if no target is specified.
2N/A Reported by: Didier Raboud (Debian bug #584415).
2N/A
2N/A2010-06-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * INSTALL: Document several build requirements for optional features
2N/A (libdevmapper, ncurses, libusb, SDL, FreeType, GNU Unifont).
2N/A
2N/A2010-06-02 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/emu/hostdisk.c (convert_system_partition_to_system_disk)
2N/A [__NetBSD__]: Handle all device names matching /dev/r[a-z]+[0-9][a-z].
2N/A (find_partition_start) [__NetBSD__]: Correct error messages for NetBSD.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Simple configuration): Fix copy-and-paste typo.
2N/A Thanks to Jordan Uggla for spotting this.
2N/A
2N/A2010-06-02 Aleš Nesrsta <starous@volny.cz>
2N/A
2N/A Finally make USB usable.
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_reg_t): Add missing values.
2N/A (GRUB_OHCI_RHUB_PORT_POWER_MASK): New macro.
2N/A (GRUB_OHCI_RHUB_PORT_ALL_POWERED): Likewise.
2N/A (GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_MASK): Likewise.
2N/A (GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_SHIFT): Likewise.
2N/A (GRUB_OHCI_REG_FRAME_INTERVAL_FI_SHIFT): Likewise.
2N/A (GRUB_OHCI_FSMPS): Likewise.
2N/A (GRUB_OHCI_PERIODIC_START): Likewise.
2N/A (GRUB_OHCI_FRAME_INTERVAL): Likewise.
2N/A (GRUB_OHCI_SET_PORT_ENABLE): Likewise.
2N/A (GRUB_OHCI_CLEAR_PORT_ENABLE): Likewise.
2N/A (GRUB_OHCI_SET_PORT_RESET): Likewise.
2N/A (GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE): Likewise.
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Various important fixups.
2N/A (grub_ohci_transaction): Likewise.
2N/A (grub_ohci_transfer): Improve condition detection algorithms.
2N/A Handle toggle property. Program the transactions correctly.
2N/A Improve error handling. Various important fixups.
2N/A (grub_ohci_portstatus): Put register writes in right order.
2N/A * bus/usb/uhci.c (grub_free_queue): Compute last_trans.
2N/A (grub_uhci_transfer): Don't show "failed" message on success.
2N/A * bus/usb/usb.c (grub_usb_set_configuration): Zero-fill whole "toggle"
2N/A array.
2N/A (grub_usb_device_initialize): Read first 8 bytes of descriptor to
2N/A determine its size.
2N/A * bus/usb/usbtrans.c (grub_usb_control_msg): Use descdev.maxsize0 even
2N/A before initialization is completed. Use IN direction for empty
2N/A transfers. Use last_trans and compute toggle.
2N/A * include/grub/usbtrans.h (grub_usb_transfer): New field last_trans.
2N/A (GRUB_USB_FEATURE_ENDP_HALT): Correct the value.
2N/A (GRUB_USB_FEATURE_DEV_REMOTE_WU): Likewise.
2N/A (GRUB_USB_FEATURE_TEST_MODE): Likewise.
2N/A * include/grub/usb.h (grub_usb_err_t): New value GRUB_USB_ERR_UNRECOVERABLE.
2N/A (grub_usb_device): Increase toggle to 256.
2N/A (grub_usbms_subclass_t): New values GRUB_USBMS_SUBCLASS_RBC,
2N/A GRUB_USBMS_SUBCLASS_MMC2, GRUB_USBMS_SUBCLASS_UFI and
2N/A GRUB_USBMS_SUBCLASS_SFF8070.
2N/A * include/grub/scsicmd.h (grub_scsi_test_unit_ready): New structure.
2N/A (grub_scsi_inquiry): New member page and alloc_length.
2N/A (grub_scsi_request_sense): New structure.
2N/A (grub_scsi_request_sense_data): Likewise.
2N/A (grub_scsi_read_capacity): New fields logical_block_addr, PMI and
2N/A control.
2N/A * disk/scsi.c (grub_scsi_request_sense): New function.
2N/A (grub_scsi_test_unit_ready): Likewise.
2N/A (grub_scsi_inquiry): Fill new fields.
2N/A (grub_scsi_read_capacity): Likewise.
2N/A (grub_scsi_read10): Add request sense at the end.
2N/A (grub_scsi_read12): Likewise.
2N/A (grub_scsi_write10): Likewise.
2N/A (grub_scsi_write12): Likewise.
2N/A (grub_scsi_open): Add Test Unit Ready.
2N/A * disk/usbms.c (grub_usbms_finddevs): Check configcnt.
2N/A Support additional subclasses. Con't clear halt yet. Activate the
2N/A proper config. Calculate LUNs correctly.
2N/A (grub_usbms_transfer): Various important fixups.
2N/A
2N/A2010-06-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * bus/pci.c (grub_pci_iterate) [GRUB_MACHINE_MIPS_YEELOONG]: Skip ghosts.
2N/A * bus/usb/ohci.c (grub_ohci_portstatus): Handle R/WC correctly.
2N/A (grub_ohci_fini_hw): New function.
2N/A (grub_ohci_restore_hw): Likewise.
2N/A (GRUB_MOD_INIT(ohci)): Register preboot hook.
2N/A (GRUB_MOD_FINI(ohci)): Shutdown OHCI.
2N/A * term/usb_keyboard.c: Remove include of grub/machine/console.h.
2N/A
2N/A2010-06-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Dedicated DMA allocations.
2N/A
2N/A * bus/pci.c (grub_memalign_dma32): New function
2N/A (grub_dma_free): Likewise.
2N/A (grub_dma_get_virt): Likewise.
2N/A (grub_dma_get_phys): Likewise.
2N/A * bus/usb/ohci.c (grub_ohci): New members hcca_addr and hcca_chunk.
2N/A (grub_ohci_pci_iter): Use dma32_alloc.
2N/A (grub_ohci_transfer): Likewise.
2N/A * bus/usb/usbtrans.c (grub_usb_control_msg): Likewise.
2N/A (grub_usb_bulk_readwrite): Likewise.
2N/A * include/grub/pci.h: Add declarations.
2N/A
2N/A2010-06-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A CS5536 support.
2N/A
2N/A * bus/cs5536.c: New file.
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Check for CS5536.
2N/A * conf/i386.rmk (pkglib_MODULES): Add cs5536.mod.
2N/A (cs5536_mod_SOURCES): New variable.
2N/A (cs5536_mod_CFLAGS): Likewise.
2N/A (cs5536_mod_LDFLAGS): Likewise.
2N/A * conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add cs5536.h and
2N/A machine/pci.h.
2N/A (kernel_img_SOURCES): Add bus/cs5536.c.
2N/A (pkglib_MODULES): Add usb.mod, usbtest.mod, ohci.mod, usbms.mod and
2N/A usb_keyboard.mod.
2N/A (usb_mod_SOURCES): New variable.
2N/A (usb_mod_CFLAGS): New variable.
2N/A (usb_mod_LDFLAGS): New variable.
2N/A (usbtest_mod_SOURCES): New variable.
2N/A (usbtest_mod_CFLAGS): New variable.
2N/A (usbtest_mod_LDFLAGS): New variable.
2N/A (ohci_mod_SOURCES): New variable.
2N/A (ohci_mod_CFLAGS): New variable.
2N/A (ohci_mod_LDFLAGS): New variable.
2N/A (usbms_mod_SOURCES): New variable.
2N/A (usbms_mod_CFLAGS): New variable.
2N/A (usbms_mod_LDFLAGS): New variable.
2N/A (usb_keyboard_mod_SOURCES): New variable.
2N/A (usb_keyboard_mod_CFLAGS): New variable.
2N/A (usb_keyboard_mod_LDFLAGS): New variable.
2N/A * include/grub/smbus.h: New file.
2N/A * include/grub/cs5536.h: New file.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Add safety check to make sure that
2N/A ${locale_dir} exists before trying to probe it.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and
2N/A per the GNU Coding Standards; this is now too obscure to be worth
2N/A documenting.
2N/A (QNX): Likewise.
2N/A (chainloader): Remove cross-reference to `SCO UnixWare'.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Chain-loading): New section.
2N/A (DOS/Windows): New section, borrowed from GRUB Legacy with details
2N/A adjusted for GRUB 2.
2N/A (SCO UnixWare): Likewise.
2N/A (QNX): Likewise.
2N/A (chainloader): Add reference to `Block list syntax'.
2N/A (drivemap): New section.
2N/A (parttool): New section.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (GNU GRUB manual): Remove reference to `Invoking
2N/A the grub shell'.
2N/A (Installation): Add reference to `Making a GRUB bootable CD-ROM'.
2N/A (Installing GRUB using grub-install): Remove reference to the grub
2N/A shell; mention `grub-mkimage' and `grub-setup' instead.
2N/A (Invoking grub-install): Likewise.
2N/A (Interface): Add reference to `Menu entry editor'.
2N/A (serial): Remove `--device' option.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Configuration): New section, documenting
2N/A configuration file generation using grub-mkconfig. I've left a slot
2N/A for documenting the full shell scripting format but have not yet
2N/A started on writing that up.
2N/A (Invoking grub-mkconfig): New section.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (direntry): Remove grub-terminfo reference.
2N/A (GNU GRUB manual): Likewise.
2N/A (General commands): Update description of `terminfo' for GRUB 2.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/gptsync.c (grub_cmd_gptsync): Fix typos.
2N/A (GRUB_MOD_INIT): Fix capitalisation.
2N/A * docs/grub.texi (Command-line and menu entry commands): Document
2N/A gettext and gptsync commands.
2N/A
2N/A2010-06-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
2N/A kern/$(target_cpu)/cache.S even if TARGET_NO_MODULES = yes.
2N/A
2N/A2010-06-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Add btrfs probing support, currently only in the single-device case.
2N/A
2N/A * kern/emu/getroot.c (find_root_device_from_mountinfo): New
2N/A function.
2N/A (grub_guess_root_device): Call find_root_device_from_mountinfo
2N/A before looking in /dev.
2N/A
2N/A2010-05-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use
2N/A GRUB_DISK_SIZE_UNKNOWN.
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise.
2N/A
2N/A2010-05-31 Jiro SEKIBA <jir@unicus.jp>
2N/A
2N/A * include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro.
2N/A * fs/nilfs.c: Support 2nd super block in case 1st one is accidently
2N/A corrupted or not synced properly.
2N/A
2N/A2010-05-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/main.c (grub_normal_add_menu_entry): Avoid going out of args.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-05-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect
2N/A addition of dest.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-05-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/setpci.c (grub_setpci_iter): Fix an incorrect function check.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-05-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check
2N/A 64-bit address as signed on MIPS.
2N/A
2N/A2010-05-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
2N/A to the empty string.
2N/A
2N/A2010-05-28 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix grub-emu issues on NetBSD, with gcc 4.1.3.
2N/A
2N/A * conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS.
2N/A * include/grub/emu/misc.h (canonicalize_file_name): New Prototype.
2N/A * kern/misc.c (__enable_execute_stack): Disable on
2N/A GRUB_MACHINE_EMU.
2N/A
2N/A2010-05-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Make grub-probe work with symbolic links under /dev/mapper as well
2N/A as with real block devices. The Linux world seems to be (at best)
2N/A in transition here, and GRUB shouldn't get caught in the middle.
2N/A
2N/A * kern/emu/getroot.c (find_root_device): Follow symbolic links under
2N/A /dev/mapper.
2N/A
2N/A2010-05-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-script-check.c (main): Ensure defined behaviour on empty
2N/A input files (in which case exit zero).
2N/A
2N/A2010-05-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/emu/misc.c (canonicalize_file_name): realpath can still
2N/A return NULL for various reasons even if it has a maximum-length
2N/A buffer: for example, there might be a symlink loop, or the path
2N/A might exceed PATH_MAX. If this happens, return NULL.
2N/A
2N/A2010-05-27 Robert Millan <rmh@gnu.org>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert
2N/A partmap module to handle cross-partmap setups.
2N/A Reported by Orestes Mas. Gràcies!
2N/A
2N/A2010-05-27 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in: Initialise override_dir rather than
2N/A assuming that it's unset or empty in the environment.
2N/A
2N/A2010-05-26 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/emu/hostdisk.c (find_partition_start) [__NetBSD__]: Renamed
2N/A variable index into p_index to suppress a warning with -Wshadow.
2N/A
2N/A2010-05-25 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * INSTALL: Added flex >= 2.5.35 requirement.
2N/A
2N/A2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/usbtest.c (grub_usb_get_string): Properly support UTF-16.
2N/A
2N/A2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A cmostest support.
2N/A
2N/A * commands/i386/cmostest.c: New file.
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Add cmostest.mod.
2N/A (cmostest_mod_SOURCES): New variable.
2N/A (cmostest_mod_CFLAGS): Likewise.
2N/A (cmostest_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * docs/grub.texi (Vendor power-on keys): New section.
2N/A * util/grub-mkconfig.in: export GRUB_DEFAULT_BUTTON,
2N/A GRUB_HIDDEN_TIMEOUT_BUTTON, GRUB_TIMEOUT_BUTTON
2N/A and GRUB_BUTTON_CMOS_ADDRESS.
2N/A * util/grub.d/00_header.in: Handle powering-on by separate button.
2N/A
2N/A2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding.
2N/A Removed drawing_scrollbar argument. All users updated
2N/A Fixes #29792.
2N/A Reported by Jo Shields
2N/A
2N/A2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
2N/A buffer since gfxterm handles double repaint.
2N/A
2N/A2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers.
2N/A * term/gfxterm.c (real_scroll): Likewise.
2N/A
2N/A2010-05-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Zero-fill entry
2N/A before calling BIOS.
2N/A
2N/A2010-05-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i18n.h: Always enable grub_gettext.
2N/A
2N/A2010-05-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Fix a leftover usage of old
2N/A partition naming style.
2N/A
2N/A2010-05-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Fix handling of -o so that it works when
2N/A not the first option.
2N/A
2N/A2010-05-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrelpath.c (usage): Remove excess apostrophe.
2N/A
2N/A2010-05-20 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/misc.c: Move inclusion of <limits.h> to ...
2N/A * kern/emu/misc.c: ... here. Needed for canonicalize_file_name.
2N/A
2N/A2010-05-20 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev) [__NetBSD__]:
2N/A Fix merge error in NetBSD code.
2N/A (find_partition_start) [__NetBSD__]: Likewise.
2N/A
2N/A2010-05-19 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix grub-mkrescue usage unit testing.
2N/A
2N/A * tests/util/grub-shell.in: Use --grub-mkimage with grub-mkrescue.
2N/A
2N/A2010-05-18 Christian Franke <franke@computer.org>
2N/A
2N/A * util/grub.d/10_windows.in: Use path names instead of
2N/A drive letters to prevent warning from Cygwin 1.7.
2N/A Add drivemap command to menuentry if needed.
2N/A
2N/A2010-05-18 Justus Winter <4winter@informatik.uni-hamburg.de>
2N/A
2N/A * util/grub.d/10_hurd.in: Include all gnumach* kernels, not only
2N/A gnumach and gnumach.gz.
2N/A
2N/A2010-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i18n.h (gettext): Inline instead of using #define.
2N/A (grub_gettext): Likewise.
2N/A (_): Likewise.
2N/A
2N/A2010-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in (CPPFLAGS): Replace -DGRUB_LIBDIR with
2N/A -DGRUB_PKGLIBROOTDIR= and prepend @PACKAGE_TARNAME@. All users updated.
2N/A * util/grub-mkimage.c (image_targets): Add i386-multiboot.
2N/A (main): Add a slash after pkglibdirroot.
2N/A
2N/A2010-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-install.in: Add missing "in" keyword.
2N/A
2N/A2010-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Remove -O i386-pc duplication.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-05-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * po/POTFILES: Rename util/grub-mkrawimage.c to util/grub-mkimage.c.
2N/A
2N/A2010-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Check for Linux device-mapper support.
2N/A
2N/A * util/hostdisk.c (device_is_mapped): New function.
2N/A (find_partition_start): New function, partly broken out from
2N/A linux_find_partition and grub_util_biosdisk_get_grub_dev but with
2N/A device-mapper support added.
2N/A (linux_find_partition): Use find_partition_start.
2N/A (convert_system_partition_to_system_disk): Add `st' argument.
2N/A Support Linux /dev/mapper/* devices if device-mapper support is
2N/A available; only DM-RAID devices are understood at present.
2N/A (find_system_device): Add `st' argument. Pass it to
2N/A convert_system_partition_to_system_disk.
2N/A (grub_util_biosdisk_get_grub_dev): Pass stat result to
2N/A find_system_device and convert_system_partition_to_system_disk. Use
2N/A find_partition_start.
2N/A
2N/A * conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c,
2N/A kern/err.c, kern/list.c, kern/misc.c, and kern/emu/mm.c.
2N/A * util/deviceiter.c [__linux__]: Define MINOR.
2N/A (grub_util_iterate_devices): Add support for DM-RAID disk devices.
2N/A * util/mkdevicemap.c (grub_putchar): New function.
2N/A (grub_getkey): New function.
2N/A (grub_refresh): New function.
2N/A (main): Set debug=all if -v -v is used.
2N/A
2N/A2010-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Fix build with non-GNU libcs.
2N/A
2N/A * util/misc.c (canonicalize_file_name): Move to ...
2N/A * kern/emu/misc.c (canonicalize_file_name): ... here. Needed by
2N/A grub_make_system_path_relative_to_its_root.
2N/A
2N/A2010-05-18 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkrescue.in: Sync up with grub-install in terms of how
2N/A we handle finding grub-mkimage. Default to finding grub-mkimage in
2N/A ${bindir} with program_transform_name applied, and provide a
2N/A --grub-mkimage option to override this.
2N/A
2N/A2010-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove grub-mkisofs.
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): Remove grub-mkisofs.
2N/A (grub_mkisofs_SOURCES): Removed.
2N/A (grub_mkisofs_CFLAGS): Removed.
2N/A * util/mkisofs/defaults.h: Removed.
2N/A * util/mkisofs/eltorito.c: Likewise.
2N/A * util/mkisofs/exclude.h: Likewise.
2N/A * util/mkisofs/hash.c: Likewise.
2N/A * util/mkisofs/include/: Likewise.
2N/A * util/mkisofs/include/fctldefs.h: Likewise.
2N/A * util/mkisofs/include/mconfig.h: Likewise.
2N/A * util/mkisofs/include/prototyp.h: Likewise.
2N/A * util/mkisofs/include/statdefs.h: Likewise.
2N/A * util/mkisofs/iso9660.h: Likewise.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/match.c: Likewise.
2N/A * util/mkisofs/match.h: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A * util/mkisofs/msdos_partition.h: Likewise.
2N/A * util/mkisofs/multi.c: Likewise.
2N/A * util/mkisofs/name.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A
2N/A2010-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify grub-mkimage accross platforms.
2N/A
2N/A * Makefile.in (CPPFLAGS): Set GRUB_LIBDIR to $(libdir).
2N/A * conf/common.rmk (bin_UTILITIES): Removed grub-mkelfimage.
2N/A (grub_mkelfimage_SOURCES): Removed.
2N/A (util/elf/grub-mkimage.c_DEPENDENCIES): Renamed to ..
2N/A (util/grub-mkimage.c_DEPENDENCIES): .. this.
2N/A (bin_UTILITIES): Add grub-mkimage.
2N/A (grub_mkimage_SOURCES): New variable.
2N/A (kernel_img_HEADERS): Remove machine/kernel.h.
2N/A * conf/i386-pc.rmk (pkglib_IMAGES): Remove kernel.img.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A (kernel_img_HEADERS): Add machine/kernel.h.
2N/A (kernel_img_FORMAT): Removed.
2N/A (bin_UTILITIES): Remove grub-mkimage.
2N/A (grub_mkimage_SOURCES): Removed.
2N/A (grub_mkimage_CFLAGS): Likewise.
2N/A (util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
2N/A * conf/i386-qemu.rmk (pkglib_IMAGES): Remove kernel.img.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A (bin_UTILITIES): Remove grub-mkimage.
2N/A (grub_mkimage_SOURCES): Removed.
2N/A (grub_mkimage_CFLAGS): Likewise.
2N/A (util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
2N/A * conf/mips-qemu-mips.rmk (pkglib_IMAGES): Remove kernel.img.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A * conf/mips-yeeloong.rmk (pkglib_IMAGES): Remove kernel.img.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A * conf/mips.rmk (bin_UTILITIES): Remove grub-mkimage.
2N/A (grub_mkimage_SOURCES): Removed.
2N/A (grub_mkimage_CFLAGS): Likewise.
2N/A (util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (pkglib_IMAGES): Remove kernel.img.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A (bin_UTILITIES): Remove grub-mkimage.
2N/A (grub_mkimage_SOURCES): Removed.
2N/A (grub_mkimage_CFLAGS): Likewise.
2N/A (util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
2N/A * conf/x86-efi.rmk (bin_UTILITIES): Remove grub-mkimage.
2N/A (grub_mkimage_SOURCES): Removed.
2N/A (grub_mkimage_CFLAGS): Likewise.
2N/A (util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
2N/A * configure.ac (machine_CFLAGS): Add "-DMACHINE".
2N/A * include/grub/efi/pe32.h (grub_pe32_optional_header): Split into ...
2N/A (grub_pe32_optional_header): ... this.
2N/A (grub_pe64_optional_header): ... and this. All users updated.
2N/A (GRUB_PE32_PE32_MAGIC): Split into ..
2N/A (GRUB_PE32_PE32_MAGIC): .. this.
2N/A (GRUB_PE32_PE64_MAGIC): .. and this.
2N/A (GRUB_PE32_SIGNATURE_SIZE): New definition.
2N/A * include/grub/elf.h (PT_GNU_STACK): New definition.
2N/A * include/grub/i386/coreboot/kernel.h: Merged into include/grub/offsets.h. All users updated.
2N/A * include/grub/i386/efi/kernel.h: Likewise.
2N/A * include/grub/i386/kernel.h: Likewise.
2N/A * include/grub/i386/pc/kernel.h: Likewise.
2N/A * include/grub/i386/qemu/boot.h: Likewise.
2N/A * include/grub/mips/kernel.h: Likewise.
2N/A * include/grub/mips/qemu-mips/kernel.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/kernel.h: Likewise.
2N/A * include/grub/powerpc/kernel.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/boot.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/kernel.h: Likewise.
2N/A * include/grub/sparc64/kernel.h: Likewise.
2N/A * include/grub/x86_64/efi/kernel.h: Likewise.
2N/A * include/grub/x86_64/kernel.h: Likewise.
2N/A * include/grub/offsets.h: New file.
2N/A * include/grub/kernel.h (grub_module_info): Split into ...
2N/A (grub_module_info32): ... this.
2N/A (grub_module_info64): ... and this.
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_KERNEL_SEG): Moved from here ...
2N/A * include/grub/offsets.h (GRUB_BOOT_I386_PC_KERNEL_SEG): ... here.
2N/A (grub_boot_blocklist): Moved from here ...
2N/A * include/grub/offsets.h (grub_pc_bios_boot_blocklist): ... here.
2N/A * include/grub/i386/pc/memory.h (GRUB_MEMORY_MACHINE_UPPER): Moved from here.
2N/A * include/grub/offsets.h (GRUB_MEMORY_I386_PC_UPPER): .. here.
2N/A * include/grub/types.h (grub_target_to_host16): Removed.
2N/A (grub_target_to_host32): Likewise.
2N/A (grub_target_to_host64): Likewise.
2N/A (grub_host_to_target16): Likewise.
2N/A (grub_host_to_target32): Likewise.
2N/A (grub_host_to_target64): Likewise.
2N/A (grub_host_to_target_addr): Likewise.
2N/A
2N/A Support grub-mkrescue for efi, coreboot and qemu.
2N/A
2N/A * conf/x86-efi.rmk (bin_SCRIPTS): Add grub-mkrescue.
2N/A * kern/efi/init.c (grub_efi_set_prefix): Handle baked in prefix.
2N/A * util/elf/grub-mkimage.c: Merged into util/grub-mkimage.c.
2N/A * util/grub-mkrawimage.c: Moved from here ...
2N/A * util/grub-mkimage.c: ... here. All users updated.
2N/A (ALIGN_ADDR): Use image_target.
2N/A (TARGET_NO_FIELD): New const.
2N/A (image_target_desc): New type.
2N/A (image_targets): New array.
2N/A (grub_target_to_host64): Use image_target.
2N/A (grub_target_to_host32): Likewise.
2N/A (grub_target_to_host16): Likewise.
2N/A (grub_host_to_target64): Likewise.
2N/A (grub_host_to_target32): Likewise.
2N/A (grub_host_to_target16): Likewise.
2N/A (grub_host_to_target_addr): Likewise.
2N/A (generate_image): Handle multiimage.
2N/A (main): Require -O parameter. All users updated.
2N/A * util/grub-mkimagexx.c: New file. Based on util/grub-mkrawimage.c and
2N/A util/efi/grub-mkimage.c
2N/A * util/grub-mkrescue.in: Handle coreboot, efi and qemu.
2N/A New option --rom-directory.
2N/A Use xorriso.
2N/A * util/i386/efi/grub-mkimage.c: Removed.
2N/A * util/i386/pc/grub-setup.c (grub_target_to_host16): New definition.
2N/A (grub_target_to_host32): Likewise.
2N/A (grub_target_to_host64): Likewise.
2N/A (grub_host_to_target16): Likewise.
2N/A (grub_host_to_target32): Likewise.
2N/A (grub_host_to_target64): Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c (grub_target_to_host16): New definition.
2N/A (grub_target_to_host32): Likewise.
2N/A (grub_target_to_host64): Likewise.
2N/A (grub_host_to_target16): Likewise.
2N/A (grub_host_to_target32): Likewise.
2N/A (grub_host_to_target64): Likewise.
2N/A
2N/A2010-05-17 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Source tree is reorganized for emu build.
2N/A
2N/A * include/grub/util/console.h: Move from here...
2N/A * include/grub/emu/console.h: ...to here.
2N/A * include/grub/util/getroot.h: Move from here...
2N/A * include/grub/emu/getroot.h: ...to here.
2N/A * include/grub/util/hostdisk.h: Move from here...
2N/A * include/grub/emu/hostdisk.h: ...to here.
2N/A * util/console.c: Move from here...
2N/A * kern/emu/console.c: ...to here.
2N/A * util/getroot.c: Move from here...
2N/A * kern/emu/getroot.c: ...to here.
2N/A * util/grub-emu.c: Move from here...
2N/A * kern/emu/main.c: ...to here.
2N/A * util/hostdisk.c: Move from here...
2N/A * kern/emu/hostdisk.c: ...to here.
2N/A * util/hostfs.c: Move from here...
2N/A * kern/emu/hostfs.c: ...to here.
2N/A * util/mm.c: Move from here...
2N/A * kern/emu/mm.c: ...to here.
2N/A * util/pci.c: Move from here...
2N/A * bus/emu/pci.c: ...to here.
2N/A * util/sdl.c: Move from here...
2N/A * video/emu/sdl.c: ...to here.
2N/A * util/time.c: Move from here...
2N/A * kern/emu/time.c: ...to here.
2N/A * util/usb.c: Move from here...
2N/A * bus/usb/emu/usb.c: ...to here.
2N/A
2N/A * include/grub/emu/misc.h: New header for grub-emu functions.
2N/A * kern/emu/misc.c: grub-emu functions separated from util/misc.c
2N/A
2N/A * conf/any-emu.rmk: Rule updates for above renames.
2N/A * conf/common.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/i386-qemu.rmk: Likewise.
2N/A * conf/mips.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86-efi.rmk: Likewise.
2N/A
2N/A * disk/lvm.h: #include updates for above renames.
2N/A * util/grub-mkrelpath.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A * kern/emu/console.c: Likewise.
2N/A * kern/emu/getroot.c: Likewise.
2N/A * kern/emu/hostdisk.c: Likewise.
2N/A * kern/emu/main.c: Likewise. (was grub-emu.c earlier)
2N/A
2N/A * include/grub/dl.h: Remove grub_dl_{ref,unref}.
2N/A * include/grub/util/misc.h: Move grub-emu functions to emu/misc.h.
2N/A * kern/dl.c: Handle null mod in grub_dl_{ref,unref}.
2N/A * util/misc.c: Remove grub-emu functions.
2N/A
2N/A2010-05-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix gfxmenu crash.
2N/A Reported by: Thorsten Grützmacher.
2N/A
2N/A * gfxmenu/gui_circular_progress.c (circprog_destroy): Unregister
2N/A timeout hook.
2N/A (circprog_set_property): Register and unregister timeout hook.
2N/A * gfxmenu/gui_label.c (grub_gui_label): New fields template and value.
2N/A (label_destroy): Free template. and unregister hook.
2N/A (label_set_state): New function.
2N/A (label_set_property): Handle templates and hooks.
2N/A * gfxmenu/gui_progress_bar.c (progress_bar_destroy): Unregister
2N/A timeout hook.
2N/A (progress_bar_set_property): Register and unregister timeout hook.
2N/A * gfxmenu/view.c (TIMEOUT_COMPONENT_ID): Move from here ...
2N/A * include/grub/gui.h (GRUB_GFXMENU_TIMEOUT_COMPONENT_ID): ...to here
2N/A * gfxmenu/view.c (grub_gfxmenu_timeout_notifications): New variable.
2N/A (update_timeout_visit): Removed.
2N/A (update_timeouts): New function.
2N/A (redraw_timeouts): Likewise.
2N/A (grub_gfxmenu_print_timeout): Use update_timeouts and redraw_timeouts.
2N/A (grub_gfxmenu_clear_timeout): Likewise.
2N/A * include/grub/gui.h (grub_gfxmenu_set_state_t): New type.
2N/A (grub_gfxmenu_timeout_notify): Likewise.
2N/A (grub_gfxmenu_timeout_notifications): New external variable.
2N/A (grub_gfxmenu_timeout_register): New function.
2N/A (grub_gfxmenu_timeout_unregister): Likewise.
2N/A
2N/A2010-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Transform (broken) vga terminal into (working) vga video driver.
2N/A
2N/A * conf/i386-pc.rmk (vga_mod_SOURCES): Change term/i386/pc/vga.c to
2N/A video/i386/pc/vga.c.
2N/A * include/grub/video.h (grub_video_driver_id):
2N/A Add GRUB_VIDEO_DRIVER_VGA.
2N/A * term/i386/pc/vga.c: Renamed to ...
2N/A * video/i386/pc/vga.c: ...this
2N/A (DEBUG_VGA): Removed.
2N/A (CHAR_WIDTH): Likewise.
2N/A (CHAR_HEIGHT): Likewise.
2N/A (TEXT_WIDTH): Likewise.
2N/A (TEXT_HEIGHT): Likewise.
2N/A (DEFAULT_FG_COLOR): Likewise.
2N/A (DEFAULT_BG_COLOR): Likewise.
2N/A (colored_char): Likewise.
2N/A (xpos): Likewise.
2N/A (ypos): Likewise.
2N/A (cursor_state): Likewise.
2N/A (fg_color): Likewise.
2N/A (bg_color): Likewise.
2N/A (text_buf): Likewise.
2N/A (page): Likewise.
2N/A (font): Likewise.
2N/A (framebuffer): New variable.
2N/A (set_read_map): Disabled.
2N/A (setup): New variable.
2N/A (is_target): Likewise.
2N/A (grub_vga_mod_init): Likewise.
2N/A (grub_vga_mod_fini): Likewise.
2N/A (check_vga_mem): Likewise.
2N/A (write_char): Likewise.
2N/A (write_cursor): Likewise.
2N/A (scroll_up): Likewise.
2N/A (grub_vga_putchar): Likewise.
2N/A (grub_vga_getcharwidth): Likewise.
2N/A (grub_vga_getwh): Likewise.
2N/A (grub_vga_getxy): Likewise.
2N/A (grub_vga_gotoxy): Likewise.
2N/A (grub_vga_cls): Likewise.
2N/A (grub_vga_setcolorstate): Likewise.
2N/A (grub_vga_setcursor): Likewise.
2N/A (grub_video_vga_init): New function.
2N/A (grub_video_vga_setup): Likewise.
2N/A (grub_video_vga_fini): Likewise.
2N/A (update_target): Likewise.
2N/A (grub_video_vga_blit_bitmap): Likewise.
2N/A (grub_video_vga_blit_render_target): Likewise.
2N/A (grub_video_vga_set_active_render_target): Likewise.
2N/A (grub_video_vga_get_active_render_target): Likewise.
2N/A (grub_video_vga_swap_buffers): Likewise.
2N/A (grub_video_vga_set_palette): Likewise.
2N/A (grub_video_vga_get_info_and_fini): Likewise.
2N/A (grub_vga_term): Removed.
2N/A (grub_video_vga_adapter): New variable.
2N/A (GRUB_MOD_INIT): Register a video driver instead of terminal.
2N/A (GRUB_MOD_FINI): Unrefister a video driver instead of terminal.
2N/A
2N/A2010-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/readers/jpeg.c: Indented.
2N/A
2N/A2010-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Various jpeg cleanups.
2N/A
2N/A * video/readers/jpeg.c (grub_jpeg_get_huff_code): Use ARRAY_SIZE.
2N/A (grub_jpeg_decode_quan_table): Use sizeof.
2N/A (grub_jpeg_decode_du): Use ARRAY_SIZE.
2N/A
2N/A2010-05-05 Peter Hurley <No e-mail available> (tiny change)
2N/A
2N/A * video/readers/jpeg.c (grub_jpeg_decode_huff_table): Loop over all
2N/A tables. Ignore non-last ac bit.
2N/A (grub_jpeg_decode_quan_table): Likewise.
2N/A
2N/A2010-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
2N/A GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM.
2N/A * kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
2N/A GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM on qemu.
2N/A * kern/ieee1275/init.c (grub_claim_heap): Don0t allocate below
2N/A 1.5MiB if GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM is set.
2N/A
2N/A2010-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_getkey): Fix off-by-one
2N/A error.
2N/A
2N/A2010-05-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Support C0 code.
2N/A
2N/A2010-05-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/parttool.c (grub_cmd_parttool): Fix #if !GRUB_NO_MODULES
2N/A condition.
2N/A
2N/A2010-05-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/mm.c (grub_real_malloc): Put magic and size assignment in common
2N/A part.
2N/A
2N/A2010-05-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/mm.c (grub_mm_init_region): Check for region size after aligning
2N/A pointers.
2N/A
2N/A2010-05-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/mm.c (grub_real_malloc): Fix size calculation when extra == 0.
2N/A
2N/A2010-05-01 Christian Franke <franke@computer.org>
2N/A
2N/A * util/grub-mkconfig_lib.in (make_system_path_relative_to_its_root):
2N/A Remove broken Cygwin path conversion.
2N/A * util/misc.c: [__CYGWIN__] Add include and define.
2N/A [__CYGWIN__] (get_win32_path): Copy function from getroot.c, modify
2N/A for Cygwin 1.7.
2N/A (make_system_path_relative_to_its_root): Simplify loop, replace early
2N/A return by break.
2N/A [__CYGWIN__] Add conversion to win32 path.
2N/A Include "/" case in trailing slash removal.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/main.c (grub_load_config): Fix copy-pasted comment.
2N/A Reported by: Seth Goldberg
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/help.c (grub_cmd_help): Fix a typo.
2N/A Reported by: Seth Goldberg
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/hashsum.c (GRUB_MOD_INIT): Remove duplication of command
2N/A name and add N_.
2N/A * commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/iorw.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/password_pbkdf2.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/regexp.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/setpci.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/terminal.c (GRUB_MOD_INIT): Likewise.
2N/A * efiemu/main.c (GRUB_MOD_INIT): Likewise.
2N/A * font/font_cmd.c (GRUB_MOD_INIT): Likewise.
2N/A * kern/corecmd.c (GRUB_MOD_INIT): Likewise.
2N/A * mmap/mmap.c (GRUB_MOD_INIT): Likewise.
2N/A * normal/context.c (GRUB_MOD_INIT): Likewise.
2N/A * normal/main.c (GRUB_MOD_INIT): Likewise.
2N/A * term/gfxterm.c (GRUB_MOD_INIT): Likewise.
2N/A * term/serial.c (GRUB_MOD_INIT): Likewise.
2N/A * term/terminfo.c (GRUB_MOD_INIT): Likewise.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/mm.c (grub_real_malloc): Satisfy alignment requirement when
2N/A extra == 0.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/iorw.c: New file.
2N/A * conf/i386.rmk (pkglib_MODULES): Add iorw.mod.
2N/A (iorw_mod_SOURCES): New variable.
2N/A (iorw_mod_CFLAGS): Likewise.
2N/A (iorw_mod_LDFLAGS): Likewise.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Hotkey support
2N/A
2N/A * include/grub/menu.h (grub_menu_entry): New field 'hotkey'.
2N/A * normal/main.c (hotkey_aliases): New variable.
2N/A (grub_normal_add_menu_entry): Parse "--hotkey".
2N/A * normal/menu_text.c (run_menu): Handle hotkeys.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/coreboot/init.c (grub_machine_init): Call
2N/A grub_machine_mmap_init on qemu.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * boot/i386/qemu/boot.S: Add a missing .code16.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use LBIO on coreboot.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_img_SOURCES): Change
2N/A kern/i386/multiboot_mmap.c to kern/i386/coreboot/mmap.c.
2N/A * include/grub/i386/coreboot/memory.h (GRUB_LINUXBIOS_MEMBER_LINK):
2N/A New declaration.
2N/A * kern/i386/coreboot/init.c (grub_machine_init): Don't call
2N/A grub_machine_mmap_init on coreboot.
2N/A * kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate): Handle
2N/A GRUB_LINUXBIOS_MEMBER_LINK.
2N/A (grub_machine_mmap_iterate): Fix declaration.
2N/A * kern/i386/coreboot/startup.S: Don't save mbi location on coreboot.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split coreboot and multiboot ports.
2N/A
2N/A * conf/i386-multiboot.rmk: New file.
2N/A * configure.ac: Add multiboot port.
2N/A * include/grub/i386/multiboot/boot.h: New file.
2N/A * include/grub/i386/multiboot/console.h: Likewise.
2N/A * include/grub/i386/multiboot/init.h: Likewise.
2N/A * include/grub/i386/multiboot/kernel.h: Likewise.
2N/A * include/grub/i386/multiboot/loader.h: Likewise.
2N/A * include/grub/i386/multiboot/memory.h: Likewise.
2N/A * include/grub/i386/multiboot/serial.h: Likewise.
2N/A * include/grub/i386/multiboot/time.h: Likewise.
2N/A * include/grub/multiboot.h: Add GRUB_MACHINE_MULTIBOOT to ifdef.
2N/A * loader/multiboot.c: Likewise.
2N/A * loader/multiboot_mbi2.c: Likewise.
2N/A * util/grub-mkrescue.in: Generate multiboot rescue.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/parser.c (grub_parser_execute): Cope with read-only config.
2N/A
2N/A2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Merge handling of input and output terminals. Fix a hang.
2N/A
2N/A * commands/terminal.c (abstract_terminal): New struct.
2N/A (handle_command): New function. Based on grub_cmd_terminal_input.
2N/A (grub_cmd_terminal_input): Use handle_command.
2N/A (grub_cmd_terminal_output): Use handle_command.
2N/A
2N/A2010-05-01 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix comment handling.
2N/A
2N/A * tests/grub_script_comments.in: New testcase.
2N/A * conf/tests.rmk: Rules for new testcase.
2N/A * script/yylex.l: Updated flex rules.
2N/A
2N/A2010-04-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * docs/grub.texi (play): Document that zero pitches produce rests.
2N/A * commands/i386/pc/play.c (grub_cmd_play): Call 'grub_file_open' only
2N/A if argc is 1.
2N/A
2N/A2010-04-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/x86-efi.rmk (linux_mod_SOURCES): Write explicitly to avoid
2N/A autogen issues.
2N/A
2N/A2010-04-26 Christian Franke <franke@computer.org>
2N/A
2N/A * include/grub/util/getroot.h (grub_get_prefix): Remove prototype.
2N/A * util/getroot.c [__CYGWIN__] (get_win32_path): Remove function.
2N/A (grub_get_prefix): Remove function.
2N/A * util/grub-emu.c (main): Replace grub_get_prefix () call by
2N/A make_system_path_relative_to_its_root ().
2N/A * util/sparc64/ieee1275/grub-setup.c (main): Likewise.
2N/A
2N/A2010-04-24 Christian Franke <franke@computer.org>
2N/A
2N/A * Makefile.in (TARGET_LDFLAGS): Add -static-libgcc.
2N/A (kernel_img_LDFLAGS): Remove -static-libgcc.
2N/A
2N/A2010-04-24 Christian Franke <franke@computer.org>
2N/A
2N/A * configure.ac: Do not CHECK_BSS_START_SYMBOL
2N/A and CHECK_END_SYMBOL if grub-emu is built.
2N/A Unset TARGET_OBJ2ELF if grub-emu is built
2N/A without module support.
2N/A
2N/A2010-04-24 Jiro SEKIBA <jir@unicus.jp>
2N/A
2N/A Nilfs2 support.
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add fs/nilfs2.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Add nilfs2.mod.
2N/A (nilfs2_mod_SOURCES): New variable.
2N/A (nilfs2_mod_CFLAGS): Likewise.
2N/A (nilfs2_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/nilfs2.c.
2N/A * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add fs/nilfs2.c.
2N/A * fs/nilfs2.c: New file.
2N/A
2N/A2010-04-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Refuse to compile for x86_64-efi is mcmodel=large
2N/A is not supported.
2N/A
2N/A2010-04-19 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A Add grub-mkconfig support for NetBSD.
2N/A
2N/A * util/grub.d/10_netbsd.in: grub-mkconfig helper script for NetBSD.
2N/A * util/grub-mkconfig.in: export new NetBSD specific variables.
2N/A * po/POTFILES-shell: added 10_netbsd.in.
2N/A * util/grub-mkconfig_lib.in: check for gettext binary, default to echo.
2N/A
2N/A2010-04-19 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix emu build with grub-emu-pci and grub-emu-modules.
2N/A
2N/A * include/grub/util/misc.h: Export grub_util_{info,error,warn}
2N/A functions.
2N/A * include/grub/libpciaccess.h: New file.
2N/A * conf/any-emu.rmk: Update kernel headers for emu build.
2N/A
2N/A2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/udf.c (grub_udf_iterate_dir): Silence a spurious warning.
2N/A
2N/A2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/udf.c (grub_udf_iterate_dir): Decode the Unicode filenames.
2N/A
2N/A2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * boot/sparc64/ieee1275/boot.S: Various size-reducing changes.
2N/A Retrieve chosen/bootpath if bootpath isn't hardcoded.
2N/A * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add
2N/A util/ieee1275/ofpath.c.
2N/A * util/sparc64/ieee1275/grub-ofpathname.c: Renamed to ...
2N/A * util/ieee1275/grub-ofpathname.c: ... this. All users updated
2N/A * include/grub/sparc64/ieee1275/boot.h
2N/A (GRUB_BOOT_MACHINE_KERNEL_SECTOR): Renamed to ...
2N/A (GRUB_BOOT_MACHINE_KERNEL_BYTE): ...this. Moved 8 bytes lower.
2N/A * util/hostdisk.c (grub_util_biosdisk_get_osdev): New function.
2N/A * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Make argument
2N/A const char *.
2N/A * util/sparc64/ieee1275/grub-setup.c (compute_dest_ofpath): Removed.
2N/A (setup): Use KERNEL_BYTE instead of KERNEL_SECTOR.
2N/A Use grub_util_devname_to_ofpath. Zero-fill boot_devpath on same disk
2N/A install.
2N/A
2N/A2010-04-18 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in: Corrected two == equality tests.
2N/A Set grub_prefix as in grub-install for NetBSD and OpenBSD.
2N/A * configure.ac: All definitions and uses of TARGET_IMG_LDFLAGS_AC now
2N/A expect a number appended to it.
2N/A * acinclude.m4 (grub_PROG_OBJCOPY_ABSOLUTE): ${TARGET_IMG_LDFLAGS_AC}
2N/A expects a number appended to it.
2N/A
2N/A2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * po/POTFILES: Renamed multiboot_loader.c to multiboot.c
2N/A
2N/A2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/hostdisk.c (make_device_name): Change to new partition naming.
2N/A
2N/A2010-04-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.
2N/A
2N/A2010-04-17 Christian Franke <franke@computer.org>
2N/A
2N/A * Makefile.in: Add missing localedir setting.
2N/A
2N/A2010-04-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Restore TEXTDOMAINDIR correction from r1889, lost apparently by
2N/A mistake in r2156. Noticed by Anthony Fok.
2N/A
2N/A * util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased
2N/A @localedir@.
2N/A * util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise.
2N/A
2N/A2010-04-14 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix a spurious, uninitialized variable warning.
2N/A
2N/A * loader/i386/bsdXX.c (grub_freebsd_load_elfmodule_obj):
2N/A Initialize variable, shdr.
2N/A (grub_freebsd_load_elfmodule): Likewise.
2N/A (grub_freebsd_load_elf_meta): Likewise.
2N/A
2N/A2010-04-13 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix for escaped dollar in double quoted strings.
2N/A
2N/A * script/yylex.l: Updated flex rules.
2N/A * conf/tests.rmk: Rule for new testcase.
2N/A * tests/grub_script_dollar.in: New testcase.
2N/A
2N/A2010-04-13 Carles Pina i Estany <carles@pina.cat>
2N/A2010-04-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Enclose all translated strings in grub.cfg in single quotes, and
2N/A escape them appropriately (Ubuntu bug #552921).
2N/A
2N/A * util/grub-mkconfig_lib.in (gettext_quoted): New function.
2N/A * util/grub.d/10_hurd.in: Use it.
2N/A * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
2N/A * util/grub.d/10_linux.in (linux_entry): Likewise.
2N/A
2N/A2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix cygwin compilation.
2N/A
2N/A * configure.ac: Define NEED_REGISTER_FRAME_INFO.
2N/A * include/grub/misc.h (__register_frame_info)
2N/A [NEED_REGISTER_FRAME_INFO && !UTIL]: New export.
2N/A (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.
2N/A * kern/misc.c (__register_frame_info)
2N/A [NEED_REGISTER_FRAME_INFO && !UTIL]: New empty function.
2N/A (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.
2N/A
2N/A2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Respect grub_cv_asm_uscore when defining dummy symbols.
2N/A
2N/A2010-04-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Unify libgcc processing.
2N/A
2N/A * Makefile.in (kernel_img_LDFLAGS): New variable.
2N/A * conf/common.rmk (kernel_img_HEADERS): Add libgcc.h.
2N/A * conf/i386-coreboot.rmk (kernel_img_LDFLAGS): Append instead of
2N/A overwriting.
2N/A * conf/i386-ieee1275.rmk (kernel_img_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (kernel_img_LDFLAGS): Likewise.
2N/A * conf/i386-qemu.rmk (kernel_img_LDFLAGS): Likewise.
2N/A * conf/x86-efi.rmk (kernel_img_LDFLAGS): Likewise.
2N/A * conf/mips-qemu-mips.rmk (kernel_img_LDFLAGS): Append instead of
2N/A overwriting. Remove -lgcc and -static-libgcc
2N/A * conf/mips-yeeloong.rmk (kernel_img_LDFLAGS): Likewise.
2N/A * conf/mips.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
2N/A * conf/powerpc-ieee1275.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
2N/A (kernel_img_LDFLAGS): Append instead of overwriting.
2N/A Remove -lgcc and -static-libgcc
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * include/grub/powerpc/libgcc.h: Move to ...
2N/A * include/grub/libgcc.h: .. this.
2N/A * include/grub/libgcc.h: Don't export most of the function on x86.
2N/A (__bswapsi2): New export.
2N/A (__bswapdi2): Likewise.
2N/A * include/grub/mips/libgcc.h: Removed.
2N/A * include/grub/sparc64/libgcc.h: Likewise.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Remove
2N/A disk_info_msg (conflicts with gettexting into languages with cases).
2N/A
2N/A2010-04-10 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A Add grub-probe support for NetBSD.
2N/A
2N/A * util/getroot.c (find_root_device): Convert block device to
2N/A character device on NetBSD.
2N/A * util/probe.c (probe): Require character device on NetBSD.
2N/A * util/hostdisk.c: NetBSD specific headers.
2N/A (configure_device_driver): new function to tune device driver
2N/A parameters (currently only for NetBSD floppy driver).
2N/A (grub_util_biosdisk_open): NetBSD specific code (get disk size
2N/A via disklabel ioctl).
2N/A (open_device): call configure_device_driver on NetBSD.
2N/A (convert_system_partition_to_system_disk): NetBSD specific code.
2N/A (device_is_wholedisk): Likewise.
2N/A (grub_util_biosdisk_get_grub_dev): Likewise.
2N/A (make_device_name): Fixed a typo in bsd_part_str.
2N/A * configure.ac: check for opendisk() and getrawpartition() on
2N/A NetBSD and set LIBUTIL.
2N/A * Makefile.in: add LIBUTIL to LIBS.
2N/A
2N/A2010-04-10 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Documentation fix.
2N/A
2N/A * util/grub-script-check.c: Better help message.
2N/A
2N/A2010-04-10 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix FreeBSD build.
2N/A
2N/A * configure.ac: Flex version check.
2N/A * conf/common.rmk: Add -Wno-error to sh.mod.
2N/A * script/yylex.l: Remove all #pragma.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/util/misc.h (canonicalise_file_name): Add missing
2N/A prototype.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/multiboot.c (GRUB_MOD_INIT) [GRUB_USE_MULTIBOOT2]:
2N/A Rename "module" to "module2".
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efi/memory.h (grub_machine_mmap_iterate): Remove
2N/A EXPORT_FUNC.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * lib/posix_wrap/locale.h: Add missing file.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A grub-emu module load support.
2N/A
2N/A * Makefile.in (TARGET_NO_MODULES): New variable. All users of
2N/A NO_DYNAMIC_MODULES switched to this.
2N/A (TARGET_CFLAGS): Add -DGRUB_TARGET_NO_MODULES=1 if applicable.
2N/A (CFLAGS): Likewise.
2N/A * conf/any-emu.rmk: Generate symlist.
2N/A (kernel_img_HEADERS): Add util/datetime.h.
2N/A (kernel_img_HEADERS) [sdl]: Add sdl.h.
2N/A (kernel_img_HEADERS) [libusb]: Add libusb.h.
2N/A (kernel_img_SOURCES) [TARGET_NO_MODULES = no && !x86]: Add
2N/A kern/$(target_cpu)/cache.S.
2N/A * configure.ac (grub-emu-modules): New option.
2N/A * genmk.rb: Handle multiple source lists.
2N/A * include/grub/sdl.h: New file.
2N/A * include/grub/libusb.h: Likewise.
2N/A * util/grub-emu.c (main): Hanle (host) root.
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Error with
2N/A GRUB_ERR_UNKNOWN_DEVICE.
2N/A * util/misc.c: Move mm functions to ...
2N/A * util/mm.c: ... here. All users updated.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in (RMKFILES): Search in srcdir and not current directory.
2N/A (MAINTAINER_CLEANFILES): Don't add $(srcdir) to MKFILES. Add few
2N/A missing files.
2N/A (maintainer-clean): Remove libgcrypt-grub.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/efi/console.c (grub_console_checkkey): Macroify key contants.
2N/A
2N/A2010-04-09 EFI Coder <eficoder@hotmail.com>
2N/A
2N/A * normal/menu_text.c (print_message): Clean up the message and show
2N/A the Fn information when on EFI
2N/A * term/efi/console.c (grub_console_checkkey): Add F4 support.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/autofs.c (read_fs_list): New parameter 'prefix'.
2N/A All users updated.
2N/A * normal/crypto.c (read_crypto_list): Likewise.
2N/A * normal/dyncmd.c (read_command_list): Likewise.
2N/A * normal/term.c (read_terminal_list): Likewise.
2N/A * normal/main.c (read_lists): Use explicit prefix.
2N/A (read_lists_hook): Use read_lists.
2N/A (grub_normal_execute): Likewise.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Fix incorrect path in coreboot part.
2N/A Reported by: Thomas Schmitt.
2N/A Add -no-emul-boot to grub-mkisofs parameters.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * font/font.c: Indented.
2N/A
2N/A2010-04-09 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Elif support to GRUB script (by Deepak Vankadaru).
2N/A
2N/A * tests/grub_script_if.in: New testcase.
2N/A * conf/tests.rmk: Rule for new testcase.
2N/A * script/parser.y: Grammar rules for elif.
2N/A
2N/A2010-04-09 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A While and until loops support to GRUB script.
2N/A
2N/A * include/grub/script_sh.h (grub_script_cmdwhile): New struct.
2N/A (grub_script_create_cmdwhile): New function prototype.
2N/A (grub_script_execute_cmdwhile): New function prototype.
2N/A * script/execute.c (grub_script_execute_cmdwhile): New function.
2N/A * script/parser.y (command): New commands.
2N/A (whilecmd): New grammar rule.
2N/A (untilcmd): New grammar rule.
2N/A * script/script.c (grub_script_create_cmdwhile): New function.
2N/A * util/grub-script-check.c (grub_script_execute_cmdwhile): New
2N/A function.
2N/A
2N/A * tests/grub_script_while1.in: New testcase.
2N/A * conf/tests.rmk: Rule for new testcase.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg
2N/A as *.jpg.
2N/A
2N/A2010-04-09 Mario Vazquez <mariovazq@gmail.com>
2N/A
2N/A GRUB_BACKGROUND support.
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_BACKGROUND.
2N/A * util/grub.d/00_header.in: Parse GRUB_BACKGROUND.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Load fonts and modules for gfxmenu in grub-mkconfig.
2N/A Idea by: Mario Vazquez
2N/A
2N/A * util/grub.d/00_header.in: Load pf2 and image modules.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A grub-mkconfig multiple terminal support.
2N/A
2N/A * util/grub-mkconfig.in: Handle multiple terminals correctly.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A
2N/A2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in: Specify files explicitly instead of using $< and $@ since
2N/A we use cd $(srcdir).
2N/A
2N/A2010-04-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Only use the first word of
2N/A GRUB_DISTRIBUTOR for --class, to avoid problems if somebody puts
2N/A spaces in GRUB_DISTRIBUTOR.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A
2N/A2010-04-06 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Fix unit testing framework for Qemu 0.12.
2N/A
2N/A * tests/util/grub-shell.in: Remove -serial stdio option.
2N/A
2N/A2010-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A POSIX header file wrappers.
2N/A
2N/A * lib/posix_wrap/assert.h: New file. Wrapper for its POSIX
2N/A equivalents.
2N/A * lib/posix_wrap/ctype.h: Likewise.
2N/A * lib/posix_wrap/errno.h: Likewise.
2N/A * lib/posix_wrap/langinfo.h: Likewise.
2N/A * lib/posix_wrap/limits.h: Likewise.
2N/A * lib/posix_wrap/localcharset.h: Likewise.
2N/A * lib/posix_wrap/stdint.h: Likewise.
2N/A * lib/posix_wrap/stdio.h: Likewise.
2N/A * lib/posix_wrap/stdlib.h: Likewise.
2N/A * lib/posix_wrap/string.h: Likewise.
2N/A * lib/posix_wrap/sys/types.h: Likewise.
2N/A * lib/posix_wrap/unistd.h: Likewise.
2N/A * lib/posix_wrap/wchar.h: Likewise.
2N/A * lib/posix_wrap/wctype.h: Likewise.
2N/A * conf/common.rmk (grub_script.yy.c): Remove #include elimination.
2N/A (grub_script.yy.h): Likewise.
2N/A * script/yylex.l: Remove POSIX emulation #defines.
2N/A * Makefile.in (POSIX_CFLAGS): New variable.
2N/A (GNULIB_UTIL_CFLAGS): Likewise.
2N/A
2N/A Regexp support.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add regexp.mod.
2N/A (regexp_mod_SOURCES): New variable.
2N/A (regexp_mod_CFLAGS): Likewise.
2N/A (regexp_mod_LDFLAGS): Likewise.
2N/A * commands/regexp.c: New file.
2N/A * gnulib/regcomp.c: New file. Imported from gnulib.
2N/A * gnulib/regex.c: Likewise.
2N/A * gnulib/regex_internal.c: Likewise.
2N/A * gnulib/regex_internal.h: Likewise.
2N/A * gnulib/regexec.c: Likewise.
2N/A * gnulib/regex.h: Likewise.
2N/A
2N/A2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
2N/A unsupported video mode types.
2N/A
2N/A2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code).
2N/A
2N/A2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/pc/init.h (grub_get_mmap_entry): Don't export.
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Remove machine/init.h.
2N/A
2N/A2010-04-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove unused grub_vga_get_font.
2N/A
2N/A * kern/i386/pc/startup.S (grub_vga_get_font): Removed.
2N/A * include/grub/i386/pc/vga.h (grub_vga_get_font): Likewise.
2N/A
2N/A2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * kern/misc.c: Disable the __enable_execute_stack hack for utilities.
2N/A * include/grub/misc.h: Likewise.
2N/A
2N/A2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub-install.in: Add `|| exit 1' to all grub-probe calls
2N/A for which failure is fatal.
2N/A
2N/A2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/grub-install.in: Use mkdir -p to create grub directory.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * Makefile.in (LEX): new variable.
2N/A
2N/A2010-04-03 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * util/i386/efi/grub-dumpdevtree: replaced the non-portable `==' by
2N/A `=' and added double quotes on operands of this equality test.
2N/A
2N/A2010-04-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in (uninstall): Remove a leftover debug echo.
2N/A Reported by: Grégoire Sutre
2N/A
2N/A2010-04-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A MIPS multiboot2 support.
2N/A
2N/A * conf/mips.rmk (pkglib_MODULES): Add multiboot2.mod.
2N/A (multiboot2_mod_SOURCES): New variable.
2N/A (multiboot2_mod_CFLAGS): Likewise.
2N/A (multiboot2_mod_LDFLAGS): Likewise.
2N/A (multiboot2_mod_ASFLAGS): Likewise.
2N/A * include/grub/i386/multiboot.h (MULTIBOOT_INITIAL_STATE): New
2N/A definition.
2N/A (MULTIBOOT_ENTRY_REGISTER): Likewise.
2N/A (MULTIBOOT_MBI_REGISTER): Likewise.
2N/A (MULTIBOOT_ARCHITECTURE_CURRENT): Likewise.
2N/A (MULTIBOOT_ELF32_MACHINE): Likewise.
2N/A (MULTIBOOT_ELF64_MACHINE): Likewise.
2N/A * include/grub/mips/multiboot.h: New file.
2N/A * include/grub/video.h (grub_video_driver_id): New type
2N/A GRUB_VIDEO_DRIVER_SM712.
2N/A (grub_video_get_info_and_fini): Export.
2N/A (grub_video_get_palette): Likewise.
2N/A (grub_video_get_driver_id): Likewise.
2N/A * include/multiboot2.h: Resynced with spec.
2N/A * loader/i386/multiboot.c: Moved from here ...
2N/A * loader/multiboot.c: ... here. All users updated.
2N/A (grub_multiboot_boot): Use platform-specific macros.
2N/A * loader/i386/multiboot_elfxx.c: Moved from here ...
2N/A * loader/multiboot_elfxx.c: ... here. All users updated.
2N/A (E_MACHINE): Use MULTIBOOT_ELF32_MACHINE and MULTIBOOT_ELF64_MACHINE.
2N/A * loader/i386/multiboot_mbi2.c (grub_multiboot_load): Check arcitecture.
2N/A * video/sm712.c (grub_video_sm712_adapter): Add missing id field.
2N/A
2N/A2010-04-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Import gnulib argp module.
2N/A
2N/A * gnulib/argp-ba.c: New file.
2N/A * gnulib/argp-eexst.c: Likewise.
2N/A * gnulib/argp-fmtstream.c: Likewise.
2N/A * gnulib/argp-fmtstream.h: Likewise.
2N/A * gnulib/argp-fs-xinl.c: Likewise.
2N/A * gnulib/argp-help.c: Likewise.
2N/A * gnulib/argp-namefrob.h: Likewise.
2N/A * gnulib/argp-parse.c: Likewise.
2N/A * gnulib/argp-pin.c: Likewise.
2N/A * gnulib/argp-pv.c: Likewise.
2N/A * gnulib/argp-pvh.c: Likewise.
2N/A * gnulib/argp-version-etc.c: Likewise.
2N/A * gnulib/argp-version-etc.h: Likewise.
2N/A * gnulib/argp-xinl.c: Likewise.
2N/A * gnulib/argp.h: Likewise.
2N/A
2N/A2010-03-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/device.c (grub_device_iterate): Clear errors after failed
2N/A opening device.
2N/A
2N/A2010-03-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Skip device itself if
2N/A returned by firmware.
2N/A
2N/A2010-03-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot_mbi2.c (retrieve_video_parameters): Fix
2N/A compilation on coreboot and qemu
2N/A
2N/A2010-03-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/multiboot2.h: Resync with spec.
2N/A
2N/A2010-03-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Multiboot2 tag support
2N/A
2N/A * conf/i386.rmk (multiboot2_mod_SOURCES): Replace
2N/A loader/i386/multiboot_mbi.c with loader/i386/multiboot_mbi2.c.
2N/A Remove loader/multiboot_loader.c.
2N/A * include/grub/i386/multiboot.h (grub_multiboot_real_boot): Removed.
2N/A (grub_multiboot2_real_boot): Likewise.
2N/A * include/grub/multiboot.h (grub_multiboot_set_accepts_video): Removed.
2N/A (grub_get_multiboot_mmap_count): New proto.
2N/A (grub_fill_multiboot_mmap): Likewise.
2N/A (grub_multiboot_set_video_mode): Likewise.
2N/A (grub_multiboot_set_console): Likewise.
2N/A (grub_multiboot_load): Likewise.
2N/A (grub_multiboot_load_elf): Likewise.
2N/A (GRUB_MULTIBOOT_CONSOLE_EGA_TEXT): New definition.
2N/A (GRUB_MULTIBOOT_CONSOLE_FRAMEBUFFER): Likewise.
2N/A * include/multiboot.h: Resynced with specification.
2N/A * include/multiboot2.h: Resynced with specification.
2N/A * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): Moved from here...
2N/A * loader/i386/multiboot.c (DEFAULT_VIDEO_MODE): ... here.
2N/A * loader/i386/multiboot_mbi.c (HAS_VGA_TEXT): Moved from here ..
2N/A * include/grub/multiboot.h (GRUB_MACHINE_HAS_VGA_TEXT): ... here. All
2N/A users updated.
2N/A * loader/i386/multiboot_mbi.c (accepts_video): Moved from here...
2N/A * loader/i386/multiboot.c (accepts_video): ... here. All users updated.
2N/A * loader/i386/multiboot_mbi.c (grub_multiboot_set_accepts_video):
2N/A Removed.
2N/A * loader/i386/multiboot_mbi.c (grub_get_multiboot_mmap_len):
2N/A Moved from here...
2N/A * loader/i386/multiboot.c (grub_get_multiboot_mmap_len): ... here.
2N/A * loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap):
2N/A Moved from here...
2N/A * loader/i386/multiboot.c (grub_fill_multiboot_mmap): ... here.
2N/A * loader/i386/multiboot_mbi.c (set_video_mode): Moved from here...
2N/A * loader/i386/multiboot.c (grub_multiboot_set_video_mode): ... here.
2N/A All users updated.
2N/A * loader/i386/multiboot_mbi2.c: New file.
2N/A
2N/A2010-03-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Resync with gnulib.
2N/A
2N/A * Makefile.in (GNULIB_CFLAGS): New variable.
2N/A * conf/common.rmk (grub_mkisofs_CFLAGS): Add GNULIB_CFLAGS.
2N/A (grub_script_check_CFLAGS): New variable.
2N/A * gnulib/alloca.h: Resync with gnulib.
2N/A * gnulib/error.c: Likewise.
2N/A * gnulib/error.h: Likewise.
2N/A * gnulib/fnmatch.c: Likewise.
2N/A * gnulib/fnmatch_loop.c: Likewise.
2N/A * gnulib/getdelim.c: Likewise.
2N/A * gnulib/getline.c: Likewise.
2N/A * gnulib/getopt.c: Likewise.
2N/A * gnulib/getopt1.c: Likewise.
2N/A * gnulib/getopt_int.h: Likewise.
2N/A * gnulib/gettext.h: Likewise.
2N/A * gnulib/progname.c: Likewise.
2N/A * gnulib/progname.h: Likewise.
2N/A
2N/A2010-03-27 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A Fix a build failure (-Wundef -Werror) when ENABLE_NLS is not defined,
2N/A which is the case with --disabled-nls.
2N/A
2N/A * include/grub/i18n.h: Use (defined(ENABLE_NLS)
2N/A && ENABLE_NLS) instead of ENABLE_NLS in all #if preprocessor macros.
2N/A * util/misc.c: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A
2N/A2010-03-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Simplify Apple CC support.
2N/A
2N/A * commands/i386/pc/drivemap_int13h.S: Use LOCAL when possible.
2N/A Add 0 byte at the end not to have a symbol with empty target.
2N/A * mmap/i386/pc/mmap_helper.S: Likewise.
2N/A * genmk.rb: Ignore errors 2030 and 2050.
2N/A * kern/i386/pc/startup.S: Use LOCAL when possible.
2N/A
2N/A2010-03-26 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Testcase and the fix for final semicolon on cmdline.
2N/A
2N/A * tests/grub_script_final_semicolon.in: New testcase.
2N/A * conf/tests.rmk: Rules for the new testcase.
2N/A * script/parser.y: Grammar fix.
2N/A
2N/A2010-03-26 BVK Chaitanya <bvk@localhost>
2N/A
2N/A Blank lines testcase for GRUB script.
2N/A
2N/A * tests/grub_script_blanklines.in: New testcase.
2N/A * conf/tests.rmk: Rules for the new testcase.
2N/A
2N/A2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't use __FILE__.
2N/A
2N/A * genmk.rb: Add -DGRUB_FILE to all C targets.
2N/A * fs/reiserfs.c: Replace __FILE__ with GRUB_FILE.
2N/A * include/grub/list.h: Likewise.
2N/A * include/grub/misc.h: Likewise.
2N/A * include/grub/mm.h: Likewise.
2N/A * include/grub/test.h: Likewise.
2N/A * kern/mm.c: Likewise.
2N/A * lib/libgcrypt_wrap/cipher_wrap.h: Likewise.
2N/A
2N/A2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Sunpc partitions support.
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add partmap/sunpc.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Add part_sunpc.mod.
2N/A (part_sunpc_mod_SOURCES): New variable.
2N/A (part_sunpc_mod_CFLAGS): Likewise.
2N/A (part_sunpc_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/sunpc.c.
2N/A * partmap/sunpc.c: New file.
2N/A
2N/A2010-03-26 BVK Chaitanya <bvk@localhost>
2N/A
2N/A For loop support to GRUB script.
2N/A
2N/A * include/grub/script_sh.h (grub_script_cmdfor): New struct.
2N/A (grub_script_create_cmdfor): New function prototype.
2N/A (grub_script_execute_cmdfor): New function prototype.
2N/A * script/execute.c (grub_script_execute_cmdfor): New function.
2N/A * script/parser.y (command): New for command.
2N/A (forcmd): New grammar rule.
2N/A * script/script.c (grub_script_create_cmdfor): New function.
2N/A * util/grub-script-check.c (grub_script_execute_cmdfor): New
2N/A function.
2N/A * tests/grub_script_for1.in: New testcase.
2N/A * conf/tests.rmk: Rules for new testcase.
2N/A
2N/A2010-03-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Nested partitions
2N/A
2N/A * commands/blocklist.c (grub_cmd_blocklist): Don't check whether
2N/A 'partition' is NULL, grub_partition_get_start already does that.
2N/A * commands/loadenv.c (check_blocklists): Likewise.
2N/A (write_blocklists): Likewise.
2N/A * conf/common.rmk (grub_probe_SOURCES): Add partmap/bsdlabel.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Add part_bsd.mod.
2N/A (part_bsd_mod_SOURCES): New variable.
2N/A (part_bsd_mod_CFLAGS): Likewise.
2N/A (part_bsd_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/bsdlabel.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * include/grub/bsdlabel.h: New file.
2N/A * include/grub/partition.h (grub_partition_map): Remove 'probe' and
2N/A 'get_name'.
2N/A (grub_partition): Add 'parent' and 'number'. Remove 'data'.
2N/A (grub_partition_map_list): New variable.
2N/A (grub_partition_map_register): Inline.
2N/A (grub_partition_map_unregister): Likewise.
2N/A (FOR_PARTITION_MAPS): New macro.
2N/A (grub_partition_map_iterate): Removed.
2N/A (grub_partition_get_start): Handle nested partitions.
2N/A * include/grub/msdos_partition.h: Remove bsd-related entries.
2N/A (grub_pc_partition): Remove.
2N/A * kern/disk.c (grub_disk_close): Free partition data.
2N/A (grub_disk_adjust_range): Handle nested partitions.
2N/A * kern/partition.c (grub_partition_map_probe): New function.
2N/A (grub_partition_probe): Parse name to number, handle subpartitions.
2N/A (get_partmap): New function.
2N/A (grub_partition_iterate): Handle subpartitions.
2N/A (grub_partition_get_name): Likewise.
2N/A * loader/i386/pc/bsd.c (grub_bsd_get_device): Likewise.
2N/A * loader/i386/multiboot.c (grub_multiboot_get_bootdev): Likewise.
2N/A * loader/i386/pc/chainloader.c (grub_chainloader_cmd): Likewise.
2N/A * partmap/acorn.c (acorn_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A (acorn_partition_map_probe): Remove.
2N/A (acorn_partition_map_get_name): Likewise.
2N/A * partmap/amiga.c (amiga_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A Set 'index' to 0 since there can be only one partition entry per sector.
2N/A (amiga_partition_map_probe): Remove.
2N/A (amiga_partition_map_get_name): Likewise.
2N/A * partmap/apple.c (apple_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A Set 'offset' and 'index' to real positions of partitions.
2N/A (apple_partition_map_probe): Remove.
2N/A (apple_partition_map_get_name): Likewise.
2N/A * partmap/bsdlabel.c: New file.
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A Allocate 'data' so it can be correctly freed.
2N/A Set 'index' to offset inside sector.
2N/A (gpt_partition_map_probe): Remove.
2N/A (gpt_partition_map_get_name): Likewise.
2N/A * partmap/msdos.c (grub_partition_parse): Remove.
2N/A (pc_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A Make 'ext_offset' a local variable.
2N/A (pc_partition_map_probe): Remove.
2N/A (pc_partition_map_get_name): Remove.
2N/A * partmap/sun.c (sun_partition_map_iterate): Don't force raw access.
2N/A Set 'number'.
2N/A (sun_partition_map_probe): Remove.
2N/A (sun_partition_map_get_name): Likewise.
2N/A * parttool/msdospart.c (grub_pcpart_boot): Handle nested partitions.
2N/A (grub_pcpart_type): Likewise.
2N/A * util/hostdisk.c (open_device): Handle new numbering scheme.
2N/A (grub_util_biosdisk_get_grub_dev): Handle nested partitions.
2N/A * util/i386/pc/grub-setup.c (setup): Handle new numbering scheme.
2N/A * util/grub-probe.c (probe_partmap): Handle nested paritions.
2N/A * util/grub-install.in: Insert all subpartition modules.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2010-03-24 Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2N/A
2N/A * kern/dl.c (grub_dl_resolve_symbols): Improve error message
2N/A grammar.
2N/A
2N/A2010-03-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add grub-bin2h, grub-reboot, and grub-set-default.
2N/A
2N/A2010-03-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in: Copy .mo files from @datadir@/locale, to
2N/A match where 'make install' puts them.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A
2N/A2010-03-19 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * .bzrignore: Add gentrigtables, grub-script-check,
2N/A grub_script_check_init.c, grub_script_check_init.h, and
2N/A trigtables.c.
2N/A
2N/A2010-03-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/parser.c: Indented.
2N/A
2N/A2010-03-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/i386/pc/vesafb.c: Removed (orphaned, deprecated and broken).
2N/A
2N/A2010-03-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/fb/fbblit.c (grub_video_fbblit_blend_XXXA8888_1bit): Handle
2N/A alpha_mask_size == 0 case.
2N/A
2N/A2010-03-14 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A GRUB shell lexer and parser improvements.
2N/A
2N/A * conf/any-emu.rmk: Build rule updates.
2N/A * conf/common.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A * configure.ac: Configure check for flex.
2N/A
2N/A * include/grub/script_sh.h (grub_script_arg_type_t): More argument
2N/A types.
2N/A (grub_lexer_param): Struct member updates.
2N/A (grub_parser_param): Likewise.
2N/A (GRUB_LEXER_TOKEN_MAX): Maximum token size.
2N/A (GRUB_LEXER_RECORD_INCREMENT): Memory increments' size.
2N/A (grub_script_lexer_init): Prototype update.
2N/A (grub_script_lexer_record_start): Likewise.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A (grub_script_lexer_yywrap): New function prototype.
2N/A (grub_script_lexer_fini): Likewise.
2N/A (grub_script_execute_argument_to_string): Removed by...
2N/A (grub_script_execute_argument_to_argv): ...better version.
2N/A
2N/A * script/execute.c (ROUND_UPTO): New macro.
2N/A (grub_script_execute_cmdline): Out of memory fixes.
2N/A (grub_script_execute_menuentry): Likewise.
2N/A (grub_script_execute_argument_to_string): Removed. Update all
2N/A users by...
2N/A (grub_script_execute_argument_to_argv): ...better version.
2N/A * script/function.c (grub_script_function_create): Use
2N/A grub_script_execute_argument_to_argv instead of
2N/A grub_script_execute_argument_to_string.
2N/A
2N/A * script/lexer.c (check_varstate): Removed.
2N/A (check_textstate): Removed.
2N/A (grub_script_lexer_record_start): Likewise.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A (recordchar): Replaced with...
2N/A (grub_script_lexer_record): ...new function.
2N/A (nextchar): Removed.
2N/A (grub_script_lexer_init): Rewritten.
2N/A (grub_script_yylex): Rewritten.
2N/A (append_newline): New function.
2N/A (grub_script_lexer_yywrap): New function.
2N/A (grub_script_lexer_fini): New function.
2N/A (grub_script_yyerror): Sets error flag.
2N/A
2N/A * script/yylex.l: New file.
2N/A (grub_lexer_yyfree): Wrapper for flex yyffre.
2N/A (grub_lexer_yyalloc): Likewise.
2N/A (grub_lexer_yyrealloc): Likewise.
2N/A * script/parser.y: Refactored.
2N/A
2N/A * script/script.c (grub_script_arg_add): Out of memory fixes.
2N/A (grub_script_add_arglist): Likewise.
2N/A (grub_script_create_cmdline): Likewise.
2N/A (grub_script_create_cmdmenu): Likewise.
2N/A (grub_script_add_cmd): Likewise.
2N/A (grub_script_parse): Use grub_script_lexer_fini to deallocated.
2N/A * util/grub-script-check.c (grub_script_execute_menuentry): Remove
2N/A unnecessary code.
2N/A
2N/A * tests/grub_script_echo1.in: New testcase.
2N/A * tests/grub_script_vars1.in: New testcase.
2N/A * tests/grub_script_echo_keywords.in: New testcase.
2N/A
2N/A2010-03-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove some redundancy in build system.
2N/A
2N/A * Makefile.in (TARGET_CFLAGS): Add -ffreestanding.
2N/A (TARGET_ASFLAGS): Add -nostdinc -fno-builtin.
2N/A (TARGET_LDFLAGS): Add -nostdlib.
2N/A (TARGET_IMG_LDFLAGS): Likewise.
2N/A * commands/lsmmap.c (grub_cmd_lsmmap) [GRUB_MACHINE_EMU]: Don't do
2N/A anything since mmap isn't available.
2N/A * conf/any-emu.rmk (kernel_img_SOURCES): Remove commands/boot.c.
2N/A Add util/time.c.
2N/A (pkglib_MODULES): Remove reboot.mod.
2N/A (reboot_mod_SOURCES): Removed.
2N/A (reboot_mod_CFLAGS): Likewise.
2N/A (reboot_mod_LDFLAGS): Likewise.
2N/A * conf/common.rmk (script/lexer.c_DEPENDENCIES): New variable.
2N/A (MOSTLYCLEANFILES): Add symlist.c kernel_syms.lst.
2N/A (DEFSYMFILES): Add kernel_syms.lst.
2N/A (kernel_img_HEADERS): Add common headers.
2N/A (symlist.c): New target.
2N/A (kernel_syms.lst): Likewise.
2N/A (pkglib_MODULES): Add memdisk.mod.
2N/A (memdisk_mod_SOURCES): New variable.
2N/A (memdisk_mod_CFLAGS): Likewise.
2N/A (memdisk_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add reboot.mod.
2N/A (reboot_mod_SOURCES): New variable.
2N/A (reboot_mod_CFLAGS): Likewise.
2N/A (reboot_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add date.mod.
2N/A (date_mod_SOURCES): New variable.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add datehook.mod.
2N/A (datehook_mod_SOURCES): New variable.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add lsmmap.mod.
2N/A (lsmmap_mod_SOURCES): New variable.
2N/A (lsmmap_mod_CFLAGS): Likewise.
2N/A (lsmmap_mod_LDFLAGS): Likewise.
2N/A (pkglib_MODULES): Add boot.mod.
2N/A (boot_mod_SOURCES): New variable.
2N/A (boot_mod_CFLAGS): Likewise.
2N/A (boot_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk: Removed redundant parts.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/mips-yeeloong.rmk: Likewise.
2N/A * conf/mips.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Moved qemu parts ..
2N/A * conf/i386-qemu.rmk: ... here
2N/A * conf/i386-efi.rmk: Moved common parts to...
2N/A * conf/x86-efi.rmk: ... here.
2N/A * conf/i386.rmk: Added modules common to all x86 variants.
2N/A * configure.ac: Add -m32/-m64 to TARGET_ASFLAGS.
2N/A * disk/memdisk.c: Remove grub/machine/kernel.h.
2N/A * gensymlist.sh.in: Include symbol.h.
2N/A * hook/datehook.c: Correct module name.
2N/A * include/grub/datetime.h (grub_get_datetime) [GRUB_MACHINE_EMU]: Export.
2N/A (grub_set_datetime) [GRUB_MACHINE_EMU]: Likewise.
2N/A * include/grub/i386/efi/serial.h: New file.
2N/A * include/grub/x86_64/efi/serial.h: Likewise.
2N/A * util/time.c: Likewise.
2N/A * video/ieee1275.c (grub_video_ieee1275_setup): Handle 64-bit void *.
2N/A
2N/A2010-03-14 Colin King <colin.king@ubuntu.com>
2N/A2010-03-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Shrink the pre-partition-table part of boot.img by eight bytes.
2N/A
2N/A * boot/i386/pc/boot.S (ERR): New macro.
2N/A (chs_mode): Use ERR.
2N/A (geometry_error): Likewise.
2N/A (hd_probe_error): Remove. This is only used once, so we wrwite
2N/A it inline instead.
2N/A (read_error): Instead of printing read_error_string, just set up
2N/A %si and fall through to ...
2N/A (error_message): ... this new function, also used by ERR.
2N/A
2N/A2010-03-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Speed up consecutive hostdisk operations on the same device.
2N/A
2N/A * util/hostdisk.c (struct grub_util_biosdisk_data): New structure.
2N/A (grub_util_biosdisk_open): Initialise disk->data.
2N/A (struct linux_partition_cache): New structure.
2N/A (linux_find_partition): Cache partition start positions; these are
2N/A expensive to compute on every read and write.
2N/A (open_device): Cache open file descriptor in disk->data, so that we
2N/A don't have to reopen it and flush the buffer cache for consecutive
2N/A operations on the same device.
2N/A (grub_util_biosdisk_close): New function.
2N/A (grub_util_biosdisk_dev): Set `close' member.
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add kern/list.c.
2N/A * conf/i386-efi.rmk (grub_setup_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_setup_SOURCES): Likewise.
2N/A
2N/A2010-03-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Compile parts of grub-emu as modules.
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS) [emu]: Remove -nostdinc -isystem.
2N/A (pkglib_DATA) [emu]: Remove moddep.lst command.lst fs.lst
2N/A partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst.
2N/A (all-local): Add $(GRUB_EMU).
2N/A (install-local): Install $(GRUB_EMU).
2N/A (uninstall): Uninstall $(GRUB_EMU).
2N/A * commands/parttool.c: Replace GRUB_UTIL with GRUB_NO_MODULES.
2N/A * kern/dl.c: Likewise.
2N/A * commands/sleep.c: Not include machine/time.h.
2N/A * conf/any-emu.rmk (COMMON_LDFLAGS): New variable.
2N/A (COMMON_CFLAGS): Likewise.
2N/A (sbin_UTILITIES): Remove grub-emu.
2N/A (grub_emu_SOURCES): Removed.
2N/A (kernel_img_RELOCATABLE): New variable.
2N/A (pkglib_PROGRAMS): Add kernel.img.
2N/A (kernel_img_SOURCES): New variable
2N/A (kernel_img_CFLAGS): Likewise.
2N/A (kernel_img_LDFLAGS): Likewise.
2N/A (TARGET_NO_STRIP): Likewise.
2N/A (TARGET_NO_DYNAMIC_MODULES): Likewise.
2N/A (pkglib_MODULES): Add progname.mod, hostfs.mod, host.mod, reboot.mod,
2N/A halt.mod, cpuid.mod, usb.mod, sdl.mod and pci.mod.
2N/A (grub-emu): New target.
2N/A (GRUB_EMU): New variable.
2N/A * configure.ac: Whitelist -emu as possible x86_64 architecture.
2N/A * efiemu/main.c: Replace GRUB_UTIL with GRUB_MACHINE_EMU.
2N/A * loader/xnu.c: Likewise.
2N/A * include/grub/pci.h: Likewise.
2N/A * genemuinit.sh: New file.
2N/A * genemuinitheader.sh: Likewise.
2N/A * genmk.rb: Don't strip if TARGET_NO_STRIP is yes.
2N/A Support TARGET_NO_DYNAMIC_MODULES.
2N/A * include/grub/dl.h (GRUB_NO_MODULES): New variable.
2N/A * commands/search.c: Fix GRUB_MOD_INIT and GRUB_MOD_FINI arguments.
2N/A * disk/loopback.c: Likewise.
2N/A * font/font_cmd.c: Likewise.
2N/A * partmap/acorn.c: Likewise.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * partmap/gpt.c: Likewise.
2N/A * partmap/msdos.c: Likewise.
2N/A * partmap/sun.c: Likewise.
2N/A * parttool/msdospart.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * video/bitmap.c: Likewise.
2N/A * video/readers/jpeg.c: Likewise.
2N/A * video/readers/png.c: Likewise.
2N/A * video/readers/tga.c: Likewise.
2N/A * video/video.c: Likewise.
2N/A * util/grub-emu.c (read_command_list): Removed.
2N/A (main): Don't call util_init_nls.
2N/A * util/misc.c (grub_err_printf) [!GRUB_UTIL]: Removed.
2N/A (grub_util_init_nls) [!GRUB_UTIL]: Likewise.
2N/A
2N/A2010-03-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add datetime.mod,
2N/A date.mod, datehook.mod.
2N/A (datetime_mod_SOURCES): New variable.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * lib/ieee1275/datetime.c: New file.
2N/A
2N/A2010-03-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add ieee1275_fb.mod.
2N/A (ieee1275_fb_mod_SOURCES): New variable.
2N/A (ieee1275_fb_mod_CFLAGS): Likewise.
2N/A (ieee1275_fb_mod_LDFLAGS): Likewise.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_devices_iterate):
2N/A New proto.
2N/A * kern/ieee1275/init.c (HEAP_MAX_SIZE): Increased.
2N/A (HEAP_MAX_ADDR): Likewise.
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Don't skip empty
2N/A type.
2N/A Correct stop condition.
2N/A (grub_ieee1275_devices_iterate): New function.
2N/A * video/ieee1275.c: New file.
2N/A
2N/A2010-03-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Merge sparc grub-mkimage into generic grub-mkimage and a.out support.
2N/A
2N/A * boot/sparc64/ieee1275/boot.S (boot_continue): Use SCRATCH_PAD_BOOT
2N/A as scratch.
2N/A * boot/sparc64/ieee1275/diskboot.S (after_info_block): Use
2N/A SCRATCH_PAD_DISKBOOT as scratch.
2N/A (bootit): Pass Openfirmware pointer in %o4.
2N/A * conf/sparc64-ieee1275.rmk (kernel_img_LDFLAGS): Link at 0x4400 instead
2N/A of 0x200000.
2N/A (grub_mkimage_SOURCES): Replace util/sparc64/ieee1275/grub-mkimage.c
2N/A with util/grub-mkrawimage.c.
2N/A * configure.ac: Handle GRUB_MACHINE_SPARC64 and GRUB_MACHINE_MIPS.
2N/A * include/grub/aout.h (AOUT_MID_SUN): New definition.
2N/A (grub_aout_get_type) [GRUB_UTIL]: Removed.
2N/A (grub_aout_load) [GRUB_UTIL]: Likewise.
2N/A * include/grub/kernel.h (grub_modules_get_end): New proto.
2N/A * include/grub/sparc64/ieee1275/boot.h (SCRATCH_PAD): Removed.
2N/A (SCRATCH_PAD_BOOT): New definition.
2N/A (SCRATCH_PAD_DISKBOOT): Likewise.
2N/A (GRUB_BOOT_MACHINE_IMAGE_ADDRESS): Set to 0x4400.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h
2N/A (grub_ieee1275_original_stack): New variable
2N/A * include/grub/sparc64/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE):
2N/A New definition
2N/A (GRUB_KERNEL_MACHINE_STACK_SIZE): Likewise.
2N/A (GRUB_PLATFORM_IMAGE_FORMATS): Likewise.
2N/A (GRUB_PLATFORM_IMAGE_DEFAULT_FORMAT): Likewise.
2N/A (GRUB_PLATFORM_IMAGE_DEFAULT): Likewise.
2N/A (GRUB_PLATFORM_IMAGE_RAW): Likewise.
2N/A (GRUB_PLATFORM_IMAGE_AOUT): Likewise.
2N/A (grub_platform_image_format_t): New type.
2N/A * kern/mips/yeeloong/init.c (grub_modules_get_end): Move from here ...
2N/A * kern/main.c (grub_modules_get_end)
2N/A [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_SPARC64]: ... here.
2N/A * kern/sparc64/ieee1275/crt0.S: Store firmware entry point in %o0.
2N/A (codestart): Switch stacks.
2N/A * kern/sparc64/ieee1275/init.c (grub_ieee1275_original_stack): New
2N/A variable.
2N/A (grub_heap_init): Use grub_modules_get_end.
2N/A * loader/sparc64/ieee1275/linux.c (grub_linux_boot): Restore original
2N/A stack.
2N/A * util/grub-mkrawimage.c (generate_image): Support sparc64.
2N/A (main): Likewise.
2N/A * util/sparc64/ieee1275/grub-mkimage.c: Removed.
2N/A
2N/A2010-03-14 Thorsten Glaser <tg@mirbsd.org>
2N/A
2N/A * util/grub-mkrescue.in: Base ISO UUID on UTC.
2N/A
2N/A2010-03-08 Matt Kraai <kraai@ftbfs.org>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Fix a grammatical error (Debian
2N/A bug #559005).
2N/A
2N/A2010-03-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * genmoddep.awk: Output all missing symbols and not only first.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * NEWS: Put the date of 1.98 release.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Update CPPFLAGS and not CFLAGS when checking for
2N/A ft2build.h.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Fix gabled line after
2N/A completition in the middle of string.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrescue.in: Use mktemp with explicit template.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/bsd.c (grub_bsd_get_device): Fix a memory leak.
2N/A
2N/A2010-03-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Free the
2N/A right pointer.
2N/A
2N/A2010-03-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix FreeBSD compilation.
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS): Remove -nostdinc -isystem.
2N/A * configure.ac: Add -nostdinc -isystem to TARGET_CPPFLAGS if it works.
2N/A
2N/A2010-03-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/import_gcry.py: Add autogenerated files to MAINTAINER_CLEANFILES.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gettext/gettext.c (grub_gettext_init_ext): Fix a memory leak.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/scsi.c (grub_scsi_iterate): Fix a memory leak.
2N/A
2N/A2010-03-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Support relative image path in theme file.
2N/A
2N/A * gfxmenu/gui_image.c (grub_gui_image): New member theme_dir.
2N/A (image_set_property): Handle theme_dir and relative path.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Alias amd64 to x86_64.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * NEWS: mention multiboot on EFI.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/main.c (grub_load_modules): Handle errors from init functions of
2N/A embeded modules.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/autofs.c (autoload_fs_module): Handle errors.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Disable linux.mod on qemu-mips since it's not functional and leads
2N/A to compilation failure.
2N/A
2N/A * conf/mips.rmk (pkglib_MODULES): Remove linux.mod.
2N/A * conf/mips-yeeloong.rmk (pkglib_MODULES): Add linux.mod.
2N/A * conf/mips.rmk (linux_mod_SOURCES): Move from here ...
2N/A * conf/mips-yeeloong.rmk (linux_mod_SOURCES): ... here
2N/A * conf/mips.rmk (linux_mod_CFLAGS): Move from here ...
2N/A * conf/mips-yeeloong.rmk (linux_mod_CFLAGS): ... here
2N/A * conf/mips.rmk (linux_mod_ASFLAGS): Move from here ...
2N/A * conf/mips-yeeloong.rmk (linux_mod_ASFLAGS): ... here
2N/A * conf/mips.rmk (linux_mod_LDFLAGS): Move from here ...
2N/A * conf/mips-yeeloong.rmk (linux_mod_LDFLAGS): ... here
2N/A Reported by: BVK Chaitanya
2N/A
2N/A2010-03-04 Jordan Uggla <jordan.uggla@gmail.com>
2N/A
2N/A * INSTALL: Add gettext as a dependency and add qemu to a new section
2N/A "Prerequisites for make-check".
2N/A
2N/A2010-03-04 Christian Franke <franke@computer.org>
2N/A
2N/A * util/grub-pe2elf.c: Add missing include "progname.h".
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/crypto.c (read_crypto_list): Fix a typo.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in (DISTCLEANFILES): Add stamp-h1.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * Makefile.in (CLEANFILES) [FONT_SOURCE && grub_mkfont]: Add
2N/A ascii.bitmaps.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * genmk.rb: Remove terminal*.lst in make clean.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/efi/grub-install.in: Copy gettext files.
2N/A
2N/A2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_read_block): Fix an integer overflow.
2N/A
2N/A2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Wait for user entry basing on presence of output rather than on errors.
2N/A
2N/A * include/grub/normal.h (grub_normal_get_line_counter): New proto.
2N/A (grub_install_newline_hook): Likewise.
2N/A * normal/main.c (GRUB_MOD_INIT): Call grub_install_newline_hook.
2N/A * normal/menu.c (show_menu): Check line_counter to determine presence
2N/A of output.
2N/A * normal/term.c (grub_normal_line_counter): New variable.
2N/A (grub_normal_get_line_counter): New function.
2N/A (grub_install_newline_hook): Likewise.
2N/A
2N/A2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/cat.c (grub_cmd_cat): Propagate grub_gzfile_open error.
2N/A
2N/A2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Update version to 1.98.
2N/A
2N/A2010-02-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub.d/10_linux.in (linux_entry): Don't default to
2N/A gfxpayload=keep if Linux doesn't support video handover.
2N/A
2N/A2010-02-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't compile video modules on yeeloong since video subsystem is part
2N/A of kernel.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES) [yeeloong]: Remove video.mod,
2N/A video_fb.mod, bitmap.mod, font.mod, gfxterm.mod and bufio.mod
2N/A * conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add bitmap.h,
2N/A video.h, gfxterm.h, font.h, bitmap_scale.h and bufio.h.
2N/A * conf/mips.rmk (kernel_img_HEADERS): Add values instead of overwriting.
2N/A * include/grub/bitmap.h: Add EXPORT_FUNC and EXPORT_VAR.
2N/A * include/grub/bitmap_scale.h: Likewise.
2N/A * include/grub/bufio.h: Likewise.
2N/A * include/grub/font.h: Likewise.
2N/A * include/grub/gfxterm.h: Likewise.
2N/A * include/grub/video.h: Likewise.
2N/A * include/grub/vbe.h: Don't include video_fb.h.
2N/A * video/i386/pc/vbe.c: Include video_fb.h.
2N/A * commands/i386/pc/vbetest.c: Include video.h.
2N/A
2N/A2010-02-25 Jordan Uggla <jordan.uggla@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in (GRUB_SAVEDEFAULT): Export new variable.
2N/A * util/grub-mkconfig_lib.in (save_default_entry): Only save a new
2N/A default entry if GRUB_SAVEDEFAULT=true. This allows using
2N/A GRUB_DEFAULT=saved on its own to let grub-reboot work, without
2N/A saving a new default on every boot.
2N/A
2N/A2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/crypto.c (read_crypto_list): Fix a memory leak.
2N/A * normal/term.c (read_terminal_list): Likewise.
2N/A * normal/main.c (grub_normal_init_page): Likewise.
2N/A (grub_normal_read_line_real): Likewise.
2N/A
2N/A2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Fix a
2N/A memory leak.
2N/A Reported by: Seth Goldberg.
2N/A
2N/A2010-02-24 Joey Korkames <joey+lists@kidfixit.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Remove
2N/A duplicate declaration of `start'.
2N/A
2N/A2010-02-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/iso9660.c (grub_iso9660_iterate_dir): Strip version from joliet
2N/A filename.
2N/A Reported by: Georgy Buranov
2N/A
2N/A2010-02-20 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/grub-mkrawimage.c (usage): Change string formatting to
2N/A improve gettext.
2N/A
2N/A2010-02-20 Manoel Rebelo Abranches <mrabran@br.ibm.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Add delete and
2N/A backspace keys.
2N/A
2N/A2010-02-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/fb/video_fb.c (grub_video_fb_scroll): Fix a pixel size bug.
2N/A Reported by: Michael Suchanek.
2N/A
2N/A2010-02-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_INIT_TUNE.
2N/A * util/grub.d/00_header.in: Handle GRUB_INIT_TUNE.
2N/A
2N/A2010-02-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove any reference to non-free fonts.
2N/A
2N/A * commands/videotest.c (grub_cmd_videotest): Use unifont by default.
2N/A * docs/gfxmenu-theme-example.txt: Removed. It's both outdated and
2N/A uses non-free components.
2N/A * font/font.c (grub_font_get_name): Remove example name.
2N/A * gfxmenu/gui_label.c (grub_gui_label_new): Use unifont by default.
2N/A * gfxmenu/gui_list.c (grub_gui_list_new): Likewise.
2N/A * gfxmenu/gui_progress_bar.c (grub_gui_progress_bar_new): Likewise.
2N/A * gfxmenu/view.c (grub_gfxmenu_view_new): Likewise.
2N/A
2N/A2010-02-16 Georgy Buranov <gburanov@gmail.com>
2N/A
2N/A * disk/efi/efidisk.c (grub_efidisk_get_device_name): Fix a typo.
2N/A
2N/A2010-02-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/serial.c (serial_get_divisor) [GRUB_MACHINE_MIPS_YEELOONG]:
2N/A Double divisor.
2N/A (serial_hw_init) [GRUB_MACHINE_MIPS_YEELOONG]: Don't enable advanced
2N/A features.
2N/A (GRUB_MOD_INIT) [GRUB_MACHINE_MIPS_YEELOONG]: Default to 115200.
2N/A
2N/A2010-02-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * gensymlist.sh.in: Use TARGET_CC instead of CC.
2N/A
2N/A2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * commands/i386/pc/play.c (GRUB_MOD_INIT(play)): Fix help.
2N/A * docs/grub.texi (Command-line and menu entry commands): Document play
2N/A command.
2N/A
2N/A2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * commands/i386/pc/play.c (grub_cmd_play): If grub_file_open fails,
2N/A parse arguments as inline tempo and notes. Move code for playing notes
2N/A to...
2N/A (play): ... new function.
2N/A
2N/A2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * commands/i386/pc/play.c (T_REST, T_FINE, struct note, beep_on): Use
2N/A grub_uint16_t instead of short.
2N/A (grub_cmd_play): Use grub_uint32_t instead of int, convert data from
2N/A disk from little endian to cpu endianness.
2N/A
2N/A2010-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * commands/i386/pc/play.c (BASE_TEMPO): Set to 60 *
2N/A GRUB_TICKS_PER_SECOND instead of 120.
2N/A
2N/A2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Wait for possible
2N/A escape sequence after \e.
2N/A
2N/A2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Don't output
2N/A non-ASCII characters.
2N/A
2N/A2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Enclose
2N/A set root in single quotes to prevent \, from being unescaped.
2N/A
2N/A2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Prevent unknown commands from stopping menuentry execution.
2N/A
2N/A * script/execute.c (grub_script_execute_cmdline): Print error after
2N/A unknown command.
2N/A
2N/A2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (GRUB_MOD_INIT): Fix typo.
2N/A Reported by: Pavel Pisa.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * io/gzio.c (grub_gzio_open): Use grub_zalloc.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Merge grub_ieee1275_map_physical into grub_map and rename to
2N/A grub_ieee1275_map
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_map): New proto.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h (grub_ieee1275_map_physical):
2N/A Remove.
2N/A * kern/ieee1275/openfw.c (grub_map): Rename to ...
2N/A (grub_ieee1275_map): ... this. All users updated. Add phys_lo when
2N/A necessary.
2N/A * kern/sparc64/ieee1275/ieee1275.c (grub_ieee1275_map_physical): Remove.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Check device type before
2N/A opening and not after.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Macroify
2N/A constants.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/sparc64/ieee1275/linux.c (align_addr): Remove.
2N/A (alloc_phys): Use ALIGN_UP instead of align_addr.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/sparc64/ieee1275/linux.c (alloc_phys): Correct bounds checking.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/sparc64/ieee1275/crt0.S (codestart): Move modules backwards.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Remove excessively
2N/A verbose dprintf.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix over-4GiB seek on sparc64.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_seek):
2N/A Replace pos_i and pos_lo with pos. All users updated.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF):
2N/A New constant.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF):
2N/A Likewise.
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_seek): Split pos into pos_hi
2N/A and pos_lo.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrawimage.c (main): Call set_program_name.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Properly align 64-bit targets.
2N/A
2N/A * util/grub-mkrawimage.c (ALIGN_ADDR): New macro.
2N/A (generate_image): Use ALIGN_ADDR.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Properly create cross-endian images.
2N/A
2N/A * include/grub/types.h (grub_host_to_target_addr): New macro
2N/A * util/grub-mkrawimage.c (generate_image): Add missing host_to_target.
2N/A
2N/A2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
2N/A
2N/A2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Pass SIMPLE framebuffer size in bytes and not 64K blocks.
2N/A
2N/A * loader/i386/efi/linux.c (grub_linux_setup_video): Don't divide by 64K.
2N/A * loader/i386/linux.c (grub_linux_setup_video): Likewise.
2N/A (grub_linux_boot): Divide by 64K when on VESA.
2N/A
2N/A2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support GRUB_GFXPAYLOAD_LINUX.
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_GFXPAYLOAD_LINUX.
2N/A * util/grub.d/10_linux.in (linux_entry): Handle GRUB_GFXPAYLOAD_LINUX.
2N/A
2N/A2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * script/execute.c (grub_script_execute_cmdline): Use grub_print_error
2N/A to show messages instead of discarding them.
2N/A Process errors after executing command and not before. Keep old method
2N/A too as precaution.
2N/A
2N/A2010-02-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Check for ft2build.h.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * genkernsyms.sh.in: Use TARGET_CC.
2N/A
2N/A2010-02-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * NEWS: Update.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/multiboot2.h: Remove leftover file.
2N/A * include/grub/normal.h [GRUB_UTIL]: Remove leftover declarations.
2N/A * include/grub/partition.h [GRUB_UTIL]: Likewise.
2N/A
2N/A2010-02-07 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * gnulib/getdelim.c: add missing header (type ssize_t must be defined).
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix warnings in grub-emu when compiling with maximum warning options.
2N/A
2N/A * util/grub-emu.c (ENABLE_RELOCATABLE): New definition.
2N/A (grub_arch_modules_addr): Return 0 and not NULL.
2N/A * util/misc.c (ENABLE_RELOCATABLE): New definition.
2N/A (xstrdup): Use newstr instead of dup.
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Rename one instance
2N/A of disk to dsk to avoid shadowing.
2N/A (find_free_slot): Fix prototype.
2N/A * util/getroot.c (grub_util_is_dmraid): Make static.
2N/A * include/grub/time.h (grub_get_rtc) [GRUB_MACHINE_EMU || GRUB_UTIL]:
2N/A Add missing prototype.
2N/A * util/sdl.c (grub_video_sdl_set_viewport): Remove.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/linux.c (grub_linux_setup_video): Handle error
2N/A appropriately.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting
2N/A code out.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline.
2N/A * kern/i386/coreboot/init.c (grub_arch_sync_caches): Remove.
2N/A * kern/i386/efi/init.c (grub_arch_sync_caches): Likewise.
2N/A * kern/i386/ieee1275/init.c (grub_arch_sync_caches): Likewise.
2N/A * kern/i386/pc/init.c (grub_arch_sync_caches): Likewise.
2N/A * util/misc.c (grub_arch_sync_caches) [i386 || x86_64]: Likewise.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/err.h (grub_err_printf): Don't export.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/dl.h (grub_dl_register_symbol): Don't export.
2N/A
2N/A2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i18n.h (grub_gettext_dummy): Removed.
2N/A * kern/misc.c (grub_gettext_dummy): Make static.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/misc.c (grub_utf8_to_ucs4): Don't eat valid characters preceeded
2N/A by non-valid ones.
2N/A * kern/term.c (grub_putchar): Likewise.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * partmap/sun.c (sun_partition_map_iterate): Restructure flow to fix
2N/A buggy hook call and memory leak.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Free pathname on exit.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/fat.c (grub_fat_iterate_dir): Free unibuf at exit.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/pc/xnu.c (grub_xnu_set_video): Add const qualifier to
2N/A modevar.
2N/A Return grub_errno on allocation error.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Correct error handling.
2N/A
2N/A2010-02-06 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * conf/common.rmk (grub_script_check_SOURCES): add missing dependencies.
2N/A (grub_mkpasswd_pbkdf2_SOURCES): Likewise.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_dir): Return with failure on
2N/A non-pxe disk.
2N/A (grub_pxefs_open): Likewise.
2N/A
2N/A2010-02-06 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_hurd.in: Add --class information to menuentries.
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A
2N/A2010-02-06 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add gfxmenu.mod.
2N/A (gfxmenu_mod_SOURCES): New variable.
2N/A (gfxmenu_mod_CFLAGS): Likewise.
2N/A (gfxmenu_mod_LDFLAGS): Likewise.
2N/A * include/grub/term.h (grub_term_set_current_output): Declare
2N/A argument as const.
2N/A * docs/gfxmenu-theme-example.txt: New file.
2N/A * gfxmenu/gfxmenu.c: Likewise.
2N/A * gfxmenu/gui_box.c: Likewise.
2N/A * gfxmenu/gui_canvas.c: Likewise.
2N/A * gfxmenu/gui_circular_progress.c: Likewise.
2N/A * gfxmenu/gui_image.c: Likewise.
2N/A * gfxmenu/gui_label.c: Likewise.
2N/A * gfxmenu/gui_list.c: Likewise.
2N/A * gfxmenu/gui_progress_bar.c: Likewise.
2N/A * gfxmenu/gui_string_util.c: Likewise.
2N/A * gfxmenu/gui_util.c: Likewise.
2N/A * gfxmenu/icon_manager.c: Likewise.
2N/A * gfxmenu/model.c: Likewise.
2N/A * gfxmenu/named_colors.c: Likewise.
2N/A * gfxmenu/theme_loader.c: Likewise.
2N/A * gfxmenu/view.c: Likewise.
2N/A * gfxmenu/widget-box.c: Likewise.
2N/A * include/grub/gfxmenu_model.h: Likewise.
2N/A * include/grub/gfxmenu_view.h: Likewise.
2N/A * include/grub/gfxwidgets.h: Likewise.
2N/A * include/grub/gui.h: Likewise.
2N/A * include/grub/gui_string_util.h: Likewise.
2N/A * include/grub/icon_manager.h: Likewise.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Agglomerate scrolling in gfxterm.
2N/A
2N/A * term/gfxterm.c (grub_virtual_screen): New member 'total_screen'.
2N/A (grub_virtual_screen_setup): Initialise 'total_screen'.
2N/A (write_char): Split to ...
2N/A (paint_char): ... this ...
2N/A (write_char): ... and this.
2N/A (paint_char): Handle delayed scrolling.
2N/A (draw_cursor): Likewise.
2N/A (scroll_up): Split to ...
2N/A (real_scroll): ... this ...
2N/A (scroll_up): ... and this.
2N/A (real_scroll): Handle multi-line scroll and draw below-the-bottom
2N/A characters.
2N/A (grub_gfxterm_refresh): Call real_scroll.
2N/A
2N/A2010-02-06 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * include/grub/misc.h (grub_iscntrl): New inline function.
2N/A (grub_isalnum): Likewise.
2N/A (grub_strtol): Likewise.
2N/A
2N/A2010-02-06 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * normal/menu_text.c (get_entry_number): Move from here ...
2N/A * normal/menu.c (get_entry_number): ... moved here.
2N/A * include/grub/menu.h (grub_menu_get_default_entry_index):
2N/A New prototype.
2N/A * normal/menu.c (grub_menu_get_default_entry_index): New function.
2N/A * normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index.
2N/A * include/grub/menu_viewer.h (grub_menu_viewer_init): New prototype.
2N/A (grub_menu_viewer_should_return): Likewise.
2N/A * normal/main.c (GRUB_MOD_INIT (normal)): Call grub_menu_viewer_init.
2N/A * normal/menu_text.c (run_menu): Enable menu switching.
2N/A * normal/menu_viewer.c (should_return): New variable.
2N/A (menu_viewer_changed): Likewise.
2N/A (grub_menu_viewer_show_menu): Handle menu viewer changes.
2N/A (grub_menu_viewer_should_return): New function.
2N/A (menuviewer_write_hook): Likewise.
2N/A (grub_menu_viewer_init): Likewise.
2N/A
2N/A2010-02-06 Colin D Bennet <colin@gibibit.com>
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support for gfxterm in a window.
2N/A
2N/A * include/grub/gfxterm.h: New file.
2N/A * include/grub/video.h (struct grub_video_rect): New declaration.
2N/A (grub_video_rect_t): Likewise.
2N/A * term/gfxterm.c (struct grub_gfxterm_window): New type.
2N/A (refcount): New variable.
2N/A (render_target): Likewise.
2N/A (window): Likewise.
2N/A (repaint_callback): Likewise.
2N/A (grub_virtual_screen_setup): Use 'render_target'.
2N/A (init_window): New function.
2N/A (grub_gfxterm_init_window): Likewise.
2N/A (grub_gfxterm_init): Check reference counter.
2N/A Use init_window.
2N/A (destroy_window): New function.
2N/A (grub_gfxterm_destroy_window): Likewise.
2N/A (grub_gfxterm_fini): Check reference counter.
2N/A Use destroy_window.
2N/A (redraw_screen_rect): Restore viewport.
2N/A Use 'render_target' and 'window'.
2N/A Call 'repaint_callback'.
2N/A (write_char): Use 'render_target'.
2N/A (draw_cursor): Likewise.
2N/A (scroll_up): Restore viewport.
2N/A Use 'render_target' and 'window'.
2N/A Call 'repaint_callback'.
2N/A (grub_gfxterm_cls): Likewise.
2N/A (grub_gfxterm_refresh): Use 'window'.
2N/A (grub_gfxterm_set_repaint_callback): New function.
2N/A (grub_gfxterm_background_image_cmd): Use 'window'.
2N/A (grub_gfxterm_get_term): New function.
2N/A (GRUB_MOD_INIT(term_gfxterm)): Set 'refcount' to 0.
2N/A
2N/A2010-02-06 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Bitmap scaling support.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add bitmap_scale.mod.
2N/A (bitmap_scale_mod_SOURCES): New variable.
2N/A (bitmap_scale_mod_CFLAGS): Likewise.
2N/A (bitmap_scale_mod_LDFLAGS): Likewise.
2N/A * include/grub/bitmap_scale.h: New file.
2N/A * term/gfxterm.c (BACKGROUND_CMD_ARGINDEX_MODE): New definiton.
2N/A (background_image_cmd_options): New variable.
2N/A (grub_gfxterm_background_image_cmd): Support bitmap stretching.
2N/A (cmd): Rename and change type to ...
2N/A (background_image_cmd_handle): ... this. All users updated.
2N/A (GRUB_MOD_INIT(term_gfxterm)): Make background_image extended command.
2N/A * video/bitmap_scale.c: New file.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A SDL support.
2N/A
2N/A * Makefile.in (LIBSDL): New variable.
2N/A (enable_grub_emu_sdl): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add video files.
2N/A (grub_emu_SOURCES) [enable_grub_emu_sdl]: Add util/sdl.c.
2N/A (grub_emu_LDFLAGS) [enable_grub_emu_sdl]: Add $(LIBSDL).
2N/A * configure.ac: Detect SDL availability and add --enable-grub-emu-sdl
2N/A * util/sdl.c: New file.
2N/A
2N/A2010-02-06 Colin D Bennett <colin@gibibit.com>
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Double buffering support.
2N/A
2N/A * commands/i386/pc/videotest.c (grub_cmd_videotest): Swap doublebuffers.
2N/A * include/grub/video.h: Update comment.
2N/A * include/grub/video_fb.h (grub_video_fb_doublebuf_update_screen_t):
2N/A New type.
2N/A (grub_video_fb_doublebuf_blit_init): New prototype.
2N/A * term/gfxterm.c (scroll_up): Support double buffering.
2N/A (grub_gfxterm_refresh): Likewise.
2N/A * video/fb/video_fb.c (doublebuf_blit_update_screen): New function.
2N/A (grub_video_fb_doublebuf_blit_init): Likewise.
2N/A * video/i386/pc/vbe.c (framebuffer): Remove 'render_target'. Add
2N/A 'front_target', 'back_target', 'offscreen_buffer', 'page_size',
2N/A 'displayed_page', 'render_page' and 'update_screen'.
2N/A (grub_video_vbe_fini): Free offscreen buffer.
2N/A (doublebuf_pageflipping_commit): New function.
2N/A (doublebuf_pageflipping_update_screen): Likewise.
2N/A (doublebuf_pageflipping_init): Likewise.
2N/A (double_buffering_init): Likewise.
2N/A (grub_video_vbe_setup): Enable doublebuffering.
2N/A (grub_video_vbe_swap_buffers): Implement.
2N/A (grub_video_vbe_set_active_render_target): Handle double buffering.
2N/A (grub_video_vbe_get_active_render_target): Likewise.
2N/A (grub_video_vbe_get_info_and_fini): Likewise. Free offscreen_buffer.
2N/A (grub_video_vbe_adapter): Use grub_video_vbe_get_active_render_target.
2N/A (grub_video_vbe_enable_double_buffering): Likewise.
2N/A (grub_video_vbe_swap_buffers): Use update_screen.
2N/A (grub_video_set_mode): Use double buffering.
2N/A
2N/A2010-02-06 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * maintainance/gentrigtables.py: Remove.
2N/A * lib/trig.c: Likewise.
2N/A
2N/A * gentrigtables.c: New file. C rewrite of gentrigtables.py.
2N/A
2N/A * conf/common.rmk (trig_mod_SOURCES): Replace `lib/trig.c' with
2N/A `trigtables.c'.
2N/A (trigtables.c): New rule.
2N/A (gentrigtables): Likewise.
2N/A (DISTCLEANFILES): Add `trigtables.c' and `gentrigtables'.
2N/A
2N/A2010-02-06 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * maintainance/gentrigtables.py: Avoid duplicate hardcoding of
2N/A integer constants.
2N/A
2N/A2010-02-06 Colin D Bennet <colin@gibibit.com>
2N/A
2N/A Trigonometry support.
2N/A
2N/A * include/grub/trig.h: New file.
2N/A * lib/trig.c: Likewise.
2N/A * maintainance/gentrigtables.py: Likewise.
2N/A * conf/common.rmk (pkglib_MODULES): Add trig.mod.
2N/A (trig_mod_SOURCES): New variable.
2N/A (trig_mod_CFLAGS): Likewise.
2N/A (trig_mod_LDFLAGS): Likewise.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Support whole
2N/A disk devices.
2N/A
2N/A2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_devalias_iterate): Stop iterating on
2N/A error.
2N/A
2N/A2010-02-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/hostdisk.c (open_device): Don't use partition device when reading
2N/A before the partition.
2N/A (grub_util_biosdisk_read): Don't read from partition and before the
2N/A partition in single operation.
2N/A (grub_util_biosdisk_write): Don't write to partition and before the
2N/A partition in single operation.
2N/A
2N/A2010-02-03 Torsten Landschoff <torsten@debian.org>
2N/A
2N/A * kern/disk.c (grub_disk_read): Fix offset computation when reading
2N/A last sectors.
2N/A
2N/A2010-02-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_read): Handle non-2048 aligned
2N/A CDROM reads.
2N/A (grub_biosdisk_write): Refuse to write to CDROM.
2N/A
2N/A2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.
2N/A
2N/A2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * font/font.c (find_glyph): Check that bmp_idx is available before
2N/A using it.
2N/A (grub_font_get_string_width): Never call grub_font_get_glyph_internal
2N/A with (font == NULL).
2N/A
2N/A2010-01-28 Christian Schmitt <chris@ilovelinux.de>
2N/A
2N/A * util/ieee1275/grub-install.in: Fix nvsetenv arguments.
2N/A
2N/A2010-01-28 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * include/grub/script_sh.h (sourcecode): Add const qualifier.
2N/A * util/grub-script-check.c (getline): Fix empty lines case.
2N/A
2N/A2010-01-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (check): Exit with fail status when one of the tests
2N/A fails.
2N/A * tests/example_functional_test.c (example_test): Fix reversed assert.
2N/A * tests/example_unit_test.c (example_test): Likewise.
2N/A
2N/A2010-01-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/10_linux.in: This script does not use any of the
2N/A contents of gettext.sh, only the external command `gettext', so stop
2N/A sourcing it. (Moreover, gettext.sh isn't necessarily installed in
2N/A the same prefix as GRUB.)
2N/A * util/grub.d/10_kfreebsd.in: Likewise.
2N/A
2N/A2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Fix completion in the middle
2N/A of the line.
2N/A
2N/A2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/disk.c (grub_disk_read): Fix offset computation when reading
2N/A last sectors.
2N/A
2N/A2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/hashsum.c (hash_file): Avoid possible stack overflow by
2N/A having a 4KiB and not 32KiB buffer size.
2N/A
2N/A2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/hostfs.c: Include `<errno.h>'.
2N/A (grub_hostfs_read): Handle errors from fseeko() and fread().
2N/A
2N/A2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/disk.c (grub_disk_read): Fix bug that would cause infinite
2N/A loop when using read hooks on files whose size isn't sector-aligned.
2N/A
2N/A2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Remove unused parameter.
2N/A
2N/A * fs/iso9660.c (struct grub_iso9660_data): Remove `length' parameter.
2N/A (grub_iso9660_open): Remove initialization of `data->length'.
2N/A
2N/A2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-fstest.c (fstest): Rewrite allocation, fixing a few
2N/A memleak conditions.
2N/A
2N/A2010-01-27 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/lvm.c: New macro LVM_DEV_MAPPER_STRING.
2N/A (grub_util_lvm_isvolume): Use LVM_DEV_MAPPER_STRING.
2N/A
2N/A2010-01-26 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/bin2h.c (usage): Fix warning (space after backslash).
2N/A
2N/A2010-01-26 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * font/font.c: Include `grub/fontformat.h.
2N/A Remove font file format constants.
2N/A (grub_font_load): Use the new macros.
2N/A * include/grub/fontformat.h: New file.
2N/A * util/grub-mkfont.c: Include `grub/fontformat.c'.
2N/A (write_font_pf2): Use the new macros.
2N/A
2N/A2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/bin2h.c (usage): Make --help actually explain what `grub-bin2h'
2N/A does.
2N/A
2N/A2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_PXE_DL): New macro.
2N/A
2N/A * boot/i386/pc/pxeboot.S: Include `<grub/machine/boot.h>'.
2N/A (_start): Macroify `0x7F'.
2N/A
2N/A * kern/i386/pc/init.c: Include `<grub/machine/boot.h>'.
2N/A (make_install_device): Use "(pxe)" as fallback prefix when booting
2N/A via PXE.
2N/A
2N/A2010-01-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Reset LIBS after check for libgcc symbols.
2N/A
2N/A2010-01-25 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/hostdisk.c (open_device): Add trailing newline to debug
2N/A message.
2N/A
2N/A2010-01-25 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * configure.ac: Check for `limits.h'.
2N/A * util/misc.c: Include `<limits.h>' (for PATH_MAX).
2N/A
2N/A2010-01-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/mips/linux.c (grub_cmd_linux, grub_cmd_initrd): Don't
2N/A capitalize error strings.
2N/A
2N/A2010-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/10_hurd.in: Add a recovery mode.
2N/A
2N/A2010-01-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Check for libgcc symbols with -nostdlib.
2N/A
2N/A2010-01-23 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * acinclude.m4: Quote underquoted AC_DEFUN parameters.
2N/A
2N/A2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_setcolorstate): Allocate on
2N/A stack since heap may be unavailable at that point.
2N/A (grub_ofconsole_gotoxy): Likewise.
2N/A
2N/A2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Check for _restgpr_14_x.
2N/A * include/grub/powerpc/libgcc.h [HAVE__RESTGPR_14_X]: Add _restgpr_*_x
2N/A and _savegpr_* prototypes.
2N/A
2N/A2010-01-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Use generic grub_reboot() for i386-efi.
2N/A
2N/A * kern/efi/efi.c [__i386__] (grub_reboot): Remove.
2N/A * kern/i386/efi/startup.S: Include `"../realmode.S"'.
2N/A * kern/i386/realmode.S: Include `<grub/i386/pc/memory.h>'.
2N/A
2N/A2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/ieee1275/init.c (grub_machine_set_prefix): Don't check for
2N/A presence of "prefix" variable as it breaks when normal.mod is
2N/A embedded.
2N/A
2N/A2010-01-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): Allocate on
2N/A stack since heap is unavailable at that point.
2N/A
2N/A2010-01-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/bsd.h (FREEBSD_N_BIOS_GEOM): Removed.
2N/A (grub_freebsd_bootinfo): Rewritten.
2N/A * loader/i386/bsd.c (grub_freebsd_boot): Use new grub_freebsd_bootinfo.
2N/A
2N/A2010-01-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/misc.c (make_system_path_relative_to_its_root): Fix typo.
2N/A
2N/A2010-01-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * po/POTFILES: Remove mkisofs-related files. They have their own TLP
2N/A domain now.
2N/A
2N/A2010-01-20 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/misc.c (make_system_path_relative_to_its_root): Change the work
2N/A around for handling "/" to the correct fix. Fix a memory leak. Use
2N/A xstrdup instead of strdup.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/mips.rmk (kernel_img_HEADERS): Add env_private.h
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Optimise glyph lookup by Basic Multilingual Plane lookup array.
2N/A
2N/A * font/font.c (struct grub_font): New member 'bmp_idx'.
2N/A (font_init): Initialise 'bmp_idx'.
2N/A (load_font_index): Fill 'bmp_idx'.
2N/A (find_glyph): Make inline. Use bmp_idx for BMP characters.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/fb/video_fb.c (grub_video_fb_scroll): Optimise by avoiding
2N/A unnecessary calls.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move context handling out of the kernel.
2N/A
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Add normal/context.c.
2N/A * conf/common.rmk (normal_mod_SOURCES): Add normal/context.c.
2N/A * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add env_private.h.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * include/grub/env.h: Include grub/menu.h.
2N/A (grub_env_var_type): Removed.
2N/A (grub_env_var): Replaced field 'type' with 'global'.
2N/A (grub_env_find): New prototype.
2N/A (grub_env_context_open): Remove EXPORT_FUNC.
2N/A (grub_env_context_close): Likewise.
2N/A (grub_env_export): Likewise.
2N/A (grub_env_set_data_slot): Removed.
2N/A (grub_env_get_data_slot): Likewise.
2N/A (grub_env_unset_data_slot): Likewise.
2N/A (grub_env_unset_menu): New prototype.
2N/A (grub_env_set_menu): Likewise.
2N/A (grub_env_get_menu): Likewise.
2N/A * include/grub/env_private.h: New file.
2N/A * include/grub/normal.h (grub_context_init): New prototype.
2N/A (grub_context_fini): Likewise.
2N/A * kern/corecmd.c (grub_core_cmd_export): Moved from here ...
2N/A * normal/context.c (grub_cmd_export): ... to here.
2N/A * kern/env.c: Include env_private.h.
2N/A (HASHSZ): Moved to include/grub/env_private.h.
2N/A (grub_env_context): Likewise.
2N/A (grub_env_sorted_var): Likewise.
2N/A (current_context): Renamed from this ...
2N/A (grub_current_context): ...to this. 'static' removed. All users updated.
2N/A (grub_env_find): Removed 'static'.
2N/A (grub_env_context_open): Moved to normal/context.c.
2N/A (grub_env_context_close): Likewise.
2N/A (grub_env_export): Likewise.
2N/A (mangle_data_slot_name): Removed.
2N/A (grub_env_set_data_slot): Likewise.
2N/A (grub_env_get_data_slot): Likewise.
2N/A (grub_env_unset_data_slot): Likewise.
2N/A * kern/main.c (grub_set_root_dev): Don't export root.
2N/A It will be done later.
2N/A (grub_main): Don't export prefix.
2N/A It will be done later.
2N/A * normal/context.c: New file.
2N/A * normal/main.c (free_menu): Use grub_env_unset_menu.
2N/A (grub_normal_add_menu_entry): Use grub_env_get_menu.
2N/A (read_config_file): Use grub_env_get_menu and grub_env_set_menu.
2N/A (GRUB_MOD_INIT(normal)): Call grub_context_init.
2N/A (GRUB_MOD_FINI(normal)): Call grub_context_fini.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A setpci support.
2N/A
2N/A * commands/setpci.c: New file.
2N/A * conf/i386.rmk (pkglib_MODULES): Add setpci.mod.
2N/A (setpci_mod_SOURCES): New variable.
2N/A (setpci_mod_CFLAGS): Likewise.
2N/A (setpci_mod_LDFLAGS): Likewise.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Byte-addressable PCI configuration space.
2N/A
2N/A * bus/pci.c (grub_pci_make_address): Use byte address instead of
2N/A dword address.
2N/A (grub_pci_iterate): Use macroses GRUB_PCI_REG_PCI_ID and
2N/A GRUB_PCI_REG_CACHELINE.
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Use macroses
2N/A GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESS_REG0.
2N/A * bus/usb/uhci.c (grub_ohci_pci_iter): Use macroses
2N/A GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESS_REG4.
2N/A * commands/efi/fixvideo.c (scan_card): Use macros GRUB_PCI_REG_CLASS.
2N/A * commands/efi/loadbios.c (enable_rom_area): Pass byte-address to
2N/A grub_pci_make_address.
2N/A (lock_rom_area): Likewise.
2N/A * commands/lspci.c (grub_lspci_iter): Use macroses
2N/A GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESSES. Handle byte-addressing
2N/A of grub_pci_make_address.
2N/A * disk/ata.c (grub_ata_pciinit): Likewise.
2N/A * include/grub/pci.h (GRUB_PCI_REG_PCI_ID): New macro.
2N/A (GRUB_PCI_REG_VENDOR): Likewise.
2N/A (GRUB_PCI_REG_DEVICE): Likewise.
2N/A (GRUB_PCI_REG_COMMAND): Likewise.
2N/A (GRUB_PCI_REG_STATUS): Likewise.
2N/A (GRUB_PCI_REG_REVISION): Likewise.
2N/A (GRUB_PCI_REG_CLASS): Likewise.
2N/A (GRUB_PCI_REG_CACHELINE): Likewise.
2N/A (GRUB_PCI_REG_LAT_TIMER): Likewise.
2N/A (GRUB_PCI_REG_HEADER_TYPE): Likewise.
2N/A (GRUB_PCI_REG_BIST): Likewise.
2N/A (GRUB_PCI_REG_ADDRESSES): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_ADDRESS_REG): Likewise.
2N/A (GRUB_PCI_REG_CIS_POINTER): Likewise.
2N/A (GRUB_PCI_REG_SUBVENDOR): Likewise.
2N/A (GRUB_PCI_REG_SUBSYSTEM): Likewise.
2N/A (GRUB_PCI_REG_ROM_ADDRESS): Likewise.
2N/A (GRUB_PCI_REG_CAP_POINTER): Likewise.
2N/A (GRUB_PCI_REG_IRQ_LINE): Likewise.
2N/A (GRUB_PCI_REG_IRQ_PIN): Likewise.
2N/A (GRUB_PCI_REG_MIN_GNT): Likewise.
2N/A (GRUB_PCI_REG_MAX_LAT): Likewise.
2N/A * loader/i386/efi/linux.c (find_framebuf): Use GRUB_PCI_REG_CLASS.
2N/A * loader/i386/efi/xnu.c (find_framebuf): Likewise.
2N/A * video/efi_uga.c (find_framebuf): Likewise.
2N/A * video/sm712.c (grub_video_sm712_setup): Likewise.
2N/A * util/pci.c (grub_pci_make_address): Use byte-addressed configuration
2N/A space.
2N/A
2N/A2010-01-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in (linux_entry): Set gfxpayload=keep when it
2N/A can be reliably determined to be supported.
2N/A
2N/A2010-01-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): If `vga=' was used, write down
2N/A that VESA is supported.
2N/A (grub_linux_boot): Use generic framebuffer unless VESA is known to be
2N/A supported.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/common.rmk (font/font.c_DEPENDENCIES): Condition on FONT_SOURCE.
2N/A
2N/A2010-01-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/misc.c (make_system_path_relative_to_its_root): Work around
2N/A special-casing of "/", as previous incarnation of this routine did.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix any-emu compilation.
2N/A
2N/A * conf/any-emu.rmk (bin_UTILITIES): Add grub-bin2h.
2N/A * grub_bin2h_SOURCES: New variable.
2N/A
2N/A2010-01-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Fix stupid mistake from last commit.
2N/A
2N/A2010-01-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Fix handling of locale_dir.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Add /usr/share/fonts/unifont/unifont.pcf.gz
2N/A as possible unifont location (Gentoo).
2N/A Reported by: Alexander Brüning
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't try to generate lists for kernel.img.
2N/A
2N/A * conf/i386-efi.rmk (pkglib_PROGRAMS): New variable.
2N/A (pkglib_MODULES): Remove kernel.img.
2N/A (kernel_img_EXPORTS): Removed.
2N/A (kernel_img_RELOCATABLE): New variable.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * genmk.rb: Remove *_EXPORTS support and add *_RELOCATABLE support.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/misc.h (grub_sprintf): Removed. All users switched to
2N/A grub_xasprintf or grub_snprintf.
2N/A (grub_vsprintf): Likewise.
2N/A (grub_snprintf): New proto.
2N/A (grub_vsnprintf): Likewise.
2N/A (grub_xasprintf): Likewise.
2N/A (grub_xvasprintf): Likewise.
2N/A * kern/misc.c (grub_vprintf): Use grub_vsnprintf_real.
2N/A (grub_sprintf): Removed.
2N/A (grub_vsnprintf): New function.
2N/A (grub_snprintf): Likewise.
2N/A (grub_xvasprintf): Likewise.
2N/A (grub_xasprintf): Likewise.
2N/A (grub_vsprintf): Renamed to ...
2N/A (grub_vsnprintf_real): ...this. New argument max_len.
2N/A
2N/A2010-01-20 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * include/grub/script_sh.h (sourcecode): Remove const qualifier to
2N/A fix grub-script-check warning.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/font.h (grub_font_load): Fix prototype.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/mips.rmk (kernel_img_HEADERS) [yeeloong]: Add pci.h.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/x86_64/at_keyboard.h: New file.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/mips/linux.c: Include missing grub/i18n.h.
2N/A
2N/A2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/menu.c (notify_execution_failure): Clarify error message.
2N/A
2N/A2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * commands/loadenv.c (check_blocklists): Use `grub_err_t' as
2N/A return value (and revert all return statements). Update users.
2N/A
2N/A2010-01-20 Dan Merillat <debian@dan.merillat.org>
2N/A
2N/A * kern/device.c (grub_device_iterate): Allocate new part_ent
2N/A structure based on sizeof (*p) rather than sizeof (p->next), to
2N/A account for structure padding.
2N/A
2N/A * util/grub-probe.c (probe_raid_level): Return -1 immediately if
2N/A disk is NULL, which might happen for LVM physical volumes with no
2N/A LVM signature.
2N/A
2N/A2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/mips/linux.c (grub_cmd_initrd)
2N/A (GRUB_MOD_INIT(linux)): Adjust and gettextize a few strings.
2N/A
2N/A2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/mips/yeeloong/init.c (grub_video_sm712_init)
2N/A (grub_video_video_init, grub_video_bitmap_init)
2N/A (grub_font_manager_init, grub_term_gfxterm_init)
2N/A (grub_at_keyboard_init): New extern declarations.
2N/A (grub_machine_init): Initialize gfxterm and at_keyboard.
2N/A
2N/A * kern/main.c (grub_main): Revert grub_printf delay kludge.
2N/A
2N/A * util/grub-install.in: Revert embed of `at_keyboard.mod' and
2N/A `gfxterm.mod' into core image.
2N/A
2N/A * conf/mips.rmk (pkglib_IMAGES, kernel_img_SOURCES)
2N/A (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS)
2N/A (kernel_img_FORMAT): Copy to ...
2N/A
2N/A * conf/mips-qemu-mips.rmk (pkglib_IMAGES, kernel_img_SOURCES)
2N/A (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS)
2N/A (kernel_img_FORMAT): ... here, and ...
2N/A
2N/A * conf/mips-yeeloong.rmk (pkglib_IMAGES, kernel_img_SOURCES)
2N/A (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS)
2N/A (kernel_img_FORMAT): ... here.
2N/A
2N/A (kernel_img_SOURCES): Add files necessary for output (gfxterm)
2N/A and input (at_keyboard) terminals in kernel.
2N/A (kernel_img_CFLAGS): Add `-DUSE_ASCII_FAILBACK'.
2N/A
2N/A (pkglib_MODULES): Remove `pci.mod'.
2N/A (pci_mod_SOURCES, pci_mod_CFLAGS, pci_mod_LDFLAGS)
2N/A (sm712_mod_SOURCES, sm712_mod_CFLAGS, sm712_mod_LDFLAGS)
2N/A (at_keyboard_mod_SOURCES, at_keyboard_mod_CFLAGS)
2N/A (at_keyboard_mod_LDFLAGS): Remove variables.
2N/A
2N/A2010-01-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * po/POTFILES: Replace `term/i386/pc/serial.c' with `term/serial.c'.
2N/A
2N/A2009-12-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/mips/libgcc.h: Only export symbols for functions
2N/A that libgcc provides.
2N/A
2N/A2009-12-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A MIPS support.
2N/A
2N/A * bus/bonito.c: New file.
2N/A * bus/pci.c (grub_pci_iterate): Use GRUB_PCI_NUM_BUS and
2N/A GRUB_PCI_NUM_DEVICES.
2N/A * term/i386/pc/serial.c: Move to ...
2N/A * term/serial.c: ... here. All users updated.
2N/A * util/i386/pc/grub-mkimage.c: Move to ...
2N/A * util/grub-mkrawimage.c: ... here. All users updated.
2N/A * term/i386/pc/at_keyboard.c: Move to ...
2N/A * term/at_keyboard.c: ... here. All users updated.
2N/A * conf/mips-qemu-mips.rmk: New file.
2N/A * conf/mips-yeeloong.rmk: Likewise.
2N/A * conf/mips.rmk: Likewise.
2N/A * configure.ac: New platforms mipsel-yeeloong, mips-qemu-mips and
2N/A mipsel-qemu-mips.
2N/A * disk/ata.c (grub_ata_device_initialize): Add GRUB_MACHINE_PCI_IO_BASE
2N/A to port addresses.
2N/A (grub_ata_pciinit): Support CS5536.
2N/A * font/font.c (grub_font_load): Use grub_file_t instead of filename.
2N/A * font/font_cmd.c (loadfont_command): Open file before passing it to
2N/A grub_font_load.
2N/A (pseudo_file_read): New function.
2N/A (pseudo_file_close): Likewise.
2N/A (pseudo_fs): New structure.
2N/A (load_font_module): New function.
2N/A (GRUB_MOD_INIT(font_manager)): Load embedded font.
2N/A * fs/cpio.c (grub_cpio_open): Handle partial matches correctly.
2N/A * genmk.rb: Strip .rel.dyn, .reginfo, .note and .comment.
2N/A * genmoddep.awk: Ignore __gnu_local_gp. It's defined by linker.
2N/A * include/grub/i386/at_keyboard.h: Split into ...
2N/A * include/grub/at_keyboard.h: ... this ...
2N/A * include/grub/i386/at_keyboard.h: ... and this.
2N/A * include/grub/dl.h (grub_arch_dl_init_linker) [_mips && !GRUB_UTIL]:
2N/A New prototype.
2N/A * include/grub/elfload.h (grub_elf32_size): New parameter. All users
2N/A updated.
2N/A (grub_elf64_size): Likewise.
2N/A * include/grub/font.h (grub_font_load): Use grub_file_t instead of
2N/A filename.
2N/A * include/grub/i386/io.h (grub_port_t): New type. All users updated.
2N/A * include/grub/i386/coreboot/serial.h: Rewritten.
2N/A * include/grub/i386/ieee1275/serial.h: Include
2N/A grub/i386/coreboot/serial.h instead of grub/i386/pc/serial.h.
2N/A * include/grub/i386/pc/serial.h: Moved from here ...
2N/A * include/grub/serial.h: ... to here. All users updated.
2N/A * include/grub/i386/pci.h (GRUB_MACHINE_PCI_IO_BASE): New definition.
2N/A (GRUB_PCI_NUM_BUS): Likewise.
2N/A (GRUB_PCI_NUM_DEVICES): Likewise.
2N/A (grub_pci_device_map_range): Add missing volatile keyword.
2N/A * include/grub/kernel.h (OBJ_TYPE_FONT): New enum value.
2N/A * include/grub/mips/at_keyboard.h: New file.
2N/A * include/grub/mips/cache.h: Likewise.
2N/A * include/grub/mips/io.h: Likewise.
2N/A * include/grub/mips/kernel.h: Likewise.
2N/A * include/grub/mips/libgcc.h: Likewise.
2N/A * include/grub/mips/pci.h: Likewise.
2N/A * include/grub/mips/qemu-mips/boot.h: Likewise.
2N/A * include/grub/mips/qemu-mips/kernel.h: Likewise.
2N/A * include/grub/mips/qemu-mips/loader.h: Likewise.
2N/A * include/grub/mips/qemu-mips/memory.h: Likewise.
2N/A * include/grub/mips/qemu-mips/serial.h: Likewise.
2N/A * include/grub/mips/qemu-mips/time.h: Likewise.
2N/A * include/grub/mips/relocator.h: Likewise.
2N/A * include/grub/mips/time.h: Likewise.
2N/A * include/grub/mips/types.h: Likewise.
2N/A * include/grub/mips/yeeloong/at_keyboard.h: Likewise.
2N/A * include/grub/mips/yeeloong/boot.h: Likewise.
2N/A * include/grub/mips/yeeloong/kernel.h: Likewise.
2N/A * include/grub/mips/yeeloong/loader.h: Likewise.
2N/A * include/grub/mips/yeeloong/memory.h: Likewise.
2N/A * include/grub/mips/yeeloong/pci.h: Likewise.
2N/A * include/grub/mips/yeeloong/serial.h: Likewise.
2N/A * include/grub/mips/yeeloong/time.h: Likewise.
2N/A * kern/dl.c (grub_dl_resolve_symbols): Handle STT_OBJECT correctly.
2N/A * kern/elf.c (grub_elf32_size): New parameter. All users
2N/A updated.
2N/A (grub_elf64_size): Likewise.
2N/A * kern/main.c (grub_main): Call grub_arch_dl_init_linker if necessary.
2N/A Load modules before saying "Welcome to GRUB!".
2N/A Call grub_refresh after saying "Welcome to GRUB!".
2N/A * kern/mips/cache.S: New file.
2N/A * kern/mips/cache_flush.S: Likewise.
2N/A * kern/mips/dl.c: Likewise.
2N/A * kern/mips/init.c: Likewise.
2N/A * kern/mips/qemu-mips/init.c: Likewise.
2N/A * kern/mips/startup.S: Likewise.
2N/A * kern/mips/yeeloong/init.c: Likewise.
2N/A * kern/term.c (grub_putcode): Handle NULL terminal.
2N/A (grub_getcharwidth): Likewise.
2N/A (grub_getkey): Likewise.
2N/A (grub_checkkey): Likewise.
2N/A (grub_getkeystatus): Likewise.
2N/A (grub_getxy): Likewise.
2N/A (grub_getwh): Likewise.
2N/A (grub_gotoxy): Likewise.
2N/A (grub_cls): Likewise.
2N/A (grub_setcolorstate): Likewise.
2N/A (grub_setcolor): Likewise.
2N/A (grub_getcolor): Likewise.
2N/A (grub_refresh): Likewise.
2N/A * lib/mips/relocator.c (JUMP_SIZEOF): Fix incorrect value.
2N/A (write_jump): Add hatch nop.
2N/A * lib/mips/relocator_asm.S: Use kern/mips/cache_flush.S.
2N/A * lib/mips/setjmp.S: New file.
2N/A * loader/mips/linux.c: Likewise.
2N/A * term/i386/pc/at_keyboard.c: Move from here ...
2N/A * term/at_keyboard.c: ... to here.
2N/A * term/i386/pc/serial.c: Moved from here ...
2N/A * term/serial.c: ... to here. All users updated.
2N/A (TEXT_HEIGHT): Set to 24 to fit linux terminal.
2N/A (serial_hw_io_addr): Use GRUB_MACHINE_SERIAL_PORTS.
2N/A (serial_translate_key_sequence): Avoid deadlock.
2N/A (grub_serial_getkey): Handle backspace.
2N/A (grub_serial_putchar): Fix newline handling.
2N/A * util/i386/pc/grub-mkimage.c: Move from here ...
2N/A * util/grub-mkrawimage.c: ... to here. All users updated.
2N/A (generate_image): New parameters 'font_path' and 'format'.
2N/A Support embedding font.
2N/A Use grub_host_to_target* instead of grub_cpu_to_le*.
2N/A (generate_image) [GRUB_MACHINE_MIPS]: Support ELF encapsulation.
2N/A (options) [GRUB_PLATFORM_IMAGE_DEFAULT]: New option "--format".
2N/A (options): New option "--font".
2N/A (usage): Likewise.
2N/A (main) [GRUB_PLATFORM_IMAGE_DEFAULT]: Handle "--format".
2N/A (main): Handle "--font".
2N/A * term/gfxterm.c (grub_virtual_screen): New member bg_color_display.
2N/A (grub_virtual_screen_setup): Set bg_color_display.
2N/A (redraw_screen_rect): Use bg_color_display instead of incorrect
2N/A bg_color.
2N/A (grub_gfxterm_cls): Likewise.
2N/A * util/elf/grub-mkimage.c (load_modules): New parameter 'config_path'.
2N/A Support embedding config file.
2N/A (add_segments): Likewise.
2N/A (options): New option "--config".
2N/A (main): Handle "--config".
2N/A * video/sm712.c: New file.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix parallel builds.
2N/A
2N/A * conf/common.rmk (font/font.c_DEPENDENCIES): New variable (makes
2N/A font.c depend on ascii.h).
2N/A
2N/A2010-01-12 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * Makefile.in (DUSE_ASCII_FAILBACK): New macro.
2N/A
2N/A2010-01-11 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * font/font.c (GENERATE_ASCII): Change the name to USE_ASCII_FAILBACK.
2N/A By default: disabled.
2N/A * Makefile.in (ascii.h): Remove the non-needed grub/bin2h size
2N/A parameter.
2N/A
2N/A2010-01-10 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * font/font.c: Update copyright years.
2N/A * util/grub-mkfont.c (write_font_ascii_bitmap): Change comment format.
2N/A
2N/A2010-01-10 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * font/font.c: Include `ascii.h'.
2N/A (ASCII_BITMAP_SIZE): New macro.
2N/A (ascii_font_glyph): Define.
2N/A (ascii_glyph_lookup): New function.
2N/A (grub_font_get_string_width): Change comment. If glyph not found, use
2N/A ascii_glyph_lookup.
2N/A (grub_font_get_glyph_with_fallback): If glyph not available returns
2N/A ascii_glyph_lookup.
2N/A * util/grub-mkfont.c (file_formats): New enum.
2N/A (options): Add `ascii-bitmaps' new option.
2N/A (usage): Add `asii-bitmaps' new option.
2N/A (write_font_ascii_bitmap): New function.
2N/A (write_font): Rename to ...
2N/A (write_font_p2): ... this. Remove print_glyphs call.
2N/A (main): Use file_format. Implement code for ranges if ascii-bitmaps is
2N/A used. Call print_glyphs.
2N/A * Makefile.in (pkgdata_DATA): Add `ascii.h'.
2N/A
2N/A2010-01-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): Add `grub-bin2h'.
2N/A (grub_bin2h_SOURCES): New variable.
2N/A * util/bin2h.c: New file.
2N/A
2N/A2010-01-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/multiboot.h: Resynced with spec.
2N/A * include/multiboot2.h: Likewise.
2N/A * loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap): Handle
2N/A GRUB_MACHINE_MEMORY_ACPI_RECLAIMABLE and GRUB_MACHINE_MEMORY_NVS.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/term.h (grub_term_register_input,
2N/A grub_term_register_output): Check return of terminal init()
2N/A routines, and abort if errors are raised.
2N/A
2N/A * commands/terminal.c: Update copyright year.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * commands/terminal.c (grub_cmd_terminal_input)
2N/A (grub_cmd_terminal_output): Check return of terminal init()
2N/A routines, and abort if errors are raised.
2N/A
2N/A2010-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/bsd.h: Fix include pathes.
2N/A
2N/A2010-01-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add missing *BSD copyright headers.
2N/A
2N/A * include/grub/aout.h: Add BSD licence.
2N/A * include/grub/i386/bsd.h: Parts under different licences moved to ...
2N/A * include/grub/i386/freebsd_linker.h: ... here,
2N/A * include/grub/i386/freebsd_reboot.h: ... here,
2N/A * include/grub/i386/netbsd_bootinfo.h: ... here,
2N/A * include/grub/i386/netbsd_reboot.h: ... here,
2N/A * include/grub/i386/openbsd_bootarg.h: ... here,
2N/A * include/grub/i386/openbsd_reboot.h: ... and here. Added appropriate
2N/A licence to each file.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * acinclude.m4: Remove `nop' assembly instruction; it's not
2N/A implemented by all architectures.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/efi/linux.c (grub_cmd_linux): Stop pretending we're
2N/A ELILO. This is no longer necessary.
2N/A
2N/A2010-01-18 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Added new tool, grub-scrit-check to verify grub.cfg syntax.
2N/A
2N/A * util/grub-script-check.c: grub-script-check tool.
2N/A * conf/common.rmk: Make rules for grub-script-check.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix annoying UI bug in rescue mode. Thanks to Tristan Gingold for
2N/A spotting it back in 2008. Shame on me for forgetting he did.
2N/A
2N/A * kern/rescue_reader.c (grub_rescue_run): Skip zero-length lines.
2N/A
2N/A2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (GRUB_VIDEO_TYPE_TEXT): Rename to ...
2N/A (GRUB_VIDEO_LINUX_TYPE_TEXT): ... this. Update all users.
2N/A (GRUB_VIDEO_TYPE_VLFB): Rename to ...
2N/A (GRUB_VIDEO_LINUX_TYPE_VESA): ... this. Update all users.
2N/A (GRUB_VIDEO_TYPE_EFI): Rename to ...
2N/A (GRUB_VIDEO_LINUX_TYPE_SIMPLE): ... this. Update all users.
2N/A
2N/A2010-01-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/test.h: Add license header.
2N/A * tests/example_functional_test.c: Likewise.
2N/A * tests/example_unit_test.c: Likewise.
2N/A * tests/lib/functional_test.c: Likewise.
2N/A * tests/lib/test.c: Likewise.
2N/A * tests/lib/unit_test.c: Likewise.
2N/A
2N/A2010-01-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use flag-based instead of hook-based video mode selection and "auto"
2N/A keyword.
2N/A
2N/A * include/grub/video.h (grub_video_adapter): Changed 'setup' member.
2N/A (grub_video_set_mode): Changed prototype. All users updated.
2N/A (grub_video_check_mode_flag): New inline function.
2N/A * video/video.c (parse_modespec): New function.
2N/A (grub_video_set_mode): Parse flags and keywords.
2N/A
2N/A2010-01-17 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/misc.c (grub_util_info): Fix the order of the parameters in a
2N/A fprintf call.
2N/A
2N/A2010-01-16 Grégoire Sutre <gregoire.sutre@gmail.com>
2N/A
2N/A * genmk.rb (class SCRIPT): Replace option -i of sed by a pipe.
2N/A
2N/A2010-01-16 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/grub-editenv.c (usage): Use `program_name' instead of hardcoded
2N/A string.
2N/A * util/grub-emu.c (usage): Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c (usage): Likewise.
2N/A * util/i386/efi/grub-mkimage.c (usage): Likewise.
2N/A * util/i386/pc/grub-mkimage.c (usage): Likewise.
2N/A * util/i386/pc/grub-setup.c (usage): Likewise.
2N/A
2N/A2010-01-16 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/misc.c (grub_util_warn): Gettextizze, print full stop after
2N/A the message.
2N/A (grub_util_info): Likewise.
2N/A (grub_util_error): Likewise.
2N/A * util/elf/grub-mkimage.c: Fix capitalisation, quotes, full stops
2N/A and/or new lines in `grub_util_warna', `grub_util_info',
2N/A `grub_util_error' calls.
2N/A * util/getroot.c: Likewise.
2N/A * util/grub-editenv.c: Likewise.
2N/A * util/grub-emu.c: Likewise.
2N/A * util/grub-fstest.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-mkfont.c: Likewise.
2N/A * util/grub-mkpasswd-pbkdf2.c: Likewise.
2N/A * util/grub-mkrelpath.c: Likewise.
2N/A * util/grub-pe2elf.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/hostdisk.c: Likewise.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/ieee1275/ofpath.c: Likewise.
2N/A * util/mkisofs/eltorito.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A * util/raid.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-mkimage.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A
2N/A2010-01-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Enable multiboot on non-pc.
2N/A
2N/A * conf/i386-coreboot.rmk, conf/i386-pc.rmk (pkglib_MODULES): Move
2N/A multiboot.mod and multiboot2.mod to ...
2N/A * conf/i386.rmk (pkglib_MODULES): ... here.
2N/A * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_SOURCES):
2N/A Moved to ...
2N/A * conf/i386.rmk (multiboot_mod_SOURCES): .. here.
2N/A * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_CFLAGS):
2N/A Moved to ...
2N/A * conf/i386.rmk (multiboot_mod_CFLAGS): .. here.
2N/A * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_ASFLAGS):
2N/A Moved to ...
2N/A * conf/i386.rmk (multiboot_mod_ASFLAGS): .. here.
2N/A * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_LDFLAGS):
2N/A Moved to ...
2N/A * conf/i386.rmk (multiboot_mod_LDFLAGS): .. here.
2N/A * conf/x86_64-efi.rmk (pkglib_MODULES): Remove ata.mod and
2N/A relocator.mod.
2N/A (ata_mod_SOURCES): Removed.
2N/A (ata_mod_CFLAGS): Likewise.
2N/A (ata_mod_LDFLAGS): Likewise.
2N/A (relocator_mod_SOURCES): Removed.
2N/A (relocator_mod_CFLAGS): Likewise.
2N/A (relocator_mod_ASFLAGS): Likewise.
2N/A (relocator_mod_LDFLAGS): Likewise.
2N/A Include i386.mk.
2N/A * include/grub/x86_64/multiboot.h: New file.
2N/A * loader/i386/multiboot.c (grub_multiboot_boot) [GRUB_MACHINE_EFI]:
2N/A Terminate EFI.
2N/A
2N/A2010-01-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Video multiboot support.
2N/A
2N/A * include/grub/multiboot.h (grub_multiboot_set_accepts_video):
2N/A New prototype.
2N/A * include/multiboot.h: Resynced with multiboot specification.
2N/A * include/multiboot2.h: Likewise.
2N/A * loader/i386/multiboot.c (UNSUPPORTED_FLAGS): Support video flags.
2N/A (grub_multiboot): Parse MULTIBOOT_VIDEO_MODE fields.
2N/A * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): New constant.
2N/A (HAS_VGA_TEXT): Likewise.
2N/A (accepts_video): New variable.
2N/A (grub_multiboot_set_accepts_video): New function.
2N/A (grub_multiboot_get_mbi_size): Account for video structures.
2N/A (set_video_mode): New function.
2N/A (retrieve_video_parameters): Likewise.
2N/A (grub_multiboot_make_mbi): Fill video fields.
2N/A
2N/A2010-01-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Video driver ids.
2N/A
2N/A * include/grub/video.h (grub_video_driver_id): New type.
2N/A (grub_video_adapter): New member 'id'. All users updated.
2N/A (grub_video_get_driver_id): New proto.
2N/A * video/video.c (grub_video_get_driver_id): New function.
2N/A
2N/A2010-01-14 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/grub.d/30_os-prober.in: Use `set var=val' rather than plain
2N/A `var=val'.
2N/A
2N/A2010-01-14 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/cmdline.c (print_completion): Gettextizze.
2N/A
2N/A2001-01-14 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * loader/i386/pc/chainloader.c: Include `<grub/mm.h>'.
2N/A
2N/A2010-01-14 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * gettext/gettext.c (grub_gettext_translate): Push and pop
2N/A grub_errno.
2N/A (grub_gettext_delete_list): Change comment style.
2N/A * kern/err.c (grub_error): Gettextizze.
2N/A (grub_fatal): Gettextizze.
2N/A
2N/A2010-01-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/loader.h (grub_linux16_boot): Renamed to ...
2N/A (grub_linux16_real_boot): ... this.
2N/A * kern/i386/loader.S: Likewise.
2N/A * loader/i386/pc/linux.c: Include `<grub/video.h>' and `<grub/mm.h>'.
2N/A (grub_linux16_boot): New function. Switches to text mode and calls
2N/A grub_linux16_real_boot().
2N/A
2N/A * loader/i386/bsd.c: Include `<grub/video.h>'.
2N/A (grub_freebsd_boot, grub_openbsd_boot, grub_netbsd_boot): Switch to
2N/A text mode before calling grub_unix_real_boot().
2N/A
2N/A * loader/i386/multiboot.c: Include `<grub/video.h>'.
2N/A (grub_multiboot_boot): Switch to text mode before calling
2N/A grub_relocator32_boot().
2N/A
2N/A * loader/i386/pc/chainloader.c: Include `<grub/video.h>'.
2N/A (grub_chainloader_boot): Switch to text mode before calling
2N/A grub_chainloader_real_boot().
2N/A
2N/A2010-01-05 Jordan Uggla <jordan.uggla@gmail.com>
2N/A2010-01-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-reboot.in: Make sure prev_saved_entry always gets a
2N/A non-empty value.
2N/A
2N/A2010-01-05 Jordan Uggla <jordan.uggla@gmail.com>
2N/A2010-01-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Define a "savedefault" function for use
2N/A in menu entries.
2N/A * util/grub-mkconfig_lib.in (save_default_entry): Use it.
2N/A
2N/A2010-01-05 Jordan Uggla <jordan.uggla@gmail.com>
2N/A2010-01-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in (save_default_entry): Only set
2N/A saved_entry if boot_once is unset.
2N/A * util/grub.d/00_header.in: Set boot_once to "true" if there was a
2N/A previous saved entry (i.e. grub-reboot).
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Call save_default_entry for hurd.
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Use `set var=val' rather than plain
2N/A `var=val'.
2N/A * util/grub-mkconfig_lib.in (save_default_entry): Likewise.
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-reboot.in: Fix --version output.
2N/A * util/grub-set-default.in: Likewise.
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Silently ignore zero-sized environment
2N/A blocks.
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/00_header.in: Quote the value assigned to `default',
2N/A in case it contains spaces.
2N/A
2N/A2009-12-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Fix merge error that moved a
2N/A `save_default_entry' call from the macosx case to the linux case.
2N/A
2N/A2009-10-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2009-10-25 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * normal/menu.c (grub_menu_execute_entry): Save selected entry title
2N/A in `chosen' environment variable.
2N/A * normal/menu_text.c (get_entry_number): Check if the variable
2N/A matches the title of a menu entry.
2N/A (run_menu): Pass menu to get_entry_number.
2N/A
2N/A * util/grub-reboot.in: New file.
2N/A * util/grub-set-default.in: New file.
2N/A * conf/common.rmk (grub-reboot): New utility.
2N/A (grub-set-default): New utility.
2N/A
2N/A * util/grub-mkconfig_lib.in (save_default_entry): New function.
2N/A * util/grub.d/00_header.in: If GRUB_DEFAULT is `saved', set
2N/A default to `${saved_entry}'. If `${prev_saved_entry}' is non-empty,
2N/A move it to `saved_entry' for the next boot. Load environment on
2N/A initialisation.
2N/A * util/grub.d/10_kfreebsd.in: Call save_default_entry.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_linux.in (linux_entry): Likewise.
2N/A * util/grub.d/10_windows.in: Likewise.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A
2N/A * util/grub-install.in: Create environment block.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A * util/ieee1275/grub-install.in: Likewise.
2N/A * util/sparc64/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2010-01-14 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A Unit testing framework for GRUB.
2N/A
2N/A * Makefile.in: Test framework build rules for 'make check'.
2N/A * conf/tests.rmk: Build rules for individual tests and framework.
2N/A
2N/A * include/grub/test.h: Header file for whitebox tests.
2N/A * tests/lib/functional_test.c: Framework support for whitebox
2N/A functional tests.
2N/A * tests/lib/test.c: Common whitebox testing code for unit and
2N/A functional tests.
2N/A * tests/lib/unit_test.c: Framework support for whitebox unit
2N/A tests.
2N/A
2N/A * tests/util/grub-shell-tester.in: Support utility for grub-script
2N/A tests.
2N/A * tests/util/grub-shell.in: Utility to execute grub-script
2N/A commands in a Qemu instance.
2N/A
2N/A * tests/example_functional_test.c: Example whitebox functional
2N/A test.
2N/A * tests/example_grub_script_test.in: Example grub-script test.
2N/A * tests/example_scripted_test.in: Example scripted test.
2N/A * tests/example_unit_test.c: Example whitebox unit test.
2N/A
2N/A2010-01-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/i386-coreboot.rmk (multiboot_mod_SOURCES):
2N/A Add loader/i386/multiboot_mbi.c.
2N/A (multiboot2_mod_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (multiboot_mod_SOURCES): Likewise.
2N/A (multiboot2_mod_SOURCES): Likewise.
2N/A * include/grub/multiboot.h (grub_multiboot_get_mbi_size): New proto.
2N/A (grub_multiboot_make_mbi): Likewise.
2N/A (grub_multiboot_free_mbi): Likewise.
2N/A (grub_multiboot_init_mbi): Likewise.
2N/A (grub_multiboot_add_module): Likewise.
2N/A (grub_multiboot_set_bootdev): Likewise.
2N/A * loader/i386/multiboot.c (mbi): Removed.
2N/A (mbi_dest): Likewise.
2N/A (alloc_mbi): New variable.
2N/A (grub_multiboot_payload_size): Removed. All users updated.
2N/A (grub_multiboot_pure_size): New variable.
2N/A (grub_multiboot_boot): Use grub_multiboot_make_mbi.
2N/A (grub_multiboot_unload): Use grub_multiboot_free_mbi.
2N/A (grub_get_multiboot_mmap_len): Moved to loader/i386/multiboot_mbi.c.
2N/A (grub_fill_multiboot_mmap): Likewise.
2N/A (grub_multiboot_get_bootdev): Likewise.
2N/A (grub_multiboot): Use multiboot_mbi functions.
2N/A * loader/i386/multiboot_mbi.c: New file.
2N/A
2N/A2010-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/efi/init.c (grub_efi_fini): Don't call grub_efi_mm_fini as
2N/A it would result in module crash.
2N/A
2N/A2010-01-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Handle '\r'.
2N/A (grub_ofconsole_getwh): Split to ...
2N/A (grub_ofconsole_getwh): ... this.
2N/A (grub_ofconsole_dimensions): ...and this.
2N/A (grub_ofconsole_init_output): Call grub_ofconsole_dimensions.
2N/A
2N/A2010-01-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/rock.c (generate_rock_ridge_attributes): Fix a typo.
2N/A
2N/A2010-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/pc/multiboot2.c: Removed stalled file.
2N/A
2N/A2010-01-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/grub-mkpasswd-pbkdf2.c (main): Use grub_util_init_nls.
2N/A Reported by: Grégoire Sutre
2N/A
2N/A2010-01-11 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/misc.c (canonicalize_file_name): New function.
2N/A (make_system_path_relative_to_its_root): Use canonicalize_file_name()
2N/A instead of realpath().
2N/A
2N/A2010-01-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-install.in (usage): Clarify meaning of --root-directory,
2N/A and make it clearer that it's optional. Based on confusion
2N/A witnessed on IRC.
2N/A
2N/A2010-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/i386/pc/vga_text.c (inc_y): Fix off-by-one error which resulted
2N/A in premature implicit newline.
2N/A
2N/A2010-01-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Fix off-by-one error
2N/A which resulted in garbled command line at the end of screen.
2N/A
2N/A2010-01-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/ieee1275/linux.c (grub_linux_boot): Rework video position
2N/A initialization with similar approach as with other Linux loaders.
2N/A
2N/A2010-01-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix i386-ieee1275 build.
2N/A
2N/A * loader/i386/ieee1275/linux.c (grub_linux_boot): Use grub_term_width()
2N/A and grub_term_height() for video_{width,height} initialization.
2N/A
2N/A2010-01-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix grub-emu build.
2N/A
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Remove `kern/reader.c'.
2N/A
2N/A2010-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2010-01-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Support for multiple terminals.
2N/A
2N/A * Makefile.in (pkglib_DATA): terminal.lst.
2N/A (terminal.lst): New target.
2N/A * commands/handler.c (grub_cmd_handler): Don't handle terminals.
2N/A (GRUB_MOD_INIT(handler)): Likewise.
2N/A (GRUB_MOD_FINI(handler)): Likewise.
2N/A * commands/help.c (grub_cmd_help): Handle multiple terminals.
2N/A * commands/keystatus.c (grub_cmd_keystatus): Likewise.
2N/A * commands/sleep.c (do_print): Use grub_term_restore_pos.
2N/A (grub_cmd_sleep): Use grub_term_save_pos.
2N/A * commands/terminal.c: New file.
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Add normal/term.c
2N/A commands/terminal.c and lib/charset.c.
2N/A * conf/common.rmk (normal_mod_SOURCES): Add normal/term.c.
2N/A (pkglib_MODULES): Add terminal.mod.
2N/A (terminal_mod_SOURCES): New variable.
2N/A (terminal_mod_CFLAGS): Likewise.
2N/A (terminal_mod_LDFLAGS): Likewise.
2N/A * genhandlerlist.sh: Don't handle terminals.
2N/A * genmk.rb: Generate terminal-*.lst.
2N/A * genterminallist.sh: New file.
2N/A * include/grub/charset.h (grub_ucs4_to_utf8_alloc): New proto.
2N/A (grub_is_valid_utf8): Likewise.
2N/A (grub_utf8_to_ucs4_alloc): Likewise.
2N/A * include/grub/menu_viewer.h (grub_menu_viewer): Rewritten.
2N/A (grub_menu_register_viewer): Changed argument.
2N/A (grub_menu_try_text): New proto.
2N/A (grub_gfxmenu_try_hook): New declaration.
2N/A * include/grub/normal.h (grub_normal_exit_level): New declaration.
2N/A (grub_menu_init_page): Additional argument term.
2N/A (grub_normal_init_page): Likewise.
2N/A (grub_cmdline_get): Arguments simplified.
2N/A (grub_utf8_to_ucs4_alloc): Removed.
2N/A (grub_print_ucs4): Additional argument term.
2N/A (grub_getstringwidth): Likewise.
2N/A (grub_print_message_indented): Likewise.
2N/A (grub_menu_text_register_instances): New proto.
2N/A (grub_show_menu): Likewise.
2N/A (read_terminal_list): Likewise.
2N/A (grub_set_more): Likewise.
2N/A * include/grub/parser.h: Include handler.h.
2N/A * include/grub/reader.h: Rewritten.
2N/A * include/grub/term.h (GRUB_TERM_NEED_INIT): Removed.
2N/A (GRUB_TERM_WIDTH): Changed to function.
2N/A (GRUB_TERM_HEIGHT): Likewise.
2N/A (GRUB_TERM_BORDER_WIDTH): Likewise.
2N/A (GRUB_TERM_BORDER_HEIGHT): Likewise.
2N/A (GRUB_TERM_NUM_ENTRIES): Likewise.
2N/A (GRUB_TERM_ENTRY_WIDTH): Likewise.
2N/A (GRUB_TERM_CURSOR_X): Likewise.
2N/A (grub_term_input_class): Likewise.
2N/A (grub_term_output_class): Likewise.
2N/A (grub_term_outputs_disabled): New declaration.
2N/A (grub_term_inputs_disabled): Likewise.
2N/A (grub_term_outputs): Likewise.
2N/A (grub_term_inputs): Likewise.
2N/A (grub_term_register_input): Rewritten.
2N/A (grub_term_register_output): Likewise.
2N/A (grub_term_unregister_input): Likewise.
2N/A (grub_term_unregister_output): Likewise.
2N/A (FOR_ACTIVE_TERM_INPUTS): New macro.
2N/A (FOR_DISABLED_TERM_INPUTS): Likewise.
2N/A (FOR_ACTIVE_TERM_OUTPUTS): Likewise.
2N/A (FOR_DISABLED_TERM_OUTPUTS): Likewise.
2N/A * include/grub/terminfo.h: Add oterm argument to all protypes.
2N/A * kern/main.c (grub_main): Don't call grub_register_rescue_reader.
2N/A Use grub_rescue_run.
2N/A * kern/misc.c (grub_utf8_to_ucs4): Put '?' for invalid characters.
2N/A All users updated.
2N/A * kern/reader.c: Removed. All users updated.
2N/A * kern/rescue_reader.c (grub_rescue_init): Removed.
2N/A (grub_rescue_reader): Likewise.
2N/A (grub_register_rescue_reader): Likewise.
2N/A (grub_rescue_run): New function based on kern/reader.c.
2N/A * kern/term.c: Adapted for multiterm.
2N/A * lib/charset.c (grub_ucs4_to_utf8_alloc): New function.
2N/A (grub_is_valid_utf8): Likewise.
2N/A (grub_utf8_to_ucs4_alloc): Moved from normal/menu_text.c.
2N/A * loader/i386/efi/linux.c (grub_cmd_linux): Retrieve parameters of
2N/A right terminal.
2N/A * loader/i386/linux.c (grub_linux_boot): Likewise.
2N/A * normal/auth.c (grub_username_get): New function.
2N/A (grub_auth_check_authentication): Use grub_username_get.
2N/A * normal/cmdline.c: Changed to UCS4. Adapted for multiterm.
2N/A * normal/color.c: Adapt for multiterm.
2N/A * normal/main.c (read_config_file): Don't use grub_reader_loop.
2N/A (grub_normal_init_page): Additional argument term.
2N/A (read_lists): Call read_terminal_lists.
2N/A (grub_enter_normal_mode): Call grub_cmdline_run.
2N/A Handle grub_normal_exit_level.
2N/A (grub_cmd_normal): Make reentrant.
2N/A (grub_cmd_normal_exit): New function.
2N/A (grub_normal_reader_init): Additional argument nested. Handle multiterm.
2N/A * normal/menu.c: Adapt for multiterm.
2N/A * normal/menu_entry.c: Likewise.
2N/A * normal/menu_text.c: Likewise.
2N/A * normal/menu_viewer.c: Removed. All users updated.
2N/A * normal/term.c: New file.
2N/A * util/console.c: Change order of includes to workaround a bug in
2N/A ncurses headers.
2N/A * term/terminfo.c: New argument oterm on all exported functions.
2N/A All users updated.
2N/A * util/grub-editenv.c (grub_term_input_class): Removed.
2N/A (grub_term_output_class): Likewise.
2N/A
2N/A2010-01-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Make loader output a bit more user-friendly.
2N/A
2N/A * util/grub.d/10_hurd.in: Print message indicating that GNU Mach
2N/A is being loaded. Likewise for the Hurd.
2N/A
2N/A * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Print message indicating
2N/A that kernel of FreeBSD ${version} is being loaded.
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Move debug info to
2N/A grub_dprintf().
2N/A (grub_cmd_initrd): Likewise.
2N/A * util/grub.d/10_linux.in (linux_entry): Print message indicating
2N/A that Linux ${version} is being loaded. Likewise for initrd.
2N/A
2N/A2010-01-09 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * gettext/gettext.c (GRUB_MOD_INIT): Gettextizze.
2N/A
2N/A2010-01-08 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * loader/efi/appleloader.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/efi/chainloader.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/efi/linux.c: Include `<grub/i18n.h>'.
2N/A (grub_cmd_linux): Capitalise Linux.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/ieee1275/linux.c: Include `<grub/i18n.h>'.
2N/A (grub_cmd_linux): Capitalise Linux.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/linux.c: Include `<grub/i18n.h>'.
2N/A (grub_cmd_linux): Capitalise Linux.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/pc/chainloader.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/pc/linux.c: Include `<grub/i18n.h>'.
2N/A (grub_cmd_linux): Capitalise Linux.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/i386/xnu.c: Include `<grub/i18n.h>'.
2N/A (grub_cpu_xnu_init): Gettextizze.
2N/A * loader/multiboot_loader.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/powerpc/ieee1275/linux.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/sparc64/ieee1275/linux.c: Include `<grub/i18n.h>'.
2N/A (grub_linux_load64): Capitalise Linux.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * loader/xnu.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * po/POTFILES: Add `loader/efi/appleloader.c',
2N/A `loader/efi/chainloader.c', `loader/i386/efi/linux.c',
2N/A `loader/i386/ieee1275/linux.c', `loader/i386/linux.c',
2N/A `loader/i386/pc/chainloader.c', `loader/i386/pc/linux.c',
2N/A `loader/i386/xnu.c', `loader/multiboot_loader.c',
2N/A `loader/powerpc/ieee1275/linux.c', `loader/sparc64/ieee1275/linux.c'
2N/A and `loader/xnu.c'.
2N/A
2N/A2010-01-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * src/mkisofs.c: Remove `ifdef linux' portability kludge.
2N/A
2N/A2010-01-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/defaults.h (APPID_DEFAULT): Redefine using PACKAGE_NAME.
2N/A (SYSTEM_ID_DEFAULT): Set to "GNU" unconditionally.
2N/A * util/mkisofs/mkisofs.c (main): Readjust --version output.
2N/A
2N/A2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Reset Multiboot 2 support. New loader implements the draft in
2N/A /branches/multiboot2 and shares as much code as possible with the
2N/A production Multiboot 1 implementation.
2N/A
2N/A * loader/ieee1275/multiboot2.c: Remove file. Update all users.
2N/A * loader/multiboot2.c: Likewise.
2N/A * loader/i386/multiboot_helper.S: Likewise.
2N/A * include/multiboot2.h: Replace with latest version from the draft
2N/A in /branches/multiboot2.
2N/A
2N/A * conf/i386-coreboot.rmk (multiboot_mod_SOURCES): Remove
2N/A `loader/i386/multiboot_helper.S', `loader/i386/pc/multiboot2.c'
2N/A and `loader/multiboot2.c'.
2N/A (pkglib_MODULES): Add `multiboot2.mod'.
2N/A (multiboot2_mod_SOURCES): New variable.
2N/A (multiboot2_mod_LDFLAGS): Likewise.
2N/A (multiboot2_mod_CFLAGS): Likewise. Define `GRUB_USE_MULTIBOOT2'.
2N/A
2N/A * conf/i386-pc.rmk: Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'.
2N/A (multiboot_mod_SOURCES): Remove variable.
2N/A (multiboot_mod_LDFLAGS): Likewise.
2N/A (multiboot_mod_CFLAGS): Likewise.
2N/A
2N/A * include/grub/multiboot.h [GRUB_USE_MULTIBOOT2]: Include
2N/A `<multiboot2.h>' instead of `<multiboot.h>'.
2N/A [GRUB_USE_MULTIBOOT2] (MULTIBOOT_BOOTLOADER_MAGIC)
2N/A (MULTIBOOT_HEADER_MAGIC): New macros.
2N/A
2N/A * loader/multiboot_loader.c (module_version_status): Remove variable.
2N/A (find_multi_boot2_header): Remove function.
2N/A (grub_cmd_multiboot_loader): Remove Multiboot 2 / Multiboot 1 selection
2N/A logic. Always check for the Multiboot version we're compiling for.
2N/A (grub_cmd_module_loader): Likewise.
2N/A [GRUB_USE_MULTIBOOT2] (GRUB_MOD_INIT(multiboot)): Register `multiboot2'
2N/A command instead of `multiboot'.
2N/A
2N/A2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot.h (MULTIBOOT_UNSUPPORTED): Moved from here ...
2N/A * loader/i386/multiboot.c (UNSUPPORTED_FLAGS): ... to here. Update
2N/A all users.
2N/A
2N/A2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A2010-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix breakage introduced with previous commit.
2N/A
2N/A * normal/dyncmd.c (read_command_list): Avoid unregistering kernel
2N/A commands.
2N/A * normal/handler.c (read_handler_list): Revert part of previous commit
2N/A affecting this file.
2N/A * normal/main.c (read_lists): Move read_handler_list() call back to ...
2N/A (grub_normal_execute): ... here.
2N/A
2N/A2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Merge prefix-redefinition-fix branch.
2N/A
2N/A * normal/autofs.c (read_fs_list): Make function capable of being
2N/A run multiple times, gracefuly replacing the previous data
2N/A structures.
2N/A * normal/dyncmd.c (read_command_list): Likewise.
2N/A * normal/handler.c (read_handler_list): Likewise.
2N/A * normal/main.c (read_lists): New function. Calls all the
2N/A list reading functions.
2N/A (grub_normal_execute): Use read_lists() instead of calling all
2N/A list reading functions explicitly. Register read_lists() as a
2N/A variable hook attached to ${prefix}.
2N/A
2N/A2010-01-07 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Merge crypto branch.
2N/A
2N/A * Makefile.in (pkglib_DATA): Add crypto.lst.
2N/A (crypto.lst): New target.
2N/A * commands/hashsum.c: New file.
2N/A * commands/password.c (check_password): Use grub_crypto_memcmp.
2N/A * commands/password_pbkdf2.c: New file.
2N/A * commands/xnu_uuid.c: Remove MD5. Use GRUB_MD_MD5.
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Add lib/crypto.c,
2N/A normal/crypto.c and lib/libgcrypt-grub/cipher/md5.c.
2N/A (grub_emu_CFLAGS): Add -Wno-missing-field-initializers -Wno-error
2N/A -I$(srcdir)/lib/libgcrypt_wrap.
2N/A * conf/common.rmk (normal_mod_SOURCES): Add normal/crypto.c.
2N/A (pkglib_MODULES): Add crypto.mod, hashsum.mod, pbkdf2.mod and
2N/A password_pbkdf2.mod.
2N/A (crypto_mod_SOURCES): New variable.
2N/A (crypto_mod_CFLAGS): Likewise.
2N/A (crypto_mod_LDFLAGS): Likewise.
2N/A (hashsum_mod_SOURCES): New variable.
2N/A (hashsum_mod_CFLAGS): Likewise.
2N/A (hashsum_mod_LDFLAGS): Likewise.
2N/A (pbkdf2_mod_SOURCES): New variable.
2N/A (pbkdf2_mod_CFLAGS): Likewise.
2N/A (pbkdf2_mod_LDFLAGS): Likewise.
2N/A (password_pbkdf2_mod_SOURCES): New variable.
2N/A (password_pbkdf2_mod_CFLAGS): Likewise.
2N/A (password_pbkdf2_mod_LDFLAGS): Likewise.
2N/A (bin_UTILITIES): Add grub-mkpasswd-pbkdf2.
2N/A (grub_mkpasswd_pbkdf2_SOURCES): New variable.
2N/A (grub_mkpasswd_pbkdf2_CFLAGS): Likewise.
2N/A Include conf/gcry.rmk.
2N/A * include/grub/auth.h: Rewritten.
2N/A * include/grub/crypto.h: New file.
2N/A * include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_LUKS_ID.
2N/A * include/grub/normal.h (read_crypto_list): New prototype.
2N/A * lib/crypto.c: New file.
2N/A * lib/libgcrypt_wrap/cipher_wrap.h: Likewise.
2N/A * lib/pbkdf2.c: Likewise.
2N/A * normal/auth.c (grub_auth_strcmp): Removed.
2N/A (grub_iswordseparator): Likewise.
2N/A (grub_auth_strword): Likewise.
2N/A (is_authenticated): Use grub_strword.
2N/A (grub_auth_check_authentication): Use grub_strcmp, grub_password_get
2N/A and grub_strword. Pass entered password to authentication callback.
2N/A * normal/crypto.c: New file.
2N/A * normal/main.c: Call read_crypto_list.
2N/A * util/grub-mkpasswd-pbkdf2.c: New file.
2N/A * util/import_gcry.py: Generate crypto.lst. Add hash blocklen.
2N/A
2N/A2010-01-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix descent and ascent calculation.
2N/A
2N/A * util/grub-mkfont.c (grub_font_info): New fields 'asce' and 'max_y'.
2N/A (options): New option "asce".
2N/A (usage): Likewise.
2N/A (add_char): Ignore invalid glyphs for descent calculation.
2N/A Calculate ascent from actual content.
2N/A (print_glyphs): Use 'asce'.
2N/A (write_font): Likewise. Allow ascent override.
2N/A (main): Handle "asce" option.
2N/A
2N/A2010-01-06 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * kern/err.c: Include `<grub/i18n.h>'.
2N/A (grub_print_error): Add full stop. Gettextizze.
2N/A * loader/i386/bsd.c (grub_netbsd_boot): Change grub_error description.
2N/A (grub_bsd_load_elf): Capitalise ELF.
2N/A (grub_cmd_freebsd_loadenv): Add `s' in error string.
2N/A (grub_cmd_freebsd_module): Likewise.
2N/A (grub_cmd_freebsd_module_elf): Likewise.
2N/A * loader/i386/bsdXX.c (SUFFIX): Capitalise ELF.
2N/A
2N/A2010-01-06 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/search.c (GRUB_MOD_INIT): Use HELP_MESSAGE.
2N/A * commands/search_file.c (HELP_MESSAGE): New macro.
2N/A * commands/search_label.c (HELP_MESSAGE): Likewise.
2N/A * commands/search_uuid.c (HELP_MESSAGE): Likewise.
2N/A * po/POTFILES: Add `commands/search_file.c',
2N/A `commands/search_label.c', `commands_uuid.c'. Remove duplicate
2N/A `commands/search.c'.
2N/A
2N/A2010-01-05 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * config.rpath: Update from Gnulib.
2N/A
2N/A2010-01-05 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * commands/acpi.c (grub_acpi_create_ebda): fix incorrect message.
2N/A
2N/A2010-01-05 Yves Blusseau <yves.blusseau@zetam.org>
2N/A
2N/A * util/sparc64/ieee1275/grub-mkimage.c (main): Typo fix.
2N/A
2N/A2010-01-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/mkisofs/write.c (padblock_write): Switch size and nmemb
2N/A arguments to fread so that we get a return value in bytes, rather
2N/A than something that will normally be rounded down to 0.
2N/A Adjust error handling to avoid producing garbage when size_t is not
2N/A the same size as long long.
2N/A
2N/A2010-01-05 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/mkisofs/write.c (padblock_write): Check return value of
2N/A fread.
2N/A
2N/A2010-01-05 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Remove grub-mkfloppy. Images produced by grub-mkrescue are valid
2N/A floppy images now.
2N/A
2N/A * util/i386/pc/grub-mkfloppy.in: Remove. Update all users.
2N/A
2N/A2010-01-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Use ALIGN_UP macro
2N/A instead of manual alignment.
2N/A * kern/disk.c (grub_disk_read): Remove grub_dprintf call (excessively
2N/A verbose). Avoid attempts to read past end of the device
2N/A (grub_disk_adjust_range() guarantees that we can read `size' bytes,
2N/A but GRUB_DISK_CACHE_SIZE may exceed that).
2N/A
2N/A2010-01-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * commands/crc.c (grub_cmd_crc): Abort on read errors.
2N/A * fs/iso9660.c (grub_iso9660_read): Check for read error and pass
2N/A it to upper layer.
2N/A
2N/A2010-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE):
2N/A New constant.
2N/A (grub_efi_piwg_device_path): New structure
2N/A (grub_efi_piwg_device_path_t): New type.
2N/A * loader/efi/appleloader.c (piwg_full_device_path): New structure.
2N/A (devpath_1): Transform to a structure. All users updated.
2N/A (devpath_2): Likewise.
2N/A (devpath_3): Likewise.
2N/A (devpath_4): Likewise.
2N/A (devpath_5): Likewise.
2N/A
2N/A2010-01-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/efi/appleloader.c: Restored. Update all users.
2N/A
2N/A2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * boot/i386/pc/diskboot.S: Fix inaccurate comment.
2N/A
2N/A * util/i386/pc/grub-setup.c: Include `<assert.h>'.
2N/A (struct boot_blocklist): Move from here ...
2N/A * include/grub/i386/pc/boot.h [ASM_FILE]
2N/A (struct grub_boot_blocklist): ... to here. Update all users.
2N/A (setup): Only initialize `start' member of `first_block'
2N/A structure. Add assert() calls to verify the other members.
2N/A
2N/A * util/i386/pc/grub-mkimage.c: Include `<assert.h>'.
2N/A (generate_image): Fix broken blocklist length initialization.
2N/A Add assert() call to verify blocklist `segment' field.
2N/A
2N/A2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/efi/appleloader.c: Remove. Update all users.
2N/A
2N/A2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * boot/i386/pc/boot.S: Update copyright year.
2N/A * boot/i386/pc/cdboot.S: Likewise.
2N/A * boot/i386/pc/diskboot.S: Likewise.
2N/A * boot/i386/pc/lnxboot.S: Likewise.
2N/A * boot/i386/pc/pxeboot.S: Likewise.
2N/A * bus/pci.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * commands/hexdump.c: Likewise.
2N/A * commands/i386/pc/halt.c: Likewise.
2N/A * commands/i386/pc/play.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * disk/dmraid_nvidia.c: Likewise.
2N/A * disk/i386/pc/biosdisk.c: Likewise.
2N/A * disk/ieee1275/nand.c: Likewise.
2N/A * disk/ieee1275/ofdisk.c: Likewise.
2N/A * disk/lvm.c: Likewise.
2N/A * disk/raid.c: Likewise.
2N/A * disk/raid6_recover.c: Likewise.
2N/A * disk/scsi.c: Likewise.
2N/A * fs/affs.c: Likewise.
2N/A * fs/cpio.c: Likewise.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/ntfs.c: Likewise.
2N/A * fs/sfs.c: Likewise.
2N/A * fs/udf.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * gencmdlist.sh: Likewise.
2N/A * genmk.rb: Likewise.
2N/A * include/grub/disk.h: Likewise.
2N/A * include/grub/efi/api.h: Likewise.
2N/A * include/grub/efi/efi.h: Likewise.
2N/A * include/grub/efi/pe32.h: Likewise.
2N/A * include/grub/elf.h: Likewise.
2N/A * include/grub/fs.h: Likewise.
2N/A * include/grub/i386/at_keyboard.h: Likewise.
2N/A * include/grub/i386/pc/memory.h: Likewise.
2N/A * include/grub/i386/pc/vbe.h: Likewise.
2N/A * include/grub/i386/pci.h: Likewise.
2N/A * include/grub/i386/tsc.h: Likewise.
2N/A * include/grub/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/ntfs.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/sparc64/libgcc.h: Likewise.
2N/A * include/grub/symbol.h: Likewise.
2N/A * include/grub/types.h: Likewise.
2N/A * include/multiboot2.h: Likewise.
2N/A * io/gzio.c: Likewise.
2N/A * kern/device.c: Likewise.
2N/A * kern/disk.c: Likewise.
2N/A * kern/efi/efi.c: Likewise.
2N/A * kern/efi/mm.c: Likewise.
2N/A * kern/elf.c: Likewise.
2N/A * kern/file.c: Likewise.
2N/A * kern/i386/dl.c: Likewise.
2N/A * kern/i386/pc/init.c: Likewise.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * kern/ieee1275/ieee1275.c: Likewise.
2N/A * kern/ieee1275/init.c: Likewise.
2N/A * kern/main.c: Likewise.
2N/A * kern/mm.c: Likewise.
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/x86_64/dl.c: Likewise.
2N/A * lib/hexdump.c: Likewise.
2N/A * loader/efi/appleloader.c: Likewise.
2N/A * loader/i386/ieee1275/linux.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/i386/pc/multiboot2.c: Likewise.
2N/A * loader/ieee1275/multiboot2.c: Likewise.
2N/A * loader/multiboot2.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * normal/completion.c: Likewise.
2N/A * normal/menu_entry.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/hostfs.c: Likewise.
2N/A * video/readers/png.c: Likewise.
2N/A
2N/A2010-01-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/misc.h (GNUC_PREREQ): New macro.
2N/A (ATTRIBUTE_ERROR): New macro.
2N/A * include/grub/list.h (grub_bad_type_cast_real): Use
2N/A ATTRIBUTE_ERROR.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/menu_text.c (print_message): Change messages.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/menu_entry.c (store_completion): Gettextizze.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * kern/env.c (grub_env_unset): Set the variable to "" if has hooks.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * po/POTFILES: Sort correctly.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/acpi.c (GRUB_MOD_INIT): Capitalise some words from help.
2N/A * commands/efi/loadbios.c (GRUB_MOD_INIT): Capitalise BIOS.
2N/A * commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Remove space. Add
2N/A full stop.
2N/A * commands/loadenv.c (GRUB_MOD_INIT): Remove command name from
2N/A summary. Gettextizze the strings.
2N/A * commands/probe.c (grub_cmd_probe): Capitalise UUID and FS.
2N/A * commands/xnu_uuid.c (GRUB_MOD_INIT): Capitalise XNU.
2N/A * disk/loopback.c (grub_arg_options): Capitalise first letter. Add
2N/A full stop.
2N/A (GRUB_MOD_INIT): Remove command name from summary.
2N/A * hello/hello.c (GRUD_MOT_INIT): Add missing full stop. Improve the
2N/A summary.
2N/A * loader/i386/bsd.c (grub_arg_option): Capitalise CDROM.
2N/A * term/i386/pc/serial.c (options): Add full stops.
2N/A (GRUB_MOD_INIT): Remove command name from the summary.
2N/A
2N/A2010-01-03 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/acpi.c: Gettextizze help strings and/or options. Include
2N/A `grub/i18n.h' if needed.
2N/A * commands/blocklist.c: Likewise.
2N/A * commands/boot.c: Likewise.
2N/A * commands/cat.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/configfile.c: Likewise.
2N/A * commands/crc.c: Likewise.
2N/A * commands/date.c: Likewise.
2N/A * commands/echo.c: Likewise.
2N/A * commands/efi/fixvideo.c: Likewise.
2N/A * commands/efi/loadbios.c: Likewise.
2N/A * commands/gptsync.c: Likewise.
2N/A * commands/halt.c: Likewise.
2N/A * commands/handler.c: Likewise.
2N/A * commands/hdparm.c: Likewise.
2N/A * commands/hexdump.c: Likewise.
2N/A * commands/i386/cpuid.c: Likewise.
2N/A * commands/i386/pc/drivemap.c: Likewise.
2N/A * commands/i386/pc/halt.c: Likewise.
2N/A * commands/i386/pc/pxecmd.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/i386/pc/vbetest.c: Likewise.
2N/A * commands/ieee1275/suspend.c: Likewise.
2N/A * commands/keystatus.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/lsmmap.c: Likewise.
2N/A * commands/lspci.c: Likewise.
2N/A * commands/memrw.c: Likewise.
2N/A * commands/minicmd.c: Likewise.
2N/A * commands/parttool.c: Likewise.
2N/A * commands/password.c: Likewise.
2N/A * commands/probe.c: Likewise.
2N/A * commands/read.c: Likewise.
2N/A * commands/reboot.c: Likewise.
2N/A * commands/search.c: Likewise.
2N/A * commands/sleep.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * commands/true.c: Likewise.
2N/A * commands/usbtest.c: Likewise.
2N/A * commands/videotest.c: Likewise.
2N/A * commands/xnu_uuid.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * hello/hello.c: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * po/POTFILES: Add new files.
2N/A
2N/A2010-01-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * term/i386/pc/at_keyboard.c
2N/A (keyboard_controller_wait_untill_ready): Rename to ...
2N/A (keyboard_controller_wait_until_ready): ... this. Update all users.
2N/A
2N/A2010-01-01 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/help.c: Include `grub/mm.h' and `grub/normal.h'.
2N/A (grub_cmd_help): Print the cmd->name before the cmd->summary. Cut the
2N/A string using string width.
2N/A * normal/menu_text.c (grub_print_message_indented): Use
2N/A grub_print_spaces and not print_spaces.
2N/A (print_timeout): Likewise.
2N/A (print_spaces): Move to...
2N/A * include/grub/term.h: ... here. Change the name to grub_print_spaces.
2N/A
2N/A2010-01-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Import from Gnulib.
2N/A
2N/A * gnulib/getdelim.c: New file.
2N/A * gnulib/getline.c: Likewise.
2N/A
2N/A2009-12-31 BVK Chaitanya <bvk.groups@gmail.com>
2N/A
2N/A * include/grub/list.h (grub_assert_fail): Removed.
2N/A (grub_bad_type_cast_real): New function.
2N/A (grub_bad_type_cast): New macro.
2N/A (GRUB_AS_LIST): Use grub_bad_type_cast.
2N/A (GRUB_AS_LIST_P): Likewise.
2N/A (GRUB_AS_NAMED_LIST): Likewise.
2N/A (GRUB_AS_NAMED_LIST_P): Likewise.
2N/A (GRUB_AS_PRIO_LIST): Likewise.
2N/A (GRUB_AS_PRIO_LIST_P): Likewise.
2N/A * include/grub/handler.h (GRUB_AS_HANDLER): Likewise.
2N/A
2N/A2009-12-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT (linux)):
2N/A Fix syntax error.
2N/A
2N/A2009-12-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Check for TARGET_CFLAGS initialization before we
2N/A initialize it ourselves (sigh).
2N/A Move a few modifications to TARGET_CFLAGS to be unconditional
2N/A (extra warning flags, loop alignment, i386 CPU extensions, GCC 4.4
2N/A eh_frame)
2N/A
2N/A * gettext/gettext.c (grub_gettext_delete_list): Add `void' argument.
2N/A * term/i386/pc/at_keyboard.c
2N/A (keyboard_controller_wait_untill_ready): Likewise.
2N/A (keyboard_controller_led): Rename `led_status' paramter to avoid
2N/A name conflict.
2N/A
2N/A2009-12-28 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/misc.c (grub_normal_print_device_info): Add spaces and double
2N/A quotes.
2N/A
2N/A2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/parser.c (grub_parser_split_cmdline): Don't dereference NULL.
2N/A
2N/A2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/menu_text.c (grub_print_message_indented): Prevent
2N/A past-the-end-of-array dereference.
2N/A
2N/A2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/readers/jpeg.c (GRUB_MOD_FINI (grub_cmd_jpegtest)): Rename to ..
2N/A (GRUB_MOD_FINI (video_reader_jpeg)): ...this
2N/A
2N/A2009-12-27 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Print a space after prompt.
2N/A * normal/main.c (grub_normal_read_line): Remove a space from the
2N/A default prompt.
2N/A
2N/A2009-12-27 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * loader/i386/efi/linux.c (GRUB_MOD_INIT): Improve command summary.
2N/A * loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/xnu.c (GRUB_MOD_INIT): Likewise.
2N/A
2N/A2009-12-26 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * video/readers/jpeg.c (cmd): Declare.
2N/A (grub_cmd_jpegtest): Use `grub_command_t' type.
2N/A (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
2N/A Assign to `cmd'.
2N/A (GRUB_MOD_FINI): Use `cmd' to unregister.
2N/A * video/readers/png.c (cmd): Declare.
2N/A (grub_cmd_pngtest): Use `grub_command_t' type.
2N/A (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
2N/A Assign to `cmd'.
2N/A (GRUB_MOD_FINI): Use `cmd' to unregister.
2N/A * video/readers/tga.c (cmd): Declare.
2N/A (grub_cmd_tgatest): Use `grub_command_t' type.
2N/A (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
2N/A Assign to `cmd'.
2N/A (GRUB_MOD_FINI): Use `cmd' to unregister.
2N/A
2N/A2009-12-26 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * efiemu/main.c (GRUB_MOD_INIT): Fix capitalizations and/or full
2N/A stops.
2N/A * kern/corecmd.c (grub_register_core_commands): Likewise.
2N/A * loader/efi/chainloader.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/efi/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/pc/chainloader.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/multiboot_loader.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/xnu.c (GRUB_MOD_INIT): Likewise.
2N/A * mmap/mmap.c (GRUB_MOD_INIT): Likewise.
2N/A * normal/handler.c (insert_handler): Likewise.
2N/A * normal/main.c (GRUB_MOD_INIT): Likewise.
2N/A * term/gfxterm.c (GRUB_MOD_INIT): Likewise.
2N/A
2N/A2009-12-26 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/help.c (grub_cmd_help): Print the command name before the
2N/A summary.
2N/A (GRUB_MOD_INIT): Remove command name from the summary.
2N/A * kern/command.c (GRUB_MOD_INIT): If summary is null assign an empty
2N/A string as summary.
2N/A * lib/arg.c (find_long): Print the command name before the summary.
2N/A * commands/acpi.c (GRUB_MOD_INIT): Remove command name from the
2N/A summary.
2N/A * commands/blocklist.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/cat.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/cmp.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/configfile.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/crc.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/date.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/echo.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/efi/loadbios.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/gptsync.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/handler.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/hdparm.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/hexdump.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/cpuid.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/halt.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/pxecmd.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/keystatus.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/loadenv.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/ls.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/lspci.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/memrw.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/minicmd.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/parttool.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/password.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/probe.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/read.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/search.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/sleep.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/test.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/xnu_uuid.c (GRUB_MOD_INIT): Likewise.
2N/A * efiemu/main.c (GRUB_MOD_INIT): Likewise.
2N/A * font/font_cmd.c (GRUB_MOD_INIT): Likewise.
2N/A * gettext/gettext.c (GRUB_MOD_INIT): Likewise.
2N/A * kern/corecmd.c (GRUB_MOD_INIT): Likewise.
2N/A * lib/arg.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/efi/appleloader.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
2N/A * loader/xnu.c (GRUB_MOD_INIT): Likewise.
2N/A * mmap/mmap.c (GRUB_MOD_INIT): Likewise.
2N/A * term/terminfo.c (GRUB_MOD_INIT): Likewise.
2N/A * video/readers/jpeg.c (GRUB_MOD_INIT): Likewise.
2N/A * video/readers/png.c (GRUB_MOD_INIT): Likewise.
2N/A * video/readers/tga.c (GRUB_MOD_INIT): Likewise.
2N/A
2N/A2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use search command for preliminar UUID search.
2N/A
2N/A * commands/search.c: Split into ...
2N/A * commands/search_wrap.c: ...this
2N/A * commands/search.c: ...and this.
2N/A * commands/search_file.c: New file.
2N/A * commands/search_label.c: New file.
2N/A * commands/search_uuid.c: New file.
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Remove commands/search.c.
2N/A Add commands/search_wrap.c, commands/search_file.c,
2N/A commands/search_label.c and commands/search_uuid.c.
2N/A * conf/common.rmk (pkglib_MODULES): Remove fs_uuid.mod and fs_file.mod.
2N/A (search_mod_SOURCES): Set to commands/search_wrap.c.
2N/A (pkglib_MODULES): Add search_fs_file.mod, search_fs_uuid.mod and
2N/A search_label.mod.
2N/A (search_fs_file_mod_SOURCES): New variable.
2N/A (search_fs_file_mod_CFLAGS): Likewise.
2N/A (search_fs_file_mod_LDFLAGS): Likewise.
2N/A (search_label_mod_SOURCES): Likewise.
2N/A (search_label_mod_CFLAGS): Likewise.
2N/A (search_label_mod_LDFLAGS): Likewise.
2N/A (search_fs_uuid_mod_SOURCES): New variable.
2N/A (search_fs_uuid_mod_CFLAGS): Likewise.
2N/A (search_fs_uuid_mod_LDFLAGS): Likewise.
2N/A (fs_file_mod_SOURCES): Removed.
2N/A (fs_file_mod_CFLAGS): Likewise.
2N/A (fs_file_mod_LDFLAGS): Likewise.
2N/A (fs_uuid_mod_SOURCES): Removed.
2N/A (fs_uuid_mod_CFLAGS): Likewise.
2N/A (fs_uuid_mod_LDFLAGS): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_install_SOURCES):
2N/A Set to util/grub-install.in.
2N/A * disk/fs_file.c: Removed.
2N/A * disk/fs_uuid.c: Likewise.
2N/A * include/grub/search.h: New file.
2N/A * util/grub-install.in: Handle sparc64.
2N/A Create and use load.cfg.
2N/A * util/sparc64/ieee1275/grub-install.in: Removed.
2N/A
2N/A2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S (grub_biosdisk_get_diskinfo_int13_extensions):
2N/A Ignore return status if CF is cleared.
2N/A (grub_biosdisk_get_diskinfo_standard): Likewise.
2N/A
2N/A2009-12-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * term/i386/pc/at_keyboard.c
2N/A (keyboard_controller_wait_untill_ready): New function.
2N/A (grub_keyboard_controller_write, grub_keyboard_controller_read)
2N/A (keyboard_controller_led): Use keyboard_controller_wait_untill_ready()
2N/A for keyboard polling, rather than duplicate the same loop. This
2N/A saves a few bytes in code size.
2N/A
2N/A2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support for (pxe[:server[:gateway]]) syntax and
2N/A use environment variable for PXE.
2N/A
2N/A * commands/i386/pc/pxecmd.c (options): Removed.
2N/A (print_ip): Removed.
2N/A (grub_cmd_pxe): Removed
2N/A (grub_cmd_pxe_unload): New function.
2N/A * fs/i386/pc/pxe.c (grub_pxe_disk_data): New structure.
2N/A (grub_pxe_your_ip): Made static.
2N/A (grub_pxe_default_server_ip): Likewise.
2N/A (grub_pxe_default_gateway_ip): Likewise.
2N/A (grub_pxe_blksize): Likewise.
2N/A (parse_ip): New function.
2N/A (grub_pxe_open): Support server and gateway specification.
2N/A (grub_pxe_close): Free disk->data.
2N/A (grub_pxefs_open): Use disk->data.
2N/A (grub_pxefs_read): Likewise.
2N/A (grub_env_write_readonly): New function.
2N/A (set_mac_env): Likewise.
2N/A (set_env_limn_ro): Likewise.
2N/A (parse_dhcp_vendor): Likewise.
2N/A (grub_pxe_detect): Set the environment variables.
2N/A (set_ip_env): New function.
2N/A (write_ip_env): Likewise.
2N/A (grub_env_write_pxe_default_server): Likewise.
2N/A (grub_env_write_pxe_default_gateway): Likewise.
2N/A (grub_env_write_pxe_blocksize): Likewise.
2N/A (GRUB_MOD_INIT(pxe)): Set environment variables.
2N/A * include/grub/i386/pc/pxe.h (grub_pxe_mac_addr): Rename to ...
2N/A (grub_pxe_mac_addr_t): ... this. All users updated.
2N/A (grub_pxe_your_ip): Removed.
2N/A (grub_pxe_server_ip): Likewise.
2N/A (grub_pxe_gateway_ip): Likewise.
2N/A (grub_pxe_blksize): Likewise.
2N/A
2N/A2009-12-25 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/help.c: Include `<grub/i18n.h>'.
2N/A (grub_cmd_help): Gettextizze.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/play.c: Include `<grub/i18n.h>'.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * commands/search.c: Include `<grub/i18n.h>'.
2N/A (options): Gettextizze.
2N/A (GRUB_MOD_INIT): Gettextizze.
2N/A * lib/arg.c: Include `<grub/i18n.h>'.
2N/A (help_options): Gettextizze.
2N/A (find_long): Likewise.
2N/A (grub_arg_show_help): Likewise.
2N/A * normal/dyncmd.c: Include `<grub/i18n.h>'.
2N/A (read_command_list): Gettextizze.
2N/A * po/POTFILES: Add `commands/i386/pc/play.c', `commands/search.c',
2N/A `commands/help.c', `lib/arg.c' and `normal/dyncmd.c'.
2N/A
2N/A2009-12-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/at_keyboard.h (NUM_LOCK, SCROLL_LOCK): New macros.
2N/A * term/i386/pc/at_keyboard.c (KEYBOARD_STATUS_NUM_LOCK)
2N/A (KEYBOARD_LED_SCROLL, KEYBOARD_LED_NUM, KEYBOARD_LED_CAPS): New macros.
2N/A (led_status): New variable.
2N/A (keyboard_controller_led): New function.
2N/A (grub_at_keyboard_getkey_noblock): Handle num lock and scroll lock,
2N/A update led status for caps lock, num lock and scroll lock.
2N/A
2N/A2009-12-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/hostdisk.c (open_device): Fix a comment.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-install.in (host_os): New variable.
2N/A * util/i386/efi/grub-install.in (host_os): Likewise.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/write.c (padblock_write): Abort when given an
2N/A excedingly large embed image, instead of silently truncating it.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot.h: Indentation fixes.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot.h (struct multiboot_aout_symbol_table)
2N/A (struct multiboot_elf_section_header_table): New structure
2N/A declarations (stolen from GRUB Legacy).
2N/A (struct multiboot_info): Replace opaque `syms' with a.out and ELF
2N/A table information.
2N/A
2N/A (multiboot_aout_symbol_table_t, multiboot_elf_section_header_table_t)
2N/A (multiboot_info_t, multiboot_memory_map_t, multiboot_module_t): New
2N/A type aliases.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot.h: Make comments src2texi-friendly.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A For consistency with [multiboot]/docs/boot.S.
2N/A
2N/A * include/multiboot.h (MULTIBOOT_MAGIC): Rename from this ...
2N/A (MULTIBOOT_HEADER_MAGIC): ... to this. Update all users.
2N/A (MULTIBOOT_MAGIC2): Rename from this ...
2N/A (MULTIBOOT_BOOTLOADER_MAGIC): ... to this. Update all users.
2N/A
2N/A2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot.h: Remove `<grub/types.h>'.
2N/A (multiboot_uint16_t, multiboot_uint32_t, multiboot_uint64_t): New
2N/A types. Update all users.
2N/A
2N/A2009-12-25 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/efi/loadbios.c: Capitalize acronyms, replace `could not' by
2N/A `couldn't' and `can not' by `cannot'.
2N/A * commands/i386/pc/drivemap.c: Likewise.
2N/A * disk/ata.c: Likewise.
2N/A * disk/ieee1275/nand.c: Likewise.
2N/A * fs/affs.c: Likewise.
2N/A * fs/fat.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/reiserfs.c: Likewise.
2N/A * fs/sfs.c: Likewise.
2N/A * fs/udf.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/misc.c: Likewise.
2N/A
2N/A2009-12-24 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * bus/usb/usbhub.c: Fix capitalization, fullstop and newlines in
2N/A grub_errno calls.
2N/A * commands/acpi.c: Likewise.
2N/A * commands/blocklist.c: Likewise.
2N/A * commands/efi/loadbios.c: Likewise.
2N/A * commands/i386/pc/drivemap.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/memrw.c: Likewise.
2N/A * commands/password.c: Likewise.
2N/A * commands/videotest.c: Likewise.
2N/A * disk/ata.c: Likewise.
2N/A * disk/ata_pthru.c: Likewise.
2N/A * disk/dmraid_nvidia.c: Likewise.
2N/A * disk/ieee1275/nand.c: Likewise.
2N/A * disk/ieee1275/ofdisk.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * disk/lvm.c: Likewise.
2N/A * disk/mdraid_linux.c: Likewise.
2N/A * disk/raid.c: Likewise.
2N/A * disk/raid6_recover.c: Likewise.
2N/A * disk/scsi.c: Likewise.
2N/A * efiemu/main.c: Likewise.
2N/A * efiemu/mm.c: Likewise.
2N/A * efiemu/pnvram.c: Likewise.
2N/A * efiemu/symbols.c: Likewise.
2N/A * font/font.c: Likewise.
2N/A * fs/cpio.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/ntfs.c: Likewise.
2N/A * fs/ntfscomp.c: Likewise.
2N/A * fs/reiserfs.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * gettext/gettext.c: Likewise.
2N/A * include/grub/auth.h: Likewise.
2N/A * kern/elf.c: Likewise.
2N/A * kern/file.c: Likewise.
2N/A * kern/ieee1275/init.c: Likewise.
2N/A * kern/ieee1275/mmap.c: Likewise.
2N/A * kern/ieee1275/openfw.c: Likewise.
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * lib/arg.c: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/i386/bsdXX.c: Likewise.
2N/A * loader/i386/efi/linux.c: Likewise.
2N/A * loader/i386/efi/xnu.c: Likewise.
2N/A * loader/i386/ieee1275/linux.c: Likewise.
2N/A * loader/i386/linux.c: Likewise.
2N/A * loader/i386/multiboot.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/i386/pc/multiboot2.c: Likewise.
2N/A * loader/i386/xnu.c: Likewise.
2N/A * loader/ieee1275/multiboot2.c: Likewise.
2N/A * loader/macho.c: Likewise.
2N/A * loader/machoXX.c: Likewise.
2N/A * loader/multiboot2.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A * loader/xnu_resume.c: Likewise.
2N/A * mmap/i386/pc/mmap.c: Likewise.
2N/A * normal/menu_viewer.c: Likewise.
2N/A * partmap/acorn.c: Likewise.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * script/lexer.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A * video/bitmap.c: Likewise.
2N/A * video/efi_gop.c: Likewise.
2N/A * video/efi_uga.c: Likewise.
2N/A * video/fb/video_fb.c: Likewise.
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A * video/readers/tga.c: Likewise.
2N/A * video/video.c: Likewise.
2N/A
2N/A2009-12-23 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/i386/pc/drivemap.c: Remove all trailing whitespace.
2N/A * commands/lspci.c: Likewise.
2N/A * commands/probe.c: Likewise.
2N/A * commands/xnu_uuid.c: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * fs/i386/pc/pxe.c: Likewise.
2N/A * gettext/gettext.c: Likewise.
2N/A * include/grub/efi/graphics_output.h: Likewise.
2N/A * include/grub/i386/pc/memory.h: Likewise.
2N/A * kern/env.c: Likewise.
2N/A * kern/i386/qemu/startup.S: Likewise.
2N/A * lib/i386/pc/biosnum.c: Likewise.
2N/A * lib/i386/relocator.c: Likewise.
2N/A * lib/i386/relocator_asm.S: Likewise.
2N/A * lib/relocator.c: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/i386/multiboot.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/xnu.c: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/menu_text.c: Likewise.
2N/A * util/getroot.c: Likewise.
2N/A * util/grub-mkconfig_lib.in: Likewise.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A * util/mkisofs/eltorito.c: Likewise.
2N/A * util/mkisofs/exclude.h: Likewise.
2N/A * util/mkisofs/hash.c: Likewise.
2N/A * util/mkisofs/iso9660.h: Likewise.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A * util/mkisofs/multi.c: Likewise.
2N/A * util/mkisofs/name.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A * video/efi_gop.c: Likewise.
2N/A
2N/A2009-12-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/efi_gop.c (grub_video_gop_get_bitmask): Fix off-by-one in mask
2N/A size counting.
2N/A
2N/A2009-12-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkrescue.in (pkglib_DATA): Set to @pkglib_DATA@.
2N/A * genmk.rb (class SCRIPT): Modify the target file instead of source.
2N/A
2N/A2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/memrw.c (grub_cmd_write): Support for mask parameter.
2N/A (GRUB_MOD_INIT(memrw)): Update help line.
2N/A
2N/A2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/memrw.c (cmd_read_byte, cmd_read_word, cmd_read_dword):
2N/A Use grub_extcmd_t. All users updated.
2N/A (options): New variable.
2N/A (grub_cmd_read): Restructure for readability. Support "-v" option.
2N/A (grub_cmd_write): Restructure for readability.
2N/A
2N/A2009-12-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * genmk.rb (class SCRIPT): Prepend #{src} path with $(srcdir).
2N/A
2N/A2009-12-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * genmk.rb (class SCRIPT): Use sed to substitute @pkglib_DATA@
2N/A with the actual contents of the correspondending make variable.
2N/A * util/grub-mkrescue.in (pkglib_DATA): New variable.
2N/A (process_input_dir): Copy all $pkglib_DATA files instead of explicitly
2N/A specifying `*.lst' and `efiemu??.o'
2N/A
2N/A2009-12-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/30_os-prober.in (osx_entry): Add round brackets
2N/A after function name.
2N/A Noticed by Rene Engelhard <rene@debian.org>.
2N/A
2N/A2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/lspci.c (grub_pci_classes): Add "USB Controller".
2N/A (options): New variable.
2N/A (iospace): Likewise.
2N/A (grub_lspci_iter): List IO spaces if "-i" was given.
2N/A (grub_cmd_lspci): Parse options.
2N/A (GRUB_MOD_INIT(lspci)): Use extcmd.
2N/A (GRUB_MOD_FINI(lspci)): Likewise.
2N/A
2N/A2009-12-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/30_os-prober.in (osx_entry): Remove non POSIX compliant
2N/A `function' keyword.
2N/A Patch by Tony Mancill <tmancill@debian.org>.
2N/A
2N/A2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * bus/usb/uhci.c (grub_uhci_transfer): Set a limit transaction time.
2N/A (grub_uhci_portstatus): Likewise.
2N/A (grub_uhci_portstatus): Add necessary delay.
2N/A * bus/usb/usbhub.c (grub_usb_hub_add_dev): Fix loop-break condition.
2N/A
2N/A2009-12-21 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * commands/acpi.c (options): Fix capitalizations and/or full stops.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/boot.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/cmp.c (grub_cmd_cmp): Improve the help message.
2N/A * commands/echo.c (options): Fix capitalizations and/or full stops.
2N/A * commands/efi/loadbios.c (enable_rom_area): Likewise.
2N/A (enable_rom_area): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/gptsync.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/halt.c (GRUB_MOD_INIT): Improve the help message.
2N/A * commands/handler.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/hdparm.c (options): Fix capitalizations and/or full stops.
2N/A * commands/hexdump.c (options): Likewise.
2N/A * commands/i386/cpuid.c (options): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/drivemap.c (options): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/halt (options): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/pxecmd.c (options): Likewise.
2N/A * commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/keystatus.c (options): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/loadenv.c (options): Likewise.
2N/A * commands/ls.c (options): Likewise.
2N/A * commands/lspci.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/memrw.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/minicmd.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/parttool.c (helpmsg): Likewise.
2N/A * commands/probe.c (options): Likewise.
2N/A * commands/read.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/reboot.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/search.c (options): Likewise.
2N/A * commands/sleep.c (options): Likewise.
2N/A * commands/test.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/true.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/usbtest.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/videotest.c (GRUB_MOD_INIT): Likewise.
2N/A * lib/arg.c (help_options): Likewise.
2N/A * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass -ctranslate to
2N/A `$(XGETTEXT)'.
2N/A * po/POTFILES: Add `commands/loadenv.c'.
2N/A
2N/A2009-12-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkrescue.in (process_input_dir): Copy `*.lst' files
2N/A instead of specifying them explicit.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * NEWS: Add grub-probe support for GNU/Hurd.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * NEWS: gettext was added after 1.97.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/msdos_partition.h: New file (based on
2N/A include/grub/msdos_partition.h).
2N/A * util/mkisofs/mkisofs.c (use_protective_msdos_label): New variable.
2N/A (OPTION_PROTECTIVE_MSDOS_LABEL): New macro.
2N/A (ld_options, main): Recognize --protective-msdos-label.
2N/A * util/mkisofs/mkisofs.h (use_protective_msdos_label): New declaration.
2N/A * util/mkisofs/write.c: Include `"msdos_partition.h"'.
2N/A (padblock_write): If `use_protective_msdos_label' is set, patch a
2N/A protective DOS-style label in the output image.
2N/A
2N/A * util/grub-mkrescue.in: Use --protective-msdos-label.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk
2N/A boot.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New
2N/A variables.
2N/A (ld_options, main): Recognize `--embedded-boot'.
2N/A * util/mkisofs/mkisofs.h (use_embedded_boot, boot_image_embed): New
2N/A declarations.
2N/A * util/mkisofs/write.c (PADBLOCK_SIZE): New variable.
2N/A (padblock_size): Use `PADBLOCK_SIZE' instead of hardcoding 16.
2N/A (padblock_write): Likewise. Rewrite to support embedded boot image.
2N/A
2N/A * util/grub-mkrescue.in: When building i386-pc images, embed core.img
2N/A for BIOS-based disk boot instead of only ElTorito.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-mkrescue.in: Remove `configfile' and `sh' from i386-pc
2N/A build (not needed for bootstrap).
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules
2N/A from i386-pc build (not needed for bootstrap).
2N/A Rewrite a pair of strings.
2N/A
2N/A2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/main.c (grub_normal_reader_init): Set left margin back to 3.
2N/A
2N/A2009-12-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_fini): Set 'last_set_mode'.
2N/A
2N/A2009-12-21 Andreas Born <futur.andy@googlemail.com>
2N/A
2N/A * kern/env.c (grub_env_context_open): Mark exported variable for
2N/A reexport.
2N/A
2N/A2009-12-21 Andreas Born <futur.andy@googlemail.com>
2N/A
2N/A * kern/env.c (grub_env_export): Create nonexistent variables before
2N/A exporting.
2N/A
2N/A2009-12-20 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * include/grub/auth.h: Include `<grub/i18n.h>'.
2N/A (GRUB_GET_PASSWORD): Gettextizze string.
2N/A * include/grub/normal.h (STANDARD_MARGIN): New macro, moved from
2N/A menu_text.c.
2N/A (grub_utf8_to_ucs4_alloc): Fix indentation.
2N/A (grub_print_ucs4): Likewise.
2N/A (grub_getstringwidth): Likewise.
2N/A (print_message_indented): New declaration.
2N/A * normal/auth.c: Include `<grub/i18n.h>'.
2N/A (grub_auth_check_authentication): Gettexttize string.
2N/A * normal/cmdline.c: Include `<grub/i18n.h>'.
2N/A (grub_cmdline_get): Gettextizze.
2N/A * normal/color.c: Include `<grub/i18n.h>'.
2N/A (grub_parse_color_name_pair): Gettexttize strings.
2N/A * normal/main.c (grub_normal_reader_init): Cleanup gettexttized
2N/A string (use `print_message_indented').
2N/A * normal/menu_text.c (STANDARD_MARGIN): Moved from here to
2N/A `include/grub/normal.h'.
2N/A (print_message_indented): Renamed to ...
2N/A (grub_print_message_indented): ... this. Remove `static' qualifer (now
2N/A used in normal/main.c).
2N/A (print_message): Use `grub_print_message_indented' instead of
2N/A `print_message_indented'.
2N/A (print_timeout): Likewise.
2N/A * normal/misc.c: Include `<grub/term.h>' and `<grub/i18n.h>'.
2N/A (grub_normal_print_device_info): Gettexttize strings.
2N/A * po/POTFILES: Add `auth.c', `color.c' and `misc.c'.
2N/A
2N/A2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/parser.c (grub_parser_split_cmdline): Fix incorrect counting
2N/A of arguments. Return number of tokens and not arguments. All users
2N/A updated.
2N/A
2N/A2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Don't install on non-GPT,
2N/A non-MSDOS paritions.
2N/A
2N/A2009-12-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/types.h (UNUSED): Removed since it conflicts with
2N/A NetBSD headers. All users changed to direct __attribute__ ((unused)).
2N/A Reported by Grégoire Sutre.
2N/A
2N/A2009-12-19 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * include/grub/normal.h (grub_utf8_to_ucs4): New declaration.
2N/A (grub_print_ucs4_alloc): Likewise.
2N/A (grub_getstringwidth): Likewise.
2N/A * normal/main.c (grub_normal_init_page): Gettextize version string.
2N/A * normal/menu_text.c (grub_utf8_to_ucs4_alloc): New definition.
2N/A (getstringwidth): Renamed to ...
2N/A (grub_getstringwidth): ... this. Remove `static' qualifier (now used
2N/A in normal/main.c). Use `grub_utf8_to_ucs4_alloc'.
2N/A (grub_print_ucs4): Remove `static' qualifer (now used in
2N/A normal/main.c).
2N/A * po/POTFILES: Add normal/main.c.
2N/A
2N/A2009-12-19 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/menu_text.c (STANDARD_MARGIN): New macro.
2N/A (print_message_indented): Add `margin_left' and `margin_right'
2N/A parameters.
2N/A (print_message): Update `print_message_indented' calls. Adds '\n' to the
2N/A strings.
2N/A (print_timeout): Use `print_message_indented' to print the message.
2N/A Deletes `second_stage' parameter.
2N/A (run_menu): Update `print_timeout' calls.
2N/A
2N/A2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix console palette on OpenFirmware.
2N/A
2N/A * term/ieee1275/ofconsole.c (MAX): Removed.
2N/A (colors): Redone based on VGA palette.
2N/A (grub_ofconsole_setcolor): Discard brightness bit since only 8
2N/A colors are supported.
2N/A (grub_ofconsole_init_output): Use ARRAY_SIZE instead of hardcoded size.
2N/A
2N/A2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix potential EfiEmu double prepare.
2N/A
2N/A * efiemu/main.c (prepared): New variable
2N/A (grub_efiemu_unload): Set prepare to '0'.
2N/A (grub_efiemu_prepare): Return if already prepared. Set prepared.
2N/A
2N/A set_virtual_address_map support.
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_set_virtual_address_map): New
2N/A prototype.
2N/A * include/grub/efiemu/efiemu.h (grub_efiemu_write_sym_markers): New
2N/A prototype.
2N/A (grub_efiemu_crc32): Likewise.
2N/A (grub_efiemu_crc64): Likewise.
2N/A (grub_efiemu_set_virtual_address_map): Likewise.
2N/A * include/grub/autoefi.h (grub_autoefi_exit_boot_services):
2N/A New definition.
2N/A (grub_autoefi_set_virtual_address_map): Likewise.
2N/A * kern/efi/efi.c (grub_efi_set_virtual_address_map): New function.
2N/A * loader/i386/xnu.c (grub_xnu_boot): Call set_virtual_address_map.
2N/A Restructure flow to accomodate it.
2N/A * efiemu/prepare.c (grub_efiemu_prepare): Support set_virtual_address_map.
2N/A (grub_efiemu_crc): Recompute CRC32.
2N/A * efiemu/runtime/efiemu.c (ptv_relocated): Renamed to ...
2N/A (efiemu_ptv_relocated): ... this. Made global. All users updated.
2N/A * efiemu/symbols.c (relocated_handle): New variable.
2N/A (grub_efiemu_free_syms): Free relocated_handle.
2N/A (grub_efiemu_alloc_syms): Allocate relocated_handle.
2N/A (grub_efiemu_write_sym_markers): New function.
2N/A (grub_efiemu_set_virtual_address_map): Likewise.
2N/A
2N/A Newer XNU parameters.
2N/A
2N/A * include/grub/i386/xnu.h (GRUB_XNU_BOOTARGS_VERMINOR): Change to 5.
2N/A * include/grub/xnu.h (grub_xnu_extheader): Add nameaddr and namesize.
2N/A (grub_xnu_fill_devicetree): New prototype.
2N/A (grub_xnu_heap_real_start): New variable.
2N/A * loader/xnu.c (get_name_ptr): New function.
2N/A (grub_xnu_load_driver): Fill namelen and name.
2N/A
2N/A 64-bit xnu support.
2N/A
2N/A * conf/i386-efi.rmk (xnu_mod_SOURCES): Add 'loader/macho32.c'
2N/A and 'loader/macho64.c'.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * include/grub/i386/macho.h (grub_macho_thread64): New structure.
2N/A * include/grub/xnu.h (grub_xnu_is_64bit): New variable.
2N/A * include/grub/macho.h (grub_macho_segment64): New structure.
2N/A * include/grub/machoload.h (grub_macho32_size): Renamed from ...
2N/A (grub_macho_size32): ... to this.
2N/A (grub_macho32_get_entry_point): Renamed from ...
2N/A (grub_macho_get_entry_point32): ... to this.
2N/A (grub_macho_contains_macho64): New prototype.
2N/A (grub_macho_size64): Likewise.
2N/A (grub_macho_get_entry_point64): Likewise.
2N/A (grub_macho32_load): Renamed from ...
2N/A (grub_macho_load32): ... to this.
2N/A (grub_macho32_filesize): Renamed from ...
2N/A (grub_macho_filesize32): ... to this.
2N/A (grub_macho32_readfile): Renamed from ...
2N/A (grub_macho_readfile32): ... to this.
2N/A (grub_macho_filesize64): New prototype.
2N/A (grub_macho_readfile64): Likewise.
2N/A (grub_macho_parse32): Likewise.
2N/A (grub_macho_parse64): Likewise.
2N/A * loader/macho.c: Split into ...
2N/A * loader/machoXX.c: ... and this. Replace 32 with XX.
2N/A * loader/macho32.c: New file.
2N/A * loader/macho64.c: Likewise.
2N/A * loader/xnu.c (grub_xnu_is_64bit): New variable.
2N/A (grub_cmd_xnu_kernel): Make 32-bit only.
2N/A (grub_cmd_xnu_kernel64): New function.
2N/A (grub_xnu_load_driver): Support Mach-O 64.
2N/A (grub_cmd_xnu_mkext): Likewise.
2N/A * util/grub.d/30_os-prober.in (osx_entry): New function.
2N/A Generate entries for 64-bit boot too.
2N/A
2N/A Eliminate ad-hoc tree format in XNU and EfiEmu.
2N/A
2N/A * efiemu/main.c (grub_efiemu_prepare): Update comment.
2N/A * efiemu/pnvram.c: Rewritten to use environment variables.
2N/A All users updated.
2N/A
2N/A Inline utf16_to_utf8.
2N/A
2N/A * kern/misc.c (grub_utf16_to_utf8): Move from here ...
2N/A * include/grub/charset.h (grub_utf16_to_utf8): ... to here. Inlined.
2N/A All users updated.
2N/A * include/grub/misc.h (grub_utf16_to_utf8): Removed.
2N/A
2N/A * bus/usb/usb.c (grub_usb_get_string): Move from here ...
2N/A * commands/usbtest.c (grub_usb_get_string): ... move here.
2N/A (usb_print_str): Fix error handling.
2N/A * include/grub/usb.h (grub_usb_get_string): Remove.
2N/A
2N/A UTF-8 to UTF-16 transformation.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add charset.mod
2N/A (charset_mod_SOURCES): New variable.
2N/A (charset_mod_CFLAGS): Likewise.
2N/A (charset_mod_LDFLAGS): Likewise.
2N/A * include/grub/utf.h: New file.
2N/A * lib/utf.c: New file. (Based on grub_utf8_to_ucs4 from kern/misc.c)
2N/A
2N/A Support for device properties.
2N/A
2N/A * include/grub/i386/xnu.h (grub_xnu_devprop_header): New structure.
2N/A (grub_xnu_devprop_device_header): Likewise.
2N/A (grub_xnu_devprop_device_descriptor): Likewise.
2N/A (grub_xnu_devprop_add_device): New prototype.
2N/A (grub_xnu_devprop_remove_device): Likewise.
2N/A (grub_xnu_devprop_remove_property): Likewise.
2N/A (grub_xnu_devprop_add_property_utf8): Likewise.
2N/A (grub_xnu_devprop_add_property_utf16): Likewise.
2N/A (grub_cpu_xnu_init): Likewise.
2N/A (grub_cpu_xnu_fini): Likewise.
2N/A (grub_cpu_xnu_unload): Likewise.
2N/A * loader/i386/xnu.c (grub_xnu_devprop_device_descriptor): New structure.
2N/A (property_descriptor): Likewise.
2N/A (devices): New variable.
2N/A (grub_xnu_devprop_remove_property): New function.
2N/A (grub_xnu_devprop_add_device): Likewise.
2N/A (grub_xnu_devprop_remove_device): Likewise.
2N/A (grub_xnu_devprop_add_property): Likewise.
2N/A (grub_xnu_devprop_add_property_utf8): Likewise.
2N/A (grub_xnu_devprop_add_property_utf16): Likewise.
2N/A (hextoval): Likewise.
2N/A (grub_cpu_xnu_fill_devprop): Likewise.
2N/A (grub_cmd_devprop_load): Likewise.
2N/A (grub_xnu_boot): Call grub_cpu_xnu_fill_devprop,
2N/A grub_xnu_fill_devicetree, grub_xnu_fill_devicetree
2N/A (cmd_devprop_load): New variable.
2N/A (grub_cpu_xnu_init): New function.
2N/A (grub_cpu_xnu_fini): Likewise.
2N/A * loader/i386/xnu.c (grub_xnu_unload): Call grub_cpu_xnu_unload.
2N/A * loader/xnu.c (grub_xnu_parse_devtree): Remove.
2N/A (grub_cmd_xnu_devtree): Likewise.
2N/A (hextoval): New function.
2N/A (unescape): Likewise.
2N/A (grub_xnu_fill_devicetree): Likewise.
2N/A
2N/A * util/grub.d/30_os-prober.in: Load devprop.bin. Don't load devtree.txt.
2N/A * util/i386/efi/grub-dumpdevtree: Generate devprop.bin.
2N/A
2N/A2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Workaround for broken ATI VBE.
2N/A
2N/A * video/i386/pc/vbe.c (last_set_mode): New variable.
2N/A (grub_vbe_set_video_mode): Set 'last_set_mode'.
2N/A (grub_vbe_get_video_mode): Use 'last_set_mode' if get_mode fails.
2N/A (grub_video_vbe_setup): Don't check for reserved flag.
2N/A
2N/A2009-12-17 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * gendistlist.sh: Use POSIX compliant `!' instead of `-not' in
2N/A the `find' command.
2N/A
2N/A2009-12-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A UUID support for HFS.
2N/A
2N/A * fs/hfs.c (grub_hfs_uuid): New function.
2N/A (grub_hfs_fs): New value .uuid.
2N/A * include/grub/hfs.h (grub_hfs_sblock): New field 'num_serial'.
2N/A
2N/A2009-12-14 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A Fix a segfault with parsing unknown long options.
2N/A
2N/A * util/grub-mkrelpath.c (options): Zero terminate it.
2N/A
2N/A2009-12-13 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * include/grub/misc.h (grub_puts): New declaration.
2N/A (grub_puts_): Likewise.
2N/A * kern/misc.c (grub_puts): New definition.
2N/A (grub_puts_): Likewise.
2N/A
2N/A2009-12-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-probe.c (probe): Improve error message.
2N/A
2N/A2009-12-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/multiboot_elfxx.c
2N/A (CONCAT(grub_multiboot_load_elf, XX)): Fix `grub_multiboot_payload_eip'
2N/A initialization.
2N/A
2N/A2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Relocator framework
2N/A
2N/A * loader/i386/xnu_helper.S: Removed. All users updated.
2N/A * conf/i386.rmk (pkglib_MODULES): Add relocator.mod.
2N/A (relocator_mod_SOURCES): New variable.
2N/A (relocator_mod_CFLAGS): Likewise.
2N/A (relocator_mod_LDFLAGS): Likewise.
2N/A (relocator_mod_ASFLAGS): Likewise.
2N/A * conf/x86_64.rmk: Likewise.
2N/A * include/grub/i386/multiboot.h (grub_multiboot_payload_orig): Removed.
2N/A (grub_multiboot_payload_entry_offset): Likewise.
2N/A (grub_multiboot_forward_relocator): Likewise.
2N/A (grub_multiboot_forward_relocator_end): Likewise.
2N/A (grub_multiboot_backward_relocator): Likewise.
2N/A (grub_multiboot_backward_relocator_end): Likewise.
2N/A (grub_multiboot_payload_eip): New variable.
2N/A (grub_multiboot_payload_orig): Likewise.
2N/A * include/grub/i386/pc/memory.h: Include grub/i386/memory.h.
2N/A (GRUB_MEMORY_MACHINE_CR0_PE_ON): Move from here ...
2N/A * include/grub/i386/memory.h
2N/A (GRUB_MEMORY_CPU_CR0_PE_ON): ... to here
2N/A (GRUB_MEMORY_CPU_CR4_PAE_ON): New definition.
2N/A (GRUB_MEMORY_CPU_CR0_PAGING_ON): Likewise.
2N/A (GRUB_MEMORY_CPU_AMD64_MSR): Likewise.
2N/A (GRUB_MEMORY_CPU_AMD64_MSR_ON): Likewise.
2N/A * include/grub/i386/relocator.h: New file.
2N/A * include/grub/x86_64/relocator.h: Likewise.
2N/A * include/grub/i386/xnu.h: Include grub/cpu/relocator.h.
2N/A (XNU_RELOCATOR): New macro.
2N/A (grub_xnu_launcher_start): Remove.
2N/A (grub_xnu_launcher_end): Likewise.
2N/A * include/grub/xnu.h (grub_xnu_boot_resume): New prototype.
2N/A (grub_xnu_heap_real_start): Remove.
2N/A (grub_xnu_heap_start): Change to void *. All users updated.
2N/A * kern/i386/realmode.S (real_to_prot): Use GRUB_MEMORY_CPU_CR0_PE_ON.
2N/A * lib/i386/relocator.c: New file.
2N/A * lib/i386/relocator_asm.S: Likewise.
2N/A * lib/i386/relocator_backward.S: Likewise.
2N/A * lib/mips/relocator.c: Likewise.
2N/A * lib/mips/relocator_asm.S: Likewise.
2N/A * lib/relocator.c: Likewise.
2N/A * loader/i386/multiboot.c: Include grub/i386/relocator.h.
2N/A (entry): Removed.
2N/A (playground): Likewise.
2N/A (grub_multiboot_payload_orig): New variable.
2N/A (grub_multiboot_payload_dest): Likewise.
2N/A (grub_multiboot_payload_size): Likewise.
2N/A (grub_multiboot_payload_eip): Likewise.
2N/A (grub_multiboot_payload_esp): Likewise.
2N/A (grub_multiboot_boot): Use grub_relocator32_boot.
2N/A (grub_multiboot_unload): Free relocators.
2N/A (grub_multiboot): Setup stack. Use relocators.
2N/A * loader/i386/multiboot_elfxx.c: Include grub/i386/relocator.h.
2N/A (grub_multiboot_load_elfXX): Use relocators.
2N/A * loader/i386/multiboot_helper.S (grub_multiboot_payload_orig): Removed.
2N/A (grub_multiboot_payload_size): Likewise.
2N/A (grub_multiboot_payload_dest): Likewise.
2N/A (grub_multiboot_payload_entry_offset): Likewise.
2N/A (grub_multiboot_forward_relocator): Likewise.
2N/A (grub_multiboot_backward_relocator): Likewise.
2N/A (grub_multiboot_real_boot): Likewise.
2N/A * loader/i386/xnu.c (grub_xnu_heap_will_be_at): New variable.
2N/A (grub_xnu_entry_point): Likewise.
2N/A (grub_xnu_arg1): Likewise.
2N/A (grub_xnu_stack): Likewise.
2N/A (grub_xnu_launch): Removed.
2N/A (grub_xnu_boot_resume): New function.
2N/A (grub_xnu_boot): Use relocators.
2N/A * loader/i386/xnu_helper.S: Removed.
2N/A * loader/xnu.c (grub_xnu_heap_start): New variable.
2N/A (grub_xnu_heap_size): Likewise.
2N/A (grub_xnu_heap_malloc): Use relocators.
2N/A * loader/xnu_resume.c (grub_xnu_resume): Use relocators.
2N/A
2N/A2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S (multiboot_entry): Setup stack before calling
2N/A anything.
2N/A
2N/A2009-12-13 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * script/execute.c (grub_script_execute_cmdline): Set grub_errno to
2N/A GRUB_ERR_NONE before calling grub_env_set.
2N/A
2N/A2009-12-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * gendistlist.sh (EXTRA_DISTFILES): Add `genvideolist.sh'.
2N/A * genmk.rb (video): New variable.
2N/A (CLEANFILES, VIDEOFILES): Add #{video}.
2N/A (#{video}): New target rule.
2N/A * genvideolist.sh: New file.
2N/A * Makefile.in (pkglib_DATA): Add video.lst.
2N/A (video.lst): New target rule.
2N/A * util/grub-mkconfig.in: Initialize ${GRUB_VIDEO_BACKEND} using
2N/A `video.lst'.
2N/A * util/grub.d/30_os-prober.in: Replace `vbe' with
2N/A ${GRUB_VIDEO_BACKEND}.
2N/A
2N/A2009-12-11 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * THANKS: Add David Miller.
2N/A
2N/A2009-12-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A libpciaccess support.
2N/A
2N/A * Makefile.in (LIBPCIACCESS): New variable.
2N/A (enable_grub_emu_pci): Likewise.
2N/A * conf/any-emu.rmk (grub_emu_SOURCES) [enable_grub_emu_pci]: Add
2N/A util/pci.c and commands/lspci.c.
2N/A (grub_emu_LDFLAGS) [enable_grub_emu_pci]: Add $(LIBPCIACCESS).
2N/A * configure.ac (grub-emu-pci): New option.
2N/A * include/grub/i386/pci.h (grub_pci_device_map_range): New function.
2N/A (grub_pci_device_unmap_range): Likewise.
2N/A * include/grub/pci.h [GRUB_UTIL]: Include grub/pciutils.h.
2N/A (grub_pci_device) [!GRUB_UTIL]: New structure. All users updated.
2N/A (grub_pci_address_t) [!GRUB_UTIL]: New type.
2N/A (grub_pci_device_t) [!GRUB_UTIL]: Likewise.
2N/A (grub_pci_get_bus) [!GRUB_UTIL]: New function.
2N/A (grub_pci_get_device) [!GRUB_UTIL]: Likewise.
2N/A (grub_pci_get_function) [!GRUB_UTIL]: Likewise.
2N/A * include/grub/pciutils.h: New file.
2N/A * util/pci.c: Likewise.
2N/A
2N/A2009-12-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/misc.c: Don't include <errno.h> twice.
2N/A
2N/A2009-12-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Show the disk
2N/A name in an error message.
2N/A (grub_biosdisk_rw): Likewise.
2N/A
2N/A2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Eliminate NTFS 4Gib barrier.
2N/A
2N/A * fs/ntfs.c (read_attr): Use grub_disk_addr_t and grub_size_t.
2N/A (read_run_data): Likewise.
2N/A (grub_ntfs_read_run_list): Likewise.
2N/A (grub_ntfs_read_block): Likewise.
2N/A (grub_ntfs_iterate_dir): Likewise.
2N/A (read_mft): Likewise.
2N/A (read_data): Likewise.
2N/A Use COM_LOG_LEN.
2N/A * fs/ntfscomp.c (read_block): Cast ctx->target_vcn & 0xF to unsigned
2N/A to avoid 64-bit division
2N/A * include/grub/ntfs.h (COM_LOG_LEN): New definition.
2N/A (grub_ntfs_rlst): Use grub_disk_addr_t.
2N/A
2N/A2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Eliminate grub-fstest 4Gib barrier.
2N/A
2N/A * util/grub-fstest.c (skip, leng): Use grub_disk_addr_t.
2N/A (read_file): Fix error reporting.
2N/A
2N/A2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Eliminate hexdump 4Gib barrier.
2N/A
2N/A * commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_addr_t.
2N/A * lib/arg.c (grub_arg_parse): Use grub_strtoull.
2N/A
2N/A2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/device.c (grub_device_iterate): Ignore errors during first scan.
2N/A Fixes amarsh bug.
2N/A
2N/A2009-12-09 Bruce Dubbs <bruce.dubbs@gmail.com>
2N/A
2N/A Remove miscellaneous files in distclean target.
2N/A
2N/A * Makefile.in: Remove docs/{grub.info,version.texi,stamp-vti}
2N/A
2N/A2009-12-09 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig_lib.in: Don't set grub_probe or grub_mkrelpath
2N/A if they're already set. This resolves the conflict between my
2N/A grub-install change on 2009-10-06 and Felix' change on 2009-11-11,
2N/A fixing the --grub-probe option again.
2N/A * util/sparc64/ieee1275/grub-install.in: Revert the last piece of my
2N/A change on 2009-10-06, so that we now once again source
2N/A `${libdir}/grub/grub-mkconfig_lib' after options have been parsed.
2N/A
2N/A2009-12-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk [sparc64-ieee1275] (grub_mkdevicemap_SOURCES): Use
2N/A `util/ieee1275/ofpath.c' and `util/ieee1275/devicemap.c' instead of
2N/A `util/devicemap.c'.
2N/A
2N/A2009-12-08 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * include/grub/misc.h (grub_printf_): New declaration.
2N/A * kern/misc.c (grub_printf_): New definition.
2N/A * normal/main.c (grub_normal_reader_init): Use `grub_printf_' and `N_'
2N/A instead of `grub_printf' and `_'.
2N/A * normal/menu_entry.c (store_completion): Likewise.
2N/A (run): Likewise.
2N/A (grub_menu_entry_run): Likewise.
2N/A * normal/menu_text.c (grub_wait_after_message): Likewise.
2N/A (notify_booting): Likewise.
2N/A (notify_fallback): Likewise.
2N/A (notify_execution_failure): Likewise.
2N/A
2N/A2009-12-07 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Check for vasprintf.
2N/A * util/misc.c (asprintf): Move allocation from here ...
2N/A (vasprintf): ... to here. New function.
2N/A (xasprintf): New function.
2N/A * include/grub/util/misc.h (vasprintf, xasprintf): Add
2N/A prototypes.
2N/A * util/getroot.c (grub_util_get_grub_dev): Use xasprintf.
2N/A * util/grub-mkfont.c (write_font): Likewise.
2N/A * util/grub-probe.c (probe): Likewise.
2N/A * util/hostdisk.c (make_device_name): Likewise.
2N/A
2N/A2009-12-06 David S. Miller <davem@sunset.davemloft.net>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Recognize
2N/A anything even prefixed with 'cdrom' as a cdrom.
2N/A
2N/A2009-12-06 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/misc.c (make_system_path_relative_to_its_root): Correctly cope with
2N/A mount points.
2N/A
2N/A2009-12-05 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * gettext/gettext.c: Include `<grub/list.h>'. Define grub_gettext_msg,
2N/A grub_gettext_msg_list.
2N/A (grub_gettext_gettranslation_from_position): Return const char *
2N/A and not char *.
2N/A (grub_gettext_translate): Add the translated strings into a list,
2N/A returns from the list if existing there.
2N/A (grub_gettext_init_ext): Add \n at the end of grub_dprintf string.
2N/A (grub_gettext_delete_list): Delete the list.
2N/A (grub_gettext_env_write_lang): Call grub_gettext_delete_list when
2N/A lang environment variable is changed.
2N/A (GRUB_MOD_FINI): Call grub_gettext_delete_list.
2N/A
2N/A2009-12-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Rename kernel.mod to kernel.img.
2N/A
2N/A * conf/i386-efi.rmk (pkglib_MODULES): Change kernel.mod to kernel.img.
2N/A (kernel_mod_EXPORTS): Rename to ...
2N/A (kernel_img_EXPORTS): ... this.
2N/A (kernel_mod_SOURCES): Rename to ...
2N/A (kernel_img_SOURCES): ... this.
2N/A (kernel_mod_HEADERS): Rename to ...
2N/A (kernel_img_HEADERS): ... this. All users updated.
2N/A (kernel_mod_CFLAGS): Rename to ...
2N/A (kernel_img_CFLAGS): ... this.
2N/A (kernel_mod_ASFLAGS): Rename to ...
2N/A (kernel_img_ASFLAGS): ... this.
2N/A (kernel_mod_LDFLAGS): Rename to ...
2N/A (kernel_img_LDFLAGS): ... this.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * util/i386/efi/grub-mkimage.c (read_kernel_module): Rename to ...
2N/A (read_kernel_image): ... this. All users updated.
2N/A (read_kernel_image): Read "kernel.img" instead of "kernel.mod".
2N/A
2N/A2009-12-05 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/menu_text.c (grub_color_menu_high): Gettexttize string.
2N/A (print_spaces): New function.
2N/A (grub_print_ucs4): New function.
2N/A (getstringwidth): New function.
2N/A (print_message_indented): New function.
2N/A (print_message): Gettexttize strings using print_message_indented.
2N/A (run_menu): Replaces grub_printf by print_spaces and dynamic terminal
2N/A width.
2N/A (get_entry_number): Gettextize and uses dynamic terminal width.
2N/A (notify_booting, notify_fallback, notify_execution_failure):
2N/A Gettextize.
2N/A * normal/menu_entry.c (store_completion): Cleanup the gettextized
2N/A string.
2N/A (run): Likewise.
2N/A (grub_menu_entry_run): Likewise.
2N/A * PO/POTFILES: Add normal/menu_entry.c.
2N/A
2N/A2009-12-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac (TARGET_ASFLAGS): Add "-D<MACHINE>".
2N/A
2N/A2009-12-05 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/grub-install.in: Install gettext .mo files.
2N/A * util/grub-mkrescue.in (process_input_dir): Copy gettext .mo files.
2N/A
2N/A2009-12-05 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * gettext/gettext.c (grub_gettext_init_ext): Replace grub_printf with
2N/A grub_dprintf.
2N/A
2N/A2009-12-05 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_reboot): Disable for i386. The
2N/A non-firmware-dependant one in realmode.S takes precedence.
2N/A
2N/A2009-12-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * commands/halt.c: Replace misc arch-specific headers with
2N/A `<grub/misc.h>'.
2N/A * commands/reboot.c: Likewise.
2N/A * commands/i386/pc/halt.c: Replace `<grub/machine/init.h>' with
2N/A `<grub/misc.h>'.
2N/A * conf/i386-coreboot.rmk (kernel_img_HEADERS): Remove `cpu/reboot.h'.
2N/A (halt_mod_SOURCES): Move `kern/i386/halt.c' from here ...
2N/A (kernel_img_SOURCES): ... to here.
2N/A
2N/A * include/grub/efi/efi.h (grub_reboot, grub_halt): Remove prototypes.
2N/A * include/grub/i386/pc/init.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/kernel.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/kernel.h: Likewise.
2N/A
2N/A * include/grub/misc.h (grub_reboot, grub_halt): New prototypes.
2N/A
2N/A * include/grub/i386/halt.h: Remove.
2N/A * include/grub/i386/reboot.h: Likewise.
2N/A
2N/A * kern/i386/halt.c: Remove `<grub/cpu/halt.h>'.
2N/A
2N/A2009-12-03 David S. Miller <davem@sunset.davemloft.net>
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_mkimage_SOURCES,
2N/A grub_setup_SOURCES, grub_ofpathname_SOURCES): Add gnulib/progname.c
2N/A * util/sparc64/ieee1275/grub-mkimage.c: Include <grub/i18n.h> and
2N/A "progname.h"
2N/A * util/sparc64/ieee1275/grub-ofpathname.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A (usage): Add missing comma in printf.
2N/A
2N/A2009-12-02 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Use the same reboot approach on i386 coreboot and qemu as we do on
2N/A BIOS.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add `cpu/reboot.h'.
2N/A (reboot_mod_SOURCES): Remove `kern/i386/reboot.c'.
2N/A * kern/i386/reboot.c: Remove.
2N/A * include/grub/i386/reboot.h (grub_reboot): Export function.
2N/A * kern/i386/pc/startup.S (grub_reboot): Move from here ...
2N/A * kern/i386/realmode.S (grub_reboot): ... to here. Jump to
2N/A 0xf000:0xfff0 instead of 0xffff:0x0000.
2N/A [!GRUB_MACHINE_PCBIOS] (prot_to_real): Do not restore interrupts.
2N/A * kern/i386/qemu/startup.S: Include `"../realmode.S"'.
2N/A
2N/A2009-11-30 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix $srcdir != $objdir build.
2N/A
2N/A * Makefile.in (po/%.po): Rewrite as ...
2N/A ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): ... this.
2N/A
2N/A2009-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A Fix GNU/Hurd grub-install crash.
2N/A * util/grub-probe.c (probe): Try to access `path' only when it is not
2N/A NULL.
2N/A
2N/A2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Correct module naming.
2N/A
2N/A * video/efi_uga.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
2N/A (GRUB_MOD_INIT(efi_uga)): ... to this
2N/A (GRUB_MOD_FINI(efi_fb)): Renamed from this ...
2N/A (GRUB_MOD_FINI(efi_uga)): ... to this
2N/A * video/efi_gop.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
2N/A (GRUB_MOD_INIT(efi_gop)): ... to this
2N/A (GRUB_MOD_FINI(efi_fb)): Renamed from this ...
2N/A (GRUB_MOD_FINI(efi_gop)): ... to this
2N/A
2N/A2009-11-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/mkisofs.c (ld_options): Mark all `arg' strings as
2N/A translatable.
2N/A (usage): Translate `arg' strings using gettext().
2N/A Thanks to Jordi Mallach for the suggestion.
2N/A
2N/A2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A GOP support. Based on patch from Bean
2N/A (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)
2N/A
2N/A * video/efi_gop.c: New file.
2N/A * include/grub/efi/graphics_output.h: Likewise.
2N/A * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_gop.mod'.
2N/A (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
2N/A variables.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Rename efi_fb to efi_uga.
2N/A
2N/A * conf/i386-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
2N/A 'efi_uga.mod'.
2N/A (efi_fb_mod_SOURCES): Rename this ...
2N/A (efi_uga_mod_SOURCES): ... to this.
2N/A (efi_fb_mod_CFLAGS): Rename this ...
2N/A (efi_uga_mod_CFLAGS): ... to this.
2N/A (efi_fb_mod_LDFLAGS): Rename this ...
2N/A (efi_uga_mod_LDFLAGS): ... to this.
2N/A * conf/x86_64-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
2N/A 'efi_uga.mod'.
2N/A (efi_fb_mod_SOURCES): Rename this ...
2N/A (efi_uga_mod_SOURCES): ... to this.
2N/A (efi_fb_mod_CFLAGS): Rename this ...
2N/A (efi_uga_mod_CFLAGS): ... to this.
2N/A (efi_fb_mod_LDFLAGS): Rename this ...
2N/A (efi_uga_mod_LDFLAGS): ... to this.
2N/A * video/efi_fb.c: Move this ...
2N/A * video/efi_uga.c: ... to this. Change prefix to 'grub_video_uga_'.
2N/A
2N/A2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * po/README: New file. Explain our PO file workflow.
2N/A
2N/A2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * po/ChangeLog: Remove. Move relevant entries back to ...
2N/A * ChangeLog: ... here.
2N/A * po/ca.po: Remove (now handled by TLP).
2N/A * po/id.po: Likewise.
2N/A * po/zh_CN.po: Likewise.
2N/A * Makefile.in (LINGUAS): Initialize in a way that supports
2N/A empty set.
2N/A
2N/A2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
2N/A reliing on po/LINGUAS.
2N/A ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
2N/A (po/%.po): ... this.
2N/A
2N/A2009-11-26 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/efi/grub-mkimage.c: Include "progname.h".
2N/A (main): Use `program_name' instead of nonexistent `progname'.
2N/A
2N/A2009-11-26 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-efi.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.
2N/A * conf/x86_64-efi.rmk (grub_mkimage_SOURCES): Likewise.
2N/A
2N/A2009-11-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk: Cleanup stale filenames from my previous
2N/A commit.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A2009-11-26 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/any-emu.rmk (grub_emu_SOURCES): Add `gnulib/progname.c'.
2N/A
2N/A2009-11-26 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/any-emu.rmk (grub_mkfont_SOURCES): Add `gnulib/progname.c'.
2N/A
2N/A2009-11-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (sbin_UTILITIES): Add `grub-mkdevicemap'.
2N/A (grub_mkdevicemap_SOURCES): New variable.
2N/A (grub_probe_SOURCES, grub_fstest_SOURCES, grub_mkfont_SOURCES)
2N/A (grub_mkrelpath_SOURCES, grub_editenv_SOURCES)
2N/A (grub_pe2elf_SOURCES): Add `gnulib/progname.c'.
2N/A * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-mkdevicemap'.
2N/A (grub_mkdevicemap_SOURCES): Remove.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * util/elf/grub-mkimage.c: Include `<grub/i18n.h>' and `"progname.h"'.
2N/A (usage): Fix strings to use `program_name'.
2N/A (main): Initialize gettext.
2N/A * util/grub-editenv.c: Likewise.
2N/A * util/grub-emu.c: Likewise.
2N/A * util/grub-fstest.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-mkfont.c: Likewise.
2N/A * util/grub-mkrelpath.c: Likewise.
2N/A * util/grub-pe2elf.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-mkimage.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-ofpathname.c: Likewise.
2N/A * util/sparc64/ieee1275/grub-setup.c: Likewise.
2N/A
2N/A * util/misc.c: Include `"progname.h"'.
2N/A (progname): Remove variable.
2N/A (grub_util_warn, grub_util_info, grub_util_error): Use `program_name'.
2N/A
2N/A2009-11-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/10_linux.in (linux_entry): Quote the arguments to
2N/A printf and print a newline after the menuentry header line.
2N/A * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
2N/A
2N/A2009-11-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A autoconf >= 2.60 support $(localedir).
2N/A
2N/A * INSTALL: Note that autoconf 2.60 is required.
2N/A * configure.ac (AC_PREREQ): Bump to 2.60.
2N/A * util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased @localedir@.
2N/A * util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise.
2N/A
2N/A2009-11-25 Yves Blusseau <yves.blusseau@zetam.org>
2N/A
2N/A * configure.ac: move the call to AM_GNU_GETTEXT to avoid warnings when
2N/A aclocal is run.
2N/A
2N/A2009-11-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/main.c (grub_normal_read_line): Fix off-by-one
2N/A buffer overflow.
2N/A
2N/A2009-11-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/main.c (grub_normal_execute): Replace "parser.sh" with
2N/A "parser.grub" in grub_command_execute() call.
2N/A
2N/A2009-11-24 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add i18n.h.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * gettext/gettex.c: Include <grub/i18n.h>.
2N/A * include/grub/misc.h (grub_gettext_dummy, grub_gettext): Move from
2N/A here ...
2N/A * include/grub/i18n.h: ... to here
2N/A * include/grub/i18n.h: ... to here.
2N/A * kern/misc.c: Include <grub/i18n.h>
2N/A (grub_gettext_dummy): Move above user.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/Makefile.in (install-local): Convert a `for' into a normal
2N/A shell expansion.
2N/A
2N/A2009-11-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * autogen.sh: Add automake call.
2N/A * config.guess: Remove.
2N/A * config.sub: Likewise.
2N/A * install-sh: Likewise.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/Makefile.in (install-local): Fix the use of $lang shell variable.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/Makefile.in (install-local): Convert a make `$(foreach)'
2N/A function to a normal shell `for'.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-coreboot.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkrelpath.c: New file.
2N/A * conf/common.rmk (bin_UTILITIES): Add grub-mkrelpath.
2N/A (grub_mkrelpath_SOURCES): New variable.
2N/A * include/grub/util/misc.h: New function prototype.
2N/A * util/misc.c (make_system_path_relative_to_its_root): New function.
2N/A
2N/A * util/grub-mkconfig_lib.in (bindir): New variable.
2N/A (grub_mkrelpath): Likewise.
2N/A (make_system_path_relative_to_its_root): Use grub-mkrelpath.
2N/A
2N/A * util/probe.c (probe): Make the file path relative to its root.
2N/A Change a info message to use the GRUB path. Enable again the
2N/A check if we can read the file with GRUB facilities.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Make core.img path relative
2N/A to its root.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in: Don't include GRUB_CONTRIB makefiles with emu
2N/A platform.
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/getroot.c (grub_util_get_dev_abstraction): Properly use
2N/A strncmp().
2N/A
2N/A2009-11-24 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/getroot.c (grub_util_is_dmraid): New function.
2N/A (grub_util_get_dev_abstraction): Treat dmraid and multipath
2N/A devices as normal ones, not as LVM.
2N/A
2N/A2009-11-23 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * conf/common.rmk: Add grub-gettext_lib target and updates
2N/A lib_DATA and CLEANFILES. Adds gettext.mod SOURCES, CFLAGS,
2N/A LDFLAGS.
2N/A * gettext/gettext.c: New file. (Reads mo files).
2N/A * include/grub/file.h (grub_file_pread): New prototype.
2N/A * include/grub/i18n.h (_): New prototype.
2N/A * include/grub/misc.h (grub_gettext_dummy, grub_gettext): New
2N/A prototypes.
2N/A * kern/misc.c (grub_gettext_dummy): New function.
2N/A * normal/menu_text.c: Include <grub/i18n.h>.
2N/A * normal/menu_text.c (print_timeout): Gettexttize string.
2N/A * normal/menu_text.c (print_message): Gettexttize string.
2N/A * po/POTFILES: Add `normal/menu_text.c'.
2N/A * po/ca.po: Add new translations.
2N/A * util/grub.d/00_header.in: Define locale_dir and lang. insmod
2N/A gettext module and defines locale_dir and lang in grub.cfg.
2N/A * NEWS: Add gettext support.
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/hostdisk.c: Include `<grub/i18n.h>'.
2N/A (find_grub_drive): Use ARRAY_SIZE for map size calculation.
2N/A (make_device_name): Rewrite using asprintf.
2N/A (convert_system_partition_to_system_disk): Replace 0 with NULL.
2N/A (find_system_device): If a device is not found, generate one just
2N/A by reusing the OS path name.
2N/A (read_device_map): Make it permissible for device.map not to exist.
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * script/sh/execute.c: Move from here ...
2N/A * script/execute.c: ... to here. Update all users.
2N/A * script/sh/function.c: Move from here ...
2N/A * script/function.c: ... to here. Update all users.
2N/A * script/sh/lexer.c: Move from here ...
2N/A * script/lexer.c: ... to here. Update all users.
2N/A * script/sh/main.c: Move from here ...
2N/A * script/main.c: ... to here. Update all users.
2N/A * script/sh/parser.y: Move from here ...
2N/A * script/parser.y: ... to here. Update all users.
2N/A * script/sh/script.c: Move from here ...
2N/A * script/script.c: ... to here. Update all users.
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Detect all `emu' platforms. Define
2N/A GRUB_MACHINE_* macros in TARGET_CFLAGS. Remove
2N/A --enable-grub-emu logic. Disable include/grub/machine
2N/A symlink on `emu' platforms.
2N/A
2N/A * genkernsyms.sh.in: Use @TARGET_CFLAGS@ during symbol generation.
2N/A * gensymlist.sh.in: Likewise.
2N/A
2N/A * include/grub/i386/coreboot/machine.h: Remove file.
2N/A * include/grub/i386/efi/machine.h: Likewise.
2N/A * include/grub/i386/ieee1275/machine.h: Likewise.
2N/A * include/grub/i386/pc/machine.h: Likewise.
2N/A * include/grub/i386/qemu/machine.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/machine.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/machine.h: Likewise.
2N/A * include/grub/x86_64/efi/machine.h: Likewise.
2N/A
2N/A * commands/acpi.c: Remove `<grub/machine/machine.h>'.
2N/A * commands/halt.c: Likewise.
2N/A * commands/reboot.c: Likewise.
2N/A * include/grub/autoefi.h: Likewise.
2N/A * include/grub/i386/at_keyboard.h: Likewise.
2N/A * include/grub/i386/kernel.h: Likewise.
2N/A * include/grub/i386/loader.h: Likewise.
2N/A * include/grub/i386/pc/memory.h: Likewise.
2N/A * kern/dl.c: Likewise.
2N/A * kern/i386/coreboot/init.c: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/i386/linux.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/usb_keyboard.c: Likewise.
2N/A
2N/A * include/grub/time.h [!GRUB_MACHINE_EMU]: Remove
2N/A `<grub/machine/machine.h>'
2N/A [!GRUB_MACHINE_EMU] (GRUB_TICKS_PER_SECOND): New macro.
2N/A * util/misc.c: Remove `<grub/machine/machine.h>' and
2N/A `<grub/machine/time.h>'.
2N/A
2N/A * Makefile.in (enable_grub_emu): Remove variable.
2N/A Include $(srcdir)/conf/any-emu.mk for the `emu' platform.
2N/A
2N/A * conf/any-emu.rmk: New file.
2N/A * conf/common.rmk (grub_emu_init.lst, grub_emu_init.h)
2N/A (grub_emu_init.c): Move from here ...
2N/A * conf/any-emu.rmk: ... to here.
2N/A
2N/A * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-emu'.
2N/A (grub_emu_SOURCES, grub_emu_LDFLAGS): Move from here ...
2N/A * conf/any-emu.rmk: ... to here.
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/parser.h (grub_parser_register): Document need
2N/A of `name' parameter.
2N/A * normal/main.c (grub_normal_read_line): Simplify prompt string.
2N/A * script/sh/main.c (grub_sh_parser, GRUB_MOD_INIT(sh)): Rename
2N/A "sh" to "grub".
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to
2N/A `$(XGETTEXT)'.
2N/A * include/grub/i18n.h (N_): New macro.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A * util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings
2N/A around N_().
2N/A (usage): Use gettext() to translate help strings when printing them.
2N/A
2N/A2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Based on patch from Bean
2N/A (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)
2N/A
2N/A * video/efi_fb.c: New file.
2N/A * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_fb.mod'.
2N/A (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
2N/A variables.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A2009-11-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkimage.c: Ungettextize grub_util_info() strings.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A
2N/A2009-11-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/getroot.c [__GNU__]: Include <hurd.h>, <hurd/lookup.h>, and
2N/A <hurd/fs.h>
2N/A [__GNU__] (grub_guess_root_device): Call file_name_lookup and
2N/A file_get_storage_info to implement grub_guess_root_device.
2N/A
2N/A2009-11-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (target): Use make's builtin $(shell) function
2N/A instead of calling directly $(SHELL) to create the locale directories,
2N/A inside the $(foreach) function.
2N/A
2N/A2009-11-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkrescue.in: Print an error and usage if output option
2N/A has not been given.
2N/A
2N/A2009-11-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A Patch from Loïc Minier <loic.minier@ubuntu.com>.
2N/A * util/grub.d/30_os-prober.in: Cope with Linux entries where
2N/A root and /boot are on different devices.
2N/A
2N/A2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build for srcdir != objdir.
2N/A
2N/A * Makefile.in (po/$(PACKAGE).pot): Rename to ...
2N/A ($(srcdir)/po/$(PACKAGE).pot): ... this. Run $(XGETTEXT) from
2N/A $(srcdir).
2N/A ($(foreach lang, $(LINGUAS), po/$(lang).po)): Rename to ...
2N/A ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): ... this. Use $^
2N/A reference for input.
2N/A
2N/A2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-mkrescue.in: Use source directory direcly (without copiing
2N/A or hardlinking it). Remove -J option, Joliet is not compatible with
2N/A multiple source directories.
2N/A
2N/A2009-11-21 Carles Pina i Estany <carles@pina.cat>
2N/A2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-mkrescue.in: Recognize `--override-directory' option.
2N/A (process_input_dir): New function. Process an arbitrary input
2N/A directory.
2N/A Misc adjustments to support both "override mode" and system-wide mode.
2N/A
2N/A2009-11-20 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * configure.ac (UNIFONT_BDF): Rename to ...
2N/A (FONT_SOURCE): ... this. Update all users.
2N/A
2N/A2009-11-20 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * configure.ac: Add `/usr/share/fonts/X11/misc/unifont.pcf.gz'
2N/A to the list of unifont files to look for.
2N/A
2N/A2009-11-19 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Patch from Joe Auricchio <jauricchio@gmail.com>
2N/A * commands/minicmd.c (grub_mini_cmd_clear): New function.
2N/A (GRUB_MOD_INIT(minicmd)): Register grub_mini_cmd_clear().
2N/A (GRUB_MOD_FINI(minicmd)): Unregister grub_mini_cmd_clear().
2N/A
2N/A2009-11-19 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (install-local): Add a missing backslash.
2N/A
2N/A2009-11-19 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * include/grub/x86_64/io.h: New file.
2N/A
2N/A2009-11-19 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `gnulib/progname.c'.
2N/A * util/i386/pc/grub-setup.c: Include `<grub/i18n.h>'.
2N/A Include `"progname.h"'.
2N/A (main): Initialize gettext.
2N/A * util/i386/pc/grub-setup.c: Gettexttize.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A
2N/A * Makefile.in (po/*.po): Redefine as ...
2N/A ($(foreach lang, $(LINGUAS), po/$(lang).po)): ... this.
2N/A
2N/A * po/POTFILES: Add `util/i386/pc/grub-setup.c'.
2N/A
2N/A2009-11-19 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/progname.c'.
2N/A * util/mkisofs/mkisofs.c: Include `"progname.h"'.
2N/A (program_name): Remove.
2N/A (main): Initialize gettext support.
2N/A * util/mkisofs/mkisofs.h: Include `<locale.h>'.
2N/A Include `<libintl.h>'.
2N/A (_): New macro.
2N/A
2N/A * util/mkisofs/eltorito.c: Gettexttize.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/multi.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A
2N/A * po/POTFILES: Update with new files.
2N/A
2N/A2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/eltorito.c: Fix minor mistake in license text.
2N/A * util/mkisofs/iso9660.h: Likewise.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A
2N/A * util/mkisofs/eltorito.c (rcsid): Remove.
2N/A * util/mkisofs/hash.c: Likewise.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/name.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A
2N/A2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/match.c: Rewrite from scratch, using a linked list
2N/A instead of static allocation.
2N/A * util/mkisofs/match.h: Likewise.
2N/A
2N/A2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * po/POTFILES-shell: New file. List `util/grub.d/10_kfreebsd.in'
2N/A and `util/grub.d/10_linux.in'.
2N/A * Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for
2N/A translatable Shell files.
2N/A
2N/A2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in ($(srcdir)/aclocal.m4): New target.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * INSTALL: Document Automake is needed for bootstrap.
2N/A * po/ca.po: Fix PO-Revision-Date and Language-Team fields.
2N/A * util/grub.d/10_kfreebsd.in (bindir): New variable.
2N/A Add gettext initialization.
2N/A (kfreebsd_entry): Make menuentry output translatable.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (XGETTEXT, MSGMERGE, MSGFMT): New variables.
2N/A (po/$(PACKAGE).pot): Replace `xgettext' with `$(XGETTEXT)'.
2N/A (po/*.po): Replace `msgmerge' with `$(MSGMERGE)'.
2N/A (po/%.mo): Replace `msgfmt' with `$(MSGFMT)'.
2N/A (LINGUAS): Auto-generate using `po/LINGUAS'.
2N/A * po/LINGUAS: New file.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Call AM_GNU_GETTEXT() (defines localedir, among
2N/A other things).
2N/A * Makefile.in (CPPFLAGS): Add `-DLOCALEDIR=\"$(localedir)\"'.
2N/A * util/i386/pc/grub-mkimage.c (main): Issue setlocale() and
2N/A bindtextdomain() calls for gettext initialization.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * gnulib/progname.c: New file (imported from Gnulib).
2N/A * gnulib/progname.h: Likewise.
2N/A * conf/i386-pc.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.
2N/A * util/i386/pc/grub-mkimage.c: Include `"progname.h"'.
2N/A (usage): Replace `progname' with `program_name'.
2N/A (main): Use set_program_name() for program name initialization.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib'
2N/A from here ...
2N/A * Makefile.in (CPPFLAGS): ... to here.
2N/A
2N/A2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * aclocal.m4: Move from here ...
2N/A * acinclude.m4: ... to here.
2N/A * autogen.sh: Add call to `aclocal'.
2N/A * configure.ac: Add AM_INIT_AUTOMAKE() after AC_INIT() call.
2N/A
2N/A2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (CLEANFILES): Add `po/*.mo'.
2N/A (LINGUAS): New variable.
2N/A (all-local): Add `$(foreach lang, $(LINGUAS), po/$(lang).mo)'.
2N/A (install-local): Install MO files.
2N/A (po/$(PACKAGE).pot, po/*.po, po/%.mo): New rules.
2N/A * include/grub/i18n.h: New file.
2N/A * po/POTFILES: New file.
2N/A * po/ca.po: New file.
2N/A * util/grub.d/10_linux.in (bindir): New variable.
2N/A Add gettext initialization.
2N/A (linux_entry): Make menuentry output translatable.
2N/A * util/i386/pc/grub-mkimage.c: Include `<grub/i18n.h>'.
2N/A (usage): Make --help output translatable.
2N/A (main): Initialize gettext.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * import_gcry.py: New file (written by Vladimir with minor
2N/A adjustments).
2N/A * autogen.sh: Use import_gcry.py to auto-generate GRUB-ified
2N/A ciphers.
2N/A * INSTALL: Document that Python is required for bootstrap.
2N/A
2N/A2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Import ciphers from libgcrypt 1.4.4.
2N/A
2N/A * lib/libgcrypt/cipher/ChangeLog
2N/A * lib/libgcrypt/cipher/ac.c
2N/A * lib/libgcrypt/cipher/arcfour.c
2N/A * lib/libgcrypt/cipher/bithelp.h
2N/A * lib/libgcrypt/cipher/blowfish.c
2N/A * lib/libgcrypt/cipher/camellia-glue.c
2N/A * lib/libgcrypt/cipher/camellia.c
2N/A * lib/libgcrypt/cipher/camellia.h
2N/A * lib/libgcrypt/cipher/cast5.c
2N/A * lib/libgcrypt/cipher/cipher.c
2N/A * lib/libgcrypt/cipher/crc.c
2N/A * lib/libgcrypt/cipher/des.c
2N/A * lib/libgcrypt/cipher/dsa.c
2N/A * lib/libgcrypt/cipher/ecc.c
2N/A * lib/libgcrypt/cipher/elgamal.c
2N/A * lib/libgcrypt/cipher/hash-common.c
2N/A * lib/libgcrypt/cipher/hash-common.h
2N/A * lib/libgcrypt/cipher/hmac-tests.c
2N/A * lib/libgcrypt/cipher/md.c
2N/A * lib/libgcrypt/cipher/md4.c
2N/A * lib/libgcrypt/cipher/md5.c
2N/A * lib/libgcrypt/cipher/primegen.c
2N/A * lib/libgcrypt/cipher/pubkey.c
2N/A * lib/libgcrypt/cipher/rfc2268.c
2N/A * lib/libgcrypt/cipher/rijndael-tables.h
2N/A * lib/libgcrypt/cipher/rijndael.c
2N/A * lib/libgcrypt/cipher/rmd.h
2N/A * lib/libgcrypt/cipher/rmd160.c
2N/A * lib/libgcrypt/cipher/rsa.c
2N/A * lib/libgcrypt/cipher/seed.c
2N/A * lib/libgcrypt/cipher/serpent.c
2N/A * lib/libgcrypt/cipher/sha1.c
2N/A * lib/libgcrypt/cipher/sha256.c
2N/A * lib/libgcrypt/cipher/sha512.c
2N/A * lib/libgcrypt/cipher/tiger.c
2N/A * lib/libgcrypt/cipher/twofish.c
2N/A * lib/libgcrypt/cipher/whirlpool.c
2N/A
2N/A2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build for systems without error().
2N/A
2N/A * gnulib/error.c: New file (imported from Gnulib).
2N/A * gnulib/error.h: Likewise.
2N/A * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/error.c'.
2N/A * util/mkisofs/mkisofs.c (program_name): Remove `static' qualifier
2N/A (this variable is now used by error()).
2N/A
2N/A2009-11-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/mkisofs/name.c (iso9660_file_length): Use isascii macro
2N/A instead of relying that char is signed.
2N/A
2N/A2009-11-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing
2N/A blocksize different from specified.
2N/A (grub_pxefs_read): Likewise.
2N/A
2N/A2009-11-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A Enable ata.mod on x86_64-efi, i386-efi and i386-ieee1275.
2N/A
2N/A * disk/ata.c (grub_ata_dumpinfo): Add a cast.
2N/A (grub_ata_readwrite): Likewise. Update 2 format strings.
2N/A (grub_atapi_read): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Move `ata.mod' from here ...
2N/A * conf/i386.rmk (pkglib_MODULES): ... to here ...
2N/A * conf/x86_64-efi.rmk (pkglib_MODULES): ... and here.
2N/A * conf/i386-coreboot.rmk (ata_mod_SOURCES, ata_mod_CFLAGS)
2N/A (ata_mod_LDFLAGS): Move from here ...
2N/A * conf/i386.rmk: ... to here ...
2N/A * conf/x86_64-efi.rmk: ... and here.
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Remove `ata.mod'
2N/A (ata_mod_SOURCES, ata_mod_CFLAGS, ata_mod_LDFLAGS): Remove.
2N/A
2N/A2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Relicense multiboot.h, with RMS' blessing.
2N/A
2N/A * include/multiboot.h: Change to X11 license.
2N/A
2N/A2009-11-15 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Support --version in grub-mkisofs.
2N/A
2N/A * util/mkisofs/mkisofs.c (rcsid): Remove variable.
2N/A (OPTION_VERSION): New macro.
2N/A (ld_options): Recognize --version.
2N/A (usage): Move `program_name' from here ...
2N/A (program_name): ... to here. Add `static' qualifier.
2N/A (main): Recognize `OPTION_VERSION'.
2N/A
2N/A2009-11-15 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include'
2N/A with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'.
2N/A
2N/A2009-11-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix help2man generation for mkisofs.
2N/A
2N/A * util/mkisofs/mkisofs.c (ld_options): Recognize --help.
2N/A (usage): Send output to stdout (rather than stderr).
2N/A
2N/A2009-11-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk (grub_mkrescue_SOURCES): Replace
2N/A `util/i386/coreboot/grub-mkrescue.in' with `util/grub-mkrescue.in'.
2N/A * conf/i386-pc.rmk (grub_mkrescue_SOURCES): Replace
2N/A `util/i386/pc/grub-mkrescue.in' with `util/grub-mkrescue.in'.
2N/A (bin_SCRIPTS): Add `grub-mkfloppy'.
2N/A (grub_mkfloppy_SOURCES): New variable.
2N/A
2N/A * util/grub-mkrescue.in: New file.
2N/A * util/i386/pc/grub-mkfloppy.in: New file.
2N/A
2N/A * util/i386/coreboot/grub-mkrescue.in: Remove.
2N/A * util/i386/pc/grub-mkrescue.in: Remove.
2N/A
2N/A2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/multiboot.h (struct grub_multiboot_header): Move
2N/A from here ...
2N/A * include/multiboot.h (struct multiboot_header): ... to here. Update
2N/A all users.
2N/A * include/grub/multiboot.h (struct grub_multiboot_info): Move
2N/A from here ...
2N/A * include/multiboot.h (struct multiboot_info): ... to here. Update
2N/A all users.
2N/A * include/grub/multiboot.h (struct grub_multiboot_mmap_entry): Move
2N/A from here ...
2N/A * include/multiboot.h (struct multiboot_mmap_entry): ... to here.
2N/A Update all users.
2N/A * include/grub/multiboot.h (struct grub_mod_list): Move
2N/A from here ...
2N/A * include/multiboot.h (struct multiboot_mod_list): ... to here.
2N/A Update all users.
2N/A
2N/A2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/multiboot2.h (multiboot_word): Rename from this ...
2N/A (multiboot2_word): ... to this. Update all users.
2N/A (multiboot_header): Rename from this ...
2N/A (multiboot2_header): ... to this. Update all users.
2N/A (multiboot_tag_header): Rename from this ...
2N/A (multiboot2_tag_header): ... to this. Update all users.
2N/A (multiboot_tag_start): Rename from this ...
2N/A (multiboot2_tag_start): ... to this. Update all users.
2N/A (multiboot_tag_name): Rename from this ...
2N/A (multiboot2_tag_name): ... to this. Update all users.
2N/A (multiboot_tag_module): Rename from this ...
2N/A (multiboot2_tag_module): ... to this. Update all users.
2N/A (multiboot_tag_memory): Rename from this ...
2N/A (multiboot2_tag_memory): ... to this. Update all users.
2N/A (multiboot_tag_unused): Rename from this ...
2N/A (multiboot2_tag_unused): ... to this. Update all users.
2N/A (multiboot_tag_end): Rename from this ...
2N/A (multiboot2_tag_end): ... to this. Update all users.
2N/A
2N/A2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Disable Multiboot2 in i386-ieee1275. It didn't actually work, and on
2N/A this platform we should support Multiboot1 first.
2N/A
2N/A * conf/i386-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'.
2N/A (multiboot_mod_SOURCES, multiboot_mod_CFLAGS)
2N/A (multiboot_mod_LDFLAGS, multiboot_mod_ASFLAGS): Remove.
2N/A
2N/A2009-11-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/eltorito.c (init_boot_catalog): Handle return code
2N/A of write calls (converting them to fwrite() if they aren't already).
2N/A (get_torito_desc): Likewise.
2N/A * util/mkisofs/rock.c (generate_rock_ridge_attributes): Likewise.
2N/A
2N/A2009-11-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Move from here ...
2N/A * util/grub-install.in: ... to here. Update all users.
2N/A
2N/A2009-11-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: Fix --version output.
2N/A
2N/A2009-11-11 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Support for El Torito without floppy emulation.
2N/A
2N/A * util/mkisofs/eltorito.c: Include `<errno.h>'.
2N/A (init_boot_catalog): Improve error handling.
2N/A (get_torito_desc): Don't use floppy emulation unless requested by
2N/A user. Patch boot information table when requested via
2N/A `-boot-info-table'.
2N/A * util/mkisofs/iso9660.h (struct eltorito_boot_info): New struct.
2N/A * util/mkisofs/mkisofs.c (use_eltorito_emul_floppy)
2N/A (use_boot_info_table): New variables.
2N/A (OPTION_BOOT_INFO_TABLE, OPTION_NO_EMUL_BOOT)
2N/A (OPTION_ELTORITO_EMUL_FLOPPY): New macros.
2N/A (ld_options): Handle `-boot-info-table', `-no-emul-boot' and
2N/A `--eltorito-emul-floppy'.
2N/A (main): Handle `OPTION_BOOT_INFO_TABLE', `OPTION_NO_EMUL_BOOT'
2N/A and `OPTION_ELTORITO_EMUL_FLOPPY'.
2N/A * util/mkisofs/mkisofs.h (use_eltorito_emul_floppy)
2N/A (use_boot_info_table, get_731): New prototypes.
2N/A * util/mkisofs/write.c (get_731): New function.
2N/A
2N/A2009-11-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A Fix the generation of the man page.
2N/A
2N/A * util/pc/i386/grub-install.in: Source
2N/A `${libdir}/grub/grub-mkconfig_lib' after options have been parsed.
2N/A
2N/A2009-11-11 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Large file support for grub-mkisofs.
2N/A
2N/A * conf/common.rmk (grub_mkisofs_CFLAGS): Add `-D_FILE_OFFSET_BITS=64'.
2N/A * util/mkisofs/mkisofs.c (next_extent, last_extent)
2N/A (session_start): Upgrade type to `uint64_t'. Update all users.
2N/A * util/mkisofs/mkisofs.h: Include `<stdint.h>'.
2N/A (struct directory_entry): Upgrade type of `starting_block' and
2N/A `size' to `uint64_t'. Update all users.
2N/A (struct deferred): Remove unused structure.
2N/A (xfwrite): Upgrade type of `count' and `size' to `uint64_t'.
2N/A Update all users.
2N/A * util/mkisofs/tree.c (stat_filter, lstat_filter): Return -1 when
2N/A file is larger than `UINT32_MAX'.
2N/A * util/mkisofs/write.c (xfwrite): Upgrade type of `count' and
2N/A `size' to `uint64_t'. Update all users. Fix handling of fwrite()
2N/A return value.
2N/A (struct deferred_write): Upgrade type of `extent' and `size' to
2N/A `uint64_t'. Update all users.
2N/A (last_extent_written): Upgrade type to `uint64_t'. Update all
2N/A users.
2N/A (write_one_file): Upgrade type of `count' and `size' to `uint64_t'.
2N/A Update all users. Upgrade type of `remain' to `int64_t' and
2N/A `use' to `size_t'. Use error() to handle fread() errors.
2N/A (write_files): Rely on write_one_file() rather than calling
2N/A xfwrite() directly.
2N/A
2N/A2009-11-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/mkisofs/mkisofs.c (ld_options): Fix a spelling mistake.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/mkisofs/fnmatch.c: Remove.
2N/A * util/mkisofs/getopt1.c: Likewise.
2N/A * util/mkisofs/getopt.c: Likewise.
2N/A * conf/common.rmk (grub_mkisofs_SOURCES): Replace
2N/A `util/mkisofs/fnmatch.c', `util/mkisofs/getopt1.c' and
2N/A `util/mkisofs/getopt.c' with `gnulib/fnmatch.c',
2N/A `gnulib/getopt1.c' and `gnulib/getopt.c'.
2N/A (grub_mkisofs_CFLAGS): Add `-I$(srcdir)/gnulib'.
2N/A
2N/A * configure.ac: Detect `mingw32msvc' host_os.
2N/A Check for lstat(), getuid() and getgid().
2N/A
2N/A * util/mkisofs/joliet.c: Include `<stdint.h>'. Replace all
2N/A instances of `u_char' with `uint8_t'.
2N/A
2N/A * util/mkisofs/mkisofs.h: Include `<sys/stat.h>'.
2N/A [!HAVE_GETUID] (getuid): New function (stub).
2N/A [!HAVE_GETGID] (getgid): Likewise.
2N/A [!HAVE_LSTAT] (lstat): Likewise.
2N/A [!S_IROTH] (S_IROTH): New macro (dummy).
2N/A [!S_IRGRP] (S_IRGRP): Likewise.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * gnulib/fnmatch_loop.c (EXT): Fix warning (signed and unsigned type in
2N/A conditional expression).
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Import from Gnulib.
2N/A
2N/A * gnulib/fnmatch.c: New file.
2N/A * gnulib/fnmatch.h: Likewise.
2N/A * gnulib/fnmatch_loop.c: Likewise.
2N/A * gnulib/getopt.c: Likewise.
2N/A * gnulib/getopt.h: Likewise.
2N/A * gnulib/getopt1.c: Likewise.
2N/A * gnulib/getopt_int.h: Likewise.
2N/A * gnulib/gettext.h: Likewise.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/dyncmd.c (read_command_list): Replace `0' with `NULL'.
2N/A * normal/handler.c (read_handler_list): Likewise.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Misc cleanup.
2N/A
2N/A * kern/command.c (grub_register_command_prio): Use
2N/A grub_zalloc() instead of explicitly zeroing data.
2N/A * kern/list.c: Include `<grub/mm.h>'.
2N/A (grub_named_list_find): Replace `0' with `NULL'.
2N/A * normal/autofs.c (struct grub_fs_module_list): Remove ad-hoc type.
2N/A (fs_module_list): Change type to `grub_named_list_t'. Update all
2N/A users.
2N/A * normal/dyncmd.c (read_command_list): Add space between function
2N/A call and parenthesis.
2N/A * normal/handler.c (read_handler_list): Likewise.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/auth.c (punishment_delay): Moved from here ...
2N/A (grub_auth_strcmp): ... to here (inside function).
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/list.h (struct grub_named_list): Remove `const'
2N/A qualifier from `name'.
2N/A (struct grub_prio_list): Likewise.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/auth.c: Include `<grub/time.h>'.
2N/A (grub_auth_strcmp): Replace `strcmp' with `grub_strcmp'.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/auth.c (punishment_delay): New variable.
2N/A (grub_auth_strcmp): Rewrite using grub_get_time_ms ().
2N/A (grub_auth_check_authentication): Punish failed login attempts with
2N/A an incremental (2^N) delay.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (grub_mkisofs_CFLAGS): Prefix include
2N/A path with $(srcdir).
2N/A
2N/A2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
2N/A
2N/A2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/coreboot/grub-mkrescue.in: New file.
2N/A * conf/i386-coreboot.rmk (bin_SCRIPTS, grub_mkrescue_SOURCES): New
2N/A variables.
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): Add `grub-mkisofs'.
2N/A (grub_mkisofs_SOURCES, grub_mkisofs_CFLAGS): New variables.
2N/A * configure.ac: Add header and function checks to satisfy grub-mkisofs
2N/A requirements.
2N/A * util/mkisofs/defaults.h: New file.
2N/A * util/mkisofs/eltorito.c: Likewise.
2N/A * util/mkisofs/exclude.h: Likewise.
2N/A * util/mkisofs/fnmatch.c: Likewise.
2N/A * util/mkisofs/getopt.c: Likewise.
2N/A * util/mkisofs/getopt1.c: Likewise.
2N/A * util/mkisofs/hash.c: Likewise.
2N/A * util/mkisofs/include/fctldefs.h: Likewise.
2N/A * util/mkisofs/include/mconfig.h: Likewise.
2N/A * util/mkisofs/include/prototyp.h: Likewise.
2N/A * util/mkisofs/include/statdefs.h: Likewise.
2N/A * util/mkisofs/iso9660.h: Likewise.
2N/A * util/mkisofs/joliet.c: Likewise.
2N/A * util/mkisofs/match.c: Likewise.
2N/A * util/mkisofs/match.h: Likewise.
2N/A * util/mkisofs/mkisofs.c: Likewise.
2N/A * util/mkisofs/mkisofs.h: Likewise.
2N/A * util/mkisofs/multi.c: Likewise.
2N/A * util/mkisofs/name.c: Likewise.
2N/A * util/mkisofs/rock.c: Likewise.
2N/A * util/mkisofs/tree.c: Likewise.
2N/A * util/mkisofs/write.c: Likewise.
2N/A
2N/A2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function
2N/A being insecure.
2N/A
2N/A2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Fix miss-identification as
2N/A `grub-mkimage' (and use $0 when possible).
2N/A
2N/A2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve
2N/A error message for excessively large memory map.
2N/A
2N/A2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * autogen.sh: Use `sh gendistlist.sh' to avoid reliing on
2N/A executable bit.
2N/A
2N/A2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve error
2N/A message for coreboot users.
2N/A
2N/A2009-11-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build with GNU gold.
2N/A
2N/A * conf/i386-pc.rmk (boot_img_LDFLAGS, pxeboot_img_LDFLAGS)
2N/A (diskboot_img_LDFLAGS, lnxboot_img_LDFLAGS)
2N/A (cdboot_img_LDFLAGS): Prepend `0x' qualifier to hexadecimal
2N/A link addresses.
2N/A * aclocal.m4: Likewise.
2N/A
2N/A2009-11-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * configure.ac (AC_PREREQ): Bump to 2.59d.
2N/A * INSTALL: Make it more clear when Autoconf and Ruby are
2N/A needed and when to run `./autogen.sh'.
2N/A
2N/A2009-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/30_os-prober.in: Restore default behavior for unsupported
2N/A OSes.
2N/A
2N/A2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/30_os-prober.in: Add GNU/Hurd support
2N/A
2N/A2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/10_hurd.in: Drop /dev/ prefix from root device path before
2N/A giving it to GNU Mach.
2N/A
2N/A2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from
2N/A GNU partition number to get internal GRUB partition number.
2N/A
2N/A2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A
2N/A * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device
2N/A ${GRUB_DEVICE_BOOT} before loading /boot kernel.
2N/A
2N/A2009-11-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Based on patch from BVK Chaitanya <bvk.groups@gmail.com>
2N/A * kern/misc.c (grub_strchr, grub_strrchr): Fix to handle c == '\0'
2N/A case.
2N/A
2N/A2009-11-01 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS): Add `-I$(srcdir)/include'.
2N/A
2N/A2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build problem.
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
2N/A `-isystem=$(srcdir)/include'.
2N/A
2N/A2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Remove hint that device.map should be
2N/A checked (grub-install doesn't currently rely on it).
2N/A
2N/A2009-10-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Revert SVN r2660.
2N/A
2N/A * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): Moved from here ...
2N/A * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
2N/A * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): ... and here.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'.
2N/A
2N/A2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/misc.h: Stop checking for APPLE_CC.
2N/A
2N/A2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/i386/coreboot/init.c (grub_exit): Reimplement in a way that
2N/A doesn't cause an infinite call loop.
2N/A
2N/A2009-10-28 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/acpi.c (grub_cmd_acpi): Fix the out of memory error
2N/A strings.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
2N/A variable.
2N/A * Makefile.in: Likewise.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * gendistlist.sh: Simplify .svn check. Skip .bzr as well.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (RMKFILES): Rewrite using $(wildcard).
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * disk/scsi.c: Remove `<grub/machine/kernel.h>' (not needed).
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * gensymlist.sh.in (COMPILE_TIME_ASSERT): Copy macro declaration
2N/A from here ...
2N/A * include/grub/misc.h (COMPILE_TIME_ASSERT): ... to here.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * Makefile.in (docs/grub.info): Use make syntax to ignore errors
2N/A in $(MAKEINFO) invocation. This makes it clear in output that
2N/A errors are being ignored.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): Moved
2N/A from here ...
2N/A * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
2N/A * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): Remove.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A2009-10-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-editenv.c (main): If only a command is given, use
2N/A DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG as a default file name.
2N/A (usage): FILENAME is now optional and has a default.
2N/A
2N/A2009-10-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Improve grub-mkconfig performance when there are several menu
2N/A entries on a single filesystem.
2N/A
2N/A * util/grub.d/10_linux.in (linux_entry): Cache the output of
2N/A prepare_grub_to_access_device.
2N/A * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_freebsd.in: Remove.
2N/A * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in).
2N/A * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD.
2N/A
2N/A2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * docs/grub.cfg: Fix example usage of *BSD loaders.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Add missing parameter to
2N/A grub_util_error() call.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/fs.h [GRUB_UTIL] (struct grub_fs): Add
2N/A `reserved_first_sector' member.
2N/A * fs/ext2.c [GRUB_UTIL] (grub_ext2_fs): Initialize
2N/A `reserved_first_sector' to 1.
2N/A * fs/fat.c [GRUB_UTIL] (grub_fat_fs): Likewise.
2N/A * fs/ntfs.c [GRUB_UTIL] (grub_ntfs_fs): Likewise.
2N/A * fs/hfsplus.c [GRUB_UTIL] (grub_hfsplus_fs): Likewise.
2N/A * util/i386/pc/grub-setup.c (setup): Add safety check that probes for
2N/A filesystems which begin at first sector.
2N/A (options): New option --skip-fs-probe.
2N/A (main): Handle --skip-fs-probe and pass it to setup().
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/misc.h: Fix wrong evaluation of APPLE_CC.
2N/A (memset): Fix function prototype.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A2009-10-25 Vasily Averin <vvs@parallels.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_iterate_dir): Avoid infinite loop when
2N/A `dirent.direntlen == 0'.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * fs/cpio.c [MODE_USTAR]: Initialize `tar' module instead of
2N/A `cpio'.
2N/A [! MODE_USTAR]: Initialize `cpio' module instead of `tar'.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Check for `__ashldi3', `__ashrdi3', `__lshrdi3',
2N/A `__trampoline_setup' and `__ucmpdi2'.
2N/A * include/grub/powerpc/libgcc.h: Only export symbols for functions
2N/A that libgcc provides.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/powerpc/libgcc.h (memset): Remove function prototype.
2N/A * include/grub/sparc64/libgcc.h (memset): Likewise.
2N/A * include/grub/misc.h (memset, memcmp): New function prototypes.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * fs/cpio.c [MODE_USTAR]: Finish `tar' module instead of
2N/A `cpio'.
2N/A [! MODE_USTAR]: Finish `cpio' module instead of `tar'.
2N/A
2N/A2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Patch from Samuel Thibault <samuel.thibault@ens-lyon.org>
2N/A * docs/grub.cfg: Compensate for recent change in multiboot
2N/A loader (since 2009-08-14 it won't pass filename to payload).
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A
2N/A2009-10-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * config.guess: Update to latest version from config git
2N/A repository.
2N/A * config.sub: Likewise.
2N/A
2N/A2009-10-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build on sparc64.
2N/A
2N/A * configure.ac: Perform checks for libgcc symbols before
2N/A adding `-nostdlib' to LDFLAGS.
2N/A
2N/A2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Let user specify OpenBSD root device.
2N/A
2N/A * loader/i386/bsd.c (openbsd_root): New variable.
2N/A (openbsd_opts): New option 'root'.
2N/A (OPENBSD_ROOT_ARG): New macro.
2N/A (grub_openbsd_boot): Use 'openbsd_root'.
2N/A (grub_cmd_openbsd): Fill 'openbsd_root'.
2N/A
2N/A2009-10-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * NEWS: Misc adjustments.
2N/A
2N/A2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * NEWS: Mentioned XNU, ACPI, gptsync, password and parttool.
2N/A
2N/A2009-10-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Bump version to 1.97.
2N/A
2N/A2009-10-16 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac (TARGET_CFLAGS): Add -mno-mmx -mno-sse -mno-sse2
2N/A -mno-3dnow on x86 architectures. Some toolchains enable these
2N/A features by default, but they rely on registers that aren't enabled
2N/A in GRUB. Thanks to Vladimir Serbinenko for the suggestion.
2N/A
2N/A2009-10-15 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Make entry text a bit more readable.
2N/A
2N/A * util/grub.d/10_linux.in: Add `with' before `Linux'.
2N/A
2N/A2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/pc/xnu.c (grub_xnu_set_video): Fix loading splash image.
2N/A
2N/A2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/xnu_uuid.c (grub_cmd_xnu_uuid): Remove duplicated bitwise
2N/A operations.
2N/A
2N/A2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * configure.ac: Add missing dollar.
2N/A
2N/A2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Revert 2009-06-10 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Put checks for __bswapsi2 and __bswapdi2.
2N/A * include/grub/powerpc/libgcc.h: Don't use weak attribute for all
2N/A exports.
2N/A * include/grub/sparc64/libgcc.h: Likewise. Use
2N/A preprocessor conditionals.
2N/A
2N/A2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (grub-dumpbios): Remove rule.
2N/A (sbin_SCRIPTS, CLEANFILES): Remove `grub-dumpbios'.
2N/A * util/grub-dumpbios.in: Remove file.
2N/A
2N/A2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Refer to kernel of FreeBSD "kFreeBSD" to avoid confusion between
2N/A the Operating System (FreeBSD) and its kernel (kernel of FreeBSD).
2N/A
2N/A * loader/i386/bsd.c (grub_freebsd_boot): Read kernel environment
2N/A from "kFreeBSD" namespace (rather than "FreeBSD"). Update all
2N/A users.
2N/A
2N/A (GRUB_MOD_INIT (bsd)): Rename "freebsd" command to "kfreebsd",
2N/A "openbsd" to "kopenbsd", "netbsd" to "knetbsd", "freebsd_loadenv"
2N/A to "kfreebsd_loadenv", "freebsd_module" to "kfreebsd_module",
2N/A and "freebsd_module_elf" to "kfreebsd_module_elf". Update all
2N/A users.
2N/A
2N/A2009-10-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * term/tparm.c: Switch to GPLv3.
2N/A
2N/A2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/cpuid.h: Add header protection.
2N/A
2N/A2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU.
2N/A
2N/A * include/grub/i386/cpuid.h: New file.
2N/A * commands/i386/cpuid.c: Include `<grub/i386/cpuid.h>'.
2N/A (has_longmode): Rename to ...
2N/A (grub_cpuid_has_longmode): ... this. Update all users. Remove
2N/A `static' attribute.
2N/A * loader/i386/bsd.c: Include `<grub/i386/cpuid.h>'.
2N/A (grub_bsd_load_elf): Fail if load of 64-bit kernel was requested
2N/A on a CPU that doesn't implement AMD64 instruction set.
2N/A
2N/A2009-10-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so
2N/A that version.texi is rebuilt on version number changes.
2N/A
2N/A2009-10-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * Makefile.in: Don't set info_INFOS unless makeinfo was found.
2N/A Fixes bug #27602.
2N/A
2N/A2009-10-06 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Source
2N/A ${libdir}/grub/grub-mkconfig_lib before option processing, in order
2N/A that the --grub-probe option will work.
2N/A * util/sparc64/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2009-10-05 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Bump version to 1.97~beta4.
2N/A
2N/A2009-10-03 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Resync grub-mkdevicemap in x86_64-efi.
2N/A
2N/A * conf/x86_64-efi.rmk (sbin_UTILITIES): Enable `grub-mkdevicemap'.
2N/A (grub_mkdevicemap_SOURCES): Add missing `util/deviceiter.c' and
2N/A `util/devicemap.c'.
2N/A
2N/A2009-10-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-editenv.c (create_envblk_file): Write new block with a
2N/A .new suffix and then rename it into place, to ensure atomic
2N/A creation.
2N/A
2N/A2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Do not automatically install headers.
2N/A
2N/A * Makefile.in (include_DATA): Remove. Update all users.
2N/A
2N/A2009-09-26 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Remove `lua.mod'.
2N/A (lua_mod_SOURCES, lua_mod_CFLAGS, lua_mod_LDFLAGS): Remove.
2N/A
2N/A * util/osdetect.lua: Remove.
2N/A * script/lua/lauxlib.c: Likewise.
2N/A * script/lua/ldebug.c: Likewise.
2N/A * script/lua/grub_main.c: Likewise.
2N/A * script/lua/lauxlib.h: Likewise.
2N/A * script/lua/ldebug.h: Likewise.
2N/A * script/lua/ltablib.c: Likewise.
2N/A * script/lua/liolib.c: Likewise.
2N/A * script/lua/lstrlib.c: Likewise.
2N/A * script/lua/lualib.h: Likewise.
2N/A * script/lua/ldo.c: Likewise.
2N/A * script/lua/ldump.c: Likewise.
2N/A * script/lua/ldo.h: Likewise.
2N/A * script/lua/loslib.c: Likewise.
2N/A * script/lua/lundump.c: Likewise.
2N/A * script/lua/grub_lib.c: Likewise.
2N/A * script/lua/ldblib.c: Likewise.
2N/A * script/lua/lundump.h: Likewise.
2N/A * script/lua/lmem.c: Likewise.
2N/A * script/lua/grub_lib.h: Likewise.
2N/A * script/lua/lmathlib.c: Likewise.
2N/A * script/lua/lstate.c: Likewise.
2N/A * script/lua/ltm.c: Likewise.
2N/A * script/lua/lvm.c: Likewise.
2N/A * script/lua/lmem.h: Likewise.
2N/A * script/lua/lstate.h: Likewise.
2N/A * script/lua/ltm.h: Likewise.
2N/A * script/lua/ltable.c: Likewise.
2N/A * script/lua/lvm.h: Likewise.
2N/A * script/lua/llex.c: Likewise.
2N/A * script/lua/lgc.c: Likewise.
2N/A * script/lua/grub_lua.h: Likewise.
2N/A * script/lua/loadlib.c: Likewise.
2N/A * script/lua/lfunc.c: Likewise.
2N/A * script/lua/lopcodes.c: Likewise.
2N/A * script/lua/lparser.c: Likewise.
2N/A * script/lua/ltable.h: Likewise.
2N/A * script/lua/llex.h: Likewise.
2N/A * script/lua/lgc.h: Likewise.
2N/A * script/lua/lfunc.h: Likewise.
2N/A * script/lua/lbaselib.c: Likewise.
2N/A * script/lua/lopcodes.h: Likewise.
2N/A * script/lua/lparser.h: Likewise.
2N/A * script/lua/lzio.c: Likewise.
2N/A * script/lua/linit.c: Likewise.
2N/A * script/lua/lobject.c: Likewise.
2N/A * script/lua/llimits.h: Likewise.
2N/A * script/lua/lstring.c: Likewise.
2N/A * script/lua/lzio.h: Likewise.
2N/A * script/lua/lapi.c: Likewise.
2N/A * script/lua/lcode.c: Likewise.
2N/A * script/lua/lua.h: Likewise.
2N/A * script/lua/lobject.h: Likewise.
2N/A * script/lua/lstring.h: Likewise.
2N/A * script/lua/lapi.h: Likewise.
2N/A * script/lua/lcode.h: Likewise.
2N/A * script/lua/luaconf.h: Likewise.
2N/A
2N/A2009-09-26 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Command-line and menu entry commands): Document
2N/A date and echo commands.
2N/A
2N/A2009-09-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/kernel.h (struct grub_module_header): Remove
2N/A `grub_module_header_types'. Make `type' unsigned. Make `size'
2N/A 32-bit on all platforms.
2N/A * util/elf/grub-mkimage.c (load_modules): Treat `type' as an
2N/A 8-bit field. Use grub_host_to_target32() for `size'.
2N/A * util/i386/efi/grub-mkimage.c (make_mods_section): Likewise.
2N/A * util/i386/pc/grub-mkimage.c (generate_image): Likewise.
2N/A * util/sparc64/ieee1275/grub-mkimage.c (generate_image): Likewise.
2N/A
2N/A2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix "lost keypress" bug in at_keyboard.
2N/A
2N/A * term/i386/pc/at_keyboard.c (grub_at_keyboard_checkkey): New function.
2N/A Checks for readyness of input buffer (without flushing it).
2N/A (grub_at_keyboard_term): Use grub_at_keyboard_checkkey() rather
2N/A than grub_at_keyboard_getkey_noblock() for `checkkey' struct member.
2N/A
2N/A2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkimage.c (generate_image): Enclose BIOS-specific
2N/A size check within GRUB_MACHINE_PCBIOS section.
2N/A
2N/A2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/at_keyboard.h (KEYBOARD_ISREADY): Negate
2N/A return value.
2N/A * term/i386/pc/at_keyboard.c (grub_keyboard_getkey): Negate
2N/A KEYBOARD_ISREADY check.
2N/A (grub_at_keyboard_checkkey): Rename to ...
2N/A (grub_at_keyboard_getkey_noblock): ... this. Update all users.
2N/A Remove gratuitous cast.
2N/A
2N/A2009-09-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Call AC_PROG_MKDIR_P.
2N/A * Makefile.in (docs/stamp-vti): Create docs directory. Create
2N/A version.texi in $(builddir) rather than $(srcdir).
2N/A (docs/grub.info): Create docs directory. Prepend $(builddir)/docs
2N/A to makeinfo's @include search path.
2N/A
2N/A2009-09-23 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Cope with `*.dpkg-*'
2N/A
2N/A2009-09-23 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Add support
2N/A for `*.dpkg-new'.
2N/A
2N/A2009-09-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A Build info documentation. Some code borrowed from Automake.
2N/A
2N/A * configure.ac: Check for makeinfo.
2N/A * Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
2N/A (MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
2N/A docs/version.texi.
2N/A (MOSTLYCLEANFILES): Add vti.tmp.
2N/A (docs/version.texi, docs/stamp-vti): Update automatically.
2N/A (docs/grub.info): Build info documentation. Use --force and ignore
2N/A errors for now.
2N/A (all-local): Add $(INFOS).
2N/A (install-local): Install info files.
2N/A (uninstall): Uninstall info files.
2N/A * docs/version.texi: Remove from revision control. This file is
2N/A automatically generated on build now.
2N/A * gendistlist.sh: Add `*.info'.
2N/A
2N/A2009-09-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * kern/term.c: Fix indentation.
2N/A
2N/A2009-09-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/hostdisk.c: Fix a comment.
2N/A
2N/A2009-09-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix regression introduced in r2539.
2N/A
2N/A * term/usb_keyboard.c (USB_HID_DEVICE_TO_HOST): Change from 0x61
2N/A to 0xA1.
2N/A
2N/A2009-09-19 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Don't throw away stderr from
2N/A os-prober. Under normal operation, it does not print anything to
2N/A stderr; if it does, we need to debug it, and throwing away stderr
2N/A makes that excessively difficult.
2N/A
2N/A2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
2N/A
2N/A2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock
2N/A AC_LANG_PROGRAM from autoconf.
2N/A (grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing
2N/A prototypes (fixes warning).
2N/A
2N/A * configure.ac: Add `-Werror' to TARGET_CFLAGS unless
2N/A `--disable-werror' was used.
2N/A
2N/A2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * partmap/msdos.c (pc_partition_map_iterate): Fix possible use of
2N/A uninitialized `lastaddr'.
2N/A
2N/A2009-09-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * partmap/msdos.c (pc_partition_map_iterate): Detect and break loops.
2N/A
2N/A2009-09-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/test.c (get_fileinfo): Return immediately if
2N/A grub_fs_probe fails.
2N/A
2N/A2009-09-14 José Martínez <xosemp@gmail.com>
2N/A
2N/A * commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
2N/A
2N/A2009-09-14 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober
2N/A output.
2N/A
2N/A2009-09-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Remove --enable-grub-pe2elf. Only build
2N/A grub-pe2elf when needed by the build system itself.
2N/A * conf/common.rmk: Remove $(enable_grub_pe2elf) check.
2N/A
2N/A2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Bump version to 1.97~beta3.
2N/A * docs/version.texi: Likewise.
2N/A
2N/A2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * video/i386/pc/vbe.c (grub_vbe_get_video_mode_info): Move packed
2N/A mode special handling (grub_vbe_bios_set_dac_palette_width() call)
2N/A from here ...
2N/A * loader/i386/linux.c [GRUB_MACHINE_PCBIOS]
2N/A (grub_linux_setup_video): ... to here (with some adjustments).
2N/A
2N/A2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix memory corruption issue (spotted by Colin Watson).
2N/A
2N/A * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette): Fix bug
2N/A causing returned size to be stored in an incorrect memory location.
2N/A Fix use of uninitialized value when storing the returned size.
2N/A
2N/A2009-09-12 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A Change clean rules to properly remove files
2N/A
2N/A * genmk.rb: add new clean rules
2N/A * Makefile.in (clean): add the new targets
2N/A (mostlyclean): likewise
2N/A
2N/A2009-09-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * include/grub/ntfs.h (struct grub_fshelp_node): Change `size'
2N/A to grub_uint64_t.
2N/A * fs/ntfs.c (init_file): Understand 64-bit sizes for
2N/A non-resident files.
2N/A
2N/A2009-09-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: Don't look for help2man when cross-compiling. Fixes
2N/A part of bug #27349.
2N/A
2N/A2009-09-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in: Make the created config mode 400 and
2N/A print a warning if it fails.
2N/A
2N/A2009-09-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/40_custom.in: Ask user to type custom entries below
2N/A comment, rather than below 'exec tail' line.
2N/A
2N/A2009-09-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/40_custom.in: Make sure that the explanatory text is
2N/A visible in grub.cfg.
2N/A
2N/A2009-09-10 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/40_custom.in: Make it a little clearer how to use this
2N/A file.
2N/A
2N/A2009-09-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * docs/grub.cfg: Add an example menu entry for memtest86+.
2N/A
2N/A2009-09-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * config.guess: Update to latest version from config git.
2N/A * config.sub: Likewise.
2N/A
2N/A2009-09-08 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * script/sh/execute.c (grub_script_execute_cmdline): Set "?" in
2N/A unknown-command case. Fixes bug #27320.
2N/A
2N/A2009-09-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
2N/A `help' if the command exists.
2N/A
2N/A2009-09-06 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * INSTALL: Require GCC 4.1.3 or later.
2N/A
2N/A2009-09-06 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * Makefile.in (RMKFILES): add i386-qemu.rmk
2N/A (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in
2N/A $(srcdir)/stamp-h.in
2N/A
2N/A2009-09-05 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-probe.c (probe): Comment out buggy codepath, which
2N/A was unexpectedly enabled by Colin Watson's 2009-09-02 fix. This
2N/A should be re-enabled after 1.97.
2N/A
2N/A2009-09-05 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list
2N/A find searches for.
2N/A
2N/A2009-09-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/xnu.c (grub_cpu_xnu_fill_devicetree): Remove
2N/A unnecessary calls to grub_error.
2N/A
2N/A2009-09-04 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * NEWS: Mention `keystatus' and Unicode fonts.
2N/A
2N/A2009-09-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Bump version to 1.97~beta2.
2N/A * docs/version.texi: Likewise.
2N/A
2N/A2009-09-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * configure.ac: By default, GCC 4.4 generates .eh_frame sections
2N/A containing unwind information in some cases where it previously did
2N/A not. Use -fno-dwarf2-cfi-asm if available to restore the old
2N/A behaviour. See http://patchwork.kernel.org/patch/8555/ for related
2N/A discussion.
2N/A
2N/A2009-09-02 Yves BLUSSEAU <blusseau@zetam.org>
2N/A
2N/A Embedding loadenv module into grub-emu
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and
2N/A commands/loadenv.c
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise
2N/A
2N/A2009-09-03 Magnus Granberg <zorry@ume.nu>
2N/A
2N/A * aclocal.m4: Add grub_CHECK_PIE. It check if the compiler
2N/A include -fPIE in the default specs.
2N/A * configure.ac: Check if pie_possible is yes and add -fno-PIE
2N/A to TARGET_CFLAGS.
2N/A
2N/A2009-09-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * INSTALL: Note that GNU Bison 2.3 or later is required.
2N/A
2N/A2009-09-03 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * kern/i386/pc/startup.S: Fix typo.
2N/A
2N/A2009-09-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * efiemu/loadcore.c (SUFFIX (grub_efiemu_loadcore_load)): Fix style
2N/A according to GCS.
2N/A
2N/A2009-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * docs/grub.texi (Naming convention): Describe one-based partition
2N/A numbering.
2N/A (Device syntax): Likewise.
2N/A (File name syntax): Likewise.
2N/A (Block list syntax): Likewise.
2N/A (Making a GRUB bootable CD-ROM): Talk about grub.cfg rather than
2N/A menu.lst.
2N/A (File name syntax): Likewise.
2N/A (Command-line and menu entry commands): Document acpi, blocklist,
2N/A crc, export, insmod, keystatus, ls, set, and unset commands.
2N/A
2N/A2009-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * commands/keystatus.c (GRUB_MOD_INIT (keystatus)): Adjust summary
2N/A to avoid implying that only one of --shift, --ctrl, or --alt may be
2N/A used.
2N/A
2N/A2009-09-02 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-probe.c (probe): Test st.st_mode using S_ISREG macro
2N/A rather than comparing against S_IFREG, which will almost never work.
2N/A
2N/A2009-09-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/loadenv.c (check_blocklists): Fix off-by-one error.
2N/A (write_blocklists): Likewise.
2N/A
2N/A2009-09-01 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * script/lua/grub_lua.h (fputs): Supply a format string as the first
2N/A argument to grub_printf.
2N/A
2N/A2009-09-01 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with
2N/A non GNU test.
2N/A
2N/A2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/file.c (grub_file_read): Spelling fix
2N/A
2N/A2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/bsdXX.c (SUFFIX (grub_freebsd_load_elfmodule)): Fix
2N/A loading of headers in some cases.
2N/A
2N/A2009-08-30 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Bump version to 1.97~beta1.
2N/A * docs/version.texi: Likewise.
2N/A
2N/A2009-08-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/i386/xnu.h: Add license header.
2N/A include grub/err.h explicitly.
2N/A
2N/A2009-08-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_freebsd.in: Detect `ufs1' and `ufs2' and map them
2N/A to `ufs' in the vfs.root.mountfrom kernel parameter.
2N/A
2N/A2009-08-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * term/i386/pc/serial.c: Include `<grub/machine/memory.h>'.
2N/A
2N/A [GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Macroify initialization
2N/A value (0x0400 -> GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR).
2N/A
2N/A [! GRUB_MACHINE_PCBIOS] (GRUB_SERIAL_PORT_NUM): Calculate using
2N/A `ARRAY_SIZE' macro.
2N/A
2N/A2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/file.c (grub_file_read): Check offset.
2N/A * fs/hfs.c (grub_hfs_read_file): Remove unnecessary offset check.
2N/A * fs/jfs.c (grub_jfs_read_file): Likewise.
2N/A * fs/ntfs.c (grub_ntfs_read): Likewise.
2N/A * fs/reiserfs.c (grub_reiserfs_read): Likewise.
2N/A * fs/minix.c (grub_minix_read_file): Correct offset check.
2N/A * fs/ufs.c (grub_ufs_read_file): Likewise.
2N/A
2N/A2009-08-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * term/i386/pc/console.c (bios_data_area): Cast
2N/A GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR explicitly.
2N/A
2N/A2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A 1-bit optimised blitters.
2N/A
2N/A * include/grub/fbblit.h (grub_video_fbblit_replace_32bit_1bit): New
2N/A prototype.
2N/A (grub_video_fbblit_replace_24bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_16bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_8bit_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXX888_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXX565_1bit): Likewise.
2N/A * video/fb/fbblit.c (grub_video_fbblit_replace_32bit_1bit): New
2N/A function.
2N/A (grub_video_fbblit_replace_24bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_16bit_1bit): Likewise.
2N/A (grub_video_fbblit_replace_8bit_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXX888_1bit): Likewise.
2N/A (grub_video_fbblit_blend_XXX565_1bit): Likewise.
2N/A * video/fb/video_fb.c (common_blitter): Use 1-bit optimised blitters
2N/A when possible.
2N/A * video/video.c (grub_video_get_blit_format): Return
2N/A GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED if bpp = 1.
2N/A
2N/A2009-08-28 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Supply a format string as
2N/A the first argument to grub_printf.
2N/A
2N/A2009-08-28 Colin Watson <cjwatson@ubuntu.com>
2N/A2009-08-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Add `getkeystatus' terminal method. Add a new `keystatus' command
2N/A to query it.
2N/A
2N/A * include/grub/term.h (GRUB_TERM_STATUS_SHIFT,
2N/A GRUB_TERM_STATUS_CTRL, GRUB_TERM_STATUS_ALT): Definitions for
2N/A modifier key bitmasks.
2N/A (struct grub_term_input): Add `getkeystatus' member.
2N/A (grub_getkeystatus): Add prototype.
2N/A * kern/term.c (grub_getkeystatus): New function.
2N/A
2N/A * include/grub/i386/pc/memory.h
2N/A (GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR): New macro.
2N/A (struct grub_machine_bios_data_area): Define necessary parts of BIOS
2N/A Data Area layout.
2N/A * term/i386/pc/console.c (grub_console_getkeystatus): New function.
2N/A (grub_console_term_input): Set `getkeystatus' member.
2N/A * term/usb_keyboard.c (grub_usb_hid): Macroify HID protocol
2N/A constants.
2N/A (grub_usb_keyboard_getreport): Likewise.
2N/A (grub_usb_keyboard_checkkey): Likewise.
2N/A (grub_usb_keyboard_getkeystatus): New function.
2N/A (grub_usb_keyboard_term): Set `getkeystatus' member.
2N/A
2N/A * commands/keystatus.c: New file.
2N/A * conf/common.rmk (pkglib_MODULES): Add keystatus.mod.
2N/A (keystatus_mod_SOURCES): New variable.
2N/A (keystatus_mod_CFLAGS): Likewise.
2N/A (keystatus_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add
2N/A commands/keystatus.c.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split befs.mod and afs.mod into *_be.mod and *.mod
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add afs_be.c and befs_be.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Add afs_be.mod and befs_be.mod.
2N/A (afs_be_mod_SOURCES): New variable.
2N/A (afs_be_mod_CFLAGS): Likewise.
2N/A (afs_be_mod_LDFLAGS): Likewise.
2N/A (befs_be_mod_SOURCES): Likewise.
2N/A (befs_be_mod_CFLAGS): Likewise.
2N/A (befs_be_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add afs_be.c and befs_be.c.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * fs/afs_be.c: New file.
2N/A * fs/befs_be.c: New file.
2N/A * fs/afs.c (GRUB_AFS_FSNAME_SUFFIX): New definition.
2N/A (GRUB_AFS_FSNAME): Use GRUB_AFS_FSNAME_SUFFIX.
2N/A (U16): Replaced with ...
2N/A (grub_afs_to_cpu16): ...this. All users updated.
2N/A (U32): Replaced with ...
2N/A (grub_afs_to_cpu32): ...this. All users updated.
2N/A (U64): Replaced with ...
2N/A (grub_afs_to_cpu64): ...this. All users updated.
2N/A (GRUB_AFS_BO_LITTLE_ENDIAN): Remove.
2N/A (GRUB_AFS_BO_BIG_ENDIAN): Likewise.
2N/A (grub_afs_validate_sblock): Check only one endianness.
2N/A (GRUB_MOD_INIT (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
2N/A (GRUB_MOD_INIT (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
2N/A (GRUB_MOD_INIT (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
2N/A (GRUB_MOD_INIT (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.
2N/A (GRUB_MOD_FINI (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
2N/A (GRUB_MOD_FINI (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
2N/A (GRUB_MOD_FINI (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
2N/A (GRUB_MOD_FINI (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.
2N/A
2N/A2009-08-26 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/xfs.c (GRUB_XFS_INO_INOINAG): Replace 1L with 1LL to support
2N/A 64-bit number.
2N/A (GRUB_XFS_FSB_TO_BLOCK): Likewise.
2N/A (grub_xfs_inode_block): Change return type to grub_uint64_t.
2N/A (grub_xfs_read_inode): Change type of block to grub_uint64_t.
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A NetBSD memory map support.
2N/A
2N/A * include/grub/i386/bsd.h (NETBSD_BTINFO_MEMMAP): New definition.
2N/A (grub_netbsd_btinfo_mmap_header): New structure.
2N/A (grub_netbsd_btinfo_mmap_entry): Likewise.
2N/A * loader/i386/bsd.c (grub_netbsd_boot): Pass memory map.
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Enable bsd.mod on coreboot.
2N/A
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Add bsd.mod.
2N/A (bsd_mod_SOURCES): New variable.
2N/A (bsd_mod_CFLAGS): Likewise.
2N/A (bsd_mod_LDFLAGS): Likewise.
2N/A (bsd_mod_ASFLAGS): Likewise.
2N/A * loader/i386/bsd.c [!GRUB_MACHINE_PCBIOS]: Fix includes.
2N/A (grub_bsd_get_device) [!GRUB_MACHINE_PCBIOS]: Set *biosdev to 0xff.
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Cleanup NetBSD root support.
2N/A
2N/A * loader/i386/bsd.c (grub_netbsd_boot): Remove call to
2N/A grub_bsd_get_device.
2N/A Fix typo.
2N/A
2N/A2009-08-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/00_header.in: Move check for the video backend of
2N/A gfxterm from here ...
2N/A * util/grub-mkconfig.in: ... to here. Enable gfxterm if there's
2N/A a suitable video backend.
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix breakage in grub-setup.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of
2N/A "msdos_partition_map".
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix breakage in normal/auth.c.
2N/A
2N/A * normal/auth.c (grub_iswordseparator): New function.
2N/A
2N/A2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Authentication support.
2N/A
2N/A * commands/password.c: New file.
2N/A * conf/common.rmk (pkglib_MODULES): Add password.mod.
2N/A (password_mod_SOURCES): New variable.
2N/A (password_mod_CFLAGS): Likewise.
2N/A (password_mod_LDFLAGS): Likewise.
2N/A (normal_mod_SOURCES): Add normal/auth.c.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and
2N/A normal/auth.c.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * include/grub/auth.h: New file.
2N/A * include/grub/err.h (grub_err_t): New enum value
2N/A GRUB_ERR_ACCESS_DENIED.
2N/A * include/grub/menu.h (grub_menu_entry): New fields 'restricted' and
2N/A 'users'.
2N/A * include/grub/normal.h (grub_cmdline_get): New argument 'history'.
2N/A * normal/cmdline.c (grub_cmdline_get): New argument 'history'. All
2N/A users updated.
2N/A * normal/auth.c: New file.
2N/A * normal/main.c (grub_normal_add_menu_entry): Handle --users option.
2N/A (grub_cmdline_run): Don't allow to go to command line without
2N/A authentication.
2N/A * normal/menu.c (grub_menu_execute_entry): Handle restricted entries.
2N/A * normal/menu_entry.c (grub_menu_entry_run): Don't allow editing
2N/A menuentry without superuser rights.
2N/A * normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if
2N/A user isn't a superuser.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Save space by inlining misc.c functions.
2N/A
2N/A * kern/misc.c (grub_iswordseparator): Made static.
2N/A * kern/misc.c (grub_strcat): Moved from here ...
2N/A * include/grub/misc.h (grub_strcat): ... here. Inlined.
2N/A * kern/misc.c (grub_strncat): Moved from here ...
2N/A * include/grub/misc.h (grub_strncat): ... here. Inlined.
2N/A * kern/misc.c (grub_strcasecmp): Moved from here ...
2N/A * include/grub/misc.h (grub_strcasecmp): ... here. Inlined.
2N/A * kern/misc.c (grub_strncasecmp): Moved from here ...
2N/A * include/grub/misc.h (grub_strncasecmp): ... here. Inlined.
2N/A * kern/misc.c (grub_isalpha): Moved from here ...
2N/A * include/grub/misc.h (grub_isalpha): ... here. Inlined.
2N/A * kern/misc.c (grub_isdigit): Moved from here ...
2N/A * include/grub/misc.h (grub_isdigit): ... here. Inlined.
2N/A * kern/misc.c (grub_isgraph): Moved from here ...
2N/A * include/grub/misc.h (grub_isgraph): ... here. Inlined.
2N/A * kern/misc.c (grub_tolower): Moved from here ...
2N/A * include/grub/misc.h (grub_tolower): ... here. Inlined.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * script/sh/function.c (grub_script_function_find): Cut error message
2N/A not to flood terminal.
2N/A * script/sh/lexer.c (grub_script_yylex): Remove command line length
2N/A limit.
2N/A * script/sh/script.c (grub_script_arg_add): Duplicate string.
2N/A
2N/A2009-08-24 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * term/usb_keyboard.c (grub_usb_keyboard_getreport): Make
2N/A `report' grub_uint8_t *.
2N/A (grub_usb_keyboard_checkkey): Make `data' elements grub_uint8_t.
2N/A Use a 50-millisecond timeout rather than just repeating
2N/A grub_usb_keyboard_getreport 50 times.
2N/A (grub_usb_keyboard_getkey): Make `data' elements grub_uint8_t.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Rename *_partition_map to part_*
2N/A
2N/A * partmap/acorn.c (grub_acorn_partition_map): Set name to 'part_acorn'.
2N/A * partmap/amiga.c (grub_amiga_partition_map): Set name to 'part_amiga'.
2N/A * partmap/apple.c (grub_apple_partition_map): Set name to 'part_apple'.
2N/A * partmap/gpt.c (grub_gpt_partition_map): Set name to 'part_gpt'.
2N/A All users updated.
2N/A * partmap/msdos.c (grub_msdos_partition_map): Set name to 'part_msdos'.
2N/A All users updated.
2N/A * partmap/sun.c (grub_sun_partition_map): Set name to 'part_sun'.
2N/A * util/grub-probe.c (probe_partmap): Don't transform partition name
2N/A to get module name.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix OpenBSD and NetBSD support.
2N/A
2N/A * include/grub/i386/bsd.h (GRUB_BSD_TEMP_BUFFER): Change to resolve
2N/A memory address conflict.
2N/A (OPENBSD_MMAP_ACPI): New definition.
2N/A (OPENBSD_MMAP_NVS): Likewise.
2N/A * loader/i386/bsd.c (grub_openbsd_boot): Support OPENBSD_MMAP_ACPI
2N/A and OPENBSD_MMAP_NVS.
2N/A Add memory map terminator
2N/A Explicit cast when calling grub_unix_real_boot.
2N/A (grub_netbsd_boot): Explicit cast when calling grub_unix_real_boot.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Let user specify NetBSD root device.
2N/A
2N/A * loader/i386/bsd.c (netbsd_root): New variable.
2N/A (netbsd_opts): New option 'root'.
2N/A (NETBSD_ROOT_ARG): New macro.
2N/A (grub_netbsd_boot): Use 'netbsd_root'.
2N/A (grub_bsd_unload): Free 'netbsd_root'.
2N/A (grub_cmd_netbsd): Fill 'netbsd_root'.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support for 64-bit NetBSD.
2N/A
2N/A * loader/i386/bsd.c (grub_bsd_load_elf): Apply correct mask to entry
2N/A point when booting non-FreeBSD.
2N/A
2N/A2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support --no-smp and --no-acpi for NetBSD.
2N/A
2N/A * include/grub/i386/bsd.h (NETBSD_AB_NOSMP): New definition.
2N/A (NETBSD_AB_NOACPI): Likewise.
2N/A * loader/i386/bsd.c (netbsd_opts): New entries no-smp and no-acpi.
2N/A (netbsd_flags): Add NETBSD_AB_NOSMP, NETBSD_AB_NOACPI.
2N/A
2N/A2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_mount): Don't ignore grub_hfsplus_read_file
2N/A errors.
2N/A (grub_hfsplus_btree_iterate_node): Don't ignore grub_hfsplus_read_file
2N/A errors. Call grub_error when needed.
2N/A
2N/A2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/search.c (search_fs): Try searching without autoload first.
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
2N/A filesystem module explicitly for faster booting.
2N/A
2N/A2009-08-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_DISABLE_OS_PROBER.
2N/A
2N/A2009-08-23 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/30_os-prober.in: Disable os-prober if
2N/A `GRUB_DISABLE_OS_PROBER' was set to true.
2N/A
2N/A2009-08-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * partmap/pc.c: Rename to ...
2N/A * partmap/msdos.c: ... this. Update all users.
2N/A (grub_pc_partition_map): Rename to ...
2N/A (grub_msdos_partition_map): ... this. Update all users.
2N/A
2N/A * parttool/pcpart.c: Rename to ...
2N/A * parttool/msdospart.c: ... this. Update all users.
2N/A
2N/A * include/grub/pc_partition.h: Rename to ...
2N/A * include/grub/msdos_partition.h: ... this. Update all users.
2N/A (grub_pc_partition_bsd_entry): Rename to ...
2N/A (grub_msdos_partition_bsd_entry): ... this. Update all users.
2N/A (grub_pc_partition_disk_label): Rename to ...
2N/A (grub_msdos_partition_disk_label): ... this. Update all users.
2N/A (grub_pc_partition_entry): Rename to ...
2N/A (grub_msdos_partition_entry): ... this. Update all users.
2N/A (grub_pc_partition_mbr): Rename to ...
2N/A (grub_msdos_partition_mbr): ... this. Update all users.
2N/A (grub_pc_partition): Rename to ...
2N/A (grub_msdos_partition): ... this. Update all users.
2N/A (grub_pc_partition_is_empty): Rename to ...
2N/A (grub_msdos_partition_is_empty): ... this. Update all users.
2N/A (grub_pc_partition_is_extended): Rename to ...
2N/A (grub_msdos_partition_is_extended): ... this. Update all users.
2N/A (grub_pc_partition_is_bsd): Rename to ...
2N/A (grub_msdos_partition_is_bsd): ... this. Update all users.
2N/A
2N/A * conf/common.rmk (amiga_mod_SOURCES, amiga_mod_CFLAGS)
2N/A (amiga_mod_LDFLAGS, apple_mod_SOURCES, apple_mod_CFLAGS)
2N/A (apple_mod_LDFLAGS, msdos_mod_SOURCES, msdos_mod_CFLAGS)
2N/A (msdos_mod_LDFLAGS, sun_mod_SOURCES, sun_mod_CFLAGS)
2N/A (sun_mod_LDFLAGS, acorn_mod_SOURCES, acorn_mod_CFLAGS)
2N/A (acorn_mod_LDFLAGS, gpt_mod_SOURCES, gpt_mod_CFLAGS)
2N/A (gpt_mod_LDFLAGS): Rename to ...
2N/A (part_amiga_mod_SOURCES, part_amiga_mod_CFLAGS, part_amiga_mod_LDFLAGS)
2N/A (part_apple_mod_SOURCES, part_apple_mod_CFLAGS, part_apple_mod_LDFLAGS)
2N/A (part_msdos_mod_SOURCES, part_msdos_mod_CFLAGS, part_msdos_mod_LDFLAGS)
2N/A (part_sun_mod_SOURCES, part_sun_mod_CFLAGS, part_sun_mod_LDFLAGS)
2N/A (part_acorn_mod_SOURCES, part_acorn_mod_CFLAGS, part_acorn_mod_LDFLAGS)
2N/A (part_gpt_mod_SOURCES, part_gpt_mod_CFLAGS)
2N/A (part_gpt_mod_LDFLAGS): ... this.
2N/A (pkglib_MODULES): Prefix partition modules with `part_'. Rename
2N/A `pcpart.mod' to `msdospart.mod'.
2N/A (pcpart_mod_SOURCES, pcpart_mod_CFLAGS, pcpart_mod_LDFLAGS): Rename
2N/A to ...
2N/A (msdospart_mod_SOURCES, msdospart_mod_CFLAGS)
2N/A (msdospart_mod_LDFLAGS): ... this.
2N/A
2N/A2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/bsd.c (freebsd_opts): Rewritten to use extcmd.
2N/A (openbsd_opts): Likewise.
2N/A (netbsd_opts): Likewise.
2N/A (freebsd_flags): Added 0 terminator.
2N/A (openbsd_flags): Likewise.
2N/A (netbsd_flags): Likewise.
2N/A (grub_bsd_parse_flags): Rewritten to use extcmd. All users updated.
2N/A (grub_cmd_freebsd): Transformed into extended command.
2N/A (grub_cmd_openbsd): Likewise.
2N/A (grub_cmd_netbsd): Likewise.
2N/A (cmd_freebsd): Changed type to grub_extcmd_t.
2N/A (cmd_openbsd): Likewise.
2N/A (cmd_netbsd): Likewise.
2N/A (GRUB_MOD_INIT (bsd)): Register grub_cmd_freebsd, grub_cmd_netbsd and
2N/A grub_cmd_openbsd as extended commands.
2N/A (GRUB_MOD_FINI (bsd)): Use grub_unregister_extcmd for cmd_freebsd,
2N/A cmd_netbsd and cmd_openbsd
2N/A
2N/A2009-08-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/xnu_uuid.c (transform): Use grub_memcpy instead of memcpy.
2N/A
2N/A2009-08-21 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in (install-local): When checking if a file is in the
2N/A build directory, use "test -e" to detect symlinks.
2N/A
2N/A * Makefile.in (install-local): Remove all files in
2N/A $(DESTDIR)$(pkglibdir) before installing new files there.
2N/A
2N/A2009-08-18 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Use
2N/A grub-mkelfimage.
2N/A
2N/A2009-08-18 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in: Don't use gfxterm by default if not
2N/A explicitly specified by the user.
2N/A
2N/A2009-08-18 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/fbfill.h (struct grub_video_fbrender_target): Use
2N/A grub_uint8_t pointer for data.
2N/A * include/grub/fbutil.h (struct grub_video_fbblit_info):
2N/A Likewise.
2N/A * video/fb/fbutil.c: Remove unnecessary casts.
2N/A
2N/A2009-08-17 Michal Suchanek <hramrach@centrum.cz>
2N/A
2N/A VBE cleanup.
2N/A
2N/A * video/i386/pc/vbe.c (vbe_mode_in_use): Removed (duplicate).
2N/A (grub_vbe_set_video_mode): Save active mode info
2N/A only after setting the mode.
2N/A (grub_video_vbe_setup): Call 'grub_vbe_set_video_mode' with NULL as
2N/A second argument.
2N/A
2N/A2009-08-17 Michal Suchanek <hramrach@centrum.cz>
2N/A
2N/A Rename variables for clarity.
2N/A
2N/A * video/i386/pc/vbe.c (active_mode_info): Renamed to ...
2N/A (active_vbe_mode_info): ... this. All users updated.
2N/A (framebuffer): Rename 'active_mode' to 'active_vbe_mode'.
2N/A All users updated.
2N/A (initial_mode): Rename to ...
2N/A (initial_vbe_mode): ... this. All users updated.
2N/A (mode_in_use): Rename to ..
2N/A (vbe_mode_in_use): ... this. All users updated.
2N/A (mode_list): Rename to ..
2N/A (vbe_mode_list): ... this. All users updated.
2N/A (grub_vbe_set_video_mode): Rename 'mode' to 'vbe_mode', 'mode_info' to
2N/A 'vbe_mode_info' and 'old_mode' to 'old_vbe_mode'.
2N/A (grub_video_vbe_init): Rename 'rm_mode_list' to 'rm_vbe_mode_list' and
2N/A 'mode_list_size' to 'vbe_mode_list_size'.
2N/A (grub_video_vbe_setup): Rename 'mode_info' to 'vbe_mode_info',
2N/A 'best_mode_info' to 'best_vbe_mode_info' and
2N/A 'best_mode' to 'best_vbe_mode'
2N/A
2N/A2009-08-17 Michal Suchanek <hramrach@centrum.cz>
2N/A
2N/A Remove duplicate grub_video_fb_get_video_ptr.
2N/A
2N/A * include/grub/fbutil.h (get_data_ptr): Rename to ...
2N/A (grub_video_fb_get_video_ptr): ... this.
2N/A * include/grub/video_fb.h (grub_video_fb_get_video_ptr): Removed.
2N/A * video/fb/fbutil.c: Add comment about addressing.
2N/A (get_data_ptr): Rename to ...
2N/A (grub_video_fb_get_video_ptr): ... this. All users updated.
2N/A * video/fb/video_fb.c (grub_video_fb_get_video_ptr): Remove.
2N/A
2N/A2009-08-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * fs/fat.c (grub_fat_read_data): Remove `#if 0' braces around the
2N/A grub_dprintf() that was just added.
2N/A
2N/A2009-08-17 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (GRUB_ASSUME_LINUX_HAS_FB_SUPPORT)
2N/A (DEFAULT_VIDEO_MODE): Remove macros.
2N/A (grub_linux_boot): Remove assumption that Linux has FB support,
2N/A and use "text" as default video mode.
2N/A
2N/A2009-08-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/affs.c (grub_affs_read_symlink): Change leftover grub_printf into
2N/A grub_dprintf.
2N/A * fs/fat.c (grub_fat_read_data): Likewise.
2N/A
2N/A2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot.c (grub_multiboot): Don't pass filename to
2N/A payload.
2N/A (grub_module): Likewise.
2N/A
2N/A2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot.c (grub_multiboot_unload): Don't free mbi and
2N/A mbi->cmdline but free playground.
2N/A
2N/A2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Handle group offset on UFS1.
2N/A
2N/A * fs/ufs.c (grub_ufs_sblock): New field 'cylg_mask'.
2N/A (grub_ufs_read_inode) [!MODE_UFS2]: handle cylg_offset and cylg_mask.
2N/A
2N/A2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Split ufs.mod into ufs1.mod and ufs2.mod.
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add fs/ufs2.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Remove ufs.mod. Add ufs1.mod and ufs2.mod.
2N/A (ufs_mod_SOURCES): Remove.
2N/A (ufs_mod_CFLAGS): Likewise.
2N/A (ufs_mod_LDFLAGS): Likewise.
2N/A (ufs1_mod_SOURCES): New variable.
2N/A (ufs1_mod_CFLAGS): Likewise.
2N/A (ufs1_mod_LDFLAGS): Likewise.
2N/A (ufs2_mod_SOURCES): New variable.
2N/A (ufs2_mod_CFLAGS): Likewise.
2N/A (ufs2_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add fs/ufs2.c.
2N/A * conf/i386-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES):
2N/A Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64.rmk (grub_emu_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES):
2N/A Likewise.
2N/A * fs/ufs2.c: New file.
2N/A * fs/ufs.c: Separate UFS1 from UFS2 by using preprocessor.
2N/A
2N/A2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Framebuffer split.
2N/A
2N/A * commands/i386/pc/vbetest.c (grub_cmd_vbetest): Restore video
2N/A subsystem at the end.
2N/A * conf/common.rmk (pkglib_MODULES): Add video_fb.mod.
2N/A (video_fb_mod_SOURCES): New variable.
2N/A (video_fb_mod_CFLAGS): Likewise.
2N/A (video_fb_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (vbe_mod_SOURCES): Remove video/i386/pc/vbeblit.c,
2N/A video/i386/pc/vbefill.c and video/i386/pc/vbeutil.c.
2N/A * video/i386/pc/vbeblit.c: Moved from here ...
2N/A * video/fb/fbblit.c: ..here. Replaced 'vbe' with 'fb'.
2N/A * video/i386/pc/vbefill.c: Moved from here ...
2N/A * video/fb/fbfill.c: ..here. Replaced 'vbe' with 'fb'.
2N/A * video/i386/pc/vbeutil.c: Moved from here ...
2N/A * video/fb/fbutil.c: ..here. Replaced 'vbe' with 'fb'.
2N/A * include/grub/i386/pc/vbeblit.h: Moved from here ...
2N/A * include/grub/fbblit.h: ... here. Replaced 'vbe' with 'fb'.
2N/A * include/grub/i386/pc/vbefill.h: Moved from here ...
2N/A * include/grub/fbfill.h: ... here. Replaced 'vbe' with 'fb'.
2N/A * include/grub/i386/pc/vbeutil.h: Moved from here ...
2N/A * include/grub/fbutil.h: ... here. Replaced 'vbe' with 'fb'.
2N/A * include/grub/i386/pc/vbe.h: Moved framebuffer part ...
2N/A * include/grub/video_fb.h: ... here. Replaced 'vbe' with 'fb'.
2N/A * include/grub/video.h (GRUB_VIDEO_RENDER_TARGET_FRONT_BUFFER): Removed.
2N/A (GRUB_VIDEO_RENDER_TARGET_BACK_BUFFER): Likewise.
2N/A (grub_video_adapter): Added 'get_info_and_fini'.
2N/A (grub_video_get_info_and_fini): New prototype.
2N/A (grub_video_set_mode): make modestring const char *.
2N/A * loader/i386/linux.c (grub_linux_setup_video): Use
2N/A grub_video_get_info_and_fini.
2N/A (grub_linux_boot): Move modesetting just before booting.
2N/A * loader/i386/pc/xnu.c (grub_xnu_set_video): Use
2N/A grub_video_get_info_and_fini.
2N/A * video/i386/pc/vbe.c: Moved framebuffer part ...
2N/A * video/fb/video_fb.c: ... here. Replaced 'vbe' with 'fb'.
2N/A * video/i386/pc/vbe.c (grub_vbe_set_video_mode): Use
2N/A grub_video_fbstd_colors and grub_video_fb_set_palette.
2N/A (grub_video_vbe_init): Clear 'framebuffer' variable and use
2N/A grub_video_fb_init.
2N/A (grub_video_vbe_fini): Use grub_video_fb_fini.
2N/A (grub_video_vbe_setup): Use framebuffer.render_target instead of
2N/A render_target and use grub_video_fb_set_active_render_target and
2N/A grub_video_fb_set_palette.
2N/A (grub_video_vbe_set_palette): Use grub_video_fb_set_palette.
2N/A (grub_video_vbe_set_viewport): Use grub_video_fb_set_viewport.
2N/A (grub_video_vbe_adapter): Use framebuffer.
2N/A * video/video.c (grub_video_get_info_and_fini): New function.
2N/A (grub_video_set_mode): Make modestring const char *.
2N/A (GRUB_MOD_INIT(video_video)): Don't set variables to 0 since these
2N/A values are already initialised.
2N/A
2N/A2009-08-14 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * boot/i386/pc/cdboot.S: Use LOCAL for local labels. Eliminate
2N/A ABS and APPLE_CC.
2N/A * boot/i386/pc/diskboot.S: Likewise.
2N/A * boot/i386/pc/lnxboot.S: Likewise. Hardcode the number of code
2N/A sectors allow compilation on MacOSX.
2N/A * conf/i386-pc.rmk: Enable unconditional compilation of
2N/A lnxboot.img.
2N/A
2N/A2009-08-13 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_HIDDEN_TIMEOUT.
2N/A * util/grub.d/00_header.in: Enter interruptible sleep if
2N/A GRUB_HIDDEN_TIMEOUT is set.
2N/A
2N/A2009-08-13 Yves Blusseau <blusseau@zetam.org>
2N/A
2N/A * include/grub/symbol.h: Add the LOCAL macro.
2N/A * boot/i386/pc/boot.S: Use the LOCAL macro for all labels
2N/A starting with "L_".
2N/A
2N/A2009-08-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * boot/i386/pc/boot.S: Remove ABS macro, it's not required by
2N/A any modern compilers we support.
2N/A
2N/A * boot/i386/pc/boot.S: Remove all code dependent on APPLE_CC.
2N/A Use local labels starting with "L_" so that Apple assembler
2N/A knows they are local.
2N/A
2N/A2009-08-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/bsd.h (KERNEL_TYPE_NONE, KERNEL_TYPE_FREEBSD)
2N/A (KERNEL_TYPE_OPENBSD, KERNEL_TYPE_NETBSD): Convert to ...
2N/A (bsd_kernel_types): ... this enum.
2N/A
2N/A * loader/i386/bsd.c (grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module)
2N/A (grub_cmd_freebsd_module_elf): Abort with "You need to load the
2N/A kernel first." when `kernel_type' is set to KERNEL_TYPE_NONE.
2N/A
2N/A (grub_bsd_load_aout, grub_bsd_load, grub_cmd_freebsd_loadenv)
2N/A (grub_cmd_freebsd_module, grub_cmd_freebsd_module_elf)
2N/A (GRUB_MOD_INIT (bsd)): Fix capitalization in a few error
2N/A messages.
2N/A
2N/A2009-08-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub-dumpdevtree: Moved from here ...
2N/A * util/i386/efi/grub-dumpdevtree: ... to here.
2N/A (hexify): New function. Converts a string to its hex version.
2N/A Generate hex versions of "efi" and "device-properties" by calling
2N/A hexify() on the ASCII strings rather than by hardcoding numbers.
2N/A
2N/A2009-08-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * fs/jfs.c: Update copyright year.
2N/A
2N/A2009-08-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/00_header.in: Fix a comment.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub.d/10_windows.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A
2N/A2009-08-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in: Allow the user to specify the used font
2N/A with GRUB_FONT.
2N/A
2N/A2009-08-08 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/powerpc/libgcc.h: Export __ashrdi3() if
2N/A available, xfs.mod needs it now.
2N/A
2N/A * util/grub-mkconfig_lib.in (version_test_numeric): Don't use
2N/A the "g" modifier in sed when the intention is to strip something
2N/A once. This fixes comparison of kernels with multiple dashes.
2N/A
2N/A * util/grub-mkconfig.in: Define datarootdir, datadir may depend
2N/A on it. Add missing space before closing bracket. Fix
2N/A misleading formatting.
2N/A
2N/A2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * docs/grub.texi: Major overhaul. Remove all sections that are
2N/A specific to GRUB Legacy, or mostly composed of Legacy-specific
2N/A information.
2N/A
2N/A2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * docs/version.texi: New file. Provides version information for
2N/A grub.texi.
2N/A
2N/A2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * docs/grub.texi: Update CVS information to SVN.
2N/A Replace outdated "GRUB 2 will include" phrase with "GRUB 2 includes".
2N/A
2N/A2009-08-07 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in: Remove a wrong `fi'.
2N/A
2N/A2009-08-07 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/uuid.c (grub_jfs_superblock): New fields unused2 and uuid.
2N/A (grub_jfs_uuid): New function.
2N/A (grub_jfs_fs): Set uuid field to grub_jfs_uuid.
2N/A
2N/A2009-08-07 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig_lib.in (font_path): Move the functionality
2N/A of it to ...
2N/A * util/grub-mkconfig.in: ... here. Prefer unicode.pf2 and
2N/A unifont.pf2 over ascii.pf2. Export LANG=C in case ascii.pf2 gets used.
2N/A
2N/A2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in (test_numeric): Moved from here ...
2N/A * util/grub-mkconfig_lib.in (version_test_numeric): ... to here.
2N/A Update all users.
2N/A
2N/A * util/grub.d/10_linux.in (test_gt): Strip any basename prefix,
2N/A not just "vmlinu[zx]".
2N/A Moved from here ...
2N/A * util/grub-mkconfig_lib.in (version_test_gt): ... to here. Update
2N/A all users.
2N/A
2N/A * util/grub.d/10_linux.in (find_latest): Moved from here ...
2N/A * util/grub-mkconfig_lib.in (version_find_latest): ... to here. Update
2N/A all users.
2N/A
2N/A2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/grub.d/10_freebsd.in: Use an absolute device path for
2N/A `vfs.root.mountfrom'. Set `vfs.root.mountfrom.options=rw'.
2N/A
2N/A2009-08-06 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
2N/A handling of multiple abstraction modules.
2N/A
2N/A2009-08-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix a bug resulting in black screen when loading Linux using a
2N/A packed video mode.
2N/A
2N/A * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette_width): New
2N/A function.
2N/A
2N/A * include/grub/i386/pc/vbe.h (GRUB_VBE_CAPABILITY_DACWIDTH): New macro.
2N/A (grub_vbe_bios_getset_dac_palette_width): New function.
2N/A (grub_vbe_bios_get_dac_palette_width)
2N/A (grub_vbe_bios_set_dac_palette_width): New macros (act as wrappers for
2N/A grub_vbe_bios_getset_dac_palette_width()).
2N/A
2N/A * video/i386/pc/vbe.c (grub_vbe_probe): Use `GRUB_VBE_STATUS_OK' to
2N/A check for return status.
2N/A (grub_vbe_get_video_mode_info): When getting information for a packed
2N/A mode (<= 8 bpp), obtain DAC palette width using
2N/A grub_vbe_bios_getset_dac_palette_width(), and use that for initializing
2N/A {red,green,blue}_mark_size.
2N/A
2N/A2009-08-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/search.c (options): Fix help output to match actual code.
2N/A
2N/A2009-08-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_read instead
2N/A of homegrown code.
2N/A
2N/A2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/hostfs.c (grub_hostfs_dir): Don't use DT_DIR: It doesn't work
2N/A on XFS or ReiserFS.
2N/A
2N/A2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support Apple partition map with sector size different from 512 bytes.
2N/A
2N/A * partmap/apple.c (grub_apple_header): New field 'blocksize'.
2N/A (apple_partition_map_iterate): Respect 'aheader.blocksize'
2N/A and 'apart.partmap_size'.
2N/A
2N/A2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
2N/A2009-08-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix cpuid command.
2N/A
2N/A * commands/i386/cpuid.c (options): New variable.
2N/A (grub_cmd_cpuid): Return real error.
2N/A (GRUB_MOD_INIT(cpuid)): Declare options.
2N/A
2N/A2009-07-31 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Check that boot flags are
2N/A valid.
2N/A
2N/A2009-07-31 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/xfs.c (grub_xfs_sblock): Change unused5 field to log2_sect and
2N/A log2_inode.
2N/A (grub_fshelp_node): Move inode field to the end.
2N/A (grub_xfs_data): Remove inode field.
2N/A (grub_xfs_inode_block): Calculate inode size using sblock.
2N/A (grub_xfs_inode_offset): Likewise.
2N/A (grub_xfs_read_inode): Calculate inode size using sblock.
2N/A (grub_xfs_read_block): Replace XFS_INODE_EXTENTS with nrec.
2N/A (grub_xfs_iterate_dir): Calculate inode size using sblock.
2N/A (grub_xfs_mount): Use grub_zalloc instead of grub_malloc. Realloc data
2N/A to match inode size.
2N/A (grub_xfs_dir): goto mount_fail when mount fails, as data->diropen is
2N/A not accessible when data is null.
2N/A (grub_xfs_open): Likewise.
2N/A
2N/A2009-07-31 Bean <bean123ch@gmail.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Ignore extra copy of metadata.
2N/A Don't change pv->disk if it's already set.
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Merge this function into ...
2N/A (grub_raid_register): ... here.
2N/A (grub_raid_rescan): Removed.
2N/A
2N/A * include/grub/raid.h (grub_raid_rescan): Removed.
2N/A
2N/A * util/grub-fstest.c: Remove include file <grub/raid.h>.
2N/A (fstest): Replace grub_raid_rescan with module fini function followed
2N/A by init function.
2N/A
2N/A * util/grub-probe.c: Add include file <grub/raid.h>.
2N/A (probe_raid_level): New function.
2N/A (probe): Detect abstraction by walking the disk device, support two
2N/A level of abstraction (LVM on RAID) when detecting partition map.
2N/A
2N/A2009-07-31 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/raid5_recover.c (grub_raid5_recover): Revert conversion
2N/A to grub_zalloc(), it was erroneous.
2N/A Reported by Bean <bean123ch@gmail.com>
2N/A
2N/A2009-07-30 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Check that no partition is in
2N/A embedding zone, not only the first one.
2N/A
2N/A2009-07-29 Joe Auricchio <jauricchio@gmail.com>
2N/A
2N/A * term/gfxterm.c (clear_char): New function.
2N/A (grub_virtual_screen_setup): Use clear_char.
2N/A (scroll_up): Likewise.
2N/A (grub_virtual_screen_cls): Likewise.
2N/A
2N/A2009-07-29 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/deviceiter.c (get_acceleraid_disk_name): New static
2N/A function.
2N/A (grub_util_iterate_devices): Handle Accelraid devices.
2N/A * util/hostdisk.c (convert_system_partition_to_system_disk): Likewise.
2N/A
2N/A2009-07-28 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Use ',' rather than ';' as
2N/A separator for the suggested gfxpayload string (';' collides with the
2N/A parser and needs escaping).
2N/A
2N/A2009-07-28 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator):
2N/A Clear direction flag before jumping to OS.
2N/A (grub_multiboot2_real_boot): Likewise.
2N/A
2N/A2009-07-28 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-install: Fix parsing of --disk-module
2N/A option.
2N/A
2N/A2009-07-28 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Fix 2 incorrect checks
2N/A when embedding.
2N/A
2N/A2009-07-26 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in (package_version): New variable.
2N/A Use it do display the version.
2N/A
2N/A2009-07-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * kern/file.c (grub_file_open): Revert to previous check with
2N/A grub_errno.
2N/A
2N/A2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]"
2N/A from help line. It's out of sync with code.
2N/A
2N/A2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/parser.c (grub_parser_execute): Fix a bug causing truncated
2N/A entries on failed boot.
2N/A
2N/A2009-07-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * kern/file.c (grub_file_open): Fix an error check.
2N/A
2N/A2009-07-24 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Fix segmentation fault when
2N/A partition map couldn't be identified.
2N/A
2N/A2009-07-23 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/xnu_uuid.c (transform): Use GRUB_CPU_WORDS_BIGENDIAN
2N/A instead of WORDS_BIGENDIAN. Use grub_le_to_cpu32(), so that the
2N/A case of little endian words becomes just an optimization.
2N/A Respect const modifier.
2N/A (md5_final): Use code that doesn't depend on endianness.
2N/A
2N/A * include/grub/misc.h (ALIGN_UP): Cast align to the type of addr
2N/A to avoid loss of upper bits if align is unsigned and shorter
2N/A than addr.
2N/A
2N/A2009-07-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A UUID support for UFS
2N/A
2N/A * fs/ufs.c (grub_ufs_sblock): Add uuidhi and uuidlow.
2N/A (grub_ufs_uuid): New function.
2N/A (grub_ufs_fs): add .uuid
2N/A
2N/A2009-07-21 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/dl.c (grub_dl_check_header): Make static.
2N/A
2N/A2009-07-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/30_os-prober.in: Remove unused CHAINROOT. Don't
2N/A add drivemap for Vista. It breaks Windows 7.
2N/A
2N/A2009-07-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by
2N/A 128 bytes
2N/A
2N/A2009-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add BFS support
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add fs/befs.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (pkglib_MODULES): Add befs.mod.
2N/A (befs_mod_SOURCES): New variable.
2N/A (befs_mod_CFLAGS): Likewise.
2N/A (befs_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (grub_setup_SOURCES): Likewise.
2N/A * fs/befs.c: New file.
2N/A * fs/afs.c (GRUB_AFS_FSNAME): New declaration.
2N/A (GRUB_AFS_SBLOCK_SECTOR): Likewise.
2N/A (GRUB_AFS_SBLOCK_MAGIC1) [MODE_BFS]: New conditional declaration.
2N/A (GRUB_AFS_BTREE_MAGIC) [MODE_BFS]: Likewise
2N/A (B_KEY_INDEX_ALIGN): New declaration.
2N/A (B_KEY_INDEX_OFFSET): Use B_KEY_INDEX_ALIGN.
2N/A (grub_afs_bnode) [MODE_BFS]: Make key_count and key_size 16-bit
2N/A (grub_afs_btree) [MODE_BFS]: New conditional declaration.
2N/A (grub_afs_sblock) [MODE_BFS]: Remove link_count.
2N/A (grub_afs_validate_sblock) [MODE_BFS]: Support BFS
2N/A (grub_afs_mount) [MODE_BFS]: Likewise.
2N/A (grub_afs_dir) [MODE_BFS]: Divide mtime by 65536 and not 1000000.
2N/A (grub_afs_fs): Use GRUB_AFS_FSNAME
2N/A (GRUB_MOD_INIT (afs)) [MODE_BFS]: Rename to ...
2N/A (GRUB_MOD_INIT (befs)) [MODE_BFS]: ... this
2N/A (GRUB_MOD_FINI (afs)) [MODE_BFS]: Rename to ...
2N/A (GRUB_MOD_FINI (befs)) [MODE_BFS]: ... this
2N/A
2N/A2009-07-19 Yves BLUSSEAU <yves.grub-devel@zetam.org>
2N/A
2N/A * util/getroot.c (find_root_device): Add support for MacOSX.
2N/A * util/hostdisk.c: Likewise.
2N/A
2N/A2009-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * font/font.c (find_glyph): Check whether a font is present to avoid
2N/A segmentation fault.
2N/A
2N/A2009-07-20 Joe Auricchio <jauricchio@gmail.com>
2N/A
2N/A * term/gfxterm.c (grub_virtual_screen_setup): Clear virtual_screen.
2N/A
2N/A2009-07-20 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Trim excessively wordy excuses.
2N/A
2N/A2009-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add symlink, mtime and label support to AtheFS.
2N/A
2N/A * fs/afs.c (grub_afs_sblock): Declare `name' as char.
2N/A (grub_afs_iterate_dir): Handle symlinks.
2N/A (grub_afs_open): Use grub_afs_read_symlink.
2N/A (grub_afs_dir): Likewise.
2N/A Pass mtime.
2N/A (grub_afs_label): New function.
2N/A (grub_afs_fs): Add grub_afs_label.
2N/A (grub_afs_read_symlink): New function.
2N/A
2N/A2009-07-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix AtheFS support.
2N/A
2N/A * fs/afs.c: Fix comments style.
2N/A (grub_afs_blockrun): Declare as packed.
2N/A (grub_afs_datastream): Likewise.
2N/A (grub_afs_bnode): Likewise.
2N/A (grub_afs_btree): Likewise.
2N/A (grub_afs_sblock): Likewise.
2N/A Declare `name' as char.
2N/A (grub_afs_inode): Declare as packed.
2N/A Change void *vnode to grub_uint32_t unused.
2N/A (grub_afs_iterate_dir): Check that key_size is positive.
2N/A (grub_afs_mount): Don't read superblock twice.
2N/A (grub_afs_dir): Don't free node in case of error,
2N/A grub_fshelp_find_file already handles this.
2N/A (grub_afs_open): Likewise.
2N/A
2N/A2009-07-19 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in: Remove LIBLZO and enable_lzo.
2N/A * conf/i386-pc.rmk: Remove lzo support.
2N/A * configure.ac: Remove checks for lzo, don't define ENABLE_LZMA.
2N/A * include/grub/i386/pc/kernel.h: Define ENABLE_LZMA. Remove lzo
2N/A support.
2N/A * kern/i386/pc/lzo1x.S: Remove.
2N/A * kern/i386/pc/startup.S: Remove lzo support.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A
2N/A2009-07-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/usbms.c (grub_usbms_transfer): Fix double semicolon.
2N/A * fs/xfs.c (grub_xfs_dir): Likewise.
2N/A * fs/afs.c (grub_afs_dir): Likewise.
2N/A * fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
2N/A (grub_iso9660_open): Likewise.
2N/A * fs/jfs.c (grub_jfs_open): Likewise.
2N/A * fs/ext2.c (grub_ext2_dir): Likewise.
2N/A * include/grub/macho.h (grub_macho_fat_arch): Likewise.
2N/A * script/sh/lexer.c (grub_script_yylex): Likewise.
2N/A
2N/A2009-07-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Never add "-c" to CFLAGS.
2N/A
2N/A * configure.ac: Fix incorrect comparison for grub_cv_cc_efiemu.
2N/A
2N/A * configure.ac: Fix wrong use of grub_cv_cc_no_red_zone where
2N/A grub_cv_cc_efiemu should be used.
2N/A
2N/A * configure.ac: Typo fixes.
2N/A
2N/A * kern/mm.c (grub_zalloc): New function.
2N/A (grub_debug_zalloc): Likewise.
2N/A * include/grub/mm.h: Declare grub_zalloc() and
2N/A grub_debug_zalloc().
2N/A * util/misc.c (grub_zalloc): New function.
2N/A * bus/usb/uhci.c (grub_uhci_pci_iter): Use grub_zalloc()
2N/A instead of grub_malloc(), remove unneeded initializations.
2N/A * bus/usb/usbhub.c (grub_usb_hub_add_dev): Likewise.
2N/A * commands/extcmd.c (grub_extcmd_dispatcher): Likewise.
2N/A * commands/parttool.c (grub_cmd_parttool): Likewise.
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Likewise.
2N/A * disk/raid5_recover.c (grub_raid5_recover): Likewise.
2N/A * disk/raid6_recover.c (grub_raid6_recover): Likewise.
2N/A * disk/usbms.c (grub_usbms_finddevs): Likewise.
2N/A * efiemu/mm.c (grub_efiemu_request_memalign): Likewise.
2N/A * efiemu/pnvram.c (grub_efiemu_pnvram): Likewise.
2N/A (grub_cmd_efiemu_pnvram): Likewise.
2N/A * fs/i386/pc/pxe.c (grub_pxefs_open): Likewise.
2N/A * fs/iso9660.c (grub_iso9660_mount): Likewise.
2N/A (grub_iso9660_iterate_dir): Likewise.
2N/A * fs/jfs.c (grub_jfs_opendir): Likewise.
2N/A * fs/ntfs.c (list_file): Likewise.
2N/A (grub_ntfs_mount): Likewise.
2N/A * kern/disk.c (grub_disk_open): Likewise.
2N/A * kern/dl.c (grub_dl_load_core): Likewise.
2N/A * kern/elf.c (grub_elf_file): Likewise.
2N/A * kern/env.c (grub_env_context_open): Likewise.
2N/A (grub_env_set): Likewise.
2N/A (grub_env_set_data_slot): Likewise.
2N/A * kern/file.c (grub_file_open): Likewise.
2N/A * kern/fs.c (grub_fs_blocklist_open): Likewise.
2N/A * loader/i386/multiboot.c (grub_module): Likewise.
2N/A * loader/xnu.c (grub_xnu_create_key): Likewise.
2N/A (grub_xnu_create_value): Likewise.
2N/A * normal/main.c (grub_normal_add_menu_entry): Likewise.
2N/A (read_config_file): Likewise.
2N/A * normal/menu_entry.c (make_screen): Likewise.
2N/A * partmap/sun.c (sun_partition_map_iterate): Likewise.
2N/A * script/sh/lexer.c (grub_script_lexer_init): Likewise.
2N/A * script/sh/script.c (grub_script_parse): Likewise.
2N/A * video/bitmap.c (grub_video_bitmap_create): Likewise.
2N/A * video/readers/jpeg.c (grub_video_reader_jpeg): Likewise.
2N/A * video/readers/png.c (grub_png_output_byte): Likewise.
2N/A (grub_video_reader_png): Likewise.
2N/A
2N/A2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Enable all targets that can be built by default
2N/A
2N/A * configure.ac: enable efiemu runtime, grub-emu, grub-emu-usb,
2N/A grub-mkfont and grub-fstest if they can be built
2N/A
2N/A2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix hang and segmentation fault in grub-emu-usb
2N/A
2N/A * disk/scsi.c (grub_scsi_open): return err and not grub_errno
2N/A * util/usb.c (grub_libusb_devices): likewise
2N/A (grub_libusb_init): rename to ...
2N/A (GRUB_MOD_INIT (libusb)):...this
2N/A (grub_libusb_fini): rename to ..
2N/A (GRUB_MOD_FINI (libusb)):...this
2N/A * disk/usbms.c (grub_usbms_transfer): fix retry logic
2N/A * include/grub/disk.h (grub_raid_init): removed, it's useless
2N/A (grub_raid_fini): likewise
2N/A (grub_lvm_init): likewise
2N/A (grub_lvm_fini): likewise
2N/A * util/grub-emu.c (main): don't call grub_libusb_init, it's done
2N/A by grub_init_all
2N/A
2N/A2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix libusb
2N/A
2N/A * Makefile.in (LIBUSB): new macro
2N/A * genmk.rb (Utility/print_tail): new method
2N/A (Utility/rule): use intermediary variable #{prefix}_OBJECTS
2N/A (top level): call util.print_tail at the end.
2N/A
2N/A2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Make FreeBSD accept zpool.cache
2N/A
2N/A * loader/i386/bsd.c (grub_freebsd_add_meta_module): spoof filename if
2N/A type is /boot/zfs/zpool.cache
2N/A
2N/A2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix 64-bit efiemu
2N/A
2N/A * include/grub/efiemu/efiemu.h (grub_efiemu_configuration_table64_t):
2N/A correct wrong typedef
2N/A * efiemu/prepare.c (SUFFIX (grub_efiemu_prepare)): minor style fixes
2N/A
2N/A2009-07-15 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/disk.h (struct grub_disk_dev): Use enum for id.
2N/A * kern/disk.c (struct grub_disk_cache): Likewise.
2N/A
2N/A * commands/probe.c (options): Typo fix.
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END):
2N/A Increase to 0x5a to accommodate FAT32. Adjust other offsets
2N/A accordingly.
2N/A Original patch by Yves Blusseau <yves.grub-devel@zetam.org>
2N/A
2N/A * boot/i386/pc/boot.S (general_error_string): Add DOS newline at
2N/A the end of "Error" to make the message more readable.
2N/A
2N/A * boot/i386/pc/boot.S (kernel_segment): Remove.
2N/A (copy_buffer): Use GRUB_BOOT_MACHINE_KERNEL_ADDR in segment 0
2N/A for destination.
2N/A
2N/A * boot/i386/pc/boot.S (boot_version): Remove.
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ):
2N/A Remove.
2N/A
2N/A * include/grub/i386/pc/boot.h: Sort all offsets.
2N/A (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused.
2N/A (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise.
2N/A * boot/i386/pc/boot.S: Assert location of every offset listed in
2N/A include/grub/i386/pc/boot.h.
2N/A
2N/A2009-07-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/i386/coreboot/machine.h: Rename
2N/A GRUB_MACHINE_LINUXBIOS to GRUB_MACHINE_COREBOOT.
2N/A * loader/multiboot_loader.c (grub_cmd_multiboot_loader): Allow
2N/A multiboot 1 for GRUB_MACHINE_COREBOOT and GRUB_MACHINE_QEMU.
2N/A
2N/A * kern/dl.c: Force native word size to suppress warnings when
2N/A compiling grub-emu.
2N/A
2N/A * kern/device.c (grub_device_iterate): Change struct part_ent to
2N/A hold the name, not a pointer to it. Use one grub_malloc() per
2N/A partition, not two. Free partition_name if grub_malloc() fails.
2N/A Set ents to NULL only before grub_partition_iterate() is called.
2N/A
2N/A2009-07-11 Bean <bean123ch@gmail.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Fix size of
2N/A childname.
2N/A
2N/A2009-07-10 Bean <bean123ch@gmail.com>
2N/A2009-07-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_children_iterate)
2N/A (grub_devalias_iterate): Fix size evaluation for property or path
2N/A strings, which was broken since r2132.
2N/A
2N/A2009-07-07 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/search.c (search_file): Merge into ...
2N/A (search_fs): ... this. Accept search type as argument.
2N/A (grub_cmd_search): Pass search type to search_fs().
2N/A
2N/A * include/grub/util/console.h: New file.
2N/A * util/console.c: Use it instead of grub/machine/console.h.
2N/A * util/grub-emu.c: Likewise.
2N/A
2N/A * lib/arg.c (find_long_option): Remove.
2N/A (find_long): Add `len' argument, make `s' const char *.
2N/A (grub_arg_parse): Parse long options in place, not in a
2N/A temporary buffer.
2N/A
2N/A2009-07-06 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/search.c (search_fs): Fix potential NULL pointer
2N/A dereference.
2N/A
2N/A * commands/search.c (search_fs): Replace QUID macro with quid_fn
2N/A function pointer.
2N/A
2N/A2009-07-06 Daniel Mierswa <impulze@impulze.org>
2N/A
2N/A * commands/search.c (search_fs): Use grub_strcasecmp() for UUID
2N/A comparison.
2N/A
2N/A2009-07-05 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/i386/linux.h (struct linux_kernel_params):
2N/A Restore padding3, it's still needed.
2N/A
2N/A * util/grub.d/10_freebsd.in: Fix spelling of `device.hints' on
2N/A FreeBSD.
2N/A * util/osdetect.lua: Likewise.
2N/A
2N/A2009-07-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c.
2N/A
2N/A * script/lua/grub_lib.c (grub_lua_run): Check input parameter.
2N/A (grub_lua_getenv): Likewise.
2N/A (grub_lua_setenv): Likewise.
2N/A (save_errno): New function.
2N/A (push_result): Likewise.
2N/A (grub_lua_enum_device): Likewise.
2N/A (grub_lua_enum_file): Likewise.
2N/A (grub_lua_file_open): Likewise.
2N/A (grub_lua_file_close): Likewise.
2N/A (grub_lua_file_seek): Likewise.
2N/A (grub_lua_file_read): Likewise.
2N/A (grub_lua_file_getline): Likewise.
2N/A (grub_lua_file_getsize): Likewise.
2N/A (grub_lua_file_getpos): Likewise.
2N/A (grub_lua_file_eof): Likewise.
2N/A (grub_lua_file_exist): Likewise.
2N/A (grub_lua_add_menu): Likewise.
2N/A
2N/A * script/lua/grub_lua.h (isupper): New inline function.
2N/A (islower): Likewise.
2N/A (ispunct): Likewise.
2N/A (isxdigit): Likewise.
2N/A (strcspn): Change to normal function.
2N/A (strpbkr): New function declaration.
2N/A (memchr): Likewise.
2N/A
2N/A * script/lua/grub_main.c (scan_str): New function.
2N/A (strcspn): Likewise.
2N/A (strpbrk): Likewise.
2N/A (memchr): Likewise.
2N/A
2N/A * script/lua/linit.c (lualibs): Enable the string library.
2N/A
2N/A * util/osdetect.lua: New file.
2N/A
2N/A2009-07-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (struct linux_kernel_params): Add
2N/A `capabilities' member.
2N/A
2N/A2009-07-02 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * genparttoollist.sh: Add missing newline at the end.
2N/A
2N/A2009-07-01 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/x86_64/efi/callwrap.S: Add missing newline at the end.
2N/A
2N/A * util/hostdisk.c (open_device): Remove `const' from
2N/A `sysctl_size', as sysctlbyname() can change it (in this case it
2N/A doesn't actually happen).
2N/A
2N/A * include/grub/types.h: Define GRUB_LONG_MAX and GRUB_LONG_MIN
2N/A using signed long int constants.
2N/A
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Make `p'
2N/A constant to avoid a warning on FreeBSD.
2N/A
2N/A * util/hostdisk.c (device_is_wholedisk): Compile only on systems
2N/A where it's needed.
2N/A
2N/A * Makefile.in: Install include/grub/machine symlink.
2N/A
2N/A * Makefile.in: When installing symlinks, use "cp -fR", which
2N/A works on FreeBSD and MacOSX.
2N/A From Yves Blusseau <cl7m42e02@sneakemail.com>
2N/A
2N/A * kern/dl.c (grub_dl_resolve_symbol): Make static.
2N/A * include/grub/dl.h: Remove grub_dl_resolve_symbol().
2N/A
2N/A * util/misc.c: Move grub_reboot() and grub_halt() ...
2N/A * util/grub-emu.c: ... here. Make main_env static.
2N/A * include/grub/util/misc.h: Remove main_env.
2N/A
2N/A * kern/mm.c: Use correct format to print size_t.
2N/A
2N/A * include/grub/elf.h: Define Elf_Sword and Elf_Xword.
2N/A * kern/i386/dl.c: Use ELF symbols without "32" or "64".
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/x86_64/dl.c: Likewise.
2N/A
2N/A2009-07-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix grub-emu build on sparc64-ieee1275.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Synchronize with ...
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): ... this.
2N/A
2N/A2009-07-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/misc.c: Include `<setjmp.h>' and `<grub/machine/machine.h>'.
2N/A (grub_reboot, grub_halt): New functions.
2N/A
2N/A * util/i386/pc/misc.c: Delete. Update all users.
2N/A * util/sparc64/ieee1275/misc.c: Likewise.
2N/A * util/powerpc/ieee1275/misc.c: Likewise.
2N/A
2N/A2009-07-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386.rmk (setjmp_mod_SOURCES)
2N/A (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): Move to ...
2N/A * conf/common.rmk (setjmp_mod_SOURCES)
2N/A (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): ... here, and modify
2N/A to use $(target_cpu).
2N/A * conf/x86_64-efi.rmk (setjmp_mod_SOURCES)
2N/A (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): Remove.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Use
2N/A $(target_cpu) for kern/$(target_cpu)/dl.c.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Use
2N/A $(target_cpu) for kern/$(target_cpu)/dl.c and for
2N/A kern/$(target_cpu)/cache.S.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A
2N/A2009-07-01 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (linux_kernel_params): Change `mmap_size'
2N/A type to `grub_uint8_t', and adjust `padding9' accordingly.
2N/A
2N/A2009-06-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (GRUB_VIDEO_TYPE_TEXT): New macro.
2N/A
2N/A * loader/i386/linux.c [__i386__] (grub_linux_boot): Simplify inline
2N/A assembly in final jump, using register constraints.
2N/A
2N/A (grub_linux_boot): For text mode, initialize `have_vga' using
2N/A GRUB_VIDEO_TYPE_TEXT rather than 0 (this changes its value to 1).
2N/A
2N/A Initialize `video_cursor_x' and `video_cursor_y' as late as possible,
2N/A right before the final jump.
2N/A
2N/A Set `video_mode' to 0x3.
2N/A
2N/A Document initialization of `video_page', `video_mode' and
2N/A `video_ega_bx'.
2N/A
2N/A2009-06-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (GRUB_LINUX_FLAG_QUIET): New macro.
2N/A * loader/i386/linux.c (grub_cmd_linux): Recognize "quiet" option,
2N/A and set GRUB_LINUX_FLAG_QUIET appropriately.
2N/A
2N/A2009-06-29 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix build on Debian / sparc.
2N/A
2N/A * configure.ac: Recognize `sparc' target_cpu (as sparc64).
2N/A
2N/A2009-06-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/qemu/mmap.c (grub_machine_mmap_iterate): Use cast to
2N/A fix a warning.
2N/A
2N/A * util/grub.d/10_linux.in: Match SUSE style initrd names.
2N/A
2N/A2009-06-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_linux_boot): Fix uninitialized use of
2N/A `err'.
2N/A
2N/A2009-06-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Revert r2338.
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Don't call grub_error when
2N/A file can't be opened. grub_file_open() is already supposed to set
2N/A grub_errno / grub_errmsg appropriately.
2N/A * loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2N/A
2N/A2009-06-27 Pavel Roskin <proski@gnu.org>
2N/A2009-06-27 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/dl.h: Include grub/elf.h.
2N/A (struct grub_dl): Add symtab field.
2N/A * kern/dl.c [GRUB_MACHINE_QEMU]: Define
2N/A GRUB_MODULES_MACHINE_READONLY.
2N/A (grub_dl_resolve_symbols): Populate mod->symtab, making a copy
2N/A of the header for read-only modules.
2N/A (grub_dl_unload): Free mod->symtab for read-only modules.
2N/A * kern/i386/dl.c: Use mod->symtab.
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/x86_64/dl.c: Likewise.
2N/A
2N/A * conf/i386-qemu.rmk: New file.
2N/A * kern/i386/qemu/startup.S: Likewise.
2N/A * kern/i386/qemu/mmap.c: Likewise.
2N/A * boot/i386/qemu/boot.S: Likewise.
2N/A * include/grub/i386/qemu/time.h: Likewise.
2N/A * include/grub/i386/qemu/serial.h: Likewise.
2N/A * include/grub/i386/qemu/kernel.h: Likewise.
2N/A * include/grub/i386/qemu/console.h: Likewise.
2N/A * include/grub/i386/qemu/boot.h: Likewise.
2N/A * include/grub/i386/qemu/init.h: Likewise.
2N/A * include/grub/i386/qemu/machine.h: Likewise.
2N/A * include/grub/i386/qemu/loader.h: Likewise.
2N/A * include/grub/i386/qemu/memory.h: Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (GRUB_BOOT_MACHINE_LINK_ADDR)
2N/A (GRUB_KERNEL_MACHINE_LINK_ADDR): New variables.
2N/A [qemu] (pkglib_IMAGES): Add `boot.img'.
2N/A [qemu] (boot_img_SOURCES, boot_img_ASFLAGS, boot_img_LDFLAGS)
2N/A [qemu] (boot_img_FORMAT): New variables.
2N/A [qemu] (bin_UTILITIES): Add `grub-mkimage'.
2N/A [qemu] (grub_mkimage_SOURCES, grub_mkimage_CFLAGS): New variables.
2N/A [qemu] (kernel_img_SOURCES, kernel_img_HEADERS, kernel_img_CFLAGS)
2N/A [qemu] (kernel_img_ASFLAGS, kernel_img_LDFLAGS)
2N/A [qemu] (kernel_img_FORMAT): New variables.
2N/A
2N/A * configure.ac: Recognise `i386-qemu'.
2N/A
2N/A * util/i386/pc/grub-mkimage.c (compress_kernel): Add dummy variant
2N/A (for no compression).
2N/A [GRUB_MACHINE_QEMU] (generate_image): Misc adjustments to produce
2N/A a valid i386 ROM image. Make `GRUB_KERNEL_MACHINE_COMPRESSED_SIZE',
2N/A `GRUB_KERNEL_MACHINE_INSTALL_DOS_PART' and
2N/A `GRUB_KERNEL_MACHINE_INSTALL_BSD_PART' optional features (with
2N/A ifdefs).
2N/A
2N/A2009-06-27 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * efiemu/prepare.c: Eliminate TYPE macro, it makes code hard to
2N/A read.
2N/A * efiemu/prepare32.c: Likewise.
2N/A * efiemu/prepare64.c: Likewise.
2N/A
2N/A2009-06-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/types.h: Define GRUB_TARGET_WORDSIZE.
2N/A * include/grub/elf.h: Define symbols without "32" or "64" based
2N/A on GRUB_TARGET_WORDSIZE.
2N/A * include/grub/multiboot2.h: Use GRUB_TARGET_WORDSIZE.
2N/A * efiemu/loadcore32.c: Redefine GRUB_TARGET_WORDSIZE, remove own
2N/A ELF definitions.
2N/A * efiemu/loadcore64.c: Likewise.
2N/A * loader/i386/bsd32.c: Likewise.
2N/A * loader/i386/bsd64.c: Likewise.
2N/A * kern/dl.c: Remove own ELF definitions.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A
2N/A2009-06-23 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/i386/pc/startup.S (real_to_prot): Access `gdtdesc' using
2N/A segment 0x0 unconditionally, because the reference generated by
2N/A GAS is an absolute address.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/kernel.h: Include `<grub/machine/machine.h>'.
2N/A [! GRUB_MACHINE_IEEE1275]: Set `GRUB_MOD_ALIGN' to 0x1.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * commands/search.c (grub_cmd_search): Macroify hardcoded args[]
2N/A indexes. Check for -f explicitly.
2N/A (search_file): Improve error message.
2N/A (GRUB_MOD_INIT(search)): Add missing `-n' to help output.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (GRUB_MEMORY_MACHINE_LINK_ADDR): Rename to ...
2N/A (GRUB_KERNEL_MACHINE_LINK_ADDR): ... this. Update all users.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/misc.S'.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A
2N/A * kern/i386/pc/startup.S (grub_stop): Remove function.
2N/A * kern/i386/ieee1275/startup.S: Likewise.
2N/A * kern/i386/coreboot/startup.S: Likewise.
2N/A * kern/i386/misc.S (grub_stop): New function.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * kern/i386/pc/startup.S (real_to_prot): Move from here ...
2N/A * kern/i386/realmode.S (real_to_prot): ... to here.
2N/A
2N/A2009-06-22 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * conf/i386-ieee1275.rmk (pkglib_PROGRAMS): Replace `kernel.elf'
2N/A with `kernel.img'.
2N/A (kernel_elf_SOURCES): Rename to ...
2N/A (kernel_img_SOURCES): ... this.
2N/A (kernel_elf_HEADERS): Rename to ...
2N/A (kernel_img_HEADERS): ... this. Update all users.
2N/A (kernel_elf_ASFLAGS): Rename to ...
2N/A (kernel_img_ASFLAGS): ... this.
2N/A (kernel_elf_CFLAGS): Rename to ...
2N/A (kernel_img_CFLAGS): ... this.
2N/A (kernel_elf_LDFLAGS): Rename to ...
2N/A (kernel_img_LDFLAGS): ... this.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A
2N/A * util/elf/grub-mkimage.c (add_segments): Replace "kernel.elf"
2N/A with "kernel.img".
2N/A
2N/A2009-06-21 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (offset_phdr): Fix prototypes
2N/A to match nested functions.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk: Define kernel_elf_ASFLAGS.
2N/A
2N/A2009-06-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * configure.ac: Enable `END_SYMBOL' / `BSS_START_SYMBOL' test on
2N/A all i386 platforms.
2N/A
2N/A2009-06-21 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Fix asm file handling on ELF, and remove workarounds.
2N/A
2N/A * genmk.rb (class Programs): Detect assembly files, and set ASFLAGS
2N/A and -DASM_FILE=1 appropriately (copied from `class Images' stanza).
2N/A * kern/i386/ieee1275/startup.S (ASM_FILE): Remove macro.
2N/A * kern/i386/coreboot/startup.S (ASM_FILE): Likewise.
2N/A
2N/A2009-06-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Load BSD ELF modules
2N/A
2N/A * conf/i386-pc.rmk (bsd_mod_SOURCES): Add loader/i386/bsd32.c
2N/A and loader/i386/bsd64.c
2N/A * include/grub/i386/bsd.h (FREEBSD_MODTYPE_MODULE): Remove
2N/A (FREEBSD_MODTYPE_ELF_MODULE): New definition
2N/A (FREEBSD_MODTYPE_ELF_MODULE_OBJ): Likewise
2N/A (grub_freebsd_load_elfmodule32): New declaration
2N/A (grub_freebsd_load_elfmoduleobj64): Likewise
2N/A (grub_freebsd_load_elf_meta32): Likewise
2N/A (grub_freebsd_load_elf_meta64): Likewise
2N/A (grub_freebsd_add_meta): Likewise
2N/A (grub_freebsd_add_meta_module): Likewise
2N/A * loader/i386/bsd.c (grub_freebsd_add_meta): Make global
2N/A (grub_freebsd_add_meta_module): Likewise and move module-specific
2N/A parts to grub_cmd_freebsd and grub_cmd_freebsd_module
2N/A (grub_cmd_freebsd): Add elf-kernel specific parts
2N/A based on grub_freebsd_add_meta_module
2N/A (grub_cmd_freebsd_module): Add type parsing moved from
2N/A grub_freebsd_add_meta_module
2N/A (grub_cmd_freebsd_module_elf): New function
2N/A (cmd_freebsd_module_elf): New variable
2N/A (GRUB_MOD_INIT): Register freebsd_module_elf
2N/A * loader/i386/bsd32.c: New file
2N/A * loader/i386/bsd64.c: Likewise
2N/A * loader/i386/bsdXX.c: Likewise
2N/A * kern/elf.c (grub_elf32_load): Let hook decide which pheaders to load
2N/A (grub_elf64_load): Likewise
2N/A * include/grub/elfload.h (grub_elf32_load_hook_t): New parameter do_load
2N/A All users updated
2N/A (grub_elf64_load_hook_t): Likewise
2N/A
2N/A2009-06-21 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub-mkconfig.in (GRUB_DISABLE_LINUX_RECOVERY): Export
2N/A variable.
2N/A * util/grub.d/10_linux.in: If GRUB_DISABLE_LINUX_RECOVERY is true,
2N/A don't write a menu entry for recovery mode.
2N/A
2N/A2009-06-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkimage.c (main): Oops, free `output' only
2N/A after it's no longer needed.
2N/A
2N/A2009-06-20 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/loader.h (grub_linux_prot_size)
2N/A (grub_linux_tmp_addr, grub_linux_real_addr)
2N/A (grub_linux_is_bzimage, grub_linux16_boot): Declare only on
2N/A GRUB_MACHINE_PCBIOS.
2N/A * util/i386/pc/grub-mkimage.c (compress_kernel): Move
2N/A common grub_util_info() call to ...
2N/A (generate_image): ... here.
2N/A Fix use of uninitialized memory, comparison of signed with
2N/A unsigned integers and memory leak.
2N/A Remove bogus module address message.
2N/A
2N/A2009-06-20 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/mdraid_linux.c (GRUB_MOD_FINI): use grub_raid_unregister and not
2N/A grub_raid_register
2N/A * disk/dmraid_nvidia.c (GRUB_MOD_FINI): likewise
2N/A
2N/A2009-06-19 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Remove stray AC_MSG_CHECKING.
2N/A
2N/A2009-06-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * disk/scsi.c (grub_scsi_open): use continue instead of big if
2N/A
2N/A2009-06-18 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/common.rmk: Add fs_file.mod.
2N/A * disk/fs_file.c: New file.
2N/A * include/grub/disk.h (enum grub_disk_dev_id): Add
2N/A GRUB_DISK_DEVICE_FILE_ID.
2N/A
2N/A2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix build with Apple's toolchain. Part 2
2N/A
2N/A * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and
2N/A a fake start
2N/A
2N/A2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix build with Apple's toolchain. Part 1
2N/A
2N/A * commands/i386/pc/drivemap_int13h.S: use assembly-time constants
2N/A for long calls
2N/A * configure.ac: remove a leftover AC_MSG_RESULT
2N/A (CFLAGS): don't add -Wl,--defsym,___main=0x8100 when building with
2N/A Apple's toolchain
2N/A
2N/A2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix warnings
2N/A
2N/A * fs/ntfscomp.c (decomp_get16): initialize c1 and c2
2N/A (decomp_block): initialize ch
2N/A use grub_memcpy instead of memcpy
2N/A
2N/A2009-06-17 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/i386/coreboot/console.h: Don't use the i386-pc
2N/A version, use declarations needed to use vga_text as the startup
2N/A console.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Remove
2N/A term/i386/pc/at_keyboard.c, it doesn't need to be compiled into
2N/A the kernel.
2N/A * kern/i386/coreboot/init.c: Don't call grub_at_keyboard_init()
2N/A and grub_at_keyboard_fini(), it's done on module load and
2N/A unload.
2N/A
2N/A2009-06-17 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Set grub_error if the
2N/A file can't be found.
2N/A * loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2N/A
2N/A2009-06-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix newline handling
2N/A
2N/A * include/grub/script_sh.h (grub_lexer_param): new field was_newline
2N/A * script/sh/lexer.c (grub_script_lexer_init): initialize was_newline
2N/A (grub_script_yylex): don't segfault on unterminated script
2N/A newline terminates command and variable
2N/A
2N/A2009-06-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A avoid double grub_adjust_range call. Bug reported by David Simner
2N/A
2N/A * kern/disk.c (grub_disk_write): change to raw disk access before
2N/A calling disk_read
2N/A
2N/A2009-06-17 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/elf/grub-mkimage.c (usage): Prefix each option line with two
2N/A spaces, for the benefit of help2man.
2N/A * util/i386/efi/grub-mkimage.c (usage): Likewise.
2N/A
2N/A2009-06-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/halt.c: Include grub/machine/init.h.
2N/A * kern/i386/reboot.c: Include grub/cpu/reboot.h.
2N/A
2N/A2009-06-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/30_os-prober.in: Use ${root} in the generated
2N/A drivemap menuentry.
2N/A
2N/A2009-06-16 James Jarvis <James.Jarvis@ed.ac.uk>
2N/A
2N/A * commands/help.c GRUB_MOD_INIT(echo): Fix the help output of
2N/A `echo' command.
2N/A
2N/A2009-06-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * boot/i386/pc/boot.S: Remove root_drive. Assert offset of
2N/A boot_drive_check by using GRUB_BOOT_MACHINE_DRIVE_CHECK. Don't
2N/A save %dx, we only need %dl and we never change it.
2N/A * boot/i386/pc/cdboot.S: Don't set the root drive.
2N/A * boot/i386/pc/pxeboot.S: Likewise.
2N/A * include/grub/i386/pc/boot.h: Remove
2N/A GRUB_BOOT_MACHINE_ROOT_DRIVE, adjust
2N/A GRUB_BOOT_MACHINE_DRIVE_CHECK.
2N/A * include/grub/i386/pc/kernel.h: Remove grub_root_drive.
2N/A * kern/i386/pc/init.c (make_install_device): Remove references
2N/A to grub_root_drive.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * util/i386/pc/grub-setup.c (setup): Don't set root_drive.
2N/A
2N/A2009-06-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A xnu_uuid command
2N/A
2N/A * commands/xnu_uuid.c: new file
2N/A * conf/common.rmk (pkglib_MODULES): add xnu_uuid.mod
2N/A (xnu_uuid_mod_SOURCES): new variable
2N/A (xnu_uuid_mod_CFLAGS): likewise
2N/A (xnu_uuid_mod_LDFLAGS): likewise
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A * conf/sparc64-ieee1275.rmk: likewise
2N/A * util/grub.d/30_os-prober.in: use UUID for Mac OS X/Darwin
2N/A
2N/A2009-06-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Avoid '==' in test command, it's not portable.
2N/A
2N/A2009-06-16 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Probe command
2N/A
2N/A * commands/probe.c: new file
2N/A * conf/common.rmk (pkglib_MODULES): add probe.mod
2N/A (probe_mod_SOURCES): new variable
2N/A (probe_mod_CFLAGS): likewise
2N/A (probe_mod_LDFLAGS): likewise
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A * conf/sparc64-ieee1275.rmk: likewise
2N/A
2N/A2009-06-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix handling of string like \"hello\" and "a
2N/A b"
2N/A
2N/A * script/sh/lexer.c (check_textstate): accept GRUB_PARSER_STATE_ESC
2N/A (grub_script_yylex): fix parsing of quoting, escaping and newline
2N/A
2N/A2009-06-13 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * loader/i386/multiboot.c (grub_multiboot_get_bootdev): fix partition
2N/A handling
2N/A
2N/A2009-06-13 Jun Inoue <jun.lambda@gmail.com>
2N/A
2N/A * util/grub-mkconfig.in: Fix parsing of --output option.
2N/A
2N/A2009-06-12 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in (pkgdata_SRCDIR): Remove. genmodsrc.sh and
2N/A genmk.rb don't need to be generated or installed.
2N/A
2N/A2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * commands/i386/pc/drivemap_int13h.S: add more comments
2N/A
2N/A2009-06-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in (uninstall): Uninstall manuals.
2N/A
2N/A * Makefile.in: Rename lib_DATA to lib_SCRIPTS, move it from
2N/A PKGLIB to SCRIPTS. This fixes installation of grub-mkconfig_lib
2N/A and update-grub_lib in two places.
2N/A * conf/common.rmk: Rename lib_DATA to lib_SCRIPTS.
2N/A
2N/A * disk/usbms.c (grub_usbms_transfer): Initialize `err' to fix
2N/A a compiler warning.
2N/A
2N/A * loader/i386/bsd.c (grub_freebsd_boot): Rename `entry' to
2N/A `entry_lo' to fix variable shadowing.
2N/A
2N/A2009-06-11 Christian Franke <franke@computer.org>
2N/A
2N/A * kern/misc.c (__enable_execute_stack): Add missing return type
2N/A to prevent gcc warning.
2N/A
2N/A2009-06-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'.
2N/A
2N/A2009-06-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in: Don't rely on any scripts being executable.
2N/A Always use $(SHELL) to run shell scripts.
2N/A
2N/A * configure.ac: Always define ___main if using -nostdlib. This
2N/A fixes tests on Cygwin.
2N/A
2N/A2009-06-11 Giuseppe Caizzone <acaizzo@gmail.com>
2N/A
2N/A UDF fix
2N/A
2N/A * fs/udf.c (grub_udf_read_block): handle the fact that ad->length
2N/A is in bytes and not in blocks
2N/A
2N/A2009-06-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/halt.c (grub_halt): Make `i' unsigned to fix a
2N/A warning.
2N/A
2N/A2009-06-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/30_os-prober.in: Fix a comment. Source
2N/A ${libdir}/grub/grub-mkconfig_lib. Use prepare_grub_to_access_device
2N/A to set the root device. Place drivemap command in the generated
2N/A chain entry.
2N/A
2N/A2009-06-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Remove host_m32. Issues with 64-bit utilities
2N/A have long been resolved.
2N/A
2N/A2009-06-11 Colin Watson <cjwatson@ubuntu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Capitalise "Linux".
2N/A
2N/A * util/grub-pe2elf.c (usage): Fix references to grub-editenv.
2N/A
2N/A2009-06-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/efi/efi.c (grub_exit): Add infinite loop at the end to
2N/A fix a gcc warning and ensure that the function won't ever exit.
2N/A
2N/A * kern/i386/ieee1275/init.c: Add missing prototype for
2N/A grub_stop_floppy().
2N/A
2N/A * loader/ieee1275/multiboot2.c [__i386__]: Include
2N/A grub/cpu/multiboot.h.
2N/A
2N/A * term/i386/pc/serial.c (serial_translate_key_sequence): Avoid
2N/A casts to short - they are not portable and cause warnings. Fix
2N/A use of uninitialized values in input_buf. Use ARRAY_SIZE.
2N/A
2N/A2009-06-11 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Drivemap fixes
2N/A
2N/A * commands/i386/pc/drivemap.c (grub_get_root_biosnumber_drivemap):
2N/A new function
2N/A (grub_get_root_biosnumber_saved): new variable
2N/A (GRUB_MOD_INIT): register grub_get_root_biosnumber_drivemap
2N/A (GRUB_MOD_FINI): unregister grub_get_root_biosnumber_drivemap
2N/A * commands/i386/pc/drivemap_int13h.S (grub_drivemap_handler): restore
2N/A %dx after the call if necessary
2N/A * conf/common.rmk (pkglib_MODULES): remove boot.mod
2N/A (boot_mod_SOURCES): remove
2N/A (boot_mod_CFLAGS): remove
2N/A (boot_mod_LDFLAGS): remove
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): add boot.mod
2N/A (boot_mod_SOURCES): new variable
2N/A (boot_mod_CFLAGS): likewise
2N/A (boot_mod_LDFLAGS): likewise
2N/A * conf/i386-efi.rmk: likewise
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A * conf/sparc64-ieee1275.rmk: likewise
2N/A * conf/x86_64-efi.rmk: likewise
2N/A * include/grub/i386/pc/biosnum.h: new file
2N/A * lib/i386/pc/biosnum.c: likewise
2N/A * loader/i386/bsd.c (grub_bsd_get_device): use grub_get_root_biosnumber
2N/A * loader/i386/multiboot.c (grub_multiboot_get_bootdev): likewise
2N/A * loader/i386/pc/chainloader.c (grub_chainloader_cmd): likewise
2N/A
2N/A2009-06-10 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * io/gzio.c (test_header): Don't reuse one buffer for all data.
2N/A Use separate variables. Read only the file size at the end, but
2N/A not the checksum that we don't use.
2N/A
2N/A * kern/file.c (grub_file_read): Use void pointer for the buffer.
2N/A Adjust all callers.
2N/A
2N/A * kern/ieee1275/openfw.c: Remove libc includes.
2N/A * kern/ieee1275/cmain.c: Likewise.
2N/A * include/grub/ieee1275/ieee1275.h: Likewise.
2N/A
2N/A * kern/i386/coreboot/init.c: Include grub/cpu/tsc.h to fix
2N/A compiler warnings.
2N/A
2N/A2009-06-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in: Remove all trailing whitespace.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * docs/grub.texi: Likewise.
2N/A * docs/texinfo.tex: Likewise.
2N/A * disk/fs_uuid.c: Likewise.
2N/A * disk/lvm.c: Likewise.
2N/A * disk/scsi.c: Likewise.
2N/A * disk/ata.c: Likewise.
2N/A * disk/ieee1275/ofdisk.c: Likewise.
2N/A * disk/i386/pc/biosdisk.c: Likewise.
2N/A * disk/host.c: Likewise.
2N/A * disk/raid.c: Likewise.
2N/A * disk/efi/efidisk.c: Likewise.
2N/A * disk/usbms.c: Likewise.
2N/A * disk/memdisk.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/device.c: Likewise.
2N/A * kern/dl.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/ieee1275/ieee1275.c: Likewise.
2N/A * kern/term.c: Likewise.
2N/A * kern/fs.c: Likewise.
2N/A * kern/i386/dl.c: Likewise.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * kern/i386/pc/init.c: Likewise.
2N/A * kern/i386/pc/mmap.c: Likewise.
2N/A * kern/i386/pc/lzo1x.S: Likewise.
2N/A * kern/i386/ieee1275/init.c: Likewise.
2N/A * kern/i386/realmode.S: Likewise.
2N/A * kern/i386/tsc.c: Likewise.
2N/A * kern/partition.c: Likewise.
2N/A * kern/corecmd.c: Likewise.
2N/A * kern/file.c: Likewise.
2N/A * kern/efi/efi.c: Likewise.
2N/A * kern/efi/init.c: Likewise.
2N/A * kern/efi/mm.c: Likewise.
2N/A * kern/main.c: Likewise.
2N/A * kern/err.c: Likewise.
2N/A * kern/env.c: Likewise.
2N/A * kern/disk.c: Likewise.
2N/A * kern/generic/millisleep.c: Likewise.
2N/A * kern/generic/rtc_get_time_ms.c: Likewise.
2N/A * kern/misc.c: Likewise.
2N/A * kern/parser.c: Likewise.
2N/A * genmk.rb: Likewise.
2N/A * configure.ac: Likewise.
2N/A * boot/i386/pc/diskboot.S: Likewise.
2N/A * boot/i386/pc/pxeboot.S: Likewise.
2N/A * boot/i386/pc/boot.S: Likewise.
2N/A * boot/i386/pc/lnxboot.S: Likewise.
2N/A * boot/i386/pc/cdboot.S: Likewise.
2N/A * parttool/pcpart.c: Likewise.
2N/A * video/readers/tga.c: Likewise.
2N/A * video/video.c: Likewise.
2N/A * video/bitmap.c: Likewise.
2N/A * lib/envblk.c: Likewise.
2N/A * lib/i386/setjmp.S: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * fs/afs.c: Likewise.
2N/A * fs/fat.c: Likewise.
2N/A * fs/ntfs.c: Likewise.
2N/A * fs/udf.c: Likewise.
2N/A * fs/affs.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/fshelp.c: Likewise.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/reiserfs.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/cpio.c: Likewise.
2N/A * fs/sfs.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * efiemu/prepare.c: Likewise.
2N/A * efiemu/loadcore_common.c: Likewise.
2N/A * efiemu/runtime/efiemu.sh: Likewise.
2N/A * efiemu/runtime/efiemu.S: Likewise.
2N/A * efiemu/runtime/efiemu.c: Likewise.
2N/A * efiemu/pnvram.c: Likewise.
2N/A * efiemu/main.c: Likewise.
2N/A * efiemu/i386/pc/cfgtables.c: Likewise.
2N/A * efiemu/i386/loadcore64.c: Likewise.
2N/A * efiemu/i386/loadcore32.c: Likewise.
2N/A * efiemu/loadcore.c: Likewise.
2N/A * efiemu/symbols.c: Likewise.
2N/A * efiemu/mm.c: Likewise.
2N/A * include/grub/autoefi.h: Likewise.
2N/A * include/grub/datetime.h: Likewise.
2N/A * include/grub/term.h: Likewise.
2N/A * include/grub/hfs.h: Likewise.
2N/A * include/grub/lvm.h: Likewise.
2N/A * include/grub/i386/tsc.h: Likewise.
2N/A * include/grub/i386/linux.h: Likewise.
2N/A * include/grub/i386/xnu.h: Likewise.
2N/A * include/grub/i386/efiemu.h: Likewise.
2N/A * include/grub/i386/pc/biosdisk.h: Likewise.
2N/A * include/grub/i386/pc/memory.h: Likewise.
2N/A * include/grub/i386/pc/vbe.h: Likewise.
2N/A * include/grub/parttool.h: Likewise.
2N/A * include/grub/video.h: Likewise.
2N/A * include/grub/memory.h: Likewise.
2N/A * include/grub/fs.h: Likewise.
2N/A * include/grub/partition.h: Likewise.
2N/A * include/grub/xnu.h: Likewise.
2N/A * include/grub/efi/api.h: Likewise.
2N/A * include/grub/efi/pe32.h: Likewise.
2N/A * include/grub/efi/memory.h: Likewise.
2N/A * include/grub/multiboot.h: Likewise.
2N/A * include/grub/usbdesc.h: Likewise.
2N/A * include/grub/multiboot2.h: Likewise.
2N/A * include/grub/acpi.h: Likewise.
2N/A * include/grub/efiemu/efiemu.h: Likewise.
2N/A * include/grub/disk.h: Likewise.
2N/A * include/grub/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/net.h: Likewise.
2N/A * include/grub/machoload.h: Likewise.
2N/A * include/grub/macho.h: Likewise.
2N/A * include/multiboot.h: Likewise.
2N/A * genmoddep.awk: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/menu_entry.c: Likewise.
2N/A * normal/menu_viewer.c: Likewise.
2N/A * normal/completion.c: Likewise.
2N/A * normal/cmdline.c: Likewise.
2N/A * normal/misc.c: Likewise.
2N/A * normal/datetime.c: Likewise.
2N/A * bus/usb/usbtrans.c: Likewise.
2N/A * bus/usb/ohci.c: Likewise.
2N/A * bus/usb/uhci.c: Likewise.
2N/A * bus/usb/usb.c: Likewise.
2N/A * mmap/efi/mmap.c: Likewise.
2N/A * mmap/i386/pc/mmap_helper.S: Likewise.
2N/A * mmap/i386/pc/mmap.c: Likewise.
2N/A * mmap/i386/mmap.c: Likewise.
2N/A * mmap/i386/uppermem.c: Likewise.
2N/A * mmap/mmap.c: Likewise.
2N/A * commands/acpi.c: Likewise.
2N/A * commands/echo.c: Likewise.
2N/A * commands/blocklist.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/usbtest.c: Likewise.
2N/A * commands/boot.c: Likewise.
2N/A * commands/parttool.c: Likewise.
2N/A * commands/search.c: Likewise.
2N/A * commands/cat.c: Likewise.
2N/A * commands/i386/pc/play.c: Likewise.
2N/A * commands/i386/pc/drivemap.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/i386/pc/acpi.c: Likewise.
2N/A * commands/i386/pc/vbetest.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * commands/efi/acpi.c: Likewise.
2N/A * commands/gptsync.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * partmap/acorn.c: Likewise.
2N/A * partmap/pc.c: Likewise.
2N/A * partmap/sun.c: Likewise.
2N/A * partmap/gpt.c: Likewise.
2N/A * script/sh/lexer.c: Likewise.
2N/A * script/sh/function.c: Likewise.
2N/A * font/font.c: Likewise.
2N/A * font/font_cmd.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * loader/efi/chainloader.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * loader/macho.c: Likewise.
2N/A * loader/i386/multiboot.c: Likewise.
2N/A * loader/i386/linux.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/i386/pc/multiboot2.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/pc/xnu.c: Likewise.
2N/A * loader/i386/bsd_trampoline.S: Likewise.
2N/A * loader/i386/efi/linux.c: Likewise.
2N/A * loader/i386/multiboot_elfxx.c: Likewise.
2N/A * loader/i386/bsd_helper.S: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/i386/linux_trampoline.S: Likewise.
2N/A * loader/i386/xnu_helper.S: Likewise.
2N/A * loader/i386/xnu.c: Likewise.
2N/A * loader/i386/bsd_pagetable.c: Likewise.
2N/A * loader/i386/multiboot_helper.S: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A * loader/xnu_resume.c: Likewise.
2N/A * io/gzio.c: Likewise.
2N/A * term/efi/console.c: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * term/usb_keyboard.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * aclocal.m4: Likewise.
2N/A * util/lvm.c: Likewise.
2N/A * util/grub.d/30_os-prober.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/console.c: Likewise.
2N/A * util/grub-macho2img.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/hostfs.c: Likewise.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A * util/grub-mkconfig.in: Likewise.
2N/A * util/raid.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-emu.c: Likewise.
2N/A * util/getroot.c: Likewise.
2N/A * util/hostdisk.c: Likewise.
2N/A * util/usb.c: Likewise.
2N/A * util/grub-editenv.c: Likewise.
2N/A * util/misc.c: Likewise.
2N/A
2N/A2009-06-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * gendistlist.sh (EXTRA_DISTFILES): Add `genhandlerlist.sh' and
2N/A `genparttoollist.sh'.
2N/A (DISTDIRS): Add `efiemu', `mmap', `parttool' and `script'.
2N/A Add `*.sh' to the list find searches for and change `mdate.sh'
2N/A to `mdate-sh'.
2N/A
2N/A2009-06-10 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/multiboot2.h: Provide compatibility defines for
2N/A multiboot2.h.
2N/A * include/multiboot2.h: Include stdint.h only if needed, using
2N/A angle brackets.
2N/A * loader/i386/pc/multiboot2.c: Include multiboot2.h after
2N/A grub/multiboot2.h.
2N/A * loader/ieee1275/multiboot2.c: Likewise.
2N/A * loader/multiboot2.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A
2N/A * configure.ac: Use -nostdlib when probing for the target. It
2N/A should not be required to have libc for the target.
2N/A
2N/A * configure.ac: Remove checks for __bswapsi2 and __bswapdi2,
2N/A they fail without libc headers for the target.
2N/A * include/grub/powerpc/libgcc.h: Use weak attribute for all
2N/A exports.
2N/A * include/grub/sparc64/libgcc.h: Likewise. Don't use
2N/A preprocessor conditionals.
2N/A
2N/A * conf/common.rmk: Compile tar.mod from tar.c, not cpio.c. The
2N/A build system doesn't need to be aware of the tar.c internals.
2N/A
2N/A2009-06-09 Michel Hermier <michel.hermier@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_read): Fix returned values.
2N/A
2N/A2009-06-09 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Increase number of
2N/A disk limit to 26 for IDE, Virtio, Xen and SCSI.
2N/A
2N/A2009-06-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-install.in: Change the error message if UUIDs
2N/A aren't available if ata.mod gets used.
2N/A
2N/A2009-06-09 Oliver Henshaw <oliver.henshaw@gmail.com>
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Link struct only after
2N/A initialising controller.
2N/A * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
2N/A
2N/A2009-06-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-install.in: Add a parameter --disk-module
2N/A to choose between ata and biosdisk module on i386-pc.
2N/A
2N/A2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Define the Class,
2N/A Subclass and Programming Interface fields in terms of the 3 byte
2N/A Class Code register.
2N/A * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Check that programming
2N/A interface is OHCI. Add grub_dprintf for symmetry with
2N/A bus/usb/uhci.c.
2N/A * bus/usb/uhci.c (grub_uhci_pci_iter): Check that programming
2N/A interface is UHCI. Add interf variable for programming
2N/A interface. Print interface with class/subclass.
2N/A
2N/A * bus/usb/ohci.c: Set interf with correct field.
2N/A
2N/A * bus/usb/uhci.c: Remove unneeded doubled lines.
2N/A * bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
2N/A Remove whitespace inside comment.
2N/A
2N/A2009-06-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): When processing `vga=', use
2N/A as fallback an equivalent option without depth.
2N/A
2N/A2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Not fail if unable to retrieve C/H/S on LBA disks
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_open): behave gracefully
2N/A if unable to retrieve C/H/S on LBA disks
2N/A
2N/A2009-06-08 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * fs/hfs.c (grub_hfs_find_dir): Use union to avoid a warning
2N/A about aliasing.
2N/A
2N/A2009-06-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (uninstall): Remove all $lib_DATA files.
2N/A
2N/A2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Bugfix: install on partitionless device
2N/A
2N/A * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): check if os_dev
2N/A is a whole disk
2N/A
2N/A2009-06-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (uninstall): Remove all $include_DATA files.
2N/A
2N/A2009-06-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/true.c: New file. Implement the true and false commands.
2N/A * conf/common.rmk.c (pkglib_MODULES): Add `true.mod'.
2N/A (true_mod_SOURCES): New variable.
2N/A (true_mod_CFLAGS): Likewise.
2N/A (true_mod_LDFLAGS): Likewise.
2N/A
2N/A2009-06-05 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Optimized font character lookup using binary search instead of linear
2N/A search. Fonts now are required to have the character index ordered by
2N/A code point.
2N/A
2N/A * font/font.c (load_font_index): Verify that fonts have ordered
2N/A character indices.
2N/A (find_glyph): Use binary search instead of linear search to find a
2N/A character in a font.
2N/A
2N/A2009-06-05 Michael Scherer <misc@mandriva.org>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_mount): Determine if the filesystem
2N/A uses case sensitive btree.
2N/A (grub_hfsplus_iterate_dir): Use GRUB_FSHELP_CASE_INSENSITIVE
2N/A only for case insensitive filesystems.
2N/A
2N/A2009-06-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (efiemu_mod_CFLAGS): remove -Werror -Wall
2N/A * conf/common.rmk (search_mod_CFLAGS): likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S [APPLE_CC]: block of nops to
2N/A compensate a compiler bug
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * include/grub/term.h (GRUB_TERM_BACKSPACE): explicitly define as 8
2N/A instead of '\b'
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Definitions for creating asm symbols with Apple's CC
2N/A
2N/A * include/grub/symbol.h [APPLE_CC] (FUNCTION): new macro
2N/A [APPLE_CC] (VARIABLE): likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Disable lnxboot.img when compiled
2N/A with Apple's CC
2N/A
2N/A * conf/i386-pc.rmk (pkglib_IMAGES): remove lnxboot.img
2N/A pkglib_IMAGES [! TARGET_APPLE_CC] (pkglib_IMAGES): add lnxboot.img
2N/A * boot/i386/pc/lnxboot.S [APPLE_CC]: define an #error
2N/A [! APPLE_CC] (CODE_LENG): skip
2N/A [! APPLE_CC] (setup_sects): likewise
2N/A [! APPLE_CC]: skip filling
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Address in trampolines based on 32-bit registers when compiled
2N/A with Apple's CC
2N/A
2N/A * loader/i386/xnu_helper.S [APPLE_CC]: use 32-bit registers
2N/A for addresses
2N/A * loader/i386/linux_trampoline.S [APPLE_CC]: likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid aliases when compiling with Apple's CC for PCBIOS machine
2N/A
2N/A * kern/misc.c [APPLE_CC] (memcpy): new function
2N/A [APPLE_CC] (memmove): likewise
2N/A [APPLE_CC && !GRUB_UTIL] (grub_err_printf): likewise
2N/A (memcpy): define alias conditionally on !APPLE_CC
2N/A (memset): likewise
2N/A (abort): likewise
2N/A * include/grub/misc.h (memove): don't define when both GRUB_UTIL and
2N/A APPLE_CC are defined
2N/A * include/grub/list.h [APPLE_CC] (grub_assert_fail): new function
2N/A (grub_assert_fail): make prototype conditional
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use grub-macho2img when compiling with Apple's CC for PCBIOS machine
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): add (on false on condition)
2N/A grub-macho2img
2N/A (CLEANFILES): add grub-macho2img
2N/A (grub_macho2img_SOURCES): new variable
2N/A * kern/i386/pc/startup.S (bss_start): new variable
2N/A (bss_end): likewise
2N/A * genmk.rb: use grub-macho2img for *.img when compiled with Apple's CC
2N/A * util/grub-macho2img.c: new file
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use objconv when compiling with Apple's CC
2N/A
2N/A * conf/i386-pc.rmk (efiemu32.o): use OBJCONV if defined
2N/A (efiemu64.o): likewise
2N/A (efiemu64_c.o): omit -mcmodel=large and add -DAPPLE_CC=1
2N/A when compiling with Apple's CC
2N/A (efiemu64_s.o): likewise
2N/A * configure.ac: check for objconv when compiling with Apple's CC
2N/A * genmk.rb: use objconv for modules when compiled with Apple's CC
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Define segment as well as section when compiling with
2N/A Apple's CC
2N/A
2N/A * efiemu/runtime/efiemu.c (PHYSICAL_ATTRIBUTE): new definition
2N/A (efiemu_set_virtual_address_map): declare with PHYSICAL_ATTRIBUTE
2N/A (efiemu_convert_pointer): likewise
2N/A (efiemu_set_virtual_address_map): likewise
2N/A (efiemu_convert_pointer): likewise
2N/A (efiemu_getcrc32): likewise
2N/A (init_crc32_table): likewise
2N/A (reflect): likewise
2N/A * include/grub/dl.h (GRUB_MOD_NAME): define segment with Apple's CC
2N/A (GRUB_MOD_DEP): likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Allow a compilation without -mcmodel=large
2N/A
2N/A * kern/efi/mm.c (grub_efi_allocate_pages): don't allocate >4GiB
2N/A when compiled without -mcmodel=large
2N/A (filter_memory_map): remove memory post 4 GiB when compiled
2N/A without -mcmodel=large
2N/A * configure.ac: fail gracefully and add -DMCMODEL_SMALL=1 to
2N/A TARGET_CFLAGS when -mcmodel=large isn't supported
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove nested functions in efiemu core
2N/A
2N/A * efiemu/runtime/efiemu.c (reflect): make static instead of nested
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid clobbering %ebx/%rbx in inline assembly with Apple's CC
2N/A
2N/A * efiemu/runtime/efiemu.c (write_cmos): use %cl instead of %bl as
2N/A temporary storage
2N/A * include/grub/i386/tsc.h (grub_get_tsc): restore %rbx/%ebx when
2N/A using Apple's CC
2N/A (grub_cpu_is_tsc_supported): likewise
2N/A * loader/i386/xnu.c (guessfsb): restore %rbx/%ebx in inline assembly
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Absolute addressing through constant with Apple's cc
2N/A
2N/A * kern/i386/pc/startup.S: Define necessary constants
2N/A and address through it when using ABS with Apple's CC
2N/A * boot/i386/pc/diskboot.S: likewise
2N/A * boot/i386/pc/boot.S: likewise
2N/A * boot/i386/pc/lnxboot.S: likewise
2N/A * boot/i386/pc/cdboot.S: likewise
2N/A * mmap/i386/pc/mmap_helper.S: likewise
2N/A * commands/i386/pc/drivemap_int13h.S: likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Check if compiler is apple cc
2N/A
2N/A * Makefile.in (ASFLAGS): new variable
2N/A (TARGET_ASFLAGS): likewise
2N/A (TARGET_MODULE_FORMAT): likewise
2N/A (TARGET_APPLE_CC): likewise
2N/A (OBJCONV): likewise
2N/A (TARGET_IMG_CFLAGS): likewise
2N/A (TARGET_CPPFLAGS): add includedir
2N/A * configure.ac: call grub_apple_cc and grub_apple_target_cc
2N/A (TARGET_IMG_LDFLAGS): Add -Wl,-Ttext,. All users updated
2N/A Check for linker script only if compiler isn't Apple's CC
2N/A (TARGET_MODULE_FORMAT): set
2N/A (TARGET_APPLE_CC): likewise
2N/A (TARGET_ASFLAGS): likewise
2N/A (ASFLAGS): likewise
2N/A Check for objcopy only if compiler isn't Apple's CC
2N/A Check for BSS symbol only if compiler isn't Apple's CC
2N/A * genmk.rb: adapt nm options if we use Apple's utils
2N/A * aclocal.m4 (grub_apple_cc): new test
2N/A (grub_apple_target_cc): likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Simplify sed expressions and improve awk
2N/A
2N/A * Makefile.in (install-local): simplify sed expression
2N/A * gencmdlist.sh: likewise
2N/A * genmoddep.awk: avoid adding module as a dependency of itself
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Add missing start symbols
2N/A
2N/A * boot/i386/pc/boot.S: add start
2N/A * boot/i386/pc/pxeboot.S: likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fix wrong assumptions with grub-mkimage on EFI
2N/A
2N/A * i386/efi/grub-mkimage.c (read_kernel_module): don't write prefix here
2N/A (relocate_addresses): consider both r_addend and value at offset
2N/A (make_mods_section): zerofill modinfo and header
2N/A (convert_elf): write prefix here
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Use .asciz instead of .string
2N/A
2N/A * i386/pc/diskboot.S: use .asciz instead of .string
2N/A * i386/pc/boot.S: likewise
2N/A * include/grub/dl.h (GRUB_MOD_DEP): likewise
2N/A (GRUB_MOD_NAME): likewise
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A gfxpayload support
2N/A
2N/A * commands/videotest.c (grub_cmd_videotest): use grub_video_set_mode
2N/A * include/grub/video.h (GRUB_VIDEO_MODE_TYPE_PURE_TEXT): new definition
2N/A (grub_video_setup): remove
2N/A (grub_video_set_mode): new prototype
2N/A * loader/i386/linux.c (DEFAULT_VIDEO_MODE): new definition
2N/A (vid_mode): remove
2N/A (linux_vesafb_res): compile only on PCBIOS
2N/A (grub_linux_boot): support gfxpayload
2N/A * loader/i386/pc/xnu.c (video_hook): new function
2N/A (grub_xnu_set_video): support gfxpayload
2N/A * term/gfxterm.c (DEFAULT_VIDEO_WIDTH): removed
2N/A (DEFAULT_VIDEO_HEIGHT): likewise
2N/A (DEFAULT_VIDEO_FLAGS): likewise
2N/A (DEFAULT_VIDEO_MODE): new definition
2N/A (video_hook): new function
2N/A (grub_gfxterm_init): use grub_video_set_mode
2N/A * util/grub.d/30_os-prober.in: remove explicit modesetting before
2N/A loading xnu
2N/A * video/video.c (grub_video_setup): removed
2N/A (grub_video_set_mode): new function based on grub_gfxterm_init and
2N/A grub_video_setup
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Avoid calling biosdisk in drivemap
2N/A
2N/A * commands/i386/pc/drivemap.c (parse_biosdisk): remove
2N/A (revparse_biosdisk): likewise
2N/A (list_mappings): derive name from id directly
2N/A (grub_cmd_drivemap): use tryparse_diskstring
2N/A
2N/A2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Script fixes
2N/A
2N/A * include/grub/script_sh.h (grub_script_cmdline): remove cmdline
2N/A (grub_lexer_param): add tokenonhold
2N/A (grub_script_create_cmdline): remove cmdline. All callers updated
2N/A (grub_script_function_create): make functionname
2N/A grub_script_arg. All callers updated
2N/A (grub_script_execute_argument_to_string): new prototype
2N/A * kern/parser.c (state_transitions): reorder
2N/A (grub_parser_cmdline_state): fix a bug and make more compact
2N/A * script/sh/execute.c (grub_script_execute_argument_to_string):
2N/A make global
2N/A (grub_script_execute_cmdline): use new format
2N/A * script/sh/function.c (grub_script_function_create): make functionname
2N/A grub_script_arg. All callers updated
2N/A * script/sh/lexer.c (grub_script_lexer_init): initialize tokenonhold
2N/A (grub_script_yylex): remove
2N/A (grub_script_yylex2): renamed to ...
2N/A (grub_script_yylex): ...renamed
2N/A parse the expressions like a${b}c
2N/A * script/sh/parser.y (GRUB_PARSER_TOKEN_ARG): new typed terminal
2N/A (GRUB_PARSER_TOKEN_VAR): remove
2N/A (GRUB_PARSER_TOKEN_NAME): likewise
2N/A ("if"): declare as typeless
2N/A ("while"): likewise
2N/A ("function"): likewise
2N/A ("else"): likewise
2N/A ("then"): likewise
2N/A ("fi"): likewise
2N/A (text): remove
2N/A (argument): likewise
2N/A (script): accept empty scripts and make exit on error
2N/A (arguments): use GRUB_PARSER_TOKEN_ARG
2N/A (function): likewise
2N/A (command): move error handling to script
2N/A (menuentry): move grub_script_lexer_ref before
2N/A * script/sh/script.c (grub_script_create_cmdline): remove cmdline
2N/A argument. All callers updated
2N/A
2N/A2009-06-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Prevent GRUB from probing floppies during boot.
2N/A
2N/A * conf/common.rmk (search_mod_CFLAGS): Use `-Werror -Wall'.
2N/A * commands/search.c (options): Add --no-floppy.
2N/A (search_fs, search_file, grub_cmd_search): Support --no-floppy.
2N/A * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Use
2N/A --no-floppy when searching for UUIDs.
2N/A
2N/A2009-06-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A Simplify the code duplication in commands/search.c.
2N/A
2N/A * commands/search.c (search_label, search_fs_uuid): Merge into ...
2N/A (search_fs): ... this. Update all users.
2N/A
2N/A2009-06-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in (update_grub_dir): Rename to grub_mkconfig_dir.
2N/A
2N/A2009-05-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in: Don't use "cp -d", it doesn't work on FreeBSD.
2N/A Remove the original symlink explicitly.
2N/A
2N/A * fs/hfs.c (grub_hfs_find_dir): Skip sequences of slashes, not
2N/A just one slash. That's how grub_fshelp_find_file() does it.
2N/A
2N/A2009-05-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * genmk.rb: Avoid shadowing variable `s', rename the outer `s'
2N/A to `str'.
2N/A
2N/A * util/getroot.c (grub_util_get_dev_abstraction): Mark os_dev as
2N/A possibly unused.
2N/A
2N/A2009-05-25 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/ata.c (grub_ata_wait_not_busy): Add debug output of status
2N/A register.
2N/A (grub_atapi_identify): Add wait after drive select.
2N/A (grub_ata_identify): Do more strict status register check before
2N/A calling grub_atapi_identify (). Suppress error message if status
2N/A register is 0x00 after command failure. Add status register
2N/A check after PIO read to avoid bogus identify due to stuck DRQ.
2N/A Thanks to Pavel Roskin for testing.
2N/A (grub_device_initialize): Remove unsafe status register check.
2N/A Thanks to 'phcoder' for problem report and patch.
2N/A Prevent sign extension in debug message.
2N/A
2N/A2009-05-23 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Cleaned up `include/grub/normal.h'. Grouped prototypes by
2N/A definition file, and functions defined in `normal/menu.c' have had
2N/A their prototypes moved to `include/grub/menu.h' for consistency.
2N/A
2N/A * include/grub/menu.h (grub_menu_execute_callback): Added; moved
2N/A from normal.h.
2N/A (grub_menu_get_entry): Likewise.
2N/A (grub_menu_get_timeout): Likewise.
2N/A (grub_menu_set_timeout): Likewise.
2N/A (grub_menu_execute_entry): Likewise.
2N/A (grub_menu_execute_with_fallback): Likewise.
2N/A (grub_menu_entry_run): Likewise.
2N/A
2N/A * include/grub/normal.h: Re-ordered and grouped function
2N/A prototypes by file that the function is defined in.
2N/A (grub_menu_execute_callback): Removed; moved to menu.h.
2N/A (grub_menu_get_entry): Likewise.
2N/A (grub_menu_get_timeout): Likewise.
2N/A (grub_menu_set_timeout): Likewise.
2N/A (grub_menu_execute_entry): Likewise.
2N/A (grub_menu_execute_with_fallback): Likewise.
2N/A (grub_menu_entry_run): Likewise.
2N/A (grub_menu_addentry): Renamed from this ...
2N/A (grub_normal_add_menu_entry): ... to this.
2N/A
2N/A * normal/main.c (grub_menu_addentry): Renamed from this ...
2N/A (grub_normal_add_menu_entry): ... to this.
2N/A
2N/A * script/sh/execute.c (grub_script_execute_menuentry): Update
2N/A reference to renamed grub_menu_addentry function.
2N/A
2N/A2009-05-23 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/i386/pc/drivemap.c (MODNAME): Remove. Update all users.
2N/A
2N/A2009-05-22 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Remove.
2N/A * configure.ac: Don't call grub_I386_CHECK_REGPARM_BUG. Define
2N/A NESTED_FUNC_ATTR using AH_BOTTOM. Use regparm(1) only when
2N/A compiling for the i386 targets, but not for the utilities.
2N/A
2N/A * include/grub/i386/pc/kernel.h (grub_boot_drive): Change type
2N/A to grub_uint8_t.
2N/A (grub_root_drive): Likewise.
2N/A * kern/i386/pc/startup.S (grub_boot_drive): Change size to byte,
2N/A remove alignment.
2N/A (grub_root_drive): Change size to byte.
2N/A (grub_start_addr): Remove.
2N/A (grub_end_addr): Likewise.
2N/A (grub_apm_bios_info): Likewise.
2N/A
2N/A2009-05-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * normal/i386: Remove.
2N/A * normal/powerpc: Likewise.
2N/A * normal/sparc64: Likewise.
2N/A * normal/x86_64: Likewise.
2N/A
2N/A2009-05-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/x86_64-efi.rmk (linux_mod_ASFLAGS): Add missing variable
2N/A * loader/i386/linux_trampoline.S: Fix indentation
2N/A * loader/i386/xnu_helper.S: Likewise
2N/A
2N/A2009-05-18 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Display error messages when parsing a Lua statement fails.
2N/A Previously, executing a syntactically invalid statement like
2N/A ")foo" or "bar;" would silently fail.
2N/A
2N/A * script/lua/grub_main.c (handle_lua_error): New function.
2N/A (grub_lua_parse_line): Improved reporting of Lua parser and
2N/A execution errors.
2N/A
2N/A2009-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Remove -Werror which causes build to fail on some systems
2N/A
2N/A * conf/i386-pc.rmk (xnu_mod_CFLAGS): Remove -Werror -Wall
2N/A * conf/i386-efi.rmk (xnu_mod_CFLAGS): Likewise
2N/A * conf/x86_64-efi.rmk (xnu_mod_CFLAGS): Likewise
2N/A
2N/A2009-05-17 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A trampoline for linux on 64-bit platform
2N/A
2N/A * conf/x86_64-efi.rmk (linux_mod_SOURCES): added
2N/A loader/i386/efi/linux_trampoline.S
2N/A * include/grub/x86_64/efi/loader.h (grub_linux_real_boot): removed
2N/A declaration
2N/A * kern/x86_64/efi/startup.S (grub_linux_real_boot): moved from
2N/A here
2N/A * loader/i386/linux_trampoline.S: moved here
2N/A * loader/i386/efi/linux.c (allocate_pages): reserve space for
2N/A trampoline
2N/A (jumpvector): removed
2N/A (grub_linux_trampoline_start): new declaration
2N/A (grub_linux_trampoline_end): likewise
2N/A (grub_linux_boot): use trampoline when on 64-bit platform
2N/A * loader/i386/linux.c: likewise
2N/A
2N/A2009-05-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * script/lua/grub_lib.c (grub_lua_getenv): Make name and value
2N/A const to avoid a warning.
2N/A (grub_lua_setenv): Likewise.
2N/A * script/lua/grub_main.c (grub_lua_parse_line): Use size_t for
2N/A lmsg to fix a warning.
2N/A
2N/A2009-05-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386.rmk (setjmp_mod_CFLAGS): Rename to ...
2N/A (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
2N/A * conf/x86_64-efi.rmk (setjmp_mod_CFLAGS): Rename to ...
2N/A (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
2N/A * conf/powerpc-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ...
2N/A (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
2N/A * conf/sparc64-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ...
2N/A (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
2N/A
2N/A2009-05-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-mkconfig.in: Export GRUB_TERMINAL_INPUT.
2N/A
2N/A2009-05-16 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add lua.mod.
2N/A (lua_mod_SOURCES): New variable.
2N/A (lua_mod_CFLAGS): Likewise.
2N/A (lua_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386.rmk (pkglib_MODULES): Add setjmp.mod.
2N/A (setjmp_mod_SOURCES): New variable.
2N/A (setjmp_mod_CFLAGS): Likewise.
2N/A (setjmp_LDFLAGS): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk (pkglib_MODULES): Add setjmp.mod.
2N/A (setjmp_mod_SOURCES): New variable.
2N/A (setjmp_mod_CFLAGS): Likewise.
2N/A (setjmp_LDFLAGS): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod.
2N/A (setjmp_mod_SOURCES): New variable.
2N/A (setjmp_mod_CFLAGS): Likewise.
2N/A (setjmp_LDFLAGS): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod.
2N/A (setjmp_mod_SOURCES): New variable.
2N/A (setjmp_mod_CFLAGS): Likewise.
2N/A (setjmp_LDFLAGS): Likewise.
2N/A
2N/A * normal/i386/setjmp.S: Moved from here ...
2N/A * lib/i386/setjmp.S: ... Moved here
2N/A * normal/x86_64/setjmp.S: Moved from here ...
2N/A * lib/x86_64/setjmp.S: ... Moved here
2N/A * normal/powerpc/setjmp.S: Moved from here ...
2N/A * lib/powerpc/setjmp.S: ... Moved here
2N/A * normal/sparc64/setjmp.S: Moved from here ...
2N/A * lib/sparc64/setjmp.S: ... Moved here
2N/A
2N/A * include/grub/i386/setjmp.h (grub_setjmp): Don't use attribute
2N/A returns_twice in mingw.
2N/A
2N/A * script/lua/grub_lib.c: New file.
2N/A * script/lua/grub_lib.h: Likewise.
2N/A * script/lua/grub_lua.h: Likewise.
2N/A * script/lua/grub_main.c: Likewise.
2N/A * script/lua/lapi.c: Likewise.
2N/A * script/lua/lapi.h: Likewise.
2N/A * script/lua/lauxlib.c: Likewise.
2N/A * script/lua/lauxlib.h: Likewise.
2N/A * script/lua/lbaselib.c: Likewise.
2N/A * script/lua/lcode.c: Likewise.
2N/A * script/lua/lcode.h: Likewise.
2N/A * script/lua/ldblib.c: Likewise.
2N/A * script/lua/ldebug.c: Likewise.
2N/A * script/lua/ldebug.h: Likewise.
2N/A * script/lua/ldo.c: Likewise.
2N/A * script/lua/ldo.h: Likewise.
2N/A * script/lua/ldump.c: Likewise.
2N/A * script/lua/lfunc.c: Likewise.
2N/A * script/lua/lfunc.h: Likewise.
2N/A * script/lua/lgc.c: Likewise.
2N/A * script/lua/lgc.h: Likewise.
2N/A * script/lua/linit.c: Likewise.
2N/A * script/lua/liolib.c: Likewise.
2N/A * script/lua/llex.c: Likewise.
2N/A * script/lua/llex.h: Likewise.
2N/A * script/lua/llimits.h: Likewise.
2N/A * script/lua/lmathlib.c: Likewise.
2N/A * script/lua/lmem.c: Likewise.
2N/A * script/lua/lmem.h: Likewise.
2N/A * script/lua/loadlib.c: Likewise.
2N/A * script/lua/lobject.c: Likewise.
2N/A * script/lua/lobject.h: Likewise.
2N/A * script/lua/lopcodes.c: Likewise.
2N/A * script/lua/lopcodes.h: Likewise.
2N/A * script/lua/loslib.c: Likewise.
2N/A * script/lua/lparser.c: Likewise.
2N/A * script/lua/lparser.h: Likewise.
2N/A * script/lua/lstate.c: Likewise.
2N/A * script/lua/lstate.h: Likewise.
2N/A * script/lua/lstring.c: Likewise.
2N/A * script/lua/lstring.h: Likewise.
2N/A * script/lua/lstrlib.c: Likewise.
2N/A * script/lua/ltable.c: Likewise.
2N/A * script/lua/ltable.h: Likewise.
2N/A * script/lua/ltablib.c: Likewise.
2N/A * script/lua/ltm.c: Likewise.
2N/A * script/lua/ltm.h: Likewise.
2N/A * script/lua/lua.h: Likewise.
2N/A * script/lua/luaconf.h: Likewise.
2N/A * script/lua/lualib.h: Likewise.
2N/A * script/lua/lundump.c: Likewise.
2N/A * script/lua/lundump.h: Likewise.
2N/A * script/lua/lvm.c: Likewise.
2N/A * script/lua/lvm.h: Likewise.
2N/A * script/lua/lzio.c: Likewise.
2N/A * script/lua/lzio.h: Likewise.
2N/A
2N/A2009-05-16 Bean <bean123ch@gmail.com>
2N/A
2N/A * include/grub/kernel.h (grub_module_header_types): Add type
2N/A OBJ_TYPE_CONFIG.
2N/A
2N/A * kern/main.c (grub_load_config): New function.
2N/A (grub_main): Call grub_load_config to read boot config.
2N/A
2N/A * grub-mkimage (generate_image): New parameter config_path.
2N/A (options): New option --config.
2N/A (main): Parse --config option, and pass it to generate_image.
2N/A
2N/A2009-05-14 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols.
2N/A This fixes build on Cygwin.
2N/A
2N/A2009-05-14 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/i386/pc/drivemap_int13h.S: Eliminate unconditional
2N/A jump. This saves two bytes, so the typical case of 2 swapped
2N/A drives would fit 32 bytes.
2N/A
2N/A2009-05-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * loader/i386/multiboot.c (grub_multiboot): Cast mmap_addr to
2N/A grub_uint32_t to avoid a warning.
2N/A
2N/A * loader/i386/linux.c (allocate_pages): When assigning
2N/A real_mode_mem, cast through grub_size_t to fix a warning. The
2N/A code already makes sure that the value would fit a pointer.
2N/A (grub_linux_setup_video): Cast render_target->data to
2N/A grub_size_t to fix a warning.
2N/A
2N/A2009-05-13 Javier Martín <lordhabbit@gmail.com>
2N/A
2N/A * commands/i386/pc/drivemap.c: New file - implement drivemap
2N/A command.
2N/A * commands/i386/pc/drivemap_int13h.S: New file - int13 handler.
2N/A * conf/i386-pc.rmk: Add drivemap.c and drivemap_int13h.S.
2N/A
2N/A2009-05-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Remove unused variable
2N/A embedding_area_exists.
2N/A
2N/A2009-05-13 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Restructure code flow to make
2N/A it easier to understand / work with.
2N/A Improve warning messages for cases where there's no embedding area,
2N/A or when it is too small (or core.img too large).
2N/A
2N/A2009-05-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * loader/i386/pc/multiboot2.c: Add necessary includes for
2N/A grub_multiboot2_real_boot().
2N/A
2N/A * fs/iso9660.c (grub_iso9660_iterate_dir): The file mode in the
2N/A PX record is always little-endian. We only need the lower 2
2N/A bytes of the mode.
2N/A
2N/A * fs/cpio.c: Use the same name "struct head" for tar and cpio to
2N/A facilitate code reuse.
2N/A (grub_cpio_mount): Use "struct head", not a char buffer. This
2N/A fixes a warning reported by gcc 4.4.
2N/A
2N/A * kernel/disk.c (grub_disk_read): Use void pointer for the
2N/A buffer.
2N/A (grub_disk_write): Use const void pointer for the buffer.
2N/A Adjust all callers. Remove unnecessary casts.
2N/A
2N/A2009-05-10 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Update copyright year.
2N/A
2N/A2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A gptsync
2N/A
2N/A * commands/gptsync.c: new file
2N/A * conf/common.rmk (pkglib_MODULES): add gptsync.mod
2N/A (gptsync_mod_SOURCES): new variable
2N/A (gptsync_mod_CFLAGS): likewise
2N/A (gptsync_mod_LDFLAGS): likewise
2N/A * include/grub/pc_partition.h (GRUB_PC_PARTITION_TYPE_NTFS):
2N/A new definition
2N/A (GRUB_PC_PARTITION_TYPE_HFS): likewise
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/gptsync.c
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A
2N/A2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Fixed grub-emu
2N/A
2N/A * kern/dl.c (grub_dl_ref): omit when compiling grub-emu
2N/A (grub_dl_ref): likewise
2N/A
2N/A2009-05-08 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),
2N/A split in two functions (one for msdos and one for gpt).
2N/A
2N/A2009-05-08 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/raid.c (grub_raid_block_xor): Make buf2 constant, it's
2N/A not modified.
2N/A
2N/A * disk/raid6_recover.c (grub_raid6_recover): Fix warnings about
2N/A uninitialized err[0] and err[1]. Rename them to bad1 and bad2.
2N/A Initialize them with -1. Add sanity check for bad1. Eliminate
2N/A nerr variable.
2N/A
2N/A2009-05-08 David S. Miller <davem@davemloft.net>
2N/A
2N/A * util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname.
2N/A
2N/A2009-05-06 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Fix check for embed region
2N/A existence.
2N/A
2N/A2009-05-05 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `kern/rescue_reader.c', `kern/rescue_parser.c' and `normal/autofs.c'.
2N/A
2N/A2009-05-05 David S. Miller <davem@davemloft.net>
2N/A
2N/A * util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.
2N/A
2N/A2009-05-05 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations
2N/A of grub_dl_ref() and grub_dl_unref().
2N/A * commands/parttool.c: Remove preprocessor conditionals around
2N/A grub_dl_ref() and grub_dl_unref().
2N/A * fs/affs.c: Likewise.
2N/A * fs/afs.c: Likewise.
2N/A * fs/cpio.c: Likewise.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/fat.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/ntfs.c: Likewise.
2N/A * fs/reiserfs.c: Likewise.
2N/A * fs/sfs.c: Likewise.
2N/A * fs/udf.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * include/grub/dl.h: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A
2N/A2009-05-04 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/acpi.c: Remove unused variable my_mod.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * partmap/gpt.c: Likewise.
2N/A * partmap/pc.c: Likewise.
2N/A * partmap/sun.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A
2N/A2009-05-04 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Fix string
2N/A pointer args to grub_ieee1275_get_property().
2N/A
2N/A * conf/sparc64-ieee1275.rmk: Fix build due to missing '\'.
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Bypass cdrom
2N/A devices, and do not traverse down under controller nodes.
2N/A
2N/A * disk/ieee1275/ofdisk.c (compute_dev_path): New.
2N/A (grub_ofdisk_open): Use it to un-escape "," characters.
2N/A * kern/disk.c (find_part_sep): New.
2N/A (grub_disk_open): Use it to find the first non-escaped ','
2N/A character in the disk name.
2N/A * util/ieee1275/devicemap.c (escape_of_path): New.
2N/A (grub_util_emit_devicemap_entry): Use it.
2N/A * util/sparc64/ieee1275/grub-install.in: Update script to
2N/A strip partition specifiers properly by not triggering on
2N/A '\' escaped ',' characters.
2N/A
2N/A2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set
2N/A to 0x300.
2N/A * loader/i386/linux.c (vga_modes, linux_vesafb_res): Add a few
2N/A resolutions.
2N/A (linux_vesafb_modes): Add a lot of additional modes to the list (based
2N/A on documentation from Wikipedia).
2N/A
2N/A2009-05-04 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ata.c: Spelling fixes.
2N/A * disk/raid.c: Likewise.
2N/A * disk/usbms.c: Likewise.
2N/A * disk/dmraid_nvidia.c: Likewise.
2N/A * kern/ieee1275/openfw.c: Likewise.
2N/A * kern/ieee1275/init.c: Likewise.
2N/A * kern/ieee1275/cmain.c: Likewise.
2N/A * boot/i386/pc/cdboot.S: Likewise.
2N/A * video/readers/png.c: Likewise.
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A * fs/udf.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/reiserfs.c: Likewise.
2N/A * efiemu/runtime/efiemu.c: Likewise.
2N/A * efiemu/main.c: Likewise.
2N/A * efiemu/mm.c: Likewise.
2N/A * include/grub/elf.h: Likewise.
2N/A * include/grub/xnu.h: Likewise.
2N/A * include/grub/usbdesc.h: Likewise.
2N/A * include/grub/usb.h: Likewise.
2N/A * include/grub/script_sh.h: Likewise.
2N/A * include/grub/lib/LzmaEnc.h: Likewise.
2N/A * include/grub/efiemu/efiemu.h: Likewise.
2N/A * include/grub/command.h: Likewise.
2N/A * normal/menu.c: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/datetime.c: Likewise.
2N/A * bus/usb/uhci.c: Likewise.
2N/A * mmap/i386/uppermem.c: Likewise.
2N/A * mmap/mmap.c: Likewise.
2N/A * commands/acpi.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * font/font.c: Likewise.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A * loader/macho.c: Likewise.
2N/A * loader/i386/bsd_trampoline.S: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * term/usb_keyboard.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A * util/getroot.c: Likewise.
2N/A
2N/A2009-05-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-pc.rmk (libpkg_DATA): Rename to pkglib_DATA.
2N/A
2N/A2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c [GRUB_MACHINE_PCBIOS] (grub_cmd_linux): Fix
2N/A build error.
2N/A
2N/A2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Make "vga=" compatibility
2N/A parameter only available on BIOS.
2N/A
2N/A2009-05-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Removed wrong semicolon in declaration
2N/A
2N/A * grub/misc.h (grub_dprintf): remove semicolon
2N/A
2N/A2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (GRUB_ASSUME_LINUX_HAS_FB_SUPPORT): New macro.
2N/A (grub_linux_boot): Don't check for `linux_vesafb_modes' bounds (this
2N/A is done by grub_cmd_linux() now).
2N/A [! GRUB_ASSUME_LINUX_HAS_FB_SUPPORT]: If "vga=" parameter wasn't set,
2N/A restore video to text mode.
2N/A (grub_cmd_linux): Default `vid_mode' initialization to 0, which
2N/A indicates lack of "vga=" parameter. "vga=0" is mapped to
2N/A `GRUB_LINUX_VID_MODE_NORMAL'.
2N/A
2N/A2009-05-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Remove `normal/execute.c',
2N/A `normal/lexer.c', `kern/rescue.c', `normal/function.c', `normal/misc.c'
2N/A and `normal/script.c'. Add `kern/rescue_reader.c',
2N/A `kern/rescue_parser.c', `script/sh/main.c', `script/sh/execute.c',
2N/A `script/sh/function.c', `script/sh/lexer.c', `script/sh/script.c' and
2N/A `grub_script.tab.c'.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * Makefile.in: Remove duplicated 2008 in Copyright line.
2N/A
2N/A2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/misc.c (grub_util_warn): New function. Emits a warning
2N/A unconditionally.
2N/A * include/grub/util/misc.h (grub_util_warn): New declaration.
2N/A
2N/A * util/i386/pc/grub-install.in: Understand --force and pass it down
2N/A to grub-setup.
2N/A
2N/A * util/i386/pc/grub-setup.c (main): Understand --force and pass it
2N/A down to setup().
2N/A (setup): Improve error messages and add warnings when requested to
2N/A install in odd layouts. Refuse to install using blocklists unless
2N/A --force was set.
2N/A
2N/A2009-05-04 martin f. krafft <madduck@madduck.net>
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Improve debug message.
2N/A
2N/A2009-05-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Updated copyright year
2N/A
2N/A * fs/hfsplus.c: updated copyright year
2N/A
2N/A2009-05-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A HFS+ UUID
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_volheader): added num_serial field
2N/A in the space previously used by unused3
2N/A (grub_hfsplus_uuid): new function
2N/A (grub_hfsplus_fs): added uuid field
2N/A
2N/A2009-05-03 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ata.c: Don't cast mod to void in GRUB_MOD_INIT to
2N/A suppress warnings. It's no longer needed.
2N/A * disk/host.c: Likewise.
2N/A * disk/ata_pthru.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * hook/datehook.c: Likewise.
2N/A * parttool/pcpart.c: Likewise.
2N/A * fs/i386/pc/pxe.c: Likewise.
2N/A * fs/ntfscomp.c: Likewise.
2N/A * efiemu/main.c: Likewise.
2N/A * mmap/mmap.c: Likewise.
2N/A * commands/crc.c: Likewise.
2N/A * commands/hexdump.c: Likewise.
2N/A * commands/hdparm.c: Likewise.
2N/A * commands/acpi.c: Likewise.
2N/A * commands/echo.c: Likewise.
2N/A * commands/minicmd.c: Likewise.
2N/A * commands/blocklist.c: Likewise.
2N/A * commands/memrw.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/usbtest.c: Likewise.
2N/A * commands/lsmmap.c: Likewise.
2N/A * commands/boot.c: Likewise.
2N/A * commands/parttool.c: Likewise.
2N/A * commands/configfile.c: Likewise.
2N/A * commands/search.c: Likewise.
2N/A * commands/ieee1275/suspend.c: Likewise.
2N/A * commands/cat.c: Likewise.
2N/A * commands/i386/pc/pxecmd.c: Likewise.
2N/A * commands/i386/pc/play.c: Likewise.
2N/A * commands/i386/pc/halt.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/i386/pc/vbetest.c: Likewise.
2N/A * commands/lspci.c: Likewise.
2N/A * commands/date.c: Likewise.
2N/A * commands/handler.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/efi/loadbios.c: Likewise.
2N/A * commands/efi/fixvideo.c: Likewise.
2N/A * commands/halt.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * commands/reboot.c: Likewise.
2N/A * hello/hello.c: Likewise.
2N/A * script/sh/main.c: Likewise.
2N/A * loader/xnu.c: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/usb_keyboard.c: Likewise.
2N/A
2N/A2009-05-03 David S. Miller <davem@davemloft.net>
2N/A
2N/A * normal/menu.c: Include grub/parser.h
2N/A
2N/A2009-05-03 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * mmap/efi/mmap.c (grub_mmap_malign_and_register): Return void*,
2N/A not char*.
2N/A * mmap/i386/mmap.c (grub_mmap_malign_and_register): Likewise.
2N/A Suggested by Javier Martín <lordhabbit@gmail.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Allow for the case when
2N/A efiemu??.o doesn't exist.
2N/A * util/i386/pc/grub-install.in: Likewise. Use "cp -f" for
2N/A copying.
2N/A
2N/A2009-05-03 Bean <bean123ch@gmail.com> Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A FreeBSD 64-bit support
2N/A
2N/A * conf/i386-pc.rmk (bsd_mod_SOURCES): add loader/i386/bsd_helper.S
2N/A and loader/i386/bsd_trampoline.S
2N/A (bsd_mod_ASFLAGS): new variable
2N/A * include/grub/i386/bsd.h (FREEBSD_MODINFOMD_SMAP): new definition
2N/A (FREEBSD_MODTYPE_KERNEL64): likewise
2N/A (grub_bsd64_trampoline_start): likewise
2N/A (grub_bsd64_trampoline_end): likewise
2N/A (grub_bsd64_trampoline_selfjump): likewise
2N/A (grub_bsd64_trampoline_gdt): likewise
2N/A * include/grub/i386/loader.h (grub_unix_real_boot): moved from here ...
2N/A * include/grub/i386/bsd.h (grub_unix_real_boot): ... moved here
2N/A * kern/i386/loader.S (grub_unix_real_boot): moved from here ...
2N/A * loader/i386/bsd_helper.S (grub_unix_real_boot): moved here
2N/A * include/grub/gpt_partition.h (grub_gpt_partentry): Corrected the type
2N/A of "attrib" member
2N/A * loader/i386/bsd_pagetable.c: new file
2N/A * loader/i386/bsd_trampoline.S: likewise
2N/A * loader/i386/bsd.c (ALIGN_QWORD): new macro
2N/A (ALIGN_VAR): likewise
2N/A (entry_hi): new variable
2N/A (kern_end_mdofs): likewise
2N/A (is_64bit): likewise
2N/A (grub_freebsd_add_meta): use ALIGN_VAR
2N/A (grub_e820_mmap): new declaration
2N/A (grub_freebsd_add_mmap): new function
2N/A (grub_freebsd_add_meta_module): support 64 bit kernels
2N/A (grub_freebsd_list_modules): use ALIGN_VAR
2N/A (gdt_descriptor): new declaration
2N/A (grub_freebsd_boot): support 64 bit kernels
2N/A (grub_bsd_elf64_hook): new function
2N/A (grub_bsd_load_elf): support elf64
2N/A
2N/A2009-05-03 Bean <bean123ch@gmail.com>
2N/A
2N/A * script/sh/execute.c (grub_script_execute_cmdif): Reset grub_errno
2N/A after we get the result of if statement.
2N/A
2N/A2009-05-03 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in (enable_efiemu): New variable.
2N/A
2N/A * conf/i386-pc.rmk: Only compile efiemu runtimes when enable_efiemu is
2N/A set.
2N/A (efiemu32.o): Use macro $< for source file, add $(srcdir) to include
2N/A path.
2N/A (efi64_c.o): Use macro $< for source file, add $(srcdir) to include
2N/A path, add -mno-red-zone option.
2N/A (efiemu64_s.o): Likewise.
2N/A (efiemu64.o): Use macro $^ for source file.
2N/A
2N/A * configure.ac (--enable-efiemu): New option.
2N/A
2N/A2009-05-03 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A xnu support
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_HEADERS): added i386/pit.h
2N/A (pkglib_MODULES): add xnu.mod
2N/A (xnu_mod_SOURCES): new variable
2N/A (xnu_mod_CFLAGS): likewise
2N/A (xnu_mod_LDFLAGS): likewise
2N/A (xnu_mod_ASFLAGS): likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/x86_64-efi.rmk: likewise
2N/A * include/grub/efi/efi.h (grub_efi_finish_boot_services):
2N/A new declaration
2N/A * include/grub/i386/macho.h: new file
2N/A * include/grub/i386/xnu.h: likewise
2N/A * include/grub/macho.h: likewise
2N/A * include/grub/machoload.h: likewise
2N/A * include/grub/x86_64/macho.h: likewise
2N/A * include/grub/x86_64/xnu.h: likewise
2N/A * include/grub/xnu.h: likewise
2N/A * kern/efi/efi.c (grub_efi_finish_boot_services): new function
2N/A * kern/efi/mm.c (MAX_HEAP_SIZE): increase
2N/A * loader/i386/efi/xnu.c: new file
2N/A * loader/i386/pc/xnu.c: likewise
2N/A * loader/i386/xnu.c: likewise
2N/A * loader/i386/xnu_helper.S: likewise
2N/A * loader/macho.c: likewise
2N/A * loader/xnu.c: likewise
2N/A * loader/xnu_resume.c: likewise
2N/A * util/grub-dumpdevtree: likewise
2N/A * include/grub/i386/pit.h: include grub/err.h
2N/A (grub_pit_wait): export
2N/A * util/grub.d/30_os-prober.in: support Darwin/Mac OS X
2N/A
2N/A2009-05-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Efiemu
2N/A
2N/A * conf/i386-pc.rmk: new modules efiemu, efiemu_acpi, efiemu_pnvram,
2N/A _linux_efi, linux_efi.
2N/A new files in grub-emu
2N/A new targets efiemu32.o and efiemu64.o
2N/A * loader/linux_normal_efiemu.c: likewise
2N/A * loader/i386/efi/linux.c: added preliminary efiemu support
2N/A * util/i386/pc/grub-install.in: add efiemu??.o to the list of
2N/A files to copy
2N/A * include/grub/autoefi.h: new file
2N/A * include/grub/i386/efiemu.h: likewise
2N/A * include/grub/i386/pc/efiemu.h: likewise
2N/A * include/grub/efi/api.h: add LL suffix when necessary
2N/A new definitions relating to tables
2N/A * include/grub/efiemu/efiemu.h: new file
2N/A * include/grub/efiemu/runtime.h: likewise
2N/A * efiemu/prepare.c: likewise
2N/A * efiemu/loadcore_common.c: likewise
2N/A * efiemu/loadcore64.c: likewise
2N/A * efiemu/runtime/efiemu.sh: likewise
2N/A * efiemu/runtime/efiemu.S: likewise
2N/A * efiemu/runtime/efiemu.c: likewise
2N/A * efiemu/runtime/config.h: likewise
2N/A * efiemu/prepare32.c: likewise
2N/A * efiemu/main.c: likewise
2N/A * efiemu/modules/pnvram.c: likewise
2N/A * efiemu/modules/i386: likewise
2N/A * efiemu/modules/i386/pc: likewise
2N/A * efiemu/modules/acpi.c: likewise
2N/A * efiemu/i386/pc/cfgtables.c: likewise
2N/A * efiemu/i386/loadcore64.c: likewise
2N/A * efiemu/i386/loadcore32.c: likewise
2N/A * efiemu/prepare64.c: likewise
2N/A * efiemu/loadcore.c: likewise
2N/A * efiemu/symbols.c: likewise
2N/A * efiemu/mm.c: likewise
2N/A * efiemu/loadcore32.c: likewise
2N/A
2N/A2009-05-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A ACPI spoofing
2N/A
2N/A * commands/acpi.c: new file
2N/A * commands/i386/pc/acpi.c: likewise
2N/A * commands/efi/acpi.c: likewise
2N/A * include/grub/acpi.h: likewise
2N/A * conf/i386-pc.rmk (pkglib_MODULES): added acpi.mod
2N/A (acpi_mod_SOURCES): new variable
2N/A (acpi_mod_CFLAGS): likewise
2N/A (acpi_mod_LDFLAGS): likewise
2N/A * conf/i386-efi.rmk: likewise
2N/A * conf/x86_64-efi.rmk: likewise
2N/A
2N/A2009-05-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Missing part from mmap patch
2N/A
2N/A * mmap/efi/mmap.c (grub_machine_mmap_unregister): renamed to
2N/A (grub_mmap_unregister)
2N/A (grub_mmap_free_and_unregister): use grub_mmap_register
2N/A
2N/A2009-05-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Mmap services
2N/A
2N/A * loader/i386/efi/linux.c (grub_linux_boot): use grub_mmap_iterate
2N/A * loader/i386/linux.c (find_mmap_size): likewise
2N/A (allocate_pages): likewise
2N/A * loader/i386/multiboot.c (grub_get_multiboot_mmap_len): likewise
2N/A (grub_fill_multiboot_mmap): likewise
2N/A (grub_multiboot): use grub_mmap_get_lower and grub_mmap_get_upper
2N/A * loader/i386/pc/linux.c (grub_cmd_linux): use grub_mmap_get_lower
2N/A * include/grub/i386/bsd.h (OPENBSD_MMAP_AVAILABLE): new definition
2N/A (OPENBSD_MMAP_RESERVED): likewise
2N/A * include/grub/i386/pc/memory.h: include grub/memory.h
2N/A (grub_lower_mem): removed
2N/A (grub_upper_mem): likewise
2N/A (GRUB_MACHINE_MEMORY_ACPI): new definition
2N/A (GRUB_MACHINE_MEMORY_NVS): likewise
2N/A (GRUB_MACHINE_MEMORY_MAX_TYPE): likewise
2N/A (GRUB_MACHINE_MEMORY_HOLE): likewise
2N/A (grub_machine_mmap_register): likewise
2N/A (grub_machine_mmap_unregister): likewise
2N/A (grub_machine_get_upper): likewise
2N/A (grub_machine_get_lower): likewise
2N/A (grub_machine_get_post64): likewise
2N/A * include/grub/i386/efi/memory.h: new file
2N/A * include/grub/x86_64/efi/memory.h: likewise
2N/A * include/grub/efi/memory.h: likewise
2N/A * conf/i386-pc.rmk (pkglib_MODULES): added mmap.mod
2N/A (mmap_mod_SOURCES): new variable
2N/A (mmap_mod_LDFLAGS): likewise
2N/A (mmap_mod_ASFLAGS): likewise
2N/A * conf/i386-coreboot.rmk: likewise
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-efi.rmk: likewise
2N/A * conf/x86_64-efi.rmk: likewise
2N/A * include/grub/types.h (UINT_TO_PTR): new macro
2N/A (PTR_TO_UINT32): likewise
2N/A (PTR_TO_UINT64): likewise
2N/A * include/grub/memory.h: new file
2N/A * mmap/i386/pc/mmap.c: likewise
2N/A * mmap/i386/pc/mmap_helper.S: likewise
2N/A * mmap/i386/uppermem.c: likewise
2N/A * mmap/mmap.c: likewise
2N/A * mmap/efi/mmap.c: likewise
2N/A * kern/i386/coreboot/init.c (grub_machine_init): don't use
2N/A grub_upper_mem
2N/A * kern/i386/pc/init.c (grub_lower_mem): removed variable
2N/A (grub_upper_mem): likewise
2N/A (grub_machine_init): don't use grub_upper_mem,
2N/A make grub_lower_mem local
2N/A * loader/i386/bsd.c (grub_openbsd_boot): use grub_mmap_get_lower,
2N/A grub_mmap_iterate and grub_mmap_get_upper
2N/A (grub_netbsd_boot): use grub_mmap_get_lower and grub_mmap_get_upper
2N/A
2N/A2009-05-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (grub_script.tab.c): Change normal/parser.y to
2N/A script/sh/parser.y.
2N/A (pkglib_MODULES): Add normal.mod and sh.mod.
2N/A (normal_SOURCES): New variable.
2N/A (normal_mod_CFLAGS): Likewise.
2N/A (normal_mod_LDFLAGS): Likewise.
2N/A (sh_mod_SOURCES): Likewise.
2N/A (sh_mod_CFLAGS): Likewise.
2N/A (sh_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (normal/lexer.c_DEPENDENCIES): Changed to
2N/A script/sh/lexer.c_DEPENDENCIES.
2N/A (kernel_img_SOURCES): Remove kern/rescue.c, and kern/reader.c,
2N/A kern/rescue_reader.c and kern/rescue_parser.c.
2N/A (kernel_img_HEADERS): Remove rescue.h, add reader.h.
2N/A (grub_emu_SOURCES): Change source files.
2N/A (pkglib_MODULES): Remove normal.mod.
2N/A (normal_SOURCES): Removed.
2N/A (normal_mod_CFLAGS): Likewise.
2N/A (normal_mod_LDFLAGS): Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1276.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A * include/grub/command.h (grub_command_execute): New inline function.
2N/A
2N/A * include/grub/menu.h (grub_menu_entry): Removed commands field.
2N/A
2N/A * include/grub/normal.h: Remove <grub/setjmp.h>.
2N/A (grub_fs_module_list): Moved to normal/autofs.c.
2N/A (grub_exit_env): Removed.
2N/A (grub_command_execute): Likewise.
2N/A (grub_normal_menu_addentry): Renamed to grub_menu_addentry, removed
2N/A parameter script.
2N/A (read_command_list): New function declaration.
2N/A (read_fs_list): Likewise.
2N/A
2N/A * include/parser.h: Include <grub/reader.h>.
2N/A (grub_parser_split_cmdline): Change type of getline parameter.
2N/A (grub_parser): New structure.
2N/A (grub_parser_class): New variable.
2N/A (grub_parser_execute): New function declaration.
2N/A (grub_register_rescue_parser): Likewise.
2N/A (grub_parser_register): New inline function.
2N/A (grub_parser_unregister): Likewise.
2N/A (grub_parser_get_current): Likewise.
2N/A (grub_parser_set_current): Likewise.
2N/A
2N/A * include/grub/reader.h: New file.
2N/A * kern/reader.c: Likewise.
2N/A * kern/rescue_parser.c: Likewise.
2N/A * kern/rescue_reader.c: Likewise.
2N/A * normal/autofs.c: Likewise.
2N/A * normal/dyncmd.c: Likewise.
2N/A
2N/A * include/grub/rescue.h: Removed.
2N/A * normal/command.h: Likewise.
2N/A
2N/A * include/grub/script.h: Moved to ...
2N/A * include/grub/script_sh.h: ... Moved here.
2N/A * normal/execute.c: Moved to ...
2N/A * script/sh/execute.c: ... Moved here.
2N/A * normal/function.c: Moved to ...
2N/A * script/sh/function.c: ... Moved here.
2N/A * normal/lexer.c: Moved to ...
2N/A * script/sh/lexer.c: ... Moved here.
2N/A * normal/parser.y: Moved to ...
2N/A * script/sh/parser.y: ... Moved here.
2N/A * normal/script.c: Moved to ...
2N/A * script/sh/script.c: ... Moved here.
2N/A
2N/A * normal/main.c: Remove <grub/rescue.h> and <grub/script.h>, include
2N/A <grub/reader.h>.
2N/A (grub_exit_env): Removed.
2N/A (fs_module_list): Moved to normal/autofs.c.
2N/A (grub_file_getline): Don't handle comment here.
2N/A (free_menu): Skip removed field entry->commands.
2N/A (grub_normal_menu_addentry): Removed as grub_menu_entry, removed
2N/A script parameter.
2N/A (read_config_file): Removed nested parameter, change getline function.
2N/A (grub_enter_normal_mode): Removed.
2N/A (grub_dyncmd_dispatcher): Moved to normal/dyncmd.c.
2N/A (read_command_list): Likewise.
2N/A (autoload_fs_module): Moved to normal/autofs.c.
2N/A (read_fs_list): Likewise.
2N/A (reader_nested): New variable.
2N/A (grub_normal_execute): Run parser.sh to switch to sh parser.
2N/A (grub_cmd_rescue): Removed.
2N/A (cmd_normal): Removed.
2N/A (grub_cmd_normal): Unregister itself at the beginning. Don't register
2N/A rescue command.
2N/A (grub_cmdline_run): New function.
2N/A (grub_normal_reader_init): Likewise.
2N/A (grub_normal_read_line): Likewise.
2N/A (grub_env_write_pager): Likewise.
2N/A (cmdline): New variable.
2N/A (grub_normal_reader): Likewise.
2N/A (GRUB_MOD_INIT): Register normal reader and set as current, register
2N/A pager hook, register normal command with grub_register_command_prio,
2N/A so that it won't show up in command.lst.
2N/A (GRUB_MOD_FINI): Unregister normal reader, unhook pager, clear
2N/A grub_fs_autoload_hook.
2N/A
2N/A * normal/menu.c: Remove <grub/script.h>, add <grub/command.h>.
2N/A (grub_menu_execute_entry): Replace grub_script_execute with
2N/A grub_parser_execute, change parameter to grub_command_execute.
2N/A
2N/A * normal/menu_text.c: Remove <grub/script.h>.
2N/A
2N/A * normal/menu_entry.c: Remove <grub/script.h>, add <grub/command.h>
2N/A and <grub/parser.h>.
2N/A (run): Change editor_getline to use new parser interface. Change
2N/A parameter to grub_command_execute.
2N/A
2N/A * kern/main.c: Remove <grub/rescue.h>, include <grub/command.h>,
2N/A <grub/reader.h> and <grub/parser.h>.
2N/A (grub_load_normal_mode): Execute normal command.
2N/A (grub_main): Call grub_register_core_commands,
2N/A grub_register_rescue_parser and grub_register_rescue_reader, use
2N/A grub_reader_loop to enter input loop.
2N/A
2N/A * kern/parser.c (grub_parser_split_cmdline): Change type of
2N/A getline parameter.
2N/A (grub_parser_class): New variable.
2N/A (grub_parser_execute): New function.
2N/A
2N/A * loader/i386/multiboot.c: Remove <grub/rescue.h>.
2N/A * loader/multiboot2.c: Likewise.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A
2N/A * util/grub-emu.c (read_command_list): New dummy function.
2N/A
2N/A2009-05-02 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * util/deviceiter.c (grub_util_iterate_devices): Increase max drive
2N/A count to 16 for CCISS and IDA.
2N/A
2N/A2009-05-02 Robert Millan <rmh.grub@aybabtu.com>
2N/A
2N/A * normal/menu_text.c (grub_wait_after_message): Print a newline
2N/A after waiting for user input.
2N/A
2N/A * loader/i386/linux.c: Include `<grub/normal.h>'.
2N/A (grub_cmd_linux): Improve the error message about `ask' mode, by
2N/A waiting for user input so it's not missed (we can do this, since
2N/A user requested interaction).
2N/A
2N/A2009-05-02 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Added missing lst to grub-mkrescue
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: added ${input_dir}/handler.lst
2N/A and ${input_dir}/parttool.lst
2N/A
2N/A2009-04-30 David S. Miller <davem@davemloft.net>
2N/A
2N/A * util/hostdisk.c (device_is_wholedisk): New function.
2N/A (grub_util_biosdisk_get_grub_dev): Shortcut when hdg.start is
2N/A zero only if device_is_wholedisk() returns true.
2N/A
2N/A * util/hostdisk.c (convert_system_partition_to_system_disk):
2N/A Handle virtual disk devices named /dev/vdiskX as found on sparc
2N/A and powerpc.
2N/A
2N/A * kern/sparc64/ieee1275/init.c (grub_machine_set_prefix): If
2N/A lettered partition specifier is found, convert to numbered.
2N/A
2N/A2009-04-29 David S. Miller <davem@davemloft.net>
2N/A
2N/A * include/grub/powerpc/ieee1275/memory.h: Include ieee1275.h.
2N/A * include/grub/sparc64/ieee1275/memory.h: Likewise.
2N/A
2N/A * normal/command.c: Add missing newline at end of file.
2N/A
2N/A * commands/lsmmap.c (grub_cmd_lsmmap): Add casts to avoid printf
2N/A warnings.
2N/A * kern/ieee1275/openfw.c (grub_claimmap): Likewise.
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open, grub_ofdisk_close,
2N/A grub_ofdisk_read): Likewise, and deal similarly with the fact that
2N/A ihandles have a 32-bit type but need to be stored in a "void *".
2N/A
2N/A2009-04-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/fs_uuid.c (grub_fs_uuid_open): Use parent->data for dev,
2N/A not disk. Adjust all dependencies.
2N/A (grub_fs_uuid_close): Use grub_device_close(), not
2N/A grub_disk_close().
2N/A
2N/A * disk/fs_uuid.c (grub_fs_uuid_open): Allocate memory to copy
2N/A parent's partition, don't copy it by reference, as it gets freed
2N/A on close.
2N/A
2N/A2009-04-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Preboot hooks support
2N/A
2N/A * commands/boot.c (struct grub_preboot_t): new declaration
2N/A (preboots_head): new variable
2N/A (preboots_tail): likewise
2N/A (grub_loader_register_preboot_hook): new function
2N/A (grub_loader_unregister_preboot_hook): likewise
2N/A (grub_loader_set): launch preboot hooks
2N/A * include/grub/loader.h (grub_loader_preboot_hook_prio_t): new type
2N/A (grub_loader_register_preboot_hook): new declaration
2N/A (grub_loader_unregister_preboot_hook): likewise
2N/A
2N/A2009-04-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Warning fix
2N/A
2N/A * disk/scsi.c (grub_scsi_open): added missing cast when
2N/A calling grub_dprintf
2N/A
2N/A2009-04-26 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Bug and warning fixes
2N/A
2N/A * include/grub/i386/pc/init.h (grub_stop_floppy): added missing
2N/A declaration
2N/A * commands/test.c (test_parse): fixed bug with file tests and corrected
2N/A declaration of find_file
2N/A
2N/A2009-04-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in: Don't install empty manual pages if help2man is
2N/A missing. Use help2man option for output, not shell redirection.
2N/A
2N/A2009-04-26 David S. Miller <davem@davemloft.net>
2N/A
2N/A * util/grub-mkdevicemap.c (make_device_map): Add missing
2N/A NESTED_FUNC_ATTR to process_device().
2N/A
2N/A2009-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Test command
2N/A
2N/A * commands/test.c: rewritten to use bash-like test
2N/A
2N/A2009-04-25 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Parttool autoloading and improvements
2N/A
2N/A * Makefile.in (pkglib_DATA): add parttool.lst
2N/A (parttool.lst): new target
2N/A * genmk.rb: generate parttool-*
2N/A (CLEANFILES): add #{parttool}
2N/A (PARTTOOLFILES): new variable
2N/A * genparttoollist.sh: new file
2N/A * parttool/pcpart.c (grub_pcpart_boot): more feedback
2N/A (grub_pcpart_type): likewise
2N/A * commands/parttool.c (helpmsg): new variable
2N/A (grub_cmd_parttool): output help if not enough arguments are supplied
2N/A autoload modules
2N/A (GRUB_MOD_INIT(parttool)): use helpmsg
2N/A
2N/A2009-04-24 David S. Miller <davem@davemloft.net>
2N/A
2N/A Avoiding opening same device multiple times in device iterator.
2N/A
2N/A * kern/device.c: (grub_device_iterate): Define struct part_ent,
2N/A and use it to build a list of partitions in iterate_disk() and
2N/A iterate_partition().
2N/A
2N/A * disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close()
2N/A on disk->data.
2N/A
2N/A * disk/ieee1275/nand.c (grub_nand_iterate): Return
2N/A grub_devalias_iterate() result instead of unconditional 0.
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Likewise.
2N/A Also, capture hook return value, either directly or via
2N/A grub_children_iterate(), and propagate to caller.
2N/A * include/grub/ieee1275/ieee1275.h (grub_devalias_iterate,
2N/A grub_children_iterate): Return value is now 'int' instead of
2N/A 'grub_err_t'.
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Fix to behave
2N/A like a proper iterator, stopping when hooks return non-zero.
2N/A (grub_devalias_iterate): Likewise.
2N/A
2N/A2009-04-23 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/sparc64/ieee1275/openfw.c: Unused, delete.
2N/A
2N/A2009-04-22 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/ieee1275/mmap.c (grub_machine_mmap_iterate): If size_cells
2N/A is larger than address_cells, use that value for address_cells too.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (IEEE1275_MAX_PROP_LEN,
2N/A IEEE1275_MAX_PATH_LEN): Define.
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Dynamically
2N/A allocate 'childtype', 'childpath', 'childname', and 'fullname'.
2N/A (grub_devalias_iterate): Dynamically allocate 'aliasname' and
2N/A 'devtype'. Explicitly NULL terminate devalias expansion.
2N/A
2N/A * util/sparc64/ieee1275/misc.c: New file.
2N/A * util/sparc64/ieee1275/grub-setup.c: New file.
2N/A * util/sparc64/ieee1275/grub-ofpathname.c: New file.
2N/A * util/sparc64/ieee1275/grub-mkimage.c: New file.
2N/A * util/sparc64/ieee1275/grub-install.in: New file.
2N/A * util/ieee1275/ofpath.c: New file.
2N/A * util/ieee1275/devicemap.c: New file.
2N/A * util/devicemap.c: New file.
2N/A * util/deviceiter.c: New file.
2N/A * kern/sparc64/ieee1275/init.c: New file.
2N/A * include/grub/util/ofpath.h: New file.
2N/A * include/grub/util/deviceiter.h: New file.
2N/A * util/grub-mkdevicemap.c: Include deviceiter.h.
2N/A Implement using grub_util_emit_devicemap_entry and
2N/A grub_util_iterate_devices.
2N/A * conf/i386-corebook.rmk: Build util/deviceiter.c and
2N/A util/devicemap.c into grub-mkdevicemap
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Add rules to build boot block
2N/A images and installation utilities. Build kernel as image
2N/A instead of as elf binary. Use common rules as much as possible.
2N/A
2N/A2009-04-19 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Correct GPT definition
2N/A
2N/A * include/grub/gpt_partition.h (grub_gpt_partentry): Corrected the type
2N/A of "attrib" member
2N/A
2N/A2009-04-19 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * INSTALL: Replace `autogen.sh' with `./autogen.sh'.
2N/A
2N/A2009-04-19 David S. Miller <davem@davemloft.net>
2N/A
2N/A * loader/sparc64/ieee1275/linux.c: Include grub/command.h
2N/A (grub_rescue_cmd_linux): Rename to...
2N/A (grub_cmd_linux): and fix prototype.
2N/A (grub_rescue_cmd_initrd): Rename to...
2N/A (grub_cmd_initrd): and fix prototype.
2N/A (cmd_linux, cmd_initrd): New.
2N/A (GRUB_MOD_INIT(linux)): Use grub_register_command().
2N/A (GRUB_MOD_FINI(linux): Use grub_unregister_command().
2N/A
2N/A2009-04-17 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf
2N/A format.
2N/A (grub_ohci_transfer): Likewise.
2N/A
2N/A * bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix.
2N/A
2N/A * loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix
2N/A return without a value. Fix inconsistent indentation.
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to
2N/A match struct grub_fs.
2N/A
2N/A * disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR.
2N/A * bus/usb/ohci.c (grub_ohci_pci_iter): Likewise.
2N/A * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
2N/A * commands/lspci.c (grub_lspci_iter): Likewise.
2N/A
2N/A2009-04-16 Bean <bean123ch@gmail.com>
2N/A
2N/A * commands/efi/loadbios.c (grub_cmd_fakebios): Add missing return
2N/A value.
2N/A
2N/A2009-04-15 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/types.h: Rename ULONG_MAX to GRUB_ULONG_MAX and
2N/A LONG_MAX to GRUB_LONG_MAX. Introduce GRUB_LONG_MIN. Update all
2N/A users of ULONG_MAX, LONG_MAX and LONG_MIN to use the new
2N/A definitions.
2N/A
2N/A2009-04-15 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Add `LVM' to the error messages,
2N/A that no multiple data or metadata areas are supported and `Unknown
2N/A metadata header'.
2N/A
2N/A2009-04-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move loader out of the kernel
2N/A
2N/A * kern/loader.c: moved to ...
2N/A * commands/boot.c: ... moved here
2N/A * commands/minicmd.c (grub_mini_cmd_boot): moved to ...
2N/A * commands/boot.c (grub_cmd_boot): moved here. All users updated
2N/A * include/grub/kernel.h (grub_machine_fini): export
2N/A * include/grub/loader.h (grub_loader_is_loaded): update declaration
2N/A (grub_loader_set): likewise
2N/A (grub_loader_unset): likewise
2N/A (grub_loader_boot): likewise
2N/A * conf/common.rmk: new module boot.mod
2N/A (pkglib_MODULES): add boot.mod
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): remove kern/loader.c
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/i386-efi.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/i386-pc.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A * conf/x86_64-efi.rmk (kernel_elf_SOURCES): likewise
2N/A (grub_emu_SOURCES): likewise
2N/A
2N/A2009-04-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A use grub_lltoa instead of grub_itoa and grub_ltoa for all purposes
2N/A
2N/A * kern/misc.c (grub_itoa): Removed function
2N/A (grub_ltoa): likewise
2N/A (grub_vsprintf): use grub_lltoa
2N/A
2N/A2009-04-15 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Restore grub-emu
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): add normal/handler.c
2N/A * conf/i386-coreboot.rmk: likewise
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A
2N/A2009-04-15 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * INSTALL: Add that `./autogen.sh' needs to be run before
2N/A `./configure.'.
2N/A
2N/A2009-04-14 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in (pkglib_DATA): Add handler.lst.
2N/A (handler.lst): New rule.
2N/A
2N/A * conf/i386-pc.rmk (normal_mod_SOURCES): Add normal/handler.c.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A
2N/A * genhandlerlist.sh: New file.
2N/A
2N/A * genmk.rb: Add rules to generate handler.lst.
2N/A
2N/A * include/grub/normal.h (grub_file_getline): New function definition.
2N/A (read_handler_list): Likewise.
2N/A (free_handler_list): Likewise.
2N/A
2N/A * include/grub/term.h (grub_term_register_input): Add name parameter
2N/A for auto generation of handler.lst.
2N/A (grub_term_register_output): Likewise.
2N/A
2N/A * normal/handler.c: New file.
2N/A
2N/A * normal/main.c (get_line): Renamed to grub_file_getline.
2N/A (read_config_file): Use the newly renamed grub_file_getline.
2N/A (read_command_list): Likewise.
2N/A (read_fs_list): Likewise.
2N/A (grub_normal_execute): Call read_handler_list to parse handler.lst.
2N/A (GRUB_MOD_FINI): Call free_handler_list to free handler list.
2N/A
2N/A * term/efi/console.c (grub_console_init): Add name parameter for auto
2N/A generation of handler.lst.
2N/A * term/gfxterm.c: Likewise.
2N/A * term/i386/pc/at_keyboard.c: Likewise.
2N/A * term/i386/pc/console.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * term/i386/pc/vga_text.c: Likewise.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A * term/usb_keyboard.c: Likewise.
2N/A
2N/A2009-04-14 Bean <bean123ch@gmail.com>
2N/A
2N/A * util/grub-pe2elf.c (write_symbol_table): Terminate short name symbol
2N/A properly with null character.
2N/A
2N/A2009-04-14 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * configure: Remove.
2N/A * config.h.in: Likewise.
2N/A * stamp-h.in: Likewise.
2N/A * DISTLIST: Likewise.
2N/A * conf/common.mk: Likewise.
2N/A * conf/i386-coreboot.mk: Likewise.
2N/A * conf/i386-efi.mk: Likewise.
2N/A * conf/i386-ieee1275.mk: Likewise.
2N/A * conf/i386.mk: Likewise.
2N/A * conf/i386-pc.mk: Likewise.
2N/A * conf/powerpc-ieee1275.mk: Likewise.
2N/A * conf/sparc64-ieee1275.mk: Likewise.
2N/A * conf/x86_64-efi.mk: Likewise.
2N/A
2N/A * INSTALL: Remove the sentence that Ruby and autoconf are only required if you
2N/A develop on GRUB.
2N/A
2N/A2009-04-14 John Stanley <jpsinthemix@verizon.net>
2N/A David S. Miller <davem@davemloft.net>
2N/A
2N/A * util/hostdisk.c (make_device_name): Fix buffer length
2N/A calculations.
2N/A
2N/A2009-04-14 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/hostdisk.c [__FreeBSD__ || __FreeBSD_kernel__]: Include
2N/A <sys/param.h> and <sys/sysctl.h>.
2N/A (open_device) [__FreeBSD__ || __FreeBSD_kernel_]: Use sysctlgetbyname()
2N/A to add 0x10 to `kern.geom.debugflags' if it's not already set, before
2N/A opening the device and reset them afterwards.
2N/A
2N/A2009-04-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/common.rmk (grub_fstest_SOURCES): Add normal/datetime.c.
2N/A Reported by John Stanley <jpsinthemix@verizon.net>
2N/A
2N/A2009-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_freebsd.in: Detect Debian GNU/kFreeBSD and use
2N/A that name for menuentries when appropriate.
2N/A
2N/A2009-04-13 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/10_freebsd.in: Add a missing `fi'.
2N/A
2N/A2009-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Don't pass `vga=ask' parameter
2N/A to Linux, simply abort telling the user it's no longer supported.
2N/A
2N/A2009-04-13 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub.d/10_freebsd.in: Don't exit if /boot/devices.hints
2N/A doesn't exist. Check also for /boot/kernel/kernel.gz. Print
2N/A `freebsd_loadenv' only when devices.hints exist.
2N/A
2N/A2009-04-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * term/usb_keyboard.c (grub_usb_keyboard_getkey): Warning fixes.
2N/A
2N/A2009-04-13 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-install.in (install_drive): Remove the BSD
2N/A partition number.
2N/A (grub_drive): Likewise.
2N/A
2N/A2009-04-13 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/sparc64/ieee1275/ieee1275.c: New file.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h (IEEE1275_MAP_WRITE,
2N/A IEEE1275_MAP_READ, IEEE1275_MAP_EXEC, IEEE1275_MAP_LOCKED,
2N/A IEEE1275_MAP_CACHED, IEEE1275_MAP_SE, IEEE1275_MAP_GLOBAL,
2N/A IEEE1275_MAP_IE, IEEE1275_MAP_DEFAULT): Define.
2N/A (grub_ieee1275_map_physical, grub_ieee1275_claim_vaddr,
2N/A grub_ieee1275_alloc_physmem): Declare new exported functions.
2N/A
2N/A * include/grub/sparc64/ieee1275/loader.h: New file.
2N/A * include/grub/sparc64/ieee1275/memory.h: Likewise.
2N/A * include/grub/sparc64/kernel.h: Likewise.
2N/A * loader/sparc64/ieee1275/linux.c: Likewise.
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add Sun partition module.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A
2N/A * util/hostdisk.c (make_device_name): Do not make any assumptions
2N/A about the length of drive names.
2N/A
2N/A * kern/dl.c (grub_dl_load_file): Close file immediately when
2N/A we are done using it.
2N/A
2N/A2009-04-12 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/misc.c (grub_ltoa): Fix cast when handling negative
2N/A values. Noticed by Pavel Roskin.
2N/A
2N/A * configure.ac: Check for __bswapsi2 and__bswapdi2 using
2N/A target compiler.
2N/A
2N/A * genmk.rb: Add more flexible image type specification, also
2N/A pass --strip-unneeded to objcopy.
2N/A * conf/i386-pc.rmk: Use *_FORMAT.
2N/A * conf/i386-pc.mk: Rebuilt.
2N/A
2N/A * disk/ieee1275/ofdisk.c (struct ofdisk_hash_ent): New struct.
2N/A (OFDISK_HASH_SZ): Define.
2N/A (ofdisk_hash): New hash table.
2N/A (ofdisk_hash_fn, ofdisk_hash_find, ofdisk_hash_add): New functions.
2N/A (grub_ofdisk_open): Use ofdisk_hash_ent address as disk->id
2N/A instead of device phandle which is not unique.
2N/A
2N/A * kern/sparc64/ieee1275/init.c: Delete, replace with...
2N/A * kern/sparc64/ieee1275/crt0.S: assembler implementation.
2N/A * include/grub/sparc64/ieee1275/kernel.h: Declare grub_prefix[].
2N/A (GRUB_MOD_ALIGN, GRUB_MOD_GAP, GRUB_KERNEL_MACHINE_TOTAL_MODULE_SIZE,
2N/A GRUB_KERNEL_MACHINE_KERNEL_IMAGE_SIZE,
2N/A GRUB_KERNEL_MACHINE_COMPRESSED_SIZE, GRUB_KERNEL_MACHINE_PREFIX,
2N/A GRUB_KERNEL_MACHINE_DATA_END): Define.
2N/A (grub_kernel_image_size, grub_total_module_size): Declare.
2N/A
2N/A2009-04-12 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Change the logic when we check for target tools.
2N/A Do it when the target is specified and it's different from the
2N/A specified value of the host.
2N/A
2N/A2009-04-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/hostdisk.c [__FreeBSD_kernel__]: Include sys/disk.h.
2N/A (grub_util_biosdisk_open) [__FreeBSD_kernel__]: Add support for
2N/A GNU/kFreeBSD. Check if a device is a character device. Use
2N/A DIOCGMEDIASIZE to get the size.
2N/A (convert_system_partition_to_system_disk) [__FreeBSD_kernel__]: Add
2N/A support for GNU/kFreeBSD.
2N/A (grub_util_biosdisk_get_grub_dev) [__FreeBSD_kernel__]: Check if OS_DEV
2N/A is a character device instead of a block device. Add support for
2N/A FreeBSD device names.
2N/A
2N/A * util/getroot.c (find_root_device) [__FreeBSD_kernel__]: Check if ENT
2N/A is a character device instead of a block device.
2N/A
2N/A * util/grub-probe.c (probe) [__FreeBSD_kernel__]: Check if DEVICE_NAME
2N/A is a character device instead of a block device.
2N/A
2N/A2009-04-11 Andrey Shuvikov <mr_hyro@yahoo.com>
2N/A
2N/A * util/hostdisk.c [__FreeBSD__]: Include sys/disk.h.
2N/A (grub_util_biosdisk_open) [__FreeBSD__]: Add support for
2N/A FreeBSD. Check if a device is a character device. Use
2N/A DIOCGMEDIASIZE to get the size.
2N/A (convert_system_partition_to_system_disk) [__FreeBSD__]: Add
2N/A support for FreeBSD.
2N/A (grub_util_biosdisk_get_grub_dev) [__FreeBSD__]: Check if OS_DEV
2N/A is a character device instead of a block device. Add support for
2N/A FreeBSD device names.
2N/A
2N/A * util/getroot.c (find_root_device) [__FreeBSD__]: Check if ENT is
2N/A a character device instead of a block device.
2N/A (grub_util_check_char_device): New function.
2N/A
2N/A * util/grub-probe.c (probe) [__FreeBSD__]: Check if DEVICE_NAME is
2N/A a character device instead of a block device.
2N/A
2N/A * include/grub/util/getroot.h (grub_util_check_char_device): New
2N/A prototype.
2N/A
2N/A2009-04-11 David S. Miller <davem@davemloft.net>
2N/A
2N/A * conf/sparc64-ieee1275.rmk (kernel_img_LDFLAGS): Link with
2N/A static libgcc.
2N/A * configure.ac: Check for __bswapsi2 and __bswapdi2 presence.
2N/A * include/grub/sparc64/libgcc.h (__bswapsi2): Export libgcc
2N/A function, if present.
2N/A (__bswapdi2): Likewise.
2N/A
2N/A * include/grub/sparc64/ieee1275/boot.h: New file.
2N/A * boot/sparc64/ieee1275/boot.S: Likewise.
2N/A * boot/sparc64/ieee1275/diskboot.S: Likewise.
2N/A
2N/A * kern/misc.c (grub_ltoa): New function.
2N/A (grub_vsprintf): Use it to format 'long' integers.
2N/A
2N/A2009-04-10 David S. Miller <davem@davemloft.net>
2N/A
2N/A * disk/ieee1275/nand.c (grub_nand_open): All ieee1275 call arg
2N/A slots are of type grub_ieee1275_cell_t.
2N/A (grub_nand_read): Likewise.
2N/A * kern/ieee1275/ieee1275.c (IEEE1275_PHANDLE_INVALID,
2N/A IEEE1275_IHANDLE_INVALID): Use grub_ieee1275_cell_t since these
2N/A macros are used to compare values in arg/ret block of the call.
2N/A (grub_ieee1275_finddevice, grub_ieee1275_get_property,
2N/A grub_ieee1275_next_property, grub_ieee1275_get_property_length,
2N/A grub_ieee1275_instance_to_package, grub_ieee1275_package_to_path,
2N/A grub_ieee1275_instance_to_path, grub_ieee1275_write,
2N/A grub_ieee1275_read, grub_ieee1275_seek, grub_ieee1275_peer,
2N/A grub_ieee1275_child, grub_ieee1275_parent, grub_ieee1275_open,
2N/A grub_ieee1275_close, grub_ieee1275_set_property,
2N/A grub_ieee1275_set_color): All ieee1275 call arg slots are of type
2N/A grub_ieee1275_cell_t.
2N/A * kern/ieee1275/openfw.c (grub_map): Likewise.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_ihandle_t,
2N/A grub_ieee1275_phandle_t): Define as grub_unit32_t type.
2N/A
2N/A * kern/ieee1275/init.c (grub_machine_init): Make 'actual' grub_ssize_t.
2N/A * kern/ieee1275/openfw.c (grub_children_iterate): Likewise.
2N/A (grub_devalias_iterate): Likewise.
2N/A
2N/A2009-04-10 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A UFS improvements
2N/A
2N/A * fs/ufs.c (INODE_NBLOCKS): new definition
2N/A (struct grub_ufs_dirent): added fields for non-BSD dirents
2N/A (grub_ufs_get_file_block): fixed double indirect handling
2N/A (grub_ufs_lookup_symlink): use more robust way to determine whether
2N/A symlink is inline
2N/A (grub_ufs_find_file): support for non-BSD dirents
2N/A (grub_ufs_dir): support for non-BSD dirents
2N/A
2N/A2009-04-10 Bean <bean123ch@gnail.com>
2N/A
2N/A * include/grub/efi/api.h (grub_efi_configuration_table): Add packed
2N/A attribute, otherwise the size would be wrong for i386 platform.
2N/A
2N/A * include/grub/pci.h (grub_pci_read_word): New inline function.
2N/A (grub_pci_read_byte): Likewise.
2N/A (grub_pci_write): Likewise.
2N/A (grub_pci_write_word): Likewise.
2N/A (grub_pci_write_byte): Likewise.
2N/A
2N/A * include/grub/pci.h (grub_pci_iteratefunc_t): Add NESTED_FUNC_ATTR.
2N/A
2N/A * loader/i386/efi/linux.c (fake_bios_data): Moved to loadbios module.
2N/A (find_framebuf): Scan pci to locate the frame buffer address.
2N/A
2N/A * commands/efi/fixvideo.c: New file.
2N/A
2N/A * commands/efi/loadbios.c: Likewise.
2N/A
2N/A * commands/memrw.c: Likewise.
2N/A
2N/A * util/grub-dumpbios.in: Likewise.
2N/A
2N/A * conf/common.rmk (grub-dumpbios): New utility.
2N/A (pkglib_MODULES): New module memrw.mod.
2N/A (memrw_mod_SOURCE): New macro.
2N/A (memrw_mod_CFLAGS): Likewise.
2N/A (memrw_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (pkglib_MODULES): New module loadbios.mod and
2N/A fixvideo.mod.
2N/A (loadbios_mod_SOURCE): New macro.
2N/A (loadbios_mod_CFLAGS): Likewise.
2N/A (loadbios_mod_LDFLAGS): Likewise.
2N/A (fixvideo_mod_SOURCE): Likewise.
2N/A (fixvideo_mod_CFLAGS): Likewise.
2N/A (fixvideo_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/x86_64.rmk (pkglib_MODULES): New module loadbios.mod and
2N/A fixvideo.mod.
2N/A (loadbios_mod_SOURCE): New macro.
2N/A (loadbios_mod_CFLAGS): Likewise.
2N/A (loadbios_mod_LDFLAGS): Likewise.
2N/A (fixvideo_mod_SOURCE): Likewise.
2N/A (fixvideo_mod_CFLAGS): Likewise.
2N/A (fixvideo_mod_LDFLAGS): Likewise.
2N/A
2N/A2009-04-08 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Add a missing NULL check.
2N/A
2N/A2009-04-07 David S. Miller <davem@davemloft.net>
2N/A
2N/A * kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add
2N/A support for R_SPARC_OLO10 relocations. Fix compile warning for
2N/A R_SPARC_WDISP30 case.
2N/A * kern/sparc64/cache.S: Fix grub_arch_sync_caches implementation.
2N/A
2N/A2009-04-06 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/misc.h (ARRAY_SIZE): New macro.
2N/A * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START):
2N/A New macro.
2N/A * loader/i386/linux.c (allocate_pages): Use free_pages().
2N/A (grub_linux_unload): Don't use free_pages().
2N/A (grub_linux_boot): Prevent accessing linux_vesafb_modes with a
2N/A wrong index. Treat all other modes as text modes.
2N/A (grub_cmd_linux): Initialize vid_mode unconditionally to
2N/A GRUB_LINUX_VID_MODE_NORMAL. Recognize and support "vga=ask".
2N/A
2N/A * commands/help.c (print_command_help): Use cmd->prio, not
2N/A cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE.
2N/A
2N/A2009-04-06 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Parttool
2N/A
2N/A * parttool/pcpart.c: new file
2N/A * commands/parttool.c: likewise
2N/A * conf/common.rmk (pkglib_MODULES): Added parttool.mod and pcpart.mod
2N/A (parttool_mod_SOURCES): new variable
2N/A (parttool_mod_CFLAGS): likewise
2N/A (parttool_mod_LDFLAGS): likewise
2N/A (pcpart_mod_SOURCES): likewise
2N/A (pcpart_mod_CFLAGS): likewise
2N/A (pcpart_mod_LDFLAGS): likewise
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): added commands/parttool.c
2N/A and parttool/pcpart.c
2N/A * conf/i386-efi.rmk: likewise
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A * conf/sparc64-ieee1275.rmk: likewise
2N/A * conf/x86_64-ieee1275.rmk: likewise
2N/A
2N/A2009-04-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Support for mtime and further expandability of dir command
2N/A
2N/A * include/grub/lib/datetime.h: moved to ...
2N/A * include/grub/datetime.h: ... moved here and added
2N/A declaration of grub_unixtime2datetime. All users updated
2N/A * include/grub/fs.h: new syntax for dir and mtime functions in
2N/A struct grub_fs
2N/A * include/grub/fshelp.h: new declarations of GRUB_FSHELP_TYPE_MASK
2N/A and GRUB_FSHELP_FLAGS_MASK
2N/A * commands/ls.c (grub_ls_list_files): Write mtime in long format
2N/A * fs/ext2.c (grub_ext2_dir): use new dir syntax and supply mtime
2N/A (grub_ext2_mtime): new function
2N/A * fs/hfsplus.c (grub_hfsplus_dir): use new dir syntax and supply mtime
2N/A (grub_hfsplus_mtime): new function
2N/A * fs/ufs.c (GRUB_UFS_ATTR_TYPE): new definition
2N/A (GRUB_UFS_ATTR_FILE): likewise
2N/A (GRUB_UFS_ATTR_LNK): likewise
2N/A (struct grub_ufs_sblock): new fields mtime
2N/A (grub_ufs_read_inode): new parameter to read inode to a separate buffer
2N/A all users updated
2N/A (grub_ufs_dir): mtime support
2N/A (grub_ufs_mtime): new function
2N/A * fs/affs.c (grub_affs_dir): use new dir syntax
2N/A * fs/afs.c (grub_afs_dir): likewise
2N/A * fs/cpio.c (grub_cpio_dir): likewise
2N/A * fs/fat.c (grub_fat_find_dir): likewise
2N/A * fs/hfs.c (grub_hfs_dir): likewise
2N/A * fs/iso9660.c (grub_iso9660_dir): likewise
2N/A * fs/jfs.c (grub_jfs_dir): likewise
2N/A * fs/minix.c (grub_minix_dir): likewise
2N/A * fs/ntfs.c (grub_ntfs_dir): likewise
2N/A * fs/reiserfs.c (grub_reiserfs_dir): likewise
2N/A * fs/sfs.c (grub_sfs_dir): likewise
2N/A * fs/xfs.c (grub_xfs_dir): likewise
2N/A * util/hostfs.c (grub_hostfs_dir): likewise
2N/A * lib/datetime.c: moved to ...
2N/A * normal/datetime.c: ... moved here
2N/A (grub_unixtime2datetime): new function
2N/A * kern/rescue.c (grub_rescue_print_files): use new dir syntax
2N/A * normal/completion.c (iterate_dir): use new dir syntax
2N/A * normal/misc.c (grub_normal_print_device_info): tell the
2N/A last modification time of a volume
2N/A * kern/fs.c (grub_fs_probe): updated dummy function to use new syntax
2N/A * conf/common.rmk: added lib/datetime.c to ls.mod
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): add normal/datetime.c
2N/A (normal_mod_SOURCES): likewise
2N/A (datetime_mod_SOURCES): Removed lib/datetime.c
2N/A * conf/i386-efi.rmk: likewise
2N/A * conf/i386-ieee1275.rmk: likewise
2N/A * conf/i386-pc.rmk: likewise
2N/A * conf/powerpc-ieee1275.rmk: likewise
2N/A * conf/sparc64-ieee1275.rmk: likewise
2N/A * conf/x86_64-efi.rmk: likewise
2N/A
2N/A2009-04-05 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Trim trailing spaces in FAT label and support mtools-like labels
2N/A
2N/A * fs/fat.c (grub_fat_iterate_dir): New function based
2N/A on grub_fat_find_dir
2N/A (grub_fat_find_dir): use grub_fat_iterate_dir
2N/A (grub_fat_label): likewise
2N/A
2N/A2009-04-04 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): add list.h
2N/A and command.h
2N/A remove extraneous kernel_elf_HEADERS
2N/A
2N/A2009-04-04 Bean <bean123ch@gnail.com>
2N/A
2N/A * include/grub/util/misc.h: Add dummy function fsync for mingw.
2N/A
2N/A * util/misc.c: Likewise.
2N/A
2N/A2009-04-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/i386/efi/linux.c (fake_bios_data): Use grub_dprintf
2N/A instead of grub_printf.
2N/A
2N/A2009-04-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_linux_setup_video): Fill
2N/A `params->{red,green,blue,reserved}_{mask_size,field_pos}' with
2N/A values from `mode info' structure instead of hardcoded
2N/A values.
2N/A
2N/A2009-04-01 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * Makefile.in: Remove all references to MODULE_LDFLAGS, it's
2N/A unused now.
2N/A * genmk.rb: Likewise.
2N/A * configure.ac: Likewise.
2N/A
2N/A2009-04-01 Manoel Abranches <mrabran@linux.vnet.ibm.com>
2N/A
2N/A * aclocal.m4: Move --build-id=none from MODULE_LDFLAGS to
2N/A TARGET_LDFLAGS. This corrects a problem with grub-mkelfimage.
2N/A
2N/A2009-04-01 David S. Miller <davem@davemloft.net>
2N/A
2N/A * normal/sparc64/setjmp.S: Fix setjmp implementation.
2N/A * include/grub/sparc64/setjmp.h (grub_jmp_buf): Update.
2N/A (grub_setjmp): Mark with 'returns_twice' attribute.
2N/A * include/grub/i386/setjmp.h (grub_setjmp): Likewise
2N/A * include/grub/powerpc/setjmp.h (grub_setjmp): Likewise.
2N/A * include/grub/x86_64/setjmp.h (grub_setjmp): Likewise.
2N/A
2N/A2009-04-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Reapply fix from 2008-07-28 which was accidentally reverted; also
2N/A perform the same fix to a similar check in same function.
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Do not abort when two disks
2N/A with the same number are found, just use issue a warning with
2N/A grub_dprintf(), as this error has been reported to be non-fatal.
2N/A
2N/A2009-03-31 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Provide safe default
2N/A for cross-compilation.
2N/A
2N/A2009-03-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix i386-ieee1275 build.
2N/A
2N/A * include/grub/i386/ieee1275/loader.h (grub_multiboot2_real_boot):
2N/A Remove declaration.
2N/A
2N/A2009-03-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * fs/hfs.c (grub_hfs_strncasecmp): Integrate into ...
2N/A (grub_hfs_cmp_catkeys): ... this. Don't assume strings to be
2N/A zero-terminated, rely only on the strlen value. Fix comparison
2N/A of strings differing in length.
2N/A
2N/A2009-03-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Check for zImage before
2N/A checking for abi version. Improve error messages on BIOS to notify
2N/A user about `linux16' command.
2N/A
2N/A2009-03-29 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Leak fixes
2N/A
2N/A * kern/disk.c (grub_disk_cache_store): Invalidate previous cache
2N/A in case of collision
2N/A * disk/scsi.c (grub_scsi_open): free scsi in case of error
2N/A
2N/A2009-03-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c (grub_cmd_linux): Parse "vga=" parameter and
2N/A set `vid_mode' accordingly.
2N/A (grub_linux_boot): Process `vid_mode' and set video mode.
2N/A
2N/A2009-03-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in (linux_entry): New function.
2N/A Factorize generation of Linux boot entries.
2N/A
2N/A2009-03-29 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Make the format of Environment Block plain text. The boot loader
2N/A part is not tested well yet.
2N/A
2N/A * util/grub-editenv.c (DEFAULT_ENVBLK_SIZE): New macro.
2N/A (buffer): Removed.
2N/A (envblk): Likewise.
2N/A (usage): Remove "info" and "clear". Add "unset". Update the
2N/A description of "set", as this does not delete variables any
2N/A longer.
2N/A (create_envblk_file): Complete rewrite.
2N/A (open_envblk_file): Likewise.
2N/A (cmd_info): Removed.
2N/A (cmd_list): Likewise.
2N/A (cmd_set): Likewise.
2N/A (cmd_clear): Likewise.
2N/A (list_variables): New function.
2N/A (write_envblk): Likewise.
2N/A (set_variables): Likewise.
2N/A (unset_variables): Likewise.
2N/A (main): Complete rewrite.
2N/A
2N/A * commands/loadenv.c (buffer): Removed.
2N/A (envblk): Likewise.
2N/A (open_envblk_file): New function.
2N/A (read_envblk_file): Complete rewrite.
2N/A (grub_cmd_load_env): Likewise.
2N/A (grub_cmd_list_env): Likewise.
2N/A (struct blocklist): New struct.
2N/A (free_blocklists): New function.
2N/A (check_blocklists): Likewise.
2N/A (write_blocklists): Likewise.
2N/A (grub_cmd_save_env): Complete rewrite.
2N/A
2N/A * include/grub/lib/envblk.h (GRUB_ENVBLK_SIGNATURE): Replaced with
2N/A a plain text signature.
2N/A (GRUB_ENVBLK_MAXLEN): Removed.
2N/A (struct grub_envblk): Complete rewrite.
2N/A (grub_envblk_find): Removed.
2N/A (grub_envblk_insert): Likewise.
2N/A (grub_envblk_open): New prototype.
2N/A (grub_envblk_set): Likewise.
2N/A (grub_envblk_delete): Put const to VALUE.
2N/A (grub_envblk_iterate): Put const to NAME and VALUE.
2N/A (grub_envblk_close): New prototype.
2N/A (grub_envblk_buffer): New inline function.
2N/A (grub_envblk_size): Likewise.
2N/A
2N/A * lib/envblk.c: Include grub/mm.h.
2N/A (grub_env_find): Removed.
2N/A (grub_envblk_open): New function.
2N/A (grub_envblk_close): Likewise.
2N/A (escaped_value_len): Likewise.
2N/A (find_next_line): Likewise.
2N/A (grub_envblk_insert): Removed.
2N/A (grub_envblk_set): New function.
2N/A (grub_envblk_delete): Complete rewrite.
2N/A (grub_envblk_iterate): Likewise.
2N/A
2N/A2009-03-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `linux16.mod'.
2N/A (linux16_mod_SOURCES, linux16_mod_CFLAGS, linux16_mod_LDFLAGS): New
2N/A variables. Use 16-bit loader.
2N/A (linux_mod_SOURCES, linux_mod_CFLAGS, linux_mod_LDFLAGS): Use 32-bit
2N/A loader.
2N/A * kern/i386/loader.S (grub_linux_boot): Rename to ...
2N/A (grub_linux16_boot): ... this. Update all users.
2N/A * loader/i386/linux.c (grub_linux32_boot): Rename to ...
2N/A (grub_linux_boot): ... this. Update all users.
2N/A
2N/A * loader/i386/pc/linux.c (GRUB_MOD_INIT(linux)): Rename to ...
2N/A (GRUB_MOD_INIT(linux16)): ... this. Rename `linux' and `initrd'
2N/A commands to `linux16' and `initrd16'.
2N/A (GRUB_MOD_FINI(linux)): Rename to ...
2N/A (GRUB_MOD_FINI(linux16)): ... this.
2N/A
2N/A2009-03-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * genmk.rb: Define ASM_FILE for *.S files for *.lst generation,
2N/A not just for compilation.
2N/A
2N/A2009-03-22 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Move multiboot helper out of kernel
2N/A
2N/A * conf/i386-pc.rmk (multiboot_mod_SOURCES): Add
2N/A `loader/i386/multiboot_helper.S'.
2N/A * conf/i386-coreboot.rmk: Likewise
2N/A * conf/i386-ieee1275.rmk: Likewise
2N/A
2N/A * kern/i386/loader.S: Move multiboot helpers from here...
2N/A * loader/i386/multiboot_helper.S: ...moved here
2N/A * include/grub/i386/loader.h: Move declarations of multiboot
2N/A helpers from here...
2N/A * include/grub/i386/multiboot.h: ...moved here
2N/A * loader/i386/multiboot.c: Added include of grub/cpu/multiboot.h
2N/A
2N/A2009-03-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/env.c (grub_env_context_open): Added an argument to specify
2N/A whether a new context inherits exported variables from current
2N/A one. This is useful when making a sandbox to interpret a config
2N/A file.
2N/A All callers updated.
2N/A
2N/A * include/grub/env.h (grub_env_context_open): Updated the prototype.
2N/A
2N/A2009-03-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/env.c (grub_env_context_close): Fix memory leaks.
2N/A
2N/A2009-03-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/main.c (grub_normal_execute): Added an argument
2N/A BATCH to specify if an interactive interface should be provided
2N/A after reading a config file.
2N/A All callers updated.
2N/A (read_command_list): Prevent being executed twice.
2N/A (read_fs_list): Likewise.
2N/A
2N/A * include/grub/normal.h (grub_normal_execute): Updated the
2N/A prototype.
2N/A
2N/A2009-03-22 Pavel Roskin <proski@gno.org>
2N/A
2N/A * kern/powerpc/ieee1275/startup.S: Replace EXT_C(start) with
2N/A _start.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * kern/i386/efi/startup.S: Likewise.
2N/A * kern/i386/ieee1275/startup.S: Likewise.
2N/A * kern/i386/coreboot/startup.S: Likewise.
2N/A * kern/x86_64/efi/startup.S: Likewise.
2N/A
2N/A * aclocal.m4 (grub_CHECK_START_SYMBOL): Remove.
2N/A * configure.ac: Don't call grub_CHECK_START_SYMBOL.
2N/A * kern/i386/pc/startup.S: Use _start instead of START_SYMBOL.
2N/A
2N/A2009-03-21 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Bugfixes in multiboot for bugs uncovered by solaris kernel.
2N/A
2N/A * loader/i386/multiboot_elfxx.c (grub_multiboot_load_elf): Corrected
2N/A limit detection.
2N/A Use vaddr of correct segment for entry_point.
2N/A
2N/A2009-03-21 Bean <bean123ch@gmail.com>
2N/A
2N/A * commands/blocklist.c: Add include file <grub/command.h>, remove
2N/A <grub/normal.h> and <grub/arg.h>.
2N/A (grub_cmd_blocklist): Use the new command interface.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * commands/boot.c: Likewise.
2N/A * commands/cat.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/configfile.c: Likewise.
2N/A * commands/crc.c: Likewise.
2N/A * commands/echo.c: Likewise.
2N/A * commands/halt.c: Likewise.
2N/A * commands/handler.c: Likewise.
2N/A * commands/hdparm.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * commands/hexdump.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/lsmmap.c: Likewise.
2N/A * commands/lspci.c: Likewise.
2N/A * commands/loadenv.c: Likewise.
2N/A * commands/read.c: Likewise.
2N/A * commands/reboot.c: Likewise.
2N/A * commands/search.c: Likewise.
2N/A * commands/sleep.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * commands/usbtest.c: Likewise.
2N/A * commands/videotest.c: Likewise.
2N/A * commands/i386/cpuid.c: Likewise.
2N/A * commands/i386/pc/halt.c: Likewise.
2N/A * commands/i386/pc/play.c: Likewise.
2N/A * commands/i386/pc/pxecmd.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/i386/pc/vbetest.c: Likewise.
2N/A * commands/ieee1275/suspend.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * font/font_cmd.c: Likewise.
2N/A * hello/hello.c: Likewise.
2N/A * loader/efi/appleloader.c: Likewise.
2N/A * loader/efi/chainloader.c: Likewise.
2N/A * loader/i386/bsd.c: Likewise.
2N/A * loader/i386/efi/linux.c: Likewise.
2N/A * loader/i386/ieee1275/linux.c: Likewise.
2N/A * loader/i386/linux.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A
2N/A * term/i386/pc/vesafb.c: Removed <grub/arg.h>.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * video/readers/jpeg.c: Likewise.
2N/A * video/readers/png.c: Likewise.
2N/A * video/readers/tga.c: Likewise.
2N/A
2N/A * util/grub-fstest (cmd_loopback): Removed.
2N/A (cmd_blocklist): Likewise.
2N/A (cmd_ls): Likewise.
2N/A (grub_register_command): Likewise.
2N/A (grub_unregister_command): Likewise.
2N/A (execute_command): Use grub_command_find to locate command and execute
2N/A it.
2N/A
2N/A * include/grub/efi/chainloader.h: Removed.
2N/A * loader/efi/chainloader_normal.c: Likewise.
2N/A * loader/i386/bsd_normal.c: Likewise.
2N/A * loader/i386/pc/chainloader_normal.c: Likewise.
2N/A * loader/i386/pc/multiboot_normal.c: Likewise.
2N/A * loader/linux_normal.c: Likewise.
2N/A * loader/multiboot_loader_normal.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux_normal.c: Likewise.
2N/A
2N/A * gencmdlist.sh: Scan new registration command grub_register_extcmd
2N/A and grub_register_command_p1.
2N/A
2N/A * conf/common.rmk (grub_fstest_SOURCES): Add kern/list.c,
2N/A kern/command.c, lib/arg.c and commands/extcmd.c.
2N/A (pkglib_MODULES): Remove boot.mod, and minicmd.mod and extcmd.mod.
2N/A (minicmd_mod_SOURCES): New variable.
2N/A (minicmd_mod_CFLAGS): Likewise.
2N/A (minicmd_mod_LDFLAGS): Likewise.
2N/A (extcmd_mod_SOURCES): Likewise.
2N/A (extcmd_mod_CFLAGS): Likewise.
2N/A (extcmd_mod_LDFLAGS): Likewise.
2N/A (boot_mod_SOURCES): Removed.
2N/A (boot_mod_CFLAGS): Likewise.
2N/A (boot_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add kern/command.c and
2N/A kern/corecmd.c.
2N/A (kernel_img_HEADERS): Add command.h.
2N/A (grub_emu_SOURCES): Remove commands/boot.c and normal/arg.c, add
2N/A commands/minicmd.c, kern/command.c, kern/corecmd.c, commands/extcmd.c
2N/A and lib/arg.c.
2N/A (pkglib_MODULES): Change _linux.mod, _chain.mod, _bsd.mod and
2N/A _multiboot.mod as linux.mod, chain.mod, bsd.mod and multiboot.mod,
2N/A remove the corresponding normal mode command.
2N/A (normal_mod_SOURCES): Remove normal/arg.c.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A
2N/A * include/grub/arg.h: Move from here ...
2N/A * include/grub/lib/arg.h: ... to here.
2N/A
2N/A * normal/arg.c: Move from here ...
2N/A * lib/arg.c: ... to here.
2N/A
2N/A * commands/extcmd.c: New file.
2N/A * commands/minicmd.c: Likewise.
2N/A * include/grub/command.h: Likewise.
2N/A * include/grub/extcmd.h: Likewise.
2N/A * kern/command.c: Likewise.
2N/A * kern/corecmd.c: Likewise.
2N/A
2N/A * kern/list.c (grub_list_iterate): Return int instead of void.
2N/A (grub_list_insert): New function.
2N/A (grub_prio_list_insert): Likewise.
2N/A
2N/A * kern/rescue.c (grub_rescue_command): Removed.
2N/A (grub_rescue_command_list): Likewise.
2N/A (grub_rescue_register_command): Likewise.
2N/A (grub_rescue_unregister_command): Likewise.
2N/A (grub_rescue_cmd_boot): Move to minicmd.c
2N/A (grub_rescue_cmd_help): Likewise.
2N/A (grub_rescue_cmd_info): Likewise.
2N/A (grub_rescue_cmd_boot): Likewise.
2N/A (grub_rescue_cmd_testload): Likewise.
2N/A (grub_rescue_cmd_dump): Likewise.
2N/A (grub_rescue_cmd_rmmod): Likewise.
2N/A (grub_rescue_cmd_lsmod): Likewise.
2N/A (grub_rescue_cmd_exit): Likewise.
2N/A (grub_rescue_print_devices): Moved to corecmd.c.
2N/A (grub_rescue_print_files): Likewise.
2N/A (grub_rescue_cmd_ls): Likewise.
2N/A (grub_rescue_cmd_insmod): Likewise.
2N/A (grub_rescue_cmd_set): Likewise.
2N/A (grub_rescue_cmd_unset): Likewise.
2N/A (attempt_normal_mode): Use grub_command_find to get normal module.
2N/A (grub_enter_rescue_mode): Use grub_register_core_commands to register
2N/A commands, remove grub_rescue_register_command calls.
2N/A
2N/A * normal/command.c (grub_register_command): Removed.
2N/A (grub_unregister_command): Likewise.
2N/A (grub_command_find): Likewise.
2N/A (grub_iterate_commands): Likewise.
2N/A (rescue_command): Likewise.
2N/A (export_command): Moved to corecmd.c.
2N/A (set_command): Removed.
2N/A (unset_command): Likewise.
2N/A (insmod_command): Likewise.
2N/A (rmmod_command): Likewise.
2N/A (lsmod_command): Likewise.
2N/A (grub_command_init): Likewise.
2N/A
2N/A * normal/completion.c (iterate_command): Use cmd->prio to check for
2N/A active command.
2N/A (complete_arguments): Use grub_extcmd_t structure to find options.
2N/A (grub_normal_do_completion): Change function grub_iterate_commands to
2N/A grub_command_iterate.
2N/A
2N/A * normal/execute.c (grub_script_execute_cmd): No need to parse
2N/A argument here.
2N/A
2N/A * normal/main.c (grub_dyncmd_dispatcher): New function.
2N/A (read_command_list): Register unload commands as dyncmd.
2N/A (grub_cmd_normal): Use new command interface, register rescue,
2N/A unregister normal at entry, register normal, unregister rescue at exit.
2N/A
2N/A * include/grub/list.h (grub_list_test_t): New type.
2N/A (grub_list_iterate): Return int instead of void.
2N/A (grub_list_insert): New function.
2N/A (GRUB_AS_NAMED_LIST_P): New macro.
2N/A (GRUB_AS_PRIO_LIST): Likewise.
2N/A (GRUB_AS_PRIO_LIST_P): Likewise.
2N/A (GRUB_PRIO_LIST_PRIO_MASK): New constant.
2N/A (GRUB_PRIO_LIST_FLAG_ACTIVE): Likewise.
2N/A (grub_prio_list): New structure.
2N/A (grub_prio_list_insert): New function.
2N/A (grub_prio_list_remove): New inline function.
2N/A
2N/A * include/grub/normal.h: Remove <grub/arg.h>, add <grub/command.h>.
2N/A (GRUB_COMMAND_FLAG_CMDLINE): Moved to command.h.
2N/A (GRUB_COMMAND_FLAG_MENU): Likewise.
2N/A (GRUB_COMMAND_FLAG_BOTH): Likewise.
2N/A (GRUB_COMMAND_FLAG_TITLE): Likewise.
2N/A (GRUB_COMMAND_FLAG_NO_ECHO): Likewise.
2N/A (GRUB_COMMAND_FLAG_NO_ARG_PARSE): Removed.
2N/A (GRUB_COMMAND_FLAG_NOT_LOADED): Likewise.
2N/A (grub_command): Likewise.
2N/A (grub_register_command): Likewise.
2N/A (grub_command_find): Likewise.
2N/A (grub_iterate_commands): Likewise.
2N/A (grub_command_init): Likewise.
2N/A (grub_arg_parse): Likewise.
2N/A (grub_arg_show_help): Likewise.
2N/A
2N/A * include/grub/rescue.h (grub_rescue_register_command): Removed.
2N/A (grub_rescue_unregister_command): Likewise.
2N/A
2N/A * include/grub/i386/bsd.h: Remove grub_rescue_cmd_freebsd,
2N/A grub_rescue_cmd_openbsd, grub_rescue_cmd_netbsd,
2N/A grub_rescue_cmd_freebsd_loadenv and grub_rescue_cmd_freebsd_module.
2N/A
2N/A * include/grub/i386/efi/loader.h: Remove grub_rescue_cmd_linux and
2N/A grub_rescue_cmd_initrd.
2N/A * include/grub/i386/loader.h: Likewise.
2N/A * include/grub/x86_64/loader.h: Likewise.
2N/A
2N/A * include/grub/i386/pc/chainloader.h: Remove grub_chainloader_cmd.
2N/A
2N/A2009-03-21 Bean <bean123ch@gmail.com>
2N/A
2N/A * util/hostdisk.c (read_device_map): Use grub_util_get_disk_size
2N/A instead of stat in mingw environment.
2N/A
2N/A * util/misc.c (grub_millisleep): Use Sleep in mingw environment.
2N/A
2N/A * aclocal.m4 (grub_CHECK_LINK_DIR): New function.
2N/A
2N/A * configure.ac: Use grub_CHECK_LINK_DIR to determine whether to use
2N/A AC_CONFIG_LINKS.
2N/A
2N/A2009-03-21 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_mount): Change errno to GRUB_ERR_BAD_FS for
2N/A out of range error.
2N/A
2N/A2009-03-18 Michel Dänzer <michel@daenzer.net>
2N/A
2N/A * fs/ext2.c (grub_ext2_read_block): Take endianness into account when
2N/A checking inode flags for EXT4_EXTENTS_FLAG.
2N/A
2N/A2009-03-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c: Include `<grub/video.h>' and
2N/A `<grub/i386/pc/vbe.h>'..
2N/A (grub_linux_setup_video): New function. Loosely based on the EFI one.
2N/A (grub_linux32_boot): Attempt to configure video settings with
2N/A grub_linux_setup_video().
2N/A (grub_rescue_cmd_linux): Set noreturn=0 in grub_loader_set, in order
2N/A to avoid grub_console_fini() which would step out of graphical mode
2N/A unconditionally.
2N/A
2N/A2009-03-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix build on powerpc.
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Add `handler.h'.
2N/A
2N/A2009-03-12 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A * term/gfxterm.c (GRUB_MOD_FINI(term_gfxterm)): Correct name of
2N/A background image command.
2N/A
2N/A2009-03-12 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * term/gfxterm.c (draw_cursor): Ensure character is redrawn.
2N/A (grub_gfxterm_putchar): Extract pairs of identical calls to
2N/A draw_cursor out of conditional blocks.
2N/A
2N/A2009-03-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * fs/hfs.c (grub_hfs_strncasecmp): New function.
2N/A (grub_hfs_cmp_catkeys): Use HFS specific string comparison.
2N/A
2N/A2009-03-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/multiboot_elfxx.c
2N/A (CONCAT(grub_multiboot_load_elf, XX)): Do not reject ET_DYN files.
2N/A
2N/A2009-03-11 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add `kern/list.c' and
2N/A `kern/handler.c'.
2N/A
2N/A2009-03-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/multiboot.c (code_size): New variable.
2N/A (grub_multiboot): Define offsets by adding to `code_size' rather
2N/A than subtracting from `grub_multiboot_payload_size'. Provide
2N/A 4-byte alignment to MBI and others by increasing
2N/A `boot_loader_name_length' appropriately.
2N/A
2N/A * loader/i386/multiboot_elfxx.c
2N/A (CONCAT(grub_multiboot_load_elf, XX)): Initialize `code_size'.
2N/A
2N/A2009-03-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove duplicated
2N/A `fs/ext2.c'.
2N/A
2N/A2009-03-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Make loader/i386/linux.c usable on i386-pc again.
2N/A
2N/A * kern/i386/pc/init.c (grub_machine_init): Disable addition of low
2N/A memory to heap.
2N/A * loader/i386/linux.c [GRUB_MACHINE_PCBIOS] (allocate_pages): Remove
2N/A `#error' stanza.
2N/A
2N/A2009-03-07 Bean <bean123ch@gmail.com>
2N/A
2N/A * loader/i386/efi/linux.c (grub_rescue_cmd_initrd): Fix a bug in initrd
2N/A allocation.
2N/A
2N/A2009-03-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix display issue on terminals with screen size other than 80x25
2N/A (e.g. gfxterm with resolution higher than 640x480).
2N/A
2N/A * normal/main.c (grub_normal_init_page): Display title text in a
2N/A position relative to the center of the terminal instead of relying
2N/A on a hardcoded offset.
2N/A
2N/A2009-03-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Filter /etc/grub.d/10_* so that only add-ons for native kernels are
2N/A installed.
2N/A
2N/A * Makefile.in (host_kernel): New variable.
2N/A * conf/common.rmk (grub-mkconfig_SCRIPTS): Conditionalize all 10_*.in
2N/A scripts instead of just the windows one.
2N/A * configure.ac: Initialize and AC_SUBST `host_kernel'.
2N/A
2N/A2009-03-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `kern/list.c' and
2N/A `kern/handler.c'.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2009-03-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Skip over invalid BSD partitions
2N/A or if there's no space for the disk label and print the partition number on a
2N/A invalid magic.
2N/A
2N/A2009-03-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/misc.c: Include <time.h>.
2N/A (grub_millisleep): New function.
2N/A
2N/A2009-03-04 Bean <bean123ch@gmail.com>
2N/A
2N/A * configure.ac: Only test -mcmodel=large option in x86_64-efi, also add
2N/A another option -mno-red-zone.
2N/A
2N/A * commands/handler.c: Change module description.
2N/A
2N/A * kern/handler.c: Add missing space at the end of description line.
2N/A
2N/A * kern/list.c: Likewise.
2N/A
2N/A2009-03-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Move more components to the relocation area, and fix mbi pointer
2N/A handling to use the destination rather than the origin (thanks to
2N/A Vladimir Serbinenko for spotting).
2N/A
2N/A * loader/i386/multiboot.c (mbi_dest): New variable.
2N/A (grub_multiboot_boot): Use `mbi_dest' instead of `mbi'.
2N/A (grub_multiboot): Put cmdline, boot_loader_name and mbi in the
2N/A relocation area.
2N/A
2N/A2009-03-01 Bean <bean123ch@gmail.com>
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_MPS_TABLE_GUID): New constant.
2N/A (GRUB_EFI_ACPI_TABLE_GUID): Likewise.
2N/A (GRUB_EFI_ACPI_20_TABLE_GUID): Likewise.
2N/A (GRUB_EFI_SMBIOS_TABLE_GUID): Likewise.
2N/A
2N/A * loader/i386/efi/linux.c (acpi_guid): New variable.
2N/A (acpi_guid): Likewise.
2N/A (EBDA_SEG_ADDR): New constant.
2N/A (LOW_MEM_ADDR): Likewise.
2N/A (FAKE_EBDA_SEG): Likewise.
2N/A (fake_bios_data): New function.
2N/A (grub_linux_boot): Call fake_bios_data.
2N/A
2N/A2009-03-01 Bean <bean123ch@gmail.com>
2N/A
2N/A * commands/terminal.c: Removed.
2N/A
2N/A * commands/handler.c: New file.
2N/A
2N/A * include/grub/list.h: Likewise.
2N/A
2N/A * include/grub/handler.h: Likewise.
2N/A
2N/A * kern/list.c: Likewise.
2N/A
2N/A * kern/handler.c: Likewise.
2N/A
2N/A * kern/term.h: Include header file <grub/handler.h>.
2N/A (grub_term_input): Move next field to the beginning.
2N/A (grub_term_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A (grub_term_register_input): Changed to inline function.
2N/A (grub_term_register_output): Likewise.
2N/A (grub_term_unregister_input): Likewise.
2N/A (grub_term_unregister_output): Likewise.
2N/A (grub_term_set_current_input): Likewise.
2N/A (grub_term_set_current_output): Likewise.
2N/A (grub_term_get_current_input): Likewise.
2N/A (grub_term_get_current_output): Likewise.
2N/A (grub_term_iterate_input): Removed.
2N/A (grub_term_iterate_output): Likewise.
2N/A
2N/A * kern/term.c (grub_term_list_input): Removed.
2N/A (grub_term_list_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A (grub_cur_term_input): Change variable as macro.
2N/A (grub_cur_term_output): Likewise.
2N/A (grub_term_register_input): Removed.
2N/A (grub_term_register_output): Likewise.
2N/A (grub_term_unregister_input): Likewise.
2N/A (grub_term_unregister_output): Likewise.
2N/A (grub_term_set_current_input): Likewise.
2N/A (grub_term_set_current_output): Likewise.
2N/A (grub_term_iterate_input): Likewise.
2N/A (grub_term_iterate_output): Likewise.
2N/A (grub_term_get_current_input): Likewise.
2N/A (grub_term_get_current_output): Likewise.
2N/A
2N/A * util/grub-editenv.c: Include header file <grub/handler.h>.
2N/A (grub_term_get_current_input): Removed.
2N/A (grub_term_get_current_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A
2N/A * util/grub-fstest.c (grub_term_get_current_input): Removed.
2N/A (grub_term_get_current_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A
2N/A * util/grub-probe.c (grub_term_get_current_input): Removed.
2N/A (grub_term_get_current_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A
2N/A * util/i386/pc/grub-setup.c (grub_term_get_current_input): Removed.
2N/A (grub_term_get_current_output): Likewise.
2N/A (grub_term_input_class): New variable.
2N/A (grub_term_output_class): Likewise.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Replace terminal with handler.
2N/A (terminal_mod_SOURCES): Likewise.
2N/A (terminal_mod_CFLAGS): Likewise.
2N/A (terminal_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_img_SOURCES): Add list.c and handler.c.
2N/A (kernel_img_HEADERS): Add list.h and handler.h.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_mod_SOURCES): Add list.c and handler.c.
2N/A (kernel_mod_HEADERS): Add list.h and handler.h.
2N/A
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_elf_SOURCES): Add list.c and handler.c.
2N/A (kernel_elf_HEADERS): Add list.h and handler.h.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_elf_SOURCES): Add list.c and handler.c.
2N/A (kernel_elf_HEADERS): Add list.h and handler.h.
2N/A
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_mod_SOURCES): Add list.c and handler.c.
2N/A (kernel_mod_HEADERS): Add list.h and handler.h.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Replace terminal.c with
2N/A handler.c.
2N/A (kernel_elf_SOURCES): Add list.c and handler.c.
2N/A (kernel_elf_HEADERS): Add list.h and handler.h.
2N/A
2N/A2009-02-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Factorize elf32 / elf64 code in Multiboot loader. This will
2N/A prevent it from getting out of sync again.
2N/A
2N/A * loader/i386/multiboot.c (grub_multiboot_is_elf32,
2N/A grub_multiboot_load_elf32, grub_multiboot_is_elf64,
2N/A grub_multiboot_load_elf64): Move from here ...
2N/A * loader/i386/multiboot_elfxx.c (grub_multiboot_is_elf,
2N/A grub_multiboot_load_elf): ... to here (new file).
2N/A
2N/A2009-02-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Rename "single-user mode" to
2N/A "recovery mode".
2N/A
2N/A2009-02-27 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Don't leak in SCSI code.
2N/A * disk/scsi.c (grub_scsi_close): free `scsi'.
2N/A
2N/A2009-02-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c: Move from here ...
2N/A * loader/i386/multiboot.c: ... to here. Update all users.
2N/A
2N/A2009-02-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Patch from Alexandre Bique <bique.alexandre@gmail.com>
2N/A * util/i386/pc/grub-setup.c (setup): Fix directory path.
2N/A
2N/A2009-02-27 Krzysztof Smiechowicz <deadwood@wp.pl>
2N/A
2N/A * fs/sfs.c (grub_sfs_read_extent): Correction to traversing extent
2N/A b-tree.
2N/A
2N/A2009-02-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/misc.c (grub_strtoull): Fix bug (it mistakenly parsed the
2N/A `0x' qualifier as 0 when base is specified as parameter).
2N/A
2N/A2009-02-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * configure.ac: Check for -mcmodel=large in x86_64 target.
2N/A
2N/A * include/grub/efi/api.h (efi_call_10): New macro.
2N/A (efi_wrap_10): New function.
2N/A
2N/A * include/grub/efi/pe32.h (GRUB_PE32_REL_BASE_HIGH): New macro.
2N/A (GRUB_PE32_REL_BASED_HIGH): Likewise.
2N/A (GRUB_PE32_REL_BASED_LOW): Likewise.
2N/A (GRUB_PE32_REL_BASED_HIGHLOW): Likewise.
2N/A (GRUB_PE32_REL_BASED_HIGHADJ): Likewise.
2N/A (GRUB_PE32_REL_BASED_MIPS_JMPADDR): Likewise.
2N/A (GRUB_PE32_REL_BASED_SECTION): Likewise.
2N/A (GRUB_PE32_REL_BASED_REL): Likewise.
2N/A (GRUB_PE32_REL_BASED_IA64_IMM64): Likewise.
2N/A (GRUB_PE32_REL_BASED_DIR64): Likewise.
2N/A (GRUB_PE32_REL_BASED_HIGH3ADJ): Likewise.
2N/A
2N/A * kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Fixed relocation
2N/A issue.
2N/A
2N/A * kern/x86_64/efi/callwrap.S (efi_wrap_6): Bug fix.
2N/A (efi_wrap_10): New function.
2N/A
2N/A * kern/x86_64/efi/startup.S (codestart): Use relative addressing.
2N/A
2N/A * loader/efi/appleloader.c (devpath_5): Add support for late 2008
2N/A MB/MBP model (NV chipset).
2N/A (devdata_devs): Add devpath_5 to the list.
2N/A
2N/A * load/i386/efi/linux.c (video_base): Remove variable.
2N/A (RGB_MASK): New macro.
2N/A (RGB_MAGIC): Likewise.
2N/A (LINE_MIN): Likewise.
2N/A (LINE_MAX): Likewise.
2N/A (FBTEST_STEP): Likewise.
2N/A (FBTEST_COUNT): Likewise.
2N/A (fb_list): New variable.
2N/A (grub_find_video_card): Remove function.
2N/A (find_framebuf): New function.
2N/A (grub_linux_setup_video): Use find_framebuf to get frame buffer and
2N/A line length.
2N/A
2N/A * util/i386/efi/grub-mkimage.c (grub_reloc_section): Fix relocation
2N/A problem for x86_64.
2N/A
2N/A2009-02-22 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A Patch #25624 by Kevin Lacquement <kevin@lacqui>.
2N/A
2N/A * util/grub-mkconfig.in: Use ${grub_mkdevicemap} instead of hard
2N/A coding tool name.
2N/A
2N/A2009-02-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/multiboot.h (MULTIBOOT_INFO_ALIGN): New macro.
2N/A * loader/i386/pc/multiboot.c (grub_multiboot): Include the MBI
2N/A in our relocation, instead of using it directly from heap. Also
2N/A use `MULTIBOOT_INFO_ALIGN' to ensure it is aligned.
2N/A
2N/A2009-02-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Implement USB keyboard support (based on patch by Marco Gerards)
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `usb_keyboard.mod'.
2N/A (usb_keyboard_mod_SOURCES, usb_keyboard_mod_CFLAGS)
2N/A (usb_keyboard_mod_LDFLAGS): New variables.
2N/A
2N/A * term/usb_keyboard.c: New file.
2N/A
2N/A2009-02-14 Vladimir Serbinenko <phcoder@gmail.com>
2N/A
2N/A Corrected wrong declaration
2N/A
2N/A * kern/disk.c: corrected declaration of grub_disk_ata_pass_through.
2N/A
2N/A2009-02-14 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/lspci.c (grub_pci_classes): Add `SATA Controller'.
2N/A (grub_lspci_iter): Print class code and programming interface byte.
2N/A
2N/A2009-02-14 Christian Franke <franke@computer.org>
2N/A
2N/A * gendistlist.sh: Ignore `.svn' directories.
2N/A
2N/A2009-02-14 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/fat.c: Add 2009 to Copyright line.
2N/A
2N/A2009-02-14 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/hdparm.c: New file. Provides `hdparm' command
2N/A which sends ATA commands via grub_disk_ata_pass_through ().
2N/A
2N/A * conf/i386-pc.rmk: Add ata_pthru.mod and hdparm.mod.
2N/A
2N/A * disk/ata.c: Include <grub/ata.h>. Move <grub/misc.h>
2N/A and <grub/cpu/io.h> to include/grub/ata.h.
2N/A (enum grub_ata_addressing_t): Move to include/grub/ata.h.
2N/A (GRUB_CDROM_SECTOR_SIZE): Remove.
2N/A (GRUB_ATA_*): Move to include/grub/ata.h.
2N/A (GRUB_ATAPI_*): Likewise.
2N/A (enum grub_ata_commands): Likewise.
2N/A (enum grub_ata_timeout_milliseconds): Likewise.
2N/A (struct grub_ata_device): Likewise.
2N/A (grub_ata_regset): Likewise.
2N/A (grub_ata_regget): Likewise.
2N/A (grub_ata_regset2): Likewise.
2N/A (grub_ata_regget2): Likewise.
2N/A (grub_ata_check_ready): Likewise.
2N/A (grub_ata_wait_not_busy): Remove static, exported in
2N/A include/grub/ata.h.
2N/A (grub_ata_wait_drq): Likewise.
2N/A (grub_ata_pio_read): Likewise.
2N/A
2N/A * disk/ata_pthru.c: New file. Provides grub_ata_pass_through ()
2N/A function for hdparm.mod.
2N/A
2N/A * include/grub/ata.h: New file, contains declarations from
2N/A disk/ata.c.
2N/A (enum grub_ata_commands): Add new commands for commands/hdparm.c.
2N/A
2N/A * include/grub/disk.h (grub_disk_ata_pass_through_parms): New struct.
2N/A (grub_disk_ata_pass_through): New exported variable.
2N/A
2N/A * kern/disk.c (grub_disk_ata_pass_through): New variable.
2N/A
2N/A2009-02-13 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A Support multiple fallback entries, and provide an API to support
2N/A executing default+fallback menu entries. Renamed the `terminal' menu
2N/A viewer to `text'.
2N/A
2N/A * include/grub/normal.h (grub_normal_text_menu_viewer): New global
2N/A variable declaration.
2N/A (grub_menu_execute_callback): New structure declaration.
2N/A (grub_menu_execute_callback_t): New typedef.
2N/A (grub_menu_execute_with_fallback): New function declaration.
2N/A (grub_menu_get_entry): Likewise.
2N/A (grub_menu_get_timeout): Likewise.
2N/A (grub_menu_set_timeout): Likewise.
2N/A
2N/A * normal/main.c (GRUB_MOD_INIT(normal)): Refer to new variable name.
2N/A
2N/A * normal/menu.c (grub_wait_after_message): Moved to
2N/A `normal/menu_text.c'.
2N/A (draw_border): Likewise.
2N/A (print_message): Likewise.
2N/A (print_entry): Likewise.
2N/A (print_entries): Likewise.
2N/A (grub_menu_init_page): Likewise.
2N/A (get_entry_number): Likewise.
2N/A (print_timeout): Likewise.
2N/A (run_menu): Likewise.
2N/A (grub_menu_execute_entry): Likewise.
2N/A (show_text_menu): Likewise.
2N/A (get_and_remove_first_entry_number): New function.
2N/A (grub_menu_execute_with_fallback): Likewise.
2N/A (get_entry): Renamed to ...
2N/A (grub_menu_get_entry): .. this and made it global.
2N/A (get_timeout): Renamed to ...
2N/A (grub_menu_get_timeout): ... this and made it global.
2N/A (set_timeout): Renamed to ...
2N/A (grub_menu_set_timeout): ... this and made it global.
2N/A (grub_normal_terminal_menu_viewer): Renamed to ...
2N/A (grub_normal_text_menu_viewer): ... this.
2N/A
2N/A * normal/menu_text.c: New file. Extracted text-menu-specific code
2N/A from normal/menu.c.
2N/A
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add `normal/menu_text.c'.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-pc.rmk, (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A2009-02-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Update old reference to `font' command.
2N/A
2N/A2009-02-10 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/fat.c (grub_fat_mount): Fix wrong comparison.
2N/A
2N/A Based on patch from Javier Martín.
2N/A
2N/A2009-02-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Move fs/ext2.c before fs/fat.c
2N/A to avoid false positives with FAT.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2009-02-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/fat.c (grub_fat_mount): Try to avoid false positives by checking
2N/A bpb.version_specific.fat12_or_fat16.fstype and
2N/A bpb.version_specific.fat32.fstype.
2N/A
2N/A2009-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/tar.c: Replace "fs/cpio.c" with "cpio.c".
2N/A
2N/A2009-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (host_os, host_cpu): New variables.
2N/A (target_os): Remove. Update all users.
2N/A
2N/A2009-02-08 Marco Gerards <marco@gnu.org>
2N/A
2N/A * Makefile.in (enable_grub_emu_usb): New variable.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/scsi.c'.
2N/A (grub_emu_SOURCES) [grub_emu_SOURCES]: Add `disk/usbms.c',
2N/A `util/usb.c', `bus/usb/usb.c' and `commands/usbtest.c'.
2N/A (grub_emu_LDFLAGS): Add `$(LIBUSB)'.
2N/A (pkglib_MODULES): Add `usb.mod', `uhci.mod', `ohci.mod',
2N/A `usbtest.mod' and `usbms.mod'.
2N/A (usb_mod_SOURCES, usb_mod_CFLAGS, usb_mod_LDFLAGS)
2N/A (usbtest_mod_SOURCES, usbtest_mod_CFLAGS, usbtest_mod_LDFLAGS)
2N/A (uhci_mod_SOURCES, uhci_mod_CFLAGS, uhci_mod_LDFLAGS,
2N/A (ohci_mod_SOURCES, ohci_mod_CFLAGS, ohci_mod_LDFLAGS)
2N/A (usbms_mod_SOURCES, usbms_mod_CFLAGS, usbms_mod_LDFLAGS): New
2N/A variables.
2N/A
2N/A * disk/usbms.c: New file.
2N/A
2N/A * include/grub/usb.h: Likewise.
2N/A
2N/A * include/grub/usbtrans.h: Likewise.
2N/A
2N/A * include/grub/usbdesc.h: Likewise.
2N/A
2N/A * bus/usb/usbtrans.c: Likewise.
2N/A
2N/A * bus/usb/ohci.c: Likewise.
2N/A
2N/A * bus/usb/uhci.c: Likewise.
2N/A
2N/A * bus/usb/usbhub.c: Likewise.
2N/A
2N/A * bus/usb/usb.c: Likewise.
2N/A
2N/A * commands/usbtest.c: Likewise.
2N/A
2N/A * util/usb.c: Likewise.
2N/A
2N/A * include/grub/err.h (grub_err_t): Add `GRUB_ERR_IO'.
2N/A
2N/A * configure.ac: Test for libusb presence.
2N/A
2N/A * util/grub-emu.c (main) [HAVE_LIBUSB_H]: Call `grub_libusb_init'.
2N/A
2N/A2009-02-08 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * kern/mm.c: Add more comments.
2N/A
2N/A2009-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Patch from Javier Martín.
2N/A * fs/ext2.c (EXT2_DRIVER_SUPPORTED_INCOMPAT): Add
2N/A `EXT4_FEATURE_INCOMPAT_FLEX_BG'.
2N/A
2N/A2009-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/cpio.c: Split tar functionality to ...
2N/A * fs/tar.c: ... here (new file). Update all users.
2N/A
2N/A2009-02-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_mount): Avoid mounting filesystems with
2N/A backward-incompatible features.
2N/A
2N/A Based on patch from Javier Martín, with some adjustments.
2N/A
2N/A2009-02-07 Michael Scherer <misc@mandriva.org>
2N/A
2N/A * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.
2N/A
2N/A2009-02-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move
2N/A position of `disk/lvm.c' to ensure grub_init_all() always picks it
2N/A after the RAID stuff.
2N/A
2N/A2009-02-05 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A Fixes problem when running vbetest command as reported by
2N/A Vladimir Serbinenko <phcoder@gmail.com>.
2N/A
2N/A * (grub_vbe_set_video_mode): Fixed problem with text modes.
2N/A
2N/A2009-02-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A util/getroot.c (grub_util_get_grub_dev): Add support for /dev/mdNpN and
2N/A /dev/md/NpN style mdraid devices.
2N/A
2N/A2009-02-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/unifont2pff.rb: Remove.
2N/A
2N/A2009-02-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add a missing trailing
2N/A `#'.
2N/A
2N/A2009-02-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `normal/menu_viewer.c'.
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2009-02-02 Christian Franke <franke@computer.org>
2N/A
2N/A * lib/hexdump.c (hexdump): Print at most 3 lines if data is identical.
2N/A
2N/A2009-02-01 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * INSTALL: Note that we now require at least autoconf 2.59 and
2N/A that LZO is optional.
2N/A
2N/A2009-02-01 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A Base on patch on bug #24154 created by Tomas Tintera
2N/A <trosos@seznam.cz>.
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_scroll): Fix downward scrolling.
2N/A
2N/A2009-02-01 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A Based on patch on bug #25318 created by Bernhard Rosenkraenzer
2N/A <bero@arklinux.org>.
2N/A
2N/A * normal/parser.y (script_init): Add missing semicolon.
2N/A
2N/A2009-01-31 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * normal/main.c: Add include to grub/menu_viewer.h.
2N/A (free_menu_entry_classes): Added.
2N/A (grub_normal_menu_addentry): Added class property handling.
2N/A (grub_normal_execute): Changed to use new menu viewer for menu viewing.
2N/A (GRUB_MOD_INIT(normal)): Added register for text based menu viewer.
2N/A
2N/A * normal/menu_viewer.c: New file.
2N/A
2N/A * normal/menu.c (run_menu_entry): Renamed to ...
2N/A (grub_menu_execute_entry): ... this and made it as global.
2N/A (grub_menu_run): Renamed to ...
2N/A (show_text_menu): ... this and made it local.
2N/A (show_text_menu): Adapt to new function names.
2N/A (grub_normal_terminal_menu_viewer): New global variable.
2N/A
2N/A * include/grub/menu.h: New file.
2N/A
2N/A * include/grub/menu_viewer.h: New file.
2N/A
2N/A * include/grub/normal.h: Added include to grub/menu.h.
2N/A (grub_menu_entry): Moved to include/grub/menu.h.
2N/A (grub_menu_entry_t): Likewise.
2N/A (grub_menu): Likewise.
2N/A (grub_menu_t): Likewise.
2N/A (grub_normal_terminal_menu_viewer): Added.
2N/A (grub_menu_execute_entry): Likewise.
2N/A (grub_menu_run): Removed.
2N/A
2N/A * DISTLIST: Added include/grub/menu.h.
2N/A Added include/grub/menu_viewer.h.
2N/A Added normal/menu_viewer.c.
2N/A
2N/A2009-01-31 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * normal/execute.c (grub_script_execute_menuentry): Changed to use
2N/A arglist for menutitle arguments.
2N/A
2N/A * normal/main.c (grub_normal_menu_addentry): Likewise.
2N/A
2N/A * normal/parser.y (menuentry): Likewise.
2N/A
2N/A * normal/script.c (grub_script_create_cmdmenu): Likewise.
2N/A
2N/A * include/grub/script.h (grub_script_cmd_menuentry): Likewise.
2N/A (grub_script_create_cmdmenu): Likewise.
2N/A
2N/A * include/grub/normal.h (grub_normal_menu_addentry): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (normal_mod_SOURCES): Adapt Colin D Bennett's
2N/A changes.
2N/A
2N/A * conf/x86_64-efi.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (normal_mod_SOURCES): Likewise.
2N/A
2N/A2009-01-30 Christian Franke <franke@computer.org>
2N/A
2N/A * normal/arg.c (grub_arg_show_help): Add indentation if '\n' appears
2N/A in option help text.
2N/A
2N/A2009-01-27 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/fs_uuid.c (search_fs_uuid): Ignore case of the UUID.
2N/A
2N/A2009-01-27 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * commands/lsmmap.c: Add include to grub/machine/memory.h.
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_open): Fix sign problem.
2N/A
2N/A * term/i386/pc/at_keyboard.c (GRUB_MOD_FINI(at_keyboard)): Use proper
2N/A unregister function.
2N/A
2N/A2009-01-27 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * disk/scsi.c (grub_scsi_read): Fix sign problem.
2N/A
2N/A * term/i386/pc/vga_text.c (grub_vga_text_init_fini). Fix declaration.
2N/A
2N/A * util/grub-mkfont.c (usage): Fix typo.
2N/A
2N/A * util/elf/grub-mkimage.c (load_modules): Fix warning.
2N/A
2N/A2009-01-26 Daniel Mierswa <impulze@impulze.org>
2N/A
2N/A * fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.
2N/A
2N/A * commands/search.c (search_fs_uuid): Ignore case of the UUID.
2N/A
2N/A * kern/misc.c (grub_strcasecmp): New function.
2N/A (grub_strcasecmp): Use grub_size_t instead of int for length.
2N/A Fix return value.
2N/A * include/grub/misc.h: Update function prototypes.
2N/A
2N/A2009-01-26 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * configure.ac: Fix cross-compilation check.
2N/A
2N/A2009-01-22 Christian Franke <franke@computer.org>
2N/A
2N/A * kern/misc.c (grub_vsprintf): Fix size and termination of `format2'
2N/A (precision) digit string. Allow `.format2' without `format1' (width).
2N/A Limit input chars for `%s' output to `format2' if specified. This is
2N/A compatible with standard printf ().
2N/A
2N/A2009-01-22 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/ata.c (grub_ata_wait_status): Replace by ...
2N/A (grub_ata_wait_not_busy): ... this function. Checks only BSY bit,
2N/A other status bits may be invalid while BSY is asserted.
2N/A (grub_ata_check_ready): New function.
2N/A (grub_ata_cmd): Removed.
2N/A (grub_ata_wait_drq): New function.
2N/A (grub_ata_strncpy): Remove inline.
2N/A (grub_ata_pio_read): Reduce to actual block transfer. BSY wait
2N/A and error check now done by grub_ata_wait_drq ().
2N/A (grub_ata_pio_write): Likewise.
2N/A (grub_atapi_identify): Set DEV before check for !BSY. Use
2N/A grub_ata_wait_drq () to wait for data.
2N/A (grub_ata_device_initialize): Add status register check to
2N/A detect missing SATA slave devices. Add debug messages.
2N/A (grub_atapi_wait_drq): Use grub_ata_wait_not_busy ().
2N/A (grub_atapi_packet): Set DEV before check for !BSY. Replace
2N/A transfer loop by grub_ata_pio_write ().
2N/A (grub_ata_identify): Set DEV before check for !BSY. Use
2N/A grub_ata_wait_drq () to wait for data.
2N/A (grub_ata_setaddress): Set DEV before check for !BSY.
2N/A (grub_ata_readwrite): Remove duplicate code, handle batch/rest and
2N/A read/write in one loop. Fix invalid command on write. Fix incomplete
2N/A command on (size % batch) == 0. Add missing error check after write of
2N/A last block. Add debug messages.
2N/A (grub_atapi_read): Replace transfer loop by grub_ata_pio_read ().
2N/A
2N/A2009-01-19 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/ata.c (GRUB_ATAPI_REG_*): New defines.
2N/A (GRUB_ATAPI_IREASON_*): Likewise.
2N/A (grub_ata_pio_write): Fix timeout error return.
2N/A (grub_atapi_identify): Add grub_ata_wait () after cmd.
2N/A (grub_atapi_wait_drq): New function.
2N/A (grub_atapi_packet): New parameter `size'.
2N/A Use grub_atapi_wait_drq () and direct write instead of
2N/A grub_ata_pio_write ().
2N/A (grub_atapi_read): Replace grub_ata_pio_read () by a loop which
2N/A reads the number of bytes requested by the device for each DRQ
2N/A assertion.
2N/A (grub_atapi_write): Remove old implementation, return not
2N/A implemented instead.
2N/A
2N/A2009-01-19 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/scsi.c (grub_scsi_read10): Use scsi->blocksize instead
2N/A of 512 to calculate data size.
2N/A (grub_scsi_read12): Likewise.
2N/A (grub_scsi_write10): Likewise.
2N/A (grub_scsi_write12): Likewise.
2N/A (grub_scsi_read): Adjust size according to blocksize.
2N/A Add checks for invalid blocksize and unaligned transfer.
2N/A
2N/A2009-01-19 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * font/font.c (grub_font_loader_init): Re-position unknown glyph.
2N/A
2N/A * term/gfxterm.c (write_char): Fix background rendering for wide
2N/A width glyphs.
2N/A
2N/A2009-01-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * config.guess: Update to latest version from config git.
2N/A * config.sub: Likewise.
2N/A
2N/A2009-01-17 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in: Change font compilation to use new grub-mkfont instead
2N/A of java version.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/BDFLoader.java: Remove.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharDefs.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Converter.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Font.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Glyph.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/PFF2Sections.java: Likewise.
2N/A * util/fonttool/src/org/gnu/grub/fonttool/PFF2Writer.java: Likewise.
2N/A
2N/A2009-01-16 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/ata.c (enum grub_ata_commands): Remove EXEC_DEV_DIAGNOSTICS.
2N/A (enum grub_ata_timeout_milliseconds): New enum.
2N/A (grub_ata_wait_status): Add parameter milliseconds.
2N/A (grub_ata_cmd): Remove variable `err'. Remove wait for !DRQ to allow
2N/A recovery from timed-out commands.
2N/A (grub_ata_pio_read): Add parameter milliseconds. Fix error return,
2N/A return grub_errno instead of REG_ERROR.
2N/A (grub_ata_pio_write): Add parameter milliseconds.
2N/A (grub_atapi_identify): Fix size of ATAPI IDENTIFY sector.
2N/A Pass milliseconds to grub_ata_wait_status () and
2N/A grub_ata_pio_read ().
2N/A (grub_atapi_packet): Pass milliseconds to grub_ata_pio_write ().
2N/A (grub_ata_identify): Remove variable `ataerr'. Pass milliseconds to
2N/A grub_ata_wait_status (). Fix IDENTIFY timeout check.
2N/A (grub_ata_device_initialize): Remove EXECUTE DEVICE DIAGNOSTICS.
2N/A It is not suitable for device detection, because DEV bit is ignored,
2N/A the command may run too long, and not all devices set the signature
2N/A properly.
2N/A (grub_ata_pciinit): Clear grub_errno before grub_ata_device_initialize ().
2N/A (grub_ata_setaddress): Pass milliseconds to grub_ata_wait_status ().
2N/A Fix device selection, DEV bit must be set first to address the registers
2N/A of the correct device.
2N/A (grub_ata_readwrite): Pass milliseconds to grub_ata_wait_status () and
2N/A grub_ata_pio_read/write ().
2N/A (grub_atapi_read): Pass milliseconds to grub_ata_pio_read ().
2N/A (grub_atapi_write): Pass milliseconds to grub_ata_pio_write ().
2N/A
2N/A2009-01-13 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * util/grub-editenv.c (main): Use fseeko(), not fseek().
2N/A
2N/A2009-01-13 Bean <bean123ch@gmail.com>
2N/A
2N/A * util/grub-mkfont.c (write_font): forget to remove some debug code.
2N/A
2N/A2009-01-13 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in: (enable_grub_mkfont): New variable.
2N/A (freetype_cflags): Likewise.
2N/A (freetype_libs): Likewise.
2N/A
2N/A * common.rmk (bin_UTILITIES): Add `grub-mkfont' if requested.
2N/A (grub_mkfont_SOURCES): New variable.
2N/A (grub_mkfont_CFLAGS): Likewise.
2N/A (grub_mkfont_LDFLAGS): Likewise.
2N/A
2N/A * configure.ac (--enable-grub-mkfont): New option. Check for freetype2
2N/A library if `--enable-grub-mkfont' is requested.
2N/A (enable_grub_mkfont): New variable.
2N/A (freetype_cflags): Likewise.
2N/A (freetype_libs): Likewise.
2N/A
2N/A * util/grub-mkfont.c: New file.
2N/A
2N/A2009-01-12 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/ata.c (grub_ata_pciinit): Fix bit numbers of compatibility
2N/A mode check. Fix setting of compat_use[].
2N/A
2N/A2009-01-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Update a few copyright years which we forgot to do in 2008 (only for
2N/A files whose changes made in 2008 were copyright-significant)
2N/A
2N/A * Makefile.in: Add 2008 to Copyright line.
2N/A * disk/ieee1275/ofdisk.c: Likewise.
2N/A * disk/efi/efidisk.c: Likewise.
2N/A * kern/dl.c: Likewise.
2N/A * kern/sparc64/ieee1275/init.c: Likewise.
2N/A * kern/mm.c: Likewise.
2N/A * kern/efi/mm.c: Likewise.
2N/A * boot/i386/pc/boot.S: Likewise.
2N/A * genfslist.sh: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * gensymlist.sh.in: Likewise.
2N/A * genkernsyms.sh.in: Likewise.
2N/A * include/grub/misc.h: Likewise.
2N/A * include/grub/types.h: Likewise.
2N/A * include/grub/symbol.h: Likewise.
2N/A * include/grub/elf.h: Likewise.
2N/A * include/grub/kernel.h: Likewise.
2N/A * include/grub/disk.h: Likewise.
2N/A * include/grub/dl.h: Likewise.
2N/A * include/grub/i386/linux.h: Likewise.
2N/A * include/grub/i386/pc/biosdisk.h: Likewise.
2N/A * include/grub/efi/api.h: Likewise.
2N/A * include/grub/efi/pe32.h: Likewise.
2N/A * include/grub/util/misc.h: Likewise.
2N/A * normal/execute.c: Likewise.
2N/A * normal/arg.c: Likewise.
2N/A * normal/completion.c: Likewise.
2N/A * normal/lexer.c: Likewise.
2N/A * normal/parser.y: Likewise.
2N/A * normal/misc.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/hexdump.c: Likewise.
2N/A * commands/terminal.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * partmap/pc.c: Likewise.
2N/A * loader/efi/chainloader.c: Likewise.
2N/A * loader/multiboot_loader.c: Likewise.
2N/A * loader/i386/pc/multiboot2.c: Likewise.
2N/A * term/efi/console.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * util/lvm.c: Likewise.
2N/A * util/console.c: Likewise.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A * util/raid.c: Likewise.
2N/A
2N/A2009-01-06 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A * commands/videotest.c: Removed include to grub/machine/memory.h.
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Removed video.mod, gfxterm.mod,
2N/A videotest.mod, bitmap.mod, tga.mod, jpeg.mod, png.mod.
2N/A (video_mod_SOURCES): Removed.
2N/A (video_mod_CFLAGS): Likewise.
2N/A (video_mod_LDFLAGS): Likewise.
2N/A (gfxterm_mod_SOURCES): Likewise.
2N/A (gfxterm_mod_CFLAGS): Likewise.
2N/A (gfxterm_mod_LDFLAGS): Likewise.
2N/A (videotest_mod_SOURCES): Likewise.
2N/A (videotest_mod_CFLAGS): Likewise.
2N/A (videotest_mod_LDFLAGS): Likewise.
2N/A (bitmap_mod_SOURCES): Likewise.
2N/A (bitmap_mod_CFLAGS): Likewise.
2N/A (bitmap_mod_LDFLAGS): Likewise.
2N/A (tga_mod_SOURCES): Likewise.
2N/A (tga_mod_CFLAGS): Likewise.
2N/A (tga_mod_LDFLAGS): Likewise.
2N/A (jpeg_mod_SOURCES): Likewise.
2N/A (jpeg_mod_CFLAGS): Likewise.
2N/A (jpeg_mod_LDFLAGS): Likewise.
2N/A (png_mod_SOURCES): Likewise.
2N/A (png_mod_CFLAGS): Likewise.
2N/A (png_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Added video.mod, videotest.mod,
2N/A bitmap.mod, tga.mod, jpeg.mod, png.mod, font.mod, gfxterm.mod
2N/A (video_mod_SOURCES): Added.
2N/A (video_mod_CFLAGS): Likewise.
2N/A (video_mod_LDFLAGS): Likewise.
2N/A (videotest_mod_SOURCES): Likewise.
2N/A (videotest_mod_CFLAGS): Likewise.
2N/A (videotest_mod_LDFLAGS): Likewise.
2N/A (bitmap_mod_SOURCES): Likewise.
2N/A (bitmap_mod_CFLAGS): Likewise.
2N/A (bitmap_mod_LDFLAGS): Likewise.
2N/A (tga_mod_SOURCES): Likewise.
2N/A (tga_mod_CFLAGS): Likewise.
2N/A (tga_mod_LDFLAGS): Likewise.
2N/A (jpeg_mod_SOURCES): Likewise.
2N/A (jpeg_mod_CFLAGS): Likewise.
2N/A (jpeg_mod_LDFLAGS): Likewise.
2N/A (png_mod_SOURCES): Likewise.
2N/A (png_mod_CFLAGS): Likewise.
2N/A (png_mod_LDFLAGS): Likewise.
2N/A (gfxterm_mod_SOURCES): Likewise.
2N/A (gfxterm_mod_CFLAGS): Likewise.
2N/A (gfxterm_mod_LDFLAGS): Likewise.
2N/A
2N/A * term/gfxterm.c: Removed include to grub/machine/memory.h,
2N/A grub/machine/console.h.
2N/A
2N/A2009-01-04 Jerone Young <jerone@gmail.com>
2N/A
2N/A Make on screen instructions clearer
2N/A
2N/A Based on patch created by Jidanni <jidanni@jidanni.org>
2N/A
2N/A * normal/menu.c: print clearer instructions on the screen
2N/A
2N/A2009-01-02 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A New font engine.
2N/A
2N/A Additional changes by Vesa Jääskeläinen <chaac@nic.fi> to adapt to
2N/A build system and fixed gfxterm.c to work with different sized fonts.
2N/A
2N/A * configure.ac: Changed UNIFONT_HEX to UNIFONT_BDF.
2N/A
2N/A * configure: Re-generated.
2N/A
2N/A * DISTLIST: Removed font/manager.c.
2N/A Added font/font.c.
2N/A Added font/font_cmd.c.
2N/A
2N/A * Makefile.in: Changed UNIFONT_HEX to UNIFONT_BDF. Added Font tool
2N/A compilation.
2N/A
2N/A * include/grub/misc.h (grub_utf8_to_ucs4): Changed prototype. Changed users.
2N/A
2N/A * kern/misc.c (grub_utf8_to_ucs4): Changed prototype.
2N/A
2N/A * kern/term.c: Changed users of grub_utf8_to_ucs4.
2N/A
2N/A * normal/menu.c: Likewise.
2N/A
2N/A * conf/common.rmk (font_mod_SOURCES): Removed font/manager.c.
2N/A (font_mod_SOURCES): Added font/font_cmd.c, font/font.c.
2N/A
2N/A * include/grub/font.h: Replaced with new file.
2N/A
2N/A * include/grub/video.h (GRUB_VIDEO_MODE_TYPE_ALPHA): Changed value.
2N/A (GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED): Likewise.
2N/A (GRUB_VIDEO_MODE_TYPE_COLOR_MASK): Likewise.
2N/A (GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP): Added.
2N/A (grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED.
2N/A (grub_video_mode_info): Added bg_red, bg_green, bg_blue, bg_alpha,
2N/A fg_red, fg_green, fg_blue, fg_alpha.
2N/A (grub_video_adapter): Removed blit_glyph.
2N/A (grub_video_blit_glyph): Removed.
2N/A
2N/A * font/manager.c: Removed file.
2N/A
2N/A * font/font.c: New file.
2N/A
2N/A * font/font_cmd.c: Likewise.
2N/A
2N/A * video/video.c (grub_video_blit_glyph): Removed.
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_map_rgb): Added 1-bit support.
2N/A (grub_video_vbe_map_rgba): Likewise.
2N/A (grub_video_vbe_unmap_color_int): Likewise.
2N/A (grub_video_vbe_blit_glyph): Removed.
2N/A (grub_video_vbe_adapter): Removed blit_glyph.
2N/A
2N/A * video/i386/pc/vbeutil.c (get_data_ptr): Added 1-bit support.
2N/A (get_pixel): Likewise.
2N/A (set_pixel): Likewise.
2N/A
2N/A * commands/videotest.c (grub_cmd_videotest): Added more tests for fonts.
2N/A
2N/A * term/gfxterm.c: Adapted to new font engine.
2N/A
2N/A * term/i386/pc/vesafb.c: Marked as deprecated. Made it compile.
2N/A
2N/A * term/i386/pc/vga.c: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/BDFLoader.java: New file.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharDefs.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Converter.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Font.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/Glyph.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/PFF2Sections.java: Likewise.
2N/A
2N/A * util/fonttool/src/org/gnu/grub/fonttool/PFF2Writer.java: Likewise.
2N/A
2N/A * util/grub.d/00_header.in: Changed to use new loadfont command.
2N/A
2N/A * util/grub-mkconfig_lib.in: Changed font extension.
2N/A
2N/A2008-12-28 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/getroot.c (grub_util_get_grub_dev): Add support for
2N/A /dev/md/dNNpNN style partitionable mdraid devices.
2N/A
2N/A2008-12-12 Alex Smith <alex@alex-smith.me.uk>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxefs_open): Handle the one open connection
2N/A at a time limit of the PXE TFTP API correctly.
2N/A (grub_pxefs_close): Likewise.
2N/A
2N/A2008-11-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/ata.c (grub_ata_pciinit): Handle errors raised by
2N/A grub_ata_device_initialize() calls.
2N/A
2N/A2008-11-28 Krzysztof Smiechowicz <deadwood@wp.pl>
2N/A
2N/A * fs/affs.c (grub_affs_iterate_dir): Return failure when directory
2N/A iteration failed.
2N/A * fs/sfs.c (grub_sfs_iterate_dir): Likewise.
2N/A
2N/A2008-11-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix build on powerpc-ieee1275. Based on patch created by
2N/A Manoel Abranches <mrabran@linux.vnet.ibm.com>.
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add
2N/A `kern/ieee1275/mmap.c'.
2N/A * include/grub/powerpc/ieee1275/memory.h: New file.
2N/A
2N/A Provide grub-install on coreboot.
2N/A * conf/i386-coreboot.rmk (sbin_SCRIPTS): Add `grub-install'.
2N/A (grub_install_SOURCES): New variable.
2N/A * util/i386/pc/grub-install.in: Add a few condition checks to make it
2N/A usable on coreboot.
2N/A
2N/A2008-11-25 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/grub-fstest.c (grub_term_get_current_input): Change return type
2N/A to `grub_term_input_t'.
2N/A (grub_term_get_current_output): Change return type to
2N/A `grub_term_output_t'.
2N/A
2N/A2008-11-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix breakage on coreboot due to declaration mismatch.
2N/A * term/i386/pc/vga_text.c (grub_vga_text_init_fini): New function.
2N/A (grub_vga_text_term): Use grub_vga_text_init_fini() instead of
2N/A grub_vga_text_cls().
2N/A
2N/A * kern/i386/loader.S (grub_multiboot_backward_relocator): Improve
2N/A comments. Avoid copying one more byte than necessary (just in case).
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Change link address
2N/A to 0x200000 (avoids trouble with some OFW implementations, and matches
2N/A with the one in Yaboot).
2N/A Reported by Manoel Abranches
2N/A
2N/A2008-11-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/coreboot/init.c (grub_time_tics): Remove variable.
2N/A (grub_get_rtc, grub_exit): Abort with grub_fatal() if called.
2N/A
2N/A * util/grub-mkconfig_lib.in (grub_warn): New function.
2N/A (convert_system_path_to_grub_path): Use grub_warn() when issuing
2N/A warnings, to obtain consistent formatting.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/update-grub_lib.in: Likewise.
2N/A
2N/A * loader/i386/linux.c (allocate_pages): Fix a warning.
2N/A Move comment text to `#error' stanza.
2N/A
2N/A Harmonize ieee1275's grub_available_iterate() with the generic
2N/A grub_machine_mmap_iterate() interface (fixes a recently-introduced
2N/A build problem on i386-ieee1275):
2N/A * kern/ieee1275/openfw.c (grub_available_iterate): Moved from here ...
2N/A * kern/ieee1275/mmap.c (grub_machine_mmap_iterate): ... here. Add third
2N/A parameter `type'. Update all users of this function.
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add
2N/A `kern/ieee1275/mmap.c'.
2N/A * kern/ieee1275/init.c
2N/A * include/grub/ieee1275/ieee1275.h (grub_available_iterate): Replace
2N/A with ...
2N/A (grub_machine_mmap_iterate): ... this.
2N/A * include/grub/i386/pc/memory.h (grub_machine_mmap_iterate): Change
2N/A return type to `grub_err_t'. Update all implementations of this
2N/A function prototype.
2N/A * include/grub/i386/coreboot/memory.h (grub_machine_mmap_iterate):
2N/A Likewise.
2N/A
2N/A Add `lsmmap' command (lists firmware-provided memory map):
2N/A * commands/lsmmap.c: New file.
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `lsmmap.mod'.
2N/A (lsmmap_mod_SOURCES, lsmmap_mod_CFLAGS, lsmmap_mod_LDFLAGS): New
2N/A variables.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A2008-11-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo.
2N/A * loader/i386/linux.c (grub_rescue_cmd_initrd): Implement a few needed
2N/A constraints to initrd allocation (based on code from
2N/A loader/i386/pc/linux.c). Without them, initrd was allocated too high
2N/A for Linux to find it.
2N/A
2N/A2008-11-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/cpio.c (grub_cpio_open): Compare `name' and `fn' by hand in
2N/A order to cope with duplicate slashes.
2N/A
2N/A2008-11-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/coreboot/memory.h (GRUB_MEMORY_MACHINE_LOWER_SIZE):
2N/A Redefine to match with GRUB_MEMORY_MACHINE_UPPER_START (0x100000). We
2N/A don't want to mess with lower memory, because it is used in the Linux
2N/A loader.
2N/A
2N/A * loader/i386/linux.c (allocate_pages): Allocate `real_mode_mem' in
2N/A an appropriate place in lower memory, between 0x10000 and 0x90000,
2N/A like loader/i386/efi/linux.c does. Linux often panics if real_mode_mem
2N/A is in our heap (probably as a result of it being corrupted during
2N/A decompression). Add #error instance with comment to explain why this
2N/A loader isn't currently usable on PC/BIOS.
2N/A
2N/A2008-11-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
2N/A (GRUB_SERIAL_PORT_NUM): Fix miscalculation.
2N/A
2N/A2008-11-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Make loader/i386/linux.c buildable on i386-pc (although disabled).
2N/A
2N/A * include/grub/i386/pc/init.h: Include `<grub/machine/memory.h>'.
2N/A (struct grub_machine_mmap_entry, grub_machine_mmap_iterate): Move
2N/A from here ...
2N/A * include/grub/i386/pc/memory.h: ... to here.
2N/A
2N/A2008-11-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix build problems on i386-ieee1275 and *-efi (introduced by vga_text
2N/A split).
2N/A
2N/A * include/grub/i386/pc/console.h: Include `<grub/i386/vga_common.h>'.
2N/A (grub_console_cur_color, grub_console_real_putchar)
2N/A (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh)
2N/A (grub_console_setcolorstate, grub_console_setcolor)
2N/A (grub_console_getcolor): Move from here ...
2N/A * include/grub/i386/vga_common.h: ... to here (new file).
2N/A
2N/A * term/i386/pc/vga_text.c: Replace `<grub/machine/console.h>' with
2N/A `<grub/i386/vga_common.h>' and `<grub/cpu/io.h>' with
2N/A `<grub/i386/io.h>'.
2N/A * term/i386/vga_common.c: Replace `<grub/machine/console.h>' with
2N/A `<grub/i386/vga_common.h>'.
2N/A
2N/A2008-11-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `term/i386/vga_common.c'.
2N/A * conf/i386.rmk (pkglib_MODULES): Add `vga_text.mod'.
2N/A (vga_text_mod_SOURCES, vga_text_mod_CFLAGS, vga_text_mod_LDFLAGS): New
2N/A variables.
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
2N/A `term/i386/pc/console.c' with `term/i386/vga_common.c'.
2N/A
2N/A * kern/i386/coreboot/init.c (grub_machine_init): Replace call to
2N/A grub_console_init() with call to grub_vga_text_init().
2N/A (grub_machine_fini): Replace call to
2N/A grub_console_fini() with call to grub_vga_text_fini() and
2N/A grub_at_keyboard_fini().
2N/A
2N/A * include/grub/i386/pc/console.h: Include `<grub/term.h>'.
2N/A (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh)
2N/A (grub_console_setcolorstate, grub_console_setcolor)
2N/A (grub_console_getcolor): New function prototypes.
2N/A
2N/A * term/i386/pc/vga_text.c: Include `<grub/dl.h>'.
2N/A (grub_vga_text_getxy, grub_vga_text_gotoxy, grub_vga_text_cls)
2N/A (grub_vga_text_setcursor): Static-ize.
2N/A (grub_vga_text_term): New structure.
2N/A (GRUB_MOD_INIT(vga_text), GRUB_MOD_FINI(vga_text)): New functions.
2N/A
2N/A * term/i386/pc/console.c: Remove `<grub/machine/machine.h>'.
2N/A (grub_console_cur_color, grub_console_standard_color)
2N/A (grub_console_normal_color, grub_console_highlight_color)
2N/A (map_char, grub_console_putchar, grub_console_getcharwidth)
2N/A (grub_console_getwh, grub_console_setcolorstate, grub_console_setcolor)
2N/A (grub_console_getcolor): Move from here ...
2N/A * term/i386/vga_common.c: ... to here (same function names).
2N/A
2N/A2008-11-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Use newly-added Multiboot support in coreboot.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
2N/A `kern/i386/coreboot/mmap.c' with `kern/i386/multiboot_mmap.c'.
2N/A
2N/A * kern/i386/coreboot/startup.S: Enable Multiboot header, fix its
2N/A alignment, set `MULTIBOOT_MEMORY_INFO' flag.
2N/A (codestart): Store the MBI in `startup_multiboot_info' when we're
2N/A being loaded using Multiboot.
2N/A
2N/A * kern/i386/coreboot/init.c (grub_machine_init): Move
2N/A grub_at_keyboard_init() call to beginning of function (useful for
2N/A debugging). Call grub_machine_mmap_init() before attempting to use
2N/A grub_machine_mmap_iterate().
2N/A (grub_lower_mem, grub_upper_mem): Move from here ...
2N/A * kern/i386/multiboot_mmap.c (grub_lower_mem, grub_upper_mem): ... to
2N/A here (new file).
2N/A
2N/A * include/grub/i386/coreboot/memory.h (grub_machine_mmap_init): New
2N/A function prototype.
2N/A
2N/A2008-11-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix a regression introduced by the at_keyboard.mod split. Because
2N/A some terminals are default on some platforms and non-default on
2N/A others, the first terminal being registered determines which is
2N/A going to be default.
2N/A
2N/A * kern/term.c (grub_term_register_input): If this is the first
2N/A terminal being registered, set it as the current one.
2N/A (grub_term_register_output): Likewise.
2N/A
2N/A * term/efi/console.c (grub_console_init): Do not call
2N/A grub_term_set_current_output() or grub_term_set_current_input().
2N/A * term/ieee1275/ofconsole.c (grub_console_init): Likewise.
2N/A * term/i386/pc/console.c (grub_console_init): Likewise.
2N/A (grub_console_fini): Do not call grub_term_set_current_input()
2N/A (but leave grub_term_set_current_output() to restore text mode).
2N/A
2N/A2008-11-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Add backward compatibility check for
2N/A versions of terminal.mod that don't understand `terminal_input' or
2N/A `terminal_output'.
2N/A
2N/A2008-11-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/terminal.c (GRUB_MOD_FINI(terminal)): Unregister
2N/A `terminal_input' / `terminal_output', not `terminal'.
2N/A
2N/A2008-11-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (include_DATA): Fix srcdir=. assumption.
2N/A (DISTCLEANFILES): Add `build_env.mk'.
2N/A
2N/A2008-11-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/vesafb.c (grub_vesafb_term): Change type to
2N/A `struct grub_term_output'. Remove `.checkkey' and `.getkey'
2N/A members. Update all users.
2N/A * util/console.c (grub_ncurses_term): Split in ...
2N/A (grub_ncurses_term_input): ... this, and ...
2N/A (grub_ncurses_term_output): ... this. Update all users.
2N/A * term/ieee1275/ofconsole.c: Remove stale `#endif'.
2N/A
2N/A2008-11-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (PKGLIB): Add $(pkglib_BUILDDIR).
2N/A (PKGDATA): Add $(pkgdata_SRCDIR).
2N/A (pkglib_BUILDDIR): New variable.
2N/A (pkgdata_SRCDIR): New variable.
2N/A (build_env.mk): New target.
2N/A (include_DATA): New variable.
2N/A (install-local): Install $(include_DATA) files in $(includedir).
2N/A
2N/A2008-11-07 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * gendistlist.sh: Use C locale for sorting to ensure consistent
2N/A output on all systems.
2N/A
2N/A * util/grub.d/00_header.in: Remove incorrect space before
2N/A "serial".
2N/A
2N/A2008-11-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/multiboot2.h (struct multiboot_header): Add `flags' member as
2N/A per specification.
2N/A * loader/multiboot2.c (grub_multiboot2): Fix Multiboot2 header check.
2N/A * loader/multiboot_loader.c (find_multi_boot2_header): New function
2N/A (based on find_multi_boot1_header).
2N/A (grub_rescue_cmd_multiboot_loader): Check for Multiboot2 header,
2N/A using find_multi_boot2_header(), and abort if neither Multiboot or
2N/A Multiboot headers were found.
2N/A
2N/A2008-11-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Modularize at_keyboard.mod:
2N/A
2N/A * conf/i386.rmk (pkglib_MODULES): Add `at_keyboard.mod'.
2N/A (at_keyboard_mod_SOURCES, at_keyboard_mod_CFLAGS)
2N/A (at_keyboard_mod_LDFLAGS): New variables.
2N/A
2N/A Actual terminal split:
2N/A
2N/A * include/grub/term.h (struct grub_term): Split in ...
2N/A (struct grub_term_input): ... this, and ...
2N/A (struct grub_term_output): ... this. Update all users.
2N/A (grub_term_set_current): Split in ...
2N/A (grub_term_set_current_input): ... this, and ...
2N/A (grub_term_set_current_output): ... this.
2N/A (grub_term_get_current): Split in ...
2N/A (grub_term_get_current_input): ... this, and ...
2N/A (grub_term_get_current_output): ... this.
2N/A (grub_term_register): Split in ...
2N/A (grub_term_register_input): ... this, and ...
2N/A (grub_term_register_output): ... this.
2N/A (grub_term_unregister): Split in ...
2N/A (grub_term_unregister_input): ... this, and ...
2N/A (grub_term_unregister_output): ... this.
2N/A (grub_term_iterate): Split in ...
2N/A (grub_term_iterate_input): ... this, and ...
2N/A (grub_term_iterate_output): ... this.
2N/A
2N/A * kern/term.c (grub_term_list): Split in ...
2N/A (grub_term_list_input): ... this, and ...
2N/A (grub_term_list_output): ... this. Update all users.
2N/A (grub_cur_term): Split in ...
2N/A (grub_cur_term_input): ... this, and ...
2N/A (grub_cur_term_output): ... this. Update all users.
2N/A (grub_term_set_current): Split in ...
2N/A (grub_term_set_current_input): ... this, and ...
2N/A (grub_term_set_current_output): ... this.
2N/A (grub_term_get_current): Split in ...
2N/A (grub_term_get_current_input): ... this, and ...
2N/A (grub_term_get_current_output): ... this.
2N/A (grub_term_register): Split in ...
2N/A (grub_term_register_input): ... this, and ...
2N/A (grub_term_register_output): ... this.
2N/A (grub_term_unregister): Split in ...
2N/A (grub_term_unregister_input): ... this, and ...
2N/A (grub_term_unregister_output): ... this.
2N/A (grub_term_iterate): Split in ...
2N/A (grub_term_iterate_input): ... this, and ...
2N/A (grub_term_iterate_output): ... this.
2N/A
2N/A * kern/misc.c (grub_abort): Split use of grub_term_get_current() into
2N/A a check for input and one for output (and only attempt to get keys
2N/A from user when input works).
2N/A
2N/A * util/grub-probe.c (grub_term_get_current): Split in ...
2N/A (grub_term_get_current_input): ... this, and ...
2N/A (grub_term_get_current_output): ... this.
2N/A * util/grub-fstest.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/grub-editenv.c: Likewise.
2N/A
2N/A Portability adjustments:
2N/A
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Remove
2N/A `term/i386/pc/at_keyboard.c'.
2N/A * kern/ieee1275/init.c [__i386__] (grub_machine_init): Remove call to
2N/A grub_keyboard_controller_init() (now handled by terminal .init).
2N/A * kern/i386/coreboot/init.c (grub_machine_init): Add call to
2N/A grub_at_keyboard_init().
2N/A * include/grub/i386/ieee1275/console.h (grub_keyboard_controller_init)
2N/A (grub_console_checkkey, grub_console_getkey): Remove (now provided by
2N/A at_keyboard.mod via input terminal interface).
2N/A * include/grub/i386/coreboot/console.h: Convert into a stub for
2N/A `<grub/i386/pc/console.h>'.
2N/A
2N/A Migrate full terminals to new API:
2N/A
2N/A * term/efi/console.c (grub_console_term): Split into ...
2N/A (grub_console_term_input): ... this, and ...
2N/A (grub_console_term_output): ... this. Update all users.
2N/A * term/ieee1275/ofconsole.c: Remove __i386__ hack.
2N/A (grub_ofconsole_init): Split into ...
2N/A (grub_ofconsole_init_input): ... this, and ...
2N/A (grub_ofconsole_init_output): ... this.
2N/A (grub_ofconsole_term): Split into ...
2N/A (grub_ofconsole_term_input): ... this, and ...
2N/A (grub_ofconsole_term_output): ... this. Update all users.
2N/A * term/i386/pc/serial.c (grub_serial_term): Split into ...
2N/A (grub_serial_term_input): ... this, and ...
2N/A (grub_serial_term_output): ... this. Update all users.
2N/A * term/i386/pc/console.c (grub_console_term): Split into ...
2N/A (grub_console_term_input): ... this, and ...
2N/A (grub_console_term_output): ... this. Update all users.
2N/A (grub_console_term_input): Only enable it on PC/BIOS platform.
2N/A (grub_console_init): Remove grub_keyboard_controller_init() call.
2N/A
2N/A Migrate input terminals to new API:
2N/A
2N/A * term/i386/pc/at_keyboard.c: Replace `cpu' and `machine' with
2N/A `i386' and `i386/pc' to enable build on x86_64 (this driver is
2N/A i386-specific anyway).
2N/A (grub_console_checkkey): Rename to ...
2N/A (grub_at_keyboard_checkkey): ... this. Static-ize. Update all
2N/A users.
2N/A (grub_keyboard_controller_orig): New variable.
2N/A (grub_console_getkey): Rename to ...
2N/A (grub_at_keyboard_getkey): ... this. Static-ize. Update all
2N/A users.
2N/A (grub_keyboard_controller_init): Static-ize. Save original
2N/A controller value so that it can be restored ...
2N/A (grub_keyboard_controller_fini): ... here (new function).
2N/A (grub_at_keyboard_term): New structure.
2N/A (GRUB_MOD_INIT(at_keyboard), GRUB_MOD_FINI(at_keyboard)): New
2N/A functions.
2N/A
2N/A Migrate output terminals to new API:
2N/A
2N/A * term/i386/pc/vga.c (grub_vga_term): Change type to
2N/A `struct grub_term_output'. Remove `.checkkey' and `.getkey'
2N/A members. Update all users.
2N/A * term/gfxterm.c (grub_video_term): Change type to
2N/A `struct grub_term_output'. Remove `.checkkey' and `.getkey'
2N/A members. Update all users.
2N/A * include/grub/i386/pc/console.h (grub_console_checkkey)
2N/A (grub_console_getkey): Do not export (no longer needed by gfxterm,
2N/A etc).
2N/A
2N/A Migrate `terminal' command and userland tools to new API:
2N/A
2N/A * commands/terminal.c (grub_cmd_terminal): Split into ...
2N/A (grub_cmd_terminal_input): ... this, and ...
2N/A (grub_cmd_terminal_output): ... this.
2N/A (GRUB_MOD_INIT(terminal)): Split `terminal' command in two commands:
2N/A `terminal_input' and `terminal_output'.
2N/A * util/grub.d/00_header.in: Adjust `terminal' calls to new
2N/A `terminal_input' / `terminal_output' API.
2N/A * util/grub-mkconfig.in: Export ${GRUB_TERMINAL_INPUT} and
2N/A ${GRUB_TERMINAL_OUTPUT} instead of ${GRUB_TERMINAL} (and if user
2N/A provided ${GRUB_TERMINAL}, convert it).
2N/A
2N/A2008-11-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_freebsd.in: New file. Generate grub configuration
2N/A for FreeBSD.
2N/A * conf/common.rmk (grub-mkconfig_SCRIPTS): Add 10_freebsd.
2N/A
2N/A2008-11-03 Bean <bean123ch@gmail.com>
2N/A
2N/A * kern/elf.c (grub_elf32_load): Revert to previous code.
2N/A (grub_elf64_load): Likewise.
2N/A
2N/A * loader/i386/bsd.c (grub_bsd_elf32_hook): Change return address.
2N/A
2N/A2008-11-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (CPPFLAGS): Fix builddir=. assumption.
2N/A (TARGET_CPPFLAGS): Likewise.
2N/A * genmk.rb (mod_src): Fix builddir=. and srcdir=. assumptions.
2N/A
2N/A2008-11-01 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * normal/menu.c (run_menu): Add Previous and Next Page keys in menu.
2N/A
2N/A2008-10-29 Guillem Jover <guillem.jover@nokia.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Fix error recovery by delaying the
2N/A addition of objects until the code is not going to be able to fail.
2N/A
2N/A2008-10-29 Guillem Jover <guillem.jover@nokia.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Fix possible NULL value handling
2N/A (add a missing NULL check, and correct them by moving the pointer
2N/A operations after the actual check).
2N/A
2N/A2008-10-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Handle empty string as output from
2N/A make_system_path_relative_to_its_root().
2N/A
2N/A2008-10-05 Hans Lambermont <hans@lambermont.dyndns.org>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Allocate buffer space for the
2N/A circular metadata worst case scenario. If the metadata is circular
2N/A then copy the wrap in place.
2N/A * include/grub/lvm.h: Add GRUB_LVM_MDA_HEADER_SIZE, from the LVM2
2N/A project lib/format_text/layout.h
2N/A Circular metadata bug found and patch debugged by Jan Derk Gerlings.
2N/A
2N/A2008-10-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/i386/pc/grub-install.in: Source grub-mkconfig_lib instead of update-grub_lib.
2N/A
2N/A2008-10-03 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/update-grub_lib.in: Mention filename in warning message.
2N/A
2N/A2008-09-29 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * NEWS: Update for rename of update-grub to grub-mkconfig.
2N/A
2N/A2008-09-29 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/update-grub_lib.in: Copy to ...
2N/A * util/grub-mkconfig_lib.in: ... this. Update all users.
2N/A * util/update-grub_lib.in: Make it a stub to `grub-mkconfig_lib.in'.
2N/A * util/update-grub.in: Rename to ...
2N/A * util/grub-mkconfig.in: ... this. Update all users. Remove `-y'
2N/A option. Add `--output' option to allow users to specify the generated
2N/A configuration file. Default to stdout.
2N/A (update_grub_dir): Rename to ...
2N/A (grub_mkconfig_dir): ... this.
2N/A (grub_cfg): Default to an empty string.
2N/A * conf/common.rmk (update-grub): Rename to ...
2N/A (grub-mkconfig): ... this.
2N/A (update-grub_lib): Copy to ...
2N/A (grub-mkconfig_lib): ... this.
2N/A (update-grub_SCRIPTS): Copy to ...
2N/A (grub-mkconfig_SCRIPTS): ... this. Update all users.
2N/A (update-grub_DATA): Rename to ...
2N/A (grub-mkconfig_DATA): ... this.
2N/A
2N/A2008-09-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/iso9660.c (struct grub_iso9660_primary_voldesc): Rename `created'
2N/A to `modified'. Add the real `created' field.
2N/A (grub_iso9660_uuid): Use `modified' rather than `created' for
2N/A constructing the UUID.
2N/A
2N/A2008-09-28 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A fs/jfs.c (grub_jfs_find_file): Treat multiple slashes like one.
2N/A Based on code from Tomas Ebenlendr <ebik@ucw.cz>.
2N/A
2N/A2008-09-28 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch.
2N/A Thanks to Christian Franke for finding this bug.
2N/A
2N/A2008-09-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-mkdevicemap.c (make_device_map): Actually replace all
2N/A instances of grub_util_get_disk_name() (see previous commit).
2N/A
2N/A2008-09-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Remove
2N/A `util/i386/get_disk_name.c'.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Remove
2N/A `util/ieee1275/get_disk_name.c'.
2N/A * include/grub/util/misc.h (grub_util_get_disk_name): Remove.
2N/A * util/ieee1275/get_disk_name.c: Remove file.
2N/A * util/i386/get_disk_name.c: Remove file.
2N/A * util/grub-mkdevicemap.c (make_device_map): Back to hardcoding
2N/A "hd%d" for device.map entries, rather than using
2N/A grub_util_get_disk_name().
2N/A
2N/A2008-09-24 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter'
2N/A warning.
2N/A * commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise.
2N/A
2N/A2008-09-24 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * include/grub/i386/pc/console.h (GRUB_TERM_NPAGE):
2N/A Changed to 0x5100.
2N/A (GRUB_TERM_PPAGE): Changed to 0x4900.
2N/A
2N/A2008-09-24 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/powerpc/ieee1275/console.h (GRUB_CONSOLE_KEY_*): Remove
2N/A macros (they were i386-pc specific).
2N/A * include/grub/sparc64/ieee1275/console.h: Likewise.
2N/A * include/grub/efi/console.h: Likewise.
2N/A
2N/A2008-09-22 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a rare case where $BITMAP is
2N/A resident and in attribute list.
2N/A
2N/A * include/grub/ntfs.h (BMP_LEN): Removed.
2N/A
2N/A2008-09-22 Bean <bean123ch@gmail.com>
2N/A
2N/A * disk/ata.c (grub_atapi_open): Initialize devfnd, no need to set
2N/A scsi->name and scsi->luns, as they will be set in grub_scsi_open.
2N/A
2N/A * disk/scsi.c (grub_scsi_open): Don't call p->close (scsi) here when
2N/A error occurs, as grub_disk_open will call grub_disk_close, which will
2N/A call p->close (scsi).
2N/A
2N/A2008-09-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * configure.ac (AC_INIT): Quote `GRUB' string and version number.
2N/A (AC_PREREQ): Bumped to 2.59.
2N/A (AC_TRY_COMPILE): Replace obsolete macro with ...
2N/A (AC_COMPILE_IFELSE): ... this.
2N/A * aclocal.m4 (AC_TRY_LINK): Replace obsolete macro with ...
2N/A (AC_LINK_IFELSE): ... this.
2N/A
2N/A2008-09-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * autogen.sh: Add a call to `gendistlist.sh'.
2N/A
2N/A2008-09-19 Christian Franke <franke@computer.org>
2N/A
2N/A * aclocal.m4 (grub_CHECK_ENABLE_EXECUTE_STACK): New function.
2N/A * configure.ac: Call grub_CHECK_ENABLE_EXECUTE_STACK.
2N/A * include/grub/misc.h [NEED_ENABLE_EXECUTE_STACK]:
2N/A Export __enable_execute_stack() to modules.
2N/A * kern/misc.c [NEED_ENABLE_EXECUTE_STACK] (__enable_execute_stack):
2N/A New function.
2N/A
2N/A2008-09-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * Makefile.in (RMKFILES): Add `i386.rmk' and `x86_64-efi.rmk'.
2N/A Sort the list.
2N/A
2N/A2008-09-09 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/hostdisk.c: Replace #include <grub/util/biosdisk.h> with
2N/A #include <grub/util/hostdisk.h>.
2N/A
2N/A2008-09-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Skip
2N/A segments when their filesz is zero (grub_file_read() interprets
2N/A zero-size as "read until EOF", which results in memory corruption).
2N/A Use `lowest_segment' rather than 0 for calculating the current
2N/A segment load address.
2N/A
2N/A2008-09-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/hostdisk.c (open_device): Replace a grub_util_info() call
2N/A with grub_dprintf("hostdisk", ...), as it was so verbose that it
2N/A clobbered useful information.
2N/A
2N/A2008-09-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/util/biosdisk.h: Move to ...
2N/A * include/grub/util/hostdisk.h: ... here. Update all users.
2N/A * util/biosdisk.c: Move to ...
2N/A * util/hostdisk.c: ... here. Update all users.
2N/A
2N/A2008-09-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (mmap_addr, mmap_length): Remove
2N/A variables.
2N/A (grub_multiboot): Move `mbi' allocation upwards, so that mmap address
2N/A and length can be stored directly in the `mbi->mmap_addr' and
2N/A `mbi->mmap_length' struct fields.
2N/A
2N/A2008-09-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386.rmk: New file. Provides declaration for building
2N/A `cpuid.mod'.
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Remove `cpuid.mod'.
2N/A (cpuid_mod_SOURCES, cpuid_mod_CFLAGS, cpuid_mod_LDFLAGS): Remove
2N/A variables.
2N/A Include `conf/i386.mk'.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/x86_64-efi.rmk: Likewise.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A2008-09-07 Vesa Jääskeläinen <chaac@nic.fi>
2N/A
2N/A Based on patch created by Colin D Bennett <colin@gibibit.com>.
2N/A Adds optimization support for BGR based modes.
2N/A
2N/A * include/grub/i386/pc/vbeblit.h (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8) Removed.
2N/A (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_index): Likewise.
2N/A (grub_video_i386_vbeblit_replace_directN): Added.
2N/A (grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.
2N/A
2N/A * include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8) Removed.
2N/A (grub_video_i386_vbefill_R8G8B8): Likewise.
2N/A (grub_video_i386_vbefill_index): Likewise.
2N/A (grub_video_i386_vbefill_direct32): Added.
2N/A (grub_video_i386_vbefill_direct24): Likewise.
2N/A (grub_video_i386_vbefill_direct16): Likewise.
2N/A (grub_video_i386_vbefill_direct8): Likewise.
2N/A
2N/A * include/grub/video.h (grub_video_blit_format): Removed
2N/A GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, GRUB_VIDEO_BLIT_FORMAT_R8G8B8.
2N/A (grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_RGBA_8888,
2N/A GRUB_VIDEO_BLIT_FORMAT_BGRA_8888, GRUB_VIDEO_BLIT_FORMAT_RGB_888,
2N/A GRUB_VIDEO_BLIT_FORMAT_BGR_888, GRUB_VIDEO_BLIT_FORMAT_RGB_565,
2N/A GRUB_VIDEO_BLIT_FORMAT_BGR_565.
2N/A
2N/A * video/video.c (grub_video_get_blit_format): Updated to use new
2N/A blit formats. Added handling for 16 bit color modes.
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Updated to use new
2N/A fillers.
2N/A (common_blitter): Updated to use new blitters.
2N/A
2N/A * video/i386/pc/vbeblit.c (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8):
2N/A Removed.
2N/A (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_index): Likewise.
2N/A (grub_video_i386_vbeblit_replace_directN): Added.
2N/A (grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
2N/A (grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
2N/A (grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.
2N/A
2N/A * video/i386/pc/vbefill.c (grub_video_i386_vbefill_R8G8B8A8): Removed.
2N/A (grub_video_i386_vbefill_R8G8B8): Likewise.
2N/A (grub_video_i386_vbefill_index): Likewise.
2N/A (grub_video_i386_vbefill_direct32): Added.
2N/A (grub_video_i386_vbefill_direct24): Likewise.
2N/A (grub_video_i386_vbefill_direct16): Likewise.
2N/A (grub_video_i386_vbefill_direct8): Likewise.
2N/A
2N/A * video/readers/jpeg.c (grub_jpeg_decode_sos): Adapt to new blitter
2N/A types.
2N/A
2N/A * video/readers/tga.c (grub_video_reader_tga): Adapt to new blitter
2N/A types.
2N/A
2N/A * video/readers/png.c (grub_png_decode_image_header): Adapt to new
2N/A blitter types.
2N/A
2N/A * video/bitmap.c (grub_video_bitmap_create): Adapt to new blitter
2N/A types.
2N/A
2N/A2008-09-06 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
2N/A RAID level 1.
2N/A
2N/A2008-09-06 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/iso9660.c (grub_iso9660_date): New structure.
2N/A (grub_iso9660_primary_voldesc): Add `grub_iso9660_date' member.
2N/A (grub_iso9660_uuid): New function.
2N/A
2N/A2008-09-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/fshelp.c (grub_fshelp_find_file): Handle case insensitive names.
2N/A
2N/A * fs/ntfs.c (list_file): Ignore names in DOS namespace, set the case
2N/A insensitive bit for names in Win32 and Win32 & DOS namespace.
2N/A
2N/A * include/grub/fshelp.h (GRUB_FSHELP_CASE_INSENSITIVE): New macro.
2N/A
2N/A * include/grub/types.h (LONG_MAX): Likewise.
2N/A
2N/A2008-09-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/getroot.c: Include <config.h>.
2N/A (grub_util_get_grub_dev): Rewrite to use asprintf for mdraid devices,
2N/A add support for /dev/md/N devices and handle LVM double dash escaping.
2N/A
2N/A2008-09-04 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * config.guess: Update to latest version from config git.
2N/A * config.sub: Likewise.
2N/A
2N/A2008-09-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/scsi.c (grub_scsi_open): Remove size limit when printing
2N/A `disk->total_sectors'.
2N/A
2N/A2008-09-01 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * include/grub/normal.h: Fixed incorrect comment for
2N/A GRUB_COMMAND_FLAG_NO_ARG_PARSE.
2N/A
2N/A2008-09-01 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Replaced constant
2N/A values with defines.
2N/A
2N/A * include/grub/i386/pc/vbe.h (GRUB_VBE_MODEATTR_SUPPORTED): Added.
2N/A (GRUB_VBE_MODEATTR_RESERVED_1): Likewise.
2N/A (GRUB_VBE_MODEATTR_BIOS_TTY_OUTPUT_SUPPORT): Likewise.
2N/A (GRUB_VBE_MODEATTR_COLOR): Likewise.
2N/A (GRUB_VBE_MODEATTR_GRAPHICS): Likewise.
2N/A (GRUB_VBE_MODEATTR_VGA_COMPATIBLE): Likewise.
2N/A (GRUB_VBE_MODEATTR_VGA_WINDOWED_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_LFB_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_DOUBLE_SCAN_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_INTERLACED_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_TRIPLE_BUF_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_STEREO_AVAIL): Likewise.
2N/A (GRUB_VBE_MODEATTR_DUAL_DISPLAY_START): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_TEXT): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_CGA): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_HERCULES): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_PLANAR): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_NONCHAIN4_256): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_YUV): Likewise.
2N/A
2N/A2008-08-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_get_multiboot_mmap_len): Fix
2N/A declaration.
2N/A (grub_multiboot): Fix a few warnings.
2N/A
2N/A2008-08-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c: Update comment not to say that
2N/A boot_device support is unimplemented.
2N/A
2N/A2008-08-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c: Update comment not to say that a.out
2N/A or memory map support are unimplemented.
2N/A
2N/A2008-08-31 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Support multiple overlay directories.
2N/A
2N/A2008-08-31 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Show VBE version and
2N/A total video memory in 'vbeinfo' output; show color format details for
2N/A each video mode.
2N/A
2N/A2008-08-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/genmoddep.c: Remove for real this time.
2N/A * DISTLIST: Remove util/genmoddep.c.
2N/A
2N/A2008-08-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment
2N/A as required by Multiboot spec (it was already 4-byte aligned, but
2N/A only by chance).
2N/A
2N/A2008-08-29 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/powerpc/ieee1275/crt0.S: Rename to ...
2N/A * kern/powerpc/ieee1275/startup.S: ... this.
2N/A * conf/powerpc-ieee1275.rmk: Adjust for the above.
2N/A * DISTLIST: Likewise.
2N/A
2N/A * kern/powerpc/ieee1275/crt0.S: Include grub/symbol.h and
2N/A grub/cpu/kernel.h. Add start label for consistency with other
2N/A platforms. Add grub_prefix immediately after start. Add jump
2N/A to the code after grub_prefix.
2N/A * include/grub/powerpc/kernel.h: Provide valid values for
2N/A GRUB_KERNEL_CPU_PREFIX and GRUB_KERNEL_CPU_DATA_END.
2N/A
2N/A2008-08-29 Bean <bean123ch@gmail.com>
2N/A
2N/A * configure.ac: Change host_os to cygwin for mingw.
2N/A (asprintf): New check for function.
2N/A
2N/A * include/grub/symbol.h: Replace #ifndef __CYGWIN__ with
2N/A #if ! defined (__CYGWIN__) && ! defined (__MINGW32__).
2N/A
2N/A * include/grub/util/misc.h: #include <config.h> and <grub/types.h>,
2N/A declare asprintf if HAVE_ASPRINTF is not set, declare fseeko, ftello,
2N/A sync, sleep and grub_util_get_disk_size for mingw.
2N/A
2N/A * util/biosdisk.c (grub_util_biosdisk_open): Use grub_util_get_disk_size
2N/A to get size in mingw.
2N/A (open_device): Use flag O_BINARY if it's defined.
2N/A (find_root_device): Add dummy code for mingw.
2N/A
2N/A * util/grub-mkdevicemap.c (get_floppy_disk_name): Return 0 for mingw.
2N/A (get_ide_disk_name): Return //./PHYSICALDRIVE%d for mingw.
2N/A (get_scsi_disk_name): Return 0 for mingw.
2N/A
2N/A * util/hostfs.c: #include <grub/util/misc.h>.
2N/A (grub_hostfs_open): Use "rb" flag to open file, use
2N/A grub_util_get_disk_size to get disk size for mingw.
2N/A
2N/A * util/misc.c: #include <windows.h> and <winioctl.h> in mingw.
2N/A (asprintf): New function if HAVE_ASPRINTF is not set.
2N/A (sync): New function for mingw.
2N/A (sleep): Likewise.
2N/A (grub_util_get_disk_size): Likewise.
2N/A
2N/A2008-08-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add
2N/A kern/time.c.
2N/A
2N/A2008-08-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (find_grub_drive): Declare missing `i' variable.
2N/A
2N/A2008-08-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Change find_grub_drive() syntax so it doesn't prevent it from
2N/A detecting NULL names as errors.
2N/A
2N/A * util/biosdisk.c (find_grub_drive): Move free slot search code
2N/A from here ...
2N/A (find_free_slot): ... to here.
2N/A (read_device_map): Use find_free_slot() to search for free slots.
2N/A
2N/A2008-08-27 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add scsi.mod.
2N/A (scsi_mod_SOURCES): New variable.
2N/A (scsi_mod_CFLAGS): Likewise
2N/A (scsi_mod_LDFLAGS): Likewise.
2N/A
2N/A * disk/scsi.c: New file.
2N/A
2N/A * include/grub/scsi.h: Likewise.
2N/A
2N/A * include/grub/scsicmd.h: Likewise.
2N/A
2N/A * disk/ata.c: Include <grub/scsi.h>.
2N/A (grub_atapi_packet): Do not use grub_ata_cmd, use registers
2N/A instead.
2N/A (grub_ata_iterate): Skip ATAPI devices.
2N/A (grub_ata_open): Only handle ATAPI devices.
2N/A (struct grub_atapi_read): Removed.
2N/A (grub_atapi_readsector): Likewise.
2N/A (grub_ata_read): No longer handle ATAPI devices.
2N/A (grub_ata_write): Likewise.
2N/A (grub_atapi_iterate): New function.
2N/A (grub_atapi_read): Likewise.
2N/A (grub_atapi_write): Likewise.
2N/A (grub_atapi_open): Likewise.
2N/A (grub_atapi_close): Likewise.
2N/A (grub_atapi_dev): New variable.
2N/A (GRUB_MOD_INIT(ata)): Register ATAPI as SCSI device.
2N/A (GRUB_MOD_FINI(ata)): Unregister ATAPI.
2N/A
2N/A * include/grub/disk.h (enum grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEVICE_SCSI_ID'.
2N/A
2N/A2008-08-26 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (grub_util_biosdisk_open, open_device)
2N/A (grub_util_biosdisk_get_grub_dev): Make error messages a bit more
2N/A descriptive.
2N/A
2N/A2008-08-23 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (grub_probe_SOURCES): Add disk/mdraid_linux.c.
2N/A (grub_fstest_SOURCES): Add disk/raid5_recover.c, disk/raid6_recover.c,
2N/A disk/mdraid_linux.c and disk/dmraid_nvidia.c and lib/crc.c.
2N/A (pkglib_MODULES): Add raid5rec.mod, raid6rec.mod, mdraid.mod and
2N/A dm_nv.mod.
2N/A (raid5rec_mod_SOURCES): New macro.
2N/A (raid5rec_mod_CFLAGS): Likewise.
2N/A (raid5rec_mod_LDFLAGS): Likewise.
2N/A (raid6rec_mod_SOURCES): Likewise.
2N/A (raid6rec_mod_CFLAGS): Likewise.
2N/A (raid6rec_mod_LDFLAGS): Likewise.
2N/A (mdraid_mod_SOURCES): Likewise.
2N/A (mdraid_mod_CFLAGS): Likewise.
2N/A (mdraid_mod_LDFLAGS): Likewise.
2N/A (dm_nv_mod_SOURCES): Likewise.
2N/A (dm_nv_mod_CFLAGS): Likewise.
2N/A (dm_nv_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add disk/mdraid_linux.c.
2N/A (grub_emu_SOURCES): Add disk/raid5_recover.c, disk/raid6_recover.c,
2N/A disk/mdraid_linux.c and disk/dmraid_nvidia.c.
2N/A
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add disk/raid5_recover.c,
2N/A disk/raid6_recover.c, disk/mdraid_linux.c and disk/dmraid_nvidia.c.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * disk/raid5_recover.c: New file.
2N/A
2N/A * disk/raid6_recover.c: Likewise.
2N/A
2N/A * disk/mdraid_linux.c: Likewise.
2N/A
2N/A * disk/dmraid_nvidia.c: Likewise.
2N/A
2N/A * disk/i386/pc/biosdisk.c: Set total_sectors of cdrom device to
2N/A ULONG_MAX.
2N/A
2N/A * disk/raid.c (grub_raid_open): Use the size of the smallest disk to
2N/A calculate the size of raid device.
2N/A (grub_raid_read): Simplify raid0 code. Support raid4, raid6 and four
2N/A different layout of raid5.
2N/A (grub_raid_scan_device): Remove code specific to mdraid.
2N/A (grub_raid_list): New variable.
2N/A (free_array): New function.
2N/A (grub_raid_register): Likewise.
2N/A (grub_raid_unregister): Likewise.
2N/A (grub_raid_rescan): Likewise.
2N/A (GRUB_MOD_INIT): Don't iterate device here.
2N/A (GRUB_MOD_FINI): Use free_array to release resource.
2N/A
2N/A * include/grub/raid.h: Remove macro and structure specific to mdraid.
2N/A (grub_raid5_recover_func_t): New function variable type.
2N/A (grub_raid6_recover_func_t): Likewise.
2N/A (grub_raid5_recover_func): New variable.
2N/A (grub_raid6_recover_func): Likewise.
2N/A (grub_raid_register): New function.
2N/A (grub_raid_unregister): Likewise.
2N/A (grub_raid_rescan): Likewise.
2N/A (grub_raid_block_xor): Likewise.
2N/A
2N/A * util/grub-fstest.c: Add #include <grub/raid.h> and <grub/lib/crc.h>.
2N/A (CMD_CRC): New macro.
2N/A (part): Removed.
2N/A (read_file): Handle device as well as file.
2N/A (cmd_crc): New function.
2N/A (fstest): Handle multiple disks.
2N/A (options): Remove part, raw and long, add root and diskcount.
2N/A (usage): Add crc, remove -p, -r, -l, add -r and -c.
2N/A (main): Find the first non option entry and ignore subsequent options,
2N/A add handling for the new options, support multiple disks.
2N/A
2N/A * util/grub-probe.c (probe): Add mdraid to abstraction_name.
2N/A
2N/A2008-08-23 Bean <bean123ch@gmail.com>
2N/A
2N/A * normal/x86_64/setjmp.S (grub_longjmp): Return 1 when val = 0.
2N/A
2N/A * genfslist.sh: Ignore kernel.mod.
2N/A
2N/A * genpartmaplist.sh: Likewise.
2N/A
2N/A2008-08-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/getroot.c (find_root_device): Skip anything that starts with
2N/A a dot, not just directories. This avoids things like /dev/.tmp.md0.
2N/A
2N/A2008-08-22 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * util/update-grub.in (GRUB_GFXMODE): Export variable.
2N/A * util/grub.d/00_header.in: Allow the administrator to change default
2N/A gfxmode via ${GRUB_GFXMODE}.
2N/A
2N/A2008-08-21 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.
2N/A
2N/A2008-08-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/linux.c: New file. Implements generic 32-bit Linux
2N/A loader.
2N/A * conf/i386-coreboot.rmk (_linux_mod_SOURCES): Replace
2N/A `loader/i386/pc/linux.c' with `loader/i386/linux.c'.
2N/A
2N/A2008-08-20 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * menu/normal.c (run_menu): Replace hardcoded numbers with macros
2N/A (16 for GRUB_TERM_UP and 14 for GRUB_TERM_DOWN)
2N/A
2N/A2008-08-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/gfxterm.c (DEFAULT_CURSOR_COLOR): Remove.
2N/A (struct grub_virtual_screen): Remove `cursor_color'.
2N/A (grub_virtual_screen_setup): Remove `virtual_screen.cursor_color'
2N/A initialization.
2N/A (write_cursor): Use `virtual_screen.fg_color' to draw cursor.
2N/A
2N/A2008-08-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Unify (identical) linux_normal.c files.
2N/A * loader/i386/efi/linux_normal.c: Move from here ...
2N/A * loader/linux_normal.c: ... to here. Update all users.
2N/A * loader/i386/pc/linux_normal.c: Delete. Update all users.
2N/A * loader/i386/ieee1275/linux_normal.c: Likewise.
2N/A
2N/A2008-08-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/linux.h (LINUX_LOADER_ID_LILO)
2N/A (LINUX_LOADER_ID_LOADLIN, LINUX_LOADER_ID_BOOTSECT)
2N/A (LINUX_LOADER_ID_SYSLINUX, LINUX_LOADER_ID_ETHERBOOT)
2N/A (LINUX_LOADER_ID_ELILO, LINUX_LOADER_ID_GRUB, LINUX_LOADER_ID_UBOOT)
2N/A (LINUX_LOADER_ID_XEN, LINUX_LOADER_ID_GUJIN, LINUX_LOADER_ID_QEMU):
2N/A New macros.
2N/A (GRUB_LINUX_CL_OFFSET, GRUB_LINUX_CL_END_OFFSET): Move from here ...
2N/A * loader/i386/pc/linux.c (GRUB_LINUX_CL_OFFSET)
2N/A (GRUB_LINUX_CL_END_OFFSET): ... to here.
2N/A * loader/i386/efi/linux.c (GRUB_EFI_CL_OFFSET): Rename to ...
2N/A (GRUB_LINUX_CL_OFFSET): ... this. Update all users.
2N/A (GRUB_EFI_CL_END_OFFSET): Rename to ...
2N/A (GRUB_LINUX_CL_END_OFFSET): ... this. Update all users.
2N/A (grub_rescue_cmd_linux): Macroify `type_of_loader' initialization.
2N/A Initialize `params->video_cursor_x' and `params->video_cursor_y'
2N/A portably using grub_getxy().
2N/A Replace `-EFI' with `-bzImage' in boot message.
2N/A
2N/A2008-08-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/x86_64/kernel.h: New file (<grub/i386/kernel.h> stub).
2N/A
2N/A2008-08-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/pc/mmap.c'.
2N/A
2N/A * include/grub/i386/pc/init.h (GRUB_MACHINE_MEMORY_AVAILABLE)
2N/A (GRUB_MACHINE_MEMORY_RESERVED): New macros.
2N/A (grub_machine_mmap_iterate): New function declaration.
2N/A * include/grub/multiboot.h (struct grub_multiboot_mmap_entry): New
2N/A structure.
2N/A (GRUB_MMAP_MEMORY_AVAILABLE, GRUB_MMAP_MEMORY_RESERVED): New
2N/A macros.
2N/A
2N/A * kern/i386/pc/init.c (grub_machine_init): Replace hardcoded region
2N/A type check value with `GRUB_MACHINE_MEMORY_AVAILABLE'.
2N/A Move e820 parsing from here ...
2N/A * kern/i386/pc/mmap.c: New file.
2N/A (grub_machine_mmap_iterate): ... to here.
2N/A
2N/A * include/grub/i386/coreboot/memory.h: Remove `<grub/err.h>'.
2N/A (GRUB_LINUXBIOS_MEMORY_AVAILABLE): Rename (for consistency) to ...
2N/A (GRUB_MACHINE_MEMORY_AVAILABLE): ... this. Update all users.
2N/A (grub_available_iterate): Redeclare to return `void', and redeclare
2N/A its hook to use grub_uint64_t as addr and size parameters, and rename
2N/A to ...
2N/A (grub_machine_mmap_iterate): ... this. Update all users.
2N/A
2N/A * kern/i386/coreboot/mmap.c (grub_mmap_iterate): Simplify parser loop
2N/A to make it more readable. Rename to ...
2N/A (grub_machine_mmap_iterate): ... this.
2N/A
2N/A * loader/i386/pc/multiboot.c (mmap_addr, mmap_length): New variables.
2N/A (grub_get_multiboot_mmap_len, grub_fill_multiboot_mmap): New functions.
2N/A (grub_multiboot): Allocate an extra region after the payload, and fill
2N/A it with a Multiboot memory map. Adjust a.out loader to calculate size
2N/A with the extra space.
2N/A (grub_multiboot_load_elf32): Adjust elf32 loader to calculate size
2N/A with the extra space.
2N/A
2N/A2008-08-17 Carles Pina i Estany <carles@pina.cat>
2N/A
2N/A * menu/normal.c (run_menu): Add Home and End keys in grub-menu.
2N/A
2N/A2008-08-17 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * gendistlist.sh: Add *.y, *.tex, *.texi, grub.cfg, README, *.sc,
2N/A mdate-sh to the list `find' searches for.
2N/A * DISTLIST: Regenerated.
2N/A
2N/A2008-08-16 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * gendistlist.sh (EXTRA_DISTFILES): Remove gensymlist.sh,
2N/A genkernsyms.sh. Add geninit.sh, geninitheader.sh, genkernsyms.sh.in,
2N/A genmoddep.awk, gensymlist.sh.in.
2N/A (DISTDIRS): Add bus, docs, hook, lib.
2N/A * DISTLIST: Regenerated.
2N/A * NEWS: Add cygwin support and change the `os-prober' entry a bit.
2N/A
2N/A2008-08-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c (grub_raid_init): Handle/report errors set by
2N/A grub_device_iterate().
2N/A * disk/lvm.c (grub_lvm_init): Likewise.
2N/A
2N/A2008-08-15 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add datetime.mod, date.mod
2N/A and datehook.mod.
2N/A (datetime_mod_SOURCES): New macro.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Add datetime.mod, date.mod
2N/A and datehook.mod.
2N/A (datetime_mod_SOURCES): New macro.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (pkglib_MODULES): Add datetime.mod, date.mod
2N/A and datehook.mod.
2N/A (datetime_mod_SOURCES): New macro.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod
2N/A and datehook.mod.
2N/A (datetime_mod_SOURCES): New macro.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod
2N/A and datehook.mod.
2N/A (datetime_mod_SOURCES): New macro.
2N/A (datetime_mod_CFLAGS): Likewise.
2N/A (datetime_mod_LDFLAGS): Likewise.
2N/A (date_mod_SOURCES): Likewise.
2N/A (date_mod_CFLAGS): Likewise.
2N/A (date_mod_LDFLAGS): Likewise.
2N/A (datehook_mod_SOURCES): Likewise.
2N/A (datehook_mod_CFLAGS): Likewise.
2N/A (datehook_mod_LDFLAGS): Likewise.
2N/A
2N/A * kern/env.c (grub_env_insert): Fix a bug in prevp pointer.
2N/A
2N/A * commands/date.c: New file.
2N/A
2N/A * hook/datehook.c: Likewise.
2N/A
2N/A * include/grub/lib/datetime.h: Likewise.
2N/A
2N/A * include/grub/i386/cmos.h: Likewise.
2N/A
2N/A * lib/datetime.c: Likewise.
2N/A
2N/A * lib/i386/datetime.c: Likewise.
2N/A
2N/A * lib/efi/datetime.c: Likewise.
2N/A
2N/A2008-08-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): Add `grub-mkelfimage'.
2N/A (grub_mkelfimage_SOURCES): New variable.
2N/A (util/elf/grub-mkimage.c_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (bin_UTILITIES, grub_mkimage_SOURCES)
2N/A (grub_mkimage_LDFLAGS, util/elf/grub-mkimage.c_DEPENDENCIES): Remove.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A * kern/ieee1275/init.c: Include `<grub/cpu/kernel.h>'.
2N/A * kern/i386/coreboot/init.c: Likewise.
2N/A
2N/A * kern/i386/ieee1275/startup.S: Replace `<grub/machine/kernel.h>'
2N/A with `<grub/cpu/kernel.h>'.
2N/A (GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Renamed
2N/A to ...
2N/A (GRUB_KERNEL_CPU_PREFIX, GRUB_KERNEL_CPU_DATA_END): ... this.
2N/A * kern/i386/coreboot/startup.S: Likewise.
2N/A
2N/A * include/grub/powerpc/ieee1275/kernel.h (GRUB_MOD_ALIGN)
2N/A (GRUB_MOD_GAP): Remove.
2N/A * include/grub/powerpc/kernel.h: New file.
2N/A * include/grub/i386/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_PREFIX)
2N/A (GRUB_KERNEL_MACHINE_DATA_END): Remove.
2N/A * include/grub/i386/kernel.h: New file.
2N/A * include/grub/i386/coreboot/kernel.h (GRUB_MOD_ALIGN)
2N/A (GRUB_MOD_GAP, GRUB_KERNEL_MACHINE_PREFIX)
2N/A (GRUB_KERNEL_MACHINE_DATA_END): Remove.
2N/A
2N/A * util/ieee1275/grub-install.in (grub_mkimage): Initialize to use
2N/A `grub-mkelfimage'.
2N/A Use --directory when invoking grub_mkimage.
2N/A
2N/A * util/elf/grub-mkimage.c: Include `<grub/cpu/kernel.h>'.
2N/A (add_segments): Replace GRUB_KERNEL_MACHINE_DATA_END and
2N/A GRUB_KERNEL_MACHINE_PREFIX with GRUB_KERNEL_CPU_DATA_END
2N/A and GRUB_KERNEL_CPU_PREFIX.
2N/A
2N/A2008-08-14 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * include/grub/err.h (grub_err_printf): New function prototype.
2N/A * util/misc.c (grub_err_printf): New function.
2N/A * kern/misc.c [! GRUB_UTIL] (grub_err_printf): New alias for
2N/A grub_printf.
2N/A * kern/err.c (grub_print_error): Use grub_err_printf.
2N/A
2N/A2008-08-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * docs/grub.cfg: Remove `/dev/' prefix in GNU/Hurd boot entry.
2N/A
2N/A2008-08-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * docs/grub.cfg: Use the native device name for the example GNU/Hurd
2N/A boot entry.
2N/A
2N/A2008-08-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Move part
2N/A of the relocation code from here ...
2N/A (grub_multiboot): ... to here.
2N/A (forward_relocator, backward_relocator): Move from here ...
2N/A * kern/i386/loader.S (grub_multiboot_forward_relocator)
2N/A (grub_multiboot_backward_relocator): ... to here.
2N/A (grub_multiboot_real_boot): Use %edx for entry offset. Put Multiboot
2N/A magic in %eax. Use %ebp for jumping (so %edx is not trashed).
2N/A * include/grub/i386/loader.h (grub_multiboot_forward_relocator)
2N/A (grub_multiboot_forward_relocator_end)
2N/A (grub_multiboot_backward_relocator)
2N/A (grub_multiboot_backward_relocator_end): New variables.
2N/A
2N/A2008-08-12 Bean <bean123ch@gmail.com>
2N/A
2N/A * disk/raid.c (grub_raid_read): Fix a bug in raid0 code.
2N/A
2N/A2008-08-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/linuxbios/startup.S: Move from here ...
2N/A * kern/i386/coreboot/startup.S: ... to here.
2N/A
2N/A * kern/i386/linuxbios/init.c: Move from here ...
2N/A * kern/i386/coreboot/init.c: ... to here.
2N/A
2N/A * kern/i386/linuxbios/table.c: Move from here ...
2N/A * kern/i386/coreboot/mmap.c: ... to here.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Update moved files.
2N/A
2N/A2008-08-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/device.c (grub_device_open): Do not handle grub_disk_open()
2N/A errors. Leave it to the upper layer to handle them.
2N/A
2N/A2008-08-09 Christian Franke <franke@computer.org>
2N/A
2N/A * Makefile.in: Add `target_os' and `enable_grub_pe2elf'.
2N/A * conf/common.rmk: Install `grub-pe2elf' only if requested.
2N/A Install `grub.d/10_windows' only on Cygwin.
2N/A * configure.ac: Add subst of `target_os'.
2N/A Check `target_os' also before setting TARGET_OBJ2ELF.
2N/A Add `--enable-grub-pe2elf'.
2N/A
2N/A2008-08-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/disk.c: Replace `<grub/machine/time.h>' with `<grub/time.h>'.
2N/A (grub_last_time): Change type to grub_uint64_t.
2N/A (grub_disk_open): Migrate code from to using grub_get_time_ms().
2N/A (grub_disk_close): Likewise.
2N/A
2N/A * normal/menu.c: Replace `<grub/machine/time.h>' with `<grub/time.h>'.
2N/A (run_menu): Migrate code from to using grub_get_time_ms().
2N/A
2N/A * util/misc.c (grub_get_time_ms): New function.
2N/A
2N/A2008-08-08 Marco Gerards <marco@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_regget): Change return type to
2N/A `grub_uint8_t'.
2N/A (grub_ata_regget2): Likewise.
2N/A (grub_ata_wait_status): New function.
2N/A (grub_ata_wait_busy): Removed function, updated all users to use
2N/A `grub_ata_wait_status'.
2N/A (grub_ata_wait_drq): Likewise.
2N/A (grub_ata_cmd): New function.
2N/A (grub_ata_pio_read): Change return type to `grub_uint8_t'. Add
2N/A error handling.
2N/A (grub_ata_pio_write): Add error handling.
2N/A (grub_atapi_identify): Likewise.
2N/A (grub_atapi_packet): Use `grub_ata_cmd' and improve error
2N/A handling.
2N/A (grub_ata_identify): Use `grub_ata_cmd' and improve error
2N/A handling. Actually use the detected registers. Reorder the
2N/A detection logic such that it is easier to read.
2N/A (grub_ata_pciinit): Do not assign the same ID to each controller.
2N/A (grub_ata_setaddress): Use `grub_ata_cmd' and improve error
2N/A handling.
2N/A (grub_atapi_readsector): Check the result of `grub_ata_pio_read'.
2N/A
2N/A * include/grub/err.h (grub_err_t): Add `GRUB_ERR_TIMEOUT'.
2N/A
2N/A2008-08-08 Marco Gerards <marco@gnu.org>
2N/A
2N/A * NEWS: Update.
2N/A
2N/A2008-08-07 Bean <bean123ch@gmail.com>
2N/A
2N/A * include/grub/x86_64/pci.h: New file.
2N/A
2N/A2008-08-07 Christian Franke <franke@computer.org>
2N/A
2N/A * kern/i386/pit.c (TIMER2_SPEAKER): New define.
2N/A (TIMER2_GATE): Likewise.
2N/A (grub_pit_wait): Add enable/disable of the timer2 gate
2N/A bit of port 0x61. This fixes a possible infinite loop.
2N/A
2N/A2008-08-07 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/x86_64-efi.rmk (kernel_mod_SOURCES): Add kern/time.c,
2N/A kern/i386/tsc.c and kern/i386/pit.c.
2N/A
2N/A * include/grub/i386/tsc.h (grub_cpu_is_cpuid_supported): Handle
2N/A x86_64 platform.
2N/A
2N/A * kern/i386/efi/init.c: Replace <grub/cpu/tsc.h> with
2N/A <grub/i386/tsc.h>.
2N/A
2N/A * kern/i386/pit.c: Replace <grub/cpu/io.h> with <grub/i386/io.h>.
2N/A
2N/A2008-08-07 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_SOURCES): Add kern/time.c.
2N/A
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add kern/time.c,
2N/A
2N/A * include/grub/i386/pit.h: Use macro KERNEL_CPU_PIT_HEADER to avoid
2N/A multiple inclusion. Add #include <grub/types.h>.
2N/A
2N/A2008-08-06 Christian Franke <franke@computer.org>
2N/A
2N/A * conf/common.rmk: Build and install `10_windows'.
2N/A * util/grub.d/10_windows.in: New script.
2N/A
2N/A2008-08-06 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/pit.c: Include `<grub/i386/pit.h>'.
2N/A
2N/A2008-08-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_elf_ASFLAGS): New variable.
2N/A * kern/i386/tsc.c: Include `<grub/i386/pit.h>'.
2N/A
2N/A2008-08-06 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (grub_pxe_data): New member block_size.
2N/A (grub_pxefs_fs_int): Remove dummy definition.
2N/A (grub_pxefs_open): Use data->block_size to store the current block
2N/A size setting.
2N/A (grub_pxefs_read): Use block size stored in data->block_size. As the
2N/A value of grub_pxe_blksize can be changed after the file is opened.
2N/A
2N/A2008-08-06 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/i386/pc/pxe.c (curr_file): new variable.
2N/A (grub_pxefs_open): Simply the handling of pxe file system. Don't
2N/A require the dummy internal file system anymore.
2N/A (grub_pxefs_read): Removed.
2N/A (grub_pxefs_close): Likewise.
2N/A (grub_pxefs_fs_int): Likewise.
2N/A (grub_pxefs_read_int): Renamed to grub_pxefs_read. Reinitialize tftp
2N/A connection when we switch file.
2N/A (grub_pxefs_close_int): Renamed to grub_pxefs_close.
2N/A
2N/A2008-08-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Add `reboot.mod' and
2N/A `halt.mod'.
2N/A (reboot_mod_SOURCES, reboot_mod_CFLAGS, reboot_mod_LDFLAGS)
2N/A (halt_mod_SOURCES, halt_mod_CFLAGS, halt_mod_LDFLAGS): New variables.
2N/A
2N/A * kern/i386/halt.c: New file.
2N/A * kern/i386/reboot.c: Likewise.
2N/A * include/grub/i386/reboot.h: Likewise.
2N/A * include/grub/i386/halt.h: Likewise.
2N/A
2N/A * commands/halt.c [! GRUB_MACHINE_IEEE1275 ! GRUB_MACHINE_EFI]:
2N/A Include `<grub/cpu/halt.h>'.
2N/A * commands/reboot.c [! GRUB_MACHINE_IEEE1275 ! GRUB_MACHINE_EFI]
2N/A [! GRUB_MACHINE_PCBIOS]: Include `<grub/cpu/reboot.h>'.
2N/A
2N/A * term/i386/pc/at_keyboard.c: Include `<grub/cpu/at_keyboard.h>'.
2N/A (SHIFT_L, SHIFT_R, CTRL, ALT, CAPS_LOCK, KEYBOARD_REG_DATA)
2N/A (KEYBOARD_REG_STATUS, KEYBOARD_COMMAND_ISREADY, KEYBOARD_COMMAND_READ)
2N/A (KEYBOARD_COMMAND_WRITE, KEYBOARD_COMMAND_REBOOT)
2N/A (KEYBOARD_SCANCODE_SET1, KEYBOARD_ISMAKE, KEYBOARD_ISREADY)
2N/A (KEYBOARD_SCANCODE, OLPC_UP, OLPC_DOWN, OLPC_LEFT, OLPC_RIGHT): Move
2N/A from here ...
2N/A * include/grub/i386/at_keyboard.h: ... to here.
2N/A
2N/A2008-08-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/pit.c'.
2N/A * conf/i386-efi.rmk (kernel_mod_SOURCES): Likewise.
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Likewise. Also add
2N/A `kern/i386/tsc.c', `kern/generic/rtc_get_time_ms.c' and
2N/A `kern/generic/millisleep.c'.
2N/A
2N/A * kern/i386/tsc.c (calibrate_tsc): Rewrite using grub_pit_wait()
2N/A instead of grub_get_rtc().
2N/A (grub_tsc_init): Initialize `tsc_boot_time'.
2N/A
2N/A * kern/i386/linuxbios/init.c (grub_millisleep): Remove stub.
2N/A (grub_machine_init): Use grub_tsc_init() rather than
2N/A installing an RTC-based handler via grub_install_get_time_ms().
2N/A
2N/A * kern/i386/pit.c: New file.
2N/A * include/grub/i386/pit.h: Likewise.
2N/A
2N/A2008-08-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * boot/i386/pc/pxeboot.S (_start): Use drive number 0x7F for pxe.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Add machine/pxe.h.
2N/A (pkglib_MODULES): Add pxe.mod and pxecmd.mod.
2N/A (pxe_mod_SOURCES): New macro.
2N/A (pxe_mod_CFLAGS): Likewise.
2N/A (pxe_mod_LDFLAGS): Likewise.
2N/A (pxecmd_mod_SOURCES): Likewise.
2N/A (pxecmd_mod_CFLAGS): Likewise.
2N/A (pxecmd_mod_LDFLAGS): Likewise.
2N/A
2N/A * kern/i386/pc/startup.S (grub_pxe_scan): New function.
2N/A (grub_pxe_call): Likewise.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_PXE_ID.
2N/A
2N/A * commands/i386/pc/pxecmd.c: New file.
2N/A
2N/A * fs/i386/pc/pxe.c: Likewise.
2N/A
2N/A * include/grub/i386/pc/pxe.h: Likewise.
2N/A
2N/A2008-08-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * util/console.c (grub_console_cur_color): New variable.
2N/A (grub_console_standard_color): Likewise.
2N/A (grub_console_normal_color): Likewise.
2N/A (grub_console_highlight_color): Likewise.
2N/A (color_map): Likewise.
2N/A (use_color): Likewise.
2N/A (NUM_COLORS): New macro.
2N/A (grub_ncurses_setcolorstate): Handle color properly.
2N/A (grub_ncurses_setcolor): Don't change color here, just remember the
2N/A settings, color will be set in grub_ncurses_setcolorstate.
2N/A (grub_ncurses_getcolor): New function.
2N/A (grub_ncurses_init): Initialize color pairs.
2N/A (grub_ncurses_term): New member grub_ncurses_getcolor.
2N/A
2N/A2008-08-05 Colin D Bennett <colin@gibibit.com>
2N/A
2N/A High resolution timer support. Implemented for x86 CPUs using TSC.
2N/A Extracted generic grub_millisleep() so it's linked in only as needed.
2N/A This requires a Pentium compatible CPU; if the RDTSC instruction is
2N/A not supported, then it falls back on the generic grub_get_time_ms()
2N/A implementation that uses the machine's RTC.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/time.c',
2N/A `kern/i386/tsc.c', `kern/generic/rtc_get_time_ms.c' and
2N/A `kern/generic/millisleep.c'.
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_SOURCES): Add `kern/i386/tsc.c',
2N/A `kern/generic/rtc_get_time_ms.c' and `kern/generic/millisleep.c'.
2N/A
2N/A * conf/x86_64-efi.rml (kernel_mod_SOURCES): Add
2N/A `kern/generic/millisleep.c' and `kern/generic/rtc_get_time_ms.c'.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add
2N/A `kern/generic/millisleep.c'.
2N/A
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Add `kern/time.c'.
2N/A
2N/A * kern/generic/rtc_get_time_ms.c: New file.
2N/A
2N/A * kern/generic/millisleep.c: New file.
2N/A
2N/A * kern/misc.c: Don't include
2N/A <kern/time.h> anymore.
2N/A (grub_millisleep_generic): Removed.
2N/A
2N/A * commands/sleep.c (grub_interruptible_millisleep): Uses
2N/A grub_get_time_ms() instead of grub_get_rtc().
2N/A
2N/A * include/grub/i386/tsc.h (grub_get_tsc): New file. New inline
2N/A function.
2N/A (grub_cpu_is_cpuid_supported): New inline function.
2N/A (grub_cpu_is_tsc_supported): New inline function.
2N/A (grub_tsc_init): New function prototype.
2N/A (grub_tsc_get_time_ms): New function prototype.
2N/A
2N/A * kern/i386/tsc.c (grub_get_time_ms): New file.
2N/A
2N/A * include/grub/time.h: Include <grub/types.h.
2N/A (grub_millisleep_generic): Removed.
2N/A (grub_get_time_ms): New prototype.
2N/A (grub_install_get_time_ms): New prototype.
2N/A (grub_rtc_get_time_ms): New prototype.
2N/A
2N/A * kern/time.c (grub_get_time_ms): New function.
2N/A (grub_install_get_time_ms): New function.
2N/A
2N/A * kern/i386/efi/init.c: Include <grub/cpu/tsc.h>. Don't include
2N/A <grub/time.h> anymore.
2N/A (grub_millisleep): Removed.
2N/A (grub_machine_init): Call grub_tsc_init.
2N/A
2N/A * kern/i386/linuxbios/init.c (grub_machine_init): Install the RTC
2N/A get_time_ms() implementation.
2N/A
2N/A * kern/sparc64/ieee1275/init.c (grub_millisleep): Removed.
2N/A (ieee1275_get_time_ms): New function.
2N/A (grub_machine_init): Install get_time_ms() implementation.
2N/A
2N/A * kern/i386/pc/init.c: Include <grub/cpu/tsc.h>.
2N/A (grub_machine_init): Call grub_tsc_init().
2N/A (grub_millisleep): Removed.
2N/A
2N/A * kern/ieee1275/init.c (grub_millisleep): Removed.
2N/A (grub_machine_init): Install ieee1275_get_time_ms()
2N/A implementation.
2N/A (ieee1275_get_time_ms): New function.
2N/A (grub_get_rtc): Now calls ieee1275_get_time_ms(), which does the
2N/A real work.
2N/A
2N/A2008-08-05 Marco Gerards <marco@gnu.org>
2N/A
2N/A * disk/ata.c: Include <grub/pci.h>.
2N/A (enum grub_ata_commands): Add `GRUB_ATA_CMD_EXEC_DEV_DIAGNOSTICS'.
2N/A (grub_ata_initialize): Rewritten.
2N/A (grub_ata_device_initialize): New function.
2N/A
2N/A2008-08-04 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/main.c: Include grub/mm.h.
2N/A
2N/A2008-08-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-coreboot.rmk (COMMON_ASFLAGS, COMMON_CFLAGS)
2N/A (COMMON_LDFLAGS): Harmonize with i386-pc version (fixes a code
2N/A corruption problem).
2N/A
2N/A2008-08-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Fix misc
2N/A warnings introduced in my last commit.
2N/A
2N/A2008-08-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Make PCI available on all i386 architectures.
2N/A
2N/A * include/grub/i386/pc/pci.h: Move from here ...
2N/A * include/grub/i386/pci.h: ... to here.
2N/A
2N/A * include/grub/i386/pc/pci.h: Remove.
2N/A * include/grub/i386/efi/pci.h: Remove.
2N/A * include/grub/x86_64/efi/pci.h: Remove.
2N/A
2N/A * include/grub/pci.h: Replace `<grub/machine/pci.h>' with
2N/A `<grub/cpu/pci.h>'.
2N/A
2N/A * conf/i386-coreboot.rmk (pkglib_MODULES): Add `pci' and `lspci'.
2N/A (pci_mod_SOURCES, pci_mod_CFLAGS, pci_mod_LDFLAGS, lspci_mod_SOURCES)
2N/A (lspci_mod_CFLAGS, lspci_mod_LDFLAGS): New variables.
2N/A
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A2008-08-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/vga_text.c (CRTC_CURSOR_DISABLE): New macro.
2N/A (grub_console_setcursor): Make it possible to set cursor off.
2N/A
2N/A2008-08-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Be platform-agnostic. Probe for existence
2N/A of modules instead of assuming which platform provides what.
2N/A * util/update-grub.in: Likewise.
2N/A
2N/A2008-08-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Check for `grub_prefix'
2N/A instead of `grub_install_dos_part' to determine whether a drive needs
2N/A to be prepended to prefix (`grub_install_dos_part' is not reliable,
2N/A because it can be overridden when loading GRUB via Multiboot).
2N/A
2N/A2008-08-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Remove trailing slash from prefix.
2N/A
2N/A2008-08-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Add a pair
2N/A of informational grub_dprintf() calls.
2N/A
2N/A2008-08-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/memdisk.c (memdisk_size): Don't initialize.
2N/A (GRUB_MOD_INIT(memdisk)): Find memdisk using grub_module_iterate().
2N/A
2N/A * include/grub/i386/pc/kernel.h
2N/A (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): Remove macro.
2N/A (GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Shift.
2N/A (grub_memdisk_image_size, grub_arch_memdisk_addr)
2N/A (grub_arch_memdisk_size): Remove.
2N/A
2N/A * include/grub/kernel.h (struct grub_module_header): Remove `offset'
2N/A field (was only used to transfer a constant). Add `type' field to
2N/A support multiple module types.
2N/A (grub_module_iterate): New function.
2N/A
2N/A * kern/device.c (grub_device_open): Do not hide error messages
2N/A when grub_disk_open() fails. Use grub_print_error() instead.
2N/A
2N/A * kern/i386/pc/init.c (grub_arch_modules_addr)
2N/A (grub_arch_memdisk_size): Remove functions.
2N/A (grub_arch_modules_addr): Return the module address in high memory
2N/A (now that it isn't copied anymore).
2N/A
2N/A * kern/i386/pc/startup.S (grub_memdisk_image_size): Remove variable.
2N/A (codestart): Don't add grub_memdisk_image_size to %ecx in LZMA
2N/A decompression routine (grub_total_module_size already includes that
2N/A now). Don't copy modules back to low memory.
2N/A
2N/A * kern/main.c: Include `<grub/mm.h>'.
2N/A (grub_load_modules): Split out (and use) ...
2N/A (grub_module_iterate): ... this function, which iterates through
2N/A module objects and runs a hook.
2N/A Comment out grub_mm_init_region() call, as it would cause non-ELF
2N/A modules to be overwritten.
2N/A
2N/A * util/i386/pc/grub-mkimage.c (generate_image): Instead of appending
2N/A the memdisk image in its own region, make it part of the module list.
2N/A * util/elf/grub-mkimage.c (options): Add "memdisk"|'m' option.
2N/A (main): Parse --memdisk|-m option, and pass user-provided path as
2N/A parameter to generate_image().
2N/A (add_segments): Pass `memdisk_path' down to load_modules().
2N/A (load_modules): Embed memdisk image in module section when requested.
2N/A * util/i386/efi/grub-mkimage.c (make_mods_section): Initialize
2N/A `header.type' instead of `header.offset'.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add `memdisk.mod'.
2N/A (memdisk_mod_SOURCES, memdisk_mod_CFLAGS)
2N/A (memdisk_mod_LDFLAGS): New variables.
2N/A * conf/i386-coreboot.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A2008-08-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (playground, forward_relocator)
2N/A (backward_relocator): New variables. Used to allocate and relocate
2N/A the payload, respectively.
2N/A (grub_multiboot_load_elf32): Load into heap instead of requested
2N/A address, install the appropriate relocator code in each bound of
2N/A the payload, and set the entry point such that
2N/A grub_multiboot_real_boot() will jump to one of them.
2N/A
2N/A * kern/i386/loader.S (grub_multiboot_payload_size)
2N/A (grub_multiboot_payload_orig, grub_multiboot_payload_dest)
2N/A (grub_multiboot_payload_entry_offset): New variables.
2N/A (grub_multiboot_real_boot): Set cpu context to what the relocator
2N/A expects, and jump to the relocator instead of the payload.
2N/A
2N/A * include/grub/i386/loader.h (grub_multiboot_payload_size)
2N/A (grub_multiboot_payload_orig, grub_multiboot_payload_dest)
2N/A (grub_multiboot_payload_entry_offset): Export.
2N/A
2N/A2008-08-01 Bean <bean123ch@gmail.com>
2N/A
2N/A * normal/menu_entry.c (editor_getline): Don't return the original
2N/A string as result, as it will be released by lexer once it has done
2N/A using it.
2N/A
2N/A2008-08-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from
2N/A within menuentries, not before them.
2N/A util/grub.d/10_hurd.in: Likewise.
2N/A
2N/A2008-08-01 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Add bufio.mod.
2N/A (bufio_mod_SOURCES): New macro.
2N/A (bufio_mod_CFLAGS): Likewise.
2N/A (bufio_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/bufio.h: New file.
2N/A
2N/A * io/bufio.c: Likewise.
2N/A
2N/A * video/png.c: Replace <grub/file.h> with <grub/bufio.h>.
2N/A (grub_video_reader_png): Use grub_buffile_open to open file.
2N/A
2N/A * video/jpeg.c: Replace <grub/file.h> with <grub/bufio.h>.
2N/A (grub_video_reader_jpeg): Use grub_buffile_open to open file.
2N/A
2N/A * video/tga.c: Replace <grub/file.h> with <grub/bufio.h>.
2N/A (grub_video_reader_tga): Use grub_buffile_open to open file.
2N/A
2N/A * font/manager.c: Include <grub/bufio.h>.
2N/A (add_font): Use grub_buffile_open to open file.
2N/A
2N/A2008-07-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): When loading
2N/A ELF segments, use a macro for arbitrarily accessing any of them instead
2N/A of preparing a pointer that allows access to one at a time.
2N/A (grub_multiboot_load_elf64): Likewise.
2N/A
2N/A2008-07-31 Bean <bean123ch@gmail.com>
2N/A
2N/A * boot/i386/pc/lnxboot.S (real_code_2): Replace 0x50 with
2N/A GRUB_KERNEL_MACHINE_DATA_END.
2N/A
2N/A2008-07-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_DATA_END):
2N/A Increase from 0x50 to 0x60.
2N/A * util/i386/pc/grub-install.in: Detect cross-disk installs, and
2N/A use UUIDs to identify the root drive for them. If that's not
2N/A possible, abort.
2N/A * util/i386/pc/grub-setup.c (setup): Do not special-case, or even
2N/A check, for cross-disk installs.
2N/A
2N/A2008-07-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/ieee1275/init.c (grub_machine_set_prefix): If `grub_prefix'
2N/A is non-empty, use it to set the `prefix' environment variable instead
2N/A of the usual approach.
2N/A * kern/i386/linuxbios/init.c (make_install_device): Remove function.
2N/A (grub_machine_set_prefix): Use `grub_prefix' to set the `prefix'
2N/A environment variable instead of dummy make_install_device().
2N/A
2N/A * kern/i386/ieee1275/startup.S: Include `<grub/machine/kernel.h>'.
2N/A (start): Insert a data section, with `grub_prefix' variable.
2N/A * kern/i386/linuxbios/startup.S: Likewise.
2N/A
2N/A * include/grub/powerpc/ieee1275/kernel.h [!ASM_FILE] (grub_prefix):
2N/A New variable reference.
2N/A * include/grub/i386/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_PREFIX):
2N/A New macro. Defines offset of `grub_prefix' within startup.S (relative
2N/A to `start').
2N/A (GRUB_KERNEL_MACHINE_DATA_END): New macro. Defines the end of data
2N/A section within startup.S (relative to `start').
2N/A * include/grub/i386/coreboot/kernel.h: Likewise.
2N/A
2N/A * util/elf/grub-mkimage.c (add_segments): Receive `prefix' parameter.
2N/A Overwrite grub_prefix with its contents, at the beginning of the
2N/A first segment.
2N/A (main): Understand -p|--prefix.
2N/A
2N/A2008-07-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_hurd.in: Source ${libdir}/grub/update-grub_lib.
2N/A
2N/A2008-07-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/vga_text.c (grub_console_cls): Use
2N/A grub_console_gotoxy() to go back to beginning of the screen.
2N/A Found by Patrick Georgi <patrick.georgi@coresystems.de>
2N/A
2N/A2008-07-29 Christian Franke <franke@computer.org>
2N/A
2N/A * util/update-grub_lib.in (make_system_path_relative_to_its_root):
2N/A Add conversion of emulated mount points on Cygwin.
2N/A
2N/A2008-07-29 Christian Franke <franke@computer.org>
2N/A
2N/A * util/update-grub.in: Add a check for admin
2N/A group on Cygwin.
2N/A Remove old `grub.cfg.new' before creation.
2N/A Add `-f' to `mv' to handle the different filesystem
2N/A semantics of Windows.
2N/A
2N/A2008-07-29 Bean <bean123ch@gmail.com>
2N/A
2N/A * normal/main.c (get_line): Fix buffer overflow bug.
2N/A
2N/A2008-07-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * partmap/apple.c (GRUB_APPLE_HEADER_MAGIC): New macro.
2N/A (struct grub_apple_header): New struct. Describes the layout of
2N/A the partmap header.
2N/A (apple_partition_map_iterate): Check the header magic as well as the
2N/A partition magic (which was already being checked).
2N/A
2N/A2008-07-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * genmk.rb: Add a warning to the beginning of the output that
2N/A it's a generated file and should not be edited.
2N/A
2N/A2008-07-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Do not abort when two disks
2N/A with the same number are found, just use issue a warning with
2N/A grub_dprintf(), as this error has been reported to be non-fatal.
2N/A
2N/A2008-07-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
2N/A information.
2N/A
2N/A2008-07-27 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/fat.c (GRUB_FAT_MAXFILE): New constant.
2N/A (grub_fat_find_dir): Ignore case when comparing filename.
2N/A
2N/A2008-07-27 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/xfs.c (grub_xfs_dir_header): Change field i8count back to
2N/A smallino, as it's more descriptive, and i8count can be confused with
2N/A the other field count.
2N/A (grub_xfs_iterate_dir): Adjust grub_xfs_dir_entry pointer for small
2N/A inode type.
2N/A
2N/A2008-07-27 Bean <bean123ch@gmail.com>
2N/A
2N/A * commands/crc.c: New file.
2N/A
2N/A * lib/crc.c: Likewise.
2N/A
2N/A * include/grub/lib/crc.h: Likewise.
2N/A
2N/A * util/grub-fstest.c: grub/hexdump.h => grub/lib/hexdump.h.
2N/A
2N/A * commands/hexdump.c: grub/hexdump.h => grub/lib/hexdump.h.
2N/A (hexdump): Move this function to ...
2N/A
2N/A * lib/hexdump.c: ... here.
2N/A
2N/A * include/grub/hexdump.h: Renamed to ...
2N/A
2N/A * include/grub/lib/hexdump.h: ... this.
2N/A
2N/A * commands/loadenv.c: grub/envblk.h => grub/lib/envblk.h
2N/A
2N/A * util/grub-editenv.c: Likewise.
2N/A
2N/A * include/envblk.h: Renamed to ...
2N/A
2N/A * include/lib/envblk.h: ... this.
2N/A
2N/A * util/envblk.c: Renamed to ...
2N/A
2N/A * lib/envblk.c: ... this.
2N/A
2N/A * conf/common.rmk (grub_fstest_SOURCES): commands/hexdump.c =>
2N/A lib/hexdump.c.
2N/A (grub_editenv_SOURCES): util/envblk.c => lib/envblk.c
2N/A (pkglib_MODULES): Add crc.mod.
2N/A (hexdump_mod_SOURCES): Add lib/hexdump.c.
2N/A (loadenv_mod_SOURCES): util/envblk.c => lib/envblk.c.
2N/A (crc_mod_SOURCES): New macro.
2N/A (crc_mod_CFLAGS): Likewise.
2N/A (crc_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add lib/hexdump.c.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2008-07-27 Felix Zielcke <fzielcke@z-51.de>
2N/A
2N/A * commands/help.c: Include <grub/term.h>.
2N/A (TERM_WIDTH): Removed. Updated all users.
2N/A
2N/A2008-07-27 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/getroot.c (find_root_device): Rephrase a comment to avoid
2N/A spurious warnings about a comment within a comment.
2N/A
2N/A2008-07-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/getroot.c (find_root_device): Skip devices that match
2N/A /dev/dm-[0-9]. This lets the real device be found for any type of
2N/A abstraction (LVM, EVMS, RAID..).
2N/A (grub_guess_root_device): Do not traverse /dev/mapper (for LVM)
2N/A and /dev/evms (for EVMS) before traversing /dev. If a /dev/dm-[0-9]
2N/A device is found first, find_root_device() will now skip it.
2N/A
2N/A2008-07-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/types.h: Use __builtin_bswap32() and
2N/A __builtin_bswap64() with gcc 4.3 and newer.
2N/A
2N/A2008-07-24 Christian Franke <franke@computer.org>
2N/A
2N/A * util/i386/pc/grub-install.in: If `--debug' is specified,
2N/A pass `--verbose' to grub-setup.
2N/A Abort script if make_system_path_relative_to_its_root() fails.
2N/A
2N/A2008-07-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * configure.ac: Fixed a bug caused by the previous cygwin patch,
2N/A variable `target_platform' should be `platform'.
2N/A
2N/A2008-07-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * video/reader/png.c (DEFLATE_HLIT_MAX): Change value.
2N/A (grub_png_init_fixed_block): New function.
2N/A (grub_png_decode_image_data): Handle fixed huffman code compression.
2N/A
2N/A2008-07-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * common.rmk (bin_UTILITIES): Add grub-pe2elf.
2N/A (grub_pe2elf_SOURCES): New macro.
2N/A (CLEANFILES): Add grub-pe2elf.
2N/A
2N/A * include/grub/efi/pe32.h (GRUB_PE32_SCN_ALIGN_1BYTES): New constant.
2N/A (GRUB_PE32_SCN_ALIGN_2BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_4BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_8BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_16BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_32BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_64BYTES): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_SHIFT): Likewise.
2N/A (GRUB_PE32_SCN_ALIGN_MASK): Likewise.
2N/A (GRUB_PE32_SYM_CLASS_EXTERNAL): Likewise.
2N/A (GRUB_PE32_SYM_CLASS_STATIC): Likewise.
2N/A (GRUB_PE32_SYM_CLASS_FILE): Likewise.
2N/A (GRUB_PE32_DT_FUNCTION): Likewise.
2N/A (GRUB_PE32_REL_I386_DIR32): Likewise.
2N/A (GRUB_PE32_REL_I386_REL32): Likewise.
2N/A (grub_pe32_symbol): New structure.
2N/A (grub_pe32_reloc): Likewise.
2N/A
2N/A * util/grub-pe2elf.c: New file.
2N/A
2N/A * configure.ac: Set TARGET_OBJ2ELF if host os is cygwin. Don't test for
2N/A start symbol in non pc platform.
2N/A
2N/A * genmk.rb: Use TARGET_OBJ2ELF to convert native object format to elf.
2N/A
2N/A The following patches are from Christian Franke.
2N/A
2N/A * include/grub/dl.h: Remove .previous, gas supports this only
2N/A for ELF format.
2N/A
2N/A * include/grub/symbol.h [__CYGWIN__] (#define FUNCTION/VARIABLE):
2N/A Remove .type, gas supports this only for ELF format.
2N/A
2N/A * kern/dl.c (grub_dl_resolve_dependencies): Add check for trailing
2N/A nullbytes in symbol table. This fixes an infinite loop if table is
2N/A zero filled.
2N/A
2N/A * Makefile.in: Add autoconf replacements TARGET_IMG_LDSCRIPT,
2N/A TARGET_IMG_LDFLAGS and EXEEXT.
2N/A
2N/A * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Replace -Wl,-N by
2N/A TARGET_IMG_LDFLAGS_AC.
2N/A (grub_CHECK_STACK_ARG_PROBE): New function.
2N/A
2N/A * conf/i386-pc.rmk: Replace -Wl,-N by TARGET_IMG_LDFLAGS.
2N/A
2N/A * conf/i386-pc-cygwin-ld-img.sc: New linker script.
2N/A
2N/A * configure.ac: Add check for linker script "conf/${target}-img-ld.c"
2N/A to set TARGET_IMG_LD* accordingly.
2N/A Add check for Cygwin to set TARGET_MOD_OBJCOPY accordingly.
2N/A Add call to grub_CHECK_STACK_ARG_PROBE.
2N/A Use TARGET_IMG_LDFLAGS to check start, bss_start, end symbols.
2N/A
2N/A * genkernsyms.sh.in: Handle HAVE_ASM_USCORE case.
2N/A
2N/A * genmk.rb: Add EXEEXT to CLEANFILES.
2N/A
2N/A2008-07-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (UNICODE_ARROWS, UNICODE_LINES): New variables (they
2N/A define the codes for arrows and lines used for the menu).
2N/A (ascii.pff): Generate fonts for $(UNICODE_ARROWS) and $(UNICODE_LINES)
2N/A as well.
2N/A
2N/A * util/update-grub_lib.in (font_path): Prefer ascii.pff over complete
2N/A fonts, because the latter are too slow.
2N/A
2N/A2008-07-21 Bean <bean123ch@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S (gate_a20_try_bios): Change test order for
2N/A a20. Run keyboard test last, as it will cause macbook to halt.
2N/A
2N/A2008-07-18 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/dl.c: Go back to using GRUB_CPU_SIZEOF_VOID_P. We cannot
2N/A load foreign architecture modules correctly anyway. Keep
2N/A support for loading host architecture modules, whether we
2N/A compile them or not.
2N/A
2N/A2008-07-17 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Use -m32 or -m64 regardless of whether we had to
2N/A change target_cpu. The compiler default can mismatch target_cpu
2N/A in any case.
2N/A
2N/A * disk/efi/efidisk.c: Fix format warnings on x86_64.
2N/A * kern/efi/efi.c: Likewise.
2N/A
2N/A * aclocal.m4 (grub_PROG_TARGET_CC): New macro. Check if the
2N/A target compiler is functional.
2N/A * configure.ac: Call grub_PROG_TARGET_CC once all target flags
2N/A are set up.
2N/A
2N/A * configure.ac: Default to efi platform for x86_64-apple. Allow
2N/A powerpc64 CPU, default to ieee1275 platform for it. Split CPU
2N/A adjustments from the rest, only do them if target is not
2N/A explicitly given. Merge other adjustments with the final sanity
2N/A check. Remove an extraneous check for supported CPU. Be
2N/A specific which CPU and which platform is not supported.
2N/A
2N/A * configure.ac: Default to pc platform for x86_64.
2N/A
2N/A2008-07-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Partial LinuxBIOS -> Coreboot rename.
2N/A
2N/A * conf/i386-linuxbios.rmk: Renamed to ...
2N/A * conf/i386-coreboot.rmk: ... this.
2N/A * Makefile.in (RMKFILES): s/i386-linuxbios.rmk/i386-coreboot.rmk/g.
2N/A * configure.ac: Accept "coreboot" as input platform (but maintain
2N/A compatibility with "linuxbios").
2N/A * include/grub/i386/linuxbios: Renamed to ...
2N/A * include/grub/i386/coreboot: ... this.
2N/A
2N/A2008-07-17 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386/efi.rmk (pkglib_MODULES): add pci.mod and lspci.mod.
2N/A (appleldr_mod_SOURCE): New variable.
2N/A (appleldr_mod_CFLAGS): Likewise.
2N/A (appleldr_mod_LDFLAGS): Likewise.
2N/A (pci_mod_SOURCES): Likewise.
2N/A (pci_mod_CFLAGS): Likewise.
2N/A (pci_mod_LDFLAGS): Likewise.
2N/A (lspci_mod_SOURCES): Likewise.
2N/A (lspci_mod_CFLAGS): Likewise.
2N/A (lspci_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/x86_64-efi.rmk: New file.
2N/A
2N/A * disk/efi/efidisk.c (grub_efidisk_read): Wrap efi calls with efi_call_N
2N/A macro.
2N/A (grub_efidisk_write): Likewise.
2N/A
2N/A * include/efi/api.h (efi_call_0): New macro.
2N/A (efi_call_1): Likewise.
2N/A (efi_call_2): Likewise.
2N/A (efi_call_3): Likewise.
2N/A (efi_call_4): Likewise.
2N/A (efi_call_5): Likewise.
2N/A (efi_call_6): Likewise.
2N/A
2N/A * include/grub/efi/chainloader.h (grub_chainloader_cmd): Rename to
2N/A grub_rescue_cmd_chainloader.
2N/A
2N/A * include/grub/efi/pe32.h (GRUB_PE32_MACHINE_X86_64): New macro.
2N/A (grub_pe32_optional_header): Change some fields based on i386 or
2N/A x86_64 platform.
2N/A (GRUB_PE32_PE32_MAGIC): Likewise.
2N/A
2N/A * include/grub/efi/uga_draw.h: New file.
2N/A
2N/A * include/grub/elf.h (STN_ABS): New constant.
2N/A (R_X86_64_NONE): Relocation constant for x86_64.
2N/A (R_X86_64_64): Likewise.
2N/A (R_X86_64_PC32): Likewise.
2N/A (R_X86_64_GOT32): Likewise.
2N/A (R_X86_64_PLT32): Likewise.
2N/A (R_X86_64_COPY): Likewise.
2N/A (R_X86_64_GLOB_DAT): Likewise.
2N/A (R_X86_64_JUMP_SLOT): Likewise.
2N/A (R_X86_64_RELATIVE): Likewise.
2N/A (R_X86_64_GOTPCREL): Likewise.
2N/A (R_X86_64_32): Likewise.
2N/A (R_X86_64_32S): Likewise.
2N/A (R_X86_64_16): Likewise.
2N/A (R_X86_64_PC16): Likewise.
2N/A (R_X86_64_8): Likewise.
2N/A (R_X86_64_PC8): Likewise.
2N/A
2N/A * include/grub/i386/efi/pci.h: New file.
2N/A
2N/A * include/grub/i386/linux.h (GRUB_LINUX_EFI_SIGNATURE):
2N/A Change it value based on platform.
2N/A (GRUB_LINUX_EFI_SIGNATURE_0204): New constant.
2N/A (GRUB_E820_RAM): Likewise.
2N/A (GRUB_E820_RESERVED): Likewise.
2N/A (GRUB_E820_ACPI): Likewise.
2N/A (GRUB_E820_NVS): Likewise.
2N/A (GRUB_E820_EXEC_CODE): Likewise.
2N/A (GRUB_E820_MAX_ENTRY): Likewise.
2N/A (grub_e820_mmap): New structure.
2N/A (linux_kernel_header): Change the efi field according to different
2N/A kernel version, also field from linux_kernel_header.
2N/A
2N/A * include/grub/kernel.h (grub_module_info): Add padding for x86_64.
2N/A
2N/A * include/grub/pci.h (GRUB_PCI_ADDR_SPACE_MASK): New constant.
2N/A (GRUB_PCI_ADDR_SPACE_MEMORY): Likewise.
2N/A (GRUB_PCI_ADDR_SPACE_IO): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_TYPE_MASK): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_TYPE_32): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_TYPE_1M): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_TYPE_64): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_PREFETCH): Likewise.
2N/A (GRUB_PCI_ADDR_MEM_MASK): Likewise.
2N/A (GRUB_PCI_ADDR_IO_MASK): Likewise.
2N/A
2N/A * include/grub/x86_64/efi/kernel.h: New file.
2N/A
2N/A * include/grub/x86_64/efi/loader.h: Likewise.
2N/A
2N/A * include/grub/x86_64/efi/machine.h: Likewise.
2N/A
2N/A * include/grub/x86_64/efi/pci.h: Likewise.
2N/A
2N/A * include/grub/x86_64/efi/time.h: Likewise.
2N/A
2N/A * include/grub/x86_64/linux.h: Likewise.
2N/A
2N/A * include/grub/x86_64/setjmp.h: Likewise.
2N/A
2N/A * include/grub/x86_64/time.h: Likewise.
2N/A
2N/A * include/grub/x86_64/types.h: Likewise.
2N/A
2N/A * kern/dl.c (GRUB_CPU_SIZEOF_VOID_P): Changed to
2N/A GRUB_TARGET_SIZEOF_VOID_P.
2N/A
2N/A * kern/efi/efi.c (grub_efi_locate_protocol): Wrap efi calls.
2N/A (grub_efi_locate_handle): Likewise.
2N/A (grub_efi_open_protocol): Likewise.
2N/A (grub_efi_set_text_mode): Likewise.
2N/A (grub_efi_stall): Likewise.
2N/A (grub_exit): Likewise.
2N/A (grub_reboot): Likewise.
2N/A (grub_halt): Likewise.
2N/A (grub_efi_exit_boot_services): Likewise.
2N/A (grub_get_rtc): Likewise.
2N/A
2N/A * kern/efi/mm.c (MEMORY_MAP_SIZE): Change to 0x3000 for new models.
2N/A (GRUB_CPU_SIZEOF_VOID_P): Changed to GRUB_TARGET_SIZEOF_VOID_P.
2N/A (grub_efi_allocate_pages): Wrap efi calls.
2N/A (grub_efi_free_pages): Wrap efi calls.
2N/A (grub_efi_get_memory_map): Wrap efi calls.
2N/A
2N/A * kern/x86_64/dl.c: New file.
2N/A
2N/A * kern/x86_64/efi/callwrap.S: Likewise.
2N/A
2N/A * kern/x86_64/efi/startup.S: Likewise.
2N/A
2N/A * loader/efi/appleloader.c: Likewise.
2N/A
2N/A * loader/efi/chainloader.c (cmdline): New variable.
2N/A (grub_chainloader_unload): Wrap efi calls.
2N/A (grub_chainloader_boot): Likewise.
2N/A (grub_rescue_cmd_chainloader): Wrap efi calls, handle
2N/A command line.
2N/A
2N/A * loader/efi/chainloader_normal.c (chainloader_command):
2N/A Change grub_chainloader_cmd to grub_rescue_cmd_chainloader, pass
2N/A command line.
2N/A
2N/A * loader/i386/efi/linux.c (allocate_pages): Change allocation
2N/A method.
2N/A (grub_e820_add_region): New function.
2N/A (grub_linux_boot): Construct e820 map from efi map, handle x86_64
2N/A booting.
2N/A (grub_find_video_card): New function.
2N/A (grub_linux_setup_video): New function.
2N/A (grub_rescue_cmd_linux): Probe for video information.
2N/A
2N/A * normal/x86_64/setjmp.S: New file.
2N/A
2N/A * term/efi/console.c (map_char): New function.
2N/A (grub_console_putchar): Map unicode char.
2N/A (grub_console_checkkey): Wrap efi calls.
2N/A (grub_console_getkey): Likewise.
2N/A (grub_console_getwh): Likewise.
2N/A (grub_console_gotoxy): Likewise.
2N/A (grub_console_cls): Likewise.
2N/A (grub_console_setcolorstate): Likewise.
2N/A (grub_console_setcursor): Likewise.
2N/A
2N/A * util/i386/efi/grub-mkimage.c: Add support for x86_64.
2N/A
2N/A2008-07-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * loader/i386/efi/linux.c (allocate_pages): Fix warnings in
2N/A format strings.
2N/A
2N/A * util/i386/efi/grub-mkimage.c (get_target_address): Return a
2N/A pointer, not an integer. This fixes a warning and prevents
2N/A precision loss on 64-bit systems.
2N/A (relocate_addresses): Remove unneeded cast.
2N/A
2N/A2008-07-15 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/ieee1275/init.c: Include grub/cache.h.
2N/A
2N/A * term/ieee1275/ofconsole.c: Disable code unused on i386.
2N/A
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
2N/A Fix comparison between signed and unsigned.
2N/A
2N/A * include/grub/i386/ieee1275/console.h: Declare
2N/A grub_console_init() and grub_console_fini().
2N/A
2N/A * loader/i386/ieee1275/linux.c (grub_set_bootpath): Remove.
2N/A It's empty and unused.
2N/A
2N/A * fs/ext2.c (grub_ext2_read_block): Initialize blknr in the
2N/A beginning to avoid warnings with some compilers.
2N/A
2N/A * loader/ieee1275/multiboot2.c: Include grub/machine/loader.h.
2N/A [__i386__] (grub_mb2_arch_boot): Avoid unnecessary cast.
2N/A
2N/A2008-07-14 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/env.c (grub_register_variable_hook): Don't copy empty
2N/A string, it leaks memory. Pass "" to grub_env_set(), it should
2N/A handle constant strings.
2N/A
2N/A * commands/blocklist.c (grub_cmd_blocklist): Fix format warning.
2N/A * commands/cmp.c (grub_cmd_cmp): Likewise.
2N/A * kern/dl.c (grub_dl_flush_cache): Likewise.
2N/A (grub_dl_load_core): Likewise.
2N/A * kern/elf.c (grub_elf32_load_phdrs): Likewise.
2N/A (grub_elf64_load_phdrs): Likewise.
2N/A
2N/A2008-07-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * lib/LzmaEnc.c (LzmaEnc_SetProps): Fix warning about comparison
2N/A between signed and unsigned.
2N/A (LzmaEnc_Finish): Fix warning about an unused parameter.
2N/A
2N/A2008-07-13 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in (enable_lzo): New rule.
2N/A
2N/A * conf/i386-pc.rmk (grub_mkimage_SOURCES): New test with enable_lzo.
2N/A
2N/A * configure.ac (ENABLE_LZO): New option --enable-lzo.
2N/A
2N/A * boot/i386/pc/lnxboot.S: #include <config.h>.
2N/A
2N/A * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): Change
2N/A its value according to the compression algorithm used, lzo or lzma.
2N/A
2N/A * util/i386/pc/grub-mkimage.c (compress_kernel): Use different
2N/A compression algorithm according to configure macro.
2N/A
2N/A * kern/i386/pc/startup.S (codestart): Likewise.
2N/A
2N/A * kern/i386/pc/lzma_decode.S: New file.
2N/A
2N/A * include/grub/lib/LzFind.h: Likewise.
2N/A
2N/A * include/grub/lib/LzHash.h: Likewise.
2N/A
2N/A * include/grub/lib/LzmaDec.h: Likewise.
2N/A
2N/A * include/grub/lib/LzmaEnc.h: Likewise.
2N/A
2N/A * include/grub/lib/LzmaTypes.h: Likewise.
2N/A
2N/A * lib/LzFind.c: Likewise.
2N/A
2N/A * lib/LzmaDec.c: Likewise.
2N/A
2N/A * lib/LzmaEnc.c: Likewise.
2N/A
2N/A2008-07-13 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ext2.c (EXT4_EXTENTS_FLAG): New macro.
2N/A (grub_ext4_extent_header): New structure.
2N/A (grub_ext4_extent): Likewise.
2N/A (grub_ext4_extent_idx): Likewise.
2N/A (grub_ext4_find_leaf): New function.
2N/A (grub_ext2_read_block): Handle extents.
2N/A
2N/A2008-07-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: s/grub-install/grub-mkrescue/g.
2N/A
2N/A2008-07-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/40_custom.in: New file. Example on how to add custom
2N/A entries to /etc/grub.d.
2N/A * conf/common.rmk (%, update-grub_SCRIPTS, CLEANFILES): Install
2N/A 40_custom (implicitly, by merging all the grub.d rules).
2N/A
2N/A2008-07-11 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/read.c (grub_getline): Fix invalid memory access.
2N/A Don't add newline to the variable value.
2N/A
2N/A * term/i386/pc/serial.c (GRUB_SERIAL_PORT_NUM): New constant.
2N/A [!GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Add COM2 and COM3.
2N/A (serial_hw_get_port): Check validity of the port number.
2N/A (grub_cmd_serial): Check return value of serial_hw_get_port().
2N/A
2N/A2008-07-07 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * boot/i386/pc/diskboot.S (notification_string): Replace
2N/A "Loading kernel" with just "loading". This is shorter, less
2N/A confusing and saves a few bytes for possible future changes.
2N/A
2N/A2008-07-05 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_dumpinfo): Don't output addressing and
2N/A size for ATAPI devices, they are undefined. Output sector
2N/A number in decimal form.
2N/A
2N/A * disk/ata.c: Use named constants for status bits.
2N/A
2N/A2008-07-04 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/linuxbios/init.c (grub_machine_init): Cast addr to
2N/A grub_addr_t before casting it to the void pointer to fix a
2N/A warning. Non-addressable regions are discarded earlier.
2N/A (grub_arch_modules_addr): Cast _end to grub_addr_t.
2N/A * kern/i386/linuxbios/table.c: Include grub/misc.h.
2N/A (check_signature): Don't shadow table_header.
2N/A (grub_linuxbios_table_iterate): Cast numeric constants to
2N/A grub_linuxbios_table_header_t.
2N/A * include/grub/i386/linuxbios/init.h: Add noreturn attribute to
2N/A grub_stop().
2N/A
2N/A * kern/ieee1275/init.c: Cast _start and _end to grub_addr_t to
2N/A prevent warnings.
2N/A
2N/A * include/grub/misc.h (ALIGN_UP): Avoid unnecessary cast to a
2N/A pointer, which can cause warnings. Support 64-bit addresses.
2N/A
2N/A * util/elf/grub-mkimage.c: Use GRUB_TARGET_SIZEOF_LONG instead
2N/A of sizeof(long). This fixes PowerPC image generation on x86_64.
2N/A
2N/A2008-07-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A This fixes a performance issue when pc & gpt partmap iterators
2N/A didn't abort iteration even after our hook found what it was
2N/A looking for (often causing expensive probes of non-existent drives).
2N/A
2N/A Some callers relied on previous buggy behaviour, since they would
2N/A raise an error when their own hooks caused early abortion of its
2N/A iteration.
2N/A
2N/A * kern/device.c (grub_device_open): Improve error message.
2N/A * disk/lvm.c (grub_lvm_open): Likewise.
2N/A * disk/raid.c (grub_raid_open): Likewise.
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Abort parent iteration
2N/A when hook requests it, independently of grub_errno.
2N/A (pc_partition_map_probe): Do not fail when find_func() caused
2N/A early abortion of pc_partition_map_iterate().
2N/A
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Abort parent iteration
2N/A when hook requests it, independently of grub_errno.
2N/A (gpt_partition_map_probe): Do not fail when find_func() caused
2N/A early abortion of gpt_partition_map_iterate().
2N/A
2N/A * kern/partition.c (grub_partition_iterate): Abort parent iteration
2N/A when hook requests it, independently of grub_errno. Do not fail when
2N/A part_map_iterate_hook() caused early abortion of p->iterate().
2N/A
2N/A * util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Do not fail
2N/A when grub_partition_iterate() returned with non-zero.
2N/A
2N/A2008-07-03 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_pio_write): Check status before writing,
2N/A like we do in grub_ata_pio_read().
2N/A (grub_ata_readwrite): Always write individual sectors. Fix the
2N/A sector count for the remainder.
2N/A (grub_ata_write): Enable writing to ATA devices. Correctly
2N/A report error for ATAPI devices.
2N/A
2N/A2008-07-02 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * boot/i386/pc/cdboot.S: Add _start entry to fix a linker
2N/A warning.
2N/A
2N/A * disk/ata.c (grub_ata_readwrite): Don't increment sector number
2N/A for every read sector, we already increment it for the whole
2N/A batch. This fixes reading more than 256 sectors at once.
2N/A
2N/A * util/grub-editenv.c (cmd_info): Cast argument to long
2N/A explicitly. ptrdiff_t reduces to int on i386.
2N/A
2N/A * util/grub-editenv.c (main): Be specific which parameter is
2N/A missing.
2N/A
2N/A * disk/memdisk.c (memdisk_addr): Make a pointer to fix warnings.
2N/A (memdisk): Make memdisk_orig_addr a pointer.
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_read): Fix misuse of grub_size_t
2N/A for file offsets, use grub_off_t instead. Fix printf format
2N/A warnings.
2N/A
2N/A * fs/reiserfs.c: Remove #warning, TODO list items don't belong
2N/A there. Real unexpected warnings should not drown in the noise
2N/A about known problems.
2N/A
2N/A * commands/hexdump.c (grub_cmd_hexdump): Fix misuse of
2N/A grub_disk_addr_t for memory addresses.
2N/A
2N/A * loader/aout.c (grub_aout_load): Cast load_addr to pointer
2N/A explicitly to fix a warning.
2N/A
2N/A * util/grub-editenv.c (cmd_info): Fix warning in printf format.
2N/A
2N/A * Makefile.in (MODULE_LDFLAGS): New variable.
2N/A * aclocal.m4 (grub_PROG_LD_BUILD_ID_NONE): New macro. Check if
2N/A the linker accepts --build-id=none.
2N/A * configure.ac: Call grub_PROG_LD_BUILD_ID_NONE. Substitute
2N/A MODULE_LDFLAGS.
2N/A * genmk.rb: Use MODULE_LDFLAGS when linking modules.
2N/A
2N/A * fs/xfs.c (struct grub_xfs_dir_header): Use names similar to
2N/A those in Linux XFS code. Provide a way to access 64-bit parent
2N/A inode.
2N/A (grub_xfs_iterate_dir): Use the new names. Avoid reading past
2N/A the end of struct grub_xfs_dir_header.
2N/A
2N/A2008-07-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * include/grub/ieee1275.h (grub_ieee1275_flag): New constant
2N/A GRUB_IEEE1275_FLAG_CANNOT_INTERPRET, GRUB_IEEE1275_FLAG_FORCE_CLAIM
2N/A and GRUB_IEEE1275_FLAG_NO_ANSI.
2N/A
2N/A * kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set flag
2N/A GRUB_IEEE1275_FLAG_CANNOT_INTERPRET, GRUB_IEEE1275_FLAG_FORCE_CLAIM
2N/A and GRUB_IEEE1275_FLAG_NO_ANSI for Open Hackware.
2N/A
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_interpret): Return
2N/A immediately if GRUB_IEEE1275_FLAG_CANNOT_INTERPRET is set.
2N/A
2N/A * kern/ieee1275/init.c (grub_claim_heap): Claim memory directly if
2N/A GRUB_IEEE1275_FLAG_FORCE_CLAIM is set.
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_writeesc): Don't output
2N/A esc sequence on non ANSI terminal.
2N/A (grub_ofconsole_gotoxy): Emulate backspace key on non ANSI terminal.
2N/A
2N/A * util/elf/grub-mkimage.c (add_segments): Move ELF header to the
2N/A beginning of file.
2N/A
2N/A2008-07-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (bin_UTILITIES): Add grub-editenv.
2N/A (grub_editenv_SOURCES): New variable.
2N/A (pkglib_MODULES): Add loadenv.mod.
2N/A (loadenv_mod_SOURCES): New variable.
2N/A (loadenv_mod_CFLAGS): Likewise.
2N/A (loadenv_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/envblk.h: New file.
2N/A
2N/A * util/envblk.c: New file.
2N/A
2N/A * util/grub-editenv.c: New file.
2N/A
2N/A * commands/loadenv.c: New file.
2N/A
2N/A2008-07-01 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/multiboot2.h (struct multiboot_tag_module): Use char,
2N/A not unsigned char. This fixes warnings and is consistent with
2N/A other tags.
2N/A
2N/A * disk/fs_uuid.c (search_fs_uuid): Correctly increment count.
2N/A
2N/A * normal/parser.y: Define YYENABLE_NLS as 0 to fix warnings.
2N/A
2N/A * term/tparm.c (analyze): Always set *popcount.
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Remove useless
2N/A cast to fix a warning.
2N/A
2N/A * loader/i386/pc/multiboot2.c (grub_mb2_arch_module_alloc): Use
2N/A cast to suppress a warning.
2N/A
2N/A * fs/afs.c (grub_afs_read_block): Return grub_disk_addr_t, as
2N/A grub_fshelp_read_file() expects.
2N/A
2N/A * fs/fat.c: Fix UUID calculation on big-endian systems. We
2N/A write uuid as a 32-bit value in CPU byte order, so declare and
2N/A use it as such.
2N/A
2N/A * disk/raid.c: Cast grub_dprintf() arguments to unsigned long
2N/A long if the format specifier expects it.
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Likewise.
2N/A * partmap/pc.c (pc_partition_map_iterate): Likewise.
2N/A * fs/ntfs.c (grub_ntfs_uuid): Cast data->uuid to unsigned long
2N/A long to fix a warning.
2N/A * fs/reiserfs.c (grub_reiserfs_read): Change casts in
2N/A grub_dprintf() arguments to fix warnings.
2N/A
2N/A2008-06-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Write install_dos_part and
2N/A install_bsd_part immediately before core.img is embedded or
2N/A modified on disk. This fixes core.img verification if core.img
2N/A cannot be embedded.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Use core_path_dev, not
2N/A core_path to calculate the blocklist.
2N/A Patch from Javier Martín <lordhabbit@gmail.com>
2N/A
2N/A2008-06-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/xfs.c (GRUB_XFS_FSB_TO_BLOCK): New macro. Maps filesystem
2N/A block to disk block.
2N/A (grub_xfs_read_block): Use GRUB_XFS_FSB_TO_BLOCK() on result.
2N/A Patch from Niels Böhm <bitbucket@arcor.de>
2N/A
2N/A2008-06-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (font_path): Search for fonts in
2N/A /boot/grub first, which is more likely to be readable (we aren't
2N/A deciding where fonts live, just looking for them).
2N/A
2N/A2008-06-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/biosdisk.c (read_device_map): Don't leave dead map
2N/A entries for devices failing stat() check.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Don't reuse core_path, use
2N/A core_path_dev for the core.img path on the target device.
2N/A
2N/A2008-06-26 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/fs_uuid.c: New file.
2N/A * conf/common.rmk (pkglib_MODULES): Add `fs_uuid.mod'.
2N/A (fs_uuid_mod_SOURCES, fs_uuid_mod_CFLAGS)
2N/A (fs_uuid_mod_LDFLAGS): New variables.
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEVICE_UUID_ID'.
2N/A * kern/disk.c (grub_disk_dev_iterate): Allow disk devices not to
2N/A implement iterate().
2N/A
2N/A2008-06-26 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Avoid passing UUIDs to Linux when either
2N/A "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" does not exist, or when a
2N/A Linux image includes no initrd.
2N/A
2N/A2008-06-21 Javier Martín <lordhabbit@gmail.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Remove literal "core.img" in a
2N/A call to resolve the core image location that effectively appended the
2N/A name twice.
2N/A
2N/A2008-06-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Move last prepare_grub_to_access_device()
2N/A call from here ...
2N/A
2N/A * util/grub.d/10_hurd.in: ... to here ...
2N/A * util/grub.d/10_linux.in: ... and here.
2N/A
2N/A2008-06-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/main.c (grub_main): Export `prefix' variable immediately
2N/A after it has been set by grub_machine_set_prefix().
2N/A
2N/A2008-06-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/search.c (search_label, search_fs_uuid, search_file): Print
2N/A search result when not saving to variable, not the other way around.
2N/A When saving to variable, abort iteration as soon as a match is found.
2N/A
2N/A2008-06-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): Remove
2N/A check for partition that provides /boot/grub. Its logic is flawed,
2N/A as it prevents prepare_grub_to_access_device() from being called
2N/A multiple times.
2N/A
2N/A2008-06-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): Issue
2N/A "insmod" command directly when abstraction modules are needed,
2N/A instead of relying on GRUB_PRELOAD_MODULES (which had no effect
2N/A since it had already been processed).
2N/A
2N/A2008-06-19 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/i386-efi.rmk: Recompile grub-mkimage.c if Makefile has
2N/A changed. This is needed in case GRUB_LIBDIR changes.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-linuxbios.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A
2N/A2008-06-18 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Rename
2N/A kernel_elf_symlist.c to symlist.c for consistency with other
2N/A architectures. Update all users.
2N/A * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): Likewise.
2N/A
2N/A2008-06-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: If the drive is LVM or RAID, prepend
2N/A it in prefix.
2N/A
2N/A * util/i386/pc/grub-setup.c (main): Don't handle prefix at all. Set
2N/A `must_embed' to 1 when root_dev is a RAID device. When dest_dev is
2N/A a RAID device, run setup() for all members independently on whether
2N/A LVM abstraction is being used.
2N/A (setup): Don't handle prefix at all; let grub-mkimage take care of it.
2N/A If grub-mkimage has set `*install_dos_part == -2', don't override this
2N/A value.
2N/A Perform *install_dos_part adjustments independently on whether
2N/A we're embedding or not.
2N/A Clarify error message when image is too big for embedding.
2N/A Remove duplicate *install_dos_part stanza.
2N/A
2N/A2008-06-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (fgcolor, bgcolor): Remove variables.
2N/A (grub_ofconsole_normal_color, grub_ofconsole_highlight_color): New
2N/A variables.
2N/A (grub_ofconsole_setcolor, grub_ofconsole_getcolor): Load/store
2N/A values in grub_ofconsole_normal_color and
2N/A grub_ofconsole_highlight_color (they're not directly related to
2N/A background and foreground).
2N/A (grub_ofconsole_setcolorstate): Extract background and foreground
2N/A from grub_ofconsole_normal_color and grub_ofconsole_highlight_color.
2N/A
2N/A2008-06-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): Use
2N/A /boot/grub for the check in last commit, not /boot (they could be
2N/A different partitions).
2N/A
2N/A2008-06-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): If we were
2N/A asked to setup access for the same partition that provides /boot,
2N/A don't bother using UUIDs since our root already has the value we
2N/A want.
2N/A
2N/A2008-06-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (convert_system_partition_to_system_disk): Detect
2N/A I2O devices.
2N/A Patch from Sven Mueller <sven@debian.org>.
2N/A
2N/A2008-06-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Check for $EUID instead of $UID.
2N/A Reported by Vincent Zweije.
2N/A
2N/A2008-06-16 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_blockgroup): Revert to pre-journal state.
2N/A (grub_ext2_read_block): Likewise.
2N/A (grub_ext2_read_inode): Likewise.
2N/A (grub_ext2_mount): Likewise.
2N/A (grub_ext2_close): Likewise.
2N/A (grub_ext3_get_journal): Removed.
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_get_item): Revert to pre-journal state.
2N/A (grub_reiserfs_read_symlink): Likewise.
2N/A (grub_reiserfs_mount): Likewise.
2N/A (grub_reiserfs_open): Likewise.
2N/A (grub_reiserfs_read): Likewise.
2N/A (grub_reiserfs_close): Likewise.
2N/A (grub_reiserfs_get_journal): Removed.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_read): Removed.
2N/A (grub_fshelp_map_block): Likewise.
2N/A
2N/A * include/grub/fshelp.h (grub_fshelp_journal_type): Removed.
2N/A (grub_fshelp_journal): Likewise.
2N/A (grub_fshelp_read): Likewise.
2N/A (grub_fshelp_map_block): Likewise.
2N/A
2N/A2008-06-16 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk: Remove -msoft-float, we don't use
2N/A floating point anymore.
2N/A * include/grub/powerpc/libgcc.h: Leave only necessary exports.
2N/A
2N/A2008-06-15 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Use integer calculations
2N/A for human readable format, avoid floating point use.
2N/A * kern/misc.c (grub_ftoa): Remove.
2N/A (grub_vsprintf): Remove floating point support.
2N/A
2N/A2008-06-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Use the underlying device for loop-AES
2N/A devices.
2N/A Reported by Max Vozeler.
2N/A
2N/A2008-06-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkimage.c (generate_image): If we included a drive
2N/A in our prefix, set install_{dos,bsd}_part = -2 to indicate this can be
2N/A skipped later.
2N/A (main): If a memdisk was requested, add "(memdisk)" drive explicitly to
2N/A the beginning of the prefix.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Remove memdisk check.
2N/A It is assumed that if we have a memdisk, grub-mkimage has set
2N/A grub_prefix to include the "(memdisk)" drive in it.
2N/A
2N/A2008-06-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/console.c [GRUB_MACHINE_LINUXBIOS] (grub_console_init):
2N/A Initialize keyboard controller after registering the terminal, so that
2N/A grub_printf() can be called from grub_keyboard_controller_init().
2N/A
2N/A2008-06-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/sfs.c (grub_sfs_read_extent): Fix the count of nodes in
2N/A extent-btree which is written as big endian on disk.
2N/A Reported by Alain Greppin <al@chilibi.org>.
2N/A
2N/A2008-06-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/efi/grub-install.in (modules): Remove `_chain'.
2N/A * util/i386/pc/grub-install.in (modules): Likewise.
2N/A
2N/A2008-06-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Fix format warnings.
2N/A
2N/A2008-06-13 Bean <bean123ch@gmail.com>
2N/A
2N/A * commands/hexdump.c (grub_cmd_hexdump): Adjust offset for partition.
2N/A
2N/A * fs/ext2.c (grub_ext3_get_journal): Fix revoke block handling.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_map_block): Don't map block 0 as it's used
2N/A to indicate sparse block.
2N/A
2N/A2008-06-12 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * fs/ext2.c (grub_ext2_read_inode): Don't normalize block
2N/A number, grub_fshelp_read() does it for us.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_read): New function. Implement
2N/A linear disk read with journal translation.
2N/A * fs/ext2.c: Use grub_fshelp_read() instead of grub_disk_read().
2N/A * include/grub/fshelp.h: Declare grub_fshelp_read().
2N/A
2N/A2008-06-09 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * fs/minix.c (grub_minix_mount): Handle error reading
2N/A superblock.
2N/A
2N/A2008-06-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (main): If install drive is an LVM,
2N/A don't append the RAID prefix afterwards.
2N/A Reported by Clint Adams.
2N/A
2N/A2008-06-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Based on description from Pavel:
2N/A * kern/disk.c (grub_disk_check_range): Rename to ...
2N/A (grub_disk_adjust_range): ... this. Add a comment explaining the
2N/A tasks performed by this function.
2N/A
2N/A2008-06-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/ntfs.h (struct grub_ntfs_bpb): Rename `serial_number' to
2N/A `num_serial' (for consistency with other variables).
2N/A (struct grub_ntfs_data): Add `uuid' member.
2N/A * fs/ntfs.c (grub_ntfs_mount): Initialize `data->uuid'.
2N/A (grub_ntfs_uuid): New function.
2N/A (grub_ntfs_fs): Reference grub_ntfs_uuid() in `uuid' struct member.
2N/A
2N/A2008-06-07 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/biosdisk.c (open_device): Revert last change to the
2N/A function, it broke installation. The sector needs to be
2N/A different dependent on which device is opened.
2N/A
2N/A2008-06-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Ensure GRUB_KERNEL_MACHINE_DATA_END is always consistent with the
2N/A rest of GRUB, and breakage doesn't happen if its value were modified.
2N/A
2N/A * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE):
2N/A Redefine as an offset from `GRUB_KERNEL_MACHINE_DATA_END' instead of
2N/A a constant (same value).
2N/A * kern/i386/pc/startup.S: Replace hardcoded `0x50' with
2N/A `GRUB_KERNEL_MACHINE_DATA_END' (same value).
2N/A
2N/A2008-06-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (open_device): Do not modify sector offset when
2N/A accessing a partition. kern/disk.c already handles this for us.
2N/A
2N/A2008-06-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-emu.c (grub_machine_init): Move code in this function from
2N/A here ...
2N/A (main): ... to here (before grub_util_biosdisk_init() call, to prevent
2N/A segfault in case grub_printf() is called).
2N/A
2N/A * util/i386/pc/grub-install.in: Append `--device-map=${device_map}' to
2N/A grub_probe. Update all users not to explicitly add it again.
2N/A (grub_device): New variable; contains corresponding device for grubdir.
2N/A (fs_module, partmap_module, devabstraction_module): Pass
2N/A `--device ${grub_device}' to grub_probe to avoid traversing /dev
2N/A every time.
2N/A
2N/A2008-06-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/misc.c (grub_normal_print_device_info): When a filesystem UUID
2N/A is found, print it (same layout as with labels).
2N/A
2N/A2008-06-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (get_drive): Rename to ...
2N/A (find_grub_drive): ... this. Update all users.
2N/A
2N/A (get_os_disk): Rename to ...
2N/A (convert_system_partition_to_system_disk): ... this. Update all users.
2N/A
2N/A (find_drive): Rename to ...
2N/A (find_system_device): ... this. Update all users.
2N/A
2N/A2008-06-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (get_os_disk): Handle IDA devices.
2N/A * util/grub-mkdevicemap.c (get_mmc_disk_name)
2N/A (make_device_map): Likewise.
2N/A
2N/A2008-06-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (get_drive): Verify that `map[i].drive' is non-NULL
2N/A before dereferencing it.
2N/A
2N/A * fs/fat.c (struct grub_fat_bpb): Move fat32-specific fields into a
2N/A union with fat12/fat16-specific ones. Add some new fields, including
2N/A `num_serial' for both versions.
2N/A (struct grub_fat_data): Add `uuid' member.
2N/A (grub_fat_mount): Refer to fat32-specific fields in `bpb' by their new
2N/A names. Initialize `data->uuid' using `num_serial'.
2N/A (grub_fat_uuid): New function.
2N/A (grub_fat_fs): Reference grub_fat_uuid() in `uuid' struct member.
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_superblock): Add `uuid' field.
2N/A (grub_reiserfs_uuid): New function.
2N/A (grub_reiserfs_fs): Reference grub_reiserfs_uuid() in `uuid' struct
2N/A member.
2N/A
2N/A * fs/xfs.c (grub_xfs_sblock): Add `uuid' field.
2N/A (grub_xfs_uuid): New function.
2N/A (grub_xfs_fs): Reference grub_reiserfs_uuid() in `uuid' struct member.
2N/A
2N/A2008-06-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): Generate
2N/A code that is backward compatible with pre-uuid search command.
2N/A
2N/A2008-05-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Iterate through
2N/A floppies after everything else, to ensure floppy drive isn't accessed
2N/A unnecessarily (patch from Bean).
2N/A
2N/A2008-05-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/search.c (search_label, search_fs_uuid, search_file): Do
2N/A not print device names when we were asked to set a variable.
2N/A
2N/A2008-05-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_setcursor): Implement
2N/A using "cursor-on" and "cursor-off" commands (understood at least by
2N/A the Open Firmware flavour on OLPC).
2N/A
2N/A2008-05-31 Michael Gorven <michael@gorven.za.net>
2N/A
2N/A * term/terminfo.c (grub_terminfo_set_current): Correct vt100 cursor
2N/A on and off sequences.
2N/A
2N/A2008-05-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in: Replace `grub-probe' with `${grub_probe}'.
2N/A * util/update-grub.in: Likewise.
2N/A
2N/A2008-05-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/biosdisk.c (linux_find_partition): Simplify logic and
2N/A make the code more universal. Keep special processing for
2N/A devfs, but use a simple rule for all other devices. If the
2N/A device ends with a number, append 'p' and the partition number.
2N/A Otherwise, append only the partition number.
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in (GRUB_DISABLE_LINUX_UUID): Export variable.
2N/A * util/grub.d/10_linux.in: If GRUB_DEVICE_UUID is set, and
2N/A GRUB_DISABLE_LINUX_UUID isn't true, use the filesystem UUIDs as
2N/A the `root' parameter to Linux.
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/search.c (options): Rename --fs_uuid to --fs-uuid.
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): Replace
2N/A --fs_uuid with --fs-uuid.
2N/A * util/update-grub.in: Allow filesystem UUID probes to fail (since not
2N/A all filesystems support them).
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/ext2.c (grub_ext2_uuid): Use `04x' instead of '02x' as
2N/A grub_printf() flags, since we're printing in units of 2 bytes.
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Remove obsolete comment referencing
2N/A convert_system_path_to_grub_path().
2N/A * util/update-grub.in: Likewise.
2N/A * util/update-grub_lib.in (is_path_readable_by_grub): New function.
2N/A (convert_system_path_to_grub_path): Add a warning message explaining
2N/A that this function is deprecated. Rely on is_path_readable_by_grub()
2N/A for the readability checks.
2N/A (font_path): Use is_path_readable_by_grub() for the readability
2N/A check rather than convert_system_path_to_grub_path().
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (prepare_grub_to_access_device): New function.
2N/A * util/update-grub.in: Set `GRUB_FONT_PATH' to the system path, without
2N/A converting it first.
2N/A * util/grub.d/00_header.in: Use prepare_grub_to_access_device() to setup
2N/A grub.cfg for access to font file, and afterwards call it again to set
2N/A the root device.
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/search.c (options): Add --fs_uuid option.
2N/A (search_fs_uuid): New function.
2N/A (grub_cmd_search): Fix --set argument passing.
2N/A Use search_fs_uuid() when requested via --fs_uuid.
2N/A (grub_search_init): Update help message.
2N/A * fs/ext2.c (struct grub_ext2_sblock): Rename `unique_id' to `uuid'
2N/A and redeclare it as an array of 16-bit words.
2N/A (grub_ext2_uuid): New function.
2N/A (grub_ext2_fs): Reference grub_ext2_uuid() in `uuid' struct member.
2N/A * include/grub/fs.h (struct grub_fs): Add `uuid' struct member.
2N/A * util/update-grub.in (GRUB_DEVICE_UUID, GRUB_DEVICE_BOOT)
2N/A (GRUB_DEVICE_BOOT_UUID): New variables.
2N/A (GRUB_DRIVE. GRUB_DRIVE_BOOT. GRUB_DRIVE_BOOT_GRUB): Remove.
2N/A * util/grub.d/00_header.in: Set root using `search --fs_uuid' command
2N/A whenever possible.
2N/A * util/grub.d/10_hurd.in: Avoid explicit use of root drive. Instead,
2N/A just assume `root' variable has the right value.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/grub-probe.c (probe): Probe for filesystem UUID when requested
2N/A via PRINT_FS_UUID.
2N/A (main): Recognise `-t fs_uuid' argument.
2N/A
2N/A2008-05-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (map): Redefine structure to hold information
2N/A about GRUB drive name.
2N/A (get_drive): Reimplement without assuming (and verifying) BIOS-like
2N/A drive names.
2N/A (call_hook): Remove.
2N/A (grub_util_biosdisk_iterate): Access drive names via `.drive' struct
2N/A member. Assume drive has partitions.
2N/A (grub_util_biosdisk_open): Access device names via `.device' struct
2N/A member.
2N/A (open_device): Likewise.
2N/A (find_drive): Likewise.
2N/A (read_device_map): Adjust map[] usage to match the new struct
2N/A definition. Don't check for duplicates (still possible, but not cheap
2N/A anymore).
2N/A (grub_util_biosdisk_fini): Free malloced buffers referenced by map[].
2N/A (make_device_name): Remove assumption of BIOS-like drive names.
2N/A
2N/A2008-05-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Remove, as
2N/A compiling execute.c doesn't need grub_script.tab.h anymore.
2N/A (normal/command.c_DEPENDENCIES): Likewise.
2N/A (normal/function.c_DEPENDENCIES): Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-linuxbios.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A
2N/A2008-05-29 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Check for the buffer end
2N/A when scanning metadata for volume group name.
2N/A
2N/A * include/grub/script.h: Don't include grub_script.tab.h. It's
2N/A a generated file, which may only be included from the files with
2N/A DEPENDENCIES rules in the makefile. Don't use typedef YYSTYPE,
2N/A use union YYSTYPE, as the later allows forward declaration.
2N/A * normal/lexer.c: Don't use typedef YYSTYPE, use union YYSTYPE.
2N/A
2N/A2008-05-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/at_keyboard.c: Include `grub/machine/machine.h'.
2N/A (OLPC_UP, OLPC_DOWN, OLPC_LEFT, OLPC_RIGHT): New macros.
2N/A [GRUB_MACHINE_IEEE1275] (keyboard_map): Add OLPC scan codes
2N/A (grub_console_checkkey): Add grub_dprintf() call to report unknown
2N/A scan codes.
2N/A
2N/A2008-05-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/at_keyboard.c (grub_console_checkkey): Add support for
2N/A control key combinations.
2N/A
2N/A2008-05-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Move from here ...
2N/A * util/ieee1275/grub-install.in: ... to here.
2N/A * powerpc-ieee1275.rmk (grub_install_SOURCES): Update location.
2N/A * i386-ieee1275.rmk (sbin_SCRIPTS): New variable.
2N/A (grub_install_SOURCES): Likewise.
2N/A
2N/A2008-05-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * fs/affs.c: Update copyright year.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/fshelp.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/ntfs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * include/grub/fshelp.h: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A
2N/A2008-05-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Allow chmod call to fail, since /boot/grub/
2N/A might need to be fatfs to support some firmware implementations
2N/A (e.g. OFW or EFI).
2N/A
2N/A2008-05-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC
2N/A devices.
2N/A * util/grub-mkdevicemap.c (get_mmc_disk_name)
2N/A (make_device_map): Likewise.
2N/A
2N/A2008-05-20 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/fshelp.c (grub_fshelp_map_block): New function.
2N/A (grub_fshelp_find_file): Use 64-bit type for pos and block address.
2N/A Use `>>' and `&' operator to avoid 64-bit divide and modulo.
2N/A
2N/A * include/grub/fshelp.h (grub_fshelp_journal_type): New enum.
2N/A (GRUB_FSHELP_JOURNAL_UNUSED_MAPPING): New macro.
2N/A (grub_fshelp_journal): New structure.
2N/A (grub_fshelp_map_block): New function prototype.
2N/A (grub_fshelp_read_file): Use grub_disk_addr_t as block type.
2N/A (grub_fshelp_map_block): Likewise.
2N/A
2N/A * fs/ext2.c (EXT3_FEATURE_COMPAT_HAS_JOURNAL): New macro.
2N/A (EXT3_JOURNAL_MAGIC_NUMBER): Likewise.
2N/A (EXT3_JOURNAL_DESCRIPTOR_BLOCK): Likewise.
2N/A (EXT3_JOURNAL_COMMIT_BLOCK): Likewise.
2N/A (EXT3_JOURNAL_SUPERBLOCK_V1): Likewise.
2N/A (EXT3_JOURNAL_SUPERBLOCK_V2): Likewise.
2N/A (EXT3_JOURNAL_REVOKE_BLOCK): Likewise.
2N/A (EXT3_JOURNAL_FLAG_ESCAPE): Likewise.
2N/A (EXT3_JOURNAL_FLAG_SAME_UUID): Likewise.
2N/A (EXT3_JOURNAL_FLAG_DELETED): Likewise.
2N/A (EXT3_JOURNAL_FLAG_LAST_TAG): Likewise.
2N/A (grub_ext2_sblock): New members for journal support.
2N/A (grub_ext3_journal_header): New structure.
2N/A (grub_ext3_journal_revoke_header): Likewise.
2N/A (grub_ext3_journal_block_tag): Likewise.
2N/A (grub_ext3_journal_sblock): Likewise.
2N/A (grub_fshelp_node): New members logfile and journal.
2N/A (grub_ext2_read_block): Change block type to grub_disk_addr_t. Use
2N/A grub_fshelp_map_block to get real block number.
2N/A (grub_ext2_blockgroup): Use grub_fshelp_map_block to get real block
2N/A number.
2N/A (grub_ext2_read_inode): Likewise.
2N/A (grub_ext3_get_journal): New function.
2N/A (grub_read_inode): Initialize journal using grub_ext3_get_journal.
2N/A (grub_ext2_close): Release memory used by journal.
2N/A
2N/A * fs/reiserfs.c (REISERFS_MAGIC_STRING): Changed to "ReIsEr".
2N/A (REISERFS_MAGIC_DESC_BLOCK): New macro.
2N/A (grub_reiserfs_transaction_header): Renamed to
2N/A grub_reiserfs_description_block, replace field data with real_blocks.
2N/A (grub_reiserfs_commit_block): New structure.
2N/A (grub_reiserfs_data): New member journal.
2N/A (grub_reiserfs_get_item): Use grub_fshelp_map_block to get real block
2N/A number.
2N/A (grub_reiserfs_read_symlink): Likewise.
2N/A (grub_reiserfs_iterate_dir): Likewise.
2N/A (grub_reiserfs_open): Likewise.
2N/A (grub_reiserfs_read): Likewise.
2N/A (grub_reiserfs_get_journal): New function.
2N/A (grub_reiserfs_mount): Use "ReIsEr" as super block magic, as there are
2N/A three varieties ReIsErFs, ReIsEr2Fs and ReIsEr3Fs. Initialize journal
2N/A using grub_reiserfs_get_journal.
2N/A (grub_reiserfs_close): Release memory used by journal.
2N/A
2N/A * fs/affs.c (grub_affs_read_block): Change block type to
2N/A grub_disk_addr_t. Use grub_divmod64 to do 64-bit division.
2N/A
2N/A * fs/afs.c (grub_afs_read_block): Change block type to grub_disk_addr_t.
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_read_block): Likewise.
2N/A
2N/A * fs/ntfs.c (grub_ntfs_read_block): Likewise.
2N/A
2N/A * fs/udf.c (grub_udf_read_block): Change block type to
2N/A grub_disk_addr_t. Use type cast to avoid warning.
2N/A
2N/A * fs/xfs.c (grub_xfs_read_block): Likewise.
2N/A
2N/A2008-05-16 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/cat.c (grub_cmd_cat): Remove non-ESC keys from keyboard queue
2N/A to ensure that break with ESC will always work.
2N/A * commands/sleep.c (grub_interruptible_millisleep): Likewise.
2N/A Remove ESC from keyboard queue.
2N/A
2N/A2008-05-16 Christian Franke <franke@computer.org>
2N/A
2N/A * util/biosdisk.c: [__CYGWIN__] Add includes.
2N/A (grub_util_biosdisk_open): Use Linux code also for Cygwin.
2N/A (get_os_disk): Move variable declarations to OS specific
2N/A parts to avoid warning.
2N/A [__GNU__] (get_os_disk): Fix /dev/sdXsN case.
2N/A [__CYGWIN__] (get_os_disk): Add Cygwin /dev/sdXN device names.
2N/A (grub_util_biosdisk_get_grub_dev): Use Linux code also for
2N/A Cygwin.
2N/A * util/getroot.c: [__CYGWIN__] Add includes.
2N/A (strip_extra_slashes): Fix "/" case.
2N/A [__CYGWIN__] (get_win32_path): New function.
2N/A [__CYGWIN__] (grub_get_prefix): Add conversion to win32 path.
2N/A [__CYGWIN__] (find_root_device): Disable.
2N/A [__CYGWIN__] (get_bootsec_serial): New function.
2N/A [__CYGWIN__] (find_cygwin_root_device): Likewise.
2N/A [__linux__] (grub_guess_root_device): Add early returns to simplify
2N/A structure.
2N/A [__CYGWIN__] (grub_guess_root_device): Call find_cygwin_root_device.
2N/A [__linux__] (grub_util_get_dev_abstraction): Enable LVM and RAID
2N/A check for Linux only.
2N/A
2N/A2008-05-15 Bean <bean123ch@gmail.com>
2N/A
2N/A * kern/i386/pc/startup.S (grub_console_getkey): Workaround for the
2N/A keyboard hang problem in apple's intel mac.
2N/A
2N/A2008-05-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (linux_find_partition, get_os_disk): Handle Virtio
2N/A devices.
2N/A * util/grub-mkdevicemap.c (get_virtio_disk_name)
2N/A (make_device_map): Likewise.
2N/A Reported by Aurelien Jarno <aurel32@debian.org>
2N/A
2N/A2008-05-07 Ian Campbell <ijc@hellion.org.uk>
2N/A
2N/A * util/biosdisk.c (get_os_disk): Recognise xvd type disks.
2N/A * util/grub-mkdevicemap.c (get_xvd_disk_name): New function.
2N/A (make_device_map): Output entries for xvd type disks.
2N/A
2N/A2008-05-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (linux_find_partition, get_os_disk): Handle CCISS
2N/A devices.
2N/A * util/grub-mkdevicemap.c (get_cciss_disk_name)
2N/A (make_device_map): Likewise.
2N/A Reported by Roland Dreier <rdreier@cisco.com>
2N/A
2N/A2008-05-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Detect errors in an additional
2N/A grub_strstr() call. Correct a few mistakes in failure path handling.
2N/A
2N/A2008-05-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (make_system_path_relative_to_its_root):
2N/A Do not print a trailing slash (therefore, the root directory is an
2N/A empty string).
2N/A (convert_system_path_to_grub_path): Do not remove trailing slash
2N/A from make_system_path_relative_to_its_root() output.
2N/A
2N/A * util/i386/pc/grub-install.in: Add trailing slash to output from
2N/A make_system_path_relative_to_its_root().
2N/A
2N/A2008-05-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-fstest.c (grub_refresh): Call `fflush (stdout)'. This
2N/A ensures that output lines aren't intermangled with those sent to
2N/A stderr (via grub_util_info()).
2N/A * util/grub-probe.c (grub_refresh): Likewise.
2N/A * util/i386/pc/grub-setup.c (grub_refresh): Likewise.
2N/A
2N/A2008-05-05 Christian Franke <franke@computer.org>
2N/A
2N/A * util/grub-mkdevicemap.c (get_floppy_disk_name) [__CYGWIN__]:
2N/A Add Cygwin device names.
2N/A (get_ide_disk_name) [__CYGWIN__]: Likewise.
2N/A (get_scsi_disk_name) [__CYGWIN__]: Likewise.
2N/A (check_device): Return error instead of success on empty name.
2N/A (make_device_map): Move label inside linux specific code to
2N/A prevent compiler warning.
2N/A
2N/A2008-04-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Based on patch from Fabian Greffrath <greffrath@leat.rub.de>
2N/A * util/grub.d/10_linux.in: Add ${GRUB_CMDLINE_LINUX_DEFAULT} to the
2N/A first boot option.
2N/A * util/update-grub.in: Export GRUB_CMDLINE_LINUX_DEFAULT.
2N/A
2N/A2008-04-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * docs/grub.cfg: New file (example GRUB configuration).
2N/A
2N/A2008-04-26 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * DISTLIST: Sort (sort -u < DISTLIST | sponge DISTLIST). Add
2N/A `loader/i386/ieee1275/linux.c', `loader/i386/ieee1275/linux_normal.c'
2N/A and `disk/ieee1275/nand.c'.
2N/A
2N/A2008-04-25 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in (RMKFILES): Add missing arch i386-ieee1275 and
2N/A i386-linuxbios.
2N/A
2N/A * commands/hexdump.c (grub_cmd_hexdump): Support dumping of device,
2N/A change the buffer size to 4096 for cdrom device.
2N/A
2N/A * conf/i386-ieee1275.rmk (pkglib_MODULES): Add _linux.mod, linux.mod
2N/A and nand.mod.
2N/A (_linux_mod_SOURCES): New variable.
2N/A (_linux_mod_CFLAGS): Likewise.
2N/A (_linux_mod_LDFLAGS): Likewise.
2N/A (linux_mod_SOURCES): Likewise.
2N/A (linux_mod_CFLAGS): Likewise.
2N/A (linux_mod_LDFLAGS): Likewise.
2N/A (nand_mod_SOURCES): Likewise.
2N/A (nand_mod_CFLAGS): Likewise.
2N/A (nand_mod_LDFLAGS): Likewise.
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Return
2N/A GRUB_ERR_UNKNOWN_DEVICE instead of GRUB_ERR_BAD_DEVICE if no device
2N/A type property. (nand device in olpc don't have this property)
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): New macro
2N/A GRUB_DISK_DEVICE_NAND_ID.
2N/A
2N/A * include/grub/i386/ieee1275/loader.h (grub_rescue_cmd_linux): New
2N/A function prototype.
2N/A (grub_rescue_cmd_initrd): Likewise.
2N/A
2N/A * include/grub/i386/linux.h (GRUB_LINUX_OFW_SIGNATURE): New macro.
2N/A (linux_kernel_params): Add new member ofw_signature, ofw_num_items,
2N/A ofw_cif_handler and ofw_idt, adjust padding number.
2N/A
2N/A * include/grub/i386/pc/memory.h (grub_upper_mem): Export it if
2N/A GRUB_MACHINE_IEEE1275 is defined.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_available_iterate):
2N/A Use NESTED_FUNC_ATTR attribute on the hook parameter.
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_claim_heap): Use NESTED_FUNC_ATTR
2N/A on nested function heap_init.
2N/A (grub_upper_mem): New variable for i386-ieee1275.
2N/A (grub_get_extended_memory): New function for i386-ieee1275.
2N/A (grub_machine_init): Call grub_get_extended_memory for i386-ieee1275.
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Use
2N/A NESTED_FUNC_ATTR on the hook parameter. Don't quit if no device type
2N/A property.
2N/A
2N/A * loader/i386/ieee1275/linux.c: New file.
2N/A
2N/A * loader/i386/ieee1275/linux_normal.c: New file.
2N/A
2N/A * disk/ieee1275/nand.c: New file.
2N/A
2N/A2008-04-18 Thomas Schwinge <tschwinge@gnu.org>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in (grub_mkimage): Don't overwrite correct
2N/A value.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Likewise.
2N/A
2N/A2008-04-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Restructures early code path on ieee1275 to unify grub_main() as
2N/A the first C function that is executed in every platform.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_init): New prototype.
2N/A * kern/i386/ieee1275/startup.S (_start): Jump to grub_main() instead of
2N/A cmain().
2N/A * kern/powerpc/ieee1275/crt0.S (_start): Likewise.
2N/A * kern/ieee1275/cmain.c (cmain): Rename to ...
2N/A * kern/ieee1275/cmain.c (grub_ieee1275_init): ... this.
2N/A * kern/ieee1275/init.c (grub_machine_init): Call grub_ieee1275_init()
2N/A at the beginning.
2N/A
2N/A2008-04-18 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Fix syntax error when setting
2N/A `GRUB_PRELOAD_MODULES'.
2N/A Reported by Stephane Chazelas <stephane@artesyncp.com>
2N/A
2N/A2008-04-17 Lubomir Kundrak <lkundrak@redhat.com>
2N/A
2N/A * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): take only .text
2N/A section into account, newer toolchains generate unique build ids
2N/A * configure.ac: remove the test for --build-id=none acceptance,
2N/A we want build ids to be preserved
2N/A * genmk.rb: add -R .note.gnu.build-id to objcopy, so build id
2N/A far from other sections don't cause the raw binary images grow
2N/A size
2N/A
2N/A2008-04-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/lvm.c: Update copyright year.
2N/A * kern/misc.c: Likewise.
2N/A
2N/A2008-04-14 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Add forgotten failure path when
2N/A there is no memory left for physical volume name.
2N/A
2N/A2008-04-14 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Fix logical volume's physical
2N/A volume name mapping to support bigger than 9 character names properly.
2N/A
2N/A2008-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Fix CHS limit check,
2N/A as per http://www.allensmith.net/Storage/HDDlimit/Int13h.htm
2N/A
2N/A2008-04-13 Christian Franke <franke@computer.org>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Add --emulation=floppy
2N/A to create a floppy emulation boot CD when non emulation mode
2N/A does not work.
2N/A Enable Joliet CD filesystem extension.
2N/A
2N/A2008-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/misc.c (grub_strncat): Fix off-by-one error.
2N/A Reported by Zhang Huan <zhanghuan@nrchpc.ac.cn>
2N/A
2N/A * kern/env.c (grub_env_context_close): Clear current context, not
2N/A previous one.
2N/A Patch from Zhang Huan <zhanghuan@nrchpc.ac.cn>
2N/A
2N/A * kern/misc.c (grub_strcat): Minor speed optimization (same code size).
2N/A
2N/A2008-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Improve robustness when handling LVM.
2N/A
2N/A * disk/lvm.c (grub_lvm_getvalue): Return 0 when `*p' is NULL
2N/A (and leave `*p' unmodified).
2N/A (grub_lvm_iterate): Don't assume `vg->lvs != NULL' when iterating
2N/A through it.
2N/A (grub_lvm_memberlist): Don't assume `lv->vg->pvs != NULL' when
2N/A iterating through it.
2N/A (grub_lvm_open): Don't assume `vg->lvs != NULL' when iterating
2N/A through it.
2N/A (grub_lvm_scan_device): Check the return value (and fail gracefully
2N/A when due) on each grub_lvm_getvalue() or grub_strstr() call.
2N/A Don't assume `vg->pvs != NULL' when iterating through it.
2N/A
2N/A2008-04-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * gendistlist.sh (EXTRA_DISTFILES): Add `genpartmaplist.sh'.
2N/A * genmk.rb (partmap): New variable.
2N/A (CLEANFILES, PARTMAPFILES): Add #{partmap}.
2N/A (#{partmap}): New target rule.
2N/A * genpartmaplist.sh: New file.
2N/A * Makefile.in (pkglib_DATA): Add partmap.lst.
2N/A (partmap.lst): New target rule.
2N/A * util/i386/pc/grub-mkrescue.in: Generate grub.cfg that loads needed
2N/A modules (including all partition maps), instead of preloading them.
2N/A
2N/A2007-04-13 Fabian Greffrath <fabian.greffrath@web.de>
2N/A
2N/A * util/grub.d/30_os-prober.in: New script. Use `os-prober' and
2N/A `linux-boot-prober' (if installed) to detect other operating
2N/A systems which are installed on the computer and add them to
2N/A the boot menu.
2N/A * conf/common.rmk: Build and install 30_os-prober.
2N/A
2N/A2008-04-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/init.c: Move from here ...
2N/A * kern/ieee1275/init.c: ... to here. Update all users.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c: Move from here ...
2N/A * kern/ieee1275/cmain.c: ... to here. Update all users.
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c: Move from here ...
2N/A * kern/ieee1275/openfw.c: ... to here. Update all users.
2N/A
2N/A * loader/powerpc/ieee1275/multiboot2.c: Move from here ...
2N/A * loader/ieee1275/multiboot2.c: ... to here. Update all users.
2N/A
2N/A2008-04-10 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Always use "_cv_" in cache variables for
2N/A compatibility with Autoconf 2.62.
2N/A
2N/A2008-04-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Revert grub/machine/init.h addition by Pavel (since it breaks on
2N/A i386-ieee1275 and others):
2N/A * util/i386/pc/misc.c: Remove grub/machine/init.h.
2N/A * util/powerpc/ieee1275/misc.c: Likewise.
2N/A
2N/A2008-04-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-probe.c (probe): Improve error message.
2N/A
2N/A2008-04-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (read_device_map): Skip devices that don't exist
2N/A (this prevents the presence of a bogus entry from ruining the whole
2N/A thing).
2N/A
2N/A2008-04-06 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/biosdisk.c: Include grub/util/biosdisk.h.
2N/A * util/grub-fstest.c (execute_command): Make static.
2N/A * util/grub-mkdevicemap.c (check_device): Likewise.
2N/A * util/i386/pc/misc.c: Include grub/machine/init.h.
2N/A * util/powerpc/ieee1275/misc.c: Likewise.
2N/A * util/lvm.c: Include grub/util/lvm.h.
2N/A * util/misc.c: Include grub/kernel.h, grub/misc.h and
2N/A grub/cache.h.
2N/A * util/raid.c: Include grub/util/raid.h.
2N/A (grub_util_getdiskname): Make static.
2N/A
2N/A * util/grub-emu.c (main): Remove calls to grub_hostfs_init() and
2N/A grub_hostfs_fini(), as they are called from grub_init_all() and
2N/A grub_fini_all() respectively. This fixes an infinite loop in
2N/A grub-fstest due to double registration of hostfs.
2N/A Reported by Christian Franke <Christian.Franke@t-online.de>
2N/A
2N/A2008-04-05 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * bus/pci.c (grub_pci_iterate): For multifunction devices, probe
2N/A all 8 functions. Otherwise, probe function 0 only.
2N/A
2N/A2008-04-04 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * commands/lspci.c (grub_lspci_iter): Print the bus number
2N/A correctly.
2N/A
2N/A * commands/lspci.c (grub_pci_classes): Fix typos.
2N/A (grub_lspci_iter): Don't print func twice. Print vendor ID
2N/A before device ID, as it's normally done.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options):
2N/A Fix signedness warnings.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_available_iterate):
2N/A Likewise.
2N/A * util/ieee1275/get_disk_name.c: Include config.h so that
2N/A _GNU_SOURCE is defined and getline() is declared. Mark an
2N/A unused argument as such. Fix a signedness warning.
2N/A
2N/A2008-04-02 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * genkernsyms.sh.in: Use more robust assignments for CC and
2N/A srcdir. Quote srcdir.
2N/A * gensymlist.sh.in: Likewise. Assert at the compile time that
2N/A the symbol table is not empty.
2N/A
2N/A * disk/raid.c (grub_raid_memberlist): Fix a signedness warning.
2N/A * fs/cpio.c (grub_cpio_read): Likewise.
2N/A
2N/A2008-04-01 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_open): Don't lose precision in disk->id.
2N/A * disk/host.c (grub_host_open): Likewise.
2N/A * disk/loopback.c (grub_loopback_open): Likewise.
2N/A * disk/memdisk.c (grub_memdisk_open): Use a string pointer for
2N/A disk->id as in disk/host.c, not a multi-character constant.
2N/A
2N/A * util/grub-fstest.c (cmd_cmp): Use fseeko(), not fseek(). The
2N/A later is obsolete, potentially dangerous and sets a bad example.
2N/A * util/i386/efi/grub-mkimage.c (make_header): Likewise.
2N/A * util/misc.c (grub_util_get_image_size): Likewise.
2N/A
2N/A * disk/loopback.c (options): Improve help for "--partitions".
2N/A
2N/A * normal/arg.c (grub_arg_show_help): Fix spacing of the long
2N/A options to align them with the short options, e.g. "echo -e".
2N/A
2N/A2008-03-31 Bean <bean123ch@gmail.com>
2N/A
2N/A * video/reader/png.c (grub_png_data): New member is_16bit and
2N/A image_data.
2N/A (grub_png_decode_image_header): Detect 16 bit png image.
2N/A (grub_png_convert_image): New function to convert 16 bit image to 8 bit.
2N/A (grub_png_decode_png): Call grub_png_convert_image for 16 bit image.
2N/A (grub_video_reader_png): Release memory occupied by image_data.
2N/A
2N/A * fs/ntfs.c (find_attr): Handle non-resident attribute list larger than
2N/A 4096 bytes.
2N/A (grub_nfs_mount): Skip the test for sector per cluster.
2N/A
2N/A * include/grub/ntfs.h (MAX_SPC): Removed.
2N/A
2N/A2008-03-31 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add afs.mod.
2N/A (grub_probe_SOURCES): Add fs/afs.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (afs_mod_SOURCES): New variable.
2N/A (afs_mod_CFLAGS): Likewise.
2N/A (afs_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/afs.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * fs/afs.c: New file.
2N/A
2N/A2008-03-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/host.c: Include grub/misc.h to fix a warning.
2N/A * util/hostfs.c: Use GRUB_MOD_INIT and GRUB_MOD_FINI to fix
2N/A warnings about implicit declarations.
2N/A
2N/A * fs/udf.c (grub_udf_mount): Fix warning about a shadowing a
2N/A variable.
2N/A * include/grub/i386/loader.h: Change declaration of
2N/A grub_linux_boot() to match what grub_loader_set() expects.
2N/A * util/getroot.c (grub_guess_root_device): Return const char* to
2N/A fix a warning.
2N/A * util/grub-probe.c (probe): Fix a warning about uninitialized
2N/A abstraction_name variable.
2N/A * util/i386/get_disk_name.c (grub_util_get_disk_name): Mark
2N/A second argument as unused to fix a warning.
2N/A
2N/A * loader/i386/pc/multiboot2.c (grub_mb2_arch_elf64_hook): Add
2N/A missing grub_error() call.
2N/A
2N/A * util/update-grub_lib.in: Define datarootdir, since Autoconf
2N/A 2.60 and newer uses it to define datadir.
2N/A
2N/A * commands/sleep.c: Fix warning about implicit declaration.
2N/A * disk/memdisk.c: Likewise.
2N/A * loader/aout.c: Likewise.
2N/A * loader/i386/bsd_normal.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A
2N/A * commands/i386/cpuid.c (has_longmode): Make static.
2N/A * disk/i386/pc/biosdisk.c (cd_drive): Likewise.
2N/A * include/grub/i386/bsd.h (bios_memmap_t): Remove, it's unused.
2N/A
2N/A * kern/i386/pc/startup.S (real_to_prot): Use %cs prefix to load
2N/A GDT. This is more robust, as %ds can change.
2N/A (grub_biosdisk_rw_int13_extensions): Don't clear %ds before
2N/A calling real_to_prot().
2N/A (grub_biosdisk_get_diskinfo_int13_extensions): Likewise.
2N/A
2N/A2008-03-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/pc/startup.S: Assert that uncompressed functions
2N/A don't spill beyond GRUB_KERNEL_MACHINE_RAW_SIZE.
2N/A * kern/i386/pc/lzo1x.S: Remove all .align directives in the
2N/A code, as they push parts of the code (error handlers) beyond
2N/A GRUB_KERNEL_MACHINE_RAW_SIZE. Speed is not as important in this
2N/A code as correctness and size.
2N/A
2N/A2008-03-28 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/pc/startup.S
2N/A (grub_biosdisk_get_diskinfo_int13_extensions): When converting
2N/A data block address to the real mode, keep offset minimal. This
2N/A works around a bug in AWARD BIOS on old Athlon systems, which
2N/A makes CD detection hang.
2N/A
2N/A2008-03-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * normal/color.c (grub_parse_color_name_pair): Make `name' a
2N/A const.
2N/A * include/grub/normal.h: Add grub_parse_color_name_pair()
2N/A declaration.
2N/A
2N/A2008-03-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (cd_start): Removed.
2N/A (cd_count): Removed.
2N/A (cd_drive): New variable.
2N/A (grub_biosdisk_get_drive): Don't check for (cdN) device.
2N/A (grub_biosdisk_call_hook): Likewise.
2N/A (grub_biosdisk_iterate): Change cdrom detection method.
2N/A (grub_biosdisk_open): Replace cd_start with cd_drive.
2N/A (GRUB_MOD_INIT): Use grub_biosdisk_get_cdinfo_int13_extension to
2N/A detect cdrom device.
2N/A
2N/A * include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_MACHINE_CDROM_START):
2N/A Removed.
2N/A (GRUB_BIOSDISK_MACHINE_CDROM_END): Removed.
2N/A (GRUB_BIOSDISK_CDTYPE_NO_EMUL): New macro.
2N/A (GRUB_BIOSDISK_CDTYPE_1_2_M): Likewise.
2N/A (GRUB_BIOSDISK_CDTYPE_1_44_M): Likewise.
2N/A (GRUB_BIOSDISK_CDTYPE_2_88_M): Likewise.
2N/A (GRUB_BIOSDISK_CDTYPE_HARDDISK): Likewise.
2N/A (GRUB_BIOSDISK_CDTYPE_MASK): Likewise.
2N/A (grub_biosdisk_cdrp): New structure.
2N/A (grub_biosdisk_get_cdinfo_int13_extensions): New function.
2N/A
2N/A * include/grub/i386/pc/kernel.h (grub_boot_drive): Export this variable.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Don't use (cdN) as root
2N/A device.
2N/A
2N/A * kern/i386/pc/startup.S (grub_biosdisk_get_cdinfo_int13_extensions):
2N/A New function.
2N/A
2N/A2008-03-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Remove 2 TiB limit in ata.mod.
2N/A * disk/ata.c (grub_ata_device): Promote `size' to grub_uint64_t.
2N/A (grub_ata_dumpinfo): Print sector count with 0x%llx.
2N/A (grub_ata_identify): Interpret `&info16[100]' as a pointer to
2N/A grub_uint64_t instead of grub_uint32_t.
2N/A
2N/A2008-03-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_get_bootdev): New function.
2N/A (grub_multiboot): Set boot device.
2N/A
2N/A * boot/i386/pc/lnxboot.S (real_code_2): Set %dh to 0xFF.
2N/A
2N/A2008-03-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_read_symlink): Add 0 at the end of
2N/A symlink_buffer.
2N/A
2N/A2008-03-01 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added docs/fdl.texi, docs/grub.texi, docs/mdate-sh and
2N/A texinfo.tex.
2N/A
2N/A * docs/grub.texi: New file. Copied from GRUB Legacy, and slightly
2N/A modified.
2N/A
2N/A * docs/fdl.texi: New file.
2N/A
2N/A * docs/mdate-sh: New file. Copied from gnulib.
2N/A * docs/texinfo.tex: Likewise.
2N/A
2N/A * config.guess: Updated from gnulib.
2N/A * install-sh: Likewise.
2N/A
2N/A2008-02-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-linuxbios.rmk (pkglib_MODULES): Add aout.mod.
2N/A (aout_mod_SOURCES): New variable.
2N/A (aout_mod_CFLAGS): Likewise.
2N/A (aout_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A
2N/A2008-02-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Reorganise terminal validity check. Accept
2N/A `ieee1275:console' (OLPC) and `*:gfxterm' as valid too.
2N/A Based on suggestion by Franklin PIAT.
2N/A
2N/A2008-02-28 Fabian Greffrath <greffrath@leat.rub.de>
2N/A
2N/A * include/grub/util/getroot.h (grub_util_check_block_device): Export new
2N/A function.
2N/A * util/getroot.c (grub_util_check_block_device): New function that
2N/A returns the given argument if it is a block device and returns NULL else.
2N/A * util/grub-probe.c (argument_is_device): New variable.
2N/A (probe): Promote device_name from a variable to an argument. Receive
2N/A device_name from grub_util_check_block_device() if path is NULL and from
2N/A grub_guess_root_device() else. Do not free() device_name anymore.
2N/A (options): Introduce new parameter '-d, --device'.
2N/A (main): Add description of the new parameter to the help screen.
2N/A Rename path variable to argument. Set argument_is_device if the '-d'
2N/A option is given. Pass argument to probe() depending on
2N/A argument_is_device.
2N/A
2N/A2008-02-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/iso9660.c (GRUB_ISO9660_VOLDESC_BOOT): New macro.
2N/A (GRUB_ISO9660_VOLDESC_PRIMARY): Likewise.
2N/A (GRUB_ISO9660_VOLDESC_SUPP): Likewise.
2N/A (GRUB_ISO9660_VOLDESC_PART): Likewise.
2N/A (GRUB_ISO9660_VOLDESC_END): Likewise.
2N/A (grub_iso9660_primary_voldesc): New member escape.
2N/A (grub_iso9660_data): New member joliet.
2N/A (grub_iso9660_convert_string): New function.
2N/A (grub_iso9660_mount): Detect joliet extension.
2N/A (grub_iso9660_iterate_dir): Convert filename when joliet is detected.
2N/A (grub_iso9660_iso9660_label): Likewise.
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add udf.mod.
2N/A (grub_setup_SOURCES): Add fs/udf.c.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A (udf_mod_SOURCES): New variable.
2N/A (udf_mod_CFLAGS): Likewise.
2N/A (udf_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/udf.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * fs/udf.c: New file.
2N/A
2N/A2008-02-24 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): New variables.
2N/A * conf/i386-ieee1275.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): Likewise.
2N/A * conf/i386-linuxbios.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): Likewise.
2N/A * conf/i386-pc.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (normal/function.c_DEPENDENCIES)
2N/A (normal/lexer.c_DEPENDENCIES): Likewise.
2N/A
2N/A2008-02-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * partmap/gpt.c (grub_gpt_magic): Add `0x' qualifier to each member,
2N/A since they were intended to be in hex. This didn't break previously
2N/A because of a bug in gpt_partition_map_iterate() (see below).
2N/A
2N/A (gpt_partition_map_iterate): Replace `grub_memcmp' with `! grub_memcmp'
2N/A when checking the validity of GPT header.
2N/A Remove `partno', since it always provides the same information as `i'.
2N/A
2N/A2008-02-21 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/grub/efi/time.h: Fix a wrong comment.
2N/A
2N/A2008-02-19 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/rescue.c (grub_enter_rescue_mode): Improve initial
2N/A message.
2N/A
2N/A2008-02-19 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add aout.mod _bsd.mod and bsd.mod.
2N/A (aout_mod_SOURCES): New variable.
2N/A (aout_mod_CFLAGS): Likewise.
2N/A (aout_mod_LDFLAGS): Likewise.
2N/A (_bsd_mod_SOURCES): New variable.
2N/A (_bsd_mod_CFLAGS): Likewise.
2N/A (_bsd_mod_LDFLAGS): Likewise.
2N/A (bsd_mod_SOURCES): New variable.
2N/A (bsd_mod_CFLAGS): Likewise.
2N/A (bsd_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/aout.h: New file.
2N/A
2N/A * include/grub/i386/loader.h (grub_unix_real_boot): New function.
2N/A
2N/A * include/grub/i386/bsd.h: New file.
2N/A
2N/A * include/grub/i386/pc/init.h (grub_get_mmap_entry): Use EXPORT_FUNC
2N/A to make it public.
2N/A
2N/A * kern/elf.c (grub_elf32_load): Get the physical address after the hook
2N/A function is called, so that it's possible to change it inside the hook.
2N/A (grub_elf64_load): Likewise.
2N/A (grub_elf_file): Don't close the file if elf header is not found.
2N/A (grub_elf_close): Close the file if grub_elf_file fails (The new
2N/A grub_elf_file won't close it).
2N/A (grub_elf32_size): Use NESTED_FUNC_ATTR for nested function calcsize.
2N/A (grub_elf64_size): Likewise.
2N/A
2N/A * kern/i386/loader.S (grub_unix_real_boot): New function.
2N/A
2N/A * loader/aout.c: New file.
2N/A
2N/A * loader/i386/bsd.c: New file.
2N/A
2N/A * loader/i386/bsd_normal.c: New file.
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot): Handle a.out format.
2N/A
2N/A * loader/multiboot2.c (grub_multiboot2): Reset grub_errno so that it
2N/A can test other formats.
2N/A
2N/A2008-02-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * partmap/gpt.c: Include `<grub/gpt_partition.h>'.
2N/A (grub_gpt_partition_type_empty): Redefine with macro from
2N/A `<grub/gpt_partition.h>'.
2N/A (gpt_partition_map_iterate): Adjust partition type comparison.
2N/A
2N/A Export `entry' as partmap-specific `part.data' struct.
2N/A (grub_gpt_header, grub_gpt_partentry): Move from here ...
2N/A
2N/A * include/grub/gpt_partition.h (grub_gpt_header)
2N/A (grub_gpt_partentry): ... to here (new file).
2N/A
2N/A * util/i386/pc/grub-setup.c: Include `<grub/gpt_partition.h>'.
2N/A
2N/A (grub_gpt_partition_type_bios_boot): New const variable, defined
2N/A with macro from `<grub/gpt_partition.h>'.
2N/A
2N/A (setup): Replace `first_start' with `embed_region', which keeps
2N/A track of the embed region (and is partmap-agnostic).
2N/A
2N/A Replace find_first_partition_start() with find_usable_region(),
2N/A which finds a usable region for embedding using partmap-specific
2N/A knowledge (supports PC/MSDOS and GPT).
2N/A
2N/A Fix all assumptions that the embed region start at sector 1, using
2N/A `embed_region.start' from now on. Similarly, use `embed_region.end'
2N/A rather than `first_start' to calculate available size.
2N/A
2N/A In grub_util_info() message, replace "into after the MBR" with an
2N/A indication of the specific sector our embed region starts at.
2N/A
2N/A2008-02-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * DISTLIST: Replace `commands/ieee1275/halt.c' and
2N/A `commands/ieee1275/reboot.c' with `commands/halt.c' and
2N/A `commands/reboot.c'.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES, reboot_mod_SOURCES)
2N/A (halt_mod_SOURCES): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES, reboot_mod_SOURCES)
2N/A (halt_mod_SOURCES): Likewise.
2N/A
2N/A2008-02-17 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/cat.c (grub_cmd_cat): Add break on GRUB_TERM_ESC key.
2N/A
2N/A2008-02-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
2N/A set `first_start' to 0 for non-PC/MSDOS partition maps.
2N/A
2N/A2008-02-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
2N/A do not assume partition map is PC/MSDOS before performing checks that
2N/A are specific to that layout.
2N/A
2N/A2008-02-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Remove
2N/A `commands/i386/pc/halt.c' and `commands/i386/pc/reboot.c'.
2N/A * kern/i386/linuxbios/init.c (grub_halt, grub_reboot): Remove stubs.
2N/A
2N/A2008-02-13 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac: Only a cosmetic change on the handling of
2N/A -fno-stack-protector.
2N/A
2N/A2008-02-12 Alexandre Boeglin <alex@boeglin.org>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Replace
2N/A commands/i386/pc/halt.c and reboot.c by commands/halt.c and
2N/A reboot.c.
2N/A (grub_install_SOURCES): Add halt.mod and reboot.mod.
2N/A (halt_mod_SOURCES): New variable.
2N/A (halt_mod_CFLAGS): Likewise.
2N/A (halt_mod_LDFLAGS): Likewise.
2N/A (reboot_mod_SOURCES): Likewise.
2N/A (reboot_mod_CFLAGS): Likewise.
2N/A (reboot_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace
2N/A commands/ieee1275/halt.c and reboot.c by commands/halt.c and
2N/A reboot.c.
2N/A (halt_mod_SOURCES): Likewise.
2N/A (reboot_mod_SOURCES): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Replace
2N/A commands/i386/pc/reboot.c by commands/reboot.c.
2N/A (reboot_mod_SOURCES): Likewise.
2N/A
2N/A * commands/i386/pc/reboot.c: merge this file ...
2N/A
2N/A * commands/ieee1275/reboot.c: ... and this file ...
2N/A
2N/A * commands/reboot.c: ... to this file.
2N/A Add some precompiler directive to include the correct header for
2N/A each machine.
2N/A
2N/A * commands/ieee1275/halt.c: move this file ...
2N/A
2N/A * commands/halt.c: ... to here.
2N/A Add some precompiler directive to include the correct header for
2N/A each machine.
2N/A
2N/A * include/grub/efi/efi.h (grub_reboot): New function declaration.
2N/A (grub_halt): Likewise.
2N/A
2N/A * kern/efi/efi.c (grub_reboot): New function.
2N/A (grub_halt): Likewise.
2N/A
2N/A2008-02-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/getroot.c (grub_guess_root_device): Inspect /dev/evms before
2N/A /dev (like it is done for /dev/mapper). This doesn't provide support
2N/A for EVMS, but at least it is now easy to identify the problem when it
2N/A arises.
2N/A
2N/A2008-02-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (grub_util_biosdisk_open, linux_find_partition)
2N/A (grub_util_biosdisk_get_grub_dev): Check open() exit status by
2N/A comparing it with -1, not 0.
2N/A
2N/A2008-02-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Add `disk/raid.c' and
2N/A `disk/lvm.c'.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
2N/A
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Move `disk/raid.c' and
2N/A `disk/lvm.c' to the end of the list.
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2008-02-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/main.c (grub_load_normal_mode): Do not reset `grub_errno'. Call
2N/A grub_print_error() instead. This will let user know why we're entering
2N/A rescue mode.
2N/A Based on suggestions from Sam Morris.
2N/A
2N/A2008-02-10 Alexandre Boeglin <alex@boeglin.org>
2N/A
2N/A * normal/arg.c (grub_arg_parse): If one of the args is "--", call add_arg()
2N/A on remaining N args, instead of "--" arg N times.
2N/A
2N/A2008-02-09 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * font/manager.c (unknown_glyph): Added variable for unknown glyph.
2N/A (fill_with_default_glyph): Changed to use unknown_glyph for fill
2N/A pattern for unknown glyphs.
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * configure.ac: Probe for `help2man'.
2N/A * Makefile.in (builddir): New variable.
2N/A (HELP2MAN): Likewise. Set to `true' when @HELP2MAN@ doesn't provide it,
2N/A or otherwise add a few flags/options to it.
2N/A (install-local): For every executable utility or script that is
2N/A installed, invoke $(HELP2MAN) to install a manpage based on --help
2N/A output.
2N/A
2N/A * util/i386/pc/grub-install.in: Move down `update-grub_lib' sourcing, so
2N/A that it doesn't prevent --help from working in build tree.
2N/A
2N/A * util/i386/pc/grub-mkrescue.in (usage): Replace `grub-devel@gnu.org'
2N/A with `bug-grub@gnu.org'.
2N/A * util/powerpc/ieee1275/grub-mkrescue.in (usage): Likewise.
2N/A * util/update-grub.in (usage): New function.
2N/A Implement proper argument check, with support for --help and --version
2N/A (as well as existing -y).
2N/A
2N/A2008-02-09 Christian Franke <franke@computer.org>
2N/A
2N/A * commands/cat.c (grub_cmd_cat): Print '\r' as hex to
2N/A avoid overwriting previous output.
2N/A * kern/rescue.c (grub_rescue_cmd_cat): Likewise.
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/menu.c (run_menu): If timeout is set to zero, don't bother
2N/A drawing the menu.
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/sleep.c: New file.
2N/A * conf/common.rmk (pkglib_MODULES): Add `commands/sleep.c'.
2N/A (sleep_mod_SOURCES): New variable.
2N/A (sleep_mod_CFLAGS): Likewise.
2N/A (sleep_mod_LDFLAGS): Likewise.
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Add a pair of sanity checks for
2N/A situations in which we can deduce the RAID size and the superblock
2N/A doesn't match it.
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/lvm.c [GRUB_UTIL] (grub_lvm_memberlist): New function. Construct
2N/A and return a grub_diskmemberlist_t composed of LVM physical volumes.
2N/A [GRUB_UTIL] (grub_lvm_dev): Add `memberlist' member.
2N/A
2N/A * disk/raid.c [GRUB_UTIL] (grub_raid_memberlist): New function. Construct
2N/A and return a grub_diskmemberlist_t composed of physical array members.
2N/A [GRUB_UTIL] (grub_raid_dev): Add `memberlist' member.
2N/A
2N/A * include/grub/disk.h [GRUB_UTIL] (grub_disk_memberlist): New struct
2N/A prototype.
2N/A [GRUB_UTIL] (struct grub_disk_dev): Add `memberlist' function pointer.
2N/A [GRUB_UTIL] (struct grub_disk_memberlist): New struct declaration.
2N/A [GRUB_UTIL] (grub_disk_memberlist_t): New typedef.
2N/A
2N/A * util/grub-probe.c (probe): Move partmap probing code from here ...
2N/A (probe_partmap): ... to here.
2N/A (probe): Use probe_partmap() once for the disk we're probing, and
2N/A additionally, when such disk contains a memberlist() struct member,
2N/A once for each disk that is contained in the structure returned by
2N/A memberlist().
2N/A
2N/A2008-02-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-probe.c (main): When `verbosity > 1', set `debug'
2N/A environment variable to 'all' in order to obtain debug output from
2N/A non-util/ code.
2N/A * util/i386/pc/grub-setup.c (main): Likewise.
2N/A
2N/A2008-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c (grub_raid_scan_device): Check for
2N/A `array->device[sb.this_disk.number]' rather than for
2N/A `array->device[sb.this_disk.number]->name', since the latter is not
2N/A guaranteed to be accessible.
2N/A
2N/A2008-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c: Update copyright.
2N/A * fs/cpio.c: Likewise.
2N/A * include/grub/raid.h: Likewise.
2N/A * loader/i386/pc/multiboot.c: Likewise.
2N/A * util/hostfs.c: Likewise.
2N/A
2N/A2008-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/raid.h (struct grub_raid_array): Change type of `device'
2N/A to a grub_disk_t array.
2N/A * disk/raid.c (grub_raid_read): Replace `device[x].disk' accesses with
2N/A `device[x]'.
2N/A (grub_raid_scan_device): Replace `device[x].name' accesses with
2N/A `device[x]->name'. Simplify initialization of `array->device[x]'.
2N/A
2N/A2008-02-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/raid.c (grub_raid_open, grub_raid_scan_device): Add a few
2N/A grub_dprintf() calls.
2N/A * kern/disk.c (grub_disk_read): Include grub_errmsg in out of range
2N/A error message.
2N/A
2N/A2008-02-07 Christian Franke <franke@computer.org>
2N/A
2N/A * util/hostfs.c (grub_hostfs_open): Use fseeko and ftello
2N/A instead of fseek and ftell to support large files.
2N/A (grub_hostfs_read): Likewise.
2N/A
2N/A2008-02-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Patch from Jeroen Dekkers.
2N/A * disk/raid.c (grub_raid_scan_device): Reset `grub_errno' on disk
2N/A failure, since successfully reading all array members might not be
2N/A required.
2N/A
2N/A2008-02-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-probe.c (probe): Simplify partmap probing (with the
2N/A assumption that the first word up to the underscore equals to
2N/A the module name).
2N/A
2N/A2008-02-06 Christian Franke <franke@computer.org>
2N/A
2N/A * fs/cpio.c (grub_cpio_find_file): Return GRUB_ERR_NONE
2N/A (and set *ofs = 0) instead of GRUB_ERR_FILE_NOT_FOUND on
2N/A last block of a cpio or tar stream.
2N/A Check for "TRAILER!!!" instead of any empty data
2N/A block to detect last block of a cpio stream.
2N/A (grub_cpio_dir): Fix constness of variable np.
2N/A (grub_cpio_open): Return GRUB_ERR_FILE_NOT_FOUND if
2N/A cpio or tar trailer is detected. This fixes a crash
2N/A on open of a non existing file.
2N/A
2N/A2008-02-05 Bean <bean123ch@gmail.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical
2N/A address of entry.
2N/A (grub_multiboot_load_elf64): Likewise.
2N/A (grub_multiboot): Initialize mbi structure.
2N/A
2N/A * util/grub-fstest.c: Don't include unused header file script.h.
2N/A
2N/A * conf/common.rmk (grub-fstest.c_DEPENDENCIES): Move to the beginning
2N/A of file.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A
2N/A2008-02-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/term.h (GRUB_TERM_LEFT, GRUB_TERM_RIGHT)
2N/A (GRUB_TERM_UP, GRUB_TERM_DOWN, GRUB_TERM_HOME, GRUB_TERM_END)
2N/A (GRUB_TERM_DC, GRUB_TERM_PPAGE, GRUB_TERM_NPAGE, GRUB_TERM_ESC)
2N/A (GRUB_TERM_TAB, GRUB_TERM_BACKSPACE): New macros.
2N/A
2N/A * kern/i386/pc/startup.S: Include `<grub/term.h>'.
2N/A (translation_table): Replace hardcoded values with macros
2N/A provided by `<grub/term.h>'.
2N/A
2N/A * term/i386/pc/at_keyboard.c: Include `<grub/term.h>'.
2N/A (keyboard_map): Correct/add a few values, with macros provided
2N/A by `<grub/term.h>'.
2N/A (keyboard_map_shift): Zero values that don't differ from their
2N/A `keyboard_map' equivalents.
2N/A (grub_console_checkkey): Optimize KEYBOARD_STATUS_CAPS_LOCK toggling.
2N/A Discard the second scan code that is always sent by Caps lock.
2N/A Only use `keyboard_map_shift' when it provides a non-zero value,
2N/A otherwise fallback to `keyboard_map'.
2N/A
2N/A2008-02-04 Bean <bean123ch@gmail.com>
2N/A
2N/A * Makefile.in (enable_grub_fstest): New variable.
2N/A
2N/A * conf/common.rmk (grub_fstest_init.lst): New rule.
2N/A (grub_fstest_init.h): Likewise.
2N/A (grub_fstest_init.c): Likewise.
2N/A (util/grub-fstest.c_DEPENDENCIES): New variable.
2N/A (grub_fstest_SOURCES): Likewise.
2N/A
2N/A * configure.ac (enable_grub_fstest): Check for --enable-grub-fstest.
2N/A
2N/A * util/grub-fstest.c: New file.
2N/A
2N/A2008-02-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Make grub-setup handle a separate root device.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Always open the root device,
2N/A so that the root device can be compared with the destination
2N/A device.
2N/A When embedding the core image, if the root and destination devices
2N/A are different, set ROOT_DRIVE to ROOT_DEV->DISK->ID. Otherwise, to
2N/A 0xFF.
2N/A When not embedding, set ROOT_DRIVE to 0xFF.
2N/A
2N/A2008-02-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Add support for having a grub directory in a different drive. This
2N/A is still only the data handling part.
2N/A
2N/A * kern/i386/pc/startup.S (multiboot_trampoline): Set %dh to 0xFF.
2N/A (codestart): Save %dh in GRUB_ROOT_DRIVE.
2N/A (grub_root_drive): New variable.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Use GRUB_ROOT_DRIVE
2N/A instead of GRUB_BOOT_DRIVE to construct a device name. Set
2N/A GRUB_ROOT_DRIVE to GRUB_BOOT_DRIVE if it is 0xFF, otherwise use it
2N/A as it was.
2N/A
2N/A * include/grub/i386/pc/kernel.h (grub_root_drive): New prototype.
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_ROOT_DRIVE): New
2N/A macro.
2N/A (GRUB_BOOT_MACHINE_DRIVE_CHECK): Set to 0x4f.
2N/A
2N/A * boot/i386/pc/pxeboot.S (_start): Set %dh to 0xFF. For now, this
2N/A is bogus, because PXE booting does not specify any drive
2N/A correctly.
2N/A
2N/A * boot/i386/pc/lnxboot.S (reg_edx): Set the second byte to 0xFF. I
2N/A am not sure if this is really correct.
2N/A
2N/A * boot/i386/pc/cdboot.S: Set %dh to 0xFF, because the root drive
2N/A is always identical to the boot drive when booting from a CD.
2N/A
2N/A * boot/i386/pc/boot.S (MOV_MEM_TO_AL): Removed. Not needed any
2N/A longer.
2N/A (root_drive): New variable.
2N/A (real_start): Unconditionally set %dh to ROOT_DRIVE.
2N/A (setup_sectors): Push %dx right after popping it, because %dh will
2N/A be modified later.
2N/A (copy_buffer): Restore %dx.
2N/A
2N/A2008-02-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Rewrite most of image generation to
2N/A use `cdboot.img' for cdrom images.
2N/A
2N/A2008-02-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Issue scripting commands for GRUB to
2N/A only setup gfxterm when `font' command has succeeded.
2N/A
2N/A2008-02-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/multiboot_loader.c [GRUB_MACHINE_LINUXBIOS]
2N/A (grub_rescue_cmd_multiboot_loader)
2N/A (grub_rescue_cmd_module_loader): Enable multiboot1 calls.
2N/A
2N/A2008-02-03 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/pc/startup.S (grub_chainloader_real_boot): Pop
2N/A %edx and %esi from stack only after grub_gate_a20() is called.
2N/A grub_gate_a20() clobbers %edx.
2N/A
2N/A2008-02-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac (AC_INIT): Bumped to 1.96.
2N/A
2N/A * DISTLIST: Added boot/i386/pc/cdboot.S, bus/pci.c,
2N/A commands/lspci.c,disk/memdisk.c, include/grub/pci.h,
2N/A include/grub/i386/pc/pci.h, video/readers/jpeg.c, and
2N/A video/readers/png.c.
2N/A
2N/A2008-02-03 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_IMAGES): Add cdboot.img.
2N/A (cdboot_img_SOURCES): New variable.
2N/A (cdboot_img_ASFLAGS): New variable.
2N/A (cdboot_img_LDFLAGS): New variable.
2N/A
2N/A * boot/i386/pc/cdboot.S: New file.
2N/A
2N/A * disk/i386/pc/biosdisk.c (cd_start): New variable.
2N/A (cd_count): Likewise.
2N/A (grub_biosdisk_get_drive): Add support for cd device.
2N/A (grub_biosdisk_call_hook): Likewise.
2N/A (grub_biosdisk_iterate): Likewise.
2N/A (grub_biosdisk_open): Likewise.
2N/A (GRUB_BIOSDISK_CDROM_RETRY_COUNT): New macro.
2N/A (grub_biosdisk_rw): Support reading from cd device.
2N/A (GRUB_MOD_INIT): Iterate cd devices.
2N/A
2N/A * include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_FLAG_CDROM): New macro.
2N/A (GRUB_BIOSDISK_MACHINE_CDROM_START): Likewise.
2N/A (GRUB_BIOSDISK_MACHINE_CDROM_END): Likewise.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Check for cd device.
2N/A
2N/A2008-02-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/read.c: New file.
2N/A * conf/common.rmk (pkglib_MODULES): Add `commands/read.c'.
2N/A (read_mod_SOURCES): New variable.
2N/A (read_mod_CFLAGS): Likewise.
2N/A (read_mod_LDFLAGS): Likewise.
2N/A
2N/A2008-02-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/main.c (grub_normal_execute): Check for `menu->size' when
2N/A determining whether menu has to be displayed.
2N/A
2N/A2008-02-02 Marco Gerards <marco@gnu.org>
2N/A
2N/A * bus/pci.c: New file.
2N/A
2N/A * include/grub/pci.h: Likewise.
2N/A
2N/A * include/grub/i386/pc/pci.h: Likewise.
2N/A
2N/A * commands/lspci.c: Likewise.
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `pci.mod' and
2N/A `lspci.mod'.
2N/A (pci_mod_SOURCES): New variable.
2N/A (pci_mod_CFLAGS): Likewise.
2N/A (pci_mod_LDFLAGS): Likewise.
2N/A (lspci_mod_SOURCES): Likewise.
2N/A (lspci_mod_CFLAGS): Likewise.
2N/A (lspci_mod_LDFLAGS): Likewise.
2N/A
2N/A2008-02-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ufs.c (INODE_BLKSZ): Fix incorrect value.
2N/A (grub_ufs_get_file_block): Fix indirect block calculation problem.
2N/A
2N/A * fs/xfs.c (grub_xfs_sblock): New member log2_dirblk.
2N/A (grub_xfs_btree_node): New structure.
2N/A (grub_xfs_btree_root): New structure.
2N/A (grub_xfs_inode): New members nblocks, extsize, nextents and btree.
2N/A (GRUB_XFS_EXTENT_OFFSET): Use exts instead of inode->data.extents.
2N/A (GRUB_XFS_EXTENT_BLOCK): Likewise.
2N/A (GRUB_XFS_EXTENT_SIZE): Likewise.
2N/A (grub_xfs_read_block): Support btree format type.
2N/A (grub_xfs_iterate_dir): Use NESTED_FUNC_ATTR in call_hook.
2N/A Use directory block as basic unit.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_read_file): Bug fix for sparse block.
2N/A
2N/A * aclocal.m4 (grub_i386_CHECK_REGPARM_BUG): Define NESTED_FUNC_ATTR as
2N/A __attribute__ ((__regparm__ (1))).
2N/A
2N/A2008-02-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Correct a mistake in previous commit.
2N/A
2N/A * conf/i386-pc.rmk (normal/execute.c_DEPENDENCIES): Move to the
2N/A top.
2N/A (normal/command.c_DEPENDENCIES): New variable.
2N/A
2N/A2008-02-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Move to the
2N/A top.
2N/A (normal/command.c_DEPENDENCIES): New variable.
2N/A (grub-emu_DEPENDENCIES, normal_mod_DEPENDENCIES): Remove variables.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-linuxbios.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A (grub_emu_SOURCES): Add `fs/fshelp.c'.
2N/A
2N/A * genmk.rb: Add `$(#{src}_DEPENDENCIES)' in targets that require it.
2N/A
2N/A2008-02-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/disk.c (grub_disk_read, grub_disk_write): Add grub_dprintf()
2N/A call at beginning of function.
2N/A
2N/A2008-01-31 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkrescue.in: New file.
2N/A * conf/powerpc-ieee1275.rmk (bin_SCRIPTS): New variable.
2N/A (grub_mkrescue_SOURCES): Likewise.
2N/A * DISTLIST: Add util/powerpc/ieee1275/grub-mkrescue.in.
2N/A
2N/A2008-01-30 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (sbin_UTILITIES): Remove `grub-probe'.
2N/A (util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Moved from here ...
2N/A * conf/common.rmk (util/grub-probe.c_DEPENDENCIES)
2N/A (grub_probe_SOURCES): ... to here.
2N/A
2N/A * conf/i386-efi.rmk (sbin_UTILITIES): Remove `grub-probe'.
2N/A (util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Remove.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/i386-linuxbios.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A
2N/A2008-01-30 Tristan Gingold <gingold@free.fr>
2N/A
2N/A * kern/rescue.c: Silently accept empty lines.
2N/A
2N/A2008-01-29 Bean <bean123ch@gmail.com>
2N/A
2N/A * boot/i386/pc/lnxboot.S (data_start): Code cleanup.
2N/A (real_code_2): Code cleanup and change comment style.
2N/A (move_memory): Avoid using 32-bit address mode.
2N/A
2N/A2008-01-29 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `png.mod'.
2N/A (png_mod_SOURCES): New variable.
2N/A (png_mod_CFLAGS): Likewise.
2N/A (png_mod_LDFLAGS): Likewise.
2N/A
2N/A * video/readers/png.c: New file.
2N/A
2N/A2008-01-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro.
2N/A * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove
2N/A `ifndef GRUB_MOD_GAP' hack.
2N/A * util/elf/grub-mkimage.c (add_segments): Likewise.
2N/A
2N/A2008-01-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
2N/A `GRUB_MOD_GAP' for platforms in which it's not defined.
2N/A * util/elf/grub-mkimage.c (add_segments): Likewise.
2N/A
2N/A2008-01-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Get grub-emu to build again (including parallel builds).
2N/A
2N/A * conf/i386-pc.rmk (util/grub-emu.c_DEPENDENCIES): Remove variable.
2N/A Split into ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this, ...
2N/A (normal/execute.c_DEPENDENCIES): ... this, ...
2N/A (grub-emu_DEPENDENCIES): ... and this.
2N/A
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-linuxbios.rmk: Likewise.
2N/A * conf/i386-ieee1275.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A (grub_emu_SOURCES): Remove duplicated `kern/file.c'.
2N/A
2N/A2008-01-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * NEWS: Add a few items.
2N/A
2N/A2008-01-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix parallel builds with grub-emu. Based on earlier commit for
2N/A grub-probe and grub-setup.
2N/A
2N/A * conf/i386-pc.rmk (grub-emu_DEPENDENCIES): Renamed to ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this.
2N/A * conf/i386-efi.rmk (grub-emu_DEPENDENCIES): Renamed to ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this.
2N/A * conf/i386-linuxbios.rmk (grub-emu_DEPENDENCIES): Renamed to ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this.
2N/A * conf/i386-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this.
2N/A * conf/powerpc-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ...
2N/A (util/grub-emu.c_DEPENDENCIES): ... this.
2N/A
2N/A2008-01-27 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/powerpc/ieee1275/kernel.h: Introduce GRUB_MOD_GAP
2N/A to create a gap between _end and the modules added to the image
2N/A with grub-mkrescue. That fixes "CLAIM failed" on PowerMAC.
2N/A * kern/powerpc/ieee1275/init.c: Use GRUB_MOD_GAP.
2N/A * util/elf/grub-mkimage.c (add_segments): Likewise.
2N/A
2N/A2008-01-26 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/dl.c (grub_dl_load): Don't abort if prefix is not set,
2N/A just return an error.
2N/A
2N/A2008-01-26 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/reiserfs.c (grub_fshelp_node): New member next_offset.
2N/A (grub_reiserfs_get_item): Save offset of the next item.
2N/A (grub_reiserfs_iterate_dir): Use next_offset to find next item.
2N/A
2N/A2008-01-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES, grub_emu_SOURCES): Regroup to
2N/A make all filesystem sources appear together (possibly fixing omissions
2N/A while at it).
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_probe_SOURCES): Likewise. Additionally,
2N/A add `kern/file.c'.
2N/A * conf/i386-efi.rmk (grub_probe_SOURCES): Likewise.
2N/A * conf/i386-ieee1275.rmk (grub_probe_SOURCES): Likewise.
2N/A * conf/i386-linuxbios.rmk (grub_probe_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Likewise.
2N/A
2N/A * util/grub-probe.c: Include `<grub/file.h>' and `<sys/stat.h>'.
2N/A (probe): Add a sanity check to make sure of our ability to read
2N/A requested files when probing for filesystem type.
2N/A
2N/A * genmk.rb: Update copyright year (2007).
2N/A
2N/A * include/grub/fs.h (grub_fat_init, grub_fat_fini, grub_ext2_init)
2N/A (grub_ext2_fini, grub_ufs_init, grub_ufs_fini, grub_minix_init)
2N/A (grub_minix_fini, grub_hfs_init, grub_hfs_fini, grub_jfs_init)
2N/A (grub_jfs_fini, grub_xfs_init, grub_xfs_fini, grub_affs_init)
2N/A (grub_affs_fini, grub_sfs_init, grub_sfs_fini, grub_iso9660_init)
2N/A : Remove function prototypes.
2N/A
2N/A2008-01-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Revert my previous commits (based on wrong assumption of how grub_errno
2N/A works).
2N/A
2N/A * kern/disk.c (grub_disk_open): Stop resetting grub_errno.
2N/A * kern/file.c (grub_file_open): Likewise.
2N/A
2N/A2008-01-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h: Introduce flag for firmwares
2N/A that hang if GRUB tries to setup colors.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_init): Don't set
2N/A colors for firmwares that don't support it.
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_set_flag):
2N/A Recognize Open Hack'Ware, set flags to work around its
2N/A limitations.
2N/A
2N/A2008-01-24 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/file.c (grub_file_open): Do not account previous failures of
2N/A unrelated functions when grub_errno is checked for.
2N/A Reported by Oleg Strikov.
2N/A
2N/A2008-01-24 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ufs.c (GRUB_UFS_VOLNAME_LEN): New macro.
2N/A (grub_ufs_sblock): New member volume name.
2N/A (grub_ufs_find_file): Fix string copy bug.
2N/A (grub_ufs_label): Implement this function properly.
2N/A
2N/A * fs/hfs.c (grub_hfs_cnid_type): New enum.
2N/A (grub_hfs_iterate_records): Use the correct file number for extents
2N/A and catalog file. Fix problem in next index calculation.
2N/A (grub_hfs_find_node): Replace recursive function call with loop.
2N/A (grub_hfs_iterate_dir): Replace recursive function call with loop.
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/ieee1275/loader.h: Include `<grub/types.h>',
2N/A `<grub/symbol.h>' and `<grub/multiboot.h>'.
2N/A (grub_multiboot2_real_boot): New function prototype.
2N/A
2N/A * include/grub/i386/pc/memory.h: Include `<grub/machine/machine.h>'.
2N/A [!GRUB_MACHINE_IEEE1275] (grub_lower_mem, grub_upper_mem): Disable.
2N/A
2N/A * kern/i386/ieee1275/init.c (grub_os_area_addr)
2N/A (grub_os_area_size, grub_lower_mem, grub_upper_mem): Remove variables.
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/mm.c (grub_mm_init_region): Replace grub_dprintf() call with
2N/A #ifdef'ed out grub_printf().
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/at_keyboard.c (grub_keyboard_isr): #ifdef out
2N/A grub_dprintf calls, since they make "debug=all" mode unusable.
2N/A (grub_console_checkkey): Likewise.
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add
2N/A `term/i386/pc/at_keyboard.c'.
2N/A (pkglib_MODULES): Add `serial.mod'.
2N/A (serial_mod_SOURCES): New variable.
2N/A (serial_mod_CFLAGS): Likewise.
2N/A (serial_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/i386/ieee1275/console.h: Add `<grub/symbol.h>'. Remove
2N/A `<grub/powerpc/ieee1275/console.h>'.
2N/A (grub_keyboard_controller_init): New function prototype.
2N/A (grub_console_checkkey): Likewise.
2N/A (grub_console_getkey): Likewise.
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize AT
2N/A keyboard on i386.
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_term): On i386, use
2N/A grub_ofconsole_checkkey() and grub_ofconsole_getkey() for input.
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): When memdisk image is
2N/A present, "(memdisk)/boot/grub" becomes the default prefix.
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Switch to a minimal core.img plus
2N/A a memdisk tarball with all the modules. Add --overlay=DIR option that
2N/A allows users to overlay additional files into the image.
2N/A
2N/A2008-01-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add `machine/loader.h'
2N/A and `machine/memory.h'.
2N/A (pkglib_MODULES): Add `multiboot.mod' and `_multiboot.mod'.
2N/A (_multiboot_mod_SOURCES): New variable.
2N/A (_multiboot_mod_CFLAGS): Likewise.
2N/A (_multiboot_mod_LDFLAGS): Likewise.
2N/A (multiboot_mod_SOURCES): Likewise.
2N/A (multiboot_mod_CFLAGS): Likewise.
2N/A (multiboot_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/i386/ieee1275/loader.h: New file.
2N/A
2N/A * include/grub/i386/ieee1275/machine.h: Likewise.
2N/A
2N/A * include/grub/i386/ieee1275/memory.h: Likewise.
2N/A
2N/A * include/grub/i386/pc/init.h (grub_os_area_addr): Remove (redundant)
2N/A variable declaration.
2N/A (grub_os_area_size): Likewise.
2N/A
2N/A * kern/i386/ieee1275/init.c (grub_os_area_addr, grub_os_area_size)
2N/A (grub_lower_mem, grub_upper_mem): New variables.
2N/A (grub_stop_floppy): New function (just to make
2N/A grub_multiboot2_real_boot() happy).
2N/A
2N/A * kern/i386/ieee1275/startup.S: Include `<grub/machine/memory.h>',
2N/A `<grub/cpu/linux.h>', `<multiboot.h>' and `<multiboot2.h>'.
2N/A (grub_stop): New function.
2N/A Include `"../realmode.S"' and `"../loader.S"'.
2N/A
2N/A * loader/multiboot_loader.c: Include `<grub/machine/machine.h>'.
2N/A Replace `__i386__' #ifdefs with `GRUB_MACHINE_PCBIOS'.
2N/A
2N/A * loader/powerpc/ieee1275/multiboot2.c (grub_mb2_arch_boot): On i386,
2N/A rely on grub_multiboot2_real_boot() for final boot.
2N/A
2N/A2008-01-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): When
2N/A `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' flag is set, skip any
2N/A device that doesn't look like an SD card.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add
2N/A `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' flag.
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_set_flag): Detect
2N/A OLPC laptop, and set `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' when
2N/A found.
2N/A
2N/A2008-01-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_claim_heap): Add sanity check to
2N/A avoid claiming over our own code.
2N/A
2N/A2008-01-22 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkglib_MODULES): Add `jpeg.mod'.
2N/A (jpeg_mod_SOURCES): New variable.
2N/A (jpeg_mod_CFLAGS): Likewise.
2N/A (jpeg_mod_LDFLAGS): Likewise.
2N/A
2N/A * video/readers/jpeg.c : New file.
2N/A
2N/A2008-01-22 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/cpio.c (grub_cpio_find_file): Return GRUB_ERR_FILE_NOT_FOUND when
2N/A there are no more items.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/mm.c (grub_mm_init_region): Improve debug message.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (GRUB_MEMORY_MACHINE_LINK_ADDR): New variable.
2N/A (kernel_img_LDFLAGS): Use `GRUB_MEMORY_MACHINE_LINK_ADDR' as link
2N/A address.
2N/A (grub_mkimage_CFLAGS): Propagate `GRUB_MEMORY_MACHINE_LINK_ADDR' as
2N/A a C macro.
2N/A * include/grub/i386/pc/memory.h (GRUB_MEMORY_MACHINE_UPPER): New macro.
2N/A Indicates start of upper memory.
2N/A * util/i386/pc/grub-mkimage.c: Include `<grub/machine/memory.h>'.
2N/A (generate_image): Abort when image size is big enough to corrupt
2N/A upper memory.
2N/A
2N/A * include/grub/i386/pc/vga.h: Include `<grub/machine/memory.h>'.
2N/A (GRUB_MEMORY_MACHINE_VGA_ADDR): Alias for `GRUB_MEMORY_MACHINE_UPPER'.
2N/A * term/i386/pc/vga.c (VGA_MEM): Use `GRUB_MEMORY_MACHINE_VGA_ADDR'
2N/A instead of hardcoding 0xA0000.
2N/A * video/i386/pc/vbe.c: Include `<grub/machine/vga.h>'.
2N/A (grub_vbe_set_video_mode): Use `GRUB_MEMORY_MACHINE_VGA_ADDR'
2N/A instead of hardcoding 0xA0000.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/memdisk.c (memdisk_size): New variable.
2N/A (grub_memdisk_open): Replace grub_arch_memdisk_size() call with
2N/A `memdisk_size'.
2N/A (grub_memdisk_init): Initialize `memdisk_size'. Reallocate memdisk
2N/A image to dynamic memory.
2N/A (grub_memdisk_fini): Replace grub_arch_memdisk_size() call with
2N/A `memdisk_size'. Free memdisk block.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix detection of very small filesystems (like tar).
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_mount): When disk is too small to
2N/A contain a ReiserFS, abort with GRUB_ERR_BAD_FS rather than
2N/A GRUB_ERR_OUT_OF_RANGE (which made the upper layer think there's
2N/A a problem with this disk).
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Add debug message
2N/A on grub_biosdisk_rw_standard() error.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h: Add 2008 to Copyright line for
2N/A recent changes.
2N/A * kern/elf.c: Likewise.
2N/A * kern/ieee1275/ieee1275.c: Likewise.
2N/A * kern/powerpc/ieee1275/openfw.c: Likewise.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/kernel.h: Include `<grub/symbol.h>'.
2N/A
2N/A * include/grub/kernel.h (grub_arch_memdisk_addr)
2N/A (grub_arch_memdisk_size): Moved from here ...
2N/A
2N/A * include/grub/i386/pc/kernel.h (grub_arch_memdisk_addr)
2N/A (grub_arch_memdisk_size): ... to here.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Mostly based on bugfix from Bean.
2N/A
2N/A * kern/elf.c (grub_elf32_phdr_iterate): Use `NESTED_FUNC_ATTR'
2N/A attribute with hook() parameter.
2N/A (grub_elf32_load): Use `NESTED_FUNC_ATTR' with grub_elf32_load_segment()
2N/A declaration.
2N/A (grub_elf64_phdr_iterate): Use `NESTED_FUNC_ATTR'
2N/A attribute with hook() parameter.
2N/A (grub_elf64_load): Use `NESTED_FUNC_ATTR' with grub_elf64_load_segment()
2N/A declaration.
2N/A
2N/A2008-01-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Add `machine/kernel.h'.
2N/A (pkglib_MODULES): Add `memdisk.mod'.
2N/A (memdisk_mod_SOURCES): New variable.
2N/A (memdisk_mod_CFLAGS): Likewise.
2N/A (memdisk_mod_LDFLAGS): Likewise.
2N/A
2N/A * disk/memdisk.c: New file.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEVICE_MEMDISK_ID'.
2N/A
2N/A * include/grub/i386/pc/kernel.h
2N/A (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): New macro.
2N/A (GRUB_KERNEL_MACHINE_PREFIX): Increment by 4.
2N/A (grub_kernel_image_size): New variable declaration.
2N/A (grub_total_module_size): Likewise.
2N/A (grub_memdisk_image_size): Likewise.
2N/A
2N/A * include/grub/i386/pc/memory.h
2N/A (GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR): New macro.
2N/A
2N/A * include/grub/kernel.h: Include `<grub/symbol.h>'.
2N/A (grub_arch_memdisk_addr): New variable declaration.
2N/A (grub_arch_memdisk_size): Likewise.
2N/A
2N/A * kern/i386/pc/init.c (grub_arch_memdisk_addr): New function.
2N/A (grub_arch_memdisk_size): Likewise.
2N/A
2N/A * kern/i386/pc/startup.S (grub_memdisk_image_size): New variable.
2N/A (codestart): Replace hardcoded `0x100000' with
2N/A `GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR' macro.
2N/A
2N/A * util/i386/pc/grub-mkimage.c: Include `<grub/misc.h>'.
2N/A (generate_image): Add `memdisk_path' parameter. When `memdisk_path' is
2N/A not NULL, append the contents of the file it refers to, at the end of
2N/A the compressed kernel image. Initialize `grub_memdisk_image_size'
2N/A variable (at `GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE' offset).
2N/A (options): Add "memdisk"|'m' option.
2N/A (main): Parse --memdisk|-m option, and pass user-provided path as
2N/A parameter to generate_image().
2N/A
2N/A2008-01-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/sparc64/ieee1275/openfw.c (grub_devalias_iterate): Copy debug
2N/A grub_dprintf() calls from here ...
2N/A * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): ... to here.
2N/A
2N/A2008-01-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Fix detection of "real mode" when /options/real-mode? doesn't exist.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_mmu): New variable
2N/A declaration.
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_mmu): New variable.
2N/A (grub_ieee1275_find_options): If `grub_ieee1275_mmu' is 0, set
2N/A `GRUB_IEEE1275_FLAG_REAL_MODE'.
2N/A (cmain): Initialize `grub_ieee1275_mmu' (using /chosen/mmu integer
2N/A property).
2N/A * kern/powerpc/ieee1275/openfw.c (grub_map): Rely on pre-initialized
2N/A `grub_ieee1275_mmu' rather than obtaining a handler on every call.
2N/A
2N/A2008-01-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Get rid of confusing function (superseded by
2N/A `grub_ieee1275_get_integer_property')
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_decode_int_4): Remove
2N/A prototype.
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_decode_int_4): Remove
2N/A function.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_init): Avoid use of
2N/A grub_ieee1275_decode_int_4(), by obtaining integer properties directly
2N/A in native endianness from grub_ieee1275_get_integer_property().
2N/A
2N/A2008-01-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_halt): Issue "power-off"
2N/A command after "shut-down", since implementations differ on which
2N/A the command for halt is.
2N/A
2N/A2008-01-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/linuxbios/console.h: Add header protection.
2N/A (grub_keyboard_controller_init): New function prototype.
2N/A * term/i386/pc/at_keyboard.c (KEYBOARD_COMMAND_ISREADY): New macro.
2N/A (KEYBOARD_COMMAND_READ): Likewise.
2N/A (KEYBOARD_COMMAND_WRITE): Likewise.
2N/A (KEYBOARD_SCANCODE_SET1): Likewise.
2N/A (grub_keyboard_controller_write): New function.
2N/A (grub_keyboard_controller_read): Likewise.
2N/A (grub_keyboard_controller_init): Likewise.
2N/A
2N/A * term/i386/pc/console.c: Include `<grub/machine/machine.h>'.
2N/A (grub_console_init): On coreboot/LinuxBIOS, call
2N/A grub_keyboard_controller_init().
2N/A
2N/A2008-01-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A PowerPC changes provided by Pavel Roskin.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (cmain): Don't take any arguments.
2N/A * kern/powerpc/ieee1275/crt0.S: Store r5 in grub_ieee1275_entry_fn,
2N/A don't rely on cmain() doing it.
2N/A * kern/i386/ieee1275/startup.S (_start): Store %eax in
2N/A grub_ieee1275_entry_fn, don't rely on cmain() doing it.
2N/A
2N/A2008-01-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/linuxbios/memory.h
2N/A (GRUB_MEMORY_MACHINE_LINUXBIOS_TABLE_ADDR): Remove macro.
2N/A * kern/i386/linuxbios/table.c (grub_linuxbios_table_iterate): Do not
2N/A receive `table_header' as argument. Instead, probe for it in the
2N/A known memory ranges where it can be present.
2N/A (grub_available_iterate): Do not pass a fixed `table_header' address
2N/A to grub_linuxbios_table_iterate().
2N/A
2N/A2008-01-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * configure.ac: Add `i386-ieee1275' to the list of supported targets.
2N/A * conf/i386-ieee1275.rmk: New file.
2N/A * include/grub/i386/ieee1275/console.h: Likewise.
2N/A * include/grub/i386/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/i386/ieee1275/kernel.h: Likewise.
2N/A * include/grub/i386/ieee1275/time.h: Likewise.
2N/A * kern/i386/ieee1275/init.c: Likewise.
2N/A * kern/i386/ieee1275/startup.S: Likewise.
2N/A
2N/A2008-01-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/misc.c (grub_vsprintf): Do not reset `longlongfmt' to zero
2N/A when pointers are 32-bit (but still do set it to one when they are
2N/A 64-bit).
2N/A
2N/A2008-01-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h
2N/A (grub_ieee1275_get_integer_property): New function prototype.
2N/A
2N/A * kern/ieee1275/ieee1275.c: Include `<grub/types.h>'.
2N/A (grub_ieee1275_get_integer_property): New function. Wraps around
2N/A grub_ieee1275_get_property() to handle endianness.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Replace
2N/A grub_ieee1275_get_property() with grub_ieee1275_get_integer_property()
2N/A where appropriate.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Likewise.
2N/A (grub_map): Likewise.
2N/A * kern/sparc64/ieee1275/openfw.c (grub_map): Likewise.
2N/A
2N/A2008-01-15 Bean <bean123ch@gmail.com>
2N/A
2N/A * normal/execute.c (grub_script_exec_argument_to_string): Check for undefined variable.
2N/A (grub_script_execute_cmdline): Reset grub_errno.
2N/A
2N/A * normal/main.c (read_config_file): Reset grub_errno.
2N/A
2N/A * normal/parse.y (script_init): New.
2N/A (script): Move function and menuentry here.
2N/A (delimiter): New.
2N/A (command): Add delimiter at the end of command.
2N/A (commands): Adjust to match the new command.
2N/A (commandblock): Remove grub_script_lexer_record_start.
2N/A (menuentry): Add grub_script_lexer_record_start, use the new commands.
2N/A (if): Use the new commands.
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add echo.mod.
2N/A
2N/A2008-01-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/menu.c (run_menu): Move timeout message from here ...
2N/A (print_timeout): ... to here.
2N/A (run_menu): Use print_timeout() once during initial draw to print
2N/A the whole message, and again in every clock tick to update only
2N/A the number of seconds.
2N/A
2N/A2008-01-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Obtain
2N/A actual size of `available' from grub_ieee1275_get_property(), and
2N/A restrict parsing to that bound.
2N/A
2N/A2008-01-15 Christian Franke <franke@computer.org>
2N/A
2N/A * util/grub-emu.c: Replace <argp.h> by <getopt.h>.
2N/A (argp_program_version): Remove variable.
2N/A (argp_program_bug_address): Likewise.
2N/A (options): Convert from struct argp_option to struct option.
2N/A (struct arguments): Remove.
2N/A (parse_opt): Remove.
2N/A (usage): New function.
2N/A (main): Replace struct args members by simple variables.
2N/A Replace argp_parse() by getopt_long().
2N/A Add switch to evaluate options.
2N/A Add missing "(...)" around root_dev in prefix string.
2N/A
2N/A2008-01-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_exit): Reimplement as a wrapper
2N/A for grub_ieee1275_exit(), in order to improve portability.
2N/A
2N/A2008-01-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in (prefix): Define.
2N/A (exec_prefix): Likewise. Both definitions are later used by `libdir'.
2N/A
2N/A2008-01-13 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Don't use
2N/A grub_errno if no errors have been detected.
2N/A
2N/A2008-01-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/util/getroot.h (grub_dev_abstraction_types): New enum.
2N/A (grub_util_get_dev_abstraction): New function prototype.
2N/A
2N/A * util/getroot.c: Include `<grub/util/getroot.h>'
2N/A (grub_util_get_grub_dev): Move detection of abstraction type to ...
2N/A (grub_util_get_dev_abstraction): ... here (new function).
2N/A
2N/A * util/grub-probe.c: Convert PRINT_* to an enum. Add
2N/A `PRINT_ABSTRACTION'.
2N/A (probe): Probe for abstraction type when requested.
2N/A (main): Understand `--target=abstraction'.
2N/A
2N/A * util/i386/efi/grub-install.in: Add abstraction module to core
2N/A image when it is found to be necessary.
2N/A * util/i386/pc/grub-install.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-install.in: Likewise.
2N/A
2N/A * util/update-grub_lib.in (font_path): Return system path without
2N/A converting to GRUB path.
2N/A * util/update-grub.in: Convert system path returned by font_path()
2N/A to a GRUB path. Use `grub-probe -t abstraction' to determine what
2N/A abstraction module is needed for loading fonts (if any). Export
2N/A that as `GRUB_PRELOAD_MODULES'.
2N/A * util/grub.d/00_header.in: Process `GRUB_PRELOAD_MODULES' (print
2N/A insmod commands).
2N/A
2N/A2008-01-12 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Remove some unused code from reiserfs.
2N/A
2N/A * fs/reiserfs.c (struct grub_reiserfs_key)
2N/A [GRUB_REISERFS_KEYV2_BITFIELD]: Removed offset and type.
2N/A (struct grub_reiserfs_node_body): Removed.
2N/A (grub_reiserfs_get_key_v2_type) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_get_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_set_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_set_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_set_key_type) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_iterate_dir) [GRUB_REISERFS_KEYV2_BITFIELD]:
2N/A Likewise.
2N/A (grub_reiserfs_open) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise.
2N/A (grub_reiserfs_read) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise.
2N/A (grub_reiserfs_dir) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise.
2N/A
2N/A2008-01-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (grub_file_is_not_garbage): New function.
2N/A Determines if a file is garbage left by packaging systems, etc.
2N/A * util/update-grub.in: Use grub_file_is_not_garbage() as a condition
2N/A for processing /etc/grub.d scripts.
2N/A * util/grub.d/10_hurd.in: Fix `GRUB_DISTRIBUTOR' comparison.
2N/A * util/grub.d/10_linux.in: Likewise. Use grub_file_is_not_garbage()
2N/A as a condition for processing Linux images.
2N/A
2N/A2008-01-10 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/powerpc/libgcc.h (__ucmpdi2): New export. Needed
2N/A to compile reiserfs.c on PowerPC.
2N/A
2N/A2008-01-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/device.c (grub_device_iterate): Do not abort device iteration
2N/A when one of the devices cannot be opened.
2N/A * kern/disk.c (grub_disk_open): Do not account previous failures of
2N/A unrelated functions when grub_errno is checked for.
2N/A
2N/A2008-01-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_linux): For
2N/A `! grub_linux_is_bzimage', change order of address comparison to make
2N/A it more intuitive, and improve "too big zImage" error message.
2N/A
2N/A2008-01-08 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in (uninstall): Handle `$(update-grub_SCRIPTS)' and
2N/A `$(update-grub_DATA)'.
2N/A (distcheck): Fix race condition when invoking `$(MAKE)' on multiple
2N/A targets.
2N/A
2N/A2008-01-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * boot/i386/pc/boot.S (boot_drive_check): Add a comment indicating
2N/A which instruction is modified by grub-setup during installation
2N/A (since it wasn't obvious by only looking at this file).
2N/A
2N/A2008-01-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * TODO: Rewrite. Just refer to the wiki and the BTS instead of
2N/A listing actual TODO items.
2N/A
2N/A2008-01-06 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_get_key_v2_type): Handle endianness
2N/A correctly.
2N/A (grub_reiserfs_get_key_offset): Likewise.
2N/A (grub_reiserfs_set_key_offset): Likewise.
2N/A (grub_reiserfs_set_key_type): Likewise.
2N/A (grub_reiserfs_iterate_dir): Return 1 if found, otherwise 0.
2N/A
2N/A (GRUB_REISERFS_KEYV2_BITFIELD): Undefined. Probably it would be
2N/A better to remove the bitfield version completely.
2N/A
2N/A2008-01-06 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/reiserfs.c (grub_reiserfs_iterate_dir): ENTRY_ITEM must be
2N/A allocated from the heap, due to the fshelp implementation.
2N/A (grub_reiserfs_dir): Free NODE, due to the same reason.
2N/A
2N/A2008-01-06 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Mostly from Vincent Pelletier:
2N/A
2N/A * fs/reiserfs.c: New file.
2N/A
2N/A * conf/common.rmk (pkglib_MODULES): Added reiserfs.mod.
2N/A (reiserfs_mod_SOURCES): New variable.
2N/A (reiserfs_mod_CFLAGS): Likewise.
2N/A (reiserfs_mod_LDFLAGS): Likewise.
2N/A
2N/A * DISTLIST: Added boot/i386/pc/lnxboot.S, commands/hexdump.c,
2N/A disk/ata.c, fs/cpio.c, fs/ntfscomp.c, fs/reiserfs.c,
2N/A include/grub/ntfs.h, include/grub/i386/pc/machine.h, and
2N/A normal/color.c.
2N/A
2N/A2008-01-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/color.c: Remove `<grub/env.h>'.
2N/A
2N/A2008-01-05 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * include/grub/normal.h: Include <grub/env.h>.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-setup.c (usage): Replace obsolete `(hd0,0)' in
2N/A usage example with `(hd0,1)'.
2N/A Reported by Samuel Thibault.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/loader.S (grub_linux_is_bzimage): New variable.
2N/A (grub_linux_boot_zimage): Rename to ...
2N/A (grub_linux_boot): ... this.
2N/A (grub_linux_boot_bzimage): Merge with `grub_linux_boot_zimage'.
2N/A (grub_linux_boot_zimage): Conditionalize zImage copy.
2N/A
2N/A * include/grub/i386/loader.h (grub_linux_is_bzimage): Add prototype.
2N/A (grub_linux_boot_bzimage): Remove prototype.
2N/A (grub_linux_boot_zimage): Rename to ...
2N/A (grub_linux_boot): ... this.
2N/A
2N/A * loader/i386/pc/linux.c (big_linux): Replace with `grub_linux_is_bzimage'.
2N/A (grub_linux_boot): Remove function.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/normal.h (grub_env_write_color_normal): New prototype.
2N/A (grub_env_write_color_highlight): Likewise.
2N/A (grub_wait_after_message): Likewise.
2N/A
2N/A * normal/color.c: New file.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `normal/color.c'.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Add `normal/color.c'.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add `normal/color.c'.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `normal/color.c'.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * normal/menu_entry.c (run): Rely on grub_wait_after_message()
2N/A for waiting after a message is printed.
2N/A * normal/main.c (read_config_file): Likewise.
2N/A (grub_normal_init): Register grub_env_write_color_normal() and
2N/A grub_env_write_color_highlight() hooks. Mark `color_normal' and
2N/A `color_highlight' variables as global.
2N/A
2N/A * normal/menu.c (grub_wait_after_message): New function.
2N/A (grub_color_menu_normal): New variable. Replaces ...
2N/A (GRUB_COLOR_MENU_NORMAL): ... this macro.
2N/A (grub_color_menu_highlight): New variable. Replaces ...
2N/A (GRUB_COLOR_MENU_HIGHLIGHT): ... this macro.
2N/A (draw_border): Set color state to `GRUB_TERM_COLOR_NORMAL' instead of
2N/A `GRUB_TERM_COLOR_STANDARD'.
2N/A (print_message): Use `grub_setcolorstate' to reload colors. Rename
2N/A `normal_code' and `highlight_code' to `old_color_normal' and
2N/A `old_color_highlight', respectively.
2N/A (grub_menu_init_page): Update colors when drawing the menu, based on
2N/A `menu_color_normal' and `menu_color_highlight' variables.
2N/A (grub_menu_run): Rely on grub_wait_after_message() for waiting after
2N/A a message is printed.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/env.c (grub_env_context_open): Propagate hooks for global
2N/A variables to new context.
2N/A
2N/A * kern/main.c (grub_set_root_dev): Export `root' variable.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (get_os_disk): Check for devfs-style IDE and SCSI
2N/A discs unconditionally, since udev and others have options to provide
2N/A them.
2N/A
2N/A2008-01-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/completion.c (iterate_dir): Skip `.' and `..' directories.
2N/A
2N/A2008-01-04 Christian Franke <franke@computer.org>
2N/A
2N/A * kern/i386/pc/init.c (grub_machine_init): Fix evaluation
2N/A of eisa_mmap.
2N/A
2N/A2008-01-03 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * kern/i386/linuxbios/init.c: Put "void" to all function
2N/A declarations with no arguments.
2N/A * kern/powerpc/ieee1275/init.c: Likewise.
2N/A * term/i386/pc/at_keyboard.c: Likewise.
2N/A * term/i386/pc/vga_text.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A
2N/A2008-01-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Improve error
2N/A message when loaded image is out of bounds.
2N/A (grub_multiboot_load_elf64): Likewise.
2N/A
2N/A2008-01-02 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/grub.d/10_linux.in: Try version without ".old" when
2N/A looking for initrd. It's better to use initrd from the newer
2N/A kernel of the same version than no initrd at all.
2N/A
2N/A2008-01-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/biosdisk.c (get_os_disk): Fix check for IDE or SCSI discs.
2N/A
2N/A2008-01-01 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * include/grub/video.h: Added grub_video_unmap_color and
2N/A grub_video_get_active_render_target.
2N/A (grub_video_adapter): Added unmap_color and get_active_render_target.
2N/A
2N/A * video/video.c: Added grub_video_unmap_color and
2N/A grub_video_get_active_render_target.
2N/A (grub_video_get_info): Changed method to accept NULL pointer as an
2N/A argument to allow detection of active video adapter.
2N/A
2N/A * video/i386/pc/vbe.c: Renamed grub_video_vbe_unmap_color as
2N/A grub_video_vbe_unmap_color_int.
2N/A Added grub_video_vbe_unmap_color and
2N/A grub_video_vbe_get_active_render_target.
2N/A (grub_video_vbe_adapter): Added unmap_color and
2N/A get_active_render_target.
2N/A
2N/A * video/i386/pc/vbeblit.c: Replaced grub_video_vbe_unmap_color usage
2N/A with grub_video_vbe_unmap_color_int.
2N/A
2N/A * term/gfxterm.c (DEFAULT_STANDARD_COLOR): Added.
2N/A (DEFAULT_NORMAL_COLOR): Likewise.
2N/A (DEFAULT_HIGHLIGHT_COLOR) Likewise.
2N/A (DEFAULT_FG_COLOR): Removed.
2N/A (DEFAULT_BG_COLOR): Likewise.
2N/A (DEFAULT_CURSOR_COLOR): Changed value.
2N/A (grub_virtual_screen): Added standard_color_setting,
2N/A normal_color_setting, highlight_color_setting and term_color.
2N/A (grub_virtual_screen): Removed fg_color_setting and bg_color_setting.
2N/A (bitmap_width): Added.
2N/A (bitmap_height): Likewise.
2N/A (bitmap): Likewise.
2N/A (set_term_color): Likewise.
2N/A (grub_virtual_screen_setup): Changed to use new terminal coloring
2N/A settings.
2N/A (grub_gfxterm_init): Added init for bitmap.
2N/A (grub_gfxterm_fini): Added destroy for bitmap.
2N/A (redraw_screen_rect): Updated to use background bitmap and new
2N/A terminal coloring.
2N/A (scroll_up): Added optimization for case when there is no bitmap.
2N/A (grub_gfxterm_cls): Fixed to use correct background color.
2N/A (grub_virtual_screen_setcolorstate): Changed to use new terminal
2N/A coloring.
2N/A (grub_virtual_screen_setcolor): Likewise.
2N/A (grub_virtual_screen_getcolor): Added.
2N/A (grub_gfxterm_background_image_cmd): Likewise.
2N/A (grub_video_term): Added setcolor and getcolor.
2N/A (MOD_INIT): Added registration of background_image command.
2N/A (MOD_TERM): Added unregistration for background_image command.
2N/A
2N/A2007-12-30 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * loader/multiboot_loader.c: Fix multiboot command
2N/A unregistration. Fix all typos in the word "multiboot".
2N/A
2N/A2007-12-29 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * util/grub.d/10_linux.in: Refactor search for initrd. Add
2N/A support for initrd names used in Fedora.
2N/A
2N/A2007-12-26 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add cpio.mod.
2N/A (cpio_mod_SOURCES): New variable.
2N/A (cpio_mod_CFLAGS): Likewise.
2N/A (cpio_mod_LDFLAGS): Likewise.
2N/A
2N/A * fs/cpio.c: New file.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add cpio.c.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A2007-12-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/term.h (struct grub_term): Add `getcolor' function.
2N/A (grub_getcolor): New function.
2N/A
2N/A * kern/term.c (grub_getcolor): New function.
2N/A * normal/menu.c (GRUB_COLOR_MENU_NORMAL): New macro.
2N/A (GRUB_COLOR_MENU_HIGHLIGHT): New macro.
2N/A (print_entry): Set normal and highlight colors to
2N/A `GRUB_COLOR_MENU_NORMAL' and `GRUB_COLOR_MENU_HIGHLIGHT',
2N/A respectively, before printing and restore them to old
2N/A values afterwards.
2N/A (grub_menu_init_page): Likewise. Fill an additional colored space
2N/A that would otherwise be left blank.
2N/A
2N/A * term/efi/console.c (grub_console_getcolor): New function.
2N/A (struct grub_console_term.getcolor): New variable.
2N/A * term/i386/pc/console.c (grub_console_getcolor): New function.
2N/A (struct grub_console_term.getcolor): New variable.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_getcolor): New function.
2N/A (struct grub_console_term.getcolor): New variable.
2N/A
2N/A * term/i386/pc/serial.c (grub_serial_setcolor): Remove function.
2N/A (struct grub_console_term.setcolor): Remove variable.
2N/A * term/i386/pc/vesafb.c (grub_virtual_screen_setcolor): Remove function.
2N/A (struct grub_console_term.setcolor): Remove variable.
2N/A * term/i386/pc/vga.c (grub_vga_setcolor): Remove function.
2N/A (struct grub_console_term.setcolor): Remove variable.
2N/A * term/gfxterm.c (grub_virtual_screen_setcolor): Remove function.
2N/A (struct grub_console_term.setcolor): Remove variable.
2N/A
2N/A2007-12-25 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * configure.ac: Search for possible unifont.hex locations, and
2N/A define UNIFONT_HEX if found.
2N/A
2N/A * Makefile.in (UNIFONT_HEX): Define variable.
2N/A (DATA): Rename to ...
2N/A (PKGLIB): ... this. Update all users.
2N/A (PKGDATA): New variable.
2N/A (pkgdata_IMAGES): Rename to ...
2N/A (pkglib_IMAGES): ... this. Update all users.
2N/A (pkgdata_MODULES): Rename to ...
2N/A (pkglib_MODULES): ... this. Update all users.
2N/A (pkgdata_PROGRAMS): Rename to ...
2N/A (pkglib_PROGRAMS): ... this. Update all users.
2N/A (pkgdata_DATA): Rename to ...
2N/A (pkglib_DATA): ... this. Update all users.
2N/A (CLEANFILES): Redefine to `$(pkglib_DATA) $(pkgdata_DATA)'.
2N/A (unicode.pff, ascii.pff): New rules.
2N/A (all-local): Add `$(PKGDATA)' dependency.
2N/A (install-local): Process `$(PKGDATA)'.
2N/A
2N/A * util/update-grub_lib.in (font_path): Search for *.pff files in
2N/A a few more locations, including `${pkgdata}'.
2N/A
2N/A2007-12-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Patch from Bean <bean123ch@gmail.com>:
2N/A * disk/loopback.c (grub_loopback_read): Add missing bit shift to
2N/A `size'.
2N/A
2N/A2007-12-21 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add ntfscomp.mod.
2N/A (ntfscomp_mod_SOURCES): New variable.
2N/A (ntfscomp_mod_CFLAGS): Likewise.
2N/A (ntfscomp_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfscomp.c.
2N/A (grub_probe_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * fs/ntfs.c (grub_ntfscomp_func): New variable.
2N/A (read_run_list): Renamed to grub_ntfs_read_run_list.
2N/A (decomp_nextvcn): Moved to ntfscomp.c.
2N/A (decomp_getch): Likewise.
2N/A (decomp_get16): Likewise.
2N/A (decomp_block): Likewise.
2N/A (read_block): Likewise.
2N/A (read_data): Partially moved to ntfscomp.c.
2N/A (fixup): Change unsigned to grub_uint16_t.
2N/A (read_mft): Change unsigned long to grub_uint32_t.
2N/A (read_attr): Likewise.
2N/A (read_data): Likewise.
2N/A (read_run_data): Likewise.
2N/A (read_run_list): Likewise.
2N/A (read_mft): Likewise.
2N/A
2N/A * fs/ntfscomp.c: New file.
2N/A
2N/A * include/grub/ntfs.h: New file.
2N/A
2N/A2007-12-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-mkdevicemap.c (make_device_map): Iterate up to 20 for
2N/A IDE disk check, since Linux is known to support 20 IDE disks.
2N/A Reported by Colin Watson.
2N/A
2N/A2007-12-15 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_IMAGES): Add lnxboot.img.
2N/A (lnxboot_img_SOURCES): New variable.
2N/A (lnxboot_img_ASFLAGS): Likewise.
2N/A (lnxboot_img_LDFLAGS): Likewise.
2N/A
2N/A * boot/i386/pc/lnxboot.S: New file.
2N/A
2N/A2007-11-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * configure.ac: Test if '--build-id=none' is supported by the
2N/A linker. If yes, add it to TARGET_LDFLAGS. Build ID causes
2N/A objcopy to generate incorrect binary files (binutils
2N/A 2.17.50.0.18-1 as shipped by Fedora 8).
2N/A * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Use LDFLAGS when
2N/A linking, so that build ID doesn't break the test.
2N/A
2N/A2007-11-24 Pavel Roskin <proski@gnu.org>
2N/A
2N/A * include/grub/i386/time.h: use "void" in the argument list
2N/A of grub_cpu_idle().
2N/A * include/grub/powerpc/time.h: Likewise.
2N/A * include/grub/sparc64/time.h: Likewise.
2N/A
2N/A2007-11-18 Christian Franke <franke@computer.org>
2N/A
2N/A * util/console.c (grub_ncurses_getkey): Change curses KEY_* mapping,
2N/A now return control chars instead of GRUB_CONSOLE_KEY_* constants.
2N/A This fixes the problem that function keys did not work in grub-emu.
2N/A
2N/A2007-11-18 Christian Franke <franke@computer.org>
2N/A
2N/A * disk/host.c (grub_host_open): Remove attribute unused from
2N/A name parameter. Add check for "host". This fixes the problem
2N/A that grub-emu does not find partitions.
2N/A
2N/A2007-11-18 Christian Franke <franke@computer.org>
2N/A
2N/A * util/hostfs.c (is_dir): New function.
2N/A (grub_hostfs_dir): Handle missing dirent.d_type case.
2N/A (grub_hostfs_read): Add missing fseek().
2N/A (grub_hostfs_label): Clear label pointer. This fixes a crash
2N/A of grub-emu on "ls (host)".
2N/A
2N/A2007-11-18 Christian Franke <franke@computer.org>
2N/A
2N/A * include/grub/i386/pc/init.h (struct grub_machine_mmap_entry):
2N/A Add attribute packed, gcc 3.4.4 on Cygwin aligns this
2N/A to 64 bit boundary by default.
2N/A
2N/A2007-11-18 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add hexdump.mod.
2N/A (hexdump_mod_SOURCES): New variable.
2N/A (hexdump_mod_CFLAGS): Likewise.
2N/A (hexdump_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add command/hexdump.c.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Add command/hexdump.c.
2N/A
2N/A * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add command/hexdump.c.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add command/hexdump.c.
2N/A
2N/A * include/grub/hexdump.h: New file.
2N/A
2N/A * commands/hexdump.c: New file.
2N/A
2N/A2007-11-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/i386/pc/play.c (beep_off): Switch order of arguments
2N/A in grub_outb() calls.
2N/A (beep_on): Likewise.
2N/A
2N/A2007-11-10 Christian Franke <franke@computer.org>
2N/A
2N/A * normal/menu.c (run_menu): Check for empty menu to avoid crash.
2N/A (grub_menu_run): Likewise.
2N/A
2N/A2007-11-10 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/efi/machine.h: New file.
2N/A * include/grub/i386/linuxbios/machine.h: Likewise.
2N/A * include/grub/i386/pc/machine.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/machine.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/machine.h: Likewise.
2N/A
2N/A * term/i386/pc/serial.c: Include <grub/machine/machine.h>.
2N/A (serial_hw_io_addr): New variable.
2N/A (serial_hw_get_port): Obtain port address from `serial_hw_io_addr'
2N/A instead of `(unsigned short *) 0x400'.
2N/A
2N/A2007-11-10 Bean <bean123ch@gmail.com>
2N/A
2N/A * fs/ntfs.c (read_block): Fix a bug caused by adjacent blocks.
2N/A
2N/A2007-11-10 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added vga.mod.
2N/A (vga_mod_SOURCES): Added.
2N/A (vga_mod_CFLAGS): Likewise.
2N/A (vga_mod_LDFLAGS): Likewise.
2N/A
2N/A * term/i386/pc/vga.c (get_map_mask): Switch order of arguments in
2N/A grub_outb() calls.
2N/A (set_map_mask): Likewise.
2N/A (set_read_map): Likewise.
2N/A (set_read_address): Likewise.
2N/A (vga_font): Removed variable.
2N/A (get_vga_glyph): Removed function.
2N/A (invalidate_char): Likewise.
2N/A (write_char): Changed to use grub_font_get_glyph() for font
2N/A information.
2N/A (grub_vga_putchar): Likewise.
2N/A (grub_vga_getcharwidth): Likewise.
2N/A
2N/A2007-11-10 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * conf/i386-pc.rmk (boot_img_LDFLAGS): Use COMMON_LDFLAGS for target
2N/A flags.
2N/A (pxeboot_img_LDFLAGS): Likewise.
2N/A (diskboot_img_LDFLAGS): Likewise.
2N/A (kernel_img_LDFLAGS): Likewise.
2N/A
2N/A2007-11-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/serial.c (serial_hw_put): Switch order of arguments
2N/A in grub_outb() calls.
2N/A (serial_hw_init): Likewise.
2N/A
2N/A2007-11-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Allow files in ${update_grub_dir} to contain
2N/A spaces. Skip non-regular files.
2N/A
2N/A2007-11-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/disk.c (grub_disk_firmware_fini)
2N/A (grub_disk_firmware_is_tainted): New variables.
2N/A
2N/A * include/grub/disk.h (grub_disk_firmware_fini)
2N/A (grub_disk_firmware_is_tainted): Likewise.
2N/A
2N/A * disk/i386/pc/biosdisk.c (GRUB_MOD_FINI(biosdisk)): Moved from here ...
2N/A (grub_disk_biosdisk_fini): ... to here.
2N/A (GRUB_MOD_FINI(biosdisk)): Implement using grub_disk_biosdisk_fini().
2N/A (GRUB_MOD_INIT(biosdisk)): Abort when `grub_disk_firmware_is_tainted'
2N/A is set. Register grub_disk_biosdisk_fini() in
2N/A `grub_disk_firmware_fini'.
2N/A
2N/A * disk/ata.c: Remove `<grub/machine/biosdisk.h>'.
2N/A (GRUB_MOD_INIT(ata)): Remove grub_biosdisk_fini() call.
2N/A Use `grub_disk_firmware_is_tainted' and `grub_disk_firmware_fini'
2N/A to finish existing firmware disk interface.
2N/A
2N/A * conf/i386-linuxbios.rmk (pkgdata_MODULES): Add `ata.mod'.
2N/A (ata_mod_SOURCES): New variable.
2N/A (ata_mod_CFLAGS): Likewise.
2N/A (ata_mod_LDFLAGS): Likewise.
2N/A
2N/A2007-11-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * disk/ata.c: Remove `<grub/machine/time.h>'. Include `<grub/time.h>'.
2N/A (grub_ata_wait): Reimplement using grub_millisleep().
2N/A
2N/A * include/grub/misc.h (grub_div_roundup): Fix parenthesization.
2N/A * include/grub/i386/time.h (grub_cpu_idle): Disable `hlt' instruction.
2N/A
2N/A2007-11-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * term/i386/pc/vga_text.c: Include <grub/cpu/io.h>.
2N/A (CRTC_ADDR_PORT): New macro.
2N/A (CRTC_DATA_PORT): Likewise.
2N/A (CRTC_CURSOR): Likewise.
2N/A (CRTC_CURSOR_ADDR_HIGH): Likewise.
2N/A (CRTC_CURSOR_ADDR_LOW): Likewise.
2N/A (update_cursor): New function.
2N/A (grub_console_real_putchar): Call `update_cursor'.
2N/A (grub_console_gotoxy): Likewise.
2N/A (grub_console_cls): Set the default color when clearing the
2N/A screen.
2N/A (grub_console_setcursor): Implemented.
2N/A
2N/A2007-11-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_pio_read): Don't wait for the command to
2N/A become activate.
2N/A (grub_ata_pio_write): Likewise.
2N/A
2N/A (grub_atapi_identify): Wait after issuing an ATA command.
2N/A (grub_atapi_packet): Likewise.
2N/A (grub_ata_identify): Likewise.
2N/A (grub_ata_readwrite): Likewise.
2N/A
2N/A2007-11-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_pio_read): Detect and return the error code.
2N/A (grub_ata_pio_write): Likewise.
2N/A (grub_ata_readwrite): Use `grub_error', instead of
2N/A returning `grub_errno'.
2N/A
2N/A2007-11-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * disk/ata.c (grub_ata_readwrite): Call grub_ata_pio_read and
2N/A grub_ata_pio_write once for every single sector, instead of for
2N/A multiple sectors.
2N/A
2N/A2007-10-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * configure.ac: Add `i386-linuxbios' to the list of supported targets.
2N/A
2N/A * conf/i386-linuxbios.rmk: New file.
2N/A
2N/A * kern/i386/pc/hardware.c: Likewise.
2N/A * term/i386/pc/at_keyboard.c: Likewise.
2N/A * term/i386/pc/vga_text.c: Likewise.
2N/A
2N/A * include/grub/i386/linuxbios/boot.h: Likewise.
2N/A * include/grub/i386/linuxbios/console.h: Likewise.
2N/A * include/grub/i386/linuxbios/init.h: Likewise.
2N/A * include/grub/i386/linuxbios/kernel.h: Likewise.
2N/A * include/grub/i386/linuxbios/loader.h: Likewise.
2N/A * include/grub/i386/linuxbios/memory.h: Likewise.
2N/A * include/grub/i386/linuxbios/serial.h: Likewise.
2N/A * include/grub/i386/linuxbios/time.h: Likewise.
2N/A
2N/A * kern/i386/linuxbios/init.c: Likewise.
2N/A * kern/i386/linuxbios/startup.S: Likewise.
2N/A * kern/i386/linuxbios/table.c: Likewise.
2N/A
2N/A2007-10-31 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Add `ata.mod'.
2N/A (ata_mod_SOURCES): New variable.
2N/A (ata_mod_CFLAGS): Likewise.
2N/A (ata_mod_LDFLAGS): Likewise.
2N/A
2N/A * disk/ata.c: New file.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEV_ATA_ID'.
2N/A
2N/A2007-10-31 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/init.h (grub_lower_mem): Moved from here ...
2N/A * include/grub/i386/pc/memory.h (grub_lower_mem): ... to here.
2N/A
2N/A * include/grub/i386/pc/init.h (grub_upper_mem): Moved from here ...
2N/A * include/grub/i386/pc/memory.h (grub_upper_mem): ... to here.
2N/A
2N/A * include/grub/i386/pc/memory.h: Include `<grub/symbol.h>' and
2N/A `<grub/types.h>'.
2N/A
2N/A * loader/i386/pc/multiboot.c: Include `<grub/machine/memory.h>'.
2N/A
2N/A2007-10-27 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/types.h (ULONG_MAX): Define macro.
2N/A
2N/A2007-10-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/pc/startup.S: Remove `"kern/i386/realmode.S"'. Include
2N/A `"../realmode.S"'.
2N/A Remove `"kern/i386/loader.S"'. Include `"../loader.S"'.
2N/A
2N/A2007-10-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Remove `disk/i386/pc/biosdisk.c'.
2N/A (pkgdata_MODULES): Add `biosdisk.mod'.
2N/A (biosdisk_mod_SOURCES, biosdisk_mod_CFLAGS, biosdisk_mod_LDFLAGS): New
2N/A variables.
2N/A
2N/A * disk/i386/pc/biosdisk.c: Include `<grub/dl.h>'.
2N/A (grub_biosdisk_init): Replace with ...
2N/A (GRUB_MOD_INIT(biosdisk)): ... this.
2N/A (grub_biosdisk_fini): Replace with ...
2N/A (GRUB_MOD_FINI(biosdisk)): ... this.
2N/A
2N/A * kern/i386/pc/init.c: Remove `<grub/machine/biosdisk.h>'.
2N/A (grub_machine_init): Remove call to grub_biosdisk_init().
2N/A (grub_machine_fini): Remove call to grub_machine_fini().
2N/A
2N/A * util/i386/pc/grub-install.in (modules): Add `biosdisk'.
2N/A
2N/A2007-10-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/time.h: New file.
2N/A * include/grub/i386/time.h: Likewise.
2N/A * include/grub/powerpc/time.h: Likewise.
2N/A * include/grub/sparc64/time.h: Likewise.
2N/A
2N/A * include/grub/i386/pc/time.h (KERNEL_TIME_HEADER): Rename all
2N/A instances to ...
2N/A (KERNEL_MACHINE_TIME_HEADER): ... this.
2N/A * include/grub/powerpc/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all
2N/A instances to ...
2N/A (KERNEL_MACHINE_TIME_HEADER): ... this.
2N/A * include/grub/sparc64/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all
2N/A instances to ...
2N/A (KERNEL_MACHINE_TIME_HEADER): ... this.
2N/A
2N/A * kern/i386/efi/init.c: Include `<grub/time.h>'.
2N/A (grub_millisleep): New function.
2N/A * kern/i386/pc/init.c: Include `<grub/time.h>'.
2N/A (grub_millisleep): New function.
2N/A * kern/powerpc/ieee1275/init.c: Include `<grub/time.h>'.
2N/A Remove `grub/machine/time.h' include.
2N/A (grub_millisleep): New function.
2N/A * kern/sparc64/ieee1275/init.c: Include `<grub/time.h>'.
2N/A Remove `grub/machine/time.h' include.
2N/A (grub_millisleep): New function.
2N/A
2N/A * include/grub/misc.h (grub_div_roundup): New function.
2N/A
2N/A * kern/misc.c: Include `<grub/time.h>'.
2N/A (grub_millisleep_generic): New function.
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_HEADERS): Remove `i386/efi/time.h'.
2N/A Add `time.h'.
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Remove `machine/time.h'.
2N/A Add `time.h'.
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Remove
2N/A `machine/time.h'. Add `time.h'.
2N/A * conf/sparc64-ieee1275.rmk (kernel_elf_HEADERS): Likewise.
2N/A
2N/A2007-10-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/misc.h (grub_max): New function.
2N/A
2N/A2007-10-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/misc.c (grub_util_info): Call fflush() before returning.
2N/A
2N/A2007-10-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * genmk.rb (Image): Copy `extra_flags' from here ...
2N/A (PModule): ... to here. Use it in `#{obj}: #{src}' rule.
2N/A
2N/A * commands/i386/cpuid.c (grub_cmd_cpuid): Add __attribute__ ((unused))
2N/A to `argc' and `args' arguments.
2N/A
2N/A2007-10-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/i386/loader.S: New file.
2N/A
2N/A * kern/i386/pc/startup.S (grub_linux_prot_size): Moved from here ...
2N/A * kern/i386/loader.S (grub_linux_prot_size)... to here.
2N/A * kern/i386/pc/startup.S (grub_linux_tmp_addr): Moved from here ...
2N/A * kern/i386/loader.S (grub_linux_tmp_addr)... to here.
2N/A * kern/i386/pc/startup.S (grub_linux_real_addr): Moved from here ...
2N/A * kern/i386/loader.S (grub_linux_real_addr)... to here.
2N/A * kern/i386/pc/startup.S (grub_linux_boot_zimage): Moved from here ...
2N/A * kern/i386/loader.S (grub_linux_boot_zimage)... to here.
2N/A * kern/i386/pc/startup.S (grub_linux_boot_bzimage): Moved from here ...
2N/A * kern/i386/loader.S (grub_linux_boot_bzimage)... to here.
2N/A * kern/i386/pc/startup.S (grub_multiboot_real_boot): Moved from here ...
2N/A * kern/i386/loader.S (grub_multiboot_real_boot)... to here.
2N/A * kern/i386/pc/startup.S (grub_multiboot2_real_boot): Moved from here ...
2N/A * kern/i386/loader.S (grub_multiboot2_real_boot)... to here.
2N/A
2N/A * kern/i386/realmode.S: New file.
2N/A
2N/A * kern/i386/pc/startup.S (protstack): Moved from here ...
2N/A * kern/i386/realmode.S (protstack)... to here.
2N/A * kern/i386/pc/startup.S (gdt): Moved from here ...
2N/A * kern/i386/realmode.S (gdt)... to here.
2N/A * kern/i386/pc/startup.S (prot_to_real): Moved from here ...
2N/A * kern/i386/realmode.S (prot_to_real)... to here.
2N/A
2N/A * kern/i386/pc/startup.S: Include `kern/i386/loader.S' and
2N/A `kern/i386/realmode.S'.
2N/A
2N/A2007-10-17 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/loader.h: New file.
2N/A
2N/A * include/grub/i386/pc/loader.h (grub_linux_prot_size)
2N/A (grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr)
2N/A (grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage)
2N/A (grub_multiboot_real_boot, grub_multiboot2_real_boot)
2N/A (grub_rescue_cmd_linux, grub_rescue_cmd_initrd): Moved from here ...
2N/A * include/grub/i386/loader.h (grub_linux_prot_size)
2N/A (grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr)
2N/A (grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage)
2N/A (grub_multiboot_real_boot, grub_multiboot2_real_boot)
2N/A (grub_rescue_cmd_linux, grub_rescue_cmd_initrd): ... to here.
2N/A
2N/A * include/grub/i386/pc/loader.h: Include `grub/cpu/loader.h'.
2N/A
2N/A2007-10-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/misc.c (grub_normal_print_device_info): Do not probe for
2N/A filesystem when dev->disk is unset.
2N/A Do probe for filesystem even when dev->disk->has_partitions is set.
2N/A In case a filesystem is found, always report it.
2N/A In case it isn't, if dev->disk->has_partitions is set, report that
2N/A a partition table was found instead of reporting that no filesystem
2N/A could be identified.
2N/A
2N/A2007-10-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_mkimage_SOURCES): Replace reference
2N/A to util/powerpc/ieee1275/grub-mkimage.c with util/elf/grub-mkimage.c.
2N/A
2N/A * include/grub/types.h (grub_host_to_target16): New macro.
2N/A (grub_host_to_target32): Likewise.
2N/A (grub_host_to_target64): Likewise.
2N/A (grub_target_to_host16): Likewise.
2N/A (grub_target_to_host32): Likewise.
2N/A (grub_target_to_host64): Likewise.
2N/A
2N/A * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN):
2N/A Renamed from to ...
2N/A (GRUB_MOD_ALIGN): ...this. Update all users.
2N/A
2N/A * util/elf/grub-mkimage.c (load_note): Replace grub_cpu_to_be32 with
2N/A grub_host_to_target32.
2N/A Replace grub_be_to_cpu32 with grub_target_to_host32.
2N/A (load_modules): Likewise.
2N/A (add_segments): Replace grub_be_to_cpu16 with grub_target_to_host16.
2N/A Replace grub_be_to_cpu32 with grub_target_to_host32.
2N/A Replace grub_cpu_to_be16 with grub_host_to_target16.
2N/A Replace grub_cpu_to_be32 grub_host_to_target32.
2N/A
2N/A2007-10-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c: Moved to ...
2N/A * util/elf/grub-mkimage.c: ... here.
2N/A
2N/A * DISTLIST: Add `util/elf/grub-mkimage.c'. Remove
2N/A `util/powerpc/ieee1275/grub-mkimage.c'.
2N/A
2N/A2007-10-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/init.c: Rename HEAP_LIMIT to HEAP_MAX_ADDR,
2N/A and make it easier to figure out.
2N/A Add HEAP_MIN_SIZE and HEAP_MAX_ADDR definitions.
2N/A (grub_claim_heap): Use HEAP_MAX_ADDR rather than taking a parameter.
2N/A Do not avoid claiming a region above HEAP_MAX_ADDR if that would
2N/A leave us with less than HEAP_MIN_SIZE total heap.
2N/A Avoid our total amount of heap to surpass HEAP_MAX_SIZE.
2N/A
2N/A2007-10-03 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/io.h: New file.
2N/A * commands/i386/pc/play.c (inb): Removed.
2N/A (outb): Removed.
2N/A Include grub/cpu/io.h. Replace inb() with grub_inb() and outb()
2N/A with grub_outb().
2N/A * term/i386/pc/serial.c (inb): Removed.
2N/A (outb): Removed.
2N/A Include grub/cpu/io.h. Replace inb() with grub_inb() and outb()
2N/A with grub_outb().
2N/A * term/i386/pc/vga.c (inb): Removed.
2N/A (outb): Removed.
2N/A Include grub/cpu/io.h. Replace inb() with grub_inb() and outb()
2N/A with grub_outb().
2N/A
2N/A2007-10-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Add util/hostfs.c.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A Reported by Marcin Kurek.
2N/A
2N/A2007-09-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_test_flag): Detect
2N/A SmartFirmware version updates (as released by Sven Luther), and avoid
2N/A setting GRUB_IEEE1275_FLAG_NO_PARTITION_0 or
2N/A GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS unless the running version is
2N/A known broken.
2N/A
2N/A2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A From Hitoshi Ozeki:
2N/A * kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS
2N/A when merging two regions.
2N/A
2N/A2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/rescue.c (grub_enter_rescue_mode): Free ARGS.
2N/A * normal/completion.c (grub_normal_do_completion): Likewise.
2N/A Reported by Hitoshi Ozeki.
2N/A
2N/A2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Do not use devices at boot in chainloading.
2N/A
2N/A * loader/i386/pc/chainloader.c (boot_drive): New variable.
2N/A (boot_part_addr): Likewise.
2N/A (grub_chainloader_boot): Simply call grub_chainloader_real_boot
2N/A with BOOT_DRIVE and BOOT_PART_ADDR.
2N/A (grub_chainloader_cmd): Set BOOT_DRIVE and BOOT_PART_ADDR.
2N/A Reported by Hitoshi Ozeki <h-ozeki@ck2.so-net.ne.jp>.
2N/A
2N/A2007-08-29 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Patch from Simon Peter <dn.tlp@gmx.net>:
2N/A * genmk.rb (Utility): Append $(#{src}_DEPENDENCIES) to #{obj} targets.
2N/A * conf/i386-pc.rmk: Replace grub-probe_DEPENDENCIES with
2N/A util/grub-probe.c_DEPENDENCIES. Replace grub-setup_DEPENDENCIES with
2N/A util/i386/pc/grub-setup.c_DEPENDENCIES.
2N/A * conf/i386-efi.rmk: Replace grub-probe_DEPENDENCIES with
2N/A util/grub-probe.c_DEPENDENCIES.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A
2N/A2007-08-28 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/get_disk_name.c: New. Implement grub_util_get_disk_name()
2N/A to tell grub-mkdevicemap how to name devices.
2N/A * util/ieee1275/get_disk_name.c: Likewise (using "ofpathname -a"
2N/A feature).
2N/A
2N/A * conf/i386-efi.rmk (grub_mkdevicemap_SOURCES): Add
2N/A util/i386/get_disk_name.c.
2N/A * conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Add
2N/A util/ieee1275/get_disk_name.c.
2N/A
2N/A * include/grub/util/misc.h: grub_util_get_disk_name() declaration.
2N/A
2N/A * DISTLIST: Add util/i386/get_disk_name.c and
2N/A util/ieee1275/get_disk_name.c.
2N/A
2N/A * util/grub-mkdevicemap.c: Replace device naming logic with
2N/A grub_util_get_disk_name() calls.
2N/A
2N/A2007-08-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/menu.c (run_menu): Refer to seconds as "s" not "seconds"
2N/A (so that it works for both plural and singular quantities).
2N/A
2N/A2007-08-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix
2N/A so that [xz] isn't taken into account when determining order.
2N/A
2N/A2007-08-02 Marco Gerards <marco@gnu.org>
2N/A
2N/A * DISTLIST: Add `disk/host.c', `fs/ntfs.c', `include/multiboot.h',
2N/A `include/multiboot2.h', `include/grub/elfload.h',
2N/A `include/multiboot.h', `include/grub/multiboot.h',
2N/A `include/grub/multiboot_loader.h', `include/grub/multiboot2.h',
2N/A `include/grub/i386/pc/biosdisk.h', `include/grub/util/biosdisk.h',
2N/A `kern/elf.c', `loader/multiboot_loader.c',
2N/A `loader/multiboot_loader_normal.c', `loader/multiboot2.c',
2N/A `loader/i386/pc/multiboot2.c',
2N/A `loader/powerpc/ieee1275/multiboot2.c', `util/hostfs.c' and
2N/A `util/i386/pc/grub-mkrescue.in'. Remove
2N/A `include/grub/biosdisk.h', `include/grub/i386/pc/multiboot.h',
2N/A `include/grub/i386/pc/util/biosdisk.h' and
2N/A `include/grub/powerpc/ieee1275/multiboot.h'.
2N/A
2N/A2007-08-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add ntfs.mod.
2N/A (ntfs_mod_SOURCES): New variable.
2N/A (ntfs_mod_CFLAGS): Likewise.
2N/A (ntfs_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfs.c.
2N/A (grub_probe_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfs.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfs.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/misc.c (grub_utf16_to_utf8): Fix unicode conversion bug.
2N/A
2N/A * fs/ntfs.c: New file.
2N/A
2N/A2007-08-02 Bean <bean123ch@gmail.com>
2N/A
2N/A * disk.h (grub_disk): Use NESTED_FUNC_ATTR.
2N/A
2N/A * file.h (grub_file): Likewise.
2N/A
2N/A * fshelp.h (grub_fshelp_read_file): Likewise.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Likewise.
2N/A (save_first_sector): Likewise.
2N/A (save_blocklists): Likewise.
2N/A
2N/A * fs/affs.c (grub_affs_read_file): Likewise.
2N/A
2N/A * fs/ext2.c (grub_ext2_read_file): Likewise.
2N/A
2N/A * fs/fat.c (grub_fat_read_data): Likewise.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_read_file): Likewise.
2N/A
2N/A * fs/hfs.c (grub_hfs_read_file): Likewise.
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_read_file): Likewise.
2N/A
2N/A * fs/jfs.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/minix.c (grub_minix_read_file): Likewise.
2N/A
2N/A * fs/sfs.c (grub_sfs_read_file): Likewise.
2N/A
2N/A * fs/ufs.c (grub_ufs_read_file): Likewise.
2N/A
2N/A * fs/xfs.c (grub_xfs_read_file): Likewise.
2N/A
2N/A * command/blocklist.c (read_blocklist): Likewise.
2N/A (print_blocklist): Likewise.
2N/A
2N/A2007-08-02 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/host.c' and
2N/A `util/hostfs.c'.
2N/A
2N/A * disk/host.c: New file.
2N/A
2N/A * util/hostfs.c: Likewise.
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_mount): When reading out of disk,
2N/A return `GRUB_ERR_BAD_FS'.
2N/A * fs/sfs.c (grub_sfs_mount): Likewise.
2N/A * fs/xfs.c (grub_xfs_mount): Likewise.
2N/A
2N/A * include/grub/disk.h (enum grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEVICE_HOST_ID'.
2N/A
2N/A * util/grub-emu.c (main): Initialize and de-initialize hostfs.
2N/A
2N/A2007-07-24 Jerone Young <jerone@gmail.com>
2N/A
2N/A * conf/i386-pc.rmk: Add Multiboot loader and multiboot 2 to multiboot
2N/A modules for compilation.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A
2N/A * include/multiboot.h: Move multiboot definitions to one file. Rename
2N/A many definitions to not get grub specific.
2N/A * include/multiboot2.h: Create header with multiboot 2 definitions.
2N/A * include/grub/multiboot.h: Header for grub specific function
2N/A prototypes and definitions.
2N/A * include/grub/multiboot2.h: Likewise.
2N/A * include/grub/multiboot_loader.h: Likewise.
2N/A * include/grub/i386/pc/multiboot.h: Removed.
2N/A * include/grub/powerpc/ieee1275/multiboot.h: Removed.
2N/A
2N/A * loader/multiboot_loader.c: Created to act as a proxy for multiboot 1
2N/A and 2 to allow for one multiboot and module commands.
2N/A * loader/multiboot2.c: Add multiboot2 functionality.
2N/A * loader/i386/pc/multiboot.c: Modify for new multiboot header location
2N/A and definition names.
2N/A * loader/i386/pc/multiboot2.c: Created to add i386 specific multiboot
2N/A 2 functions.
2N/A * loader/powerpc/ieee1275/multiboot2.c: Created to add powerpc
2N/A ieee1275 specific multiboot2 code.
2N/A
2N/A * kern/i386/pc/startup.S: Change headers and definition names for
2N/A multiboot. Add function grub_multiboot2_real_boot for multiboot 2.
2N/A
2N/A2007-07-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * geninitheader.sh: Process file specified in first parameter rather
2N/A than hardcoding grub_modules_init.lst.
2N/A * geninit.sh: Likewise. Also, construct header name dynamically rather
2N/A than hardcoding grub_modules_init.h.
2N/A
2N/A * conf/common.rmk: Rename grub_modules_init.[ch] files associated with
2N/A grub-emu to grub_emu_init.[ch]. Add rules to build analogous
2N/A grub_probe_init.[ch] and grub_setup_init.[ch].
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Replace
2N/A grub_modules_init.h with grub_emu_init.h.
2N/A (grub_probe_DEPENDENCIES, grub_probe_SOURCES): Add new
2N/A grub_probe_init.[ch] files.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A (grub_setup_DEPENDENCIES, grub_setup_SOURCES): Add new
2N/A grub_setup_init.[ch] files.
2N/A
2N/A * util/grub-emu.c: Replace grub_modules_init.h with grub_emu_init.h.
2N/A * util/grub-probe.c: Include grub_probe_init.h. Use grub_init_all()
2N/A to initialize modules rather than a list of hardcoded functions.
2N/A * util/i386/pc/grub-setup.c: Include grub_setup_init.h. Use
2N/A grub_init_all() to initialize modules rather than a list of hardcoded
2N/A functions.
2N/A
2N/A2007-07-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set
2N/A GRUB_IEEE1275_FLAG_NO_PARTITION_0 flag when running on SmartFirmware.
2N/A
2N/A2007-07-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add
2N/A GRUB_IEEE1275_FLAG_BROKEN_OUTPUT flag.
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set this
2N/A flag when running on SmartFirmware.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_init): Avoid running
2N/A "output-device output" command when GRUB_IEEE1275_FLAG_BROKEN_OUTPUT
2N/A was set.
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname):
2N/A Increase partno when GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS flag is set,
2N/A rather than decreasing it.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): When embedding is required, but
2N/A there's not enough space to do it, fail in the same way as when it
2N/A can't be done because there are no partitions.
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Improve error message shown
2N/A when nvsetenv failed.
2N/A
2N/A2007-07-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/i386-pc.rmk (CLEANFILES): Removed for grub-mkrescue,
2N/A because this rule is automatically generated.
2N/A (grub-mkrescue): Removed for the same reason as above.
2N/A
2N/A2007-07-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Migrate to GNU General Public License Version 3.
2N/A
2N/A * COPYING: Replaced with the plain text version of GPLv3.
2N/A
2N/A * config.guess: Updated from gnulib.
2N/A * config.sub: Likewise.
2N/A
2N/A * geninit.sh: Output a GPLv3 copyright notice.
2N/A * geninitheader.sh: Likewise.
2N/A * genmodsrc.sh: Likewise.
2N/A * gensymlist.sh.in: Likewise.
2N/A
2N/A * boot/i386/pc/boot.S: Upgraded to GPLv3.
2N/A * boot/i386/pc/diskboot.S: Likewise.
2N/A * boot/i386/pc/pxeboot.S: Likewise.
2N/A * commands/blocklist.c: Likewise.
2N/A * commands/boot.c: Likewise.
2N/A * commands/cat.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/configfile.c: Likewise.
2N/A * commands/echo.c: Likewise.
2N/A * commands/help.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/search.c: Likewise.
2N/A * commands/terminal.c: Likewise.
2N/A * commands/test.c: Likewise.
2N/A * commands/videotest.c: Likewise.
2N/A * commands/i386/cpuid.c: Likewise.
2N/A * commands/i386/pc/halt.c: Likewise.
2N/A * commands/i386/pc/play.c: Likewise.
2N/A * commands/i386/pc/reboot.c: Likewise.
2N/A * commands/i386/pc/vbeinfo.c: Likewise.
2N/A * commands/i386/pc/vbetest.c: Likewise.
2N/A * commands/ieee1275/halt.c: Likewise.
2N/A * commands/ieee1275/reboot.c: Likewise.
2N/A * commands/ieee1275/suspend.c: Likewise.
2N/A * disk/loopback.c: Likewise.
2N/A * disk/lvm.c: Likewise.
2N/A * disk/raid.c: Likewise.
2N/A * disk/efi/efidisk.c: Likewise.
2N/A * disk/i386/pc/biosdisk.c: Likewise.
2N/A * disk/ieee1275/ofdisk.c: Likewise.
2N/A * font/manager.c: Likewise.
2N/A * fs/affs.c: Likewise.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/fat.c: Likewise.
2N/A * fs/fshelp.c: Likewise.
2N/A * fs/hfs.c: Likewise.
2N/A * fs/hfsplus.c: Likewise.
2N/A * fs/iso9660.c: Likewise.
2N/A * fs/jfs.c: Likewise.
2N/A * fs/minix.c: Likewise.
2N/A * fs/sfs.c: Likewise.
2N/A * fs/ufs.c: Likewise.
2N/A * fs/xfs.c: Likewise.
2N/A * hello/hello.c: Likewise.
2N/A * include/grub/acorn_filecore.h: Likewise.
2N/A * include/grub/arg.h: Likewise.
2N/A * include/grub/bitmap.h: Likewise.
2N/A * include/grub/boot.h: Likewise.
2N/A * include/grub/cache.h: Likewise.
2N/A * include/grub/device.h: Likewise.
2N/A * include/grub/disk.h: Likewise.
2N/A * include/grub/dl.h: Likewise.
2N/A * include/grub/elfload.h: Likewise.
2N/A * include/grub/env.h: Likewise.
2N/A * include/grub/err.h: Likewise.
2N/A * include/grub/file.h: Likewise.
2N/A * include/grub/font.h: Likewise.
2N/A * include/grub/fs.h: Likewise.
2N/A * include/grub/fshelp.h: Likewise.
2N/A * include/grub/gzio.h: Likewise.
2N/A * include/grub/hfs.h: Likewise.
2N/A * include/grub/kernel.h: Likewise.
2N/A * include/grub/loader.h: Likewise.
2N/A * include/grub/lvm.h: Likewise.
2N/A * include/grub/misc.h: Likewise.
2N/A * include/grub/mm.h: Likewise.
2N/A * include/grub/net.h: Likewise.
2N/A * include/grub/normal.h: Likewise.
2N/A * include/grub/parser.h: Likewise.
2N/A * include/grub/partition.h: Likewise.
2N/A * include/grub/pc_partition.h: Likewise.
2N/A * include/grub/raid.h: Likewise.
2N/A * include/grub/rescue.h: Likewise.
2N/A * include/grub/script.h: Likewise.
2N/A * include/grub/setjmp.h: Likewise.
2N/A * include/grub/symbol.h: Likewise.
2N/A * include/grub/term.h: Likewise.
2N/A * include/grub/terminfo.h: Likewise.
2N/A * include/grub/tparm.h: Likewise.
2N/A * include/grub/types.h: Likewise.
2N/A * include/grub/video.h: Likewise.
2N/A * include/grub/efi/api.h: Likewise.
2N/A * include/grub/efi/chainloader.h: Likewise.
2N/A * include/grub/efi/console.h: Likewise.
2N/A * include/grub/efi/console_control.h: Likewise.
2N/A * include/grub/efi/disk.h: Likewise.
2N/A * include/grub/efi/efi.h: Likewise.
2N/A * include/grub/efi/pe32.h: Likewise.
2N/A * include/grub/efi/time.h: Likewise.
2N/A * include/grub/i386/linux.h: Likewise.
2N/A * include/grub/i386/setjmp.h: Likewise.
2N/A * include/grub/i386/types.h: Likewise.
2N/A * include/grub/i386/efi/kernel.h: Likewise.
2N/A * include/grub/i386/efi/loader.h: Likewise.
2N/A * include/grub/i386/efi/time.h: Likewise.
2N/A * include/grub/i386/pc/biosdisk.h: Likewise.
2N/A * include/grub/i386/pc/boot.h: Likewise.
2N/A * include/grub/i386/pc/chainloader.h: Likewise.
2N/A * include/grub/i386/pc/console.h: Likewise.
2N/A * include/grub/i386/pc/init.h: Likewise.
2N/A * include/grub/i386/pc/kernel.h: Likewise.
2N/A * include/grub/i386/pc/loader.h: Likewise.
2N/A * include/grub/i386/pc/memory.h: Likewise.
2N/A * include/grub/i386/pc/multiboot.h: Likewise.
2N/A * include/grub/i386/pc/serial.h: Likewise.
2N/A * include/grub/i386/pc/time.h: Likewise.
2N/A * include/grub/i386/pc/vbe.h: Likewise.
2N/A * include/grub/i386/pc/vbeblit.h: Likewise.
2N/A * include/grub/i386/pc/vbefill.h: Likewise.
2N/A * include/grub/i386/pc/vbeutil.h: Likewise.
2N/A * include/grub/i386/pc/vga.h: Likewise.
2N/A * include/grub/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/ieee1275/ofdisk.h: Likewise.
2N/A * include/grub/powerpc/libgcc.h: Likewise.
2N/A * include/grub/powerpc/setjmp.h: Likewise.
2N/A * include/grub/powerpc/types.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/biosdisk.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/console.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/kernel.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/loader.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/multiboot.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/time.h: Likewise.
2N/A * include/grub/powerpc/ieee1275/util/biosdisk.h: Likewise.
2N/A * include/grub/sparc64/libgcc.h: Likewise.
2N/A * include/grub/sparc64/setjmp.h: Likewise.
2N/A * include/grub/sparc64/types.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/console.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/kernel.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/time.h: Likewise.
2N/A * include/grub/util/biosdisk.h: Likewise.
2N/A * include/grub/util/getroot.h: Likewise.
2N/A * include/grub/util/lvm.h: Likewise.
2N/A * include/grub/util/misc.h: Likewise.
2N/A * include/grub/util/raid.h: Likewise.
2N/A * include/grub/util/resolve.h: Likewise.
2N/A * io/gzio.c: Likewise.
2N/A * kern/device.c: Likewise.
2N/A * kern/disk.c: Likewise.
2N/A * kern/dl.c: Likewise.
2N/A * kern/elf.c: Likewise.
2N/A * kern/env.c: Likewise.
2N/A * kern/err.c: Likewise.
2N/A * kern/file.c: Likewise.
2N/A * kern/fs.c: Likewise.
2N/A * kern/loader.c: Likewise.
2N/A * kern/main.c: Likewise.
2N/A * kern/misc.c: Likewise.
2N/A * kern/mm.c: Likewise.
2N/A * kern/parser.c: Likewise.
2N/A * kern/partition.c: Likewise.
2N/A * kern/rescue.c: Likewise.
2N/A * kern/term.c: Likewise.
2N/A * kern/efi/efi.c: Likewise.
2N/A * kern/efi/init.c: Likewise.
2N/A * kern/efi/mm.c: Likewise.
2N/A * kern/i386/dl.c: Likewise.
2N/A * kern/i386/efi/init.c: Likewise.
2N/A * kern/i386/efi/startup.S: Likewise.
2N/A * kern/i386/pc/init.c: Likewise.
2N/A * kern/i386/pc/lzo1x.S: Likewise.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * kern/ieee1275/ieee1275.c: Likewise.
2N/A * kern/powerpc/cache.S: Likewise.
2N/A * kern/powerpc/dl.c: Likewise.
2N/A * kern/powerpc/ieee1275/cmain.c: Likewise.
2N/A * kern/powerpc/ieee1275/crt0.S: Likewise.
2N/A * kern/powerpc/ieee1275/init.c: Likewise.
2N/A * kern/powerpc/ieee1275/openfw.c: Likewise.
2N/A * kern/sparc64/cache.S: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/sparc64/ieee1275/init.c: Likewise.
2N/A * kern/sparc64/ieee1275/openfw.c: Likewise.
2N/A * loader/efi/chainloader.c: Likewise.
2N/A * loader/efi/chainloader_normal.c: Likewise.
2N/A * loader/i386/efi/linux.c: Likewise.
2N/A * loader/i386/efi/linux_normal.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/pc/chainloader_normal.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/i386/pc/linux_normal.c: Likewise.
2N/A * loader/i386/pc/multiboot.c: Likewise.
2N/A * loader/i386/pc/multiboot_normal.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux_normal.c: Likewise.
2N/A * normal/arg.c: Likewise.
2N/A * normal/cmdline.c: Likewise.
2N/A * normal/command.c: Likewise.
2N/A * normal/completion.c: Likewise.
2N/A * normal/execute.c: Likewise.
2N/A * normal/function.c: Likewise.
2N/A * normal/lexer.c: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/menu.c: Likewise.
2N/A * normal/menu_entry.c: Likewise.
2N/A * normal/misc.c: Likewise.
2N/A * normal/parser.y: Likewise.
2N/A * normal/script.c: Likewise.
2N/A * normal/i386/setjmp.S: Likewise.
2N/A * normal/powerpc/setjmp.S: Likewise.
2N/A * normal/sparc64/setjmp.S: Likewise.
2N/A * partmap/acorn.c: Likewise.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * partmap/gpt.c: Likewise.
2N/A * partmap/pc.c: Likewise.
2N/A * partmap/sun.c: Likewise.
2N/A * term/gfxterm.c: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A * term/efi/console.c: Likewise.
2N/A * term/i386/pc/console.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A * util/biosdisk.c: Likewise.
2N/A * util/console.c: Likewise.
2N/A * util/genmoddep.c: Likewise.
2N/A * util/getroot.c: Likewise.
2N/A * util/grub-emu.c: Likewise.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A * util/lvm.c: Likewise.
2N/A * util/misc.c: Likewise.
2N/A * util/raid.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A * util/update-grub.in: Likewise.
2N/A * util/update-grub_lib.in: Likewise.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A * util/i386/efi/grub-install.in: Likewise.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A * util/i386/pc/grub-install.in: Likewise.
2N/A * util/i386/pc/grub-mkimage.c: Likewise.
2N/A * util/i386/pc/grub-mkrescue.in: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/i386/pc/misc.c: Likewise.
2N/A * util/powerpc/ieee1275/grub-install.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-mkimage.c: Likewise.
2N/A * util/powerpc/ieee1275/misc.c: Likewise.
2N/A * video/bitmap.c: Likewise.
2N/A * video/video.c: Likewise.
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A * video/i386/pc/vbeblit.c: Likewise.
2N/A * video/i386/pc/vbefill.c: Likewise.
2N/A * video/i386/pc/vbeutil.c: Likewise.
2N/A * video/readers/tga.c: Likewise.
2N/A
2N/A2007-07-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk: Replace obsolete reference to
2N/A util/i386/pc/biosdisk.c with util/biosdisk.c, and util/i386/pc/getroot.c
2N/A with util/getroot.c.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A
2N/A * util/grub-emu.c (main): Fix unchecked pointer handling.
2N/A
2N/A2007-07-02 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/efi/grub-install.in: Allow `grub_probe --target=partmap'
2N/A invocation to fail, in order to support partition-less media.
2N/A
2N/A * util/i386/pc/grub-install.in: Likewise.
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Use grub-probe to determine
2N/A which fs or partmap modules are needed (akin to its sister scripts).
2N/A
2N/A Also use grub-probe to get rid of unportable /proc/mounts check.
2N/A
2N/A Print the same informational message that the other scripts do, before
2N/A exiting.
2N/A
2N/A2007-06-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (font_path): New function. Determine whether
2N/A a font file can be found and, if so, echo the GRUB path to it.
2N/A
2N/A * util/update-grub.in: Handle multiple terminals depending on user
2N/A input, platform availability and font file presence. Propagate
2N/A variables of our findings to /etc/grub.d/ children.
2N/A
2N/A * util/grub.d/00_header.in: Handle multiple terminals, based on
2N/A environment setup by update-grub.
2N/A
2N/A2007-06-23 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Add serial.mod.
2N/A
2N/A2007-06-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/kernel.h: Define GRUB_KERNEL_MACHINE_DATA_END to
2N/A indicate end of data section in kernel image.
2N/A * include/grub/i386/efi/kernel.h: Define GRUB_KERNEL_MACHINE_PREFIX and
2N/A GRUB_KERNEL_MACHINE_DATA_END.
2N/A
2N/A * kern/i386/pc/startup.S: Do not initialize grub_prefix, only reserve
2N/A space for it.
2N/A * kern/i386/efi/startup.S: Likewise.
2N/A
2N/A * util/i386/pc/grub-mkimage.c: Initialize grub_prefix to /boot/grub
2N/A during image generation. Implement --prefix option to override this
2N/A patch.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A
2N/A * util/update-grub_lib.in (convert_system_path_to_grub_path): Split
2N/A code to make path relative to its root into a separate function.
2N/A
2N/A * util/i386/pc/grub-install.in: Use newly provided
2N/A make_system_path_relative_to_its_root() to convert ${grubdir}, then
2N/A pass the result to grub-install --prefix.
2N/A
2N/A2007-06-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/util/misc.h: Define DEFAULT_DIRECTORY and
2N/A DEFAULT_DEVICE_MAP.
2N/A * util/grub-emu.c: Use above definitions from misc.h instead of
2N/A defining them.
2N/A * util/grub-mkdevicemap.c: Likewise.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/grub-probe.c: Likewise.
2N/A (probe): Abort with grub_util_error() when either
2N/A grub_guess_root_device or grub_util_get_grub_dev fails.
2N/A
2N/A2007-06-12 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * normal/command.c (grub_command_execute): Use NULL rather than 0 for
2N/A "pager" assignment.
2N/A * util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Likewise for
2N/A "pcdata".
2N/A * util/grub-probe.c (probe): Likewise for "drive_name".
2N/A
2N/A2007-06-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Pad both floppy images with zeroes,
2N/A not just the cdrom one.
2N/A
2N/A2007-06-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: Add "set -e".
2N/A Add --pkglibdir=DIR option to override pkglibdir.
2N/A Mention --image-type=TYPE in help output.
2N/A Fix --grub-mkimage (it was a no-op).
2N/A Abort gracefully when no parameter is given.
2N/A
2N/A2007-06-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-mkrescue.in: New file.
2N/A * conf/i386-pc.rmk: Add its build declarations. Put it in bin_SCRIPTS.
2N/A * Makefile.in: Handle bin_SCRIPTS.
2N/A
2N/A2007-06-10 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * term/gfxterm.c (grub_gfxterm_init): Added support for specifying
2N/A list of video modes.
2N/A
2N/A2007-06-06 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in (convert_system_path_to_grub_path): Abort if
2N/A file doesn't exist, or if it is in a filesystem grub can't read.
2N/A
2N/A * util/update-grub.in: Set fallback for GRUB_FS check to "unknown". Do
2N/A not abort if GRUB_DRIVE could not be defined. Rearrange generated
2N/A header comment to fit in 80 columns when the variables are resolved.
2N/A
2N/A * util/grub.d/00_header.in: Only set root variable when GRUB_DRIVE
2N/A could be identified by update-grub. Remove redundant check for
2N/A unifont.pff existence (since convert_system_path_to_grub_path now
2N/A handles that).
2N/A
2N/A2007-06-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-efi.rmk (grub_probe_SOURCES): Add partmap/apple.c.
2N/A
2N/A * conf/i386-pc.rmk (grub_probe_SOURCES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add partmap/pc.c.
2N/A
2N/A2007-06-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/powerpc-ieee1275.rmk: Enable grub-mkdevicemap and grub-probe.
2N/A
2N/A * include/grub/partition.h: Declare grub_apple_partition_map_init and
2N/A grub_apple_partition_map_fini.
2N/A
2N/A * util/biosdisk.c
2N/A (grub_util_biosdisk_open): Replace BLKGETSIZE with BLKGETSIZE64 (needed
2N/A to access >2 TiB disks).
2N/A
2N/A Print disk->total_sectors with %llu instead of %lu, since this
2N/A variable is always 64-bit (prevents wrong disk size from being displayed
2N/A on either >2 TiB disk or big-endian CPU).
2N/A
2N/A (grub_util_biosdisk_get_grub_dev): Convert gpt_partition_map handling
2N/A into a generic case that supports all (sane) partition maps.
2N/A
2N/A Stop using grub_cpu_to_le32() on dos_part / bsd_part since it actually
2N/A breaks big-endian.
2N/A
2N/A * util/grub-probe.c: Call grub_apple_partition_map_init() before probe()
2N/A and grub_apple_partition_map_fini() after that.
2N/A
2N/A2007-06-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Export GRUB_CMDLINE_LINUX.
2N/A
2N/A * util/grub.d/00_header.in: Only enable gfxterm when
2N/A convert_system_path_to_grub_path() succeeds.
2N/A
2N/A2007-05-20 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub_lib.in: New file.
2N/A * DISTLIST: Add update-grub_lib.in.
2N/A * conf/common.rmk: Generate update-grub_lib and install it in
2N/A $(lib_DATA).
2N/A * Makefile.in: Add install routine for $(lib_DATA).
2N/A
2N/A * util/grub.d/00_header.in: Use convert_system_path_to_grub_path()
2N/A function provided by update-grub_lib to support arbitrary paths of
2N/A unifont.pff.
2N/A * util/update-grub.in: Use convert_system_path_to_grub_path() to
2N/A initialize GRUB_DRIVE_BOOT and GRUB_DRIVE_BOOT_GRUB variables.
2N/A
2N/A2007-05-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * commands/i386/cpuid.c: New module.
2N/A * DISTLIST: Add it.
2N/A * conf/i386-efi.rmk: Enable cpuid.mod.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A
2N/A2007-05-18 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * kern/disk.c (grub_disk_read): Check return value of
2N/A grub_realloc().
2N/A
2N/A2007-05-18 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * util/getroot.c (grub_util_get_grub_dev): Support partitionable
2N/A arrays.
2N/A * disk/raid.c (grub_raid_open): Likewise.
2N/A
2N/A2007-05-17 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * util/biosdisk.c (linux_find_partition): Allocate real_dev on the
2N/A stack instead of on the heap.
2N/A
2N/A * kern/disk.c (grub_disk_read): Make sure tmp_buf is big enough
2N/A before doing a read on it.
2N/A
2N/A * configure.ac: Only use -fno-stack-protector for the target
2N/A environment.
2N/A
2N/A2007-05-17 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_create_render_target): Add
2N/A __attribute_ ((unused)) to mode_type argument.
2N/A
2N/A * util/getroot.c (grub_guess_root_device): Fix #endif.
2N/A
2N/A * kern/misc.c (memcmp): Fix prototype.
2N/A
2N/A * include/grub/partition.h [GRUB_UTIL]
2N/A (grub_gpt_partition_map_init): Add prototype.
2N/A (grub_gpt_partition_map_fini): Likewise.
2N/A
2N/A * fs/jfs.c (struct grub_jfs_inode): Put __attribute__ ((packed)
2N/A at the right place.
2N/A
2N/A * fs/fat.c (grub_fat_mount): Replace ~0UL with ~0U.
2N/A (grub_fat_read_data): Likewise.
2N/A (grub_fat_find_dir): Likewise.
2N/A
2N/A * font/manager.c (find_glyph): Make table a const.
2N/A (grub_font_get_glyph): Remove bitmap from if statement.
2N/A
2N/A2007-05-16 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * util/getroot.c (grub_guess_root_device): Remove RAID and LVM
2N/A code, first search for device in /dev/mapper, then in /dev.
2N/A (grub_util_get_grub_dev): New function.
2N/A * include/grub/util/getroot.h (grub_util_get_grub_dev): Add
2N/A prototype.
2N/A * util/grub-probe.c (probe): Remove check for RAID, call
2N/A grub_util_get_grub_dev() instead of
2N/A grub_util_biosdisk_get_grub_dev().
2N/A * util/grub-emu.c (main): Call grub_util_get_grub_dev() instead of
2N/A grub_util_biosdisk_get_grub_dev().
2N/A * util/i386/pc/grub-setup.c (main): Likewise.
2N/A
2N/A2007-05-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * DISTLIST: Update for the latest changes.
2N/A * conf/i386-pc.rmk: Use the new paths for util/getroot.c,
2N/A util/grub-mkdevicemap.c, util/grub-probe.c and util/biosdisk.c.
2N/A * util/grub-emu.c: Replace grub/i386/pc/util/biosdisk.h with
2N/A grub/util/biosdisk.h.
2N/A * util/i386/pc/grub-setup.c: Replace grub/machine/util/biosdisk.h with
2N/A grub/util/biosdisk.h.
2N/A
2N/A2007-05-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/00_header.in: Set default gfxmode to `640x480'.
2N/A
2N/A2007-05-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/efi/grub-install.in: New.
2N/A * conf/i386-efi.rmk: Enable grub-mkdevicemap, grub-probe and the
2N/A newly added grub-install.
2N/A * util/biosdisk.c: Remove unnecessary grub/machine/biosdisk.h
2N/A include.
2N/A * util/getroot.c: Replace grub/i386/pc/util/biosdisk.h with
2N/A grub/util/biosdisk.h.
2N/A * util/grub-probe.c: Replace grub/machine/util/biosdisk.h with
2N/A grub/util/biosdisk.h.
2N/A
2N/A2007-05-16 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * include/grub/i386/pc/util/biosdisk.h: Moved to ...
2N/A * include/grub/util/biosdisk.h: ... here.
2N/A * util/i386/pc/biosdisk.c: Moved to ...
2N/A * util/biosdisk.c: ... here.
2N/A * util/i386/pc/getroot.c: Moved to ...
2N/A * util/getroot.c: ... here.
2N/A * util/i386/pc/grub-mkdevicemap.c: Moved to ...
2N/A * util/grub-mkdevicemap.c: ... here.
2N/A * util/i386/pc/grub-probe.c: Moved to ...
2N/A * util/grub-probe.c: ... here.
2N/A
2N/A2007-05-15 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Remove duplicated line in grub.cfg header
2N/A message.
2N/A
2N/A2007-05-13 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Fix a few assumptions about the devices holding
2N/A /, /boot and /boot/grub being the same.
2N/A * util/grub.d/00_header.in: Likewise.
2N/A * util/grub.d/10_hurd.in: Likewise.
2N/A * util/grub.d/10_linux.in: Likewise.
2N/A
2N/A * util/grub.d/10_linux.in: Implement Linux image sorting with arbitrary
2N/A patterns. Use that to define the `.old' suffix as older than `'.
2N/A
2N/A * util/grub.d/00_header.in: Set default gfxmode to `800x600x16'.
2N/A
2N/A * util/update-grub.in: Add a reference to ${sysconfdir}/default/grub in
2N/A the grub.cfg header message.
2N/A
2N/A2007-05-11 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Create device.map if it doesn't already exist,
2N/A before attempting to run grub-probe.
2N/A Check for grub-probe and grub-mkdevicemap with the same code
2N/A grub-install is using.
2N/A Remove test mode.
2N/A
2N/A2007-05-09 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * Makefile.in: Add the datarootdir autoconf variable.
2N/A
2N/A2007-05-09 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-probe.c (probe): When detecting partition map,
2N/A fail gracefully if dev->disk->partition == NULL.
2N/A
2N/A2007-05-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-probe.c: Add `grub-probe -t partmap' parameter to
2N/A determine partition map module.
2N/A * util/i386/pc/grub-install.in: Use this feature to decide which
2N/A partition module to load, instead of hardcoding pc and gpt.
2N/A
2N/A2007-05-07 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * Makefile.in: Fix assumption that $(srcdir) has a trailing slash when
2N/A source directory differs from build directory.
2N/A
2N/A2007-05-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Fix syntax error in pkglibdir
2N/A initialisation.
2N/A
2N/A2007-05-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/update-grub.in: Create ${grub_prefix} if it doesn't exist.
2N/A
2N/A2007-05-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub.d/10_linux.in: Allow the administrator to insert Linux
2N/A command-line arguments via ${GRUB_CMDLINE_LINUX}.
2N/A
2N/A2007-05-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c.
2N/A (grub_probe_SOURCES): Likewise.
2N/A * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): Detect
2N/A GPT and initialize dos_part and bsd_part accordingly.
2N/A * util/i386/pc/grub-setup.c (setup): Ditto for install_dos_part and
2N/A install_bsd_part.
2N/A (main): Activate gpt module for use during partition identification,
2N/A and deactivate it afterwards.
2N/A * util/i386/pc/grub-install.in: Add gpt module to core.img.
2N/A * util/i386/pc/grub-probe.c (main): Activate gpt module for use during
2N/A partition identification, and deactivate it afterwards.
2N/A
2N/A2007-05-05 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * term/i386/pc/console.c (grub_console_fini): Call
2N/A grub_term_set_current() before grub_term_unregister().
2N/A
2N/A2007-05-04 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * DISTLIST: Add util/update-grub.in, util/grub.d/00_header.in,
2N/A util/grub.d/10_hurd.in, util/grub.d/10_linux.in and util/grub.d/README.
2N/A * Makefile.in: Build update-grub_SCRIPTS. Install update-grub_SCRIPTS
2N/A and update-grub_DATA.
2N/A * conf/common.rmk: Build and install update-grub components.
2N/A * conf/common.mk: Regenerate.
2N/A * util/update-grub.in: New. Core of update-grub.
2N/A * util/grub.d/00_header.in: New. Generates grub.cfg header.
2N/A * util/grub.d/10_hurd.in: New. Generates boot entries for the Hurd.
2N/A * util/grub.d/10_linux.in: New. Generates boot entries for Linux.
2N/A * util/grub.d/README: New. Document grub.d directory layout.
2N/A
2N/A2007-05-01 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/grub-emu.c: Move initialization functions
2N/A grub_util_biosdisk_init() and grub_init_all() before
2N/A grub_util_biosdisk_get_grub_dev(), which relies on them.
2N/A
2N/A2007-04-19 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Initialize ${bindir}, since
2N/A it is used later.
2N/A
2N/A2007-04-18 Jerone Young <jerone@gmail.com>
2N/A
2N/A * kernel/elf.c: Add missing parenthesis for conditional statement
2N/A stanza.
2N/A
2N/A2007-04-10 Jerone Young <jerone@gmail.com>
2N/A
2N/A * util/i386/pc/getroot.c: Update so that if root device is /dev/root ,
2N/A continue on and look for device node with real device name.
2N/A
2N/A2007-04-10 Jerone Young <jerone@gmail.com>
2N/A
2N/A * configure.ac: Add argument for autoconf to use transformation
2N/A ability.
2N/A * Makefile.in: Add autoconf package transformation code.
2N/A * util/i386/pc/grub-install.in: Likewise.
2N/A * util/powerpc/ieee1275/grub-install.in: Likewise.
2N/A
2N/A2007-03-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/ext2.c (EXT2_GOOD_OLD_REVISION): New macro.
2N/A (EXT2_GOOD_OLD_INODE_SIZE): Likewise.
2N/A (EXT2_REVISION): Likewise.
2N/A (EXT2_INODE_SIZE): Likewise.
2N/A (struct grub_ext2_block_group): Added a missing member
2N/A "used_dirs".
2N/A (grub_ext2_read_inode): Divide by the inode size in a superblock
2N/A instead of 128 to obtain INODES_PER_BLOCK.
2N/A Use the macro EXT2_INODE_SIZE instead of directly using
2N/A SBLOCK->INODE_SIZE.
2N/A
2N/A2007-03-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/ext2.c (grub_ext2_read_inode): Use the inode size in a
2N/A superblock instead of the structure size to compute an
2N/A offset. This fixes the problem that GRUB could not read a
2N/A filesystem when inode size is different from 128-byte.
2N/A
2N/A2007-03-05 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/main.c (read_config_file): When "menu" is not set, create
2N/A an initial context.
2N/A
2N/A2007-02-21 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (HEAP_SIZE): Removed.
2N/A (HEAP_LIMIT): New macro.
2N/A (grub_claim_heap): Claim memory up to `heaplimit'.
2N/A
2N/A2007-02-21 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Link at 64KB.
2N/A * kern/powerpc/ieee1275/init.c (_end): Add declaration.
2N/A (_start): Likewise.
2N/A (grub_arch_modules_addr): Return address after `_end'.
2N/A * util/powerpc/ieee1275/grub-mkimage.c: Include grub/misc.h.
2N/A (load_modules): Use new parameter as `p_paddr' and `p_vaddr'.
2N/A (add_segments): Calculate `_end' from phdr size and location.
2N/A (ALIGN_UP): Moved to ...
2N/A * include/grub/misc.h: here.
2N/A * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN):
2N/A New macro.
2N/A (GRUB_IEEE1275_MODULE_BASE): Removed.
2N/A
2N/A2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Correct
2N/A loop boundary.
2N/A
2N/A2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/elfload.h (grub_elf32_load_hook_t): Return grub_err_t.
2N/A All users updated.
2N/A (grub_elf64_load_hook_t): Likewise.
2N/A * kern/elf.c: Call `grub_error_push' before `grub_error'. Improve
2N/A debug output.
2N/A
2N/A2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/mm.c: Update copyright.
2N/A (grub_mm_debug): Correct syntax error.
2N/A (grub_mm_dump_free): New function.
2N/A (grub_debug_free): Call `grub_free'.
2N/A * include/grub/mm.h: Update copyright.
2N/A (grub_mm_dump_free): Add declaration.
2N/A
2N/A2007-02-12 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h: Update copyright.
2N/A * kern/powerpc/ieee1275/init.c: Likewise.
2N/A * kern/powerpc/ieee1275/openfw.c: Likewise.
2N/A
2N/A * loader/powerpc/ieee1275/linux.c: Likewise.
2N/A * include/grub/elfload.h: Likewise.
2N/A * kern/elf.c: Likewise.
2N/A (grub_elf32_load): Pass `base' and `size' parameters. Update all
2N/A callers.
2N/A (grub_elf64_load): Likewise.
2N/A (grub_elf32_load_segment): Move to a nested function.
2N/A (grub_elf64_load_segment): Likewise.
2N/A
2N/A2007-02-12 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_available_iterate): New
2N/A prototype.
2N/A * kern/powerpc/ieee1275/init.c (grub_heap_start): Removed.
2N/A (grub_heap_len): Likewise.
2N/A (HEAP_SIZE): New macro.
2N/A (grub_claim_heap): New function.
2N/A (grub_machine_init): Don't claim heap directly. Call
2N/A `grub_claim_heap'.
2N/A * kern/powerpc/ieee1275/openfw.c: Include alloca.h.
2N/A (grub_available_iterate): New function.
2N/A
2N/A2007-02-03 Thomas Schwinge <tschwinge@gnu.org>
2N/A
2N/A * aclocal.m4 (grub_CHECK_STACK_PROTECTOR): New definition.
2N/A * configure.ac: Use it for testing the HOST and TARGET compilers.
2N/A
2N/A2006-12-13 Thomas Schwinge <tschwinge@gnu.org>
2N/A
2N/A * Makefile.in (enable_grub_emu): New variable.
2N/A * configure.ac (--enable-grub-emu): New option.
2N/A Do the checks for (n)curses only if `--enable-grub-emu' is requested.
2N/A * conf/i386-efi.rmk (sbin_UTILITIES): Add `grub-emu' only if requested.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * conf/powerpc-ieee1275.rmk: Likewise.
2N/A * conf/sparc64-ieee1275.rmk (bin_UTILITIES): Likewise.
2N/A
2N/A2006-12-12 Marco Gerards <marco@gnu.org>
2N/A
2N/A * include/grub/err.h (grub_err_t): Add `GRUB_ERR_MENU'.
2N/A
2N/A * kern/env.c (grub_env_unset): Don't free the member `value' when
2N/A the type is GRUB_ENV_VAR_DATA, in this case it's a user defined
2N/A pointer.
2N/A
2N/A * normal/main.c (current_menu): Removed.
2N/A (free_menu): Unset the `menu' environment variable.
2N/A (grub_normal_menu_addentry): Make use of the environment variable
2N/A `menu', instead of using the global `current_menu'. Allocate
2N/A memory for the sourcecode of this entry.
2N/A (read_config_file): New argument `nested', changed all callers.
2N/A Only in the case of a new context, initialize a new menu. Set the
2N/A `menu' environment variable.
2N/A (grub_normal_execute): Don't set and unset the environment
2N/A variable `menu' here anymore. Only free the menu when leaving the
2N/A context.
2N/A
2N/A * util/i386/pc/biosdisk.c (linux_find_partition): Fixed a memory
2N/A leak.
2N/A
2N/A2006-12-11 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/menu_entry.c (run): Fix off by one bug so the last line
2N/A is executed. Move the loader check to outside the loop.
2N/A
2N/A2006-12-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (cmain): Mark r3 and r4 as `UNUSED'.
2N/A
2N/A2006-11-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-mkimage.c (generate_image): Fix the offset of
2N/A the number of sectors. Reported by Andrey Shuvikov
2N/A <mr_hyro@yahoo.com>.
2N/A
2N/A2006-11-11 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * kern/disk.c (grub_disk_read): When there is a read error, always
2N/A try to read only the necessary data.
2N/A
2N/A * conf/i386-pc.rmk (grub_probe_SOURCES): Add disk/lvm.c and
2N/A disk/raid.c.
2N/A * include/grub/disk.h [GRUB_UTIL] (grub_raid_init): New
2N/A prototype.
2N/A [GRUB_UTIL] (grub_raid_fini): Likewise.
2N/A [GRUB_UTIL] (grub_lvm_init): Likewise.
2N/A [GRUB_UTIL] (grub_lvm_fini): Likewise.
2N/A * util/i386/pc/grub-probe.c (probe): Check whether DEVICE_NAME is
2N/A RAID device and copy DEVICE_NAME to DRIVE_NAME in that case.
2N/A (main): Call grub_raid_init(), grub_lvm_init(), grub_lvm_fini()
2N/A and grub_raid_fini().
2N/A
2N/A2006-11-09 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * include/grub/types.h (__unused): Rename to UNUSED.
2N/A * kern/elf.c (grub_elf32_size): Use UNUSED instead of __unused.
2N/A (grub_elf64_size): Likewise.
2N/A
2N/A2006-11-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/elf.c (grub_elf_file): Call grub_file_seek. Call
2N/A grub_error_push and grub_error_pop in the error-handling path.
2N/A (grub_elf32_load_segment): Only call grub_file_read with non-zero
2N/A length.
2N/A
2N/A2006-11-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Add kern/elf.c.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (kernel_elf_SOURCES): Likewise.
2N/A * conf/i386-efi.rmk (kernel_mod_HEADERS): Add elfload.h and cache.h.
2N/A * conf/i386-pc.rmk (kernel_mod_HEADERS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Likewise.
2N/A * conf/sparc64-ieee1275.rmk (kernel_elf_HEADERS): Likewise.
2N/A * conf/common.rmk (pkgdata_MODULES): Add elf.mod.
2N/A (elf_mod_SOURCES): New variable.
2N/A (elf_mod_CFLAGS): Likewise.
2N/A (elf_mod_LDFLAGS): Likewise.
2N/A * include/grub/types.h (__unused): New macro.
2N/A * include/grub/elfload.h: New file.
2N/A * kern/elf.c: Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Include elfload.h.
2N/A (ELF32_LOADMASK): New macro.
2N/A (ELF64_LOADMASK): Likewise.
2N/A (vmlinux): Removed.
2N/A (grub_linux_load32): New function.
2N/A (grub_linux_load64): Likewise.
2N/A (grub_rescue_cmd_linux): Call grub_linux_load32 or grub_linux_load64.
2N/A Use grub_elf_t instead of grub_file_t.
2N/A
2N/A2006-11-02 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): Add
2N/A `catch_result' to struct set_color_args.
2N/A
2N/A2006-10-28 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/menu.c: Include grub/script.h.
2N/A * normal/menu_entry.c: Likewise.
2N/A * include/grub/normal.h: Do not include grub/script.h.
2N/A
2N/A2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/disk.c (grub_disk_read): Correct debug printf formatting.
2N/A
2N/A2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/disk.c (grub_disk_open): Print debug messages when opening a
2N/A disk.
2N/A (grub_disk_close): Print debug messages when closing a disk.
2N/A (grub_disk_read): Print debug messages when disk read fails.
2N/A * kern/fs.c (grub_fs_probe): Print debug messages when detecting
2N/A filesystem type.
2N/A * kern/partition.c: Include misc.h.
2N/A (grub_partition_iterate): Print debug messages when detecting
2N/A partition type.
2N/A
2N/A2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Return error if `status'
2N/A is negative.
2N/A * kern/ieee1275/ieee1275.c (IEEE1275_IHANDLE_INVALID): Change to 0.
2N/A
2N/A2006-10-26 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname):
2N/A Reverse GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS test.
2N/A
2N/A2006-10-25 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * disk/lvm.c (grub_lvm_scan_device): Malloc sizeof(*lv) bytes
2N/A instead of sizeof(lv). Patch by Michael Guntsche.
2N/A
2N/A2006-10-18 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * disk/lvm.c: Rename VGS to VG_LIST.
2N/A (grub_lvm_iterate): Change VGS->LV to VG-LV.
2N/A (grub_lvm_open): Likewise.
2N/A Thanks to Michael Guntsche for finding this bug.
2N/A
2N/A2006-10-15 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac (AC_INIT): Bumped to 1.95.
2N/A
2N/A2006-10-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev
2N/A with "/dev/.static/dev/md".
2N/A
2N/A2006-10-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of
2N/A DRIVE_NAME when grub_util_biosdisk_get_grub_dev fails. Open
2N/A DRIVE_NAME instead of DEVICE_NAME. Make sure that DEVICE_NAME and
2N/A DRIVE_NAME are always freed.
2N/A
2N/A * util/i386/pc/biosdisk.c (make_device_name): Add one into
2N/A DOS_PART, as a DOS partition is counted from one instead of zero
2N/A now. Reported by Robert Millan.
2N/A
2N/A2006-10-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/getroot.c (grub_guess_root_device): Stop using
2N/A grub_util_biosdisk_get_grub_dev to convert system device to GRUB device.
2N/A * util/grub-emu.c (main): Use grub_util_biosdisk_get_grub_dev with the
2N/A string returned by grub_guess_root_device.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/i386/pc/grub-probefs.c: Likewise.
2N/A
2N/A * util/i386/pc/grub-probefs.c: Rename to ...
2N/A * util/i386/pc/grub-probe.c: ... this.
2N/A * DISTLIST: Remove grub-probefs, add grub-probe.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * conf/i386-pc.rmk: Likewise.
2N/A * util/i386/pc/grub-install.in: Likewise.
2N/A
2N/A * util/i386/pc/grub-probe.c: Add --target=(fs|device|drive) option to
2N/A choose which information we want to print.
2N/A
2N/A2006-10-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added commands/echo.c, disk/lvm.c, disk/raid.c,
2N/A include/grub/bitmap.h, include/grub/lvm.h, include/grub/raid.h,
2N/A include/grub/i386/pc/vbeutil.h, include/grub/util/lvm.h,
2N/A include/grub/util/raid.h, util/lvm.c, util/raid.c, video/bitmap.c,
2N/A video/readers/tga.c and video/i386/pc/vbeutil.c.
2N/A
2N/A2006-10-14 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A Added support for RAID and LVM.
2N/A
2N/A * disk/lvm.c: New file.
2N/A * disk/raid.c: Likewise.
2N/A * include/grub/lvm.h: Likewise.
2N/A * include/grub/raid.h: Likewise.
2N/A * include/grub/util/lvm.h: Likewise.
2N/A * include/grub/util/raid.h: Likewise.
2N/A * util/lvm.c: Likewise.
2N/A * util/raid.c: Likewise.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A GRUB_DISK_DEVICE_RAID_ID and GRUB_DISK_DEVICE_LVM_ID.
2N/A (grub_disk_get_size): New prototype.
2N/A * kern/disk.c (grub_disk_open): Check whether grub_partition_probe()
2N/A returns a partition.
2N/A (grub_disk_get_size): New function.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Copy the prefix
2N/A verbatim if grub_install_dos_part is -2.
2N/A
2N/A * util/i386/pc/getroot.c (grub_guess_root_device): Support RAID
2N/A and LVM devices.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): New argument
2N/A MUST_EMBED. Force embedding of GRUB when the argument is
2N/A true. Close FILE before returning.
2N/A (main): Add support for RAID and LVM.
2N/A
2N/A * conf/common.rmk: Add RAID and LVM modules.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add util/raid.c and
2N/A util/lvm.c.
2N/A (grub_emu_SOURCES): Add disk/raid.c and disk/lvm.c.
2N/A
2N/A * kern/misc.c (grub_strstr): New function.
2N/A * include/grub/misc.h (grub_strstr): New prototype.
2N/A
2N/A2006-10-10 Tristan Gingold <tristan.gingold@bull.net>
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant.
2N/A
2N/A2006-10-05 Tristan Gingold <tristan.gingold@bull.net>
2N/A
2N/A * kern/misc.c (grub_strtoull): Guess the base only if not
2N/A specified.
2N/A
2N/A2006-10-01 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (cmain): Remove incomplete Old World
2N/A PowerMac support.
2N/A
2N/A2006-10-01 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Cast `size' to long.
2N/A
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_next_property):
2N/A Remove `flags' argument. All callers changed.
2N/A * kern/ieee1275/ieee1275.c (IEEE1275_PHANDLE_ROOT): Removed.
2N/A (IEEE1275_IHANDLE_INVALID): New variable.
2N/A (IEEE1275_CELL_INVALID): New variable.
2N/A (grub_ieee1275_finddevice, grub_ieee1275_get_property,
2N/A grub_ieee1275_get_property_length, grub_ieee1275_instance_to_package,
2N/A grub_ieee1275_package_to_path, grub_ieee1275_instance_to_path,
2N/A grub_ieee1275_peer, grub_ieee1275_child, grub_ieee1275_open,
2N/A grub_ieee1275_claim, grub_ieee1275_set_property): Error-check return
2N/A codes from Open Firmware. All callers updated.
2N/A (grub_ieee1275_next_property): Directly return Open Firmware return
2N/A code.
2N/A * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options):
2N/A Standardize error checking from `grub_ieee1275_get_property'.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Rename
2N/A `devalias' to `aliases'. Correct comments. Consolidate error paths.
2N/A
2N/A2006-10-01 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_instance_to_path): Rename
2N/A `instance_to_package_args' to `instance_to_path_args'.
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_init): Use
2N/A `grub_ieee1275_chosen'.
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_init): Call
2N/A `grub_ieee1275_interpret'.
2N/A
2N/A2006-09-25 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c: Include config.h.
2N/A
2N/A2006-09-25 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/powerpc/libgcc.h (__floatdisf): New prototype.
2N/A (__cmpdi): Likewise.
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Pass 0 as
2N/A `flags' to `grub_ieee1275_next_property'. Change `pathlen' to type
2N/A `grub_ssize_t'.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c: Include grub/misc.h.
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (grub_linux_boot): Change `actual'
2N/A to type `grub_ssize_t'.
2N/A (grub_rescue_cmd_linux): Cast -1 to `grub_off_t'.
2N/A
2N/A2006-09-22 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/script.c (grub_script_create_cmdmenu): Skip leading
2N/A newlines.
2N/A
2N/A2006-09-22 Marco Gerards <marco@gnu.org>
2N/A
2N/A * commands/echo.c: New file.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/echo.c'.
2N/A
2N/A * conf/common.rmk (echo_mod_SOURCES): New variable.
2N/A (echo_mod_CFLAGS): Likewise.
2N/A (echo_mod_LDFLAGS): Likewise.
2N/A
2N/A2006-09-22 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/main.c (get_line): Malloc memory instead of using
2N/A preallocated memory. Removed the arguments `cmdline' and
2N/A `max_len'. Updated all callers.
2N/A
2N/A2006-09-22 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_DEPENDENCIES): New variable.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Likewise.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (normal_mod_DEPENDENCIES): Likewise.
2N/A
2N/A2006-09-22 Johan Rydberg <jrydberg@gnu.org>
2N/A
2N/A * genmk.rb: Add DEPENDENCIES variables to modules, utilities, and
2N/A programs.
2N/A * conf/i386-pc.rmk (grub_emu_DEPENDENCIES): Declare.
2N/A (normal_mod_DEPENDENCIES): Likewise.
2N/A * conf/i386-pc.mk: Regenerate.
2N/A * conf/i386-efi.mk: Likewise
2N/A * conf/common.mk: Likewise.
2N/A * conf/powerpc-ieee1275.mk: Likewise.
2N/A * conf/sparc64-ieee1275.mk: Likewise.
2N/A
2N/A2006-09-22 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Sync with i386 version.
2N/A * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Remove grub-emu, add grub-mkimage.
2N/A * conf/powerpc-ieee1275.rmk (sbin_UTILITIES): Remove grub-mkimage, add grub-emu.
2N/A
2N/A2006-09-21 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A Import from GRUB Legacy (lib/device.c):
2N/A * util/i386/pc/grub-mkdevicemap.c (get_i2o_disk_name): New function.
2N/A (init_device_map) [__linux__]: Add support for I2O devices.
2N/A
2N/A2006-09-14 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/i386-pc.rmk (COMMON_LDFLAGS): Use `-m32' instead of
2N/A `-melf_i386'.
2N/A
2N/A2006-09-14 Robert Millan <rmh@aybabtu.com>
2N/A
2N/A * util/i386/pc/grub-install.in: Skip menu.lst when removing
2N/A /boot/grub/*.lst.
2N/A
2N/A * util/i386/pc/getroot.c: Don't recurse into dotdirs (e.g. ".static").
2N/A
2N/A * util/i386/pc/grub-mkdevicemap.c: Make sure the floppy device exists
2N/A before adding it to device.map.
2N/A
2N/A2006-08-15 Johan Rydberg <jrydberg@gnu.org>
2N/A
2N/A * genmk.rb: Let GCC generate dependencies the first time it
2N/A compiles a file; using the -MD option.
2N/A * conf/common.mk: Regenerate.
2N/A * conf/i386-pc.mk: Likewise.
2N/A * conf/i386-efi.mk: Likewise.
2N/A * conf/powerpc-ieee1275.mk: Likewise.
2N/A * conf/sparc64-ieee1275.mk: Likewise.
2N/A
2N/A2006-08-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Move the prototypes of grub_setjmp and grub_longjmp to
2N/A cpu/setjmp.h, so that each architecture may specify different
2N/A attributes.
2N/A
2N/A * include/grub/i386/setjmp.h (grub_setjmp): New prototype.
2N/A (grub_longjmp): Likewise.
2N/A * include/grub/powerpc/setjmp.h (grub_setjmp): Likewise..
2N/A (grub_longjmp): Likewise.
2N/A * include/grub/sparc64/setjmp.h (grub_setjmp): Likewise..
2N/A (grub_longjmp): Likewise.
2N/A
2N/A * include/grub/setjmp.h [!GRUB_UTIL] (grub_setjmp): Removed.
2N/A [!GRUB_UTIL] (grub_longjmp): Removed.
2N/A
2N/A2006-08-01 Pelletier Vincent <subdino2004@yahoo.fr>
2N/A
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): IEEE1275
2N/A "color!" method does not return any value.
2N/A
2N/A2006-07-29 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * include/grub/bitmap.h: New file.
2N/A
2N/A * include/grub/i386/pc/vbeutil.h: Likewise.
2N/A
2N/A * video/bitmap.c: Likewise.
2N/A
2N/A * video/readers/tga.c: Likewise.
2N/A
2N/A * video/i386/pc/vbeutil.c: Likewise.
2N/A
2N/A * commands/videotest.c: Code cleanup and updated to reflect to new
2N/A video API.
2N/A
2N/A * term/gfxterm.c: Likewise.
2N/A
2N/A * video/video.c: Likewise.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added tga.mod and bitmap.mod.
2N/A (vbe_mod_SOURCES): Added video/i386/pc/vbeutil.c.
2N/A (bitmap_mod_SOURCES): New entry.
2N/A (bitmap_mod_CFLAGS): Likewise.
2N/A (bitmap_mod_LDFLAGS): Likewise.
2N/A (tga_mod_SOURCES): Likewise.
2N/A (tga_mod_CFLAGS): Likewise.
2N/A (tga_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/grub/video.h (grub_video_blit_operators): New enum type.
2N/A (grub_video_render_target): Changed as forward declaration and moved
2N/A actual definition to be video driver specific.
2N/A (grub_video_adapter.blit_bitmap): Added blitting operator.
2N/A (grub_video_adapter.blit_render_target): Likewise.
2N/A (grub_video_blit_bitmap): Likewise.
2N/A (grub_video_blit_render_target): Likewise.
2N/A
2N/A * include/grub/i386/pc/vbe.h (grub_video_render_target): Added
2N/A driver specific render target definition.
2N/A (grub_video_vbe_map_rgba): Added driver internal helper.
2N/A (grub_video_vbe_unmap_color): Updated to use
2N/A grub_video_i386_vbeblit_info.
2N/A (grub_video_vbe_get_video_ptr): Likewise.
2N/A
2N/A * include/grub/i386/pc/vbeblit.h
2N/A (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8): Updated to use
2N/A grub_video_i386_vbeblit_info.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8): Likewise.
2N/A (grub_video_i386_vbeblit_index_index): Likewise.
2N/A (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): New blitter function.
2N/A (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
2N/A (grub_video_i386_vbeblit_blend): Added generic blitter for blend
2N/A operator.
2N/A (grub_video_i386_vbeblit_replace): Added generic blitter for replace
2N/A operator.
2N/A
2N/A * video/i386/pc/vbeblit.c: Updated to reflect changes on
2N/A include/grub/i386/pc/vbeblit.h.
2N/A
2N/A * include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8):
2N/A Updated to use grub_video_i386_vbeblit_info.
2N/A (grub_video_i386_vbefill_R8G8B8): Likewise.
2N/A (grub_video_i386_vbefill_index): Likewise.
2N/A (grub_video_i386_vbefill): Added generic filler.
2N/A
2N/A * video/i386/pc/vbefill.c: Updated to reflect changes on
2N/A include/grub/i386/pc/vbefill.h.
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_get_video_ptr): Updated to use
2N/A grub_video_i386_vbeblit_info.
2N/A (grub_video_vbe_unmap_color): Likewise.
2N/A (grub_video_vbe_blit_glyph): Likewise.
2N/A (grub_video_vbe_scroll): Likewise.
2N/A (grub_video_vbe_draw_pixel): Removed function.
2N/A (grub_video_vbe_get_pixel): Likewise.
2N/A (grub_video_vbe_fill_rect): Moved all blitters to vbefill.c and
2N/A updated code to use it.
2N/A (common_blitter): Added common blitter for render target and bitmap.
2N/A (grub_video_vbe_blit_bitmap): Updated to use common_blitter.
2N/A (grub_video_vbe_blit_render_target): Likewise.
2N/A
2N/A2006-07-30 Johan Rydberg <jrydberg@gnu.org>
2N/A
2N/A * kern/efi/efi.c (grub_efi_set_text_mode): Assume console already
2N/A is in text mode if there is no console control protocol instance
2N/A available.
2N/A
2N/A2006-07-29 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * include/grub/video.h: Code cleanup.
2N/A
2N/A * include/grub/i386/pc/vbe.h: Likewise.
2N/A
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A
2N/A * video/i386/pc/vbeblit.c: Likewise.
2N/A
2N/A * video/i386/pc/vbefill.c: Likewise.
2N/A
2N/A * video/video.c: Likewise. Also added more comments.
2N/A
2N/A2006-07-29 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * disk/i386/pc/biosdisk.c (struct grub_biosdisk_drp): Moved to ...
2N/A (struct grub_biosdisk_dap): Likewise.
2N/A
2N/A * include/grub/i386/pc/biosdisk.h: ... to here. Also corrected
2N/A linkage settings for all functions.
2N/A
2N/A2006-07-12 Marco Gerards <marco@gnu.org>
2N/A
2N/A * configure.ac (--enable-mm-debug): Fix typo.
2N/A
2N/A * genkernsyms.sh.in: Use proper quoting for `CC'.
2N/A
2N/A2006-07-02 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * conf/i386-pc.rmk (COMMON_ASFLAGS): Add "-m32".
2N/A (normal_mod_ASFLAGS): Remove "-m32".
2N/A
2N/A2006-06-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/misc.c: Include config.h.
2N/A [!HAVE_MEMALIGN]: Do not include malloc.h.
2N/A (grub_memalign): Use posix_memalign, if present. Then, use
2N/A memalign, if present. Otherwise, emit an error.
2N/A
2N/A * util/grub-emu.c: Do not include malloc.h.
2N/A
2N/A * include/grub/util/misc.h: Include unistd.h. This is required for
2N/A FreeBSD, because off_t is defined in unistd.h. Reported by Harley
2N/A D. Eades III <hde@foobar-qux.org>.
2N/A
2N/A * configure.ac (AC_GNU_SOURCE): Added.
2N/A (AC_CHECK_FUNCS): Check posix_memalign and memalign for the host
2N/A type.
2N/A
2N/A2006-06-09 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Make sure that
2N/A ADDR_MAX does not exceed GRUB_LINUX_INITRD_MAX_ADDRESS.
2N/A
2N/A2006-06-07 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * include/grub/types.h (grub_host_addr_t): Rename to
2N/A grub_target_addr_t.
2N/A (grub_host_off_t): Rename to grub_target_off_t.
2N/A (grub_host_size_t): Rename to grub_target_size_t.
2N/A (grub_host_ssize_t): Rename to grub_target_ssize_t.
2N/A Refer to GRUB_TARGET_SIZEOF_VOID_P to define those variables.
2N/A
2N/A * include/grub/kernel.h (struct grub_module_header): Change type
2N/A of OFFSET to grub_target_off_t and type of SIZE to grub_target_size_t.
2N/A (grub_module_info): Likewise.
2N/A
2N/A2006-06-05 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): The conditional
2N/A of checking LINUX_MEM_SIZE was reverse. Reported by Jesus
2N/A Velazquez <jesus.velazquez@gmail.com>.
2N/A
2N/A2006-06-05 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Count partitions from 1 instead of 0 in the string representation
2N/A of partitions. Still use 0-based internally.
2N/A
2N/A * partmap/sun.c (grub_sun_is_valid): A cosmetic change.
2N/A (sun_partition_map_iterate): Use grub_partition_t instead of
2N/A struct grub_partition *. Cast DESC->START_CYLINDER to
2N/A grub_uint64_t after converting the endian.
2N/A (sun_partition_map_probe): Subtract 1 for PARTNUM.
2N/A (sun_partition_map_get_name): Add 1 to P->INDEX.
2N/A
2N/A * partmap/pc.c (grub_partition_parse): Subtract 1 for
2N/A PCDATA->DOS_PART.
2N/A (pc_partition_map_get_name): Add 1 into PCDATA->DOS_PART.
2N/A
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Initialize PARTNO to
2N/A zero instead of one.
2N/A (gpt_partition_map_probe): Subtract 1 for PARTNUM.
2N/A (gpt_partition_map_get_name): Add 1 into P->INDEX.
2N/A
2N/A * partmap/apple.c (apple_partition_map_iterate): Change the type
2N/A of POS to unsigned.
2N/A (apple_partition_map_probe): Subtract 1 for PARTNUM.
2N/A (apple_partition_map_get_name): Add 1 into P->INDEX.
2N/A
2N/A * partmap/amiga.c (amiga_partition_map_iterate): Change the type
2N/A of POS to unsigned.
2N/A (amiga_partition_map_iterate): Cast NEXT to grub_off_t to
2N/A calculate the offset of a partition.
2N/A (amiga_partition_map_probe): Subtract 1 for PARTNUM.
2N/A (amiga_partition_map_get_name): Add 1 into P->INDEX.
2N/A
2N/A * partmap/acorn.c (acorn_partition_map_find): Change the type of
2N/A SECTOR to grub_disk_addr_t.
2N/A (acorn_partition_map_iterate): Likewise.
2N/A (acorn_partition_map_probe): Subtract 1 for PARTNUM.
2N/A Change the type of SECTOR to grub_disk_addr_t. Declare P on the
2N/A top.
2N/A (acorn_partition_map_get_name): Add 1 into P->INDEX.
2N/A
2N/A * kern/i386/pc/init.c (make_install_device): Add 1 into
2N/A GRUB_INSTALL_DOS_PART.
2N/A
2N/A * fs/iso9660.c (grub_iso9660_mount): Fixed a reversed
2N/A conditional.
2N/A
2N/A2006-06-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Clean up the code to support 64-bit addressing in disks and
2N/A files. This change is not enough for filesystems yet.
2N/A
2N/A * util/i386/pc/grub-setup.c (struct boot_blocklist): Change the
2N/A type of "start" to grub_uint64_t.
2N/A (setup): Change the types of KERNEL_SECTOR and FIRST_SECTOR to
2N/A grub_disk_addr_t * and grub_disk_addr_t. Fix the format string in
2N/A save_first_sector and save_blocklists. Use grub_le_to_cpu64 to
2N/A convert addresses.
2N/A
2N/A * util/i386/pc/biosdisk.c (open_device): Change the type of SECTOR
2N/A to grub_disk_addr_t.
2N/A
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Fix the format
2N/A string.
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Likewise.
2N/A
2N/A * partmap/amiga.c (amiga_partition_map_iterate): Cast RDSK.MAGIC
2N/A to char *.
2N/A
2N/A * normal/script.c (grub_script_parse): Remove unused MEMFREE.
2N/A
2N/A * normal/parser.y (YYLTYPE_IS_TRIVIAL): New macro.
2N/A
2N/A * normal/lexer.c (grub_script_yyerror): Specify unused to LEX.
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_load_elf64): Cast -1
2N/A to grub_off_t, to detect an error from grub_file_seek.
2N/A (grub_multiboot_load_elf32): Likewise.
2N/A
2N/A * kern/misc.c (grub_strtoul): Use grub_strtoull. Return the
2N/A maximum unsigned long value when an overflow is detected.
2N/A (grub_strtoull): New function.
2N/A (grub_divmod64): Likewise.
2N/A (grub_lltoa): use grub_divmod64.
2N/A
2N/A * kern/fs.c (struct grub_fs_block): Change the type of "offset" to
2N/A grub_disk_addr_t.
2N/A (grub_fs_blocklist_open): Increase P if P is not NULL to advance
2N/A the pointer to next character. Use grub_strtoull instead of
2N/A grub_strtoul.
2N/A (grub_fs_blocklist_read): Change the types of SECTOR, OFFSET and
2N/A SIZE to grub_disk_addr_t, grub_off_t and grub_size_t,
2N/A respectively.
2N/A
2N/A * kern/file.c (grub_file_read): Prevent an overflow of LEN, as the
2N/A return value is signed.
2N/A (grub_file_seek): Change the type of OLD to grub_off_t. Do not
2N/A test if OFFSET is less than zero, as OFFSET is unsigned now.
2N/A
2N/A * kern/disk.c (struct grub_disk_cache): Change the type of
2N/A "sector" to grub_disk_addr_t.
2N/A (grub_disk_cache_get_index): Change the type of SECTOR to
2N/A grub_disk_addr_t. Calculate the hash with SECTOR casted to
2N/A unsigned after shifting.
2N/A (grub_disk_cache_invalidate): Change the type of SECTOR to
2N/A grub_disk_addr_t.
2N/A (grub_disk_cache_unlock): Likewise.
2N/A (grub_disk_cache_store): Likewise.
2N/A (grub_disk_check_range): Change the types of SECTOR, OFFSET, SIZE,
2N/A START and LEN to grub_disk_addr_t *, grub_off_t *, grub_size_t,
2N/A grub_disk_addr_t and grub_uint64_t, respectively.
2N/A (grub_disk_read): Use an unsigned variable REAL_OFFSET for the
2N/A body, as the value of OFFSET is tweaked by
2N/A grub_disk_check_range. Change the types of START_SECTOR, LEN and
2N/A POS to grub_disk_addr_t, grub_size_t and grub_size_t,
2N/A respectively.
2N/A (grub_disk_write): Use an unsigned variable REAL_OFFSET for the
2N/A body, as the value of OFFSET is tweaked by
2N/A grub_disk_check_range. Change the types of LEN and N to
2N/A grub_size_t.
2N/A
2N/A * io/gzio.c (struct grub_gzio): Change the types of "data_offset"
2N/A and "saved_offset" to grub_off_t.
2N/A (test_header): Cast BUF to char *.
2N/A (get_byte): Cast GZIO->DATA_OFFSET to grub_off_t. Cast GZIO->INBUF
2N/A to char *.
2N/A (grub_gzio_read): Change the types of OFFSET and SIZE to
2N/A grub_off_t and grub_size_t, respectively.
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_FORCE_LBA):
2N/A Removed.
2N/A (GRUB_BOOT_MACHINE_BOOT_DRIVE): Changed to 0x4c.
2N/A (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Changed to 0x40.
2N/A (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Changed to 0x42.
2N/A (GRUB_BOOT_MACHINE_DRIVE_CHECK): Changed to 0x4e.
2N/A (GRUB_BOOT_MACHINE_LIST_SIZE): Increased to 12.
2N/A
2N/A * include/grub/types.h (grub_off_t): Unconditionally set to
2N/A grub_uint64_t.
2N/A (grub_disk_addr_t): Changed to grub_uint64_t.
2N/A
2N/A * include/grub/partition.h (struct grub_partition): Change the
2N/A types of "start", "len" and "offset" to grub_disk_addr_t,
2N/A grub_uint64_t and grub_disk_addr_t, respectively.
2N/A (grub_partition_get_start): Return grub_disk_addr_t.
2N/A (grub_partition_get_len): Return grub_uint64_t.
2N/A
2N/A * include/grub/misc.h (grub_strtoull): New prototype.
2N/A (grub_divmod64): Likewise.
2N/A
2N/A * include/grub/fshelp.h (grub_fshelp_read_file): Change the types
2N/A of SECTOR, LEN and FILESIZE to grub_disk_addr_t, grub_size_t and
2N/A grub_off_t, respectively.
2N/A All callers and references changed.
2N/A
2N/A * include/grub/fs.h (struct grub_fs): Change the type of LEN to
2N/A grub_size_t in "read".
2N/A All callers and references changed.
2N/A
2N/A * include/grub/file.h (struct grub_file): Change the types of
2N/A "offset" and "size" to grub_off_t and grub_off_t,
2N/A respectively. Change the type of SECTOR to grub_disk_addr_t in
2N/A "read_hook".
2N/A (grub_file_read): Change the type of LEN to grub_size_t.
2N/A (grub_file_seek): Return grub_off_t. Change the type of OFFSET to
2N/A grub_off_t.
2N/A (grub_file_size): Return grub_off_t.
2N/A (grub_file_tell): Likewise.
2N/A All callers and references changed.
2N/A
2N/A * include/grub/disk.h (struct grub_disk_dev): Change the types of
2N/A SECTOR and SIZE to grub_disk_addr_t and grub_size_t in "read" and
2N/A "write".
2N/A (struct grub_disk): Change the type of "total_sectors" to
2N/A grub_uint64_t. Change the type of SECTOR to grub_disk_addr_t in
2N/A "read_hook".
2N/A (grub_disk_read): Change the types of SECTOR, OFFSET and SIZE to
2N/A grub_disk_addr_t, grub_off_t and grub_size_t, respectively.
2N/A (grub_disk_write): Likewise.
2N/A All callers and references changed.
2N/A
2N/A * fs/iso9660.c (grub_iso9660_susp_iterate): Cast parameters to
2N/A char * for grub_strncmp to silence gcc.
2N/A (grub_iso9660_mount): Likewise.
2N/A (grub_iso9660_mount): Likewise.
2N/A (grub_iso9660_read_symlink): Likewise. Also, remove the nonsense
2N/A return statement.
2N/A (grub_iso9660_iterate_dir): Likewise.
2N/A (grub_iso9660_label): Cast DATA->VOLDESC.VOLNAME to char *.
2N/A
2N/A * fs/hfs.c (grub_hfs_read_file): Change the types of SECTOR and
2N/A LEN to grub_disk_addr_t and grub_size_t, respectively.
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_read_file): Likewise.
2N/A
2N/A * fs/jfs.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/minix.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/sfs.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/ufs.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/xfs.c (grub_jfs_read_file): Likewise.
2N/A
2N/A * fs/fat.c (grub_fat_read_data): Change the types of SECTOR, LEN
2N/A and SIZE to grub_disk_addr_t, grub_size_t and grub_size_t,
2N/A respectively.
2N/A
2N/A * fs/ext2.c (grub_ext2_read_block): When an error happens, set
2N/A BLKNR to -1 instead of returning GRUB_ERRNO.
2N/A (grub_ext2_read_file): Change the types of SECTOR and
2N/A LEN to grub_disk_addr_t and grub_size_t, respectively.
2N/A
2N/A * fs/affs.c (grub_affs_read_file): Change the types of SECTOR and
2N/A LEN to grub_disk_addr_t and grub_size_t, respectively.
2N/A
2N/A * font/manager.c (grub_font_get_glyph): Cast BITMAP to char * for
2N/A grub_file_read.
2N/A
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Fix the format
2N/A string. Do not cast SECTOR explicitly.
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Change the type of
2N/A TOTAL_SECTORS to grub_uint64_t. Do not mask DRP->TOTAL_SECTORS.
2N/A (grub_biosdisk_rw): Change the types of SECTOR and SIZE to
2N/A grub_disk_addr_t and grub_size_t, respectively. If the sector is
2N/A over 2TB and LBA mode is not supported, raise an error.
2N/A (get_safe_sectors): New function.
2N/A (grub_biosdisk_read): Use get_safe_sectors.
2N/A (grub_biosdisk_write): Likewise.
2N/A
2N/A * disk/efi/efidisk.c (grub_efidisk_read): Fix the format string.
2N/A (grub_efidisk_write): Likewise.
2N/A
2N/A * disk/loopback.c (delete_loopback): Cosmetic changes.
2N/A (grub_cmd_loopback): Likewise. Also, test NEWDEV->FILENAME
2N/A correctly.
2N/A (grub_loopback_open): Likewise.
2N/A (grub_loopback_read): Likewise. Also, change the type of POS to
2N/A grub_off_t, and fix the usage of grub_memset.
2N/A
2N/A * commands/i386/pc/play.c: Include grub/machine/time.h.
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Use "llu" instead of "d" to
2N/A print FILE->SIZE.
2N/A
2N/A * commands/configfile.c: Include grub/env.h.
2N/A
2N/A * commands/cmp.c (grub_cmd_cmp): Do not use ERR, but use
2N/A GRUB_ERRNO directly instead. Change the type of POS to
2N/A grub_off_t. Follow the coding standard.
2N/A
2N/A * commands/blocklist.c: Include grub/partition.h.
2N/A (grub_cmd_blocklist): Return an error if the underlying device is
2N/A not a disk. Take the starting sector of a partition into account,
2N/A if a partition is used.
2N/A
2N/A * boot/i386/pc/diskboot.S (bootloop): Adapted to the new offset of
2N/A a length field.
2N/A (lba_mode): Support 64-bit addresses.
2N/A (chs_mode): Likewise.
2N/A (copy_buffer): Adapted to the new offsets of a length field and a
2N/A segment field.
2N/A (blocklist_default_start): Allocate 64-bit space.
2N/A
2N/A * boot/i386/pc/boot.S (force_lba): Removed.
2N/A (boot_drive): Moved to under KERNEL_SECTOR.
2N/A (kernel_sector): Moved to under KERNEL_SEGMENT. Allocate 64-bit
2N/A space.
2N/A (real_start): Set %si earlier. Remove code for FORCE_LBA, since it
2N/A is useless.
2N/A (lba_mode): Refactored to support a 64-bit address. More size
2N/A optimization.
2N/A (setup_sectors): Likewise.
2N/A
2N/A2006-06-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added include/grub/i386/linux.h. Removed
2N/A include/grub/i386/pc/linux.h
2N/A
2N/A * configure.ac (AC_INIT): Bumped to 1.94.
2N/A
2N/A * config.guess: Updated from gnulib.
2N/A * config.sub: Likewise.
2N/A * install-sh: Likewise.
2N/A * mkinstalldirs: Likewise.
2N/A
2N/A2006-06-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/common.rmk (grub_modules_init.lst): Depended on
2N/A grub_emu_SOURCES, excluding grub_emu_init.c, instead of
2N/A MODSRCFILES.
2N/A
2N/A * genmk.rb (PModule::rule): Reverted the previous change.
2N/A
2N/A2006-06-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/common.rmk (grub_modules_init.lst): Depends on
2N/A $(MODSRCFILES). Grep only the files in $(MODSRCFILES). Make sure
2N/A that the target does not exist before producing.
2N/A (grub_modules_init.h): Remove the target before generating.
2N/A (grub_emu_init.c): Likewise.
2N/A
2N/A * genmk.rb (PModule::rule): Add source files into MODSRCFILES.
2N/A
2N/A2006-05-31 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * configure.ac: Don't set host_m32 for x86_64. Also reset LIBS
2N/A for the target-specific tests. Make sure that we also have the
2N/A up-to-date target variables for those tests.
2N/A
2N/A2006-05-31 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * genmk.rb (Image::rule): Prefix CFLAGS or ASFLAGS with TARGET_.
2N/A (PModule::rule): Likewise.
2N/A
2N/A2006-05-31 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * genmk.rb (Image::rule): Set FLAG to CFLAGS or ASFLAGS instead of
2N/A TARGET_CFLAGS or TARGET_ASFLAGS. There is no reason why
2N/A target-specific flags should be prefixed.
2N/A (PModule::rule): Likewise.
2N/A
2N/A2006-05-30 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac (CMP): Check if cmp is available explicitly.
2N/A
2N/A2006-05-29 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in (host_cpu): Removed.
2N/A (target_cpu): New variable.
2N/A (pkglibdir): Use target_cpu instead of host_cpu.
2N/A
2N/A * util/i386/pc/grub-install.in (host_cpu): Removed.
2N/A (target_cpu): New variable.
2N/A (pkglibdir): Use target_cpu instead of host_cpu.
2N/A
2N/A * util/genmoddep.c: Removed.
2N/A
2N/A * kern/efi/mm.c (filter_memory_map): Use GRUB_CPU_SIZEOF_VOID_P
2N/A instead of GRUB_HOST_SIZEOF_VOID_P.
2N/A * kern/dl.c: Likewise.
2N/A
2N/A * include/grub/i386/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed to
2N/A ...
2N/A (GRUB_TARGET_SIZEOF_VOID_P): ... this.
2N/A (GRUB_HOST_SIZEOF_LONG): Renamed to ...
2N/A (GRUB_TARGET_SIZEOF_LONG): ... this.
2N/A (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ...
2N/A (GRUB_TARGET_WORDS_BIGENDIAN): ... this.
2N/A * include/grub/powerpc/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed
2N/A to ...
2N/A (GRUB_TARGET_SIZEOF_VOID_P): ... this.
2N/A (GRUB_HOST_SIZEOF_LONG): Renamed to ...
2N/A (GRUB_TARGET_SIZEOF_LONG): ... this.
2N/A (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ...
2N/A (GRUB_TARGET_WORDS_BIGENDIAN): ... this.
2N/A * include/grub/sparc64/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed
2N/A to ...
2N/A (GRUB_TARGET_SIZEOF_VOID_P): ... this.
2N/A (GRUB_HOST_SIZEOF_LONG): Renamed to ...
2N/A (GRUB_TARGET_SIZEOF_LONG): ... this.
2N/A (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ...
2N/A (GRUB_TARGET_WORDS_BIGENDIAN): ... this.
2N/A
2N/A * include/grub/types.h [!GRUB_UTIL] (GRUB_CPU_SIZEOF_VOID_P): Use
2N/A GRUB_TARGET_SIZEOF_VOID_P instead of GRUB_HOST_SIZEOF_VOID_P.
2N/A [!GRUB_UTIL] (GRUB_CPU_SIZEOF_LONG): Use GRUB_TARGET_SIZEOF_LONG
2N/A instead of GRUB_HOST_SIZEOF_LONG.
2N/A [!GRUB_UTIL]: Refer to GRUB_TARGET_WORDS_BIGENDIAN instead of
2N/A GRUB_HOST_WORDS_BIGENDIAN to define or undefine
2N/A GRUB_CPU_WORDS_BIGENDIAN.
2N/A Refer to SIZEOF_VOID_P instead of GRUB_HOST_SIZEOF_VOID_P to
2N/A define grub_host_addr_t, grub_host_off_t, grub_host_size_t and
2N/A grub_host_ssize_t.
2N/A
2N/A * conf/i386-efi.rmk (noinst_UTILITIES): Removed.
2N/A (genmoddep_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (noinst_UTILITIES): Likewise.
2N/A (genmoddep_SOURCES): Likewise.
2N/A * conf/conf/powerpc-ieee1275.rmk (noinst_UTILITIES): Likewise.
2N/A (genmoddep_SOURCES): Likewise.
2N/A * conf/conf/conf/sparc64-ieee1275.rmk (noinst_UTILITIES):
2N/A Likewise.
2N/A (genmoddep_SOURCES): Likewise.
2N/A
2N/A * genmoddep.awk: New file.
2N/A
2N/A * genmk.rb (Image::rule): Use TARGET_CC, TARGET_CPPFLAGS,
2N/A TARGET_CFLAGS, TARGET_ASFLAGS and TARGET_LDFLAGS instead of CC,
2N/A CPPFLAGS, CFLAGS, ASFLAGS and LDFLAGS, respectively.
2N/A (PModule::rule): Likewise.
2N/A (Program::rule): Likewise.
2N/A (Utility::rule): Use CC, CPPFLAGS, CFLAGS and LDFLAGS instead of
2N/A BUILD_CC, BUILD_CPPFLAGS, BUILD_CFLAGS and BUILD_LDFLAGS,
2N/A respectively.
2N/A
2N/A * configure.ac: Rewritten intensively to use host and target
2N/A instead of build and host, respectively.
2N/A
2N/A * Makefile.in (pkglibdir): Use target_cpu instead of host_cpu.
2N/A (host_cpu): Removed.
2N/A (target_cpu): New variable.
2N/A (CPPFLAGS): Added @CPPFLAGS@ and -DGRUB_LIBDIR=\"$(pkglibdir)\".
2N/A (BUILD_CC): Removed.
2N/A (BUILD_CFLAGS): Likewise.
2N/A (BUILD_CPPFLAGS): Likewise.
2N/A (TARGET_CC): New variable.
2N/A (TARGET_CFLAGS): Likewise.
2N/A (TARGET_CPPFLAGS): Likewise.
2N/A (TARGET_LDFLAGS): Likewise.
2N/A (AWK): Likewise.
2N/A (include): Use target_cpu instead of host_cpu.
2N/A (moddep.lst:): Use genmoddep.awk instead of genmoddep.
2N/A
2N/A * DISTLIST: Added genmoddep.awk. Removed util/genmoddep.c.
2N/A
2N/A2006-05-29 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * include/grub/script.h (grub_script_cmdif): Renamed field 'bool' to
2N/A 'exec_to_evaluate'. Renamed field 'true' to 'exec_on_true'. Renamed
2N/A field 'false' to 'exec_on_false'.
2N/A (grub_script_create_cmdif): Renamed argument names to reflect above
2N/A changes.
2N/A
2N/A * normal/execute.c (grub_script_execute_cmdif): Likewise.
2N/A
2N/A * normal/script.c (grub_script_create_cmdif): Likewise.
2N/A
2N/A2006-05-28 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_btree_recoffset): Moved to near the
2N/A top.
2N/A (grub_hfsplus_btree_recptr): Likewise.
2N/A (grub_hfsplus_find_block): Do not take RETRY any longer. Use
2N/A FILEBLOCK both to pass a block number and store next block
2N/A number.
2N/A (grub_hfsplus_read_block): Rewritten heavily to support an extent
2N/A overflow file correctly. Specify errors appropriately, because
2N/A fshelp expects that GRUB_ERRNO is set when fails. Reuse
2N/A grub_hfsplus_btree_recptr to get the pointer to a found key.
2N/A (grub_hfsplus_btree_search): Return 1 instead of 0 when no match
2N/A is found.
2N/A
2N/A * conf/i386-efi.rmk (pkgdata_MODULES): Added _linux.mod and
2N/A linux.mod.
2N/A (_linux_mod_SOURCES): New variable.
2N/A (_linux_mod_CFLAGS): Likewise.
2N/A (_linux_mod_LDFLAGS): Likewise.
2N/A (linux_mod_SOURCES): Likewise.
2N/A (linux_mod_CFLAGS): Likewise.
2N/A (linux_mod_LDFLAGS): Likewise.
2N/A
2N/A * DISTLIST: Added loader/i386/efi/linux.c,
2N/A loader/i386/efi/linux_normal.c and
2N/A include/grub/i386/efi/loader.h.
2N/A
2N/A * loader/i386/efi/linux.c: New file.
2N/A * loader/i386/efi/linux_normal.c: Likewise.
2N/A * include/grub/i386/efi/loader.h: Likewise.
2N/A
2N/A2006-05-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * commands/blocklist.c: New file.
2N/A
2N/A * DISTLIST: Added commands/blocklist.c.
2N/A
2N/A * term/efi/console.c (grub_console_highlight_color): Use a lighter
2N/A color for the background, and a darker color for the foreground.
2N/A (grub_console_checkkey): Return READ_KEY.
2N/A (grub_console_cls): Set the background to
2N/A GRUB_EFI_BACKGROUND_BLACK temporarily to clean out the screen.
2N/A
2N/A * kern/efi/efi.c (grub_efi_exit_boot_services): New function.
2N/A
2N/A * include/grub/i386/linux.h (struct linux_kernel_params): Fixed
2N/A the size of "padding5", "hd0_drive_info" and "hd1_drive_info".
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_exit_boot_services): New
2N/A prototype.
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_TEXT_ATTR): Do not shift
2N/A BG. The spec is wrong again.
2N/A
2N/A * include/grub/normal.h [GRUB_UTIL] (grub_blocklist_init): New
2N/A prototype.
2N/A [GRUB_UTIL] (grub_blocklist_fini): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added
2N/A commands/blocklist.c.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Added blocklist.mod.
2N/A (blocklist_mod_SOURCES): New variable.
2N/A (blocklist_mod_CFLAGS): Likewise.
2N/A (blocklist_mod_LDFLAGS): Likewise.
2N/A
2N/A2006-05-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * boot/i386/pc/boot.S (real_start): Set %si earlier to eliminate
2N/A duplication.
2N/A (lba_mode): Use %eax more intensively to reduce the code size.
2N/A
2N/A2006-05-20 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/lexer.c (grub_script_yylex): Don't filter out newlines.
2N/A
2N/A * normal/parser.y (commandblock): Defined as <cmd>. A subroutine
2N/A for `menuentry'.
2N/A (script): Accept leading newlines.
2N/A (newlines): New rule to describe 0 or more newlines.
2N/A (commands): Accept `command' with trailing newline. Fixed the
2N/A order in which arguments were passed to `grub_script_add_cmd'.
2N/A Accept commands separated by newlines.
2N/A (function): Changed to accept newlines.
2N/A (menuentry) Rewritten.
2N/A
2N/A * normal/script.c (grub_script_create_cmdmenu): Add new entries in
2N/A front of the list, instead of to the end.
2N/A
2N/A2006-05-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-install.in (bindir): New variable.
2N/A (grub_mkimage): Use BINDIR instead of SBINDIR. Reported by Lee
2N/A Shaver <lbgwjl@gmail.com>.
2N/A
2N/A2006-05-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/i386/pc/startup.S: Include grub/cpu/linux.h instead of
2N/A grub/machine/linux.h
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A
2N/A * include/grub/i386/pc/linux.h: Moved to ...
2N/A * include/grub/i386/linux.h: ... here.
2N/A
2N/A * include/grub/i386/linux.h (struct linux_kernel_params): New
2N/A struct.
2N/A
2N/A2006-05-09 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Corrected bounds
2N/A checking.
2N/A (grub_video_vbe_blit_glyph): Likewise.
2N/A (grub_video_vbe_blit_bitmap): Likewise.
2N/A (grub_video_vbe_blit_render_target): Likewise.
2N/A
2N/A2006-05-09 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac (--with-platform): Properly quote the square
2N/A brackets.
2N/A
2N/A2006-05-08 Marco Gerards <marco@gnu.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Renamed from
2N/A this...
2N/A (kernel_elf_HEADERS): ...to this. Updated all users.
2N/A (grubof_symlist.c): Renamed from this...
2N/A (kernel_elf_symlist.c): ...to this. Updated all users.
2N/A (pkgdata_PROGRAMS): Changed `grubof' to `kernel.elf'.
2N/A (grubof_SOURCES): Renamed from this...
2N/A (kernel_elf_SOURCES): ...to this.
2N/A (grubof_HEADERS): Renamed from this...
2N/A (kernel_elf_HEADERS): ...to this.
2N/A (grubof_CFLAGS): Renamed from this...
2N/A (kernel_elf_CFLAGS): ...to this.
2N/A (grubof_ASFLAGS): Renamed from this...
2N/A (kernel_elf_ASFLAGS): ...to this.
2N/A (grubof_LDFLAGS): Renamed from this...
2N/A (kernel_elf_LDFLAGS): ...to this.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grubof_HEADERS): Renamed from
2N/A this...
2N/A (kernel_elf_HEADERS): ...to this. Updated all users.
2N/A (grubof_symlist.c): Renamed from this...
2N/A (kernel_elf_symlist.c): ...to this. Updated all users.
2N/A (pkgdata_PROGRAMS): Changed `grubof' to `kernel.elf'.
2N/A (grubof_SOURCES): Renamed from this...
2N/A (kernel_elf_SOURCES): ...to this.
2N/A (grubof_HEADERS): Renamed from this...
2N/A (kernel_elf_HEADERS): ...to this.
2N/A (grubof_CFLAGS): Renamed from this...
2N/A (kernel_elf_CFLAGS): ...to this.
2N/A (grubof_ASFLAGS): Renamed from this...
2N/A (kernel_elf_ASFLAGS): ...to this.
2N/A (grubof_LDFLAGS): Renamed from this...
2N/A (kernel_elf_LDFLAGS): ...to this.
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c (add_segments): Use
2N/A `kernel.elf' instead of `grubof'.
2N/A
2N/A2006-05-08 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Add --with-platform to configure. Use pkglibdir instead of
2N/A pkgdatadir. This is reported by Roger Leigh.
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in (datadir): Removed.
2N/A (host_vendor): Likewise.
2N/A (host_os): Likewise.
2N/A (pkgdatadir): Likewise.
2N/A (platform): New variable.
2N/A (pkglibdir): Likewise.
2N/A Use PKGLIBDIR instead of PKGDATADIR.
2N/A
2N/A * util/i386/pc/grub-install.in (datadir): Removed.
2N/A (host_vendor): Likewise.
2N/A (host_os): Likewise.
2N/A (pkgdatadir): Likewise.
2N/A (platform): New variable.
2N/A (pkglibdir): Likewise.
2N/A Use PKGLIBDIR instead of PKGDATADIR.
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c (usage): Use GRUB_LIBDIR
2N/A instead of GRUB_DATADIR.
2N/A (main): Likewise.
2N/A * util/i386/pc/grub-mkimage.c (usage): Likewise.
2N/A (main): Likewise.
2N/A * util/i386/efi/grub-mkimage.c (usage): Likewise.
2N/A (main): Likewise.
2N/A
2N/A * configure.ac (--with-platform): New option.
2N/A Use PLATFORM instead of HOST_VENDOR to specify a platform.
2N/A
2N/A * Makefile.in: Include a makefile based on PLATFORM instead of
2N/A HOST_VENDOR.
2N/A (pkgdatadir): Not appended by the machine type.
2N/A (pkglibdir): Appended by the machine type.
2N/A (host_vendor): Removed.
2N/A (platform): New variable.
2N/A (BUILD_CPPFLAGS): Specify GRUB_LIBDIR instead of GRUB_DATADIR.
2N/A (install-local): Use PKGLIBDIR instead of PKGDATADIR.
2N/A (uninstall): Likewise.
2N/A
2N/A2006-05-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Use the environment context in the menu. Remove the commands
2N/A "default" and "timeout", and use variables instead.
2N/A
2N/A * normal/menu.c: Include grub/env.h.
2N/A (print_entry): Cast TITLE to silence gcc.
2N/A (get_timeout): New function.
2N/A (set_timeout): Likewise.
2N/A (get_entry_number): Likewise.
2N/A (run_menu): Use a default entry, a fallback entry and a timeout
2N/A in the environment variables "default", "fallback" and
2N/A "timeout". Also, tweak the default entry if it is not within the
2N/A current menu entries.
2N/A (grub_menu_run): Use a fallback entry in the environment variable
2N/A "fallback".
2N/A
2N/A * normal/main.c (read_config_file): Do not initialize
2N/A NEWMENU->DEFAULT_ENTRY, NEWMENU->FALLBACK_ENTRY or
2N/A NEWMENU->TIMEOUT.
2N/A (grub_normal_execute): Use a data slot to store the menu.
2N/A
2N/A * include/grub/normal.h (struct grub_menu): Removed default_entry,
2N/A fallback_entry and timeout.
2N/A (struct grub_menu_list): Removed.
2N/A (grub_menu_list_t): Likewise.
2N/A (struct grub_context): Likewise.
2N/A (grub_context_t): Likewise.
2N/A (grub_context_get): Likewise.
2N/A (grub_context_get_current_menu): Likewise.
2N/A (grub_context_push_menu): Likewise.
2N/A (grub_context_pop_menu): Likewise.
2N/A (grub_default_init): Likewise.
2N/A (grub_default_fini): Likewise.
2N/A (grub_timeout_init): Likewise.
2N/A (grub_timeout_fini): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (pkgdata_MODULES): Removed default.mod
2N/A and timeout.mod.
2N/A (normal_mod_SOURCES): Removed normal/context.c.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Removed
2N/A commands/default.c, commands/timeout.c and normal/context.c.
2N/A (normal_mod_SOURCES): Removed normal/context.c.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Removed commands/default.c,
2N/A commands/timeout.c and normal/context.c.
2N/A (normal_mod_SOURCES): Removed normal/context.c.
2N/A
2N/A * conf/i386-efi.rmk (grub_emu_SOURCES): Removed
2N/A commands/default.c, commands/timeout.c and normal/context.c.
2N/A (normal_mod_SOURCES): Removed normal/context.c.
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Removed default.mod and
2N/A timeout.mod.
2N/A (default_mod_SOURCES): Removed.
2N/A (default_mod_CFLAGS): Likewise.
2N/A (default_mod_LDFLAGS): Likewise.
2N/A (timeout_mod_SOURCES): Removed.
2N/A (timeout_mod_CFLAGS): Likewise.
2N/A (timeout_mod_LDFLAGS): Likewise.
2N/A
2N/A * DISTLIST: Removed commands/default.c, commands/timeout.c and
2N/A normal/context.c.
2N/A
2N/A * commands/default.c: Removed.
2N/A * commands/timeout.c: Likewise.
2N/A * normal/context.c: Likewise.
2N/A
2N/A2006-05-07 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * kern/i386/pc/startup.S (grub_exit): Added missing .code32 tag.
2N/A
2N/A2006-05-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/env.c (struct grub_env_context): Removed "sorted". Renamed
2N/A "next" to "prev" for readability.
2N/A (struct grub_env_sorted_var): New struct.
2N/A (grub_env_context): Renamed to ...
2N/A (initial_context): ... this.
2N/A (grub_env_var_context): Renamed to ...
2N/A (current_context): ... this.
2N/A (grub_env_find): Look only at CURRENT_CONTEXT.
2N/A (grub_env_context_open): Rewritten to copy exported variables from
2N/A previous context.
2N/A (grub_env_context_close): Rewritten according to the new
2N/A scheme. Also, add an assertion to prevent the initial context from
2N/A removed.
2N/A (grub_env_insert): Removed the code for the sorted list.
2N/A (grub_env_remove): Likewise.
2N/A (grub_env_export): Simply mark the variable with
2N/A GRUB_ENV_VAR_GLOBAL.
2N/A (grub_env_set): A cosmetic change for naming consistency.
2N/A (grub_env_get): Likewise.
2N/A (grub_env_unset): Likewise.
2N/A (grub_env_iterate): Rewritten to sort variables within this
2N/A function.
2N/A (grub_register_variable_hook): Fixed for naming consistency. Call
2N/A grub_env_find again, only if NAME is not found at the first time.
2N/A (mangle_data_slot_name): New function.
2N/A (grub_env_set_data_slot): Likewise.
2N/A (grub_env_get_data_slot): Likewise.
2N/A (grub_env_unset_data_slot): Likewise.
2N/A
2N/A * include/grub/env.h (grub_env_var_type): New enum.
2N/A (GRUB_ENV_VAR_LOCAL): New constant.
2N/A (GRUB_ENV_VAR_GLOBAL): Likewise.
2N/A (GRUB_ENV_VAR_DATA): Likewise.
2N/A (struct grub_env_var): Removed "sort_next" and "sort_prevp". Added
2N/A "type".
2N/A (grub_env_set): Replace VAR with NAME for consistency.
2N/A (grub_register_variable_hook): Likewise.
2N/A (grub_env_export): Specify the name of the argument.
2N/A (grub_env_set_data_slot): New prototype.
2N/A (grub_env_get_data_slot): Likewise.
2N/A (grub_env_unset_data_slot): Likewise.
2N/A
2N/A2006-04-30 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Extend the loader so that GRUB can accept a loader which comes
2N/A back to GRUB when a loaded image exits. Also, this change adds
2N/A support for a chainloader on EFI.
2N/A
2N/A * term/efi/console.c: Include grub/misc.h.
2N/A (grub_console_checkkey): Display a scan code on the top for
2N/A debugging. This will be removed once the EFI port gets stable.
2N/A Correct the scan code mapping.
2N/A
2N/A * kern/efi/mm.c (sort_memory_map): Sort in a descending order to
2N/A allocate memory from larger regions, in order to reduce the number
2N/A of allocated regions. Otherwise, the MacOSX loader panics.
2N/A (filter_memory_map): Avoid less than 1MB for compatibility with
2N/A other loaders.
2N/A (add_memory_regions): Allocate from the tail of a region, if
2N/A possible, to avoid allocating a region near to 1MB, for the MacOSX
2N/A loader.
2N/A
2N/A * kern/efi/init.c (grub_efi_set_prefix): Specify
2N/A GRUB_EFI_IMAGE_HANDLE to grub_efi_get_loaded_image.
2N/A
2N/A * kern/efi/efi.c (grub_efi_get_loaded_image): Accept a new
2N/A argument IMAGE_HANDLE and specify it to get a loaded image.
2N/A (grub_arch_modules_addr): Specify GRUB_EFI_IMAGE_HANDLE to
2N/A grub_efi_get_loaded_image.
2N/A (grub_efi_get_filename): Divide the length by the size of
2N/A grub_efi_char16_t.
2N/A (grub_efi_get_device_path): New function.
2N/A (grub_efi_print_device_path): Print End Device Path nodes. Divide
2N/A the length by the size of grub_efi_char16_t for a file path device
2N/A path node.
2N/A
2N/A * kern/loader.c (grub_loader_noreturn): New variable.
2N/A (grub_loader_set): Accept a new argument NORETURN. Set
2N/A GRUB_LOADER_NORETURN to NORETURN.
2N/A All callers changed.
2N/A (grub_loader_boot): If GRUB_LOADER_NORETURN is false, do not call
2N/A grub_machine_fini.
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_get_device_path): New
2N/A prototype.
2N/A (grub_efi_get_loaded_image): Take an argument to specify an image
2N/A handle.
2N/A
2N/A * include/grub/loader.h (grub_loader_set): Added one more argument
2N/A NORETURN.
2N/A
2N/A * disk/efi/efidisk.c (make_devices): Use grub_efi_get_device_path
2N/A instead of grub_efi_open_protocol.
2N/A (grub_efidisk_get_device_name): Likewise.
2N/A (grub_efidisk_close): Print a newline.
2N/A (grub_efidisk_get_device_handle): Fixed to use
2N/A GRUB_EFI_DEVICE_PATH_SUBTYPE instead of
2N/A GRUB_EFI_DEVICE_PATH_TYPE.
2N/A
2N/A * disk/efi/efidisk.c (device_path_guid): Moved to ...
2N/A * kern/efi/efi.c (device_path_guid): ... here.
2N/A
2N/A * conf/i386-efi.rmk (pkgdata_MODULES): Added _chain.mod and
2N/A chain.mod.
2N/A (kernel_mod_HEADERS): Added efi/disk.h.
2N/A (_chain_mod_SOURCES): New variable.
2N/A (_chain_mod_CFLAGS): Likewise.
2N/A (_chain_mod_LDFLAGS): Likewise.
2N/A (chain_mod_SOURCES): Likewise.
2N/A (chain_mod_CFLAGS): Likewise.
2N/A (chain_mod_LDFLAGS): Likewise.
2N/A
2N/A * DISTLIST: Added include/grub/efi/chainloader.h,
2N/A loader/efi/chainloader.c and loader/efi/chainloader_normal.c.
2N/A
2N/A * include/grub/efi/chainloader.h: New file.
2N/A * loader/efi/chainloader.c: Likewise.
2N/A * loader/efi/chainloader_normal.c: Likewise.
2N/A
2N/A2006-04-30 Marco Gerards <marco@gnu.org>
2N/A
2N/A * commands/configfile.c (grub_cmd_source): New function.
2N/A (GRUB_MOD_INIT): Register the commands `source' and `.'.
2N/A (GRUB_MOD_FINI): De-register the commands `source' and `.'.
2N/A
2N/A2006-04-30 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/execute.c (grub_script_execute_cmd): Change the return
2N/A type to `grub_err_t'. Correctly return the error.
2N/A (grub_script_execute_cmdline): In case a command line is not a
2N/A command or a function, try to interpret it as an assignment.
2N/A
2N/A2006-04-30 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_read_block): Fixed a memory leak.
2N/A (grub_hfsplus_iterate_dir): Reordered to skip unknown nodes. Also,
2N/A skip a node whose name is obviously invalid as UTF-16,
2N/A i.e. contains a NUL character. Stop the iteration when the last
2N/A directory entry is found. Instead of using the return value of
2N/A grub_hfsplus_btree_iterate_node, store the value in RET and use
2N/A it, because the iterator can be stopped by the last directory
2N/A entry.
2N/A
2N/A2006-04-30 Marco Gerards <marco@gnu.org>
2N/A
2N/A * include/grub/env.h (grub_env_export): New prototype. Reported
2N/A by Jan C. Kleinsorge <jan.kleinsorge@udo.edu>.
2N/A
2N/A2006-04-30 Marco Gerards <marco@gnu.org>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the
2N/A size of the extents in a catalog file record.
2N/A
2N/A2006-04-29 Marco Gerards <marco@gnu.org>
2N/A
2N/A * commands/configfile.c (grub_cmd_configfile): Execute the
2N/A configfile within its own context.
2N/A
2N/A * include/grub/env.h (grub_env_context_open): New prototype.
2N/A (grub_env_context_close): Likewise.
2N/A
2N/A * kern/env.c (grub_env): Removed.
2N/A (grub_env_sorted): Likewise.
2N/A (grub_env_context): New variable.
2N/A (grub_env_var_context): Likewise.
2N/A (grub_env_find): Search both the active context and the global
2N/A context.
2N/A (grub_env_context_open): New function.
2N/A (grub_env_context_close): Likewise.
2N/A (grub_env_insert): Likewise.
2N/A (grub_env_remove): Likewise.
2N/A (grub_env_export): Likewise.
2N/A (grub_env_set): Changed to use helper functions to avoid code
2N/A duplication.
2N/A (grub_env_iterate): Rewritten so both the current context and the
2N/A global context are being used.
2N/A
2N/A * normal/command.c (export_command): New function.
2N/A (grub_command_init): Register the `export' function.
2N/A
2N/A2006-04-26 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-mkimage.c (compress_kernel): Cast arguments
2N/A explicitly to suppress gcc's warnings.
2N/A * fs/fat.c (grub_fat_find_dir): Likewise.
2N/A (grub_fat_label): Likewise.
2N/A * fs/xfs.c (grub_xfs_read_inode): Likewise.
2N/A (grub_xfs_mount): Likewise.
2N/A (grub_xfs_label): Likewise.
2N/A * fs/affs.c (grub_affs_mount): Likewise.
2N/A (grub_affs_label): Likewise.
2N/A (grub_affs_iterate_dir): Likewise.
2N/A * fs/sfs.c (grub_sfs_mount): Likewise.
2N/A (grub_sfs_iterate_dir): Likewise.
2N/A * fs/ufs.c (grub_ufs_lookup_symlink): Likewise.
2N/A * fs/hfs.c (grub_hfs_mount): Likewise.
2N/A (grub_hfs_cmp_catkeys): Likewise.
2N/A (grub_hfs_find_dir): Likewise.
2N/A (grub_hfs_dir): Likewise.
2N/A (grub_hfs_label): Likewise.
2N/A * fs/jfs.c (grub_jfs_mount): Likewise.
2N/A (grub_jfs_opendir): Likewise.
2N/A (grub_jfs_getent): Likewise.
2N/A (grub_jfs_lookup_symlink): Likewise.
2N/A (grub_jfs_label): Likewise.
2N/A * fs/hfsplus.c (grub_hfsplus_cmp_catkey): Likewise.
2N/A (grub_hfsplus_iterate_dir): Likewise.
2N/A (grub_hfsplus_btree_iterate_node): Made static.
2N/A
2N/A * util/grub-emu.c (prefix): New variable.
2N/A (grub_machine_set_prefix): New function.
2N/A (main): Do not set the environment variable "prefix" here. Only
2N/A set PREFIX, which is used later by grub_machine_set_prefix.
2N/A
2N/A * include/grub/video.h: Do not include grub/symbol.h.
2N/A (grub_video_register): Not exported. This symbol is not defined in
2N/A the kernel.
2N/A (grub_video_unregister): Likewise.
2N/A (grub_video_iterate): Likewise.
2N/A (grub_video_setup): Likewise.
2N/A (grub_video_restore): Likewise.
2N/A (grub_video_get_info): Likewise.
2N/A (grub_video_get_blit_format): Likewise.
2N/A (grub_video_set_palette): Likewise.
2N/A (grub_video_get_palette): Likewise.
2N/A (grub_video_set_viewport): Likewise.
2N/A (grub_video_get_viewport): Likewise.
2N/A (grub_video_map_color): Likewise.
2N/A (grub_video_map_rgb): Likewise.
2N/A (grub_video_map_rgba): Likewise.
2N/A (grub_video_fill_rect): Likewise.
2N/A (grub_video_blit_glyph): Likewise.
2N/A (grub_video_blit_bitmap): Likewise.
2N/A (grub_video_blit_render_target): Likewise.
2N/A (grub_video_scroll): Likewise.
2N/A (grub_video_swap_buffers): Likewise.
2N/A (grub_video_create_render_target): Likewise.
2N/A (grub_video_delete_render_target): Likewise.
2N/A (grub_video_set_active_render_target): Likewise.
2N/A
2N/A * include/grub/symbol.h [GRUB_SYMBOL_GENERATOR] (EXPORT_FUNC):
2N/A Undefined.
2N/A [GRUB_SYMBOL_GENERATOR] (EXPORT_VAR): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grubof_symlist.c): Depended on
2N/A config.h. Use gensymlist.sh instead of $(srcdir)/gensymlist.sh.
2N/A (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh
2N/A instead of $(srcdir)/genkernsyms.sh.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_symlist.c): Depended on
2N/A config.h. Use gensymlist.sh instead of $(srcdir)/gensymlist.sh.
2N/A (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh
2N/A instead of $(srcdir)/genkernsyms.sh.
2N/A
2N/A * conf/i386-pc.rmk (symlist.c): Depended on config.h. Use
2N/A gensymlist.sh instead of $(srcdir)/gensymlist.sh.
2N/A (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh
2N/A instead of $(srcdir)/genkernsyms.sh.
2N/A
2N/A * conf/i386-efi.rmk (symlist.c): Depended on config.h. Use
2N/A gensymlist.sh instead of $(srcdir)/gensymlist.sh.
2N/A (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh
2N/A instead of $(srcdir)/genkernsyms.sh.
2N/A
2N/A * configure.ac (AC_CONFIG_FILES): Added gensymlist.sh and
2N/A genkernsyms.sh.
2N/A
2N/A * Makefile.in (DISTCLEANFILES): Added gensymlist.sh and
2N/A genkernsyms.sh.
2N/A (gensymlist.sh): New target.
2N/A (genkernsyms.sh): Likewise.
2N/A
2N/A * DISTLIST: Removed genkernsyms.sh and gensymlist.sh. Added
2N/A genkernsyms.sh.in and gensymlist.sh.in.
2N/A
2N/A * genkernsyms.sh: Removed.
2N/A * gensymlist.sh: Likewise.
2N/A
2N/A * genkernsyms.sh.in: New file.
2N/A * gensymlist.sh.in: Likewise.
2N/A
2N/A2006-04-25 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_set_prefix): Do not
2N/A clobber "prefix", since we may have already set it manually.
2N/A
2N/A2006-04-25 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/misc.c (abort): New alias for grub_abort.
2N/A
2N/A2006-04-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A A new machine-specific function "grub_machine_set_prefix" is
2N/A defined. This is called after loading modules, so that a prefix
2N/A initialization can use modules. Also, this change adds an
2N/A intensive debugging feature for the memory manager via the
2N/A configure option "--enable-mm-debug".
2N/A
2N/A * partmap/gpt.c (gpt_partition_map_iterate): Add one more into
2N/A PART.LEN.
2N/A
2N/A * kern/sparc64/ieee1275/init.c (abort): Removed.
2N/A (grub_stop): Likewise.
2N/A (grub_exit): New function.
2N/A (grub_set_prefix): Renamed to ...
2N/A (grub_machine_set_prefix): ... this.
2N/A (grub_machine_init): Do not call grub_set_prefix.
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_set_prefix): Renamed to ...
2N/A (grub_machine_set_prefix): ... this.
2N/A (grub_machine_init): Do not call grub_set_prefix.
2N/A
2N/A * kern/i386/pc/init.c (grub_machine_set_prefix): New function.
2N/A (grub_machine_init): Do not set the prefix here.
2N/A
2N/A * kern/i386/efi/init.c (grub_machine_set_prefix): New function.
2N/A
2N/A * kern/efi/init.c: Include grub/mm.h.
2N/A (grub_efi_set_prefix): New function.
2N/A
2N/A * kern/efi/efi.c (grub_exit): Call grub_efi_fini.
2N/A (grub_efi_get_filename): New function.
2N/A (grub_print_device_path): Renamed to ...
2N/A (grub_efi_print_device_path): ... this.
2N/A
2N/A * kern/mm.c [MM_DEBUG] (grub_malloc): Undefined.
2N/A [MM_DEBUG] (grub_realloc): Likewise.
2N/A [MM_DEBUG] (grub_free): Likewise.
2N/A [MM_DEBUG] (grub_memalign): Likewise.
2N/A [MM_DEBUG] (grub_mm_debug): New variable.
2N/A [MM_DEBUG] (grub_debug_malloc): New function.
2N/A [MM_DEBUG] (grub_debug_free): New function.
2N/A [MM_DEBUG] (grub_debug_realloc): New function.
2N/A [MM_DEBUG] (grub_debug_memalign): New function.
2N/A
2N/A * kern/misc.c (grub_abort): Print a newline to distinguish
2N/A the message.
2N/A
2N/A * kern/main.c (grub_main): Call grub_machine_set_prefix and
2N/A grub_set_root_dev after loading modules. This is necessary when
2N/A setting a prefix depends on modules.
2N/A
2N/A * include/grub/efi/efi.h (grub_print_device_path): Renamed to ...
2N/A (grub_efi_print_device_path): ... this.
2N/A (grub_efi_get_filename): New prototype.
2N/A (grub_efi_set_prefix): Likewise.
2N/A
2N/A * include/grub/efi/disk.h: Include grub/efi/api.h, grub/symbol.h
2N/A and grub/disk.h.
2N/A (grub_efidisk_get_device_handle): New prototype.
2N/A (grub_efidisk_get_device_name): Likewise.
2N/A
2N/A * include/grub/mm.h: Include config.h.
2N/A (MM_DEBUG): Removed.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_mm_debug): New prototype.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_malloc): New macro.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_realloc): Likewise.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_memalign): Likewise.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_free): Likewise.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_debug_malloc): New prototype.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_debug_realloc): New prototype.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_debug_memalign): New prototype.
2N/A [MM_DEBUG && !GRUB_UTIL] (grub_debug_free): New prototype.
2N/A
2N/A * include/grub/kernel.h (grub_machine_set_prefix): New prototype.
2N/A
2N/A * disk/efi/efidisk.c: Include grub/partition.h.
2N/A (iterate_child_devices): New function.
2N/A (add_device): First, compare only last device path nodes, so that
2N/A devices are sorted by the types.
2N/A (grub_efidisk_get_device_handle): New function.
2N/A (grub_efidisk_get_device_name): Likewise.
2N/A
2N/A * configure.ac (--enable-mm-debug): New option to enable the
2N/A memory manager debugging feature. This makes the binary much
2N/A bigger, so is disabled by default.
2N/A
2N/A2006-04-23 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Use grub_abort instead of grub_stop, and grub_exit must be
2N/A define in each architecture now. Also, this change adds support
2N/A for EFI disks.
2N/A
2N/A * util/i386/pc/grub-probefs.c: Include grub/term.h.
2N/A (grub_getkey): New function.
2N/A (grub_term_get_current): Likewise.
2N/A
2N/A * util/i386/pc/grub-setup.c: Include grub/term.h.
2N/A (grub_getkey): New function.
2N/A (grub_term_get_current): Likewise.
2N/A
2N/A * util/misc.c (grub_stop): Renamed to ...
2N/A (grub_exit): ... this.
2N/A
2N/A * kern/powerpc/ieee1275/init.c (abort): Renamed to ...
2N/A (grub_exit): ... this.
2N/A (grub_machine_init): Use grub_abort instead of abort.
2N/A (grub_stop): Removed.
2N/A
2N/A * kern/powerpc/ieee1275/cmain.c (cmain): Use grub_abort instead of
2N/A abort.
2N/A
2N/A * kern/i386/pc/startup.S (grub_exit): New function.
2N/A (cold_reboot): New label.
2N/A
2N/A * kern/efi/init.c: Include grub/efi/disk.h and grub/env.h.
2N/A (grub_efi_init): Call grub_efidisk_init.
2N/A (grub_efi_fini): Call grub_efidisk_fini.
2N/A
2N/A * kern/efi/efi.c: Include grub/mm.h.
2N/A (grub_efi_console_control_guid): Renamed to ...
2N/A (console_control_guid): ... this.
2N/A (grub_efi_loaded_image_guid): Renamed to ...
2N/A (loaded_image_guid): ... this.
2N/A (grub_efi_locate_handle): New function.
2N/A (grub_efi_open_protocol): Likewise.
2N/A (grub_efi_set_text_mode): Use CONSOLE_CONTROL_GUID instead of
2N/A GRUB_EFI_CONSOLE_CONTROL_GUID.
2N/A (grub_efi_exit): Removed.
2N/A (grub_stop): Likewise.
2N/A (grub_efi_get_loaded_image): Use grub_efi_open_protocol.
2N/A (grub_exit): New function.
2N/A (grub_print_device_path): Likewise.
2N/A
2N/A * kern/rescue.c (grub_rescue_cmd_exit): New function.
2N/A (grub_enter_rescue_mode): Register "exit".
2N/A
2N/A * kern/misc.c (grub_real_dprintf): A cosmetic change.
2N/A (grub_abort): New function.
2N/A
2N/A * kern/err.c (grub_fatal): Use grub_abort instead of grub_stop.
2N/A
2N/A * include/grub/sparc64/ieee1275/kernel.h (abort): Removed.
2N/A
2N/A * include/grub/powerpc/ieee1275/kernel.h (abort): Removed.
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_exit): Removed.
2N/A (grub_print_device_path): New prototype.
2N/A (grub_efi_locate_handle): Likewise.
2N/A (grub_efi_open_protocol): Likewise.
2N/A
2N/A * include/grub/efi/disk.h (grub_efidisk_fini): New file.
2N/A * disk/efi/efidisk.c: Likewise.
2N/A
2N/A * DISTLIST: Added disk/efi/efidisk.c and include/grub/efi/disk.h.
2N/A
2N/A * include/grub/efi/console_control.h
2N/A (GRUB_EFI_CONSOLE_CONTROL_GUID): Use an array for the last 8 bytes.
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): Specify the
2N/A last 8 bytes as an array.
2N/A (GRUB_EFI_DISK_IO_GUID): New macro.
2N/A (GRUB_EFI_BLOCK_IO_GUID): Likewise.
2N/A (GRUB_EFI_DEVICE_PATH_GUID): Likewise.
2N/A (grub_efi_ipv6_address_t): Change the type to grub_uint16_t from
2N/A grub_uint8_t.
2N/A (struct grub_efi_guid): Use an array to specify the last 8 bytes.
2N/A (struct grub_efi_device_path): Rename the member "sub_type" to
2N/A "subtype".
2N/A (GRUB_EFI_DEVICE_PATH_TYPE): New macro.
2N/A (GRUB_EFI_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (GRUB_EFI_DEVICE_PATH_LENGTH): Likewise.
2N/A (GRUB_EFI_END_DEVICE_PATH_TYPE): Likewise.
2N/A (GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (GRUB_EFI_END_THIS_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (GRUB_EFI_END_ENTIRE_DEVICE_PATH): Likewise.
2N/A (GRUB_EFI_NEXT_DEVICE_PATH): Likewise.
2N/A (GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE): Likewise.
2N/A (GRUB_EFI_PCI_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (struct grub_efi_pci_device_path): New structure.
2N/A (grub_efi_pci_device_path_t): New type.
2N/A (GRUB_EFI_PCCARD_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_pccard_device_path): New structure.
2N/A (grub_efi_pccard_device_path_t): New type.
2N/A (GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_memory_mapped_device_path): New structure.
2N/A (grub_efi_memory_mapped_device_path_t): New type.
2N/A (GRUB_EFI_VENDOR_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_vendor_device_path): New structure.
2N/A (grub_efi_vendor_device_path_t): New type.
2N/A (GRUB_EFI_CONTROLLER_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_controller_device_path): New structure.
2N/A (grub_efi_controller_device_path_t): New type.
2N/A (GRUB_EFI_ACPI_DEVICE_PATH_TYPE): New macro.
2N/A (GRUB_EFI_ACPI_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (struct grub_efi_acpi_device_path): New structure.
2N/A (grub_efi_acpi_device_path_t): New type.
2N/A (GRUB_EFI_EXPANDED_ACPI_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_expanded_acpi_device_path): New structure.
2N/A (grub_efi_expanded_acpi_device_path_t): New type.
2N/A (GRUB_EFI_EXPANDED_ACPI_HIDSTR): New macro.
2N/A (GRUB_EFI_EXPANDED_ACPI_UIDSTR): Likewise.
2N/A (GRUB_EFI_EXPANDED_ACPI_CIDSTR): Likewise.
2N/A (GRUB_EFI_MESSAGING_DEVICE_PATH_TYPE): Likewise.
2N/A (GRUB_EFI_ATAPI_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (struct grub_efi_atapi_device_path): New structure.
2N/A (grub_efi_atapi_device_path_t): New type.
2N/A (GRUB_EFI_FIBRE_CHANNEL_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_fibre_channel_device_path): New structure.
2N/A (grub_efi_fibre_channel_device_path_t): New type.
2N/A (GRUB_EFI_1394_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_1394_device_path): New structure.
2N/A (grub_efi_1394_device_path_t): New type.
2N/A (GRUB_EFI_USB_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_usb_device_path): New structure.
2N/A (grub_efi_usb_device_path_t): New type.
2N/A (GRUB_EFI_USB_CLASS_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_usb_class_device_path): New structure.
2N/A (grub_efi_usb_class_device_path_t): New type.
2N/A (GRUB_EFI_I2O_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_i2o_device_path): New structure.
2N/A (grub_efi_i2o_device_path_t): New type.
2N/A (GRUB_EFI_MAC_ADDRESS_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_mac_address_device_path): New structure.
2N/A (grub_efi_mac_address_device_path_t): New type.
2N/A (GRUB_EFI_IPV4_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_ipv4_device_path): New structure.
2N/A (grub_efi_ipv4_device_path_t): New type.
2N/A (GRUB_EFI_IPV6_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_ipv6_device_path): New structure.
2N/A (grub_efi_ipv6_device_path_t): New type.
2N/A (GRUB_EFI_INFINIBAND_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_infiniband_device_path): New structure.
2N/A (grub_efi_infiniband_device_path_t): New type.
2N/A (GRUB_EFI_UART_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_uart_device_path): New structure.
2N/A (grub_efi_uart_device_path_t): New type.
2N/A (GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_vendor_messaging_device_path): New structure.
2N/A (grub_efi_vendor_messaging_device_path_t): New type.
2N/A (GRUB_EFI_MEDIA_DEVICE_PATH_TYPE): New macro.
2N/A (GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (struct grub_efi_hard_drive_device_path): New structure.
2N/A (grub_efi_hard_drive_device_path_t): New type.
2N/A (GRUB_EFI_CDROM_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_cdrom_device_path): New structure.
2N/A (grub_efi_cdrom_device_path_t): New type.
2N/A (GRUB_EFI_VENDOR_MEDIA_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_vendor_media_device_path): New structure.
2N/A (grub_efi_vendor_media_device_path_t): New type.
2N/A (GRUB_EFI_FILE_PATH_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_file_path_device_path): New structure.
2N/A (grub_efi_file_path_device_path_t): New type.
2N/A (GRUB_EFI_PROTOCOL_DEVICE_PATH_SUBTYPE): New macro.
2N/A (struct grub_efi_protocol_device_path): New structure.
2N/A (grub_efi_protocol_device_path_t): New type.
2N/A (GRUB_EFI_BIOS_DEVICE_PATH_TYPE): New macro.
2N/A (GRUB_EFI_BIOS_DEVICE_PATH_SUBTYPE): Likewise.
2N/A (struct grub_efi_bios_device_path): New structure.
2N/A (grub_efi_bios_device_path_t): New type.
2N/A (struct grub_efi_disk_io): New structure.
2N/A (grub_efi_disk_io_t): New type.
2N/A (struct grub_efi_block_io_media): New structure.
2N/A (grub_efi_block_io_media_t): New type.
2N/A (struct grub_efi_block_io): New structure.
2N/A (grub_efi_block_io_t): New type.
2N/A
2N/A * include/grub/misc.h (grub_stop): Removed.
2N/A (grub_exit): New prototype.
2N/A (grub_abort): Likewise.
2N/A
2N/A * include/grub/disk.h (enum grub_disk_dev_id): Added
2N/A GRUB_DISK_DEVICE_EFIDISK_ID.
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_SOURCES): Added
2N/A disk/efi/efidisk.c.
2N/A (kernel_syms.lst): Remove the target if an error occurs.
2N/A
2N/A2006-04-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/misc.c (grub_lltoa): Rewritten the decimal conversion part,
2N/A as it was simply too buggy.
2N/A
2N/A2006-04-21 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/misc.c (grub_lltoa): New function.
2N/A (grub_vsprintf): Added support for the long long suffix,
2N/A i.e. "ll".
2N/A
2N/A2006-04-20 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * Makefile.in (LDFLAGS): Add variable.
2N/A (LD): Remove variable.
2N/A * configure.ac: Add -m32 to LDFLAGS.
2N/A * genmk.rb (PModule#rule): Use $(CC) instead of $(LD).
2N/A * conf/powerpc-ieee1275.rmk (COMMON_LDFLAGS): Add variable.
2N/A (grubof_LDFLAGS): Use $(COMMON_LDFLAGS).
2N/A (_linux_mod_LDFLAGS, linux_mod_LDFLAGS, normal_mod_LDFLAGS,
2N/A suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS): New
2N/A variables.
2N/A * conf/sparc64-ieee1275.rmk (COMMON_LDFLAGS): Add -nostdlib.
2N/A * conf/i386-pc.rmk (COMMON_LDFLAGS): Add -nostdlib.
2N/A * conf/i386-efi.rmk (COMMON_LDFLAGS): Add -nostdlib.
2N/A
2N/A2006-04-20 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * term/gfxterm.c (grub_gfxterm_getcharwidth): Fixed character
2N/A length for unknown glyph.
2N/A
2N/A2006-04-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Add support for pre-loaded modules into the EFI port.
2N/A
2N/A * util/i386/efi/grub-mkimage.c (make_mods_section): Rewritten
2N/A completely. Accept one more argument DIR. The caller has changed.
2N/A
2N/A * kern/i386/efi/init.c (grub_arch_modules_addr): Removed.
2N/A
2N/A * kern/efi/efi.c: Include grub/efi/pe32.h and grub/kernel.h.
2N/A (grub_efi_loaded_image_guid): New variable.
2N/A (grub_efi_get_loaded_image): New function.
2N/A (grub_arch_modules_addr): Likewise.
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_get_loaded_image): New
2N/A prototype.
2N/A
2N/A * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): New macro.
2N/A (struct grub_efi_loaded_image): New structure.
2N/A (grub_efi_loaded_image_t): New type.
2N/A
2N/A2006-04-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Compare the file
2N/A size with GRUB_OS_AREA_SIZE as grub_size_t instead of
2N/A grub_ssize_t. Reported by Jeff Chua <jeff84@silk.corp.fedex.com>.
2N/A
2N/A2006-04-19 Roger Leigh <rleigh@whinlatter.ukfsn.org>
2N/A
2N/A * DISTLIST: Added `util/powerpc/ieee1275/grub-install.in'.
2N/A
2N/A2006-04-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added include/grub/efi/console.h,
2N/A include/grub/efi/time.h, include/grub/i386/efi/kernel.h,
2N/A kern/efi/init.c, kern/efi/mm.c, and term/efi/console.c.
2N/A
2N/A * include/grub/efi/console.h: New file.
2N/A * include/grub/efi/time.h: Likewise.
2N/A * include/grub/i386/efi/kernel.h: Likewise.
2N/A * kern/efi/init.c: Likewise.
2N/A * kern/efi/mm.c: Likewise.
2N/A * term/efi/console.c: Likewise.
2N/A
2N/A * kern/i386/efi/init.c: Do not include grub/machine/time.h.
2N/A (grub_stop): Removed.
2N/A (grub_get_rtc): Likewise.
2N/A (grub_machine_init): Simply call grub_efi_init.
2N/A (grub_machine_fini): Call grub_efi_fini.
2N/A
2N/A * kern/efi/efi.c: Include grub/machine/time.h and grub/term.h.
2N/A (grub_efi_output_string): Removed.
2N/A (grub_efi_stall): New function.
2N/A (grub_stop): Likewise.
2N/A (grub_get_rtc): Likewise.
2N/A
2N/A * include/grub/efi/efi.h (grub_efi_output_string): Removed.
2N/A (grub_efi_stall): New prototype.
2N/A (grub_efi_allocate_pages): Likewise.
2N/A (grub_efi_free_pages): Likewise.
2N/A (grub_efi_get_memory_map): Likewise.
2N/A (grub_efi_mm_init): Likewise.
2N/A (grub_efi_mm_fini): Likewise.
2N/A (grub_efi_init): Likewise.
2N/A (grub_efi_fini): Likewise.
2N/A
2N/A * include/grub/i386/efi/time.h: Do not include
2N/A grub/symbol.h. Include grub/efi/time.h.
2N/A (GRUB_TICKS_PER_SECOND): Removed.
2N/A (grub_get_rtc): Likewise.
2N/A
2N/A * include/grub/efi/api.h (struct grub_efi_memory_descriptor):
2N/A Added padding. The EFI spec is buggy.
2N/A (GRUB_EFI_BLACK): New macro.
2N/A (GRUB_EFI_BLUE): Likewise.
2N/A (GRUB_EFI_GREEN): Likewise.
2N/A (GRUB_EFI_CYAN): Likewise.
2N/A (GRUB_EFI_RED): Likewise.
2N/A (GRUB_EFI_MAGENTA): Likewise.
2N/A (GRUB_EFI_BROWN): Likewise.
2N/A (GRUB_EFI_LIGHTGRAY): Likewise.
2N/A (GRUB_EFI_BRIGHT): Likewise.
2N/A (GRUB_EFI_DARKGRAY): Likewise.
2N/A (GRUB_EFI_LIGHTBLUE): Likewise.
2N/A (GRUB_EFI_LIGHTGREEN): Likewise.
2N/A (GRUB_EFI_LIGHTCYAN): Likewise.
2N/A (GRUB_EFI_LIGHTRED): Likewise.
2N/A (GRUB_EFI_LIGHTMAGENTA): Likewise.
2N/A (GRUB_EFI_YELLOW): Likewise.
2N/A (GRUB_EFI_WHITE): Likewise.
2N/A (GRUB_EFI_BACKGROUND_BLACK): Likewise.
2N/A (GRUB_EFI_BACKGROUND_BLUE): Likewise.
2N/A (GRUB_EFI_BACKGROUND_GREEN): Likewise.
2N/A (GRUB_EFI_BACKGROUND_CYAN): Likewise.
2N/A (GRUB_EFI_BACKGROUND_RED): Likewise.
2N/A (GRUB_EFI_BACKGROUND_MAGENTA): Likewise.
2N/A (GRUB_EFI_BACKGROUND_BROWN): Likewise.
2N/A (GRUB_EFI_BACKGROUND_LIGHTGRAY): Likewise.
2N/A (GRUB_EFI_TEXT_ATTR): Likewise.
2N/A
2N/A * conf/i386-efi.rmk (kernel_mod_SOURCES): Added kern/efi/efi.c,
2N/A kern/efi/init.c, kern/efi/mm.c, and term/efi/console.c.
2N/A (kernel_mod_HEADERS): Added efi/time.h.
2N/A
2N/A2006-04-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added conf/i386-efi.mk, conf/i386-efi.rmk,
2N/A include/grub/efi/api.h, include/grub/efi/console_control.h,
2N/A include/grub/efi/efi.h, include/grub/efi/pe32.h,
2N/A include/grub/i386/efi/time.h, kern/efi/efi.c,
2N/A kern/i386/efi/init.c, kern/i386/efi/startup.S,
2N/A and util/i386/efi/grub-mkimage.c.
2N/A
2N/A * Makefile.in (RMKFILES): Added i386-efi.rmk.
2N/A
2N/A * genmk.rb (PModule#rule): Do not export symbols if
2N/A #{prefix}_EXPORTS is set to "no".
2N/A
2N/A * conf/i386-efi.mk: New file.
2N/A * conf/i386-efi.rmk: Likewise.
2N/A * include/grub/efi/api.h: Likewise.
2N/A * include/grub/efi/console_control.h: Likewise.
2N/A * include/grub/efi/efi.h: Likewise.
2N/A * include/grub/efi/pe32.h: Likewise.
2N/A * include/grub/i386/efi/time.h: Likewise.
2N/A * kern/efi/efi.c: Likewise.
2N/A * kern/i386/efi/init.c: Likewise.
2N/A * kern/i386/efi/startup.S: Likewise.
2N/A * util/i386/efi/grub-mkimage.c: Likewise.
2N/A
2N/A2006-04-17 Marco Gerards <marco@gnu.org>
2N/A
2N/A * include/grub/script.h: Include <grub/parser.h> and
2N/A "grub_script.tab.h".
2N/A (struct grub_lexer_param): New struct.
2N/A (struct grub_parser_param): Likewise.
2N/A (grub_script_create_arglist): Pass the state in an argument.
2N/A (grub_script_add_arglist): Likewise.
2N/A (grub_script_create_cmdline): Likewise.
2N/A (grub_script_create_cmdblock): Likewise.
2N/A (grub_script_create_cmdif): Likewise.
2N/A (grub_script_create_cmdmenu): Likewise.
2N/A (grub_script_add_cmd): Likewise.
2N/A (grub_script_arg_add): Likewise.
2N/A (grub_script_lexer_ref): Likewise.
2N/A (grub_script_lexer_deref): Likewise.
2N/A (grub_script_lexer_record_start): Likewise.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A (grub_script_mem_record): Likewise.
2N/A (grub_script_mem_record_stop): Likewise.
2N/A (grub_script_malloc): Likewise.
2N/A (grub_script_yylex): Likewise.
2N/A (grub_script_yyparse): Likewise.
2N/A (grub_script_yyerror): Likewise.
2N/A (grub_script_yylex): Likewise.
2N/A (grub_script_lexer_init): Return the state.
2N/A
2N/A * normal/lexer.c (grub_script_lexer_state): Removed variable.
2N/A (grub_script_lexer_done): Likewise.
2N/A (grub_script_lexer_getline): Likewise.
2N/A (grub_script_lexer_refs): Likewise.
2N/A (script): Likewise.
2N/A (newscript): Likewise.
2N/A (record): Likewise.
2N/A (recording): Likewise.
2N/A (recordpos): Likewise.
2N/A (recordlen): Likewise.
2N/A (grub_script_lexer_init): Return the state instead of setting
2N/A global variables.
2N/A (grub_script_lexer_ref): Use the newly added argument for state
2N/A instead of globals.
2N/A (grub_script_lexer_deref): Likewise.
2N/A (grub_script_lexer_record_start): Likewise.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A (recordchar): Likewise.
2N/A (nextchar): Likewise.
2N/A (grub_script_yylex2): Likewise.
2N/A (grub_script_yylex): Likewise.
2N/A (grub_script_yyerror): Likewise.
2N/A
2N/A * normal/parser.y (func_mem): Removed variable.
2N/A (menu_entry): Likewise.
2N/A (err): Likewise.
2N/A (%lex-param): New parser option.
2N/A (%parse-param): Likewise.
2N/A (script): Always return the AST.
2N/A (argument): Pass the state around.
2N/A (arguments): Likewise.
2N/A (grubcmd): Likewise.
2N/A (commands): Likewise.
2N/A (function): Likewise.
2N/A (menuentry): Likewise.
2N/A (if_statement): Likewise.
2N/A (if): Likewise.
2N/A
2N/A * normal/script.c (grub_script_memused): Removed variable.
2N/A (grub_script_parsed): Likewise.
2N/A (grub_script_malloc): Added a state argument. Use that instead of
2N/A global variables.
2N/A (grub_script_mem_record): Likewise.
2N/A (grub_script_mem_record_stop): Likewise.
2N/A (grub_script_arg_add): Likewise.
2N/A (grub_script_add_arglist): Likewise.
2N/A (grub_script_create_cmdline): Likewise.
2N/A (grub_script_create_cmdif): Likewise.
2N/A (grub_script_create_cmdmenu): Likewise.
2N/A (grub_script_add_cmd): Likewise.
2N/A (grub_script_parse): Setup the state before calling the parser.
2N/A
2N/A2006-04-16 Marco Gerards <marco@gnu.org>
2N/A
2N/A * normal/command.c (grub_command_init): Remove the title command.
2N/A
2N/A * normal/lexer.c (grub_script_yylex): Renamed from this...
2N/A (grub_script_yylex2): ... to this.
2N/A (grub_script_yylex): New function. Temporary
2N/A introduced to filter some tokens.
2N/A (grub_script_yyerror): Print a newline.
2N/A
2N/A * normal/main.c (read_config_file): Output information about the
2N/A lines that contain errors. Wait for a key after all lines have
2N/A been processed. Don't return an empty menu.
2N/A
2N/A * normal/parser.y (func_mem): Don't initialize.
2N/A (menu_entry): Likewise.
2N/A (err): New variable.
2N/A (script): Don't return anything when an error was encountered.
2N/A (ws, returns): Removed rules.
2N/A (argument): Disabled concatenated variable support.
2N/A (arguments): Remove explicit separators.
2N/A (grubcmd): Likewise.
2N/A (function): Likewise.
2N/A (menuentry): Likewise.
2N/A (if): Likewise.
2N/A (commands): Likewise. Add error handling.
2N/A
2N/A * normal/script.c (grub_script_create_cmdline): If
2N/A `grub_script_parsed' is 0, assume the parser encountered an error.
2N/A
2N/A2006-04-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac: Add support for EFI. Fix the typo
2N/A BUILD_LDDFLAGS. Restore the LDFLAGS after testing.
2N/A
2N/A2006-04-01 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * util/unifont2pff.rb: Removed unnecessary byte ordering. Now
2N/A foreign multibyte characters should be shown correctly.
2N/A
2N/A2006-04-01 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * normal/main.c (grub_normal_menu_addentry): Fixed menu size
2N/A calculation.
2N/A (read_config_file): Made it to close file before returning.
2N/A
2N/A2006-03-31 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * DISTLIST: Added include/grub/i386/pc/vbeblit.h,
2N/A include/grub/i386/pc/vbefill.h, video/i386/pc/vbeblit.c,
2N/A video/i386/pc/vbefill.c.
2N/A
2N/A * conf/i386-pc.rmk (vbe_mod_SOURCES): Added video/i386/pc/vbeblit.c,
2N/A video/i386/pc/vbefill.c.
2N/A
2N/A * include/grub/video.h (grub_video_blit_format): New enum.
2N/A (grub_video_mode_info): Added new member blit_format.
2N/A (grub_video_get_blit_format): New function prototype.
2N/A
2N/A * include/grub/i386/pc/vbe.h (grub_video_vbe_get_video_ptr): New
2N/A function prototype.
2N/A (grub_video_vbe_map_rgb): Likewise.
2N/A (grub_video_vbe_unmap_color): Likewise.
2N/A
2N/A * include/grub/i386/pc/vbeblit.h: New file.
2N/A
2N/A * include/grub/i386/pc/vbefill.h: New file.
2N/A
2N/A * video/video.c (grub_video_get_blit_format): New function.
2N/A (grub_video_vbe_get_video_ptr): Re-declared as non-static.
2N/A (grub_video_vbe_map_rgb): Likewise.
2N/A (grub_video_vbe_unmap_color): Likewise.
2N/A
2N/A * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Changed to use more
2N/A optimized fills.
2N/A (grub_video_vbe_blit_render_target): Changed to use more optimized
2N/A blits.
2N/A (grub_video_vbe_setup): Added detection for optimized settings.
2N/A (grub_video_vbe_create_render_target): Likewise.
2N/A
2N/A * video/i386/pc/vbeblit.c: New file.
2N/A
2N/A * video/i386/pc/vbefill.c: New file.
2N/A
2N/A2006-03-30 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * font/manager.c (grub_font_get_glyph): Removed font fixup from
2N/A here...
2N/A
2N/A * util/unifont2pff.rb: ... and moved it to here. Improved argument
2N/A parsing to support both hex and dec ranges. If filename was missing
2N/A show usage information.
2N/A
2N/A2006-03-14 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * DISTLIST: Added include/grub/video.h, term/gfxterm.c,
2N/A video/video.c, commands/videotest.c. Removed term/i386/pc/vesafb.c.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added video.mod,
2N/A gfxterm.mod, videotest.mod. Removed vga.mod, vesafb.mod.
2N/A (video_mod_SOURCES): Added.
2N/A (video_mod_CFLAGS): Likewise.
2N/A (video_mod_LDFLAGS): Likewise.
2N/A (gfxterm_mod_SOURCES): Likewise.
2N/A (gfxterm_mod_CFLAGS): Likewise.
2N/A (gfxterm_mod_LDFLAGS): Likewise.
2N/A (videotest_mod_SOURCES): Likewise.
2N/A (videotest_mod_CFLAGS): Likewise.
2N/A (videotest_mod_LDFLAGS): Likewise.
2N/A (vesafb_mod_SOURCES): Removed.
2N/A (vesafb_mod_CFLAGS): Likewise.
2N/A (vesafb_mod_LDFLAGS): Likewise.
2N/A (vga_mod_SOURCES): Likewise.
2N/A (vga_mod_CFLAGS): Likewise.
2N/A (vga_mod_LDFLAGS): Likewise.
2N/A
2N/A * commands/videotest.c: New file.
2N/A
2N/A * font/manager.c (fill_with_default_glyph): Modified to use
2N/A grub_font_glyph.
2N/A (grub_font_get_glyph): Likewise.
2N/A (fontmanager): Renamed from this...
2N/A (font_manager): ... to this.
2N/A
2N/A * include/grub/font.h (grub_font_glyph): Added new structure.
2N/A (grub_font_get_glyph): Modified to use grub_font_glyph.
2N/A
2N/A * include/grub/misc.h (grub_abs): Added as inline function.
2N/A
2N/A * include/grub/video.h: New file.
2N/A
2N/A * include/grub/i386/pc/vbe.h (GRUB_VBE_STATUS_OK): New macro.
2N/A (GRUB_VBE_MEMORY_MODEL_PACKED_PIXEL): Likewise.
2N/A (GRUB_VBE_MEMORY_MODEL_DIRECT_COLOR): Likewise.
2N/A (grub_vbe_get_controller_info): Renamed from this...
2N/A (grub_vbe_bios_get_controller_info): ... to this.
2N/A (grub_vbe_get_mode_info): Renamed from this...
2N/A (grub_vbe_bios_get_mode_info): ... to this.
2N/A (grub_vbe_set_mode): Renamed from this...
2N/A (grub_vbe_bios_set_mode): ... to this.
2N/A (grub_vbe_get_mode): Renamed from this...
2N/A (grub_vbe_bios_get_mode): ... to this.
2N/A (grub_vbe_set_memory_window): Renamed from this...
2N/A (grub_vbe_bios_set_memory_window): ... to this.
2N/A (grub_vbe_get_memory_window): Renamed from this...
2N/A (grub_vbe_bios_get_memory_window): ... to this.
2N/A (grub_vbe_set_scanline_length): Renamed from this...
2N/A (grub_vbe_set_scanline_length): ... to this.
2N/A (grub_vbe_get_scanline_length): Renamed from this...
2N/A (grub_vbe_bios_get_scanline_length): ... to this.
2N/A (grub_vbe_set_display_start): Renamed from this...
2N/A (grub_vbe_bios_set_display_start): ... to this.
2N/A (grub_vbe_get_display_start): Renamed from this...
2N/A (grub_vbe_bios_get_display_start): ... to this.
2N/A (grub_vbe_set_palette_data): Renamed from this...
2N/A (grub_vbe_bios_set_palette_data): ... to this.
2N/A (grub_vbe_set_pixel_rgb): Removed.
2N/A (grub_vbe_set_pixel_index): Likewise.
2N/A
2N/A * kern/i386/pc/startup.S (grub_vbe_get_controller_info): Renamed
2N/A from this...
2N/A (grub_vbe_bios_get_controller_info): ... to this.
2N/A (grub_vbe_get_mode_info): Renamed from this...
2N/A (grub_vbe_bios_get_mode_info): ... to this.
2N/A (grub_vbe_set_mode): Renamed from this...
2N/A (grub_vbe_bios_set_mode): ... to this.
2N/A (grub_vbe_get_mode): Renamed from this...
2N/A (grub_vbe_bios_get_mode): ... to this.
2N/A (grub_vbe_set_memory_window): Renamed from this...
2N/A (grub_vbe_bios_set_memory_window): ... to this.
2N/A (grub_vbe_get_memory_window): Renamed from this...
2N/A (grub_vbe_bios_get_memory_window): ... to this.
2N/A (grub_vbe_set_scanline_length): Renamed from this...
2N/A (grub_vbe_set_scanline_length): ... to this.
2N/A (grub_vbe_get_scanline_length): Renamed from this...
2N/A (grub_vbe_bios_get_scanline_length): ... to this.
2N/A (grub_vbe_set_display_start): Renamed from this...
2N/A (grub_vbe_bios_set_display_start): ... to this.
2N/A (grub_vbe_get_display_start): Renamed from this...
2N/A (grub_vbe_bios_get_display_start): ... to this.
2N/A (grub_vbe_set_palette_data): Renamed from this...
2N/A (grub_vbe_bios_set_palette_data): ... to this.
2N/A (grub_vbe_bios_get_controller_info): Fixed problem with registers
2N/A getting corrupted after calling it. Added more pushes and pops.
2N/A (grub_vbe_bios_set_mode): Likewise.
2N/A (grub_vbe_bios_get_mode): Likewise.
2N/A (grub_vbe_bios_get_memory_window): Likewise.
2N/A (grub_vbe_bios_set_scanline_length): Likewise.
2N/A (grub_vbe_bios_get_scanline_length): Likewise.
2N/A (grub_vbe_bios_get_display_start): Likewise.
2N/A (grub_vbe_bios_set_palette_data): Likewise.
2N/A
2N/A * normal/cmdline.c (cl_set_pos): Refresh the screen.
2N/A (cl_insert): Likewise.
2N/A (cl_delete): Likewise.
2N/A
2N/A * term/gfxterm.c: New file.
2N/A
2N/A * term/i386/pc/vesafb.c: Removed file.
2N/A
2N/A * video/video.c: New file.
2N/A
2N/A * video/i386/pc/vbe.c (real2pm): Added new function.
2N/A (grub_video_vbe_draw_pixel): Likewise.
2N/A (grub_video_vbe_get_video_ptr): Likewise.
2N/A (grub_video_vbe_get_pixel): Likewise
2N/A (grub_video_vbe_init): Likewise.
2N/A (grub_video_vbe_fini): Likewise.
2N/A (grub_video_vbe_setup): Likewise.
2N/A (grub_video_vbe_get_info): Likewise.
2N/A (grub_video_vbe_set_palette): Likewise.
2N/A (grub_video_vbe_get_palette): Likewise.
2N/A (grub_video_vbe_set_viewport): Likewise.
2N/A (grub_video_vbe_get_viewport): Likewise.
2N/A (grub_video_vbe_map_color): Likewise.
2N/A (grub_video_vbe_map_rgb): Likewise.
2N/A (grub_video_vbe_map_rgba): Likewise.
2N/A (grub_video_vbe_unmap_color): Likewise.
2N/A (grub_video_vbe_fill_rect): Likewise.
2N/A (grub_video_vbe_blit_glyph): Likewise.
2N/A (grub_video_vbe_blit_bitmap): Likewise.
2N/A (grub_video_vbe_blit_render_target): Likewise.
2N/A (grub_video_vbe_scroll): Likewise.
2N/A (grub_video_vbe_swap_buffers): Likewise.
2N/A (grub_video_vbe_create_render_target): Likewise.
2N/A (grub_video_vbe_delete_render_target): Likewise.
2N/A (grub_video_vbe_set_active_render_target): Likewise.
2N/A (grub_vbe_set_pixel_rgb): Remove function.
2N/A (grub_vbe_set_pixel_index): Likewise.
2N/A (index_color_mode): Remove static variable.
2N/A (active_mode): Likewise.
2N/A (framebuffer): Likewise.
2N/A (bytes_per_scan_line): Likewise.
2N/A (grub_video_vbe_adapter): Added new static variable.
2N/A (framebuffer): Likewise.
2N/A (render_target): Likewise.
2N/A (initial_mode): Likewise.
2N/A (mode_in_use): Likewise.
2N/A (mode_list): Likewise.
2N/A
2N/A2006-03-10 Marco Gerards <marco@gnu.org>
2N/A
2N/A * configure.ac (AC_INIT): Bumped to 1.93.
2N/A
2N/A * DISTLIST: Added `include/grub/hfs.h'.
2N/A
2N/A2006-02-01 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * boot/i386/pc/boot.S (general_error): Before looping, try INT
2N/A 18H, which might help the BIOS falling back to next boot media.
2N/A
2N/A2006-01-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-install.in: Escape a backslash. Reported by
2N/A Poe Chen <poe.poechen@gmail.com>.
2N/A
2N/A2006-01-17 Marco Gerards <marco@gnu.org>
2N/A
2N/A * include/grub/normal.h: Include <grub/script.h>.
2N/A (grub_command_list): Removed struct.
2N/A (grub_command_list_t): Removed type.
2N/A (grub_menu_entry): Remove members `num' and `command_list'. Add
2N/A members `commands' and `sourcecode'.
2N/A * include/grub/script.h: Add inclusion guards.
2N/A (grub_script_cmd_menuentry): New struct.
2N/A (grub_script_execute_menuentry): New prototype.
2N/A (grub_script_lexer_record_start): Likewise.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A * normal/execute.c (grub_script_execute_menuentry): New function.
2N/A * normal/lexer.c (record, recording, recordpos, recordlen): New
2N/A variables.
2N/A (grub_script_lexer_record_start): New function.
2N/A (grub_script_lexer_record_stop): Likewise.
2N/A (recordchar): Likewise.
2N/A (nextchar): Likewise.
2N/A (grub_script_yylex): Use `nextchar' to fetch new characters. Use
2N/A 2048 as the buffer size. Add the tokens `menuentry' and `@'.
2N/A * normal/main.c: Include <grub/parser.h> and <grub/script.h>
2N/A (current_menu): New variable.
2N/A (free_menu): Mainly rewritten.
2N/A (grub_normal_menu_addentry): New function.
2N/A (read_config_file): Rewritten.
2N/A * normal/menu.c (run_menu_entry): Mainly rewritten.
2N/A * normal/menu_entry.c (make_screen): Rewritten the code to insert
2N/A the menu entry.
2N/A (run): Mainly rewritten.
2N/A * normal/parser.y (menu_entry): New variable.
2N/A (GRUB_PARSER_TOKEN_MENUENTRY): New token.
2N/A (menuentry): New rule.
2N/A (command): Add `menuentry'.
2N/A (if_statement): Allow additional returns before `fi'.
2N/A * normal/script.c (grub_script_create_cmdmenu): New function.
2N/A
2N/A2006-01-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * INSTALL: GNU Bison is required.
2N/A * configure.ac: Rewritten the test to detect Bison.
2N/A * Makefile.in (YACC): New variable. Reported by Xun Sun
2N/A <xun.sun.cn@gmail.com>.
2N/A
2N/A2006-01-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * fs/hfsplus.c (grub_hfsplus_read_block): Convert the offset of
2N/A the HFS+ filesystem to filesystem blocks.
2N/A (grub_hfsplus_iterate_dir): Cast the `fileinfo' assignment so a
2N/A GCC warning is silenced.
2N/A
2N/A2006-01-03 Marco Gerards <marco@gnu.org>
2N/A
2N/A * partmap/apple.c (apple_partition_map_iterate): Convert the data
2N/A read from disk from big endian to host byte order.
2N/A
2N/A2006-01-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * fs/hfs.c: Include <grub/hfs.h>. Added reference to the official
2N/A documentation.
2N/A (GRUB_HFS_EMBED_HFSPLUS_SIG): New macro.
2N/A (grub_hfs_mount): Grammar fix in error. Make sure this is not an
2N/A embedded HFS+ filesystem.
2N/A (GRUB_HFS_MAGIC, grub_hfs_extent, grub_hfs_datarecord_t)
2N/A (grub_hfs_sblock): Move from here...
2N/A * include/grub/hfs.h: To here... New file.
2N/A * fs/hfsplus.c: Include <grub/hfs.h>. Added reference to the official
2N/A documentation.
2N/A (GRUB_HFSPLUS_MAGIC, GRUB_HFSPLUSX_MAGIC, GRUB_HFSPLUS_SBLOCK):
2N/A New macros.
2N/A (grub_hfsplus_volheader): Change type of member `magic' to
2N/A `grub_uint16_t'.
2N/A (grub_hfsplus_data): Add new member `embedded_offset'.
2N/A (grub_hfsplus_read_block): Add the HFS+ wrapper offset to the
2N/A returned block.
2N/A (grub_hfsplus_mount): Read the HFS+ wrapper if it exists.
2N/A Calculate the offset.
2N/A
2N/A2005-12-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_DRP_ADDR):
2N/A Removed.
2N/A (GRUB_BOOT_MACHINE_DRP_SIZE): Likewise.
2N/A
2N/A2005-12-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/env.c (grub_env_set): Check if ENV->VALUE instead of
2N/A ENV->NAME is NULL after allocating ENV->VALUE.
2N/A
2N/A2005-12-25 Marco Gerards <marco@gnu.org>
2N/A
2N/A * kern/env.c (grub_env_set): Rewritten the error handling code.
2N/A
2N/A2005-12-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * geninit.sh: Made more robust, and more portable.
2N/A
2N/A2005-12-25 Marco Gerards <marco@gnu.org>
2N/A
2N/A Add support for Apple HFS+ filesystems.
2N/A
2N/A * fs/hfsplus.c: New file.
2N/A
2N/A * DISTLIST: Added `fs/hfsplus.c'.
2N/A
2N/A * conf/common.rmk (pkgdata_MODULES): Add `hfsplus.mod'.
2N/A (hfsplus_mod_SOURCES): New variable.
2N/A (hfsplus_mod_CFLAGS): Likewise.
2N/A (hfsplus_mod_LDFLAGS): Likewise.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/hfsplus.c'.
2N/A (grub_setup_SOURCES): Likewise.
2N/A (grub_mkdevicemap_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_log2blksize): New function.
2N/A
2N/A * include/grub/fshelp.h (grub_fshelp_log2blksize): new prototype.
2N/A
2N/A2005-12-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added geninitheader.sh, geninit.sh, commands/test.c,
2N/A commands/i386/pc/play.c, conf/common.mk, conf/common.rmk,
2N/A include/grub/parser.h, include/grub/script.h, kern/parser.c,
2N/A kern/sparc64/cache.S, normal/execute.c, normal/function.c,
2N/A normal/lexer.c, normal/parser.y, normal/script.c, and
2N/A partmap/gpt.c.
2N/A Removed kern/sparc64/cache.c.
2N/A
2N/A * conf/common.rmk (DISTCLEANFILES): Added grub_script.tab.c,
2N/A grub_script.tab.h, grub_modules_init.lst, grub_modules_init.h,
2N/A grub_emu_init.c.
2N/A
2N/A * configure.ac (AC_INIT): Bumped to 1.92.
2N/A
2N/A2005-12-24 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * kern/err.c (grub_error_push): Added new function to support error
2N/A stacks.
2N/A (grub_error_pop): Likewise.
2N/A (grub_error_stack_items): New local variable to support error stacks.
2N/A (grub_error_stack_pos): Likewise.
2N/A (grub_error_stack_assert): Likewise.
2N/A (GRUB_ERROR_STACK_SIZE): Added new define to configure maximum error
2N/A stack depth.
2N/A (grub_print_error): Added support to print errors from error stack.
2N/A
2N/A * include/grub/err.h (grub_error_push): Added function prototype.
2N/A (grub_error_pop): Likewise.
2N/A
2N/A2005-12-09 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * configure.ac: Accept `powerpc64' as host_cpu.
2N/A (amd64): Rename to `biarch32'.
2N/A
2N/A * kern/powerpc/cache.S (grub_arch_sync_caches): Handle
2N/A non-cacheline-aligned addresses.
2N/A
2N/A * kern/dl.c (grub_dl_load_core): Add grub_dprintf messages.
2N/A (grub_dl_flush_cache): Likewise. Only call `grub_arch_sync_caches'
2N/A if `size' is non-zero.
2N/A
2N/A2005-12-03 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * conf/common.rmk (grub_modules_init.lst): Use `-printf "%P\n"'
2N/A and `cd' to make sure the filename is not prefixed with a
2N/A directory name.
2N/A (pkgdata_MODULES): Add `gpt.mod'.
2N/A (gpt_mod_SOURCES): New variable.
2N/A (gpt_mod_CFLAGS): Likewise.
2N/A (gpt_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `partmap/gpt.c'.
2N/A
2N/A * include/grub/pc_partition.h (GRUB_PC_PARTITION_TYPE_GPT_DISK):
2N/A New macro.
2N/A
2N/A * partmap/gpt.c: New file.
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Don't continue when a
2N/A GPT partition map is detected.
2N/A
2N/A2005-12-03 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * commands/i386/pc/play.c: New file.
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added play.mod.
2N/A (play_mod_SOURCES, play_mod_CFLAGS, play_mod_LDFLAGS): New
2N/A macros.
2N/A
2N/A2005-11-27 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * include/grub/dl.h (GRUB_MOD_INIT): Use `__attribute__
2N/A ((unused))' to silence gcc warning.
2N/A
2N/A2005-11-26 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * configure.ac: Correct `AC_PROG_YACC' test.
2N/A
2N/A2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in: Run the mount point
2N/A check before installing files.
2N/A
2N/A2005-11-22 Mike Small <smallm@panix.com>
2N/A
2N/A * util/powerpc/ieee1275/grub-install.in (grubdir): Fixed partition
2N/A number regex so multidigit numbers are recognized correctly.
2N/A
2N/A2005-11-22 Mike Small <smallm@panix.com>
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Add a
2N/A debugging message before attempting to claim memory.
2N/A (grub_rescue_cmd_initrd): Add a claim debugging message and try
2N/A multiple addresses in case of failure.
2N/A
2N/A2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/tparm.c (get_space): Remove empty `if' statement.
2N/A
2N/A * fs/ufs.c (grub_ufs_find_file): Remove `grub_le_to_cpu32'.
2N/A
2N/A * kern/parser.c (check_varstate): Rename `state' to 's'.
2N/A
2N/A2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * partmap/acorn.c: Change `unsigned' to `unsigned int'. Move all
2N/A variable definitions to the beginning of each function. Sort stack
2N/A variables by size.
2N/A (find): Rename to `acorn_partition_map_find'. Cast `grub_disk_read'
2N/A `buf' argument to `char *'.
2N/A
2N/A2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk: Include conf/common.mk.
2N/A (pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
2N/A minix.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
2N/A hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
2N/A help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
2N/A sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
2N/A configfile.mod, search.mod, gzio.mod and test.mod.
2N/A (symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
2N/A (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c)
2N/A (fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
2N/A (fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
2N/A (ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
2N/A (ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
2N/A (minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
2N/A (hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
2N/A (jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
2N/A (iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
2N/A (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
2N/A (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
2N/A (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
2N/A (hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
2N/A (boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
2N/A (terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
2N/A (ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
2N/A (cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
2N/A (help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
2N/A (font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
2N/A (terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
2N/A (amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
2N/A (apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Removed.
2N/A
2N/A * conf/common.mk (grub_modules_init.lst): Use `find' instead of
2N/A `grep --include'.
2N/A (pkgdata_MODULES): Add test.mod.
2N/A
2N/A2005-11-18 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
2N/A
2N/A * genmk.rb: Fixed list rules moved to Makefile.in. Recognise
2N/A appending to variables with "+=".
2N/A (PModule): Use full pathname to generate *.lst filenames.
2N/A
2N/A * Makefile.in: Fixed list rules moved from genmk.rb.
2N/A (.DELETE_ON_ERROR): New special target.
2N/A (RMKFILES): Add common.rmk and sparc64-ieee1275.rmk.
2N/A
2N/A * conf/i386-pc.rmk: Include conf/common.mk.
2N/A (pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
2N/A minix.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
2N/A hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
2N/A help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
2N/A sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
2N/A configfile.mod, search.mod, gzio.mod and test.mod.
2N/A (symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
2N/A (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c)
2N/A (fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
2N/A (fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
2N/A (ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
2N/A (ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
2N/A (minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
2N/A (hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
2N/A (jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
2N/A (iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
2N/A (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
2N/A (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
2N/A (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
2N/A (hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
2N/A (boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
2N/A (terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
2N/A (ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
2N/A (cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
2N/A (help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
2N/A (font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
2N/A (terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
2N/A (amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
2N/A (apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from
2N/A here...
2N/A * conf/common.rmk: ... to here. New file.
2N/A
2N/A * conf/common.mk: New file.
2N/A
2N/A2005-11-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_script.tab.h): Unified to ...
2N/A (grub_script.tab.c): ... here.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_script.tab.h): Unified to ...
2N/A (grub_script.tab.c): ... here.
2N/A
2N/A * conf/i386-pc.rmk (grub_script.tab.h): Unified to ...
2N/A (grub_script.tab.c): ... here.
2N/A
2N/A * normal/command.c (grub_command_find): Fixed a memory leak of
2N/A MODULE_NAME. Reported by Mike Small <smallm@panix.com>.
2N/A
2N/A2005-11-13 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
2N/A
2N/A * include/grub/symbol.h: (FUNCTION): Use double quotes instead of
2N/A "@" which marks the start of a comment on ARM.
2N/A (VARIABLE): Likewise.
2N/A
2N/A2005-11-13 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
2N/A
2N/A Add support for Linux/ADFS partition tables.
2N/A
2N/A * partmap/acorn.c: New file.
2N/A
2N/A * include/grub/acorn_filecore.h: Likewise.
2N/A
2N/A * DISTLIST: Added `partmap/acorn.c' and
2N/A `include/grub/acorn_filecore.h'.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `partmap/acorn.c'.
2N/A (pkgdata_MODULES): Add `acorn.mod'.
2N/A (acorn_mod_SOURCES): New variable.
2N/A (acorn_mod_CFLAGS): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `partmap/acorn.c'.
2N/A (pkgdata_MODULES): Add `acorn.mod'.
2N/A (acorn_mod_SOURCES): New variable.
2N/A (acorn_mod_CFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `partmap/acorn.c'.
2N/A (pkgdata_MODULES): Add `acorn.mod'.
2N/A (acorn_mod_SOURCES): New variable.
2N/A (acorn_mod_CFLAGS): Likewise.
2N/A (acorn_mod_LDFLAGS): Likewise.
2N/A
2N/A * include/types.h (grub_disk_addr_t): New typedef.
2N/A
2N/A2005-11-13 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * geninit.sh: New file.
2N/A
2N/A * geninitheader.sh: Likewise.
2N/A
2N/A * commands/boot.c (grub_boot_init, grub_boot_fini): Removed.
2N/A * commands/cat.c (grub_cat_init, grub_cat_fini): Likewise.
2N/A * commands/cmp.c (grub_cmp_init, grub_cmp_fini): Likewise.
2N/A * commands/configfile.c (grub_configfile_init)
2N/A (grub_configfile_fini): Likewise.
2N/A * commands/default.c (grub_default_init, grub_default_fini):
2N/A Likewise.
2N/A * commands/help.c (grub_help_init, grub_help_fini): Likewise.
2N/A * commands/ls.c (grub_ls_init, grub_ls_fini): Likewise.
2N/A * commands/search.c (grub_search_init, grub_search_fini): Likewise.
2N/A * commands/terminal.c (grub_terminal_init, grub_terminal_fini):
2N/A Likewise.
2N/A * commands/test.c (grub_test_init, grub_test_fini): Likewise.
2N/A * commands/timeout.c (grub_timeout_init, grub_timeout_fini):
2N/A Likewise.
2N/A * commands/i386/pc/halt.c (grub_halt_init, grub_halt_fini): Likewise.
2N/A * commands/ieee1275/halt.c (grub_halt_init, grub_halt_fini):
2N/A Likewise.
2N/A * commands/i386/pc/reboot.c (grub_reboot_init, grub_reboot_fini):
2N/A Likewise.
2N/A * commands/ieee1275/reboot.c (grub_reboot_init, grub_reboot_fini):
2N/A Likewise.
2N/A * disk/loopback.c (grub_loop_init, grub_loop_fini): Likewise.
2N/A * fs/affs.c (grub_affs_init, grub_affs_fini): Likewise.
2N/A * fs/ext2.c (grub_ext2_init, grub_ext2_fini): Likewise.
2N/A * fs/fat.c (grub_fat_init, grub_fat_fini): Likewise.
2N/A * fs/hfs.c (grub_hfs_init, grub_hfs_fini): Likewise.
2N/A * fs/iso9660.c (grub_iso9660_init, grub_iso9660_fini): Likewise.
2N/A * fs/jfs.c (grub_jfs_init, grub_jfs_fini): Likewise.
2N/A * fs/minix.c (grub_minix_init, grub_minix_fini): Likewise.
2N/A * fs/sfs.c (grub_sfs_init, grub_sfs_fini): Likewise.
2N/A * fs/ufs.c (grub_ufs_init, grub_ufs_fini): Likewise.
2N/A * fs/xfs.c (grub_xfs_init, grub_xfs_fini): Likewise.
2N/A * normal/main.c (grub_normal_init, grub_normal_fini): Likewise.
2N/A * partmap/amiga.c (grub_amiga_partition_map_init)
2N/A (grub_amiga_partition_map_fini): Likewise.
2N/A * partmap/apple.c (grub_apple_partition_map_init)
2N/A (grub_apple_partition_map_fini): Likewise.
2N/A * partmap/pc.c (grub_pc_partition_map_init)
2N/A (grub_pc_partition_map_fini): Likewise.
2N/A * partmap/sun.c (grub_sun_partition_map_init,
2N/A grub_sun_partition_map_fini): Likewise.
2N/A * term/terminfo.c (grub_terminal_init, grub_terminal_fini):
2N/A Likewise.
2N/A
2N/A * util/grub-emu.c: Include <grub_modules_init.h>.
2N/A (main): Don't initialize and de-initialize any modules directly,
2N/A use `grub_init_all' and `grub_fini_all' instead.
2N/A
2N/A * term/i386/pc/vesafb.c (grub_vesafb_init): Renamed to
2N/A `grub_vesafb_mod_init'.
2N/A (grub_vesafb_fini): Renamed to `grub_vesafb_mod_fini'. Updated
2N/A all users.
2N/A * term/i386/pc/vga.c (grub_vga_init): Renamed to
2N/A `grub_vga_mod_init'. Updated all users.
2N/A (grub_vga_fini): Renamed to `grub_vga_mod_fini'.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `grub_emu_init.c'.
2N/A (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c): New
2N/A rules.
2N/A
2N/A * include/grub/dl.h (GRUB_MOD_INIT): Add argument `name'.
2N/A Generate a function to initialize the module in utilities.
2N/A Updated all callers.
2N/A (GRUB_MOD_FINI): Add argument `name'. Generate a function to
2N/A initialize the module in utilities. Updated all callers.
2N/A
2N/A2005-11-09 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_cls): Use both the ANSI
2N/A escape sequence and a literal ^L to clear the screen.
2N/A
2N/A * commands/ieee1275/suspend.c (grub_cmd_suspend): Clear the screen
2N/A when returning from Open Firmware.
2N/A
2N/A2005-11-09 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_width): New variable.
2N/A (grub_ofconsole_height): Likewise.
2N/A (grub_ofconsole_putchar): If `grub_curr_x' exceeds console width,
2N/A manually insert a '\n'.
2N/A (grub_ofconsole_getwh): Set and return `grub_ofconsole_width' and
2N/A `grub_ofconsole_height'. Return early if these are already set.
2N/A
2N/A2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
2N/A `normal/execute.c', `normal/lexer.c', `io/gzio.c',
2N/A `kern/parser.c', `grub_script.tab.c', `normal/function.c'
2N/A and `normal/script.c'.
2N/A (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
2N/A `grub_script.tab.c', `normal/function.c' and `normal/script.c'.
2N/A (test_mod_SOURCES): New variable.
2N/A (test_mod_CFLAGS): Likewise.
2N/A (test_mod_LDFLAGS): Likewise.
2N/A (pkgdata_MODULES): Add `test.mod'.
2N/A (grub_script.tab.c): New rule.
2N/A (grub_script.tab.h): Likewise.
2N/A
2N/A2005-11-07 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `commands/test.c', `normal/execute.c', `normal/lexer.c',
2N/A `grub_script.tab.c', `normal/function.c' and `normal/script.c'.
2N/A (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
2N/A `grub_script.tab.c', `normal/function.c' and `normal/script.c'.
2N/A (test_mod_SOURCES): New variable.
2N/A (test_mod_CFLAGS): Likewise.
2N/A (pkgdata_MODULES): Add `test.mod'.
2N/A (grub_script.tab.c): New rule.
2N/A (grub_script.tab.h): Likewise.
2N/A
2N/A2005-11-06 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A Add initial scripting support.
2N/A
2N/A * commands/test.c: New file.
2N/A * include/grub/script.h: Likewise.
2N/A * normal/execute.c: Likewise.
2N/A * normal/function.c: Likewise.
2N/A * normal/lexer.c: Likewise.
2N/A * normal/parser.y: Likewise.
2N/A * normal/script.c: Likewise.
2N/A
2N/A * configure.ac: Add `AC_PROG_YACC' test.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/test.c',
2N/A `normal/execute.c', `normal/lexer.c', `grub_script.tab.c',
2N/A `normal/function.c' and `normal/script.c'.
2N/A (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
2N/A `grub_script.tab.c', `normal/function.c' and `normal/script.c'.
2N/A (test_mod_SOURCES, test_mod_CFLAGS, test_mod_LDFLAGS): New
2N/A variables.
2N/A (pkgdata_MODULES): Add `test.mod'.
2N/A (grub_script.tab.c): New rule.
2N/A (grub_script.tab.h): Likewise.
2N/A
2N/A * include/grub/err.h (grub_err_t): Add `GRUB_ERR_TEST_FAILURE'.
2N/A
2N/A * include/grub/normal.h (grub_test_init): New prototype.
2N/A (grub_test_fini): Likewise.
2N/A
2N/A * normal/command.c: Include <grub/script.h>.
2N/A (grub_command_execute): Rewritten.
2N/A
2N/A * util/grub-emu.c (main): Call `grub_test_init' and
2N/A `grub_test_fini'.
2N/A
2N/A2005-11-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_get_rtc): Initialize `msecs'
2N/A to 0.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_checkkey): Return -1 if
2N/A there are no pending characters.
2N/A
2N/A2005-11-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_get_devname): Use
2N/A `grub_strndup' to drop device arguments. Replace unnecessary
2N/A `grub_strndup' with `grub_strdup'.
2N/A
2N/A2005-11-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/term.c (grub_cls): Do not call grub_cur_term->cls() if the
2N/A `debug' environment variable has been set.
2N/A
2N/A2005-11-02 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * Makefile.in (install-local): Use $(DATA).
2N/A (uninstall): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Move grub-mkimage...
2N/A (sbin_UTILITIES): ... to here.
2N/A (sbin_SCRIPTS): New variable.
2N/A (grub_install_SOURCES): New variable.
2N/A * util/powerpc/ieee1275/grub-install.in: New file.
2N/A * util/powerpc/ieee1275/grub-mkimage.c (kernel_path): Remove
2N/A variable.
2N/A (add_segments): Call `grub_util_get_path'.
2N/A
2N/A2005-10-28 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A From Timothy Baldwin:
2N/A * commands/ls.c (grub_ls_list_files): Close FILE with
2N/A grub_file_close.
2N/A * kern/misc.c (grub_vsprintf): Terminate the string S with NUL.
2N/A
2N/A2005-10-24 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * include/grub/parser.h: New file.
2N/A
2N/A * kern/parser.c: Likewise.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/parser.c'.
2N/A (grub_setup_SOURCES): Likewise.
2N/A (grub_probefs_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (kernel_img_HEADERS): Add `parser.h'.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Add `parser.h'.
2N/A (grub_emu_SOURCES): Add `kern/parser.c'.
2N/A (grubof_SOURCES): Likewise.
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grubof_HEADERS): Add `parser.h'.
2N/A (grubof_SOURCES): Add `kern/parser.c'.
2N/A
2N/A * include/grub/misc.h (grub_split_cmdline): Removed prototype.
2N/A
2N/A * kern/misc.c (grub_split_cmdline): Removed function.
2N/A
2N/A * kern/rescue.c: Include <grub/parser.h>.
2N/A (grub_enter_rescue_mode): Use `grub_parser_split_cmdline' instead
2N/A of `grub_split_cmdline'.
2N/A
2N/A * normal/command.c: Include <grub/parser.h>.
2N/A (grub_command_execute): Use `grub_parser_split_cmdline' instead
2N/A of `grub_split_cmdline'.
2N/A
2N/A * normal/completion.c: Include <grub/parser.h>.
2N/A (cmdline_state): New variable.
2N/A (iterate_dir): End the filename with a quote depending on the
2N/A command line state.
2N/A (get_state): new function.
2N/A (grub_normal_do_completion): Use `grub_parser_split_cmdline' to
2N/A split the arguments and determine the current argument. When the
2N/A argument string is not quoted, escape all spaces.
2N/A
2N/A2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * normal/sparc64/setjmp.S: New file.
2N/A
2N/A2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * include/grub/sparc64/libgcc.h: New file.
2N/A * conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Remove -Av9.
2N/A (normal_mod_SOURCES): Use normal/sparc64/setjmp.S instead of
2N/A normal/sparc64/setjmp.c.
2N/A
2N/A2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
2N/A * kern/sparc64/cache.S: New file.
2N/A * kern/sparc64/cache.c: Removed.
2N/A * conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
2N/A (COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
2N/A -mtune=ultrasparc.
2N/A (COMMON_LDFLAGS): Add -melf64_sparc.
2N/A (grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
2N/A (grubof_SOURCES): Use cache.S instead of cache.c.
2N/A (grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
2N/A --oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
2N/A (pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
2N/A commented though.
2N/A (normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
2N/A (_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
2N/A (linux_mod_CFLAGS): Commented out.
2N/A (_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
2N/A out because module isn't built.
2N/A (fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
2N/A (ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
2N/A (jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
2N/A (hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
2N/A (ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
2N/A (font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
2N/A (pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
2N/A (suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
2N/A (help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
2N/A (configfile_mod_LDFLAGS, search_mod_LDFLAGS, xfs_mod_SOURCES)
2N/A (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
2N/A (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
2N/A (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, gzio_mod_SOURCES)
2N/A (gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2N/A
2N/A2005-10-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-probefs.c (main): Call grub_xfs_init and
2N/A grub_xfs_fini. Do not call grub_hfs_init or grub_hfs_fini any
2N/A longer, because HFS should not be used on PC.
2N/A
2N/A2005-10-20 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
2N/A
2N/A * io/gzio.c (grub_gzio_read): Use OFFSET instead of FILE->OFFSET
2N/A consistently within the loop.
2N/A
2N/A2005-10-15 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * fs/xfs.c (grub_xfs_iterate_dir): Detect an error if part of a
2N/A directory can not be read.
2N/A
2N/A2005-10-15 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac (AC_INIT): Increase the version number to 1.91.
2N/A
2N/A * DISTLIST: Added include/grub/terminfo.h, include/grub/tparm.h,
2N/A include/grub/i386/pc/serial.h, term/terminfo.c, term/tparm.c and
2N/A term/i386/pc/serial.c.
2N/A
2N/A2005-10-15 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/file.c (grub_file_seek): Seeking to an offset equal to a
2N/A file size must be permitted.
2N/A
2N/A * kern/i386/pc/startup.S (multiboot_trampoline): Fix a mistake
2N/A between %ah and %al.
2N/A
2N/A2005-10-15 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/xfs.c (grub_xfs_iterate_dir): Change the type of BLK to
2N/A grub_uint64_t.
2N/A Call the hook with a NUL-terminated filename.
2N/A (grub_xfs_mount): Use grub_be_to_cpu32 instead of
2N/A grub_cpu_to_be32.
2N/A
2N/A * kern/term.c (cursor_state): New variable.
2N/A (grub_term_set_current): Reset the cursor state on a new
2N/A terminal.
2N/A (grub_setcursor): Rewritten to use CURSOR_STATE.
2N/A (grub_getcursor): New function.
2N/A
2N/A * include/grub/term.h (grub_getcursor): New prototype.
2N/A
2N/A * io/gzio.c (test_header): Align BUF for accessing it as 32-bit
2N/A integers on ARM. Reported by Timothy Baldwin
2N/A <T.E.Baldwin99@members.leeds.ac.uk>.
2N/A
2N/A2005-10-11 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * fs/sfs.c (grub_sfs_open): Don't free `data->label' if it is not
2N/A allocated.
2N/A (grub_sfs_dir): Likewise.
2N/A
2N/A2005-10-09 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A Add support for the SFS filesystem.
2N/A
2N/A * fs/sfs.c: New file.
2N/A
2N/A * DISTLIST: Added `fs/sfs.c'.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/sfs.c'.
2N/A (grub_probefs_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add `sfs.mod'.
2N/A (sfs_mod_SOURCES): New variable.
2N/A (sfs_mod_CFLAGS): Likewise.
2N/A (sfs_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/sfs.c'.
2N/A (pkgdata_MODULES): Add `sfs.mod'.
2N/A (sfs_mod_SOURCES): New variable.
2N/A (sfs_mod_CFLAGS): Likewise.
2N/A
2N/A * util/grub-emu.c (main): Call `grub_sfs_init' and
2N/A `grub_sfs_fini'.
2N/A
2N/A * include/grub/fs.h (grub_sfs_init): New prototype.
2N/A (grub_sfs_fini): Likewise.
2N/A
2N/A2005-10-07 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A Add support for the AFFS filesystem.
2N/A
2N/A * fs/affs.c: New file.
2N/A
2N/A * DISTLIST: Added `fs/affs.c'.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/affs.c'.
2N/A (grub_probefs_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add `affs.mod'.
2N/A (affs_mod_SOURCES): New variable.
2N/A (affs_mod_CFLAGS): Likewise.
2N/A (affs_mod_LDFLAGS): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/affs.c'.
2N/A (pkgdata_MODULES): Add `affs.mod'.
2N/A (affs_mod_SOURCES): New variable.
2N/A (affs_mod_CFLAGS): Likewise.
2N/A
2N/A * util/grub-emu.c (main): Call `grub_affs_init' and
2N/A `grub_affs_fini'.
2N/A
2N/A * include/grub/fs.h (grub_affs_init): New prototype.
2N/A (grub_affs_fini): Likewise.
2N/A
2N/A2005-10-01 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses.
2N/A
2N/A2005-10-01 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A * configure.ac: Accept `x86_64' as host_cpu. In that case add
2N/A `-m32' to CFLAGS.
2N/A
2N/A * genmk.rb (class PModule): Always use `$(#{prefix}_LDFLAGS)' when
2N/A linking.
2N/A
2N/A * conf/i386-pc.rmk (COMMON_CFLAGS): Add `-m32'.
2N/A (COMMON_LDFLAGS): New variable.
2N/A (kernel_img_LDFLAGS): Include `COMMON_FLAGS'.
2N/A (_chain_mod_LDFLAGS, fshelp_mod_LDFLAGS, fat_mod_LDFLAGS)
2N/A (ext2_mod_LDFLAGS, ufs_mod_LDFLAGS, minix_mod_LDFLAGS)
2N/A (hfs_mod_LDFLAGS, jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS)
2N/A (xfs_mod_LDFLAGS, _linux_mod_LDFLAGS, linux_mod_LDFLAGS)
2N/A (normal_mod_LDFLAGS, hello_mod_LDFLAGS, boot_mod_LDFLAGS)
2N/A (terminal_mod_LDFLAGS, ls_mod_LDFLAGS, cmp_mod_LDFLAGS)
2N/A (cat_mod_LDFLAGS, help_mod_LDFLAGS, reboot_mod_LDFLAGS)
2N/A (halt_mod_LDFLAGS, vga_mod_LDFLAGS, font_mod_LDFLAGS)
2N/A (terminfo_mod_LDFLAGS, serial_mod_LDFLAGS, _multiboot_mod_LDFLAGS)
2N/A (multiboot_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
2N/A (pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
2N/A (default_mod_LDFLAGS, timeout_mod_LDFLAGS, configfile_mod_LDFLAGS)
2N/A (vbe_mod_LDFLAGS, vesafb_mod_LDFLAGS, vbeinfo_mod_LDFLAGS)
2N/A (vbetest_mod_LDFLAGS, search_mod_LDFLAGS, gzio_mod_LDFLAGS): New
2N/A variables.
2N/A (normal_mod_ASFLAGS): Add `-m32'.
2N/A
2N/A * include/grub/types.h (grub_host_addr_t, grub_host_off_t)
2N/A (grub_host_size_t, grub_host_ssize_t): New types.
2N/A (grub_addr_t, grub_off_t, grub_size_t, grub_ssize_t): Make type
2N/A dependent of `GRUB_CPU_SIZEOF_VOID_P' instead on
2N/A `GRUB_HOST_SIZEOF_VOID_P'.
2N/A
2N/A * include/grub/kernel.h (struct grub_module_header): Type of
2N/A member offset changed to `grub_host_off_t'. Type of member size
2N/A changed to `grub_host_size_t'.
2N/A (struct grub_module_info): Type of member offset changed to
2N/A `grub_host_off_t'. Type of member size changed to
2N/A `grub_host_size_t'.
2N/A
2N/A2005-09-29 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Make GRUB's kernel compliant to Multiboot Specification.
2N/A
2N/A * kern/i386/pc/startup.S (multiboot_header): New label.
2N/A (multiboot_entry): Likewise.
2N/A (multiboot_trampoline): Likewise.
2N/A
2N/A * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE):
2N/A Increased to 0x4A0.
2N/A
2N/A * fs/xfs.c (grub_xfs_iterate_dir): Fix a syntax error. You may not
2N/A put parentheses after a question mark.
2N/A [!GRUB_UTIL] (my_mod): New variable.
2N/A
2N/A * util/grub-emu.c (main): Call grub_xfs_init and grub_xfs_fini.
2N/A
2N/A2005-09-28 Marco Gerards <mgerards@xs4all.nl>
2N/A
2N/A Adds support for the XFS filesystem. Btrees are not supported
2N/A yet.
2N/A
2N/A * fs/xfs.c: New file.
2N/A
2N/A * DISTLIST: Added `fs/xfs.c'.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/xfs.c'.
2N/A (grub_probefs_SOURCES): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add `xfs.mod'.
2N/A (xfs_mod_SOURCES): New variable.
2N/A (xfs_mod_CFLAGS): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/xfs.c'.
2N/A (pkgdata_MODULES): Add `xfs.mod'.
2N/A (xfs_mod_SOURCES): New variable.
2N/A (xfs_mod_CFLAGS): Likewise.
2N/A
2N/A * util/grub-emu.c (main): Call `grub_xfs_init' and
2N/A `grub_xfs_fini'.
2N/A
2N/A * include/grub/fs.h (grub_xfs_init): New prototype.
2N/A (grub_xfs_fini): Likewise.
2N/A
2N/A
2N/A2005-09-18 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * video/i386/pc/vbe.c (grub_vbe_set_video_mode): In indexed
2N/A color modes, allow greater than 16 colors to be configured as
2N/A a default palette.
2N/A
2N/A2005-09-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/completion.c (complete_arguments): Add the qualifier
2N/A const into OPTIONS.
2N/A
2N/A From Omniflux <omniflux+lists@omniflux.com>:
2N/A * include/grub/terminfo.h: New file.
2N/A * include/grub/tparm.h: Likewise.
2N/A * include/grub/i386/pc/serial.h: Likewise.
2N/A * term/terminfo.c: Likewise.
2N/A * term/tparm.c: Likewise.
2N/A * term/i386/pc/serial.c: Likewise.
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added terminfo.mod and
2N/A serial.mod.
2N/A (terminfo_mod_SOURCES): New variable.
2N/A (terminfo_mod_CFLAGS): Likewise.
2N/A (serial_mod_SOURCES): Likewise.
2N/A (serial_mod_CFLAGS): Likewise.
2N/A
2N/A2005-08-31 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Replaced boot/powerpc/ieee1275/crt0.S and
2N/A boot/powerpc/ieee1275/cmain.c with kern/powerpc/ieee1275/crt0.S
2N/A and kern/powerpc/ieee1275/cmain.c, respectively.
2N/A
2N/A * boot/powerpc/ieee1275/crt0.S: Moved to ...
2N/A * kern/powerpc/ieee1275/crt0.S: ... here.
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c: Moved to ...
2N/A * kern/powerpc/ieee1275/cmain.c: ... here.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Use
2N/A kern/powerpc/ieee1275/crt0.S and kern/powerpc/ieee1275/cmain.c
2N/A instead of boot/powerpc/ieee1275/crt0.S and
2N/A boot/powerpc/ieee1275/cmain.c, respectively.
2N/A
2N/A * boot/i386/pc/boot.S (lba_mode): Do not store the total number of
2N/A sectors. It was not used anyway.
2N/A
2N/A2005-08-30 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): Fix
2N/A `unused parameter' warning.
2N/A
2N/A2005-08-30 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New
2N/A function.
2N/A (grub_ofconsole_term): Specify grub_ofconsole_getcharwidth as
2N/A getcharwidth.
2N/A
2N/A2005-08-28 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * include/grub/normal.h (enum grub_completion_type): Added
2N/A `GRUB_COMPLETION_TYPE_ARGUMENT'.
2N/A
2N/A * normal/cmdline.c (print_completion): Handle
2N/A the `GRUB_COMPLETION_TYPE_ARGUMENT' type.
2N/A * normal/menu_entry.c (store_completion): Likewise.
2N/A
2N/A * normal/completion.c (complete_arguments): New function.
2N/A (grub_normal_do_completion): Call `complete_arguments' when the
2N/A current words start with a dash.
2N/A
2N/A2005-08-27 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Fix typo (use
2N/A `gzio.mod' instead of `io.mod').
2N/A
2N/A2005-08-22 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * gendistlist.sh (EXTRA_DISTFILES): Added genfslist.sh.
2N/A (DISTDIRS): Added io and video.
2N/A Rewrite the search routine to make an output consistently.
2N/A
2N/A * DISTLIST: Added conf/sparc64-ieee1275.mk,
2N/A conf/sparc64-ieee1275.rmk, include/grub/gzio.h,
2N/A include/grub/ieee1275/ieee1275.h, include/grub/ieee1275/ofdisk.h,
2N/A io/gzio.c, kern/sparc64/cache.c, kern/sparc64/dl.c,
2N/A kern/sparc64/ieee1275/init.c, kern/sparc64/ieee1275/openfw.c and
2N/A util/powerpc/ieee1275/misc.c.
2N/A
2N/A * include/grub/gzio.h: New file.
2N/A * io/gzio.c: Likewise.
2N/A
2N/A * kern/file.c (grub_file_close): Call grub_device_close only if
2N/A FILE->DEVICE is not NULL.
2N/A
2N/A * include/grub/mm.h [!NULL] (NULL): New macro.
2N/A
2N/A * include/grub/err.h (GRUB_ERR_BAD_GZIP_DATA): New constant.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added io/gzip.c.
2N/A (pkgdata_MODULES): Added gzio.mod.
2N/A (gzio_mod_SOURCES): New variable.
2N/A (gzio_mod_CFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added io/gzip.c.
2N/A (pkgdata_MODULES): Added gzio.mod.
2N/A (gzio_mod_SOURCES): New variable.
2N/A (gzio_mod_CFLAGS): Likewise.
2N/A
2N/A * commands/cat.c: Include grub/gzio.h.
2N/A (grub_cmd_cat): Use grub_gzfile_open instead of
2N/A grub_file_open.
2N/A
2N/A * commands/cmp.c: Include grub/gzio.h.
2N/A (grub_cmd_cmp): Use grub_gzfile_open instead of
2N/A grub_file_open.
2N/A
2N/A * loader/i386/pc/multiboot.c: Include grub/gzio.h.
2N/A (grub_rescue_cmd_multiboot): Use grub_gzfile_open instead of
2N/A grub_file_open.
2N/A (grub_rescue_cmd_module): Likewise.
2N/A
2N/A2005-08-21 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * conf/sparc64-ieee1275.rmk (grubof_SOURCES): The first file must be
2N/A kern/sparc64/ieee1275/init.c because it contains _start.
2N/A * conf/sparc64-ieee1275.mk: Generated from conf/sparc64-ieee1275.rmk.
2N/A
2N/A2005-08-21 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * configure.ac: Add support for sparc64 host with ieee1275
2N/A firmware.
2N/A * configure: Generated from configure.ac.
2N/A * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Use grub_ssize_t
2N/A instead of int.
2N/A (grub_ofdisk_read): Likewise.
2N/A (grub_ofdisk_open): Use %p to print pointer values, and cast the
2N/A pointers as (void *) to remove a warning.
2N/A (grub_ofdisk_close): Likewise.
2N/A (grub_ofdisk_read): Likewise.
2N/A * kern/ieee1275/ieee1275.c (grub_ieee1275_exit): This never
2N/A returns, so make it return void to remove a warning.
2N/A * include/grub/ieee1275/ieee1275.h (grub_ieee1275_exit):
2N/A Corresponding prototype change.
2N/A * kern/mm.c (grub_mm_init_region): Use %p to print pointer
2N/A values, and cast the pointers as (void *) to remove a warning.
2N/A (grub_mm_dump): Likewise.
2N/A * conf/sparc64-ieee1275.mk: New file.
2N/A * conf/sparc64-ieee1275.rmk: Likewise.
2N/A * include/grub/sparc64/setjmp.h: Likewise.
2N/A * include/grub/sparc64/types.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/console.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/kernel.h: Likewise.
2N/A * include/grub/sparc64/ieee1275/time.h: Likewise.
2N/A * kern/sparc64/cache.c: Likewise.
2N/A * kern/sparc64/dl.c: Likewise.
2N/A * kern/sparc64/ieee1275/init.c: Likewise.
2N/A * kern/sparc64/ieee1275/openfw.c: Likewise.
2N/A
2N/A2005-08-21 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/console.c (grub_ncurses_putchar): If C is greater than
2N/A 0x7f, set C to a question mark.
2N/A (grub_ncurses_getcharwidth): New function.
2N/A (grub_ncurses_term): Specify grub_ncurses_getcharwidth as
2N/A getcharwidth.
2N/A
2N/A * normal/menu.c (print_entry): Made aware of Unicode. First,
2N/A convert TITLE to UCS-4, and predict the cursor position by
2N/A grub_getcharwidth.
2N/A
2N/A * include/grub/misc.h (grub_utf8_to_ucs4): Specify the qualifier
2N/A const to SRC.
2N/A * kern/misc.c (grub_utf16_to_utf8): Likewise.
2N/A
2N/A2005-08-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Specify
2N/A the boot file by the option BOOT_IMAGE. Use grub_stpcpy instead of
2N/A grub_strcat.
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Specify the boot
2N/A file by the option BOOT_IMAGE. Use grub_stpcpy instead of
2N/A grub_strcpy and grub_strlen. Take it into account that a space
2N/A character is inserted as a delimiter.
2N/A
2N/A2005-08-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * partmap/pc.c (pc_partition_map_iterate): Include the value of an
2N/A invalid magic in the error.
2N/A
2N/A * commands/search.c: New file.
2N/A
2N/A * util/grub-emu.c (main): Call grub_search_init and
2N/A grub_search_fini.
2N/A
2N/A * kern/rescue.c (grub_rescue_print_disks): Removed.
2N/A (grub_rescue_print_devices): New function.
2N/A (grub_rescue_cmd_ls): Use grub_device_iterate with
2N/A grub_rescue_print_devices instead of grub_disk_dev_iterate with
2N/A grub_rescue_print_disks.
2N/A
2N/A * kern/partition.c (grub_partition_iterate): Return the result of
2N/A PARTMAP->ITERATE instead of GRUB_ERRNO.
2N/A
2N/A * kern/device.c: Include grub/partition.h.
2N/A (grub_device_iterate): New function.
2N/A
2N/A * include/grub/partition.h (grub_partition_iterate): Return int
2N/A instead of grub_err_t.
2N/A
2N/A * include/grub/normal.h [GRUB_UTIL] (grub_search_init): New
2N/A prototype.
2N/A [GRUB_UTIL] (grub_search_fini): Likewise.
2N/A
2N/A * include/grub/device.h (grub_device_iterate): New prototype.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added
2N/A commands/search.c.
2N/A (pkgdata_MODULES): Added search.mod.
2N/A (search_mod_SOURCES): New variable.
2N/A (search_mod_CFLAGS): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/search.c.
2N/A (pkgdata_MODULES): Added search.mod.
2N/A (search_mod_SOURCES): New variable.
2N/A (search_mod_CFLAGS): Likewise.
2N/A
2N/A * commands/ls.c (grub_ls_list_disks): Renamed to ...
2N/A (grub_ls_list_devices): ... this, and use grub_device_iterate.
2N/A All callers changed.
2N/A
2N/A * DISTLIST: Added commands/search.c.
2N/A
2N/A2005-08-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/term.c (grub_putchar): Use grub_utf8_to_ucs4 for the
2N/A conversion.
2N/A (grub_getcharwidth): New function.
2N/A
2N/A * kern/misc.c (grub_utf8_to_ucs4): New function.
2N/A
2N/A * include/grub/term.h (struct grub_term): Added a new member
2N/A "getcharwidth".
2N/A (grub_getcharwidth): New prototype.
2N/A
2N/A * include/grub/misc.h (grub_utf8_to_ucs4): New prototype.
2N/A
2N/A * term/i386/pc/console.c (map_char): New function. Segregated from
2N/A grub_console_putchar.
2N/A (grub_console_putchar): Use map_char.
2N/A (grub_console_getcharwidth): New function.
2N/A (grub_console_term): Specified grub_console_getcharwidth as
2N/A getcharwidth.
2N/A
2N/A * term/i386/pc/vga.c (grub_vga_getcharwidth): New function.
2N/A (grub_vga_term): Specified grub_vga_getcharwidth as getcharwidth.
2N/A
2N/A * term/i386/pc/vesafb.c (grub_virtual_screen_setup): Return
2N/A GRUB_ERRNO.
2N/A (grub_vesafb_init): Do not use RC. Instead, use GRUB_ERRNO. Rely
2N/A on grub_strtoul completely.
2N/A (write_char): Declare local variables in the beginning of the
2N/A function.
2N/A (grub_vesafb_getcharwidth): New function.
2N/A (grub_vesafb_term): Specified grub_vesafb_getcharwidth as
2N/A getcharwidth.
2N/A
2N/A2005-08-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Replace commands/i386/pc/vbe_list_modes.c and
2N/A commands/i386/pc/vbe_test.c with commands/i386/pc/vbeinfo.c and
2N/A commands/i386/pc/vbetest.c.
2N/A
2N/A * video/i386/pc/vbe.c (grub_vbe_probe): If INFOBLOCK is not NULL,
2N/A call grub_vbe_get_controller_info again, because the returned
2N/A information is volatile.
2N/A (grub_vbe_set_video_mode): Mostly rewritten.
2N/A (grub_vbe_get_video_mode): Use grub_vbe_probe and use
2N/A grub_vbe_status_t correctly.
2N/A (grub_vbe_get_video_mode_info): Likewise.
2N/A (grub_vbe_set_pixel_rgb): Use a switch statement rather than
2N/A several if statements.
2N/A
2N/A * commands/i386/pc/vbe_list_modes.c: Renamed to ...
2N/A * commands/i386/pc/vbeinfo.c: ... this.
2N/A
2N/A * commands/i386/pc/vbe_test.c: Renamed to ...
2N/A * commands/i386/pc/vbetest.c: ... this.
2N/A
2N/A * commands/i386/pc/vbeinfo.c (grub_cmd_vbe_list_modes): Renamed to
2N/A ...
2N/A (grub_cmd_vbeinfo): ... this. Save video modes before
2N/A iterating. Skip a video mode, if it is not available, not enough
2N/A information is given or it is monochrome. Show the memory
2N/A model. Leave the interpretation of MODEVAR to grub_strtoul
2N/A completely.
2N/A (GRUB_MOD_INIT): Rename vbe_list_modes to vbeinfo.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A
2N/A * commands/i386/pc/vbetest.c (grub_cmd_vbe_test): Renamed to ...
2N/A (grub_cmd_vbetest): ... this. Don't print unnecessarily. Use
2N/A grub_err_t instead of grub_uint32_t. Don't use SPTR. Remove a
2N/A duplicated grub_env_get. Leave the interpretation of MODEVAR to
2N/A grub_strtoul completely.
2N/A (real2pm): Removed.
2N/A (GRUB_MOD_INIT): Rename vbe_test to vbetest.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A
2N/A * normal/misc.c: Include grub/mm.h.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Replaced vbe_test.mod and
2N/A vbe_list_modes with vbetest.mod and vbeinfo.mod.
2N/A (vbe_list_modes_mod_SOURCES): Removed.
2N/A (vbe_list_modes_mod_CFLAGS): Likewise.
2N/A (vbe_test_mod_SOURCES): Likewise.
2N/A (vbe_test_mod_CFLAGS): Likewise.
2N/A (vbeinfo_mod_SOURCES): New variable.
2N/A (vbeinfo_mod_CFLAGS): Likewise.
2N/A (vbetest_mod_SOURCES): Likewise.
2N/A (vbetest_mod_CFLAGS): Likewise.
2N/A
2N/A2005-08-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/misc.c: New file.
2N/A
2N/A * DISTLIST: Added normal/misc.c.
2N/A
2N/A * partmap/amiga.c (amiga_partition_map_iterate): Add an argument
2N/A DISK to HOOK. Call HOOK with DISK.
2N/A * partmap/apple.c (apple_partition_map_iterate): Likewise.
2N/A * partmap/pc.c (pc_partition_map_iterate): Likewise.
2N/A * partmap/sun.c (sun_partition_map_iterate): Likewise.
2N/A
2N/A * normal/menu_entry.c (struct screen): Added a new member
2N/A "completion_shown".
2N/A (completion_buffer): New global variable.
2N/A (make_screen): Set SCREEN->COMPLETION_SHOWN to zero.
2N/A (store_completion): New function.
2N/A (complete): Likewise.
2N/A (clear_completions): Likewise.
2N/A (grub_menu_entry_run): If SCREEN->COMPLETION_SHOWN is non-zero,
2N/A call clear_completions and reset SCREEN->COMPLETION_SHOWN. If C is
2N/A a tab, call complete.
2N/A
2N/A * normal/completion.c (disk_dev): Removed.
2N/A (print_simple_completion): Likewise.
2N/A (print_partition_completion): Likewise.
2N/A (print_func): New global variable.
2N/A (add_completion): Do not take the arguments WHAT or PRINT any
2N/A longer. Added a new argument TYPE. Instead of printing directly,
2N/A call PRINT_FUNC if not NULL.
2N/A All callers changed.
2N/A (complete_device): Use a local variable DEV instead of
2N/A DISK_DEV. Do not move CURRENT_WORD to the end of a device name.
2N/A (grub_normal_do_completion): Take a new argument HOOK. Do not
2N/A initialize DISK_DEV. Initialize PRINT_FUNC to HOOK. If RET is an
2N/A empty string, return NULL instead.
2N/A All callers changed.
2N/A
2N/A * normal/cmdline.c (print_completion): New function.
2N/A
2N/A * kern/partition.c (grub_partition_iterate): Add an argument DISK
2N/A to HOOK.
2N/A All callers changed.
2N/A
2N/A * kern/disk.c (grub_print_partinfo): Removed.
2N/A
2N/A * include/grub/partition.h (struct grub_partition_map): Add a new
2N/A argument DISK into HOOK of ITERATE.
2N/A (grub_partition_iterate): Add a new argument DISK to HOOK.
2N/A
2N/A * include/grub/normal.h (enum grub_completion_type): New enum.
2N/A (grub_completion_type_t): New type.
2N/A (GRUB_COMPLETION_TYPE_COMMAND): New constant.
2N/A (GRUB_COMPLETION_TYPE_DEVICE): Likewise.
2N/A (GRUB_COMPLETION_TYPE_PARTITION): Likewise.
2N/A (GRUB_COMPLETION_TYPE_FILE): Likewise.
2N/A (grub_normal_do_completion): Added a new argument HOOK.
2N/A (grub_normal_print_device_info): New prototype.
2N/A
2N/A * include/grub/disk.h (grub_print_partinfo): Removed.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added normal/misc.c.
2N/A (normal_mod_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * commands/ls.c (grub_ls_list_disks): Use
2N/A grub_normal_print_device_info instead of grub_print_partinfo. Free
2N/A PNAME.
2N/A (grub_ls_list_files): Use grub_normal_print_device_info instead of
2N/A duplicating the code.
2N/A
2N/A2005-08-16 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * commands/i386/pc/vbe_list_modes.c: Update source formatting to
2N/A follow GCS more precisely.
2N/A * commands/i386/pc/vbe_test.c: Likewise.
2N/A * include/grub/i386/pc/vbe.h: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A
2N/A2005-08-16 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * DISTLIST: Added term/i386/pc/vesafb.c
2N/A DISTLIST: Added video/i386/pc/vbe.c
2N/A DISTLIST: Added commands/i386/pc/vbe_list_modes.c.
2N/A DISTLIST: Added commands/i386/pc/vbe_test.c.
2N/A * commands/i386/pc/vbe_list_modes.c: New file.
2N/A * commands/i386/pc/vbe_test.c: Likewise.
2N/A * term/i386/pc/vesafb.c: Likewise.
2N/A * video/i386/pc/vbe.c: Likewise.
2N/A * include/grub/i386/pc/vbe.h (GRUB_VBE_DEFAULT_VIDEO_MODE): Added define.
2N/A (grub_vbe_probe) Added prototype.
2N/A (grub_vbe_set_video_mode) Likewise.
2N/A (grub_vbe_get_video_mode) Likewise.
2N/A (grub_vbe_get_video_mode_info) Likewise.
2N/A (grub_vbe_set_pixel_rgb) Likewise.
2N/A (grub_vbe_set_pixel_index) Likewise.
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added vbe.mod.
2N/A (pkgdata_MODULES): Added vesafb.mod.
2N/A (pkgdata_MODULES): Added vbe_list_modes.mod.
2N/A (pkgdata_MODULES): Added vbe_test.mod.
2N/A (vbe_mod_SOURCES): Added.
2N/A (vbe_mod_CFLAGS): Likewise.
2N/A (vesafb_mod_SOURCES): Likewise.
2N/A (vesafb_mod_CFLAGS): Likewise.
2N/A (vbe_list_modes_mod_SOURCES): Likewise.
2N/A (vbe_list_modes_mod_CFLAGS): Likewise.
2N/A (vbe_test_mod_SOURCES): Likewise.
2N/A (vbe_test_mod_CFLAGS): Likewise.
2N/A
2N/A2005-08-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/command.c (grub_command_execute): If INTERACTIVE is
2N/A false and GRUB_COMMAND_FLAG_NO_ECHO is not specified, print
2N/A CMDLINE. Disable the pager if INTERACTIVE is true.
2N/A All callers are changed.
2N/A
2N/A * normal/main.c (grub_normal_execute): Read command.lst and fs.lst
2N/A before reading a config file.
2N/A * normal/main.c (read_config_file): Even if a command is not
2N/A found, register it if it is within an entry.
2N/A
2N/A * util/grub-emu.c: Include sys/types.h and unistd.h.
2N/A (options): Added --hold.
2N/A (struct arguments): Added a new member "hold".
2N/A (parse_opt): If KEY is 'H', set ARGS->HOLD to ARG or -1 if ARG is
2N/A missing.
2N/A (main): Initialize ARGS.HOLD to zero. Wait until ARGS.HOLD is
2N/A cleared by a debugger, if it is not zero.
2N/A
2N/A * include/grub/normal.h (grub_command_execute): Add an argument
2N/A INTERACTIVE.
2N/A
2N/A2005-08-14 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * DISTLIST: Added include/grub/i386/pc/vbe.h.
2N/A
2N/A2005-08-13 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Replace the test
2N/A program with another one, because the old one didn't detect a bug
2N/A in gcc-3.4. Always use regparm 2, because the new test is still
2N/A not enough for gcc-4.0. Someone must investigate a simple test
2N/A case which detects a bug in gcc-4.0.
2N/A
2N/A2005-08-12 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added normal/completion.c.
2N/A
2N/A * normal/completion.c: New file.
2N/A
2N/A * term/i386/pc/console.c (grub_console_getwh): New function.
2N/A (grub_console_term): Assign grub_console_getwh to getwh.
2N/A
2N/A * normal/cmdline.c (grub_tab_complete): Removed. Now the same
2N/A function is defined in normal/completion.c as
2N/A grub_normal_do_completion.
2N/A (grub_cmdline_get): Use grub_normal_do_completion instead of
2N/A grub_tab_complete.
2N/A
2N/A * kern/partition.c (grub_partition_map_iterate): Return 1 if HOOK
2N/A returns non-zero, otherwise return 0.
2N/A (grub_partition_iterate): First, probe the partition map. Then,
2N/A call ITERATE only for this partition map.
2N/A
2N/A * kern/misc.c (grub_strncmp): Rewritten.
2N/A
2N/A * kern/disk.c (grub_disk_dev_iterate): Return 1 if P->ITERATE
2N/A returns non-zero. Otherwise return 0.
2N/A
2N/A * include/grub/partition.h (grub_partition_map_iterate): Return
2N/A int instead of void.
2N/A
2N/A * include/grub/normal.h (grub_normal_do_completion): New prototype.
2N/A
2N/A * include/grub/misc.h (grub_strncmp): Change the type of N to
2N/A grub_size_t.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_iterate): Return int instead
2N/A of void.
2N/A
2N/A * normal/menu.c (draw_border): Cast GRUB_TERM_BORDER_WIDTH to
2N/A unsigned explicitly before comparing it with I.
2N/A
2N/A * kern/main.c (grub_env_write_root): Add the attribute unused into
2N/A VAR.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added
2N/A normal/completion.c.
2N/A (normal_mod_SOURCES): Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A * normal/command.c (grub_iterate_commands): If ITERATE returns
2N/A non-zero, return one immediately.
2N/A
2N/A2005-08-09 Vesa Jaaskelainen <chaac@nic.fi>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vbe.h.
2N/A * kern/i386/pc/startup.S: Updated Global Descriptor table's
2N/A descriptions.
2N/A (grub_vbe_get_controller_info): New function.
2N/A (grub_vbe_get_mode_info): Likewise.
2N/A (grub_vbe_set_mode): Likewise.
2N/A (grub_vbe_get_mode): Likewise.
2N/A (grub_vbe_set_memory_window): Likewise.
2N/A (grub_vbe_get_memory_window): Likewise.
2N/A (grub_vbe_set_scanline_length): Likewise.
2N/A (grub_vbe_get_scanline_length): Likewise.
2N/A (grub_vbe_set_display_start): Likewise.
2N/A (grub_vbe_get_display_start): Likewise.
2N/A (grub_vbe_set_palette_data): Likewise.
2N/A * include/grub/i386/pc/vbe.h: New file.
2N/A
2N/A2005-08-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Replaced
2N/A kern/ieee1275/of.c with kern/ieee1275/ieee1275.c.
2N/A * DISTLIST: Likewise.
2N/A * kern/ieee1275/of.c: Moved to ...
2N/A * kern/ieee1275/ieee1275.c: ... here.
2N/A
2N/A2005-08-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/ieee1275/ofconsole.c: Include <grub/mm.h>.
2N/A (grub_ofconsole_getwh): Cast -1 to type grub_ieee1275_ihandle_t.
2N/A Pass 0 as `end' parameter to grub_strtoul().
2N/A
2N/A2005-08-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/powerpc/ieee1275/console.h: Do not include
2N/A <grub/types.h>. Do not include <grub/symbol.h>. Remove ASM_FILE
2N/A ifdef.
2N/A (grub_console_cur_color): Remove i386-specific prototype.
2N/A (grub_console_real_putchar): Likewise.
2N/A (grub_console_checkkey): Likewise.
2N/A (grub_console_getkey): Likewise.
2N/A (grub_console_getxy): Likewise.
2N/A (grub_console_gotoxy): Likewise.
2N/A (grub_console_cls): Likewise.
2N/A (grub_console_setcursor): Likewise.
2N/A * kern/powerpc/ieee1275/init.c: Don't include <grub/console.h>.
2N/A Include <grub/machine/console.h>.
2N/A * term/ieee1275/ofconsole.c: Likewise.
2N/A
2N/A2005-08-08 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * Makefile.in (LIBLZO): New variable.
2N/A
2N/A * configure.ac: Check for LZO version 2.
2N/A
2N/A * util/i386/pc/grub-mkimage.c [HAVE_LZO_LZO1X_H]: Include
2N/A lzo/lzo1x.h instead of lzo1x.h.
2N/A
2N/A * conf/i386-pc.rmk (grub_mkimage_LDFLAGS): Use $(LIBLZO) instead
2N/A of -llzo.
2N/A
2N/A * util/i386/pc/grub-setup.c (main): Do not free PREFIX
2N/A twice. Reported by Vladimir Serbinenko <phcoder@gmail.com>.
2N/A
2N/A * partmap/pc.c (pc_partition_map_probe): Restore P->DATA after
2N/A copying the data from PARTITION to P.
2N/A
2N/A2005-08-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/rescue.c (grub_rescue_cmd_rmmod): If the reference count is
2N/A negative, unload the module.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): The name of the PC partition
2N/A map is "pc_partition_map" but not "pc".
2N/A (usage): Fix the description. The options are --boot-image and
2N/A --core-image but not --boot-file or --core-file.
2N/A (main): If not specified explicitly, make BOOT_FILE and CORE_FILE
2N/A based on DEFAULT_BOOT_FILE and DEFAULT_CORE_FILE with DIR or
2N/A DEFAULT_DIRECTORY.
2N/A
2N/A * util/i386/pc/grub-install.in: Do not specify --boot-file or
2N/A --core-file. Specify INSTALL_DEVICE as an argument.
2N/A
2N/A * util/console.c: Include config.h.
2N/A [HAVE_NCURSeS_CURSES_H]: Include ncurses/curses.h.
2N/A [HAVE_NCURSES_H]: Include ncurses.h.
2N/A [HAVE_CURSES_H]: Include curses.h.
2N/A [!A_NORMAL] (A_NORMAL): Defined as zero.
2N/A [!A_STANDOUT] (A_STANDOUT): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_LDFLAGS): Use $(LIBCURSES) instead of
2N/A -lncurses.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_LDFLAGS): Likewise.
2N/A
2N/A * configure.ac: Check for curses libraries and headers.
2N/A
2N/A * Makefile.in (LIBCURSES): New variable.
2N/A
2N/A * genmk.rb (Script::rule): Set the executable bits.
2N/A
2N/A * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): The
2N/A name of the PC partition map is "pc_partition_map" but not "pc".
2N/A
2N/A2005-08-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-install.in (grub_probefs): New variable.
2N/A (modules): Likewise.
2N/A (usage): Added descriptions for --modules and --grub-probefs.
2N/A Handle --modules and --grub-probefs. Save the arguments in MODULES
2N/A and GRUB_PROBEFS, respectively.
2N/A Auto-detect a filesystem module against GRUBDIR. If the result is
2N/A empty and modules are not specified explicitly, abort the
2N/A installation. Add the result to MODULES.
2N/A
2N/A * DISTLIST: Removed boot/powerpc/ieee1275/ieee1275.c,
2N/A disk/powerpc/ieee1275/ofdisk.c,
2N/A include/grub/powerpc/ieee1275/init.h and
2N/A term/powerpc/ieee1275/ofconsole.c.
2N/A Added disk/ieee1275/ofdisk.c, kern/ieee1275/of.c and
2N/A term/ieee1275/ofconsole.c.
2N/A
2N/A * include/grub/powerpc/ieee1275/console.h: Resurrected.
2N/A
2N/A * COPYING: Upgraded to the latest version. Only the address of the
2N/A FSF office has changed.
2N/A
2N/A2005-08-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Replaced
2N/A kern/ieee1275.c with kern/ieee1275/of.c.
2N/A
2N/A * kern/ieee1275.c: Moved to ...
2N/A * kern/ieee1275/of.c: ... here.
2N/A
2N/A2005-08-06 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Reordered for
2N/A readability.
2N/A
2N/A * config.guess: Updated to the latest version from gnulib.
2N/A * config.sub: Likewise.
2N/A * install.sh: Likewise.
2N/A * mkinstalldirs: Likewise.
2N/A
2N/A * include/grub/console.h: Removed. This file is arch-specific. Do
2N/A not put this in include/grub.
2N/A
2N/A * include/grub/i386/pc/console.h: Resurrected.
2N/A
2N/A * util/console.c: Include grub/machine/console.h instead of
2N/A grub/console.h.
2N/A * util/grub-emu.c: Likewise.
2N/A
2N/A2005-08-04 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * kern/term.c (grub_putcode): Use `grub_getwh' instead of
2N/A hardcoded value.
2N/A
2N/A From Vincent Pelletier <subdino2004@yahoo.fr>
2N/A * include/grub/term.h (GRUB_TERM_WIDTH, GRUB_TERM_HEIGHT):
2N/A Redefined to use grub_getwh.
2N/A (grub_term): New member named getwh.
2N/A (grub_getwh): New prototype.
2N/A * kern/term.c (grub_getwh): New function.
2N/A * term/i386/pc/console.c (grub_console_getwh): New function.
2N/A (grub_console_term): New member `getwh'.
2N/A * term/i386/pc/vga.c (grub_vga_getwh): New function.
2N/A (grub_vga_term): New member `getwh'.
2N/A * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Use
2N/A grub_ssize_t.
2N/A (grub_ofconsole_getw): New function.
2N/A (grub_ofconsole_init): Use grub_ssize_t and unsigned char.
2N/A (grub_ofconsole_term): New field named getwh and new initial
2N/A value.
2N/A
2N/A2005-08-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/powerpc/ieee1275/ieee1275.h: Move ...
2N/A * include/grub/ieee1275/ieee1275.h: ... to here. All users updated.
2N/A Move `abort', `grub_reboot', and `grub_halt' prototypes ...
2N/A * include/grub/powerpc/ieee1275/kernel.h: ... to here.
2N/A * commands/ieee1275/halt.c: Include <grub/machine/kernel.h> instead
2N/A of <grub/machine/ieee1275.h>.
2N/A * commands/ieee1275/reboot.c: Likewise.
2N/A * boot/powerpc/ieee1275/ieee1275.c: Move ...
2N/A * kern/ieee1275.c: ... to here. All users updated. Change all
2N/A parameter structs to use new type `grub_ieee1275_cell_t'.
2N/A * term/powerpc/ieee1275/ofconsole.c: Move ...
2N/A * term/ieee1275/ofconsole.c: ... to here. All users updated.
2N/A * disk/powerpc/ieee1275/ofdisk.c: Move ...
2N/A * disk/ieee1275/ofdisk.c: ... to here. All users updated.
2N/A * boot/powerpc/ieee1275/cmain.c: Change `grub_ieee1275_entry_fn' type
2N/A to return int.
2N/A * include/grub/i386/pc/console.h: Move to include/grub/console.h.
2N/A Remove unused prototypes. All users updated.
2N/A * include/grub/powerpc/ieee1275/console.h: Removed.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h: Define
2N/A `grub_ieee1275_cell_t'.
2N/A * kern/powerpc/ieee1275/openfw.c: Include <grub/machine/kernel.h>.
2N/A Cast comparisons with -1 to the correct type.
2N/A * loader/powerpc/ieee1275/linux.c (kernel_entry_t): Change parameter
2N/A type to match `grub_ieee1275_entry_fn'.
2N/A
2N/A2005-08-01 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added util/i386/pc/grub-probefs.c.
2N/A
2N/A * conf/i386-pc.rmk (sbin_UTILITIES): Added grub-probefs.
2N/A (grub_setup_SOURCES): Removed partmap/amiga.c, partmap/apple.c and
2N/A partmap/sun.c.
2N/A (grub_probefs_SOURCES): New variable.
2N/A
2N/A * util/i386/pc/grub-probefs.c: New file.
2N/A
2N/A * util/i386/pc/grub-setup.c (main): Call
2N/A grub_pc_partition_map_init, grub_ufs_init, grub_minix_init,
2N/A grub_hfs_init and grub_jfs_init to initialize the system. Call
2N/A grub_ufs_fini, grub_minix_fini, grub_hfs_fini, grub_jfs_init and
2N/A grub_pc_partition_map_fini to finish the system.
2N/A
2N/A2005-07-31 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * loader/i386/pc/multiboot.c (grub_multiboot_is_elf32): New
2N/A function.
2N/A (grub_multiboot_load_elf32): Likewise.
2N/A (grub_multiboot_is_elf64): Likewise.
2N/A (grub_multiboot_load_elf64): Likewise.
2N/A (grub_multiboot_load_elf): Likewise.
2N/A (grub_rescue_cmd_multiboot): Call grub_multiboot_load_elf to load
2N/A an ELF32 or ELF64 file.
2N/A This is based on a patch from Ruslan Nikolaev <nruslan@mail.com>.
2N/A
2N/A From Serbinenko Vladimir <serbinenko.vova@list.ru>:
2N/A * kern/disk.c (grub_print_partinfo): Check if FS->LABEL is not
2N/A NULL before calling FS->LABEL.
2N/A * fs/fat.c (grub_fat_dir): Initialize DIRNAME to NULL.
2N/A * commands/ls.c (grub_ls_list_files): Show labels, if possible.
2N/A (grub_ls_list_disks): Check if FS and FS->LABEL are not NULL
2N/A before calling FS->LABEL.
2N/A
2N/A2005-07-26 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/grub-install.in (datadir): New variable.
2N/A (libdir): Removed.
2N/A (pkgdatadir): New variable.
2N/A (pkglibdir): Removed.
2N/A
2N/A2005-07-24 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added util/i386/pc/grub-install.in.
2N/A
2N/A * util/i386/pc/grub-install.in: New file.
2N/A
2N/A * conf/i386-pc.rmk (sbin_SCRIPTS): New variable.
2N/A (grub_install_SOURCES): Likewise.
2N/A
2N/A * genmk.rb: Added support for scripts.
2N/A (Script): New class.
2N/A (scripts): New variable.
2N/A
2N/A * Makefile.in (install-local): Install sbin_SCRIPTS by
2N/A INSTALL_SCRIPT.
2N/A (uninstall): Remove sbin_SCRIPTS.
2N/A
2N/A * util/i386/pc/grub-setup.c (main): If the argument is not a GRUB
2N/A device, try to get a GRUB device by
2N/A grub_util_biosdisk_get_grub_dev.
2N/A Free DEST_DEV.
2N/A
2N/A * util/i386/pc/grub-mkdevicemap.c (usage): Remove a duplicated
2N/A description for --device-map.
2N/A
2N/A2005-07-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Change the semantics of variable hooks. They now return strings
2N/A instead of error values.
2N/A
2N/A * util/i386/pc/grub-setup.c: Include grub/env.h.
2N/A (setup): Use grub_device_set_root instead of grub_env_set.
2N/A
2N/A * kern/rescue.c (grub_rescue_cmd_root): Use grub_env_set and
2N/A grub_env_get instead of grub_device_set_root and
2N/A grub_device_get_root, respectively.
2N/A
2N/A * kern/main.c (grub_env_write_root): New function.
2N/A (grub_set_root_dev): Register grub_env_write_hook for "root". Use
2N/A grub_env_set instead of grub_device_set_root.
2N/A
2N/A * kern/env.c (HASHSZ): Reduced to 13, because GRUB does not need
2N/A many variables.
2N/A (grub_env_set): Set ENV->VALUE to the result of ENV->WRITE_HOOK
2N/A rather than calling ENV->WRITE_HOOK afterwards.
2N/A (grub_env_get): Return the result of ENV->READ_HOOK rather than
2N/A passing a pointer of a pointer.
2N/A (grub_register_variable_hook): Change the types of "read_hook" and
2N/A "write_hook" to grub_env_read_hook_t and grub_env_write_hook_t,
2N/A respectively.
2N/A Allocate the default empty string on the heap, because this string
2N/A may be freed later.
2N/A
2N/A * kern/device.c: Include grub/env.h.
2N/A (grub_device_set_root): Removed.
2N/A (grub_device_get_root): Likewise.
2N/A (grub_device_open): Use grub_env_get instead of
2N/A grub_device_get_root.
2N/A
2N/A * include/grub/env.h (grub_env_read_hook_t): New type.
2N/A (grub_env_write_hook_t): Likewise.
2N/A (grub_env_var): Change the types of "read_hook" and "write_hook"
2N/A to grub_env_read_hook_t and grub_env_write_hook_t, respectively.
2N/A (grub_register_variable_hook): Likewise.
2N/A
2N/A * include/grub/device.h (grub_device_set_root): Removed.
2N/A (grub_device_set_root): Likewise.
2N/A
2N/A * fs/fat.c (grub_fat_dir): Make a copy of PATH in DIRNAME, and
2N/A make sure that DIRNAME terminates with '/', so that
2N/A grub_fat_find_dir will fail if PATH is not a directory.
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Remove the qualifier const
2N/A from DIRNAME.
2N/A Use the qualifier auto for print_files and print_files_long.
2N/A If FS->DIR sets GRUB_ERRNO to GRUB_ERR_BAD_FILE_TYPE, try DIRNAME
2N/A as a regular file.
2N/A Put a newline only if there is no error.
2N/A (grub_cmd_ls): Remove grub_ls_print_files, because this is not
2N/A used.
2N/A
2N/A2005-07-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/partition.c (grub_partition_probe): Initialize PART to
2N/A NULL. Otherwise, when no partition map is registered, this returns
2N/A a garbage.
2N/A
2N/A2005-07-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * partmap/apple.c (apple_partition_map_iterate): Check if POS
2N/A equals GRUB_DISK_SECTOR_SIZE to see if the partition table is
2N/A valid.
2N/A
2N/A2005-07-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * commands/ls.c (grub_ls_list_disks): Print the filesystem
2N/A information on each device, if it does not have partitions. Print
2N/A "Device" instead of "Disk", because this function is not specific
2N/A to disk devices.
2N/A
2N/A * normal/main.c (grub_rescue_cmd_normal): Make the variable CONFIG
2N/A static to ensure that it is put on the memory rather than a
2N/A register.
2N/A
2N/A2005-07-17 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * commands/cat.c (GRUB_MOD_INIT): Use better documentation.
2N/A (grub_cat_init): Likewise.
2N/A * loader/i386/pc/chainloader_normal.c (GRUB_MOD_INIT): Likewise.
2N/A (options): Likewise.
2N/A * commands/configfile.c (GRUB_MOD_INIT): Likewise.
2N/A (grub_configfile_init): Likewise.
2N/A * font/manager.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/help.c (GRUB_MOD_INIT): Likewise.
2N/A (grub_help_init): Likewise.
2N/A * normal/command.c (grub_command_init): Likewise.
2N/A * loader/i386/pc/linux_normal.c (GRUB_MOD_INIT): Likewise.
2N/A * disk/loopback.c (grub_loop_init): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/ls.c (grub_ls_init): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A (options): Likewise.
2N/A * commands/boot.c (grub_boot_init): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * loader/i386/pc/multiboot_normal.c (GRUB_MOD_INIT): Likewise.
2N/A * commands/i386/pc/reboot.c (grub_reboot_init): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A * commands/cmp.c (grub_cmp_init): Likewise.
2N/A (GRUB_MOD_INIT): Likewise.
2N/A
2N/A * normal/arg.c: Use <> instead of "" to include header files.
2N/A (SHORT_ARG_HELP): New macro.
2N/A (SHORT_ARG_USAGE): Likewise.
2N/A (help_options): Specify SHORT_ARG_HELP and SHORT_ARG_USAGE instead
2N/A of 'h' and 'u' for help and usage, respectively. Use more GNU-like
2N/A descriptions.
2N/A (find_short): Check if C is 'h' or 'u' explicitly.
2N/A (grub_arg_show_help): Use space characters instead of tabs. Treat
2N/A SHORT_ARG_HELP and SHORT_ARG_USAGE exceptionally so that -h and -u
2N/A are shown with --help and --usage only if they are not used for
2N/A the command itself.
2N/A (parse_option): Use SHORT_ARG_HELP and SHORT_ARG_USAGE instead of
2N/A 'h' and 'u'.
2N/A
2N/A * include/grub/arg.h (struct grub_arg_option): Add the qualifier
2N/A const into "longarg". Change the type of "shortarg" to int.
2N/A
2N/A2005-07-17 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * boot/i386/pc/boot.S (boot_drive_check): New label.
2N/A
2N/A * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_DRIVE_CHECK): New
2N/A macro.
2N/A
2N/A * util/i386/pc/grub-setup.c (setup): Added a workaround for BIOSes
2N/A which do not pass a boot drive correctly. Copied from GRUB Legacy.
2N/A
2N/A2005-07-17 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * kern/i386/pc/startup.S (gate_a20_try_system_control_port_a):
2N/A When turning off Gate A20, skip the check and return immediately,
2N/A because this is not fatal usually.
2N/A
2N/A2005-07-17 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * conf/i386-pc.rmk (pxeboot_img_LDFLAGS): The text address should
2N/A be 0x7C00 instead of 0x8000.
2N/A
2N/A * boot/i386/pc/pxeboot.S: Rewritten.
2N/A
2N/A * kern/i386/pc/startup.S (gate_a20_try_bios): No need to specify
2N/A EXT_C.
2N/A (gate_a20_check_state): Read a byte from 0x108000. Invert the
2N/A result.
2N/A
2N/A2005-07-16 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/i386/pc/startup.S (grub_gate_a20): Rewritten for
2N/A robustness. This routine now supports a BIOS call and System
2N/A Control Port A to modify the gate A20.
2N/A
2N/A * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE):
2N/A Increased to 0x440.
2N/A
2N/A2005-07-12 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): dprintf the
2N/A device path and resulting ihandle.
2N/A (grub_ofdisk_close): dprintf the ihandle being closed.
2N/A (grub_ofdisk_read): dprintf function parameters.
2N/A * kern/mm.c (grub_mm_init_region): Likewise.
2N/A * loader/powerpc/ieee1275/linux.c: Remove extra whitespace.
2N/A (grub_linux_boot): dprintf the Linux entry point, initrd address and
2N/A size, and boot arguments.
2N/A (grub_rescue_cmd_linux): dprintf each ELF segment's address and size
2N/A before loading into memory.
2N/A (grub_rescue_cmd_initrd): dprintf the initrd's address and size
2N/A before loading into memory.
2N/A
2N/A2005-07-12 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/mm.c: Added much documentation.
2N/A (GRUB_MM_ALIGN_LOG2): When GRUB_CPU_SIZEOF_VOID_P is
2N/A 8, set to 5 instead of 8.
2N/A
2N/A2005-07-10 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added util/i386/pc/grub-mkimage.c.
2N/A
2N/A * conf/i386-pc.rmk (sbin_UTILITIES): Added grub-mkdevicemap.
2N/A (grub_mkdevicemap_SOURCES): New variable.
2N/A
2N/A * util/i386/pc/grub-mkdevicemap.c: New file. Mostly copied from
2N/A lib/device.c of GRUB Legacy.
2N/A
2N/A2005-07-10 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Check if *PATH is NUL
2N/A instead of PATH is NULL.
2N/A
2N/A2005-07-09 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * commands/cmp.c (BUFFER_SIZE): New macro.
2N/A (grub_cmd_cmp): Close the right file at the right time. Compare
2N/A only data just read. Don't report files of different size as
2N/A identical. Dynamically allocate buffers. Move variable
2N/A declarations at the beginning of function.
2N/A
2N/A2005-07-09 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): The return value was
2N/A reverse.
2N/A
2N/A2004-07-04 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Don't fallback on ctrl-d
2N/A when backspace is pressed at beginning of line.
2N/A
2N/A2005-07-03 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: Added genfslist.sh.
2N/A
2N/A * normal/main.c (fs_module_list): New variable.
2N/A (autoload_fs_module): New function.
2N/A (read_fs_list): Likewise.
2N/A (grub_normal_execute): Call read_fs_list.
2N/A
2N/A * kern/fs.c (grub_fs_autoload_hook): New variable.
2N/A (grub_fs_probe): Added support for auto-loading.
2N/A
2N/A * include/grub/normal.h (struct grub_fs_module_list): New struct.
2N/A (grub_fs_module_list_t): New type.
2N/A
2N/A * include/grub/fs.h (grub_fs_autoload_hook_t): New type.
2N/A (grub_fs_autoload_hook): New prototype.
2N/A
2N/A * genfslist.sh: New file.
2N/A
2N/A * genmk.rb: Added a rule to generate a filesystem list.
2N/A
2N/A2005-06-30 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * configure.ac: Fix the test for cross-compiling.
2N/A
2N/A * genmk.rb (Program): Use `$(CC)' instead of `$(BUILD_CC)'. Don't
2N/A define GRUB_UTIL anymore.
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c (load_note): Endian fixes
2N/A so this function works on other systems than just big endian.
2N/A (load_modules): Likewise.
2N/A (add_segments): Likewise.
2N/A
2N/A2005-06-23 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/misc.c (grub_vsprintf): Add `longfmt'. If format string
2N/A contains `l' modifier, get a long from va_arg().
2N/A
2N/A2005-06-23 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/mm.c (grub_free): If the next free block which is being
2N/A merged is the first free block, set the first block to the block
2N/A being freed.
2N/A Reported by Vincent Guffens <guffens@inma.ucl.ac.be>.
2N/A
2N/A2005-05-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (cmain): Initialize
2N/A `grub_ieee1275_chosen'.
2N/A
2N/A2005-05-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (module_info): Remove definition.
2N/A (grub_ieee1275_chosen): New variable.
2N/A (cmain): Initialize and use `grub_ieee1275_chosen' instead of
2N/A `chosen'.
2N/A * boot/powerpc/ieee1275/crt0.S (init_stack): Remove stack space.
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property):
2N/A Rename first argument to `phandle' for consistency.
2N/A (grub_ieee1275_get_property_length): Likewise.
2N/A (grub_ieee1275_next_property): Likewise. Change type of first argument
2N/A to grub_ieee1275_phandle_t.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_entry_fn):
2N/A Move export next to declaration.
2N/A (grub_ieee1275_chosen): New variable.
2N/A * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MODULE_BASE):
2N/A Correct cosmetic typo.
2N/A * kern/powerpc/ieee1275/init.c (grub_set_prefix): Use
2N/A `grub_ieee1275_chosen'.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_map): Likewise.
2N/A * loader/powerpc/ieee1275/linux.c (grub_linux_boot): Likewise.
2N/A (grub_rescue_cmd_linux): Set `initrd_addr' to 0.
2N/A * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_refresh): Use
2N/A `grub_ieee1275_chosen'.
2N/A
2N/A2005-05-10 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (cmain): Remove code to parse
2N/A /chosen/bootargs.
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_init): Parse
2N/A /chosen/bootargs as "variable=value" pairs.
2N/A
2N/A2005-05-08 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * include/grub/misc.h (grub_dprintf): New macro.
2N/A (grub_real_dprintf): New prototype.
2N/A (grub_strword): Likewise.
2N/A (grub_iswordseparator): Likewise.
2N/A * kern/misc.c (grub_real_dprintf): New function.
2N/A (grub_strword): Likewise.
2N/A (grub_iswordseparator): Likewise.
2N/A
2N/A2005-04-30 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c: Don't include grub/machine/init.h.
2N/A (roundup): Remove macro.
2N/A (grub_ieee1275_flags): Make static.
2N/A (grub_ieee1275_realmode): Remove.
2N/A (grub_ieee1275_test_flag): New function.
2N/A (grub_ieee1275_set_flag): Likewise.
2N/A (find_options): Rename to `grub_ieee1275_find_options'; update
2N/A callers. Set GRUB_IEEE1275_FLAG_REAL_MODE and
2N/A GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS.
2N/A (cmain): New prototype.
2N/A (cmain): Use `grub_ieee1275_set_flag' instead of accessing
2N/A `grub_ieee1275_flags' directly.
2N/A * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Remove
2N/A machine/biosdisk.h.
2N/A * disk/powerpc/ieee1275/ofdisk.c: Include grub/machine/ofdisk.h.
2N/A Don't include grub/machine/init.h.
2N/A (grub_ofdisk_open): Call `grub_ieee1275_test_flag'.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_flags):
2N/A Remove prototype.
2N/A (grub_ieee1275_realmode): Likewise.
2N/A (grub_ieee1275_flag): New enum.
2N/A (grub_ieee1275_test_flag): New prototype.
2N/A (grub_ieee1275_set_flag): New prototype.
2N/A * include/grub/powerpc/ieee1275/init.h: Remove file.
2N/A * include/grub/powerpc/ieee1275/ofdisk.h: New file.
2N/A * kern/powerpc/ieee1275/init.c: Don't include grub/machine/init.h.
2N/A Include grub/machine/console.h. Include grub/machine/ofdisk.h.
2N/A (grub_machine_fini): Don't call `grub_ieee1275_release'. Remove
2N/A comment.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_claimmap): Call
2N/A `grub_ieee1275_test_flag'.
2N/A (grub_ieee1275_encode_devname): Likewise.
2N/A
2N/A2005-04-21 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_encode_devname): New prototype.
2N/A (grub_ieee1275_get_filename): Likewise.
2N/A * kern/powerpc/ieee1275/init.c (grub_translate_ieee175_path): New
2N/A function.
2N/A (grub_set_prefix): Likewise.
2N/A (grub_machine_init): Call grub_set_prefix.
2N/A * kern/powerpc/ieee1275/openfw.c: Fix typos.
2N/A (grub_parse_type): New enum.
2N/A (grub_ieee1275_get_devargs): New function.
2N/A (grub_ieee1275_get_devname): Likewise.
2N/A (grub_ieee1275_parse_args): Likewise.
2N/A (grub_ieee1275_get_filename): Likewise.
2N/A (grub_ieee1275_encode_devname): Likewise.
2N/A
2N/A2005-03-30 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_fini): Don't call
2N/A `grub_loader_unset'.
2N/A
2N/A2005-03-26 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * commands/ieee1275/halt.c (grub_cmd_halt): Call grub_halt
2N/A instead of grub_ieee1275_interpret.
2N/A (grub_halt_init): New function.
2N/A (grub_halt_fini): Likewise.
2N/A (GRUB_MOD_INIT): Correct message grammar.
2N/A * commands/ieee1275/reboot.c (grub_cmd_reboot): Call grub_reboot
2N/A instead of grub_ieee1275_interpret.
2N/A (grub_reboot_init): New function.
2N/A (grub_reboot_fini): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Replace
2N/A commands/i386/pc/halt.c, commands/i386/pc/reboot.c, and
2N/A util/i386/pc/misc.c with commands/ieee1275/halt.c,
2N/A commands/ieee1275/reboot.c, and util/powerpc/ieee1275/misc.c.
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_fini): New
2N/A function.
2N/A * include/grub/powerpc/ieee1275/console.h (grub_console_fini):
2N/A Add prototype.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (grub_reboot): Add
2N/A prototype.
2N/A (grub_halt): Likewise.
2N/A * include/grub/powerpc/ieee1275/init.h: Remove inaccurate comment.
2N/A (cmain): Remove __attribute__((unused)).
2N/A * kern/powerpc/ieee1275/init.c (grub_heap_start): New variable.
2N/A (grub_heap_len): Likewise.
2N/A (grub_machine_fini): New function.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_reboot): New function.
2N/A (grub_halt): Likewise.
2N/A * term/powerpc/ieee1275/ofconsole.c (grub_console_fini): New
2N/A function.
2N/A * util/powerpc/ieee1275/misc.c: New file.
2N/A
2N/A2005-03-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * DISTLIST: New file.
2N/A * gendistlist.sh: Likewise.
2N/A
2N/A * Makefile.in (COMMON_DISTFILES): Removed.
2N/A (BOOT_DISTFILES): Likewise.
2N/A (CONF_DISTFILES): Likewise.
2N/A (DISK_DISTFILES): Likewise.
2N/A (FS_DISTFILES): Likewise.
2N/A (INCLUDE_DISTFILES): Likewise.
2N/A (KERN_DISTFILES): Likewise.
2N/A (LOADER_DISTFILES): Likewise.
2N/A (TERM_DISTFILES): Likewise.
2N/A (UTIL_DISTFILES): Likewise.
2N/A (DISTFILES): Likewise.
2N/A (uninstall): Uninstall files in $(pkgdata_DATA).
2N/A (DISTLIST): New target.
2N/A (distdir): Use the contents of the file DISTLIST to get a list of
2N/A distributed files.
2N/A
2N/A2005-03-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * fs/fat.c (grub_fat_mount): Ignore the 3rd bit of a media
2N/A descriptor. This is ported from GRUB Legacy.
2N/A
2N/A * gencmdlist.sh: Added an extra semicolon to make it work with
2N/A old sed versions. Reported by Robert Bihlmeyer
2N/A <robbe@orcus.priv.at>.
2N/A
2N/A2005-03-08 Yoshinori Okuji <okuji@enbug.org>
2N/A
2N/A Automatic loading of commands is supported.
2N/A
2N/A * normal/main.c (read_command_list): New function.
2N/A (grub_normal_execute): Call read_command_list.
2N/A
2N/A * normal/command.c (grub_register_command): Return zero or CMD.
2N/A Allocate CMD->NAME from the heap.
2N/A Initialize CMD->MODULE_NAME to zero.
2N/A Find the same name as well. If the same command is found and it is
2N/A a dummy command, overwrite members. If it is not a dummy command,
2N/A return zero.
2N/A (grub_unregister_command): Free Q->NAME and Q->MODULE_NAME.
2N/A (grub_command_find): If a dummy command is found, load a module
2N/A and retry to find a command only once.
2N/A
2N/A * normal/cmdline.c (grub_tab_complete): Call grub_command_find to
2N/A make sure that each command is loaded.
2N/A
2N/A * include/grub/normal.h (GRUB_COMMAND_FLAG_NOT_LOADED): New
2N/A macro.
2N/A (struct grub_command): Remove const from the member `name'.
2N/A Add a new member `module_name'.
2N/A (grub_register_command): Return grub_command_t.
2N/A
2N/A * commands/help.c (grub_cmd_help): Call grub_command_find to make
2N/A sure that each command is loaded.
2N/A
2N/A * genmk.rb (PModule::rule): Specify a module name without the
2N/A suffix ".mod" to gencmdlist.sh.
2N/A
2N/A2005-03-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * gencmdlist.sh: New file.
2N/A
2N/A * genmk.rb (PModule::rule): Generate a rule for a command list.
2N/A Clean command.lst.
2N/A Generate command.lst from $(COMMANDFILES).
2N/A
2N/A * Makefile.in (COMMON_DISTFILES): Added gencmdlist.sh.
2N/A (DATA): Added $(pkgdata_DATA).
2N/A (install-local): Install files in $(pkgdata_DATA).
2N/A
2N/A2005-03-02 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * term/i386/pc/vga.c (debug_command): Removed.
2N/A (GRUB_MOD_INIT): Do not register the command "debug".
2N/A
2N/A From Hollis Blanchard:
2N/A * commands/configfile.c: New file.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added
2N/A commands/configfile.c.
2N/A (pkgdata_MODULES): Added configfile.mod.
2N/A (configfile_mod_SOURCES): New variable.
2N/A (configfile_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added
2N/A commands/configfile.c.
2N/A (pkgdata_MODULES): Added configfile.mod.
2N/A (configfile_mod_SOURCES): New variable.
2N/A (configfile_mod_CFLAGS): Likewise.
2N/A * util/grub-emu.c (main): Call grub_configfile_init and
2N/A grub_configfile_fini.
2N/A * include/grub/normal.h [GRUB_UTIL] (grub_configfile_init): New
2N/A prototype.
2N/A [GRUB_UTIL] (grub_configfile_fini): Likewise.
2N/A
2N/A2005-02-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/arg.c (grub_arg_show_help): Do not show the bug report
2N/A address.
2N/A
2N/A * commands/help.c (grub_cmd_help): Do not print newlines after
2N/A the last command in print_command_help.
2N/A
2N/A2005-02-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * commands/default.h: New file.
2N/A * commands/timeout.h: Likewise.
2N/A * normal/context.c: Likewise.
2N/A
2N/A * util/misc.c: Do not include sys/times.h.
2N/A Include sys/time.h and grub/machine/time.h.
2N/A (grub_get_rtc): Rewritten with gettimeofday.
2N/A
2N/A * util/grub-emu.c (main): Call grub_default_init and
2N/A grub_timeout_init before grub_normal_init, and call
2N/A grub_timeout_fini and grub_default_fini after grub_main.
2N/A
2N/A * util/console.c (grub_ncurses_checkkey): Return the read
2N/A character or -1.
2N/A
2N/A * normal/menu.c (run_menu): Set MENU->TIMEOUT to -1 once it
2N/A timeouts.
2N/A
2N/A * normal/main.c (read_config_file): Push MENU. If this fails,
2N/A print an error and wait for a user input.
2N/A Print an error only if GRUB_ERRNO is not GRUB_ERR_NONE.
2N/A If a menu is empty or an error occurs, pop MENU.
2N/A (grub_normal_execute): Pop and free MENU after grub_menu_run
2N/A returns.
2N/A
2N/A * kern/loader.c (grub_loader_boot): Call grub_machine_fini.
2N/A
2N/A * include/grub/powerpc/ieee1275/time.h [GRUB_UTIL]: Do not
2N/A include time.h.
2N/A [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as
2N/A without GRUB_UTIL.
2N/A * include/grub/i386/pc/time.h [GRUB_UTIL]: Do not include
2N/A time.h.
2N/A [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as
2N/A without GRUB_UTIL.
2N/A
2N/A * include/grub/normal.h (struct grub_menu_list): New struct.
2N/A (grub_menu_list_t): New type.
2N/A (struct grub_context): New struct.
2N/A (grub_context_t): New type.
2N/A (grub_register_command): Got rid of EXPORT_FUNC.
2N/A (grub_unregister_command): Likewise.
2N/A (grub_context_get): New prototype.
2N/A (grub_context_get_current_menu): Likewise.
2N/A (grub_context_push_menu): Likewise.
2N/A (grub_context_pop_menu): Likewise.
2N/A [GRUB_UTIL] (grub_default_init): Likewise.
2N/A [GRUB_UTIL] (grub_default_fini): Likewise.
2N/A [GRUB_UTIL] (grub_timeout_init): Likewise.
2N/A [GRUB_UTIL] (grub_timeout_fini): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/default.c,
2N/A commands/timeout.c and normal/context.c.
2N/A (pkgdata_MODULES): Added default.mod and timeout.mod.
2N/A (normal_mod_SOURCES): Added normal/context.c.
2N/A (default_mod_SOURCES): New variable.
2N/A (default_mod_CFLAGS): Likewise.
2N/A (timeout_mod_SOURCES): Likewise.
2N/A (timeout_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Copied from
2N/A conf/i386-pc.rmk.
2N/A (pkgdata_MODULES): Added default.mod and timeout.mod.
2N/A (normal_mod_SOURCES): Added normal/context.c.
2N/A (default_mod_SOURCES): New variable.
2N/A (default_mod_CFLAGS): Likewise.
2N/A (timeout_mod_SOURCES): Likewise.
2N/A (timeout_mod_CFLAGS): Likewise.
2N/A
2N/A * Makefile.in (all-local): Added $(MKFILES).
2N/A
2N/A2005-02-21 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add `partmap/sun.c'.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add `sun.mod'.
2N/A (sun_mod_SOURCES, sun_mod_CFLAGS): New variables.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `partmap/sun.c'.
2N/A (pkgdata_MODULES): Add `sun.mod'.
2N/A (sun_mod_SOURCES, sun_mod_CFLAGS): New variables.
2N/A * include/grub/partition.h (grub_sun_partition_map_init): New
2N/A prototype.
2N/A (grub_sun_partition_map_fini): Likewise.
2N/A * partmap/sun.c: New file.
2N/A * util/grub-emu.c (main): Initialize and de-initialize the sun
2N/A partitionmap support.
2N/A
2N/A2005-02-19 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A This implements an Emacs-like menu entry editor.
2N/A
2N/A * normal/menu_entry.c: New file.
2N/A
2N/A * util/console.c (grub_ncurses_putchar): Translate some Unicode
2N/A characters to ASCII.
2N/A (saved_char): New variable.
2N/A (grub_ncurses_checkkey): Rewritten completely.
2N/A (grub_ncurses_getkey): Likewise.
2N/A (grub_ncurses_init): Call raw instead of cbreak.
2N/A
2N/A * normal/menu.c (print_entry): Do not put a space.
2N/A (init_page): Renamed to ...
2N/A (grub_menu_init_page): ... this. All callers changed.
2N/A (edit_menu_entry): Removed.
2N/A (run_menu): Call grub_menu_entry_run instead of edit_menu_entry.
2N/A
2N/A * normal/cmdline.c (grub_cmdline_run): Call grub_setcursor.
2N/A
2N/A * kern/misc.c (grub_vprintf): Call grub_refresh.
2N/A
2N/A * normal/menu.c (DISP_LEFT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_LEFT): ... this.
2N/A * normal/menu.c (DISP_UP): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_UP): ... this.
2N/A * normal/menu.c (DISP_RIGHT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_RIGHT): ... this.
2N/A * normal/menu.c (DISP_DOWN): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_DOWN): ... this.
2N/A * normal/menu.c (DISP_HLINE): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_HLINE): ... this.
2N/A * normal/menu.c (DISP_VLINE): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_VLINE): ... this.
2N/A * normal/menu.c (DISP_UL): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_UL): ... this.
2N/A * normal/menu.c (DISP_UR): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_UR): ... this.
2N/A * normal/menu.c (DISP_LL): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_LL): ... this.
2N/A * normal/menu.c (DISP_LR): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_DISP_LR): ... this.
2N/A * normal/menu.c (TERM_WIDTH): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_WIDTH): ... this.
2N/A * normal/menu.c (TERM_HEIGHT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_HEIGHT): ... this.
2N/A * normal/menu.c (TERM_INFO_HEIGHT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_INFO_HEIGHT): ... this.
2N/A * normal/menu.c (TERM_MARGIN): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_MARGIN): ... this.
2N/A * normal/menu.c (TERM_SCROLL_WIDTH): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_SCROLL_WIDTH): ... this.
2N/A * normal/menu.c (TERM_TOP_BORDER_Y): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_TOP_BORDER_Y): ... this.
2N/A * normal/menu.c (TERM_LEFT_BORDER_X): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_LEFT_BORDER_X): ... this.
2N/A * normal/menu.c (TERM_BORDER_WIDTH): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_BORDER_WIDTH): ... this.
2N/A * normal/menu.c (TERM_MESSAGE_HEIGHT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): ... this.
2N/A * normal/menu.c (TERM_BORDER_HEIGHT): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_BORDER_HEIGHT): ... this.
2N/A * normal/menu.c (TERM_NUM_ENTRIES): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_NUM_ENTRIES): ... this.
2N/A * normal/menu.c (TERM_FIRST_ENTRY_Y): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_FIRST_ENTRY_Y): ... this.
2N/A * normal/menu.c (TERM_ENTRY_WIDTH): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_ENTRY_WIDTH): ... this.
2N/A * normal/menu.c (TERM_CURSOR_X): Renamed to ...
2N/A * include/grub/term.h (GRUB_TERM_CURSOR_X): ... this.
2N/A All callers changed.
2N/A
2N/A * include/grub/normal.h: New prototype.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added
2N/A normal/menu_entry.c.
2N/A (normal_mod_SOURCES): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
2N/A (normal_mod_SOURCES): Likewise.
2N/A
2N/A2005-02-15 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/grub/normal.h (grub_halt_init): New prototype.
2N/A (grub_halt_fini): Likewise.
2N/A (grub_reboot_init): Likewise.
2N/A (grub_reboot_fini): Likewise.
2N/A
2N/A * util/grub-emu.c: Include signal.h.
2N/A (main_env): New global variable.
2N/A (grub_machine_init): Ignore SIGINT. Otherwise grub-emu cannot
2N/A catch C-c.
2N/A (grub_machine_fini): New function.
2N/A (main): Call grub_halt_init and grub_reboot_init before
2N/A grub_main, and grub_reboot_fini and grub_halt_fini after it.
2N/A Call setjmp with MAIN_ENV to go back afterwards.
2N/A Call grub_machine_fini right before return.
2N/A
2N/A * include/grub/util/misc.h: Include setjmp.h.
2N/A (main_env): New prototype.
2N/A
2N/A * include/grub/kernel.h (grub_machine_fini): New prototype.
2N/A * include/grub/i386/pc/biosdisk.h (grub_biosdisk_fini): Likewise.
2N/A * include/grub/i386/pc/console.h (grub_console_fini): Likewise.
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_fini): New function.
2N/A * kern/i386/pc/init.c (grub_machine_fini): Likewise.
2N/A * term/i386/pc/console.c (grub_console_fini): Likewise.
2N/A
2N/A * util/i386/pc/misc.c: New file.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Added
2N/A util/i386/pc/misc.c, commands/i386/pc/halt.c and
2N/A commands/i386/pc/reboot.c.
2N/A
2N/A2005-02-14 Guillem Jover <guillem@hadrons.org>
2N/A
2N/A * include/grub/dl.h (grub_dl_check_header): New prototype.
2N/A (grub_arch_dl_check_header): Change return type to grub_err_t,
2N/A remove size parameter and export function. Update all callers.
2N/A * kern/dl.c (grub_dl_check_header): New function.
2N/A (grub_dl_load_core): Use `grub_dl_check_header' instead of
2N/A `grub_arch_dl_check_header'. Check ELF type. Check if sections
2N/A are inside the core.
2N/A * kern/i386/dl.c (grub_arch_dl_check_header): Remove arch
2N/A independent ELF header checks.
2N/A * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise.
2N/A * loader/i386/pc/multiboot.c (grub_rescue_cmd_multiboot): Use
2N/A `grub_dl_check_header' instead of explicit checks. Check for the
2N/A ELF type.
2N/A * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Use
2N/A `grub_dl_check_header' instead of explicit checks. Remove arch
2N/A specific ELF header checks.
2N/A
2N/A * util/grub-emu.c (grub_arch_dl_check_header): Remove the
2N/A argument SIZE.
2N/A
2N/A2005-02-13 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add ls.mod.
2N/A * include/grub/powerpc/libgcc.h (__mulsf3): New prototype.
2N/A
2N/A2005-02-12 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/partition.c (grub_partition_probe): Clear `grub_errno' and
2N/A return 0 if `grub_errno' is GRUB_ERR_BAD_PART_TABLE.
2N/A (part_map_iterate): Clear `grub_errno' and return 0 if
2N/A `partmap->iterate' returns GRUB_ERR_BAD_PART_TABLE.
2N/A * partmap/amiga.c (amiga_partition_map_iterate): Return
2N/A GRUB_ERR_BAD_PART_TABLE if no partition map magic is found.
2N/A * partmap/apple.c (apple_partition_map_iterate): Likewise.
2N/A
2N/A2005-02-01 Guillem Jover <guillem@hadrons.org>
2N/A
2N/A * loader/i386/pc/multiboot_normal.c (GRUB_MOD_INIT): Fix module
2N/A help info.
2N/A
2N/A2005-01-31 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * include/grub/powerpc/ieee1275/loader.h (grub_load_linux):
2N/A Removed prototype.
2N/A (grub_rescue_cmd_linux): New prototype.
2N/A (grub_rescue_cmd_initrd): Likewise.
2N/A * powerpc/ieee1275/linux.c (grub_linux_boot): Remove struct
2N/A `bi_rec'.
2N/A (grub_linux_release_mem): Release the memory for the initrd.
2N/A (grub_load_linux): Renamed from this...
2N/A (grub_rescue_cmd_linux): ...To this. Changed all callers.
2N/A Changed `entry' not to be static. Loop over memory regions to
2N/A find another one when the default fails.
2N/A (grub_rescue_cmd_initrd): New function.
2N/A (grub_linux_init): Remove function.
2N/A (grub_linux_fini): Likewise.
2N/A (GRUB_MOD_INIT): Register `initrd'.
2N/A (GRUB_MOD_FINI): Unregister `initrd'.
2N/A * powerpc/ieee1275/linux_normal.c (grub_linux_normal_init):
2N/A Function removed.
2N/A (grub_linux_normal_fini): Likewise.
2N/A (GRUB_MOD_INIT): Register `initrd'.
2N/A (GRUB_MOD_FINI): Unregister `initrd'.
2N/A
2N/A2005-01-31 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * commands/help.c: New file.
2N/A * normal/arg.c (show_help): Renamed to...
2N/A (grub_arg_show_help): ... this.
2N/A * commands/i386/pc/halt.c: New file.
2N/A * commands/i386/pc/reboot.c: Likewise.
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/help.c'.
2N/A (pkgdata_MODULES): Add `reboot.mod', `halt.mod' and `help.mod'.
2N/A (help_mod_SOURCES, help_mod_CFLAGS, reboot_mod_SOURCES)
2N/A (reboot_mod_CFLAGS, halt_mod_SOURCES, halt_mod_CFLAGS): New
2N/A variables.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `commands/help.c'.
2N/A (pkgdata_MODULES): Add `help.mod'.
2N/A (help_mod_SOURCES, help_mod_CFLAGS): New variables.
2N/A * grub/i386/pc/init.h (grub_reboot): New prototype.
2N/A (grub_halt): Likewise.
2N/A * include/grub/normal.h (grub_arg_show_help): New prototype.
2N/A (grub_help_init): Likewise.
2N/A (grub_help_fini): Likewise.
2N/A * util/grub-emu.c (main): Initialize and deinitialize the help
2N/A command.
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Doc fix.
2N/A
2N/A * normal/command.c (grub_command_init): Fixed the description of
2N/A the `set' and `unset' commands.
2N/A
2N/A2005-01-31 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_interpret): New
2N/A function.
2N/A * commands/ieee1275/halt.c: New file.
2N/A * commands/ieee1275/reboot.c: Likewise.
2N/A * commands/ieee1275/suspend.c (grub_cmd_suspend): Use
2N/A `__attribute__ ((unused))'. Some GCS related fixed.
2N/A (grub_suspend_init) [GRUB_UTIL]: Function removed.
2N/A (grub_suspend_fini): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add `reboot.mod'
2N/A and `halt.mod'.
2N/A (reboot_mod_SOURCES, reboot_mod_CFLAGS, halt_mod_SOURCES)
2N/A (halt_mod_CFLAGS): New variables.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_interpret): New prototype.
2N/A
2N/A2005-01-29 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/grub/misc.h (memmove): New prototype.
2N/A (memcpy): Likewise.
2N/A
2N/A2005-01-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Don't initialize
2N/A `devpath' to 0. Use `name' instead of `devpath' with `grub_strndup'.
2N/A
2N/A2005-01-22 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * kern/misc.c (grub_strndup): Function rewritten.
2N/A
2N/A2005-01-22 Vincent Pelletier <subdino2004@yahoo.fr>
2N/A
2N/A * normal/menu.c (TERM_WIDTH): Macro redefined.
2N/A (TERM_TOP_BORDER_Y): Likewise.
2N/A (draw_border): Replaced while-loop by a for-loop. Make the number
2N/A of lines consistent with the number of lines displayed in
2N/A print_entries. Added a margin below the rectangle.
2N/A (print_entry): Make the entry fit in the rectangle.
2N/A (print_entries): Display the scroll arrows next to the right
2N/A border.
2N/A
2N/A2005-01-21 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * fs/minix.c (grub_minix_find_file): Reserve more space for
2N/A `fpath' so the \0 can be stored. Use `grub_strcpy' instead of
2N/A `grub_strncpy' to copy `path' into it.
2N/A
2N/A2005-01-21 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add the loopback device, a device via which files can be accessed
2N/A as devices.
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/loopback.c'.
2N/A (pkgdata_MODULES): Add loopback.mod.
2N/A (loopback_mod_SOURCES): New variable.
2N/A (loopback_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
2N/A `disk/loopback.c'.
2N/A (pkgdata_MODULES): Add loopback.mod.
2N/A (loopback_mod_SOURCES): New variable.
2N/A (loopback_mod_CFLAGS): Likewise.
2N/A * disk/loopback.c: new file.
2N/A * include/grub/normal.h (grub_loop_init): New prototype.
2N/A (grub_loop_fini): New prototype.
2N/A * util/grub-emu.c (main): Initialize and de-initialize loopback
2N/A support.
2N/A * include/grub/disk.h (grub_disk_dev_id): Add
2N/A `GRUB_DISK_DEVICE_LOOPBACK_ID'.
2N/A
2N/A2005-01-20 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_enter): New
2N/A function.
2N/A * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add suspend.mod.
2N/A (suspend_mod_SOURCES): New variable.
2N/A (suspend_mod_CFLAGS): Likewise.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_enter):
2N/A New prototype.
2N/A * commands/ieee1275/suspend.c: New file.
2N/A
2N/A2005-01-20 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
2N/A
2N/A * include/grub/dl.h (GRUB_MOD_INIT): Changed `__attribute__
2N/A ((unused))' to `__attribute__ ((used))'.
2N/A (GRUB_MOD_FINI): Likewise.
2N/A * kern/dl.c (grub_dl_load_file): Fix null pointer dereference.
2N/A * genmk.rb (PModule): Assign space to common symbols when linking
2N/A modules.
2N/A
2N/A2005-01-20 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * include/grub/mm.h (grub_mm_init_region): Change the type of the
2N/A `unsigned' arguments to `grub_size_t'.
2N/A (grub_malloc): Likewise.
2N/A (grub_realloc): Likewise.
2N/A (grub_memalign): Likewise.
2N/A * kern/i386/dl.c (grub_arch_dl_check_header): Likewise.
2N/A * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise.
2N/A * util/misc.c (grub_malloc): Likewise.
2N/A (grub_realloc): Likewise.
2N/A * kern/mm.c (get_header_from_pointer): Change the casts to
2N/A `unsigned' into a cast to `grub_size_t'.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_find_file): The `oldnode' should always
2N/A point to `currnode' when `currnode' is changed.
2N/A
2N/A * util/grub-emu.c (main): Initialize `progname'. Reported by Nico
2N/A Schottelius <nico-linux@schottelius.org>.
2N/A
2N/A2005-01-09 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * util/powerpc/ieee1275/grub-mkimage.c: Include <string.h>.
2N/A (note_path): Remove variable.
2N/A (GRUB_IEEE1275_NOTE_NAME): New macro.
2N/A (GRUB_IEEE1275_NOTE_TYPE): Likewise.
2N/A (grub_ieee1275_note_hdr): New structure.
2N/A (grub_ieee1275_note_desc): Likewise.
2N/A (grub_ieee1275_note): Likewise.
2N/A (load_note): Remove `dir' argument. All callers updated. Remove
2N/A `note_img' and `path'. Do not load a file from `note_path'.
2N/A Initialize a struct grub_ieee1275_note and write that to `out'.
2N/A Use GRUB_IEEE1275_MODULE_BASE instead of MODULE_BASE.
2N/A
2N/A2005-01-05 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * util/misc.c (grub_util_read_image): Revert last change. It
2N/A called `grub_util_read_at', which seeks from the beginning of the
2N/A file.
2N/A
2N/A2005-01-04 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * TODO: Add note about endianness in grub-mkimage.
2N/A * boot/powerpc/ieee1275/crt0.S (note): Remove unused .note
2N/A section.
2N/A * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Add grub-mkimage.
2N/A (grub_mkimage_SOURCES): New target.
2N/A * include/grub/kernel.h (grub_start_addr): Remove variable.
2N/A (grub_end_addr): Likewise.
2N/A (grub_total_module_size): Likewise.
2N/A (grub_kernel_image_size): Likewise.
2N/A (GRUB_MODULE_MAGIC): New constant.
2N/A (grub_module_info): New structure.
2N/A (grub_arch_modules_addr): New prototype.
2N/A (grub_get_end_addr): Remove prototype.
2N/A * include/grub/i386/pc/kernel.h (grub_end_addr): New prototype.
2N/A * include/grub/powerpc/ieee1275/kernel.h: New file.
2N/A * include/grub/util/misc.h (grub_util_get_fp_size): New
2N/A prototype.
2N/A (grub_util_read_at): Likewise.
2N/A (grub_util_write_image_at): Likewise.
2N/A * kern/main.c (grub_get_end_addr): Remove function.
2N/A (grub_load_modules): Call grub_arch_modules_addr instead of using
2N/A grub_end_addr. Look for a grub_module_info struct in memory. Use
2N/A the grub_module_info fields instead of calling grub_get_end_addr
2N/A as loop conditions. Move grub_add_unused_region code here.
2N/A (grub_add_unused_region): Remove function.
2N/A * kern/i386/pc/init.c: Include grub/cache.h.
2N/A (grub_machine_init): Remove call to grub_get_end_addr. Remove
2N/A one call to add_mem_region.
2N/A (grub_arch_modules_addr): New function.
2N/A * kern/powerpc/ieee1275/init.c (grub_end_addr): Remove variable.
2N/A (grub_total_module_size): Likewise.
2N/A Include grub/machine/kernel.h.
2N/A (grub_arch_modules_addr): New function.
2N/A * util/grub-emu.c (grub_end_addr): Remove variable.
2N/A (grub_total_module_size): Likewise.
2N/A (grub_arch_modules_addr): New function.
2N/A * util/misc.c: Include unistd.h.
2N/A (grub_util_get_fp_size): New function.
2N/A (grub_util_read_at): Likewise.
2N/A (grub_util_write_image_at): Likewise.
2N/A (grub_util_read_image): Call grub_util_read_at.
2N/A (grub_util_write_image): Call grub_util_write_image_at.
2N/A * util/i386/pc/grub-mkimage.c (generate_image): Allocate
2N/A additional memory in kernel_img for a struct grub_module_info.
2N/A Fill in that grub_module_info.
2N/A * util/powerpc/ieee1275/grub-mkimage.c: New file.
2N/A
2N/A2005-01-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_milliseconds):
2N/A New function.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_milliseconds): New prototype.
2N/A * include/grub/powerpc/ieee1275/time.h (GRUB_TICKS_PER_SECOND):
2N/A Change to 1000.
2N/A * kern/powerpc/ieee1275/init.c (grub_get_rtc): Call
2N/A grub_ieee1275_milliseconds.
2N/A
2N/A2005-01-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (grub_ieee1275_realmode): New
2N/A variable.
2N/A (find_options): New function.
2N/A (cmain): Call find_options.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_realmode): New extern variable.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_claimmap): Only call
2N/A grub_map if grub_ieee1275_realmode is false.
2N/A
2N/A2004-12-29 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * normal/cmdline.c (grub_cmdline_get): Redone logic so no empty
2N/A lines are inserted and make it work like readline. Reported by
2N/A Vincent Pelletier <subdino2004@yahoo.fr>.
2N/A
2N/A2004-12-28 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * boot/powerpc/ieee1275/crt0.S (_start): Don't set up the stack.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCE): Remove
2N/A `kern/powerpc/cache.S'.
2N/A
2N/A2004-12-27 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * genmk.rb: Handle the `Program' class in the main loop. Written
2N/A by Johan Rydberg <jrydberg@gnu.org>.
2N/A (Program): New class.
2N/A (programs): New variable.
2N/A * boot/powerpc/ieee1275/cmain.c: Include <grub/machine/ieee1275.h>
2N/A instead of "grub/machine/ieee1275.h". Include <grub/kernel.h>
2N/A instead of "grub/kernel.h". Include <grub/machine/init.h>.
2N/A (help_arch): Function removed.
2N/A * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Add
2N/A `powerpc/libgcc.h' and `loader.h'.
2N/A (pkgdata_PROGRAMS): New variable.
2N/A (sbin_UTILITIES): Variable removed.
2N/A (grub_emu_SOURCES): Added kern/powerpc/cache.S.
2N/A (grubof_SOURCES): Variable re-defined so it only includes the
2N/A core functionality.
2N/A (grubof_CFLAGS): Remove `-DGRUBOF'.
2N/A (pkgdata_MODULES, fshelp_mod_SOURCES, fshelp_mod_CFLAGS,
2N/A (fat_mod_SOURCES, fat_mod_CFLAGS, ext2_mod_SOURCES)
2N/A (ext2_mod_CFLAGS, ufs_mod_SOURCES, ufs_mod_CFLAGS)
2N/A (minix_mod_SOURCES, minix_mod_CFLAGS, hfs_mod_SOURCES)
2N/A (hfs_mod_CFLAGS, jfs_mod_SOURCES, jfs_mod_CFLAGS)
2N/A (iso9660_mod_SOURCES, iso9660_mod_CFLAGS, _linux_mod_SOURCES)
2N/A (_linux_mod_CFLAGS, linux_mod_SOURCES, linux_mod_CFLAGS)
2N/A (normal_mod_SOURCES, normal_mod_CFLAGS, normal_mod_ASFLAGS)
2N/A (hello_mod_SOURCES, hello_mod_CFLAGS, boot_mod_SOURCES)
2N/A (boot_mod_CFLAGS, terminal_mod_SOURCES, terminal_mod_CFLAGS)
2N/A (ls_mod_SOURCES, ls_mod_CFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
2N/A (cat_mod_SOURCES, cat_mod_CFLAGS, font_mod_SOURCES)
2N/A (font_mod_CFLAGS, amiga_mod_SOURCES, amiga_mod_CFLAGS)
2N/A (apple_mod_SOURCES, apple_mod_CFLAGS, pc_mod_SOURCES)
2N/A (pc_mod_CFLAGS): New variables.
2N/A * disk/powerpc/ieee1275/ofdisk.c: Include <grub/machine/init.h>.
2N/A (grub_ofdisk_iterate): Add a prototype for `dev_iterate'.
2N/A * include/grub/dl.h (grub_arch_dl_sync_caches): New prototype.
2N/A * include/grub/loader.h (grub_os_area_addr, grub_os_area_size):
2N/A Moved from here...
2N/A * include/grub/i386/pc/init.h (grub_os_area_addr)
2N/A (rub_os_area_size): ... to here.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_entry_fn): Export symbol.
2N/A * include/grub/powerpc/ieee1275/init.h: New file.
2N/A * include/grub/powerpc/libgcc.h: Likewise.
2N/A * include/grub/cache.h: Likewise.
2N/A * kern/powerpc/cache.S: Likewise. Written by Hollis Blanchard
2N/A <hollis@penguinppc.org>.
2N/A * kern/dl.c: Include <grub/cache.h>.
2N/A (grub_dl_flush_cache): New function.
2N/A (grub_dl_load_core): Call `grub_dl_flush_cache' to flush the cache
2N/A for this module.
2N/A * kern/powerpc/ieee1275/init.c (grub_ofdisk_init)
2N/A (grub_console_init): Removed prototypes.
2N/A (grub_machine_init): Don't initialize the modules anymore.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_map): Make the function
2N/A static.
2N/A * include/grub/powerpc/types.h (GRUB_HOST_WORDS_LITTLEENDIAN):
2N/A Macro undef removed.
2N/A (GRUB_HOST_WORDS_BIGENDIAN): New macro.
2N/A * kern/powerpc/dl.c (grub_arch_dl_relocate_symbols): Add
2N/A relocation `R_PPC_REL32'. Return an error when the relocation is
2N/A unknown.
2N/A * Makefile.in (DATA): Add `$(pkgdata_PROGRAMS)'.
2N/A * kern/i386/pc/init.c (grub_arch_sync_caches): New function.
2N/A * util/misc.c (grub_arch_sync_caches): Likewise.
2N/A
2N/A2004-12-19 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (MOSTLYCLEANFILES): Remove
2N/A `symlist.c', add `grubof_symlist.c'.
2N/A (symlist.c): Variable removed.
2N/A (grubof_HEADERS): Variable added.
2N/A (grubof_symlist.c): New target.
2N/A (kernel_syms.lst): Use `grubof_HEADERS' instead of
2N/A `kernel_img_HEADERS'.
2N/A (grubof_SOURCES): Add `kern/powerpc/dl.c' and `grubof_symlist.c'.
2N/A * kern/powerpc/dl.c: New file.
2N/A * kern/powerpc/ieee1275/init.c (grub_arch_dl_check_header):
2N/A Function removed.
2N/A (grub_arch_dl_relocate_symbols): Likewise.
2N/A (grub_register_exported_symbols): Likewise.
2N/A
2N/A2004-12-13 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * fs/ext2.c (grub_ext2_open): Don't use data after freeing it.
2N/A (grub_ext2_dir): Likewise. Don't return in case of an error, jump
2N/A to fail instead. Reported by Vincent Pelletier
2N/A <subdino2004@yahoo.fr>.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_find_file): Don't free `oldnode' when
2N/A it is not allocated. Reported by Vincent Pelletier
2N/A <subdino2004@yahoo.fr>.
2N/A
2N/A * normal/cmdline.c (grub_tab_complete): Add a blank line to the
2N/A output so the output looks better.
2N/A
2N/A2004-12-04 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Modulize the partition map support and add support for the amiga
2N/A partition map.
2N/A
2N/A * commands/ls.c: Include <grub/partition.h> instead of
2N/A <grub/machine/partition.h>.
2N/A * kern/disk.c: Likewise.
2N/A * kern/rescue.c: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * normal/cmdline.c: Likewise.
2N/A * kern/powerpc/ieee1275/init.c: Likewise.
2N/A (grub_machine_init): Call `grub_pc_partition_map_init',
2N/A `grub_amiga_partition_map_init' and
2N/A `grub_apple_partition_map_init'.
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Remove
2N/A `disk/i386/pc/partition.c'. Add `kern/partition.c'.
2N/A (kernel_img_HEADERS): Remove `machine/partition.h'. Add
2N/A `partition.h' and `pc_partition.h'.
2N/A (grub_setup_SOURCES): Remove
2N/A `disk/i386/pc/partition.c'. Add `kern/partition.c',
2N/A `partmap/amiga.c', `partmap/apple.c' and `partmap/pc.c'.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add `amiga.mod', `apple.mod' and `pc.mod'.
2N/A (amiga_mod_SOURCES, amiga_mod_CFLAGS, apple_mod_SOURCES)
2N/A (apple_mod_CFLAGS, pc_mod_SOURCES, pc_mod_CFLAGS): New variables.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove
2N/A `disk/powerpc/ieee1275/partition.c'. Add `kern/partition.c',
2N/A `partmap/amiga.c', `partmap/apple.c' and `partmap/pc.c'.
2N/A (grubof_SOURCES): Likewise.
2N/A * disk/i386/pc/partition.c: File removed.
2N/A * disk/powerpc/ieee1275/partition.c: Likewise.
2N/A * include/grub/powerpc/ieee1275/partition.h: Likewise.
2N/A * include/grub/i386/pc/partition.h: Likewise.
2N/A * kern/partition.c: New file.
2N/A * partmap/amiga.c: Likewise.
2N/A * partmap/apple.c: Likewise.
2N/A * partmap/pc.c: Likewise.
2N/A * include/grub/partition.h: Likewise..
2N/A * include/grub/pc_partition.h: Likewise.
2N/A * util/grub-emu.c: Include <grub/partition.h> instead of
2N/A <grub/machine/partition.h>.
2N/A (main): Call `grub_pc_partition_map_init',
2N/A `grub_amiga_partition_map_init' and
2N/A `grub_apple_partition_map_init' and deinitialize afterwards.
2N/A * util/i386/pc/biosdisk.c: Include `#include
2N/A <grub/partition.h>' and `include <grub/pc_partition.h>' instead of
2N/A `<grub/machine/partition.h>'.
2N/A * util/i386/pc/grub-setup.c: Likewise.
2N/A * util/i386/pc/biosdisk.c: Likewise.
2N/A (grub_util_biosdisk_get_grub_dev): Only access the PC specific
2N/A partition information in case of a PC partition.
2N/A * util/i386/pc/grub-setup.c: Include `#include
2N/A <grub/partition.h>' and `include <grub/pc_partition.h>' instead of
2N/A `<grub/machine/partition.h>'.
2N/A (setup): Only access the PC specific partition information in case
2N/A of a PC partition.
2N/A
2N/A2004-11-17 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (grub_setjmp): Remove function.
2N/A (grub_longjmp): Likewise.
2N/A * include/grub/powerpc/setjmp.h (grub_jmp_buf): Set array size to
2N/A 20.
2N/A * normal/powerpc/setjmp.S: New file.
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Add
2N/A `normal/powerpc/setjmp.S'.
2N/A (grubof_CFLAGS): Add `-DGRUBOF'.
2N/A * include/grub/setjmp.h [GRUB_UTIL]: Changed condition to
2N/A [GRUB_UTIL && !GRUBOF].
2N/A
2N/A2004-11-16 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Skip any
2N/A property named `name'. Correctly handle the error returned by
2N/A `grub_ieee1275_finddevice' if a device can not be opened.
2N/A
2N/A2004-11-02 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_readkey): Test
2N/A `actual' for negativity.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove
2N/A kern/fshelp.c.
2N/A
2N/A2004-11-01 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * term/i386/pc/vga.c (VGA_HEIGHT): Changed to 350.
2N/A (PAGE_OFFSET): New macro.
2N/A (CRTC_ADDR_PORT): Likewise.
2N/A (CRTC_DATA_PORT): Likewise.
2N/A (START_ADDR_HIGH_REGISTER): Likewise.
2N/A (START_ADDR_LOW_REGISTER): Likewise.
2N/A (GRAPHICS_ADDR_PORT): Likewise.
2N/A (GRAPHICS_DATA_PORT): Likewise.
2N/A (READ_MAP_REGISTER): Likewise.
2N/A (INPUT_STATUS1_REGISTER): Likewise.
2N/A (INPUT_STATUS1_VERTR_BIT): Likewise.
2N/A (page): New variable.
2N/A (wait_vretrace): New function.
2N/A (set_read_map): Likewise.
2N/A (set_start_address): Likewise.
2N/A (grub_vga_init): Use mode 0x10 instead of mode 0x12. Switch to
2N/A the right page.
2N/A (check_vga_mem): Take the page into account.
2N/A (write_char): Likewise.
2N/A (write_cursor): Likewise.
2N/A (scroll_up): Likewise. Copy the page to the page that is not
2N/A shown and switch between both pages.
2N/A (grub_vga_putchar): Fix off by one error.
2N/A (grub_vga_cls): Wait for the vertical retrace. Take the page into
2N/A account.
2N/A
2N/A2004-11-01 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add support for iso9660 (including rockridge).
2N/A
2N/A * conf/i386-pc.rmk (grub_emu_SOURCES): Add fs/iso9660.c.
2N/A (iso9660_mod_SOURCES): New variable.
2N/A (iso9660_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/iso9660.c.
2N/A * include/grub/fs.h (grub_iso9660_init): New prototype.
2N/A * util/grub-emu.c (main): Call `grub_iso9660_init'.
2N/A * fs/iso9660.c: New file.
2N/A
2N/A * include/grub/misc.h (grub_strncat): New prototype.
2N/A * kern/misc.c (grub_strncat): New function.
2N/A
2N/A * fs/hfs.c (grub_hfs_mount): Translate the error
2N/A `GRUB_ERR_OUT_OF_RANGE' to `GRUB_ERR_BAD_FS'.
2N/A * fs/jfs.c (grub_jfs_mount): Likewise.
2N/A * fs/ufs.c (grub_ufs_mount): Likewise.
2N/A
2N/A2004-10-28 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (cmain): Remove asm statements
2N/A which initialized BAT registers.
2N/A * boot/powerpc/ieee1275/ieee1275.c (IEEE1275_CALL_ENTRY_FN,
2N/A grub_ieee1275_common_hdr, INIT_IEEE1275_COMMON):
2N/A Move from here...
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (IEEE1275_CALL_ENTRY_FN,
2N/A grub_ieee1275_common_hdr, INIT_IEEE1275_COMMON):
2N/A ... to here.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_map): New function.
2N/A (grub_mapclaim): Likewise.
2N/A * loader/powerpc/ieee1275/linux.c (grub_load_linux): Use
2N/A grub_mapclaim instead of grub_ieee1275_claim. Assign linux_addr by
2N/A hand.
2N/A
2N/A2004-10-19 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (COMMON_ASFLAGS): Remove -fno-builtin.
2N/A (COMMON_CFLAGS): Remove -fno-builtin and -D__ASSEMBLY__. Add
2N/A -ffreestanding and -msoft-float.
2N/A
2N/A2004-10-15 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Do not
2N/A append ":0" to devpath if the GRUB_IEEE1275_NO_PARTITION_0 flag is
2N/A set in grub_ieee1275_flags.
2N/A
2N/A2004-10-14 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (abort): Add function
2N/A prototype.
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_init): Call
2N/A grub_console_init first.
2N/A Change the memory range used for grub_ieee1275_claim and
2N/A grub_mm_init_region.
2N/A Print an error message if the claim fails.
2N/A Include <grub/misc.h>.
2N/A
2N/A2004-10-13 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_iterate):
2N/A Call grub_children_iterate for device nodes of type `scsi',
2N/A `ide', or `ata'.
2N/A (grub_ofdisk_open): Remove manual device alias resolution.
2N/A Fix memory leak when device cannot be opened.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_children_iterate): New prototype.
2N/A * kern/powerpc/ieee1275/openfw.c (grub_children_iterate):
2N/A New function.
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property):
2N/A Return -1 if args.size was -1.
2N/A
2N/A2004-10-11 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c (grub_ieee1275_flags): New global.
2N/A (cmain): Accept 3 parameters. Test for 0xdeadbeef, indicating Old
2N/A World Macintosh. If Old Wold, set flag in grub_ieee1275_flags; claim
2N/A Open Firmware's memory for it; claim memory from _start to _end.
2N/A * boot/powerpc/ieee1275/crt0.S (__bss_start): New extern.
2N/A (_end): New extern.
2N/A (_start): Zero BSS from __bss_start to _end.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_flags):
2N/A New extern.
2N/A (GRUB_IEEE1275_NO_PARTITION_0): New #define.
2N/A
2N/A2004-10-11 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): Return
2N/A -1 if args.base was -1.
2N/A
2N/A2004-10-08 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * term/powerpc/ieee1275/ieee1275.c (grub_ofconsole_cls): Use an ANSI
2N/A escape sequence instead of a literal ^L. Also call
2N/A grub_ofconsole_gotoxy.
2N/A
2N/A2004-10-03 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): change
2N/A void * arguments to grub_addr_t. All callers updated. Also make
2N/A the `result' argument optional.
2N/A (grub_ieee1275_release): change void * arguments to grub_addr_t.
2N/A All callers updated.
2N/A
2N/A2004-09-22 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * commands/ls.c (grub_ls_list_files): Use the string following the
2N/A initial ')', if present, as the filesystem path.
2N/A * kern/rescue.c (grub_rescue_cmd_ls): Likewise.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): List crt0.S first.
2N/A
2N/A2004-09-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Make the source code of the menu interface more readable.
2N/A
2N/A * normal/menu.c: Include grub/mm.h.
2N/A (TERM_WIDTH): New macro.
2N/A (TERM_HEIGHT): Likewise.
2N/A (TERM_INFO_HEIGHT): Likewise.
2N/A (TERM_MARGIN): Likewise.
2N/A (TERM_SCROLL_WIDTH): Likewise.
2N/A (TERM_TOP_BORDER_Y): Likewise.
2N/A (TERM_LEFT_BORDER_X): Likewise.
2N/A (TERM_BORDER_WIDTH): Likewise.
2N/A (TERM_MESSAGE_HEIGHT): Likewise.
2N/A (TERM_BORDER_HEIGHT): Likewise.
2N/A (TERM_NUM_ENTRIES): Likewise.
2N/A (TERM_FIRST_ENTRY_Y): Likewise.
2N/A (TERM_ENTRY_WIDTH): Likewise.
2N/A (TERM_CURSOR_X): Likewise.
2N/A (draw_border): Use macros instead of magic numbers.
2N/A (print_entry): Likewise.
2N/A (print_entries): Likewise.
2N/A (run_menu): Likewise. Also, handle the key 'e'.
2N/A (run_menu_entry): Ignore empty command lines.
2N/A (print_message): Added a new argument EDIT. If EDIT is true,
2N/A print a different message.
2N/A (init_page): Likewise.
2N/A (edit_menu_entry): New function. Not implemented yet.
2N/A
2N/A2004-09-17 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add `linux.mod' and `multiboot.mod' so linux and multiboot kernels
2N/A can be loaded from normal mode.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Add `linux.mod' and
2N/A `multiboot.mod'.
2N/A (linux_mod_SOURCES, linux_mod_CFLAGS, multiboot_mod_SOURCES)
2N/A (multiboot_mod_CFLAGS): New variables.
2N/A * loader/i386/pc/linux_normal.c: New file.
2N/A * loader/i386/pc/multiboot_normal.c: Likewise.
2N/A
2N/A * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Don't use the
2N/A attribute `unused'.
2N/A
2N/A * fs/ext2.c (grub_ext2_iterate_dir): Fix typos in inode type. Use
2N/A `fdiro' to read the mode information from instead of `diro'.
2N/A
2N/A * fs/fshelp.c (grub_fshelp_find_file): Set type to foundtype after
2N/A looking up a symlink.
2N/A
2N/A * include/grub/normal.h (GRUB_COMMAND_FLAG_NO_ARG_PARSE): New
2N/A macro.
2N/A * normal/command.c (grub_command_execute): Don't parse the
2N/A arguments when `GRUB_COMMAND_FLAG_NO_ARG_PARSE' is set in the
2N/A flags of the command.
2N/A
2N/A * normal/menu.c (grub_menu_run): Fix typo.
2N/A
2N/A2004-09-14 Hollis Blanchard <hollis@penguinppc.org>
2N/A
2N/A * kern/powerpc/ieee1275/init.c (abort): Trap into Open Firmware.
2N/A
2N/A * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_gotoxy): Use
2N/A `y + 1' instead of `y - 1'.
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grubof_LDFLAGS): Add `-N' and `-S'.
2N/A
2N/A2004-09-14 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A From Hollis Blanchard <hollis@penguinppc.org>:
2N/A * kern/misc.c (memmove): New alias for grub_memmove.
2N/A (memcmp): New alias for grub_memcmp.
2N/A (memset): New alias for grub_memset.
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property):
2N/A Change "int handle" to "grub_ieee1275_phandle_t handle".
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_get_property): Likewise.
2N/A
2N/A2004-09-12 Tomas Ebenlendr <ebik@ucw.cz>
2N/A
2N/A Added normal mode command `chainloader' as module chain.mod, which
2N/A depends on normal.mod and _chain.mod.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Add `chain.mod'.
2N/A (chain_mod_SOURCES, chain_mod_CFLAGS): Variables added.
2N/A * include/grub/i386/pc/loader.h (grub_rescue_cmd_chainloader):
2N/A Deleted prototype.
2N/A * loader/i386/pc/chainloader.c (grub_rescue_cmd_chainloader): All
2N/A but arguments parsing moved to ...
2N/A (grub_chainloader_cmd): ... here. New function.
2N/A * include/grub/i386/pc/chainloader.h: New file.
2N/A * loader/i386/pc/chainloader_normal.c: Likewise.
2N/A
2N/A2004-09-11 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Added kern/fshelp.c.
2N/A (grub_mkimage_LDFLAGS): Likewise.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (kernel_img_HEADERS): Added fshelp.h.
2N/A * fs/ext2.c: Include <grub/fshelp.h>.
2N/A (FILETYPE_REG): New macro.
2N/A (FILETYPE_INO_REG): Likewise.
2N/A (grub_ext_sblock): Renamed to `grub_ext2_sblock'.
2N/A Changed all users.
2N/A (ext2_block_group): Renamed to `grub_ext2_block_group'. Changed
2N/A all users.
2N/A (grub_fshelp_node): New struct.
2N/A (grub_ext2_data): Added member `diropen'. Changed member `inode'
2N/A to a pointer.
2N/A (grub_ext2_get_file_block): Removed function.
2N/A (grub_ext2_read_block): New function.
2N/A (grub_ext2_read_file): Replaced parameter `data' by `node'.
2N/A This function was written.
2N/A (grub_ext2_mount): Read the root inode. Create a diropen struct.
2N/A (grub_ext2_find_file): Removed function.
2N/A (grub_ext2_read_symlink): New function.
2N/A (grub_ext2_iterate_dir): Likewise.
2N/A (grub_ext2_open): Rewritten.
2N/A (grub_ext2_dir): Rewritten.
2N/A * include/grub/fshelp.h: New file.
2N/A * fs/fshelp.c: Likewise.
2N/A
2N/A2004-09-10 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * normal/menu.c: Include grub/loader.h and grub/machine/time.h.
2N/A (print_message): Add a missing newline.
2N/A (run_menu): Added timeout support.
2N/A (run_menu_entry): New local function.
2N/A (grub_menu_run): Added support for booting.
2N/A
2N/A * kern/loader.c (grub_loader_is_loaded): New function.
2N/A
2N/A * include/grub/powerpc/ieee1275/time.h: Include grub/symbol.h.
2N/A (grub_get_rtc): Exported.
2N/A
2N/A * include/grub/i386/pc/time.h: Include grub/symbol.h.
2N/A (grub_get_rtc): Exported.
2N/A
2N/A * include/grub/normal.h (struct grub_command_list): Remove
2N/A constant from the member `command'.
2N/A
2N/A * include/grub/loader.h (grub_loader_is_loaded): Declared.
2N/A
2N/A * include/grub/err.h (GRUB_ERR_INVALID_COMMAND): New constant.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/time.h.
2N/A
2N/A2004-08-28 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add support for the JFS filesystem.
2N/A
2N/A * fs/jfs.c: New file.
2N/A * include/grub/fs.h (grub_jfs_init): New prototype.
2N/A (grub_jfs_fini): New prototype.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/jfs.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add jfs.mod.
2N/A (jfs_mod_SOURCES): New variable.
2N/A (jfs_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs.jfs.c.
2N/A (grubof_SOURCES): Likewise.
2N/A * util/grub-emu.c (main): Initialize and deinitialize JFS support.
2N/A
2N/A * fs/fat.c (grub_fat_find_dir): Convert the filename little
2N/A endian to the host endian.
2N/A (grub_fat_utf16_to_utf8): Move function from there...
2N/A * kern/misc.c (grub_utf16_to_utf8): ...to here. Do not convert
2N/A the endianness of the source string anymore.
2N/A * include/grub/misc.h (grub_utf16_to_utf8): New prototype.
2N/A
2N/A2004-08-24 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * commands/boot.c (grub_boot_init) [GRUB_UTIL]: Make conditional.
2N/A (grub_boot_fini) [GRUB_UTIL]: Likewise.
2N/A (GRUB_MOD_INIT) [!GRUB_UTIL]: Likewise.
2N/A (GRUB_MOD_FINI) [!GRUB_UTIL]: Likewise.
2N/A
2N/A * fs/hfs.c (grub_hfs_find_node): Add a prototype for `node_found'.
2N/A (grub_hfs_iterate_dir): Make the function static. Add prototypes
2N/A for `node_found' and `it_dir'.
2N/A (grub_hfs_dir): Add prototype for `dir_hook'.
2N/A
2N/A * fs/minix.c (grub_minix_get_file_block): Add prototype for
2N/A `grub_get_indir'. Rename `indir' in two blocks to `indir16'
2N/A and `indir32' to silence a gcc warning.
2N/A
2N/A * include/grub/fs.h (grub_hfs_init): New prototype.
2N/A (grub_hfs_fini): Likewise.
2N/A
2N/A
2N/A2004-08-21 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Each disk device has its own id now. This is useful to make use
2N/A of multiple disk devices.
2N/A
2N/A * include/grub/disk.h (grub_disk_dev_id): New enum.
2N/A (GRUB_DISK_DEVICE_BIOSDISK_ID): New constant.
2N/A (GRUB_DISK_DEVICE_OFDISK_ID): Likewise.
2N/A
2N/A * disk/i386/pc/biosdisk.c (grub_biosdisk_dev): Specify
2N/A GRUB_DISK_DEVICE_BIOSDISK_ID as an id.
2N/A
2N/A * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_dev): Specify
2N/A GRUB_DISK_DEVICE_OFDISK_ID as an id.
2N/A
2N/A * util/i386/pc/biosdisk.c (grub_util_biosdisk_dev): Specify
2N/A GRUB_DISK_DEVICE_BIOSDISK_ID as an id.
2N/A
2N/A * include/grub/disk.h (struct grub_disk_dev): Added a new member
2N/A "id" which is used by the cache manager.
2N/A
2N/A * normal/main.c (grub_normal_init_page): Use "GNU GRUB" instead
2N/A of just "GRUB".
2N/A
2N/A2004-08-18 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * fs/hfs.c: New file.
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/hfs.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add hfs.mod.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/hfs.c.
2N/A (grubof_SOURCES): Likewise.
2N/A * util/grub-emu.c (main): Initialize and deinitialize HFS support.
2N/A
2N/A * include/grub/misc.h (grub_strncasecmp): Add prototype.
2N/A * kern/misc.c (grub_strncasecmp): Add function.
2N/A
2N/A2004-08-14 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * include/grub/arg.h (GRUB_ARG_OPTION_OPTIONAL): Surround macro
2N/A with parentheses.
2N/A
2N/A * fs/ext2.c (FILETYPE_UNKNOWN): New macro.
2N/A (grub_ext2_dir): In case the directory entry type is unknown, read
2N/A it from the inode.
2N/A
2N/A2004-08-02 Peter Bruin <pjbruin@dds.nl>
2N/A
2N/A * loader/powerpc/ieee1275/linux.c (grub_linux_init): Pass
2N/A grub_load_linux instead of grub_rescue_cmd_linux as second
2N/A argument of grub_rescue_register_command.
2N/A
2N/A * Makefile.in (RMKFILES): Add conf/powerpc-ieee1275.rmk.
2N/A
2N/A2004-07-27 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_release): New
2N/A function.
2N/A * commands/boot.c: Remove the check for `GRUB_UTIL'.
2N/A * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Add
2N/A `loader/powerpc/ieee1275/linux.c',
2N/A `loader/powerpc/ieee1275/linux_normal.c' and `commands/boot.c'.
2N/A * include/grub/powerpc/ieee1275/ieee1275.h
2N/A (grub_ieee1275_release): New prototype.
2N/A * include/grub/powerpc/ieee1275/loader.h: Rewritten.
2N/A * kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize
2N/A normal, boot, linux and linux_normal.
2N/A * loader/powerpc/ieee1275/linux.c: New file.
2N/A * loader/powerpc/ieee1275/linux_normal.c: Likewise.
2N/A
2N/A2004-07-12 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * normal/arg.c (grub_arg_parse): Correct error handling after
2N/A reallocating the argumentlist (check if `argl' is not null instead
2N/A of checking if `args' is not null).
2N/A * kern/mm.c (grub_realloc): Return the same pointer when using the
2N/A same region, instead of returning the header address.
2N/A
2N/A2004-07-11 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * disk/powerpc/ieee1275/partition.c (grub_partition_iterate): Skip
2N/A one block instead of two when looking for the initial partition.
2N/A (grub_partition_probe): Initialize the local variable `p' with 0.
2N/A Use base 10 for the grub_strtoul call.
2N/A * kern/misc.c (grub_strncpy): Fix off by one bug. Eliminated the
2N/A need for one local variable.
2N/A (grub_strtoul): Don't add the new value to `num', instead of that
2N/A just assign it.
2N/A
2N/A2004-07-11 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_IMAGE): Add pxeboot.img.
2N/A (pxeboot_img_SOURCES): New variable.
2N/A (pxeboot_img_ASFLAGS): Likewise.
2N/A (pxeboot_img_LDFLAGS): Likewise.
2N/A * boot/i386/pc/pxeboot.S: New file. Based on pxeloader.S from
2N/A GRUB Legacy and boot.S. Adopted for GRUB 2 by lode leroy
2N/A <lode_leroy@hotmail.com>.
2N/A
2N/A2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
2N/A
2N/A * kern/rescue.c (grub_enter_rescue_mode): Don't continue when
2N/A there was no input.
2N/A
2N/A2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
2N/A
2N/A * normal/cmdline.c (grub_set_history): Fix off by one bug. Fixed
2N/A the history buffer logic.
2N/A
2N/A2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
2N/A
2N/A * fs/ext2.c (FILETYPE_INO_MASK, FILETYPE_INO_DIRECTORY)
2N/A (FILETYPE_INO_SYMLINK): New macros.
2N/A (grub_ext2_find_file): Check if the node is a directory using the
2N/A inode stat information instead of using the filetype in the
2N/A dirent. Exclude the first character of an absolute symlink.
2N/A (grub_ext2_dir): Mask out the filetype part of the mode member of
2N/A the inode.
2N/A
2N/A2004-05-24 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add support for UFS version 1 and 2. Add support for the minix
2N/A filesystem version 1 and 2, both the variants with 14 and 30 long
2N/A filenames.
2N/A
2N/A * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ufs.c and
2N/A fs/minix.c.
2N/A (grub_emu_SOURCES): Likewise.
2N/A (pkgdata_MODULES): Add ufs.mod and minix.mod.
2N/A (ufs_mod_SOURCES): New variable.
2N/A (ufs_mod_CFLAGS): Likewise.
2N/A (minix_mod_SOURCES): Likewise.
2N/A (minix_mod_CFLAGS): Likewise.
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/ufs.c and
2N/A fs/minix.c.
2N/A (grubof_SOURCES): Likewise.
2N/A * fs/ufs.c: New file.
2N/A * fs/minix.c: New file.
2N/A * include/grub/fs.h (grub_ufs_init): New prototype.
2N/A (grub_ufs_fini): Likewise.
2N/A (grub_minix_init): Likewise.
2N/A (grub_minix_fini): Likewise.
2N/A * util/grub-emu.c (main): Initialize and deinitialize UFS and
2N/A minix fs.
2N/A
2N/A2004-04-30 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add normal/arg.c,
2N/A commands/ls.c, commands/terminal.c, commands/boot.c,
2N/A commands/cmp.c and commands/cat.c.
2N/A (grubof_LDFLAGS): Add -nostdlib -static-libgcc -lgcc.
2N/A
2N/A * kern/powerpc/ieee1275/init.c: Include "grub/env.h" instead of
2N/A "env.h"
2N/A
2N/A2004-04-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A All symbols prefixed with PUPA_ and pupa_ are renamed to GRUB_
2N/A and grub_, respectively. Because the conversion is trivial and
2N/A mechanical, I omit the details here. Please refer to the CVS
2N/A if you need more information.
2N/A
2N/A2004-04-04 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/pupa: Renamed to ...
2N/A * include/grub: ... this.
2N/A * util/i386/pc/pupa-mkimage.c: Renamed to ...
2N/A * util/i386/pc/grub-mkimage.c: ... this.
2N/A * util/i386/pc/pupa-setup.c: Renamed to ...
2N/A * util/i386/pc/grub-setup.c: ... this.
2N/A * util/pupa-emu.c: Renamed to ...
2N/A * util/grub-emu.c: ... this.
2N/A
2N/A2004-03-29 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A Add support for the newworld apple macintosh (PPC). This has been
2N/A tested on the powerbook 2000 only. It only adds support for
2N/A generic ieee1275 functions, console and disk support. This should
2N/A be easy to port to other architectures with support for Open
2N/A Firmware.
2N/A
2N/A * configure.ac: Accept the powerpc as host_cpu. In the case of
2N/A the powerpc cpu set the host_vendor to ieee1275. Make sure the i386
2N/A specific tests are only executed while building for the i386.
2N/A Inverse test for crosscompile.
2N/A * genmk.rb (Utility): Allow assembler files.
2N/A * normal/cmdline.c (pupa_tab_complete): Reset pupa_errno.
2N/A * conf/powerpc-ieee1275.rmk: New file.
2N/A * disk/powerpc/ieee1275/ofdisk.c: Likewise.
2N/A * disk/powerpc/ieee1275/partition.c: Likewise.
2N/A * include/pupa/powerpc/ieee1275/biosdisk.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/console.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/partition.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/time.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/util/biosdisk.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/multiboot.h: Likewise.
2N/A * include/pupa/powerpc/ieee1275/loader.h
2N/A * include/pupa/powerpc/setjmp.h: Likewise.
2N/A * include/pupa/powerpc/types.h: Likewise.
2N/A * kern/powerpc/ieee1275/init.c: Likewise.
2N/A * kern/powerpc/ieee1275/openfw.c: Likewise.
2N/A * term/powerpc/ieee1275/ofconsole.c: Likewise.
2N/A
2N/A These files were written by Johan Rydberg
2N/A (jrydberg@night.trouble.net) and I only modified them slightly.
2N/A
2N/A * boot/powerpc/ieee1275/cmain.c: New file.
2N/A * boot/powerpc/ieee1275/crt0.S: Likewise.
2N/A * boot/powerpc/ieee1275/ieee1275.c: Likewise.
2N/A * include/pupa/powerpc/ieee1275/ieee1275.h: Likewise.
2N/A
2N/A2004-03-14 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * Makefile.in: Update copyright.
2N/A * genmodsrc.sh: Likewise.
2N/A * gensymlist.sh: Likewise.
2N/A * term/i386/pc/vga.c: Indent correctly.
2N/A
2N/A * util/i386/pc/pupa-mkimage.c (usage): Use PACKAGE_BUGREPORT as
2N/A bugreporting address.
2N/A * util/i386/pc/pupa-setup.c (usage): Likewise,
2N/A (main): Call pupa_ext2_init and pupa_ext2_fini.
2N/A
2N/A * fs/fat.c (log2): Renamed to ...
2N/A (fat_log2): ... this.
2N/A All callers changed.
2N/A * kern/misc.c (memcpy): Alias to pupa_memmove.
2N/A * loader/i386/pc/multiboot.c (pupa_rescue_cmd_multiboot): Fix
2N/A lvalue cast.
2N/A * util/console.c (pupa_ncurses_fini): Return 0.
2N/A
2N/A * util/i386/pc/biosdisk.c (pupa_util_biosdisk_open)[__linux__]:
2N/A Move fail label here.
2N/A [__GNU__]: Don't warn when using stat.
2N/A (open_device)[!__linux__]: Check if FD < 0 instead of !FD.
2N/A (pupa_util_biosdisk_get_pupa_dev)[__GNU__]: Change type of N to
2N/A long int. Use strtol instead of strtoul.
2N/A
2N/A2004-03-14 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * commands/boot.c: New file.
2N/A * commands/cat.c: Likewise.
2N/A * commands/cmp.c: Likewise.
2N/A * commands/ls.c: Likewise.
2N/A * commands/terminal.c: Likewise.
2N/A * normal/command.c: Include <pupa/env.h> and <pupa/dl.h>.
2N/A (pupa_register_command): Changed interface to match the new
2N/A argument parser.
2N/A (pupa_command_execute): Changed (almost rewritten) so it uses
2N/A pupa_split_command. Added support for setting variables using the
2N/A syntax `foo=bar'.
2N/A (rescue_command): Changed to work with the new argument parser.
2N/A (terminal_command): Moved from here to commands/terminal.c.
2N/A (set_command): New function.
2N/A (unset_command): New function.
2N/A (insmod_command): New function.
2N/A (rmmod_command): New function.
2N/A (lsmod_command): New function.
2N/A (pupa_command_init): Don't initialize the command terminal
2N/A anymore. Initialize the commands set, unset, insmod, rmmod and
2N/A lsmod.
2N/A * conf/i386-pc.rmk (kernel_img_SOURCES): Add kern/env.c.
2N/A (kernel_img_HEADERS): Add arg.h and env.h.
2N/A (pupa_mkimage_LDFLAGS): Add kern/env.c.
2N/A (pupa_emu_SOURCES): Add kern/env.c, commands/ls.c,
2N/A commands/terminal.c commands/boot.c commands/cmp.c commands/cat.c,
2N/A normal/arg.c.
2N/A (pkgdata_MODULES): Add ls.mod, boot.mod, cmp.mod, cat.mod and
2N/A terminal.mod.
2N/A (normal_mod_SOURCES): Add normal/arg.c and normal/arg.c.
2N/A (boot_mod_SOURCES): New variable.
2N/A (terminal_mod_SOURCES): Likewise.
2N/A (ls_mod_SOURCES): Likewise.
2N/A (cmp_mod_SOURCES): Likewise.
2N/A (cat_mod_SOURCES): Likewise.
2N/A
2N/A * normal/arg.c: New file.
2N/A * kern/env.c: Likewise.
2N/A * include/pupa/arg.h: Likewise.
2N/A * include/pupa/env.h: Likewise.
2N/A * font/manager.c (font_command): Changed to match argument parsing
2N/A interface changes.
2N/A (PUPA_MOD_INIT): Likewise.
2N/A * hello/hello.c (pupa_cmd_hello): Likewise.
2N/A (PUPA_MOD_INIT): Likewise.
2N/A * include/pupa/disk.h: Include <pupa/device.h>.
2N/A (pupa_print_partinfo): New prototype.
2N/A * include/pupa/dl.h (pupa_dl_set_prefix): Prototype removed.
2N/A (pupa_dl_get_prefix): Likewise.
2N/A * include/pupa/misc.h: Include <pupa/err.h>.
2N/A (pupa_isgraph): New prototype.
2N/A (pupa_isdigit): Likewise.
2N/A (pupa_split_cmdline): Likewise.
2N/A * include/pupa/normal.h: Include <pupa/arg.h>.
2N/A (pupa_command): Changed the prototype of the member `func' to
2N/A match the argument parsing interface. Added member `options'.
2N/A (pupa_register_command): Updated to match function.
2N/A (pupa_arg_parse): New prototype.
2N/A (pupa_hello_init) [PUPA_UTIL]: New prototype.
2N/A (pupa_hello_fini) [PUPA_UTIL]: Likewise.
2N/A (pupa_ls_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_ls_fini) [PUPA_UTIL]: Likewise.
2N/A (pupa_cat_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_cat_fini) [PUPA_UTIL]: Likewise.
2N/A (pupa_boot_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_boot_fini) [PUPA_UTIL]: Likewise.
2N/A (pupa_cmp_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_cmp_fini) [PUPA_UTIL]: Likewise.
2N/A (pupa_terminal_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_terminal_fini) [PUPA_UTIL]: Likewise.
2N/A * kern/disk.c: Include <pupa/file.h>.
2N/A (pupa_print_partinfo): New function.
2N/A * kern/dl.c: Include <pupa/env.h>.
2N/A (pupa_dl_dir): Variable removed.
2N/A (pupa_dl_load): Use the environment variable `prefix' instead of
2N/A the variable pupa_dl_dir.
2N/A (pupa_dl_set_prefix): Function removed.
2N/A (pupa_dl_get_prefix): Likewise.
2N/A * kern/i386/pc/init.c: Include <pupa/env.h>.
2N/A (pupa_machine_init): Use the environment variable `prefix' instead of
2N/A using pupa_dl_set_prefix to set the prefix.
2N/A * kern/main.c: Include <pupa/env.h>.
2N/A (pupa_set_root_dev): Use the environment variable `prefix' instead of
2N/A using pupa_dl_get_prefix to get the prefix.
2N/A * kern/misc.c: Include <pupa/env.h>.
2N/A (pupa_isdigit): New function.
2N/A (pupa_isgraph): Likewise.
2N/A (pupa_ftoa): Likewise.
2N/A (pupa_vsprintf): Added support for printing values of the type
2N/A `double'. Make it possible to format variable output when using
2N/A formatting like `%1.2%f'.
2N/A (pupa_split_cmdline): New function.
2N/A * kern/rescue.c: Include <pupa/env.h>.
2N/A (next_word): Removed function.
2N/A (pupa_rescue_cmd_prefix): Likewise.
2N/A (pupa_rescue_cmd_set): New function.
2N/A (pupa_rescue_cmd_unset): New function.
2N/A (pupa_enter_rescue_mode): Use the `pupa_split_cmdline' function to
2N/A split the command line instead of splitting it here. Added
2N/A support for setting variables using the syntax `foo=bar'. Don't
2N/A initialize the prefix command anymore. Initialized the set and
2N/A unset commands.
2N/A * normal/cmdline.c: Include <pupa/env.h>.
2N/A (pupa_tab_complete): Added prototypes for print_simple_completion,
2N/A print_partition_completion, add_completion, iterate_commands,
2N/A iterate_dev, iterate_part and iterate_dir. Moved code to print
2N/A partition information from here to kern/disk.c.
2N/A (pupa_cmdline_run): Don't check if the function exists anymore.
2N/A * normal/main.c: Include <pupa/env.h>.
2N/A (pupa_rescue_cmd_normal): Use the environment variable `prefix'
2N/A instead of using pupa_dl_get_prefix to get the prefix.
2N/A * term/i386/pc/vga.c: Include <pupa/arg.h>.
2N/A (check_vga_mem): Cast pointers to `void *' to silence a gcc
2N/A warning.
2N/A (pupa_vga_putchar) [! DEBUG_VGA]: Removed for this case.
2N/A (pupa_vga_setcolor): Declare unused variables with `__attribute__
2N/A ((unused))' to silence a gcc warning.
2N/A (pupa_vga_setcolor): Likewise.
2N/A (debug_command): Changed to match argument parsing
2N/A interface changes.
2N/A * util/pupa-emu.c: Include <pupa/env.h>.
2N/A (options): Added 0's for unused fields to silence a gcc warning.
2N/A (argp): Likewise.
2N/A (main): Use the environment variable `prefix' instead of using
2N/A pupa_dl_set_prefix to set the prefix. Initialize the commands ls,
2N/A boot, cmp, cat and terminal. Finish the commands boot, cmp, cat
2N/A and terminal.
2N/A
2N/A * util/i386/pc/getroot.c: Include <pupa/i386/pc/util/biosdisk.h>.
2N/A * util/misc.c: Include <malloc.h>.
2N/A (pupa_malloc): Rewritten so errors are correctly reported.
2N/A (pupa_realloc): Likewise.
2N/A (pupa_memalign): Likewise.
2N/A (pupa_mm_init_region): Declare unused variables with
2N/A `__attribute__ ((unused))' to silence a gcc warning.
2N/A * normal/i386/setjmp.S: Remove tab at the end of the file to
2N/A silence a gcc warning.
2N/A * loader/i386/pc/linux.c (pupa_rescue_cmd_initrd): Declare unused
2N/A variables with `__attribute__ ((unused))' to silence a gcc
2N/A warning.
2N/A * loader/i386/pc/multiboot.c (pupa_multiboot_unload): Make the
2N/A local variable i unsigned to silence a gcc warning.
2N/A
2N/A * kern/term.c: Include <pupa/misc.h>.
2N/A (pupa_more_lines): New variable.
2N/A (pupa_more): Likewise.
2N/A (pupa_putcode): When the pager is active pause at the end of every
2N/A screen.
2N/A (pupa_set_more): New function.
2N/A * include/pupa/term.h (pupa_set_more): New prototype.
2N/A
2N/A
2N/A2004-03-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Now this project is GRUB 2 rather than PUPA. The location of
2N/A the CVS repository was moved to GRUB's.
2N/A
2N/A * configure.ac: Use bug-grub as the reporting address.
2N/A Use GRUB instead of PUPA.
2N/A Change the version number to 1.90.
2N/A
2N/A2004-02-24 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * genkernsyms.sh: Updated copyright information.
2N/A * genmk.rb: Likewise.
2N/A * genmodsrc.sh: Likewise.
2N/A * gensymlist.sh: Likewise.
2N/A * boot/i386/pc/boot.S: Likewise.
2N/A * boot/i386/pc/diskboot.S: Likewise.
2N/A * disk/i386/pc/biosdisk.c: Likewise.
2N/A * disk/i386/pc/partition.c: Likewise.
2N/A * font/manager.c: Likewise.
2N/A * fs/ext2.c: Likewise.
2N/A * fs/fat.c: Likewise.
2N/A * include/pupa/boot.h: Likewise.
2N/A * include/pupa/device.h: Likewise.
2N/A * include/pupa/disk.h: Likewise.
2N/A * include/pupa/dl.h: Likewise.
2N/A * include/pupa/elf.h: Likewise.
2N/A * include/pupa/err.h: Likewise.
2N/A * include/pupa/file.h: Likewise.
2N/A * include/pupa/font.h: Likewise.
2N/A * include/pupa/fs.h: Likewise.
2N/A * include/pupa/kernel.h: Likewise.
2N/A * include/pupa/loader.h: Likewise.
2N/A * include/pupa/misc.h: Likewise.
2N/A * include/pupa/mm.h: Likewise.
2N/A * include/pupa/net.h: Likewise.
2N/A * include/pupa/normal.h: Likewise.
2N/A * include/pupa/rescue.h: Likewise.
2N/A * include/pupa/setjmp.h: Likewise.
2N/A * include/pupa/symbol.h: Likewise.
2N/A * include/pupa/term.h: Likewise.
2N/A * include/pupa/types.h: Likewise.
2N/A * include/pupa/i386/setjmp.h: Likewise.
2N/A * include/pupa/i386/types.h: Likewise.
2N/A * include/pupa/i386/pc/biosdisk.h: Likewise.
2N/A * include/pupa/i386/pc/boot.h: Likewise.
2N/A * include/pupa/i386/pc/console.h: Likewise.
2N/A * include/pupa/i386/pc/init.h: Likewise.
2N/A * include/pupa/i386/pc/kernel.h: Likewise.
2N/A * include/pupa/i386/pc/linux.h: Likewise.
2N/A * include/pupa/i386/pc/loader.h: Likewise.
2N/A * include/pupa/i386/pc/memory.h: Likewise.
2N/A * include/pupa/i386/pc/multiboot.h: Likewise.
2N/A * include/pupa/i386/pc/partition.h: Likewise.
2N/A * include/pupa/i386/pc/time.h: Likewise.
2N/A * include/pupa/i386/pc/vga.h: Likewise.
2N/A * include/pupa/i386/pc/util/biosdisk.h: Likewise.
2N/A * include/pupa/util/getroot.h: Likewise.
2N/A * include/pupa/util/misc.h: Likewise.
2N/A * include/pupa/util/resolve.h: Likewise.
2N/A * kern/device.c: Likewise.
2N/A * kern/disk.c: Likewise.
2N/A * kern/dl.c: Likewise.
2N/A * kern/err.c: Likewise.
2N/A * kern/file.c: Likewise.
2N/A * kern/fs.c: Likewise.
2N/A * kern/loader.c: Likewise.
2N/A * kern/main.c: Likewise.
2N/A * kern/misc.c: Likewise.
2N/A * kern/mm.c: Likewise.
2N/A * kern/rescue.c: Likewise.
2N/A * kern/term.c: Likewise.
2N/A * kern/i386/dl.c: Likewise.
2N/A * kern/i386/pc/init.c: Likewise.
2N/A * kern/i386/pc/lzo1x.S: Likewise.
2N/A * kern/i386/pc/startup.S: Likewise.
2N/A * loader/i386/pc/chainloader.c: Likewise.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A * loader/i386/pc/multiboot.c: Likewise.
2N/A * normal/cmdline.c: Likewise.
2N/A * normal/command.c: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/menu.c: Likewise.
2N/A * normal/i386/setjmp.S: Likewise.
2N/A * term/i386/pc/console.c: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * util/console.c: Likewise.
2N/A * util/genmoddep.c: Likewise.
2N/A * util/misc.c: Likewise.
2N/A * util/pupa-emu.c: Likewise.
2N/A * util/resolve.c: Likewise.
2N/A * util/unifont2pff.rb: Likewise.
2N/A * util/i386/pc/biosdisk.c: Likewise.
2N/A * util/i386/pc/getroot.c: Likewise.
2N/A * util/i386/pc/pupa-mkimage.c: Likewise.
2N/A * util/i386/pc/pupa-setup.c: Likewise.
2N/A
2N/A2004-02-15 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * fs/ext2.c (pupa_ext2_read_file): Correct the value of BLOCKEND
2N/A when it is EXT2_BLOCK_SIZE (data). New argument READ_HOOK, all
2N/A callers changed. Set DATA->DISK->READ_HOOK to READ_HOOK before
2N/A reading and reset it after reading.
2N/A (pupa_ext2_close): Return PUPA_ERR_NONE.
2N/A
2N/A * include/pupa/i386/pc/linux.h (PUPA_LINUX_INITRD_MAX_ADDRESS):
2N/A Correct value.
2N/A (struct linux_kernel_header): Add kernel_version and
2N/A initrd_addr_max.
2N/A * loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Check whether
2N/A pupa_file_read succeeds.
2N/A (pupa_rescue_cmd_initrd): Implement.
2N/A
2N/A2003-12-03 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * fs/ext2.c (pupa_ext2_label): New function.
2N/A (pupa_ext2_fs): Added label.
2N/A * fs/fat.c (pupa_fat_label): New function.
2N/A (pupa_fat_fs): Added label.
2N/A * include/pupa/fs.h (struct pupa_fs): Added prototype label.
2N/A
2N/A * kern/misc.c (pupa_strndup): New function.
2N/A * include/pupa/misc.h (pupa_strndup): New prototype.
2N/A
2N/A * include/pupa/normal.h: Include <pupa/err.h>.
2N/A (pupa_set_history): New prototype.
2N/A (pupa_iterate_commands): New prototype.
2N/A * normal/cmdline.c: Include <pupa/machine/partition.h>,
2N/A <pupa/disk.h>, <pupa/file.h>.
2N/A (hist_size): New variable.
2N/A (hist_lines): Likewise.
2N/A (hist_end): Likewise.
2N/A (hist_used): Likewise.
2N/A (pupa_set_history): New function.
2N/A (pupa_history_get): Likewise.
2N/A (pupa_history_add): Likewise.
2N/A (pupa_history_replace): Likewise.
2N/A (pupa_tab_complete): Likewise.
2N/A (pupa_cmdline_run): Added tab completion and history buffer. Tab
2N/A completion shows partitionnames while completing partitions, this
2N/A feature was suggested by Jeff Bailey.
2N/A * normal/command.c (pupa_iterate_commands): New function.
2N/A * normal/main.c (PUPA_DEFAULT_HISTORY_SIZE): New macro.
2N/A (pupa_normal_init): Initialize history buffer.
2N/A (PUPA_MOD_INIT): Likewise.
2N/A (pupa_normal_fini): Free the history buffer.
2N/A (PUPA_MOD_FINI): Likewise.
2N/A
2N/A * util/console.c (pupa_ncurses_getkey): Accept 127 as backspace
2N/A key.
2N/A
2N/A * aclocal.m4 (pupa_I386_CHECK_REGPARM_BUG): New DEFUN.
2N/A * configure.ac [i386]: Check for regparam bug.
2N/A (NESTED_FUNC_ATTR) [! i386]: Defined.
2N/A
2N/A2003-11-17 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * conf/i386-pc.rmk (sbin_UTILITIES): Added pupa-emu.
2N/A (pupa_setup_SOURCES): Added util/i386/pc/getroot.c.
2N/A (pupa_emu_SOURCES): New variable.
2N/A (pupa_emu_LDFLAGS): Likewise.
2N/A * include/pupa/fs.h (pupa_ext2_init) [PUPA_UTIL]: New prototype.
2N/A (pupa_ext2_fini) [PUPA_UTIL]: Likewise.
2N/A * include/pupa/normal.h (pupa_normal_init) [PUPA_UTIL]: Likewise.
2N/A (pupa_normal_fini) [PUPA_UTIL]: Likewise.
2N/A * include/pupa/setjmp.h [PUPA_UTIL]: Include <setjmp.h>.
2N/A (pupa_jmp_buf): New typedef.
2N/A (pupa_setjmp) [PUPA_UTIL]: New macro.
2N/A (pupa_longjmp) [PUPA_UTIL]: Likewise.
2N/A * include/pupa/term.h (struct pupa_term): New member `refresh'.
2N/A (pupa_refresh): New prototype.
2N/A * include/pupa/util/getroot.h: New file.
2N/A * kern/misc.c (pupa_vsprintf): Refresh the screen after updating
2N/A it.
2N/A * kern/rescue.c (pupa_rescue_get_command_line): Likewise.
2N/A (pupa_rescue_cmd_cat): Likewise.
2N/A (pupa_rescue_cmd_ls): Likewise.
2N/A (pupa_rescue_cmd_testload): Likewise.
2N/A (pupa_rescue_cmd_lsmod): Likewise.
2N/A * normal/cmdline.c (pupa_cmdline_get): Likewise.
2N/A * normal/menu.c (run_menu): Likewise.
2N/A * kern/term.c (pupa_cls): Likewise.
2N/A (pupa_refresh): New function.
2N/A * normal/normal.c (pupa_normal_init) [PUPA_UTIL]: New function.
2N/A (pupa_normal_fini) [PUPA_UTIL]: Likewise.
2N/A * util/console.c: New file.
2N/A
2N/A * util/i386/pc/getroot.c: New file.
2N/A * util/i386/pc/pupa-setup.c: Include <pupa/util/getroot.h>.
2N/A (pupa_putchar): New function.
2N/A (pupa_refresh): Likewise.
2N/A (xgetcwd): Function moved to ...
2N/A (strip_extra_slashes): Likewise.
2N/A (get_prefix): Likewise.
2N/A * util/i386/pc/getroot.c: ... here.
2N/A (find_root_device): Function moved and renamed to...
2N/A * util/i386/pc/getroot.c (pupa_find_root_device): ... here.
2N/A Changed all callers.
2N/A * util/i386/pc/pupa-setup.c (guess_root_device): Function moved
2N/A and renamed to...
2N/A * util/i386/pc/getroot.c (pupa_guess_root_device): ... here.
2N/A Changed all callers.
2N/A * util/misc.c (pupa_memalign): New function.
2N/A (pupa_mm_init_region): Likewise.
2N/A (pupa_register_exported_symbols): Likewise.
2N/A (pupa_putchar): Function removed.
2N/A * util/pupa-emu.c: New file.
2N/A
2N/A2003-11-16 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Add _multiboot.mod.
2N/A (_multiboot_mod_SOURCES): New variable.
2N/A (_multiboot_mod_CFLAGS): Likewise.
2N/A * loader/i386/pc/multiboot.c: New file.
2N/A * include/pupa/i386/pc/multiboot.h: Likewise.
2N/A * kern/i386/pc/startup.S: Include pupa/machine/multiboot.h.
2N/A (pupa_multiboot_real_boot): New function.
2N/A * include/pupa/i386/pc/loader.h: Include pupa/machine/multiboot.h.
2N/A (pupa_multiboot_real_boot): New prototype.
2N/A (pupa_rescue_cmd_multiboot): Likewise
2N/A (pupa_rescue_cmd_module): Likewise.
2N/A
2N/A * kern/loader.c (pupa_loader_set): Continue when
2N/A pupa_loader_unload_func() fails.
2N/A (pupa_loader_unset): New function.
2N/A * include/pupa/loader.h (pupa_loader_unset): New prototype.
2N/A
2N/A * kern/misc.c (pupa_stpcpy): New function.
2N/A * include/pupa/misc.h (pupa_stpcpy): New prototype.
2N/A
2N/A2003-11-12 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * disk/i386/pc/biosdisk.c (pupa_biosdisk_open): Correctly check
2N/A for available extensions.
2N/A
2N/A * include/pupa/i386/pc/time.h: New file.
2N/A * kern/disk.c: Include <pupa/machine/time.h>.
2N/A (PUPA_CACHE_TIMEOUT): New macro.
2N/A (pupa_last_time): New variable.
2N/A (pupa_disk_open): Flush the cache when there was a timeout.
2N/A (pupa_disk_close): Reset the timer.
2N/A * kern/i386/pc/startup.S (pupa_get_rtc): Renamed from
2N/A pupa_currticks.
2N/A * util/misc.c: Include <sys/times.h>
2N/A (pupa_get_rtc): New function.
2N/A
2N/A2003-11-09 Jeroen Dekkers <jeroen@dekkers.cx>
2N/A
2N/A * fs/ext2.c (struct pupa_ext2_inode): Declare struct datablocks
2N/A as blocks.
2N/A (pupa_ext2_get_file_block): Use blocks member.
2N/A
2N/A * fs/ext2.c (pupa_ext2_read_file): Only set skipfirst for the
2N/A first block. Return -1 instead of pupa_errno on error.
2N/A
2N/A2003-10-27 Marco Gerards <metgerards@student.han.nl>
2N/A
2N/A * README: In the pupa-mkimage example use _chain instead of chain
2N/A and ext2 instead of fat.
2N/A * TODO: Replace ext2fs with jfs as an example. Add an item for
2N/A adding journal playback for ext2fs.
2N/A * conf/i386-pc.rmk (pupa_setup_SOURCES): Added fs/ext2.c.
2N/A (pkgdata_MODULES): Added ext2.mod.
2N/A (ext2_mod_SOURCES): New variable.
2N/A (ext2_mod_CFLAGS): Likewise.
2N/A * include/pupa/err.h (pupa_err_t): Added PUPA_ERR_SYMLINK_LOOP.
2N/A * include/pupa/misc.h (pupa_strncpy): New prototype.
2N/A (pupa_strcat): Likewise.
2N/A (pupa_strncmp): Likewise.
2N/A * kern/misc.c (pupa_strcat): Enable function.
2N/A (pupa_strncpy): New function.
2N/A (pupa_strncmp): Likewise.
2N/A * fs/ext2.c: New file.
2N/A
2N/A * kern/disk.c (pupa_disk_read): Set pupa_errno to PUPA_ERR_NONE
2N/A when the read failed before retrying.
2N/A * util/i386/pc/biosdisk.c (_LARGEFILE_SOURCE): Removed.
2N/A (_FILE_OFFSET_BITS): Likewise.
2N/A * configure.ac: Added AC_SYS_LARGEFILE.
2N/A
2N/A2003-09-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * genmk.rb (PModule#rule): Make sure to get only symbol names
2N/A from the output of nm.
2N/A Reported by Robert Millan <rmh.grub@aybabtu.com>.
2N/A
2N/A2003-09-25 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A I forgot to check in these changes for a long time. This adds
2N/A incomplete support for VGA console, and this is still very
2N/A buggy. Also, a lot of consideration is required for I18N,
2N/A UNICODE, and VGA font issues. Therefore, assume that this is
2N/A such that "better than nothing".
2N/A
2N/A * font/manager.c: New file.
2N/A * include/pupa/font.h: Likewise.
2N/A * include/pupa/i386/pc/vga.h: Likewise.
2N/A * term/i386/pc/vga.c: Likewise.
2N/A * util/unifont2pff.rb: Likewise.
2N/A
2N/A * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vga.h.
2N/A (pkgdata_MODULES): Added vga.mod and font.mod.
2N/A (vga_mod_SOURCES): New variables.
2N/A (vga_mod_CFLAGS): Likewise.
2N/A (font_mod_SOURCES): Likewise.
2N/A (font_mod_CFLAGS): Likewise.
2N/A
2N/A * include/pupa/err.h (PUPA_ERR_BAD_FONT): New constant.
2N/A
2N/A * include/pupa/term.h: Include pupa/err.h.
2N/A (struct pupa_term): Added init and fini.
2N/A Changed the argument of putchar to pupa_uint32_t.
2N/A
2N/A * include/pupa/i386/pc/console.h: Include pupa/symbol.h.
2N/A (pupa_console_real_putchar): New prototype.
2N/A (pupa_console_putchar): Removed.
2N/A (pupa_console_checkkey): Exported.
2N/A (pupa_console_getkey): Likewise.
2N/A
2N/A * kern/misc.c (pupa_vsprintf): Add support for UNICODE
2N/A characters.
2N/A
2N/A * kern/term.c (pupa_term_set_current): Rewritten.
2N/A (pupa_putchar): Likewise.
2N/A (pupa_putcode): New function.
2N/A
2N/A * kern/i386/pc/startup.S (pupa_console_putchar): Renamed to ...
2N/A (pupa_console_real_putchar): ... this.
2N/A (pupa_vga_set_mode): New function.
2N/A (pupa_vga_get_font): Likewise.
2N/A
2N/A * normal/command.c: Include pupa/term.h.
2N/A (terminal_command): New function.
2N/A (pupa_command_init): Register the command "terminal".
2N/A
2N/A * normal/menu.c (DISP_LEFT): Changed to a UNICODE value.
2N/A (DISP_UP): Likewise.
2N/A (DISP_RIGHT): Likewise.
2N/A (DISP_DOWN): Likewise.
2N/A (DISP_HLINE): Likewise.
2N/A (DISP_VLINE): Likewise.
2N/A (DISP_UL): Likewise.
2N/A (DISP_UR): Likewise.
2N/A (DISP_LL): Likewise.
2N/A (DISP_LR): Likewise.
2N/A
2N/A * term/i386/pc/console.c (pupa_console_putchar): New function.
2N/A
2N/A2003-02-08 NIIBE Yutaka <gniibe@m17n.org>
2N/A
2N/A * util/resolve.c (pupa_util_resolve_dependencies): BUG
2N/A FIX. Reverse the path_list.
2N/A
2N/A * include/pupa/normal.h: Export pupa_register_command and
2N/A pupa_unregister_command.
2N/A
2N/A * hello/hello.c (pupa_cmd_hello): New module.
2N/A * conf/i386-pc.rmk: Added hello.mod.
2N/A
2N/A2003-01-31 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/i386/pc/lzo1x.S: New file.
2N/A
2N/A * util/i386/pc/pupa-mkimage.c: Include lzo1x.h.
2N/A (compress_kernel): New variable.
2N/A (generate_image): Heavily modified to support compressing a
2N/A large part of the core image.
2N/A
2N/A * util/misc.c (pupa_util_read_image): Fix a file descriptor
2N/A leak.
2N/A (pupa_util_load_image): New function.
2N/A
2N/A * kern/i386/pc/startup.S: Include pupa/machine/kernel.h.
2N/A (pupa_compressed_size): New variable.
2N/A (codestart): Enable Gate A20 here.
2N/A Decompress the compressed part of the core image.
2N/A Rearrange the code to put functions and variables which are
2N/A required for initialization in the non-compressed part.
2N/A Include lzo1x.S.
2N/A
2N/A * kern/i386/pc/init.c (pupa_machine_init): Don't enable Gate A20
2N/A here.
2N/A
2N/A * include/pupa/util/misc.h (pupa_util_write_image): Declared.
2N/A
2N/A * include/pupa/i386/pc/kernel.h
2N/A (PUPA_KERNEL_MACHINE_COMPRESSED_SIZE): New macro.
2N/A (PUPA_KERNEL_MACHINE_INSTALL_DOS_PART): Increased by 4.
2N/A (PUPA_KERNEL_MACHINE_INSTALL_BSD_PART): Likewise.
2N/A (PUPA_KERNEL_MACHINE_PREFIX): Likewise.
2N/A (PUPA_KERNEL_MACHINE_RAW_SIZE): New macro.
2N/A
2N/A * conf/i386-pc.rmk (pupa_mkimage_LDFLAGS): New variable.
2N/A
2N/A * genmk.rb (Image#rule): Put LDFLAGS at the end of a line.
2N/A (Utility#rule): Likewise.
2N/A
2N/A * configure.ac: Check if LZO is available.
2N/A
2N/A2003-01-20 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/pupa/normal.h: New file.
2N/A * include/pupa/setjmp.h: Likewise.
2N/A * include/pupa/i386/setjmp.h: Likewise.
2N/A * normal/cmdline.c: Likewise.
2N/A * normal/command.c: Likewise.
2N/A * normal/main.c: Likewise.
2N/A * normal/menu.c: Likewise.
2N/A * normal/i386/setjmp.S: Likewise.
2N/A
2N/A * loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Made global.
2N/A (pupa_rescue_cmd_initrd): Likewise.
2N/A
2N/A * loader/i386/pc/chainloader.c (pupa_rescue_cmd_chainloader):
2N/A Likewise.
2N/A
2N/A * kern/i386/pc/startup.S (translation_table): New variable.
2N/A (translate_keycode): New function.
2N/A (pupa_console_getkey): Call translate_keycode.
2N/A
2N/A * kern/rescue.c (attempt_normal_mode): New function.
2N/A (pupa_enter_rescue_mode): Attempt to execute the normal mode. If
2N/A it failed, print a message.
2N/A
2N/A * kern/mm.c (pupa_real_malloc): Print more information when a
2N/A free magic is broken.
2N/A (pupa_free): If the first free header is not free actually, set
2N/A it to P.
2N/A
2N/A * kern/main.c (pupa_load_normal_mode): Just load the module
2N/A "normal".
2N/A (pupa_main): Don't print the message
2N/A "Entering into rescue mode..." here.
2N/A
2N/A * include/pupa/i386/pc/loader.h (pupa_rescue_cmd_initrd):
2N/A Declared.
2N/A (pupa_rescue_cmd_initrd): Likewise.
2N/A (pupa_rescue_cmd_initrd): Likewise.
2N/A
2N/A * include/pupa/symbol.h (FUNCTION): Specify the type.
2N/A (VARIABLE): Likewise.
2N/A
2N/A * include/pupa/err.h (pupa_err_t): Added
2N/A PUPA_ERR_UNKNOWN_COMMAND.
2N/A
2N/A * include/pupa/dl.h (pupa_dl_set_prefix): Exported.
2N/A (pupa_dl_get_prefix): Likewise.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added normal.mod.
2N/A Added _chain.mod and _linux.mod instead of chain.mod and
2N/A linux.mod.
2N/A (chain_mod_SOURCES): Renamed to ...
2N/A (_chain_mod_SOURCES): ... this.
2N/A (chain_mod_CFLAGS): Renamed to ...
2N/A (_chain_mod_CFLAGS): ... this.
2N/A (linux_mod_SOURCES): Renamed to ...
2N/A (_linux_mod_SOURCES): ... this.
2N/A (linux_mod_CFLAGS): Renamed to ...
2N/A (_linux_mod_CFLAGS): ... this.
2N/A (normal_mod_SOURCES): New variable.
2N/A (normal_mod_CFLAGS): Likewise.
2N/A (normal_mod_ASFLAGS): Likewise.
2N/A
2N/A2003-01-18 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/rescue.c (pupa_rescue_cmd_rmmod): Call pupa_dl_unload, if
2N/A possible.
2N/A
2N/A * kern/dl.c (pupa_dl_ref): Refer depending modules
2N/A recursively.
2N/A (pupa_dl_unref): Unrefer depending modules recursively.
2N/A Don't call pupa_dl_unload implicitly, because PUPA can crash if
2N/A a module is unloaded before one depending on that module is
2N/A unloaded.
2N/A (pupa_dl_unload): Unload depending modules explicitly,
2N/A if possible.
2N/A
2N/A2003-01-17 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/pupa/i386/pc/linux.h: New file.
2N/A * loader/i386/pc/linux.c: Likewise.
2N/A
2N/A * loader/i386/pc/chainloader.c (pupa_chainloader_boot_sector):
2N/A Removed.
2N/A (pupa_chainloader_unload): Return PUPA_ERR_NONE.
2N/A (pupa_rescue_cmd_chainloader): Read the image to 0x7C00 instead
2N/A of PUPA_CHAINLOADER_BOOT_SECTOR.
2N/A
2N/A * kern/i386/pc/startup.S: Include pupa/machine/linux.h.
2N/A (pupa_linux_prot_size): New variable.
2N/A (pupa_linux_tmp_addr): Likewise.
2N/A (pupa_linux_real_addr): Likewise.
2N/A (pupa_linux_boot_zimage): New function.
2N/A (pupa_linux_boot_bzimage): Likewise.
2N/A
2N/A * kern/i386/pc/init.c (struct mem_region): New structure.
2N/A (MAX_REGIONS): New macro.
2N/A (mem_regions): New variable.
2N/A (num_regions): Likewise.
2N/A (pupa_os_area_addr): Likewise.
2N/A (pupa_os_area_size): Likewise.
2N/A (pupa_lower_mem): Likewise.
2N/A (pupa_upper_mem): Likewise.
2N/A (add_mem_region): New function.
2N/A (compact_mem_regions): Likewise.
2N/A (pupa_machine_init): Set PUPA_LOWER_MEM and PUPA_UPPER_MEM to
2N/A the size of the conventional memory and that of so-called upper
2N/A memory (before the first memory hole).
2N/A Instead of adding each found region to free memory, use
2N/A add_mem_region and add them after removing overlaps.
2N/A Also, add only 1/4 of the upper memory to free memory. The rest
2N/A is used for loading OS images. Maybe this is ad hoc, but this
2N/A makes it much easier to relocate OS images when booting.
2N/A
2N/A * kern/rescue.c (pupa_rescue_cmd_module): Removed.
2N/A (pupa_enter_rescue_mode): Don't register initrd and module.
2N/A
2N/A * kern/mm.c: Include pupa/dl.h.
2N/A
2N/A * kern/main.c: Include pupa/file.h and pupa/device.h.
2N/A
2N/A * kern/loader.c (pupa_loader_load_module_func): Removed.
2N/A (pupa_loader_load_module): Likewise.
2N/A
2N/A * kern/dl.c (pupa_dl_load): Use the suffix ``.mod'' instead of
2N/A ``.o''.
2N/A
2N/A * include/pupa/i386/pc/loader.h (pupa_linux_prot_size): Declared.
2N/A (pupa_linux_tmp_addr): Likewise.
2N/A (pupa_linux_real_addr): Likewise.
2N/A (pupa_linux_boot_zimage): Likewise.
2N/A (pupa_linux_boot_bzimage): Likewise.
2N/A
2N/A * include/pupa/i386/pc/init.h (pupa_lower_mem): Declared.
2N/A (pupa_upper_mem): Likewise.
2N/A (pupa_gate_a20): Don't export, because turning off Gate A20 in a
2N/A module is too dangerous.
2N/A
2N/A * include/pupa/loader.h (pupa_os_area_addr): Declared.
2N/A (pupa_os_area_size): Likewise.
2N/A (pupa_loader_set): Remove the first argument. Loader doesn't
2N/A manage modules or initrd any longer.
2N/A (pupa_loader_load_module): Removed.
2N/A
2N/A * conf/i386-pc.rmk (pkgdata_MODULES): Added linux.mod.
2N/A (linux_mod_SOURCES): New variable.
2N/A (linux_mod_CFLAGS): Likewise.
2N/A
2N/A2003-01-07 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/pupa-setup.c (setup): Convert the endianness of
2N/A the length of a blocklist correctly.
2N/A
2N/A * util/i386/pc/biosdisk.c (pupa_util_biosdisk_open) [__linux__]:
2N/A Use ioctl only if the OS file is a block device.
2N/A (pupa_util_biosdisk_open): Don't use ST.ST_BLOCKS, because it is
2N/A not very useful for normal files.
2N/A
2N/A * kern/main.c (pupa_set_root_dev): New function.
2N/A (pupa_load_normal_mode): Likewise.
2N/A (pupa_main): Call those above.
2N/A
2N/A * include/pupa/types.h (pupa_swap_bytes16): Cast the result to
2N/A pupa_uint16_t.
2N/A
2N/A * include/pupa/kernel.h (pupa_enter_normal_mode): Removed.
2N/A
2N/A2003-01-06 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/pupa-setup.c: Include pupa/machine/kernel.h.
2N/A (setup): Configure the installed partition information and the
2N/A dl prefix.
2N/A
2N/A * loader/i386/pc/chainloader.c (my_mod): New variable.
2N/A (pupa_chainloader_unload): New function.
2N/A (pupa_rescue_cmd_chainloader): Refer itself.
2N/A (PUPA_MOD_INIT): Save its own module in MY_MOD.
2N/A
2N/A * kern/i386/pc/startup.S (install_partition): Removed.
2N/A (version_string): Likewise.
2N/A (config_file): Likewise.
2N/A (pupa_install_dos_part): New variable.
2N/A (pupa_install_bsd_part): Likewise.
2N/A (pupa_prefix): Likewise.
2N/A (pupa_chainloader_real_boot): Call pupa_dl_unload_all.
2N/A
2N/A * kern/i386/pc/init.c: Include pupa/machine/kernel.h, pupa/dl.h
2N/A and pupa/misc.h.
2N/A (make_install_device): New function.
2N/A (pupa_machine_init): Set the dl prefix.
2N/A
2N/A * kern/rescue.c: Include pupa/rescue.h and pupa/dl.h.
2N/A (buf): Renamed to ...
2N/A (linebuf): ... this.
2N/A (pupa_rescue_cmd_prefix): New function.
2N/A (pupa_rescue_cmd_insmod): Likewise.
2N/A (pupa_rescue_cmd_rmmod): Likewise.
2N/A (pupa_rescue_cmd_lsmod): Likewise.
2N/A (pupa_enter_rescue_mode): Register new commands: prefix, insmod,
2N/A rmmod and lsmod.
2N/A
2N/A * kern/mm.c (pupa_memalign): If failed even after invalidating
2N/A disk caches, unload unneeded modules and retry.
2N/A
2N/A * kern/misc.c (pupa_memmove): New function.
2N/A (pupa_memcpy): Removed.
2N/A (pupa_strcpy): New function.
2N/A (pupa_itoa): Made static.
2N/A
2N/A * kern/dl.c (pupa_dl_iterate): New function.
2N/A (pupa_dl_ref): Likewise.
2N/A (pupa_dl_unref): Likewise.
2N/A (pupa_dl_unload): Return if succeeded or not.
2N/A (pupa_dl_unload_unneeded): New function.
2N/A (pupa_dl_unload_all): Likewise.
2N/A (pupa_dl_init): Renamed to ...
2N/A (pupa_dl_set_prefix): ... this.
2N/A (pupa_dl_get_prefix): New function.
2N/A
2N/A * include/pupa/i386/pc/kernel.h: Include pupa/types.h.
2N/A (PUPA_KERNEL_MACHINE_INSTALL_DOS_PART): New macro.
2N/A (PUPA_KERNEL_MACHINE_INSTALL_BSD_PART): Likewise.
2N/A (PUPA_KERNEL_MACHINE_PREFIX): Likewise.
2N/A (pupa_install_dos_part): Declared.
2N/A (pupa_install_bsd_part): Likewise.
2N/A (pupa_prefix): Likewise.
2N/A (pupa_boot_drive): Likewise.
2N/A
2N/A * include/pupa/types.h: Fix a typo.
2N/A
2N/A * include/pupa/misc.h (pupa_memcpy): New macro. Just an alias to
2N/A pupa_memmove.
2N/A (pupa_memmove): Declared.
2N/A (pupa_strcpy): Likewise.
2N/A
2N/A * include/pupa/dl.h (PUPA_MOD_INIT): Change the prototype. Now
2N/A pupa_mod_init takes one argument, its own module.
2N/A (pupa_dl_unload_unneeded): Declared.
2N/A (pupa_dl_unload_all): Likewise.
2N/A (pupa_dl_ref): Likewise.
2N/A (pupa_dl_unref): Likewise.
2N/A (pupa_dl_iterate): Likewise.
2N/A (pupa_dl_init): Renamed to ...
2N/A (pupa_dl_set_prefix): ... this.
2N/A (pupa_dl_get_prefix): Declared.
2N/A
2N/A * fs/fat.c [!PUPA_UTIL] (my_mod): New variable.
2N/A (pupa_fat_dir) [!PUPA_UTIL]: Prevent the fat module from being
2N/A unloaded.
2N/A (pupa_fat_open) [!PUPA_UTIL]: Refer itself if succeeded.
2N/A (pupa_fat_close) [!PUPA_UTIL]: Unrefer itself.
2N/A
2N/A * configure.ac (tmp_CFLAGS): Added -Wshadow, -Wpointer-arith,
2N/A -Wmissing-prototypes, -Wundef and -Wstrict-prototypes.
2N/A
2N/A2003-01-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * util/i386/pc/pupa-setup.c (setup): Define the internal
2N/A function find_first_partition_start at the top level, because GCC
2N/A 3.0.x cannot compile internal functions in deeper scopes
2N/A correctly.
2N/A (find_root_device): Use lstat instead of stat.
2N/A Don't follow symbolic links.
2N/A Fix the path-constructing code.
2N/A
2N/A * util/i386/pc/biosdisk.c [__linux__] (BLKFLSBUF): New macro.
2N/A (pupa_util_biosdisk_open) [__linux__]: Get the size of a device
2N/A by a BLKGETSIZE ioctl first, because block devices don't fill
2N/A the member st_mode of the structure stat on Linux.
2N/A [__linux__] (linux_find_partition): Use a temporary buffer
2N/A REAL_DEV for the working space. Copy it to DEV before returning.
2N/A (open_device) [__linux__]: Call ioctl with BLKFLSBUF to make the
2N/A buffer cache consistent.
2N/A (get_os_disk) [__linux__]: Use the length 5 instead of 4 for
2N/A strncmp. The previous value was merely wrong.
2N/A (pupa_util_biosdisk_get_pupa_dev): Use stat instead of lstat.
2N/A
2N/A * fs/fat.c (pupa_fat_read_data): Shift 4 instead of 12 when the
2N/A FAT size is 12. The previous value was merely wrong.
2N/A
2N/A * kern/main.c (pupa_main): Don't split the starting message from
2N/A newlines.
2N/A
2N/A * kern/term.c (pupa_putchar): Put CR after LF instead of before
2N/A LF, because BIOS goes crazy about character attributes in this
2N/A case.
2N/A
2N/A2003-01-03 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * include/i386/pc/util/biosdisk.h: New file.
2N/A * util/i386/pc/biosdisk.c: Likewise.
2N/A * util/i386/pc/pupa-setup.c: Likewise.
2N/A
2N/A * Makefile.in (INCLUDE_DISTFILES): Added
2N/A include/pupa/i386/pc/util/biosdisk.h.
2N/A (UTIL_DISTFILES): Added biosdisk.c and pupa-setup.c under the
2N/A directory util/i386/pc.
2N/A (install-local): Added a rule for sbin_UTILITIES.
2N/A (uninstall): Likewise.
2N/A
2N/A * util/i386/pc/pupa-mkimage.c (usage): Fix a typo in the doc.
2N/A
2N/A * util/misc.c (xrealloc): New function.
2N/A (pupa_malloc): Likewise.
2N/A (pupa_free): Likewise.
2N/A (pupa_realloc): Likewise.
2N/A (pupa_stop): Likewise.
2N/A (pupa_putchar): Likewise.
2N/A
2N/A * kern/disk.c (pupa_disk_read): Prevent L from underflowing.
2N/A
2N/A * include/pupa/util/misc.h (xrealloc): Declared.
2N/A
2N/A * include/pupa/i386/pc/boot.h (PUPA_BOOT_MACHINE_BPB_START): New
2N/A macro.
2N/A (PUPA_BOOT_MACHINE_BPBEND): Renamed to ...
2N/A (PUPA_BOOT_MACHINE_BPB_END): ... this.
2N/A
2N/A * include/pupa/fs.h [PUPA_UTIL] (pupa_fat_init): Declared.
2N/A [PUPA_UTIL] (pupa_fat_fini): Likewise.
2N/A
2N/A * fs/fat.c [PUPA_UTIL] (pupa_fat_init): Defined. Maybe a better
2N/A way should be implemented.
2N/A [PUPA_UTIL] (pupa_fat_fini): Likewise.
2N/A
2N/A * disk/i386/pc/biosdisk.c (pupa_biosdisk_call_hook): Increase
2N/A the size of NAME for safety.
2N/A (pupa_biosdisk_iterate): Search hard disks to 0x90 instead of
2N/A 0x88.
2N/A
2N/A * conf/i386-pc.rmk (sbin_UTILITIES): New variable.
2N/A (pupa_setup_SOURCES): Likewise.
2N/A
2N/A * genmk.rb (Utility#rule): Add $(BUILD_CFLAGS) into the rules.
2N/A
2N/A2002-12-28 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * kern/i386/pc/startup.S (push_get_mmap_entry): Revert to a
2N/A bunch of pushl's from pusha, because this destroys the return
2N/A value.
2N/A
2N/A2002-12-28 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A Use -mrtd and -mregparm=3 to reduce the generated code sizes.
2N/A This means that any missing prototypes could be fatal. Also, you
2N/A must take care when writing assembly code. See the comments at
2N/A the beginning of startup.S, for more details.
2N/A
2N/A * kern/i386/pc/startup.S (pupa_halt): Modified for the new
2N/A compilation mechanism.
2N/A (pupa_chainloader_real_boot): Likewise.
2N/A (pupa_biosdisk_rw_int13_extensions): Likewise.
2N/A (pupa_biosdisk_rw_standard): Likewise.
2N/A (pupa_biosdisk_check_int13_extensions): Likewise.
2N/A (pupa_biosdisk_get_diskinfo_int13_extensions): Likewise.
2N/A (pupa_biosdisk_get_diskinfo_standard): Likewise.
2N/A (pupa_get_memsize): Likewise.
2N/A (pupa_get_mmap_entry): Likewise.
2N/A (pupa_console_putchar): Likewise.
2N/A (pupa_console_setcursor): Likewise.
2N/A (pupa_getrtsecs): Use pushl instead of push.
2N/A
2N/A * kern/i386/pc/init.c (pupa_machine_init): Use the scratch
2N/A memory instead of the stack for a mmap entry, because some
2N/A BIOSes may ignore the maximum size and overflow.
2N/A
2N/A * conf/i386-pc.rmk (COMMON_CFLAGS): Added -mrtd and -mregparm=3.
2N/A
2N/A * genmk.rb (PModule#rule): Compile automatically generated
2N/A sources with module-specific CFLAGS as well as other sources.
2N/A
2N/A2002-12-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * configure.ac: Check ld.
2N/A Replace CFLAGS and CPPFLAGS with BUILD_CFLAGS and BUILD_CPPFLAGS
2N/A respectively, before checking endianness and sizes.
2N/A
2N/A * Makefile.in (LD): New variable.
2N/A
2N/A2002-12-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * Makefile.in (BUILD_CC): CC -> BUILD_CC.
2N/A
2N/A2002-12-27 Yoshinori K. Okuji <okuji@enbug.org>
2N/A
2N/A * Changelog: New file.
2N/A