]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago * grub-core/term/gfxterm.c: Add flag "functional" to skip input when
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:32:19 +0000 (23:32 +0200)]
* grub-core/term/gfxterm.c: Add flag "functional" to skip input when
changing windows to avoid crash.

10 years ago * grub-core/kern/arm/cache.c: Add v5 write-through cache support.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:29:57 +0000 (23:29 +0200)]
* grub-core/kern/arm/cache.c: Add v5 write-through cache support.

10 years ago * po/exclude.pot: Add several strings to exclude.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:27:52 +0000 (23:27 +0200)]
* po/exclude.pot: Add several strings to exclude.

10 years ago * tests/gettext_strings_test.in: Add getroot_*.c to exclude list.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:25:48 +0000 (23:25 +0200)]
* tests/gettext_strings_test.in: Add getroot_*.c to exclude list.

10 years ago * autogen.sh: Add ./util/grub-gen-widthspec.c and
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:24:47 +0000 (23:24 +0200)]
* autogen.sh: Add ./util/grub-gen-widthspec.c and
./util/grub-gen-asciih.c to exclude list.

10 years ago * grub-core/gfxmenu/theme_loader.c (theme_set_string): Fix memory leak
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:23:00 +0000 (23:23 +0200)]
* grub-core/gfxmenu/theme_loader.c (theme_set_string): Fix memory leak
and don't mark error strings for translation.

10 years ago * grub-core/disk/uboot/ubootdisk.c (uboot_disk_open): Use grub_error
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:20:00 +0000 (23:20 +0200)]
* grub-core/disk/uboot/ubootdisk.c (uboot_disk_open): Use grub_error
properly in case of missing block size.

10 years ago * grub-core/lib/arm/setjmp.S: Add missing license section.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 17:50:08 +0000 (19:50 +0200)]
* grub-core/lib/arm/setjmp.S: Add missing license section.

10 years ago * po/swiss.sed: Add replacement for key names and for term computer.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 11:56:08 +0000 (13:56 +0200)]
* po/swiss.sed: Add replacement for key names and for term computer.

10 years ago * grub-core/gfxmenu/theme_loader.c: New global options for the
Vladimir Testov [Wed, 2 Oct 2013 14:17:33 +0000 (18:17 +0400)]
   * grub-core/gfxmenu/theme_loader.c: New global options for the
       theme background image handling. desktop-image-scale-method,
       desktop-image-h-align, desktop-image-v-align.
       * grub-core/gfxmenu/view.c: Likewise.
       * include/gfxmenu_view.h: Likewise.
       * include/bitmap_scale.h: Proportional scale functions introduced.
       * grub-core/video/bitmap_scale.c: Likewise. Verification checks are
       put in a separate functions. GRUB_ERR_BUG is set for grub_error in
       cases of unexpected input variables for scale functions.
       * docs/grub.texi: Updated documentation for new options.

10 years ago * grub-core/video/readers/png.c: Support narrow (4-/2-/1-bpp) PNG.
Vladimir 'phcoder' Serbinenko [Wed, 2 Oct 2013 11:22:56 +0000 (13:22 +0200)]
* grub-core/video/readers/png.c: Support narrow (4-/2-/1-bpp) PNG.

10 years ago * grub-core/tests/checksums.h: Corrected due to changes in
Vladimir Testov [Tue, 1 Oct 2013 14:00:53 +0000 (18:00 +0400)]
   * grub-core/tests/checksums.h: Corrected due to changes in
       bilinear interpolation function.

10 years ago * grub-core/video/bitmap_scale.c (scale_bilinear): Increased precision
Vladimir Testov [Tue, 1 Oct 2013 12:34:04 +0000 (16:34 +0400)]
   * grub-core/video/bitmap_scale.c (scale_bilinear): Increased precision
       to eliminate artefacts in bilinear interpolation.

11 years ago * grub-core/video/readers/tga.c: Support paletted tga.
Vladimir 'phcoder' Serbinenko [Sat, 28 Sep 2013 17:22:20 +0000 (19:22 +0200)]
* grub-core/video/readers/tga.c: Support paletted tga.

