]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years agoFix glitch with escape message
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 15:53:54 +0000 (16:53 +0100)] 
Fix glitch with escape message

15 years agonormal_exit command
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 15:28:31 +0000 (16:28 +0100)] 
normal_exit command

15 years agoFix various issues in menu editor
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 12:18:08 +0000 (13:18 +0100)] 
Fix various issues in menu editor

15 years agoFix refresh in cmdline
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 12:17:27 +0000 (13:17 +0100)] 
Fix refresh in cmdline

15 years agoMake menu editor work
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 03:12:29 +0000 (04:12 +0100)] 
Make menu editor work

15 years agoterminal modules autoloading
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 02:37:20 +0000 (03:37 +0100)] 
terminal modules autoloading

15 years agoLost hunk
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 02:36:42 +0000 (03:36 +0100)] 
Lost hunk

15 years agoColin Watson's request
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 00:20:44 +0000 (01:20 +0100)] 
Colin Watson's request

15 years agoVarious fixes to make multiterm work
Vladimir 'phcoder' Serbinenko [Fri, 25 Dec 2009 00:13:21 +0000 (01:13 +0100)] 
Various fixes to make multiterm work

15 years agoSet default console on non-i386-pc
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 23:13:03 +0000 (00:13 +0100)] 
Set default console on non-i386-pc

15 years agoRemove NEED_INIT.
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 23:12:36 +0000 (00:12 +0100)] 
Remove NEED_INIT.

15 years agoREtrieve position from right console in loader/i386/linux.c
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 23:07:52 +0000 (00:07 +0100)] 
REtrieve position from right console in loader/i386/linux.c

15 years agoFix paging.
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 22:37:38 +0000 (23:37 +0100)] 
Fix paging.

15 years agoFix terminal_* commands
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 22:21:27 +0000 (23:21 +0100)] 
Fix terminal_* commands

15 years agoRestrict terminfo to serial
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 22:20:43 +0000 (23:20 +0100)] 
Restrict terminfo to serial

15 years agoDon't output unnecessary newline in command line prompt
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 22:19:54 +0000 (23:19 +0100)] 
Don't output unnecessary newline in command line prompt

15 years agobugfix in cmdline handling
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 21:55:06 +0000 (22:55 +0100)] 
bugfix in cmdline handling

15 years agoWorking multi-terminal
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 20:54:37 +0000 (21:54 +0100)] 
Working multi-terminal

15 years agoFORALL_ACTIVE_TERM_OUTPUTS macro
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 16:51:43 +0000 (17:51 +0100)] 
FORALL_ACTIVE_TERM_OUTPUTS macro

15 years agoImported nyu's multi-input
Robert Millan [Thu, 24 Dec 2009 16:08:14 +0000 (17:08 +0100)] 
Imported nyu's multi-input

15 years agoremove list iterators to save space
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 15:25:10 +0000 (16:25 +0100)] 
remove list iterators to save space

15 years agoCore changes hopefully finished
Vladimir 'phcoder' Serbinenko [Thu, 24 Dec 2009 14:34:33 +0000 (15:34 +0100)] 
Core changes hopefully finished

15 years agomerge crypto into multiout
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 23:38:41 +0000 (00:38 +0100)] 
merge crypto into multiout

15 years agoWork on multi-out terminal
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 23:37:11 +0000 (00:37 +0100)] 
Work on multi-out terminal

15 years agomerge mainline into crypto
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 19:34:26 +0000 (20:34 +0100)] 
merge mainline into crypto

15 years agohashsum support
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 19:31:12 +0000 (20:31 +0100)] 
hashsum support

15 years agoeliminate dead code and data in des.c
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 18:58:33 +0000 (19:58 +0100)] 
eliminate dead code and data in des.c

15 years ago2009-12-23 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 23 Dec 2009 16:41:32 +0000 (17:41 +0100)] 
2009-12-23 Felix Zielcke <fzielcke@z-51.de>

