]> git.proxmox.com Git - grub2.git/log
grub2.git
13 years agoreleasing version 1.99~20101210-1
Colin Watson [Sat, 11 Dec 2010 12:26:57 +0000 (12:26 +0000)]
releasing version 1.99~20101210-1

13 years ago* New Bazaar snapshot.
Colin Watson [Sat, 11 Dec 2010 01:17:25 +0000 (01:17 +0000)]
* New Bazaar snapshot.
  - ZFS moved into grub-core.
  - Extend gettext to fall back from ll_CC to ll, and set lang to include
    country part by default so that Chinese works (LP: #686788).

13 years ago* .bzrignore: Ignore grub-core/rs_decoder.S.
Colin Watson [Fri, 10 Dec 2010 12:56:45 +0000 (12:56 +0000)]
* .bzrignore: Ignore grub-core/rs_decoder.S.

13 years ago* grub-core/gettext/gettext.c (grub_gettext_init_ext): Factor out
Colin Watson [Fri, 10 Dec 2010 11:45:08 +0000 (11:45 +0000)]
* grub-core/gettext/gettext.c (grub_gettext_init_ext): Factor out
.mo/.mo.gz opening sequence to ...
(grub_mofile_open_lang): ... here.
(grub_gettext_init_ext): If opening ll_CC fails, try ll.
* util/grub.d/00_header.in (grub_lang): Include country part of
locale.
Reported by: Mario Limonciello.

13 years ago2010-12-09 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 9 Dec 2010 13:09:37 +0000 (14:09 +0100)]
2010-12-09  Robert Millan  <rmh@gnu.org>

* NEWS: Document addition of ZFS support.

