]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
16 years agoVerify cmake builds as part of "make distcheck"
Tim Kientzle [Mon, 25 May 2009 16:46:49 +0000 (12:46 -0400)] 
Verify cmake builds as part of "make distcheck"

SVN-Revision: 1111

16 years agoCatch up with new file
Tim Kientzle [Mon, 25 May 2009 16:09:49 +0000 (12:09 -0400)] 
Catch up with new file

SVN-Revision: 1110

16 years agoCatch up with new and renamed files.
Tim Kientzle [Mon, 25 May 2009 16:09:25 +0000 (12:09 -0400)] 
Catch up with new and renamed files.

SVN-Revision: 1109

16 years agoInclude new file.
Tim Kientzle [Mon, 25 May 2009 16:08:32 +0000 (12:08 -0400)] 
Include new file.

SVN-Revision: 1108

16 years agoBe more careful about text/binary mode.
Tim Kientzle [Sun, 24 May 2009 23:35:53 +0000 (19:35 -0400)] 
Be more careful about text/binary mode.

Libarchive is already pretty careful about using O_BINARY
whenever it opens a file handle internally; this extends
that care to file descriptors that are passed in from clients
by invoking _setmode() explicitly.

The test harness was much less careful about O_BINARY;
this adds those flags to all open() calls and modifies
fopen() calls to use "wb" and "rb" explicitly.

In particular, this should remove the need for clients
to use invoke _set_fmode() at all.

This is not yet completely tested...

SVN-Revision: 1103

16 years agoRemove extraneous line break.
Tim Kientzle [Sun, 24 May 2009 23:04:23 +0000 (19:04 -0400)] 
Remove extraneous line break.

SVN-Revision: 1102

16 years agoInclude O_BINARY when opening the file here, for consistency.
Tim Kientzle [Sun, 24 May 2009 23:03:06 +0000 (19:03 -0400)] 
Include O_BINARY when opening the file here, for consistency.

SVN-Revision: 1101

16 years agoRemove redundant copies of COPYING and README as discussed with Tim.
Joerg Sonnenberger [Sun, 24 May 2009 03:25:35 +0000 (23:25 -0400)] 
Remove redundant copies of COPYING and README as discussed with Tim.

SVN-Revision: 1100

16 years agoAdjust for 2009.
Joerg Sonnenberger [Sun, 24 May 2009 03:25:16 +0000 (23:25 -0400)] 
Adjust for 2009.

SVN-Revision: 1099

16 years agoMove hashing function calling into a separate file. Provide the glue
Joerg Sonnenberger [Sun, 24 May 2009 03:24:07 +0000 (23:24 -0400)] 
Move hashing function calling into a separate file. Provide the glue
for OpenSSL and libc functions in NetBSD and OpenBSD as well as
simplified configure logic. OpenSSL is now only pulled in if the
platform does not provide all needed hash functions.

SVN-Revision: 1098

16 years agoInline ToSeconds() in the only place it's used.
Tim Kientzle [Sun, 24 May 2009 01:11:37 +0000 (21:11 -0400)] 
Inline ToSeconds() in the only place it's used.

SVN-Revision: 1097

16 years agoBreak a long line.
Tim Kientzle [Sun, 24 May 2009 01:06:48 +0000 (21:06 -0400)] 
Break a long line.

SVN-Revision: 1096

16 years agoCorrect the declaration of a static volatile.
Tim Kientzle [Sat, 23 May 2009 17:29:40 +0000 (13:29 -0400)] 
Correct the declaration of a static volatile.

SVN-Revision: 1095

16 years agoRename a scratch variable. This is used to workaround
Tim Kientzle [Sat, 23 May 2009 17:29:00 +0000 (13:29 -0400)] 
Rename a scratch variable.  This is used to workaround
a bug with some versions of GCC that don't support
cast-to-void for explicitly ignoring return values.

SVN-Revision: 1094