11 years ago * grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove
Vladimir 'phcoder' Serbinenko [Sat, 28 Sep 2013 01:06:04 +0000 (03:06 +0200)]
* grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove
incorrect cbcr setting when in color mode.

11 years ago * grub-core/video/readers/png.c: Support paletted images and clean up
Vladimir 'phcoder' Serbinenko [Sat, 28 Sep 2013 01:04:34 +0000 (03:04 +0200)]
* grub-core/video/readers/png.c: Support paletted images and clean up
greyscale support.

11 years ago * grub-core/term/terminfo.c (grub_terminfo_readkey): Fix
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 23:03:31 +0000 (01:03 +0200)]
* grub-core/term/terminfo.c (grub_terminfo_readkey): Fix
usage of wrong table which resulted in mishandling of 4-byte
sequences.

11 years ago * grub-core/term/terminfo.c: Add Home and End key sequences.
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 22:55:38 +0000 (00:55 +0200)]
* grub-core/term/terminfo.c: Add Home and End key sequences.

11 years ago * grub-core/video/readers/png.c (grub_png_decode_image_header):
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 19:51:52 +0000 (21:51 +0200)]
* grub-core/video/readers/png.c (grub_png_decode_image_header):
Fix formula for computing total number of bytes.

11 years ago * grub-core/video/readers/tga.c: Reorganize to separate RLE and
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 19:49:08 +0000 (21:49 +0200)]
* grub-core/video/readers/tga.c: Reorganize to separate RLE and
image processing, fix big-endian and support grayscale.

11 years ago * grub-core/video/fb/video_fb.c (grub_video_fb_create_render_target):
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 19:44:03 +0000 (21:44 +0200)]
* grub-core/video/fb/video_fb.c (grub_video_fb_create_render_target):
Correctly will with maximum transparency when using index color.

11 years ago * grub-core/video/readers/png.c: Support grayscale
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 10:04:09 +0000 (12:04 +0200)]
* grub-core/video/readers/png.c: Support grayscale

11 years ago * grub-core/video/readers/jpeg.c: Support grayscale.
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 09:13:36 +0000 (11:13 +0200)]
* grub-core/video/readers/jpeg.c: Support grayscale.

11 years ago * grub-core/commands/loadenv.c: Support skipping signature check
Jon McCune [Fri, 27 Sep 2013 00:08:32 +0000 (02:08 +0200)]
* grub-core/commands/loadenv.c: Support skipping signature check
and variable names filtering.

11 years ago * grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 17:19:31 +0000 (19:19 +0200)]
* grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.
* grub-core/kern/emu/hostfs.c: Likewise.
* util/getroot_unix.c: Likewise.

11 years ago * include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define.
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 17:17:24 +0000 (19:17 +0200)]
* include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define.
Migrate all explicit defines to this new one.

11 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Use
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 17:08:34 +0000 (19:08 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Use
grub_util_fd_strerror when using grub_util_fd_*.
(grub_util_fd_open_device): Likewise.
(grub_util_biosdisk_read): Likewise.
(grub_util_biosdisk_write): Likewise.
* grub-core/kern/emu/hostdisk_unix.c (grub_util_fd_open): New function.
(grub_util_fd_strerror): Likewise.
(grub_util_fd_sync): Likewise.
(grub_util_fd_close): Likewise.
* grub-core/kern/emu/hostdisk_windows.c (grub_util_fd_sync): Likewise.
(grub_util_fd_close): Likewise.
(grub_util_fd_strerror): Likewise.
* include/grub/emu/hostdisk.h (grub_util_fd_close): Make into real
function proto rather than macro.
(grub_util_fd_sync): Likewise.
(grub_util_fd_open): Likewise.
(grub_util_fd_strerror): New proto.

11 years ago * util/getroot.c (grub_util_biosdisk_is_present): Don't do stat on
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 16:58:33 +0000 (18:58 +0200)]
* util/getroot.c (grub_util_biosdisk_is_present): Don't do stat on
platforms on which it doesn't work.