13 years agoExit silently from zz-update-grub kernel hook if update-grub does not
Colin Watson [Tue, 7 Dec 2010 09:50:29 +0000 (09:50 +0000)]
Exit silently from zz-update-grub kernel hook if update-grub does not
exist (e.g. if grub-pc has been removed but not purged; closes:
#606184).

13 years ago* grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1'
Colin Watson [Sat, 4 Dec 2010 16:19:26 +0000 (16:19 +0000)]
* grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1'
rather than `/ 2', as the latter requires -Wa,--divide which would
require bumping our minimum binutils version.

13 years agoRemove grub-mknetdir from grub-emu.
Colin Watson [Fri, 3 Dec 2010 15:51:31 +0000 (15:51 +0000)]
Remove grub-mknetdir from grub-emu.

13 years ago * util/grub-script-check.c (main): Print script line number on
BVK Chaitanya [Fri, 3 Dec 2010 03:28:34 +0000 (08:58 +0530)]
* util/grub-script-check.c (main): Print script line number on
error.

13 years agoprint line number on error
BVK Chaitanya [Fri, 3 Dec 2010 03:25:57 +0000 (08:55 +0530)]
print line number on error

13 years agoMerge ZFS.
Robert Millan [Wed, 1 Dec 2010 21:57:49 +0000 (22:57 +0100)]
Merge ZFS.

13 years agoUpdate GPL for ZFS code to version 3, move copyright lines for Vladimir and me to...
Robert Millan [Wed, 1 Dec 2010 21:55:26 +0000 (22:55 +0100)]
Update GPL for ZFS code to version 3, move copyright lines for Vladimir and me to FSF (covered by our assignments)

13 years ago2010-12-01 Robert Millan <rmh@gnu.org>
Robert Millan [Wed, 1 Dec 2010 21:42:11 +0000 (22:42 +0100)]
2010-12-01  Robert Millan  <rmh@gnu.org>

* grub-core/fs/zfs/zfs.c: New file.
* grub-core/fs/zfs/zfs_fletcher.c: Likewise.
* grub-core/fs/zfs/zfs_lzjb.c: Likewise.
* grub-core/fs/zfs/zfs_sha256.c: Likewise.
* grub-core/fs/zfs/zfsinfo.c: Likewise.

* include/grub/zfs/dmu.h: Likewise.
* include/grub/zfs/dmu_objset.h: Likewise.
* include/grub/zfs/dnode.h: Likewise.
* include/grub/zfs/dsl_dataset.h: Likewise.
* include/grub/zfs/dsl_dir.h: Likewise.
* include/grub/zfs/sa_impl.h: Likewise.
* include/grub/zfs/spa.h: Likewise.
* include/grub/zfs/uberblock_impl.h: Likewise.
* include/grub/zfs/vdev_impl.h: Likewise.
* include/grub/zfs/zap_impl.h: Likewise.
* include/grub/zfs/zap_leaf.h: Likewise.
* include/grub/zfs/zfs.h: Likewise.
* include/grub/zfs/zfs_acl.h: Likewise.
* include/grub/zfs/zfs_znode.h: Likewise.
* include/grub/zfs/zil.h: Likewise.
* include/grub/zfs/zio.h: Likewise.
* include/grub/zfs/zio_checksum.h: Likewise.

* Makefile.util.def: Build ZFS into libgrubmods.
* grub-core/Makefile.core.def: Build zfs.mod.

13 years agomerge some more commits from before Savannah compromise (mirrored by Launchpad)
Colin Watson [Wed, 1 Dec 2010 16:19:26 +0000 (16:19 +0000)]
merge some more commits from before Savannah compromise (mirrored by Launchpad)

13 years ago * grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
Szymon Janc [Tue, 30 Nov 2010 20:35:59 +0000 (21:35 +0100)]
* grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
variable.
* grub-core/commands/wildcard.c (match_files): Likewise.

13 years ago2010-11-30 Robert Millan <rmh@gnu.org>
Robert Millan [Tue, 30 Nov 2010 18:33:12 +0000 (19:33 +0100)]
2010-11-30  Robert Millan  <rmh@gnu.org>

* grub-core/loader/i386/bsd.c
(grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module_elf): Check
whether kernel is loaded using grub_loader_is_loaded(), rather
than `kernel_type', which may still be `KERNEL_TYPE_NONE' under
certain error conditions.

13 years agomerge commits from before Savannah compromise
Colin Watson [Tue, 30 Nov 2010 17:01:52 +0000 (17:01 +0000)]
merge commits from before Savannah compromise

13 years agoAdd missing include
Robert Millan [Tue, 30 Nov 2010 15:23:41 +0000 (16:23 +0100)]
Add missing include

13 years ago2010-11-30 Robert Millan <rmh@gnu.org>
Robert Millan [Tue, 30 Nov 2010 14:36:47 +0000 (15:36 +0100)]
2010-11-30  Robert Millan  <rmh@gnu.org>

* grub-core/commands/echo.c (grub_cmd_echo): Call grub_refresh()
after printing a message.

13 years ago Avoid using tricks for initialising endian variables.
Vladimir 'phcoder' Serbinenko [Fri, 26 Nov 2010 21:29:19 +0000 (22:29 +0100)]
Avoid using tricks for initialising endian variables.

* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot):
Make const.
(GRUB_MOD_INIT): Don't byte-swap.
* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Use grub_cpu_to_le16_compile_time and grub_cpu_to_le32_compile_time.
* include/grub/types.h (grub_swap_bytes16_compile_time): New macro.
(grub_swap_bytes32_compile_time): Likewise.
(grub_cpu_to_le32_compile_time): Likewise.
(grub_cpu_to_le16_compile_time): Likewise.

13 years ago * util/grub-setup.c (setup): Stop recommending --force. People who
Vladimir 'phcoder' Serbinenko [Fri, 26 Nov 2010 21:03:16 +0000 (22:03 +0100)]
* util/grub-setup.c (setup): Stop recommending --force. People who
understand the dangers of blocklists are able to find this option
anyway and the ones who don't shouldn't use it anyway.

13 years ago2010-11-26 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 26 Nov 2010 14:35:40 +0000 (15:35 +0100)]
2010-11-26  Robert Millan  <rmh@gnu.org>

* grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN): Beautify.
Update all users.

13 years agoreleasing version 1.99~20101126-1
Colin Watson [Fri, 26 Nov 2010 14:31:24 +0000 (14:31 +0000)]
releasing version 1.99~20101126-1

