devel 2008-08-19 Rob Braun firstname.lastname@example.org * lib/lzmaxar.c: if lzma compression is specified but not compiled in, throw an error. * src/xar.c: When extracting, save directories until the end. This lets timestamps get set correctly on directories and addresses issue #58. 2008-08-17 Rob Braun email@example.com * lib/archive.c: Make sure the binary header and toc checksum types match. Contributed by Apple. 2008-08-15 Rob Braun firstname.lastname@example.org * lib/Makefile.inc.in: Add the $(LDFLAGS) variable when creating libxar * src/xar.c: Fix a typo in the usage statement. * lib/io.c: Fix seeking on a pipe 2008-08-14 Rob Braun email@example.com * lib/bzxar.c: if bzip2 compression is specified but not compiled in, throw an error. * src/xar.c src/xar.1: Add -C to chdir before extraction. * lib/script.c: Perform some input checking. * lib/b64.c lib/b64.h: xar_to_base64() was never used, so it is removed. * lib/lzmaxar.c: Update the use of the lzma API to match 4.42 alpha 6 of the lzma library from Anders F Björklund. 2007-12-14 Rob Braun firstname.lastname@example.org * configure.ac: Fix a broken configure check for sys/acl.h and acl_t 2007-12-09 Rob Braun email@example.com * include/xar.h.in lib/filetree.c lib/stat.c test/validate.c: Make sure xar_iter_new() takes no parameters. From rpm5. * lib/libxar.la.in.in: set the libxir to @LIBDIR@ from autoconf. From rpm5. * configure.ac: Allow specifying the path to lzma with --with-lzma=PATH * lib/lzmaxar.c: Use the global macro for compression level. 2007-11-11 Rob Braun firstname.lastname@example.org * lib/archive.c: Add a #define for a mising function in Mac OS X's old version of libxml2 from Anders F Björklund. * lib/Makefile.inc.in: Be a little more gnu libtool friendly from Anders F Björklund. 2007-11-11 Rob Braun email@example.com * lib/archive.c: Some memory leak cleanups from Anders F Björklund. 2007-11-1 Dave Leimbach firstname.lastname@example.org * lib/data.c: fixed a file descriptor leak by adding a close before return * src/xar.1: Added man page text for --extract-subdoc 2007-10-22 Rob Braun email@example.com * src/xar.c src/xar.1: Add -a as a synonym for --compression=lzma * lib/darwinattr.c lib/fbsdattr.c: Add --prop-exclude support for darwin and fbsd EAs. 2007-10-16 Rob Braun firstname.lastname@example.org * include/xar.h.in src/xar.c lib/io.c lib/lzmaxar.c lib/bzxar.c lib/archive.c lib/zxar.c: Added an option to pass arguments to the compression code. This to allow specifying compression levels to gzip, bzip2, and lzma. * lib/io.c: Issue 41, fixed a bug where rsize was being used uninitialized. * lib/io.c: Issue 42, log a warning and continue if archived-checksum doesn't appear when archiving a file. * lib/archive.c: Issue 43, free the buffer in xar_extract_tobuffersz() if there is an error extracting the file. 2007-10-02 Rob Braun email@example.com * test/compression test/data include/config.h.in include/xar.h.in src/xar.1 src/xar.c configure.ac lib/lzmaxar.c lib/lzmaxar.h lib/io.c lib/bzxar.c lib/Makefile.inc.in lib/zxar.c INSTALL: Incorporate a patch from anders.f.bjorklund for adding lzma compression support. 2007-10-02 Rob Braun firstname.lastname@example.org * include/xar.h.in lib/io.c lib/io.h lib/archive.c: Add a "streaming" API that allows for file data to be extracted incrementally, like the zlib decompression API, instead of requiring the entire file to fit in memory like xar_extract_tobuffer(). This is the inital commit of the API and may still change. This change is based on a patch from Charles Srstka. 2007-09-26 Rob Braun email@example.com * lib/io.c: Consolidate the lseek handling code into one function. Contributed by Charles Srstka as part of Issue 2. 2007-09-21 Rob Braun firstname.lastname@example.org * include/xar.h.in src/xar.c src/xar.1 lib/stat.c: Only extract setuid/setgid bits if the user/group are the same as the archived file (if -p/-P are specified on the command line) OR if the newly added --keep-setuid flag is specified. * configure.ac lib/stat.c: Fix the autoconf test for ino_t size, and switch the inode and device number printf's to use the autogenerated INO_STRING and DEV_STRING to get the correct formatting parameter. 2007-09-20 Rob Braun email@example.com * src/xar.c src/xar.1: Add -k as a synonym for --keep-existing for tar compatibility. 2007-09-20 Rob Braun firstname.lastname@example.org * src/xar.c src/xar.1: Add --keep-existing flag which prevents existing files from being extracted. 2007-09-20 Rob Braun email@example.com * lib/archive.c: Fix a bug in toc parsing where invalid tocs, particularly with mismatched closing tags, would still be processed. 2007-09-20 Rob Braun firstname.lastname@example.org * lib/filetree.c: Fix a minor memory leak with xar_iter_free() not freeing all memory associated with a xar_iter_t. 2007-09-20 Rob Braun email@example.com * ChangeLog: renamed from CHANGELOG. 2007-09-19 Dave Leimbach firstname.lastname@example.org * xar/xar.c xar/xar.1: Added support for -j and -z as shortcuts for --compression=bzip2 or --compression=zlib respectively. 2007-09-19 Rob Braun email@example.com * lib/zxar.c lib/bzxar.c: cleanup for more consistency between the two compression modules. Patch contributed by Anders Björklund from the rpm5 project. 2007-09-19 Rob Braun firstname.lastname@example.org * CHANGELOG: Added changelog * include/xar.h.in src/xar.c lib/util.c: moved helper functions for retrieving and formating file properties such as size, mode, mtime, etc. from src/xar.c to lib/util.c and exported them in xar.h. * lib/err.c lib/archive.h: Added the xar_t archive context to the error handler context to be able to retrieve archive level context within an error, such as archive level options, or being able to examine other files than the one the error occurred on. * lib/strmode.h lib/util.c config.h.in configure.ac: Import strmode(3) from freebsd to handle the formatting of file mode in xar_get_mode(), used for displaying file mode from xar -tvf. configure will automatically detect whether to use the OS strmode(3) or the included copy.