]> git.proxmox.com Git - grub2.git/log
grub2.git
11 years ago * grub-core/kern/ieee1275/init.c (grub_machine_get_bootlocation): Use
Paulo Flabiano Smorigo [Mon, 10 Dec 2012 15:23:16 +0000 (16:23 +0100)]
* grub-core/kern/ieee1275/init.c (grub_machine_get_bootlocation): Use
dynamic allocation for the bootpath buffer.

11 years ago * grub-core/gfxmenu/view.c (init_terminal): Avoid making terminal
Dr. Tilmann Bubeck [Mon, 10 Dec 2012 15:14:12 +0000 (16:14 +0100)]
* grub-core/gfxmenu/view.c (init_terminal): Avoid making terminal
window too small.

11 years ago * grub-core/term/gfxterm.c (grub_virtual_screen_setup): Get font as
Vladimir 'phcoder' Serbinenko [Mon, 10 Dec 2012 15:07:33 +0000 (16:07 +0100)]
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Get font as
argument rather than font name. All users updated.
(grub_gfxterm_set_window): Likewise.

11 years ago * util/grub-mkfont.c (argp_parser): Fix a typo which prevented --asce
Vladimir Testov [Mon, 10 Dec 2012 10:45:00 +0000 (11:45 +0100)]
* util/grub-mkfont.c (argp_parser): Fix a typo which prevented --asce
from working.

11 years ago * util/getroot.c (convert_system_partition_to_system_disk): Support
Vladimir 'phcoder' Serbinenko [Mon, 10 Dec 2012 10:12:38 +0000 (11:12 +0100)]
* util/getroot.c (convert_system_partition_to_system_disk): Support
nbd disks.

11 years ago * grub-core/fs/ufs.c (grub_ufs_dir): Stop if direntlen is 0 to avoid
Vladimir 'phcoder' Serbinenko [Mon, 10 Dec 2012 08:22:40 +0000 (09:22 +0100)]
* grub-core/fs/ufs.c (grub_ufs_dir): Stop if direntlen is 0 to avoid
infinite loop on corrupted FS.

11 years ago Fix big-endian mtime.
Vladimir 'phcoder' Serbinenko [Sat, 8 Dec 2012 20:14:08 +0000 (21:14 +0100)]
Fix big-endian mtime.

* grub-core/fs/ufs.c (grub_ufs_inode): Split improperly attached
together sec and usec.
(grub_ufs_dir): Use correct byteswapping for UFS time.

11 years ago Support big-endian UFS1.
Vladimir 'phcoder' Serbinenko [Sat, 8 Dec 2012 19:56:58 +0000 (20:56 +0100)]
Support big-endian UFS1.

* Makefile.util.def (libgrubmods): Add ufs_be.c
* grub-core/Makefile.core.def (ufs1_be): New module.
* grub-core/fs/ufs_be.c: New file.
* grub-core/fs/ufs.c: Declare grub_ufs_to_le* and use them throughout
the file.

11 years ago * include/grub/types.h: Fix functionality unaffecting typo in
Leif Lindholm [Wed, 28 Nov 2012 13:18:45 +0000 (14:18 +0100)]
    * include/grub/types.h: Fix functionality unaffecting typo in
        GRUB_TARGET_WORDSIZE conditional macro.

11 years ago * grub-core/net/bootp.c (parse_dhcp_vendor): Fix double increment.
Paulo Flabiano Smorigo [Wed, 28 Nov 2012 13:14:20 +0000 (14:14 +0100)]
* grub-core/net/bootp.c (parse_dhcp_vendor): Fix double increment.

11 years agoFix ordering and tab indentation of NetBSD boot menu entries.
Grégoire Sutre [Sun, 28 Oct 2012 10:55:22 +0000 (11:55 +0100)]
Fix ordering and tab indentation of NetBSD boot menu entries.

11 years ago* grub-core/Makefile.am (moddep.lst): Use $(AWK) rather than awk.
Christoph Junghans [Fri, 12 Oct 2012 14:37:49 +0000 (15:37 +0100)]
* grub-core/Makefile.am (moddep.lst): Use $(AWK) rather than awk.
Fixes Savannah bug #37558.