13 years agoNew Bazaar snapshot (mipsel build fix, LVM-on-RAID probing fix).
Colin Watson [Fri, 26 Nov 2010 12:57:41 +0000 (12:57 +0000)]
New Bazaar snapshot (mipsel build fix, LVM-on-RAID probing fix).

13 years agoFix LVM-on-RAID probing.
Colin Watson [Fri, 26 Nov 2010 12:26:37 +0000 (12:26 +0000)]
Fix LVM-on-RAID probing.

* util/grub-probe.c (probe): Remember which disk was detected as
RAID (perhaps an LVM physical volume).  Use that disk's raidname
rather than that of the top-level disk.

13 years agoFix comma-separation in handling of grub-pc/install_devices.
Colin Watson [Fri, 26 Nov 2010 12:23:24 +0000 (12:23 +0000)]
Fix comma-separation in handling of grub-pc/install_devices.

13 years ago Fix cmdline argument quotes for setparams command of menuentry
BVK Chaitanya [Thu, 25 Nov 2010 14:29:10 +0000 (19:59 +0530)]
Fix cmdline argument quotes for setparams command of menuentry
definitions.

* grub-core/commands/menuentry.c (setparams_prefix): Use single
quotes for arguments.
* grub-core/lib/legacy_parse.c (grub_legacy_escape): Use
grub_strchrsub function instead.

* include/grub/misc.h (grub_strchrsub): New function.

13 years agomerge with mainline
BVK Chaitanya [Thu, 25 Nov 2010 14:24:50 +0000 (19:54 +0530)]
merge with mainline

13 years agovariable ordering
BVK Chaitanya [Thu, 25 Nov 2010 13:37:02 +0000 (19:07 +0530)]
variable ordering

13 years agofix changelog and doc
BVK Chaitanya [Thu, 25 Nov 2010 13:35:16 +0000 (19:05 +0530)]
fix changelog and doc

13 years agoreplaced with grub_strchrsub function
BVK Chaitanya [Thu, 25 Nov 2010 13:26:20 +0000 (18:56 +0530)]
replaced with grub_strchrsub function

13 years agobetter changelog message
BVK Chaitanya [Thu, 25 Nov 2010 12:55:26 +0000 (18:25 +0530)]
better changelog message

13 years ago* util/deviceiter.c (grub_util_iterate_devices): Save a bit of
Colin Watson [Wed, 24 Nov 2010 19:43:32 +0000 (19:43 +0000)]
* util/deviceiter.c (grub_util_iterate_devices): Save a bit of
effort by skipping "." and ".." entries up-front.
Suggested by: Michael Lazarev.

13 years ago* grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
Colin Watson [Wed, 24 Nov 2010 19:32:49 +0000 (19:32 +0000)]
* grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
ldflags to ldadd, to fix link line ordering.
(none_decompress): Likewise.

13 years agoreleasing version 1.99~20101124-1
Colin Watson [Wed, 24 Nov 2010 12:41:24 +0000 (12:41 +0000)]
releasing version 1.99~20101124-1

