]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
16 years agoEliminate blacklist of modules w/o init
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 02:58:14 +0000 (03:58 +0100)] 
Eliminate blacklist of modules w/o init

16 years agoDon't try to generate moddep.lst on any-emu.rmk
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 02:48:38 +0000 (03:48 +0100)] 
Don't try to generate moddep.lst on any-emu.rmk

16 years agoDon't strip on any-emu
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 02:43:07 +0000 (03:43 +0100)] 
Don't strip on any-emu

16 years agoRename main.mod to kernel.img
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 02:29:59 +0000 (03:29 +0100)] 
Rename main.mod to kernel.img

16 years agomerge mainline into emu-mod
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 02:06:33 +0000 (03:06 +0100)] 
merge mainline into emu-mod

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 01:47:18 +0000 (02:47 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Rename one instance
of disk to dsk to avoid shadowing.
(find_free_slot): Fix prototype.
* util/getroot.c (grub_util_is_dmraid): Make static.
* include/grub/time.h (grub_get_rtc) [GRUB_MACHINE_EMU || GRUB_UTIL]:
Add missing prototype.
* util/sdl.c (grub_video_sdl_set_viewport): Remove.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 01:44:47 +0000 (02:44 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

Fix warnings in grub-emu when compiling with maximum warning options.

* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Rename one instance
of disk to dsk to avoid shadowing.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 01:37:48 +0000 (02:37 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

Fix warnings in grub-emu when compiling with maximum warning options.

* util/grub-emu.c (ENABLE_RELOCATABLE): New definition.
(grub_arch_modules_addr): Return 0 and not NULL.
* util/misc.c (ENABLE_RELOCATABLE): New definition.
(xstrdup): USe newstr instead of dup.

16 years agoFirst try at generating grub-emu from modules
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 01:07:35 +0000 (02:07 +0100)] 
First try at generating grub-emu from modules

16 years agoRemove data member in partition structure
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 00:48:38 +0000 (01:48 +0100)] 
Remove data member in partition structure

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 00:41:23 +0000 (01:41 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/linux.c (grub_linux_setup_video): Handle error
appropriately.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 7 Feb 2010 00:33:37 +0000 (01:33 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting
code out.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 23:52:31 +0000 (00:52 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline.
* kern/i386/coreboot/init.c (grub_arch_sync_caches): Remove.
* kern/i386/efi/init.c (grub_arch_sync_caches): Likewise.
* kern/i386/ieee1275/init.c (grub_arch_sync_caches): Likewise.
* kern/i386/pc/init.c (grub_arch_sync_caches): Likewise.
* util/misc.c (grub_arch_sync_caches) [i386 || x86_64]: Likewise.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 23:46:09 +0000 (00:46 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/err.h (grub_err_printf): Don't export.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 23:40:17 +0000 (00:40 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/dl.h (grub_dl_register_symbol): Don't export.

16 years ago2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 23:36:18 +0000 (00:36 +0100)] 
2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/i18n.h (grub_gettext_dummy): Removed.
* kern/misc.c (grub_gettext_dummy): Make static.

16 years agoMerge mainline into intwrap
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 22:49:41 +0000 (23:49 +0100)] 
Merge mainline into intwrap

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 22:39:14 +0000 (23:39 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/misc.c (grub_utf8_to_ucs4): Don't eat valid characters preceeded
by non-valid ones.
* kern/term.c (grub_putchar): Likewise.

16 years agoreimport sunpc
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 20:36:24 +0000 (21:36 +0100)] 
reimport sunpc

16 years agoMerge mainline into nestpart
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 20:03:32 +0000 (21:03 +0100)] 
Merge mainline into nestpart

16 years agoUse (hd0,msdos1) syntax. Eliminate partmap_iterate
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 20:00:53 +0000 (21:00 +0100)] 
Use (hd0,msdos1) syntax. Eliminate partmap_iterate

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 19:59:56 +0000 (20:59 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* partmap/sun.c (sun_partition_map_iterate): Restructure flow to fix
buggy hook call and memory leak.

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 19:52:11 +0000 (20:52 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/ls.c (grub_ls_list_files): Free pathname on exit.

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 19:49:57 +0000 (20:49 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/fat.c (grub_fat_iterate_dir): Free unibuf at exit.

16 years agoRemove part_ prefix
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 18:33:53 +0000 (19:33 +0100)] 
Remove part_ prefix

16 years agomerge mainline into nestpart
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 17:47:17 +0000 (18:47 +0100)] 
merge mainline into nestpart

16 years agoReimport nestpart
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 17:43:37 +0000 (18:43 +0100)] 
Reimport nestpart

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 15:32:45 +0000 (16:32 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/pc/xnu.c (grub_xnu_set_video): Add const qualifier to
modevar.
Return grub_errno on allocation error.

16 years agoMerge mainline into ofwfb
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 15:01:18 +0000 (16:01 +0100)] 
Merge mainline into ofwfb

16 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 15:00:56 +0000 (16:00 +0100)] 
ChangeLog