* commands/i386/pc/drivemap.c: Remove all trailing whitespace.
* commands/lspci.c: Likewise.
* commands/probe.c: Likewise.
* commands/xnu_uuid.c: Likewise.
* conf/i386-coreboot.rmk: Likewise.
* conf/i386-efi.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.
* fs/i386/pc/pxe.c: Likewise.
* gettext/gettext.c: Likewise.
* include/grub/efi/graphics_output.h: Likewise.
* include/grub/i386/pc/memory.h: Likewise.
* kern/env.c: Likewise.
* kern/i386/qemu/startup.S: Likewise.
* lib/i386/pc/biosnum.c: Likewise.
* lib/i386/relocator.c: Likewise.
* lib/i386/relocator_asm.S: Likewise.
* lib/relocator.c: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/i386/multiboot.c: Likewise.
* loader/i386/pc/chainloader.c: Likewise.
* loader/i386/xnu.c: Likewise.
* loader/xnu.c: Likewise.
* normal/main.c: Likewise.
* normal/menu_text.c: Likewise.
* util/getroot.c: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub.d/00_header.in: Likewise.
* util/i386/pc/grub-mkimage.c: Likewise.
* util/mkisofs/eltorito.c: Likewise.
* util/mkisofs/exclude.h: Likewise.
* util/mkisofs/hash.c: Likewise.
* util/mkisofs/iso9660.h: Likewise.
* util/mkisofs/joliet.c: Likewise.
* util/mkisofs/mkisofs.c: Likewise.
* util/mkisofs/mkisofs.h: Likewise.
* util/mkisofs/multi.c: Likewise.
* util/mkisofs/name.c: Likewise.
* util/mkisofs/rock.c: Likewise.
* util/mkisofs/tree.c: Likewise.
* util/mkisofs/write.c: Likewise.
* video/efi_gop.c: Likewise.

15 years agoCrypto module autoloading
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 16:33:35 +0000 (17:33 +0100)] 
Crypto module autoloading

15 years ago2009-12-23 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 23 Dec 2009 13:48:55 +0000 (14:48 +0100)] 
2009-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

* video/efi_gop.c (grub_video_gop_get_bitmask): Fix off-by-one in mask
size counting.

15 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 17:20:27 +0000 (18:20 +0100)] 
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub-mkrescue.in (pkglib_DATA): Set to @pkglib_DATA@.
* genmk.rb (class SCRIPT): Modify the target file instead of source.

15 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 16:00:28 +0000 (17:00 +0100)] 
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/memrw.c (grub_cmd_write): Support for mask parameter.
(GRUB_MOD_INIT(memrw)): Update help line.

15 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 15:36:50 +0000 (16:36 +0100)] 
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/memrw.c (cmd_read_byte, cmd_read_word, cmd_read_dword):
Use grub_extcmd_t. All users updated.
(options): New variable.
(grub_cmd_read): Restructure for readability. Support "-v" option.
(grub_cmd_write): Restructure for readability.

15 years agomerge mainline into crypto
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 13:28:39 +0000 (14:28 +0100)] 
merge mainline into crypto

15 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:41:31 +0000 (12:41 +0100)] 
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* genmk.rb (class SCRIPT): Prepend #{src} path with $(srcdir).

15 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:12:51 +0000 (12:12 +0100)] 
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* genmk.rb (class SCRIPT): Use sed to substitute @pkglib_DATA@
with the actual contents of the correspondending make variable.
* util/grub-mkrescue.in (pkglib_DATA): New variable.
(process_input_dir): Copy all $pkglib_DATA files instead of explicitly
specifying `*.lst' and `efiemu??.o'

15 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 11:02:57 +0000 (12:02 +0100)] 
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub.d/30_os-prober.in (osx_entry): Add round brackets
after function name.
Noticed by Rene Engelhard <rene@debian.org>.

15 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:41:53 +0000 (10:41 +0100)] 
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/lspci.c (grub_pci_classes): Add "USB Controller".
(options): New variable.
(iospace): Likewise.
(grub_lspci_iter): List IO spaces if "-i" was given.
(grub_cmd_lspci): Parse options.
(GRUB_MOD_INIT(lspci)): Use extcmd.
(GRUB_MOD_FINI(lspci)): Likewise.

15 years ago2009-12-22 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Tue, 22 Dec 2009 09:35:04 +0000 (10:35 +0100)] 
2009-12-22 Felix Zielcke <fzielcke@z-51.de>

