]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago* acinclude.m4 (grub_apple_cc): Remove; since the removal of nested
Colin Watson [Wed, 13 Nov 2013 12:01:39 +0000 (12:01 +0000)]
* acinclude.m4 (grub_apple_cc): Remove; since the removal of nested
functions, we only need to check this for the target, not the host.
* configure.ac (grub_apple_cc): Likewise.

10 years ago * grub-core/kern/arm/cache.c (probe_caches): Move asm part to ...
Vladimir Serbinenko [Wed, 13 Nov 2013 08:58:52 +0000 (09:58 +0100)]
* grub-core/kern/arm/cache.c (probe_caches): Move asm part to ...
* grub-core/kern/arm/cache_armv6.S: ... here. This allows this
asm to stay in arm even if surrounding is thumb.

10 years ago * grub-core/kern/arm/misc.S: Add __muldi3 and __aeabi_lmul. Those
Vladimir Serbinenko [Wed, 13 Nov 2013 08:52:33 +0000 (09:52 +0100)]
* grub-core/kern/arm/misc.S: Add __muldi3 and __aeabi_lmul. Those
helper functions are needed for thumb.

10 years ago * grub-core/disk/diskfilter.c (grub_diskfilter_make_raid): Make
Vladimir Serbinenko [Wed, 13 Nov 2013 08:40:16 +0000 (09:40 +0100)]
* grub-core/disk/diskfilter.c (grub_diskfilter_make_raid): Make
level / 3 division explicitly unsigned. Saves few bytes.

10 years ago * grub-core/fs/zfs/zfs.c (ZAP_LEAF_NUMCHUNKS): Use unsigned arithmetics.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:27:36 +0000 (09:27 +0100)]
* grub-core/fs/zfs/zfs.c (ZAP_LEAF_NUMCHUNKS): Use unsigned arithmetics.

10 years ago * grub-core/normal/datetime.c (grub_get_weekday): Use if rather than
Vladimir Serbinenko [Wed, 13 Nov 2013 08:26:13 +0000 (09:26 +0100)]
* grub-core/normal/datetime.c (grub_get_weekday): Use if rather than
division.

10 years ago * grub-core/kern/uboot/init.c: Move grub_uboot_machine_type and
Vladimir Serbinenko [Wed, 13 Nov 2013 05:28:15 +0000 (06:28 +0100)]
* grub-core/kern/uboot/init.c: Move grub_uboot_machine_type and
grub_uboot_boot_data to asm part.

10 years ago * grub-core/kern/arm/uboot/startup.S: Remove = by replacing with
Vladimir Serbinenko [Wed, 13 Nov 2013 05:27:03 +0000 (06:27 +0100)]
* grub-core/kern/arm/uboot/startup.S: Remove = by replacing with
literal load.
(grub_uboot_syscall): Save/restore r9 and align stack.

10 years ago * grub-core/kern/arm/cache.S: Replace = with explicit litteral load.
Vladimir Serbinenko [Wed, 13 Nov 2013 05:23:32 +0000 (06:23 +0100)]
* grub-core/kern/arm/cache.S: Replace = with explicit litteral load.

10 years ago * include/grub/symbol.h (END) [__arm__]: New macros. Replace all .end
Vladimir Serbinenko [Wed, 13 Nov 2013 04:19:30 +0000 (05:19 +0100)]
* include/grub/symbol.h (END) [__arm__]: New macros. Replace all .end
occurencies with END.

10 years ago* util/grub-editenv.c (help_filter, argp): Document how to delete
Colin Watson [Wed, 13 Nov 2013 02:15:57 +0000 (02:15 +0000)]
* util/grub-editenv.c (help_filter, argp): Document how to delete
the whole environment block.
Reported by Dan Jacobson.  Fixes Debian bug #726265.

10 years ago* docs/grub.texi (Internationalisation, Supported kernels): Fix
Colin Watson [Wed, 13 Nov 2013 02:08:50 +0000 (02:08 +0000)]
* docs/grub.texi (Internationalisation, Supported kernels): Fix
sectioning.

10 years ago * grub-core/normal/term.c (grub_set_more): Use bool logic rather than
Josh Triplett [Wed, 13 Nov 2013 01:27:11 +0000 (02:27 +0100)]
* grub-core/normal/term.c (grub_set_more): Use bool logic rather than
increment/decrement.