11 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Move struct
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 16:57:19 +0000 (18:57 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Move struct
stat immediately to where it's used.

11 years ago * util/getroot.c (grub_util_check_block_device): Move to ...
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 16:55:10 +0000 (18:55 +0200)]
* util/getroot.c (grub_util_check_block_device): Move to ...
* util/getroot_unix.c (grub_util_check_block_device): ... here.
* util/getroot.c (grub_util_check_char_device): Move to ...
* util/getroot_unix.c (grub_util_check_char_device): ... here.

11 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_close): Fix
Vladimir 'phcoder' Serbinenko [Tue, 24 Sep 2013 16:36:51 +0000 (18:36 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_close): Fix
disk closing logic.

11 years ago * docs/grub.texi (Simple configuration): Document GRUB_ENABLE_CRYPTODISK.
Andrey Borzenkov [Tue, 24 Sep 2013 11:27:02 +0000 (15:27 +0400)]
* docs/grub.texi (Simple configuration): Document GRUB_ENABLE_CRYPTODISK.

11 years ago * docs/grub.texi (File name syntax): Document ZFS filenames
Andrey Borzenkov [Tue, 24 Sep 2013 11:22:08 +0000 (15:22 +0400)]
* docs/grub.texi (File name syntax): Document ZFS filenames
(/volume@snapshot/...).

11 years ago * grub-core/kern/emu/hostdisk_windows.c (grub_util_get_windows_path):
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 20:49:20 +0000 (22:49 +0200)]
* grub-core/kern/emu/hostdisk_windows.c (grub_util_get_windows_path):
Always return full path. Fixes a problem with mkrelpath.

11 years ago * util/grub-install.in: Add GPT PReP support.
Paulo Flabiano Smorigo [Mon, 23 Sep 2013 20:42:32 +0000 (17:42 -0300)]
    * util/grub-install.in: Add GPT PReP support.
        * util/grub-probe.c (probe): Support GPT partition type.
        (main): Support -t gpt_parttype.

11 years agoUSB EHCI: SMI disabled in all cases
starous@volny.cz [Mon, 23 Sep 2013 18:30:52 +0000 (20:30 +0200)]
USB EHCI: SMI disabled in all cases

11 years ago * grub-core/fs/zfs/zfs.c (check_pool_label): Check nvlist.
Massimo Maggi [Mon, 23 Sep 2013 16:50:07 +0000 (18:50 +0200)]
* grub-core/fs/zfs/zfs.c (check_pool_label): Check nvlist.

11 years ago * util/grub.d/10_hurd.in: Filter out character for the class.
Tim Hardeck [Mon, 23 Sep 2013 15:48:38 +0000 (17:48 +0200)]
* util/grub.d/10_hurd.in: Filter out character for the class.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

11 years ago * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Fix the type of
Melki Christian [Mon, 23 Sep 2013 12:39:13 +0000 (14:39 +0200)]
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Fix the type of
"changed".

11 years ago * grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
Josh Triplett [Mon, 23 Sep 2013 12:31:42 +0000 (14:31 +0200)]
* grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
boot partition.

11 years ago * Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 12:09:56 +0000 (14:09 +0200)]
* Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
doesn't use posix_wrap. Keep literal -fno-builtin however.

11 years ago * conf/Makefile.common (CPPFLAGS_LIBFDT): Remove leftover.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 12:08:26 +0000 (14:08 +0200)]
* conf/Makefile.common (CPPFLAGS_LIBFDT): Remove leftover.

11 years ago * configure.ac: Do not enable -Wmissing-noreturn as its
neil [Mon, 23 Sep 2013 11:48:10 +0000 (13:48 +0200)]
* configure.ac: Do not enable -Wmissing-noreturn as its
usefulness is limited and creates problems on some OS notably with
code generated by bison.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
11 years ago * configure.ac: Do no explicitly enable -Waddress as it's not
neil [Mon, 23 Sep 2013 11:43:35 +0000 (13:43 +0200)]
* configure.ac: Do no explicitly enable -Waddress as it's not
supported by all gcc and when it is, it's already enabled by -Wall.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
11 years ago * grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 11:40:07 +0000 (13:40 +0200)]
* grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
desactivated use of EDID at all.

