]> git.proxmox.com Git - grub2.git/log
grub2.git
12 years ago * util/grub-install.in: Use file identifier if no UUID is available
Vladimir 'phcoder' Serbinenko [Mon, 27 Feb 2012 01:23:14 +0000 (02:23 +0100)]
* util/grub-install.in: Use file identifier if no UUID is available
or user explicitly prompted for it.

12 years ago * grub-core/loader/i386/bsd.c (freebsd_zfsguid): New variable.
Navdeep Parhar [Mon, 27 Feb 2012 01:02:16 +0000 (02:02 +0100)]
* grub-core/loader/i386/bsd.c (freebsd_zfsguid): New variable.
(freebsd_get_zfs): New function.
(grub_freebsd_boot): Pass zfs UUID.
(grub_cmd_freebsd): Set zfs UUID.

12 years ago * conf/Makefile.common (platformdir): Base on pkglibdir and not
Vladimir 'phcoder' Serbinenko [Mon, 27 Feb 2012 00:44:10 +0000 (01:44 +0100)]
* conf/Makefile.common (platformdir): Base on pkglibdir and not
pkglibrootdir.

12 years ago Add configure flag to control libzfs integration.
Mike Gilbert [Sun, 26 Feb 2012 23:57:48 +0000 (00:57 +0100)]
Add configure flag to control libzfs integration.

* configure.ac: Add AC_ARG_ENABLE(libzfs ...) and associated logic.

12 years ago * grub-core/disk/diskfilter.c (insert_array): Choose the smallest
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 23:46:08 +0000 (00:46 +0100)]
* grub-core/disk/diskfilter.c (insert_array): Choose the smallest
device.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Reject too
small devices.

12 years ago Remove grub_{modname}_init and grub_{modname}_fini. They should never
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 23:28:45 +0000 (00:28 +0100)]
Remove grub_{modname}_init and grub_{modname}_fini. They should never
be used directly if it's really a module and GRUB_MOD_INIT shouldn't
be used on non-modules.

* grub-core/commands/boot.c (GRUB_MOD_INIT) [LOONGSON || QEMU_MIPS]:
Rename to grub_boot_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to grub_boot_fini.
* grub-core/commands/keylayouts.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_keylayouts_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to grub_keylayouts_fini.
* grub-core/font/font_cmd.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_font_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to grub_font_fini.
* grub-core/kern/mips/loongson/init.c: Replace explicit protos with
includes.
(grub_machine_init): Remove empty inits.
* grub-core/kern/mips/qemu_mips/init.c: Replace explicit protos with
includes.
(grub_machine_init): Remove empty inits.
* grub-core/term/arc/console.c: Remove explicit proto.
* grub-core/term/at_keyboard.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_at_keyboard_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to
grub_at_keyboard_fini.
* grub-core/term/gfxterm.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_gfxterm_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to
grub_gfxterm_fini.
* grub-core/term/i386/pc/vga_text.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_vgatext_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to
grub_vgatext_fini.
* grub-core/term/ieee1275/console.c: Remove explicit proto.
* grub-core/term/serial.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_serial_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to
grub_serial_fini.
* grub-core/term/terminfo.c (GRUB_MOD_INIT)
[LOONGSON || QEMU_MIPS]: Rename to grub_terminfo_init.
(GRUB_MOD_FINI) [LOONGSON || QEMU_MIPS]: Rename to
grub_terminfo_fini.
* grub-core/video/bitmap.c (GRUB_MOD_INIT): Removed.
(GRUB_MOD_FINI): Likewise.
* grub-core/video/radeon_fuloong2e.c (GRUB_MOD_INIT)
[LOONGSON]: Rename to grub_video_radeon_fuloong2e_init.
(GRUB_MOD_FINI) [LOONGSON]: Rename to
grub_video_radeon_fuloong2e_fini.
* grub-core/video/sis315pro.c (GRUB_MOD_INIT)
[LOONGSON]: Rename to grub_video_sis315pro_init.
(GRUB_MOD_FINI) [LOONGSON]: Rename to
grub_video_sis315pro_fini.
* grub-core/video/sm712.c (GRUB_MOD_INIT)
[LOONGSON]: Rename to grub_video_sm712_init.
(GRUB_MOD_FINI) [LOONGSON]: Rename to
grub_video_sm712_fini.
* include/grub/at_keyboard.h (grub_at_keyboard_init): New proto.
(grub_at_keyboard_fini): Likewise.
* include/grub/dl.h (GRUB_MOD_INIT) [!GRUB_UTIL && !EMU]:
Don't declare grub_{modname}_init.
(GRUB_MOD_INIT) [!GRUB_UTIL && !EMU]: Don't declare grub_{modname}_fini.
* include/grub/keyboard_layouts.h (grub_keylayouts_init) [!EMU]:
New proto.
(grub_keylayouts_fini) [!EMU]: Likewise.
* include/grub/serial.h (grub_serial_init) [!EMU]:
New proto.
(grub_serial_fini) [!EMU]: Likewise.
* include/grub/terminfo.h (grub_terminfo_init) [!EMU]:
New proto.
(grub_terminfo_fini) [!EMU]: Likewise.
* include/grub/video.h (grub_font_init) [!EMU]:
New proto.
(grub_font_fini) [!EMU]: Likewise.
(grub_gfxterm_init) [!EMU]: Likewise.
(grub_gfxterm_fini) [!EMU]: Likewise.
(grub_video_sm712_init) [!EMU]: Likewise.
(grub_video_sm712_fini) [!EMU]: Likewise.
(grub_video_sis315pro_init) [!EMU]: Likewise.
(grub_video_sis315pro_fini) [!EMU]: Likewise.
(grub_video_radeon_fuloong2e_init) [!EMU]: Likewise.
(grub_video_radeon_fuloong2e_fini) [!EMU]: Likewise.

