]> git.proxmox.com Git - grub2.git/log
grub2.git
14 years ago2010-01-05 Yves Blusseau <blusseau@zetam.org>
Yves Blusseau [Tue, 5 Jan 2010 21:04:15 +0000 (22:04 +0100)]
2010-01-05  Yves Blusseau  <blusseau@zetam.org>

    * commands/acpi.c (grub_acpi_create_ebda): fix incorrect message.

14 years ago2010-01-05 Yves Blusseau <yves.blusseau@zetam.org>
Yves Blusseau [Tue, 5 Jan 2010 17:24:10 +0000 (18:24 +0100)]
2010-01-05  Yves Blusseau  <yves.blusseau@zetam.org>

    * util/sparc64/ieee1275/grub-mkimage.c (main): Typo fix.

14 years ago2010-01-05 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 5 Jan 2010 16:09:02 +0000 (16:09 +0000)]
2010-01-05  Colin Watson  <cjwatson@ubuntu.com>

* util/mkisofs/write.c (padblock_write): Switch size and nmemb
arguments to fread so that we get a return value in bytes, rather
than something that will normally be rounded down to 0.
Adjust error handling to avoid producing garbage when size_t is not
the same size as long long.

14 years ago2010-01-05 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 5 Jan 2010 12:40:30 +0000 (12:40 +0000)]
2010-01-05  Colin Watson  <cjwatson@ubuntu.com>

* util/mkisofs/write.c (padblock_write): Check return value of
fread.

14 years ago2010-01-05 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 5 Jan 2010 00:31:07 +0000 (00:31 +0000)]
2010-01-05  Robert Millan  <rmh.grub@aybabtu.com>

Remove grub-mkfloppy.  Images produced by grub-mkrescue are valid
floppy images now.

* util/i386/pc/grub-mkfloppy.in: Remove.  Update all users.

14 years ago2010-01-04 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 4 Jan 2010 23:30:27 +0000 (23:30 +0000)]
2010-01-04  Robert Millan  <rmh.grub@aybabtu.com>

* disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Use ALIGN_UP macro
instead of manual alignment.
* kern/disk.c (grub_disk_read): Remove grub_dprintf call (excessively
verbose).  Avoid attempts to read past end of the device
(grub_disk_adjust_range() guarantees that we can read `size' bytes,
but GRUB_DISK_CACHE_SIZE may exceed that).

14 years agoforgot to commit ChangeLog...
Robert Millan [Mon, 4 Jan 2010 22:49:59 +0000 (22:49 +0000)]
forgot to commit ChangeLog...

14 years ago2010-01-04 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 4 Jan 2010 22:47:30 +0000 (22:47 +0000)]
2010-01-04  Robert Millan  <rmh.grub@aybabtu.com>

* commands/crc.c (grub_cmd_crc): Abort on read errors.
* fs/iso9660.c (grub_iso9660_read): Check for read error and pass
it to upper layer.

14 years ago2010-01-04 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Mon, 4 Jan 2010 13:59:06 +0000 (14:59 +0100)]
2010-01-04  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/efi/api.h (GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE):
New constant.
(grub_efi_piwg_device_path): New structure
(grub_efi_piwg_device_path_t): New type.
* loader/efi/appleloader.c (piwg_full_device_path): New structure.
(devpath_1): Transform to a structure. All users updated.
(devpath_2): Likewise.
(devpath_3): Likewise.
(devpath_4): Likewise.
(devpath_5): Likewise.

14 years ago2010-01-04 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Mon, 4 Jan 2010 13:53:15 +0000 (14:53 +0100)]
2010-01-04  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/efi/appleloader.c: Restored. Update all users.

14 years ago2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 3 Jan 2010 22:34:03 +0000 (22:34 +0000)]
2010-01-03  Robert Millan  <rmh.grub@aybabtu.com>

* boot/i386/pc/diskboot.S: Fix inaccurate comment.

* util/i386/pc/grub-setup.c: Include `<assert.h>'.
(struct boot_blocklist): Move from here ...
* include/grub/i386/pc/boot.h [ASM_FILE]
(struct grub_boot_blocklist): ... to here.  Update all users.
(setup): Only initialize `start' member of `first_block'
structure.  Add assert() calls to verify the other members.

* util/i386/pc/grub-mkimage.c: Include `<assert.h>'.
(generate_image): Fix broken blocklist length initialization.
Add assert() call to verify blocklist `segment' field.

14 years ago2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 3 Jan 2010 22:15:44 +0000 (22:15 +0000)]
2010-01-03  Robert Millan  <rmh.grub@aybabtu.com>

* loader/efi/appleloader.c: Remove.  Update all users.

14 years ago2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 3 Jan 2010 22:05:07 +0000 (22:05 +0000)]
2010-01-03  Robert Millan  <rmh.grub@aybabtu.com>

* boot/i386/pc/boot.S: Update copyright year.
* boot/i386/pc/cdboot.S: Likewise.
* boot/i386/pc/diskboot.S: Likewise.
* boot/i386/pc/lnxboot.S: Likewise.
* boot/i386/pc/pxeboot.S: Likewise.
* bus/pci.c: Likewise.
* commands/cmp.c: Likewise.
* commands/help.c: Likewise.
* commands/hexdump.c: Likewise.
* commands/i386/pc/halt.c: Likewise.
* commands/i386/pc/play.c: Likewise.
* commands/i386/pc/vbeinfo.c: Likewise.
* commands/ls.c: Likewise.
* commands/test.c: Likewise.
* disk/dmraid_nvidia.c: Likewise.
* disk/i386/pc/biosdisk.c: Likewise.
* disk/ieee1275/nand.c: Likewise.
* disk/ieee1275/ofdisk.c: Likewise.
* disk/lvm.c: Likewise.
* disk/raid.c: Likewise.
* disk/raid6_recover.c: Likewise.
* disk/scsi.c: Likewise.
* fs/affs.c: Likewise.
* fs/cpio.c: Likewise.
* fs/ext2.c: Likewise.
* fs/hfs.c: Likewise.
* fs/iso9660.c: Likewise.
* fs/ntfs.c: Likewise.
* fs/sfs.c: Likewise.
* fs/udf.c: Likewise.
* fs/ufs.c: Likewise.
* fs/xfs.c: Likewise.
* gencmdlist.sh: Likewise.
* genmk.rb: Likewise.
* include/grub/disk.h: Likewise.
* include/grub/efi/api.h: Likewise.
* include/grub/efi/efi.h: Likewise.
* include/grub/efi/pe32.h: Likewise.
* include/grub/elf.h: Likewise.
* include/grub/fs.h: Likewise.
* include/grub/i386/at_keyboard.h: Likewise.
* include/grub/i386/pc/memory.h: Likewise.
* include/grub/i386/pc/vbe.h: Likewise.
* include/grub/i386/pci.h: Likewise.
* include/grub/i386/tsc.h: Likewise.
* include/grub/ieee1275/ieee1275.h: Likewise.
* include/grub/ntfs.h: Likewise.
* include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
* include/grub/sparc64/libgcc.h: Likewise.
* include/grub/symbol.h: Likewise.
* include/grub/types.h: Likewise.
* include/multiboot2.h: Likewise.
* io/gzio.c: Likewise.
* kern/device.c: Likewise.
* kern/disk.c: Likewise.
* kern/efi/efi.c: Likewise.
* kern/efi/mm.c: Likewise.
* kern/elf.c: Likewise.
* kern/file.c: Likewise.
* kern/i386/dl.c: Likewise.
* kern/i386/pc/init.c: Likewise.
* kern/i386/pc/startup.S: Likewise.
* kern/ieee1275/ieee1275.c: Likewise.
* kern/ieee1275/init.c: Likewise.
* kern/main.c: Likewise.
* kern/mm.c: Likewise.
* kern/powerpc/dl.c: Likewise.
* kern/sparc64/dl.c: Likewise.
* kern/x86_64/dl.c: Likewise.
* lib/hexdump.c: Likewise.
* loader/efi/appleloader.c: Likewise.
* loader/i386/ieee1275/linux.c: Likewise.
* loader/i386/pc/chainloader.c: Likewise.
* loader/i386/pc/linux.c: Likewise.
* loader/i386/pc/multiboot2.c: Likewise.
* loader/ieee1275/multiboot2.c: Likewise.
* loader/multiboot2.c: Likewise.
* loader/multiboot_loader.c: Likewise.
* loader/powerpc/ieee1275/linux.c: Likewise.
* normal/completion.c: Likewise.
* normal/menu_entry.c: Likewise.
* partmap/apple.c: Likewise.
* util/grub.d/10_hurd.in: Likewise.
* util/hostfs.c: Likewise.
* video/readers/png.c: Likewise.