11 years ago * grub-core/loader/multiboot.c (grub_multiboot_set_console): Always use
neil [Mon, 23 Sep 2013 11:35:33 +0000 (13:35 +0200)]
* grub-core/loader/multiboot.c (grub_multiboot_set_console): Always use
video if no text is available.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
11 years ago * configure.ac: Substitute TARGET_RANLIB.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 11:20:32 +0000 (13:20 +0200)]
* configure.ac: Substitute TARGET_RANLIB.

11 years ago * grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 11:03:03 +0000 (13:03 +0200)]
* grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes.

Based on patches from AROS.

11 years ago * grub-core/Makefile.am: Override STRIP and RANLIB.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 10:55:18 +0000 (12:55 +0200)]
* grub-core/Makefile.am: Override STRIP and RANLIB.
* configure.ac: compute TARGET_RANLIB.
* INSTALL: Document TARGET_RANLIB

Based on patches from AROS.

11 years ago * util/getroot.c (grub_util_biosdisk_get_grub_dev): Do not assume
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 10:19:49 +0000 (12:19 +0200)]
* util/getroot.c (grub_util_biosdisk_get_grub_dev): Do not assume
that floppies are unpartitioned.

11 years ago * util/getroot_unix.c [__MINGW32__ || __CYGWIN__]:
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 10:06:00 +0000 (12:06 +0200)]
* util/getroot_unix.c [__MINGW32__ || __CYGWIN__]:
Define dummy grub_util_pull_lvm_by_command to decrease number of #if's.

11 years ago * grub-core/lib/posix_wrap/sys/types.h: Use OpenBSD approach: it's
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 10:03:56 +0000 (12:03 +0200)]
* grub-core/lib/posix_wrap/sys/types.h: Use OpenBSD approach: it's
less nice but more portable.
* grub-core/lib/posix_wrap/wchar.h: Likewise.

11 years ago * include/grub/cryptodisk.h (grub_cryptodisk): Use grub_util_fd_t
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 09:58:19 +0000 (11:58 +0200)]
* include/grub/cryptodisk.h (grub_cryptodisk): Use grub_util_fd_t
for cheat_fd.
* grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Use grub_util_*
functions.
(grub_cryptodisk_cheat_insert): Likewise.
(grub_cryptodisk_close): Likewise.

11 years ago * include/grub/emu/misc.h: Remove leftover cygwin definitions.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 09:24:10 +0000 (11:24 +0200)]
* include/grub/emu/misc.h: Remove leftover cygwin definitions.
Use windows path for DEFAULT_DIRECTORY.

11 years ago * include/grub/i386/setjmp.h: Remove useless #if MINGW where original
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 09:22:40 +0000 (11:22 +0200)]
* include/grub/i386/setjmp.h: Remove useless #if MINGW where original
difference was likely just gcc version, not anything mingw-related.

11 years ago Use Winapi on both cygwin and mingw32 to share more code between both.
Vladimir 'phcoder' Serbinenko [Mon, 23 Sep 2013 09:21:09 +0000 (11:21 +0200)]
Use Winapi on both cygwin and mingw32 to share more code between both.

11 years ago* util/grub-install.in: Add --grub-editenv option.
Andrey Borzenkov [Sun, 22 Sep 2013 17:47:52 +0000 (21:47 +0400)]
* util/grub-install.in: Add --grub-editenv option.
* util/grub-install_header (grub_compress_file): Explicitly check for
plain file to avoid cp error.

11 years ago * docs/grub.texi (Device syntax): Document new LVM UUID based device
Andrey Borzenkov [Sun, 22 Sep 2013 17:35:13 +0000 (21:35 +0400)]
* docs/grub.texi (Device syntax): Document new LVM UUID based device
names; fix LVM driver name (lvm, not lv).
* util/grub-probe.c (probe_abstraction): Support lvmid/xxx device
names.

11 years ago * grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
Vladimir 'phcoder' Serbinenko [Sun, 22 Sep 2013 05:36:17 +0000 (07:36 +0200)]
* grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
files rather than one file with loads of #if's.
* util/getroot.c: Likewise.