16 years agoCorrectly skip the "extra data" field in the gzip header.
Tim Kientzle [Sat, 23 May 2009 04:28:06 +0000 (00:28 -0400)] 
Correctly skip the "extra data" field in the gzip header.
In particular, this fixes reading the OpenSSH tarballs.

SVN-Revision: 1093

16 years agoIssue 23: A minor correction to the new dosmaperr()
Tim Kientzle [Fri, 15 May 2009 04:54:38 +0000 (00:54 -0400)] 
Issue 23:  A minor correction to the new dosmaperr()
function.  libarchive library now builds on MinGW;
still work to do on the test harness...

SVN-Revision: 1085

16 years agoAdd custom _dosmaperr() implementation (copied from
Tim Kientzle [Fri, 15 May 2009 04:49:23 +0000 (00:49 -0400)] 
Add custom _dosmaperr() implementation (copied from
PostgreSQL) and use it instead of the undocumented
Windows CRT function (which isn't available in all versions
of Windows CRT).  Rename it to la_dosmaperr() to avoid
any name conflicts with the "standard" one.

SVN-Revision: 1084

16 years agoIssue 23: Fix a number of minor compatibility problems with MinGW.
Tim Kientzle [Fri, 15 May 2009 00:11:13 +0000 (20:11 -0400)] 
Issue 23: Fix a number of minor compatibility problems with MinGW.

SVN-Revision: 1083

16 years agoAvoid problems because of varying ino_t sizes on different platforms. In particular...
Tim Kientzle [Thu, 14 May 2009 23:55:24 +0000 (19:55 -0400)] 
Avoid problems because of varying ino_t sizes on different platforms.  In particular, Windows uses a 16-bit (?!) ino_t, so we can't just cast the constant here to ino_t.  The next API changes should avoid ino_t entirely to prevent problems reading cpio archives on platforms where the native ino_t type isn't big enough.

SVN-Revision: 1082

16 years agoRefactor logic for crossing mount points. This provides a hook for
Tim Kientzle [Sun, 10 May 2009 20:07:39 +0000 (16:07 -0400)] 
Refactor logic for crossing mount points.  This provides a hook for
special handling of synthetic and non-local filesystems.

SVN-Revision: 1081

16 years agoMake uncompressed zip test independent of zlib.
Tim Kientzle [Sun, 10 May 2009 19:46:22 +0000 (15:46 -0400)] 
Make uncompressed zip test independent of zlib.

SVN-Revision: 1080

16 years agoCustom crc32() implementation so we can still write
Tim Kientzle [Sun, 10 May 2009 19:44:34 +0000 (15:44 -0400)] 
Custom crc32() implementation so we can still write
(uncompressed) Zip archives even without zlib.

SVN-Revision: 1079

16 years agoHandle short writes correctly.
Tim Kientzle [Sun, 10 May 2009 19:43:44 +0000 (15:43 -0400)] 
Handle short writes correctly.

SVN-Revision: 1078

16 years agoMark library variables as "standard" so they show up in the default cmake gui configu...
Tim Kientzle [Sat, 9 May 2009 07:22:54 +0000 (03:22 -0400)] 
Mark library variables as "standard" so they show up in the default cmake gui configuration view.

SVN-Revision: 1077

16 years agoDon't mix statements and declarations in portable C.
Tim Kientzle [Sat, 9 May 2009 07:20:54 +0000 (03:20 -0400)] 
Don't mix statements and declarations in portable C.

SVN-Revision: 1076

16 years agoBuilding on Ubuntu 9 provoked some complaints about return values
Tim Kientzle [Sat, 9 May 2009 01:15:17 +0000 (21:15 -0400)] 
Building on Ubuntu 9 provoked some complaints about return values
not being used.  Some of these are good catches, a few are
annoying.  Unfortunately, GCC on this system won't just
allow you to cast the result explicitly to (void) to
shut up the error, so I've had to introduce some gratuitous
extra variables.  <sigh>

SVN-Revision: 1075

16 years agoFix build on platforms without zlib.h. I need to dig out my old
Tim Kientzle [Fri, 8 May 2009 17:32:08 +0000 (13:32 -0400)] 
Fix build on platforms without zlib.h.  I need to dig out my old
CRC code and drop it in here to correctly break this dependency,
but these tests are so badly broken right now anyway...

SVN-Revision: 1074

16 years agoMake archive_write_set_format_zip build if zlib is missing.
Tim Kientzle [Fri, 8 May 2009 17:17:55 +0000 (13:17 -0400)] 
Make archive_write_set_format_zip build if zlib is missing.

SVN-Revision: 1073

16 years agoSeparate the xattr management for archive_entry into a separate
Tim Kientzle [Fri, 8 May 2009 16:57:01 +0000 (12:57 -0400)] 
Separate the xattr management for archive_entry into a separate
source file.  The only linkage between the xattr routines and
the rest of archive_entry is through public API functions, so
this doesn't expose any internal interfaces and will make it
easier to extend and modify the xattr management in the future.
(In particular, we'll need to add support for looking up specific
xattrs by name in the very near future.)

SVN-Revision: 1072

16 years agoFix the CMake build on systems that lack a C++ compiler.
Tim Kientzle [Fri, 8 May 2009 16:50:46 +0000 (12:50 -0400)] 
Fix the CMake build on systems that lack a C++ compiler.
libarchive doesn't need C++, so we should be able to build
on systems that don't have a C++ compiler.

SVN-Revision: 1071

16 years agoTrack an old file rename.
Tim Kientzle [Fri, 8 May 2009 16:49:34 +0000 (12:49 -0400)] 
Track an old file rename.

SVN-Revision: 1070

16 years agoThe refactoring of r868 changed read_open_filename() to
Tim Kientzle [Thu, 7 May 2009 22:53:09 +0000 (18:53 -0400)] 
The refactoring of r868 changed read_open_filename() to
just use read_open_fd() for the degenerate stdin case.
Unfortunately, there's a critical difference between these
two:  read_open_fd() does no special processing on close;
read_open_filename() flushes input pipes on close.  As
a result, pipelines such as "gunzip|tar" would cause gunzip
to fail with SIGPIPE.  Especially with /bin/csh (which reports
the success of the first program in a pipeline, not the last
as /bin/sh and bash do), this caused some ugly problems.

Thanks to Alexey Shuvaev for reporting this failure and
patiently helping me to track down the cause.

SVN-Revision: 1068

16 years agoSync up with Makefile in FreeBSD-CURRENT tree.
Tim Kientzle [Mon, 27 Apr 2009 22:37:35 +0000 (18:37 -0400)] 
Sync up with Makefile in FreeBSD-CURRENT tree.

SVN-Revision: 1067

16 years agoRename test_acl_solaris to test_compat_solaris_tar_acl.
Tim Kientzle [Mon, 27 Apr 2009 18:29:15 +0000 (14:29 -0400)] 
Rename test_acl_solaris to test_compat_solaris_tar_acl.
(The former makes it sound like we're testing system-specific
ACL support for Solaris, which isn't implemented yet.)

SVN-Revision: 1066

16 years agoUpdate some comments.
Tim Kientzle [Mon, 27 Apr 2009 18:20:08 +0000 (14:20 -0400)] 
Update some comments.

SVN-Revision: 1065

16 years agoMinor refactoring: Have __archive_read_skip() use
Tim Kientzle [Mon, 27 Apr 2009 17:34:15 +0000 (13:34 -0400)] 
Minor refactoring: Have __archive_read_skip() use
__archive_read_skip_lenient() directly.

SVN-Revision: 1064

16 years agoMake a note here about Solaris ACL handling. It would be
Tim Kientzle [Mon, 27 Apr 2009 06:16:02 +0000 (02:16 -0400)] 
Make a note here about Solaris ACL handling.  It would be
nice to fill this in someday.

SVN-Revision: 1063

16 years agoTest cpio bin_be format.
Tim Kientzle [Mon, 27 Apr 2009 06:08:48 +0000 (02:08 -0400)] 
Test cpio bin_be format.

SVN-Revision: 1062

16 years agoFix big-endian binary cpio archives.
Tim Kientzle [Mon, 27 Apr 2009 05:51:19 +0000 (01:51 -0400)] 
Fix big-endian binary cpio archives.

SVN-Revision: 1061

16 years agoassertEqualMem() should have always accepted void * arguments.
Tim Kientzle [Mon, 27 Apr 2009 05:27:53 +0000 (01:27 -0400)] 
assertEqualMem() should have always accepted void * arguments.

SVN-Revision: 1060

16 years agoFill in the correct signature checks for lzma and xz output.
Tim Kientzle [Mon, 27 Apr 2009 05:27:13 +0000 (01:27 -0400)] 
Fill in the correct signature checks for lzma and xz output.

SVN-Revision: 1059

16 years agoMake sure that each test source file has exactly one DEFINE_TEST().
Tim Kientzle [Mon, 27 Apr 2009 05:14:04 +0000 (01:14 -0400)] 
Make sure that each test source file has exactly one DEFINE_TEST().
In particular, the cmake test setup assumes this.

SVN-Revision: 1058

16 years agoRemvoe more debugging cruft.
Tim Kientzle [Mon, 27 Apr 2009 04:50:47 +0000 (00:50 -0400)] 
Remvoe more debugging cruft.

SVN-Revision: 1057

16 years agoOuch. Take out some debug statements I accidentally left in.
Tim Kientzle [Mon, 27 Apr 2009 04:50:04 +0000 (00:50 -0400)] 
Ouch.  Take out some debug statements I accidentally left in.

SVN-Revision: 1056

16 years agoCorrect an earlier typo. <sigh>
Tim Kientzle [Mon, 27 Apr 2009 03:44:12 +0000 (23:44 -0400)] 
Correct an earlier typo.  <sigh>

SVN-Revision: 1055

16 years agoWhen reporting differences between blocks of memory, try
Tim Kientzle [Mon, 27 Apr 2009 03:43:26 +0000 (23:43 -0400)] 
When reporting differences between blocks of memory, try
to pick something relevant.

SVN-Revision: 1054

16 years agoFix up some issues with POSIX.1e ACLs:
Tim Kientzle [Mon, 27 Apr 2009 03:42:25 +0000 (23:42 -0400)] 
Fix up some issues with POSIX.1e ACLs:
 * Edward Napierala sent me an archive from Solaris 10 with Solaris-style
   ACLs that libarchive misparsed.  Fix the parser.
 * Add a test for reading Solaris-format ACLs
 * Preserve the order of ACL entries; this is purely cosmetic for now.
 * Fix the test_acl_pax test to match the order of the new ACL entries.
 * Correctly distinguish Solaris-style POSIX.1e ACLs from Solaris NFSv4 ACLs.
   Even if we can't parse the latter, we can at least recognize them and
   issue a suitable warning.

TODO:  Identify AIX-style ACLs (which should currently be recognized as
malformed Solaris-style ACLs).  I doubt libarchive will ever support AIX-style
ACLs, but it can at least recognize and warn about them.

SVN-Revision: 1053

16 years agoClear out the error message buffer on entry to a few more functions.
Tim Kientzle [Sun, 26 Apr 2009 18:26:27 +0000 (14:26 -0400)] 
Clear out the error message buffer on entry to a few more functions.

SVN-Revision: 1052

16 years agoEliminate an unused variable.
Tim Kientzle [Sun, 26 Apr 2009 18:22:13 +0000 (14:22 -0400)] 
Eliminate an unused variable.

SVN-Revision: 1051

16 years agoIssue 26: On systems where sgid bit propagates to subdirs, we
Tim Kientzle [Tue, 21 Apr 2009 16:26:03 +0000 (12:26 -0400)] 
Issue 26: On systems where sgid bit propagates to subdirs, we
can end up with spurious 02000 added to the modes of some directories.
Allow this.

SVN-Revision: 1049

16 years agoIssue 22: --without-openssl skips probing for the hash functions.
Tim Kientzle [Mon, 20 Apr 2009 21:22:49 +0000 (17:22 -0400)] 
Issue 22:  --without-openssl skips probing for the hash functions.
Note: This currently also disables use of libmd on systems that have it.
That should probably be separated into a separate control.

SVN-Revision: 1047

16 years agoInclude test_read_format_raw
Tim Kientzle [Mon, 20 Apr 2009 21:21:10 +0000 (17:21 -0400)] 
Include test_read_format_raw

SVN-Revision: 1046

16 years agoMinor compile fix.
Tim Kientzle [Mon, 20 Apr 2009 21:20:39 +0000 (17:20 -0400)] 
Minor compile fix.

SVN-Revision: 1045

16 years agoMinor compile fix.
Tim Kientzle [Mon, 20 Apr 2009 21:20:06 +0000 (17:20 -0400)] 
Minor compile fix.

SVN-Revision: 1044

16 years agoMake the error dump for assertEqualMem() a bit more useful by
Tim Kientzle [Mon, 20 Apr 2009 21:01:51 +0000 (17:01 -0400)] 
Make the error dump for assertEqualMem() a bit more useful by
skipping a common initial portion and dumping a small block around
the first difference.

SVN-Revision: 1043

16 years agoIssue 21: The output of -tnv here depends on the timezone.
Tim Kientzle [Mon, 20 Apr 2009 18:20:44 +0000 (14:20 -0400)] 
Issue 21: The output of -tnv here depends on the timezone.
Since there are only two possible results, just compare it to
both and accept a match for either one.

SVN-Revision: 1037

16 years agoMake the file on the reference ISO be considerably larger.
Tim Kientzle [Mon, 20 Apr 2009 06:01:01 +0000 (02:01 -0400)] 
Make the file on the reference ISO be considerably larger.
BZip2 compression works really well for long blocks of zero bytes,
so this costs almost nothing.

SVN-Revision: 1034

16 years agoReading an mtree file, the body of the first regular file
Tim Kientzle [Mon, 20 Apr 2009 05:58:15 +0000 (01:58 -0400)] 
Reading an mtree file, the body of the first regular file
would not be read because of a misplaced return.

SVN-Revision: 1033

16 years agoMove UnsupportedCompress() macro into the only file that uses it.
Tim Kientzle [Sun, 19 Apr 2009 22:50:37 +0000 (18:50 -0400)] 
Move UnsupportedCompress() macro into the only file that uses it.
Make test_fuzz a bit more sensitive by actually reading the
body of each entry instead of just skipping it.

SVN-Revision: 1032

16 years agoarchive_entry_ino() returns ino_t which varies across platforms;
Tim Kientzle [Sun, 19 Apr 2009 22:45:18 +0000 (18:45 -0400)] 
archive_entry_ino() returns ino_t which varies across platforms;
casting the result to int makes this comparison more consistent.

SVN-Revision: 1030

16 years agoIf the archive is truncated, exit with ARCHIVE_FATAL.
Tim Kientzle [Sun, 19 Apr 2009 21:35:35 +0000 (17:35 -0400)] 
If the archive is truncated, exit with ARCHIVE_FATAL.

SVN-Revision: 1028

16 years agoFill in descriptions of the new GNU pax sparse handling,
Tim Kientzle [Sat, 18 Apr 2009 06:14:20 +0000 (02:14 -0400)] 
Fill in descriptions of the new GNU pax sparse handling,
briefly discuss Mac OS X resource fork extension,
explain SunOS 'A' record handling of NFSv4 ACLs,
describe terminator-pruning for extending file size
support, and a bit of minor wordsmithing.

SVN-Revision: 1027

16 years agoUpdate libarchive-formats: A little wordsmithing
Tim Kientzle [Sat, 18 Apr 2009 03:32:09 +0000 (23:32 -0400)] 
Update libarchive-formats:  A little wordsmithing
and some additional detail, especially about the mtree writer.

SVN-Revision: 1026

16 years agoAdd --lzma and -J options to cpio.
Tim Kientzle [Fri, 17 Apr 2009 07:10:26 +0000 (03:10 -0400)] 
Add --lzma and -J options to cpio.
Add tests for these.
Edit the existing compression tests so they correctly
distinguish unsupported options (e.g., we're testing GNU cpio)
from unsupported compression.

SVN-Revision: 1025

16 years agoEliminate a bunch of preprocessor symbols that aren't actually
Tim Kientzle [Fri, 17 Apr 2009 06:37:41 +0000 (02:37 -0400)] 
Eliminate a bunch of preprocessor symbols that aren't actually
used anywhere in cpio.

SVN-Revision: 1024

16 years agoWe don't need to conditionalize the compression options in
Tim Kientzle [Fri, 17 Apr 2009 06:36:46 +0000 (02:36 -0400)] 
We don't need to conditionalize the compression options in
cpio; we just ask libarchive and it will return an error if
it can't provide that feature.

SVN-Revision: 1023

16 years agoAudit and fix up the HAVE_* usage:
Tim Kientzle [Fri, 17 Apr 2009 06:09:28 +0000 (02:09 -0400)] 
Audit and fix up the HAVE_* usage:
 * bsdtar relies on libarchive to handle ACLs, so the ACL feature tests
   in bsdtar are no longer needed
 * ditto for extended attribute support
 * libarchive now implements set_compression_* functions always; if they
   don't work, calling them returns an error.  This changes a lot of
   bsdtar compression tests from compile time checks for a library
   existence to run-time checks for libarchive return values.
   In particular, bsdtar should not need to know which libraries
   or external programs libarchive might be using.

SVN-Revision: 1022

16 years agoIf we know it's a socket, say it's a socket.
Tim Kientzle [Fri, 17 Apr 2009 03:00:54 +0000 (23:00 -0400)] 
If we know it's a socket, say it's a socket.

SVN-Revision: 1021

16 years agoInclude a missing mode value.
Tim Kientzle [Thu, 16 Apr 2009 23:33:39 +0000 (19:33 -0400)] 
Include a missing mode value.

Submitted by: Diego "Flameeyes" Pettenò

SVN-Revision: 1017

16 years agoRemove an unused option.
Tim Kientzle [Thu, 16 Apr 2009 23:31:55 +0000 (19:31 -0400)] 
Remove an unused option.

Submitted by: Diego "Flameeyes" Pettenò

SVN-Revision: 1016

16 years agoEliminate an extra space.
Tim Kientzle [Wed, 15 Apr 2009 21:26:53 +0000 (17:26 -0400)] 
Eliminate an extra space.

SVN-Revision: 998

16 years agoManpage touchups:
Tim Kientzle [Wed, 15 Apr 2009 19:29:44 +0000 (15:29 -0400)] 
Manpage touchups:
 * Fix tar.1 to properly format the substitution arguments
 * Fix mdoc2wiki.awk to render .It Pa and .It Ev in bold
 * Update the translated docs on the wiki.

SVN-Revision: 997

16 years agoDocument the new "raw" format reader and fill in some
Tim Kientzle [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Document the new "raw" format reader and fill in some
other missing documentation for mtree, lzma, and xz
readers.  Also, document the new convention that
setup functions return ARCHIVE_WARN if that compression
or format is supported only through an external program.
The test suite really needs this; other people might
find it amusing.

SVN-Revision: 991

16 years agoMerge libarchive 2.6
Brad King [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Merge libarchive 2.6

This commit was manufactured during conversion from SVN
to merge the libarchive 2.6 branch.

16 years agoDocument the new "raw" format reader and fill in some
Tim Kientzle [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Document the new "raw" format reader and fill in some
other missing documentation for mtree, lzma, and xz
readers.  Also, document the new convention that
setup functions return ARCHIVE_WARN if that compression
or format is supported only through an external program.
The test suite really needs this; other people might
find it amusing.

SVN-Revision: 991

16 years agoAdd a new "raw" format reader that just provides raw binary data from
Tim Kientzle [Tue, 14 Apr 2009 02:03:45 +0000 (22:03 -0400)] 
Add a new "raw" format reader that just provides raw binary data from
the input.  It matches (with a very low bid) any non-empty input.

This basically stubs out the archive format handling so that the
automatic decompression engine can be used for other purposes.

SVN-Revision: 990

16 years agoARCHIVE_EOF is positive. I'm going to change this in libarchive 3.0.
Tim Kientzle [Tue, 14 Apr 2009 01:29:55 +0000 (21:29 -0400)] 
ARCHIVE_EOF is positive.  I'm going to change this in libarchive 3.0.
Until then, use an explicit -1 here to flag EOF, to distinguish it
from a valid code return.

SVN-Revision: 989

16 years agoRework the read_ahead interface slightly to provide a "best-effort"
Tim Kientzle [Tue, 14 Apr 2009 01:22:43 +0000 (21:22 -0400)] 
Rework the read_ahead interface slightly to provide a "best-effort"
read_ahead_lenient() function.

While I'm here, fix two rather bizarre bugs:
1) Increment the position in the "uncompressed" stream only
   when skipping in the top filter, not within read_filter_skip.
2) When we simulate a skip by reading ahead, read against the
   current filter, not the top filter.
Fortunately, neither of these bugs are visible in the current library,
because no filter currently passes skip requests through to upstream
filters, so skip processing always happens only at the top filter.

SVN-Revision: 988

16 years agoWire up the Zip writer into the autoconf build.
Tim Kientzle [Mon, 13 Apr 2009 22:53:19 +0000 (18:53 -0400)] 
Wire up the Zip writer into the autoconf build.

SVN-Revision: 987

16 years agoAnselm Strauss' unfinished zip writer and tests.
Tim Kientzle [Mon, 13 Apr 2009 22:37:27 +0000 (18:37 -0400)] 
Anselm Strauss' unfinished zip writer and tests.
I'd like to get this finished for libarchive 2.8.

SVN-Revision: 986

16 years agoUncomment most of this again, now that the wiki builder seems
Tim Kientzle [Mon, 13 Apr 2009 22:05:44 +0000 (18:05 -0400)] 
Uncomment most of this again, now that the wiki builder seems
basically functional.

SVN-Revision: 985

16 years agoFix the translation of .Ns, which suppresses the current word space, not the next...
Tim Kientzle [Mon, 13 Apr 2009 21:54:42 +0000 (17:54 -0400)] 
Fix the translation of .Ns, which suppresses the current word space, not the next one.

SVN-Revision: 984

16 years agoRemove \& from the output.
Tim Kientzle [Mon, 13 Apr 2009 21:47:21 +0000 (17:47 -0400)] 
Remove \& from the output.

SVN-Revision: 983

16 years agoDon't try to use *bold* or _italic_ within {{{display}}}.
Tim Kientzle [Mon, 13 Apr 2009 21:44:14 +0000 (17:44 -0400)] 
Don't try to use *bold* or _italic_ within {{{display}}}.

SVN-Revision: 982

16 years agoQuote some more special characters, handle paragraph breaks properly.
Tim Kientzle [Mon, 13 Apr 2009 21:35:53 +0000 (17:35 -0400)] 
Quote some more special characters, handle paragraph breaks properly.

SVN-Revision: 981

16 years agoFix a bug in handling of bullet lists.
Tim Kientzle [Mon, 13 Apr 2009 21:27:41 +0000 (17:27 -0400)] 
Fix a bug in handling of bullet lists.

SVN-Revision: 980

16 years agoQuote trailing "*" in Cm argument.
Tim Kientzle [Mon, 13 Apr 2009 21:25:19 +0000 (17:25 -0400)] 
Quote trailing "*" in Cm argument.

SVN-Revision: 979

16 years agoRemove -nosplit after .An.
Tim Kientzle [Mon, 13 Apr 2009 21:23:34 +0000 (17:23 -0400)] 
Remove -nosplit after .An.

SVN-Revision: 978

16 years agoQuote trailing '*' in type names (e.g., "void *")
Tim Kientzle [Mon, 13 Apr 2009 21:21:44 +0000 (17:21 -0400)] 
Quote trailing '*' in type names (e.g., "void *")

SVN-Revision: 977

16 years agoQuote a leading '_'
Tim Kientzle [Mon, 13 Apr 2009 21:17:14 +0000 (17:17 -0400)] 
Quote a leading '_'

SVN-Revision: 976

16 years agoClose subsection titles.
Tim Kientzle [Mon, 13 Apr 2009 21:11:44 +0000 (17:11 -0400)] 
Close subsection titles.

SVN-Revision: 975

16 years agoFirst real attempt to convert all mdoc manpages to Wiki syntax.
Tim Kientzle [Mon, 13 Apr 2009 21:08:53 +0000 (17:08 -0400)] 
First real attempt to convert all mdoc manpages to Wiki syntax.
Including the awk script I'm using and updates to the doc generator
to produce the Wiki versions as part of the regular deployment.

SVN-Revision: 974

16 years agoSIGPIPE doesn't always exist.
Tim Kientzle [Fri, 10 Apr 2009 21:23:59 +0000 (17:23 -0400)] 
SIGPIPE doesn't always exist.

Submitted by: Christian Ehrlicher

SVN-Revision: 947

16 years agoFix a number of memory leaks:
Tim Kientzle [Fri, 10 Apr 2009 05:36:25 +0000 (01:36 -0400)] 
Fix a number of memory leaks:
 * write_set_compression_{gzip,bzip2,lzma,xz} need to call finish
   even if nothing is ever written so that the config data
   can be cleaned up.  Set the finish entry in the initial
   setup function (instead of the init function), have the
   finish function only close out the compression if there
   is a state, update the tests to exercise set up and
   tear down without any intermediate open and/or writing.
 * read_open_{fd,filename} would leak data if the fd or file
   didn't exist.  Do all of the fd/file checks before trying
   to allocate data.
 * archive_entry leaked the sourcepath field
 * support_format_mtree leaked the list of active default fields
 * several tests leaked archive_entry objects
 * test/read_open_memory has a special mode to exercise
   providing a minimal set of callbacks; unfortunately it
   omitted the close callback, which caused a leak.
 * Add a chokepoint to test/main.c where we can do something
   for every assertion.  I temporarily added a line # printf here
   to help identify the location of certain crashes.

All of this needs to be merged to libarchive/2.7 branch.

SVN-Revision: 944

16 years agoPush the version number in trunk to 2.7.900; trunk is now working towards 2.8.
Tim Kientzle [Wed, 8 Apr 2009 07:58:41 +0000 (03:58 -0400)] 
Push the version number in trunk to 2.7.900; trunk is now working towards 2.8.

SVN-Revision: 942

16 years agoSummarize work since 2.6.
Tim Kientzle [Wed, 8 Apr 2009 07:05:42 +0000 (03:05 -0400)] 
Summarize work since 2.6.

SVN-Revision: 937

16 years agoVerify that fopen() succeeded.
Tim Kientzle [Wed, 8 Apr 2009 07:05:17 +0000 (03:05 -0400)] 
Verify that fopen() succeeded.

SVN-Revision: 936

16 years agoVerify that -p without a dirname fails.
Tim Kientzle [Sun, 5 Apr 2009 06:10:07 +0000 (02:10 -0400)] 
Verify that -p without a dirname fails.

SVN-Revision: 930

16 years agoVerify that -ot and -in (without -t) are considered errors.
Tim Kientzle [Sun, 5 Apr 2009 06:09:30 +0000 (02:09 -0400)] 
Verify that -ot and -in (without -t) are considered errors.

SVN-Revision: 929

16 years agoNew test for -Z (compress)
Tim Kientzle [Sun, 5 Apr 2009 05:47:56 +0000 (01:47 -0400)] 
New test for -Z (compress)

SVN-Revision: 928