]> git.proxmox.com Git - grub2.git/log
grub2.git
14 years agoAdd lost include/grub/i386/coreboot/lbio.h
Vladimir 'phcoder' Serbinenko [Sun, 19 Sep 2010 20:10:44 +0000 (22:10 +0200)]
Add lost include/grub/i386/coreboot/lbio.h

14 years ago * grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_*
Vladimir 'phcoder' Serbinenko [Sun, 19 Sep 2010 20:09:05 +0000 (22:09 +0200)]
* grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_*
constants usage.
* grub-core/kern/emu/console.c (grub_ncurses_getkey):
Fix GRUB_TERM_KEY_* constants usage.
* grub-core/kern/emu/misc.c (asprintf): Fix vasprintf usage.

14 years ago * grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
Vladimir 'phcoder' Serbinenko [Sun, 19 Sep 2010 20:05:48 +0000 (22:05 +0200)]
* grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
print pointer.
* grub-core/bus/usb/uhci.c: Remove empty define.
(grub_uhci_check_transfer): Add missing cast.
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Use %p to
print pointer.
* grub-core/term/usb_keyboard.c (grub_usb_keyboard_getkey): Use
PRIuGRUB_SIZE.
* include/grub/types.h (PRIuGRUB_SIZE): New definition.

14 years ago * grub-core/Makefile.core.def (legacycfg): Add
Vladimir 'phcoder' Serbinenko [Sun, 19 Sep 2010 20:03:16 +0000 (22:03 +0200)]
* grub-core/Makefile.core.def (legacycfg): Add
lib/i386/pc/vesa_modes_table.c on emu.

14 years ago Reduce number of temporary files generated by build system.
BVK Chaitanya [Sun, 19 Sep 2010 13:59:36 +0000 (19:29 +0530)]
Reduce number of temporary files generated by build system.

* grub-core/gencmdlist.sh: Removed.
* grub-core/genfslist.sh: Removed.
* grub-core/genhandlerlist.sh: Removed.
* grub-core/genmodsrc.sh: Removed.
* grub-core/genpartmaplist.sh: Removed.
* grub-core/genparttoollist.sh: Removed.
* grub-core/gentermiinallist.sh: Removed.
* grub-core/genvideolist.sh: Removed.

* grub-core/genmod.sh.in: New file.
* grub-core/gensyminfo.sh.in: New file.

* conf/Makefile.common (CPPFLAGS_*_LIST): New marker flags.
* conf/Makefile.extra-dist: Update with new files.
* gentpl.py: Remove rules related to unnecessary temporary files.
* grub-core/Makefile.am (syminfo.lst): New replacement for def-*
and und-* files.
* grub-core/Makefile.core.def: New rules for gensyminfo.sh and
genmod.sh scripts.
* grub-core/bus/usb/uhci.c: Remove empty #define.
* grub-core/genmoddep.awk: Updated with new syminfo format.
* util/bash-completion.d/Makefile.am: Add config.log to
CLEANFILES.

14 years ago* Makefile.util.def: Add forgotten $(LIBINTL) library.
Yves Blusseau [Sun, 19 Sep 2010 13:36:34 +0000 (15:36 +0200)]
* Makefile.util.def: Add forgotten $(LIBINTL) library.

14 years agomerge with mainline
BVK Chaitanya [Sun, 19 Sep 2010 13:24:45 +0000 (18:54 +0530)]
merge with mainline

14 years ago * util/grub-mkconfig.in: Check the config script for syntax errors
BVK Chaitanya [Sun, 19 Sep 2010 03:19:25 +0000 (08:49 +0530)]
* util/grub-mkconfig.in: Check the config script for syntax errors
before saving.

14 years agomerge with mainline
BVK Chaitanya [Sun, 19 Sep 2010 03:15:38 +0000 (08:45 +0530)]
merge with mainline

14 years ago * Makefile.util.def (grub-install): Use util/grub-install.in on all
Colin Watson [Sat, 18 Sep 2010 23:32:27 +0000 (01:32 +0200)]
* Makefile.util.def (grub-install): Use util/grub-install.in on all
platforms.
* util/grub-install.in: Add EFI and IEEE1275 support.
* util/i386/efi/grub-install.in: Removed.
* util/ieee1275/grub-install.in: Likewise.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
14 years ago * grub-core/commands/i386/cmostest.c (+parse_args): New function.
Vladimir 'phcoder' Serbinenko [Sat, 18 Sep 2010 23:15:44 +0000 (01:15 +0200)]
* grub-core/commands/i386/cmostest.c (+parse_args): New function.
(grub_cmd_cmosclean): Likewise.
(GRUB_MOD_INIT): Register command cmosclean.
* util/grub-mkconfig.in: Export GRUB_BUTTON_CMOS_CLEAN.
* util/grub.d/00_header.in: Handle GRUB_BUTTON_CMOS_CLEAN.

