]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago * util/grub-mkstandalone.in: Remove needless copying since we already
Vladimir 'phcoder' Serbinenko [Wed, 16 Oct 2013 23:12:22 +0000 (01:12 +0200)]
* util/grub-mkstandalone.in: Remove needless copying since we already
pass the files to tar.

10 years ago * autogen.sh: Don't set LC_CTYPE as it doesn't create problem for
Vladimir 'phcoder' Serbinenko [Wed, 16 Oct 2013 23:09:19 +0000 (01:09 +0200)]
* autogen.sh: Don't set LC_CTYPE as it doesn't create problem for
compilation but prevents gcc from displaying messages in non-Latin
alphabets.
* conf/Makefile.common: Likewise.

10 years ago Handle Japanese special keys.
Hiroyuki YAMAMORI [Wed, 16 Oct 2013 22:49:05 +0000 (00:49 +0200)]
Handle Japanese special keys.
Reported by: Hiroyuki YAMAMORI.
Codes supplied by: Hiroyuki YAMAMORI.

10 years ago * grub-core/gfxmenu/gui_list.c: Scrollbar sanity checks added.
Vladimir Testov [Tue, 15 Oct 2013 14:16:06 +0000 (18:16 +0400)]
   * grub-core/gfxmenu/gui_list.c: Scrollbar sanity checks added.

10 years ago * grub-core/gfxmenu/gui_list.c: New option `item_pixmap_style`.
Vladimir Testov [Tue, 15 Oct 2013 14:12:39 +0000 (18:12 +0400)]
   * grub-core/gfxmenu/gui_list.c: New option `item_pixmap_style`.
       * docs/grub.texi: Likewise.

10 years ago * grub-core/osdep/unix/hostdisk.c (grub_util_fd_read): Return correct
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 22:20:07 +0000 (00:20 +0200)]
* grub-core/osdep/unix/hostdisk.c (grub_util_fd_read): Return correct
value in case of incomplete read.
(grub_util_fd_write): Likewise.

10 years ago * util/editenv.c (grub_util_create_envblk_file): Use grub_util_rename.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 19:25:18 +0000 (21:25 +0200)]
* util/editenv.c (grub_util_create_envblk_file): Use grub_util_rename.

10 years ago * util/grub-editenv.c (create_envblk_file): More from here ...
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 19:23:54 +0000 (21:23 +0200)]
* util/grub-editenv.c (create_envblk_file): More from here ...
* util/editenv.c (grub_util_create_envblk_file): ... to here.

10 years ago * grub-core/osdep/unix/getroot.c (grub_guess_root_devices):
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 19:04:10 +0000 (21:04 +0200)]
* grub-core/osdep/unix/getroot.c (grub_guess_root_devices):
canonicalize file name before doing the rest.

10 years ago * include/grub/osdep/hostfile_windows.h: Add missing ftello for
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 18:32:07 +0000 (20:32 +0200)]
* include/grub/osdep/hostfile_windows.h: Add missing ftello for
mingw32.

10 years ago Define grub_util_is_directory/regular/special_file and
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 18:27:58 +0000 (20:27 +0200)]
Define grub_util_is_directory/regular/special_file and
use OS-dependent versions rather than to rely on stat().

10 years ago * util/grub-mkimage.c: Move backend part to ...
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 17:14:55 +0000 (19:14 +0200)]
* util/grub-mkimage.c: Move backend part to ...
* util/mkimage.c: ... here.

10 years ago Allow compilation with mingw64 albeit with warnings due to lack of
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 16:03:19 +0000 (18:03 +0200)]
Allow compilation with mingw64 albeit with warnings due to lack of
%llx/%llu.

* grub-core/gnulib/msvc-inval.c: Use __cdecl rather than cdecl.
* grub-core/lib/posix_wrap/wchar.h: Define wint_t.
* grub-core/lib/posix_wrap/wctype.h: Define wctype_t.
* include/grub/osdep/hostfile_windows.h: Don't define fseeko/ftello
on mingw64.
* include/grub/types.h: Allow sizeof (long) != sizeof (void *).

10 years ago Remove leftover references to some of the system headers.
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 15:59:54 +0000 (17:59 +0200)]
Remove leftover references to some of the system headers.

