]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago Move sleep routines to grub-core/osdep.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:38:46 +0000 (17:38 +0200)]
Move sleep routines to grub-core/osdep.

10 years ago Move OS-dependent files to grub-core/osdep and document it.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:30:22 +0000 (17:30 +0200)]
Move OS-dependent files to grub-core/osdep and document it.

10 years ago * grub-core/kern/emu/misc.c (canonicalize_file_name): Move to ...
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:04:46 +0000 (17:04 +0200)]
* grub-core/kern/emu/misc.c (canonicalize_file_name): Move to ...
* grub-core/kern/emu/hostdisk_*.c (canonicalize_file_name): ... here.

10 years ago * grub-core/kern/arm/misc.S: Remove leftover ARM and THUMB.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:03:19 +0000 (17:03 +0200)]
* grub-core/kern/arm/misc.S: Remove leftover ARM and THUMB.

10 years ago * util/misc.c: Remove leftover inclusion of malloc.h.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:02:22 +0000 (17:02 +0200)]
* util/misc.c: Remove leftover inclusion of malloc.h.

10 years ago * include/grub/setjmp.h: Remove leftover GRUBOF.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:01:04 +0000 (17:01 +0200)]
* include/grub/setjmp.h: Remove leftover GRUBOF.

10 years ago * util/raid.c: Fold into ...
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 14:59:50 +0000 (16:59 +0200)]
* util/raid.c: Fold into ...
* util/getroot_linux.c: ... here. Make all functions static.

10 years ago * grub-core/fs/zfs/zfs_lz4.c: Switch from ad-hoc endiannes and width
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 14:55:39 +0000 (16:55 +0200)]
* grub-core/fs/zfs/zfs_lz4.c: Switch from ad-hoc endiannes and width
macros to GRUB ones.

10 years ago * grub-core/gfxmenu/gui_list.c (draw_scrollbar): Fixed rare
Vladimir Testov [Tue, 8 Oct 2013 14:49:35 +0000 (18:49 +0400)]
   * grub-core/gfxmenu/gui_list.c (draw_scrollbar): Fixed rare
       occasional bug. If there are too many boot entries or too low
       scrollbar height then we need to use another formula to calculate
       the position and size of the scrollbar thumb.

10 years ago * util/random_unix.c: Add NetBSD and Mac OS X to verified list.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 14:35:21 +0000 (16:35 +0200)]
* util/random_unix.c: Add NetBSD and Mac OS X to verified list.

10 years ago * grub-core/gfxmenu/gui_list.c: New option `scrollbar-slice`.
Vladimir Testov [Tue, 8 Oct 2013 14:31:53 +0000 (18:31 +0400)]
   * grub-core/gfxmenu/gui_list.c: New option `scrollbar-slice`.
       * docs/grub.texi: Likewise.

10 years ago * grub-core/gfxmenu/gui_list.c: Draw the scrollbar in a separate
Vladimir Testov [Tue, 8 Oct 2013 12:27:56 +0000 (16:27 +0400)]
   * grub-core/gfxmenu/gui_list.c: Draw the scrollbar in a separate
       viewport.

10 years agoCorrect filename in Changelog
Vladimir Testov [Tue, 8 Oct 2013 12:13:41 +0000 (14:13 +0200)]
Correct filename in Changelog

10 years ago * grub-core/gfxmenu.c (list_get_minimal_size): Corrected minimal
Vladimir Testov [Tue, 8 Oct 2013 11:35:00 +0000 (15:35 +0400)]
   * grub-core/gfxmenu.c (list_get_minimal_size): Corrected minimal
       width calculations.

10 years ago * docs/grub.texi: Update note on colors on emu console.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 18:10:09 +0000 (20:10 +0200)]
* docs/grub.texi: Update note on colors on emu console.

10 years ago * grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 18:07:19 +0000 (20:07 +0200)]
* grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS
for quadruple indirect rather than GRUB_ERR_NOT_IMPLEMENTED_YET as
it's FS and not GRUB limitation.

10 years ago * grub-core/kern/arm/efi/startup.S: Remove thumb leftover.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 18:04:54 +0000 (20:04 +0200)]
* grub-core/kern/arm/efi/startup.S: Remove thumb leftover.

10 years ago * grub-core/kern/arm/efi/init.c: Rewrite timer fucntion.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 17:23:14 +0000 (19:23 +0200)]
* grub-core/kern/arm/efi/init.c: Rewrite timer fucntion.

10 years ago* util/grub.d/10_hurd.in: Use `version_find_latest` to sort gnumach
Samuel Thibault [Sat, 5 Oct 2013 23:52:24 +0000 (01:52 +0200)]
* util/grub.d/10_hurd.in: Use `version_find_latest` to sort gnumach
kernels by version order.

10 years ago * util/random_unix.c: Add kFreeBSD to the list of secure RNG.
Vladimir 'phcoder' Serbinenko [Fri, 4 Oct 2013 00:39:31 +0000 (02:39 +0200)]
* util/random_unix.c: Add kFreeBSD to the list of secure RNG.

10 years ago Add AROS hostdisk and getroot routines.
Vladimir 'phcoder' Serbinenko [Fri, 4 Oct 2013 00:35:03 +0000 (02:35 +0200)]
Add AROS hostdisk and getroot routines.

10 years ago Make cryptodisk and diskfilter probe data retrievable programmatically
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 23:43:47 +0000 (01:43 +0200)]
Make cryptodisk and diskfilter probe data retrievable programmatically
and not just printable.

10 years ago Split random retrieving code into separate files.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 23:29:10 +0000 (01:29 +0200)]
Split random retrieving code into separate files.

10 years ago * grub-core/kern/arm/dl.c (do_relocations): Accept and ignore
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:55:06 +0000 (23:55 +0200)]
* grub-core/kern/arm/dl.c (do_relocations): Accept and ignore
R_ARM_V4BX.

10 years ago * grub-core/tests/video_checksum.c: Increase robustness to out of memory
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:38:18 +0000 (23:38 +0200)]
* grub-core/tests/video_checksum.c: Increase robustness to out of memory
condition.
* grub-core/tests/fake_input.c: Likewise.
* grub-core/tests/cmdline_cat_test.c: Likewise.

10 years ago * grub-core/video/capture.c: Do not do finalization when .fini
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:33:58 +0000 (23:33 +0200)]
* grub-core/video/capture.c: Do not do finalization when .fini
is called as there is explicit capture_end.

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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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/...).

10 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.

10 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.

10 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

10 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.

10 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.

10 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".

10 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.

10 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.

10 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.

10 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>
10 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>
10 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.

10 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>
10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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

10 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.

10 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.

10 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*)

10 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.

10 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.

10 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.

10 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

10 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>
10 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.

10 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.