12 years ago Make nand a prefix for nand devices.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:59:00 +0000 (23:59 +0100)]
Make nand a prefix for nand devices.

* grub-core/disk/ieee1275/nand.c (grub_nand_open): Use prefix nand.

12 years ago * grub-core/kern/misc.c (grub_stpcpy): Move from here ...
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:55:18 +0000 (23:55 +0100)]
* grub-core/kern/misc.c (grub_stpcpy): Move from here ...
* include/grub/misc.h (grub_stpcpy): ... to here. Inlined.

12 years ago * include/grub/env.h (grub_env_find): Remove prototype.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:53:21 +0000 (23:53 +0100)]
* include/grub/env.h (grub_env_find): Remove prototype.
* grub-core/kern/env.c (grub_env_find): Make static.
(grub_env_set): Remove useless set.

12 years ago * grub-core/kern/i386/realmode.S: Remove useless align.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:46:34 +0000 (23:46 +0100)]
* grub-core/kern/i386/realmode.S: Remove useless align.

12 years ago * include/grub/dl.h (grub_dl_load_file): Don't export.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:44:39 +0000 (23:44 +0100)]
* include/grub/dl.h (grub_dl_load_file): Don't export.

12 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_open): Remove useless
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:39:21 +0000 (23:39 +0100)]
* grub-core/disk/diskfilter.c (grub_diskfilter_open): Remove useless
grub_dprintf.

12 years ago * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Remove useless
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:36:12 +0000 (23:36 +0100)]
* grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Remove useless
grub_errors.
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Simplify by
not reloading whole superblock but only the part which is really needed.
Remove useless grub_errors.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Remove useless
grub_errors.

12 years ago Don't export grub_get_rtc.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 22:25:47 +0000 (23:25 +0100)]
Don't export grub_get_rtc.

* include/grub/i386/pc/time.h (grub_get_rtc): Don't export.
* grub-core/commands/i386/pc/play.c (play): Use grub_get_time_ms.

12 years ago * grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 21:57:26 +0000 (22:57 +0100)]
* grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip.

12 years ago * grub-core/disk/diskfilter.c (insert_array): Remove scanner_name
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 21:53:21 +0000 (22:53 +0100)]
* grub-core/disk/diskfilter.c (insert_array): Remove scanner_name
argument since it can be deduced from diskfilter. All users updated.

12 years ago Remove prio_list.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 21:49:24 +0000 (22:49 +0100)]
Remove prio_list.

* include/grub/list.h (grub_prio_list): Removed.
(GRUB_PRIO_LIST_PRIO_MASK): Removed. All users switched to
GRUB_COMMAND_PRIO_MASK.
(GRUB_PRIO_LIST_FLAG_ACTIVE): Removed. All users switched to
GRUB_COMMAND_FLAG_ACTIVE.
(grub_prio_list_insert): Removed.
(grub_prio_list_remove): Likewise.
(GRUB_AS_PRIO_LIST): Likewise.
(GRUB_AS_PRIO_LIST_P): Likewise.
* include/grub/command.h (GRUB_COMMAND_PRIO_MASK): New define.
(GRUB_COMMAND_FLAG_ACTIVE): Likewise.
* grub-core/kern/list.c (grub_prio_list_insert): Remove.
* grub-core/kern/command.c (grub_register_command_prio): Inline
the prio_list code.
(grub_unregister_command): Likewise.

12 years ago Fix interrupt mixup from previous commit.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 21:10:13 +0000 (22:10 +0100)]
Fix interrupt mixup from previous commit.

* include/grub/i386/pc/int.h (grub_i386_idt): New struct.
(grub_realidt): New var.
* grub-core/lib/i386/relocator16.S (grub_relocator16_idt): New variable
Load idt.
* grub-core/lib/i386/relocator.c (grub_relocator16_idt):
New declaration.
(grub_relocator16_boot): Set grub_relocator16_idt.
* grub-core/kern/i386/realmode.S (realidt): Renamed to ...
(LOCAL(realidt)): ... this.
* grub-core/boot/i386/pc/startup_raw.S: Pass pointer to realidt in eax.
* grub-core/kern/i386/pc/startup.S: Save pointer to realidt.
(grub_realidt): New variable.

12 years ago * grub-core/lib/i386/backtrace.c (grub_cmd_backtrace): Move from ...
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 20:04:45 +0000 (21:04 +0100)]
* grub-core/lib/i386/backtrace.c (grub_cmd_backtrace): Move from ...
* grub-core/lib/backtrace.c (grub_cmd_backtrace): ... to here.
* grub-core/lib/i386/backtrace.c (GRUB_MOD_INIT): Move from ...
* grub-core/lib/backtrace.c (GRUB_MOD_INIT): ... to here.
Gettextize.
* grub-core/lib/i386/backtrace.c (GRUB_MOD_FINI): Move from ...
* grub-core/lib/backtrace.c (GRUB_MOD_FINI): ... to here.
* po/POTFILES.in: Regenerate.

12 years ago * grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 19:36:09 +0000 (20:36 +0100)]
* grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label
errors.

12 years ago * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 19:32:37 +0000 (20:32 +0100)]
* grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on
\0.
(add_length): Likewise.

12 years ago GDB serial and backtrace support.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 19:31:03 +0000 (20:31 +0100)]
GDB serial and backtrace support.