* util/grub.d/30_os-prober.in (osx_entry): Remove non POSIX compliant
`function' keyword.
Patch by Tony Mancill <tmancill@debian.org>.

15 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:18:18 +0000 (10:18 +0100)] 
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* bus/usb/usbhub.c (grub_usb_hub_add_dev): Fix loop-break condition.

15 years ago2009-12-22 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:15:59 +0000 (10:15 +0100)] 
2009-12-22  Vladimir Serbinenko  <phcoder@gmail.com>

* bus/usb/uhci.c (grub_uhci_transfer): Set a limit transaction time.
(grub_uhci_portstatus): Likewise.
(grub_uhci_portstatus): Add necessary delay.

15 years agoRevert obviously wrong 1963 by Felix Zielcke.
Vladimir 'phcoder' Serbinenko [Tue, 22 Dec 2009 09:10:57 +0000 (10:10 +0100)] 
Revert obviously wrong 1963 by Felix Zielcke.

15 years agoFix ommission from ChangeLog.
carles [Mon, 21 Dec 2009 23:28:28 +0000 (23:28 +0000)] 
Fix ommission from ChangeLog.

15 years agoAdds a missting entry in the ChangeLog.
carles [Mon, 21 Dec 2009 22:41:28 +0000 (22:41 +0000)] 
Adds a missting entry in the ChangeLog.

15 years agoSpecify better previous ChangeLog.
carles [Mon, 21 Dec 2009 22:09:18 +0000 (22:09 +0000)] 
Specify better previous ChangeLog.

15 years ago2009-12-21 Carles Pina i Estany <carles@pina.cat>
carles [Mon, 21 Dec 2009 22:06:04 +0000 (22:06 +0000)] 
2009-12-21  Carles Pina i Estany  <carles@pina.cat>

* commands/acpi.c (options): Fix capitalizations and/or full stops.
(GRUB_MOD_INIT): Likewise.
* commands/boot.c (GRUB_MOD_INIT): Likewise.
* commands/cmp.c (grub_cmd_cmp): Likewise.
* commands/echo.c (options): Likewise.
* commands/efi/loadbios.c (enable_rom_area): Likewise.
(enable_rom_area): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/gptsync.c (GRUB_MOD_INIT): Likewise.
* commands/halt.c (GRUB_MOD_INIT): Improve the help message.
* commands/handler.c (GRUB_MOD_INIT): Likewise.
* commands/hdparm.c (options): Fix capitalizations and/or full stops.
* commands/hexdump.c (options): Likewise.
* commands/i386/cpuid.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/drivemap.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/halt (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/pxecmd.c (options): Likewise.
* commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise.
* commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise.
* commands/keystatus.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/loadenv.c (options): Likewise.
* commands/ls.c (options): Likewise.
* commands/lspci.c (GRUB_MOD_INIT): Likewise.
* commands/memrw.c (GRUB_MOD_INIT): Likewise.
* commands/minicmd.c (GRUB_MOD_INIT): Likewise.
* commands/parttool.c (helpmsg): Likewise.
* commands/probe.c (options): Likewise.
* commands/read.c (GRUB_MOD_INIT): Likewise.
* commands/reboot.c (GRUB_MOD_INIT): Likewise.
* commands/search.c (options): Likewise.
* commands/sleep.c (options): Likewise.
* commands/test.c (GRUB_MOD_INIT): Likewise.
* commands/true.c (GRUB_MOD_INIT): Likewise.
* commands/usbtest.c (GRUB_MOD_INIT): Likewise.
* commands/videotest.c (GRUB_MOD_INIT): Likewise.
* lib/arg.c (help_options): Likewise.

15 years agomerge mainline into lspci
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 22:01:47 +0000 (23:01 +0100)] 
merge mainline into lspci

15 years agoRemove wrong colon in my previous changelog entry
Felix Zielcke [Mon, 21 Dec 2009 21:59:52 +0000 (22:59 +0100)] 
Remove wrong colon in my previous changelog entry

15 years agoFix abug in 64-bit memory address space
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 21:32:33 +0000 (22:32 +0100)] 
Fix abug in 64-bit memory address space

15 years ago2009-12-21 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Mon, 21 Dec 2009 21:19:25 +0000 (22:19 +0100)] 
2009-12-21 Felix Zielcke <fzielcke@z-51.de>

* util/grub-mkrescue.in: (process_input_dir): Copy `*.lst' files
instead of specifying them explicit.

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

        * NEWS: Add grub-probe support for GNU/Hurd.

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 21:11:16 +0000 (21:11 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * NEWS: gettext was added after 1.97.

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 20:22:12 +0000 (20:22 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/msdos_partition.h: New file (based on
        include/grub/msdos_partition.h).
        * util/mkisofs/mkisofs.c (use_protective_msdos_label): New variable.
        (OPTION_PROTECTIVE_MSDOS_LABEL): New macro.
        (ld_options, main): Recognize --protective-msdos-label.
        * util/mkisofs/mkisofs.h (use_protective_msdos_label): New declaration.
        * util/mkisofs/write.c: Include `"msdos_partition.h"'.
        (padblock_write): If `use_protective_msdos_label' is set, patch a
        protective DOS-style label in the output image.

        * util/grub-mkrescue.in: Use --protective-msdos-label.

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

        * util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk
        boot.

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 17:40:26 +0000 (17:40 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New
        variables.
        (ld_options, main): Recognize `--embedded-boot'.
        * util/mkisofs/mkisofs.h (use_embedded_boot, boot_image_embed): New
        declarations.
        * util/mkisofs/write.c (PADBLOCK_SIZE): New variable.
        (padblock_size): Use `PADBLOCK_SIZE' instead of hardcoding 16.
        (padblock_write): Likewise.  Rewrite to support embedded boot image.

        * util/grub-mkrescue.in: When building i386-pc images, embed core.img
        for BIOS-based disk boot instead of only ElTorito.

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 17:03:08 +0000 (17:03 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Remove `configfile' and `sh' from i386-pc
        build (not needed for bootstrap).

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 16:11:35 +0000 (16:11 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules
        from i386-pc build (not needed for bootstrap).
        Rewrite a pair of strings.

15 years ago2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 21 Dec 2009 15:54:56 +0000 (15:54 +0000)] 
2009-12-21  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/main.c (grub_normal_reader_init): Set left margin back to 3.

15 years agoFix ChangeLog date
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 15:44:17 +0000 (16:44 +0100)] 
Fix ChangeLog date

15 years ago2009-12-21 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Mon, 21 Dec 2009 15:43:21 +0000 (16:43 +0100)] 
2009-12-21  Vladimir Serbinenko  <phcoder@gmail.com>

* video/i386/pc/vbe.c (grub_video_vbe_fini): Set 'last_set_mode'.

15 years ago2009-12-21 Andreas Born <futur.andy@googlemail.com>
Andreas Born [Mon, 21 Dec 2009 14:27:50 +0000 (15:27 +0100)] 
2009-12-21 Andreas Born  <futur.andy@googlemail.com>

* kern/env.c (grub_env_context_open): Mark exported variable for
reexport.

15 years ago2009-12-21 Andreas Born <futur.andy@googlemail.com>
Andreas Born [Mon, 21 Dec 2009 14:20:12 +0000 (15:20 +0100)] 
2009-12-21 Andreas Born  <futur.andy@googlemail.com>

* kern/env.c (grub_env_export): Create nonexistent variables before
exporting.

15 years ago2009-12-20 Carles Pina i Estany <carles@pina.cat>
carles [Sun, 20 Dec 2009 23:32:15 +0000 (23:32 +0000)] 
2009-12-20 Carles Pina i Estany  <carles@pina.cat>

* include/grub/auth.h: Include `<grub/i18n.h>'.
(GRUB_GET_PASSWORD): Gettextizze string.
* include/grub/normal.h (STANDARD_MARGIN): New macro, moved from
menu_text.c.
(grub_utf8_to_ucs4_alloc): Fix indentation.
(grub_print_ucs4): Likewise.
(grub_getstringwidth): Likewise.
(print_message_indented): New declaration.
* normal/auth.c: Include `<grub/i18n.h>'.
(grub_auth_check_authentication): Gettexttize string.
* normal/cmdline.c: Include `<grub/i18n.h>'.
(grub_cmdline_get): Gettextizze.
* normal/color.c: Include `<grub/i18n.h>'.
(grub_parse_color_name_pair): Gettexttize strings.
* normal/main.c (grub_normal_reader_init): Cleanup gettexttized
string (use `print_message_indented').
* normal/menu_text.c (STANDARD_MARGIN): Moved from here to
`include/grub/normal.h'.
(print_message_indented): Renamed to ...
(grub_print_message_indented): ... this. Remove `static' qualifer (now
used in normal/main.c).
(print_message): Use `grub_print_message_indented' instead of
`print_message_indented'.
(print_timeout): Likewise.
* normal/misc.c: Include `<grub/term.h>' and `<grub/i18n.h>'.
(grub_normal_print_device_info): Gettexttize strings.
* po/POTFILES: Add `auth.c', `color.c' and `misc.c'.

15 years ago2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 21:54:12 +0000 (22:54 +0100)] 
2009-12-20  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/parser.c (grub_parser_split_cmdline): Fix incorrect counting
of arguments. Return number of tokens and not arguments. All users
updated.

15 years ago2009-12-20 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 20:08:03 +0000 (21:08 +0100)] 
2009-12-20  Vladimir Serbinenko  <phcoder@gmail.com>

* util/i386/pc/grub-setup.c (setup): Don't install on non-GPT,
non-MSDOS paritions.

15 years ago2009-12-19 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 20 Dec 2009 13:09:16 +0000 (14:09 +0100)] 
2009-12-19  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/types.h (UNUSED): Removed since it conflicts with
NetBSD headers. All users changed to direct __attribute__ ((unused)).
Reported by GrĂ©goire Sutre.

