]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago * tests/util/grub-shell.in: Copy themes.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:17:25 +0000 (19:17 +0100)]
* tests/util/grub-shell.in: Copy themes.

10 years ago * util/grub-mkimagexx.c (locate_sections): Reject mislinked images.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:16:36 +0000 (19:16 +0100)]
* util/grub-mkimagexx.c (locate_sections): Reject mislinked images.

10 years ago * configure.ac: Use 0x8000 for address instead of 8000.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:13:41 +0000 (19:13 +0100)]
* configure.ac: Use 0x8000 for address instead of 8000.

10 years ago * grub-core/loader/sparc64/ieee1275/linux.c (get_physbase): Fix
Vladimir Serbinenko [Sat, 2 Nov 2013 17:57:35 +0000 (18:57 +0100)]
* grub-core/loader/sparc64/ieee1275/linux.c (get_physbase): Fix
signature.

10 years ago * grub-core/disk/efi/efidisk.c (grub_efidisk_readwrite): Remove unused
Vladimir Serbinenko [Sat, 2 Nov 2013 17:50:39 +0000 (18:50 +0100)]
* grub-core/disk/efi/efidisk.c (grub_efidisk_readwrite): Remove unused
variable.

10 years ago * configure.ac (TARGET_CFLAGS): Add -march=i386 on i386.
Vladimir Serbinenko [Sat, 2 Nov 2013 15:40:25 +0000 (16:40 +0100)]
* configure.ac (TARGET_CFLAGS): Add -march=i386 on i386.

10 years ago * grub-core/fs/hfspluscomp.c (hfsplus_read_compressed_real): Call
Vladimir Serbinenko [Sat, 2 Nov 2013 15:30:53 +0000 (16:30 +0100)]
* grub-core/fs/hfspluscomp.c (hfsplus_read_compressed_real): Call
file_progress_read_hook.
* grub-core/fs/ntfscomp.c (hfsplus_read_compressed_real): Likewise.

10 years ago * conf/Makefile.common (CFLAGS_PLATFORM): Remove poisoning of float
Vladimir Serbinenko [Sat, 2 Nov 2013 15:25:13 +0000 (16:25 +0100)]
* conf/Makefile.common (CFLAGS_PLATFORM): Remove poisoning of float
and double.

10 years ago * grub-core/fs/tar.c (grub_cpio_read): Add read_hook.
Vladimir Serbinenko [Fri, 1 Nov 2013 22:33:59 +0000 (23:33 +0100)]
* grub-core/fs/tar.c (grub_cpio_read): Add read_hook.

10 years ago Rewrite blocklist functions in order to get progress when
Vladimir Serbinenko [Fri, 1 Nov 2013 22:28:03 +0000 (23:28 +0100)]
Rewrite blocklist functions in order to get progress when
reading large extents and decrease amount of blocklist hook calls.

10 years ago * grub-core/term/serial.c (options), (grub_cmd_serial): Fix handling
Vladimir Serbinenko [Fri, 1 Nov 2013 18:46:30 +0000 (19:46 +0100)]
* grub-core/term/serial.c (options), (grub_cmd_serial): Fix handling
of SI suffixes.

10 years ago Support --base-clock for serial command to handle weird cards with
Vladimir Serbinenko [Fri, 1 Nov 2013 18:33:22 +0000 (19:33 +0100)]
Support --base-clock for serial command to handle weird cards with
non-standard base clock.

10 years ago * grub-core/fs/ext2.c (grub_ext2_read_symlink): Use memcpy rather
Vladimir Serbinenko [Fri, 1 Nov 2013 17:44:46 +0000 (18:44 +0100)]
* grub-core/fs/ext2.c (grub_ext2_read_symlink): Use memcpy rather
strncpy.
* grub-core/fs/jfs.c (grub_jfs_lookup_symlink): Likewise.
* grub-core/kern/misc.c (grub_strncpy): Move from here ...
* include/grub/misc.h (grub_strncpy): ... to here. Make inline.
* grub-core/net/net.c (grub_net_addr_to_str): Use COMPILE_TIME_ASSERT
+ strcpy rather than strncpy.