10 years ago * grub-core/disk/geli.c (grub_util_get_geli_uuid): Close handle after
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 15:55:20 +0000 (17:55 +0200)]
* grub-core/disk/geli.c (grub_util_get_geli_uuid): Close handle after
read.

10 years ago * grub-core/disk/cryptodisk.c: Use grub_util_fd_strerror instead
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 15:52:43 +0000 (17:52 +0200)]
* grub-core/disk/cryptodisk.c: Use grub_util_fd_strerror instead
of strerror.

10 years ago Split out blocklist retrieving from setup.c to
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 15:02:26 +0000 (17:02 +0200)]
Split out blocklist retrieving from setup.c to
grub-core/osdep/blocklist.c and add windows implementation since
generic version doesn't work on NTFS on Windows due to aggressive
unflushable cache.

10 years ago Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c)
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 14:16:04 +0000 (16:16 +0200)]
Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c)
files.

10 years ago * grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror):
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 13:14:58 +0000 (15:14 +0200)]
* grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror):
Cut tailing newline. Remove arbitrary limitation. Always use
grub_util_tchar_to_utf8.

10 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Handle %% properly.
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.

10 years ago * grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: Really
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.

10 years ago * configure.ac: Check for nvlist_lookup_string in nvpair since we
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.

10 years ago Add wrappers around rename, unlink, mkdir, opendir, readdir and
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.

10 years ago * include/grub/emu/hostdisk.h: Move file operations to
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.

10 years ago * grub-core/osdep/windows/hostdisk.c (canonicalize_file_name): Handle
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.

10 years agoIgnore build-aux/test-driver
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 11:29:34 +0000 (13:29 +0200)]
Ignore build-aux/test-driver

10 years ago * grub-core/tests/checksums.h: Regenerate due to swiss.sed change.
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.

10 years ago Move cpu time retrieval to separate grub_util_get_cpu_time_ms
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.

10 years ago * grub-core/kern/emu/error.c: Removed.
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.

10 years ago * grub-core/osdep/windows/emuconsole.c: Add missing config.h and
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.

10 years ago Split emunet into platform-dependent and GRUB-binding parts. Keep
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.

10 years ago * grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than
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.

10 years ago * grub-core/osdep/windows/emuconsole.c: New file.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 19:33:55 +0000 (21:33 +0200)]
* grub-core/osdep/windows/emuconsole.c: New file.

10 years ago * conf/Makefile.extra-dist: Add osdep/*/init.c
Andrey Borzenkov [Mon, 14 Oct 2013 17:03:14 +0000 (21:03 +0400)]
* conf/Makefile.extra-dist: Add osdep/*/init.c

10 years ago * Makefile.am: Use TARGET_OBJCOPY when doing objcopy for target.
Vladimir 'phcoder' Serbinenko [Mon, 14 Oct 2013 16:29:57 +0000 (18:29 +0200)]
* Makefile.am: Use TARGET_OBJCOPY when doing objcopy for target.

10 years ago * util/grub-probe.c (probe): Separate different drives in hint-str
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.

10 years ago * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name):
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.

10 years ago Pass-through unknown E820 types. It required reorganisation of mmap
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.

10 years ago * Makefile.util.def: Add osdep/init.c to grub-mount files.
Andrey Borzenkov [Mon, 14 Oct 2013 11:21:51 +0000 (15:21 +0400)]
* Makefile.util.def: Add osdep/init.c to grub-mount files.

10 years ago Make grub_util_fd_seek match behaviour of other grub_util_fd_* and
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.

10 years ago * grub-core/gdb_grub.in: Fix overflow and wrong field.
qwertial [Mon, 14 Oct 2013 01:40:20 +0000 (03:40 +0200)]
* grub-core/gdb_grub.in: Fix overflow and wrong field.

10 years ago * docs/grub.texi: Document new signatures possibility.
Jon McCune [Mon, 14 Oct 2013 00:52:12 +0000 (02:52 +0200)]
* docs/grub.texi: Document new signatures possibility.

10 years ago Define GRUB_UTIL_FD_O_* and always use them with grub_util_fd_open.
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.

10 years ago * include/grub/osdep/hostfile_windows.h (grub_util_utf8_to_tchar): Add
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.

10 years ago * grub-core/Makefile.core.def: Add osdep/init.c on emu.
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.

