]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
13 years ago * conf/Makefile.common (LDFLAGS_PLATFORM): Use explicit -Wl.
Vladimir 'phcoder' Serbinenko [Wed, 18 Apr 2012 21:37:25 +0000 (23:37 +0200)] 
* conf/Makefile.common (LDFLAGS_PLATFORM): Use explicit -Wl.

13 years ago * grub-mkconfig_lib.in: Ignore *.rpmnew and *.rpmsave.
Mads Kiilerich [Wed, 18 Apr 2012 21:31:26 +0000 (23:31 +0200)] 
     * grub-mkconfig_lib.in: Ignore *.rpmnew and *.rpmsave.

13 years ago * util/grub.d/10_linux.in: Fix detection of genkernel initramfs.
Mike Gilbert [Wed, 18 Apr 2012 21:25:21 +0000 (23:25 +0200)] 
* util/grub.d/10_linux.in: Fix detection of genkernel initramfs.

13 years ago * grub-core/disk/ata.c (grub_ata_strncpy): Put terminating zero at right
Bean [Wed, 18 Apr 2012 21:21:38 +0000 (23:21 +0200)] 
* grub-core/disk/ata.c (grub_ata_strncpy): Put terminating zero at right
place.

13 years ago * grub-core/kern/emu/hostdisk.c (open_device): New argument max. All
Vladimir 'phcoder' Serbinenko [Wed, 18 Apr 2012 21:18:51 +0000 (23:18 +0200)] 
* grub-core/kern/emu/hostdisk.c (open_device): New argument max. All
users updated.
(grub_util_biosdisk_read): Handle Linux partitions not exactly
corresponding to GRUB partitions.
(grub_util_biosdisk_write): Likewise.

13 years ago Scan mdraid before LVM.
Vladimir 'phcoder' Serbinenko [Wed, 18 Apr 2012 21:11:33 +0000 (23:11 +0200)] 
Scan mdraid before LVM.

* include/grub/diskfilter.h (grub_diskfilter_register): Renamed to ..
(grub_diskfilter_register_front): ... this.
(grub_diskfilter_register_back): New function.
All users of grub_diskfilter_register updated.

13 years ago * util/grub-install.in: Fix an automatic target detection bug.
Vladimir 'phcoder' Serbinenko [Wed, 18 Apr 2012 21:01:51 +0000 (23:01 +0200)] 
* util/grub-install.in: Fix an automatic target detection bug.

13 years ago * util/grub-install.in: New option --efi-directory.
Vladimir 'phcoder' Serbinenko [Wed, 18 Apr 2012 20:43:55 +0000 (22:43 +0200)] 
* util/grub-install.in: New option --efi-directory.

13 years ago * grub-core/loader/i386/linux.c (allocate_pages): Overwrite low memory
Vladimir 'phcoder' Serbinenko [Tue, 17 Apr 2012 11:00:06 +0000 (13:00 +0200)] 
* grub-core/loader/i386/linux.c (allocate_pages): Overwrite low memory
boot services if we have no other choice.

13 years ago * util/grub-mknetdir.in: Rename --override-directory to --directory and
Vladimir 'phcoder' Serbinenko [Sat, 14 Apr 2012 13:20:45 +0000 (15:20 +0200)] 
* util/grub-mknetdir.in: Rename --override-directory to --directory and
document it.
* tests/util/grub-shell.in: Update to --directory.

13 years ago * grub-core/fs/zfs/zfs.c: Disable -Wstrict-aliasing.
Vladimir 'phcoder' Serbinenko [Fri, 13 Apr 2012 17:26:36 +0000 (19:26 +0200)] 
* grub-core/fs/zfs/zfs.c: Disable -Wstrict-aliasing.

13 years ago * grub-core/fs/minix.c (grub_minix_data): Fix ino type.
Vladimir 'phcoder' Serbinenko [Fri, 13 Apr 2012 15:08:38 +0000 (17:08 +0200)] 
* grub-core/fs/minix.c (grub_minix_data): Fix ino type.
(grub_minix_read_file): Likewise.
(grub_minix_read_inode): Likewise.
(grub_minix_find_file): Likewise.
(grub_minix_dir): Likewise.