* grub-core/kern/i386/realmode.S (real_to_prot): Reload IDT.
(prot_to_real): Likewise.
* grub-core/kern/i386/int.S (grub_bios_interrupt): Remove IDT reload.
* grub-core/Makefile.core.def (backtrace): New module.
(gdb): Likewise.
* grub-core/gdb/cstub.c: New file.
* grub-core/gdb/gdb.c: Likewise.
* grub-core/gdb/i386/idt.c: Likewise.
* grub-core/gdb/i386/machdep.S: Likewise.
* grub-core/gdb/i386/signal.c: Likewise.
* grub-core/lib/i386/backtrace.c: Likewise.
* grub-core/lib/backtrace.c: Likewise.
* include/grub/backtrace.h: Likewise.
* include/grub/gdb.h: Likewise.
* include/grub/i386/gdb.h: Likewise.

12 years ago GDB serial and backtrace support.
Lubomir Kundrak [Sun, 26 Feb 2012 18:17:37 +0000 (19:17 +0100)]
GDB serial and backtrace support.

* grub-core/kern/i386/realmode.S (real_to_prot): Reload IDT.
(prot_to_real): Likewise.
* grub-core/kern/i386/int.S (grub_bios_interrupt): Remove IDT reload.
* grub-core/Makefile.core.def (backtrace): New module.
(gdb): Likewise.
* grub-core/gdb/cstub.c: New file.
* grub-core/gdb/gdb.c: Likewise.
* grub-core/gdb/i386/idt.c: Likewise.
* grub-core/gdb/i386/machdep.S: Likewise.
* grub-core/gdb/i386/signal.c: Likewise.
* grub-core/lib/i386/backtrace.c: Likewise.
* include/grub/backtrace.h: Likewise.
* include/grub/gdb.h: Likewise.
* include/grub/i386/gdb.h: Likewise.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
12 years agoSeveral cleanups
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 18:10:52 +0000 (19:10 +0100)]
Several cleanups

12 years ago * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len):
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 18:07:59 +0000 (19:07 +0100)]
* grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len):
New function.
(add_length): Likewise.
(__argp_fmtstream_update): Handle strings with non-ASCII chars.
* grub-core/gnulib/argp-fmtstream.h (__argp_get_display_len): New
proto.
* grub-core/gnulib/argp-help.c (argp_args_usage): Use
__argp_get_display_len.

12 years ago $"..." support in scripts.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 18:02:46 +0000 (19:02 +0100)]
$"..." support in scripts.

* grub-core/script/execute.c (grub_script_arglist_to_argv): Handle
GRUB_SCRIPT_ARG_TYPE_GETTEXT.
* grub-core/script/yylex.l: Likewise.
* include/grub/script_sh.h (GRUB_SCRIPT_ARG_TYPE_GETTEXT): New enum
value.

12 years ago * gentpl.py: Remove obsolete pkglib_DATA handling.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 17:54:30 +0000 (18:54 +0100)]
* gentpl.py: Remove obsolete pkglib_DATA handling.

12 years ago Don't transform PACKAGE_TARNAME following a discussion on autoconf
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 17:37:54 +0000 (18:37 +0100)]
Don't transform PACKAGE_TARNAME following a discussion on autoconf
mailing list.

* util/grub-install.in: Don't transform PACKAGE_TARNAME.
* util/grub-kbdcomp.in: Likewise.
* util/grub-mkconfig.in: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub-mknetdir.in: Likewise.
* util/grub-mkrescue.in: Likewise.
* util/grub-mkstandalone.in: Likewise.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.

12 years ago Remove GRUB_PREFIX.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 17:21:31 +0000 (18:21 +0100)]
Remove GRUB_PREFIX.

* util/grub-mkconfig.in: Remove GRUB_PREFIX.
* util/grub.d/00_header.in: Compute prefix in the only place it's still
used for backward compatibility.

12 years ago Add new all_video module.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 17:09:07 +0000 (18:09 +0100)]
Add new all_video module.

* grub-core/Makefile.am (moddep.lst): Make dependent on video.lst.
* grub-core/Makefile.core.def (all_video): New module.
* grub-core/genmoddep.awk: Generate dependency of all_video from
video.lst.
* grub-core/lib/fake_module.c: New file.
* grub-core/normal/main.c (features): Add feature_all_video_module.
* util/grub.d/00_header.in: Define locale_dir based on $prefix and
don't do explicit search again.
insmod all_video in load_video if available.

12 years ago Another round of string clarification and adding TRANSLATORS comments.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 16:28:05 +0000 (17:28 +0100)]
Another round of string clarification and adding TRANSLATORS comments.

12 years ago * util/grub-mknetdir.in: Remove erroneous reference to install_device.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 16:23:26 +0000 (17:23 +0100)]
* util/grub-mknetdir.in: Remove erroneous reference to install_device.

12 years ago * grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Fix return type
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 16:20:30 +0000 (17:20 +0100)]
* grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Fix return type
to grub_ssize_t.
* grub-core/normal/main.c (grub_normal_init_page): Fix msg_len type.
* include/grub/charset.h (grub_utf8_to_ucs4_alloc): Fix prototype.

12 years ago * grub-core/normal/menu_text.c (grub_print_message_indented_real): Add
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 16:16:05 +0000 (17:16 +0100)]
* grub-core/normal/menu_text.c (grub_print_message_indented_real): Add
trailing newline implicitly. All users updated.

12 years ago Implement serial on IEEE1275 and EFI.
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 16:08:11 +0000 (17:08 +0100)]
Implement serial on IEEE1275 and EFI.