14 years ago2010-01-03 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Sun, 3 Jan 2010 21:50:53 +0000 (21:50 +0000)]
2010-01-03  Colin Watson  <cjwatson@ubuntu.com>

* include/grub/misc.h (GNUC_PREREQ): New macro.
(ATTRIBUTE_ERROR): New macro.
* include/grub/list.h (grub_bad_type_cast_real): Use
ATTRIBUTE_ERROR.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 20:48:09 +0000 (21:48 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* normal/menu_text.c (print_message): Change messages.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 20:30:04 +0000 (21:30 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* normal/menu_entry.c (store_completion): Gettextizze.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 20:08:51 +0000 (21:08 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* kern/env.c (grub_env_unset): Set the variable to "" if has hooks.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 19:41:26 +0000 (20:41 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* po/POTFILES: Sort correctly.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 18:50:51 +0000 (19:50 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* commands/acpi.c (GRUB_MOD_INIT): Capitalise some words from help.
* commands/efi/loadbios.c (GRUB_MOD_INIT): Capitalise BIOS.
* commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Remove space. Add
full stop.
* commands/loadenv.c (GRUB_MOD_INIT): Remove command name from
summary. Gettextizze the strings.
* commands/probe.c (grub_cmd_probe): Capitalise UUID and FS.
* commands/xnu_uuid.c (GRUB_MOD_INIT): Capitalise XNU.
* disk/loopback.c (grub_arg_options): Capitalise first letter. Add
full stop.
(GRUB_MOD_INIT): Remove command name from summary.
* hello/hello.c (GRUD_MOT_INIT): Add missing full stop. Improve the
summary.
* loader/i386/bsd.c (grub_arg_option): Capitalise CDROM.
* term/i386/pc/serial.c (options): Add full stops.
(GRUB_MOD_INIT): Remove command name from the summary.

14 years ago2010-01-03 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 3 Jan 2010 18:24:22 +0000 (19:24 +0100)]
2010-01-03  Carles Pina i Estany  <carles@pina.cat>

* commands/acpi.c: Gettextizze help strings and/or options. Include
`grub/i18n.h' if needed.
* commands/blocklist.c: Likewise.
* commands/boot.c: Likewise.
* commands/cat.c: Likewise.
* commands/cmp.c: Likewise.
* commands/configfile.c: Likewise.
* commands/crc.c: Likewise.
* commands/date.c: Likewise.
* commands/echo.c: Likewise.
* commands/efi/fixvideo.c: Likewise.
* commands/efi/loadbios.c: Likewise.
* commands/gptsync.c: Likewise.
* commands/halt.c: Likewise.
* commands/handler.c: Likewise.
* commands/hdparm.c: Likewise.
* commands/hexdump.c: Likewise.
* commands/i386/cpuid.c: Likewise.
* commands/i386/pc/drivemap.c: Likewise.
* commands/i386/pc/halt.c: Likewise.
* commands/i386/pc/pxecmd.c: Likewise.
* commands/i386/pc/vbeinfo.c: Likewise.
* commands/i386/pc/vbetest.c: Likewise.
* commands/ieee1275/suspend.c: Likewise.
* commands/keystatus.c: Likewise.
* commands/loadenv.c: Likewise.
* commands/ls.c: Likewise.
* commands/lsmmap.c: Likewise.
* commands/lspci.c: Likewise.
* commands/memrw.c: Likewise.
* commands/minicmd.c: Likewise.
* commands/parttool.c: Likewise.
* commands/password.c: Likewise.
* commands/probe.c: Likewise.
* commands/read.c: Likewise.
* commands/reboot.c: Likewise.
* commands/search.c: Likewise.
* commands/sleep.c: Likewise.
* commands/test.c: Likewise.
* commands/true.c: Likewise.
* commands/usbtest.c: Likewise.
* commands/videotest.c: Likewise.
* commands/xnu_uuid.c: Likewise.
* disk/loopback.c: Likewise.
* hello/hello.c: Likewise.
* loader/i386/bsd.c: Likewise.
* term/i386/pc/serial.c: Likewise.
* po/POTFILES: Add new files.

14 years ago2010-01-02 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Sat, 2 Jan 2010 15:19:57 +0000 (15:19 +0000)]
2010-01-02  Colin Watson  <cjwatson@ubuntu.com>

* term/i386/pc/at_keyboard.c
(keyboard_controller_wait_untill_ready): Rename to ...
(keyboard_controller_wait_until_ready): ... this. Update all users.

14 years ago2010-01-01 Yves Blusseau <blusseau@zetam.org>
Yves Blusseau [Fri, 1 Jan 2010 21:48:52 +0000 (22:48 +0100)]
2010-01-01  Yves Blusseau  <blusseau@zetam.org>

* kern/misc.c
(memcmp): add missing memcmp "alias" function for Apple platforms
(memset): add missing memset "alias" function for Apple platforms

14 years ago2009-01-01 Yves Blusseau <blusseau@zetam.org>
Yves Blusseau [Fri, 1 Jan 2010 20:41:59 +0000 (21:41 +0100)]
2009-01-01  Yves Blusseau  <blusseau@zetam.org>

* util/mkisofs/mkisofs.c: fix a warning about a bad cast when NLS
is disabled

14 years ago2009-01-01 Yves Blusseau <yves.blusseau@zetam.org>
Yves Blusseau [Fri, 1 Jan 2010 20:32:30 +0000 (21:32 +0100)]
2009-01-01  Yves Blusseau  <yves.blusseau@zetam.org>

* configure.ac: check external intl library
* Makefile.in: add compiler and linker flags to properly compile with
intl library
* include/grub/i18n.h: add a check to disable NLS
* util/misc.c (grub_util_init_nls): new function
* include/grub/util/misc.h: likewise
* util/elf/grub-mkimage.c: use the new function below to initialize NLS
* util/grub-editenv.c: likewise
* util/grub-emu.c: likewise
* util/grub-fstest.c: likewise
* util/grub-mkdevicemap.c: likewise
* util/grub-mkfont.c: likewise
* util/grub-mkrelpath.c: likewise
* util/grub-probe.c: likewise
* util/i386/pc/grub-mkimage.c: likewise
* util/i386/pc/grub-setup.c: likewise
* util/sparc64/ieee1275/grub-mkimage.c: likewise
* util/sparc64/ieee1275/grub-ofpathname.c: likewise
* util/sparc64/ieee1275/grub-setup.c: likewise
* util/mkisofs/mkisofs.h: add a check to disable NLS
* util/mkisofs/mkisofs.c: likewise

14 years ago2009-01-01 Yves Blusseau <blusseau@zetam.org>
Yves Blusseau [Fri, 1 Jan 2010 19:33:15 +0000 (20:33 +0100)]
2009-01-01  Yves Blusseau  <blusseau@zetam.org>

* config.rpath: new file used to configure compilation with NLS

14 years ago2010-01-01 Carles Pina i Estany <carles@pina.cat>
carles [Fri, 1 Jan 2010 17:58:00 +0000 (18:58 +0100)]
2010-01-01  Carles Pina i Estany  <carles@pina.cat>

* commands/help.c: Include `grub/mm.h' and `grub/normal.h'.
(grub_cmd_help): Print the cmd->name before the cmd->summary. Cut the
string using string width.
* normal/menu_text.c (grub_print_message_indented): Use
grub_print_spaces and not print_spaces.
(print_timeout): Likewise.
(print_spaces): Move to...
* include/grub/term.h: ... here. Change the name to grub_print_spaces.

14 years ago2010-01-01 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 1 Jan 2010 12:33:45 +0000 (12:33 +0000)]
2010-01-01  Robert Millan  <rmh.grub@aybabtu.com>

Import from Gnulib.

* gnulib/getdelim.c: New file.
* gnulib/getline.c: Likewise.

14 years agoFix punctuation in ChangeLog
Vladimir 'phcoder' Serbinenko [Thu, 31 Dec 2009 14:05:12 +0000 (15:05 +0100)]
Fix punctuation in ChangeLog

14 years ago2009-12-31 BVK Chaitanya <bvk.groups@gmail.com>
Vladimir 'phcoder' Serbinenko [Thu, 31 Dec 2009 14:03:09 +0000 (15:03 +0100)]
2009-12-31 BVK Chaitanya  <bvk.groups@gmail.com>

* include/grub/list.h (grub_assert_fail): Removed.
(grub_bad_type_cast_real): New function.
(grub_bad_type_cast): New macro.
(GRUB_AS_LIST): Use grub_bad_type_cast.
(GRUB_AS_LIST_P): Likewise.
(GRUB_AS_NAMED_LIST): Likewise.
(GRUB_AS_NAMED_LIST_P): Likewise.
(GRUB_AS_PRIO_LIST): Likewise.
(GRUB_AS_PRIO_LIST_P): Likewise.
* include/grub/handler.h (GRUB_AS_HANDLER): Likewise.

14 years ago2009-12-29 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 29 Dec 2009 18:06:04 +0000 (19:06 +0100)]
2009-12-29 Vladimir Serbinenko  <phcoder@gmail.com>

* loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT (linux)):
Fix syntax error.

14 years ago2009-12-29 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 29 Dec 2009 14:04:18 +0000 (14:04 +0000)]
2009-12-29  Robert Millan  <rmh.grub@aybabtu.com>