16 years agoFixed ChangeLog
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 15:00:29 +0000 (16:00 +0100)] 
Fixed ChangeLog

16 years agomerge mainline into ofwfb
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 14:54:01 +0000 (15:54 +0100)] 
merge mainline into ofwfb

16 years agoIncrease heap limit
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 14:53:39 +0000 (15:53 +0100)] 
Increase heap limit

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 14:51:22 +0000 (15:51 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* disk/ieee1275/ofdisk.c (grub_ofdisk_read): Correct error handling.

16 years ago2010-02-06 Yves Blusseau <blusseau@zetam.org>
Yves Blusseau [Sat, 6 Feb 2010 14:37:23 +0000 (15:37 +0100)] 
2010-02-06  Yves Blusseau  <blusseau@zetam.org>

    * conf/common.rmk (grub_script_check_SOURCES): add missing dependencies.
    (grub_mkpasswd_pbkdf2_SOURCES): Likewise.

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 14:25:59 +0000 (15:25 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/i386/pc/pxe.c (grub_pxefs_dir): Return with failure on
non-pxe disk.
(grub_pxefs_open): Likewise.

16 years ago2010-02-06 Colin D Bennett <colin@gibibit.com>
Vladimir 'phcoder' Serbinenko [Sat, 6 Feb 2010 13:40:57 +0000 (14:40 +0100)] 
2010-02-06  Colin D Bennett  <colin@gibibit.com>

* conf/common.rmk (pkglib_MODULES): Add gfxmenu.mod.
(gfxmenu_mod_SOURCES): New variable.
(gfxmenu_mod_CFLAGS): Likewise.
(gfxmenu_mod_LDFLAGS): Likewise.
* include/grub/term.h (grub_term_set_current_output): Declare
argument as const.
* docs/gfxmenu-theme-example.txt: New file.
* gfxmenu/gfxmenu.c: Likewise.
* gfxmenu/gui_box.c: Likewise.
* gfxmenu/gui_canvas.c: Likewise.
* gfxmenu/gui_circular_progress.c: Likewise.
* gfxmenu/gui_image.c: Likewise.
* gfxmenu/gui_label.c: Likewise.
* gfxmenu/gui_list.c: Likewise.
* gfxmenu/gui_progress_bar.c: Likewise.
* gfxmenu/gui_string_util.c: Likewise.
* gfxmenu/gui_util.c: Likewise.
* gfxmenu/icon_manager.c: Likewise.
* gfxmenu/model.c: Likewise.
* gfxmenu/named_colors.c: Likewise.
* gfxmenu/theme_loader.c: Likewise.
* gfxmenu/view.c: Likewise.
* gfxmenu/widget-box.c: Likewise.
* include/grub/gfxmenu_model.h: Likewise.
* include/grub/gfxmenu_view.h: Likewise.
* include/grub/gfxwidgets.h: Likewise.
* include/grub/gui.h: Likewise.
* include/grub/gui_string_util.h: Likewise.
* include/grub/icon_manager.h: Likewise.

2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

Agglomerate scrolling in gfxterm.

* term/gfxterm.c (grub_virtual_screen): New member 'total_screen'.
(grub_virtual_screen_setup): Initialise 'total_screen'.
(write_char): Split to ...
(paint_char): ... this ...
(write_char): ... and this.
(paint_char): Handle delayed scrolling.
(draw_cursor): Likewise.
(scroll_up): Split to ...
(real_scroll): ... this ...
(scroll_up): ... and this.
(real_scroll): Handle multi-line scroll and draw below-the-bottom
characters.
(grub_gfxterm_refresh): Call real_scroll.

2010-02-06  Colin D Bennett  <colin@gibibit.com>

* include/grub/misc.h (grub_iscntrl): New inline function.
(grub_isalnum): Likewise.
(grub_strtol): Likewise.

2010-02-06  Colin D Bennett  <colin@gibibit.com>

* normal/menu_text.c (get_entry_number): Move from here ...
* normal/menu.c (get_entry_number): ... moved here.
* include/grub/menu.h (grub_menu_get_default_entry_index):
New prototype.
* normal/menu.c (grub_menu_get_default_entry_index): New function.
* normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index.
* include/grub/menu_viewer.h (grub_menu_viewer_init): New prototype.
(grub_menu_viewer_should_return): Likewise.
* normal/main.c (GRUB_MOD_INIT (normal)): Call grub_menu_viewer_init.
* normal/menu_text.c (run_menu): Enable menu switching.
* normal/menu_viewer.c (should_return): New variable.
(menu_viewer_changed): Likewise.
(grub_menu_viewer_show_menu): Handle menu viewer changes.
(grub_menu_viewer_should_return): New function.
(menuviewer_write_hook): Likewise.
(grub_menu_viewer_init): Likewise.

2010-02-06  Colin D Bennet <colin@gibibit.com>
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

Support for gfxterm in a window.

* include/grub/gfxterm.h: New file.
* include/grub/video.h (struct grub_video_rect): New declaration.
(grub_video_rect_t): Likewise.
* term/gfxterm.c (struct grub_gfxterm_window): New type.
(refcount): New variable.
(render_target): Likewise.
(window): Likewise.
(repaint_callback): Likewise.
(grub_virtual_screen_setup): Use 'render_target'.
(init_window): New function.
(grub_gfxterm_init_window): Likewise.
(grub_gfxterm_init): Check reference counter.
Use init_window.
(destroy_window): New function.
(grub_gfxterm_destroy_window): Likewise.
(grub_gfxterm_fini): Check reference counter.
Use destroy_window.
(redraw_screen_rect): Restore viewport.
Use 'render_target' and 'window'.
Call 'repaint_callback'.
(write_char): Use 'render_target'.
(draw_cursor): Likewise.
(scroll_up): Restore viewport.
Use 'render_target' and 'window'.
Call 'repaint_callback'.
(grub_gfxterm_cls): Likewise.
(grub_gfxterm_refresh): Use 'window'.
(grub_gfxterm_set_repaint_callback): New function.
(grub_gfxterm_background_image_cmd): Use 'window'.
(grub_gfxterm_get_term): New function.
(GRUB_MOD_INIT(term_gfxterm)): Set 'refcount' to 0.

2010-02-06  Colin D Bennett  <colin@gibibit.com>

Bitmap scaling support.

* conf/common.rmk (pkglib_MODULES): Add bitmap_scale.mod.
(bitmap_scale_mod_SOURCES): New variable.
(bitmap_scale_mod_CFLAGS): Likewise.
(bitmap_scale_mod_LDFLAGS): Likewise.
* include/grub/bitmap_scale.h: New file.
* term/gfxterm.c (BACKGROUND_CMD_ARGINDEX_MODE): New definiton.
(background_image_cmd_options): New variable.
(grub_gfxterm_background_image_cmd): Support bitmap stretching.
(cmd): Rename and change type to ...
(background_image_cmd_handle): ... this. All users updated.
(GRUB_MOD_INIT(term_gfxterm)): Make background_image extended command.
* video/bitmap_scale.c: New file.

2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

SDL support.

* Makefile.in (LIBSDL): New variable.
(enable_grub_emu_sdl): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Add video files.
(grub_emu_SOURCES) [enable_grub_emu_sdl]: Add util/sdl.c.
(grub_emu_LDFLAGS) [enable_grub_emu_sdl]: Add $(LIBSDL).
* configure.ac: Detect SDL availability and add --enable-grub-emu-sdl
* util/sdl.c: New file.

2010-02-06  Colin D Bennett  <colin@gibibit.com>
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

Double buffering support.

* commands/i386/pc/videotest.c (grub_cmd_videotest): Swap doublebuffers.
* include/grub/video.h: Update comment.
* include/grub/video_fb.h (grub_video_fb_doublebuf_update_screen_t):
New type.
(grub_video_fb_doublebuf_blit_init): New prototype.
* term/gfxterm.c (scroll_up): Support double buffering.
(grub_gfxterm_refresh): Likewise.
* video/fb/video_fb.c (doublebuf_blit_update_screen): New function.
(grub_video_fb_doublebuf_blit_init): Likewise.
* video/i386/pc/vbe.c (framebuffer): Remove 'render_target'. Add
'front_target', 'back_target', 'offscreen_buffer', 'page_size',
'displayed_page', 'render_page' and 'update_screen'.
(grub_video_vbe_fini): Free offscreen buffer.
(doublebuf_pageflipping_commit): New function.
(doublebuf_pageflipping_update_screen): Likewise.
(doublebuf_pageflipping_init): Likewise.
(double_buffering_init): Likewise.
(grub_video_vbe_setup): Enable doublebuffering.
(grub_video_vbe_swap_buffers): Implement.
(grub_video_vbe_set_active_render_target): Handle double buffering.
(grub_video_vbe_get_active_render_target): Likewise.
(grub_video_vbe_get_info_and_fini): Likewise. Free offscreen_buffer.
(grub_video_vbe_adapter): Use grub_video_vbe_get_active_render_target.
(grub_video_vbe_enable_double_buffering): Likewise.
(grub_video_vbe_swap_buffers): Use update_screen.
(grub_video_set_mode): Use double buffering.

2010-02-06  Robert Millan  <rmh.grub@aybabtu.com>

* maintainance/gentrigtables.py: Remove.
* lib/trig.c: Likewise.

* gentrigtables.c: New file.  C rewrite of gentrigtables.py.

* conf/common.rmk (trig_mod_SOURCES): Replace `lib/trig.c' with
`trigtables.c'.
(trigtables.c): New rule.
(gentrigtables): Likewise.
(DISTCLEANFILES): Add `trigtables.c' and `gentrigtables'.

2010-02-06  Robert Millan  <rmh.grub@aybabtu.com>

* maintainance/gentrigtables.py: Avoid duplicate hardcoding of
integer constants.

2010-02-06  Colin D Bennet <colin@gibibit.com>

Trigonometry support.

* include/grub/trig.h: New file.
* lib/trig.c: Likewise.
* maintainance/gentrigtables.py: Likewise.
* conf/common.rmk (pkglib_MODULES): Add trig.mod.
(trig_mod_SOURCES): New variable.
(trig_mod_CFLAGS): Likewise.
(trig_mod_LDFLAGS): Likewise.

16 years agofixed grub-install.in
BVK Chaitanya [Sat, 6 Feb 2010 08:59:42 +0000 (14:29 +0530)] 
fixed grub-install.in

16 years agoFirst compiling newreloc for ppc (not yet tested)
Vladimir 'phcoder' Serbinenko [Fri, 5 Feb 2010 23:33:20 +0000 (00:33 +0100)] 
First compiling newreloc for ppc (not yet tested)

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 5 Feb 2010 23:32:07 +0000 (00:32 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Support whole
disk devices.

16 years ago2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 5 Feb 2010 23:30:25 +0000 (00:30 +0100)] 
2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/ieee1275/openfw.c (grub_devalias_iterate): Stop iterating on
error.

16 years agoerror on unsupported resolution
Vladimir 'phcoder' Serbinenko [Fri, 5 Feb 2010 22:04:09 +0000 (23:04 +0100)] 
error on unsupported resolution

16 years agoMake mips/relocator_asm.S more readable
Vladimir 'phcoder' Serbinenko [Fri, 5 Feb 2010 20:02:24 +0000 (21:02 +0100)] 
Make mips/relocator_asm.S more readable

16 years agoremove left-over LIBDEVMAPPER substitution
Colin Watson [Fri, 5 Feb 2010 17:08:22 +0000 (09:08 -0800)] 
remove left-over LIBDEVMAPPER substitution

16 years agoFix mips compilation
Vladimir 'phcoder' Serbinenko [Wed, 3 Feb 2010 00:34:55 +0000 (01:34 +0100)] 
Fix mips compilation

16 years agoMerge mainline into gfxmenu
Vladimir 'phcoder' Serbinenko [Wed, 3 Feb 2010 00:24:07 +0000 (01:24 +0100)] 
Merge mainline into gfxmenu

16 years ago2010-02-03 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 2 Feb 2010 23:49:35 +0000 (00:49 +0100)] 
2010-02-03  Vladimir Serbinenko  <phcoder@gmail.com>

* util/hostdisk.c (open_device): Don't use partition device when reading
before the partition.
(grub_util_biosdisk_read): Don't read from partition and before the
partition in single operation.
(grub_util_biosdisk_write): Don't write to partition and before the
partition in single operation.

16 years ago2010-02-03 Torsten Landschoff <torsten@debian.org>
Torsten Landschoff [Tue, 2 Feb 2010 23:46:55 +0000 (00:46 +0100)] 
2010-02-03  Torsten Landschoff   <torsten@debian.org>

* kern/disk.c (grub_disk_read): Fix offset computation when reading
last sectors.

16 years ago2010-02-03 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 2 Feb 2010 23:43:55 +0000 (00:43 +0100)] 
2010-02-03  Vladimir Serbinenko  <phcoder@gmail.com>

