]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years ago2010-10-05 Jordan Uggla <jordan.uggla@gmail.com>
Colin Watson [Tue, 5 Jan 2010 10:30:14 +0000 (10:30 +0000)] 
2010-10-05  Jordan Uggla  <jordan.uggla@gmail.com>
2010-10-05  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-mkconfig_lib.in (save_default_entry): Only set
saved_entry if boot_once is unset.
* util/grub.d/00_header.in: Set boot_once to "true" if there was a
previous saved entry (i.e. grub-reboot).

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 01:02:08 +0000 (01:02 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Call save_default_entry for hurd.

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 01:01:21 +0000 (01:01 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/00_header.in: Use `set var=val' rather than plain
`var=val'.
* util/grub-mkconfig_lib.in (save_default_entry): Likewise.

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 01:00:26 +0000 (01:00 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-reboot.in: Fix --version output.
* util/grub-set-default.in: Likewise.

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 00:59:26 +0000 (00:59 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/00_header.in: Silently ignore zero-sized environment
blocks.

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 00:57:46 +0000 (00:57 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/00_header.in: Quote the value assigned to `default',
in case it contains spaces.

15 years ago2009-12-08 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 8 Dec 2009 00:56:39 +0000 (00:56 +0000)] 
2009-12-08  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Fix merge error that moved a
`save_default_entry' call from the macosx case to the linux case.

15 years agomerge from trunk
Colin Watson [Tue, 8 Dec 2009 00:55:17 +0000 (00:55 +0000)] 
merge from trunk

15 years ago2009-12-08 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Tue, 8 Dec 2009 00:08:52 +0000 (00:08 +0000)] 
2009-12-08  Carles Pina i Estany  <carles@pina.cat>

* include/grub/misc.h (grub_printf_): New declaration.
* kern/misc.c (grub_printf_): New definition.
* normal/main.c (grub_normal_reader_init): Use `grub_printf_' and `N_'
instead of `grub_printf' and `_'.
* normal/menu_entry.c (store_completion): Likewise.
(run): Likewise.
(grub_menu_entry_run): Likewise.
* normal/menu_text.c (grub_wait_after_message): Likewise.
(notify_booting): Likewise.
(notify_fallback): Likewise.
(notify_execution_failure): Likewise.

15 years ago2009-12-07 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Mon, 7 Dec 2009 16:46:24 +0000 (16:46 +0000)] 
2009-12-07  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: Check for vasprintf.
* util/misc.c (asprintf): Move allocation from here ...
(vasprintf): ... to here.  New function.
(xasprintf): New function.
* include/grub/util/misc.h (vasprintf, xasprintf): Add
prototypes.
* util/getroot.c (grub_util_get_grub_dev): Use xasprintf.
* util/grub-mkfont.c (write_font): Likewise.
* util/grub-probe.c (probe): Likewise.
* util/hostdisk.c (make_device_name): Likewise.

15 years ago2009-12-06 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Mon, 7 Dec 2009 10:54:25 +0000 (11:54 +0100)] 
2009-12-06  David S. Miller  <davem@sunset.davemloft.net>

* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Recognize
anything even prefixed with 'cdrom' as a cdrom.

15 years ago2009-12-06 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Sun, 6 Dec 2009 09:20:01 +0000 (10:20 +0100)] 
2009-12-06 Felix Zielcke <fzielcke@z-51.de>

* util/misc.c (make_system_path_relative_to_its_root): Correctly cope with
mount points.

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

* gettext/gettext.c: Include `<grub/list.h>'. Define grub_gettext_msg,
grub_gettext_msg_list.
(grub_gettext_gettranslation_from_position): Return const char *
and not char *.
(grub_gettext_translate): Add the translated strings into a list,
returns from the list if existing there.
(grub_gettext_init_ext): Add \n at the end of grub_dprintf string.
(grub_gettext_delete_list): Delete the list.
(grub_gettext_env_write_lang): Call grub_gettext_delete_list when
lang environment variable is changed.
(GRUB_MOD_FINI): Call grub_gettext_delete_list.

15 years ago2009-12-05 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 5 Dec 2009 16:10:36 +0000 (17:10 +0100)] 
2009-12-05  Vladimir Serbinenko  <phcoder@gmail.com>

Rename kernel.mod to kernel.img.

* conf/i386-efi.rmk (pkglib_MODULES): Change kernel.mod to kernel.img.
(kernel_mod_EXPORTS): Rename to ...
(kernel_img_EXPORTS): ... this.
(kernel_mod_SOURCES): Rename to ...
(kernel_img_SOURCES): ... this.
(kernel_mod_HEADERS): Rename to ...
(kernel_img_HEADERS): ... this. All users updated.
(kernel_mod_CFLAGS): Rename to ...
(kernel_img_CFLAGS): ... this.
(kernel_mod_ASFLAGS): Rename to ...
(kernel_img_ASFLAGS): ... this.
(kernel_mod_LDFLAGS): Rename to ...
(kernel_img_LDFLAGS): ... this.
* conf/x86_64-efi.rmk: Likewise.
* util/i386/efi/grub-mkimage.c (read_kernel_module): Rename to ...
(read_kernel_image): ... this. All users updated.
(read_kernel_image): Read "kernel.img" instead of "kernel.mod".

15 years ago2009-12-05 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sat, 5 Dec 2009 11:25:07 +0000 (11:25 +0000)] 
2009-12-05  Carles Pina i Estany  <carles@pina.cat>

* normal/menu_text.c (grub_color_menu_high): Gettexttize string.
(print_spaces): New function.
(grub_print_ucs4): New function.
(getstringwidth): New function.
(print_message_indented): New function.
(print_message): Gettexttize strings using print_message_indented.
(run_menu): Replaces grub_printf by print_spaces and dynamic terminal
width.
(get_entry_number): Gettextize and uses dynamic terminal width.
(notify_booting, notify_fallback, notify_execution_failure):
Gettextize.
* normal/menu_entry.c (store_completion): Cleanup the gettextized
string.
(run): Likewise.
(grub_menu_entry_run): Likewise.
* PO/POTFILES: Add normal/menu_entry.c.

15 years ago2009-12-05 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 5 Dec 2009 10:08:26 +0000 (11:08 +0100)] 
2009-12-05  Vladimir Serbinenko  <phcoder@gmail.com>

* configure.ac (TARGET_ASFLAGS): Add "-D<MACHINE>".

15 years ago2009-12-05 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sat, 5 Dec 2009 09:31:36 +0000 (09:31 +0000)] 
2009-12-05  Carles Pina i Estany  <carles@pina.cat>

* util/grub-install.in: Install gettext .mo files.
* util/grub-mkrescue.in (process_input_dir): Copy gettext .mo files.

15 years ago2009-12-05 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sat, 5 Dec 2009 09:25:46 +0000 (09:25 +0000)] 
2009-12-05  Carles Pina i Estany  <carles@pina.cat>

* gettext/gettext.c (grub_gettext_init_ext): Replace grub_printf with
grub_dprintf.

15 years ago2009-12-05 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sat, 5 Dec 2009 01:43:17 +0000 (01:43 +0000)] 
2009-12-05  Robert Millan  <rmh.grub@aybabtu.com>

        * kern/ieee1275/openfw.c (grub_reboot): Disable for i386.  The
        non-firmware-dependant one in realmode.S takes precedence.

15 years ago2009-12-04 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 3 Dec 2009 23:07:29 +0000 (23:07 +0000)] 
2009-12-04  Robert Millan  <rmh.grub@aybabtu.com>

        * commands/halt.c: Replace misc arch-specific headers with
        `<grub/misc.h>'.
        * commands/reboot.c: Likewise.
        * commands/i386/pc/halt.c: Replace `<grub/machine/init.h>' with
        `<grub/misc.h>'.
        * conf/i386-coreboot.rmk (kernel_img_HEADERS): Remove `cpu/reboot.h'.
        (halt_mod_SOURCES): Move `kern/i386/halt.c' from here ...
        (kernel_img_SOURCES): ... to here.

        * include/grub/efi/efi.h (grub_reboot, grub_halt): Remove prototypes.
        * include/grub/i386/pc/init.h: Likewise.
        * include/grub/powerpc/ieee1275/kernel.h: Likewise.
        * include/grub/sparc64/ieee1275/kernel.h: Likewise.

        * include/grub/misc.h (grub_reboot, grub_halt): New prototypes.

        * include/grub/i386/halt.h: Remove.
        * include/grub/i386/reboot.h: Likewise.

        * kern/i386/halt.c: Remove `<grub/cpu/halt.h>'.

15 years ago2009-12-03 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Thu, 3 Dec 2009 11:18:56 +0000 (12:18 +0100)] 
2009-12-03  David S. Miller  <davem@sunset.davemloft.net>

* conf/sparc64-ieee1275.rmk (grub_mkimage_SOURCES,
grub_setup_SOURCES, grub_ofpathname_SOURCES): Add gnulib/progname.c
* util/sparc64/ieee1275/grub-mkimage.c: Include <grub/i18n.h> and
"progname.h"
* util/sparc64/ieee1275/grub-ofpathname.c: Likewise.
* util/sparc64/ieee1275/grub-setup.c: Likewise.
(usage): Add missing comma in printf.

15 years ago2009-12-02 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 2 Dec 2009 22:48:02 +0000 (22:48 +0000)] 
2009-12-02  Robert Millan  <rmh.grub@aybabtu.com>

        Use the same reboot approach on i386 coreboot and qemu as we do on
        BIOS.

        * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add `cpu/reboot.h'.
        (reboot_mod_SOURCES): Remove `kern/i386/reboot.c'.
        * kern/i386/reboot.c: Remove.
        * include/grub/i386/reboot.h (grub_reboot): Export function.
        * kern/i386/pc/startup.S (grub_reboot): Move from here ...
        * kern/i386/realmode.S (grub_reboot): ... to here.  Jump to
        0xf000:0xfff0 instead of 0xffff:0x0000.
        [!GRUB_MACHINE_PCBIOS] (prot_to_real): Do not restore interrupts.
        * kern/i386/qemu/startup.S: Include `"../realmode.S"'.

15 years ago2009-12-02 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 2 Dec 2009 16:13:45 +0000 (17:13 +0100)] 
2009-12-02  Vladimir Serbinenko  <phcoder@gmail.com>