10 years ago * grub-core/fs/zfs/zfs.c (nvpair_name): Use correct type for size.
Vladimir Serbinenko [Fri, 1 Nov 2013 17:41:52 +0000 (18:41 +0100)]
* grub-core/fs/zfs/zfs.c (nvpair_name): Use correct type for size.
(check_pool_label): Likewise. Fixes overflow.
(nvlist_find_value): Fix comparison.

10 years ago * include/grub/misc.h (grub_strcat): Removed. All users changed to
Vladimir Serbinenko [Fri, 1 Nov 2013 15:27:37 +0000 (16:27 +0100)]
* include/grub/misc.h (grub_strcat): Removed. All users changed to
more appropriate functions.

10 years ago * grub-core/kern/efi/efi.c (grub_efi_get_filename): Avoid inefficient
Vladimir Serbinenko [Fri, 1 Nov 2013 15:06:51 +0000 (16:06 +0100)]
* grub-core/kern/efi/efi.c (grub_efi_get_filename): Avoid inefficient
realloc.

10 years ago * util/grub-mkrescue.in: Do not use UUID search on EFI.
Vladimir Serbinenko [Fri, 1 Nov 2013 15:05:15 +0000 (16:05 +0100)]
* util/grub-mkrescue.in: Do not use UUID search on EFI.

10 years ago * grub-core/kern/dl.c: Unify section-finding algorithm. Saves 30 bytes
Vladimir Serbinenko [Fri, 1 Nov 2013 14:20:14 +0000 (15:20 +0100)]
* grub-core/kern/dl.c: Unify section-finding algorithm. Saves 30 bytes
on core size.

10 years ago * grub-core/kern/mm.c (grub_realloc): Don't copy more data than we have.
Vladimir Serbinenko [Fri, 1 Nov 2013 13:39:33 +0000 (14:39 +0100)]
* grub-core/kern/mm.c (grub_realloc): Don't copy more data than we have.

10 years ago * grub-core/io/gzio.c (huft_build): Use zalloc for safety.
Vladimir Serbinenko [Wed, 30 Oct 2013 10:58:00 +0000 (11:58 +0100)]
* grub-core/io/gzio.c (huft_build): Use zalloc for safety.
(initialize_tables): reset tl and td to NULL after freeing.

10 years ago * grub-core/loader/multiboot_mbi2.c: Implement network tag.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:53:39 +0000 (15:53 +0100)]
* grub-core/loader/multiboot_mbi2.c: Implement network tag.

10 years ago * grub-core/loader/multiboot_mbi2.c: Add EFI memory map to the list
Vladimir Serbinenko [Mon, 28 Oct 2013 14:40:34 +0000 (15:40 +0100)]
* grub-core/loader/multiboot_mbi2.c: Add EFI memory map to the list
of supported tags.

10 years ago * grub-core/loader/multiboot_mbi2.c: Implement EFI memory map.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:37:00 +0000 (15:37 +0100)]
* grub-core/loader/multiboot_mbi2.c: Implement EFI memory map.

10 years ago * grub-core/loader/multiboot.c: Add support for multiboot kernels
Vladimir Serbinenko [Mon, 28 Oct 2013 14:23:46 +0000 (15:23 +0100)]
* grub-core/loader/multiboot.c: Add support for multiboot kernels
quirks.

10 years ago * grub-core/loader/i386/linux.c (allocate_pages): Allocate at least
Vladimir Serbinenko [Mon, 28 Oct 2013 13:30:29 +0000 (14:30 +0100)]
* grub-core/loader/i386/linux.c (allocate_pages): Allocate at least
a page in protected space.

10 years ago * grub-core/loader/multiboot.c (grub_cmd_module): Don't attempt to
Vladimir Serbinenko [Mon, 28 Oct 2013 13:27:19 +0000 (14:27 +0100)]
* grub-core/loader/multiboot.c (grub_cmd_module): Don't attempt to
allocate space for zero-sized modules.