10 years ago * util/misc.c (grub_util_get_image_size): Use FILE functions rather than
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.

10 years ago * util/grub-editenv.c: Remove leftover set_program_name and init_nls.
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.

10 years ago * include/grub/misc.h: Use gnu_printf only on gcc 4.4 or later.
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.

10 years ago Add a wrapper for fopen. On unix-like systems just pass-through. On
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.

10 years ago Move set_program_name and init_nls to host_init. On windows
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.

10 years ago Fix inconsistent use of GRUB_CRYPTODISK_ENABLE and
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.

10 years ago * docs/grub.texi (Vendor power-on keys): Add Dell Latitude E4300.
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.

10 years ago * grub-core/term/at_keyboard.c [DEBUG_AT_KEYBOARD]: Fix compilation
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.

10 years ago * configure.ac: Use -melf_*_obsd on openbsd.
Ilya Bakulin [Sat, 12 Oct 2013 06:08:11 +0000 (08:08 +0200)]
* configure.ac: Use -melf_*_obsd on openbsd.

10 years ago * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
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.

10 years ago * include/grub/misc.h: Use gnu_printf rather than printf as format
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.

10 years ago * util/grub-setup.c (setup): Move copying of partition table as
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.

10 years ago * grub-core/fs/fat.c: Fix handling of exfat contiguous files.
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.

10 years ago * grub-core/gfxmenu/gui_list.c: New option `scrollbar_thumb_overlay`.
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.

10 years ago * util/getroot.c (make_device_name): Remove dos_part and bsd_part as
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.

10 years ago * util/grub-mkpasswd-pbkdf2.c: Remove temporary buffers for hex
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.

10 years ago * docs/grub.texi: Fix problem with braces.
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:57:17 +0000 (09:57 +0200)]
* docs/grub.texi: Fix problem with braces.

10 years agoRemove now empty directory
Vladimir 'phcoder' Serbinenko [Thu, 10 Oct 2013 07:49:22 +0000 (09:49 +0200)]
Remove now empty directory

10 years ago * conf/Makefile.extra-dist: Fix extra-dist list.
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.

10 years ago * docs/grub.texi: Document disk names used on Windows and AROS.
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.

10 years ago * grub-core/osdep/aros/getroot.c: Change to //: prefix as discussed
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.

10 years ago Avoid including hostfile.h when not necessarry as it pulls
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".

10 years ago * grub-core/gfxmenu/gui_list.c: New options for scrollbar padding:
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.

10 years ago * grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.
Vladimir Testov [Wed, 9 Oct 2013 06:44:11 +0000 (10:44 +0400)]
   * grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.

10 years ago Move OS-dependent file definitions to include/grub/osdep/hostfile*.h.
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.

10 years ago * include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):
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.

10 years ago * include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove
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.

10 years ago Move OS-specific driver configuration to grub_util_fd_open. This
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.

10 years ago * util/grub-mkimage.c (generate_image): Use size_t instead of
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.

10 years ago * util/misc.c (grub_util_write_image_at): Don't use PRIxGRUB_SIZE for
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.

10 years ago * grub-core/osdep/basic/random.c: New file. Abort on an attempt to
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.

10 years ago * include/grub/util/lvm.h: Removed.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 19:01:09 +0000 (21:01 +0200)]
* include/grub/util/lvm.h: Removed.

10 years ago * grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
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.

10 years ago * grub-core/osdep/windows/sleep.c: Add missing config.h.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 18:02:07 +0000 (20:02 +0200)]
* grub-core/osdep/windows/sleep.c: Add missing config.h.

10 years ago * grub-core/kern/emu/misc.c (grub_get_rtc): Remove (it's a leftover).
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).

10 years agoCouple missed files from previous commits.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 17:17:46 +0000 (19:17 +0200)]
Couple missed files from previous commits.

10 years ago * grub-core/net/drivers/emu/emunet.c: Move to ..
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.

10 years ago * util/ieee1275/ofpath.c: Move to ...
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.

10 years ago Move password-querying (util-version) routines to grub-core/osdep.
Vladimir 'phcoder' Serbinenko [Tue, 8 Oct 2013 15:51:39 +0000 (17:51 +0200)]
Move password-querying (util-version) routines to grub-core/osdep.

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.