Rename kernel.mod to kernel.img.

* conf/i386-efi.rmk (pkglib_MODULES): Change kernel.mod to kernel.img.
(kernel_mod_EXPORTS): Rename to ...
(kernel_img_EXPORTS): ... this.
(kernel_mod_SOURCES): Rename to ...
(kernel_img_SOURCES): ... this.
(kernel_mod_HEADERS): Rename to ...
(kernel_img_HEADERS): ... this. All users updated.
(kernel_mod_CFLAGS): Rename to ...
(kernel_img_CFLAGS): ... this.
(kernel_mod_ASFLAGS): Rename to ...
(kernel_img_ASFLAGS): ... this.
(kernel_mod_LDFLAGS): Rename to ...
(kernel_img_LDFLAGS): ... this.
* conf/x86_64-efi.rmk: Likewise.
* util/i386/efi/grub-mkimage.c (read_kernel_module): Rename to ...
(read_kernel_image): ... this. All users updated.
(read_kernel_image): Read "kernel.img" instead of "kernel.mod".

15 years ago2009-11-30 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 30 Nov 2009 01:25:57 +0000 (01:25 +0000)] 
2009-11-30  Robert Millan  <rmh.grub@aybabtu.com>

        Fix $srcdir != $objdir build.

        * Makefile.in (po/%.po):  Rewrite as ...
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): ... this.