10 years ago * grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images.
Vladimir Serbinenko [Mon, 28 Oct 2013 13:25:22 +0000 (14:25 +0100)]
* grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images.

10 years ago * grub-core/lib/fdt.c: Fix miscellaneous bugs.
Francesco Lavra [Mon, 28 Oct 2013 12:52:32 +0000 (13:52 +0100)]
* grub-core/lib/fdt.c: Fix miscellaneous bugs.

10 years ago * grub-core/lib/progress.c (grub_file_progress_hook_real): Add missing
Vladimir Serbinenko [Mon, 28 Oct 2013 12:37:40 +0000 (13:37 +0100)]
* grub-core/lib/progress.c (grub_file_progress_hook_real): Add missing
safeguards. Fixes a crash with i386/pc/console.c.

10 years ago * include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
Vladimir Serbinenko [Mon, 28 Oct 2013 12:33:12 +0000 (13:33 +0100)]
* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
and grub_hostfs_init.

10 years ago * grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
Vladimir Serbinenko [Mon, 28 Oct 2013 01:17:56 +0000 (02:17 +0100)]
* grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
windows method on other platforms without good stat as well.

10 years ago * grub-core/osdep/linux/getroot.c: Add new btrfs defines.
Vladimir Serbinenko [Mon, 28 Oct 2013 00:45:06 +0000 (01:45 +0100)]
* grub-core/osdep/linux/getroot.c: Add new btrfs defines.

10 years ago Make / in btrfs refer to real root, not the default volume.
Vladimir Serbinenko [Mon, 28 Oct 2013 00:37:19 +0000 (01:37 +0100)]
Make / in btrfs refer to real root, not the default volume.
Modify mkrelpath to work even if device is mounted with subvolid option.

10 years agoMerge branch 'fu/disk_common'
Andrey Borzenkov [Sun, 27 Oct 2013 19:45:43 +0000 (23:45 +0400)]
Merge branch 'fu/disk_common'

10 years ago * util/grub-mkfont.c (main): Show error message when FT_Set_Pixel_Sizes
Vladimir Serbinenko [Sun, 27 Oct 2013 19:38:32 +0000 (20:38 +0100)]
* util/grub-mkfont.c (main): Show error message when FT_Set_Pixel_Sizes
fails.

10 years ago * docs/autoiso.cfg: New file.
BVK Chaitanya [Sun, 27 Oct 2013 19:34:24 +0000 (20:34 +0100)]
* docs/autoiso.cfg: New file.

10 years agoAdd grub-core/kern/disk_common.c to extra_dist
Andrey Borzenkov [Sun, 27 Oct 2013 18:47:00 +0000 (22:47 +0400)]
Add grub-core/kern/disk_common.c to extra_dist

10 years ago * configure.ac: Remove leftover COND_BUILD_GRUB_MKFONT and
Vladimir Serbinenko [Sun, 27 Oct 2013 18:44:19 +0000 (19:44 +0100)]
* configure.ac: Remove leftover COND_BUILD_GRUB_MKFONT and
COND_GRUB_PE2ELF conditions.

10 years ago * grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Vladimir Serbinenko [Sun, 27 Oct 2013 18:15:57 +0000 (19:15 +0100)]
* grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Try to handle more than 0xFFFF packets.
Reported by: Bernhard Übelacker <bernhardu>.
He also spotted few overflows in first version of this patch.

10 years ago * grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Vladimir Serbinenko [Sat, 26 Oct 2013 10:48:49 +0000 (12:48 +0200)]
* grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Try to handle more than 0xFFFF packets.

10 years ago * grub-core/loader/i386/bsd.c (grub_cmd_openbsd): Accept "sd", "cd",
Vladimir Serbinenko [Sun, 27 Oct 2013 17:59:27 +0000 (18:59 +0100)]
* grub-core/loader/i386/bsd.c (grub_cmd_openbsd): Accept "sd", "cd",
"vnd", "rd" and "fd" disks.