* docs/grub.texi (Platform-specific limitations): Fix the columen video
on emu. Mention arc and emu as the only platforms without serial
support.
* grub-core/Makefile.core.def (serial): Enable on all terminfomodule and
ieee1275 platforms.
* grub-core/term/efi/serial.c: New file.
* grub-core/term/ieee1275/serial.c: Likewise.
* grub-core/term/serial.c (grub_serial_find): Disable direct port
specification if no ns8250 driver is available.
(grub_cmd_serial): Likewise.
(GRUB_MOD_INIT) [GRUB_MACHINE_IEEE1275]: Init ofserial.
(GRUB_MOD_INIT) [GRUB_MACHINE_EFI]: Init efiserial.
* include/grub/efi/api.h (GRUB_EFI_SERIAL_IO_GUID): New define.
(grub_efi_parity_type_t): New type.
(grub_efi_stop_bits_t): Likewise.
(grub_efi_serial_io_interface): New struct.
* include/grub/serial.h (grub_serial_port): Make 'broken' field
available for all interfaces.
Add EFI and IEEE1275 fields.
(grub_ofserial_init): New proto.
(grub_efiserial_init): Likeiwse.
* util/grub.d/00_header.in: Don't check for the presence of serial
module.

12 years ago * grub-core/disk/ieee1275/ofdisk.c (scan): Fix improper use of device
Vladimir 'phcoder' Serbinenko [Sun, 26 Feb 2012 15:51:25 +0000 (16:51 +0100)]
* grub-core/disk/ieee1275/ofdisk.c (scan): Fix improper use of device
name as if it was an alias.

12 years ago * grub-core/commands/lsacpi.c (options): Fix typo.
Vladimir 'phcoder' Serbinenko [Sat, 25 Feb 2012 22:04:30 +0000 (23:04 +0100)]
* grub-core/commands/lsacpi.c (options): Fix typo.

12 years ago Convert grub-emu to argp.
Vladimir 'phcoder' Serbinenko [Sat, 25 Feb 2012 00:15:29 +0000 (01:15 +0100)]
Convert grub-emu to argp.

* grub-core/Makefile.core.def (kernel): Add kern/emu/argp_common.c on
emu.
* util/argp_common.c: Rename to ...
* grub-core/kern/emu/argp_common.c: ... this. All users updated.
Add missing includes.
* grub-core/kern/emu/main.c: Convert to argp.
* po/POTFILES.in: Regenerate.
* util/grub-install.in (usage): Make first letter lowcase in messages
for uniformity.
* util/grub-setup.c (options): Likewise.

12 years ago * grub-core/gfxmenu/gui_progress_bar.c (progress_bar_set_property):
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 21:40:05 +0000 (22:40 +0100)]
* grub-core/gfxmenu/gui_progress_bar.c (progress_bar_set_property):
Put back accidently commented-out code.

12 years ago * grub-core/fs/hfsplus.c (grub_hfsplus_btree_iterate_node): Add btree
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 21:28:45 +0000 (22:28 +0100)]
* grub-core/fs/hfsplus.c (grub_hfsplus_btree_iterate_node): Add btree
loop check using Brent algorithm.
(grub_hfsplus_btree_search): Likewise.

12 years ago * util/grub-install.in: Fix usage of wrong device for PreP install.
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 11:35:38 +0000 (12:35 +0100)]
* util/grub-install.in: Fix usage of wrong device for PreP install.

12 years ago * conf/Makefile.common (CFLAGS_GNULIB): Add
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 11:30:32 +0000 (12:30 +0100)]
* conf/Makefile.common (CFLAGS_GNULIB): Add
-Wno-unsafe-loop-optimizations.
* configure.ac: Remove -Wmissing-declarations and -Wmissing-prototypes
on tools.
* grub-core/commands/legacycfg.c: Add pragma to skip
-Wunsafe-loop-optimizations.
(check_password_md5_real): Fix loop counter type.
* grub-core/commands/testload.c (grub_cmd_testload): Fix over the EOF
reading.
* grub-core/disk/ldm.c (grub_util_get_ldm): Fix logic error.
* grub-core/fs/zfs/zfs_sha256.c (zio_checksum_SHA256): Add safety
loop condition.
* grub-core/io/gzio.c: Add pragma to skip -Wunsafe-loop-optimizations.
* grub-core/lib/LzmaEnc.c (GetOptimum): Avoid possible infinite loop.
* grub-core/net/net.c (grub_net_route_address): Add safety loop
condition.
* grub-core/normal/charset.c (bidi_line_wrap): Likewise.
* grub-core/normal/cmdline.c (grub_set_history): Fix loop types and
avoid possible infinite loops.
* grub-core/script/parser.y: Add pragma to skip -Wmissing-declarations
and -Wunsafe-loop-optimizations.
* grub-core/script/yylex.l: Likewise.
* util/grub-mkfont.c: Add pragma to skip -Wunsafe-loop-optimizations.
(print_glyphs): Avoid infinite loops.
* util/grub-mkimage.c (compress_kernel_xz): Fix format security.

12 years ago * grub-core/commands/lsacpi.c (disp_acpi_xsdt_table): Fix loop condition
Grégoire Sutre [Fri, 24 Feb 2012 10:48:07 +0000 (11:48 +0100)]
* grub-core/commands/lsacpi.c (disp_acpi_xsdt_table): Fix loop condition
to avoid infinite loop.
(disp_acpi_rsdt_table): Likewise.