15 years ago2009-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
Samuel Thibault [Sun, 29 Nov 2009 11:40:32 +0000 (12:40 +0100)] 
2009-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

Fix GNU/Hurd grub-install crash.
* util/grub-probe.c (probe): Try to access `path' only when it is not
NULL.

15 years ago2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 28 Nov 2009 19:40:44 +0000 (20:40 +0100)] 
2009-11-28  Vladimir Serbinenko  <phcoder@gmail.com>

Correct module naming.

* video/efi_uga.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
(GRUB_MOD_INIT(efi_uga)): ... to this
(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
(GRUB_MOD_FINI(efi_uga)): ... to this
* video/efi_gop.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
(GRUB_MOD_INIT(efi_gop)): ... to this
(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
(GRUB_MOD_FINI(efi_gop)): ... to this

15 years ago2009-11-28 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sat, 28 Nov 2009 19:31:30 +0000 (19:31 +0000)] 
2009-11-28  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/mkisofs.c (ld_options): Mark all `arg' strings as
        translatable.
        (usage): Translate `arg' strings using gettext().
        Thanks to Jordi Mallach for the suggestion.

15 years agoFix declarations of previous commit
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 23:46:09 +0000 (00:46 +0100)] 
Fix declarations of previous commit

15 years ago2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 23:24:57 +0000 (00:24 +0100)] 
2009-11-28  Vladimir Serbinenko  <phcoder@gmail.com>

GOP support. Based on patch from Bean
(http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)

* video/efi_gop.c: New file.
* include/grub/efi/graphics_output.h: Likewise.
* conf/i386-efi.rmk (pkglib_MODULES): Add `efi_gop.mod'.
(efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
variables.
* conf/x86_64-efi.rmk: Likewise.

15 years agoGOP support
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 23:15:04 +0000 (00:15 +0100)] 
GOP support
Also-By: Bean Lee <>
15 years ago2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 23:13:51 +0000 (00:13 +0100)] 
2009-11-28  Vladimir Serbinenko  <phcoder@gmail.com>

Rename efi_fb to efi_uga.

