Felix Zielcke
11d9778b86
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in: Don't include GRUB_CONTRIB makefiles with emu
platform.
2009-11-24 12:29:17 +01:00
Robert Millan
8725ccaad0
2009-11-24 Robert Millan <rmh.grub@aybabtu.com>
...
* zh_CN.po: New file.
* LINGUAS: Add `zh_CN'.
2009-11-24 10:49:49 +00:00
Robert Millan
285cd7ddd5
Move ChangeLog entries affecting po/ directory to po/ChangeLog
2009-11-24 10:45:26 +00:00
Felix Zielcke
4465287d1b
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* util/getroot.c (grub_util_get_dev_abstraction): Properly use
strncmp().
2009-11-24 09:55:28 +01:00
Felix Zielcke
62b47f220a
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.
2009-11-24 08:20:48 +01:00
Vladimir 'phcoder' Serbinenko
947fa16c8b
Important speedup by not redrawing too much
2009-11-24 07:17:18 +01:00
Vladimir 'phcoder' Serbinenko
4545f150f3
Various cleanups
2009-11-24 05:02:30 +01:00
Vladimir 'phcoder' Serbinenko
93fd2dd809
Optimise gfxterm in gfxmenu by avoiding indirect repainting
2009-11-24 04:22:22 +01:00
Vladimir 'phcoder' Serbinenko
8f41eb5582
Use return instead of exit () in gentrigtables.c
2009-11-24 04:21:07 +01:00
Vladimir 'phcoder' Serbinenko
a9c12f8533
Remove hardcoded hotkeys
2009-11-24 04:20:18 +01:00
Vladimir 'phcoder' Serbinenko
a5c894bcd9
Enable gfxmenu on grub-emu
2009-11-24 04:19:33 +01:00
Vladimir 'phcoder' Serbinenko
59f746dc5f
merged mainstream into crypto
2009-11-24 02:54:35 +01:00
Vladimir 'phcoder' Serbinenko
3dcf83ba7d
merged mainstream into gfxmenu
2009-11-24 01:22:41 +01:00
Robert Millan
662290ce76
2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
...
* po/id.po: New file.
* LINGUAS: Add `id'.
2009-11-23 22:41:37 +00:00
Carles Pina i Estany
1eafb9b92b
* Fixes date in the ChangeLog entry
2009-11-23 21:29:39 +00:00
Carles Pina i Estany
e44249de6d
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.
2009-11-23 21:14:30 +00:00
Carles Pina i Estany
c3ea6bd466
Final touches before merging
2009-11-23 20:59:24 +00:00
Carles Pina i Estany
2b352daff9
Syncs with trunk
2009-11-23 20:50:01 +00:00
Carles Pina i Estany
3db5183c2c
Adds gettext note in NEWS.
2009-11-23 20:47:25 +00:00
Carles Pina i Estany
b58fc33c4f
Merging with trunk
2009-11-23 20:34:42 +00:00
Carles Pina i Estany
b2748cd1c8
Cleaning up
2009-11-23 20:31:57 +00:00
Robert Millan
0fdb256813
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.
2009-11-23 20:30:56 +00:00
Carles Pina i Estany
e2c37719a6
Uncommits the last commits (to make the new merge with trunk easier)
2009-11-23 20:22:36 +00:00
Vladimir 'phcoder' Serbinenko
4996893238
definition fixes
2009-11-23 21:15:44 +01:00
Vladimir 'phcoder' Serbinenko
8eea9034f8
Use LOCAL in relocator
2009-11-23 20:18:10 +01:00
Robert Millan
f515aa6224
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.
2009-11-23 15:37:33 +00:00
Robert Millan
f84b481b35
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.
2009-11-23 15:31:54 +00:00
Robert Millan
4efeab03dc
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".
2009-11-23 15:23:55 +00:00
Robert Millan
26743e871b
Resync.
2009-11-23 15:19:43 +00:00
Robert Millan
ea1dd8bf0a
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.
2009-11-23 13:18:07 +00:00
Robert Millan
57082942dd
Add auto-generated gcrypt files.
2009-11-23 12:18:37 +00:00
Robert Millan
0c14062641
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.
2009-11-23 11:17:50 +00:00
Vladimir 'phcoder' Serbinenko
5acc2aba78
merged mainline into PCI
2009-11-23 11:15:24 +01:00
Vladimir 'phcoder' Serbinenko
d00e2a0b4c
Merge mainstream into mips
2009-11-23 11:07:31 +01:00
Carles Pina i Estany
9874f05759
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.
2009-11-22 23:41:06 +00:00
Vladimir 'phcoder' Serbinenko
1c805a5a3e
Fixed cache invalidating
2009-11-23 00:16:49 +01:00
Carles Pina i Estany
4d1f668fd9
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.
2009-11-22 22:24:54 +00:00
Carles Pina i Estany
4baf87d9e4
merging to trunk...
2009-11-22 21:45:40 +00:00
Carles Pina i Estany
347687cf6e
Removes the non-gettext string
2009-11-22 21:42:28 +00:00
Carles Pina i Estany
6e2621b9ff
Final touches (don't gettextize a string, chang setted by set)
2009-11-22 21:41:33 +00:00
Carles Pina i Estany
b6c871b0d7
Some more changes...
2009-11-22 18:58:19 +00:00
Carles Pina i Estany
3014405923
Changes catalan strings like it was before (test)
2009-11-22 16:59:20 +00:00
Carles Pina i Estany
c505aa627f
Removes a debug variable (new_fd)
2009-11-22 16:57:17 +00:00
Vladimir 'phcoder' Serbinenko
8719095cc8
Hopefully fixed cache problems in relocator
2009-11-22 15:05:20 +01:00
Carles Pina i Estany
938d89c04d
Corrects Catalan translation
2009-11-22 13:01:49 +00:00
Carles Pina i Estany
e5fb78c684
This commit is the same than gettext08.patch (see mailing list)
2009-11-22 12:50:46 +00:00
Vladimir 'phcoder' Serbinenko
937d332db3
compile and configuration fixes
2009-11-22 13:15:49 +01:00
Carles Pina i Estany
39eaee93f1
Sync with trunk
2009-11-22 11:56:10 +00:00
Carles Pina i Estany
0648f857ea
Different changes following Robert's email 20091121230904.GA29740@thorin
2009-11-22 11:49:54 +00:00
Vladimir 'phcoder' Serbinenko
7f4f3f581c
Unify grub-install.in for sparc64 with i386-ieee1275
2009-11-22 12:22:19 +01:00