10 years agoRevert " * include/grub/symbol.h (ADDR): New macro. Replace all occurences of"
Vladimir Serbinenko [Wed, 13 Nov 2013 01:17:20 +0000 (02:17 +0100)]
Revert " * include/grub/symbol.h (ADDR): New macro. Replace all occurences of"

This reverts commit 286551b4ebac0b6807c42d2034181d508479c542.

10 years ago * grub-core/kern/arm/cache_armv6.S [__clang__]: Don't add .armv6 when
Vladimir Serbinenko [Wed, 13 Nov 2013 00:08:47 +0000 (01:08 +0100)]
* grub-core/kern/arm/cache_armv6.S [__clang__]: Don't add .armv6 when
compiling with clang.

10 years ago * grub-core/kern/arm/uboot/startup.S: Use .org rather than assigning
Vladimir Serbinenko [Wed, 13 Nov 2013 00:06:30 +0000 (01:06 +0100)]
* grub-core/kern/arm/uboot/startup.S: Use .org rather than assigning
".".

10 years ago * include/grub/symbol.h (ADDR): New macro. Replace all occurences of
Vladimir Serbinenko [Wed, 13 Nov 2013 00:04:56 +0000 (01:04 +0100)]
* include/grub/symbol.h (ADDR): New macro. Replace all occurences of
=x with ADDR(x) in arm assembly.
(END): New macro. Replace all .end with END.

10 years ago Redirect all divisions to grub_divmod64.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:53:53 +0000 (00:53 +0100)]
Redirect all divisions to grub_divmod64.

10 years ago * grub-core/term/tparm.c (tparam_internal): Use unsigned divisions.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:51:06 +0000 (00:51 +0100)]
* grub-core/term/tparm.c (tparam_internal): Use unsigned divisions.

10 years ago Add missing includes of loader.h.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:43:03 +0000 (00:43 +0100)]
Add missing includes of loader.h.

10 years ago * configure.ac: Allow disabling themes.
Vladimir Serbinenko [Tue, 12 Nov 2013 21:44:01 +0000 (22:44 +0100)]
* configure.ac: Allow disabling themes.

10 years ago * util/grub.d/20_linux_xen.in: Don't decompress initrd.
Lukas Schwaighofer [Tue, 12 Nov 2013 20:03:27 +0000 (21:03 +0100)]
* util/grub.d/20_linux_xen.in: Don't decompress initrd.

10 years ago * grub-core/term/at_keyboard.c: Don't poll non-functional AT controller
Vladimir Serbinenko [Tue, 12 Nov 2013 18:30:46 +0000 (19:30 +0100)]
* grub-core/term/at_keyboard.c: Don't poll non-functional AT controller
until it becomes operational.

10 years ago * grub-core/Makefile.core.def (legacy_password_test): Disable
Vladimir Serbinenko [Tue, 12 Nov 2013 17:44:58 +0000 (18:44 +0100)]
* grub-core/Makefile.core.def (legacy_password_test): Disable
on platforms where no legacycfg is compiled.
* grub-core/tests/lib/functional_test.c: Tolerate failure to
load legacy_password_test.

10 years ago * grub-core/loader/i386/bsd.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:14:33 +0000 (16:14 +0100)]
* grub-core/loader/i386/bsd.c: Remove variable length arrays.

10 years ago * grub-core/efiemu/prepare.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:12:28 +0000 (16:12 +0100)]
* grub-core/efiemu/prepare.c: Remove variable length arrays.

10 years ago * grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror): Silence
Vladimir Serbinenko [Tue, 12 Nov 2013 15:09:42 +0000 (16:09 +0100)]
* grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror): Silence
strict-aliasing warning.
(fsync): Silence cast warning.

10 years ago * grub-core/commands/verify.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:07:30 +0000 (16:07 +0100)]
* grub-core/commands/verify.c: Remove variable length arrays.
Load gcry_dsa/gcry_rsa automatically.

10 years ago * grub-core/tests/signature_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:05:57 +0000 (16:05 +0100)]
* grub-core/tests/signature_test.c: New test.

10 years ago * grub-core/disk/cryptodisk.c (luks_script_get): Adapt to new procfs
Vladimir Serbinenko [Tue, 12 Nov 2013 15:01:19 +0000 (16:01 +0100)]
* grub-core/disk/cryptodisk.c (luks_script_get): Adapt to new procfs
API.