11 years ago * grub-core/lib/posix_wrap/sys/types.h: Use stddef on *BSD.
Vladimir 'phcoder' Serbinenko [Sun, 22 Sep 2013 01:29:51 +0000 (03:29 +0200)]
* grub-core/lib/posix_wrap/sys/types.h: Use stddef on *BSD.

11 years ago * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Add windows and
Vladimir 'phcoder' Serbinenko [Sun, 22 Sep 2013 01:28:32 +0000 (03:28 +0200)]
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Add windows and
GNU/Hurd to the list of checked PRNG.

11 years ago * configure.ac: On FreeBSD use -melf_*_fbsd format.
Vladimir 'phcoder' Serbinenko [Sun, 22 Sep 2013 01:26:11 +0000 (03:26 +0200)]
* configure.ac: On FreeBSD use -melf_*_fbsd format.

11 years agoUSB EHCI QH handling patch
starous@volny.cz [Sat, 21 Sep 2013 13:48:53 +0000 (15:48 +0200)]
USB EHCI QH handling patch

11 years agoUSB EHCI QH handling patch
starous@volny.cz [Sat, 21 Sep 2013 13:39:51 +0000 (15:39 +0200)]
USB EHCI QH handling patch

11 years ago * grub-core/disk/diskfilter.c: Handle non-md UUIDs.
Vladimir 'phcoder' Serbinenko [Fri, 20 Sep 2013 18:37:03 +0000 (20:37 +0200)]
* grub-core/disk/diskfilter.c: Handle non-md UUIDs.
* grub-core/disk/lvm.c: Add LVM UUIDs.
* util/getroot.c: Use LVM UUIDs whenever possible.

11 years ago * util/getroot.c (grub_util_open_dm): Check major rather than the name
Vladimir 'phcoder' Serbinenko [Thu, 19 Sep 2013 07:46:06 +0000 (09:46 +0200)]
* util/getroot.c (grub_util_open_dm): Check major rather than the name
to determine if device is handled by devmapper.
(convert_system_partition_to_system_disk): Likewise.
(get_dm_uuid): Don't check explicitly if device is mapped, it's
already done in grub_util_open_dm.

11 years ago * kern/arm/cache.S: Correct access to ilinesz/dlinesz variables.
Leif Lindholm [Thu, 19 Sep 2013 07:21:24 +0000 (09:21 +0200)]
* kern/arm/cache.S: Correct access to ilinesz/dlinesz variables.
Clean up stack manipulation (sync_caches_armv*)

11 years ago * util/lvm.c: Remove since unused. Remove remaining references.
Vladimir 'phcoder' Serbinenko [Thu, 19 Sep 2013 07:05:56 +0000 (09:05 +0200)]
* util/lvm.c: Remove since unused. Remove remaining references.

11 years ago Handle the case of partitioned LVM properly.
Vladimir 'phcoder' Serbinenko [Thu, 19 Sep 2013 06:48:54 +0000 (08:48 +0200)]
Handle the case of partitioned LVM properly.

* grub-core/kern/emu/hostdisk.c (grub_util_get_dm_node_linear_info):
Stop on meeting LVM, mpath or DMRAID.
(grub_hostdisk_os_dev_to_grub_drive): Canonicalize os device.
(read_device_map): Likewise.
* util/getroot.c (convert_system_partition_to_system_disk): Assume that
device is full disk rather than erroring out on LVM and similar cases.

11 years ago * util/grub-mkconfig_lib.in: Keep supplied pkgdatadir if any.
Vladimir 'phcoder' Serbinenko [Wed, 18 Sep 2013 18:26:16 +0000 (20:26 +0200)]
* util/grub-mkconfig_lib.in: Keep supplied pkgdatadir if any.

11 years ago * grub-core/kern/mm.c (grub_mm_init_region): Skip regions less than
Vladimir 'phcoder' Serbinenko [Wed, 18 Sep 2013 18:23:47 +0000 (20:23 +0200)]
* grub-core/kern/mm.c (grub_mm_init_region): Skip regions less than
4K before the end.
Reported by: Leif Lindholm