13 years ago * util/grub-setup.c (setup): Fix partition handling and blocklist
Vladimir 'phcoder' Serbinenko [Fri, 13 Apr 2012 14:58:02 +0000 (16:58 +0200)] 
* util/grub-setup.c (setup): Fix partition handling and blocklist
check.

13 years ago * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Remove
Vladimir 'phcoder' Serbinenko [Fri, 13 Apr 2012 14:55:20 +0000 (16:55 +0200)] 
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Remove
redundant buggy overlap check.

13 years ago * tests/util/grub-shell.in: Set pkgdatadir when calling grub-mkrescue
Vladimir 'phcoder' Serbinenko [Wed, 11 Apr 2012 20:43:15 +0000 (22:43 +0200)] 
* tests/util/grub-shell.in: Set pkgdatadir when calling grub-mkrescue
and grub-mknetdir.

13 years ago * grub-core/loader/i386/linux.c (grub_cmd_linux): Avoid accessing
Vladimir 'phcoder' Serbinenko [Wed, 11 Apr 2012 20:40:20 +0000 (22:40 +0200)] 
* grub-core/loader/i386/linux.c (grub_cmd_linux): Avoid accessing
kh.loadflags on pre-2.00 kernels.

13 years ago Terminate UNDI and PXE before launching the payload to avoid problems
Vladimir 'phcoder' Serbinenko [Wed, 11 Apr 2012 20:32:31 +0000 (22:32 +0200)] 
Terminate UNDI and PXE before launching the payload to avoid problems
with DMA.

* grub-core/commands/boot.c (grub_loader_noreturn): Rename to ...
(grub_loader_flags): ... this. All users updated.
(grub_loader_boot): Check for GRUB_LOADER_FLAG_NORETURN.
* grub-core/loader/i386/pc/pxechainloader.c (grub_cmd_pxechain): Mark
loader as GRUB_LOADER_FLAG_PXE_NOT_UNLOAD.
* grub-core/net/drivers/i386/pc/pxe.c (grub_pxe_shutdown): New
function.
(grub_pxe_restore): Likewise.
(fini_hnd): New var.
(GRUB_MOD_INIT): Register shutdown hook.
(GRUB_MOD_FINI): Shutdown and unregister shutdown hook.
* include/grub/loader.h (GRUB_LOADER_FLAG_NORETURN): New const.
(GRUB_LOADER_FLAG_PXE_NOT_UNLOAD): Likewise.
(grub_loader_set): Rename second argument to flags.

13 years ago * grub-core/normal/charset.c (grub_ucs4_to_utf8): Return number of
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 18:11:04 +0000 (20:11 +0200)] 
* grub-core/normal/charset.c (grub_ucs4_to_utf8): Return number of
written bytes.
(grub_get_num_of_utf8_bytes): New function.
(grub_ucs4_to_utf8_alloc): Use grub_get_num_of_utf8_bytes.
* grub-core/normal/menu_entry.c (run): Convert entry to UTF-8 before
executing it.
* include/grub/charset.h (grub_get_num_of_utf8_bytes): New proto.
(grub_ucs4_to_utf8): Change return type.

13 years ago * grub-core/commands/usbtest.c (usb_print_str): Silence spurious
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 18:03:38 +0000 (20:03 +0200)] 
* grub-core/commands/usbtest.c (usb_print_str): Silence spurious
warning.

13 years ago * grub-core/lib/adler32.c: Recode due to license unclearness.
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 17:58:39 +0000 (19:58 +0200)] 
* grub-core/lib/adler32.c: Recode due to license unclearness.

13 years ago * grub-core/io/lzopio.c (read_block_header): Fix incorrect byte swapping
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 17:54:51 +0000 (19:54 +0200)] 
* grub-core/io/lzopio.c (read_block_header): Fix incorrect byte swapping
(test_header): Likewise.

13 years ago Fix --help formatting.
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 17:49:25 +0000 (19:49 +0200)] 
Fix --help formatting.

* util/grub-mkconfig_lib.in (print_option_help): New function.
(grub_fmt): Likewise.
* util/grub-install.in: Use print_option_help and grub_fmt.
* util/grub-kbdcomp.in: Likewise.
* util/grub-mkconfig.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.

13 years ago * linguas.sh: Remove autogenerated *.po.
Vladimir 'phcoder' Serbinenko [Sat, 7 Apr 2012 17:44:50 +0000 (19:44 +0200)] 
* linguas.sh: Remove autogenerated *.po.