10 years ago * grub-core/tests/legacy_password_test.c (vectors): Make static.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:59:58 +0000 (15:59 +0100)]
* grub-core/tests/legacy_password_test.c (vectors): Make static.
* grub-core/tests/pbkdf2_test.c (vectors): Likewise.

10 years ago * grub-core/tests/setjmp_test.c: Reset counter to 0 before starting.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:58:50 +0000 (15:58 +0100)]
* grub-core/tests/setjmp_test.c: Reset counter to 0 before starting.

10 years ago * grub-core/fs/proc.c: Allow \0 in proc files.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:57:09 +0000 (15:57 +0100)]
* grub-core/fs/proc.c: Allow \0 in proc files.

10 years ago * grub-core/tests/xnu_uuid_test.c: Fix assert message.
Vladimir Serbinenko [Tue, 12 Nov 2013 13:11:34 +0000 (14:11 +0100)]
* grub-core/tests/xnu_uuid_test.c: Fix assert message.

10 years ago * grub-core/tests/xnu_uuid_test.c: Fix copyright year.
Vladimir Serbinenko [Tue, 12 Nov 2013 13:07:34 +0000 (14:07 +0100)]
* grub-core/tests/xnu_uuid_test.c: Fix copyright year.

10 years ago * grub-core/fs/ext2.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 02:04:19 +0000 (03:04 +0100)]
* grub-core/fs/ext2.c: Remove variable length arrays.

10 years ago * grub-core/lib/crypto.c (grub_crypto_cbc_decrypt): Remove variable
Vladimir Serbinenko [Tue, 12 Nov 2013 01:49:17 +0000 (02:49 +0100)]
* grub-core/lib/crypto.c (grub_crypto_cbc_decrypt): Remove variable
length arrays.

10 years ago * grub-core/disk/AFSplitter.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 01:48:02 +0000 (02:48 +0100)]
* grub-core/disk/AFSplitter.c: Remove variable length arrays.
* grub-core/disk/cryptodisk.c: Likewise.
* grub-core/disk/geli.c: Likewise.
* grub-core/disk/luks.c: Likewise.

10 years ago * grub-core/tests/legacy_password_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 01:38:33 +0000 (02:38 +0100)]
* grub-core/tests/legacy_password_test.c: New test.
* grub-core/commands/legacycfg.c: Remove variable length arrays.

10 years ago * grub-core/lib/pbkdf2.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:52:55 +0000 (01:52 +0100)]
* grub-core/lib/pbkdf2.c: Remove variable length arrays.

10 years ago * grub-core/tests/pbkdf2_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:51:36 +0000 (01:51 +0100)]
* grub-core/tests/pbkdf2_test.c: New test.

10 years ago * grub-core/lib/xzembed/xz_dec_stream.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:26:56 +0000 (01:26 +0100)]
* grub-core/lib/xzembed/xz_dec_stream.c: Remove variable length arrays.

10 years ago * grub-core/io/lzopio.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:25:03 +0000 (01:25 +0100)]
* grub-core/io/lzopio.c: Remove variable length arrays.

10 years ago * include/grub/crypto.h: Add maximums on hash size and cipher block
Vladimir Serbinenko [Tue, 12 Nov 2013 00:20:45 +0000 (01:20 +0100)]
* include/grub/crypto.h: Add maximums on hash size and cipher block
size.

10 years ago * grub-core/commands/xnu_uuid.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:19:34 +0000 (01:19 +0100)]
* grub-core/commands/xnu_uuid.c: Remove variable length arrays.

10 years ago * grub-core/tests/xnu_uuid_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:18:27 +0000 (01:18 +0100)]
* grub-core/tests/xnu_uuid_test.c: New test.