10 years ago Move grub_disk_write out of kernel into disk.mod.
Vladimir Serbinenko [Sun, 27 Oct 2013 14:44:55 +0000 (15:44 +0100)]
Move grub_disk_write out of kernel into disk.mod.

10 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Unify int and wchar
Vladimir Serbinenko [Sun, 27 Oct 2013 13:47:04 +0000 (14:47 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Unify int and wchar
handling.

10 years ago * grub-core/kern/misc.c (grub_abort): Make static
Vladimir Serbinenko [Sun, 27 Oct 2013 13:13:39 +0000 (14:13 +0100)]
* grub-core/kern/misc.c (grub_abort): Make static

10 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Don't attempt to
Vladimir Serbinenko [Sun, 27 Oct 2013 12:34:46 +0000 (13:34 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Don't attempt to
transform invalid unicode codepoints.

10 years ago * grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
Vladimir Serbinenko [Sun, 27 Oct 2013 12:20:50 +0000 (13:20 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
\0 checking.

10 years agoRevert " * util/grub-mkstandalone.in: Remove needless copying since we already"
Vladimir Serbinenko [Sun, 27 Oct 2013 11:22:52 +0000 (12:22 +0100)]
Revert " * util/grub-mkstandalone.in: Remove needless copying since we already"

The copying in question was needed.

This reverts commit 8154884dd4ee8e1134ca5124ab786173dee279ad.

10 years ago * grub-core/lib/legacy_parse.c: Add support for "nd" disk.
Vladimir Serbinenko [Sun, 27 Oct 2013 00:50:31 +0000 (02:50 +0200)]
* grub-core/lib/legacy_parse.c: Add support for "nd" disk.

10 years ago Consolidate cpuid code.
Vladimir Serbinenko [Sat, 26 Oct 2013 22:02:01 +0000 (00:02 +0200)]
Consolidate cpuid code.

10 years ago Move cpuid code to cpuid.h and TSC code to tsc.c.
Vladimir Serbinenko [Sat, 26 Oct 2013 21:39:10 +0000 (23:39 +0200)]
Move cpuid code to cpuid.h and TSC code to tsc.c.

10 years ago * util/grub.d/00_header.in: Don't use LANG if it's not set.
Grégoire Sutre [Sat, 26 Oct 2013 18:11:55 +0000 (20:11 +0200)]
* util/grub.d/00_header.in: Don't use LANG if it's not set.

10 years agoMissing Changelog entry
Grégoire Sutre [Sat, 26 Oct 2013 18:06:24 +0000 (20:06 +0200)]
Missing Changelog entry

10 years ago * util/grub-mkconfig.in: Replace $0 with $self.
Grégoire Sutre [Sat, 26 Oct 2013 18:05:29 +0000 (20:05 +0200)]
* util/grub-mkconfig.in: Replace $0 with $self.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.

10 years ago * docs/osdetect.cfg: New file.
BVK Chaitanya [Sat, 26 Oct 2013 16:39:03 +0000 (18:39 +0200)]
* docs/osdetect.cfg: New file.

10 years ago * tests/util/grub-shell.in: Add new --debug option.
BVK Chaitanya [Sat, 26 Oct 2013 13:01:28 +0000 (15:01 +0200)]
* tests/util/grub-shell.in: Add new --debug option.

10 years ago * tests/test_unset.in: New test.
BVK Chaitanya [Sat, 26 Oct 2013 12:52:54 +0000 (14:52 +0200)]
* tests/test_unset.in: New test.

10 years ago * tests/test_sha512sum.in: New test.
BVK Chaitanya [Sat, 26 Oct 2013 12:35:35 +0000 (14:35 +0200)]
* tests/test_sha512sum.in: New test.

10 years ago * grub-core/fs/iso9660.c: Replace strncat with memcpy.
Vladimir Serbinenko [Sat, 26 Oct 2013 10:49:51 +0000 (12:49 +0200)]
* grub-core/fs/iso9660.c: Replace strncat with memcpy.
* include/grub/misc.h: Remove strncat.
* grub-core/lib/posix_wrap/string.h: Likewise.

10 years agoMissing Changelog entry
Vladimir Serbinenko [Sat, 26 Oct 2013 00:48:55 +0000 (02:48 +0200)]
Missing Changelog entry

10 years ago * tests/date_unit_test.c: New test.
Vladimir Serbinenko [Sat, 26 Oct 2013 00:48:19 +0000 (02:48 +0200)]
* tests/date_unit_test.c: New test.

10 years ago * grub-core/normal/datetime.c (grub_unixtime2datetime): Fix mishandling
Vladimir Serbinenko [Sat, 26 Oct 2013 00:47:40 +0000 (02:47 +0200)]
* grub-core/normal/datetime.c (grub_unixtime2datetime): Fix mishandling
of first three years after start of validity of unixtime.

10 years ago * grub-core/normal/menu_entry.c (get_logical_num_lines): Use unsigned
Vladimir Serbinenko [Fri, 25 Oct 2013 23:01:06 +0000 (01:01 +0200)]
* grub-core/normal/menu_entry.c (get_logical_num_lines): Use unsigned
division as the one making more sense.
(update_screen): Likewise.
(complete): Likewise.

10 years ago * grub-core/normal/menu_entry.c (complete): Make sure that width is >0.
Vladimir Serbinenko [Fri, 25 Oct 2013 22:07:59 +0000 (00:07 +0200)]
* grub-core/normal/menu_entry.c (complete): Make sure that width is >0.

10 years ago Make char and string width grub_size_t rather than grub_ssize_t.
Vladimir Serbinenko [Fri, 25 Oct 2013 21:58:24 +0000 (23:58 +0200)]
Make char and string width grub_size_t rather than grub_ssize_t.

10 years ago * grub-core/normal/cmdline.c (grub_history_get): Make argument into
Vladimir Serbinenko [Fri, 25 Oct 2013 20:58:19 +0000 (22:58 +0200)]
* grub-core/normal/cmdline.c (grub_history_get): Make argument into
unsigned.
(grub_history_replace): Likewise.

10 years ago * grub-core/disk/raid6_recover.c: Use unsigned arithmetics when
Vladimir Serbinenko [Fri, 25 Oct 2013 20:51:03 +0000 (22:51 +0200)]
* grub-core/disk/raid6_recover.c: Use unsigned arithmetics when
appropriate.

10 years ago * grub-core/video/bitmap_scale.c: Use unsigned arithmetics when
Vladimir Serbinenko [Fri, 25 Oct 2013 19:39:00 +0000 (21:39 +0200)]
* grub-core/video/bitmap_scale.c: Use unsigned arithmetics when
appropriate.

10 years ago * grub-core/video/fb/fbblit.c: Use (255 ^ x) rather than (255 - x).
Vladimir Serbinenko [Fri, 25 Oct 2013 19:35:44 +0000 (21:35 +0200)]
* grub-core/video/fb/fbblit.c: Use (255 ^ x) rather than (255 - x).
Use unsigned divisions rather than signed variants.

10 years ago * grub-core/video/readers/png.c (grub_png_convert_image): Use
Vladimir Serbinenko [Fri, 25 Oct 2013 18:36:39 +0000 (20:36 +0200)]
* grub-core/video/readers/png.c (grub_png_convert_image): Use
unsigned arithmetics.
Add missing break.

10 years ago * grub-core/video/readers/jpeg.c: Use unsigned where appropriate.
Vladimir Serbinenko [Fri, 25 Oct 2013 18:35:02 +0000 (20:35 +0200)]
* grub-core/video/readers/jpeg.c: Use unsigned where appropriate.

10 years ago * grub-core/fs/zfs/zfs.c (xor_out): Use unsigned modular arithmetics
Vladimir Serbinenko [Fri, 25 Oct 2013 18:31:04 +0000 (20:31 +0200)]
* grub-core/fs/zfs/zfs.c (xor_out): Use unsigned modular arithmetics
rather than signed one.
(recovery): Likewise.

10 years ago * grub-core/net/dns.c (hash): Use unsigned arithmetic.
Vladimir Serbinenko [Fri, 25 Oct 2013 18:26:27 +0000 (20:26 +0200)]
* grub-core/net/dns.c (hash): Use unsigned arithmetic.

10 years ago * grub-core/io/gzio.c (test_zlib_header): Use undigned modulo rather
Vladimir Serbinenko [Fri, 25 Oct 2013 18:18:30 +0000 (20:18 +0200)]
* grub-core/io/gzio.c (test_zlib_header): Use undigned modulo rather
than signed.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Fri, 25 Oct 2013 17:48:24 +0000 (19:48 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago * grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned.
Vladimir Serbinenko [Fri, 25 Oct 2013 16:03:36 +0000 (18:03 +0200)]
* grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned.

10 years ago * grub-core/commands/gptsync.c (lba_to_chs): Use proper types rather
Vladimir Serbinenko [Fri, 25 Oct 2013 16:02:40 +0000 (18:02 +0200)]
* grub-core/commands/gptsync.c (lba_to_chs): Use proper types rather
than int.

10 years agoDocumentation cleanup in response to ML discussion.
Jon McCune [Fri, 25 Oct 2013 15:31:36 +0000 (08:31 -0700)]
Documentation cleanup in response to ML discussion.

 [v0] Accepted with modifications by phcoder@
 [v1] Introduce subsections within Security
 [v1] Correct errors regarding public key files not being automatically signature-checked in trust and verify_detached
 [v1] Replace check_signatures=enforce with check_signatures set to enforce
 [v1] Move detailed discussion of using signatures out of check_signatures environment variable description
 [v1] Use long form for option flags to security-relevant commands
 [v2] Explain the key fingerprint format for distrust and list_trusted.
 [v2] Eliminates references to grub-mkimage and UEFI Secure Boot.
 [v3] Updates in response to addition of --skip-sig to trust and verify_detached
 [  ] Restore @xref for cross-references at the start of sentences

10 years ago * conf/Makefile.common (CPPFLAGS_KERNEL): Add -DGRUB_KERNEL=1.
Vladimir Serbinenko [Fri, 25 Oct 2013 14:07:01 +0000 (16:07 +0200)]
* conf/Makefile.common (CPPFLAGS_KERNEL): Add -DGRUB_KERNEL=1.
* include/grub/dl.h (GRUB_MOD_INIT), (GRUB_MOD_FINI): Define
functions when compiling for kernel.

10 years ago * grub-core/lib/progress.c (grub_file_progress_hook_real): Cast to
Vladimir Serbinenko [Fri, 25 Oct 2013 13:22:30 +0000 (15:22 +0200)]
* grub-core/lib/progress.c (grub_file_progress_hook_real): Cast to
unsigned long long when using %llu.

10 years ago * grub-core/lib/progress.c (grub_file_progress_hook_real): Refresh
Vladimir Serbinenko [Fri, 25 Oct 2013 09:57:36 +0000 (11:57 +0200)]
* grub-core/lib/progress.c (grub_file_progress_hook_real): Refresh
terminal after updating progress.

10 years ago * grub-core/boot/i386/pc/startup_raw.S (grub_gate_a20): Remove
Vladimir Serbinenko [Fri, 25 Oct 2013 09:03:39 +0000 (11:03 +0200)]
* grub-core/boot/i386/pc/startup_raw.S (grub_gate_a20): Remove
argument. We don't disable Gate A20 in this code.

10 years ago * grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled.
Vladimir Serbinenko [Fri, 25 Oct 2013 08:51:58 +0000 (10:51 +0200)]
* grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled.
Conceptually based on change in branch "vbe-on-coreboot".

10 years ago * grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Replace
Robert Millan [Thu, 24 Oct 2013 06:53:04 +0000 (08:53 +0200)]
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Replace
numeric constants with their symbolic equivalent.
Taken from branch "vbe-on-coreboot".

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

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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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