Commit Graph

6737 Commits

Author SHA1 Message Date
Jeroen Dekkers
190a011a8b * grub-core/disk/raid.c (insert_array): Don't add spurious members. 2010-12-25 22:32:54 +01:00
Shea Levy
022d01b807 * grub-core/genmod.sh.in: Use @OBJCOPY@ rather than objcopy. 2010-12-25 18:21:46 +01:00
Vladimir 'phcoder' Serbinenko
c4855fdc79 * util/grub.d/30_os-prober.in: Don't emit drivemap directive for
Windows Server 2008.
	Reported by: Devin Giddings.
2010-12-25 18:16:01 +01:00
Vladimir 'phcoder' Serbinenko
0354b8672c * grub-core/commands/acpihalt.c (grub_acpi_halt): Sleep for 1.5 before
writing an error message because of async power management.
	* grub-core/kern/mips/yeeloong/init.c (grub_halt): Likewise.
	(grub_reboot): Likewise.
2010-12-25 14:09:36 +01:00
Jordan Uggla
ab66c69f1a * tests/util/grub-shell.in: Suppress "ACPI shutdown failed" error to
keep unit tests from failing when they shouldn't.
2010-12-23 11:51:18 +00:00
Colin Watson
f433e04f80 releasing version 1.99~20101221-1 2010-12-21 18:57:19 +00:00
Colin Watson
b0df797770 merge from upstream 2010-12-21 17:43:21 +00:00
Colin Watson
1426ef3560 * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): The
previous patch increased the size of the RS code by 20 bytes (at
least with gcc-4.4), so increase this by 20 bytes to match.
(GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise.
2010-12-21 17:41:47 +00:00
Colin Watson
766261726a * New Bazaar snapshot.
- Initialise next pointer when creating multiboot module (closes:
    #605567).
  - Fix gettext quoting to work with bash as /bin/sh, and make echo
    UTF-8-clean so that (at least) Catalan boot messages are displayed
    properly (closes: #605615).
  - Fix use of uninitialised memory in Reed-Solomon recovery code
    (LP: #686705).
2010-12-21 17:06:26 +00:00
Colin Watson
20641b6baa * grub-core/lib/reed_solomon.c (gauss_solve): Fix size of standalone
scratch area.  Make sure to initialise chosen in standalone mode as
well as non-standalone.
Reported by: Robert Hooker and Andy Whitcroft.
Tested by: Andy Whitcroft.
2010-12-21 16:51:08 +00:00
Colin Watson
6b142e5a77 Make echo UTF-8-clean. 2010-12-21 13:54:49 +00:00
Colin Watson
d060ad60ee * grub-core/commands/echo.c (grub_cmd_echo): Make UTF-8-clean by
constructing a new unescaped string and passing it to grub_xputs in
one go, rather than passing characters to grub_printf one at a time.
2010-12-21 13:52:07 +00:00
Colin Watson
e5b0e239b2 Initialise next pointer when creating multiboot module (closes:
#605567).
2010-12-21 13:23:18 +00:00
Colin Watson
d5e0174379 Fix gettext quoting to work with bash as /bin/sh (closes: #605615). 2010-12-21 13:16:45 +00:00
Colin Watson
2c2abf841f add bug reference 2010-12-21 13:13:42 +00:00
Colin Watson
b889cfadf9 * grub-core/fs/udf.c (read_string): Pacify GCC warning by
initialising utf16.
2010-12-21 13:00:10 +00:00
Colin Watson
4e01b6c821 * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying
comment.  Add an extra layer of quotation, requiring the output of
this function to be used in a printf format string.
(gettext_printf): New function.
* util/grub.d/10_hurd.in: Use gettext_printf where appropriate.
Extract translatable strings from here-documents and use a temporary
variable instead, so that xgettext can find them.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

* po/grub.d.sed: New file.
* po/Makefile.in.in ($(DOMAIN).pot-update): Extract gettext_printf
arguments.  Set c-format flags on all strings extracted from
util/grub.d/ (xgettext refuses to include these itself for strings
it extracted from a shell file, but these really are c-format).
2010-12-21 12:49:29 +00:00
Colin Watson
45789c0fa8 * Backport from upstream:
- Support big ext2 files (closes: #543924).
2010-12-21 10:40:50 +00:00
Vladimir 'phcoder' Serbinenko
5318fe9804 * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_add_module):
Avoid next pointing to nowhere.
2010-12-20 16:13:01 +01:00
Colin Watson
854c4976f2 releasing version 1.99~20101210-2 2010-12-19 14:23:00 +00:00
Colin Watson
8a1b7cd969 mention effective changes from 1.98+20100804-11 2010-12-19 13:24:00 +00:00
Vladimir 'phcoder' Serbinenko
6c85b743f5 * grub-core/fs/affs.c (grub_affs_mount): Read data->bblock.rootblock
rather than assuming than rootblock is exactly in the middle.
	(grub_affs_label): Likewise.
2010-12-19 00:52:18 +01:00
Vladimir 'phcoder' Serbinenko
a2a08a35bf * grub-core/fs/affs.c (grub_affs_fs) [GRUB_UTIL]: Explicitly set
reserved_first_sector to 0.
	* grub-core/fs/cpio.c (grub_cpio_fs) [GRUB_UTIL]: Likewise.
	* grub-core/fs/sfs.c (grub_sfs_fs) [GRUB_UTIL]: Likewise.
	* grub-core/fs/xfs.c (grub_xfs_fs) [GRUB_UTIL]: Likewise.
2010-12-19 00:49:52 +01:00
Vladimir 'phcoder' Serbinenko
7059d1ec14 Fix handling of UTF-16 UDF labels.
* grub-core/fs/udf.c (grub_udf_iterate_dir): Move string-parsing part
	(read_string): .. here.
	(grub_udf_label): Use read_string.
2010-12-19 00:43:41 +01:00
Vladimir 'phcoder' Serbinenko
5cf86f4b0f * util/grub-mkfont.c (main): Handle errors from FT_Set_Pixel_Sizes. 2010-12-18 22:47:50 +01:00
BVK Chaitanya
30aff4cb3a * grub-core/normal/menu_entry.c (run): Execute commands from menu
editor under argument scope.
	Reported by: Jordan Uggla
2010-12-19 09:55:51 +05:30
BVK Chaitanya
fcf983f8c7 merge with mainline 2010-12-19 09:17:22 +05:30
Colin Watson
e00ce78c94 * Merge 1.98+20100804-9, 1.98+20100804-10, and 1.98+20100804-11. 2010-12-18 18:20:52 +00:00
Colin Watson
a8f1699156 Automatically remove MD devices from device.map on upgrade, since the
BIOS cannot read from these and including them in device.map will break
GRUB's ability to read from such devices (LP: #690030).
2010-12-18 18:16:26 +00:00
Colin Watson
eebd8cb8c2 releasing version 1.98+20100804-11 2010-12-18 18:09:15 +00:00
Colin Watson
32570200a8 * grub-core/normal/term.c (print_more): Make \r or \n scroll one
line, and other keys scroll an entire page (previous handling was
for \r and \n to scroll a page and other keys to scroll two lines).
2010-12-18 17:37:48 +00:00
Colin Watson
34411e8f23 * Backport from upstream:
- Recognise DDF1 DM-RAID (closes: #603354).
2010-12-18 17:15:51 +00:00
Colin Watson
4c87de833e debconf-updatepo 2010-12-18 17:04:22 +00:00
Colin Watson
cc7df6949e Incorporate rewritten 05_debian_theme by Alexander Kurtz, which works
when /usr is inaccessible by GRUB (closes: #605705).
2010-12-18 13:36:56 +00:00
Vladimir 'phcoder' Serbinenko
e1dffcf270 * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Set ptrdest to correct get_physical_target_address rather than
	incorrect get_virtual_current_address.
2010-12-18 14:31:05 +01:00
kashyap garimella
b04298cfa2 * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use
correct cat to grub_uint8_t * rather than grub_uint32_t *.
2010-12-18 15:22:11 +01:00
Colin Watson
342508183d German (Martin Eberhard Schauer). Closes: #606896 2010-12-17 22:36:54 +00:00
Colin Watson
a837832c13 Unfuzzy some translations that were not updated in this round (thanks,
David Prévot; closes: #606921).
2010-12-13 10:34:29 +00:00
Colin Watson
64e82b0d1d Portuguese (Tiago Fernandes / Miguel Figueiredo). Closes: #606908 2010-12-13 10:23:08 +00:00
Colin Watson
56509d7dbe Spanish (Francisco Javier Cuadrado). Closes: #606903 2010-12-13 10:17:58 +00:00
Colin Watson
ab1e0bee1a Czech (Miroslav Kure). Closes: #606854 2010-12-12 17:21:13 +00:00
Colin Watson
9e477e630c French (Christian Perrier). Closes: #606842 2010-12-12 17:19:54 +00:00
Colin Watson
ec7d2a1e92 Japanese (Hideki Yamane). Closes: #606836 2010-12-12 17:18:15 +00:00
Colin Watson
bcbf9d9807 Dutch (Paul Gevers). Closes: #606807 2010-12-12 17:16:02 +00:00
Colin Watson
0223727acf Russian (Yuri Kozlov). Closes: #606753 2010-12-11 14:45:03 +00:00
Colin Watson
902df9d29f releasing version 1.99~20101210-1 2010-12-11 12:26:57 +00:00
Colin Watson
1f4d5c5737 * 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).
2010-12-11 01:17:25 +00:00
Colin Watson
26807f3ebc Persian (Morteza Fakhraee). Closes: #606672 2010-12-11 00:30:48 +00:00
Colin Watson
7a2d7d6502 Bulgarian (Damyan Ivanov). Closes: #606452 2010-12-10 19:52:15 +00:00
Jordi Mallach
b7ccc7c897 Catalan (Jordi Mallach). 2010-12-10 19:56:24 +01:00