15 years ago2009-12-19 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 19 Dec 2009 23:00:30 +0000 (23:00 +0000)] 
2009-12-19  Carles Pina i Estany  <carles@pina.cat>

* include/grub/normal.h (grub_utf8_to_ucs4): New declaration.
(grub_print_ucs4_alloc): Likewise.
(grub_getstringwidth): Likewise.
* normal/main.c (grub_normal_init_page): Gettextize version string.
* normal/menu_text.c (grub_utf8_to_ucs4_alloc): New definition.
(getstringwidth): Renamed to ...
(grub_getstringwidth): ... this. Remove `static' qualifier (now used
in normal/main.c).  Use `grub_utf8_to_ucs4_alloc'.
(grub_print_ucs4): Remove `static' qualifer (now used in
normal/main.c).
* po/POTFILES: Add normal/main.c.

15 years ago2009-12-19 Carles Pina i Estany <carles@pina.cat>
carles [Sat, 19 Dec 2009 00:05:41 +0000 (00:05 +0000)] 
2009-12-19  Carles Pina i Estany  <carles@pina.cat>

* normal/menu_text.c (STANDARD_MARGIN): New macro.
(print_message_indented): Add `margin_left' and `margin_right'
parameters.
(print_message): Update `print_message_indented' calls. Adds '\n' to the
strings.
(print_timeout): Use `print_message_indented' to print the message.
Deletes `second_stage' parameter.
(run_menu): Update `print_timeout' calls.