13 years ago * po/README: Move language fetcing to ...
Vladimir 'phcoder' Serbinenko [Wed, 4 Apr 2012 12:55:56 +0000 (14:55 +0200)] 
* po/README: Move language fetcing to ...
* linguas.sh: ... here.
* po/README: Point to linguas.sh.

13 years ago * po/README: Exclude ko.po due to disclaimer problems.
Vladimir 'phcoder' Serbinenko [Wed, 4 Apr 2012 12:43:27 +0000 (14:43 +0200)] 
* po/README: Exclude ko.po due to disclaimer problems.

13 years ago * grub-core/gettext/gettext.c (grub_gettext_pread): Fix the case when
Vladimir 'phcoder' Serbinenko [Wed, 4 Apr 2012 12:41:55 +0000 (14:41 +0200)] 
* grub-core/gettext/gettext.c (grub_gettext_pread): Fix the case when
len = 0.
(grub_gettext_translate_real): Handle 0th string.
(grub_gettext_translate): Ensure that "" isn't translated.

13 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add
Vladimir 'phcoder' Serbinenko [Wed, 4 Apr 2012 12:33:38 +0000 (14:33 +0200)] 
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add
TRANSLATORS comment.
(grub_diskfilter_print_partmap): Propagate changing of error into
warning.

13 years ago * include/grub/diskfilter.h (grub_diskfilter_vg): Increase extent_size
Vladimir 'phcoder' Serbinenko [Wed, 4 Apr 2012 12:31:22 +0000 (14:31 +0200)] 
* include/grub/diskfilter.h (grub_diskfilter_vg): Increase extent_size
to uint64_t to prevent overflow.
(grub_diskfilter_lv): Increase start_extent and extent_count
to uint64_t to prevent overflow.

13 years ago * configure.ac: Increase version.
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:54:45 +0000 (21:54 +0200)] 
* configure.ac: Increase version.

13 years ago Introduce en@cyrillic en@hebrew en@arabic and en@greek.
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:53:46 +0000 (21:53 +0200)] 
Introduce en@cyrillic en@hebrew en@arabic and en@greek.

* po/Rules-translit: New file.
* po/arabic.sed: Likewise.
* po/cyrillic.sed: Likewise.
* po/greek.sed: Likewise.
* po/hebrew.sed: Likewise.
* po/README: Add en@cyrillic en@hebrew en@arabic and en@greek.
* po/Makefile.in.in: Add extra_dist4.

13 years ago Handle big-endian minixfs (fixes minixfs tests on bigendian).
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:35:18 +0000 (21:35 +0200)] 
Handle big-endian minixfs (fixes minixfs tests on bigendian).

* grub-core/fs/minix.c: Replace le with minix. Add necessary defines,
modify names. Introduce MODE_BIGENDIAN.
* grub-core/fs/minix_be.c: New file.
* grub-core/fs/minix2_be.c: Likewise
* grub-core/fs/minix3_be.c: Likewise.
* Makefile.util.def (libgrubmods): Add minix_be, minix2_be and
minix3_be.
* grub-core/Makefile.core.def (minix_be): New module.
(minix2_be): Likewise.
(minix3_be): Likewise.

13 years ago * grub-core/loader/efi/appleloader.c (devpath_7): New var.
Felix [Sun, 1 Apr 2012 19:30:24 +0000 (21:30 +0200)] 
* grub-core/loader/efi/appleloader.c (devpath_7): New var.
(devs): Add MBP 2011.

13 years ago * grub-core/font/font.c (blit_comb): Handle dagesh somewhat.
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:27:17 +0000 (21:27 +0200)] 
* grub-core/font/font.c (blit_comb): Handle dagesh somewhat.

13 years ago * grub-core/normal/cmdline.c (print_completion): New field
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:25:17 +0000 (21:25 +0200)] 
* grub-core/normal/cmdline.c (print_completion): New field
prompt_len.
(grub_cmdline_get): Handle width properly.

13 years ago * grub-core/commands/lsacpi.c (options): Add missing terminator.
Vladimir 'phcoder' Serbinenko [Sun, 1 Apr 2012 19:22:48 +0000 (21:22 +0200)] 
* grub-core/commands/lsacpi.c (options): Add missing terminator.

