]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
14 years agoPrevent "incompatible license" error.
Manoel R. Abranches [Thu, 12 May 2011 18:40:54 +0000 (15:40 -0300)] 
Prevent "incompatible license" error.

14 years agoCorrect some compile erros.
Manoel R. Abranches [Thu, 12 May 2011 16:20:43 +0000 (13:20 -0300)] 
Correct some compile erros.

14 years agoRemove unused file
Manoel Rebelo Abranches [Tue, 10 May 2011 17:08:18 +0000 (14:08 -0300)] 
Remove unused file

14 years agoImplement close in TFTP
Manoel Rebelo Abranches [Tue, 10 May 2011 17:07:54 +0000 (14:07 -0300)] 
Implement close in TFTP

14 years agoPrevente error in broken cards by limiting data size.
Manoel Rebelo Abranches [Tue, 10 May 2011 17:07:20 +0000 (14:07 -0300)] 
Prevente error in broken cards by limiting data size.

14 years agoOnly setup network in the card we booted from.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:55:20 +0000 (09:55 -0300)] 
Only setup network in the card we booted from.

14 years agoRemove cards with no associated driver.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:54:32 +0000 (09:54 -0300)] 
Remove cards with no associated driver.

14 years agoImplement timeout when receiving packets.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:50:18 +0000 (09:50 -0300)] 
Implement timeout when receiving packets.

14 years agoPrevente a bootp packet to be sent on open.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:45:57 +0000 (09:45 -0300)] 
Prevente a bootp packet to be sent on open.

14 years agoImplement file close in network tranference.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:32:38 +0000 (09:32 -0300)] 
Implement file close in network tranference.
Stop receiving packets from card on error.

14 years agoMark file as not easily seekable on net open.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:30:26 +0000 (09:30 -0300)] 
Mark file as not easily seekable on net open.

14 years agoCorrect expected argument numbers in del addr command.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:28:45 +0000 (09:28 -0300)] 
Correct expected argument numbers in del addr command.

14 years agoFree memory when removing packet.
Manoel Rebelo Abranches [Fri, 6 May 2011 17:03:51 +0000 (14:03 -0300)] 
Free memory when removing packet.

14 years agoMerge mainline.
Manoel Rebelo Abranches [Thu, 5 May 2011 15:12:22 +0000 (12:12 -0300)] 
Merge mainline.

14 years ago * grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
Vladimir 'phcoder' Serbinenko [Thu, 5 May 2011 11:34:03 +0000 (13:34 +0200)] 
* grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
(devpath_1): Use MAKE_PIWG_PATH.
(devpath_2): Likewise.
(devpath_3): Likewise.
(devpath_4): Likewise.
(devpath_5): Likewise.
(devpath_6): Likewise.

The appleldr.mod was checked that to be binary identical to previous
version.

14 years ago Support 2010 Macbooks.
Zach [Thu, 5 May 2011 10:18:00 +0000 (12:18 +0200)] 
Support 2010 Macbooks.

* grub-core/loader/efi/appleloader.c (devpath_6): New variable.
(devs): Add devpath_6.

14 years ago * util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:32:04 +0000 (01:32 +0200)] 
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
/dev/random. /dev/urandom is good enough for our purposes (salting).

14 years ago * util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:29:21 +0000 (01:29 +0200)] 
* util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.

14 years ago * grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:27:54 +0000 (01:27 +0200)] 
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
hexadecimal.

14 years ago * grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:26:16 +0000 (01:26 +0200)] 
* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
and not 0 on failure.

14 years ago* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
Colin Watson [Tue, 3 May 2011 17:03:05 +0000 (18:03 +0100)] 
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe
disk; otherwise grub_fs_probe will not fall back to the next
filesystem.
(grub_pxefs_open): Likewise, for consistency.
Reported and tested by: Ezekiel Grave.

14 years ago* tests/partmap_test.in: Don't hardcode path to parted.
Colin Watson [Tue, 3 May 2011 16:57:39 +0000 (17:57 +0100)] 
* tests/partmap_test.in: Don't hardcode path to parted.
Reported by: Peter Hjalmarsson.  Fixes Savannah bug #33150.