14 years agoAdd missing file of previous commit
Vladimir 'phcoder' Serbinenko [Sat, 18 Sep 2010 23:08:25 +0000 (01:08 +0200)]
Add missing file of previous commit

14 years ago Add keyboard layouts support.
Carles Pina i Estany [Sat, 18 Sep 2010 23:01:35 +0000 (01:01 +0200)]
Add keyboard layouts support.

* Makefile.util.def (grub-mklayout): New file.
(grub-kbdcomp): New script.
* grub-core/Makefile.am (KERNEL_HEADER_FILES) [COND_mips_yeeloong]:
Add keyboard_layouts.h.
* grub-core/Makefile.core.def (kernel): Add commands/keylayouts.c and
commands/boot.c on yeeloong.
(keylayouts): New module.
* grub-core/bus/usb/ohci.c
* grub-core/bus/usb/uhci.c
* grub-core/bus/usb/usbhub.c (rescan): New variable.
(grub_usb_add_hub): Poll interrupt pipe for device handling.
(attach_root_port): Likewise.
(poll_nonroot_hub): Likewise.
(grub_usb_poll_devices): Likewise.
(detach_device): Close transfer.
* grub-core/bus/usb/usbtrans.c (grub_usb_execute_and_wait_transfer): New
function.
(grub_usb_bulk_setup_readwrite): Likewise.
(grub_usb_bulk_finish_readwrite): Likewise.
* grub-core/commands/keylayouts.c: New file.
* grub-core/commands/keystatus.c (grub_getkeystatus): New function.
* grub-core/commands/menuentry.c (hotkey_aliases): All several new
aliases.
* grub-core/term/at_keyboard.c: Restructured to use keylayouts and
support scancode 2.
* grub-core/term/usb_keyboard.c: Restructured to use keylayouts.
* include/grub/keyboard_layouts.h: New file.
* util/grub-mklayout.c: New file.
* util/grub-kbdcomp.in: Likewise.

Also-By: Aleš Nesrsta <starous@volny.cz>
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
14 years agoFix incorrect usb report interpretation
Aleš Nesrsta [Sat, 18 Sep 2010 22:34:25 +0000 (00:34 +0200)]
Fix incorrect usb report interpretation

14 years ago Unify memory types.
Vladimir 'phcoder' Serbinenko [Sat, 18 Sep 2010 22:04:31 +0000 (00:04 +0200)]
Unify memory types.

* grub-core/Makefile.am (KERNEL_HEADER_FILES): Include memory.h.
* grub-core/commands/lsmmap.c (grub_cmd_lsmmap): Output user-readable
types.
* grub-core/kern/i386/multiboot_mmap.c (grub_lower_mem): Removed.
(grub_upper_mem): Likewise.
* grub-core/kern/ieee1275/init.c (grub_upper_mem): Likewise.
* include/grub/memory.h (grub_memory_type_t): New enum.
All users updated.

14 years ago GRUB-legacy configuration file support.
Vladimir 'phcoder' Serbinenko [Sat, 18 Sep 2010 14:21:57 +0000 (16:21 +0200)]
GRUB-legacy configuration file support.

* Makefile.util.def (grub-menulst2cfg): New util.
* docs/man/grub-menulst2cfg.h2m: New file.
* grub-core/Makefile.core.def (legacycfg): New module.
* grub-core/commands/legacycfg.c: New file.
* grub-core/commands/menuentry.c (append_menu_entry): Rename to ...
(grub_normal_add_menu_entry): ... this.
* grub-core/commands/password.c (grub_cmd_password): Split main part to ...
(grub_normal_set_password): ...this.
* grub-core/commands/videoinfo.c (grub_cmd_videoinfo): Support MODE.
* grub-core/loader/i386/linux.c (linux_vesafb_res): Move to ..,
* grub-core/lib/i386/pc/vesa_modes_table.c: ... here.
* grub-core/lib/legacy_parse.c: New file.
* grub-core/normal/auth.c (grub_cmd_authenticate): New command.
* include/grub/i386/pc/vesa_modes_table.h: New file.
* include/grub/legacy_parse.h: Likewise.
* include/grub/normal.h (grub_normal_add_menu_entry): New proto.
* util/grub-menulst2cfg.c: New file.