12 years ago * grub-core/font/font.c (grub_font_load): Add support for default
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 10:18:06 +0000 (11:18 +0100)]
* grub-core/font/font.c (grub_font_load): Add support for default
path for fonts ($prefix/fonts).
* grub-core/kern/corecmd.c (grub_core_cmd_insmod): Unify condition
for checking if string is a path.
* grub-core/normal/main.c (features): Add feature_default_font_path.
* util/grub-mkconfig.in: Skip mangling of GRUB_FONT into GRUB_FONT_PATH.
* util/grub.d/00_header.in: Use default directory if possible.
* util/grub-install.in: Install unicode.pf2.

12 years ago * po/README: Add de_CH and en@quot to po/LINGUAS generation command.
Vladimir 'phcoder' Serbinenko [Fri, 24 Feb 2012 09:31:24 +0000 (10:31 +0100)]
* po/README: Add de_CH and en@quot to po/LINGUAS generation command.
* po/Rules-swiss: New file.
* po/swiss.sed: Likewise.

12 years ago * grub-core/fs/btrfs.c (find_device): Fix typos.
Vladimir 'phcoder' Serbinenko [Thu, 23 Feb 2012 21:27:25 +0000 (22:27 +0100)]
* grub-core/fs/btrfs.c (find_device): Fix typos.
* grub-core/fs/zfs/zfs.c (read_device): Likewise.
* util/grub-mkrelpath.c (argp_parser): Likewise.
Reported by: Yuri Chornoivan.

12 years ago * grub-core/gfxmenu/gui_label.c (label_set_property): Add template
Dalet Omega [Thu, 23 Feb 2012 16:30:19 +0000 (17:30 +0100)]
* grub-core/gfxmenu/gui_label.c (label_set_property): Add template
for usual informative messages.

12 years ago Starfield theme.
Dalet Omega [Thu, 23 Feb 2012 16:21:38 +0000 (17:21 +0100)]
Starfield theme.

* Makefile.am: Define starfield_DATA and dejavu.pf2 generation.
* conf/Makefile.common: Define starfielddir.
* configure.ac: Configure starfield.
* themes/starfield/COPYING.CC-BY-SA-3.0: New file.
* themes/starfield/README: Likewise.
* themes/starfield/blob_w.png: Likewise.
* themes/starfield/boot_menu_c.png: Likewise.
* themes/starfield/boot_menu_e.png: Likewise.
* themes/starfield/boot_menu_n.png: Likewise.
* themes/starfield/boot_menu_ne.png: Likewise.
* themes/starfield/boot_menu_nw.png: Likewise.
* themes/starfield/boot_menu_s.png: Likewise.
* themes/starfield/boot_menu_se.png: Likewise.
* themes/starfield/boot_menu_sw.png: Likewise.
* themes/starfield/boot_menu_w.png: Likewise.
* themes/starfield/slider_c.png: Likewise.
* themes/starfield/slider_n.png: Likewise.
* themes/starfield/slider_s.png: Likewise.
* themes/starfield/src/blob_nw.xcf: Likewise.
* themes/starfield/src/bootmenu/: Likewise.
* themes/starfield/src/bootmenu/center.xcf: Likewise.
* themes/starfield/src/bootmenu/corner.xcf: Likewise.
* themes/starfield/src/bootmenu/side.xcf: Likewise.
* themes/starfield/src/slider_c.xcf: Likewise.
* themes/starfield/src/slider_n.xcf: Likewise.
* themes/starfield/src/slider_s.xcf: Likewise.
* themes/starfield/src/terminalbox/: Likewise.
* themes/starfield/src/terminalbox/center.xcf: Likewise.
* themes/starfield/src/terminalbox/corner.xcf: Likewise.
* themes/starfield/src/terminalbox/side.xcf: Likewise.
* themes/starfield/starfield.png: Likewise.
* themes/starfield/terminal_box_c.png: Likewise.
* themes/starfield/terminal_box_e.png: Likewise.
* themes/starfield/terminal_box_n.png: Likewise.
* themes/starfield/terminal_box_ne.png: Likewise.
* themes/starfield/terminal_box_nw.png: Likewise.
* themes/starfield/terminal_box_s.png: Likewise.
* themes/starfield/terminal_box_se.png: Likewise.
* themes/starfield/terminal_box_sw.png: Likewise.
* themes/starfield/terminal_box_w.png: Likewise.
* themes/starfield/theme.txt: Likewise.

12 years agoUpdate .bzrignore
Richard Laager [Thu, 23 Feb 2012 06:25:45 +0000 (07:25 +0100)]
Update .bzrignore

12 years ago * util/grub.d/00_header.in: Add missing export theme.
Vladimir 'phcoder' Serbinenko [Thu, 23 Feb 2012 05:26:00 +0000 (06:26 +0100)]
* util/grub.d/00_header.in: Add missing export theme.

12 years ago * util/ieee1275/ofpath.c: Remove include of malloc.h since stdlib is
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 15:50:14 +0000 (16:50 +0100)]
* util/ieee1275/ofpath.c: Remove include of malloc.h since stdlib is
already included.
Reported by: Eren D.

12 years ago * conf/Makefile.common (grubdatadir): Removed.
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 15:27:39 +0000 (16:27 +0100)]
* conf/Makefile.common (grubdatadir): Removed.
(Makefile.am): Move eveything grubdata to pkgdata.

12 years ago * grub-core/commands/acpihalt.c (get_sleep_type):
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 15:25:35 +0000 (16:25 +0100)]
* grub-core/commands/acpihalt.c (get_sleep_type):
Remove unused variable.