10 years ago * grub-core/commands/hashsum.c: Remove unneeded memset (zalloc already
Vladimir Serbinenko [Mon, 11 Nov 2013 23:58:46 +0000 (00:58 +0100)]
* grub-core/commands/hashsum.c: Remove unneeded memset (zalloc already
covers it).

10 years ago * grub-core/commands/hashsum.c: Remove variable length arrays.
Vladimir Serbinenko [Mon, 11 Nov 2013 23:52:54 +0000 (00:52 +0100)]
* grub-core/commands/hashsum.c: Remove variable length arrays.

10 years ago * grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
Vladimir Serbinenko [Mon, 11 Nov 2013 23:44:00 +0000 (00:44 +0100)]
* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
condition.
* tests/grub_func_test.in: Increase memory allocation.

10 years ago * grub-core/osdep/unix/getroot.c [HAVE_STRUCT_STATFS_F_FSTYPENAME
Vladimir Serbinenko [Mon, 11 Nov 2013 22:10:30 +0000 (23:10 +0100)]
* grub-core/osdep/unix/getroot.c [HAVE_STRUCT_STATFS_F_FSTYPENAME
&& HAVE_STRUCT_STATFS_F_MNTFROMNAME]: Include sys/param.h and
sys/mount.h.

10 years ago * grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to ..
Vladimir Serbinenko [Mon, 11 Nov 2013 22:08:51 +0000 (23:08 +0100)]
* grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to ..
(grub_util_get_fd_size_os): ...this.
(grub_hostdisk_flush_initial_buffer): New empty function.

10 years ago * grub-core/gensyminfo.sh.in: Handle the case of portable output
Vladimir Serbinenko [Mon, 11 Nov 2013 22:05:53 +0000 (23:05 +0100)]
* grub-core/gensyminfo.sh.in: Handle the case of portable output
without --defined-only.

10 years ago * grub-core/lib/i386/relocator_common.S [__APPLE__ && __x86_64__]: Use
Vladimir Serbinenko [Mon, 11 Nov 2013 22:02:51 +0000 (23:02 +0100)]
* grub-core/lib/i386/relocator_common.S [__APPLE__ && __x86_64__]: Use
rip-relative addressing in prologue.

10 years ago * include/grub/misc.h [__APPLE__]: Do not add regparm(0) on x86_64.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:53:30 +0000 (22:53 +0100)]
* include/grub/misc.h [__APPLE__]: Do not add regparm(0) on x86_64.
* grub-core/kern/misc.c (__bzero) [__APPLE__]: New function.

10 years ago * util/getroot.c (grub_util_biosdisk_get_grub_dev) [__APPLE__]:
Vladimir Serbinenko [Mon, 11 Nov 2013 21:49:52 +0000 (22:49 +0100)]
* util/getroot.c (grub_util_biosdisk_get_grub_dev) [__APPLE__]:
Add missing semicolon.

10 years ago * util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:48:43 +0000 (22:48 +0100)]
* util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen.

10 years ago * configure.ac: Check for lzma.h for enabling liblzma and allow
Vladimir Serbinenko [Mon, 11 Nov 2013 21:47:48 +0000 (22:47 +0100)]
* configure.ac: Check for lzma.h for enabling liblzma and allow
manual disabling.

10 years ago Add missing includes of loader.h.
Vladimir Serbinenko [Mon, 11 Nov 2013 01:30:09 +0000 (02:30 +0100)]
Add missing includes of loader.h.

10 years ago * util/grub.d/30_os-prober.in: Add minix entry.
Fam Zheng [Sun, 10 Nov 2013 23:24:49 +0000 (00:24 +0100)]
* util/grub.d/30_os-prober.in: Add minix entry.