13 years ago * include/grub/datetime.h (grub_datetime2unixtime): Fix handling of days
Vladimir 'phcoder' Serbinenko [Sat, 31 Mar 2012 19:04:56 +0000 (21:04 +0200)] 
* include/grub/datetime.h (grub_datetime2unixtime): Fix handling of days
after 29th of February.

13 years ago Fix exfat endianness handling.
Vladimir 'phcoder' Serbinenko [Sat, 31 Mar 2012 17:04:13 +0000 (19:04 +0200)] 
Fix exfat endianness handling.

* grub-core/fs/fat.c (grub_fat_data): Make fat_sector 32-bit.
(grub_fat_mount) [MODE_EXFAT]: Fix bpb.num_reserved_sectors byte-swap.
(grub_fat_iterate_dir) [MODE_EXFAT]: Fix attr byte-swap.
Byte-swap utf16 when necessary.
(grub_fat_label) [MODE_EXFAT]: Byte-swap utf16 when necessary.

13 years ago Fix btrfs endianness handling.
Anton Blanchard [Sat, 31 Mar 2012 16:45:13 +0000 (18:45 +0200)] 
Fix btrfs endianness handling.

* grub-core/fs/btrfs.c (key_cmp): Use grub_le_to_cpu for clarity.
(lower_bound): Make root uint64_t. Use root in le.
(grub_btrfs_read_logical): Fix template key init. Fix address byteswap.
(find_path): Fix template key init.
(grub_btrfs_dir): Fix mtime byteswap.
* include/grub/types.h (grub_cpu_to_le64_compile_time): New macro.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
13 years ago * grub-core/fs/btrfs.c (grub_btrfs_read_logical): New argument
Vladimir 'phcoder' Serbinenko [Sat, 31 Mar 2012 16:38:29 +0000 (18:38 +0200)] 
* grub-core/fs/btrfs.c (grub_btrfs_read_logical): New argument
recursion_depth. Break infinite resursions. All users updated.

13 years ago * util/getroot.c (convert_system_partition_to_system_disk): Fix use
Vladimir 'phcoder' Serbinenko [Sat, 31 Mar 2012 10:27:10 +0000 (12:27 +0200)] 
* util/getroot.c (convert_system_partition_to_system_disk): Fix use
after free.
Reported by: Peter Jones.

13 years ago * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
Anton Blanchard [Sat, 31 Mar 2012 10:08:50 +0000 (12:08 +0200)] 
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
8 bit values.

13 years ago * util/grub-install.in: Fix nvram call for PreP.
Vladimir 'phcoder' Serbinenko [Wed, 28 Mar 2012 15:58:21 +0000 (17:58 +0200)] 
* util/grub-install.in: Fix nvram call for PreP.

13 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
Vladimir 'phcoder' Serbinenko [Wed, 28 Mar 2012 15:56:45 +0000 (17:56 +0200)] 
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
the error when some elements are missing into a warning.

13 years ago * grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.
Vladimir 'phcoder' Serbinenko [Wed, 28 Mar 2012 15:54:54 +0000 (17:54 +0200)] 
* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.

13 years ago* docs/grub.texi (Invoking grub-probe): New section.
Colin Watson [Tue, 27 Mar 2012 23:37:00 +0000 (00:37 +0100)] 
* docs/grub.texi (Invoking grub-probe): New section.
Reported by: Filipus Klutiero.  Fixes Debian bug #666031.

13 years ago Fix tab and wide character handling in editor and menu.
Vladimir 'phcoder' Serbinenko [Tue, 27 Mar 2012 15:07:26 +0000 (17:07 +0200)] 
Fix tab and wide character handling in editor and menu.

* grub-core/normal/charset.c (grub_unicode_aglomerate_comb): Don't
agglomerate control characters with combining marks.
(bidi_line_wrap): Allow break on tab.
(grub_unicode_get_comb_start): New function.
* grub-core/normal/menu_entry.c: Restructure to handle wide characters
and tab correctly.
* grub-core/normal/menu_text.c (print_entry): Replace \n, \r, \b and \e
with a space.
* grub-core/normal/term.c (print_ucs4_terminal): New argument
fixed_tab_size. All users updated.
* include/grub/term.h (GRUB_TERM_TAB_WIDTH): New const.
(grub_term_getcharwidth): Handle \t.
* include/grub/unicode.h (grub_unicode_glyph_dup): Fix allocation
and copy.