13 years agoNew Bazaar snapshot (command priorities, build fixes, grub-mkdevicemap
Colin Watson [Wed, 24 Nov 2010 12:09:52 +0000 (12:09 +0000)]
New Bazaar snapshot (command priorities, build fixes, grub-mkdevicemap
segfault).

13 years ago* grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
Colin Watson [Wed, 24 Nov 2010 12:07:14 +0000 (12:07 +0000)]
* grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
platforms.
(grub-emu-lite): Remove kern/emu/cache.S.

13 years ago* util/deviceiter.c (compare_devices): If the by-id link for a
Colin Watson [Tue, 23 Nov 2010 17:42:06 +0000 (17:42 +0000)]
* util/deviceiter.c (compare_devices): If the by-id link for a
device couldn't be resolved, fall back to sorting by the by-id link
rather than segfaulting.
Reported and tested by: Daniel Mierswa.

13 years ago* Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not
Colin Watson [Tue, 23 Nov 2010 15:56:18 +0000 (15:56 +0000)]
* Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not
ldflags, to fix link line ordering.

13 years agoDon't try to build grub-efi-amd64 on kfreebsd-i386 or hurd-i386
Colin Watson [Tue, 23 Nov 2010 14:15:45 +0000 (14:15 +0000)]
Don't try to build grub-efi-amd64 on kfreebsd-i386 or hurd-i386
(requires gcc-4.4-multilib).

13 years ago* grub-core/Makefile.am (gentrigtables): Put -lm after $<; some
Colin Watson [Tue, 23 Nov 2010 13:00:05 +0000 (13:00 +0000)]
* grub-core/Makefile.am (gentrigtables): Put -lm after $<; some
linkers are picky about this.

13 years ago* grub-core/Makefile.am (command.lst): Adjust sed expression
Colin Watson [Tue, 23 Nov 2010 12:52:40 +0000 (12:52 +0000)]
* grub-core/Makefile.am (command.lst): Adjust sed expression
ordering so that extended and priority commands aren't treated as
ordinary commands.

13 years agoreleasing version 1.99~20101123-1
Colin Watson [Tue, 23 Nov 2010 11:36:31 +0000 (11:36 +0000)]
releasing version 1.99~20101123-1

13 years agoNew Bazaar snapshot (build fixes).
Colin Watson [Tue, 23 Nov 2010 10:50:27 +0000 (10:50 +0000)]
New Bazaar snapshot (build fixes).

13 years ago* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Colin Watson [Tue, 23 Nov 2010 10:48:46 +0000 (10:48 +0000)]
* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Remove byte-swapping function calls, which are not valid in
structure initialisers.
* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot): Make
non-const.
(GRUB_MOD_INIT): Byte-swap data1, data2, and data3 fields of
grub_gpt_partition_type_bios_boot.

13 years agoRe-expand a couple of dpkg architecture wildcards to exclude certain
Colin Watson [Tue, 23 Nov 2010 10:32:29 +0000 (10:32 +0000)]
Re-expand a couple of dpkg architecture wildcards to exclude certain
special cases: gcc-4.4-multilib is not available on kfreebsd-i386 or
hurd-i386, and qemu-system is not available on hurd-i386.

13 years agoslightly more accurate changelog (qemu-utils, not qemu-img)
Colin Watson [Tue, 23 Nov 2010 10:27:07 +0000 (10:27 +0000)]
slightly more accurate changelog (qemu-utils, not qemu-img)

13 years agoUpgrade the installed core image when upgrading grub-efi-ia32 or
Colin Watson [Tue, 23 Nov 2010 10:10:56 +0000 (10:10 +0000)]
Upgrade the installed core image when upgrading grub-efi-ia32 or
grub-efi-amd64, although only if /boot/efi/EFI/<id> (where <id> is an
identifier based on GRUB_DISTRIBUTOR, e.g. 'debian') already exists.

13 years agoMake grub-efi-ia32 and grub-efi-amd64 depend on efibootmgr so that
Colin Watson [Mon, 22 Nov 2010 23:19:32 +0000 (23:19 +0000)]
Make grub-efi-ia32 and grub-efi-amd64 depend on efibootmgr so that
grub-install works properly.

13 years agoFix test program build on GNU/kFreeBSD.
Colin Watson [Mon, 22 Nov 2010 18:22:50 +0000 (18:22 +0000)]
Fix test program build on GNU/kFreeBSD.

