]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years ago2009-12-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 13 Dec 2009 18:29:15 +0000 (18:29 +0000)] 
2009-12-13  Robert Millan  <rmh.grub@aybabtu.com>

        * loader/i386/multiboot_elfxx.c
        (CONCAT(grub_multiboot_load_elf, XX)): Fix `grub_multiboot_payload_eip'
        initialization.

15 years agolegacy-like stack handling
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:10:53 +0000 (18:10 +0100)] 
legacy-like stack handling

15 years agoFix XNU resume.
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:07:01 +0000 (18:07 +0100)] 
Fix XNU resume.

15 years agoCleanup address expressions for readability and using only unsigned arithmetics
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:03:46 +0000 (18:03 +0100)] 
Cleanup address expressions for readability and using only unsigned arithmetics

15 years agoMerge from trunk
Robert Millan [Fri, 11 Dec 2009 23:11:58 +0000 (23:11 +0000)] 
Merge from trunk

15 years agoIndentation fix & missing copyright year.
Robert Millan [Fri, 11 Dec 2009 23:10:57 +0000 (23:10 +0000)] 
Indentation fix & missing copyright year.

15 years ago2009-12-11 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 11 Dec 2009 22:44:47 +0000 (22:44 +0000)] 
2009-12-11  Robert Millan  <rmh.grub@aybabtu.com>

        * THANKS: Add David Miller.

15 years agoMerge from trunk
Robert Millan [Fri, 11 Dec 2009 21:20:00 +0000 (21:20 +0000)] 
Merge from trunk

15 years agoMerge pciaccess branch
Robert Millan [Fri, 11 Dec 2009 21:12:57 +0000 (21:12 +0000)] 
Merge pciaccess branch

15 years ago2009-12-11 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Fri, 11 Dec 2009 10:11:34 +0000 (11:11 +0100)] 
2009-12-11 Felix Zielcke <fzielcke@z-51.de>

* util/misc.c: Don't include <errno.h> twice.

15 years ago2009-12-10 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Thu, 10 Dec 2009 18:15:20 +0000 (19:15 +0100)] 
2009-12-10 Felix Zielcke <fzielcke@z-51.de>

* disk/i386/pc/biosdisk.c (grub_biosdisk_open): Show the disk
name in an error message.
(grub_biosdisk_rw): Likewise.

15 years ago2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Thu, 10 Dec 2009 13:45:00 +0000 (14:45 +0100)] 
2009-12-10  Vladimir Serbinenko  <phcoder@gmail.com>

Eliminate NTFS 4Gib barrier.

* fs/ntfs.c (read_attr): Use grub_disk_addr_t and grub_size_t.
(read_run_data): Likewise.
(grub_ntfs_read_run_list): Likewise.
(grub_ntfs_read_block): Likewise.
(grub_ntfs_iterate_dir): Likewise.
(read_mft): Likewise.
(read_data): Likewise.
Use COM_LOG_LEN.
* fs/ntfscomp.c (read_block): Cast ctx->target_vcn & 0xF to unsigned
to avoid 64-bit division
* include/grub/ntfs.h (COM_LOG_LEN): New definition.
(grub_ntfs_rlst): Use grub_disk_addr_t.

15 years ago2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Thu, 10 Dec 2009 13:39:54 +0000 (14:39 +0100)] 
2009-12-10  Vladimir Serbinenko  <phcoder@gmail.com>

Eliminate grub-fstest 4Gib barrier.

* util/grub-fstest.c (skip, leng): Use grub_disk_addr_t.
(read_file): Fix error reporting.

15 years ago2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Thu, 10 Dec 2009 13:37:42 +0000 (14:37 +0100)] 
2009-12-10  Vladimir Serbinenko  <phcoder@gmail.com>

Eliminate hexdump 4Gib barrier.

* commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_addr_t.
* lib/arg.c (grub_arg_parse): Use grub_strtoull.

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

* kern/device.c (grub_device_iterate): Ignore errors during first scan.
Fixes amarsh bug.

15 years ago2009-12-09 Bruce Dubbs <bruce.dubbs@gmail.com>
Robert Millan [Wed, 9 Dec 2009 21:43:05 +0000 (21:43 +0000)] 
2009-12-09  Bruce Dubbs  <bruce.dubbs@gmail.com>

        Remove miscellaneous files in distclean target.

        * Makefile.in: Remove docs/{grub.info,version.texi,stamp-vti}

15 years ago2009-12-09 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Wed, 9 Dec 2009 16:20:17 +0000 (16:20 +0000)] 
2009-12-09  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-mkconfig_lib.in: Don't set grub_probe or grub_mkrelpath
if they're already set.  This resolves the conflict between my
grub-install change on 2009-10-06 and Felix' change on 2009-11-11,
fixing the --grub-probe option again.
* util/sparc64/ieee1275/grub-install.in: Revert the last piece of my
change on 2009-10-06, so that we now once again source
`${libdir}/grub/grub-mkconfig_lib' after options have been parsed.