* disk/i386/pc/biosdisk.c (grub_biosdisk_read): Handle non-2048 aligned
CDROM reads.
(grub_biosdisk_write): Refuse to write to CDROM.

16 years agohandle DM-RAID disks in convert_system_partition_to_system_disk
Colin Watson [Sun, 31 Jan 2010 19:37:37 +0000 (19:37 +0000)] 
handle DM-RAID disks in convert_system_partition_to_system_disk

16 years ago2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 31 Jan 2010 10:11:03 +0000 (11:11 +0100)] 
2010-01-31  Vladimir Serbinenko  <phcoder@gmail.com>

* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.

16 years agoMerge mainline into ofwfb
Vladimir 'phcoder' Serbinenko [Sun, 31 Jan 2010 00:59:35 +0000 (01:59 +0100)] 
Merge mainline into ofwfb

16 years agoFramebuffer on PowerPC-based macs
Vladimir 'phcoder' Serbinenko [Sun, 31 Jan 2010 00:57:17 +0000 (01:57 +0100)] 
Framebuffer on PowerPC-based macs

16 years ago2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 31 Jan 2010 00:26:11 +0000 (01:26 +0100)] 
2010-01-31  Vladimir Serbinenko  <phcoder@gmail.com>

* font/font.c (find_glyph): Check that bmp_idx is available before
using it.
(grub_font_get_string_width): Never call grub_font_get_glyph_internal
with (font == NULL).