* grub-core/Makefile.core.def (lsapm): New module.
* grub-core/commands/i386/pc/lsapm.c: New file.
* grub-core/loader/i386/multiboot_mbi.c (make_mbi) [GRUB_MACHINE_PCBIOS]: Pass APM info.
* grub-core/loader/multiboot_mbi2.c (make_mbi) [GRUB_MACHINE_PCBIOS]:
Likewise.
* include/grub/i386/pc/apm.h: New file.
* include/multiboot.h (multiboot_apm_info): New struct.

14 years agoFix yeeloong compilation
Vladimir 'phcoder' Serbinenko [Sat, 18 Sep 2010 11:49:39 +0000 (13:49 +0200)]
Fix yeeloong compilation

14 years agoFix multiple USB issues
Aleš Nesrsta [Sat, 18 Sep 2010 11:49:15 +0000 (13:49 +0200)]
Fix multiple USB issues

14 years agoSet UHCI low-speed flag
Aleš Nesrsta [Sat, 18 Sep 2010 08:56:52 +0000 (10:56 +0200)]
Set UHCI low-speed flag

14 years ago(convert_system_partition_to_system_disk): Initialise node.
Colin Watson [Fri, 17 Sep 2010 22:41:06 +0000 (23:41 +0100)]
(convert_system_partition_to_system_disk): Initialise node.
* grub-core/kern/emu/hostdisk.c

14 years ago* grub-core/kern/emu/hostdisk.c
Colin Watson [Fri, 17 Sep 2010 10:43:46 +0000 (11:43 +0100)]
* grub-core/kern/emu/hostdisk.c
(convert_system_partition_to_system_disk): Fix devmapper memory pool
leak.
Reported and based on patch by: Modestas Vainius.

14 years agoFix DM-RAID probing with recent versions of device-mapper udev
Colin Watson [Fri, 17 Sep 2010 10:00:37 +0000 (11:00 +0100)]
Fix DM-RAID probing with recent versions of device-mapper udev
rules.
* grub-core/kern/emu/hostdisk.c (read_device_map): Don't
canonicalise device paths under /dev/mapper/.
(convert_system_partition_to_system_disk): Compare the
uncanonicalised path to /dev/mapper/ rather than the canonicalised
path, since device nodes under /dev/mapper/ are often symlinks.

14 years ago * .bzrignore: *.d removed (old rule), add *.image and symlist.h.
Yves Blusseau [Fri, 17 Sep 2010 09:56:04 +0000 (11:56 +0200)]
* .bzrignore: *.d removed (old rule), add *.image and symlist.h.

14 years ago * configure.ac: Avoid some annoying error messages if freetype-config
Yves Blusseau [Thu, 16 Sep 2010 15:07:42 +0000 (17:07 +0200)]
* configure.ac: Avoid some annoying error messages if freetype-config
    program is not found.

14 years agoSupport RAID on virtio devices, and others.
Colin Watson [Thu, 16 Sep 2010 13:55:28 +0000 (14:55 +0100)]
Support RAID on virtio devices, and others.
* grub-core/kern/emu/getroot.c [__MINGW32__] (find_root_device):
Rename to ...
[__MINGW32__] (grub_find_device): ... this.
[! __MINGW32__ && ! __CYGWIN__] (find_root_device): Rename to ...
[! __MINGW32__ && ! __CYGWIN__] (grub_find_device): ... this.  Use a
reasonable default if dir is NULL.
[! __MINGW32__ && __CYGWIN__] (find_cygwin_root_device): Rename to
...
[! __MINGW32__ && __CYGWIN__] (grub_find_device): ... this.
(grub_guess_root_device): Update callers.
* include/grub/emu/getroot.h (grub_find_device): Add prototype.
* util/raid.c (grub_util_getdiskname): Remove.
(grub_util_raid_getmembers): Use grub_find_device rather than
grub_util_getdiskname.

14 years agoExplicitly pass -d ${pkglibdir} to grub-mkimage, to make it easier to
Colin Watson [Thu, 16 Sep 2010 13:50:41 +0000 (14:50 +0100)]
Explicitly pass -d ${pkglibdir} to grub-mkimage, to make it easier to
run grub-install from the build directory.