15 years ago2009-12-08 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 8 Dec 2009 16:00:52 +0000 (16:00 +0000)] 
2009-12-08  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/common.rmk [sparc64-ieee1275] (grub_mkdevicemap_SOURCES): Use
        `util/ieee1275/ofpath.c' and `util/ieee1275/devicemap.c' instead of
        `util/devicemap.c'.

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.

16 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.

16 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.

16 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.

16 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.

16 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".

16 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.

16 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>".

16 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.

16 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.

16 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.

16 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>'.

16 years agoFix compilation issue for ppc
Vladimir 'phcoder' Serbinenko [Thu, 3 Dec 2009 21:45:41 +0000 (22:45 +0100)] 
Fix compilation issue for ppc

16 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.

16 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"'.

16 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".

16 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Wed, 2 Dec 2009 08:03:51 +0000 (09:03 +0100)] 
ChangeLog

16 years agoMerge mainline into pci
Vladimir 'phcoder' Serbinenko [Wed, 2 Dec 2009 07:51:42 +0000 (08:51 +0100)] 
Merge mainline into pci

16 years agoMerged mainline into pci
Vladimir 'phcoder' Serbinenko [Mon, 30 Nov 2009 18:09:11 +0000 (19:09 +0100)] 
Merged mainline into pci

16 years agomerged mainline into pci
Vladimir 'phcoder' Serbinenko [Mon, 30 Nov 2009 15:39:59 +0000 (16:39 +0100)] 
merged mainline into pci

16 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.

16 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.

16 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

16 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.

16 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Sat, 28 Nov 2009 13:15:53 +0000 (14:15 +0100)] 
ChangeLog

16 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

16 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.

16 years agoGOP support
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 23:15:04 +0000 (00:15 +0100)] 
GOP support
Also-By: Bean Lee <>
16 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_'.

16 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

16 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.

16 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.

16 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.

16 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

16 years agoFix compilation on x86_64-efi
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 09:57:52 +0000 (10:57 +0100)] 
Fix compilation on x86_64-efi

16 years agoPorted XNU to relocator framework
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 09:17:49 +0000 (10:17 +0100)] 
Ported XNU to relocator framework

16 years agoMerged relocators in xnu-reloc
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 08:43:16 +0000 (09:43 +0100)] 
Merged relocators in xnu-reloc

16 years agoPorted xnu to relocator framework
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 08:42:50 +0000 (09:42 +0100)] 
Ported xnu to relocator framework

16 years agoAdd support for realloc (NULL, size) in relocators
Vladimir 'phcoder' Serbinenko [Fri, 27 Nov 2009 08:41:24 +0000 (09:41 +0100)] 
Add support for realloc (NULL, size) in relocators

16 years agoFixes for backwards relocator
Vladimir 'phcoder' Serbinenko [Thu, 26 Nov 2009 21:51:00 +0000 (22:51 +0100)] 
Fixes for backwards relocator

16 years agoImproved cache handling in mips
Vladimir 'phcoder' Serbinenko [Thu, 26 Nov 2009 21:20:06 +0000 (22:20 +0100)] 
Improved cache handling in mips

16 years agoFix warning on some build systems
Vladimir 'phcoder' Serbinenko [Thu, 26 Nov 2009 21:19:37 +0000 (22:19 +0100)] 
Fix warning on some build systems

16 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'.

16 years agoPrevent relocator of overwriting itself
Vladimir 'phcoder' Serbinenko [Thu, 26 Nov 2009 15:52:10 +0000 (16:52 +0100)] 
Prevent relocator of overwriting itself

16 years agoFix wrong segment selector
Vladimir 'phcoder' Serbinenko [Thu, 26 Nov 2009 15:50:56 +0000 (16:50 +0100)] 
Fix wrong segment selector

16 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.

16 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.

16 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'.

16 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'.

16 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'.

16 years agoSplit relocators from mips branch
Vladimir 'phcoder' Serbinenko [Wed, 25 Nov 2009 22:39:59 +0000 (23:39 +0100)] 
Split relocators from mips branch

16 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.

16 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.

16 years agomainstream merged into pci
Vladimir 'phcoder' Serbinenko [Wed, 25 Nov 2009 14:15:30 +0000 (15:15 +0100)] 
mainstream merged into pci

16 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.

16 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..

16 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.

16 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.

16 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.

16 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.

16 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.

16 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'.

16 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'.

16 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.

16 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.

16 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'.

16 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

16 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().

16 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.

16 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'.

16 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

16 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.

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

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

16 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.

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

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

16 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.

16 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)

16 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.

16 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.

16 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".