11 years ago* grub-core/commands/configfile.c (GRUB_MOD_INIT): Correct
Colin Watson [Fri, 12 Oct 2012 14:34:33 +0000 (15:34 +0100)]
* grub-core/commands/configfile.c (GRUB_MOD_INIT): Correct
description of extract_entries_configfile.

11 years ago * grub-core/Makefile.am (moddep.lst): Use $(AWK) instead of awk
Christoph Junghans [Fri, 12 Oct 2012 13:04:02 +0000 (15:04 +0200)]
  * grub-core/Makefile.am (moddep.lst): Use $(AWK) instead of awk

11 years ago* grub-core/loader/i386/linux.c (allocate_pages): Fix spelling of
Colin Watson [Fri, 5 Oct 2012 12:09:19 +0000 (13:09 +0100)]
* grub-core/loader/i386/linux.c (allocate_pages): Fix spelling of
preferred_address.
(grub_cmd_linux): Likewise.
* grub-core/net/icmp6.c (struct prefix_option): Fix spelling of
preferred_lifetime.  Update all users.

12 years ago* Makefile.util.def (grub-mknetdir): Move to $prefix/bin.
Colin Watson [Wed, 26 Sep 2012 12:51:13 +0000 (13:51 +0100)]
* Makefile.util.def (grub-mknetdir): Move to $prefix/bin.
Reported by: Daniel Kahn Gillmor.  Fixes Debian bug #688799.

12 years ago* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Redirect
Colin Watson [Wed, 26 Sep 2012 12:12:20 +0000 (13:12 +0100)]
* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Redirect
errors from grub-probe to /dev/null, not stdout.

12 years ago * grub-core/fs/affs.c (grub_affs_mount): Support AFFS bootblock in
Vladimir 'phcoder' Serbinenko [Wed, 26 Sep 2012 07:33:41 +0000 (09:33 +0200)]
* grub-core/fs/affs.c (grub_affs_mount): Support AFFS bootblock in
sector 1.

12 years ago* util/grub-install.in: Make the error message if $source_dir
Colin Watson [Mon, 24 Sep 2012 17:50:35 +0000 (18:50 +0100)]
* util/grub-install.in: Make the error message if $source_dir
doesn't exist more useful.

12 years agoFix grub-emu build on FreeBSD.
Colin Watson [Sat, 22 Sep 2012 20:19:58 +0000 (21:19 +0100)]
Fix grub-emu build on FreeBSD.

* Makefile.util.def (grub-mount): Add LIBGEOM to ldadd.
* grub-core/net/drivers/emu/emunet.c: Only include Linux-specific
headers on Linux.
(GRUB_MOD_INIT): Return immediately on non-Linux platforms; this
implementation is currently Linux-specific.
* util/getroot.c (exec_pipe): Define only on Linux or when either
libzfs or libnvpair is unavailable.
(find_root_devices_from_poolname): Remove unused path variable.

12 years ago* grub-core/partmap/msdos.c (pc_partition_map_embed): Revert
Colin Watson [Wed, 19 Sep 2012 01:44:54 +0000 (02:44 +0100)]
* grub-core/partmap/msdos.c (pc_partition_map_embed): Revert
incorrect off-by-one fix from 2011-02-12.  A 62-sector core image
should fit before end == 63.

12 years ago* util/grub-setup.c (write_rootdev): Remove unused core_img
Colin Watson [Wed, 19 Sep 2012 01:41:51 +0000 (02:41 +0100)]
* util/grub-setup.c (write_rootdev): Remove unused core_img
parameter.  Update all callers.
(setup): Define core_sectors only if GRUB_SETUP_BIOS, to appease
'gcc -Wunused-but-set-variable'.  Remove unnecessary nested #ifdef
GRUB_SETUP_BIOS.

12 years ago * util/grub-mkconfig_lib.in (grub_tab): New variable.
Vladimir 'phcoder' Serbinenko [Tue, 18 Sep 2012 11:04:06 +0000 (13:04 +0200)]
* util/grub-mkconfig_lib.in (grub_tab): New variable.
(grub_add_tab): New function.
* util/grub.d/10_hurd.in: Replace \t with $grub_tab orgrub_add_tab.
* util/grub.d/10_illumos.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/10_netbsd.in: Likewise.
* util/grub.d/10_windows.in: Likewise.
* util/grub.d/10_xnu.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.
* util/grub.d/30_os-prober.in: Likewise.

