]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
11 years ago * docs/grub.texi: Fix ordering and use pxref rather than xref.
Vladimir Serbinenko [Wed, 23 Oct 2013 15:54:28 +0000 (17:54 +0200)] 
* docs/grub.texi: Fix ordering and use pxref rather than xref.

11 years ago * grub-core/lib/progress.c (grub_file_progress_hook_real): Use
Vladimir Serbinenko [Wed, 23 Oct 2013 15:34:49 +0000 (17:34 +0200)] 
* grub-core/lib/progress.c (grub_file_progress_hook_real): Use
divmod64 for offset division.

11 years ago Rename .bzrignore to .gitignore. Add "*.o" rule.
Paulo Flabiano Smorigo [Wed, 23 Oct 2013 12:01:12 +0000 (10:01 -0200)] 
Rename .bzrignore to .gitignore. Add "*.o" rule.

    * .bzrignore: Renamed to...
    * .gitignore: ...this.

11 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Paulo Flabiano Smorigo [Tue, 22 Oct 2013 18:45:16 +0000 (16:45 -0200)] 
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

11 years ago Add progress module to display load progress of files.
Paulo Flabiano Smorigo [Tue, 22 Oct 2013 18:42:20 +0000 (16:42 -0200)] 
Add progress module to display load progress of files.

* grub-core/lib/progress.c: New file.
* grub-core/Makefile.core.def (progress): New module.
* grub-core/kern/file.c (grub_file_open): File name added.
* (grub_file_read): Progress hook added.
* grub-core/fs/cbfs.c (grub_cbfs_read): Likewise.
* grub-core/fs/cpio_common.c (grub_cpio_read): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* include/grub/file.h (struct grub_file): Add progress module
* members.
* include/grub/term.h (struct grub_term_output): Likewise.
* grub-core/osdep/unix/emuconsole.c (grub_console_term_output):
Terminal velocity added.
* grub-core/osdep/windows/emuconsole.c (grub_console_term_output):
* Likewise.
* grub-core/term/arc/console.c (grub_console_term_output): Likewise.
* grub-core/term/efi/console.c (grub_console_term_output): Likewise.
* grub-core/term/gfxterm.c (grub_video_term): Likewise.
* grub-core/term/i386/coreboot/cbmemc.c (grub_cbmemc_term_output):
* Likewise.
* grub-core/term/i386/pc/console.c (grub_console_term_output):
* Likewise.
* grub-core/term/i386/pc/vga_text.c (grub_vga_text_term): Likewise.
* grub-core/term/ieee1275/console.c (grub_console_term_output):
* Likewise.
* grub-core/term/morse.c (grub_audio_term_output): Likewise.
* grub-core/term/serial.c (grub_serial_term_output): Likewise.
* grub-core/term/spkmodem.c (grub_spkmodem_term_output): Likewise.
* grub-core/term/uboot/console.c (uboot_console_term_output):
* Likewise.

11 years agoImport from bzr to git
Vladimir Serbinenko [Tue, 22 Oct 2013 18:11:54 +0000 (20:11 +0200)] 
Import from bzr to git

11 years ago Verify signatures of signatures unless --skip-sig is specified.
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 22:24:19 +0000 (00:24 +0200)] 
Verify signatures of signatures unless --skip-sig is specified.

11 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 12:02:24 +0000 (14:02 +0200)] 
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
\0 checking.

Saves 70 bytes on compressed image.

11 years ago * grub-core/kern/misc.c (grub_strtoull): Remove needless *ptr != 0
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 11:40:05 +0000 (13:40 +0200)] 
* grub-core/kern/misc.c (grub_strtoull): Remove needless *ptr != 0
check.

Saves 10 bytes on compressed image.

11 years ago * grub-core/kern/misc.c (grub_isprint): Move to ...
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 11:25:56 +0000 (13:25 +0200)] 
* grub-core/kern/misc.c (grub_isprint): Move to ...
* include/grub/misc.h (grub_isprint): ... here. Make inline.

Saves 20 bytes on compressed image due to remving exporting.

11 years ago * grub-core/fs/ntfs.c (grub_ntfs_mount): Remove redundant check.
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 11:14:38 +0000 (13:14 +0200)] 
* grub-core/fs/ntfs.c (grub_ntfs_mount): Remove redundant check.

Saves 5 bytes on compressed image.

11 years ago * grub-core/fs/ntfs.c: Move common UTF-16 handling to a separate
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 11:04:41 +0000 (13:04 +0200)] 
* grub-core/fs/ntfs.c: Move common UTF-16 handling to a separate
function get_utf8.

Saves 379 bytes on compressed image.