14 years ago* docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
Colin Watson [Sun, 1 May 2011 19:04:02 +0000 (20:04 +0100)] 
* docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
of `ls' to find out which devices are available.

14 years ago * grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 14:58:25 +0000 (16:58 +0200)] 
* grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
than source address for efi mmap buffer.

14 years ago * grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:36:08 +0000 (15:36 +0200)] 
* grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
wrong action on non-detecting the magic.

14 years ago * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:29:41 +0000 (15:29 +0200)] 
* grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
already supplied by another part of the module (fixes compilation on
FreeBSD).

14 years ago * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:23:37 +0000 (15:23 +0200)] 
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
match the one used by mdadm.

14 years ago* po/README: Add instructions for creating po/LINGUAS.
Colin Watson [Thu, 21 Apr 2011 14:47:58 +0000 (15:47 +0100)] 
* po/README: Add instructions for creating po/LINGUAS.

14 years agoAdd "SEE ALSO" sections to most man pages. Fixes Debian bug
Colin Watson [Thu, 21 Apr 2011 14:17:48 +0000 (15:17 +0100)] 
Add "SEE ALSO" sections to most man pages.  Fixes Debian bug
#551428.

* docs/man/grub-editenv.h2m (SEE ALSO): New section.
* docs/man/grub-emu.h2m (SEE ALSO): Likewise.
* docs/man/grub-fstest.h2m (SEE ALSO): Likewise.
* docs/man/grub-install.h2m (SEE ALSO): Likewise.
* docs/man/grub-macho2img.h2m (SEE ALSO): Likewise.
* docs/man/grub-menulst2cfg.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkconfig.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkdevicemap.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkfont.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
* docs/man/grub-mklayout.h2m (SEE ALSO): Likewise.
* docs/man/grub-mknetdir.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkpasswd-pbkdf2.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrelpath.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrescue.h2m (SEE ALSO): Likewise.
* docs/man/grub-ofpathname.h2m (SEE ALSO): Likewise.
* docs/man/grub-pe2elf.h2m (SEE ALSO): Likewise.
* docs/man/grub-probe.h2m (SEE ALSO): Likewise.
* docs/man/grub-reboot.h2m (SEE ALSO): Likewise.
* docs/man/grub-script-check.h2m (SEE ALSO): Likewise.
* docs/man/grub-set-default.h2m (SEE ALSO): Likewise.
* docs/man/grub-setup.h2m (SEE ALSO): Likewise.

14 years ago* grub-core/kern/emu/getroot.c
Colin Watson [Thu, 21 Apr 2011 09:26:29 +0000 (10:26 +0100)] 
* grub-core/kern/emu/getroot.c
(grub_find_root_device_from_mountinfo): Remove non-virtual-device
test that was incorrectly reintroduced in r3214.
Reported by: Ian Dall.  Fixes Savannah bug #33133.

14 years agoFix stack pointer handling in 16-bit relocator.
Colin Watson [Wed, 20 Apr 2011 23:07:22 +0000 (00:07 +0100)] 
Fix stack pointer handling in 16-bit relocator.

* grub-core/lib/i386/relocator16.S (grub_relocator16_start): Move
grub_relocator16_sp to %esp rather than %ss, and zero-extend it.
Fixes Ubuntu bug #683904.

14 years ago * configure.ac: Bump version to 1.99~rc2.
Vladimir 'phcoder' Serbinenko [Wed, 20 Apr 2011 07:23:55 +0000 (09:23 +0200)] 
* configure.ac: Bump version to 1.99~rc2.

14 years ago * include/grub/dl.h [ASM_FILE]: Adapt for assembly.
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 23:37:48 +0000 (01:37 +0200)] 
* include/grub/dl.h [ASM_FILE]: Adapt for assembly.
* grub-core/lib/i386/setjmp.S: Add missing GRUB_MOD_LICENSE.
* grub-core/lib/x86_64/setjmp.S: Likewise.
* grub-core/lib/mips/setjmp.S: Likewise.
* grub-core/lib/powerpc/setjmp.S: Likewise.
* grub-core/lib/sparc64/setjmp.S: Likewise.

14 years ago * grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 23:32:21 +0000 (01:32 +0200)] 
* grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
* grub-core/lib/efi/datetime.c: Likewise.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 20:39:14 +0000 (22:39 +0200)] 
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
New function.
(grub_util_biosdisk_close): Use grub_util_biosdisk_flush.
* include/grub/emu/hostdisk.h (grub_util_biosdisk_flush): New proto.
* util/grub-setup.c (setup): Use grub_util_biosdisk_flush.

14 years ago * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 20:31:50 +0000 (22:31 +0200)] 
* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
bitmap.
(grub_gfxterm_term_init): Likewise.

14 years ago Take into account the decorations the computing menu entry width.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 22:44:53 +0000 (00:44 +0200)] 
Take into account the decorations the computing menu entry width.

* grub-core/gfxmenu/widget-box.c (get_border_width): New function.
(grub_gfxmenu_create_box): Register get_border_width.
* grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width
if available.
* include/grub/gfxwidgets.h (grub_gfxmenu_box): New member
get_border_width.

14 years ago * grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Endres Puschner [Mon, 18 Apr 2011 21:24:41 +0000 (23:24 +0200)] 
* grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Don't skip first class.

14 years ago * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 21:10:19 +0000 (23:10 +0200)] 
* grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
chunks.
* include/grub/err.h (grub_err_t): New enum value GRUB_ERR_BUG.

14 years ago Complete 64-bit division support.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 21:03:52 +0000 (23:03 +0200)] 
Complete 64-bit division support.

* grub-core/kern/misc.c (grub_divmod64): Rename to ...
(grub_divmod64_full): ... this. Support 64-bit divisor and reminder.
* include/grub/misc.h (grub_divmod64): Rename to ...
(grub_divmod64_full): ... this.
(grub_divmod64): New inline function.

14 years ago * util/grub-mkimage.c (generate_image): Add forgotten comma.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 15:47:21 +0000 (17:47 +0200)] 
* util/grub-mkimage.c (generate_image): Add forgotten comma.

14 years ago * util/grub-mkimage.c (generate_image): Update fwstart.img hash after
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 07:31:13 +0000 (09:31 +0200)] 
* util/grub-mkimage.c (generate_image): Update fwstart.img hash after
performing the necessary test.

14 years ago * Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
Vladimir 'phcoder' Serbinenko [Sat, 16 Apr 2011 15:24:47 +0000 (17:24 +0200)] 
* Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
(kfreebsd.elf): Likewise.
(pc-chainloader.elf): Likewise.
(ntldr.elf): Likewise.

14 years ago Identify RAID by its UUID rather than (guessed) name.
Vladimir 'phcoder' Serbinenko [Sat, 16 Apr 2011 13:27:35 +0000 (15:27 +0200)] 
Identify RAID by its UUID rather than (guessed) name.

* grub-core/disk/raid.c (ascii2hex): New function.
(grub_raid_open): Accept mduuid/%s specification.
* grub-core/kern/emu/getroot.c (get_mdadm_name): Revamped into ...
(get_mdadm_uuid): ... this.
(grub_util_get_grub_dev): Use mduuid/%s if UUID is available.

14 years ago * grub-core/gfxmenu/gui_image.c (rescale_image): Don't attempt to scale
Vladimir 'phcoder' Serbinenko [Sat, 16 Apr 2011 07:16:44 +0000 (09:16 +0200)] 
* grub-core/gfxmenu/gui_image.c (rescale_image): Don't attempt to scale
to negative size.

14 years ago* util/grub.d/10_linux.in: Add rootflags=subvol=<name> if / is on a
Colin Watson [Wed, 13 Apr 2011 11:57:26 +0000 (12:57 +0100)] 
* util/grub.d/10_linux.in: Add rootflags=subvol=<name> if / is on a
btrfs subvolume.
* util/grub.d/20_linux_xen.in: Likewise.

14 years agoRewrite /proc/self/mountinfo handling to cope with bind-mounts and
Colin Watson [Wed, 13 Apr 2011 11:36:04 +0000 (12:36 +0100)] 
Rewrite /proc/self/mountinfo handling to cope with bind-mounts and
move-mounts appearing out of order.  Fixes Ubuntu bug #738345.

* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Build a list of relevant visible mounts using the mnt_id and
parent_mnt_id fields, and then scan that list at the end.

14 years ago* docs/grub.texi (normal): New section.
Colin Watson [Tue, 12 Apr 2011 12:23:19 +0000 (13:23 +0100)] 
* docs/grub.texi (normal): New section.
(normal_exit): New section.
(Embedded configuration): Add reference to normal.
(GRUB only offers a rescue shell): Likewise.
* docs/grub-dev.texi (Error Handling): Fix typo.

14 years ago* NEWS: Drop obsolete entry about probe-only btrfs support.
Colin Watson [Tue, 12 Apr 2011 10:44:35 +0000 (11:44 +0100)] 
* NEWS: Drop obsolete entry about probe-only btrfs support.

14 years ago* util/import_gcry.py: Fix typo.
Colin Watson [Tue, 12 Apr 2011 10:39:17 +0000 (11:39 +0100)] 
* util/import_gcry.py: Fix typo.

14 years ago * NEWS: Add btrfs support.
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 21:30:15 +0000 (23:30 +0200)] 
* NEWS: Add btrfs support.

14 years ago BtrFS support. Written by me (Vladimir) with important bugfixes and
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 21:26:41 +0000 (23:26 +0200)] 
BtrFS support. Written by me (Vladimir) with important bugfixes and
even more important testing by Colin.

* Makefile.util.def (libgrubmods.a): Add crc.c and gzio.c
* grub-core/Makefile.core.def (btrfs): Add crc.c.
* grub-core/fs/btrfs.c: Stub replaced with real implementation.
* grub-core/io/gzio.c (grub_gzio): New fields mem_input_size,
mem_input_off and mem_input. All users updated to accept in-RAM input.
(gzio_seek): New function.
(test_zlib_header): Likewise.
(grub_gzio_read): Likewise.
(grub_zlib_decompress): Likewise.
* grub-core/kern/emu/getroot.c (grub_find_root_device_from_mountinfo):
Accept partial and non-virtual mounts.
(grub_guess_root_device): Do rescanning after device_from_mountinfo to
avoid receiving /dev/dm-X as device.
* grub-core/kern/emu/misc.c (grub_make_system_path_relative_to_its_root):
Handle bind and partial mounts.
* grub-core/lib/crc.c: New file.
* include/grub/deflate.h: Likewise.
* include/grub/emu/misc.h (grub_find_root_device_from_mountinfo): New
proto.
* include/grub/lib/crc.h: New file.

14 years ago Implement automatic module license checking according to new GNU
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 21:01:51 +0000 (23:01 +0200)] 
  Implement automatic module license checking according to new GNU
guidelines.

* grub-core/kern/dl.c (grub_dl_check_license): New function.
(grub_dl_load_core): Use grub_dl_check_license.
* include/grub/dl.h (GRUB_MOD_SECTION): New macro.
(GRUB_MOD_LICENSE): Likewise.
(GRUB_MOD_DUAL_LICENSE): Likewise.
All modules updated.

14 years ago* grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set
Colin Watson [Mon, 11 Apr 2011 15:06:37 +0000 (16:06 +0100)] 
* grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set
reserved_first_sector to 1.  btrfs reserves plenty of space for boot
loaders.
Reported by: Gene Cumm.  Fixes Ubuntu bug #757446.

14 years agomerge mainline into butter
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:56:31 +0000 (07:56 +0200)] 
merge mainline into butter

14 years agouse actually filled extent size if available
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:53:21 +0000 (07:53 +0200)] 
use actually filled extent size if available

14 years agoTake extent offset in account on uncompressed extents
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:52:39 +0000 (07:52 +0200)] 
Take extent offset in account on uncompressed extents

14 years agoFix filename comparison
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:51:15 +0000 (07:51 +0200)] 
Fix filename comparison

14 years agoAdd dprintfs to report chunk lookups
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:50:22 +0000 (07:50 +0200)] 
Add dprintfs to report chunk lookups

14 years agoRemove stale comment about redundancy
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:49:26 +0000 (07:49 +0200)] 
Remove stale comment about redundancy

14 years ago * util/grub-fstest.c (cmd_cmp): Check that sizes match.
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:41:59 +0000 (07:41 +0200)] 
* util/grub-fstest.c (cmd_cmp): Check that sizes match.

14 years ago * util/grub-fstest.c (read_file): Report GRUB error if file opening
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:40:53 +0000 (07:40 +0200)] 
* util/grub-fstest.c (read_file): Report GRUB error if file opening
failed.

14 years ago * grub-core/kern/file.c (grub_file_open): Don't take into account the
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 05:38:42 +0000 (07:38 +0200)] 
* grub-core/kern/file.c (grub_file_open): Don't take into account the
parenthesis in the middle of the filename.

14 years ago * grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
Vladimir 'phcoder' Serbinenko [Sun, 10 Apr 2011 14:44:11 +0000 (16:44 +0200)] 
* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
rather than trying to put initrd way too high.
Reported by: Ryan Lortie <desrt@desrt.ca>

14 years ago * grub-core/boot/mips/yeeloong/fwstart.S (no_cs5536): Put back
Vladimir 'phcoder' Serbinenko [Sun, 10 Apr 2011 14:12:31 +0000 (16:12 +0200)] 
* grub-core/boot/mips/yeeloong/fwstart.S (no_cs5536): Put back
improperly removed string.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_data): New member
Vladimir 'phcoder' Serbinenko [Sun, 10 Apr 2011 14:08:58 +0000 (16:08 +0200)] 
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_data): New member
is_disk.
(grub_util_biosdisk_open): Don't apply ioctl on non-disk devices.
(open_device) Likewise.
(grub_util_biosdisk_close): Likewise.
Reported by: Mark Korenberger.

14 years ago * util/grub-mkconfig_lib.in: Add missing quotes.
Alexander Kurtz [Sun, 10 Apr 2011 13:30:45 +0000 (15:30 +0200)] 
* util/grub-mkconfig_lib.in: Add missing quotes.

14 years ago * grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate
Colin Watson [Sun, 10 Apr 2011 13:25:52 +0000 (15:25 +0200)] 
* grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate
is NULL.

14 years ago Dynamically count the number of lines for the lower banner.
Vladimir 'phcoder' Serbinenko [Sun, 10 Apr 2011 11:56:23 +0000 (13:56 +0200)] 
Dynamically count the number of lines for the lower banner.

* grub-core/normal/menu_entry.c (per_term_screen): New member
num_entries.
(print_down): Use num_entries.
(update_screen): Likewise.
(grub_menu_entry_run): Set num_entries.
* grub-core/normal/menu_text.c (menu_viewer_data): New member
num_entries.
(grub_print_message_indented): Move real part to ...
(grub_print_message_indented_real): ... here. Additional argument
dry_run.
(draw_border): Additional argument num_entries.
(print_message): Additional argument dry_run.
(print_entries): Receive menu viewer data.
(grub_menu_init_page): New argment num_entries.
(menu_text_set_chosen_entry): Use num_entries.
(grub_menu_try_text): Likewise.
* grub-core/normal/term.c (print_ucs4_terminal): New argument dry_run.
All users updated.
(grub_ucs4_count_lines): New function.
* include/grub/term.h (grub_term_cursor_x): Moved from here ..
* grub-core/normal/menu_text.c (grub_term_cursor_x): ... to here.
* include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): Removed.
(grub_term_border_height): Likewise.
(grub_term_num_entries): Likewise.

14 years ago * grub-core/boot/mips/yeeloong/fwstart.S: Fix address to error message.
Vladimir 'phcoder' Serbinenko [Sun, 10 Apr 2011 09:57:19 +0000 (11:57 +0200)] 
* grub-core/boot/mips/yeeloong/fwstart.S: Fix address to error message.
Remove now unused string.

14 years agoFix RAID1/duplicated chunk size calculation
Vladimir 'phcoder' Serbinenko [Sat, 9 Apr 2011 19:55:50 +0000 (21:55 +0200)] 
Fix RAID1/duplicated chunk size calculation

14 years ago* docs/grub-dev.texi (Finding your way around): Update for 1.99
Colin Watson [Sat, 9 Apr 2011 02:39:47 +0000 (03:39 +0100)] 
* docs/grub-dev.texi (Finding your way around): Update for 1.99
build system.
(Getting started): GRUB is developed in Bazaar now, not Subversion.

(Comment): Fix typo.
(Getting started): General copy-editing.
(Typical Development Experience): Likewise.
(Error Handling): Likewise.
(Video API): Likewise.

14 years ago* docs/grub-dev.texi: Replace MoinMoin syntax with Texinfo syntax
Colin Watson [Sat, 9 Apr 2011 02:10:59 +0000 (03:10 +0100)] 
* docs/grub-dev.texi: Replace MoinMoin syntax with Texinfo syntax
throughout.

14 years ago * util/grub-mkimage.c (main): Handle special naming of yeeloong
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 14:00:23 +0000 (16:00 +0200)] 
* util/grub-mkimage.c (main): Handle special naming of yeeloong
directory.

14 years ago* docs/grub-dev.texi: Fix spelling of "developer" throughout.
Colin Watson [Fri, 8 Apr 2011 13:01:51 +0000 (14:01 +0100)] 
* docs/grub-dev.texi: Fix spelling of "developer" throughout.
* grub-core/fs/i386/pc/pxe.c (parse_dhcp_vendor): Fix spelling of
"development".

14 years ago * grub-core/normal/menu_entry.c (run): Use grub_memcpy rather than
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:37:13 +0000 (14:37 +0200)] 
* grub-core/normal/menu_entry.c (run): Use grub_memcpy rather than
grub_strcpy since the lines aren't necessarily 0-terminated.

14 years ago * grub-core/lib/legacy_parse.c (legacy_commands): Find doesn't set
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:32:41 +0000 (14:32 +0200)] 
* grub-core/lib/legacy_parse.c (legacy_commands): Find doesn't set
root on legacy.

14 years ago * grub-core/commands/probe.c (options): Argument to set isn't optional.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:28:19 +0000 (14:28 +0200)] 
* grub-core/commands/probe.c (options): Argument to set isn't optional.
(GRUB_MOD_INIT): DEVICE isn't optional.

14 years ago * grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:25:44 +0000 (14:25 +0200)] 
* grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
word on new line if it's too long anyway. Fixes a hang.

14 years ago * include/grub/util/raid.h (grub_util_raid_getmembers): Make argument
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:08:55 +0000 (14:08 +0200)] 
* include/grub/util/raid.h (grub_util_raid_getmembers): Make argument
const.
* util/grub-setup.c (main): Reuse md device name if available.
* util/raid.c (grub_util_raid_getmembers): Receive device name and
not GRUB name as argument.
Based on patch by: Florian Wagner <fwagner>.

14 years ago * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:04:24 +0000 (14:04 +0200)] 
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Place mbi on low memory for better compatibility.

14 years ago * include/grub/efiemu/efiemu.h: Use grub_memory_hook_t type.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 12:02:27 +0000 (14:02 +0200)] 
* include/grub/efiemu/efiemu.h: Use grub_memory_hook_t type.

14 years agocorrect Changelog spelling
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 11:59:07 +0000 (13:59 +0200)] 
correct Changelog spelling

14 years ago * autogen.sh: Ensure that collate and ctype locale is C.
Vladimir Serbinenko [Fri, 8 Apr 2011 11:57:56 +0000 (13:57 +0200)] 
* autogen.sh: Ensure that collate and ctype locale is C.
* conf/Makefile.common: Likeiwise.

Also-By: Colin Watson <cjwatson@ubuntu.com>
14 years agorevert last revision. It's ineffective
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 11:18:27 +0000 (13:18 +0200)] 
revert last revision. It's ineffective

14 years ago * grub-core/Makefile.am: Properly escape parenthesis in sed expressions.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:13:44 +0000 (12:13 +0200)] 
* grub-core/Makefile.am: Properly escape parenthesis in sed expressions.
Fixes Estonian locale.
Reported by: Leho Kraav.

14 years ago * grub-core/normal/menu.c: Add missing include.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:12:02 +0000 (12:12 +0200)] 
* grub-core/normal/menu.c: Add missing include.

14 years ago * grub-core/disk/raid.c [GRUB_UTIL]: Add missing include.
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 10:06:55 +0000 (12:06 +0200)] 
* grub-core/disk/raid.c [GRUB_UTIL]: Add missing include.

14 years ago * util/grub-mkconfig.in: Ignore emacsen backup.
Martin Zuther [Fri, 8 Apr 2011 09:53:17 +0000 (11:53 +0200)] 
* util/grub-mkconfig.in: Ignore emacsen backup.

14 years ago * grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 09:49:38 +0000 (11:49 +0200)] 
* grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not
on open.
(grub_util_biosdisk_close): Likewise.

14 years ago * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 8 Apr 2011 09:44:44 +0000 (11:44 +0200)] 
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing
const attribute and use grub_isdigit.

14 years ago* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
Andrey [Wed, 6 Apr 2011 12:21:34 +0000 (14:21 +0200)] 
* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
gcc warning.

14 years ago * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 12:04:52 +0000 (14:04 +0200)] 
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
useful grub_dprintf's.

14 years ago * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 12:01:12 +0000 (14:01 +0200)] 
* include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields.

14 years ago * util/grub.d/00_header.in: Don't use LANG unless unifont is available.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 11:18:11 +0000 (13:18 +0200)] 
* util/grub.d/00_header.in: Don't use LANG unless unifont is available.

14 years ago Output errors if theme loading failed.
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 11:00:18 +0000 (13:00 +0200)] 
Output errors if theme loading failed.

* grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Move the call to
grub_gfxterm_fullscreen on error paths to ...
* grub-core/normal/menu.c (menu_init): ...here. Wait after showing
theme loading error.

14 years ago * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:33:46 +0000 (12:33 +0200)] 
* include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more
space for older compilers.
(GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.

14 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:29:49 +0000 (12:29 +0200)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares
and report them as not RAID members since they are useless for GRUB.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.

14 years agoIgnore docs/stamp-1 and docs/version-dev.texi
Vladimir 'phcoder' Serbinenko [Wed, 6 Apr 2011 10:25:33 +0000 (12:25 +0200)] 
Ignore docs/stamp-1 and docs/version-dev.texi

14 years ago Increase LVM implementation robustness in order not to crash on
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 14:28:14 +0000 (16:28 +0200)] 
Increase LVM implementation robustness in order not to crash on
configurations like pvmove. Previously code assumed that in some places
only lvs or only pvs are used whereas it seems that they are used
interchangeably.

* grub-core/disk/lvm.c (read_node): New function.
(read_lv): Use read_node.
(grub_lvm_scan_device): Use only first mirror on pvmove'd lvs.
Match volumes only at the end when all lvs are found. Take both
pvs (first) and lvs (second) into account.
* include/grub/lvm.h (grub_lvm_segment): Merge fields stripe_* and
mirror_* into node_*. All users updated.
(grub_lvm_stripe): Merge this ...
(grub_lvm_mirror): ... and this ...
(grub_lvm_node): ... into this. All users updated.