1. 15 Dec, 2013 1 commit
  2. 21 Jan, 2013 1 commit
  3. 27 May, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Handle "." and ".." on squashfs. · 20dd511c
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/squash4.c (grub_fshelp_node): New field stsize.
      	Make inode numbers into stack.
      	(grub_squash_read_symlink): Use stack.
      	(grub_squash_iterate_dir): Use stack. Create "." and ".." nodes.
      	(make_root_node): Fill stack.
      	(grub_squash_open): Use stack.
      20dd511c
  4. 22 May, 2012 1 commit
  5. 04 May, 2012 1 commit
  6. 26 Apr, 2012 1 commit
  7. 28 Feb, 2012 1 commit
  8. 10 Feb, 2012 1 commit
  9. 27 Jan, 2012 1 commit
  10. 11 Jan, 2012 1 commit
  11. 26 Dec, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Various squash4 fixes and LZO and XZ support. · c029da8a
      Vladimir 'phcoder' Serbinenko authored
      	* Makefile.util.def (libgrubmods.a): Add xzembed directory to cppflags.
      	Add xzembed source files.
      	* grub-core/Makefile.core.def (squash4): Add xzembed and minilzo flags.
      	* grub-core/fs/squash4.c (grub_squash_super): New field compression.
      	(grub_squash_inode): New subtype long_dir.
      	(SQUASH_TYPE_LONG_DIR): New inode type.
      	(COMPRESSION): New enum.
      	(XZBUFSIZ): New const.
      	(grub_squash_data): New fields blksz, decompress, xzdec, xzbuf.
      	(read_chunk): Use data->decompress.
      	(zlib_decompress): New function.
      	(lzo_decompress): Likewise.
      	(xz_decompress): Likewise.
      	(squash_mount): Set new data fields.
      	(grub_squash_iterate_dir): Handle long dir.
      	(squash_unmount): Free xzdec and xzbuf.
      	(grub_squash_open): Check ino type.
      	(direct_read): Stylistic fixes. Use data->decompress.
      	(grub_squash_read_data): Likewise.
      	* grub-core/io/gzio.c (grub_gzio): Remove disk_input.
      	(get_byte): Likewise.
      	(grub_zlib_disk_read): Removed.
      	* grub-core/lib/posix_wrap/sys/types.h (ssize_t): New type.
      	(GRUB_POSIX_BOOL_DEFINED): New define.
      	* grub-core/lib/posix_wrap/unistd.h: Include sys/types.h.
      	* grub-core/lib/xzembed/xz.h: Addmissing includes.
      	[!GRUB_POSIX_BOOL_DEFINED]: Define bool.
      	* include/grub/deflate.h (grub_zlib_disk_read): Removed.
      c029da8a
  12. 14 Dec, 2011 1 commit
  13. 09 Nov, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix several memory leaks. · 8a5a3a5b
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/btrfs.c (grub_btrfs_dir): Fix memory leak.
      	* grub-core/fs/cpio.c (grub_cpio_find_file): Likewise.
      	(grub_cpio_dir): Likewise.
      	* grub-core/fs/fat.c (grub_fat_label): Likewise.
      	* grub-core/fs/jfs.c (grub_jfs_label): Likewise.
      	* grub-core/fs/romfs.c (grub_romfs_close): Likewise.
      	(grub_romfs_label): Likewise.
      	* grub-core/fs/squash4.c (squash_mount): Use zalloc for safety.
      	(squash_unmount): New function.
      	(grub_squash_dir): Fix memory leak.
      	(grub_squash_open): Likewise.
      	(grub_squash_read): Likewise.
      	(grub_squash_mtime): Likewise.
      	* grub-core/fs/xfs.c (grub_xfs_open): Likewise.
      	* grub-core/fs/zfs/zfs.c (check_pool_label): Likewise.
      	* util/grub-fstest.c (fstest): Likewise.
      8a5a3a5b
  14. 28 Oct, 2011 1 commit
  15. 25 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix handling of uncompressed blocks on squashfs and break 4G limit. · 9f12e664
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/squash4.c (grub_squash_super): Add block_size. Remove
      	unused flags.
      	(grub_squash_inode): Add long_file and block_size.
      	(grub_squash_cache_inode): New struct.
      	(grub_squash_dirent): Make types into enum.
      	(SQUASH_TYPE_LONG_REGULAR): New type.
      	(grub_squash_frag_desc): Add field size.
      	(SQUASH_BLOCK_FLAGS): New enum.
      	(grub_squash_data): Use grub_squash_cache_inode.
      	(grub_fshelp_node): Make ino_chunk 64-bit.
      	(read_chunk): Minor argument change. All users updated.
      	(squash_mount): Use correct le_to_cpu.
      	(grub_squash_open): Handle LONG_REGULAR.
      	(direct_read): New function.
      	(grub_squash_read_data): Handle blocks correctly.
      9f12e664
  16. 21 Apr, 2011 1 commit
  17. 11 Dec, 2010 4 commits
  18. 10 Dec, 2010 6 commits
  19. 09 Dec, 2010 7 commits