* conf/i386-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
'efi_uga.mod'.
(efi_fb_mod_SOURCES): Rename this ...
(efi_uga_mod_SOURCES): ... to this.
(efi_fb_mod_CFLAGS): Rename this ...
(efi_uga_mod_CFLAGS): ... to this.
(efi_fb_mod_LDFLAGS): Rename this ...
(efi_uga_mod_LDFLAGS): ... to this.
* conf/x86_64-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
'efi_uga.mod'.
(efi_fb_mod_SOURCES): Rename this ...
(efi_uga_mod_SOURCES): ... to this.
(efi_fb_mod_CFLAGS): Rename this ...
(efi_uga_mod_CFLAGS): ... to this.
(efi_fb_mod_LDFLAGS): Rename this ...
(efi_uga_mod_LDFLAGS): ... to this.
* video/efi_fb.c: Move this ...
* video/efi_uga.c: ... to this. Change prefix to 'grub_video_uga_'.

15 years agofinish renaiming efi_Fb to efi_uga
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 22:48:20 +0000 (23:48 +0100)] 
finish renaiming efi_Fb to efi_uga

15 years ago2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 27 Nov 2009 17:33:35 +0000 (17:33 +0000)] 
2009-11-27  Robert Millan  <rmh.grub@aybabtu.com>

        * po/README: New file.  Explain our PO file workflow.

15 years ago2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 27 Nov 2009 17:11:38 +0000 (17:11 +0000)] 
2009-11-27  Robert Millan  <rmh.grub@aybabtu.com>

        * po/ChangeLog: Remove.  Move relevant entries back to ...
        * ChangeLog: ... here.
        * po/ca.po: Remove (now handled by TLP).
        * po/id.po: Likewise.
        * po/zh_CN.po: Likewise.
        * Makefile.in (LINGUAS): Initialize in a way that supports
        empty set.

15 years ago2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 27 Nov 2009 16:46:00 +0000 (16:46 +0000)] 
2009-11-27  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
        reliing on po/LINGUAS.
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
        (po/%.po): ... this.

15 years agoRename efi_fb to efi_uga
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 15:33:22 +0000 (16:33 +0100)] 
Rename efi_fb to efi_uga

15 years ago2009-11-26 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Thu, 26 Nov 2009 16:15:16 +0000 (17:15 +0100)] 
2009-11-26 Felix Zielcke <fzielcke@z-51.de>

* util/i386/efi/grub-mkimage.c: Include "progname.h".
(main): Use `program_name' instead of nonexistent `progname'.

15 years ago2009-11-26 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Thu, 26 Nov 2009 15:29:06 +0000 (16:29 +0100)] 
2009-11-26  Felix Zielcke  <fzielcke@z-51.de>

* conf/i386-efi.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.
* conf/x86_64-efi.rmk (grub_mkimage_SOURCES): Likewise.

15 years ago2009-11-26 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 26 Nov 2009 00:45:53 +0000 (00:45 +0000)] 
2009-11-26  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/i386-coreboot.rmk: Cleanup stale filenames from my previous
        commit.
        * conf/i386-efi.rmk: Likewise.
        * conf/i386-ieee1275.rmk: Likewise.
        * conf/powerpc-ieee1275.rmk: Likewise.
        * conf/sparc64-ieee1275.rmk: Likewise.
        * conf/x86_64-efi.rmk: Likewise.

15 years ago2009-11-26 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Thu, 26 Nov 2009 00:08:42 +0000 (01:08 +0100)] 
2009-11-26  Felix Zielcke  <fzielcke@z-51.de>

* conf/any-emu.rmk (grub_emu_SOURCES): Add `gnulib/progname.c'.

15 years ago2009-11-26 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 25 Nov 2009 23:52:55 +0000 (00:52 +0100)] 
2009-11-26  Felix Zielcke  <fzielcke@z-51.de>

* conf/any-emu.rmk (grub_mkfont_SOURCES): Add `gnulib/progname.c'.