16 years agomerge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Sat, 30 Jan 2010 15:46:16 +0000 (16:46 +0100)] 
merge mainline into newreloc

16 years ago2010-01-28 Christian Schmitt <chris@ilovelinux.de>
Christian Schmitt [Thu, 28 Jan 2010 22:10:37 +0000 (23:10 +0100)] 
2010-01-28  Christian Schmitt  <chris@ilovelinux.de>

        * util/ieee1275/grub-install.in: Fix nvsetenv arguments.

16 years agofix for grub-script-check to handle empty lines
BVK Chaitanya [Thu, 28 Jan 2010 17:01:06 +0000 (22:31 +0530)] 
fix for grub-script-check to handle empty lines

16 years agosync with trunk
BVK Chaitanya [Thu, 28 Jan 2010 16:18:15 +0000 (21:48 +0530)] 
sync with trunk

16 years agoadd changelog
BVK Chaitanya [Thu, 28 Jan 2010 16:16:59 +0000 (21:46 +0530)] 
add changelog

16 years agofix grub-script-check
BVK Chaitanya [Thu, 28 Jan 2010 16:13:28 +0000 (21:43 +0530)] 
fix grub-script-check

16 years ago2010-01-28 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 28 Jan 2010 15:27:41 +0000 (15:27 +0000)] 
2010-01-28  Robert Millan  <rmh.grub@aybabtu.com>