15 years ago2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 16:25:06 +0000 (17:25 +0100)] 
2009-12-18  Vladimir Serbinenko  <phcoder@gmail.com>

Fix console palette on OpenFirmware.

* term/ieee1275/ofconsole.c (MAX): Removed.
(colors): Redone based on VGA palette.
(grub_ofconsole_setcolor): Discard brightness bit since only 8
colors are supported.
(grub_ofconsole_init_output): Use ARRAY_SIZE instead of hardcoded size.

15 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 16:24:12 +0000 (17:24 +0100)] 
ChangeLog

15 years agomerge mainline into ofconsole
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 16:19:44 +0000 (17:19 +0100)] 
merge mainline into ofconsole

15 years agoDiscard brightness bit
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 16:19:12 +0000 (17:19 +0100)] 
Discard brightness bit

15 years ago2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 14:20:21 +0000 (15:20 +0100)] 
2009-12-18  Vladimir Serbinenko  <phcoder@gmail.com>

Fix potential EfiEmu double prepare.

* efiemu/main.c (prepared): New variable
(grub_efiemu_unload): Set prepare to '0'.
(grub_efiemu_prepare): Return if already prepared. Set prepared.

set_virtual_address_map support.

* include/grub/efi/efi.h (grub_efi_set_virtual_address_map): New
prototype.
* include/grub/efiemu/efiemu.h (grub_efiemu_write_sym_markers): New
prototype.
(grub_efiemu_crc32): Likewise.
(grub_efiemu_crc64): Likewise.
(grub_efiemu_set_virtual_address_map): Likewise.
* include/grub/autoefi.h (grub_autoefi_exit_boot_services):
New definition.
(grub_autoefi_set_virtual_address_map): Likewise.
* kern/efi/efi.c (grub_efi_set_virtual_address_map): New function.
* loader/i386/xnu.c (grub_xnu_boot): Call set_virtual_address_map.
Restructure flow to accomodate it.
* efiemu/prepare.c (grub_efiemu_prepare): Support set_virtual_address_map.
(grub_efiemu_crc): Recompute CRC32.
* efiemu/runtime/efiemu.c (ptv_relocated): Renamed to ...
(efiemu_ptv_relocated): ... this. Made global. All users updated.
* efiemu/symbols.c (relocated_handle): New variable.
(grub_efiemu_free_syms): Free relocated_handle.
(grub_efiemu_alloc_syms): Allocate relocated_handle.
(grub_efiemu_write_sym_markers): New function.
(grub_efiemu_set_virtual_address_map): Likewise.