14 years ago* docs/grub.texi (serial): Remove obsolete comment about GRUB
Colin Watson [Thu, 16 Sep 2010 13:13:48 +0000 (14:13 +0100)]
* docs/grub.texi (serial): Remove obsolete comment about GRUB
needing to be compiled with serial support.
(ls): Indicate that multiple files are accepted.
* grub-core/commands/ls.c (GRUB_MOD_INIT): Update help text to
indicate that multiple files are accepted.

14 years ago* .bzrignore: Add *.1, *.8, grub-shell, grub-shell-tester,
Colin Watson [Thu, 16 Sep 2010 13:09:37 +0000 (14:09 +0100)]
* .bzrignore: Add *.1, *.8, grub-shell, grub-shell-tester,
libgrub_a_init.c, and util/bash-completion.d/grub.

14 years ago * util/grub-setup.c (setup): Fix incorrect container semantics.
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 22:27:06 +0000 (00:27 +0200)]
* util/grub-setup.c (setup): Fix incorrect container semantics.

14 years ago * grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 19:48:24 +0000 (21:48 +0200)]
* grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
misusage.
Reported by: J. Nick Terry

14 years ago Move embedding routines to partmap sources files.
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 19:36:57 +0000 (21:36 +0200)]
Move embedding routines to partmap sources files.

* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot)
[GRUB_UTIL]: New variable.
(gpt_partition_map_iterate): Set part.parent.
(gpt_partition_map_embed) [GRUB_UTIL]: New function.
(grub_gpt_partition_map) [GRUB_UTIL]: Set .embed.
* grub-core/partmap/msdos.c (pc_partition_map_embed) [GRUB_UTIL]:
New function.
(grub_msdos_partition_map) [GRUB_UTIL]: Set .embed.
* include/grub/partition.h (grub_embed_type_t) [GRUB_UTIL]: New type.
(grub_partition_map) [GRUB_UTIL]: New field embed.
* util/grub-setup.c (grub_gpt_partition_type_bios_boot): Removed.
(setup): Use ->embed.

14 years agoRemove accidently merged file
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 14:14:38 +0000 (16:14 +0200)]
Remove accidently merged file

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): New
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 13:30:43 +0000 (15:30 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): New
function.
* include/grub/emu/hostdisk.h (grub_util_biosdisk_is_floppy): New proto.
* util/grub-setup.c (setup): Use grub_util_biosdisk_is_floppy.

14 years agoMerge mainline into install
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 12:46:53 +0000 (14:46 +0200)]
Merge mainline into install

14 years agoAllow install_device to be missing on non-pc and non-sparc
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 12:45:08 +0000 (14:45 +0200)]
Allow install_device to be missing on non-pc and non-sparc

14 years agoSupport vbeprobe MODE
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 12:37:28 +0000 (14:37 +0200)]
Support vbeprobe MODE

14 years agoSupport geometry
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 12:11:08 +0000 (14:11 +0200)]
Support geometry

14 years agoSupport legacy_check_password
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 11:51:02 +0000 (13:51 +0200)]
Support legacy_check_password

14 years ago Add function to get completions from usage.
Yves Blusseau [Wed, 15 Sep 2010 09:46:16 +0000 (11:46 +0200)]
Add function to get completions from usage.

    * util/bash-completion.d/grub-completion.bash.in: Add function to get
    completions from usage. Use LC_ALL=C to get options properly.

14 years agomerge mainline into legacy_parser
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 09:43:59 +0000 (11:43 +0200)]
merge mainline into legacy_parser

14 years agoImplement APM
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 09:42:18 +0000 (11:42 +0200)]
Implement APM

14 years agoTransform legacy mode numbers into resolution specification
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 09:39:53 +0000 (11:39 +0200)]
Transform legacy mode numbers into resolution specification

14 years ago * grub-core/gnulib/basename-lgpl.c: Imported.
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 09:34:29 +0000 (11:34 +0200)]
* grub-core/gnulib/basename-lgpl.c: Imported.
* grub-core/gnulib/basename.c: Likewise.
* grub-core/gnulib/dirname-lgpl.c: Likewise.
* grub-core/gnulib/dirname.c: Likewise.
* grub-core/gnulib/dirname.h: Likewise.
* grub-core/gnulib/stripslash.c: Likewise.

14 years ago * grub-core/gnulib/error.c: Resynced.
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 09:31:02 +0000 (11:31 +0200)]
* grub-core/gnulib/error.c: Resynced.
* grub-core/gnulib/getopt.c: Likewise.
* grub-core/gnulib/getopt_int.h: Likewise.
* grub-core/gnulib/regex.h: Likewise.
* grub-core/gnulib/regex_internal.c: Likewise.
* grub-core/gnulib/regex_internal.h: Likewise.

