Jordan Uggla
fc8345da98
2010-03-04 Jordan Uggla <jordan.uggla@gmail.com>
...
* INSTALL: Add gettext as a dependency and add qemu to a new section
"Prerequisites for make-check".
2010-03-04 16:28:57 +01:00
Christian Franke
4760f97911
2010-03-04 Christian Franke <franke@computer.org>
...
* util/grub-pe2elf.c: Add missing include "progname.h".
2010-03-04 16:25:26 +01:00
Vladimir 'phcoder' Serbinenko
f209b5b230
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* normal/crypto.c (read_crypto_list): Fix a typo.
Reported by: Seth Goldberg.
2010-03-04 16:13:35 +01:00
Vladimir 'phcoder' Serbinenko
b4b7be98db
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* Makefile.in (DISTCLEANFILES): Add stamp-h1.
2010-03-04 16:08:46 +01:00
Vladimir 'phcoder' Serbinenko
c0ee0385c9
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* Makefile.in (CLEANFILES) [FONT_SOURCE && grub_mkfont]: Add
ascii.bitmaps.
2010-03-04 15:50:57 +01:00
Vladimir 'phcoder' Serbinenko
a8efbf649e
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* genmk.rb: Remove terminal*.lst in make clean.
2010-03-04 15:41:32 +01:00
Vladimir 'phcoder' Serbinenko
08dcd91370
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* util/i386/efi/grub-install.in: Copy gettext files.
2010-03-04 15:12:34 +01:00
Vladimir 'phcoder' Serbinenko
c4d0b332c5
2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
...
* fs/ext2.c (grub_ext2_read_block): Fix an integer overflow.
2010-03-01 21:00:02 +01:00
Vladimir 'phcoder' Serbinenko
c6f2fe52f1
2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
...
Wait for user entry basing on presence of output rather than on errors.
* include/grub/normal.h (grub_normal_get_line_counter): New proto.
(grub_install_newline_hook): Likewise.
* normal/main.c (GRUB_MOD_INIT): Call grub_install_newline_hook.
* normal/menu.c (show_menu): Check line_counter to determine presence
of output.
* normal/term.c (grub_normal_line_counter): New variable.
(grub_normal_get_line_counter): New function.
(grub_install_newline_hook): Likewise.
2010-03-01 20:58:45 +01:00
Vladimir 'phcoder' Serbinenko
5382b1e4a8
2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
...
* commands/cat.c (grub_cmd_cat): Propagate grub_gzfile_open error.
2010-03-01 20:24:34 +01:00
Vladimir 'phcoder' Serbinenko
5519963bf6
2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
...
* configure.ac: Update version to 1.98.
2010-03-01 19:07:48 +01:00
Vladimir 'phcoder' Serbinenko
72b286313a
2010-02-26 Vladimir Serbinenko <phcoder@gmail.com>
...
* util/grub.d/10_linux.in (linux_entry): Don't default to
gfxpayload=keep if Linux doesn't support video handover.
2010-02-26 14:32:24 +01:00
Vladimir 'phcoder' Serbinenko
c140a18037
2010-02-25 Vladimir Serbinenko <phcoder@gmail.com>
...
Don't compile video modules on yeeloong since video subsystem is part
of kernel.
* conf/common.rmk (pkglib_MODULES) [yeeloong]: Remove video.mod,
video_fb.mod, bitmap.mod, font.mod, gfxterm.mod and bufio.mod
* conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add bitmap.h,
video.h, gfxterm.h, font.h, bitmap_scale.h and bufio.h.
* conf/mips.rmk (kernel_img_HEADERS): Add values instead of overwriting.
* include/grub/bitmap.h: Add EXPORT_FUNC and EXPORT_VAR.
* include/grub/bitmap_scale.h: Likewise.
* include/grub/bufio.h: Likewise.
* include/grub/font.h: Likewise.
* include/grub/gfxterm.h: Likewise.
* include/grub/video.h: Likewise.
* include/grub/vbe.h: Don't include video_fb.h.
* video/i386/pc/vbe.c: Include video_fb.h.
* commands/i386/pc/vbetest.c: Include video.h.
2010-02-25 15:10:18 +01:00
Colin Watson
a0ca21c2d2
2010-02-25 Jordan Uggla <jordan.uggla@gmail.com>
...
* util/grub-mkconfig.in (GRUB_SAVEDEFAULT): Export new variable.
* util/grub-mkconfig_lib.in (save_default_entry): Only save a new
default entry if GRUB_SAVEDEFAULT=true. This allows using
GRUB_DEFAULT=saved on its own to let grub-reboot work, without
saving a new default on every boot.
2010-02-25 13:30:50 +00:00
Vladimir 'phcoder' Serbinenko
4a8a763c7b
2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
...
* normal/crypto.c (read_crypto_list): Fix a memory leak.
* normal/term.c (read_terminal_list): Likewise.
* normal/main.c (grub_normal_init_page): Likewise.
(grub_normal_read_line_real): Likewise.
2010-02-24 15:24:21 +01:00
Vladimir 'phcoder' Serbinenko
607ffde2ca
2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Fix a
memory leak.
Reported by: Seth Goldberg.
2010-02-24 15:21:36 +01:00
Colin Watson
2b8fa975d4
2010-02-24 Joey Korkames <joey+lists@kidfixit.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Remove
duplicate declaration of `start'.
2010-02-24 10:02:16 +00:00
Vladimir 'phcoder' Serbinenko
618307dd08
2010-02-20 Vladimir Serbinenko <phcoder@gmail.com>
...
* fs/iso9660.c (grub_iso9660_iterate_dir): Strip version from joliet
filename.
Reported by: Georgy Buranov
2010-02-22 09:18:59 +01:00
carles
7dd05b96dc
2010-02-20 Carles Pina i Estany <carles@pina.cat>
...
* util/grub-mkrawimage.c (usage): Change string formatting to
improve gettext.
2010-02-20 23:31:35 +00:00
Manoel Rebelo Abranches
d1484a422e
2010-02-20 Manoel Rebelo Abranches <mrabran@br.ibm.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Add delete and
backspace keys.
2010-02-20 11:23:13 +01:00
Vladimir 'phcoder' Serbinenko
42b1d18685
2010-02-20 Vladimir Serbinenko <phcoder@gmail.com>
...
* video/fb/video_fb.c (grub_video_fb_scroll): Fix a pixel size bug.
Reported by: Michael Suchanek.
2010-02-20 11:15:51 +01:00
Samuel Thibault
0a39de87d9
2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* util/grub-mkconfig.in: Export GRUB_INIT_TUNE.
* util/grub.d/00_header.in: Handle GRUB_INIT_TUNE.
2010-02-18 08:56:31 +01:00
Vladimir 'phcoder' Serbinenko
d9f31a41ca
2010-02-16 Vladimir Serbinenko <phcoder@gmail.com>
...
Remove any reference to non-free fonts.
* commands/videotest.c (grub_cmd_videotest): Use unifont by default.
* docs/gfxmenu-theme-example.txt: Removed. It's both outdated and
uses non-free components.
* font/font.c (grub_font_get_name): Remove example name.
* gfxmenu/gui_label.c (grub_gui_label_new): Use unifont by default.
* gfxmenu/gui_list.c (grub_gui_list_new): Likewise.
* gfxmenu/gui_progress_bar.c (grub_gui_progress_bar_new): Likewise.
* gfxmenu/view.c (grub_gfxmenu_view_new): Likewise.
2010-02-16 13:23:08 +01:00
Georgy Buranov
2793c71ea9
2010-02-16 Georgy Buranov <gburanov@gmail.com>
...
* disk/efi/efidisk.c (grub_efidisk_get_device_name): Fix a typo.
2010-02-16 13:13:02 +01:00
Vladimir 'phcoder' Serbinenko
402e377992
2010-02-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* term/serial.c (serial_get_divisor) [GRUB_MACHINE_MIPS_YEELOONG]:
Double divisor.
(serial_hw_init) [GRUB_MACHINE_MIPS_YEELOONG]: Don't enable advanced
features.
(GRUB_MOD_INIT) [GRUB_MACHINE_MIPS_YEELOONG]: Default to 115200.
2010-02-15 19:01:38 +01:00
Vladimir 'phcoder' Serbinenko
0dd1e0dd38
2010-02-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* gensymlist.sh.in: Use TARGET_CC instead of CC.
2010-02-15 18:59:40 +01:00
Samuel Thibault
6fa7cfce65
2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* commands/i386/pc/play.c (GRUB_MOD_INIT(play)): Fix help.
* docs/grub.texi (Command-line and menu entry commands): Document play
command.
2010-02-14 18:36:26 +01:00
Samuel Thibault
37c8483b97
2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* commands/i386/pc/play.c (grub_cmd_play): If grub_file_open fails,
parse arguments as inline tempo and notes. Move code for playing notes
to...
(play): ... new function.
2010-02-14 18:14:16 +01:00
Samuel Thibault
14da0fb7e8
2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* commands/i386/pc/play.c (T_REST, T_FINE, struct note, beep_on): Use
grub_uint16_t instead of short.
(grub_cmd_play): Use grub_uint32_t instead of int, convert data from
disk from little endian to cpu endianness.
2010-02-14 17:25:52 +01:00
Samuel Thibault
04459e70a3
2010-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* commands/i386/pc/play.c (BASE_TEMPO): Set to 60 *
GRUB_TICKS_PER_SECOND instead of 120.
2010-02-14 17:07:34 +01:00
Vladimir 'phcoder' Serbinenko
a08769434f
2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Wait for possible
escape sequence after \e.
2010-02-14 14:52:10 +01:00
Vladimir 'phcoder' Serbinenko
e29f95dc53
2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Don't output
non-ASCII characters.
2010-02-14 14:51:06 +01:00
Vladimir 'phcoder' Serbinenko
d27859b2ec
2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
...
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Enclose
set root in single quotes to prevent \, from being unescaped.
2010-02-14 14:47:50 +01:00
Vladimir 'phcoder' Serbinenko
bc028f2f86
2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
...
Prevent unknown commands from stopping menuentry execution.
* script/execute.c (grub_script_execute_cmdline): Print error after
unknown command.
2010-02-14 14:46:19 +01:00
Vladimir 'phcoder' Serbinenko
095f5f82f7
2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>
...
* fs/i386/pc/pxe.c (GRUB_MOD_INIT): Fix typo.
Reported by: Pavel Pisa.
2010-02-14 13:18:33 +01:00
Vladimir 'phcoder' Serbinenko
8c71795010
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* io/gzio.c (grub_gzio_open): Use grub_zalloc.
2010-02-14 02:10:46 +01:00
Vladimir 'phcoder' Serbinenko
904935c3ef
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
Merge grub_ieee1275_map_physical into grub_map and rename to
grub_ieee1275_map
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_map): New proto.
* include/grub/sparc64/ieee1275/ieee1275.h (grub_ieee1275_map_physical):
Remove.
* kern/ieee1275/openfw.c (grub_map): Rename to ...
(grub_ieee1275_map): ... this. All users updated. Add phys_lo when
necessary.
* kern/sparc64/ieee1275/ieee1275.c (grub_ieee1275_map_physical): Remove.
2010-02-13 16:48:22 +01:00
Vladimir 'phcoder' Serbinenko
5b59a4e367
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* disk/ieee1275/ofdisk.c (grub_ofdisk_open): Check device type before
opening and not after.
2010-02-13 16:44:34 +01:00
Vladimir 'phcoder' Serbinenko
69e137e819
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Macroify
constants.
2010-02-13 16:40:29 +01:00
Vladimir 'phcoder' Serbinenko
2c0fcc3666
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/sparc64/ieee1275/linux.c (align_addr): Remove.
(alloc_phys): Use ALIGN_UP instead of align_addr.
2010-02-13 16:32:24 +01:00
Vladimir 'phcoder' Serbinenko
8c6052cea5
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/sparc64/ieee1275/linux.c (alloc_phys): Correct bounds checking.
2010-02-13 16:30:22 +01:00
Vladimir 'phcoder' Serbinenko
17cec782c4
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* kern/sparc64/ieee1275/crt0.S (codestart): Move modules backwards.
2010-02-13 16:23:20 +01:00
Vladimir 'phcoder' Serbinenko
e0128bbdc4
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* disk/ieee1275/ofdisk.c (grub_ofdisk_read): Remove excessively
verbose dprintf.
2010-02-13 16:16:40 +01:00
Vladimir 'phcoder' Serbinenko
ca62070b69
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
Fix over-4GiB seek on sparc64.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_seek):
Replace pos_i and pos_lo with pos. All users updated.
* include/grub/powerpc/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF):
New constant.
* include/grub/sparc64/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF):
Likewise.
* kern/ieee1275/ieee1275.c (grub_ieee1275_seek): Split pos into pos_hi
and pos_lo.
2010-02-13 16:13:28 +01:00
Vladimir 'phcoder' Serbinenko
bdca260795
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* util/grub-mkrawimage.c (main): Call set_program_name.
2010-02-13 15:57:42 +01:00
Vladimir 'phcoder' Serbinenko
da278c4d34
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
Properly align 64-bit targets.
* util/grub-mkrawimage.c (ALIGN_ADDR): New macro.
(generate_image): Use ALIGN_ADDR.
2010-02-13 15:54:27 +01:00
Vladimir 'phcoder' Serbinenko
b274d734f3
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
Properly create cross-endian images.
* include/grub/types.h (grub_host_to_target_addr): New macro
* util/grub-mkrawimage.c (generate_image): Add missing host_to_target.
2010-02-13 15:40:13 +01:00
Vladimir 'phcoder' Serbinenko
82da2062d8
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
2010-02-13 15:25:37 +01:00
Vladimir 'phcoder' Serbinenko
7cae4377a2
2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
...
Pass SIMPLE framebuffer size in bytes and not 64K blocks.
* loader/i386/efi/linux.c (grub_linux_setup_video): Don't divide by 64K.
* loader/i386/linux.c (grub_linux_setup_video): Likewise.
(grub_linux_boot): Divide by 64K when on VESA.
2010-02-10 20:27:12 +01:00
Vladimir 'phcoder' Serbinenko
65a533e78a
2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
...
Support GRUB_GFXPAYLOAD_LINUX.
* util/grub-mkconfig.in: Export GRUB_GFXPAYLOAD_LINUX.
* util/grub.d/10_linux.in (linux_entry): Handle GRUB_GFXPAYLOAD_LINUX.
2010-02-10 19:53:13 +01:00