* configure.ac: Check for TARGET_CFLAGS initialization before we
initialize it ourselves (sigh).
Move a few modifications to TARGET_CFLAGS to be unconditional
(extra warning flags, loop alignment, i386 CPU extensions, GCC 4.4
eh_frame)

* gettext/gettext.c (grub_gettext_delete_list): Add `void' argument.
* term/i386/pc/at_keyboard.c
(keyboard_controller_wait_untill_ready): Likewise.
(keyboard_controller_led): Rename `led_status' paramter to avoid
name conflict.

14 years ago2009-12-28 Carles Pina i Estany <carles@pina.cat>
carles [Mon, 28 Dec 2009 18:11:59 +0000 (19:11 +0100)]
2009-12-28  Carles Pina i Estany  <carles@pina.cat>

* normal/misc.c (grub_normal_print_device_info): Add spaces and double
quotes.

14 years ago2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Mon, 28 Dec 2009 00:02:21 +0000 (01:02 +0100)]
2009-12-27  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/parser.c (grub_parser_split_cmdline): Don't dereference NULL.

14 years ago2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 27 Dec 2009 21:32:52 +0000 (22:32 +0100)]
2009-12-27  Vladimir Serbinenko  <phcoder@gmail.com>

* normal/menu_text.c (grub_print_message_indented): Prevent
past-the-end-of-array dereference.

14 years ago2009-12-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 27 Dec 2009 21:21:48 +0000 (22:21 +0100)]
2009-12-27  Vladimir Serbinenko  <phcoder@gmail.com>

* video/readers/jpeg.c (GRUB_MOD_FINI (grub_cmd_jpegtest)): Rename to ..
(GRUB_MOD_FINI (video_reader_jpeg)): ...this

14 years ago2009-12-27 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 26 Dec 2009 23:43:21 +0000 (00:43 +0100)]
2009-12-27  Carles Pina i Estany  <carles@pina.cat>

* normal/cmdline.c (grub_cmdline_get): Print a space after prompt.
* normal/main.c (grub_normal_read_line): Remove a space from the
default prompt.

14 years ago2009-12-27 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 26 Dec 2009 23:36:59 +0000 (00:36 +0100)]
2009-12-27  Carles Pina i Estany  <carles@pina.cat>

* loader/i386/efi/linux.c (GRUB_MOD_INIT): Improve command summary.
* loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/i386/linux.c (GRUB_MOD_INIT): Likewise.
* loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise.
* loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/xnu.c (GRUB_MOD_INIT): Likewise.

14 years agoFix two dates and one typo in ChangeLog.
carles [Sat, 26 Dec 2009 11:08:22 +0000 (12:08 +0100)]
Fix two dates and one typo in ChangeLog.