* Makefile.in (check): Exit with fail status when one of the tests
fails.
* tests/example_functional_test.c (example_test): Fix reversed assert.
* tests/example_unit_test.c (example_test): Likewise.

16 years ago2010-01-28 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Thu, 28 Jan 2010 12:49:40 +0000 (12:49 +0000)] 
2010-01-28  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/10_linux.in: This script does not use any of the
contents of gettext.sh, only the external command `gettext', so stop
sourcing it.  (Moreover, gettext.sh isn't necessarily installed in
the same prefix as GRUB.)
* util/grub.d/10_kfreebsd.in: Likewise.

16 years ago2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 27 Jan 2010 16:47:36 +0000 (17:47 +0100)] 
2010-01-27  Vladimir Serbinenko  <phcoder@gmail.com>

* normal/cmdline.c (grub_cmdline_get): Fix completion in the middle
of the line.

16 years ago2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 27 Jan 2010 16:30:03 +0000 (17:30 +0100)] 
2010-01-27  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/disk.c (grub_disk_read): Fix offset computation when reading
last sectors.

16 years ago2010-01-27 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 27 Jan 2010 15:29:21 +0000 (16:29 +0100)] 
2010-01-27  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/hashsum.c (hash_file): Avoid possible stack overflow by
having a 4KiB and not 32KiB buffer size.

16 years ago2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 27 Jan 2010 03:18:14 +0000 (03:18 +0000)] 
2010-01-27  Robert Millan  <rmh.grub@aybabtu.com>

* util/hostfs.c: Include `<errno.h>'.
(grub_hostfs_read): Handle errors from fseeko() and fread().