Newer XNU parameters.

* include/grub/i386/xnu.h (GRUB_XNU_BOOTARGS_VERMINOR): Change to 5.
* include/grub/xnu.h (grub_xnu_extheader): Add nameaddr and namesize.
(grub_xnu_fill_devicetree): New prototype.
(grub_xnu_heap_real_start): New variable.
* loader/xnu.c (get_name_ptr): New function.
(grub_xnu_load_driver): Fill namelen and name.

64-bit xnu support.

* conf/i386-efi.rmk (xnu_mod_SOURCES): Add 'loader/macho32.c'
and 'loader/macho64.c'.
* conf/i386-pc.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.
* include/grub/i386/macho.h (grub_macho_thread64): New structure.
* include/grub/xnu.h (grub_xnu_is_64bit): New variable.
* include/grub/macho.h (grub_macho_segment64): New structure.
* include/grub/machoload.h (grub_macho32_size): Renamed from ...
(grub_macho_size32): ... to this.
(grub_macho32_get_entry_point): Renamed from ...
(grub_macho_get_entry_point32): ... to this.
(grub_macho_contains_macho64): New prototype.
(grub_macho_size64): Likewise.
(grub_macho_get_entry_point64): Likewise.
(grub_macho32_load): Renamed from ...
(grub_macho_load32): ... to this.
(grub_macho32_filesize): Renamed from ...
(grub_macho_filesize32): ... to this.
(grub_macho32_readfile): Renamed from ...
(grub_macho_readfile32): ... to this.
(grub_macho_filesize64): New prototype.
(grub_macho_readfile64): Likewise.
(grub_macho_parse32): Likewise.
(grub_macho_parse64): Likewise.
* loader/macho.c: Split into ...
* loader/machoXX.c: ... and this. Replace 32 with XX.
* loader/macho32.c: New file.
* loader/macho64.c: Likewise.
* loader/xnu.c (grub_xnu_is_64bit): New variable.
(grub_cmd_xnu_kernel): Make 32-bit only.
(grub_cmd_xnu_kernel64): New function.
(grub_xnu_load_driver): Support Mach-O 64.
(grub_cmd_xnu_mkext): Likewise.
* util/grub.d/30_os-prober.in (osx_entry): New function.
Generate entries for 64-bit boot too.

Eliminate ad-hoc tree format in XNU and EfiEmu.

* efiemu/main.c (grub_efiemu_prepare): Update comment.
* efiemu/pnvram.c: Rewritten to use environment variables.
All users updated.

Inline utf16_to_utf8.

* kern/misc.c (grub_utf16_to_utf8): Move from here ...
* include/grub/charset.h (grub_utf16_to_utf8): ... to here. Inlined.
All users updated.
* include/grub/misc.h (grub_utf16_to_utf8): Removed.

* bus/usb/usb.c (grub_usb_get_string): Move from here ...
* commands/usbtest.c (grub_usb_get_string): ... move here.
(usb_print_str): Fix error handling.
* include/grub/usb.h (grub_usb_get_string): Remove.

UTF-8 to UTF-16 transformation.

* conf/common.rmk (pkglib_MODULES): Add charset.mod
(charset_mod_SOURCES): New variable.
(charset_mod_CFLAGS): Likewise.
(charset_mod_LDFLAGS): Likewise.
* include/grub/utf.h: New file.
* lib/utf.c: New file. (Based on grub_utf8_to_ucs4 from kern/misc.c)