11 years ago * grub-core/fs/ntfs.c: Handle 48-bit MFT no.
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 10:58:38 +0000 (12:58 +0200)] 
* grub-core/fs/ntfs.c: Handle 48-bit MFT no.

11 years ago * grub-core/fs/ntfs.c (read_run_data): Rewrite using bitfields.
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 02:05:23 +0000 (04:05 +0200)] 
* grub-core/fs/ntfs.c (read_run_data): Rewrite using bitfields.

Saves 40 bytes on compressed image.

11 years agoAdd missing Changelog comment
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 01:26:05 +0000 (03:26 +0200)] 
Add missing Changelog comment

11 years ago * grub-core/fs/ntfs.c (grub_ntfs_iterate_dir): Use grub_uint8_t for
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 01:23:57 +0000 (03:23 +0200)] 
* grub-core/fs/ntfs.c (grub_ntfs_iterate_dir): Use grub_uint8_t for
mask rather than 64-bit type.

Saves 20 bytes on compressed image.

11 years ago * grub-core/fs/ntfs.c (read_data): Move code for compressed data to ...
Vladimir 'phcoder' Serbinenko [Mon, 21 Oct 2013 00:48:19 +0000 (02:48 +0200)] 
* grub-core/fs/ntfs.c (read_data): Move code for compressed data to ...
* grub-core/fs/ntfscomp.c (ntfscomp): ... here.

11 years ago * grub-core/kern/disk.c (grub_disk_write): Use malloc/free instead of
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 22:10:34 +0000 (00:10 +0200)] 
* grub-core/kern/disk.c (grub_disk_write): Use malloc/free instead of
variable length arrays.

Saves 50 bytes on compressed image.

11 years ago * grub-core/loader/i386/bsd.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 21:45:43 +0000 (23:45 +0200)] 
* grub-core/loader/i386/bsd.c: Remove variable length arrays.

11 years ago * grub-core/fs/ufs.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 21:07:50 +0000 (23:07 +0200)] 
* grub-core/fs/ufs.c: Remove variable length arrays.

11 years ago * grub-core/fs/ntfs.c: Add comment about fixed allocation size.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 16:48:06 +0000 (18:48 +0200)] 
* grub-core/fs/ntfs.c: Add comment about fixed allocation size.

11 years ago * grub-core/fs/zfs.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 16:42:40 +0000 (18:42 +0200)] 
* grub-core/fs/zfs.c: Remove variable length arrays.
Reduces zfs.mod by 160 bytes (208 compressed).

11 years ago * grub-core/fs/zfs/zfs.c (check_pool_label): Fix memory leak.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 15:57:28 +0000 (17:57 +0200)] 
* grub-core/fs/zfs/zfs.c (check_pool_label): Fix memory leak.

11 years ago * grub-core/net/arp.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 15:40:21 +0000 (17:40 +0200)] 
* grub-core/net/arp.c: Remove variable length arrays.
* grub-core/net/bootp.c: Likewise.
* grub-core/net/dns.c: Likewise.
* grub-core/net/icmp6.c: Likewise.
* grub-core/net/net.c: Likewise.

11 years ago * grub-core/fs/ntfs.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 15:35:17 +0000 (17:35 +0200)] 
* grub-core/fs/ntfs.c: Remove variable length arrays.
Increases ntfs.mod by 64 bytes (but decreases by 3 when
compressed).

11 years ago * grub-core/fs/hfs.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 15:24:19 +0000 (17:24 +0200)] 
* grub-core/fs/hfs.c: Remove variable length arrays.
Reduces hfs.mod by 8 bytes (52 compressed).

11 years ago * grub-core/fs/udf.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 14:33:12 +0000 (16:33 +0200)] 
* grub-core/fs/udf.c: Remove variable length arrays.
Increases udf.mod by 128 bytes (but decreases by 13 compressed when
compressed).

11 years ago * grub-core/fs/iso9660.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 14:21:02 +0000 (16:21 +0200)] 
* grub-core/fs/iso9660.c: Remove variable length arrays.
Increases iso9660.mod by 200 bytes (but decreases by 79 compressed when
compressed).

11 years ago * grub-core/fs/nilfs2.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 14:17:41 +0000 (16:17 +0200)] 
* grub-core/fs/nilfs2.c: Remove variable length arrays.
Increases xfs.mod by 24 bytes (but decreases by 115 compressed when
compressed).

11 years ago * grub-core/fs/xfs.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 13:52:27 +0000 (15:52 +0200)] 
* grub-core/fs/xfs.c: Remove variable length arrays.
Reduces xfs.mod by 40 bytes (43 compressed).