12 years ago * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
Vladimir 'phcoder' Serbinenko [Tue, 18 Sep 2012 09:52:19 +0000 (11:52 +0200)]
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN on mac.
* grub-core/term/ieee1275/console.c (grub_console_init_lately): Use
ieee1275-nocursor if GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN is set.
* grub-core/term/terminfo.c (grub_terminfo_set_current): Add new type
ieee1275-nocursor.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN.

12 years ago * grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
Vladimir 'phcoder' Serbinenko [Tue, 18 Sep 2012 09:44:29 +0000 (11:44 +0200)]
* grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
le-conversion.
Reported by: BURETTE, Bernard.

12 years ago* util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
Colin Watson [Mon, 17 Sep 2012 15:58:50 +0000 (16:58 +0100)]
* util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
from comment.

12 years ago* grub-core/term/terminfo.c: Only fix up powerpc key repeat on
Colin Watson [Fri, 14 Sep 2012 10:23:36 +0000 (11:23 +0100)]
* grub-core/term/terminfo.c: Only fix up powerpc key repeat on
IEEE1275 machines.  Fixes powerpc-emu compilation.
* include/grub/terminfo.h: Likewise.

12 years ago * include/grub/efi/api.h (grub_efi_runtime_services): Make vendor_guid
Vladimir 'phcoder' Serbinenko [Wed, 12 Sep 2012 06:31:05 +0000 (08:31 +0200)]
* include/grub/efi/api.h (grub_efi_runtime_services): Make vendor_guid
a const pointer.
* grub-core/efiemu/runtime/efiemu.c (efiemu_memcpy): Make from a
const pointer.
(efiemu_set_variable): Make vendor_guid a const pointer.

12 years ago Don't require grub-mkconfig_lib to generate manpages for programs.
Vladimir 'phcoder' Serbinenko [Wed, 12 Sep 2012 06:27:26 +0000 (08:27 +0200)]
Don't require grub-mkconfig_lib to generate manpages for programs.

* gentpl.py (manpage): Additional argument adddeps. Add adddeps to
dependencies, don't add grub-mkconfig_lib.
(program): Pass empty adddeps.
(script): Pass grub-mkconfig_lib as adddeps.

12 years ago * grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.
Vladimir 'phcoder' Serbinenko [Tue, 11 Sep 2012 05:53:26 +0000 (07:53 +0200)]
* grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.
* util/getroot.c (grub_find_device): Likewise.
(get_mdadm_uuid): Likewise.
(grub_util_is_imsm): Likewise.
(grub_util_pull_device): Likewise.
* util/grub-probe.c (probe): Likewise.

12 years ago * grub-core/loader/efi/appleloader.c (devpath_8): New var.
Benoit Gschwind [Mon, 10 Sep 2012 07:34:29 +0000 (09:34 +0200)]
* grub-core/loader/efi/appleloader.c (devpath_8): New var.
(devs): Add devpath_8.

12 years ago * grub-core/Makefile.core.def (efifwsetup): New module.
Peter Jones [Sat, 8 Sep 2012 07:40:24 +0000 (09:40 +0200)]
* grub-core/Makefile.core.def (efifwsetup): New module.
* grub-core/commands/efi/efifwsetup.c: New file.
* grub-core/kern/efi/efi.c (grub_efi_set_variable): New function
* include/grub/efi/api.h (GRUB_EFI_OS_INDICATIONS_BOOT_TO_FW_UI):
New define.
* include/grub/efi/efi.h (grub_efi_set_variable): New proto.

12 years ago * configure.ac: Add SuSe path.
Jiri Slaby [Wed, 5 Sep 2012 14:09:41 +0000 (16:09 +0200)]
* configure.ac: Add SuSe path.

12 years ago* NEWS: Fix typo.
Colin Watson [Wed, 5 Sep 2012 12:55:54 +0000 (13:55 +0100)]
* NEWS: Fix typo.

12 years ago* util/import_gcry.py: Sort cipher_files, to make build system
Colin Watson [Wed, 5 Sep 2012 08:00:39 +0000 (09:00 +0100)]
* util/import_gcry.py: Sort cipher_files, to make build system
generation more deterministic.