13 years ago Handle big-endian mdraid.
Vladimir 'phcoder' Serbinenko [Mon, 26 Mar 2012 14:10:40 +0000 (16:10 +0200)] 
Handle big-endian mdraid.

* Makefile.util.def (libgrubkern): Add mdraid_linux_be.c.
* grub-core/Makefile.core.def (mdraid09_be): New module.
* grub-core/disk/mdraid_linux.c: Use grub_md_to_cpu* and grub_cpu_to_md*
rather than grub_le_to_cpu* and grub_cpu_to_le*.
* grub-core/disk/mdraid_linux_be.c: New file.

13 years ago * grub-core/gettext/gettext.c (GRUB_MOD_INIT): Handle errors.
Vladimir 'phcoder' Serbinenko [Mon, 26 Mar 2012 14:07:42 +0000 (16:07 +0200)] 
* grub-core/gettext/gettext.c (GRUB_MOD_INIT): Handle errors.

13 years ago * util/getroot.c (grub_make_system_path_relative_to_its_root): Fix
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 15:30:16 +0000 (16:30 +0100)] 
* util/getroot.c (grub_make_system_path_relative_to_its_root): Fix
missing quotes which caused confusion among translators.

13 years ago * util/grub-mkconfig_lib.in: Fix typo.
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 15:27:59 +0000 (16:27 +0100)] 
* util/grub-mkconfig_lib.in: Fix typo.

13 years ago * grub-core/script/argv.c (grub_script_argv_split_append): Skip leading
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 12:29:43 +0000 (13:29 +0100)] 
* grub-core/script/argv.c (grub_script_argv_split_append): Skip leading
spaces.
* tests/grub_script_leading_whitespace.in: New file.
* Makefile.util.def (grub_script_leading_whitespace): New test.

13 years ago * grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 10:10:11 +0000 (11:10 +0100)] 
* grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub
to work.

13 years ago * grub-core/fs/jfs.c (grub_jfs_label): Use first label if second one
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 10:07:28 +0000 (11:07 +0100)] 
* grub-core/fs/jfs.c (grub_jfs_label): Use first label if second one
starts with control character.

13 years ago * grub-core/gdb/cstub.c (grub_gdb_inbuf): Increase the size to avoid
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 09:59:16 +0000 (10:59 +0100)] 
* grub-core/gdb/cstub.c (grub_gdb_inbuf): Increase the size to avoid
overflow.
(grub_gdb_outbuf): Likewise.

13 years ago * grub-core/commands/menuentry.c (grub_normal_add_menu_entry): Add
Vladimir 'phcoder' Serbinenko [Mon, 19 Mar 2012 09:56:43 +0000 (10:56 +0100)] 
* grub-core/commands/menuentry.c (grub_normal_add_menu_entry): Add
zero terminator. Fixes a crash.

13 years ago * grub-core/loader/i386/linux.c (allocate_pages): Don't allocate
Vladimir 'phcoder' Serbinenko [Sun, 11 Mar 2012 22:41:29 +0000 (23:41 +0100)] 
* grub-core/loader/i386/linux.c (allocate_pages): Don't allocate
beyond 4 GiB.
(grub_cmd_linux): Use GRUB_LINUX_BZIMAGE_ADDR for non-relocatable
images independently of preffered adderss field.

13 years ago * grub-core/commands/i386/pc/play.c: Improve TRANSLATORS comments.
Vladimir 'phcoder' Serbinenko [Sun, 11 Mar 2012 22:36:35 +0000 (23:36 +0100)] 
* grub-core/commands/i386/pc/play.c: Improve TRANSLATORS comments.
* grub-core/commands/regexp.c: Likewise.
* grub-core/loader/i386/linux.c: Likewise.
* grub-core/partmap/msdos.c: Likewise.
* grub-core/script/execute.c: Likewise.
* grub-core/term/gfxterm.c: Likewise.

13 years ago Add variable parsing in $"..." and fix several mismatches with bash.
Vladimir 'phcoder' Serbinenko [Sun, 11 Mar 2012 13:46:48 +0000 (14:46 +0100)] 
Add variable parsing in $"..." and fix several mismatches with bash.