16 years ago2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 27 Jan 2010 03:15:03 +0000 (03:15 +0000)] 
2010-01-27  Robert Millan  <rmh.grub@aybabtu.com>

* kern/disk.c (grub_disk_read): Fix bug that would cause infinite
loop when using read hooks on files whose size isn't sector-aligned.

16 years ago2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 27 Jan 2010 03:11:20 +0000 (03:11 +0000)] 
2010-01-27  Robert Millan  <rmh.grub@aybabtu.com>

Remove unused parameter.

* fs/iso9660.c (struct grub_iso9660_data): Remove `length' parameter.
(grub_iso9660_open): Remove initialization of `data->length'.

16 years ago2010-01-27 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 27 Jan 2010 01:49:11 +0000 (01:49 +0000)] 
2010-01-27  Robert Millan  <rmh.grub@aybabtu.com>

* util/grub-fstest.c (fstest): Rewrite allocation, fixing a few
memleak conditions.

16 years ago2010-01-27 Carles Pina i Estany <carles@pina.cat>
carles [Wed, 27 Jan 2010 00:19:46 +0000 (00:19 +0000)] 
2010-01-27  Carles Pina i Estany  <carles@pina.cat>

* util/lvm.c: New macro LVM_DEV_MAPPER_STRING.
(grub_util_lvm_isvolume): Use LVM_DEV_MAPPER_STRING.

16 years agoCorrect ChangeLog entry date.
carles [Tue, 26 Jan 2010 23:07:37 +0000 (23:07 +0000)] 
Correct ChangeLog entry date.

