Vladimir Serbinenko
442b86de32
Move grub_disk_write out of kernel into disk.mod.
2013-10-27 15:44:55 +01:00
Vladimir Serbinenko
04dea7e6c2
* grub-core/kern/misc.c (grub_vsnprintf_real): Unify int and wchar
...
handling.
2013-10-27 14:47:04 +01:00
Vladimir Serbinenko
a8f15bceea
* grub-core/kern/misc.c (grub_abort): Make static
2013-10-27 14:13:39 +01:00
Vladimir Serbinenko
a60dae7e4e
* grub-core/kern/misc.c (grub_vsnprintf_real): Don't attempt to
...
transform invalid unicode codepoints.
2013-10-27 13:34:46 +01:00
Vladimir Serbinenko
891b713be3
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
...
\0 checking.
2013-10-27 13:20:50 +01:00
Vladimir Serbinenko
cf880639f6
Revert " * util/grub-mkstandalone.in: Remove needless copying since we already"
...
The copying in question was needed.
This reverts commit 8154884dd4
.
2013-10-27 12:22:52 +01:00
Vladimir Serbinenko
03dcac7f76
* grub-core/lib/legacy_parse.c: Add support for "nd" disk.
2013-10-27 02:50:31 +02:00
Vladimir Serbinenko
c81acb7ff3
Consolidate cpuid code.
2013-10-27 00:02:01 +02:00
Vladimir Serbinenko
c1bee64676
Move cpuid code to cpuid.h and TSC code to tsc.c.
2013-10-26 23:39:10 +02:00
Grégoire Sutre
f37bf9c778
* util/grub.d/00_header.in: Don't use LANG if it's not set.
2013-10-26 20:11:55 +02:00
Grégoire Sutre
4021132be2
Missing Changelog entry
2013-10-26 20:06:24 +02:00
Grégoire Sutre
67811a6fd4
* util/grub-mkconfig.in: Replace $0 with $self.
...
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
2013-10-26 20:05:29 +02:00
BVK Chaitanya
3ace8d7584
* docs/osdetect.cfg: New file.
2013-10-26 18:39:03 +02:00
BVK Chaitanya
1e6ad6a668
* tests/util/grub-shell.in: Add new --debug option.
2013-10-26 15:01:28 +02:00
BVK Chaitanya
188929ebee
* tests/test_unset.in: New test.
2013-10-26 14:52:54 +02:00
BVK Chaitanya
7994a09a9b
* tests/test_sha512sum.in: New test.
2013-10-26 14:35:35 +02:00
Vladimir Serbinenko
2a8a75855c
* grub-core/fs/iso9660.c: Replace strncat with memcpy.
...
* include/grub/misc.h: Remove strncat.
* grub-core/lib/posix_wrap/string.h: Likewise.
2013-10-26 12:49:51 +02:00
Vladimir Serbinenko
6d1fc99ab5
Missing Changelog entry
2013-10-26 02:48:55 +02:00
Vladimir Serbinenko
3d695d7b93
* tests/date_unit_test.c: New test.
2013-10-26 02:48:19 +02:00
Vladimir Serbinenko
10bafa1c38
* grub-core/normal/datetime.c (grub_unixtime2datetime): Fix mishandling
...
of first three years after start of validity of unixtime.
2013-10-26 02:47:40 +02:00
Vladimir Serbinenko
b1c6d03760
* grub-core/normal/menu_entry.c (get_logical_num_lines): Use unsigned
...
division as the one making more sense.
(update_screen): Likewise.
(complete): Likewise.
2013-10-26 01:01:06 +02:00
Vladimir Serbinenko
5f4028d4a5
* grub-core/normal/menu_entry.c (complete): Make sure that width is >0.
2013-10-26 00:07:59 +02:00
Vladimir Serbinenko
a28567364a
Make char and string width grub_size_t rather than grub_ssize_t.
2013-10-25 23:58:24 +02:00
Vladimir Serbinenko
0a7e52b2ed
* grub-core/normal/cmdline.c (grub_history_get): Make argument into
...
unsigned.
(grub_history_replace): Likewise.
2013-10-25 22:58:19 +02:00
Vladimir Serbinenko
428295739e
* grub-core/disk/raid6_recover.c: Use unsigned arithmetics when
...
appropriate.
2013-10-25 22:51:03 +02:00
Vladimir Serbinenko
3523b8d8a7
* grub-core/video/bitmap_scale.c: Use unsigned arithmetics when
...
appropriate.
2013-10-25 21:39:00 +02:00
Vladimir Serbinenko
d43c64899d
* grub-core/video/fb/fbblit.c: Use (255 ^ x) rather than (255 - x).
...
Use unsigned divisions rather than signed variants.
2013-10-25 21:35:44 +02:00
Vladimir Serbinenko
f690f8b030
* grub-core/video/readers/png.c (grub_png_convert_image): Use
...
unsigned arithmetics.
Add missing break.
2013-10-25 20:36:39 +02:00
Vladimir Serbinenko
74ff2c0501
* grub-core/video/readers/jpeg.c: Use unsigned where appropriate.
2013-10-25 20:35:02 +02:00
Vladimir Serbinenko
fb56391ee3
* grub-core/fs/zfs/zfs.c (xor_out): Use unsigned modular arithmetics
...
rather than signed one.
(recovery): Likewise.
2013-10-25 20:31:04 +02:00
Vladimir Serbinenko
40f290606d
* grub-core/net/dns.c (hash): Use unsigned arithmetic.
2013-10-25 20:26:27 +02:00
Vladimir Serbinenko
c64577a554
* grub-core/io/gzio.c (test_zlib_header): Use undigned modulo rather
...
than signed.
2013-10-25 20:18:30 +02:00
Vladimir Serbinenko
edd0179abb
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
2013-10-25 19:48:24 +02:00
Vladimir Serbinenko
6673d8e7b6
* grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned.
2013-10-25 18:03:36 +02:00
Vladimir Serbinenko
a105d3755b
* grub-core/commands/gptsync.c (lba_to_chs): Use proper types rather
...
than int.
2013-10-25 18:02:40 +02:00
Jon McCune
c16535a845
Documentation cleanup in response to ML discussion.
...
[v0] Accepted with modifications by phcoder@
[v1] Introduce subsections within Security
[v1] Correct errors regarding public key files not being automatically signature-checked in trust and verify_detached
[v1] Replace check_signatures=enforce with check_signatures set to enforce
[v1] Move detailed discussion of using signatures out of check_signatures environment variable description
[v1] Use long form for option flags to security-relevant commands
[v2] Explain the key fingerprint format for distrust and list_trusted.
[v2] Eliminates references to grub-mkimage and UEFI Secure Boot.
[v3] Updates in response to addition of --skip-sig to trust and verify_detached
[ ] Restore @xref for cross-references at the start of sentences
2013-10-25 08:52:36 -07:00
Vladimir Serbinenko
af81ed880d
* conf/Makefile.common (CPPFLAGS_KERNEL): Add -DGRUB_KERNEL=1.
...
* include/grub/dl.h (GRUB_MOD_INIT), (GRUB_MOD_FINI): Define
functions when compiling for kernel.
2013-10-25 16:07:01 +02:00
Vladimir Serbinenko
ea899a5760
* grub-core/lib/progress.c (grub_file_progress_hook_real): Cast to
...
unsigned long long when using %llu.
2013-10-25 15:22:30 +02:00
Vladimir Serbinenko
c6dc6fa175
* grub-core/lib/progress.c (grub_file_progress_hook_real): Refresh
...
terminal after updating progress.
2013-10-25 11:57:36 +02:00
Vladimir Serbinenko
ad2dc00309
* grub-core/boot/i386/pc/startup_raw.S (grub_gate_a20): Remove
...
argument. We don't disable Gate A20 in this code.
2013-10-25 11:03:39 +02:00
Vladimir Serbinenko
b46684ae53
* grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled.
...
Conceptually based on change in branch "vbe-on-coreboot".
2013-10-25 10:51:58 +02:00
Robert Millan
f70d5c0701
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Replace
...
numeric constants with their symbolic equivalent.
Taken from branch "vbe-on-coreboot".
2013-10-24 08:53:04 +02:00
Vladimir Serbinenko
bca274b455
* docs/grub.texi: Fix ordering and use pxref rather than xref.
2013-10-23 17:54:28 +02:00
Vladimir Serbinenko
238f048987
* grub-core/lib/progress.c (grub_file_progress_hook_real): Use
...
divmod64 for offset division.
2013-10-23 17:34:49 +02:00
Paulo Flabiano Smorigo
863c590b1e
Rename .bzrignore to .gitignore. Add "*.o" rule.
...
* .bzrignore: Renamed to...
* .gitignore: ...this.
2013-10-23 10:25:46 -02:00
Paulo Flabiano Smorigo
f2e144ad3e
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
2013-10-22 16:45:16 -02:00
Paulo Flabiano Smorigo
84a0e9699f
Add progress module to display load progress of files.
...
* grub-core/lib/progress.c: New file.
* grub-core/Makefile.core.def (progress): New module.
* grub-core/kern/file.c (grub_file_open): File name added.
* (grub_file_read): Progress hook added.
* grub-core/fs/cbfs.c (grub_cbfs_read): Likewise.
* grub-core/fs/cpio_common.c (grub_cpio_read): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* include/grub/file.h (struct grub_file): Add progress module
* members.
* include/grub/term.h (struct grub_term_output): Likewise.
* grub-core/osdep/unix/emuconsole.c (grub_console_term_output):
Terminal velocity added.
* grub-core/osdep/windows/emuconsole.c (grub_console_term_output):
* Likewise.
* grub-core/term/arc/console.c (grub_console_term_output): Likewise.
* grub-core/term/efi/console.c (grub_console_term_output): Likewise.
* grub-core/term/gfxterm.c (grub_video_term): Likewise.
* grub-core/term/i386/coreboot/cbmemc.c (grub_cbmemc_term_output):
* Likewise.
* grub-core/term/i386/pc/console.c (grub_console_term_output):
* Likewise.
* grub-core/term/i386/pc/vga_text.c (grub_vga_text_term): Likewise.
* grub-core/term/ieee1275/console.c (grub_console_term_output):
* Likewise.
* grub-core/term/morse.c (grub_audio_term_output): Likewise.
* grub-core/term/serial.c (grub_serial_term_output): Likewise.
* grub-core/term/spkmodem.c (grub_spkmodem_term_output): Likewise.
* grub-core/term/uboot/console.c (uboot_console_term_output):
* Likewise.
2013-10-22 16:42:20 -02:00
Vladimir Serbinenko
06a8358ea0
Import from bzr to git
2013-10-22 20:11:54 +02:00
Vladimir 'phcoder' Serbinenko
0d711431c7
Verify signatures of signatures unless --skip-sig is specified.
2013-10-22 00:24:19 +02:00
Vladimir 'phcoder' Serbinenko
f8401f760c
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
...
\0 checking.
Saves 70 bytes on compressed image.
2013-10-21 14:02:24 +02:00