Commit graph

  • 3d46c22f5b Added `tr' command support. BVK Chaitanya 2013-10-17 19:06:29 +02:00
  • 47e0a61f6f * grub-core/gfxmenu/gui_progress_bar.c: Sanity checks added. Vladimir Testov 2013-10-17 15:50:25 +04:00
  • 946fd07357 * grub-core/gfxmenu/gui_progress_bar.c: New option `highlight_overlay` * docs/gurb.texi: Likewise. Vladimir Testov 2013-10-17 15:42:49 +04:00
  • 9c13c57623 * 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 2013-10-17 15:34:04 +04:00
  • ad543f123b * docs/grub.texi: Graphical options information update. Removed outdated. Updated current. Inserted missed. Vladimir Testov 2013-10-17 15:07:09 +04:00
  • 6176a0cdfa * docs/grub.texi: Mention few new platform-specific commands. Vladimir 'phcoder' Serbinenko 2013-10-17 01:52:44 +02:00
  • 9688cae2eb * 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 2013-10-17 01:28:24 +02:00
  • 8154884dd4 * util/grub-mkstandalone.in: Remove needless copying since we already pass the files to tar. Vladimir 'phcoder' Serbinenko 2013-10-17 01:12:22 +02:00
  • f7b69a3f2c * 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. Vladimir 'phcoder' Serbinenko 2013-10-17 01:09:19 +02:00
  • ceca6ddf26 Handle Japanese special keys. Reported by: Hiroyuki YAMAMORI. Codes supplied by: Hiroyuki YAMAMORI. Hiroyuki YAMAMORI 2013-10-17 00:49:05 +02:00
  • ac48d334ab * grub-core/gfxmenu/gui_list.c: Scrollbar sanity checks added. Vladimir Testov 2013-10-15 18:16:06 +04:00
  • b2b71bff36 * grub-core/gfxmenu/gui_list.c: New option item_pixmap_style. * docs/grub.texi: Likewise. Vladimir Testov 2013-10-15 18:12:39 +04:00
  • 669fc44923 * 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 2013-10-16 00:20:07 +02:00
  • 593816780e * util/editenv.c (grub_util_create_envblk_file): Use grub_util_rename. Vladimir 'phcoder' Serbinenko 2013-10-15 21:25:18 +02:00
  • bacfefbb0e * util/grub-editenv.c (create_envblk_file): More from here ... * util/editenv.c (grub_util_create_envblk_file): ... to here. Vladimir 'phcoder' Serbinenko 2013-10-15 21:23:54 +02:00
  • f7c4957068 * grub-core/osdep/unix/getroot.c (grub_guess_root_devices): canonicalize file name before doing the rest. Vladimir 'phcoder' Serbinenko 2013-10-15 21:04:10 +02:00
  • 7b83ca449b * include/grub/osdep/hostfile_windows.h: Add missing ftello for mingw32. Vladimir 'phcoder' Serbinenko 2013-10-15 20:32:07 +02:00
  • df1e64c98e Define grub_util_is_directory/regular/special_file and use OS-dependent versions rather than to rely on stat(). Vladimir 'phcoder' Serbinenko 2013-10-15 20:27:58 +02:00
  • ec16e02639 * util/grub-mkimage.c: Move backend part to ... * util/mkimage.c: ... here. Vladimir 'phcoder' Serbinenko 2013-10-15 19:14:55 +02:00
  • 4b4eeb3cc1 Allow compilation with mingw64 albeit with warnings due to lack of %llx/%llu. Vladimir 'phcoder' Serbinenko 2013-10-15 18:03:19 +02:00
  • f4e0adc0f9 Remove leftover references to some of the system headers. Vladimir 'phcoder' Serbinenko 2013-10-15 17:59:54 +02:00
  • e012736478 * grub-core/disk/geli.c (grub_util_get_geli_uuid): Close handle after read. Vladimir 'phcoder' Serbinenko 2013-10-15 17:55:20 +02:00
  • 20d535419f * grub-core/disk/cryptodisk.c: Use grub_util_fd_strerror instead of strerror. Vladimir 'phcoder' Serbinenko 2013-10-15 17:52:43 +02:00
  • 5a869940de 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 2013-10-15 17:02:26 +02:00
  • c06c75201c Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c) files. Vladimir 'phcoder' Serbinenko 2013-10-15 16:16:04 +02:00
  • 8f53bb3fd2 * 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 2013-10-15 15:14:58 +02:00
  • 148f100768 * 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 2013-10-15 15:12:15 +02:00
  • af3b06be14 * grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: Really implement fsync. Vladimir 'phcoder' Serbinenko 2013-10-15 15:06:20 +02:00
  • 27f9d02eb9 * configure.ac: Check for nvlist_lookup_string in nvpair since we use nvlist_lookup_string and don't use nvlist_print. Vladimir 'phcoder' Serbinenko 2013-10-15 15:01:01 +02:00
  • f6a81f0aaf Add wrappers around rename, unlink, mkdir, opendir, readdir and closedir to handle filename charset translation. Vladimir 'phcoder' Serbinenko 2013-10-15 14:11:34 +02:00
  • d7750b324f * include/grub/emu/hostdisk.h: Move file operations to * include/grub/emu/hostfile.h: ... here. Vladimir 'phcoder' Serbinenko 2013-10-15 13:56:10 +02:00
  • 2859196e5f * grub-core/osdep/windows/hostdisk.c (canonicalize_file_name): Handle unicode path. Vladimir 'phcoder' Serbinenko 2013-10-15 13:34:03 +02:00
  • 11f3c324e6 Ignore build-aux/test-driver Vladimir 'phcoder' Serbinenko 2013-10-15 13:29:34 +02:00
  • c018c968cd * grub-core/tests/checksums.h: Regenerate due to swiss.sed change. Vladimir 'phcoder' Serbinenko 2013-10-15 13:28:19 +02:00
  • 7e45abcef4 Move cpu time retrieval to separate grub_util_get_cpu_time_ms and remove export.h. Vladimir 'phcoder' Serbinenko 2013-10-15 13:13:53 +02:00
  • 23934da26e * 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 2013-10-15 12:46:06 +02:00
  • c11ebcc84f * grub-core/osdep/windows/emuconsole.c: Add missing config.h and config-util.h include. Vladimir 'phcoder' Serbinenko 2013-10-15 12:43:52 +02:00
  • 70671037c8 Split emunet into platform-dependent and GRUB-binding parts. Keep platform-dependent part in kernel for easy access to OS functions. Vladimir 'phcoder' Serbinenko 2013-10-15 11:55:20 +02:00
  • 25ac643a54 * grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than open/read/write. Vladimir 'phcoder' Serbinenko 2013-10-15 11:06:57 +02:00
  • 69ca587652 * grub-core/osdep/windows/emuconsole.c: New file. Vladimir 'phcoder' Serbinenko 2013-10-14 21:33:55 +02:00
  • d9d68ef020 * conf/Makefile.extra-dist: Add osdep/*/init.c Andrey Borzenkov 2013-10-14 21:03:14 +04:00
  • 58e211ccf2 * Makefile.am: Use TARGET_OBJCOPY when doing objcopy for target. Vladimir 'phcoder' Serbinenko 2013-10-14 18:29:57 +02:00
  • 588744d0dc * util/grub-probe.c (probe): Separate different drives in hint-str by spaces and not newlines. * util/grub-mkconfig_lib.in: Handle multidevice filesystem. Vladimir 'phcoder' Serbinenko 2013-10-14 18:27:29 +02:00
  • 44016e527a * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Handle CD-ROMs. Andrey Borzenkov 2013-10-14 17:06:39 +02:00
  • 6de9ee86bf Pass-through unknown E820 types. It required reorganisation of mmap module. Vladimir 'phcoder' Serbinenko 2013-10-14 16:33:44 +02:00
  • f8f3f15559 * Makefile.util.def: Add osdep/init.c to grub-mount files. Andrey Borzenkov 2013-10-14 15:21:51 +04:00
  • b73249d260 Make grub_util_fd_seek match behaviour of other grub_util_fd_* and fseeko. Vladimir 'phcoder' Serbinenko 2013-10-14 12:47:09 +02:00
  • dac86b182c * grub-core/gdb_grub.in: Fix overflow and wrong field. qwertial 2013-10-14 03:40:20 +02:00
  • 17614b8426 * docs/grub.texi: Document new signatures possibility. Jon McCune 2013-10-14 02:52:12 +02:00
  • 6de292cb9b Define GRUB_UTIL_FD_O_* and always use them with grub_util_fd_open. Vladimir 'phcoder' Serbinenko 2013-10-14 02:11:59 +02:00
  • 84379b61d2 * include/grub/osdep/hostfile_windows.h (grub_util_utf8_to_tchar): Add missing prototype. (grub_util_tchar_to_utf8): Likewise. Vladimir 'phcoder' Serbinenko 2013-10-14 02:09:38 +02:00
  • 21d85db12f * 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 2013-10-14 02:06:43 +02:00
  • 66a1b3eeb7 * util/misc.c (grub_util_get_image_size): Use FILE functions rather than stat. Vladimir 'phcoder' Serbinenko 2013-10-13 23:45:22 +02:00
  • e19bec1715 * util/grub-editenv.c: Remove leftover set_program_name and init_nls. Vladimir 'phcoder' Serbinenko 2013-10-13 23:44:07 +02:00
  • ee8c1b295a * include/grub/misc.h: Use gnu_printf only on gcc 4.4 or later. Vladimir 'phcoder' Serbinenko 2013-10-13 21:17:54 +02:00
  • bb338aaf24 Add a wrapper for fopen. On unix-like systems just pass-through. On windows use unicode version. Vladimir 'phcoder' Serbinenko 2013-10-13 20:36:28 +02:00
  • ae5540d3d4 Move set_program_name and init_nls to host_init. On windows fix in this fuction console and argument charset as well. Vladimir 'phcoder' Serbinenko 2013-10-13 20:03:42 +02:00
  • 4cd3c4fec7 Fix inconsistent use of GRUB_CRYPTODISK_ENABLE and GRUB_ENABLE_CRYPTODISK. Andrey Borzenkov 2013-10-12 08:17:05 +02:00
  • 78170f3e85 * docs/grub.texi (Vendor power-on keys): Add Dell Latitude E4300. Christian Cier-Zniewski 2013-10-12 08:14:02 +02:00
  • 3414b6c0e2 * grub-core/term/at_keyboard.c [DEBUG_AT_KEYBOARD]: Fix compilation error when enabling debug. Melki Christian 2013-10-12 08:11:19 +02:00
  • 6d0740e8ca * configure.ac: Use -melf_*_obsd on openbsd. Ilya Bakulin 2013-10-12 08:08:11 +02:00
  • ff2d4dc41c * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer. Vladimir 'phcoder' Serbinenko 2013-10-12 07:50:26 +02:00
  • eac6ae822c * include/grub/misc.h: Use gnu_printf rather than printf as format template since our functions are independent of libc. Vladimir 'phcoder' Serbinenko 2013-10-12 07:49:36 +02:00
  • ba9baabecd * 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 2013-10-11 16:15:43 +02:00
  • 60d4f0bb45 * grub-core/fs/fat.c: Fix handling of exfat contiguous files. Vladimir 'phcoder' Serbinenko 2013-10-11 16:13:52 +02:00
  • 145e2369a7 * grub-core/gfxmenu/gui_list.c: New option scrollbar_thumb_overlay. * docs/grub.texi: Likewise. Vladimir Testov 2013-10-10 14:37:19 +04:00
  • 3530bc9d90 * 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 2013-10-10 10:21:07 +02:00
  • fb9f59c3ce * util/grub-mkpasswd-pbkdf2.c: Remove temporary buffers for hex version of salt and hash. Use grub_snprintf rather than snprintf. Vladimir 'phcoder' Serbinenko 2013-10-10 10:16:37 +02:00
  • 9be1c25578 * docs/grub.texi: Fix problem with braces. Vladimir 'phcoder' Serbinenko 2013-10-10 09:57:17 +02:00
  • 2b1d3e72ab Remove now empty directory Vladimir 'phcoder' Serbinenko 2013-10-10 09:49:22 +02:00
  • ed8c0887f4 * conf/Makefile.extra-dist: Fix extra-dist list. * grub-core/Makefile.core.def: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-10 09:47:39 +02:00
  • f72ab14e4a * docs/grub.texi: Document disk names used on Windows and AROS. Vladimir 'phcoder' Serbinenko 2013-10-10 09:44:19 +02:00
  • 2fe53a22b8 * grub-core/osdep/aros/getroot.c: Change to //: prefix as discussed with AROS devs. * grub-core/osdep/aros/hostdisk.c: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-10 09:21:33 +02:00
  • 71c1d67a34 Avoid including hostfile.h when not necessarry as it pulls in OS-specific headers which may redefine generic names like "far". Vladimir 'phcoder' Serbinenko 2013-10-10 09:18:06 +02:00
  • ad297ec734 * 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 2013-10-09 16:55:16 +04:00
  • 6e9e5dc98b * grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak. Vladimir Testov 2013-10-09 10:44:11 +04:00
  • 761c718b52 Move OS-dependent file definitions to include/grub/osdep/hostfile*.h. Vladimir 'phcoder' Serbinenko 2013-10-09 08:20:20 +02:00
  • 37149a2f20 * 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 2013-10-09 07:16:20 +02:00
  • 3837a151e0 * include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove leftover. Vladimir 'phcoder' Serbinenko 2013-10-09 07:09:22 +02:00
  • caca1c70cf 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 2013-10-09 07:04:25 +02:00
  • f7676b7016 * 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 2013-10-09 05:36:00 +02:00
  • 22f98db270 * util/misc.c (grub_util_write_image_at): Don't use PRIxGRUB_SIZE for size_t. (grub_util_write_image): Likewise. Vladimir 'phcoder' Serbinenko 2013-10-09 05:33:09 +02:00
  • b102ce6909 * 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 2013-10-08 21:28:14 +02:00
  • acbbe5cbad * include/grub/util/lvm.h: Removed. Vladimir 'phcoder' Serbinenko 2013-10-08 21:01:09 +02:00
  • 2112fb3fef * grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ... * grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here. Vladimir 'phcoder' Serbinenko 2013-10-08 20:05:24 +02:00
  • 79f78fbf06 * grub-core/osdep/windows/sleep.c: Add missing config.h. Vladimir 'phcoder' Serbinenko 2013-10-08 20:02:07 +02:00
  • c2e6f70589 * grub-core/kern/emu/misc.c (grub_get_rtc): Remove (it's a leftover). Vladimir 'phcoder' Serbinenko 2013-10-08 19:53:57 +02:00
  • 620b52bf47 Couple missed files from previous commits. Vladimir 'phcoder' Serbinenko 2013-10-08 19:17:46 +02:00
  • aabe433afe * grub-core/net/drivers/emu/emunet.c: Move to .. * grub-core/osdep/linux/emunet.c: ..here. Vladimir 'phcoder' Serbinenko 2013-10-08 18:42:46 +02:00
  • 9a2c903f28 * 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 2013-10-08 18:25:49 +02:00
  • 4a445f580b Move password-querying (util-version) routines to grub-core/osdep. Vladimir 'phcoder' Serbinenko 2013-10-08 17:51:39 +02:00
  • c1ca424476 Move sleep routines to grub-core/osdep. Vladimir 'phcoder' Serbinenko 2013-10-08 17:38:46 +02:00
  • 672fa55e81 Move OS-dependent files to grub-core/osdep and document it. Vladimir 'phcoder' Serbinenko 2013-10-08 17:30:22 +02:00
  • a5b0365ab2 * grub-core/kern/emu/misc.c (canonicalize_file_name): Move to ... * grub-core/kern/emu/hostdisk_*.c (canonicalize_file_name): ... here. Vladimir 'phcoder' Serbinenko 2013-10-08 17:04:46 +02:00
  • 29072e994e * grub-core/kern/arm/misc.S: Remove leftover ARM and THUMB. Vladimir 'phcoder' Serbinenko 2013-10-08 17:03:19 +02:00
  • f8772ea7f5 * util/misc.c: Remove leftover inclusion of malloc.h. Vladimir 'phcoder' Serbinenko 2013-10-08 17:02:22 +02:00
  • a1a315e780 * include/grub/setjmp.h: Remove leftover GRUBOF. Vladimir 'phcoder' Serbinenko 2013-10-08 17:01:04 +02:00
  • cef86fefda * util/raid.c: Fold into ... * util/getroot_linux.c: ... here. Make all functions static. Vladimir 'phcoder' Serbinenko 2013-10-08 16:59:50 +02:00
  • c4cf25eef7 * grub-core/fs/zfs/zfs_lz4.c: Switch from ad-hoc endiannes and width macros to GRUB ones. Vladimir 'phcoder' Serbinenko 2013-10-08 16:55:39 +02:00
  • 53a5f5c2f0 * 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 Testov 2013-10-08 18:49:35 +04:00