Commit graph

  • 3ace8d7584 * docs/osdetect.cfg: New file. BVK Chaitanya 2013-10-26 18:39:03 +02:00
  • 1e6ad6a668 * tests/util/grub-shell.in: Add new --debug option. BVK Chaitanya 2013-10-26 15:01:28 +02:00
  • 188929ebee * tests/test_unset.in: New test. BVK Chaitanya 2013-10-26 14:52:54 +02:00
  • 7994a09a9b * tests/test_sha512sum.in: New test. BVK Chaitanya 2013-10-26 14:35:35 +02:00
  • 2a8a75855c * grub-core/fs/iso9660.c: Replace strncat with memcpy. * include/grub/misc.h: Remove strncat. * grub-core/lib/posix_wrap/string.h: Likewise. Vladimir Serbinenko 2013-10-26 12:49:51 +02:00
  • 6d1fc99ab5 Missing Changelog entry Vladimir Serbinenko 2013-10-26 02:48:55 +02:00
  • 3d695d7b93 * tests/date_unit_test.c: New test. Vladimir Serbinenko 2013-10-26 02:48:19 +02:00
  • 10bafa1c38 * grub-core/normal/datetime.c (grub_unixtime2datetime): Fix mishandling of first three years after start of validity of unixtime. Vladimir Serbinenko 2013-10-26 02:47:40 +02:00
  • 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. Vladimir Serbinenko 2013-10-26 01:01:06 +02:00
  • 5f4028d4a5 * grub-core/normal/menu_entry.c (complete): Make sure that width is >0. Vladimir Serbinenko 2013-10-26 00:07:59 +02:00
  • a28567364a Make char and string width grub_size_t rather than grub_ssize_t. Vladimir Serbinenko 2013-10-25 23:58:24 +02:00
  • 0a7e52b2ed * grub-core/normal/cmdline.c (grub_history_get): Make argument into unsigned. (grub_history_replace): Likewise. Vladimir Serbinenko 2013-10-25 22:58:19 +02:00
  • 428295739e * grub-core/disk/raid6_recover.c: Use unsigned arithmetics when appropriate. Vladimir Serbinenko 2013-10-25 22:51:03 +02:00
  • 3523b8d8a7 * grub-core/video/bitmap_scale.c: Use unsigned arithmetics when appropriate. Vladimir Serbinenko 2013-10-25 21:39:00 +02:00
  • d43c64899d * grub-core/video/fb/fbblit.c: Use (255 ^ x) rather than (255 - x). Use unsigned divisions rather than signed variants. Vladimir Serbinenko 2013-10-25 21:35:44 +02:00
  • f690f8b030 * grub-core/video/readers/png.c (grub_png_convert_image): Use unsigned arithmetics. Add missing break. Vladimir Serbinenko 2013-10-25 20:36:39 +02:00
  • 74ff2c0501 * grub-core/video/readers/jpeg.c: Use unsigned where appropriate. Vladimir Serbinenko 2013-10-25 20:35:02 +02:00
  • fb56391ee3 * grub-core/fs/zfs/zfs.c (xor_out): Use unsigned modular arithmetics rather than signed one. (recovery): Likewise. Vladimir Serbinenko 2013-10-25 20:31:04 +02:00
  • 40f290606d * grub-core/net/dns.c (hash): Use unsigned arithmetic. Vladimir Serbinenko 2013-10-25 20:26:27 +02:00
  • c64577a554 * grub-core/io/gzio.c (test_zlib_header): Use undigned modulo rather than signed. Vladimir Serbinenko 2013-10-25 20:18:30 +02:00
  • edd0179abb Merge branch 'master' of git.sv.gnu.org:/srv/git/grub Vladimir Serbinenko 2013-10-25 19:48:24 +02:00
  • 6673d8e7b6 * grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned. Vladimir Serbinenko 2013-10-25 18:03:36 +02:00
  • a105d3755b * grub-core/commands/gptsync.c (lba_to_chs): Use proper types rather than int. Vladimir Serbinenko 2013-10-25 18:02:40 +02:00
  • c16535a845 Documentation cleanup in response to ML discussion. Jon McCune 2013-10-25 08:31:36 -07:00
  • 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. Vladimir Serbinenko 2013-10-25 16:07:01 +02:00
  • ea899a5760 * grub-core/lib/progress.c (grub_file_progress_hook_real): Cast to unsigned long long when using %llu. Vladimir Serbinenko 2013-10-25 15:22:30 +02:00
  • c6dc6fa175 * grub-core/lib/progress.c (grub_file_progress_hook_real): Refresh terminal after updating progress. Vladimir Serbinenko 2013-10-25 11:57:36 +02:00
  • ad2dc00309 * grub-core/boot/i386/pc/startup_raw.S (grub_gate_a20): Remove argument. We don't disable Gate A20 in this code. Vladimir Serbinenko 2013-10-25 11:03:39 +02:00
  • b46684ae53 * grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled. Conceptually based on change in branch "vbe-on-coreboot". Vladimir Serbinenko 2013-10-25 10:51:58 +02:00
  • 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". Robert Millan 2013-10-24 08:53:04 +02:00
  • bca274b455 * docs/grub.texi: Fix ordering and use pxref rather than xref. Vladimir Serbinenko 2013-10-23 17:54:28 +02:00
  • 238f048987 * grub-core/lib/progress.c (grub_file_progress_hook_real): Use divmod64 for offset division. Vladimir Serbinenko 2013-10-23 17:34:49 +02:00
  • 863c590b1e
    Rename .bzrignore to .gitignore. Add "*.o" rule. Paulo Flabiano Smorigo 2013-10-23 10:01:12 -02:00
  • f2e144ad3e Merge branch 'master' of git.sv.gnu.org:/srv/git/grub Paulo Flabiano Smorigo 2013-10-22 16:45:16 -02:00
  • 84a0e9699f Add progress module to display load progress of files. Paulo Flabiano Smorigo 2013-10-22 16:42:20 -02:00
  • 06a8358ea0
    Import from bzr to git Vladimir Serbinenko 2013-10-22 20:11:54 +02:00
  • 0d711431c7 Verify signatures of signatures unless --skip-sig is specified. Vladimir 'phcoder' Serbinenko 2013-10-22 00:24:19 +02:00
  • f8401f760c * grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit \0 checking. Vladimir 'phcoder' Serbinenko 2013-10-21 14:02:24 +02:00
  • ac1feb61d2 * grub-core/kern/misc.c (grub_strtoull): Remove needless *ptr != 0 check. Vladimir 'phcoder' Serbinenko 2013-10-21 13:40:05 +02:00
  • 00f72e890b * grub-core/kern/misc.c (grub_isprint): Move to ... * include/grub/misc.h (grub_isprint): ... here. Make inline. Vladimir 'phcoder' Serbinenko 2013-10-21 13:25:56 +02:00
  • 067e6ae74d * grub-core/fs/ntfs.c (grub_ntfs_mount): Remove redundant check. Vladimir 'phcoder' Serbinenko 2013-10-21 13:14:38 +02:00
  • 64a6c791e1 * grub-core/fs/ntfs.c: Move common UTF-16 handling to a separate function get_utf8. Vladimir 'phcoder' Serbinenko 2013-10-21 13:04:41 +02:00
  • 979d9f521d * grub-core/fs/ntfs.c: Handle 48-bit MFT no. Vladimir 'phcoder' Serbinenko 2013-10-21 12:58:38 +02:00
  • 1437da5440 * grub-core/fs/ntfs.c (read_run_data): Rewrite using bitfields. Vladimir 'phcoder' Serbinenko 2013-10-21 04:05:23 +02:00
  • 47601ffe73 Add missing Changelog comment Vladimir 'phcoder' Serbinenko 2013-10-21 03:26:05 +02:00
  • d9ee2269c8 * grub-core/fs/ntfs.c (grub_ntfs_iterate_dir): Use grub_uint8_t for mask rather than 64-bit type. Vladimir 'phcoder' Serbinenko 2013-10-21 03:23:57 +02:00
  • 63efa602ff * grub-core/fs/ntfs.c (read_data): Move code for compressed data to ... * grub-core/fs/ntfscomp.c (ntfscomp): ... here. Vladimir 'phcoder' Serbinenko 2013-10-21 02:48:19 +02:00
  • 2cc679adae * grub-core/kern/disk.c (grub_disk_write): Use malloc/free instead of variable length arrays. Vladimir 'phcoder' Serbinenko 2013-10-21 00:10:34 +02:00
  • 2e4659b810 * grub-core/loader/i386/bsd.c: Remove variable length arrays. Vladimir 'phcoder' Serbinenko 2013-10-20 23:45:43 +02:00
  • 2a40badf82 * grub-core/fs/ufs.c: Remove variable length arrays. Vladimir 'phcoder' Serbinenko 2013-10-20 23:07:50 +02:00
  • 1ba6b9b96f * grub-core/fs/ntfs.c: Add comment about fixed allocation size. Vladimir 'phcoder' Serbinenko 2013-10-20 18:48:06 +02:00
  • f3e393411b * grub-core/fs/zfs.c: Remove variable length arrays. Reduces zfs.mod by 160 bytes (208 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 18:42:40 +02:00
  • 7152393503 * grub-core/fs/zfs/zfs.c (check_pool_label): Fix memory leak. Vladimir 'phcoder' Serbinenko 2013-10-20 17:57:28 +02:00
  • 28153eb87a * grub-core/net/arp.c: Remove variable length arrays. * grub-core/net/bootp.c: Likewise. * grub-core/net/dns.c: Likewise. * grub-core/net/icmp6.c: Likewise. * grub-core/net/net.c: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-20 17:40:21 +02:00
  • 88ce4cd7f6 * grub-core/fs/ntfs.c: Remove variable length arrays. Increases ntfs.mod by 64 bytes (but decreases by 3 when compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 17:35:17 +02:00
  • 66123940c7 * grub-core/fs/hfs.c: Remove variable length arrays. Reduces hfs.mod by 8 bytes (52 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 17:24:19 +02:00
  • 0927e5bdc8 * grub-core/fs/udf.c: Remove variable length arrays. Increases udf.mod by 128 bytes (but decreases by 13 compressed when compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 16:33:12 +02:00
  • 9c12ac9773 * grub-core/fs/iso9660.c: Remove variable length arrays. Increases iso9660.mod by 200 bytes (but decreases by 79 compressed when compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 16:21:02 +02:00
  • 97ec2d71d0 * grub-core/fs/nilfs2.c: Remove variable length arrays. Increases xfs.mod by 24 bytes (but decreases by 115 compressed when compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 16:17:41 +02:00
  • 156e4ea071 * grub-core/fs/xfs.c: Remove variable length arrays. Reduces xfs.mod by 40 bytes (43 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 15:52:27 +02:00
  • 3b502c29a1 * grub-core/fs/fshelp.c: Remove variable length arrays. Reduces fshelp.mod by 116 bytes (23 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 15:38:37 +02:00
  • c7037f1d0f * grub-core/normal/completion.c: Remove variable length arrays. * grub-core/normal/menu_entry.c: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-20 13:55:35 +02:00
  • a07e6ad010 * grub-core/fs/minix.c: Remove variable length arrays. Reduces jfs.mod by 356 bytes (158 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 13:26:37 +02:00
  • 2359bf887c * grub-core/fs/jfs.c: Remove variable length arrays. Reduces jfs.mod by 364 bytes (169 compressed). Vladimir 'phcoder' Serbinenko 2013-10-20 13:20:12 +02:00
  • d28e1163c3 * grub-core/fs/bfs.c: Remove variable length arrays. Reduces afs.mod and bfs.mod size by 556 resp 740 bytes (288 resp 334 compressed). * include/grub/types.h (grub_unaligned_uint64_t): New type. Vladimir 'phcoder' Serbinenko 2013-10-20 13:11:40 +02:00
  • e89c2d48a9 Lift 255x255 erminal sie restriction to 65535x65535. Also change from bitmasks to small structures of size chosen to fit in registers. Vladimir 'phcoder' Serbinenko 2013-10-19 23:59:32 +02:00
  • 7abdac8e13 * conf/Makefile.common: Use -freg-struct-return on i386. This decreases code size and improves performance. Vladimir 'phcoder' Serbinenko 2013-10-19 23:56:59 +02:00
  • 518864c05b * grub-core/osdep/unix/exec.c: Fix compilation error on emu. Vladimir 'phcoder' Serbinenko 2013-10-19 23:53:48 +02:00
  • bbd2b5396b * grub-core/kern/misc.c (grub_vsnprintf_real): Fix formatting of "(null)" string. Simplify expressions to save around 256 bytes in kernel.img. * tests/printf_unit_test.c (printf_test): Add "(null)" tests. Vladimir 'phcoder' Serbinenko 2013-10-19 23:52:09 +02:00
  • 99519c154c * grub-core/tests/video_checksum.c (grub_video_capture_write_bmp): Use GRUB_UTIL_FD_O_* rather than O_*. Vladimir 'phcoder' Serbinenko 2013-10-19 23:48:24 +02:00
  • 2028576504 Add haiku-specific functions. Vladimir 'phcoder' Serbinenko 2013-10-19 16:39:38 +02:00
  • 887c0bb61a * grub-core/kern/emu/hostdisk.c: Remove few leftover includes. Vladimir 'phcoder' Serbinenko 2013-10-19 16:32:28 +02:00
  • cd78a56fb2 Move stat () and device mode checking into OS-dependent files as long as performance doesn't suffer. Vladimir 'phcoder' Serbinenko 2013-10-19 16:29:20 +02:00
  • a4012f0764 Split make_system_path_relative_to_its_root into separate file relpath.c from getroot.c as it's common between unix and haiku but otherwise haiku doesn't use any functions from unix getroot.c. Vladimir 'phcoder' Serbinenko 2013-10-19 16:21:08 +02:00
  • 31de274d29 * grub-core/osdep/aros/hostdisk.c (grub_util_is_directory): New function. (grub_util_is_special_file): Likewise. Vladimir 'phcoder' Serbinenko 2013-10-19 16:14:30 +02:00
  • 40346de6d3 * grub-core/osdep/unix/getroot.c: Move exec functions to ... * osdep/unix/exec.c: ... here. Add few additional exec_* variants. Vladimir 'phcoder' Serbinenko 2013-10-19 02:56:40 +02:00
  • d3923ab956 * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Define size_t to grub_size_t. This fixes the case when size_t mismatches grub_size_t. Vladimir 'phcoder' Serbinenko 2013-10-19 02:42:40 +02:00
  • 663f6eb195 * util/grub-mkimagexx.c (make_reloc_section): Fix memory leak. (load_image): Likewise. Vladimir 'phcoder' Serbinenko 2013-10-19 02:39:06 +02:00
  • 6f65237374 * util/grub-render-label.c: Move backend part to ... * util/render-label.c: ... here. Vladimir 'phcoder' Serbinenko 2013-10-19 02:37:01 +02:00
  • 44d1c20a13 * util/grub-render-label.c: Move backend part to ... * util/render-label.c: ... here. Vladimir 'phcoder' Serbinenko 2013-10-19 02:34:18 +02:00
  • d0a116ee5a * grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses yarrow (by B. Schneier et al) for its /dev/urandom (similar to FreeBSD). Vladimir 'phcoder' Serbinenko 2013-10-19 02:30:05 +02:00
  • b47fcae6cb * grub-core/osdep/generic/blocklist.c: Add missing include to string.h. Vladimir 'phcoder' Serbinenko 2013-10-19 02:24:40 +02:00
  • 0f7c00c1c6 * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Handle CD-ROM in case when it's declared as having subpartitions. Vladimir 'phcoder' Serbinenko 2013-10-19 02:23:08 +02:00
  • 29013cba15 Don't add -lm on haiku. Vladimir 'phcoder' Serbinenko 2013-10-19 02:20:21 +02:00
  • e8559d2434 * configure.ac: Use -melf_*_haiku as target on haiku. Vladimir 'phcoder' Serbinenko 2013-10-19 02:15:35 +02:00
  • 8104063ce4 * Makefile.util.def: Add util/setup.c to extra_dist. Vladimir 'phcoder' Serbinenko 2013-10-19 02:12:06 +02:00
  • fc3182c799 * grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass unknown types through. Vladimir 'phcoder' Serbinenko 2013-10-19 01:01:36 +02:00
  • f90a3cc0a8 * grub-core/osdep/unix/getroot.c (grub_util_check_block_device): Remove. (grub_util_check_char_device): Likewise. * include/grub/emu/getroot.h: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-19 00:51:08 +02:00
  • 1e3e741940 * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining memset rather than inline static function. Vladimir 'phcoder' Serbinenko 2013-10-18 17:18:15 +02:00
  • 92c88fc896 * grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when not doing embedded decompressor. Vladimir 'phcoder' Serbinenko 2013-10-18 17:13:38 +02:00
  • 3cd910a212 * grub-core/disk/ldm.c: Rename variables and arguments to prevent shadowing. * grub-core/kern/disk.c: Likewise. * grub-core/kern/misc.c: Likewise. * include/grub/parser.h: Likewise. * include/grub/script_sh.h: Likewise. * include/grub/zfs/zfs.h: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-18 16:54:57 +02:00
  • 7b3aca00fa * grub-core/disk/luks.c (configure_ciphers): Fix spurious warning. Vladimir 'phcoder' Serbinenko 2013-10-18 16:51:08 +02:00
  • 97dfe7e46b * grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is defined before trying to use it. Vladimir 'phcoder' Serbinenko 2013-10-18 16:49:17 +02:00
  • bf919aa977 * grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value warning. Vladimir 'phcoder' Serbinenko 2013-10-18 16:47:30 +02:00
  • f4ccf29dd5 * include/grub/dl.h: Remove double declaration of GRUB_MOD_DEP. Use __unused__ rather than __used__ on gcc < 3.2. Vladimir 'phcoder' Serbinenko 2013-10-18 16:41:50 +02:00
  • 0d3a6f8540 * include/grub/setjmp.h: Define RETURNS_TWICE. Keep it empty for gcc < 4.0. * include/grub/*/setjmp.h: USe RETURNS_TWICE. Vladimir 'phcoder' Serbinenko 2013-10-18 16:38:36 +02:00
  • 757e3eb7c3 * grub-core/disk/dmraid_nvidia.c: Fix potentially uninited "layout". Vladimir 'phcoder' Serbinenko 2013-10-18 16:36:09 +02:00
  • fb320faf88 * include/grub/misc.h: Don't use warn_unused_result on gcc < 3.4. * include/grub/emu/misc.h: Likewise. Vladimir 'phcoder' Serbinenko 2013-10-18 16:34:18 +02:00
  • ea73acd2ce * grub-core/term/i386/pc/vga_text.c: Remove extra declaration of cur_color. Vladimir 'phcoder' Serbinenko 2013-10-18 16:30:30 +02:00
  • 71237a6f0f * grub-core/tests/checksums.h: Regenerated due to progress bar get_minimal_size changes. Vladimir Testov 2013-10-18 16:11:48 +04:00