Support for device properties.

* include/grub/i386/xnu.h (grub_xnu_devprop_header): New structure.
(grub_xnu_devprop_device_header): Likewise.
(grub_xnu_devprop_device_descriptor): Likewise.
(grub_xnu_devprop_add_device): New prototype.
(grub_xnu_devprop_remove_device): Likewise.
(grub_xnu_devprop_remove_property): Likewise.
(grub_xnu_devprop_add_property_utf8): Likewise.
(grub_xnu_devprop_add_property_utf16): Likewise.
(grub_cpu_xnu_init): Likewise.
(grub_cpu_xnu_fini): Likewise.
(grub_cpu_xnu_unload): Likewise.
* loader/i386/xnu.c (grub_xnu_devprop_device_descriptor): New structure.
(property_descriptor): Likewise.
(devices): New variable.
(grub_xnu_devprop_remove_property): New function.
(grub_xnu_devprop_add_device): Likewise.
(grub_xnu_devprop_remove_device): Likewise.
(grub_xnu_devprop_add_property): Likewise.
(grub_xnu_devprop_add_property_utf8): Likewise.
(grub_xnu_devprop_add_property_utf16): Likewise.
(hextoval): Likewise.
(grub_cpu_xnu_fill_devprop): Likewise.
(grub_cmd_devprop_load): Likewise.
(grub_xnu_boot): Call grub_cpu_xnu_fill_devprop,
grub_xnu_fill_devicetree, grub_xnu_fill_devicetree
(cmd_devprop_load): New variable.
(grub_cpu_xnu_init): New function.
(grub_cpu_xnu_fini): Likewise.
* loader/i386/xnu.c (grub_xnu_unload): Call grub_cpu_xnu_unload.
* loader/xnu.c (grub_xnu_parse_devtree): Remove.
(grub_cmd_xnu_devtree): Likewise.
(hextoval): New function.
(unescape): Likewise.
(grub_xnu_fill_devicetree): Likewise.

* util/grub.d/30_os-prober.in: Load devprop.bin. Don't load devtree.txt.
* util/i386/efi/grub-dumpdevtree: Generate devprop.bin.

15 years agoChangeLog
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 03:58:00 +0000 (04:58 +0100)] 
ChangeLog

15 years agoReimpliment grub-dumpdevtree
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 03:57:29 +0000 (04:57 +0100)] 
Reimpliment grub-dumpdevtree

15 years agoEliminate empty line
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 03:56:55 +0000 (04:56 +0100)] 
Eliminate empty line

15 years agoRemove unwantred commits
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 03:56:03 +0000 (04:56 +0100)] 
Remove unwantred commits

15 years agomerge mtrunk into xnu
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 02:57:32 +0000 (03:57 +0100)] 
merge mtrunk into xnu

15 years ago30_os-prober update
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 02:33:24 +0000 (03:33 +0100)] 
30_os-prober update

15 years ago2009-12-18 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 01:35:15 +0000 (02:35 +0100)] 
2009-12-18  Vladimir Serbinenko  <phcoder@gmail.com>

Workaround for broken ATI VBE.

* video/i386/pc/vbe.c (last_set_mode): New variable.
(grub_vbe_set_video_mode): Set 'last_set_mode'.
(grub_vbe_get_video_mode): Use 'last_set_mode' if get_mode fails.
(grub_video_vbe_setup): Don't check for reserved flag.

15 years agoChangelog
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 01:21:37 +0000 (02:21 +0100)] 
Changelog

15 years agocleaned ATI fixes
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 01:11:26 +0000 (02:11 +0100)] 
cleaned ATI fixes

15 years agoMerge trunk into ati
Vladimir 'phcoder' Serbinenko [Fri, 18 Dec 2009 01:04:10 +0000 (02:04 +0100)] 
Merge trunk into ati

15 years ago2009-12-17 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Thu, 17 Dec 2009 10:19:12 +0000 (11:19 +0100)] 
2009-12-17 Felix Zielcke <fzielcke@z-51.de>