14 years agoFix UUID command. Reported by: Jordan Uggla
Vladimir 'phcoder' Serbinenko [Wed, 15 Sep 2010 00:16:12 +0000 (02:16 +0200)]
Fix UUID command. Reported by: Jordan Uggla

14 years ago * grub-core/lib/xzembed/xz_dec_stream.c (dec_main): Fix index and block
Szymon Janc [Tue, 14 Sep 2010 22:39:49 +0000 (00:39 +0200)]
* grub-core/lib/xzembed/xz_dec_stream.c (dec_main): Fix index and block
CRC calculations and validity checks.
* grub-core/lib/xzembed/xz_dec_stream.c (dec_index): Fix index CRC
calculations.

14 years ago * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak.
Szymon Janc [Tue, 14 Sep 2010 22:13:09 +0000 (00:13 +0200)]
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak.

14 years ago Fix incorrect echo options handling.
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 21:30:06 +0000 (23:30 +0200)]
Fix incorrect echo options handling.
Reported by: Yves Blusseau.

* include/grub/command.h (grub_command_flags_t): New flags
GRUB_COMMAND_ACCEPT_DASH and GRUB_COMMAND_OPTIONS_AT_START.
* grub-core/lib/arg.c (grub_arg_parse): Handle new flags.
* grub-core/commands/echo.c (GRUB_MOD_INIT): Use new flags.

14 years ago * include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 21:06:01 +0000 (23:06 +0200)]
* include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All
users updated.
(GRUB_COMMAND_FLAG_MENU): Likewise.
(GRUB_COMMAND_FLAG_BOTH): Likewise.
(GRUB_COMMAND_FLAG_TITLE): Removed.
(GRUB_COMMAND_FLAG_NO_ECHO): Likewise.
(GRUB_COMMAND_FLAG_EXTCMD): Moved into enum.
(GRUB_COMMAND_FLAG_DYNCMD): Likewise.
(GRUB_COMMAND_FLAG_BLOCKS): Likewise.
(grub_command_flags_t): New enum. All users updated.

14 years ago Fix solaris compilation.
Seth Goldberg [Tue, 14 Sep 2010 20:32:33 +0000 (22:32 +0200)]
Fix solaris compilation.

* grub-core/Makefile.core.def (kernel): Include gnulib/error.c on emu.
(grub-emu): Add LIBZFS and LIBNVPAIR to ldadd.
(grub-emu-list): Likewise.

14 years ago Remove deprecated root command.
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 20:21:35 +0000 (22:21 +0200)]
Remove deprecated root command.

* grub-core/commands/minicmd.c (grub_mini_cmd_root): Removed. All users
updated.

14 years agoRemove now empty util/i386/pc
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 19:18:57 +0000 (21:18 +0200)]
Remove now empty util/i386/pc

14 years ago * util/i386/pc/grub-setup.c: Merge this ...
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 19:15:35 +0000 (21:15 +0200)]
* util/i386/pc/grub-setup.c: Merge this ...
* util/sparc64/ieee1275/grub-setup.c:  ... and this ...
* util/grub-setup.c: ... into this.
* include/grub/sparc64/ieee1275/boot.h (grub_boot_blocklist) [ASM_FILE]:
New struct.
* grub-core/fs/ext2.c (grub_ext2_open): Use return error value when
possible.

14 years ago * grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 19:07:39 +0000 (21:07 +0200)]
* grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly
allocate p.

14 years ago * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 19:04:08 +0000 (21:04 +0200)]
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
explicit root argument to set to prevent UUID to be interpreted as
argument to set.

14 years ago * grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
Vladimir 'phcoder' Serbinenko [Tue, 14 Sep 2010 18:59:00 +0000 (20:59 +0200)]
* grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.

14 years ago Don't export grub_gate_a20.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 23:08:24 +0000 (01:08 +0200)]
Don't export grub_gate_a20.

* grub-core/kern/i386/pc/init.c: Remove leftovers.
* grub-core/kern/i386/pc/startup.S (FUNCTION(grub_gate_a20)): Rename
to ...
(grub_gate_a20): ... this. All users updated.
* include/grub/i386/pc/init.h: Removed. All users updated.

14 years ago Create euro.pf2 which supports most European languages.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 22:49:02 +0000 (00:49 +0200)]
Create euro.pf2 which supports most European languages.

