Add GZIP header processing to GZlibCompressor/GZlibDecompressor
authorChristian Persch <chpe@gnome.org>
Thu, 13 May 2010 17:57:41 +0000 (19:57 +0200)
committerChristian Persch <chpe@gnome.org>
Tue, 17 Aug 2010 15:37:32 +0000 (17:37 +0200)
commitcae86073eaf932b85836e98df8d87c65d90f5842
tree771fa6f4e1dcf3ff3556426818f886855a61b6e5
parentb196cd74473cbc812359ee3b484a3986604e9aba
Add GZIP header processing to GZlibCompressor/GZlibDecompressor

Add GZlibCompressor:file-info property. If it contains a non-NULL
GFileInfo, and the compressor is in GZIP mode, the filename and
modification time from the file info are written to the GZIP header
in the output data.

Add GZlibDeompressor:file-info property. If the decompressor is in GZIP
mode, and the GZIP data contains a GZIP header, the filename and
modification time are read from it, stored in a GFileInfo, and the
file-info property is notified.

Bug #617691.
docs/reference/gio/gio-sections.txt
gio/gio.symbols
gio/gzlibcompressor.c
gio/gzlibcompressor.h
gio/gzlibdecompressor.c
gio/gzlibdecompressor.h
gio/tests/filter-cat.c