grub/grub-core
Vladimir 'phcoder' Serbinenko 17f38c0f8c 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.
2012-03-10 23:25:34 +01:00
..
boot * grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix 2012-03-08 18:54:25 +01:00
bus Improve string. Gettextize. 2012-02-12 15:25:25 +01:00
commands * grub-core/commands/videoinfo.c: Add TRANSLATORS comments. 2012-03-10 13:19:46 +01:00
disk * grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning 2012-03-10 13:07:39 +01:00
efiemu * grub-core/efiemu/prepare.c (grub_efiemu_crc): Add missing 2012-02-28 03:59:08 +01:00
font Remove grub_{modname}_init and grub_{modname}_fini. They should never 2012-02-27 00:28:45 +01:00
fs * grub-core/commands/acpihalt.c: Add TRANSLATORS comments. 2012-03-03 12:59:28 +01:00
gdb * grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code. 2012-03-10 12:27:00 +01:00
gettext Fix gettext reload bugs (e.g. inability to disable gettext 2012-03-10 23:25:34 +01:00
gfxmenu * grub-core/gfxmenu/gui_progress_bar.c (grub_gui_progress_bar): Remove 2012-03-10 19:46:46 +01:00
gnulib * grub-core/gnulib/regcomp.c (regerror): Fix out-of-range array lookup. 2012-03-10 12:31:42 +01:00
hello * grub-core/commands/gptsync.c: Fix typographic quoting. 2012-03-03 13:05:08 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io * grub-core/commands/acpi.c: Add TRANSLATORS comments. 2012-03-06 14:11:10 +01:00
kern * grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix 2012-03-08 18:54:25 +01:00
lib Fix FTBFS on mips and ppc 2012-03-03 20:53:54 +01:00
loader Fix efi chainloader on network root. 2012-03-10 20:41:28 +01:00
mmap Fix compile error 2012-03-03 20:12:03 +01:00
net Fix efi chainloader on network root. 2012-03-10 20:41:28 +01:00
normal Fix gettext reload bugs (e.g. inability to disable gettext 2012-03-10 23:25:34 +01:00
partmap * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
parttool * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
script * grub-core/commands/videoinfo.c: Add TRANSLATORS comments. 2012-03-10 13:19:46 +01:00
term * grub-core/commands/acpi.c: Add TRANSLATORS comments. 2012-03-06 14:11:10 +01:00
tests * grub-core/commands/acpi.c: Add TRANSLATORS comments. 2012-03-06 14:11:10 +01:00
video * grub-core/commands/acpi.c: Add TRANSLATORS comments. 2012-03-06 14:11:10 +01:00
gdb_grub.in * conf/Makefile.common (platform_SCRIPTS): New variable. 2012-02-18 20:25:11 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * Makefile.am: Strip gold section. 2012-03-10 16:55:48 +01:00
genmoddep.awk Add new all_video module. 2012-02-26 18:09:07 +01:00
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh Increase warning level. 2012-02-10 16:48:48 +01:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
Makefile.am * grub-core/Makefile.am (MACHO2IMG): Add missing variable. 2012-02-29 15:08:08 +01:00
Makefile.core.def * Makefile.am: Strip gold section. 2012-03-10 16:55:48 +01:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00