12 years ago * include/grub/acpi.h (GRUB_ASCII_OPCODE): Add
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 15:02:03 +0000 (16:02 +0100)]
* include/grub/acpi.h (GRUB_ASCII_OPCODE): Add
GRUB_ACPI_OPCODE_STRING_CONST, GRUB_ACPI_OPCODE_BUFFER,
GRUB_ACPI_OPCODE_CREATE_WORD_FIELD
and GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD.
* grub-core/commands/acpihalt.c [GRUB_DSDT_TEST]: Replace include of
i18n with gettext no-op.
(skip_data_ref_object): Support GRUB_ACPI_OPCODE_BUFFER and
GRUB_ACPI_OPCODE_STRING_CONST.
(get_sleep_type): Support GRUB_ACPI_OPCODE_CREATE_WORD_FIELD and
GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD. Add handling of unknown opcodes.

12 years ago * po/POTFILES.in: Regenerate.
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:50:36 +0000 (05:50 +0100)]
* po/POTFILES.in: Regenerate.

12 years ago * Makefile.util.def (libgrubmods.a): Add -Wno-error=logical-op
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:37:32 +0000 (05:37 +0100)]
* Makefile.util.def (libgrubmods.a): Add -Wno-error=logical-op
-Wno-error=missing-noreturn.

12 years ago * grub-core/fs/affs.c (grub_affs_read_block): Avoid <= in loop
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:22:39 +0000 (05:22 +0100)]
* grub-core/fs/affs.c (grub_affs_read_block): Avoid <= in loop
condition to avoid possibly infinite loops.
* grub-core/lib/pbkdf2.c (grub_crypto_pbkdf2): Likewise.
* grub-core/lib/xzembed/xz_dec_bcj.c (bcj_powerpc): Likewise.

12 years ago * grub-core/normal/charset.c (bidi_line_wrap): Avoid <= in loop
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:19:11 +0000 (05:19 +0100)]
* grub-core/normal/charset.c (bidi_line_wrap): Avoid <= in loop
condition to avoid possibly infinite loops.

12 years ago * grub-core/kern/emu/hostdisk.c (read_device_map): Add missing noreturn
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:16:26 +0000 (05:16 +0100)]
* grub-core/kern/emu/hostdisk.c (read_device_map): Add missing noreturn
on show_error.

12 years ago * grub-core/kern/disk.c (grub_disk_write): Add missing const qualifier.
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:12:18 +0000 (05:12 +0100)]
* grub-core/kern/disk.c (grub_disk_write): Add missing const qualifier.

12 years ago * grub-core/kern/corecmd.c (grub_core_cmd_ls): Add missing var init.
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:09:08 +0000 (05:09 +0100)]
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Add missing var init.

12 years ago * util/bin2h.c (usage): Add missing attribute noreturn.
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:06:58 +0000 (05:06 +0100)]
* util/bin2h.c (usage): Add missing attribute noreturn.

12 years ago * grub-core/commands/testload.c (grub_cmd_testload): Fix overflow
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:04:54 +0000 (05:04 +0100)]
* grub-core/commands/testload.c (grub_cmd_testload): Fix overflow
if the size isn't divisible by 512.

12 years ago Make list_push and list_remove functions rather than inline functions
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 04:01:20 +0000 (05:01 +0100)]
Make list_push and list_remove functions rather than inline functions
to decrease size and avoid aliasing violations.

* include/grub/list.h (grub_list_push): Move to ...
* grub-core/kern/list.c (grub_list_push): ... here. Don't inline.
* include/grub/list.h (grub_list_remove): Move to ...
* grub-core/kern/list.c (grub_list_remove): ... here. Don't inline.

12 years ago * configure.ac: Disable for now -Wstack-protector, -Wunreachable-code
Vladimir 'phcoder' Serbinenko [Wed, 22 Feb 2012 03:56:45 +0000 (04:56 +0100)]
* configure.ac: Disable for now -Wstack-protector, -Wunreachable-code
and -Wunused-result.

12 years ago * grub-core/net/net.c (grub_cmd_deladdr): Fix index.
Vladimir 'phcoder' Serbinenko [Tue, 21 Feb 2012 15:16:45 +0000 (16:16 +0100)]
* grub-core/net/net.c (grub_cmd_deladdr): Fix index.
Reported by: Seth Goldberg

12 years ago * configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.
Vladimir 'phcoder' Serbinenko [Tue, 21 Feb 2012 14:26:16 +0000 (15:26 +0100)]
* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.

12 years ago2012-02-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
Samuel Thibault [Sun, 19 Feb 2012 16:06:00 +0000 (17:06 +0100)]
2012-02-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* util/grub-mkconfig.in (GRUB_CMDLINE_GNUMACH): Export variable.
* util/grub.d/10_hurd.in: Include GRUB_CMDLINE_GNUMACH in gnumach
command line.
* docs/grub.texi (Simple configuration): Document
GRUB_CMDLINE_GNUMACH.

12 years agomerge mainline into gdb
Vladimir 'phcoder' Serbinenko [Sat, 18 Feb 2012 20:00:13 +0000 (21:00 +0100)]
merge mainline into gdb

12 years agomerge backtrace into gdb
Vladimir 'phcoder' Serbinenko [Sat, 18 Feb 2012 19:59:42 +0000 (20:59 +0100)]
merge backtrace into gdb

12 years ago * conf/Makefile.common (platform_SCRIPTS): New variable.
Vladimir 'phcoder' Serbinenko [Sat, 18 Feb 2012 19:25:11 +0000 (20:25 +0100)]
* conf/Makefile.common (platform_SCRIPTS): New variable.
(platform_PROGRAMS): Likewise.
* gentpl.py: Mark *,module and *.image for install.
* grub-core/gdb_grub.in: Add a notice of expected environment.
* grub-core/Makefile.core.def (gdb_grub): Mark for install.
(gmodule.pl): Likewise.

