]>
git.proxmox.com Git - grub2.git/log
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 13:12:15 +0000 (15:12 +0200)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Handle %% properly.
* tests/printf_unit_test.c (printf_test): Add %% tests.
Reported by: Paulo Flabiano Smorigo.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 13:06:20 +0000 (15:06 +0200)]
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: Really
implement fsync.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 13:01:01 +0000 (15:01 +0200)]
* configure.ac: Check for nvlist_lookup_string in nvpair since we
use nvlist_lookup_string and don't use nvlist_print.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 12:11:34 +0000 (14:11 +0200)]
Add wrappers around rename, unlink, mkdir, opendir, readdir and
closedir to handle filename charset translation.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:56:10 +0000 (13:56 +0200)]
* include/grub/emu/hostdisk.h: Move file operations to
* include/grub/emu/hostfile.h: ... here.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:34:03 +0000 (13:34 +0200)]
* grub-core/osdep/windows/hostdisk.c (canonicalize_file_name): Handle
unicode path.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:29:34 +0000 (13:29 +0200)]
Ignore build-aux/test-driver
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:28:19 +0000 (13:28 +0200)]
* grub-core/tests/checksums.h: Regenerate due to swiss.sed change.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:13:53 +0000 (13:13 +0200)]
Move cpu time retrieval to separate grub_util_get_cpu_time_ms
and remove export.h.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 10:46:06 +0000 (12:46 +0200)]
* grub-core/kern/emu/error.c: Removed.
* grub-core/Makefile.core.def (kernel): Don't add error.c and progname.c
explicitly as it's already in libgnu.a.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 10:43:52 +0000 (12:43 +0200)]
* grub-core/osdep/windows/emuconsole.c: Add missing config.h and
config-util.h include.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 09:55:20 +0000 (11:55 +0200)]
Split emunet into platform-dependent and GRUB-binding parts. Keep
platform-dependent part in kernel for easy access to OS functions.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 09:06:57 +0000 (11:06 +0200)]
* grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than
open/read/write.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 19:33:55 +0000 (21:33 +0200)]
* grub-core/osdep/windows/emuconsole.c: New file.
Andrey Borzenkov [Mon, 14 Oct 2013 17:03:14 +0000 (21:03 +0400)]
* conf/Makefile.extra-dist: Add osdep/*/init.c
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 16:29:57 +0000 (18:29 +0200)]
* Makefile.am: Use TARGET_OBJCOPY when doing objcopy for target.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 16:27:29 +0000 (18:27 +0200)]
* util/grub-probe.c (probe): Separate different drives in hint-str
by spaces and not newlines.
* util/grub-mkconfig_lib.in: Handle multidevice filesystem.
Andrey Borzenkov [Mon, 14 Oct 2013 15:06:39 +0000 (17:06 +0200)]
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name):
Handle CD-ROMs.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 14:33:44 +0000 (16:33 +0200)]
Pass-through unknown E820 types. It required reorganisation of mmap
module.
Andrey Borzenkov [Mon, 14 Oct 2013 11:21:51 +0000 (15:21 +0400)]
* Makefile.util.def: Add osdep/init.c to grub-mount files.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 10:47:09 +0000 (12:47 +0200)]
Make grub_util_fd_seek match behaviour of other grub_util_fd_* and
fseeko.
qwertial [Mon, 14 Oct 2013 01:40:20 +0000 (03:40 +0200)]
* grub-core/gdb_grub.in: Fix overflow and wrong field.
Jon McCune [Mon, 14 Oct 2013 00:52:12 +0000 (02:52 +0200)]
* docs/grub.texi: Document new signatures possibility.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 00:11:59 +0000 (02:11 +0200)]
Define GRUB_UTIL_FD_O_* and always use them with grub_util_fd_open.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 00:09:38 +0000 (02:09 +0200)]
* include/grub/osdep/hostfile_windows.h (grub_util_utf8_to_tchar): Add
missing prototype.
(grub_util_tchar_to_utf8): Likewise.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 00:06:43 +0000 (02:06 +0200)]
* grub-core/Makefile.core.def: Add osdep/init.c on emu.
* grub-core/kern/emu/main.c: Add missing include.
* grub-core/osdep/basic/init.c (grub_util_host_init) [!GRUB_UTIL]:
Don't call grub_util_init_nls.
* grub-core/osdep/windows/init.c (grub_util_host_init) [!GRUB_UTIL]:
Likewise.
Vladimir 'phcoder' Serbinenko [Sun, 13 Oct 2013 21:45:22 +0000 (23:45 +0200)]
* util/misc.c (grub_util_get_image_size): Use FILE functions rather than
stat.
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.