12 years ago * grub-core/disk/ieee1275/ofdisk.c (scan): Check function return value.
Vladimir 'phcoder' Serbinenko [Wed, 5 Sep 2012 06:56:08 +0000 (08:56 +0200)]
* grub-core/disk/ieee1275/ofdisk.c (scan): Check function return value.
* grub-core/lib/ieee1275/datetime.c (grub_get_datetime): Likewise.
(grub_set_datetime): Likewise.

12 years ago * grub-core/script/yylex.l: Ignore unused-function and sign-compare
Vladimir 'phcoder' Serbinenko [Wed, 5 Sep 2012 06:51:31 +0000 (08:51 +0200)]
* grub-core/script/yylex.l: Ignore unused-function and sign-compare
warnings.

12 years ago * grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.
Vladimir 'phcoder' Serbinenko [Wed, 5 Sep 2012 06:47:39 +0000 (08:47 +0200)]
* grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.

12 years ago * grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
Vladimir 'phcoder' Serbinenko [Wed, 5 Sep 2012 06:45:07 +0000 (08:45 +0200)]
* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.

12 years ago* Makefile.am (EXTRA_DIST): Add linguas.sh. It's only strictly
Colin Watson [Tue, 4 Sep 2012 22:35:38 +0000 (23:35 +0100)]
* Makefile.am (EXTRA_DIST): Add linguas.sh.  It's only strictly
required for checkouts from bzr, but it may be useful for users or
distributors wishing to update translations against a tarball
distribution, and it can be helpful for the tarball to be a superset
of what's in bzr.

12 years ago* Makefile.am (EXTRA_DIST): Add
Colin Watson [Tue, 4 Sep 2012 17:59:41 +0000 (18:59 +0100)]
* Makefile.am (EXTRA_DIST): Add
grub-core/tests/boot/linux.init-mips.S,
grub-core/tests/boot/linux.init-ppc.S, and
grub-core/tests/boot/linux-ppc.cfg.

12 years ago* grub-core/mmap/mips/loongson: Remove empty directory.
Colin Watson [Tue, 4 Sep 2012 17:56:13 +0000 (18:56 +0100)]
* grub-core/mmap/mips/loongson: Remove empty directory.

12 years ago* docs/man/grub-mkdevicemap.h2m: Remove, since grub-mkdevicemap is
Colin Watson [Tue, 4 Sep 2012 17:39:40 +0000 (18:39 +0100)]
* docs/man/grub-mkdevicemap.h2m: Remove, since grub-mkdevicemap is
gone.

12 years ago* .bzrignore: Add grub-bios-setup, grub-ofpathname, and
Colin Watson [Tue, 4 Sep 2012 17:33:33 +0000 (18:33 +0100)]
* .bzrignore: Add grub-bios-setup, grub-ofpathname, and
grub-sparc64-setup.

12 years agoStrengthen the configure test for working -nostdinc -isystem.
Grégoire Sutre [Sun, 5 Aug 2012 14:49:03 +0000 (16:49 +0200)]
Strengthen the configure test for working -nostdinc -isystem.

12 years agoRegenerate po/POTFILES.in with the following commmand in a clean tree:
Grégoire Sutre [Tue, 31 Jul 2012 23:06:53 +0000 (01:06 +0200)]
Regenerate po/POTFILES.in with the following commmand in a clean tree:

export LC_ALL=en_US.UTF-8
find . -iname '*.[ch]' | sort > po/POTFILES.in

12 years agoUpdate manual NetBSD-wise.
Grégoire Sutre [Tue, 31 Jul 2012 22:18:57 +0000 (00:18 +0200)]
Update manual NetBSD-wise.

12 years agoEHCI and OHCI PCI bus master
starous [Sun, 22 Jul 2012 19:09:30 +0000 (21:09 +0200)]
EHCI and OHCI PCI bus master

12 years ago * util/grub-mkconfig_lib.in (grub_quote): Remove extra layer of escape.
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 18:02:17 +0000 (20:02 +0200)]
* util/grub-mkconfig_lib.in (grub_quote): Remove extra layer of escape.
* util/grub.d/10_hurd.in: Add missing quoting.
* util/grub.d/10_illumos.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

12 years ago New command `lsefi'.
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 17:59:06 +0000 (19:59 +0200)]
New command `lsefi'.