* Makefile.util.def (example_unit_test): Add `$(LIBZFS)
$(LIBNVPAIR)' library dependencies.

13 years agousual e-mail address
Colin Watson [Mon, 22 Nov 2010 18:22:00 +0000 (18:22 +0000)]
usual e-mail address

13 years agoqemu_img_exists.patch: Skip partmap test if qemu-img doesn't exist (as
Colin Watson [Mon, 22 Nov 2010 15:48:13 +0000 (15:48 +0000)]
qemu_img_exists.patch: Skip partmap test if qemu-img doesn't exist (as
is the case on the Hurd).

13 years agoBuild-depend on qemu-img and parted on non-Hurd architectures.
Colin Watson [Mon, 22 Nov 2010 15:45:02 +0000 (15:45 +0000)]
Build-depend on qemu-img and parted on non-Hurd architectures.

13 years ago* util/grub-install.in: Fix parsing of --grub-mkrelpath= option.
Colin Watson [Mon, 22 Nov 2010 13:57:16 +0000 (13:57 +0000)]
* util/grub-install.in: Fix parsing of --grub-mkrelpath= option.

13 years agoreleasing version 1.99~20101122-1
Colin Watson [Mon, 22 Nov 2010 13:26:03 +0000 (13:26 +0000)]
releasing version 1.99~20101122-1

13 years agomerge from upstream
Colin Watson [Mon, 22 Nov 2010 12:24:28 +0000 (12:24 +0000)]
merge from upstream

13 years ago* util/grub-install.in: Remove excessive quoting that broke
Colin Watson [Mon, 22 Nov 2010 12:20:57 +0000 (12:20 +0000)]
* util/grub-install.in: Remove excessive quoting that broke
installations to RAID devices.

13 years agomerge from squeeze branch
Colin Watson [Mon, 22 Nov 2010 10:16:53 +0000 (10:16 +0000)]
merge from squeeze branch

13 years agoDzongkha (dawa pemo via Tenzin Dendup). Closes: #604102
Colin Watson [Mon, 22 Nov 2010 10:12:50 +0000 (10:12 +0000)]
Dzongkha (dawa pemo via Tenzin Dendup).  Closes: #604102

13 years agoSlovenian (Vanja Cvelbar). Closes: #604003
Colin Watson [Mon, 22 Nov 2010 10:10:42 +0000 (10:10 +0000)]
Slovenian (Vanja Cvelbar).  Closes: #604003

13 years agomerge from upstream
Colin Watson [Mon, 22 Nov 2010 10:02:03 +0000 (10:02 +0000)]
merge from upstream

13 years agoonly ship grub-mknetdir in platform packages, not grub-common
Colin Watson [Mon, 22 Nov 2010 09:57:59 +0000 (09:57 +0000)]
only ship grub-mknetdir in platform packages, not grub-common

13 years agoUpdate Catalan translation with latest file from the Translation Project.
Jordi Mallach [Sun, 21 Nov 2010 16:57:40 +0000 (17:57 +0100)]
Update Catalan translation with latest file from the Translation Project.

13 years agodummy commit
Robert Millan [Sun, 21 Nov 2010 13:19:01 +0000 (14:19 +0100)]
dummy commit

13 years ago * grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:58:06 +0000 (22:58 +0100)]
* grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
bootloader version instead of 0.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:52:27 +0000 (22:52 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
warning.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:48:26 +0000 (22:48 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
retrieve the metadat sector if size isn't known.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.

13 years agogrub-fstest lives in /usr/bin, not /usr/sbin
Colin Watson [Fri, 19 Nov 2010 18:13:22 +0000 (18:13 +0000)]
grub-fstest lives in /usr/bin, not /usr/sbin

13 years agoonly ship grub-fstest in grub-common
Colin Watson [Fri, 19 Nov 2010 16:12:25 +0000 (16:12 +0000)]
only ship grub-fstest in grub-common

13 years agobump version
Colin Watson [Fri, 19 Nov 2010 15:38:00 +0000 (15:38 +0000)]
bump version

13 years agomerge from upstream
Colin Watson [Fri, 19 Nov 2010 15:37:19 +0000 (15:37 +0000)]
merge from upstream

13 years agoreuse code from legacy parser
BVK Chaitanya [Fri, 19 Nov 2010 13:38:44 +0000 (19:08 +0530)]
reuse code from legacy parser

13 years agomerge from squeeze branch
Colin Watson [Fri, 19 Nov 2010 11:40:45 +0000 (11:40 +0000)]
merge from squeeze branch

13 years agoSlovenian (Vanja Cvelbar). Closes: #604003
Colin Watson [Fri, 19 Nov 2010 11:38:43 +0000 (11:38 +0000)]
Slovenian (Vanja Cvelbar).  Closes: #604003

13 years agoadd changelog entry
BVK Chaitanya [Fri, 19 Nov 2010 04:47:16 +0000 (10:17 +0530)]
add changelog entry

13 years agouse single quotes in menuentry setparams command
BVK Chaitanya [Fri, 19 Nov 2010 04:45:25 +0000 (10:15 +0530)]
use single quotes in menuentry setparams command

13 years ago2010-11-18 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 18 Nov 2010 15:52:27 +0000 (16:52 +0100)]
2010-11-18  Robert Millan  <rmh@gnu.org>

* grub-core/fs/btrfs.c (grub_btrfs_mount): Replace grub_strncmp()
with grub_memcmp().

13 years ago * grub-core/normal/menu_entry.c (print_up): Fix displacement of up
Vladimir 'phcoder' Serbinenko [Thu, 18 Nov 2010 01:08:01 +0000 (02:08 +0100)]
* grub-core/normal/menu_entry.c (print_up): Fix displacement of up
arrow.
Reported by: Jordan Uggla.

13 years agoUse dpkg architecture wildcards.
Robert Millan [Wed, 17 Nov 2010 17:44:25 +0000 (18:44 +0100)]
Use dpkg architecture wildcards.

13 years agomerge from upstream
Colin Watson [Wed, 17 Nov 2010 17:08:54 +0000 (17:08 +0000)]
merge from upstream

13 years agodrop description of backported changes that are in the new snapshot
Colin Watson [Wed, 17 Nov 2010 16:51:14 +0000 (16:51 +0000)]
drop description of backported changes that are in the new snapshot

13 years agooverride binary-from-other-architecture *efiemu64.o for more platforms
Colin Watson [Wed, 17 Nov 2010 16:42:51 +0000 (16:42 +0000)]
override binary-from-other-architecture *efiemu64.o for more platforms

13 years agounexport CFLAGS, and set HOST_CFLAGS instead; dpkg's defaults for CFLAGS break our...
Colin Watson [Wed, 17 Nov 2010 16:42:11 +0000 (16:42 +0000)]
unexport CFLAGS, and set HOST_CFLAGS instead; dpkg's defaults for CFLAGS break our build

13 years agobuild-grub-firmware-qemu: *.mod files are in grub-core now
Colin Watson [Wed, 17 Nov 2010 16:41:27 +0000 (16:41 +0000)]
build-grub-firmware-qemu: *.mod files are in grub-core now

13 years ago Make better UTF compliant.
Vladimir 'phcoder' Serbinenko [Wed, 17 Nov 2010 15:13:16 +0000 (16:13 +0100)]
Make better UTF compliant.

* grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte
sequences as incorrect.
(grub_is_valid_utf8): Likewise.
(grub_utf8_to_ucs4): Likewise.
(grub_ucs4_to_utf8): Handle codepoints outside of BMP.
(grub_ucs4_to_utf8_alloc): Likewise.
* include/grub/charset.h (grub_utf16_to_utf8): Likewise.

13 years ago Make legacy_source behave like source.
Vladimir 'phcoder' Serbinenko [Wed, 17 Nov 2010 07:41:18 +0000 (08:41 +0100)]
Make legacy_source behave like source.

* grub-core/commands/legacycfg.c (legacy_file): Don't call
grub_show_menu.
(grub_cmd_legacy_source): Call grub_show_menu if needed.

13 years agomerge from upstream
Colin Watson [Tue, 16 Nov 2010 16:10:32 +0000 (16:10 +0000)]
merge from upstream

13 years agoremove contrib and grub-core/contrib on clean
Colin Watson [Tue, 16 Nov 2010 16:10:04 +0000 (16:10 +0000)]
remove contrib and grub-core/contrib on clean

13 years agoupdate AUTOGEN_FILES for new build system
Colin Watson [Tue, 16 Nov 2010 16:09:44 +0000 (16:09 +0000)]
update AUTOGEN_FILES for new build system

13 years ago* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
Colin Watson [Tue, 16 Nov 2010 15:54:18 +0000 (15:54 +0000)]
* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
(-Wunused implies -Wunused-parameter, but not vice versa).

13 years ago* configure.ac: Make error messages less confusing by testing for
Colin Watson [Tue, 16 Nov 2010 15:50:20 +0000 (15:50 +0000)]
* configure.ac: Make error messages less confusing by testing for
-Wtrampolines rather than -Wno-trampolines (since -Wno-* is always
accepted, but produces a diagnostic if something else is wrong).

13 years ago* New Bazaar snapshot. Too many changes to list in full, but some of the
Colin Watson [Tue, 16 Nov 2010 14:05:00 +0000 (14:05 +0000)]
* New Bazaar snapshot.  Too many changes to list in full, but some of the
  more user-visible ones are as follows:
  - GRUB script:
    + Function parameters, "break", "continue", "shift", "setparams",
      "return", and "!".
    + "export" command supports multiple variable names.
    + Multi-line quoted strings support.
    + Wildcard expansion.
  - sendkey support.
  - USB hotunplugging and USB serial support.
  - Rename CD-ROM to cd on BIOS.
  - Add new --boot-directory option to grub-install, grub-reboot, and
    grub-set-default; the old --root-directory option is still accepted
    but was often confusing.
  - Basic btrfs detection/UUID support (but no file reading yet).
  - bash-completion for utilities.
  - If a device is listed in device.map, always assume that it is
    BIOS-visible rather than using extra layers such as LVM or RAID.
  - Add grub-mknetdir script (closes: #550658).
  - Remove deprecated "root" command.
  - Handle RAID devices containing virtio components.
  - GRUB Legacy configuration file support (via grub-menulst2cfg).
  - Keyboard layout support (via grub-mklayout and grub-kbdcomp).
  - Check generated grub.cfg for syntax errors before saving.
  - Pause execution for at most ten seconds if any errors are displayed,
    so that the user has a chance to see them.
  - Support submenus.
  - Write embedding zone using Reed-Solomon, so that it's robust against
    being partially overwritten (closes: #550702, #591416, #593347).
  - GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY merged
    into a single GRUB_DISABLE_RECOVERY variable.
  - Fix loader memory allocation failure (closes: #551627).
  - Don't call savedefault on recovery entries (closes: #589325).
  - Support triple-indirect blocks on ext2 (closes: #543924).
  - Recognise DDF1 fake RAID (closes: #603354).

13 years ago * grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 09:01:11 +0000 (10:01 +0100)]
* grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out
(now unused).
(grub_keyboard_controller_init)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to
read the initial state since controller isn't inited yet.

13 years ago * grub-core/lib/relocator.c (malloc_in_range): Take into account that
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 08:50:58 +0000 (09:50 +0100)]
* grub-core/lib/relocator.c (malloc_in_range): Take into account that
allocate_regbeg may need to create new chunk header.

13 years ago Fix quoting in legacy parser.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 23:33:28 +0000 (00:33 +0100)]
Fix quoting in legacy parser.

* grub-core/lib/legacy_parse.c (grub_legacy_escape): Correctly handle
single quotes.
(grub_legacy_parse): Likewise.
Reported by: Jordan Uggla.
Tested by: Jordan Uggla.

13 years ago Don't add -lgcc on i386 and x86_64.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 22:36:20 +0000 (23:36 +0100)]
Don't add -lgcc on i386 and x86_64.

* configure.ac (LIBS): Don't add -lgcc on i386 and x86_64.
* conf/Makefile.common (LDADD_KERNEL): Likewise.
* grub-core/Makefile.core.def (kernel): Use LDADD_KERNEL.

13 years ago * configure.ac: Add -Wno-trampolines when supported.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 16:13:44 +0000 (17:13 +0100)]
* configure.ac: Add -Wno-trampolines when supported.

13 years ago * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
Modestas Vainius [Sun, 14 Nov 2010 16:09:13 +0000 (17:09 +0100)]
* grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
fakeraid.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 16:03:49 +0000 (17:03 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:58:50 +0000 (16:58 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.