]> git.proxmox.com Git - grub2.git/log
grub2.git
15 years ago2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 15 Oct 2009 11:55:06 +0000 (11:55 +0000)]
2009-10-15  Vladimir Serbinenko  <phcoder@gmail.com>

        Revert 2009-06-10  Pavel Roskin  <proski@gnu.org>

* configure.ac: Put checks for __bswapsi2 and __bswapdi2.
* include/grub/powerpc/libgcc.h: Don't use weak attribute for all
exports.
* include/grub/sparc64/libgcc.h: Likewise.  Use
preprocessor conditionals.

15 years ago2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 14 Oct 2009 18:23:40 +0000 (18:23 +0000)]
2009-10-14  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/common.rmk (grub-dumpbios): Remove rule.
        (sbin_SCRIPTS, CLEANFILES): Remove `grub-dumpbios'.
        * util/grub-dumpbios.in: Remove file.

15 years ago2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 14 Oct 2009 16:49:22 +0000 (16:49 +0000)]
2009-10-14  Robert Millan  <rmh.grub@aybabtu.com>

        Refer to kernel of FreeBSD "kFreeBSD" to avoid confusion between
        the Operating System (FreeBSD) and its kernel (kernel of FreeBSD).

        * loader/i386/bsd.c (grub_freebsd_boot): Read kernel environment
        from "kFreeBSD" namespace (rather than "FreeBSD").  Update all
        users.

        (GRUB_MOD_INIT (bsd)): Rename "freebsd" command to "kfreebsd",
        "openbsd" to "kopenbsd", "netbsd" to "knetbsd", "freebsd_loadenv"
        to "kfreebsd_loadenv", "freebsd_module" to "kfreebsd_module",
        and "freebsd_module_elf" to "kfreebsd_module_elf".  Update all
        users.

15 years ago2009-10-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 12 Oct 2009 21:53:15 +0000 (21:53 +0000)]
2009-10-12  Robert Millan  <rmh.grub@aybabtu.com>

        * term/tparm.c: Switch to GPLv3.

15 years ago2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 9 Oct 2009 18:23:48 +0000 (18:23 +0000)]
2009-10-09  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/i386/cpuid.h: Add header protection.

15 years ago2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 9 Oct 2009 17:57:02 +0000 (17:57 +0000)]
2009-10-09  Robert Millan  <rmh.grub@aybabtu.com>

        Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU.

        * include/grub/i386/cpuid.h: New file.
        * commands/i386/cpuid.c: Include `<grub/i386/cpuid.h>'.
        (has_longmode): Rename to ...
        (grub_cpuid_has_longmode): ... this.  Update all users.  Remove
        `static' attribute.
        * loader/i386/bsd.c: Include `<grub/i386/cpuid.h>'.
        (grub_bsd_load_elf): Fail if load of 64-bit kernel was requested
        on a CPU that doesn't implement AMD64 instruction set.

15 years ago2009-10-06 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Tue, 6 Oct 2009 00:04:32 +0000 (00:04 +0000)]
2009-10-06  Colin Watson  <cjwatson@ubuntu.com>

* Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so
that version.texi is rebuilt on version number changes.

15 years ago2009-10-06 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 5 Oct 2009 23:55:48 +0000 (23:55 +0000)]
2009-10-06  Colin Watson  <cjwatson@ubuntu.com>

* Makefile.in: Don't set info_INFOS unless makeinfo was found.
Fixes bug #27602.

15 years ago2009-10-06 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 5 Oct 2009 23:33:36 +0000 (23:33 +0000)]
2009-10-06  Colin Watson  <cjwatson@ubuntu.com>

* util/i386/pc/grub-install.in: Source
${libdir}/grub/grub-mkconfig_lib before option processing, in order
that the --grub-probe option will work.
* util/sparc64/ieee1275/grub-install.in: Likewise.

15 years ago2009-10-05 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 5 Oct 2009 17:56:33 +0000 (17:56 +0000)]
2009-10-05  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Bump version to 1.97~beta4.

15 years ago2009-10-03 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 2 Oct 2009 23:13:38 +0000 (23:13 +0000)]
2009-10-03  Robert Millan  <rmh.grub@aybabtu.com>

        Resync grub-mkdevicemap in x86_64-efi.

        * conf/x86_64-efi.rmk (sbin_UTILITIES): Enable `grub-mkdevicemap'.
        (grub_mkdevicemap_SOURCES): Add missing `util/deviceiter.c' and
        `util/devicemap.c'.

15 years ago2009-10-01 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 1 Oct 2009 18:22:43 +0000 (18:22 +0000)]
2009-10-01  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-editenv.c (create_envblk_file): Write new block with a
.new suffix and then rename it into place, to ensure atomic
creation.

15 years ago2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 28 Sep 2009 14:24:43 +0000 (14:24 +0000)]
2009-09-28  Robert Millan  <rmh.grub@aybabtu.com>

        Do not automatically install headers.

        * Makefile.in (include_DATA): Remove.  Update all users.

15 years ago2009-09-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 26 Sep 2009 11:48:55 +0000 (11:48 +0000)]
2009-09-26  Robert Millan  <rmh.grub@aybabtu.com>

* conf/common.rmk (pkglib_MODULES): Remove `lua.mod'.
(lua_mod_SOURCES, lua_mod_CFLAGS, lua_mod_LDFLAGS): Remove.