* Makefile.util.def (grub_script_gettext): New test.
* grub-core/script/execute.c (parse_string): New function.
(gettext_append): Likewise.
(grub_script_arglist_to_argv): Use gettext_append.
* grub-core/script/yylex.l: Fix slash and newline handling in $"...".
* tests/grub_script_gettext.in: New file.

13 years ago Fix handling of leading spaces in scripts.
Vladimir 'phcoder' Serbinenko [Sun, 11 Mar 2012 13:43:18 +0000 (14:43 +0100)] 
Fix handling of leading spaces in scripts.

* grub-core/normal/cmdline.c (grub_cmdline_get): Don't strip leading
spaces.
* grub-core/normal/main.c (grub_file_getline): Remove all preprocessing
other than skipping \r. All users updated.
* tests/grub_script_echo1.in: Add space-related tests.
* util/grub-menulst2cfg.c (main): Remove useless space skipping.

13 years ago * grub-core/commands/cat.c (grub_cmd_cat): Fix termination key check.
Vladimir 'phcoder' Serbinenko [Sun, 11 Mar 2012 13:36:02 +0000 (14:36 +0100)] 
* grub-core/commands/cat.c (grub_cmd_cat): Fix termination key check.

13 years ago * configure.ac: Bump up the version to beta2.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 22:52:47 +0000 (23:52 +0100)] 
* configure.ac: Bump up the version to beta2.

13 years ago Fix gettext reload bugs (e.g. inability to disable gettext
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 22:25:34 +0000 (23:25 +0100)] 
Fix gettext reload bugs (e.g. inability to disable gettext
once enabled).

* grub-core/gettext/gettext.c: Encapsulate all static variables in
main_context and secondary_context. All functions updated.
(grub_gettext_translate): Rename to ...
(grub_gettext_translate_real): ... this. Return NULL on failed
translate.
(grub_gettext_translate): Handle secondary context.
(grub_gettext_delete_list): Close file and zero-out the context.
(grub_mofile_open): Don't call grub_gettext_delete_list.
Don't close file.
(grub_gettext_init_ext): Call grub_gettext_init_ext. Skip loading
if locale="" to avoid pointless error message.
(grub_gettext_env_write_lang): Update lang even if load fails.
Handle secondary context.
(grub_gettext_reread_prefix): New function.
(read_main): Likewise.
(read_secondary): Likewise.
(GRUB_MOD_INIT): Handle secondary context. Hook and export variables.
(GRUB_MOD_FINI): Handle secondary context. Don't close file.
* grub-core/normal/main.c (read_lists): Call grub_gettext_reread_prefix.
* include/grub/normal.h (grub_gettext_reread_prefix): New proto.

13 years ago * configure.ac: Decrease warning level to avoid spurious warnings and
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 20:30:37 +0000 (21:30 +0100)] 
* configure.ac: Decrease warning level to avoid spurious warnings and
to be able to compile with GCC 4.2.
* Makefile.util.def: Remove -Wno-error=logical-op.

13 years ago * util/import_unicode.py: Add missing brackets around string for
William Bittner [Sat, 10 Mar 2012 19:47:12 +0000 (20:47 +0100)] 
* util/import_unicode.py: Add missing brackets around string for
python 3 support.

13 years ago Fix efi chainloader on network root.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 19:41:28 +0000 (20:41 +0100)] 
Fix efi chainloader on network root.

* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Handle
network devices.
* grub-core/net/drivers/efi/efinet.c (grub_efinet_get_device_handle):
New function.

13 years ago * grub-core/gfxmenu/gui_progress_bar.c (grub_gui_progress_bar): Remove
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 18:46:46 +0000 (19:46 +0100)] 
* grub-core/gfxmenu/gui_progress_bar.c (grub_gui_progress_bar): Remove
unused show_text member.
* docs/grub.texi: Document "text" property.

13 years ago * grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 17:02:53 +0000 (18:02 +0100)] 
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format
in dprintf.

13 years ago Fix IMSM handling on Fedora.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 17:01:01 +0000 (18:01 +0100)] 
Fix IMSM handling on Fedora.

* util/getroot.c (grub_util_is_imsm): New function.
(grub_util_get_dev_abstraction): Treat IMSM as simple device, not RAID.