11 years ago * grub-core/term/efi/console.c (grub_console_getkey): Accept VT100-style
Pawel Wojtalczyk [Wed, 18 Sep 2013 16:58:09 +0000 (18:58 +0200)]
* grub-core/term/efi/console.c (grub_console_getkey): Accept VT100-style
codes.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
11 years ago* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):
Colin Watson [Wed, 18 Sep 2013 14:43:58 +0000 (15:43 +0100)]
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):
Remove no-longer-true __attribute__ ((unused)) on disk parameter.

11 years ago * docs/grub.texi (Networking commands): Add documentation for
Andrey Borzenkov [Thu, 19 Sep 2013 09:56:42 +0000 (13:56 +0400)]
* docs/grub.texi (Networking commands): Add documentation for
network related commands.

11 years ago * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
Douglas Ray [Wed, 18 Sep 2013 11:44:00 +0000 (13:44 +0200)]
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
as secure.

11 years ago * docs/grub.texi: Fix broken link.
Aleš Nesrsta [Wed, 18 Sep 2013 11:29:43 +0000 (13:29 +0200)]
* docs/grub.texi: Fix broken link.

11 years ago * grub-core/bus/usb/usb.c (grub_usb_device_initialize): Add condition
Melki Christian [Wed, 18 Sep 2013 11:27:05 +0000 (13:27 +0200)]
* grub-core/bus/usb/usb.c (grub_usb_device_initialize): Add condition
to break endless loop.

11 years ago * util/grub-fstest.c: Fix several printf formats.
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 07:01:11 +0000 (09:01 +0200)]
* util/grub-fstest.c: Fix several printf formats.
* util/grub-mkimage.c: Likewise.
* util/grub-mkimagexx.c: Likewise.
* util/grub-script-check.c: Likewise.

11 years ago * grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 06:58:34 +0000 (08:58 +0200)]
* grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause
error.

11 years ago * config.h.in [GRUB_BUILD]: Explicitly undefine ENABLE_NLS.
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 06:55:20 +0000 (08:55 +0200)]
* config.h.in [GRUB_BUILD]: Explicitly undefine ENABLE_NLS.

11 years ago * util/getroot.c (grub_find_device): Use cygwin_conv_path ratherthan
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 06:51:21 +0000 (08:51 +0200)]
* util/getroot.c (grub_find_device): Use cygwin_conv_path ratherthan
removed in current versions cygwin_conv_*.

11 years ago * configure.ac: Disable efiemu runtime on cygwin.
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 06:46:14 +0000 (08:46 +0200)]
* configure.ac: Disable efiemu runtime on cygwin.

11 years ago * conf/Makefile.extra-dist: Add missing util/grub-gen-asciih.c,
Vladimir 'phcoder' Serbinenko [Fri, 23 Aug 2013 06:36:26 +0000 (08:36 +0200)]
* conf/Makefile.extra-dist: Add missing util/grub-gen-asciih.c,
util/grub-gen-widthspec.c and util/grub-pe2elf.c.

11 years ago * util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 18:18:16 +0000 (20:18 +0200)]
* util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
error message.

11 years ago * grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 18:14:07 +0000 (20:14 +0200)]
* grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
windows variant.
* util/grub-mkpasswd-pbkdf2.c: Add windows flavour for retrieving random
data.

11 years ago * configure.ac: Add -Wl,-melf_i386 and -Wl,-melf_x86_64 systematically
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 17:00:25 +0000 (19:00 +0200)]
* configure.ac: Add -Wl,-melf_i386 and -Wl,-melf_x86_64 systematically
when on x86 and not cygwin.
* conf/Makefile.common: Remove unsystematic -Wl,-melf_i386 and
-Wl,-melf_x86_64.

11 years ago * configure.ac: Set CPP to build one when checkoing for freetype for
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 16:56:00 +0000 (18:56 +0200)]
  * configure.ac: Set CPP to build one when checkoing for freetype for
build.