* Makefile.am (grubdata_DATA): Add euro.pf2.
(euro.pf2): New target.
(CLEANFILES): Add euro.pf2.

14 years ago * configure.ac: Disable emu-usb by default to prevent inadvertent
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 22:21:52 +0000 (00:21 +0200)]
* configure.ac: Disable emu-usb by default to prevent inadvertent
device takeover.

14 years ago Disable usbserial on grub-emu since our libusb code isn't good enough
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 22:08:07 +0000 (00:08 +0200)]
Disable usbserial on grub-emu since our libusb code isn't good enough
yet.

* grub-core/Makefile.core.def (usbserial_common): Disable on emu.
(usbserial_pl2303): Likewise.
(usbserial_ftdi): Likewise.

14 years ago * include/grub/disk.h (grub_disk): Remove has_partitions.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 21:59:22 +0000 (23:59 +0200)]
* include/grub/disk.h (grub_disk): Remove has_partitions.
All users updated.
* disk/loopback.c (grub_loopback): Remove has_partitions.
All users updated.
(options): Remove partitions. All users updated.
* util/grub-fstest.c (fstest): Don't pass "-p" to loopback.
* util/i386/pc/grub-setup.c (setup): copy partition table only when
actual partition table is found.

14 years ago Remove readability checks (too many false negatives).
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 20:18:03 +0000 (22:18 +0200)]
Remove readability checks (too many false negatives).

* util/grub-install.in: Remove readability checks.
* util/grub-mkconfig.in: Likewise.
* util/grub.d/10_hurd.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Revert to old
way.

14 years ago Enable acpi shutdown on all ACPI platforms.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 18:29:15 +0000 (20:29 +0200)]
Enable acpi shutdown on all ACPI platforms.

* grub-core/Makefile.core.def (halt): Inlude commands/acpihalt.c
on coreboo, multiboot and EFI.
* grub-core/commands/acpihalt.c (get_sleep_type): Add missing casts.
(grub_acpi_halt): Likewise.
* grub-core/commands/i386/pc/halt.c (grub_halt): Call grub_acpi_halt.
(grub_cmd_halt): Don't call grub_acpi_halt directly.
* grub-core/lib/efi/halt.c (grub_halt): Call grub_acpi_halt.
* grub-core/lib/i386/halt.c (grub_halt)
[GRUB_MACHINE_COREBOOT || GRUB_MACHINE_MULTIBOOT]: Likewise.

14 years ago * grub-core/commands/iorw.c (grub_cmd_read): Declare buf in smallest
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 18:16:51 +0000 (20:16 +0200)]
* grub-core/commands/iorw.c (grub_cmd_read): Declare buf in smallest
context.

14 years ago * grub-core/video/efi_gop.c: Fix over-80-chars line.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 18:10:41 +0000 (20:10 +0200)]
* grub-core/video/efi_gop.c: Fix over-80-chars line.
* grub-core/video/efi_uga.c: Likewise.

14 years ago Filter devaliases and never open same device twice.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 17:17:29 +0000 (19:17 +0200)]
Filter devaliases and never open same device twice.

* grub-core/disk/ieee1275/ofdisk.c (last_devpath): New variable.
(last_ihandle): Likewise.
(ofdisk_hash_ent): New member shortest.
(ofdisk_hash_add): Add canonical path too.
(scan): New function.
(grub_ofdisk_iterate): Iterate over hashed entries.
(compute_dev_path): Don't add :0.
(grub_ofdisk_open): Don't really open the disk.
(grub_ofdisk_close): Avoid closing unrelated disk.
(grub_ofdisk_read): Implement reopen logic.
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_canonicalise_devname):
New function.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_canonicalise_devname):
New proto.

14 years ago Fix sparc64.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 14:49:50 +0000 (16:49 +0200)]
Fix sparc64.

* configure.ac (GRUB_KERNEL_MACHINE_LINK_ADDR): Removed.
* grub-core/Makefile.core.def (kernel): Make ldflags just use the
right address. Add sparc64_ieee1275_ldflags.
* grub-core/loader/sparc64/ieee1275/linux.c: Remove leftover include.
* util/grub-mkimagexx.c (locate_sections): Correct grub_host_to_target32
to grub_host_to_target_addr
(load_image): Likewise.

14 years ago * grub-core/normal/completion.c (complete_file): Handle device
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 12:26:55 +0000 (14:26 +0200)]
* grub-core/normal/completion.c (complete_file): Handle device
containing slash.
Fix based on patch by Doug Nazar.

