]>
git.proxmox.com Git - grub2.git/log
Vladimir 'phcoder' Serbinenko [Sun, 13 Oct 2013 21:44:07 +0000 (23:44 +0200)]
* util/grub-editenv.c: Remove leftover set_program_name and init_nls.
Vladimir 'phcoder' Serbinenko [Sun, 13 Oct 2013 19:17:54 +0000 (21:17 +0200)]
* include/grub/misc.h: Use gnu_printf only on gcc 4.4 or later.
Vladimir 'phcoder' Serbinenko [Sun, 13 Oct 2013 18:36:28 +0000 (20:36 +0200)]
Add a wrapper for fopen. On unix-like systems just pass-through. On
windows use unicode version.
Vladimir 'phcoder' Serbinenko [Sun, 13 Oct 2013 18:03:42 +0000 (20:03 +0200)]
Move set_program_name and init_nls to host_init. On windows
fix in this fuction console and argument charset as well.
Andrey Borzenkov [Sat, 12 Oct 2013 06:17:05 +0000 (08:17 +0200)]
Fix inconsistent use of GRUB_CRYPTODISK_ENABLE and
GRUB_ENABLE_CRYPTODISK.
* util/grub-install.in: Rename all GRUB_CRYPTODISK_ENABLE to
GRUB_ENABLE_CRYPTODISK.
* util/grub-mkconfig_lib.in: Likewise.
Christian Cier-Zniewski [Sat, 12 Oct 2013 06:14:02 +0000 (08:14 +0200)]
* docs/grub.texi (Vendor power-on keys): Add Dell Latitude E4300.
Melki Christian [Sat, 12 Oct 2013 06:11:19 +0000 (08:11 +0200)]
* grub-core/term/at_keyboard.c [DEBUG_AT_KEYBOARD]: Fix compilation
error when enabling debug.
Ilya Bakulin [Sat, 12 Oct 2013 06:08:11 +0000 (08:08 +0200)]
* configure.ac: Use -melf_*_obsd on openbsd.
Vladimir 'phcoder' Serbinenko [Sat, 12 Oct 2013 05:50:26 +0000 (07:50 +0200)]
* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
Vladimir 'phcoder' Serbinenko [Sat, 12 Oct 2013 05:49:36 +0000 (07:49 +0200)]
* include/grub/misc.h: Use gnu_printf rather than printf as format
template since our functions are independent of libc.
Vladimir 'phcoder' Serbinenko [Fri, 11 Oct 2013 14:15:43 +0000 (16:15 +0200)]
* util/grub-setup.c (setup): Move copying of partition table as
futher up as possible to avoid possible overwrite by floppy routines.
Vladimir 'phcoder' Serbinenko [Fri, 11 Oct 2013 14:13:52 +0000 (16:13 +0200)]
* grub-core/fs/fat.c: Fix handling of exfat contiguous files.
Vladimir Testov [Thu, 10 Oct 2013 10:37:19 +0000 (14:37 +0400)]
* grub-core/gfxmenu/gui_list.c: New option `scrollbar_thumb_overlay`.
* docs/grub.texi: Likewise.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 08:21:07 +0000 (10:21 +0200)]
* util/getroot.c (make_device_name): Remove dos_part and bsd_part as
it's mostly unused. Move vestiges to the callers.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 08:16:37 +0000 (10:16 +0200)]
* util/grub-mkpasswd-pbkdf2.c: Remove temporary buffers for hex
version of salt and hash. Use grub_snprintf rather than snprintf.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:57:17 +0000 (09:57 +0200)]
* docs/grub.texi: Fix problem with braces.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:49:22 +0000 (09:49 +0200)]
Remove now empty directory
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:47:39 +0000 (09:47 +0200)]
* conf/Makefile.extra-dist: Fix extra-dist list.
* grub-core/Makefile.core.def: Likewise.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:44:19 +0000 (09:44 +0200)]
* docs/grub.texi: Document disk names used on Windows and AROS.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:21:33 +0000 (09:21 +0200)]
* grub-core/osdep/aros/getroot.c: Change to //: prefix as discussed
with AROS devs.
* grub-core/osdep/aros/hostdisk.c: Likewise.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:18:06 +0000 (09:18 +0200)]
Avoid including hostfile.h when not necessarry as it pulls
in OS-specific headers which may redefine generic names
like "far".
Vladimir Testov [Wed, 9 Oct 2013 12:55:16 +0000 (16:55 +0400)]
* grub-core/gfxmenu/gui_list.c: New options for scrollbar padding:
scrollbar_left_pad, scrollbar_right_pad, scrollbar_top_pad,
scrollbar_bottom_pad
* docs/grub.texi: Likewise.
Vladimir Testov [Wed, 9 Oct 2013 06:44:11 +0000 (10:44 +0400)]
* grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 06:20:20 +0000 (08:20 +0200)]
Move OS-dependent file definitions to include/grub/osdep/hostfile*.h.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 05:16:20 +0000 (07:16 +0200)]
* include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):
Removed.
* grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition):
Made static.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 05:09:22 +0000 (07:09 +0200)]
* include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove
leftover.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 05:04:25 +0000 (07:04 +0200)]
Move OS-specific driver configuration to grub_util_fd_open. This
moves OS-dependent parts from kern/emu/hostdisk.c to
grub-core/osdep/*/hostdisk.c.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 03:36:00 +0000 (05:36 +0200)]
* util/grub-mkimage.c (generate_image): Use size_t instead of
grub_size_t.
* util/grub-mkimagexx.c (locate_sections): Likewise.
(load_image): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 9 Oct 2013 03:33:09 +0000 (05:33 +0200)]
* util/misc.c (grub_util_write_image_at): Don't use PRIxGRUB_SIZE for
size_t.
(grub_util_write_image): Likewise.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 19:28:14 +0000 (21:28 +0200)]
* grub-core/osdep/basic/random.c: New file. Abort on an attempt to
get random when no RNG is available.
* grub-core/osdep/random.c: Use basic/random.c on OS out of whitelist.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 19:01:09 +0000 (21:01 +0200)]
* include/grub/util/lvm.h: Removed.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 18:05:24 +0000 (20:05 +0200)]
* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 18:02:07 +0000 (20:02 +0200)]
* grub-core/osdep/windows/sleep.c: Add missing config.h.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 17:53:57 +0000 (19:53 +0200)]
* grub-core/kern/emu/misc.c (grub_get_rtc): Remove (it's a leftover).
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 17:17:46 +0000 (19:17 +0200)]
Couple missed files from previous commits.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 16:42:46 +0000 (18:42 +0200)]
* grub-core/net/drivers/emu/emunet.c: Move to ..
* grub-core/osdep/linux/emunet.c: ..here.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 16:25:49 +0000 (18:25 +0200)]
* util/ieee1275/ofpath.c: Move to ...
* grub-core/osdep/linux/ofpath.c: ..here, split stub into ...
* grub-core/osdep/basic/ofpath.c: ..here.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:51:39 +0000 (17:51 +0200)]
Move password-querying (util-version) 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.
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.
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.
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.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:02:22 +0000 (17:02 +0200)]
* util/misc.c: Remove leftover inclusion of malloc.h.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:01:04 +0000 (17:01 +0200)]
* include/grub/setjmp.h: Remove leftover GRUBOF.
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.
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.
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.
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.
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.
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.
Vladimir Testov [Tue, 8 Oct 2013 12:13:41 +0000 (14:13 +0200)]
Correct filename in Changelog
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.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 18:10:09 +0000 (20:10 +0200)]
* docs/grub.texi: Update note on colors on emu console.
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.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 18:04:54 +0000 (20:04 +0200)]
* grub-core/kern/arm/efi/startup.S: Remove thumb leftover.
Vladimir 'phcoder' Serbinenko [Mon, 7 Oct 2013 17:23:14 +0000 (19:23 +0200)]
* grub-core/kern/arm/efi/init.c: Rewrite timer fucntion.
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.
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.
Vladimir 'phcoder' Serbinenko [Fri, 4 Oct 2013 00:35:03 +0000 (02:35 +0200)]
Add AROS hostdisk and getroot routines.
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.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 23:29:10 +0000 (01:29 +0200)]
Split random retrieving code into separate files.
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.
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.
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.
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.
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.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 21:27:52 +0000 (23:27 +0200)]
* po/exclude.pot: Add several strings to exclude.
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.
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.
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.
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.
Vladimir 'phcoder' Serbinenko [Thu, 3 Oct 2013 17:50:08 +0000 (19:50 +0200)]
* grub-core/lib/arm/setjmp.S: Add missing license section.
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.
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.
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.
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.
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.
Vladimir 'phcoder' Serbinenko [Sat, 28 Sep 2013 17:22:20 +0000 (19:22 +0200)]
* grub-core/video/readers/tga.c: Support paletted tga.
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.
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.
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.
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.
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.
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.
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.
Vladimir 'phcoder' Serbinenko [Fri, 27 Sep 2013 10:04:09 +0000 (12:04 +0200)]
* grub-core/video/readers/png.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.
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.
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.
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.
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.
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.
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.
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.
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.
Andrey Borzenkov [Tue, 24 Sep 2013 11:27:02 +0000 (15:27 +0400)]
* docs/grub.texi (Simple configuration): Document GRUB_ENABLE_CRYPTODISK.
Andrey Borzenkov [Tue, 24 Sep 2013 11:22:08 +0000 (15:22 +0400)]
* docs/grub.texi (File name syntax): Document ZFS filenames
(/volume@snapshot/...).
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.
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.
starous@volny.cz [Mon, 23 Sep 2013 18:30:52 +0000 (20:30 +0200)]
USB EHCI: SMI disabled in all cases