16 years ago2010-01-26 Carles Pina i Estany <carles@pina.cat>
carles [Tue, 26 Jan 2010 21:23:59 +0000 (21:23 +0000)] 
2010-01-26  Carles Pina i Estany  <carles@pina.cat>

* util/bin2h.c (usage): Fix warning (space after backslash).

16 years ago2010-01-25 Carles Pina i Estany <carles@pina.cat>
carles [Tue, 26 Jan 2010 20:16:08 +0000 (20:16 +0000)] 
2010-01-25  Carles Pina i Estany  <carles@pina.cat>

* font/font.c: Include `grub/fontformat.h.
Remove font file format constants.
(grub_font_load): Use the new macros.
* include/grub/fontformat.h: New file.
* util/grub-mkfont.c: Include `grub/fontformat.c'.
(write_font_pf2): Use the new macros.

16 years ago2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 26 Jan 2010 18:12:49 +0000 (18:12 +0000)] 
2010-01-26  Robert Millan  <rmh.grub@aybabtu.com>

* util/bin2h.c (usage): Make --help actually explain what `grub-bin2h'
does.

16 years ago2010-01-26 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 26 Jan 2010 16:39:37 +0000 (16:39 +0000)] 
2010-01-26  Robert Millan  <rmh.grub@aybabtu.com>

* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_PXE_DL): New macro.

* boot/i386/pc/pxeboot.S: Include `<grub/machine/boot.h>'.
(_start): Macroify `0x7F'.

* kern/i386/pc/init.c: Include `<grub/machine/boot.h>'.
(make_install_device): Use "(pxe)" as fallback prefix when booting
via PXE.

16 years agoUpdate my email address
Robert Millan [Tue, 26 Jan 2010 15:45:16 +0000 (16:45 +0100)] 
Update my email address

16 years ago2010-01-26 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Tue, 26 Jan 2010 14:26:16 +0000 (14:26 +0000)] 
2010-01-26  Colin Watson  <cjwatson@ubuntu.com>

* conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c,
kern/err.c, kern/list.c, and kern/misc.c.
* util/deviceiter.c [__linux__]: Define MINOR.
(grub_util_iterate_devices): Add support for DM-RAID disk devices.
* util/mkdevicemap.c (grub_putchar): New function.
(grub_getkey): New function.
(grub_refresh): New function.
(main): Set debug=all if -v -v is used.

16 years agomade while/until loop condition check more readable
BVK Chaitanya [Tue, 26 Jan 2010 09:03:23 +0000 (14:33 +0530)] 
made while/until loop condition check more readable

16 years agonew testcase for while and until loops
BVK Chaitanya [Tue, 26 Jan 2010 07:02:47 +0000 (12:32 +0530)] 
new testcase for while and until loops

16 years agoseveral fixes in return value handling
BVK Chaitanya [Tue, 26 Jan 2010 07:02:24 +0000 (12:32 +0530)] 
several fixes in return value handling

16 years agoadded change log file
BVK Chaitanya [Tue, 26 Jan 2010 04:09:51 +0000 (09:39 +0530)] 
added change log file

16 years agoReset LIBS after check for libgcc symbols in configure.ac.
Grégoire Sutre [Tue, 26 Jan 2010 00:57:56 +0000 (01:57 +0100)] 
Reset LIBS after check for libgcc symbols in configure.ac.

16 years ago2010-01-25 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Mon, 25 Jan 2010 17:47:51 +0000 (17:47 +0000)] 
2010-01-25  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: Check for Linux device-mapper support.
* util/hostdisk.c (device_is_mapped): New function.
(find_partition_start): New function, partly broken out from
linux_find_partition and grub_util_biosdisk_get_grub_dev but with
device-mapper support added.
(linux_find_partition): Use find_partition_start.
(convert_system_partition_to_system_disk): Add `st' argument.
Support Linux /dev/mapper/* devices if device-mapper support is
available; only DM-RAID devices are understood at present.
(find_system_device): Add `st' argument.  Pass it to
convert_system_partition_to_system_disk.
(grub_util_biosdisk_get_grub_dev): Pass stat result to
find_system_device and convert_system_partition_to_system_disk.  Use
find_partition_start.