13 years ago * Makefile.am: Strip gold section.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 15:55:48 +0000 (16:55 +0100)] 
* Makefile.am: Strip gold section.
* conf/Makefile.common: Likewise.
* gentpl.py: Likewise.
* grub-core/Makefile.core.def: Likewise.
* grub-core/genmod.sh.in: Likewise.

13 years ago * util/grub.d/10_linux.in: Use stat if grub-probe on root fails.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 14:21:25 +0000 (15:21 +0100)] 
* util/grub.d/10_linux.in: Use stat if grub-probe on root fails.
* util/grub.d/20_linux_xen.in: Likewise.
Based on Debian patch.

13 years ago * util/grub.d/10_linux.in: Fix syntax error resulting in
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 13:42:26 +0000 (14:42 +0100)] 
* util/grub.d/10_linux.in: Fix syntax error resulting in
Richard Laager's patch.
* util/grub.d/20_linux_xen.in: Propagate Richard Laager's patch.

13 years ago * tests/partmap_test.in: Replace qemu-img usage with dd to decrease
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 13:35:17 +0000 (14:35 +0100)] 
* tests/partmap_test.in: Replace qemu-img usage with dd to decrease
dependencies.

13 years ago * util/grub.d/10_linux.in: Fix ZFS root passing.
Richard Laager [Sat, 10 Mar 2012 12:36:08 +0000 (13:36 +0100)] 
* util/grub.d/10_linux.in: Fix ZFS root passing.

13 years ago * grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:19:46 +0000 (13:19 +0100)] 
* grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
* grub-core/commands/xnu_uuid.c: Likewise.
* grub-core/loader/efi/appleloader.c: Likewise.
* grub-core/script/execute.c: Likewise.
* grub-core/script/main.c: Likewise.
* util/grub-mkfont.c: Likewise.

13 years ago * util/grub-mkfont.c (options): Use more appropriate "select" that
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:16:41 +0000 (13:16 +0100)] 
* util/grub-mkfont.c (options): Use more appropriate "select" that
"set" for face index.

13 years ago * util/grub-editenv.c (options): Gettextize command summaries.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:12:45 +0000 (13:12 +0100)] 
* util/grub-editenv.c (options): Gettextize command summaries.

13 years ago * grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Use
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:10:07 +0000 (13:10 +0100)] 
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Use
"out of memory" error messagge.

13 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:07:39 +0000 (13:07 +0100)] 
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning
of diskfilter for diskfilter on diskfilter support.

13 years ago * util/getroot.c (exec_pipe): Ensure that the child is not localised.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 12:05:21 +0000 (13:05 +0100)] 
* util/getroot.c (exec_pipe): Ensure that the child is not localised.

13 years ago * util/grub-install.in: Check for themes/starfield/theme.txt and not
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 11:33:52 +0000 (12:33 +0100)] 
* util/grub-install.in: Check for themes/starfield/theme.txt and not
themes/starfield.

13 years ago * grub-core/gnulib/regcomp.c (regerror): Fix out-of-range array lookup.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 11:31:42 +0000 (12:31 +0100)] 
* grub-core/gnulib/regcomp.c (regerror): Fix out-of-range array lookup.

13 years ago * grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code.
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 11:27:00 +0000 (12:27 +0100)] 
* grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code.

13 years ago * grub-core/commands/hashsum.c (grub_cmd_hashsum): Remove dot at the end
Vladimir 'phcoder' Serbinenko [Sat, 10 Mar 2012 11:23:47 +0000 (12:23 +0100)] 
* grub-core/commands/hashsum.c (grub_cmd_hashsum): Remove dot at the end
of error message.

13 years ago * util/grub-install.in: Fix install non-PreP IEEE1275 install.
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 23:58:55 +0000 (00:58 +0100)] 
* util/grub-install.in: Fix install non-PreP IEEE1275 install.

13 years ago * grub-core/commands/i386/pc/sendkey.c (GRUB_MOD_INIT): Fix confusing
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 23:56:22 +0000 (00:56 +0100)] 
* grub-core/commands/i386/pc/sendkey.c (GRUB_MOD_INIT): Fix confusing
message.
* util/grub-install.in: Fix anf gettextize error message.