15 years ago2009-11-26 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 25 Nov 2009 23:10:02 +0000 (23:10 +0000)] 
2009-11-26  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/common.rmk (sbin_UTILITIES): Add `grub-mkdevicemap'.
        (grub_mkdevicemap_SOURCES): New variable.
        (grub_probe_SOURCES, grub_fstest_SOURCES, grub_mkfont_SOURCES)
        (grub_mkrelpath_SOURCES, grub_editenv_SOURCES)
        (grub_pe2elf_SOURCES): Add `gnulib/progname.c'.
        * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-mkdevicemap'.
        (grub_mkdevicemap_SOURCES): Remove.
        * 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.
        * util/elf/grub-mkimage.c: Include `<grub/i18n.h>' and `"progname.h"'.
        (usage): Fix strings to use `program_name'.
        (main): Initialize gettext.
        * 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-pe2elf.c: Likewise.
        * util/grub-probe.c: Likewise.
        * util/sparc64/ieee1275/grub-mkimage.c: Likewise.
        * util/sparc64/ieee1275/grub-ofpathname.c: Likewise.
        * util/sparc64/ieee1275/grub-setup.c: Likewise.

        * util/misc.c: Include `"progname.h"'.
        (progname): Remove variable.
        (grub_util_warn, grub_util_info, grub_util_error): Use `program_name'.

15 years ago2009-11-25 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 25 Nov 2009 18:13:35 +0000 (19:13 +0100)] 
2009-11-25  Felix Zielcke  <fzielcke@z-51.de>

* util/grub.d/10_linux.in (linux_entry): Quote the arguments to
printf and print a newline after the menuentry header line.
* util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.

15 years ago2009-11-25 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 25 Nov 2009 17:37:04 +0000 (18:37 +0100)] 
2009-11-25  Felix Zielcke  <fzielcke@z-51.de>

autoconf >= 2.60 support $(localedir).

* INSTALL: Note that autoconf 2.60 is required.
* configure.ac (AC_PREREQ): Bump to 2.60.
* util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased @localedir@.
* util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise.

15 years ago2009-11-25 Yves Blusseau <yves.blusseau@zetam.org>
Yves Blusseau [Wed, 25 Nov 2009 11:23:16 +0000 (12:23 +0100)] 
2009-11-25  Yves Blusseau  <yves.blusseau@zetam.org>

    * configure.ac: move the call to AM_GNU_GETTEXT to avoid warnings when
    aclocal is run.

15 years ago2009-11-25 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 25 Nov 2009 03:48:33 +0000 (03:48 +0000)] 
2009-11-25  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/main.c (grub_normal_read_line): Fix off-by-one
        buffer overflow..

15 years ago2009-11-25 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 25 Nov 2009 01:50:33 +0000 (01:50 +0000)] 
2009-11-25  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/main.c (grub_normal_execute): Replace "parser.sh" with
        "parser.grub" in grub_command_execute() call.

15 years ago2009-11-24 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Tue, 24 Nov 2009 21:42:14 +0000 (21:42 +0000)] 
2009-11-24  Carles Pina i Estany <carles@pina.cat>

* conf/i386-coreboot.rmk (kernel_img_HEADERS): Add i18n.h.
* 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.
* gettext/gettex.c: Include <grub/i18n.h>.
* include/grub/misc.h (grub_gettext_dummy, grub_gettext): Move from
    here ...
* include/grub/i18n.h: ... to here
* include/grub/i18n.h: ... to here.
* kern/misc.c: Include <grub/i18n.h>
(grub_gettext_dummy): Move above user.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 20:01:40 +0000 (21:01 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/Makefile.in (install-local): Convert a `for' into a normal
shell expansion.

