1. 12 Nov, 2013 1 commit
  2. 18 Oct, 2013 1 commit
  3. 23 Aug, 2013 1 commit
  4. 14 Jan, 2013 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix compilation with older compilers. · 4a9950ec
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (mpi): Add mpi-inline.c.
      	* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant
      	declarations.
      	* grub-core/lib/posix_wrap/string.h: Include sys/types.h.
      	* grub-core/lib/posix_wrap/sys/types.h: Add common types.
      	* grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte
      	identifier with b.
      	* grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise.
      	* include/grub/crypto.h: Add type defines.
      	* util/import_gcrypth.sed: Remove duplicate type defines.
      4a9950ec
  5. 22 Jul, 2012 1 commit
  6. 29 Feb, 2012 1 commit
  7. 22 Feb, 2012 1 commit
  8. 23 Jan, 2012 1 commit
  9. 18 Jan, 2012 1 commit
  10. 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
  11. 11 Nov, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix mips compilation. · f7ce5baf
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec): Restrict hash_id to
      	normal decoder.
      	(hashes): Use in embed decoder as well (for sizes).
      	(dec_stream_header): Fix embed decompressor logic.
      	(dec_stream_footer): Likewise.
      f7ce5baf
  12. 03 Nov, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      XZ CRC64 and SHA256 support. · 158dc1ea
      Vladimir 'phcoder' Serbinenko authored
      	* Makefile.util.def (libgrubmods): Add crc64.c.
      	* grub-core/Makefile.core.def (crc64): New module.
      	* grub-core/lib/crc64.c: New file.
      	* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_hash)
      	[!GRUB_EMBED_DECOMPRESSOR]: Rename crc32_context to hash_context.
      	Fix the type.
      	(MAX_HASH_SIZE): New define.
      	(xz_dec) [!GRUB_EMBED_DECOMPRESSOR]: Add generic hash fields.
      	(dec_block) [!GRUB_EMBED_DECOMPRESSOR]: Handle non-crc32 hashes.
      	(index_update) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
      	(dec_index) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
      	(crc32_validate) [!GRUB_EMBED_DECOMPRESSOR]: Rename to ...
      	(hash_validate) [!GRUB_EMBED_DECOMPRESSOR]: ... this.
      	Handle non-crc32 hashes.
      	(hashes) [!GRUB_EMBED_DECOMPRESSOR]: New variable.
      	(dec_stream_header): Handle non-crc32 hashes.
      	(dec_stream_footer): Likewise.
      	(dec_block_header): Likewise.
      	(dec_main): Likewise.
      	(xz_dec_init): Likewise.
      	(xz_dec_reset): Likewise.
      	(xz_dec_end): Likewise.
      	* util/import_gcry.py: Add CRC64 line.
      158dc1ea
  13. 21 Sep, 2010 2 commits
  14. 15 Sep, 2010 2 commits
  15. 12 Sep, 2010 1 commit
  16. 05 Sep, 2010 1 commit
    • Szymon Janc's avatar
      * grub-core/Makefile.core.def (xzio): New module. · f0aff67c
      Szymon Janc authored
      	* grub-core/io/xzio.c: New file.
      	* grub-core/lib/xzembed/xz.h: New file (from xembed).
      	* grub-core/lib/xzembed/xz_config.h: Likewise.
      	* grub-core/lib/xzembed/xz_dec_bcj.c: Likewise.
      	* grub-core/lib/xzembed/xz_dec_lzma2.c: Likewise.
      	* grub-core/lib/xzembed/xz_dec_stream.c: Likewise.
      	* grub-core/lib/xzembed/xz_lzma2.h: Likewise.
      	* grub-core/lib/xzembed/xz_private.h: Likewise.
      	* grub-core/lib/xzembed/xz_stream.h: Likewise.
      	* include/grub/file.h (grub_file_filter_id): New compression filter
      	GRUB_FILE_FILTER_XZIO.
      f0aff67c