13 years ago * util/grub-fstest.c (options): Replace N with NUM and S with STRING.
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 18:09:05 +0000 (19:09 +0100)] 
* util/grub-fstest.c (options): Replace N with NUM and S with STRING.
Gettextize.
* util/grub-mount.c (options): Likewise.

13 years ago * grub-core/commands/probe.c (options): Replace VAR with VARNAME and
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 18:07:23 +0000 (19:07 +0100)] 
* grub-core/commands/probe.c (options): Replace VAR with VARNAME and
gettextize.
* grub-core/commands/search_wrap.c (options): Likewise.

13 years ago * grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning.
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 18:05:43 +0000 (19:05 +0100)] 
* grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning.

13 years ago * grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 17:54:25 +0000 (18:54 +0100)] 
* grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix
size calculation.
* grub-core/kern/i386/realmode.S (realidt): Assume default BIOS IDT if
none is known.

13 years ago * grub-core/net/net.c (grub_net_addr_to_str): Don't translate
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 17:51:39 +0000 (18:51 +0100)] 
* grub-core/net/net.c (grub_net_addr_to_str): Don't translate
"temporary" since it's used in identifier and is limited in space.

13 years ago * po/POTFILES.in: Regenerate. Include *.h since they contain
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 17:47:51 +0000 (18:47 +0100)] 
* po/POTFILES.in: Regenerate. Include *.h since they contain
translatable strings as well.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
Vladimir 'phcoder' Serbinenko [Thu, 8 Mar 2012 17:42:03 +0000 (18:42 +0100)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
byte-swap on big-endian.
Reported by: Lennart Sorensen

13 years ago * grub-core/loader/i386/linux.c (prot_init_space): New variable.
Vladimir 'phcoder' Serbinenko [Wed, 7 Mar 2012 22:45:20 +0000 (23:45 +0100)] 
* grub-core/loader/i386/linux.c (prot_init_space): New variable.
(allocate_pages): Improve dprintf.
(grub_cmd_linux): Fill prot_init_space. Fix improper usage of
code32_start. Fill code32_start and kernel_alignment in params.
(grub_cmd_initrd): Use prot_init_space.

13 years ago * util/grub-mkstandalone.in: Propagate grub-mkimage.c change.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 14:53:02 +0000 (15:53 +0100)] 
* util/grub-mkstandalone.in: Propagate grub-mkimage.c change.

13 years ago * util/grub-install.in: Add missing dot at the end of sentence.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 14:45:30 +0000 (15:45 +0100)] 
* util/grub-install.in: Add missing dot at the end of sentence.

13 years ago * grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 14:04:33 +0000 (15:04 +0100)] 
* grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
* grub-core/commands/videotest.c: Likewise.
* grub-core/loader/i386/linux.c: Likewise.

13 years ago * grub-core/commands/acpi.c (options): Fix a dot in the middle of the
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 14:03:33 +0000 (15:03 +0100)] 
* grub-core/commands/acpi.c (options): Fix a dot in the middle of the
sentence.
Reported by: Milo Casagrande.

13 years ago * grub-core/commands/acpi.c: Add TRANSLATORS comments.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 13:11:10 +0000 (14:11 +0100)] 
* grub-core/commands/acpi.c: Add TRANSLATORS comments.
* grub-core/commands/gptsync.c: Likewise.
* grub-core/commands/hashsum.c: Likewise.
* grub-core/commands/i386/pc/sendkey.c: Likewise.
* grub-core/commands/legacycfg.c: Likewise.
* grub-core/io/gzio.c: Likewise.
* grub-core/net/net.c: Likewise.
* grub-core/term/gfxterm.c: Likewise.
* grub-core/term/terminfo.c: Likewise.
* grub-core/tests/test_blockarg.c: Likewise.
* grub-core/video/video.c: Likewise.
* util/grub-install.in: Likewise.
* util/grub-mkfont.c: Likewise.

13 years ago * util/grub-mkimage.c (help_filter): Add missing capitalisation.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 13:08:48 +0000 (14:08 +0100)] 
* util/grub-mkimage.c (help_filter): Add missing capitalisation.

13 years ago * grub-core/commands/search_wrap.c (options): Fix a typo.
Vladimir 'phcoder' Serbinenko [Tue, 6 Mar 2012 13:07:00 +0000 (14:07 +0100)] 
* grub-core/commands/search_wrap.c (options): Fix a typo.