12 years ago Replace grub_checkkey with grub_getkey_noblock.
Vladimir 'phcoder' Serbinenko [Sat, 18 Feb 2012 18:59:01 +0000 (19:59 +0100)]
Replace grub_checkkey with grub_getkey_noblock.

* grub-core/kern/term.c (grub_checkkey): Replaced with ...
(grub_getkey_noblock): ... this. All users updated.

12 years ago * grub-core/kern/emu/console.c: Move to ...
Vladimir 'phcoder' Serbinenko [Sat, 18 Feb 2012 18:51:43 +0000 (19:51 +0100)]
* grub-core/kern/emu/console.c: Move to ...
* grub-core/term/emu/console.c: ...here.
(grub_ncurses_getkey): Fix return value if no key is detected.

12 years ago * include/grub/test.h (grub_unit_test_init): Add missing prototype.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 21:04:55 +0000 (22:04 +0100)]
* include/grub/test.h (grub_unit_test_init): Add missing prototype.
(grub_unit_test_fini): Likewise.
* tests/lib/unit_test.c (main): Remove extra nested external prototype.

12 years ago * grub-core/script/execute.c (grub_script_break): Clarify logic.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 20:33:48 +0000 (21:33 +0100)]
* grub-core/script/execute.c (grub_script_break): Clarify logic.
Better error handling.
(grub_script_return): Likewise.
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Likewise.

12 years ago * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (__GNU_LIBRARY__): Avoid
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:34:08 +0000 (19:34 +0100)]
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (__GNU_LIBRARY__): Avoid
rimplicit redifinition.

12 years ago * docs/grub.texi (Internationalisation): Detail (lack of) collation in
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:29:18 +0000 (19:29 +0100)]
* docs/grub.texi (Internationalisation): Detail (lack of) collation in
GRUB.

12 years ago * grub-core/normal/cmdline.c (grub_cmdline_get): Don't gettext prompt.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:24:23 +0000 (19:24 +0100)]
* grub-core/normal/cmdline.c (grub_cmdline_get): Don't gettext prompt.
* grub-core/normal/main.c (grub_normal_read_line_real): Gettext
prompt here.

12 years ago * grub-core/fs/zfs/zfs.c (zfs_fetch_nvlist): Mark unknown member here
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:19:57 +0000 (19:19 +0100)]
* grub-core/fs/zfs/zfs.c (zfs_fetch_nvlist): Mark unknown member here
as GRUB_ERR_BUG. Don't malloc if no device is available.

12 years ago * grub-core/term/terminfo.c (grub_terminfo_output_unregister):
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:16:49 +0000 (19:16 +0100)]
* grub-core/term/terminfo.c (grub_terminfo_output_unregister):
Mark calling with invalid term as GRUB_ERR_BUG.

12 years ago * grub-core/net/tftp.c (tftp_receive): Silently discard too short
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:11:06 +0000 (19:11 +0100)]
* grub-core/net/tftp.c (tftp_receive): Silently discard too short
packets rather than raising an error.

12 years ago * grub-core/loader/xnu.c (grub_xnu_writetree_toheap_real): Avoid set
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:08:55 +0000 (19:08 +0100)]
* grub-core/loader/xnu.c (grub_xnu_writetree_toheap_real): Avoid set
in if.

12 years ago * grub-core/loader/efi/appleloader.c (grub_cmd_appleloader): Move
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:03:14 +0000 (19:03 +0100)]
* grub-core/loader/efi/appleloader.c (grub_cmd_appleloader): Move
diagnostic to dprintf.
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.

12 years ago * grub-core/kern/corecmd.c (grub_core_cmd_ls): Handle error in parsing
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 18:00:50 +0000 (19:00 +0100)]
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Handle error in parsing
device name.

12 years ago * grub-core/fs/ntfs.c (locate_attr): Avoid set in if.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 17:47:46 +0000 (18:47 +0100)]
* grub-core/fs/ntfs.c (locate_attr): Avoid set in if.
(grub_ntfs_iterate_dir): Likewise.

12 years ago Efiemu stylistic fixes and gettext.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 17:43:39 +0000 (18:43 +0100)]
Efiemu stylistic fixes and gettext.

* grub-core/efiemu/i386/loadcore32.c
(grub_arch_efiemu_relocate_symbols32): Avoid set in if.
* grub-core/efiemu/i386/loadcore64.c
(grub_arch_efiemu_relocate_symbols64): Likewise.
* grub-core/efiemu/i386/pc/cfgtables.c
(grub_machine_efiemu_init_tables): Likewise.
* grub-core/efiemu/loadcore.c (grub_efiemu_resolve_symbols): Likewise.
(grub_efiemu_loadcore_initXX): Add a filename argument.
All users updated.
Improved error message.
* grub-core/efiemu/loadcore_common.c (grub_efiemu_loadcore_init):
Add a filename argument.
All users updated.
* grub-core/efiemu/symbols.c (grub_efiemu_set_virtual_address_map):
Reclassify double relocation as GRUB_ERR_BUG.

12 years ago * grub-core/commands/i386/pc/play.c (grub_cmd_play): Improve error
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 16:38:13 +0000 (17:38 +0100)]
* grub-core/commands/i386/pc/play.c (grub_cmd_play): Improve error
handling.

12 years ago * grub-core/commands/hdparm.c (grub_cmd_hdparm): Allow running
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 16:36:33 +0000 (17:36 +0100)]
* grub-core/commands/hdparm.c (grub_cmd_hdparm): Allow running
on partition.

