Vladimir 'phcoder' Serbinenko
996649b073
2010-02-03 Vladimir Serbinenko <phcoder@gmail.com>
...
* disk/i386/pc/biosdisk.c (grub_biosdisk_read): Handle non-2048 aligned
CDROM reads.
(grub_biosdisk_write): Refuse to write to CDROM.
2010-02-03 00:43:55 +01:00
Vladimir 'phcoder' Serbinenko
3b205d4ddf
2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
...
* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.
2010-01-31 11:11:03 +01:00
Vladimir 'phcoder' Serbinenko
69efaa32d2
Merge mainline into ofwfb
2010-01-31 01:59:35 +01:00
Vladimir 'phcoder' Serbinenko
fbab7b0794
Framebuffer on PowerPC-based macs
2010-01-31 01:57:17 +01:00
Vladimir 'phcoder' Serbinenko
61e89d9db6
2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
...
* font/font.c (find_glyph): Check that bmp_idx is available before
using it.
(grub_font_get_string_width): Never call grub_font_get_glyph_internal
with (font == NULL).
2010-01-31 01:26:11 +01:00
Christian Schmitt
bf7fcba2d7
2010-01-28 Christian Schmitt <chris@ilovelinux.de>
...
* util/ieee1275/grub-install.in: Fix nvsetenv arguments.
2010-01-28 23:10:37 +01:00
BVK Chaitanya
1136ac2632
fix for grub-script-check to handle empty lines
2010-01-28 22:31:06 +05:30
BVK Chaitanya
366e15ba86
sync with trunk
2010-01-28 21:48:15 +05:30
BVK Chaitanya
f45d2663b0
add changelog
2010-01-28 21:46:59 +05:30
BVK Chaitanya
275d6f6bd4
fix grub-script-check
2010-01-28 21:43:28 +05:30
Robert Millan
ec1444e6df
2010-01-28 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (check): Exit with fail status when one of the tests
fails.
* tests/example_functional_test.c (example_test): Fix reversed assert.
* tests/example_unit_test.c (example_test): Likewise.
2010-01-28 15:27:41 +00:00
Colin Watson
2e1cb9bbbf
2010-01-28 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/10_linux.in: This script does not use any of the
contents of gettext.sh, only the external command `gettext', so stop
sourcing it. (Moreover, gettext.sh isn't necessarily installed in
the same prefix as GRUB.)
* util/grub.d/10_kfreebsd.in: Likewise.
2010-01-28 12:49:40 +00:00
Vladimir 'phcoder' Serbinenko
63533ab093
2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
...
* normal/cmdline.c (grub_cmdline_get): Fix completion in the middle
of the line.
2010-01-27 17:47:36 +01:00
Vladimir 'phcoder' Serbinenko
989e1f934b
2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
...
* kern/disk.c (grub_disk_read): Fix offset computation when reading
last sectors.
2010-01-27 17:30:03 +01:00
Vladimir 'phcoder' Serbinenko
e709ebe2ef
2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
...
* commands/hashsum.c (hash_file): Avoid possible stack overflow by
having a 4KiB and not 32KiB buffer size.
2010-01-27 16:29:21 +01:00
Robert Millan
27dea7eda4
2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
...
* util/hostfs.c: Include `<errno.h>'.
(grub_hostfs_read): Handle errors from fseeko() and fread().
2010-01-27 03:18:14 +00:00
Robert Millan
67667b9ced
2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
...
* kern/disk.c (grub_disk_read): Fix bug that would cause infinite
loop when using read hooks on files whose size isn't sector-aligned.
2010-01-27 03:15:03 +00:00
Robert Millan
c294d9d812
2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
...
Remove unused parameter.
* fs/iso9660.c (struct grub_iso9660_data): Remove `length' parameter.
(grub_iso9660_open): Remove initialization of `data->length'.
2010-01-27 03:11:20 +00:00
Robert Millan
af75a9f19a
2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
...
* util/grub-fstest.c (fstest): Rewrite allocation, fixing a few
memleak conditions.
2010-01-27 01:49:11 +00:00
carles
254e2ce596
2010-01-27 Carles Pina i Estany <carles@pina.cat>
...
* util/lvm.c: New macro LVM_DEV_MAPPER_STRING.
(grub_util_lvm_isvolume): Use LVM_DEV_MAPPER_STRING.
2010-01-27 00:19:46 +00:00
carles
aa2f9dd26d
Correct ChangeLog entry date.
2010-01-26 23:07:37 +00:00
carles
b510928c38
2010-01-26 Carles Pina i Estany <carles@pina.cat>
...
* util/bin2h.c (usage): Fix warning (space after backslash).
2010-01-26 21:23:59 +00:00
carles
de0b7a4ed1
2010-01-25 Carles Pina i Estany <carles@pina.cat>
...
* font/font.c: Include `grub/fontformat.h.
Remove font file format constants.
(grub_font_load): Use the new macros.
* include/grub/fontformat.h: New file.
* util/grub-mkfont.c: Include `grub/fontformat.c'.
(write_font_pf2): Use the new macros.
2010-01-26 20:16:08 +00:00
Robert Millan
94e7e71281
2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
...
* util/bin2h.c (usage): Make --help actually explain what `grub-bin2h'
does.
2010-01-26 18:12:49 +00:00
Robert Millan
3973a59a34
2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_PXE_DL): New macro.
* boot/i386/pc/pxeboot.S: Include `<grub/machine/boot.h>'.
(_start): Macroify `0x7F'.
* kern/i386/pc/init.c: Include `<grub/machine/boot.h>'.
(make_install_device): Use "(pxe)" as fallback prefix when booting
via PXE.
2010-01-26 16:39:37 +00:00
Robert Millan
59cad637ae
Update my email address
2010-01-26 16:45:16 +01:00
Grégoire Sutre
42e0cba3af
Reset LIBS after check for libgcc symbols in configure.ac.
2010-01-26 01:57:56 +01:00
Colin Watson
847effd8bf
2010-01-25 Colin Watson <cjwatson@ubuntu.com>
...
* util/hostdisk.c (open_device): Add trailing newline to debug
message.
2010-01-25 17:04:22 +00:00
BVK Chaitanya
37effddaf3
make parenthesis as valid word characters
2010-01-25 22:01:14 +05:30
Grégoire Sutre
ea4a7e35eb
2010-01-25 Grégoire Sutre <gregoire.sutre@gmail.com>
...
* configure.ac: Check for `limits.h'.
* util/misc.c: Include `<limits.h>' (for PATH_MAX).
2010-01-25 10:06:55 +01:00
Robert Millan
67951a534f
2010-01-24 Robert Millan <rmh.grub@aybabtu.com>
...
* loader/mips/linux.c (grub_cmd_linux, grub_cmd_initrd): Don't
capitalize error strings.
2010-01-24 21:04:29 +00:00
Samuel Thibault
c273d4cea9
2010-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* util/grub.d/10_hurd.in: Add a recovery mode.
2010-01-24 14:30:10 +01:00
Vladimir 'phcoder' Serbinenko
69be5b74be
2010-01-23 Vladimir Serbinenko <phcoder@gmail.com>
...
* configure.ac: Check for libgcc symbols with -nostdlib.
2010-01-23 22:56:08 +01:00
Vladimir 'phcoder' Serbinenko
6c624ae848
MErge mainline into lexer-rewrite
2010-01-23 19:37:13 +01:00
BVK Chaitanya
fc9e58104a
fix underquoted AC_DEFUN parameters
2010-01-23 22:38:10 +05:30
BVK Chaitanya
f4c499f86f
replaced magic numbers with macros
2010-01-23 19:46:28 +05:30
BVK Chaitanya
4e6a305be4
for loop support to grub script
2010-01-23 11:03:41 +05:30
BVK Chaitanya
f7867a01d3
pulled in lexer-rewrite branch
2010-01-23 10:45:38 +05:30
BVK Chaitanya
1368740e69
one more bug fix in grub_script_execute_arglist_to_argv
2010-01-23 10:28:52 +05:30
BVK Chaitanya
d63cdb6e70
removed error-verbose to reduce resulting sh.mod size
2010-01-23 10:16:05 +05:30
BVK Chaitanya
1a0c3b4809
some bug fixes
2010-01-23 10:14:32 +05:30
BVK Chaitanya
836727564e
replace grub_printf with grub_dprintf
2010-01-23 09:18:13 +05:30
BVK Chaitanya
1fb08ed515
return arg count from grub_script_execute_arglist_to_argv
2010-01-23 09:12:46 +05:30
BVK Chaitanya
345dd552ad
replace ROUND_UPTO with ALIGN_UP
2010-01-23 08:57:26 +05:30
Vladimir 'phcoder' Serbinenko
4b358c0a56
2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_setcolorstate): Allocate on
stack since heap may be unavailable at that point.
(grub_ofconsole_gotoxy): Likewise.
2010-01-22 20:42:02 +01:00
Vladimir 'phcoder' Serbinenko
454fcd1c9b
2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>
...
* configure.ac: Check for _restgpr_14_x.
* include/grub/powerpc/libgcc.h [HAVE__RESTGPR_14_X]: Add _restgpr_*_x
and _savegpr_* prototypes.
2010-01-22 20:40:21 +01:00
BVK Chaitanya
bae09d0d47
remove arbitrary limit on menuentry recording
2010-01-23 00:42:55 +05:30
BVK Chaitanya
df6dc2113a
removed arbitrary limit on token size
2010-01-23 00:14:00 +05:30
Robert Millan
566863ca19
2010-01-22 Robert Millan <rmh.grub@aybabtu.com>
...
Use generic grub_reboot() for i386-efi.
* kern/efi/efi.c [__i386__] (grub_reboot): Remove.
* kern/i386/efi/startup.S: Include `"../realmode.S"'.
* kern/i386/realmode.S: Include `<grub/i386/pc/memory.h>'.
2010-01-22 17:12:40 +00:00
BVK Chaitanya
547e494f1b
lexer-rewrite rebase commit
2010-01-22 19:07:27 +05:30