* util/osdetect.lua: Remove.
* script/lua/lauxlib.c: Likewise.
* script/lua/ldebug.c: Likewise.
* script/lua/grub_main.c: Likewise.
* script/lua/lauxlib.h: Likewise.
* script/lua/ldebug.h: Likewise.
* script/lua/ltablib.c: Likewise.
* script/lua/liolib.c: Likewise.
* script/lua/lstrlib.c: Likewise.
* script/lua/lualib.h: Likewise.
* script/lua/ldo.c: Likewise.
* script/lua/ldump.c: Likewise.
* script/lua/ldo.h: Likewise.
* script/lua/loslib.c: Likewise.
* script/lua/lundump.c: Likewise.
* script/lua/grub_lib.c: Likewise.
* script/lua/ldblib.c: Likewise.
* script/lua/lundump.h: Likewise.
* script/lua/lmem.c: Likewise.
* script/lua/grub_lib.h: Likewise.
* script/lua/lmathlib.c: Likewise.
* script/lua/lstate.c: Likewise.
* script/lua/ltm.c: Likewise.
* script/lua/lvm.c: Likewise.
* script/lua/lmem.h: Likewise.
* script/lua/lstate.h: Likewise.
* script/lua/ltm.h: Likewise.
* script/lua/ltable.c: Likewise.
* script/lua/lvm.h: Likewise.
* script/lua/llex.c: Likewise.
* script/lua/lgc.c: Likewise.
* script/lua/grub_lua.h: Likewise.
* script/lua/loadlib.c: Likewise.
* script/lua/lfunc.c: Likewise.
* script/lua/lopcodes.c: Likewise.
* script/lua/lparser.c: Likewise.
* script/lua/ltable.h: Likewise.
* script/lua/llex.h: Likewise.
* script/lua/lgc.h: Likewise.
* script/lua/lfunc.h: Likewise.
* script/lua/lbaselib.c: Likewise.
* script/lua/lopcodes.h: Likewise.
* script/lua/lparser.h: Likewise.
* script/lua/lzio.c: Likewise.
* script/lua/linit.c: Likewise.
* script/lua/lobject.c: Likewise.
* script/lua/llimits.h: Likewise.
* script/lua/lstring.c: Likewise.
* script/lua/lzio.h: Likewise.
* script/lua/lapi.c: Likewise.
* script/lua/lcode.c: Likewise.
* script/lua/lua.h: Likewise.
* script/lua/lobject.h: Likewise.
* script/lua/lstring.h: Likewise.
* script/lua/lapi.h: Likewise.
* script/lua/lcode.h: Likewise.
* script/lua/luaconf.h: Likewise.

15 years ago2009-09-26 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 25 Sep 2009 23:43:46 +0000 (23:43 +0000)]
2009-09-26  Colin Watson  <cjwatson@ubuntu.com>

* docs/grub.texi (Command-line and menu entry commands): Document
date and echo commands.

15 years ago2009-09-24 Pavel Roskin <proski@gnu.org>
robertmh [Thu, 24 Sep 2009 13:40:40 +0000 (13:40 +0000)]
2009-09-24  Pavel Roskin  <proski@gnu.org>

        * include/grub/kernel.h (struct grub_module_header): Remove
        `grub_module_header_types'.  Make `type' unsigned.  Make `size'
        32-bit on all platforms.
        * util/elf/grub-mkimage.c (load_modules): Treat `type' as an
        8-bit field.  Use grub_host_to_target32() for `size'.
        * util/i386/efi/grub-mkimage.c (make_mods_section): Likewise.
        * util/i386/pc/grub-mkimage.c (generate_image): Likewise.
        * util/sparc64/ieee1275/grub-mkimage.c (generate_image): Likewise.