14 years ago2009-12-27 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 26 Dec 2009 11:06:35 +0000 (12:06 +0100)]
2009-12-27  Carles Pina i Estany  <carles@pina.cat>

* video/readers/jpeg.c (cmd): Declare.
(grub_cmd_jpegtest): Use `grub_command_t' type.
(GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
Assign to `cmd'.
(GRUB_MOD_FINI): Use `cmd' to unregister.
* video/readers/png.c (cmd): Declare.
(grub_cmd_pngtest): Use `grub_command_t' type.
(GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
Assign to `cmd'.
(GRUB_MOD_FINI): Use `cmd' to unregister.
* video/readers/tga.c (cmd): Declare.
(grub_cmd_tgatest): Use `grub_command_t' type.
(GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'.
Assign to `cmd'.
(GRUB_MOD_FINI): Use `cmd' to unregister.

14 years ago2009-12-27 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 26 Dec 2009 10:01:33 +0000 (11:01 +0100)]
2009-12-27  Carles Pina i Estany  <carles@pina.cat>

* efiemu/main.c (GRUB_MOD_INIT): Fix capitalizations and/or full
stops.
* kern/corecmd.c (grub_register_core_commands): Likewise.
* loader/efi/chainloader.c (GRUB_MOD_INIT): Likewise.
* loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
* loader/i386/efi/linux.c (GRUB_MOD_INIT): Likewise.
* loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/i386/linux.c (GRUB_MOD_INIT): Likewise.
* loader/i386/pc/chainloader.c (GRUB_MOD_INIT): Likewise.
* loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise.
* loader/multiboot_loader.c (GRUB_MOD_INIT): Likewise.
* loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
* loader/xnu.c (GRUB_MOD_INIT): Likewise.
* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
* normal/handler.c (insert_handler): Likewise.
* normal/main.c (GRUB_MOD_INIT): Likewise.
* term/gfxterm.c (GRUB_MOD_INIT): Likewise.

14 years ago2009-12-26 Carles Pina i Estany <carles@pina.cat>
carles [Fri, 25 Dec 2009 23:50:59 +0000 (00:50 +0100)]
2009-12-26  Carles Pina i Estany  <carles@pina.cat>

* commands/help.c (grub_cmd_help): Print the command name before the
summary.
(GRUB_MOD_INIT): Remove command name from the summary.
* kern/command.c (GRUB_MOD_INIT): If summary is null assign an empty
strig as summary.
* lib/arg.c (find_long): Print the command name before the summary.
* commands/acpi.c (GRUB_MOD_INIT): Remove command name from the
summary.
* commands/blocklist.c (GRUB_MOD_INIT): Likewise.
* commands/cat.c (GRUB_MOD_INIT): Likewise.
* commands/cmp.c (GRUB_MOD_INIT): Likewise.
* commands/configfile.c (GRUB_MOD_INIT): Likewise.
* commands/crc.c (GRUB_MOD_INIT): Likewise.
* commands/date.c (GRUB_MOD_INIT): Likewise.
* commands/echo.c (GRUB_MOD_INIT): Likewise.
* commands/efi/loadbios.c (GRUB_MOD_INIT): Likewise.
* commands/gptsync.c (GRUB_MOD_INIT): Likewise.
* commands/handler.c (GRUB_MOD_INIT): Likewise.
* commands/hdparm.c (GRUB_MOD_INIT): Likewise.
* commands/hexdump.c (GRUB_MOD_INIT): Likewise.
* commands/i386/cpuid.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/halt.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/pxecmd.c (GRUB_MOD_INIT): Likewise.
* commands/keystatus.c (GRUB_MOD_INIT): Likewise.
* commands/loadenv.c (GRUB_MOD_INIT): Likewise.
* commands/ls.c (GRUB_MOD_INIT): Likewise.
* commands/lspci.c (GRUB_MOD_INIT): Likewise.
* commands/memrw.c (GRUB_MOD_INIT): Likewise.
* commands/minicmd.c (GRUB_MOD_INIT): Likewise.
* commands/parttool.c (GRUB_MOD_INIT): Likewise.
* commands/password.c (GRUB_MOD_INIT): Likewise.
* commands/probe.c (GRUB_MOD_INIT): Likewise.
* commands/read.c (GRUB_MOD_INIT): Likewise.
* commands/search.c (GRUB_MOD_INIT): Likewise.
* commands/sleep.c (GRUB_MOD_INIT): Likewise.
* commands/test.c (GRUB_MOD_INIT): Likewise.
* commands/xnu_uuid.c (GRUB_MOD_INIT): Likewise.
* efiemu/main.c (GRUB_MOD_INIT): Likewise.
* font/font_cmd.c (GRUB_MOD_INIT): Likewise.
* gettext/gettext.c (GRUB_MOD_INIT): Likewise.
* kern/corecmd.c (GRUB_MOD_INIT): Likewise.
* lib/arg.c (GRUB_MOD_INIT): Likewise.
* loader/efi/appleloader.c (GRUB_MOD_INIT): Likewise.
* loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
* loader/xnu.c (GRUB_MOD_INIT): Likewise.
* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
* term/terminfo.c (GRUB_MOD_INIT): Likewise.
* video/readers/jpeg.c (GRUB_MOD_INIT): Likewise.
* video/readers/png.c (GRUB_MOD_INIT): Likewise.
* video/readers/tga.c (GRUB_MOD_INIT): Likewise.

14 years ago2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 22:06:52 +0000 (23:06 +0100)]
2009-12-25  Vladimir Serbinenko  <phcoder@gmail.com>

Use search command for preliminar UUID search.

* commands/search.c: Split into ...
* commands/search_wrap.c: ...this
* commands/search.c: ...and this.
* commands/search_file.c: New file.
* commands/search_label.c: New file.
* commands/search_uuid.c: New file.
* conf/any-emu.rmk (grub_emu_SOURCES): Remove commands/search.c.
Add commands/search_wrap.c, commands/search_file.c,
commands/search_label.c and commands/search_uuid.c.
* conf/common.rmk (pkglib_MODULES): Remove fs_uuid.mod and fs_file.mod.
(search_mod_SOURCES): Set to commands/search_wrap.c.
(pkglib_MODULES): Add search_fs_file.mod, search_fs_uuid.mod and
search_label.mod.
(search_fs_file_mod_SOURCES): New variable.
(search_fs_file_mod_CFLAGS): Likewise.
(search_fs_file_mod_LDFLAGS): Likewise.
(search_label_mod_SOURCES): Likewise.
(search_label_mod_CFLAGS): Likewise.
(search_label_mod_LDFLAGS): Likewise.
(search_fs_uuid_mod_SOURCES): New variable.
(search_fs_uuid_mod_CFLAGS): Likewise.
(search_fs_uuid_mod_LDFLAGS): Likewise.
(fs_file_mod_SOURCES): Removed.
(fs_file_mod_CFLAGS): Likewise.
(fs_file_mod_LDFLAGS): Likewise.
(fs_uuid_mod_SOURCES): Removed.
(fs_uuid_mod_CFLAGS): Likewise.
(fs_uuid_mod_LDFLAGS): Likewise.
* conf/sparc64-ieee1275.rmk (grub_install_SOURCES):
Set to util/grub-install.in.
* disk/fs_file.c: Removed.
* disk/fs_uuid.c: Likewise.
* include/grub/search.h: New file.
* util/grub-install.in: Handle sparc64.
Create and use load.cfg.
* util/sparc64/ieee1275/grub-install.in: Removed.

14 years ago2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 22:01:32 +0000 (23:01 +0100)]
2009-12-25  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/i386/pc/startup.S (grub_biosdisk_get_diskinfo_int13_extensions):
Ignore return status if CF is cleared.
(grub_biosdisk_get_diskinfo_standard): Likewise.

14 years ago2009-12-25 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 25 Dec 2009 21:38:09 +0000 (21:38 +0000)]
2009-12-25  Robert Millan  <rmh.grub@aybabtu.com>

* term/i386/pc/at_keyboard.c
(keyboard_controller_wait_untill_ready): New function.
(grub_keyboard_controller_write, grub_keyboard_controller_read)
(keyboard_controller_led): Use keyboard_controller_wait_untill_ready()
for keyboard polling, rather than duplicate the same loop.  This
saves a few bytes in code size.

14 years ago2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 21:01:06 +0000 (22:01 +0100)]
2009-12-25  Vladimir Serbinenko  <phcoder@gmail.com>

Support for (pxe[:server[:gateway]]) syntax and
use environment variable for PXE.

* commands/i386/pc/pxecmd.c (options): Removed.
(print_ip): Removed.
(grub_cmd_pxe): Removed
(grub_cmd_pxe_unload): New function.
* fs/i386/pc/pxe.c (grub_pxe_disk_data): New structure.
(grub_pxe_your_ip): Made static.
(grub_pxe_default_server_ip): Likewise.
(grub_pxe_default_gateway_ip): Likewise.
(grub_pxe_blksize): Likewise.
(parse_ip): New function.
(grub_pxe_open): Support server and gateway specification.
(grub_pxe_close): Free disk->data.
(grub_pxefs_open): Use disk->data.
(grub_pxefs_read): Likewise.
(grub_env_write_readonly): New function.
(set_mac_env): Likewise.
(set_env_limn_ro): Likewise.
(parse_dhcp_vendor): Likewise.
(grub_pxe_detect): Set the environment variables.
(set_ip_env): New function.
(write_ip_env): Likewise.
(grub_env_write_pxe_default_server): Likewise.
(grub_env_write_pxe_default_gateway): Likewise.
(grub_env_write_pxe_blocksize): Likewise.
(GRUB_MOD_INIT(pxe)): Set environment variables.
* include/grub/i386/pc/pxe.h (grub_pxe_mac_addr): Rename to ...
(grub_pxe_mac_addr_t): ... this. All users updated.
(grub_pxe_your_ip): Removed.
(grub_pxe_server_ip): Likewise.
(grub_pxe_gateway_ip): Likewise.
(grub_pxe_blksize): Likewise.

14 years ago2009-12-25 Carles Pina i Estany <carles@pina.cat>
carles [Fri, 25 Dec 2009 20:51:05 +0000 (21:51 +0100)]
2009-12-25  Carles Pina i Estany  <carles@pina.cat>

* commands/help.c: Include `<grub/i18n.h>'.
(grub_cmd_help): Gettextizze.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/play.c: Include `<grub/i18n.h>'.
(GRUB_MOD_INIT): Gettextizze.
* commands/search.c: Include `<grub/i18n.h>'.
(options): Gettextizze.
(GRUB_MOD_INIT): Gettextizze.
* lib/arg.c: Include `<grub/i18n.h>'.
(help_options): Gettextizze.
(find_long): Likewise.
(grub_arg_show_help): Likewise.
* normal/dyncmd.c: Include `<grub/i18n.h>'.
(read_command_list): Gettextizze.
* po/POTFILES: Add `commands/i386/pc/play.c', `commands/search.c',
`commands/help.c', `lib/arg.c' and `normal/dyncmd.c'.

14 years ago2009-12-25 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 25 Dec 2009 20:33:41 +0000 (20:33 +0000)]
2009-12-25  Robert Millan  <rmh.grub@aybabtu.com>

