]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 15:13:38 +0000 (17:13 +0200)]
* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when
not doing embedded decompressor.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:54:57 +0000 (16:54 +0200)]
* grub-core/disk/ldm.c: Rename variables and arguments to prevent
shadowing.
* grub-core/kern/disk.c: Likewise.
* grub-core/kern/misc.c: Likewise.
* include/grub/parser.h: Likewise.
* include/grub/script_sh.h: Likewise.
* include/grub/zfs/zfs.h: Likewise.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:51:08 +0000 (16:51 +0200)]
* grub-core/disk/luks.c (configure_ciphers): Fix spurious warning.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:49:17 +0000 (16:49 +0200)]
* grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is
defined before trying to use it.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:47:30 +0000 (16:47 +0200)]
* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
warning.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:41:50 +0000 (16:41 +0200)]
* include/grub/dl.h: Remove double declaration of GRUB_MOD_DEP.
Use __unused__ rather than __used__ on gcc < 3.2.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:38:36 +0000 (16:38 +0200)]
* include/grub/setjmp.h: Define RETURNS_TWICE. Keep it empty for
gcc < 4.0.
* include/grub/*/setjmp.h: USe RETURNS_TWICE.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:36:09 +0000 (16:36 +0200)]
* grub-core/disk/dmraid_nvidia.c: Fix potentially uninited "layout".
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:34:18 +0000 (16:34 +0200)]
* include/grub/misc.h: Don't use warn_unused_result on gcc < 3.4.
* include/grub/emu/misc.h: Likewise.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:30:30 +0000 (16:30 +0200)]
* grub-core/term/i386/pc/vga_text.c: Remove extra declaration of
cur_color.
Vladimir Testov [Fri, 18 Oct 2013 12:11:48 +0000 (16:11 +0400)]
* grub-core/tests/checksums.h: Regenerated due to progress bar
get_minimal_size changes.
BVK Chaitanya [Thu, 17 Oct 2013 17:06:29 +0000 (19:06 +0200)]
Added `tr' command support.
* grub-core/commands/tr.c: New file.
* grub-core/Makefile.core.def: Build rules for new module.
* tests/grub_cmd_tr.in: New test.
* Makefile.util.def: Build rules for new test.
Vladimir Testov [Thu, 17 Oct 2013 11:50:25 +0000 (15:50 +0400)]
* grub-core/gfxmenu/gui_progress_bar.c: Sanity checks added.
Vladimir Testov [Thu, 17 Oct 2013 11:42:49 +0000 (15:42 +0400)]
* grub-core/gfxmenu/gui_progress_bar.c: New option ``highlight_overlay``
* docs/gurb.texi: Likewise.
Vladimir Testov [Thu, 17 Oct 2013 11:34:04 +0000 (15:34 +0400)]
* grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Fixed bug.
Pixmap highlighted section with east and west slices was displayed
incorrectly due to negative width of the central slice.
Vladimir Testov [Thu, 17 Oct 2013 11:07:09 +0000 (15:07 +0400)]
* docs/grub.texi: Graphical options information update.
Removed outdated. Updated current. Inserted missed.
Vladimir 'phcoder' Serbinenko [Wed, 16 Oct 2013 23:52:44 +0000 (01:52 +0200)]
* docs/grub.texi: Mention few new platform-specific commands.
Vladimir 'phcoder' Serbinenko [Wed, 16 Oct 2013 23:28:24 +0000 (01:28 +0200)]
* grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not
currently used so this doesn't really have any effect.
Reported by: Douglas Ray <dougray>
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.
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.
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.
Vladimir Testov [Tue, 15 Oct 2013 14:16:06 +0000 (18:16 +0400)]
* grub-core/gfxmenu/gui_list.c: Scrollbar sanity checks added.
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.
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.
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.
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.
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.
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.
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().
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.
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 *).
Vladimir 'phcoder' Serbinenko [Tue, 15 Oct 2013 15:59:54 +0000 (17:59 +0200)]
Remove leftover references to some of the system headers.
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.
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.
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.
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.
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.
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.