]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years agomerge 4096 into luks
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 12:53:13 +0000 (14:53 +0200)] 
merge 4096 into luks

15 years agoFix a cache retrieving bug
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 12:52:00 +0000 (14:52 +0200)] 
Fix a cache retrieving bug

15 years agomerge 4096 into luks
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 01:12:06 +0000 (03:12 +0200)] 
merge 4096 into luks

15 years agoDon't set was_readable for new array
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:39:21 +0000 (02:39 +0200)] 
Don't set was_readable for new array

15 years agoadd few necessarry const qualifiers for pointers
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:38:42 +0000 (02:38 +0200)] 
add few necessarry const qualifiers for pointers

15 years agoAdd IDs for more ciphers
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:37:23 +0000 (02:37 +0200)] 
Add IDs for more ciphers

15 years agoaccept version 2 geli
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:36:50 +0000 (02:36 +0200)] 
accept version 2 geli

15 years agosupport niter == 0
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:36:04 +0000 (02:36 +0200)] 
support niter == 0

15 years agozero-fill hash context for safety
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:34:32 +0000 (02:34 +0200)] 
zero-fill hash context for safety

15 years agogeli support
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 22:00:29 +0000 (00:00 +0200)] 
geli support

15 years agofactor cryptodisk part out
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 16:00:42 +0000 (18:00 +0200)] 
factor cryptodisk part out

15 years agosmall readability improvement
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:45:00 +0000 (16:45 +0200)] 
small readability improvement

15 years agosmall readability improvement
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:43:55 +0000 (16:43 +0200)] 
small readability improvement

15 years agooptimize LRW
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:41:43 +0000 (16:41 +0200)] 
optimize LRW

15 years agofactor luks_set_key out
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 10:40:43 +0000 (12:40 +0200)] 
factor luks_set_key out

15 years agoLRW support
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 02:51:53 +0000 (04:51 +0200)] 
LRW support

15 years agoFix benbi
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 01:18:07 +0000 (03:18 +0200)] 
Fix benbi

15 years agopcbc support
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 00:27:45 +0000 (02:27 +0200)] 
pcbc support

15 years agoBetter IV modes support
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 00:04:40 +0000 (02:04 +0200)] 
Better IV modes support

15 years agofix bug caused by import_gcry modifications
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 00:01:39 +0000 (02:01 +0200)] 
fix bug caused by import_gcry modifications

15 years agosupport LUKS in shell libraries
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 22:13:56 +0000 (00:13 +0200)] 
support LUKS in shell libraries

15 years agoNew -t luks_uuid
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 21:51:16 +0000 (23:51 +0200)] 
New -t luks_uuid

15 years agoluks grub-probe support
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 21:39:36 +0000 (23:39 +0200)] 
luks grub-probe support

15 years agoXTS support
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 19:48:32 +0000 (21:48 +0200)] 
XTS support

15 years agomake grub_password_get work in userland
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 19:46:00 +0000 (21:46 +0200)] 
make grub_password_get work in userland

15 years agosmall argument revamp
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 17:51:06 +0000 (19:51 +0200)] 
small argument revamp

15 years agogrub-fstest luks support
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 17:44:41 +0000 (19:44 +0200)] 
grub-fstest luks support

15 years agoAdd cheatmounting
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 17:20:46 +0000 (19:20 +0200)] 
Add cheatmounting

15 years agoadd gcry to utils
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 17:04:21 +0000 (19:04 +0200)] 
add gcry to utils

15 years agorestructure prior to adding cheatmounts
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 14:32:27 +0000 (16:32 +0200)] 
restructure prior to adding cheatmounts

15 years agomerge lazy into luks
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 13:13:12 +0000 (15:13 +0200)] 
merge lazy into luks

15 years agoFix LVM listing
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 12:58:12 +0000 (14:58 +0200)] 
Fix LVM listing

15 years agoautomatic raid members addition
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 11:55:30 +0000 (13:55 +0200)] 
automatic raid members addition

15 years agoAdd lost lvm/ prefix. Autoadd lvm subdevices.
Vladimir 'phcoder' Serbinenko [Fri, 22 Apr 2011 00:46:36 +0000 (02:46 +0200)] 
Add lost lvm/ prefix. Autoadd lvm subdevices.

15 years agomerge devmapper into lazy
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 23:21:26 +0000 (01:21 +0200)] 
merge devmapper into lazy