14 years ago grub-mknetdir script.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 12:03:05 +0000 (14:03 +0200)]
grub-mknetdir script.

* Makefile.util.def (grub-mknetdir): New module.
* tests/util/grub-shell.in: Support boot=net
* util/grub-mknetdir.in: New file.

14 years ago videoinfo on non-vbe.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 11:38:13 +0000 (13:38 +0200)]
videoinfo on non-vbe.

* grub-core/Makefile.core.def (vbeinfo): Removed.
(vbetest): Removed.
(videoinfo): New module.
* grub-core/commands/i386/pc/vbeinfo.c: Removed.
* grub-core/commands/i386/pc/vbetest.c: Removed.
* grub-core/commands/videoinfo.c: New file.
* grub-core/commands/videotest.c (grub_cmd_videotest): Support mode
specification.
(grub_cmd_videotest) [GRUB_MACHINE_PCBIOS]: Load vbe.mod when invoked
as vbetest.
(GRUB_MOD_INIT) [GRUB_MACHINE_PCBIOS]: New command vbetest.
(GRUB_MOD_FINI) [GRUB_MACHINE_PCBIOS]: Unregister vbetest.
* grub-core/video/efi_gop.c (grub_video_gop_fill_mode_info): Fill
mode_number. New parameter mode. All users updated.
(grub_video_gop_iterate): New function.
(grub_video_efi_gop): New member iterate.
* grub-core/video/i386/pc/vbe.c (framebuffer): Removed leftover fields.
(grub_vbe_set_video_mode): Remove setting useless fields.
(vbe2videoinfo): New function.
(grub_video_vbe_iterate): Likewise.
(grub_video_vbe_setup): Use vbe2videoinfo.
(grub_video_vbe_print_adapter_specific_info): New function.
(grub_video_vbe_adapter): New fields iterate and
print_adapter_specific_info.
* include/grub/video.h (GRUB_VIDEO_MODE_*): Transform into enum.
All users updated.
(grub_video_mode_info): New field mode_number.
(grub_video_adapter): New fields iterate and
print_adapter_specific_info.

14 years ago * grub-core/commands/efi/lsefisystab.c: New file.
Tristan Gingold [Mon, 13 Sep 2010 11:14:44 +0000 (13:14 +0200)]
* grub-core/commands/efi/lsefisystab.c: New file.
* grub-core/commands/efi/lssal.c: Likewise.
* grub-core/Makefile.core.def (lsacpi): New module.
(lsefisystab): Likewise.
* include/grub/efi/api.h (GRUB_EFI_SAL_TABLE_GUID): New definition.
(GRUB_EFI_HCDP_TABLE_GUID): Likewise.
(grub_efi_sal_system_table): New struct.
(grub_efi_sal_system_table_entrypoint_descriptor): Likewise.
(grub_efi_sal_system_table_memory_descriptor): Likewise.
(grub_efi_sal_system_table_platform_features): Likewise.
(grub_efi_sal_system_table_translation_register_descriptor): Likewise.
(grub_efi_sal_system_table_purge_translation_coherence): Likewise.
(grub_efi_sal_system_table_ap_wakeup): Likewise.
* include/grub/types.h (PRIuGRUB_UINT64_T): New definition.

Also-By: Robert Millan <rmh.grub@aybabtu.com>
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
14 years ago Support explicit user claim that a device is BIOS-visible.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 11:09:58 +0000 (13:09 +0200)]
Support explicit user claim that a device is BIOS-visible.

* grub-core/kern/emu/getroot.c (grub_util_get_dev_abstraction):
Return GRUB_DEV_ABSTRACTION_NONE if device is in device.map.
* grub-core/kern/emu/hostdisk.c
(convert_system_partition_to_system_disk): Support mdX.
(find_system_device): New parameter add. All users updated.
(grub_util_biosdisk_is_present): New function.
* include/grub/emu/hostdisk.h (grub_util_biosdisk_is_present): New
proto.

14 years ago Search hints support.
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 11:01:41 +0000 (13:01 +0200)]
Search hints support.

* commands/search.c (FUNC_NAME): New arguments hints and nhints.
All users updated.

14 years agoAdd missing ChangeLog
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 10:17:22 +0000 (12:17 +0200)]
Add missing ChangeLog

14 years agosupport subpartition hints
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 10:16:22 +0000 (12:16 +0200)]
support subpartition hints

14 years agoChange from direct arguments to --hint
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 09:48:01 +0000 (11:48 +0200)]
Change from direct arguments to --hint

