]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 14:00:23 +0000 (16:00 +0200)]
* util/grub-mkimage.c (main): Handle special naming of yeeloong
directory.
Colin Watson [Fri, 8 Apr 2011 13:01:51 +0000 (14:01 +0100)]
* docs/grub-dev.texi: Fix spelling of "developer" throughout.
* grub-core/fs/i386/pc/pxe.c (parse_dhcp_vendor): Fix spelling of
"development".
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:37:13 +0000 (14:37 +0200)]
* grub-core/normal/menu_entry.c (run): Use grub_memcpy rather than
grub_strcpy since the lines aren't necessarily 0-terminated.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:32:41 +0000 (14:32 +0200)]
* grub-core/lib/legacy_parse.c (legacy_commands): Find doesn't set
root on legacy.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:28:19 +0000 (14:28 +0200)]
* grub-core/commands/probe.c (options): Argument to set isn't optional.
(GRUB_MOD_INIT): DEVICE isn't optional.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:25:44 +0000 (14:25 +0200)]
* grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
word on new line if it's too long anyway. Fixes a hang.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:08:55 +0000 (14:08 +0200)]
* include/grub/util/raid.h (grub_util_raid_getmembers): Make argument
const.
* util/grub-setup.c (main): Reuse md device name if available.
* util/raid.c (grub_util_raid_getmembers): Receive device name and
not GRUB name as argument.
Based on patch by: Florian Wagner <fwagner>.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:04:24 +0000 (14:04 +0200)]
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Place mbi on low memory for better compatibility.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:02:27 +0000 (14:02 +0200)]
* include/grub/efiemu/efiemu.h: Use grub_memory_hook_t type.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 11:59:07 +0000 (13:59 +0200)]
correct Changelog spelling
Vladimir Serbinenko [Fri, 8 Apr 2011 11:57:56 +0000 (13:57 +0200)]
* autogen.sh: Ensure that collate and ctype locale is C.
* conf/Makefile.common: Likeiwise.
Also-By: Colin Watson <cjwatson@ubuntu.com>
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 11:18:27 +0000 (13:18 +0200)]
revert last revision. It's ineffective
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:13:44 +0000 (12:13 +0200)]
* grub-core/Makefile.am: Properly escape parenthesis in sed expressions.
Fixes Estonian locale.
Reported by: Leho Kraav.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:12:02 +0000 (12:12 +0200)]
* grub-core/normal/menu.c: Add missing include.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:06:55 +0000 (12:06 +0200)]
* grub-core/disk/raid.c [GRUB_UTIL]: Add missing include.
Martin Zuther [Fri, 8 Apr 2011 09:53:17 +0000 (11:53 +0200)]
* util/grub-mkconfig.in: Ignore emacsen backup.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 09:49:38 +0000 (11:49 +0200)]
* grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not
on open.
(grub_util_biosdisk_close): Likewise.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 09:44:44 +0000 (11:44 +0200)]
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing
const attribute and use grub_isdigit.
Andrey [Wed, 6 Apr 2011 12:21:34 +0000 (14:21 +0200)]
* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
gcc warning.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 12:04:52 +0000 (14:04 +0200)]
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
useful grub_dprintf's.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 12:01:12 +0000 (14:01 +0200)]
* include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 11:18:11 +0000 (13:18 +0200)]
* util/grub.d/00_header.in: Don't use LANG unless unifont is available.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 11:00:18 +0000 (13:00 +0200)]
Output errors if theme loading failed.
* grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Move the call to
grub_gfxterm_fullscreen on error paths to ...
* grub-core/normal/menu.c (menu_init): ...here. Wait after showing
theme loading error.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:33:46 +0000 (12:33 +0200)]
* include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more
space for older compilers.
(GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:29:49 +0000 (12:29 +0200)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares
and report them as not RAID members since they are useless for GRUB.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:25:33 +0000 (12:25 +0200)]
Ignore docs/stamp-1 and docs/version-dev.texi
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 14:28:14 +0000 (16:28 +0200)]
Increase LVM implementation robustness in order not to crash on
configurations like pvmove. Previously code assumed that in some places
only lvs or only pvs are used whereas it seems that they are used
interchangeably.
* grub-core/disk/lvm.c (read_node): New function.
(read_lv): Use read_node.
(grub_lvm_scan_device): Use only first mirror on pvmove'd lvs.
Match volumes only at the end when all lvs are found. Take both
pvs (first) and lvs (second) into account.
* include/grub/lvm.h (grub_lvm_segment): Merge fields stripe_* and
mirror_* into node_*. All users updated.
(grub_lvm_stripe): Merge this ...
(grub_lvm_mirror): ... and this ...
(grub_lvm_node): ... into this. All users updated.
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:57:44 +0000 (15:57 +0200)]
* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
of function to allow further scanning for LVMs.
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:45:20 +0000 (15:45 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
on failed seek as it breaks open fd reusage.
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:37:24 +0000 (15:37 +0200)]
* util/grub-install.in: Add a recommendation to use --recheck before
reporting bugs.
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:34:50 +0000 (15:34 +0200)]
* docs/grub.texi (Vendor power-on buttons): Explain how the numbers
are obtained.
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:30:28 +0000 (15:30 +0200)]
GRUB developper manual based on existing Internals section and
contributions by the various authors with active copyright assignment.
* docs/Makefile.am (info_TEXINFOS): Add grub-dev.texi.
* docs/font_char_metrics.png: New file.
* docs/font_char_metrics.txt: Likewise.
* docs/grub-dev.texi: Likewise.
* docs/grub.texi (Internals): Move from here ...
* docs/grub-dev.texi: ... here.
Colin Watson [Fri, 1 Apr 2011 16:04:10 +0000 (17:04 +0100)]
Store the loopback device as data on loopback grub_disk structures,
rather than the file it points to. This fixes use of freed memory
if an existing loopback device is replaced.
* grub-core/disk/loopback.c (grub_loopback_open): Store dev in
disk->data, not dev->file.
(grub_loopback_read): Adjust file assignment to match.
Fixes Ubuntu bug #742967.
Colin Watson [Fri, 1 Apr 2011 14:35:09 +0000 (15:35 +0100)]
* grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak
when replacing an existing device.
Vladimir 'phcoder' Serbinenko [Fri, 1 Apr 2011 13:53:06 +0000 (15:53 +0200)]
Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some
memory corruptions.
* grub-core/fs/jfs.c (struct grub_jfs_diropen): Interpret bytes as
unsigned.
(grub_jfs_lookup_symlink): Make ino a grub_uint32_t rather than int.
(grub_jfs_blkno): Use 64-bit quantities for block sectors.
(grub_jfs_read_inode): Likewise.
(grub_jfs_opendir): Likewise. Remove now useless casts.
(grub_jfs_getent): Likewise.
Make ino a grub_uint32_t rather than int.
(grub_jfs_mount): Ensure that blksize and log2_blksize are consistent.
(grub_jfs_read_file): Use 64-bit quantities when necessary. Replace
division and module with bit operations.
(grub_jfs_find_file): Make ino a grub_uint32_t.
(grub_jfs_lookup_symlink): Likewise. Use 64-bit quantities
Colin Watson [Fri, 1 Apr 2011 10:43:51 +0000 (11:43 +0100)]
* grub-core/normal/menu_entry.c (run): Quieten uninitialised
warning. (This was in fact always initialised before use, but GCC
wasn't smart enough to prove that.)
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Likewise.
Vladimir 'phcoder' Serbinenko [Thu, 31 Mar 2011 14:48:36 +0000 (16:48 +0200)]
* grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte
stack alignment.
(efi_wrap_1): Likewise.
(efi_wrap_2): Likewise.
(efi_wrap_3): Likewise.
(efi_wrap_4): Likewise.
(efi_wrap_5): Likewise.
(efi_wrap_6): Likewise.
(efi_wrap_10): Likewise.
Based on information by: Red Hat/Peter Jones.
Colin Watson [Thu, 31 Mar 2011 11:25:10 +0000 (12:25 +0100)]
* grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
set-but-not-used variable.
Colin Watson [Thu, 31 Mar 2011 07:46:41 +0000 (08:46 +0100)]
* docs/grub.texi (Simple configuration): Be more explicit about
GRUB_DEFAULT, and add an example.
Reported by: Leslie Rhorer.
Colin Watson [Wed, 30 Mar 2011 19:52:26 +0000 (20:52 +0100)]
* docs/grub.texi (Commands): Link to "GRUB only offers a rescue
shell".
Alexey Shvetsov [Wed, 30 Mar 2011 18:53:23 +0000 (20:53 +0200)]
* util/grub.d/10_linux.in: Add gentoo-specific config filename.
* util/grub.d/20_linux_xen.in: Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 18:42:42 +0000 (20:42 +0200)]
* util/grub.d/10_linux.in: Try alternative config filenames where
we parse config file.
* util/grub.d/20_linux_xen.in: Likewise.
Alexey Shvetsov [Wed, 30 Mar 2011 17:22:28 +0000 (19:22 +0200)]
* util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names.
* util/grub.d/20_linux_xen.in: Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 14:54:11 +0000 (16:54 +0200)]
* grub-core/disk/raid.c (insert_array): Add few potentially
useful grub_util_info.
(grub_raid_register): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 14:37:10 +0000 (16:37 +0200)]
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
Preserve partition number in mdadm code path.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 11:13:25 +0000 (13:13 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add
few potentially useful grub_util_info.
Colin Watson [Wed, 30 Mar 2011 11:07:43 +0000 (12:07 +0100)]
fix ChangeLog ordering
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 11:02:39 +0000 (13:02 +0200)]
* grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n.
Colin Watson [Wed, 30 Mar 2011 10:46:36 +0000 (11:46 +0100)]
* docs/grub.texi (default): Use @example rather than nested
itemized lists to avoid breaking gendocs.
Colin Watson [Wed, 30 Mar 2011 10:34:52 +0000 (11:34 +0100)]
* docs/grub.texi (Future): Update.
<> [Wed, 30 Mar 2011 10:31:33 +0000 (11:31 +0100)]
* docs/grub.texi (Environment): New chapter.
(Changes from GRUB Legacy): Link to "Environment block" section for
details of limitations.
(Simple configuration): Likewise. Link to documentation of gfxmode
and gfxpayload variables from GRUB_GFXMODE and GRUB_GFXPAYLOAD
respectively.
(Shell-like scripting): Note that normal variables are stored in the
environment.
(gettext): Link to documentation of lang and locale_dir.
(list_env): New section.
(load_env): New section.
(save_env): New section.
(Reporting bugs): Fix typo.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 07:35:35 +0000 (09:35 +0200)]
* docs/grub.texi: Correctly use "terminal_input" and not "terminal" in
the example.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 07:26:23 +0000 (09:26 +0200)]
* grub-core/term/at_keyboard.c (set_scancodes)
[!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1.
Colin Watson [Wed, 30 Mar 2011 02:49:22 +0000 (03:49 +0100)]
* docs/grub.texi (Menu-specific commands): Remove some semantics
that were true in GRUB Legacy but not in GRUB 2.
(submenu): New section.
(false): New section.
(read): New section.
(true): New section.
Colin Watson [Wed, 30 Mar 2011 02:26:11 +0000 (03:26 +0100)]
* docs/grub.texi (Changes from GRUB Legacy): Minor proofreading.
Colin Watson [Wed, 30 Mar 2011 02:22:37 +0000 (03:22 +0100)]
credit
Colin Watson [Wed, 30 Mar 2011 02:20:09 +0000 (03:20 +0100)]
* docs/grub.texi (Simple configuration): Explain some of the
current limitations of grub-mkconfig.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 22:05:25 +0000 (00:05 +0200)]
Old macs search for boot.efi rather than for bootia32.efi.
* util/grub-install.in: Copy bootia32.efi to boot.efi.
* util/grub-mkrescue.in: Likewise.
Suggested by: Peter Jones.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 19:12:13 +0000 (21:12 +0200)]
* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 18:33:32 +0000 (20:33 +0200)]
* include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
(grub_lvm_segment): New fields 'type', 'mirror_count' and 'mirrors'.
(grub_lvm_mirror): New struct.
* grub-core/disk/lvm.c (grub_lvm_checkvalue): Commented out.
(grub_lvm_iterate): Iterate only visible volumes.
(grub_lvm_read): Factor out to ..
(read_lv): ... this. Support mirrors.
(grub_lvm_read): New wrapper function.
(grub_lvm_scan_device): Parse mirrors. Skip everything that isn't
stripped or mirrored.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 17:47:34 +0000 (19:47 +0200)]
* util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms.
Colin Watson [Tue, 29 Mar 2011 17:08:23 +0000 (18:08 +0100)]
* docs/grub.texi (loopback): New section.
Colin Watson [Tue, 29 Mar 2011 17:00:23 +0000 (18:00 +0100)]
* grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting
removed -p option.
Colin Watson [Tue, 29 Mar 2011 13:32:38 +0000 (14:32 +0100)]
* docs/grub.texi (BIOS installation): New section, partly based on
previous text in other sections.
(Installing GRUB using grub-install): Replace BIOS discussion with a
cross-reference.
(Images): Likewise.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 13:00:23 +0000 (15:00 +0200)]
* grub-core/kern/emu/hostdisk.c (find_partition_start)
[HAVE_DIOCGDINFO]: Add safety checks.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 10:01:48 +0000 (12:01 +0200)]
* util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
per default compiled in kernel and prior to 8.0 isn't shipped at all.
Colin Watson [Tue, 29 Mar 2011 09:51:58 +0000 (10:51 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If
real_sb->size is zero (e.g. RAID-0), get the disk size from
real_sb->data_size instead.
Fixes Ubuntu bug #743136.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 09:25:04 +0000 (11:25 +0200)]
* grub-core/normal/misc.c (grub_normal_print_device_info): Use correct
printf clauses for printing size and start.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 08:56:14 +0000 (10:56 +0200)]
* grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow.
Reported and tested by: Timothy Nikkel.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 06:33:28 +0000 (08:33 +0200)]
* grub-core/term/gfxterm.c (dirty_region_add): Move core part to ...
(dirty_region_add_real): ... this.
(dirty_region_add): Don't discard margin refresh when performing
scheduled repaint.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 06:20:19 +0000 (08:20 +0200)]
* grub-core/lib/relocator.c (allocate_regstart)
[!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Avoid grub_dprintf since not all
terminals are capabple of malloc-free operation.
(allocate_inreg) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
(malloc_in_range) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 00:20:52 +0000 (02:20 +0200)]
* util/grub-setup.c: Copy the partition table zone if floppy support
is disabled, even if no partition table is found.
Otherwise, the BIOS on Dell Latitude E series laptops will freeze
during POST if an invalid partition table is contained in the PBR
of the active partition when GRUB is installed to a partition.
Colin Watson [Mon, 28 Mar 2011 14:17:22 +0000 (15:17 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale
comment.
Colin Watson [Mon, 28 Mar 2011 12:23:54 +0000 (13:23 +0100)]
* grub-core/disk/raid.c (grub_raid_register): Adjust debug message
to be specific about what kind of RAID device we're scanning for.
Seth Goldberg [Sat, 26 Mar 2011 22:22:59 +0000 (23:22 +0100)]
* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't return freed string.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 13:14:59 +0000 (14:14 +0100)]
* grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 11:59:02 +0000 (12:59 +0100)]
Use libgeom on FreeBSD to detect partitions.
* Makefile.util.def (grub-mkimage): Add LIBGEOM to ldadd.
(grub-mkrelpath): Likewise.
(grub-script-check): Likewise.
(grub-editenv): Likewise.
(grub-mkpasswd-pbkdf2): Likewise.
(grub-fstest): Likewise.
(grub-mkfont): Likewise.
(grub-mkdevicemap): Likewise.
(grub-probe): Likewise.
(grub-setup): Likewise.
(grub-ofpathname): Likewise.
(grub-mklayout): Likewise.
(example_unit_test): Likewise.
(grub-menulst2cfg): Likewise.
* grub-core/Makefile.core.def (grub-emu): Likewise.
(grub-emu-lite): Likewise.
* configure.ac: Check for -lgeom on FreeBSD and set LIBGEOM.
* grub-core/kern/emu/hostdisk.c [FreeBSD]: Include libgeom.h. Don't
define HAVE_DIOCGDINFO.
(follow_geom_up) [FreeBSD]: New function.
(find_partition_start) [FreeBSD]: Rewritten using follow_geom_up.
(convert_system_partition_to_system_disk) [FreeBSD]: Likewise.
(grub_util_biosdisk_get_grub_dev) [FreeBSD]: Use FreeBSD path
unconditionally of HAVE_DIOCGDINFO.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 11:49:34 +0000 (12:49 +0100)]
Fix FreeBSD compilation problem.
* grub-core/kern/emu/hostdisk.c (MAJOR) [FreeBSD]: New definition.
(FLOPPY_MAJOR) [FreeBSD]: Likewise.
Colin Watson [Fri, 25 Mar 2011 00:03:54 +0000 (00:03 +0000)]
* grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini):
Switch back to page zero before loading a kernel, since some kernel
drivers expect that.
Thanks to: Felix Kuehling.
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:45:51 +0000 (12:45 +0100)]
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr)
[DEBUG_RELOCATOR]: Reuse grub_mm_check.
(grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise.
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:43:28 +0000 (12:43 +0100)]
* include/grub/mm.h (GRUB_MM_CHECK): Rename to ...
(grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE.
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:39:48 +0000 (12:39 +0100)]
* grub-core/lib/relocator.c (allocate_inreg): Avoid dprintf unless
DEBUG_RELOCATOR is defined since gfxterm can't cope with output when
malloc is disabled.
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:28:22 +0000 (12:28 +0100)]
* grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account
for modules headers when counting the needed allocation size.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 19:29:17 +0000 (20:29 +0100)]
* grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8
if no ASCII character is found to prevent crash.
Alexander Kurtz [Wed, 23 Mar 2011 16:08:56 +0000 (17:08 +0100)]
* grub-core/video/bitmap.c (match_extension): Ignore case.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 13:18:56 +0000 (14:18 +0100)]
* grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 12:23:50 +0000 (13:23 +0100)]
* grub-core/script/parser.y: Declare "time" as valid argument.
Peter Jones [Wed, 23 Mar 2011 12:01:42 +0000 (13:01 +0100)]
Fix incorrect assert failure reporting.
* grub-core/tests/example_functional_test.c (example_test): Add
a failure comment.
* grub-core/tests/lib/test.c (add_failure): Renamed to ...
(failure_start): ...this. Check that malloc succeeded.
Don't call xvasprintf. Return failure struct.
(failure_append_vtext): New function.
(failure_append_text): Likewise.
(add_failure): Likewise.
(grub_test_assert_helper): Likewise.
* include/grub/test.h (grub_test_assert_helper): New declaration.
(grub_test_assert): Macro rewritten.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:40:15 +0000 (12:40 +0100)]
* grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:23:42 +0000 (12:23 +0100)]
* grub-core/lib/i386/pc/biosnum.c: Add missing include.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:21:15 +0000 (12:21 +0100)]
* grub-core/disk/usbms.c (grub_usbms_reset): Transform USB-style error
into GRUB-style one.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:18:21 +0000 (12:18 +0100)]
missing file in last change
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:17:05 +0000 (12:17 +0100)]
* grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Return usb-style
error and not grub_errno.
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:13:39 +0000 (12:13 +0100)]
* grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
GRUB_USB_SPEED_NONE in case of failure and not the error code.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:08:33 +0000 (12:08 +0100)]
* grub-core/efiemu/i386/pc/cfgtables.c
(grub_machine_efiemu_init_tables): Make declaration a prototype.
* grub-core/loader/xnu.c (grub_xnu_lock): Likewise.
(grub_xnu_unlock): Likewise.
* grub-core/normal/cmdline.c (grub_cmdline_get/cl_set_pos_all): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:05:13 +0000 (12:05 +0100)]
* grub-core/bus/usb/usb.c (attach_hooks): Make static.
* grub-core/bus/usb/usbhub.c (hubs): Likewise.
* grub-core/commands/hashsum.c (aliases): Likewise.
* grub-core/commands/setpci.c (pci_registers): Likewise.
* grub-core/disk/usbms.c (attach_hook): Likewise.
* grub-core/fs/zfs/zfs.c (decomp_table): Likewise.
(zio_checksum_table): Likewise.
* grub-core/gettext/gettext.c (grub_gettext_msg_list): Likewise.
* grub-core/gfxmenu/gfxmenu.c (cached_view): Likewise.
* grub-core/lib/legacy_parse.c (legacy_commands): Likewise.
* grub-core/lib/relocator.c (leftovers): Likewise.
(extra_blocks): Likewise.
* grub-core/loader/i386/bsd.c (relocator): Likewise.
* grub-core/loader/i386/multiboot_mbi.c (modules): Likewise.
(modules_last): Likewise.
* grub-core/loader/i386/xnu.c (table_aliases): Likewise.
(devices): Likewise.
* grub-core/loader/multiboot_mbi2.c (modules): Likewise.
(modules_last): Likewise.
* grub-core/normal/auth.c (users): Likewise.
* grub-core/normal/context.c (initial_menu): Likewise.
(current_menu): Likewise.
* grub-core/normal/crypto.c (crypto_specs): Likewise.
* grub-core/term/serial.c (grub_serial_ports): Likewise.
(grub_serial_terminfo_input_template): Likewise.
(grub_serial_terminfo_output_template): Likewise.
(grub_serial_terminfo_input): Likewise.
(grub_serial_terminfo_output): Likewise.
(registered): Likewise.
* grub-core/term/usb_keyboard.c (attach_hook): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 10:54:58 +0000 (11:54 +0100)]
* grub-core/video/bochs.c (grub_video_bochs_setup): Use
grub_video_mode_type_t.
* grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise.
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise.
* grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 10:52:04 +0000 (11:52 +0100)]
* util/grub-install.in: Correct the x86-64 name as x86_64.
Colin Watson [Fri, 11 Mar 2011 11:51:10 +0000 (11:51 +0000)]
* grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the
initial chunk read from the kernel always includes GRUB's multiboot
header, which is now outside the first sector.
Colin Watson [Wed, 9 Mar 2011 17:38:31 +0000 (17:38 +0000)]
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
cached mmap_size, so that this works correctly when called multiple
times.
Reported by: Daniel Kahn Gillmor. Should fix Debian bug #616638.