12 years ago * include/grub/misc.h (grub_error_save): Fix cleaning grub_errno.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 16:21:09 +0000 (17:21 +0100)]
* include/grub/misc.h (grub_error_save): Fix cleaning grub_errno.

12 years ago Improve string. Gettextize.
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 14:25:25 +0000 (15:25 +0100)]
Improve string. Gettextize.

12 years agoRemove prio_list
Vladimir 'phcoder' Serbinenko [Sun, 12 Feb 2012 02:52:17 +0000 (03:52 +0100)]
Remove prio_list

12 years ago * configure.ac: Remove -Winline altogether and -Wmissing-prototypes on
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 11:21:21 +0000 (12:21 +0100)]
* configure.ac: Remove -Winline altogether and -Wmissing-prototypes on
utils.
* util/import_gcry.py: Add -Wno-strict-aliasing on checked modules.

12 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_print_partmap)
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 10:57:47 +0000 (11:57 +0100)]
* grub-core/disk/diskfilter.c (grub_diskfilter_print_partmap)
[GRUB_UTIL]: New function.
(insert_array) [GRUB_UTIL]: Store partmaps.
* include/grub/diskfilter.h (grub_diskfilter_pv) [GRUB_UTIL]: New member
partmaps.
(grub_diskfilter_print_partmap) [GRUB_UTIL]: New proto.
* util/grub-probe.c (probe_partmap): Call grub_diskfilter_print_partmap.
(probe_abstraction): Print diskfilter and not raid.
Reported by: Lennart Sorensen

12 years ago * util/grub-mkimage.c (generate_image): Explicitly init decompress_size.
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 10:50:10 +0000 (11:50 +0100)]
* util/grub-mkimage.c (generate_image): Explicitly init decompress_size.
* util/grub-mkimagexx.c (MASK3): New define.
(add_value_to_slot_20b): Use MASK3.
(add_value_to_slot_21): Likewise.
(relocate_addresses): Fix format specification.
(load_image): Explicitly init symtab_section.

12 years ago * util/getroot.c (grub_find_root_devices_from_mountinfo): Fix types.
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 10:41:22 +0000 (11:41 +0100)]
* util/getroot.c (grub_find_root_devices_from_mountinfo): Fix types.
(grub_util_biosdisk_get_grub_dev): Fix format specification.

12 years ago * grub-core/kern/emu/full.c (grub_arch_dl_get_tramp_got_size): Enable
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 10:35:54 +0000 (11:35 +0100)]
* grub-core/kern/emu/full.c (grub_arch_dl_get_tramp_got_size): Enable
on powerpc.
Reported by: Lennart Sorensen

12 years ago * gentpl.py: Add missing license header.
Vladimir 'phcoder' Serbinenko [Sat, 11 Feb 2012 10:31:13 +0000 (11:31 +0100)]
* gentpl.py: Add missing license header.
* docs/grub.texi: Update copyright year.

12 years agoSource grub-mkconfig_lib from the build directory at build time.
Grégoire Sutre [Fri, 10 Feb 2012 17:16:27 +0000 (18:16 +0100)]
Source grub-mkconfig_lib from the build directory at build time.

12 years ago Increase warning level.
Vladimir 'phcoder' Serbinenko [Fri, 10 Feb 2012 15:48:48 +0000 (16:48 +0100)]
Increase warning level.

* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-redundant-decls
-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition.
* configure.ac (HOST_CFLAGS): Add bunch of -W arguments.
(TARGET_CFLAGS): Likewise.
(HOST_CFLAGS): Add -Werror unless --disable-werror is activated.
* grub-core/Makefile.core.def (decompressor_xz): Add
-Wno-unreachable-code.
(normal): Add -Wno-redundant-decls.
(xzio): Add -Wno-unreachable-code.
(lzopio): Add -Wno-redundant-decls -Wno-error.
* grub-core/commands/acpi.c: Add exception to -Wcast-align.
* grub-core/commands/lsacpi.c: Add exception to -Wcast-align.
* grub-core/gensymlist.sh: Add exception to -Wmissing-format-attribute.
* grub-core/kern/dl.c: Add exception to -Wcast-align.
* grub-core/kern/efi/efi.c (grub_efi_modules_addr): Likewise.
* grub-core/kern/i386/coreboot/init.c: Add exception to
-Wsuggest-attribute=noreturn.
* grub-core/kern/ia64/dl.c: Add exception to -Wcast-align.
* grub-core/kern/ia64/dl_helper.c: Likewise.
* grub-core/kern/mips/dl.c: Likewise.
* grub-core/kern/sparc64/dl.c: Likewise.
* grub-core/lib/LzmaEnc.c: Add exception to -Wshadow.
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (memcpy): Likewise.
(memcmp): Likewise.
* grub-core/lib/pbkdf2.c: Add exception to -Wunreachable-code.
* grub-core/loader/ia64/efi/linux.c: Add exception to -Wcast-align.
* grub-core/loader/mips/linux.c: Likewise.
* grub-core/loader/multiboot_elfxx.c: Likewise.
* grub-core/script/parser.y: Add exception to -Wunreachable-code.
* grub-core/video/sm712.c: Add exception to -Wcast-align.
* util/import_gcry.py: Add -Wno-cast-align to modules checked by hand.
* grub-core/font/font.c (grub_font_loader_init): Add explicit cast and
fixme.
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_init):
Fix prototype.

12 years ago * grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute
Vladimir 'phcoder' Serbinenko [Fri, 10 Feb 2012 13:47:06 +0000 (14:47 +0100)]
* grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute
address.