14 years ago Bash completion script for util commands
Yves Blusseau [Mon, 13 Sep 2010 08:29:18 +0000 (10:29 +0200)]
Bash completion script for util commands

    * Makefile.am:  Add util/bash-completion.d directory
    * configure.ac: Likewise.
    * util/bash-completion.d/Makefile.am: New file.
    * util/bash-completion.d/grub-completion.bash.in: Likewise.

14 years agomerge mainline into hints
Vladimir 'phcoder' Serbinenko [Mon, 13 Sep 2010 00:22:10 +0000 (02:22 +0200)]
merge mainline into hints

14 years ago * grub-core/normal/term.c (put_glyphs_terminal): Correct sign.
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 20:05:27 +0000 (22:05 +0200)]
* grub-core/normal/term.c (put_glyphs_terminal): Correct sign.
(print_backlog): set backlog_ucs4 and backlog_glyphs.
Reported by: Yves Blusseau.

14 years ago * grub-core/normal/misc.c (grub_normal_print_device_info): Show
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 18:18:50 +0000 (20:18 +0200)]
* grub-core/normal/misc.c (grub_normal_print_device_info): Show
partition size and offset.

14 years ago * grub-core/commands/wildcard.c (make_regex): Escape brackets.
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 18:15:30 +0000 (20:15 +0200)]
* grub-core/commands/wildcard.c (make_regex): Escape brackets.

14 years ago * grub-core/commands/ls.c (grub_cmd_ls): Accept multiple files.
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 18:12:16 +0000 (20:12 +0200)]
* grub-core/commands/ls.c (grub_cmd_ls): Accept multiple files.

14 years agoMArk setup as not to be implemented
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 14:15:40 +0000 (16:15 +0200)]
MArk setup as not to be implemented

14 years agolock support (not tested)
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 14:11:41 +0000 (16:11 +0200)]
lock support (not tested)

14 years agoSupport config file reloading (not tested)
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 13:54:39 +0000 (15:54 +0200)]
Support config file reloading (not tested)

14 years agoSupport mixed inline and suffix commands
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 13:50:52 +0000 (15:50 +0200)]
Support mixed inline and suffix commands

14 years agoAdd no-argument version of commands and remove legacy_color
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 13:26:38 +0000 (15:26 +0200)]
Add no-argument version of commands and remove legacy_color

14 years agoSupport (hd0,1,a legacy partition specification
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 12:18:39 +0000 (14:18 +0200)]
Support (hd0,1,a legacy partition specification

14 years agoREmove obsolete FIXME
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 12:04:10 +0000 (14:04 +0200)]
REmove obsolete FIXME

14 years agoMerge mainline into legacy_parser
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 12:01:25 +0000 (14:01 +0200)]
Merge mainline into legacy_parser

14 years agoFix bunch of memory problems and implement hdbias
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 12:01:02 +0000 (14:01 +0200)]
Fix bunch of memory problems and implement hdbias

14 years ago * grub-core/kern/misc.c (grub_vprintf): Use va_copy when necessary.
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 12:00:44 +0000 (14:00 +0200)]
* grub-core/kern/misc.c (grub_vprintf): Use va_copy when necessary.
(grub_xvasprintf): Likewise.

14 years agoEnable legacy_parser on emu
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 11:58:18 +0000 (13:58 +0200)]
Enable legacy_parser on emu

14 years ago * grub-core/kern/emu/main.c (main): Call hostfs_init only after init_all.
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 11:55:52 +0000 (13:55 +0200)]
* grub-core/kern/emu/main.c (main): Call hostfs_init only after init_all.

14 years ago * grub-core/commands/menuentry.c (append_menu_entry): Don't rely on
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 11:53:12 +0000 (13:53 +0200)]
* grub-core/commands/menuentry.c (append_menu_entry): Don't rely on
args ending with NULL.

14 years ago * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 11:50:24 +0000 (13:50 +0200)]
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context
pointer.

14 years agoAdd missing newlines
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 09:09:01 +0000 (11:09 +0200)]
Add missing newlines

14 years agoFix uninitialised usage of curarg
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 09:01:21 +0000 (11:01 +0200)]
Fix uninitialised usage of curarg

14 years agoSupport pause
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 01:05:19 +0000 (03:05 +0200)]
Support pause

14 years agoImplement hiddenmenu (not tested)
Vladimir 'phcoder' Serbinenko [Sun, 12 Sep 2010 00:55:24 +0000 (02:55 +0200)]
Implement hiddenmenu (not tested)