15 years agomore linux-like name for LVM volumes
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 23:10:24 +0000 (01:10 +0200)] 
more linux-like name for LVM volumes

15 years agoLazy LVM and RAID assembly
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 22:09:07 +0000 (00:09 +0200)] 
Lazy LVM and RAID assembly

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

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

15 years agoSupport grub-probe -t drive
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 10:39:31 +0000 (12:39 +0200)] 
Support grub-probe -t drive

15 years agoFix couple of UUID problems
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 10:39:14 +0000 (12:39 +0200)] 
Fix couple of UUID problems

15 years agomerge trunk
Colin Watson [Thu, 21 Apr 2011 10:07:10 +0000 (11:07 +0100)] 
merge trunk

15 years agomerge devmapper into luks
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 09:59:51 +0000 (11:59 +0200)] 
merge devmapper into luks

15 years agoSupport luksuuid specification
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 09:58:06 +0000 (11:58 +0200)] 
Support luksuuid specification

15 years agoDon't mount the same LUKS volume twice
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 09:38:51 +0000 (11:38 +0200)] 
Don't mount the same LUKS volume twice

15 years agogrub-core/fs/squash4.c: Add missing GRUB_MOD_LICENSE.
Colin Watson [Thu, 21 Apr 2011 09:37:45 +0000 (10:37 +0100)] 
grub-core/fs/squash4.c: Add missing GRUB_MOD_LICENSE.

15 years agomerge trunk
Colin Watson [Thu, 21 Apr 2011 09:36:09 +0000 (10:36 +0100)] 
merge trunk

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

15 years agosmall cleanup
Vladimir 'phcoder' Serbinenko [Thu, 21 Apr 2011 09:17:01 +0000 (11:17 +0200)] 
small cleanup

15 years agoLUKS support based on work of Michael Gorven with some code from Clemens Fruhwirth...
Michael Gorven [Thu, 21 Apr 2011 09:14:29 +0000 (11:14 +0200)] 
LUKS support based on work of Michael Gorven with some code from Clemens Fruhwirth and heavily cleaned up by me (phcoder)
Also-By: Clemens Fruhwirth <clemens@endorphin.org>
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
15 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agocontiguous read
Vladimir 'phcoder' Serbinenko [Fri, 15 Apr 2011 19:42:29 +0000 (21:42 +0200)] 
contiguous read

15 years agoUse Block IO on EFI
Vladimir 'phcoder' Serbinenko [Fri, 15 Apr 2011 16:15:06 +0000 (18:15 +0200)] 
Use Block IO on EFI

15 years agoTell FUSE to run single-threaded, since GRUB code is not thread-safe.
Colin Watson [Thu, 14 Apr 2011 19:27:27 +0000 (20:27 +0100)] 
Tell FUSE to run single-threaded, since GRUB code is not thread-safe.
Fixes Ubuntu bug #756297.

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

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

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

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

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

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

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

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

15 years agoTransform exfat printfs into dprintfs
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 18:38:08 +0000 (20:38 +0200)] 
Transform exfat printfs into dprintfs

15 years agoexfat reader
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 16:13:00 +0000 (18:13 +0200)] 
exfat reader

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

15 years agoAdd minix3 to util filesystems
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 12:09:02 +0000 (14:09 +0200)] 
Add minix3 to util filesystems

15 years agounify minix3 and minix2 inode declarations
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 06:56:42 +0000 (08:56 +0200)] 
unify minix3 and minix2 inode declarations

15 years agoFix an error in minix inode declaration
Vladimir 'phcoder' Serbinenko [Mon, 11 Apr 2011 06:53:28 +0000 (08:53 +0200)] 
Fix an error in minix inode declaration

15 years agominix3fs support
Feiran Zheng [Mon, 11 Apr 2011 06:16:13 +0000 (08:16 +0200)] 
minix3fs support

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

15 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

15 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

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

15 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

15 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

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

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

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

15 years agoadd grub-mount to .bzrignore
Colin Watson [Sun, 10 Apr 2011 21:12:23 +0000 (22:12 +0100)] 
add grub-mount to .bzrignore

15 years agoMake grub-mount exit non-zero if opening the device or filesystem fails.
Colin Watson [Sun, 10 Apr 2011 20:41:55 +0000 (21:41 +0100)] 
Make grub-mount exit non-zero if opening the device or filesystem fails.

Translate GRUB error codes into OS error codes for FUSE.

15 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>

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

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

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

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

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