10 years ago * grub-core/loader/i386/coreboot/chainloader.c (load_segment): Use
Vladimir Serbinenko [Sun, 10 Nov 2013 23:06:52 +0000 (00:06 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c (load_segment): Use
right buffer for temporary load.

10 years ago * grub-core/loader/i386/coreboot/chainloader.c: Support tianocore.
Vladimir Serbinenko [Sun, 10 Nov 2013 22:26:25 +0000 (23:26 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c: Support tianocore.

10 years ago * grub-core/loader/i386/coreboot/chainloader.c: Support lzma-compressed
Vladimir Serbinenko [Sun, 10 Nov 2013 19:53:27 +0000 (20:53 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c: Support lzma-compressed
payload.

10 years ago * include/grub/lib/LzmaDec.h: Fix to include LzmaTypes.h and
Vladimir Serbinenko [Sun, 10 Nov 2013 19:37:01 +0000 (20:37 +0100)]
* include/grub/lib/LzmaDec.h: Fix to include LzmaTypes.h and
not Types.h.
* grub-core/lib/LzmaDec.c: Fix prologue to make it compileable in GRUB
environment.
(LzmaDec_InitDicAndState): Make static.

10 years ago * util/grub-mkimagexx.c (generate_elf): Fix module address on coreboot.
Vladimir Serbinenko [Sun, 10 Nov 2013 18:34:19 +0000 (19:34 +0100)]
* util/grub-mkimagexx.c (generate_elf): Fix module address on coreboot.

10 years ago * grub-core/term/ieee1275/escc.c (GRUB_MOD_INIT): Fix order of channels.
Vladimir Serbinenko [Sun, 10 Nov 2013 16:52:35 +0000 (17:52 +0100)]
* grub-core/term/ieee1275/escc.c (GRUB_MOD_INIT): Fix order of channels.

Reported by: Aaro Koskinen <aaro.koskinen@iki.fi>

10 years ago * docs/grub-dev.texi: Replace bzr references with git ones.
Vladimir Serbinenko [Sun, 10 Nov 2013 16:48:42 +0000 (17:48 +0100)]
* docs/grub-dev.texi: Replace bzr references with git ones.

10 years agogrub-reboot no more sets saved_default
Andrey Borzenkov [Sun, 10 Nov 2013 14:24:27 +0000 (18:24 +0400)]
grub-reboot no more sets saved_default

Remove reference to grub-default from description of saved default entry.

Also mention that GRUB_DEFAULT=saved depends on availability of environment
block.

10 years agoChangeLog entry for 5645cc7995a788a443c6f29addac26ea6d3989d4
Andrey Borzenkov [Sun, 10 Nov 2013 14:20:23 +0000 (18:20 +0400)]
ChangeLog entry for 5645cc7995a788a443c6f29addac26ea6d3989d4

10 years ago * configure.ac: Make efiemu test cflags match the cflags efiemu is
Vladimir Serbinenko [Sun, 10 Nov 2013 13:46:13 +0000 (14:46 +0100)]
* configure.ac: Make efiemu test cflags match the cflags efiemu is
compiled with.

10 years agodocument GRUB_DISABLE_SUBMENU
Andrey Borzenkov [Sun, 10 Nov 2013 13:40:47 +0000 (17:40 +0400)]
document GRUB_DISABLE_SUBMENU

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
10 years ago Fix grub_machine_fini bitrot.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:33:26 +0000 (13:33 +0100)]
Fix grub_machine_fini bitrot.

Reported by: Glenn Washburn.

10 years ago * configure.ac: Remove leftover -fnested-funcions -Wl,-allow_execute.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:24:06 +0000 (13:24 +0100)]
* configure.ac: Remove leftover -fnested-funcions -Wl,-allow_execute.

10 years ago * grub-core/Makefile.am (efiemu): Remove leftover -DAPPLE_CC and
Vladimir Serbinenko [Sun, 10 Nov 2013 12:13:41 +0000 (13:13 +0100)]
* grub-core/Makefile.am (efiemu): Remove leftover -DAPPLE_CC and
-DELF.
* grub-core/efiemu/runtime/config.h: Use __i386__ and __x86_64__
instead of ELF*.

10 years ago * configure.ac: Restore CFLAGS to TARGET_CFLAGS before external tests.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:10:45 +0000 (13:10 +0100)]
* configure.ac: Restore CFLAGS to TARGET_CFLAGS before external tests.
Add -march=core2 when testing compile of efiemu64.

Thanks Andrey Borzenkov for spotting this.

10 years ago Add new ports: i386-xen and x86_64-xen. This allows running GRUB in
Vladimir Serbinenko [Sat, 9 Nov 2013 20:29:11 +0000 (21:29 +0100)]
Add new ports: i386-xen and x86_64-xen. This allows running GRUB in
XEN PV environment and load kernels.

10 years ago * grub-core/loader/i386/multiboot_mbi.c: Handle space in command line.
Vladimir Serbinenko [Sat, 9 Nov 2013 16:32:37 +0000 (17:32 +0100)]
* grub-core/loader/i386/multiboot_mbi.c: Handle space in command line.
* grub-core/loader/multiboot_mbi2.c: Likewise.

10 years ago * grub-core/lib/cmdline.c (grub_loader_cmdline_size): Fix empty cmdline
Vladimir Serbinenko [Sat, 9 Nov 2013 16:31:21 +0000 (17:31 +0100)]
* grub-core/lib/cmdline.c (grub_loader_cmdline_size): Fix empty cmdline
handling.

10 years ago * grub-core/commands/i386/cmostest.c: Add new command "cmosset".
Vladimir Serbinenko [Sat, 9 Nov 2013 16:27:49 +0000 (17:27 +0100)]
* grub-core/commands/i386/cmostest.c: Add new command "cmosset".

Tested by: Denis 'GNUtoo' Carikli.

10 years ago * grub-core/normal/datetime.c (grub_get_weekday): Use unsigned types.
Vladimir Serbinenko [Fri, 8 Nov 2013 18:14:03 +0000 (19:14 +0100)]
* grub-core/normal/datetime.c (grub_get_weekday): Use unsigned types.

10 years ago * grub-core/gfxmenu/gui_circular_progress.c (parse_angle):
Vladimir Serbinenko [Fri, 8 Nov 2013 18:13:15 +0000 (19:13 +0100)]
* grub-core/gfxmenu/gui_circular_progress.c (parse_angle):
Use to get rounded angle rather than truncated.

10 years ago * grub-core/term/serial.c: Add option for enabling/disabling
Vladimir Serbinenko [Fri, 8 Nov 2013 17:20:20 +0000 (18:20 +0100)]
* grub-core/term/serial.c: Add option for enabling/disabling
RTS/CTS flow control.

10 years ago * grub-core/lib/libgcrypt/cipher/idea.c (mul_inv): Remove signed
Vladimir Serbinenko [Fri, 8 Nov 2013 17:10:07 +0000 (18:10 +0100)]
* grub-core/lib/libgcrypt/cipher/idea.c (mul_inv): Remove signed
divisions.

10 years ago * grub-core/lib/libgcrypt/mpi/mpih-div.c (_gcry_mpih_divrem):
Vladimir Serbinenko [Fri, 8 Nov 2013 15:33:48 +0000 (16:33 +0100)]
* grub-core/lib/libgcrypt/mpi/mpih-div.c (_gcry_mpih_divrem):
Use grub_fatal rather than divide by zero.
* grub-core/lib/libgcrypt/mpi/mpi-pow.c (gcry_mpi_powm): Likewise.

10 years ago * include/grub/gui.h (grub_fixed_sfs_divide): Round rather than
Vladimir Serbinenko [Fri, 8 Nov 2013 15:17:29 +0000 (16:17 +0100)]
* include/grub/gui.h (grub_fixed_sfs_divide): Round rather than
truncate.
(grub_fixed_fsf_divide): Likewise.

10 years ago * grub-core/gfxmenu/gui_list.c (draw_scrollbar): Avoid
Vladimir Serbinenko [Fri, 8 Nov 2013 14:44:39 +0000 (15:44 +0100)]
* grub-core/gfxmenu/gui_list.c (draw_scrollbar): Avoid
division by-zero and senseless negative divisions.

10 years ago * grub-core/gfxmenu/gui_circular_progress.c (circprog_paint): Avoid
Vladimir Serbinenko [Fri, 8 Nov 2013 14:43:07 +0000 (15:43 +0100)]
* grub-core/gfxmenu/gui_circular_progress.c (circprog_paint): Avoid
division by-zero and senseless negative divisions.
(circprog_set_property): Don't accept negative num_ticks.

10 years ago * grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Avoid
Vladimir Serbinenko [Fri, 8 Nov 2013 14:38:58 +0000 (15:38 +0100)]
* grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Avoid
division by-zero and senseless negative divisions.

10 years ago * configure.ac: Use elf_*_fbsd on kfreebsd.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:10:13 +0000 (15:10 +0100)]
* configure.ac: Use elf_*_fbsd on kfreebsd.

10 years ago * grub-core/tests/div_test.c: New test.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:01:59 +0000 (15:01 +0100)]
* grub-core/tests/div_test.c: New test.

10 years ago * grub-core/gfxmenu/gui_box.c: Updated to work with area status.
Vladimir Testov [Fri, 8 Nov 2013 11:42:38 +0000 (15:42 +0400)]
    * grub-core/gfxmenu/gui_box.c: Updated to work with area status.
        * grub-core/gfxmenu/gui_canvas.c: Likewise.
        * grub-core/gfxmenu/view.c: Likewise.
        * grub-core/video/fb/video_fb.c: Introduce new functions:
        grub_video_set_area_status, grub_video_get_area_status,
        grub_video_set_region, grub_video_get_region.
        * grub-core/video/bochs.c: Likewise.
        * grub-core/video/capture.c: Likewise.
        * grub-core/video/video.c: Likewise.
        * grub-core/video/cirrus.c: Likewise.
        * grub-core/video/efi_gop.c: Likewise.
        * grub-core/video/efi_uga.c: Likewise.
        * grub-core/video/emu/sdl.c: Likewise.
        * grub-core/video/radeon_fuloong2e.c: Likewise.
        * grub-core/video/sis315pro.c: Likewise.
        * grub-core/video/sm712.c: Likewise.
        * grub-core/video/i386/pc/vbe.c: Likewise.
        * grub-core/video/i386/pc/vga.c: Likewise.
        * grub-core/video/ieee1275.c: Likewise.
        * grub-core/video/i386/coreboot/cbfb.c: Likewise.
        * include/grub/video.h: Likewise.
        * include/grub/video_fb.h: Likewise.
        * include/grub/fbfill.h: Updated render_target structure.
        grub_video_rect_t viewport, region, area
        int area_offset_x, area_offset_y, area_enabled
        * include/grub/gui.h: New helper function
        grub_video_bounds_inside_region.
        * docs/grub-dev.texi: Added information about new functions.

10 years ago * grub-core/kern/mm.c (grub_real_malloc): Use AND rather than MOD
Vladimir Serbinenko [Fri, 8 Nov 2013 08:43:26 +0000 (09:43 +0100)]
* grub-core/kern/mm.c (grub_real_malloc): Use AND rather than MOD
for alignment.

10 years ago * grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Add
Vladimir Serbinenko [Fri, 8 Nov 2013 08:27:56 +0000 (09:27 +0100)]
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Add
missing attribute.
* grub-core/gdb/cstub.c (grub_gdb_trap): Likewise.

10 years ago * grub-core/kern/misc.c (grub_divmod64): Don't fallback to
Vladimir Serbinenko [Fri, 8 Nov 2013 08:07:33 +0000 (09:07 +0100)]
* grub-core/kern/misc.c (grub_divmod64): Don't fallback to
simple division on arm and ia64.

10 years ago * grub-core/kern/arm/misc.S (__aeabi_unwind_cpp_pr0): Add dummy to
Vladimir Serbinenko [Fri, 8 Nov 2013 06:35:13 +0000 (07:35 +0100)]
* grub-core/kern/arm/misc.S (__aeabi_unwind_cpp_pr0): Add dummy to
link with libgcc.

10 years ago * include/grub/symbol.h (FUNCTION), (VARIABLE): Fix precedence logic.
Vladimir Serbinenko [Fri, 8 Nov 2013 06:16:15 +0000 (07:16 +0100)]
* include/grub/symbol.h (FUNCTION), (VARIABLE): Fix precedence logic.

10 years ago * include/grub/symbol.h (FUNCTION), (VARIABLE) [__arm__]: Use % as
Vladimir Serbinenko [Fri, 8 Nov 2013 06:08:27 +0000 (07:08 +0100)]
* include/grub/symbol.h (FUNCTION), (VARIABLE) [__arm__]: Use % as
prefix symbol, not @.

10 years ago * INSTALL: Add note about older gcc and clang.
Vladimir Serbinenko [Fri, 8 Nov 2013 05:05:54 +0000 (06:05 +0100)]
* INSTALL: Add note about older gcc and clang.

10 years ago * tests/util/grub-shell.in: Boot as hdd on ppc by default.
Vladimir Serbinenko [Fri, 8 Nov 2013 04:22:36 +0000 (05:22 +0100)]
* tests/util/grub-shell.in: Boot as hdd on ppc by default.

10 years ago * grub-core/loader/multiboot_mbi2.c (grub_multiboot_add_module): Fix
Vladimir Serbinenko [Fri, 8 Nov 2013 03:59:46 +0000 (04:59 +0100)]
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_add_module): Fix
NULL pointer dereference.

10 years ago * grub-core/Makefile.am: Do not include libgcc.h when compiling with
Vladimir Serbinenko [Thu, 7 Nov 2013 18:33:54 +0000 (19:33 +0100)]
* grub-core/Makefile.am: Do not include libgcc.h when compiling with
clang.