11 years ago * grub-core/fs/fshelp.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 13:38:37 +0000 (15:38 +0200)] 
* grub-core/fs/fshelp.c: Remove variable length arrays.
Reduces fshelp.mod by 116 bytes (23 compressed).

11 years ago * grub-core/normal/completion.c: Remove variable length arrays.
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 11:55:35 +0000 (13:55 +0200)] 
* grub-core/normal/completion.c: Remove variable length arrays.
* grub-core/normal/menu_entry.c: Likewise.

Reduces normal.mod by 496 bytes.

11 years ago * grub-core/fs/minix.c: Remove variable length arrays. Reduces jfs.mod
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 11:26:37 +0000 (13:26 +0200)] 
* grub-core/fs/minix.c: Remove variable length arrays. Reduces jfs.mod
by 356 bytes (158 compressed).

11 years ago * grub-core/fs/jfs.c: Remove variable length arrays. Reduces jfs.mod
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 11:20:12 +0000 (13:20 +0200)] 
* grub-core/fs/jfs.c: Remove variable length arrays. Reduces jfs.mod
by 364 bytes (169 compressed).

11 years ago * grub-core/fs/bfs.c: Remove variable length arrays. Reduces afs.mod and
Vladimir 'phcoder' Serbinenko [Sun, 20 Oct 2013 11:11:40 +0000 (13:11 +0200)] 
* grub-core/fs/bfs.c: Remove variable length arrays. Reduces afs.mod and
bfs.mod size by 556 resp 740 bytes (288 resp 334 compressed).
* include/grub/types.h (grub_unaligned_uint64_t): New type.

11 years ago Lift 255x255 erminal sie restriction to 65535x65535. Also change from
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 21:59:32 +0000 (23:59 +0200)] 
Lift 255x255 erminal sie restriction to 65535x65535. Also change from
bitmasks to small structures of size chosen to fit in registers.

11 years ago * conf/Makefile.common: Use -freg-struct-return on i386. This
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 21:56:59 +0000 (23:56 +0200)] 
* conf/Makefile.common: Use -freg-struct-return on i386. This
decreases code size and improves performance.

11 years ago * grub-core/osdep/unix/exec.c: Fix compilation error on emu.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 21:53:48 +0000 (23:53 +0200)] 
* grub-core/osdep/unix/exec.c: Fix compilation error on emu.

11 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Fix formatting of
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 21:52:09 +0000 (23:52 +0200)] 
* grub-core/kern/misc.c (grub_vsnprintf_real): Fix formatting of
"(null)" string.
Simplify expressions to save around 256 bytes in kernel.img.
* tests/printf_unit_test.c (printf_test): Add "(null)" tests.

11 years ago * grub-core/tests/video_checksum.c (grub_video_capture_write_bmp):
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 21:48:24 +0000 (23:48 +0200)] 
* grub-core/tests/video_checksum.c (grub_video_capture_write_bmp):
Use GRUB_UTIL_FD_O_* rather than O_*.

11 years ago Add haiku-specific functions.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 14:39:38 +0000 (16:39 +0200)] 
Add haiku-specific functions.

11 years ago * grub-core/kern/emu/hostdisk.c: Remove few leftover includes.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 14:32:28 +0000 (16:32 +0200)] 
* grub-core/kern/emu/hostdisk.c: Remove few leftover includes.

11 years ago Move stat () and device mode checking into OS-dependent files as
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 14:29:20 +0000 (16:29 +0200)] 
Move stat () and device mode checking into OS-dependent files as
long as performance doesn't suffer.

11 years ago Split make_system_path_relative_to_its_root into separate file
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 14:21:08 +0000 (16:21 +0200)] 
Split make_system_path_relative_to_its_root into separate file
relpath.c from getroot.c as it's common between unix and haiku
but otherwise haiku doesn't use any functions from unix getroot.c.

11 years ago * grub-core/osdep/aros/hostdisk.c (grub_util_is_directory):
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 14:14:30 +0000 (16:14 +0200)] 
* grub-core/osdep/aros/hostdisk.c (grub_util_is_directory):
New function.
(grub_util_is_special_file): Likewise.

11 years ago * grub-core/osdep/unix/getroot.c: Move exec functions to ...
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:56:40 +0000 (02:56 +0200)] 
* grub-core/osdep/unix/getroot.c: Move exec functions to ...
* osdep/unix/exec.c: ... here. Add few additional exec_* variants.

11 years ago * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Define size_t to
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:42:40 +0000 (02:42 +0200)] 
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Define size_t to
grub_size_t. This fixes the case when size_t mismatches grub_size_t.

