Commit graph

  • 4ed3c26b0d * include/grub/powerpc/ieee1275/util/biosdisk.h: Remove. * include/grub/powerpc/ieee1275/biosdisk.h: Likewise. Vladimir 'phcoder' Serbinenko 2012-01-29 16:20:41 +01:00
  • df71143ea1 * grub-core/fs/cpio.c (handle_symlink): Fix a bug. Vladimir 'phcoder' Serbinenko 2012-01-29 15:36:06 +01:00
  • 076e7c0fda Merge common RAID and LVM logic to an abstract diskfilter. Add LDM support using the same framework. Vladimir 'phcoder' Serbinenko 2012-01-29 14:28:01 +01:00
  • 8a7f9b9c50 Simplify root device discover and don't fail when trying to open incorrect devices. Vladimir 'phcoder' Serbinenko 2012-01-28 13:26:20 +01:00
  • 30545b8567 * grub-core/Makefile.core.def (setpci): Enable on all PCI platforms. Vladimir 'phcoder' Serbinenko 2012-01-27 13:52:48 +01:00
  • 28ea58cf69 * grub-core/fs/zfs/zfs.c (nvlist_find_value): Check that we don't go pastthe end. Vladimir 'phcoder' Serbinenko 2012-01-27 13:50:21 +01:00
  • 692dabca8c * util/grub-install.in: Add missing \. Reported by: gentoofan Vladimir 'phcoder' Serbinenko 2012-01-27 13:12:00 +01:00
  • f6e4ea709f * grub-core/fs/squash4.c (xz_decompress): Fix return value. (direct_read): Use correct compressed size. (grub_squash_read_data): Likewise. Vladimir 'phcoder' Serbinenko 2012-01-27 13:09:57 +01:00
  • ca1dacea3c * docs/grub.texi (Platform limitations): New section. (Platform-specific operations): Likewise. * docs/grub-dev.texi (Porting): Likewise. Vladimir 'phcoder' Serbinenko 2012-01-26 19:40:47 +01:00
  • 7626111087 IEEE1275 disk write support. Vladimir 'phcoder' Serbinenko 2012-01-25 18:32:08 +01:00
  • fc36d6038b ARC disk write support. Vladimir 'phcoder' Serbinenko 2012-01-25 16:13:34 +01:00
  • e06c2e7abc * grub-core/fs/btrfs.c (grub_btrfs_device): New field size. (read_sblock): Don't attempt to read superblocks outside the disk size. Vladimir 'phcoder' Serbinenko 2012-01-25 15:10:56 +01:00
  • ff4479581d * grub-core/fs/nilfs2.c (grub_nilfs2_load_sb): Use device size from first superblock to find the second one when possible. Vladimir 'phcoder' Serbinenko 2012-01-25 15:09:00 +01:00
  • 9e88df393a * util/grub-install.in: Fix an ARC bug. Print a warning if no platform-specific setup is available. Vladimir 'phcoder' Serbinenko 2012-01-25 15:06:27 +01:00
  • bb26e4ff16 Use static allocation rather than scratch pointer in reed_solomon. It decreases its size significantly and avoids a variable in .text. Vladimir 'phcoder' Serbinenko 2012-01-24 14:49:31 +01:00
  • 2e13ede59e Eliminate fixed limit on reed solomon decoder length. Vladimir 'phcoder' Serbinenko 2012-01-24 14:39:29 +01:00
  • f8a9ab1245 * grub-core/commands/wildcard.c (match_files): Handle filenames without explicit device. (wildcard_expand): Don't add explicit device if not already present. * tests/grub_script_echo1.in: Add a new expansion test. Vladimir 'phcoder' Serbinenko 2012-01-24 13:34:36 +01:00
  • 87edb8940a Replace single-linked with double-linked lists. It results in more compact and more efficient code. Vladimir 'phcoder' Serbinenko 2012-01-24 13:31:12 +01:00
  • 48b391e9ab Handle newer autotools. Add some missing quotes while on it. Vladimir 'phcoder' Serbinenko 2012-01-24 13:17:36 +01:00
  • e555f379be * grub-core/net/drivers/i386/pc/pxe.c (grub_pxe_recv): Relax checks as a workaround for intel problem. Seth Goldberg 2012-01-24 03:01:46 +01:00
  • 668327923f * util/grub-install.in: Support dd'in into PreP partition. * util/grub-probe.c (probe): Support discovering partition type. (main): Support -t msdos_parttype. Paulo de Rezende Pinatti 2012-01-23 19:33:40 +01:00
  • 7816a17ed1 * grub-core/normal/crypto.c (grub_crypto_autoload): Prevent infinite recursion using counter. * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_init): Defer s->crc32 init to skip it if the magic check fails. (dec_stream_header): Init s->crc32. Vladimir 'phcoder' Serbinenko 2012-01-23 03:39:37 +01:00
  • 8f9d3a8c36 * grub-core/fs/zfs/zfs.c (uberblock_verify): New parameter size. All users updated. (find_bestub): Determine correct size. (fill_vdev_info_real): Fill ashift. New argument. All users updated. (scan_disk): Align the size down. Call check pool before find_bestub to have ashift. Note: real text was accidently commited 2 commits ago. Zachary Bedell 2012-01-23 03:37:06 +01:00
  • b055dd326a * grub-core/lib/relocator.c (malloc_in_range): Remove couple of dprintf in no-malloc zone. Vladimir 'phcoder' Serbinenko 2012-01-23 03:31:17 +01:00
  • d779e9bdac * configure.ac: Add back in test for limits.h. Mario Limonciello 2012-01-22 16:43:14 +01:00
  • b508af6989 Support 4K-sector NTFS. Vladimir 'phcoder' Serbinenko 2012-01-20 15:01:35 +01:00
  • dad9c8b59e * grub-core/kern/mips/arc/init.c (grub_total_modules_size): Mark as being in .text to avoid dprel references. * include/grub/mips/loongson/kernel.h (grub_arch_machine): Likewise. * include/grub/mips/loongson/memory.h (grub_arch_memsize): Likewise. (grub_arch_highmemsize): Likewise. * include/grub/mips/loongson/time.h (grub_arch_busclock): Likewise. * include/grub/mips/qemu_mips/memory.h (grub_arch_memsize): Likewise. * include/grub/mips/time.h (grub_arch_cpuclock): Likewise. Vladimir 'phcoder' Serbinenko 2012-01-20 14:48:26 +01:00
  • d43a777e45 Support powerpc with GCC that defines __PPC__ but not __powerpc__. Vladimir 'phcoder' Serbinenko 2012-01-18 14:04:52 +01:00
  • 34e4208ffe * include/grub/datetime.h (grub_get_datetime_cmos): Don't define in GRUB_UTIL. (grub_set_datetime_cmos): Likewise. Vladimir 'phcoder' Serbinenko 2012-01-18 14:01:11 +01:00
  • 3ec0fc1c3b Make XZ compression parameters dependent on target and not host CPU. Vladimir 'phcoder' Serbinenko 2012-01-18 13:59:03 +01:00
  • 22489834b3 * grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove set but not used variable. Vladimir 'phcoder' Serbinenko 2012-01-18 13:54:59 +01:00
  • 8502fbca04 * grub-core/fs/reiserfs.c (grub_reiserfs_uuid): Reject 0-uuid as created when no uuid support is compiled into mkfs.reiser. Vladimir 'phcoder' Serbinenko 2012-01-14 23:36:21 +01:00
  • 76df2068c4 * grub-core/fs/hfs.c (macroman_to_utf8): Convert / to :. (utf8_to_macroman): Do the opposite. * grub-core/fs/hfsplus.c (grub_hfsplus_iterate_dir): Convert / to :. Vladimir 'phcoder' Serbinenko 2012-01-14 23:34:33 +01:00
  • 64e3f8f6fe * configure.ac: Refise build qemu_mips w/o unifont. Vladimir 'phcoder' Serbinenko 2012-01-14 23:32:18 +01:00
  • 9c2710789f Eliminate grub_min/grub_max prone to overflow usage. Vladimir 'phcoder' Serbinenko 2012-01-14 15:44:34 +01:00
  • 80662dbc5d * grub-core/fs/ext2.c (grub_ext2_iterate_dir): Ignore entries with direct.inode = 0. Vladimir 'phcoder' Serbinenko 2012-01-14 11:55:20 +01:00
  • e6da146746 * grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define. Vladimir 'phcoder' Serbinenko 2012-01-14 11:53:29 +01:00
  • b1ac4cb1f9 * include/grub/datetime.h (grub_datetime2unixtime): Fix offset. Vladimir 'phcoder' Serbinenko 2012-01-14 11:51:52 +01:00
  • b4bf7c3b20 * grub-core/lib/posix_wrap/stdlib.h (MB_CUR_MAX): Moved from here ... * grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed. Vladimir 'phcoder' Serbinenko 2012-01-14 11:48:56 +01:00
  • 8ee1101a97 * grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp rather than a hack for grub_strncasemap. Vladimir 'phcoder' Serbinenko 2012-01-14 11:46:13 +01:00
  • 280d9d3e3e * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Skip disks with unknown size. * grub-core/disk/raid.c (scan_devices): Allow disks with unknown sizes. Vladimir 'phcoder' Serbinenko 2012-01-14 11:42:52 +01:00
  • 4d1e2bc9e3 * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Skip disks with unknown size. * grub-core/disk/raid.c (scan_devices): Allow disks with unknown sizes. Vladimir 'phcoder' Serbinenko 2012-01-14 11:37:34 +01:00
  • 75b49ebed9 Remove defines pertaining to arbitrary limits not affecting GRUB anymore. Vladimir 'phcoder' Serbinenko 2012-01-14 11:30:43 +01:00
  • 74a1dce71d * grub-core/fs/zfs/zfs.c (grub_zfs_read): Remove useless alloc and handle NULL appropriately. Remove MIN. Vladimir 'phcoder' Serbinenko 2012-01-14 11:23:51 +01:00
  • 30c7d3ce34 Fix efiemu. Vladimir 'phcoder' Serbinenko 2012-01-13 15:12:28 +01:00
  • 3c76ea0c2c * util/grub.d/30_os-prober.in: Fix occurence of grub-probe instead of grub_probe. Reported by: adamwill Vladimir 'phcoder' Serbinenko 2012-01-13 13:54:24 +01:00
  • 7e532280bd * grub-core/lib/arg.c (grub_arg_parse): Fix NULL pointer dereference. Seth Goldberg 2012-01-12 22:20:29 +01:00
  • 3049237440 Fix handling of wide characters in gfxterm. Vladimir 'phcoder' Serbinenko 2012-01-12 22:16:07 +01:00
  • e70cb72f73 * grub-core/normal/charset.c: Move comment to right place. Vladimir 'phcoder' Serbinenko 2012-01-12 22:13:20 +01:00
  • 5c827cf971 * grub-core/fs/affs.c (grub_affs_bblock): Revert flags. (GRUB_AFFS_FLAG_FFS): Put back where it was. (grub_affs_mount): Revert the correct version checking. Vladimir 'phcoder' Serbinenko 2012-01-11 12:53:38 +01:00
  • 53603892df * docs/grub.texi (Unicode): Mention several other unsupported features. Vladimir 'phcoder' Serbinenko 2012-01-11 12:50:04 +01:00
  • ff094b9b57 * grub-core/fs/squash4.c (squash_mount): Mark endian conversion in case statements as compile-time one. (direct_read): Prevent spurious warnings. (grub_squash_read_data): Likewise. Vladimir 'phcoder' Serbinenko 2012-01-11 12:46:50 +01:00
  • c029da8a89 Various squash4 fixes and LZO and XZ support. Vladimir 'phcoder' Serbinenko 2011-12-26 13:18:01 +01:00
  • 7a45a539db Don't override more informative errors. Vladimir 'phcoder' Serbinenko 2011-12-26 12:58:08 +01:00
  • b2d004db18 * grub-core/fs/minix.c (grub_minix_mount) [MODE_MINIX3]: Treat 0xffff as 1024 in block size field. Found on one of my test images. Small optimisation while on it. Vladimir 'phcoder' Serbinenko 2011-12-25 22:44:42 +01:00
  • ec000eaca9 * docs/grub.texi (Filesystems): Mention SFS as Latin1 filesystem. * grub-core/fs/sfs.c (grub_sfs_mount): Fix a memory leak while on it. (grub_sfs_iterate_dir): Convert Latin1 to UTF8. Stylistic and performance fixes while on it. (grub_sfs_close): Fix memory leak while on it. (grub_sfs_label): Convert Latin1 to UTF-8. Vladimir 'phcoder' Serbinenko 2011-12-25 22:39:56 +01:00
  • f50e11653e * grub-core/fs/hfs.c (grub_hfs_dir): Cap keylen to actually available space to avoid overflows. (grub_hfs_label): Convert from macroman to UTF-8. Vladimir 'phcoder' Serbinenko 2011-12-25 22:23:05 +01:00
  • 2ae254de13 * grub-core/fs/affs.c (grub_affs_label): Interpret label as latin1. Vladimir 'phcoder' Serbinenko 2011-12-25 22:07:15 +01:00
  • 0108f49101 * grub-core/normal/menu.c (menu_init): Don't stop menu init at gfxterm. Vladimir 'phcoder' Serbinenko 2011-12-25 17:41:55 +01:00
  • f45f5f89ff * unicode: Import Unicode 6.0 data. Vladimir 'phcoder' Serbinenko 2011-12-25 16:17:25 +01:00
  • 63fa8ef94e * grub-core/term/gfxterm.c (grub_gfxterm_putchar): Don't set values outside of range. Vladimir 'phcoder' Serbinenko 2011-12-25 16:15:01 +01:00
  • 4d8c476536 Avoid cutting in the middle of UTF-8 string. Vladimir 'phcoder' Serbinenko 2011-12-25 16:11:41 +01:00
  • f3cb4a4e57 * grub-core/normal/charset.c (grub_ucs4_to_utf8): Small stylistic fix. (grub_bidi_line_logical_to_visual): Skip tags. They are deprecated. * include/grub/unicode.h (GRUB_UNICODE_TAG_START): New enum value. (GRUB_UNICODE_TAG_END): Likewise. (GRUB_UNICODE_LAST_VALID): Likewise. Vladimir 'phcoder' Serbinenko 2011-12-25 16:07:33 +01:00
  • 5da8dbc5bc * include/grub/unicode.h (grub_unicode_compact_range): Replace end with len and make it smaller. All users updated. * util/import_unicode.py: Put length and not end character. Check length. Vladimir 'phcoder' Serbinenko 2011-12-25 16:03:42 +01:00
  • 8569f13d8d Make better Unicode-compliant and unify some UTF-8 code pathes. Vladimir 'phcoder' Serbinenko 2011-12-25 15:57:50 +01:00
  • cc4fddf5f5 * grub-core/io/bufio.c (grub_bufio_read): Fix handling of corner cases. Vladimir 'phcoder' Serbinenko 2011-12-25 15:43:15 +01:00
  • bbc47747ad * docs/grub.texi (Filesystems): Mention AFS. Vladimir 'phcoder' Serbinenko 2011-12-25 15:40:43 +01:00
  • f63d6bf4a1 * docs/grub.texi (Filesystems): Clarify restrictions. (Regexp): Mention non-Unicode regexp behaviour. (Other): Mention non-Unicode matching behaviour. Vladimir 'phcoder' Serbinenko 2011-12-25 14:46:44 +01:00
  • 74bbf0dbae Make HFS implementation use MacRoman. Vladimir 'phcoder' Serbinenko 2011-12-24 20:20:41 +01:00
  • 4ea0316e67 * docs/grub.texi (Filesystems): Add IEEE1275 full-path example. Vladimir 'phcoder' Serbinenko 2011-12-24 15:38:53 +01:00
  • d3c13cbd62 Integrate hints into autogeneration scripts. Vladimir 'phcoder' Serbinenko 2011-12-24 15:09:26 +01:00
  • a141ef409f Put recheck back Vladimir 'phcoder' Serbinenko 2011-12-24 13:37:28 +01:00
  • 00ce2df3d4 * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): Restructure to avoid warning. Vladimir 'phcoder' Serbinenko 2011-12-24 13:12:01 +01:00
  • 93d0a00116 Fix IEEE1275 bugs in grub-probe Vladimir 'phcoder' Serbinenko 2011-12-24 02:54:28 +01:00
  • 2b5c1a0810 merge mainline into hints Vladimir 'phcoder' Serbinenko 2011-12-24 02:52:43 +01:00
  • e77e325f6f * util/grub-install.in: Account for possible escaped comma in device name. Vladimir 'phcoder' Serbinenko 2011-12-24 02:50:30 +01:00
  • 165099ea42 * util/ieee1275/ofpath.c (of_path_of_ide): Fix address for secondary channel. Vladimir 'phcoder' Serbinenko 2011-12-24 02:46:47 +01:00
  • ce4a999d4d * grub-core/kern/ieee1275/openfw.c (grub_devalias_iterate): Fix allocation and zero-setting. (grub_ieee1275_get_devname): Check that alias is complete. Vladimir 'phcoder' Serbinenko 2011-12-24 02:45:17 +01:00
  • 379586ad7d * grub-core/kern/disk.c (grub_disk_read): Fix hook calling for unaligned segments. Vladimir 'phcoder' Serbinenko 2011-12-24 02:43:21 +01:00
  • 9197b0ade5 * grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Add ieee1275/ prefix. (grub_ofdisk_open): Check and discard ieee1275 prefix. * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Add ieee1275 prefix. Vladimir 'phcoder' Serbinenko 2011-12-24 02:40:18 +01:00
  • f4d5a8ce56 search cache Vladimir 'phcoder' Serbinenko 2011-12-23 21:14:34 +01:00
  • 706c46bdca Fix *end restoring Vladimir 'phcoder' Serbinenko 2011-12-23 21:14:24 +01:00
  • aa68ca1250 simplify lib/arg.c and allow purely long options Vladimir 'phcoder' Serbinenko 2011-12-23 21:13:09 +01:00
  • 2980502850 Fix few bugs and memory leaks Vladimir 'phcoder' Serbinenko 2011-12-23 19:25:24 +01:00
  • 17785932df merge mainline into hints Vladimir 'phcoder' Serbinenko 2011-12-23 18:49:00 +01:00
  • ca74c50c0b merge mainline into hints Vladimir 'phcoder' Serbinenko 2011-12-23 18:46:06 +01:00
  • 6babad5e59 Initial integration of hints Vladimir 'phcoder' Serbinenko 2011-12-23 18:19:16 +01:00
  • edddb7f9b2 * docs/grub.texi (Filesystems): Update. Vladimir 'phcoder' Serbinenko 2011-12-23 17:05:36 +01:00
  • a1a8b1b90a Support odc, newc and bigendian cpio formats. Vladimir 'phcoder' Serbinenko 2011-12-23 16:15:18 +01:00
  • 58eba9eec7 Fix handling of tar numbers occupying the whole field. Vladimir 'phcoder' Serbinenko 2011-12-23 14:11:31 +01:00
  • a54a0e1270 * grub-core/fs/cpio.c (grub_cpio_find_file): Fix handling of names occupying the whole field size. Vladimir 'phcoder' Serbinenko 2011-12-23 13:38:21 +01:00
  • a6120aca2e * util/grub-mkconfig_lib.in (version_test_gt): Fix variable names. Lukas Anzinger 2011-12-23 12:01:25 +01:00
  • a93964ce11 * grub-core/net/net.c (grub_cmd_delroute): Add missing out condition. Vladimir 'phcoder' Serbinenko 2011-12-23 11:54:08 +01:00
  • 3ea1ca46c1 * grub-core/Makefile.core.def (lzma_decompress): Add missing TARGET_IMG_LDFLAGS. Seth Goldberg 2011-12-23 11:39:30 +01:00
  • b87f7ef26b * util/getroot.c (ESCAPED_PATH_MAX): New define. (mountinfo_entry): Increase the field size to take escaping into account. (find_root_device_from_libzfs): Add one byte to size of strings for security. Vladimir 'phcoder' Serbinenko 2011-12-23 11:36:31 +01:00
  • 66a2ecd123 Remove empty directories Vladimir 'phcoder' Serbinenko 2011-12-23 10:24:34 +01:00
  • 6209239517 missing ChangeLog Vladimir 'phcoder' Serbinenko 2011-12-23 10:24:08 +01:00
  • 31355584f1 * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy): Add an assert. * util/grub-setup.c (setup): Likewise. Vladimir 'phcoder' Serbinenko 2011-12-23 10:23:41 +01:00
  • 1f0b1a7730 * grub-core/boot/i386/pc/startup_raw.S: Add missing argument for _LzmaDecodeA. Vladimir 'phcoder' Serbinenko 2011-12-23 10:21:27 +01:00
  • 8eba9997db * docs/grub.texi (Internationalisation): New section. Vladimir 'phcoder' Serbinenko 2011-12-22 20:55:55 +01:00