15 years ago2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 24 Sep 2009 13:25:07 +0000 (13:25 +0000)]
2009-09-24  Robert Millan  <rmh.grub@aybabtu.com>

        Fix "lost keypress" bug in at_keyboard.

        * term/i386/pc/at_keyboard.c (grub_at_keyboard_checkkey): New function.
        Checks for readyness of input buffer (without flushing it).
        (grub_at_keyboard_term): Use grub_at_keyboard_checkkey() rather
        than grub_at_keyboard_getkey_noblock() for `checkkey' struct member.

15 years ago2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 24 Sep 2009 13:22:19 +0000 (13:22 +0000)]
2009-09-24  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-mkimage.c (generate_image): Enclose BIOS-specific
        size check within GRUB_MACHINE_PCBIOS section.

15 years ago2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 24 Sep 2009 13:15:51 +0000 (13:15 +0000)]
2009-09-24  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/i386/at_keyboard.h (KEYBOARD_ISREADY): Negate
        return value.
        * term/i386/pc/at_keyboard.c (grub_keyboard_getkey): Negate
        KEYBOARD_ISREADY check.
        (grub_at_keyboard_checkkey): Rename to ...
        (grub_at_keyboard_getkey_noblock): ... this.  Update all users.
        Remove gratuitous cast.

15 years ago2009-09-23 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Wed, 23 Sep 2009 17:18:06 +0000 (17:18 +0000)]
2009-09-23  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: Call AC_PROG_MKDIR_P.
* Makefile.in (docs/stamp-vti): Create docs directory.  Create
version.texi in $(builddir) rather than $(srcdir).
(docs/grub.info): Create docs directory.  Prepend $(builddir)/docs
to makeinfo's @include search path.

15 years ago2009-09-23 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 23 Sep 2009 09:46:08 +0000 (09:46 +0000)]
2009-09-23  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Cope with `*.dpkg-*'

15 years ago2009-09-23 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 23 Sep 2009 09:26:34 +0000 (09:26 +0000)]
2009-09-23  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Add support
for `*.dpkg-new'.

15 years ago2009-09-21 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 21 Sep 2009 18:22:27 +0000 (18:22 +0000)]
2009-09-21  Colin Watson  <cjwatson@ubuntu.com>

Build info documentation.  Some code borrowed from Automake.

* configure.ac: Check for makeinfo.
* Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
(MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
docs/version.texi.
(MOSTLYCLEANFILES): Add vti.tmp.
(docs/version.texi, docs/stamp-vti): Update automatically.
(docs/grub.info): Build info documentation.  Use --force and ignore
errors for now.
(all-local): Add $(INFOS).
(install-local): Install info files.
(uninstall): Uninstall info files.
* docs/version.texi: Remove from revision control.  This file is
automatically generated on build now.
* gendistlist.sh: Add `*.info'.

15 years ago2009-09-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 21 Sep 2009 14:37:04 +0000 (14:37 +0000)]
2009-09-21  Felix Zielcke  <fzielcke@z-51.de>

        * kern/term.c: Fix indentation.

15 years ago2009-09-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 21 Sep 2009 14:03:11 +0000 (14:03 +0000)]
2009-09-21  Felix Zielcke  <fzielcke@z-51.de>

* util/hostdisk.c: Fix a comment.

15 years ago2009-09-20 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 20 Sep 2009 16:07:45 +0000 (16:07 +0000)]
2009-09-20  Robert Millan  <rmh.grub@aybabtu.com>

        Fix regression introduced in r2539.

        * term/usb_keyboard.c (USB_HID_DEVICE_TO_HOST): Change from 0x61
        to 0xA1.

15 years agofix last changelog entry
robertmh [Sat, 19 Sep 2009 20:18:03 +0000 (20:18 +0000)]
fix last changelog entry

15 years ago2009-09-19 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Sat, 19 Sep 2009 14:15:00 +0000 (14:15 +0000)]
2009-09-19  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Don't throw away stderr from
  os-prober. Under normal operation, it does not print anything to
  stderr; if it does, we need to debug it, and throwing away stderr
  makes that excessively difficult.

15 years ago2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 17 Sep 2009 11:38:50 +0000 (11:38 +0000)]
2009-09-16  Vladimir Serbinenko  <phcoder@gmail.com>

* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.