11 years ago * util/grub-mkfont.c [!GRUB_BUILD]: Define my_argp_state.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 16:15:22 +0000 (18:15 +0200)]
* util/grub-mkfont.c [!GRUB_BUILD]: Define my_argp_state.
[!GRUB_BUILD]: Remove has_argument.

11 years ago * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:29:23 +0000 (17:29 +0200)]
* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:
Replace with a dummy.

11 years ago * configure.ac: Don't change host_os from mingw to cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:09:15 +0000 (17:09 +0200)]
* configure.ac: Don't change host_os from mingw to cygwin.

11 years ago * configure.ac: Change target_os from windows to cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:02:47 +0000 (17:02 +0200)]
* configure.ac: Change target_os from windows to cygwin.

11 years ago Handle grub-pe2elf and grub-mkfont for cases when build != host.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:00:59 +0000 (17:00 +0200)]
Handle grub-pe2elf and grub-mkfont for cases when build != host.

* Makefile.am (build-grub-mkfont): Don't include gnulib.
(build-grub-gen-asciih): Likewise.
(build-grub-gen-widthspec): Likewise.
* Makefile.util.def (grub-pe2elf): Remove.
* config.h.in [GRUB_BUILD]: Use build rather than host constants.
* configure.ac: Separate tests for build.
Move ./build-grub-pe2elf to grub-core.
Fix typo.
* grub-core/Makefile.am (build-grub-pe2elf): New target.
* grub-core/kern/emu/misc.c (xasprintf): Don't compile if GRUB_BUILD is
defined.
* include/grub/types.h [GRUB_BUILD]: Use build rather than host
constants.
* util/grub-mkfont.c [GRUB_BUILD]: Simplify not to rely on argp.
* util/grub-pe2elf.c: Simplify not to rely on getopt.
* util/misc.c (program_name) [GRUB_BUILD]: Define to static string.

11 years ago * grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size): Adapt for
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:50:12 +0000 (16:50 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size): Adapt for
mingw32 as well based on grub_util_get_disk_size.
* util/misc.c (grub_util_get_disk_size): Removed. all users switched to
grub_util_get_fd_size.
(sync): Removed.
(fsync): Moved to ...
* grub-core/kern/emu/misc.c (fsync): ... here.

11 years ago * include/grub/mm.h (grub_extend_alloc): Remove.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:44:20 +0000 (16:44 +0200)]
* include/grub/mm.h (grub_extend_alloc): Remove.
* grub-core/loader/i386/pc/plan9.c: Use own version of
grub_extend_alloc with appropriate types.

11 years ago * conf/Makefile.common (CFLAGS_GCRY): Add -Wno-redundant-decls.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:30:44 +0000 (16:30 +0200)]
* conf/Makefile.common (CFLAGS_GCRY): Add -Wno-redundant-decls.

11 years ago * util/getroot.c: Include sys/wait.h only when we need waitpid.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:28:10 +0000 (16:28 +0200)]
* util/getroot.c: Include sys/wait.h only when we need waitpid.

11 years ago Fix dependencies on cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:25:10 +0000 (16:25 +0200)]
Fix dependencies on cygwin.

* gentpl.py: Support variable dependencies. Add $TARGET_OBJ2ELF to
dependencies when used and defined.
* grub-core/Makefile.core.def (regexp): Add dependency on libgnulib.a.

11 years ago * include/grub/zfs/spa.h (zio_cksum): Add explicit members for mac.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:20:32 +0000 (16:20 +0200)]
* include/grub/zfs/spa.h (zio_cksum): Add explicit members for mac.
* grub-core/fs/zfs/zfs.c (zio_read): Don't use casts to retrieve mac.

11 years ago * grub-core/kern/emu/mm.c (grub_memalign): Don't define if there is no
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:16:29 +0000 (16:16 +0200)]
* grub-core/kern/emu/mm.c (grub_memalign): Don't define if there is no
implementation available to cause compile-time rather than runtime
error.

11 years ago * util/grub-fstest.c: Don't check for symlinks on windows.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:13:25 +0000 (16:13 +0200)]
* util/grub-fstest.c: Don't check for symlinks on windows.