16 years ago2010-01-25 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Mon, 25 Jan 2010 17:04:22 +0000 (17:04 +0000)] 
2010-01-25  Colin Watson  <cjwatson@ubuntu.com>

* util/hostdisk.c (open_device): Add trailing newline to debug
message.

16 years agomake parenthesis as valid word characters
BVK Chaitanya [Mon, 25 Jan 2010 16:31:14 +0000 (22:01 +0530)] 
make parenthesis as valid word characters

16 years ago2010-01-25 Grégoire Sutre <gregoire.sutre@gmail.com>
Grégoire Sutre [Mon, 25 Jan 2010 09:06:55 +0000 (10:06 +0100)] 
2010-01-25  Grégoire Sutre  <gregoire.sutre@gmail.com>

* configure.ac: Check for `limits.h'.
* util/misc.c: Include `<limits.h>' (for PATH_MAX).

16 years ago2010-01-24 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 24 Jan 2010 21:04:29 +0000 (21:04 +0000)] 
2010-01-24  Robert Millan  <rmh.grub@aybabtu.com>

* loader/mips/linux.c (grub_cmd_linux, grub_cmd_initrd): Don't
capitalize error strings.

16 years ago2010-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
Samuel Thibault [Sun, 24 Jan 2010 13:30:10 +0000 (14:30 +0100)] 
2010-01-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* util/grub.d/10_hurd.in: Add a recovery mode.

16 years ago2010-01-23 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sat, 23 Jan 2010 21:56:08 +0000 (22:56 +0100)] 
2010-01-23  Vladimir Serbinenko  <phcoder@gmail.com>

* configure.ac: Check for libgcc symbols with -nostdlib.

16 years agoMErge mainline into lexer-rewrite
Vladimir 'phcoder' Serbinenko [Sat, 23 Jan 2010 18:37:13 +0000 (19:37 +0100)] 
MErge mainline into lexer-rewrite

16 years agofix underquoted AC_DEFUN parameters
BVK Chaitanya [Sat, 23 Jan 2010 17:08:10 +0000 (22:38 +0530)] 
fix underquoted AC_DEFUN parameters

16 years agoreplaced magic numbers with macros
BVK Chaitanya [Sat, 23 Jan 2010 14:16:28 +0000 (19:46 +0530)] 
replaced magic numbers with macros

16 years agorelocator unloading support
Vladimir 'phcoder' Serbinenko [Sat, 23 Jan 2010 13:30:06 +0000 (14:30 +0100)] 
relocator unloading support

16 years agonewreloc on yeeloong
Vladimir 'phcoder' Serbinenko [Sat, 23 Jan 2010 12:30:24 +0000 (13:30 +0100)] 
newreloc on yeeloong

16 years agowhile and until loops support
BVK Chaitanya [Sat, 23 Jan 2010 05:49:26 +0000 (11:19 +0530)] 
while and until loops support

16 years agopulled in for-loop branch
BVK Chaitanya [Sat, 23 Jan 2010 05:38:25 +0000 (11:08 +0530)] 
pulled in for-loop branch

16 years agofor loop support to grub script
BVK Chaitanya [Sat, 23 Jan 2010 05:33:41 +0000 (11:03 +0530)] 
for loop support to grub script

16 years agopulled in lexer-rewrite branch
BVK Chaitanya [Sat, 23 Jan 2010 05:15:38 +0000 (10:45 +0530)] 
pulled in lexer-rewrite branch

16 years agoone more bug fix in grub_script_execute_arglist_to_argv
BVK Chaitanya [Sat, 23 Jan 2010 04:58:52 +0000 (10:28 +0530)] 
one more bug fix in grub_script_execute_arglist_to_argv

16 years agoremoved error-verbose to reduce resulting sh.mod size
BVK Chaitanya [Sat, 23 Jan 2010 04:46:05 +0000 (10:16 +0530)] 
removed error-verbose to reduce resulting sh.mod size