* include/grub/i386/at_keyboard.h (NUM_LOCK, SCROLL_LOCK): New macros.
* term/i386/pc/at_keyboard.c (KEYBOARD_STATUS_NUM_LOCK)
(KEYBOARD_LED_SCROLL, KEYBOARD_LED_NUM, KEYBOARD_LED_CAPS): New macros.
(led_status): New variable.
(keyboard_controller_led): New function.
(grub_at_keyboard_getkey_noblock): Handle num lock and scroll lock,
update led status for caps lock, num lock and scroll lock.

14 years agoFix typo in old changelog entry
Robert Millan [Fri, 25 Dec 2009 19:36:42 +0000 (20:36 +0100)]
Fix typo in old changelog entry

14 years ago2009-12-25 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Fri, 25 Dec 2009 17:29:17 +0000 (18:29 +0100)]
2009-12-25  Felix Zielcke <fzielcke@z-51.de>

* util/hostdisk.c (open_device): Fix a comment.

14 years agoMerge my local branch
Robert Millan [Fri, 25 Dec 2009 11:43:20 +0000 (12:43 +0100)]
Merge my local branch

14 years ago2009-12-25 Carles Pina i Estany <carles@pina.cat>
carles [Fri, 25 Dec 2009 00:04:51 +0000 (01:04 +0100)]
2009-12-25  Carles Pina i Estany  <carles@pina.cat>

* commands/efi/loadbios.c: Capitalize acronyms, replace `could not' by
`couldn't' and `can not' by `cannot'.
* commands/i386/pc/drivemap.c: Likewise.
* disk/ata.c: Likewise.
* disk/ieee1275/nand.c: Likewise.
* fs/affs.c: Likewise.
* fs/fat.c: Likewise.
* fs/hfs.c: Likewise.
* fs/hfsplus.c: Likewise.
* fs/iso9660.c: Likewise.
* fs/jfs.c: Likewise.
* fs/minix.c: Likewise.
* fs/reiserfs.c: Likewise.
* fs/sfs.c: Likewise.
* fs/udf.c: Likewise.
* fs/ufs.c: Likewise.
* fs/xfs.c: Likewise.
* loader/powerpc/ieee1275/linux.c: Likewise.
* loader/sparc64/ieee1275/linux.c: Likewise.
* util/grub-probe.c: Likewise.
* util/misc.c: Likewise.

14 years ago2009-12-24 Carles Pina i Estany <carles@pina.cat>
carles [Thu, 24 Dec 2009 22:53:05 +0000 (23:53 +0100)]
2009-12-24  Carles Pina i Estany  <carles@pina.cat>