* grub-core/Makefile.core.def (lsefi): New module.
* grub-core/commands/efi/lsefi.c: New file.
* include/grub/efi/api.h: Add more GUIDs.

12 years ago * grub-core/loader/i386/bsd.c (grub_bsd_elf32_size_hook): Fix mask.
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 14:30:48 +0000 (16:30 +0200)]
* grub-core/loader/i386/bsd.c (grub_bsd_elf32_size_hook): Fix mask.
(grub_bsd_elf32_hook): Likewise.
(grub_bsd_elf64_size_hook): Likewise.
(grub_bsd_elf64_hook): Likewise.
(grub_bsd_load_elf): Likewise.

12 years ago * grub-core/lib/xzembed/xz_dec_stream.c (hash_validate): Fix behaviour
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 14:27:03 +0000 (16:27 +0200)]
* grub-core/lib/xzembed/xz_dec_stream.c (hash_validate): Fix behaviour
if hash function is unavailable.
(dec_stream_header): Likewise.

12 years ago * grub-core/normal/autofs.c (autoload_fs_module): Save and restore
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 14:23:46 +0000 (16:23 +0200)]
* grub-core/normal/autofs.c (autoload_fs_module): Save and restore
filter state.

12 years ago Fix coreboot compilation.
Vladimir 'phcoder' Serbinenko [Sun, 22 Jul 2012 14:21:24 +0000 (16:21 +0200)]
Fix coreboot compilation.

* grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
(grub_vga_text_init_real): ... this.
(grub_vga_text_fini): Rename to ...
(grub_vga_text_fini_real): ... this.

12 years ago * grub-core/Makefile.am: Fix path to boot/i386/pc/startup_raw.S.
Vladimir 'phcoder' Serbinenko [Sat, 7 Jul 2012 12:29:01 +0000 (14:29 +0200)]
* grub-core/Makefile.am: Fix path to boot/i386/pc/startup_raw.S.

12 years ago * grub-core/lib/legacy_parse.c: Support clear and testload.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:31:31 +0000 (11:31 +0200)]
* grub-core/lib/legacy_parse.c: Support clear and testload.

12 years ago * grub-core/term/efi/serial.c: Support 1.5 stop bits.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:30:04 +0000 (11:30 +0200)]
* grub-core/term/efi/serial.c: Support 1.5 stop bits.

12 years ago * grub-core/fs/ext2.c: Experimental support for 64-bit.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:28:42 +0000 (11:28 +0200)]
* grub-core/fs/ext2.c: Experimental support for 64-bit.

12 years ago * grub-core/net/tftp.c (ack): Fix endianness problem.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:22:50 +0000 (11:22 +0200)]
* grub-core/net/tftp.c (ack): Fix endianness problem.
(tftp_receive): Likewise.
Reported by: Michael Davidsaver.

12 years ago * gentpl.py: Make mans depend on grub-mkconfig_lib.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:20:51 +0000 (11:20 +0200)]
* gentpl.py: Make mans depend on grub-mkconfig_lib.

12 years ago * include/grub/list.h (FOR_LIST_ELEMENTS_SAFE): New macro.
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:19:22 +0000 (11:19 +0200)]
* include/grub/list.h (FOR_LIST_ELEMENTS_SAFE): New macro.
* include/grub/command.h (FOR_COMMANDS_SAFE): Likewise.
* grub-core/commands/help.c (grub_cmd_help): Use FOR_COMMANDS_SAFE.

12 years ago * grub-core/loader/i386/linux.c (find_efi_mmap_size): Don't decrease
Vladimir 'phcoder' Serbinenko [Mon, 2 Jul 2012 09:14:37 +0000 (11:14 +0200)]
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Don't decrease
efi_mmap_size.
Reported by: Stuart Hayes.

12 years agomissing file from last commit
Vladimir 'phcoder' Serbinenko [Thu, 28 Jun 2012 13:36:48 +0000 (15:36 +0200)]
missing file from last commit