* gendistlist.sh: Use POSIX compliant `!' instead of `-not' in
the `find' command.

15 years agominimalising ATI impact
Vladimir 'phcoder' Serbinenko [Wed, 16 Dec 2009 15:53:01 +0000 (16:53 +0100)] 
minimalising ATI impact

15 years ago2009-12-16 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 16 Dec 2009 14:40:31 +0000 (15:40 +0100)] 
2009-12-16  Vladimir Serbinenko  <phcoder@gmail.com>

UUID support for HFS.

* fs/hfs.c (grub_hfs_uuid): New function.
(grub_hfs_fs): New value .uuid.
* include/grub/hfs.h (grub_hfs_sblock): New field 'num_serial'.

15 years agofix ofconsole palette
Vladimir 'phcoder' Serbinenko [Tue, 15 Dec 2009 18:57:23 +0000 (19:57 +0100)] 
fix ofconsole palette

15 years agoone more possible fix
Vladimir 'phcoder' Serbinenko [Mon, 14 Dec 2009 17:16:32 +0000 (18:16 +0100)] 
one more possible fix

15 years ago2009-12-14 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Mon, 14 Dec 2009 10:06:24 +0000 (11:06 +0100)] 
2009-12-14 Felix Zielcke <fzielcke@z-51.de>

Fix a segfault with parsing unknown long options.

* util/grub-mkrelpath.c (options): Zero terminate it.

15 years ago2009-12-13 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sun, 13 Dec 2009 19:51:08 +0000 (19:51 +0000)] 
2009-12-13  Carles Pina i Estany  <carles@pina.cat>

* include/grub/misc.h (grub_puts): New declaration.
(grub_puts_): Likewise.
* kern/mis.c (grub_puts): New definition.
(grub_puts_): Likewise.

15 years ago2009-12-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 13 Dec 2009 19:46:59 +0000 (19:46 +0000)] 
2009-12-13  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-probe.c (probe): Improve error message.

15 years agoMerge relocator branch
Robert Millan [Sun, 13 Dec 2009 18:37:44 +0000 (18:37 +0000)] 
Merge relocator branch

15 years ago2009-12-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 13 Dec 2009 18:29:15 +0000 (18:29 +0000)] 
2009-12-13  Robert Millan  <rmh.grub@aybabtu.com>

        * loader/i386/multiboot_elfxx.c
        (CONCAT(grub_multiboot_load_elf, XX)): Fix `grub_multiboot_payload_eip'
        initialization.

15 years ago2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:32:06 +0000 (18:32 +0100)] 
2009-12-13  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/i386/pc/startup.S (multiboot_entry): Setup stack before calling
anything.

15 years agolegacy-like stack handling
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:10:53 +0000 (18:10 +0100)] 
legacy-like stack handling

15 years agoFix XNU resume.
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:07:01 +0000 (18:07 +0100)] 
Fix XNU resume.

15 years agoCleanup address expressions for readability and using only unsigned arithmetics
Vladimir 'phcoder' Serbinenko [Sun, 13 Dec 2009 17:03:46 +0000 (18:03 +0100)] 
Cleanup address expressions for readability and using only unsigned arithmetics

15 years ago2009-12-13 Carles Pina i Estany <carles@pina.cat>
Carles Pina i Estany [Sun, 13 Dec 2009 12:35:20 +0000 (12:35 +0000)] 
2009-12-13  Carles Pina i Estany  <carles@pina.cat>

* script/execute.c (grub_script_execute_cmdline): Set grub_errno to
GRUB_ERR_NONE before calling grub_env_set.

15 years ago2009-12-12 Robert Millan <rmh@aybabtu.com>
Robert Millan [Sat, 12 Dec 2009 00:43:32 +0000 (00:43 +0000)] 
2009-12-12  Robert Millan  <rmh@aybabtu.com>

        * gendistlist.sh (EXTRA_DISTFILES): Add `genvideolist.sh'.
        * genmk.rb (video): New variable.
        (CLEANFILES, VIDEOFILES): Add #{video}.
        (#{video}): New target rule.
        * genvideolist.sh: New file.
        * Makefile.in (pkglib_DATA): Add video.lst.
        (video.lst): New target rule.
        * util/grub-mkconfig.in: Initialize ${GRUB_VIDEO_BACKEND} using
        `video.lst'.
        * util/grub.d/30_os-prober.in: Replace `vbe' with
        ${GRUB_VIDEO_BACKEND}.

15 years agoMerge from trunk
Robert Millan [Fri, 11 Dec 2009 23:11:58 +0000 (23:11 +0000)] 
Merge from trunk