* bus/usb/usbhub.c: Fix capitalization, fullstop and newlines in
grub_errno calls.
* commands/acpi.c: Likewise.
* commands/blocklist.c: Likewise.
* commands/efi/loadbios.c: Likewise.
* commands/i386/pc/drivemap.c: Likewise.
* commands/loadenv.c: Likewise.
* commands/memrw.c: Likewise.
* commands/password.c: Likewise.
* commands/videotest.c: Likewise.
* disk/ata.c: Likewise.
* disk/ata_pthru.c: Likewise.
* disk/dmraid_nvidia.c: Likewise.
* disk/ieee1275/nand.c: Likewise.
* disk/ieee1275/ofdisk.c: Likewise.
* disk/loopback.c: Likewise.
* disk/lvm.c: Likewise.
* disk/mdraid_linux.c: Likewise.
* disk/raid.c: Likewise.
* disk/raid6_recover.c: Likewise.
* disk/scsi.c: Likewise.
* efiemu/main.c: Likewise.
* efiemu/mm.c: Likewise.
* efiemu/pnvram.c: Likewise.
* efiemu/symbols.c: Likewise.
* font/font.c: Likewise.
* fs/cpio.c: Likewise.
* fs/hfsplus.c: Likewise.
* fs/iso9660.c: Likewise.
* fs/jfs.c: Likewise.
* fs/minix.c: Likewise.
* fs/ntfs.c: Likewise.
* fs/ntfscomp.c: Likewise.
* fs/reiserfs.c: Likewise.
* fs/ufs.c: Likewise.
* fs/xfs.c: Likewise.
* gettext/gettext.c: Likewise.
* include/grub/auth.h: Likewise.
* kern/elf.c: Likewise.
* kern/file.c: Likewise.
* kern/ieee1275/init.c: Likewise.
* kern/ieee1275/mmap.c: Likewise.
* kern/ieee1275/openfw.c: Likewise.
* kern/powerpc/dl.c: Likewise.
* kern/sparc64/dl.c: Likewise.
* lib/arg.c: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/i386/bsdXX.c: Likewise.
* loader/i386/efi/linux.c: Likewise.
* loader/i386/efi/xnu.c: Likewise.
* loader/i386/ieee1275/linux.c: Likewise.
* loader/i386/linux.c: Likewise.
* loader/i386/multiboot.c: Likewise.
* loader/i386/pc/linux.c: Likewise.
* loader/i386/pc/multiboot2.c: Likewise.
* loader/i386/xnu.c: Likewise.
* loader/ieee1275/multiboot2.c: Likewise.
* loader/macho.c: Likewise.
* loader/machoXX.c: Likewise.
* loader/multiboot2.c: Likewise.
* loader/multiboot_loader.c: Likewise.
* loader/powerpc/ieee1275/linux.c: Likewise.
* loader/sparc64/ieee1275/linux.c: Likewise.
* loader/xnu.c: Likewise.
* loader/xnu_resume.c: Likewise.
* mmap/i386/pc/mmap.c: Likewise.
* normal/menu_viewer.c: Likewise.
* partmap/acorn.c: Likewise.
* partmap/amiga.c: Likewise.
* partmap/apple.c: Likewise.
* script/lexer.c: Likewise.
* term/gfxterm.c: Likewise.
* term/i386/pc/serial.c: Likewise.
* term/i386/pc/vga.c: Likewise.
* term/ieee1275/ofconsole.c: Likewise.
* term/terminfo.c: Likewise.
* video/bitmap.c: Likewise.
* video/efi_gop.c: Likewise.
* video/efi_uga.c: Likewise.
* video/fb/video_fb.c: Likewise.
* video/i386/pc/vbe.c: Likewise.
* video/readers/tga.c: Likewise.
* video/video.c: Likewise.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 22:23:22 +0000 (22:23 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* util/grub-install.in (host_os): New variable.
* util/i386/efi/grub-install.in (host_os): Likewise.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 18:00:48 +0000 (18:00 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* util/mkisofs/write.c (padblock_write): Abort when given an
excedingly large embed image, instead of silently truncating it.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 14:19:22 +0000 (14:19 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* include/multiboot.h: Indentation fixes.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 14:15:32 +0000 (14:15 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* include/multiboot.h (struct multiboot_aout_symbol_table)
(struct multiboot_elf_section_header_table): New structure
declarations (stolen from GRUB Legacy).
(struct multiboot_info): Replace opaque `syms' with a.out and ELF
table information.

(multiboot_aout_symbol_table_t, multiboot_elf_section_header_table_t)
(multiboot_info_t, multiboot_memory_map_t, multiboot_module_t): New
type aliases.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 14:11:14 +0000 (14:11 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* include/multiboot.h: Make comments src2texi-friendly.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 14:09:06 +0000 (14:09 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

For consistency with [multiboot]/docs/boot.S.

* include/multiboot.h (MULTIBOOT_MAGIC): Rename from this ...
(MULTIBOOT_HEADER_MAGIC): ... to this.  Update all users.
(MULTIBOOT_MAGIC2): Rename from this ...
(MULTIBOOT_BOOTLOADER_MAGIC): ... to this.  Update all users.

14 years ago2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 24 Dec 2009 14:03:22 +0000 (14:03 +0000)]
2009-12-24  Robert Millan  <rmh.grub@aybabtu.com>

* include/multiboot.h: Remove `<grub/types.h>'.
(multiboot_uint16_t, multiboot_uint32_t, multiboot_uint64_t): New
types.  Update all users.

14 years ago2009-12-23 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 23 Dec 2009 16:41:32 +0000 (17:41 +0100)]
2009-12-23 Felix Zielcke <fzielcke@z-51.de>

* commands/i386/pc/drivemap.c: Remove all trailing whitespace.
* commands/lspci.c: Likewise.
* commands/probe.c: Likewise.
* commands/xnu_uuid.c: Likewise.
* conf/i386-coreboot.rmk: Likewise.
* conf/i386-efi.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.
* fs/i386/pc/pxe.c: Likewise.
* gettext/gettext.c: Likewise.
* include/grub/efi/graphics_output.h: Likewise.
* include/grub/i386/pc/memory.h: Likewise.
* kern/env.c: Likewise.
* kern/i386/qemu/startup.S: Likewise.
* lib/i386/pc/biosnum.c: Likewise.
* lib/i386/relocator.c: Likewise.
* lib/i386/relocator_asm.S: Likewise.
* lib/relocator.c: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/i386/multiboot.c: Likewise.
* loader/i386/pc/chainloader.c: Likewise.
* loader/i386/xnu.c: Likewise.
* loader/xnu.c: Likewise.
* normal/main.c: Likewise.
* normal/menu_text.c: Likewise.
* util/getroot.c: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub.d/00_header.in: Likewise.
* util/i386/pc/grub-mkimage.c: Likewise.
* util/mkisofs/eltorito.c: Likewise.
* util/mkisofs/exclude.h: Likewise.
* util/mkisofs/hash.c: Likewise.
* util/mkisofs/iso9660.h: Likewise.
* util/mkisofs/joliet.c: Likewise.
* util/mkisofs/mkisofs.c: Likewise.
* util/mkisofs/mkisofs.h: Likewise.
* util/mkisofs/multi.c: Likewise.
* util/mkisofs/name.c: Likewise.
* util/mkisofs/rock.c: Likewise.
* util/mkisofs/tree.c: Likewise.
* util/mkisofs/write.c: Likewise.
* video/efi_gop.c: Likewise.

14 years ago2009-12-23 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 13:48:55 +0000 (14:48 +0100)]
2009-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

* video/efi_gop.c (grub_video_gop_get_bitmask): Fix off-by-one in mask
size counting.

14 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 17:20:27 +0000 (18:20 +0100)]
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub-mkrescue.in (pkglib_DATA): Set to @pkglib_DATA@.
* genmk.rb (class SCRIPT): Modify the target file instead of source.

14 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 16:00:28 +0000 (17:00 +0100)]
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/memrw.c (grub_cmd_write): Support for mask parameter.
(GRUB_MOD_INIT(memrw)): Update help line.