15 years ago2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 16 Sep 2009 19:32:44 +0000 (19:32 +0000)]
2009-09-16  Robert Millan  <rmh.grub@aybabtu.com>

        * aclocal.m4 (AC_LANG_PROGRAM): New macro.  Overrides stock
        AC_LANG_PROGRAM from autoconf.
        (grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing
        prototypes (fixes warning).

        * configure.ac: Add `-Werror' to TARGET_CFLAGS unless
        `--disable-werror' was used.

15 years ago2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 16 Sep 2009 19:23:33 +0000 (19:23 +0000)]
2009-09-16  Robert Millan  <rmh.grub@aybabtu.com>

        * partmap/msdos.c (pc_partition_map_iterate): Fix possible use of
        uninitialized `lastaddr'.

15 years agofix last changelog entry
robertmh [Wed, 16 Sep 2009 19:01:53 +0000 (19:01 +0000)]
fix last changelog entry

15 years ago2009-09-15 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 15 Sep 2009 10:36:29 +0000 (10:36 +0000)]
2009-09-15  Vladimir Serbinenko  <phcoder@gmail.com>

* partmap/pc.c (pc_partition_map_iterate): Detect and break loops.

15 years ago2009-09-14 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 14 Sep 2009 19:57:45 +0000 (19:57 +0000)]
2009-09-14  Colin Watson  <cjwatson@ubuntu.com>

* commands/test.c (get_fileinfo): Return immediately if
grub_fs_probe fails.

15 years ago2009-09-14 José Martínez <xosemp@gmail.com>
robertmh [Mon, 14 Sep 2009 15:38:30 +0000 (15:38 +0000)]
2009-09-14  José Martínez  <xosemp@gmail.com>

        * commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.

15 years ago2009-09-14 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 14 Sep 2009 11:32:00 +0000 (11:32 +0000)]
2009-09-14  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober
output.

15 years ago2009-09-13 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 13 Sep 2009 01:30:18 +0000 (01:30 +0000)]
2009-09-13  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Remove --enable-grub-pe2elf.  Only build
        grub-pe2elf when needed by the build system itself.
        * conf/common.rmk: Remove $(enable_grub_pe2elf) check.

15 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:08:38 +0000 (13:08 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Bump version to 1.97~beta3.
        * docs/version.texi: Likewise.

15 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:07:27 +0000 (13:07 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

        * video/i386/pc/vbe.c (grub_vbe_get_video_mode_info): Move packed
        mode special handling (grub_vbe_bios_set_dac_palette_width() call)
        from here ...
        * loader/i386/linux.c [GRUB_MACHINE_PCBIOS]
        (grub_linux_setup_video): ... to here (with some adjustments).

15 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:05:25 +0000 (13:05 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

        Fix memory corruption issue (spotted by Colin Watson).

        * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette): Fix bug
        causing returned size to be stored in an incorrect memory location.
        Fix use of uninitialized value when storing the returned size.

15 years ago2009-09-12 Yves Blusseau <blusseau@zetam.org>
blusseau [Sat, 12 Sep 2009 07:38:50 +0000 (07:38 +0000)]
2009-09-12  Yves Blusseau  <blusseau@zetam.org>

Change clean rules to properly remove files

* genmk.rb: add new clean rules
* Makefile.in (clean): add the new targets
(mostlyclean): likewise

15 years ago2009-09-11 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 11 Sep 2009 14:26:12 +0000 (14:26 +0000)]
2009-09-11  Colin Watson  <cjwatson@ubuntu.com>

* include/grub/ntfs.h (struct grub_fshelp_node): Change `size'
to grub_uint64_t.
* fs/ntfs.c (init_file): Understand 64-bit sizes for
non-resident files.

15 years ago2009-09-11 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 11 Sep 2009 14:17:35 +0000 (14:17 +0000)]
2009-09-11  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: Don't look for help2man when cross-compiling.  Fixes
part of bug #27349.

15 years ago2009-09-10 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 10 Sep 2009 19:04:43 +0000 (19:04 +0000)]
2009-09-10  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in: Make the created config mode 400 and
print a warning if it fails.

15 years ago2009-09-10 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 10 Sep 2009 12:53:25 +0000 (12:53 +0000)]
2009-09-10  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/40_custom.in: Ask user to type custom entries below
        comment, rather than below 'exec tail' line.

15 years ago2009-09-10 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 10 Sep 2009 12:44:24 +0000 (12:44 +0000)]
2009-09-10  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/40_custom.in: Make sure that the explanatory text is
visible in grub.cfg.

15 years ago2009-09-10 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 10 Sep 2009 12:10:33 +0000 (12:10 +0000)]
2009-09-10  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/40_custom.in: Make it a little clearer how to use this
file.

15 years ago2009-09-10 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 9 Sep 2009 22:31:51 +0000 (22:31 +0000)]
2009-09-10  Felix Zielcke  <fzielcke@z-51.de>

* docs/grub.cfg: Add an example menu entry for memtest86+.

15 years agoTypo fixes
proski [Wed, 9 Sep 2009 21:40:17 +0000 (21:40 +0000)]
Typo fixes

15 years agofix typos in previous changelog entry
fzielcke [Wed, 9 Sep 2009 19:46:10 +0000 (19:46 +0000)]
fix typos in previous changelog entry

15 years ago2009-09-09 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 9 Sep 2009 12:53:11 +0000 (12:53 +0000)]
2009-09-09  Felix Zielcke  <fzielcke@z-51.de>

* config.guess: Update to lastest versiom from config git.
* config.sub: Likewise.

15 years ago2009-09-08 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Tue, 8 Sep 2009 19:10:34 +0000 (19:10 +0000)]
2009-09-08  Colin Watson  <cjwatson@ubuntu.com>

* script/sh/execute.c (grub_script_execute_cmdline): Set "?" in
unknown-command case.  Fixes bug #27320.

15 years ago2009-09-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 8 Sep 2009 15:00:28 +0000 (15:00 +0000)]
2009-09-08  Felix Zielcke  <fzielcke@z-51.de>

* kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
`help' if the command exists.

15 years ago2009-09-06 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 6 Sep 2009 15:20:33 +0000 (15:20 +0000)]
2009-09-06  Robert Millan  <rmh.grub@aybabtu.com>

        * INSTALL: Require GCC 4.1.3 or later.

15 years ago2009-09-06 Yves Blusseau <blusseau@zetam.org>
blusseau [Sun, 6 Sep 2009 10:25:19 +0000 (10:25 +0000)]
2009-09-06  Yves Blusseau  <blusseau@zetam.org>

* Makefile.in (RMKFILES): add i386-qemu.rmk
    (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in
    $(srcdir)/stamp-h.in

15 years ago2009-09-05 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 5 Sep 2009 20:36:49 +0000 (20:36 +0000)]
2009-09-05  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-probe.c (probe): Comment out buggy codepath, which
        was unexpectedly enabled by Colin Watson's 2009-09-02 fix.  This
        should be re-enabled after 1.97.

15 years ago2009-09-05 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 5 Sep 2009 19:26:11 +0000 (19:26 +0000)]
2009-09-05  Felix Zielcke  <fzielcke@z-51.de>

* gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list
find searches for.

15 years agomissing part of previous commit
phcoder [Fri, 4 Sep 2009 13:50:32 +0000 (13:50 +0000)]
missing part of previous commit

15 years ago2009-09-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 4 Sep 2009 13:16:07 +0000 (13:16 +0000)]
2009-09-04  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/xnu.c (grub_cpu_xnu_fill_devicetree): Remove
unnecessary calls to grub_error.

15 years ago2009-09-04 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 4 Sep 2009 12:59:54 +0000 (12:59 +0000)]
2009-09-04  Colin Watson  <cjwatson@ubuntu.com>

* NEWS: Mention `keystatus' and Unicode fonts.

15 years ago2009-09-04 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 4 Sep 2009 12:08:43 +0000 (12:08 +0000)]
2009-09-04  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Bump version to 1.97~beta2.
        * docs/version.texi: Likewise.

15 years ago2009-09-03 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 3 Sep 2009 23:00:25 +0000 (23:00 +0000)]
2009-09-03  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: By default, GCC 4.4 generates .eh_frame sections
containing unwind information in some cases where it previously did
not. Use -fno-dwarf2-cfi-asm if available to restore the old
behaviour. See http://patchwork.kernel.org/patch/8555/ for related
discussion.

15 years ago2009-09-02 Yves BLUSSEAU <blusseau@zetam.org>
blusseau [Thu, 3 Sep 2009 17:07:08 +0000 (17:07 +0000)]
2009-09-02  Yves BLUSSEAU  <blusseau@zetam.org>

    Embedding loadenv module into grub-emu

    * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and
    commands/loadenv.c
    * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise
    * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise
    * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise
    * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise
    * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise
    * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise

15 years ago2009-09-03 Magnus Granberg <zorry@ume.nu>
robertmh [Thu, 3 Sep 2009 16:32:14 +0000 (16:32 +0000)]
2009-09-03  Magnus Granberg  <zorry@ume.nu>

        * aclocal.m4: Add grub_CHECK_PIE. It check if the compiler
        include -fPIE in the default specs.
        * configure.ac: Check if pie_possible is yes and add -fno-PIE
        to TARGET_CFLAGS.

15 years ago2009-09-03 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 3 Sep 2009 14:12:27 +0000 (14:12 +0000)]
2009-09-03  Felix Zielcke  <fzielcke@z-51.de>

* INSTALL: Note that GNU Bison 2.3 or later is required.

15 years ago2009-09-03 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 3 Sep 2009 07:53:40 +0000 (07:53 +0000)]
2009-09-03  Colin Watson  <cjwatson@ubuntu.com>

* kern/i386/pc/startup.S: Fix typo.

15 years ago2009-09-02 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 2 Sep 2009 16:16:29 +0000 (16:16 +0000)]
2009-09-02  Vladimir Serbinenko  <phcoder@gmail.com>

* efiemu/loadcore.c (SUFFIX (grub_efiemu_loadcore_load)): Fix style
according to GCS.

15 years ago2009-09-02  Colin Watson  <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 09:29:58 +0000 (09:29 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* docs/grub.texi (Naming convention): Describe one-based partition
numbering.
(Device syntax): Likewise.
(File name syntax): Likewise.
(Block list syntax): Likewise.
(Making a GRUB bootable CD-ROM): Talk about grub.cfg rather than
menu.lst.
(File name syntax): Likewise.
(Command-line and menu entry commands): Document acpi, blocklist,
crc, export, insmod, keystatus, ls, set, and unset commands.

15 years ago2009-09-02 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 09:14:20 +0000 (09:14 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* commands/keystatus.c (GRUB_MOD_INIT (keystatus)): Adjust summary
to avoid implying that only one of --shift, --ctrl, or --alt may be
used.

15 years ago2009-09-02 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 01:42:06 +0000 (01:42 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-probe.c (probe): Test st.st_mode using S_ISREG macro
rather than comparing against S_IFREG, which will almost never work.

15 years ago2009-09-01 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 1 Sep 2009 19:07:42 +0000 (19:07 +0000)]
2009-09-01  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/loadenv.c (check_blocklists): Fix off-by-one error.
(write_blocklists): Likewise.

15 years agoDISTLIST is not in svn; fix my ChangeLog entry
cjwatson [Tue, 1 Sep 2009 16:15:38 +0000 (16:15 +0000)]
DISTLIST is not in svn; fix my ChangeLog entry

15 years ago2009-09-01 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Tue, 1 Sep 2009 16:14:11 +0000 (16:14 +0000)]
2009-09-01  Colin Watson  <cjwatson@ubuntu.com>

* script/lua/grub_lua.h (fputs): Supply a format string as the first
argument to grub_printf.

15 years agofix wrong date and use \t instead of 8 spaces in previous ChangeLog entry
fzielcke [Tue, 1 Sep 2009 16:13:29 +0000 (16:13 +0000)]
fix wrong date and use \t instead of 8 spaces in previous ChangeLog entry

15 years ago2009-01-01 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 1 Sep 2009 15:46:06 +0000 (15:46 +0000)]
2009-01-01  Felix Zielcke  <fzielcke@z-51.de>

* genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with
        non GNU test.

15 years ago2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 30 Aug 2009 20:19:09 +0000 (20:19 +0000)]
2009-08-30  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/file.c (grub_file_read): Spelling fix

15 years ago2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 30 Aug 2009 19:28:01 +0000 (19:28 +0000)]
2009-08-30  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/bsdXX.c (SUFFIX (grub_freebsd_load_elfmodule)): Fix
loading of headers in some cases.

15 years ago2009-08-30 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 30 Aug 2009 15:12:48 +0000 (15:12 +0000)]
2009-08-30  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Bump version to 1.97~beta1.
        * docs/version.texi: Likewise.

15 years agodate fix
robertmh [Sun, 30 Aug 2009 15:08:50 +0000 (15:08 +0000)]
date fix

15 years ago2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 29 Aug 2009 12:57:38 +0000 (12:57 +0000)]
2009-08-28  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/i386/xnu.h: Add license header.
include grub/err.h explicitly.

15 years ago2009-08-29 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 29 Aug 2009 00:34:33 +0000 (00:34 +0000)]
2009-08-29  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Detect `ufs1' and `ufs2' and map them
        to `ufs' in the vfs.root.mountfrom kernel parameter.

15 years ago2009-08-29 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 29 Aug 2009 00:24:32 +0000 (00:24 +0000)]
2009-08-29  Robert Millan  <rmh.grub@aybabtu.com>

        * term/i386/pc/serial.c: Include `<grub/machine/memory.h>'.

        [GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Macroify initialization
        value (0x0400 -> GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR).

        [! GRUB_MACHINE_PCBIOS] (GRUB_SERIAL_PORT_NUM): Calculate using
        `ARRAY_SIZE' macro.

15 years ago2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 28 Aug 2009 16:29:34 +0000 (16:29 +0000)]
2009-08-28  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/file.c (grub_file_read): Check offset.
* fs/hfs.c (grub_hfs_read_file): Remove unnecessary offset check.
* fs/jfs.c (grub_jfs_read_file): Likewise.
* fs/ntfs.c (grub_ntfs_read): Likewise.
* fs/reiserfs.c (grub_reiserfs_read): Likewise.
* fs/minix.c (grub_minix_read_file): Correct offset check.
* fs/ufs.c (grub_ufs_read_file): Likewise.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 14:10:02 +0000 (14:10 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>

* term/i386/pc/console.c (bios_data_area): Cast
GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR explicitly.

15 years ago2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 28 Aug 2009 13:54:20 +0000 (13:54 +0000)]
2009-08-28  Vladimir Serbinenko  <phcoder@gmail.com>

1-bit optimised blitters.

* include/grub/fbblit.h (grub_video_fbblit_replace_32bit_1bit): New
prototype.
(grub_video_fbblit_replace_24bit_1bit): Likewise.
(grub_video_fbblit_replace_16bit_1bit): Likewise.
(grub_video_fbblit_replace_8bit_1bit): Likewise.
(grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
(grub_video_fbblit_blend_XXX888_1bit): Likewise.
(grub_video_fbblit_blend_XXX565_1bit): Likewise.
* video/fb/fbblit.c (grub_video_fbblit_replace_32bit_1bit): New
function.
(grub_video_fbblit_replace_24bit_1bit): Likewise.
(grub_video_fbblit_replace_16bit_1bit): Likewise.
(grub_video_fbblit_replace_8bit_1bit): Likewise.
(grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
(grub_video_fbblit_blend_XXX888_1bit): Likewise.
(grub_video_fbblit_blend_XXX565_1bit): Likewise.
* video/fb/video_fb.c (common_blitter): Use 1-bit optimised blitters
when possible.
* video/video.c (grub_video_get_blit_format): Return
GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED if bpp = 1.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 13:25:10 +0000 (13:25 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>

* normal/cmdline.c (grub_cmdline_get): Supply a format string as
the first argument to grub_printf.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 13:20:34 +0000 (13:20 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>
2009-08-28  Robert Millan  <rmh.grub@aybabtu.com>

Add `getkeystatus' terminal method.  Add a new `keystatus' command
to query it.

* include/grub/term.h (GRUB_TERM_STATUS_SHIFT,
GRUB_TERM_STATUS_CTRL, GRUB_TERM_STATUS_ALT): Definitions for
modifier key bitmasks.
(struct grub_term_input): Add `getkeystatus' member.
(grub_getkeystatus): Add prototype.
* kern/term.c (grub_getkeystatus): New function.

* include/grub/i386/pc/memory.h
(GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR): New macro.
(struct grub_machine_bios_data_area): Define necessary parts of BIOS
Data Area layout.
* term/i386/pc/console.c (grub_console_getkeystatus): New function.
(grub_console_term_input): Set `getkeystatus' member.
* term/usb_keyboard.c (grub_usb_hid): Macroify HID protocol
constants.
(grub_usb_keyboard_getreport): Likewise.
(grub_usb_keyboard_checkkey): Likewise.
(grub_usb_keyboard_getkeystatus): New function.
(grub_usb_keyboard_term): Set `getkeystatus' member.

* commands/keystatus.c: New file.
* conf/common.rmk (pkglib_MODULES): Add keystatus.mod.
(keystatus_mod_SOURCES): New variable.
(keystatus_mod_CFLAGS): Likewise.
(keystatus_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add
commands/keystatus.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
* DISTLIST: Add commands/keystatus.c.

15 years ago2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 28 Aug 2009 13:01:26 +0000 (13:01 +0000)]
2009-08-28  Vladimir Serbinenko  <phcoder@gmail.com>

Split befs.mod and afs.mod into *_be.mod and *.mod

* conf/common.rmk (grub_probe_SOURCES): Add afs_be.c and befs_be.c.
(grub_fstest_SOURCES): Likewise.
(pkglib_MODULES): Add afs_be.mod and befs_be.mod.
(afs_be_mod_SOURCES): New variable.
(afs_be_mod_CFLAGS): Likewise.
(afs_be_mod_LDFLAGS): Likewise.
(befs_be_mod_SOURCES): Likewise.
(befs_be_mod_CFLAGS): Likewise.
(befs_be_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add afs_be.c and befs_be.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
(grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
* fs/afs_be.c: New file.
* fs/befs_be.c: New file.
* fs/afs.c (GRUB_AFS_FSNAME_SUFFIX): New definition.
(GRUB_AFS_FSNAME): Use GRUB_AFS_FSNAME_SUFFIX.
(U16): Replaced with ...
(grub_afs_to_cpu16): ...this. All users updated.
(U32): Replaced with ...
(grub_afs_to_cpu32): ...this. All users updated.
(U64): Replaced with ...
(grub_afs_to_cpu64): ...this. All users updated.
(GRUB_AFS_BO_LITTLE_ENDIAN): Remove.
(GRUB_AFS_BO_BIG_ENDIAN): Likewise.
(grub_afs_validate_sblock): Check only one endiannness.
(GRUB_MOD_INIT (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
(GRUB_MOD_INIT (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
(GRUB_MOD_INIT (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
(GRUB_MOD_INIT (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.
(GRUB_MOD_FINI (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
(GRUB_MOD_FINI (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
(GRUB_MOD_FINI (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
(GRUB_MOD_FINI (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.

15 years ago2009-08-26 Bean <bean123ch@gmail.com>
bean [Wed, 26 Aug 2009 14:17:34 +0000 (14:17 +0000)]
2009-08-26  Bean  <bean123ch@gmail.com>

* fs/xfs.c (GRUB_XFS_INO_INOINAG): Replace 1L with 1LL to support
64-bit number.
(GRUB_XFS_FSB_TO_BLOCK): Likewise.
(grub_xfs_inode_block): Change return type to grub_uint64_t.
(grub_xfs_read_inode): Change type of block to grub_uint64_t.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 26 Aug 2009 00:32:57 +0000 (00:32 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

NetBSD memory map support.

* include/grub/i386/bsd.h (NETBSD_BTINFO_MEMMAP): New definition.
(grub_netbsd_btinfo_mmap_header): New structure.
(grub_netbsd_btinfo_mmap_entry): Likewise.
* loader/i386/bsd.c (grub_netbsd_boot): Pass memory map.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 23:18:48 +0000 (23:18 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Enable bsd.mod on coreboot.

* conf/i386-coreboot.rmk (pkglib_MODULES): Add bsd.mod.
(bsd_mod_SOURCES): New variable.
(bsd_mod_CFLAGS): Likewise.
(bsd_mod_LDFLAGS): Likewise.
(bsd_mod_ASFLAGS): Likewise.
* loader/i386/bsd.c [!GRUB_MACHINE_PCBIOS]: Fix includes.
(grub_bsd_get_device) [!GRUB_MACHINE_PCBIOS]: Set *biosdev to 0xff.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 19:57:18 +0000 (19:57 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Cleanup NetBSD root support.

* loader/i386/bsd.c (grub_netbsd_boot): Remove call to
grub_bsd_get_device.
Fix typo.

15 years ago2009-08-25 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 25 Aug 2009 19:42:56 +0000 (19:42 +0000)]
2009-08-25  Felix Zielcke  <fzielcke@z-51.de>

* util/grub.d/00_header.in: Move check for the video backend of
gfxterm from here ...
* util/grub-mkconfig.in: ... to here.  Enable gfxterm if there's
a suitable video backend.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 08:28:13 +0000 (08:28 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Fix breakage in grub-setup.

* util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of
"msdos_partition_map".

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 08:11:50 +0000 (08:11 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Fix breakage in normal/auth.c.

* normal/auth.c (grub_iswordseparator): New function.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 23:55:06 +0000 (23:55 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Authentication support.

* commands/password.c: New file.
* conf/common.rmk (pkglib_MODULES): Add password.mod.
(password_mod_SOURCES): New variable.
(password_mod_CFLAGS): Likewise.
(password_mod_LDFLAGS): Likewise.
(normal_mod_SOURCES): Add normal/auth.c.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and
normal/auth.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
* include/grub/auth.h: New file.
* include/grub/err.h (grub_err_t): New enum value
GRUB_ERR_ACCESS_DENIED.
* include/grub/menu.h (grub_menu_entry): New fields 'restricted' and
'users'.
* include/grub/normal.h (grub_cmdline_get): New argument 'history'.
* normal/cmdline.c (grub_cmdline_get): New argument 'history'. All
users updated.
* normal/auth.c: New file.
* normal/main.c (grub_normal_add_menu_entry): Handle --users option.
(grub_cmdline_run): Don't allow to go to command line without
authentication.
* normal/menu.c (grub_menu_execute_entry): Handle restricted entries.
* normal/menu_entry.c (grub_menu_entry_run): Don't allow editing
menuentry without superuser rights.
* normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if
user isn't a superuser.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 19:40:40 +0000 (19:40 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Save space by inlining misc.c functions.

* kern/misc.c (grub_iswordseparator): Made static.
* kern/misc.c (grub_strcat): Moved from here ...
* include/grub/misc.h (grub_strcat): ... here. Inlined.
* kern/misc.c (grub_strncat): Moved from here ...
* include/grub/misc.h (grub_strncat): ... here. Inlined.
* kern/misc.c (grub_strcasecmp): Moved from here ...
* include/grub/misc.h (grub_strcasecmp): ... here. Inlined.
* kern/misc.c (grub_strncasecmp): Moved from here ...
* include/grub/misc.h (grub_strncasecmp): ... here. Inlined.
* kern/misc.c (grub_isalpha): Moved from here ...
* include/grub/misc.h (grub_isalpha): ... here. Inlined.
* kern/misc.c (grub_isdigit): Moved from here ...
* include/grub/misc.h (grub_isdigit): ... here. Inlined.
* kern/misc.c (grub_isgraph): Moved from here ...
* include/grub/misc.h (grub_isgraph): ... here. Inlined.
* kern/misc.c (grub_tolower): Moved from here ...
* include/grub/misc.h (grub_tolower): ... here. Inlined.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 19:08:11 +0000 (19:08 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

* script/sh/function.c (grub_script_function_find): Cut error message
not to flood terminal.
* script/sh/lexer.c (grub_script_yylex): Remove command line length
limit.
* script/sh/script.c (grub_script_arg_add): Duplicate string.

15 years ago2009-08-24 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 24 Aug 2009 17:03:24 +0000 (17:03 +0000)]
2009-08-24  Colin Watson  <cjwatson@ubuntu.com>

* term/usb_keyboard.c (grub_usb_keyboard_getreport): Make
`report' grub_uint8_t *.
(grub_usb_keyboard_checkkey): Make `data' elements grub_uint8_t.
Use a 50-millisecond timeout rather than just repeating
grub_usb_keyboard_getreport 50 times.
(grub_usb_keyboard_getkey): Make `data' elements grub_uint8_t.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 13:34:03 +0000 (13:34 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Rename *_partition_map to part_*

* partmap/acorn.c (grub_acorn_partition_map): Set name to 'part_acorn'.
* partmap/amiga.c (grub_amiga_partition_map): Set name to 'part_amiga'.
* partmap/apple.c (grub_apple_partition_map): Set name to 'part_apple'.
* partmap/gpt.c (grub_gpt_partition_map): Set name to 'part_gpt'.
All users updated.
* partmap/msdos.c (grub_msdos_partition_map): Set name to 'part_msdos'.
All users updated.
* partmap/sun.c (grub_sun_partition_map): Set name to 'part_sun'.
* util/grub-probe.c (probe_partmap): Don't transform partition name
to get module name.