11 years ago * util/grub-mkimagexx.c (make_reloc_section): Fix memory leak.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:39:06 +0000 (02:39 +0200)] 
* util/grub-mkimagexx.c (make_reloc_section): Fix memory leak.
(load_image): Likewise.

11 years ago * util/grub-render-label.c: Move backend part to ...
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:37:01 +0000 (02:37 +0200)] 
* util/grub-render-label.c: Move backend part to ...
* util/render-label.c: ... here.

11 years ago * util/grub-render-label.c: Move backend part to ...
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:34:18 +0000 (02:34 +0200)] 
* util/grub-render-label.c: Move backend part to ...
* util/render-label.c: ... here.

11 years ago * grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:30:05 +0000 (02:30 +0200)] 
* grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses
yarrow (by B. Schneier et al) for its /dev/urandom (similar to FreeBSD).

11 years ago * grub-core/osdep/generic/blocklist.c: Add missing include to string.h.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:24:40 +0000 (02:24 +0200)] 
* grub-core/osdep/generic/blocklist.c: Add missing include to string.h.

11 years ago * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Handle
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:23:08 +0000 (02:23 +0200)] 
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Handle
CD-ROM in case when it's declared as having subpartitions.

11 years ago Don't add -lm on haiku.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:20:21 +0000 (02:20 +0200)] 
Don't add -lm on haiku.

* configure.ac: Define BUILD_LIBM to -lm on most platforms
and empty on haiku.
* grub-core/Makefile.am (gentrigtables): Use $(BUILD_LIBM) rather than
-lm.

11 years ago * configure.ac: Use -melf_*_haiku as target on haiku.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:15:35 +0000 (02:15 +0200)] 
* configure.ac: Use -melf_*_haiku as target on haiku.

11 years ago * Makefile.util.def: Add util/setup.c to extra_dist.
Vladimir 'phcoder' Serbinenko [Sat, 19 Oct 2013 00:12:06 +0000 (02:12 +0200)] 
* Makefile.util.def: Add util/setup.c to extra_dist.

11 years ago * grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 23:01:36 +0000 (01:01 +0200)] 
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
unknown types through.

11 years ago * grub-core/osdep/unix/getroot.c (grub_util_check_block_device): Remove.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 22:51:08 +0000 (00:51 +0200)] 
* grub-core/osdep/unix/getroot.c (grub_util_check_block_device): Remove.
(grub_util_check_char_device): Likewise.
* include/grub/emu/getroot.h: Likewise.

11 years ago * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 15:18:15 +0000 (17:18 +0200)] 
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining
memset rather than inline static function.

11 years ago * grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when
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.

11 years ago * grub-core/disk/ldm.c: Rename variables and arguments to prevent
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.

11 years ago * grub-core/disk/luks.c (configure_ciphers): Fix spurious warning.
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:51:08 +0000 (16:51 +0200)] 
* grub-core/disk/luks.c (configure_ciphers): Fix spurious warning.

11 years ago * grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is
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.

11 years ago * grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
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.

11 years ago * include/grub/dl.h: Remove double declaration of GRUB_MOD_DEP.
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.

11 years ago * include/grub/setjmp.h: Define RETURNS_TWICE. Keep it empty for
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.

11 years ago * grub-core/disk/dmraid_nvidia.c: Fix potentially uninited "layout".
Vladimir 'phcoder' Serbinenko [Fri, 18 Oct 2013 14:36:09 +0000 (16:36 +0200)] 
* grub-core/disk/dmraid_nvidia.c: Fix potentially uninited "layout".

11 years ago * include/grub/misc.h: Don't use warn_unused_result on gcc < 3.4.
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.

11 years ago * grub-core/term/i386/pc/vga_text.c: Remove extra declaration of
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.

11 years ago * grub-core/tests/checksums.h: Regenerated due to progress bar
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.

11 years ago Added `tr' command support.
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.

11 years ago * grub-core/gfxmenu/gui_progress_bar.c: Sanity checks added.
Vladimir Testov [Thu, 17 Oct 2013 11:50:25 +0000 (15:50 +0400)] 
   * grub-core/gfxmenu/gui_progress_bar.c: Sanity checks added.

11 years ago * grub-core/gfxmenu/gui_progress_bar.c: New option ``highlight_overlay``
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.

11 years ago * grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Fixed bug.
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.

11 years ago * docs/grub.texi: Graphical options information update.
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.

11 years ago * docs/grub.texi: Mention few new platform-specific commands.
Vladimir 'phcoder' Serbinenko [Wed, 16 Oct 2013 23:52:44 +0000 (01:52 +0200)] 
* docs/grub.texi: Mention few new platform-specific commands.

11 years ago * grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not
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>

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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().

11 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.

11 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 *).

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.