14 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 15:36:50 +0000 (16:36 +0100)]
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/memrw.c (cmd_read_byte, cmd_read_word, cmd_read_dword):
Use grub_extcmd_t. All users updated.
(options): New variable.
(grub_cmd_read): Restructure for readability. Support "-v" option.
(grub_cmd_write): Restructure for readability.

14 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:41:31 +0000 (12:41 +0100)]
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* genmk.rb (class SCRIPT): Prepend #{src} path with $(srcdir).

14 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:12:51 +0000 (12:12 +0100)]
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* genmk.rb (class SCRIPT): Use sed to substitute @pkglib_DATA@
with the actual contents of the correspondending make variable.
* util/grub-mkrescue.in (pkglib_DATA): New variable.
(process_input_dir): Copy all $pkglib_DATA files instead of explicitly
specifying `*.lst' and `efiemu??.o'

14 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:02:57 +0000 (12:02 +0100)]
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub.d/30_os-prober.in (osx_entry): Add round brackets
after function name.
Noticed by Rene Engelhard <rene@debian.org>.

14 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:41:53 +0000 (10:41 +0100)]
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/lspci.c (grub_pci_classes): Add "USB Controller".
(options): New variable.
(iospace): Likewise.
(grub_lspci_iter): List IO spaces if "-i" was given.
(grub_cmd_lspci): Parse options.
(GRUB_MOD_INIT(lspci)): Use extcmd.
(GRUB_MOD_FINI(lspci)): Likewise.