12 years ago Add monochrome text support (mda_text, aka `hercules' in grub-legacy).
Vladimir 'phcoder' Serbinenko [Thu, 28 Jun 2012 13:27:54 +0000 (15:27 +0200)]
Add monochrome text support (mda_text, aka `hercules' in grub-legacy).

* grub-core/Makefile.core.def (mda_text): New module.
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Support `hercules'.
* grub-core/term/i386/vga_common.c (grub_console_cur_color): Moved to ..
* grub-core/term/i386/pc/vga_text.c (cur_color): ... here
* grub-core/term/i386/pc/console.c (grub_console_cur_color): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_getwh): Moved to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_getwh): ... here
* grub-core/term/i386/pc/console.c (grub_console_getwh): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_setcolorstate): Moved
to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_setcolorstate):
... here
* grub-core/term/i386/pc/console.c (grub_console_setcolorstate): ... and
here.
* grub-core/term/i386/vga_common.c: Removed.
* include/grub/i386/vga_common.h: Likewise.
* include/grub/vga.h (grub_vga_cr_bw_write): New function.
(grub_vga_cr_bw_read): Likewise.
* include/grub/vgaregs.h (GRUB_VGA_IO_CR_BW_INDEX): New enum value.
(GRUB_VGA_IO_CR_BW_DATA): Likewise.
* grub-core/term/i386/pc/vga_text.c [MODE_MDA]: Call
grub_vga_cr_bw_read/grub_vga_cr_bw_write instead of
grub_vga_cr_read/grub_vga_cr_write.
(grub_vga_text_setcolorstate) [MODE_MDA]: Ignore color.

12 years ago * configure.ac: Bump version to 2.00.
Vladimir 'phcoder' Serbinenko [Thu, 28 Jun 2012 00:06:36 +0000 (02:06 +0200)]
* configure.ac: Bump version to 2.00.
* grub-core/normal/main.c (features): Add feature_200_final.

12 years ago * NEWS: Fix unclarity and language mistakes.
Vladimir 'phcoder' Serbinenko [Wed, 27 Jun 2012 21:37:20 +0000 (23:37 +0200)]
* NEWS: Fix unclarity and language mistakes.

12 years ago * grub-core/loader/i386/linux.c (find_efi_mmap_size): Increase
Vladimir 'phcoder' Serbinenko [Wed, 27 Jun 2012 20:55:09 +0000 (22:55 +0200)]
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Increase
additional size to 3 pages.
Reported by: Stuart Hayes.

12 years ago * NEWS: Add 2.00 entry.
Vladimir 'phcoder' Serbinenko [Wed, 27 Jun 2012 20:28:32 +0000 (22:28 +0200)]
* NEWS: Add 2.00 entry.

12 years ago * grub-core/commands/wildcard.c (check_file): Fix bad logic.
Vladimir 'phcoder' Serbinenko [Wed, 27 Jun 2012 19:13:06 +0000 (21:13 +0200)]
* grub-core/commands/wildcard.c (check_file): Fix bad logic.
put explicit "/" for empty path.
(wildcard_expand): Improve dprintf.

12 years ago * grub-core/fs/fshelp.c (grub_fshelp_find_file): Don't free oldnode if
Vladimir 'phcoder' Serbinenko [Wed, 27 Jun 2012 17:37:40 +0000 (19:37 +0200)]
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Don't free oldnode if
it's equal to currnode. This can happen with "" symlink.

12 years ago * util/grub-mkconfig_lib.in: Fix print messages replacing builtin
Yves Blusseau [Wed, 27 Jun 2012 09:22:43 +0000 (11:22 +0200)]
* util/grub-mkconfig_lib.in: Fix print messages replacing builtin
    echo shell command by printf command.

12 years ago * grub-core/term/arc/console.c (grub_console_init_output): Add one since
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 21:34:32 +0000 (23:34 +0200)]
* grub-core/term/arc/console.c (grub_console_init_output): Add one since
the value returned by firmware is the maximal position, not diumension.
(grub_terminfo_output_state): Use a more sane fallback.

12 years ago * grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 21:32:00 +0000 (23:32 +0200)]
* grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.

12 years ago * grub-core/kern/mips/arc/init.c (grub_machine_init): Set clock
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 21:28:23 +0000 (23:28 +0200)]
* grub-core/kern/mips/arc/init.c (grub_machine_init): Set clock
frequency to 150 MHz.

12 years ago Apple fixes.
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 12:56:28 +0000 (14:56 +0200)]
Apple fixes.

* grub-core/lib/i386/relocator16.S: Use correct __APPLE__ and not
__APPLE_
* grub-core/lib/i386/relocator_common.S [__APPLE__]: Fix gdtdesc
definition.
* grub-core/lib/i386/relocator64.S [__APPLE__]: Assemble jmp manually.

12 years ago Handle slash in HFS label.
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 12:53:35 +0000 (14:53 +0200)]
Handle slash in HFS label.

* grub-core/fs/hfs.c (macroman_to_utf8): New argument slash_translate.
(grub_hfs_dir): Tanslate slash.
(grub_hfs_label): Don't translate slash.

12 years ago * grub-core/commands/ls.c (grub_ls_list_devices): Disable
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 01:45:46 +0000 (03:45 +0200)]
* grub-core/commands/ls.c (grub_ls_list_devices): Disable
network protocol listing since it introduces problematic dependency on
net module.

12 years ago * util/grub-mkimage.c (generate_image): Add Yeeloong verified hash.
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 01:38:10 +0000 (03:38 +0200)]
* util/grub-mkimage.c (generate_image): Add Yeeloong verified hash.

12 years ago Init video early on yeeloong to avoid being rebooted by watchdog.
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 01:36:14 +0000 (03:36 +0200)]
Init video early on yeeloong to avoid being rebooted by watchdog.

* grub-core/Makefile.am (gensm712): New target.
(sm712_start.S): Likewise.
(boot/mips/loongson/fwstart.S): Depend on sm712_start.S
* grub-core/boot/mips/loongson/fwstart.S [!FULOONG2F]: Init SM712.
* grub-core/video/sm712.c [GENINIT]: Generate compact init procedure
description.
* include/grub/vga.h: Move registry definitions to...
* include/grub/vgaregs.h: ... here.

12 years ago * grub-core/boot/decompressor/minilib.c (grub_memcmp): Fix the compare
Vladimir 'phcoder' Serbinenko [Tue, 26 Jun 2012 01:31:41 +0000 (03:31 +0200)]
* grub-core/boot/decompressor/minilib.c (grub_memcmp): Fix the compare
signedness.

12 years ago * util/grub-install.in: Fix dvhtool invocation. Add arc to the list of
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 17:32:22 +0000 (19:32 +0200)]
* util/grub-install.in: Fix dvhtool invocation. Add arc to the list of
platforms with firmware disk drivers in the core.

12 years ago * grub-core/disk/diskfilter.c (scan_disk) [GRUB_UTIL]: Put more
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 15:54:46 +0000 (17:54 +0200)]
* grub-core/disk/diskfilter.c (scan_disk) [GRUB_UTIL]: Put more
informative verbose message.
(read_lv): Handle 64-bit segment size.

12 years ago * grub-core/disk/lvm.c (grub_lvm_getvalue): Handle 64-bit values.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 15:52:20 +0000 (17:52 +0200)]
* grub-core/disk/lvm.c (grub_lvm_getvalue): Handle 64-bit values.

12 years ago * grub-core/fs/fat.c (grub_fat_iterate_dir_next): Don't stop on a space
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 15:47:52 +0000 (17:47 +0200)]
* grub-core/fs/fat.c (grub_fat_iterate_dir_next): Don't stop on a space
character but still remove trainling spaces.
(grub_fat_label): Ignore archive flag.

12 years ago * grub-core/loader/i386/linux.c (grub_cmd_initrd): Avoid unnecessarry
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 15:44:36 +0000 (17:44 +0200)]
* grub-core/loader/i386/linux.c (grub_cmd_initrd): Avoid unnecessarry
cast between linux_kernel_header and linux_kernel_params.

12 years ago * include/grub/diskfilter.h (grub_raid5_recover_func_t): Use proper
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 15:36:50 +0000 (17:36 +0200)]
* include/grub/diskfilter.h (grub_raid5_recover_func_t): Use proper
type for size.
(grub_raid6_recover_func_t): Likewise.
* grub-core/disk/raid5_recover.c (grub_raid5_recover): Likewise.
* grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.

12 years ago * util/grub-mkimage.c (generate_image): Add Fuloong2F verified hash.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jun 2012 10:36:50 +0000 (12:36 +0200)]
* util/grub-mkimage.c (generate_image): Add Fuloong2F verified hash.

12 years agoFix overflow in grub_util_get_fd_size for NetBSD.
Grégoire Sutre [Mon, 25 Jun 2012 08:09:57 +0000 (10:09 +0200)]
Fix overflow in grub_util_get_fd_size for NetBSD.

12 years ago * configure.ac: Bump to 2.00~rc1.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jun 2012 20:56:19 +0000 (22:56 +0200)]
* configure.ac: Bump to 2.00~rc1.

12 years ago * grub-core/boot/mips/loongson/fwstart.S: Add missing setting of high
Vladimir 'phcoder' Serbinenko [Sat, 23 Jun 2012 09:27:27 +0000 (11:27 +0200)]
* grub-core/boot/mips/loongson/fwstart.S: Add missing setting of high
half of $a0.

12 years ago * docs/grub.texi: Fix search syntax.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jun 2012 08:55:14 +0000 (10:55 +0200)]
* docs/grub.texi: Fix search syntax.
(Multi-boot manual config): Put msdos rather than GPT example.
Grammar corrections.

12 years ago * docs/grub.texi (Multi-boot manual config): Use --set. Improve remark.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 22:55:25 +0000 (00:55 +0200)]
* docs/grub.texi (Multi-boot manual config): Use --set. Improve remark.

12 years ago * grub-core/kern/mm.c (grub_free): Fix agglomerating of free regions.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 22:39:10 +0000 (00:39 +0200)]
* grub-core/kern/mm.c (grub_free): Fix agglomerating of free regions.

12 years ago * grub-core/kern/mm.c (get_header_from_pointer): Put a more informative
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 21:54:43 +0000 (23:54 +0200)]
* grub-core/kern/mm.c (get_header_from_pointer): Put a more informative
message on double free. Put the value of magic in case of mismatch.

12 years ago Speed-up video on yeeloong.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 21:47:34 +0000 (23:47 +0200)]
Speed-up video on yeeloong.

* grub-core/video/sm712.c (framebuffer): Remove render_target and
add cached_ptr.
(grub_video_sm712_video_fini): Unmap cached_ptr.
(grub_video_sm712_setup): Use cache address and grub_video_fb_setup.
(grub_video_sm712_set_active_render_target): Removed.
(grub_video_adapter): Use grub_video_fb_set_active_render_target.
(grub_video_sm712_swap_buffers): Call grub_video_fb_swap_buffers and
sync caches.

12 years ago Avoid flushing the same line multiple times on loongson.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 21:36:33 +0000 (23:36 +0200)]
Avoid flushing the same line multiple times on loongson.

* grub-core/kern/mips/cache.S [GRUB_MACHINE_MIPS_LOONGSON]:
Step in 32 bytes and not 1 byte.
* grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]:
Likewise.

12 years ago * util/getroot.c (grub_find_root_devices_from_mountinfo): Handle btrfs
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 20:11:23 +0000 (22:11 +0200)]
* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle btrfs
subvolumes.

12 years ago Implement flow control for http.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 20:09:31 +0000 (22:09 +0200)]
Implement flow control for http.

* grub-core/net/http.c (parse_line): Handle response 206.
(http_receive): Stall if too many packets are in the queue.
(http_establish): Fix range header.
(http_seek): Fix double free.
(http_close): Likewise.
(http_packets_pulled): New function.
(grub_http_protocol): Set http_seek
* grub-core/net/tcp.c (grub_net_tcp_socket): New field `i_stall'.
(ack_real): Set window depending on i_stall.
(grub_net_send_tcp_packet): Likewise.
(grub_net_tcp_stall): New function.
(grub_net_tcp_unstall): Likewise.
* include/grub/net/tcp.h (grub_net_tcp_stall): New proto.
(grub_net_tcp_unstall): Likewise.

12 years ago * grub-core/net/tftp.c: Decrease stall to 50 packets.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 20:04:16 +0000 (22:04 +0200)]
* grub-core/net/tftp.c: Decrease stall to 50 packets.

12 years ago * grub-core/net/net.c (grub_net_fs_open): Free resources on failed open.
Vladimir 'phcoder' Serbinenko [Fri, 22 Jun 2012 20:02:47 +0000 (22:02 +0200)]
* grub-core/net/net.c (grub_net_fs_open): Free resources on failed open.