15 years ago2009-11-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 24 Nov 2009 18:51:35 +0000 (18:51 +0000)] 
2009-11-24  Robert Millan  <rmh.grub@aybabtu.com>

        * autogen.sh: Add automake call.
        * config.guess: Remove.
        * config.sub: Likewise.
        * install-sh: Likewise.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 18:44:24 +0000 (19:44 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/Makefile.in (install-local): Fix the use of $lang shell variable.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 17:43:46 +0000 (18:43 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/Makefile.in (install-local): Convert a make `$(foreach)'
function to a normal shell `for'.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 14:47:48 +0000 (15:47 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* conf/i386-coreboot.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 14:00:25 +0000 (15:00 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkrelpath.c: New file.
* conf/common.rmk (bin_UTILITIES): Add grub-mkrelpath.
(grub_mkrelpath_SOURCES): New variable.
* include/grub/util/misc.h: New function prototype.
* util/misc.c (make_system_path_relative_to_its_root): New function.

* util/grub-mkconfig_lib.in (bindir): New variable.
(grub_mkrelpath): Likewise.
(make_system_path_relative_to_its_root): Use grub-mkrelpath.

* util/probe.c (probe): Make the file path relative to its root.
Change a info message to use the GRUB path.  Enable again the
check if we can read the file with GRUB facilities.

* util/i386/pc/grub-setup.c (setup): Make core.img path relative
to its root.

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 11:29:17 +0000 (12:29 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* Makefile.in: Don't include GRUB_CONTRIB makefiles with emu
platform.

15 years ago2009-11-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 24 Nov 2009 10:49:49 +0000 (10:49 +0000)] 
2009-11-24  Robert Millan  <rmh.grub@aybabtu.com>

        * zh_CN.po: New file.
        * LINGUAS: Add `zh_CN'.

15 years agoMove ChangeLog entries affecting po/ directory to po/ChangeLog
Robert Millan [Tue, 24 Nov 2009 10:45:26 +0000 (10:45 +0000)] 
Move ChangeLog entries affecting po/ directory to po/ChangeLog

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 08:55:28 +0000 (09:55 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/getroot.c (grub_util_get_dev_abstraction): Properly use
strncmp().

15 years ago2009-11-24 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 24 Nov 2009 07:20:48 +0000 (08:20 +0100)] 
2009-11-24  Felix Zielcke  <fzielcke@z-51.de>

* util/getroot.c (grub_util_is_dmraid): New function.
(grub_util_get_dev_abstraction): Treat dmraid and multipath
devices as normal ones, not as LVM.

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 22:41:37 +0000 (22:41 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * po/id.po: New file.
        * LINGUAS: Add `id'.

15 years ago* Fixes date in the ChangeLog entry
Carles Pina i Estany [Mon, 23 Nov 2009 21:29:39 +0000 (21:29 +0000)] 
* Fixes date in the ChangeLog entry

15 years ago2009-11-22 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Mon, 23 Nov 2009 21:14:30 +0000 (21:14 +0000)] 
2009-11-22  Carles Pina i Estany <carles@pina.cat>

* conf/common.rmk: Add grub-gettext_lib target and updates
  lib_DATA and CLEANFILES. Adds gettext.mod SOURCES, CFLAGS,
  LDFLAGS.
* gettext/gettext.c: New file. (Reads mo files).
* include/grub/file.h (grub_file_pread): New prototype.
* include/grub/i18n.h (_): New prototype.
* include/grub/misc.h (grub_gettext_dummy, grub_gettext): New
  prototypes.
* kern/misc.c (grub_gettext_dummy): New function.
* normal/menu_text.c: Include <grub/i18n.h>.
* normal/menu_text.c (print_timeout): Gettexttize string.
* normal/menu_text.c (print_message): Gettexttize string.
* po/POTFILES: Add `normal/menu_text.c'.
* po/ca.po: Add new translations.
* util/grub.d/00_header.in: Define locale_dir and lang. insmod
  gettext module and defines locale_dir and lang in grub.cfg.
* NEWS: Add gettext support.

15 years agoFinal touches before merging
Carles Pina i Estany [Mon, 23 Nov 2009 20:59:24 +0000 (20:59 +0000)] 
Final touches before merging

15 years agoSyncs with trunk
Carles Pina i Estany [Mon, 23 Nov 2009 20:50:01 +0000 (20:50 +0000)] 
Syncs with trunk

15 years agoAdds gettext note in NEWS.
Carles Pina i Estany [Mon, 23 Nov 2009 20:47:25 +0000 (20:47 +0000)] 
Adds gettext note in NEWS.

15 years agoMerging with trunk
Carles Pina i Estany [Mon, 23 Nov 2009 20:34:42 +0000 (20:34 +0000)] 
Merging with trunk

15 years agoCleaning up
Carles Pina i Estany [Mon, 23 Nov 2009 20:31:57 +0000 (20:31 +0000)] 
Cleaning up

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 20:30:56 +0000 (20:30 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * util/hostdisk.c: Include `<grub/i18n.h>'.
        (find_grub_drive): Use ARRAY_SIZE for map size calculation.
        (make_device_name): Rewrite using asprintf.
        (convert_system_partition_to_system_disk): Replace 0 with NULL.
        (find_system_device): If a device is not found, generate one just
        by reusing the OS path name.
        (read_device_map): Make it permissible for device.map not to exist.

15 years agoUncommits the last commits (to make the new merge with trunk easier)
Carles Pina i Estany [Mon, 23 Nov 2009 20:22:36 +0000 (20:22 +0000)] 
Uncommits the last commits (to make the new merge with trunk easier)

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 15:37:33 +0000 (15:37 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * script/sh/execute.c: Move from here ...
        * script/execute.c: ... to here.  Update all users.
        * script/sh/function.c: Move from here ...
        * script/function.c: ... to here.  Update all users.
        * script/sh/lexer.c: Move from here ...
        * script/lexer.c: ... to here.  Update all users.
        * script/sh/main.c: Move from here ...
        * script/main.c: ... to here.  Update all users.
        * script/sh/parser.y: Move from here ...
        * script/parser.y: ... to here.  Update all users.
        * script/sh/script.c: Move from here ...
        * script/script.c: ... to here.  Update all users.

15 years agoCheery-pick grub-emu split from experimental (rev 1361)
Robert Millan [Mon, 23 Nov 2009 15:31:54 +0000 (15:31 +0000)] 
Cheery-pick grub-emu split from experimental (rev 1361)

2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Detect all `emu' platforms.  Define
        GRUB_MACHINE_* macros in TARGET_CFLAGS.  Remove
        --enable-grub-emu logic.  Disable include/grub/machine
        symlink on `emu' platforms.

        * genkernsyms.sh.in: Use @TARGET_CFLAGS@ during symbol generation.
        * gensymlist.sh.in: Likewise.

        * include/grub/i386/coreboot/machine.h: Remove file.
        * include/grub/i386/efi/machine.h: Likewise.
        * include/grub/i386/ieee1275/machine.h: Likewise.
        * include/grub/i386/pc/machine.h: Likewise.
        * include/grub/i386/qemu/machine.h: Likewise.
        * include/grub/powerpc/ieee1275/machine.h: Likewise.
        * include/grub/sparc64/ieee1275/machine.h: Likewise.
        * include/grub/x86_64/efi/machine.h: Likewise.

        * commands/acpi.c: Remove `<grub/machine/machine.h>'.
        * commands/halt.c: Likewise.
        * commands/reboot.c: Likewise.
        * include/grub/autoefi.h: Likewise.
        * include/grub/i386/at_keyboard.h: Likewise.
        * include/grub/i386/kernel.h: Likewise.
        * include/grub/i386/loader.h: Likewise.
        * include/grub/i386/pc/memory.h: Likewise.
        * kern/dl.c: Likewise.
        * kern/i386/coreboot/init.c: Likewise.
        * loader/i386/bsd.c: Likewise.
        * loader/i386/linux.c: Likewise.
        * loader/multiboot_loader.c: Likewise.
        * term/i386/pc/serial.c: Likewise.
        * term/usb_keyboard.c: Likewise.

        * include/grub/time.h [!GRUB_MACHINE_EMU]: Remove
        `<grub/machine/machine.h>'
        [!GRUB_MACHINE_EMU] (GRUB_TICKS_PER_SECOND): New macro.
        * util/misc.c: Remove `<grub/machine/machine.h>' and
        `<grub/machine/time.h>'.

        * Makefile.in (enable_grub_emu): Remove variable.
        Include $(srcdir)/conf/any-emu.mk for the `emu' platform.

        * conf/any-emu.rmk: New file.
        * conf/common.rmk (grub_emu_init.lst, grub_emu_init.h)
        (grub_emu_init.c): Move from here ...
        * conf/any-emu.rmk: ... to here.

        * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-emu'.
        (grub_emu_SOURCES, grub_emu_LDFLAGS): Move from here ...
        * conf/any-emu.rmk: ... to here.

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 15:23:55 +0000 (15:23 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/parser.h (grub_parser_register): Document need
        of `name' parameter.
        * normal/main.c (grub_normal_read_line): Simplify prompt string.
        * script/sh/main.c (grub_sh_parser, GRUB_MOD_INIT(sh)): Rename
        "sh" to "grub".

15 years agoResync.
Robert Millan [Mon, 23 Nov 2009 15:19:43 +0000 (15:19 +0000)] 
Resync.

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 13:18:07 +0000 (13:18 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to
        `$(XGETTEXT)'.
        * include/grub/i18n.h (N_): New macro.
        * util/mkisofs/mkisofs.h: Likewise.
        * util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings
        around N_().
        (usage): Use gettext() to translate help strings when printing them.

15 years agoAdd auto-generated gcrypt files.
Robert Millan [Mon, 23 Nov 2009 12:18:37 +0000 (12:18 +0000)] 
Add auto-generated gcrypt files.

15 years ago2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 23 Nov 2009 11:17:50 +0000 (11:17 +0000)] 
2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>

        Based on patch from Bean
        (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)

        * video/efi_fb.c: New file.
        * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_fb.mod'.
        (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
        variables.
        * conf/x86_64-efi.rmk: Likewise.

15 years ago2009-11-22 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sun, 22 Nov 2009 23:41:06 +0000 (23:41 +0000)] 
2009-11-22  Carles Pina i Estany <carles@pina.cat>

* normal/menu_text.c (get_spaces): New function.
(print_timeout): Gettextize, add spaces to the localized string.

15 years ago2009-11-22 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sun, 22 Nov 2009 22:24:54 +0000 (22:24 +0000)] 
2009-11-22  Carles Pina i Estany <carles@pina.cat>

* normal/menu_text.c: Gettexttize but not print_timeout function.
* normal/main.c: Gettexttize.
* normal/menu_entry.c: Likewise.

15 years agomerging to trunk...
Carles Pina i Estany [Sun, 22 Nov 2009 21:45:40 +0000 (21:45 +0000)] 
merging to trunk...

15 years agoRemoves the non-gettext string
Carles Pina i Estany [Sun, 22 Nov 2009 21:42:28 +0000 (21:42 +0000)] 
Removes the non-gettext string

15 years agoFinal touches (don't gettextize a string, chang setted by set)
Carles Pina i Estany [Sun, 22 Nov 2009 21:41:33 +0000 (21:41 +0000)] 
Final touches (don't gettextize a string, chang setted by set)

15 years agoSome more changes...
Carles Pina i Estany [Sun, 22 Nov 2009 18:58:19 +0000 (18:58 +0000)] 
Some more changes...

15 years agoChanges catalan strings like it was before (test)
Carles Pina i Estany [Sun, 22 Nov 2009 16:59:20 +0000 (16:59 +0000)] 
Changes catalan strings like it was before (test)

15 years agoRemoves a debug variable (new_fd)
Carles Pina i Estany [Sun, 22 Nov 2009 16:57:17 +0000 (16:57 +0000)] 
Removes a debug variable (new_fd)

15 years agoCorrects Catalan translation
Carles Pina i Estany [Sun, 22 Nov 2009 13:01:49 +0000 (13:01 +0000)] 
Corrects Catalan translation

15 years agoThis commit is the same than gettext08.patch (see mailing list)
Carles Pina i Estany [Sun, 22 Nov 2009 12:50:46 +0000 (12:50 +0000)] 
This commit is the same than gettext08.patch (see mailing list)

15 years agoSync with trunk
Carles Pina i Estany [Sun, 22 Nov 2009 11:56:10 +0000 (11:56 +0000)] 
Sync with trunk

15 years agoDifferent changes following Robert's email 20091121230904.GA29740@thorin
Carles Pina i Estany [Sun, 22 Nov 2009 11:49:54 +0000 (11:49 +0000)] 
Different changes following Robert's email 20091121230904.GA29740@thorin

15 years ago2009-11-22 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 22 Nov 2009 10:20:14 +0000 (10:20 +0000)] 
2009-11-22  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-mkimage.c: Ungettextize grub_util_info() strings.
        * util/i386/pc/grub-setup.c: Likewise.

15 years agoSome comments following Grub standard of code.
Carles Pina i Estany [Sat, 21 Nov 2009 23:11:14 +0000 (23:11 +0000)] 
Some comments following Grub standard of code.

15 years agoMoves where pkglib_MODULS += gettext.mod is defined
Carles Pina i Estany [Sat, 21 Nov 2009 23:06:37 +0000 (23:06 +0000)] 
Moves where pkglib_MODULS += gettext.mod is defined

15 years agoMerge remote
Felix Zielcke [Sat, 21 Nov 2009 22:25:20 +0000 (23:25 +0100)] 
Merge remote

15 years ago2009-11-21 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Sat, 21 Nov 2009 22:23:35 +0000 (23:23 +0100)] 
2009-11-21  Felix Zielcke  <fzielcke@z-51.de>

* Makefile.in (target): Use make's builtin $(shell) function
instead of calling directly $(SHELL) to create the locale directories,
inside the $(foreach) function.

15 years agoAdds the ChangeLog.gettext file
Carles Pina i Estany [Sat, 21 Nov 2009 22:19:16 +0000 (22:19 +0000)] 
Adds the ChangeLog.gettext file

15 years agoDeletes grub-gettext_lib.in (not needed after Robert's changes)
Carles Pina i Estany [Sat, 21 Nov 2009 21:18:12 +0000 (21:18 +0000)] 
Deletes grub-gettext_lib.in (not needed after Robert's changes)

15 years agomerge with Trunk
Carles Pina i Estany [Sat, 21 Nov 2009 21:05:15 +0000 (21:05 +0000)] 
merge with Trunk

15 years ago2009-11-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
Samuel Thibault [Sat, 21 Nov 2009 17:00:23 +0000 (18:00 +0100)] 
2009-11-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* util/getroot.c [__GNU__]: Include <hurd.h>, <hurd/lookup.h>, and
<hurd/fs.h>
[__GNU__] (grub_guess_root_device): Call file_name_lookup and
file_get_storage_info to implement grub_guess_root_device.

15 years ago2009-11-21 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Sat, 21 Nov 2009 16:40:55 +0000 (17:40 +0100)] 
2009-11-21  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkrescue.in: Print an error and usage if output option
has not been given.

15 years agoMerge trunk
Felix Zielcke [Sat, 21 Nov 2009 14:49:21 +0000 (15:49 +0100)] 
Merge trunk

15 years ago2009-11-21 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Sat, 21 Nov 2009 14:41:46 +0000 (15:41 +0100)] 
2009-11-21  Felix Zielcke  <fzielcke@z-51.de>

Patch from Loïc Minier <loic.minier@ubuntu.com>.
* util/grub.d/30_os-prober.in: Cope with Linux entries where
root and /boot are on different devices.