14 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 09:35:04 +0000 (10:35 +0100)]
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub.d/30_os-prober.in (osx_entry): Remove non POSIX compliant
`function' keyword.
Patch by Tony Mancill <tmancill@debian.org>.

14 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:18:18 +0000 (10:18 +0100)]
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* bus/usb/usbhub.c (grub_usb_hub_add_dev): Fix loop-break condition.

14 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:15:59 +0000 (10:15 +0100)]
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* bus/usb/uhci.c (grub_uhci_transfer): Set a limit transaction time.
(grub_uhci_portstatus): Likewise.
(grub_uhci_portstatus): Add necessary delay.

14 years agoRevert obviously wrong 1963 by Felix Zielcke.
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:10:57 +0000 (10:10 +0100)]
Revert obviously wrong 1963 by Felix Zielcke.

14 years agoFix ommission from ChangeLog.
carles [Mon, 21 Dec 2009 23:28:28 +0000 (23:28 +0000)]
Fix ommission from ChangeLog.

14 years agoAdds a missting entry in the ChangeLog.
carles [Mon, 21 Dec 2009 22:41:28 +0000 (22:41 +0000)]
Adds a missting entry in the ChangeLog.

14 years agoSpecify better previous ChangeLog.
carles [Mon, 21 Dec 2009 22:09:18 +0000 (22:09 +0000)]
Specify better previous ChangeLog.

14 years ago2009-12-21 Carles Pina i Estany <carles@pina.cat>
carles [Mon, 21 Dec 2009 22:06:04 +0000 (22:06 +0000)]
2009-12-21  Carles Pina i Estany  <carles@pina.cat>

* commands/acpi.c (options): Fix capitalizations and/or full stops.
(GRUB_MOD_INIT): Likewise.
* commands/boot.c (GRUB_MOD_INIT): Likewise.
* commands/cmp.c (grub_cmd_cmp): Likewise.
* commands/echo.c (options): Likewise.
* commands/efi/loadbios.c (enable_rom_area): Likewise.
(enable_rom_area): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/gptsync.c (GRUB_MOD_INIT): Likewise.
* commands/halt.c (GRUB_MOD_INIT): Improve the help message.
* commands/handler.c (GRUB_MOD_INIT): Likewise.
* commands/hdparm.c (options): Fix capitalizations and/or full stops.
* commands/hexdump.c (options): Likewise.
* commands/i386/cpuid.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/drivemap.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/halt (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/pxecmd.c (options): Likewise.
* commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise.
* commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise.
* commands/keystatus.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/loadenv.c (options): Likewise.
* commands/ls.c (options): Likewise.
* commands/lspci.c (GRUB_MOD_INIT): Likewise.
* commands/memrw.c (GRUB_MOD_INIT): Likewise.
* commands/minicmd.c (GRUB_MOD_INIT): Likewise.
* commands/parttool.c (helpmsg): Likewise.
* commands/probe.c (options): Likewise.
* commands/read.c (GRUB_MOD_INIT): Likewise.
* commands/reboot.c (GRUB_MOD_INIT): Likewise.
* commands/search.c (options): Likewise.
* commands/sleep.c (options): Likewise.
* commands/test.c (GRUB_MOD_INIT): Likewise.
* commands/true.c (GRUB_MOD_INIT): Likewise.
* commands/usbtest.c (GRUB_MOD_INIT): Likewise.
* commands/videotest.c (GRUB_MOD_INIT): Likewise.
* lib/arg.c (help_options): Likewise.

14 years agomerge mainline into lspci
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 22:01:47 +0000 (23:01 +0100)]
merge mainline into lspci

14 years agoRemove wrong colon in my previous changelog entry
Felix Zielcke [Mon, 21 Dec 2009 21:59:52 +0000 (22:59 +0100)]
Remove wrong colon in my previous changelog entry

14 years agoFix abug in 64-bit memory address space
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 21:32:33 +0000 (22:32 +0100)]
Fix abug in 64-bit memory address space

14 years ago2009-12-21 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Mon, 21 Dec 2009 21:19:25 +0000 (22:19 +0100)]
2009-12-21 Felix Zielcke <fzielcke@z-51.de>

* util/grub-mkrescue.in: (process_input_dir): Copy `*.lst' files
instead of specifying them explicit.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 21:15:38 +0000 (21:15 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * NEWS: Add grub-probe support for GNU/Hurd.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 21:11:16 +0000 (21:11 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * NEWS: gettext was added after 1.97.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 20:22:12 +0000 (20:22 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/msdos_partition.h: New file (based on
        include/grub/msdos_partition.h).
        * util/mkisofs/mkisofs.c (use_protective_msdos_label): New variable.
        (OPTION_PROTECTIVE_MSDOS_LABEL): New macro.
        (ld_options, main): Recognize --protective-msdos-label.
        * util/mkisofs/mkisofs.h (use_protective_msdos_label): New declaration.
        * util/mkisofs/write.c: Include `"msdos_partition.h"'.
        (padblock_write): If `use_protective_msdos_label' is set, patch a
        protective DOS-style label in the output image.

        * util/grub-mkrescue.in: Use --protective-msdos-label.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 19:10:07 +0000 (19:10 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk
        boot.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 17:40:26 +0000 (17:40 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New
        variables.
        (ld_options, main): Recognize `--embedded-boot'.
        * util/mkisofs/mkisofs.h (use_embedded_boot, boot_image_embed): New
        declarations.
        * util/mkisofs/write.c (PADBLOCK_SIZE): New variable.
        (padblock_size): Use `PADBLOCK_SIZE' instead of hardcoding 16.
        (padblock_write): Likewise.  Rewrite to support embedded boot image.

        * util/grub-mkrescue.in: When building i386-pc images, embed core.img
        for BIOS-based disk boot instead of only ElTorito.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 17:03:08 +0000 (17:03 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Remove `configfile' and `sh' from i386-pc
        build (not needed for bootstrap).

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 16:11:35 +0000 (16:11 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules
        from i386-pc build (not needed for bootstrap).
        Rewrite a pair of strings.

14 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 15:54:56 +0000 (15:54 +0000)]
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/main.c (grub_normal_reader_init): Set left margin back to 3.

14 years agoFix ChangeLog date
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 15:44:17 +0000 (16:44 +0100)]
Fix ChangeLog date

14 years ago2009-12-21 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 15:43:21 +0000 (16:43 +0100)]
2009-12-21  Vladimir Serbinenko  <phcoder@gmail.com>

* video/i386/pc/vbe.c (grub_video_vbe_fini): Set 'last_set_mode'.

14 years ago2009-12-21 Andreas Born <futur.andy@googlemail.com>
Andreas Born [Mon, 21 Dec 2009 14:27:50 +0000 (15:27 +0100)]
2009-12-21 Andreas Born  <futur.andy@googlemail.com>

* kern/env.c (grub_env_context_open): Mark exported variable for
reexport.

14 years ago2009-12-21 Andreas Born <futur.andy@googlemail.com>
Andreas Born [Mon, 21 Dec 2009 14:20:12 +0000 (15:20 +0100)]
2009-12-21 Andreas Born  <futur.andy@googlemail.com>

* kern/env.c (grub_env_export): Create nonexistent variables before
exporting.

14 years ago2009-12-20 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 20 Dec 2009 23:32:15 +0000 (23:32 +0000)]
2009-12-20 Carles Pina i Estany  <carles@pina.cat>

* include/grub/auth.h: Include `<grub/i18n.h>'.
(GRUB_GET_PASSWORD): Gettextizze string.
* include/grub/normal.h (STANDARD_MARGIN): New macro, moved from
menu_text.c.
(grub_utf8_to_ucs4_alloc): Fix indentation.
(grub_print_ucs4): Likewise.
(grub_getstringwidth): Likewise.
(print_message_indented): New declaration.
* normal/auth.c: Include `<grub/i18n.h>'.
(grub_auth_check_authentication): Gettexttize string.
* normal/cmdline.c: Include `<grub/i18n.h>'.
(grub_cmdline_get): Gettextizze.
* normal/color.c: Include `<grub/i18n.h>'.
(grub_parse_color_name_pair): Gettexttize strings.
* normal/main.c (grub_normal_reader_init): Cleanup gettexttized
string (use `print_message_indented').
* normal/menu_text.c (STANDARD_MARGIN): Moved from here to
`include/grub/normal.h'.
(print_message_indented): Renamed to ...
(grub_print_message_indented): ... this. Remove `static' qualifer (now
used in normal/main.c).
(print_message): Use `grub_print_message_indented' instead of
`print_message_indented'.
(print_timeout): Likewise.
* normal/misc.c: Include `<grub/term.h>' and `<grub/i18n.h>'.
(grub_normal_print_device_info): Gettexttize strings.
* po/POTFILES: Add `auth.c', `color.c' and `misc.c'.

14 years ago2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 21:54:12 +0000 (22:54 +0100)]
2009-12-20  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/parser.c (grub_parser_split_cmdline): Fix incorrect counting
of arguments. Return number of tokens and not arguments. All users
updated.

14 years ago2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 20:08:03 +0000 (21:08 +0100)]
2009-12-20  Vladimir Serbinenko  <phcoder@gmail.com>

* util/i386/pc/grub-setup.c (setup): Don't install on non-GPT,
non-MSDOS paritions.

14 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 19:23:11 +0000 (20:23 +0100)]
ChangeLog

14 years agoPXE environment variables
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 19:05:53 +0000 (20:05 +0100)]
PXE environment variables

14 years ago2009-12-19 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 13:09:16 +0000 (14:09 +0100)]
2009-12-19  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/types.h (UNUSED): Removed since it conflicts with
NetBSD headers. All users changed to direct __attribute__ ((unused)).
Reported by GrĂ©goire Sutre.

14 years ago2009-12-19 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 19 Dec 2009 23:00:30 +0000 (23:00 +0000)]
2009-12-19  Carles Pina i Estany  <carles@pina.cat>

* include/grub/normal.h (grub_utf8_to_ucs4): New declaration.
(grub_print_ucs4_alloc): Likewise.
(grub_getstringwidth): Likewise.
* normal/main.c (grub_normal_init_page): Gettextize version string.
* normal/menu_text.c (grub_utf8_to_ucs4_alloc): New definition.
(getstringwidth): Renamed to ...
(grub_getstringwidth): ... this. Remove `static' qualifier (now used
in normal/main.c).  Use `grub_utf8_to_ucs4_alloc'.
(grub_print_ucs4): Remove `static' qualifer (now used in
normal/main.c).
* po/POTFILES: Add normal/main.c.

14 years ago2009-12-19 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 19 Dec 2009 00:05:41 +0000 (00:05 +0000)]
2009-12-19  Carles Pina i Estany  <carles@pina.cat>

* normal/menu_text.c (STANDARD_MARGIN): New macro.
(print_message_indented): Add `margin_left' and `margin_right'
parameters.
(print_message): Update `print_message_indented' calls. Adds '\n' to the
strings.
(print_timeout): Use `print_message_indented' to print the message.
Deletes `second_stage' parameter.
(run_menu): Update `print_timeout' calls.