]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
16 years agoDoes not return error when nbytes which is a size of the write date is larger then...
Michihiro NAKAJIMA [Tue, 6 Jan 2009 12:16:54 +0000 (07:16 -0500)] 
Does not return error when nbytes which is a size of the write date is larger then UINT32_MAX.

SVN-Revision: 381

16 years agoUse ULARGE_INTEGER instead of uint64_t for code simply.
Michihiro NAKAJIMA [Tue, 6 Jan 2009 12:00:11 +0000 (07:00 -0500)] 
Use ULARGE_INTEGER instead of uint64_t for code simply.

SVN-Revision: 380

16 years agoOne more fix to compiling error when zlib/bzlib is unavailable
Michihiro NAKAJIMA [Tue, 6 Jan 2009 09:33:13 +0000 (04:33 -0500)] 
One more fix to compiling error when zlib/bzlib is unavailable

SVN-Revision: 379

16 years agoIn the big decompression refactor in r364, I broke the
Tim Kientzle [Tue, 6 Jan 2009 05:36:33 +0000 (00:36 -0500)] 
In the big decompression refactor in r364, I broke the
build for the case where zlib/bzlib is unavailable.

SVN-Revision: 378

16 years agoMerge r376 from trunk: preven Bison from redefining malloc() and free()
Tim Kientzle [Tue, 6 Jan 2009 05:28:20 +0000 (00:28 -0500)] 
Merge r376 from trunk: preven Bison from redefining malloc() and free()

SVN-Revision: 377

16 years agoTry to prevent Bison from redefining malloc() and free(). <sigh>
Tim Kientzle [Tue, 6 Jan 2009 05:27:56 +0000 (00:27 -0500)] 
Try to prevent Bison from redefining malloc() and free().  <sigh>

SVN-Revision: 376

16 years agoMerge r374 from trunk: Fix a typo
Tim Kientzle [Tue, 6 Jan 2009 05:26:48 +0000 (00:26 -0500)] 
Merge r374 from trunk: Fix a typo

Submitted by: Peter Hjalmarsson

SVN-Revision: 375

16 years agoFix a silly typo.
Tim Kientzle [Tue, 6 Jan 2009 05:25:29 +0000 (00:25 -0500)] 
Fix a silly typo.

Submitted by: Peter Hjalmarsson

SVN-Revision: 374

16 years agoMark trunk as 2.6.900a to clearly separate it from 2.6 release branch.
Tim Kientzle [Sun, 4 Jan 2009 08:03:12 +0000 (03:03 -0500)] 
Mark trunk as 2.6.900a to clearly separate it from 2.6 release branch.

SVN-Revision: 372

16 years agoNews update
Tim Kientzle [Sun, 4 Jan 2009 08:02:27 +0000 (03:02 -0500)] 
News update

SVN-Revision: 371

16 years agoMerge r355 from release/2.6: Fix cpio build without zlib or bzlib.
Tim Kientzle [Sun, 4 Jan 2009 08:01:14 +0000 (03:01 -0500)] 
Merge r355 from release/2.6: Fix cpio build without zlib or bzlib.

SVN-Revision: 370

16 years agoMerge r354 from release/2.6: Fix multiple -s options.
Tim Kientzle [Sun, 4 Jan 2009 08:00:14 +0000 (03:00 -0500)] 
Merge r354 from release/2.6:  Fix multiple -s options.
Add test_option_s to exercise basic -s handling.

Thanks to Wayne Marshall for reporting this problem.

SVN-Revision: 369

16 years agoMerge r353 from release/2.6: Fixes to assertEmptyFile() and assertFileContents()
Tim Kientzle [Sun, 4 Jan 2009 07:57:36 +0000 (02:57 -0500)] 
Merge r353 from release/2.6: Fixes to assertEmptyFile() and assertFileContents()

SVN-Revision: 368

16 years agosvn:ignore tuneup.
Tim Kientzle [Sun, 4 Jan 2009 02:03:42 +0000 (21:03 -0500)] 
svn:ignore tuneup.

SVN-Revision: 365

16 years agoBig decompression refactor, Phase 2.
Tim Kientzle [Sun, 4 Jan 2009 02:02:36 +0000 (21:02 -0500)] 
Big decompression refactor, Phase 2.

First, I've changed terminology: the objects that were called
"sources" and "readers" in libarchive 2.6 are now called "filters" and
"filter bidders."  I think this reads a lot better.  It also more
cleanly conveys that filters can be stacked and are not limited
to decompression.

Filter objects are now created and owned by the archive_read core,
which attaches reblocking logic to the output of each one.  This
allows filters to use the read_ahead/consume protocol to pull data
from upstream filters (the client itself is also handled as a filter,
one with no upstream).  Peek/consume read semantics greatly simplify
bidding and should make it easier to handle other lookahead scenarios
such as concatenated gzip streams.

Bid protocol:
  * Filters install bidders into the core.
  * Bidder has a "bid" function which is handled an upstream filter to taste.
  * Core creates a filter object for the winner and allows the filter
    to initialize that object.
  * Core repeats the bid with the new filter to build out filter streams.

Filter protocol:
  * read() can use peek/consume to pull from upstream filter, returns
    arbitrary blocks
  * close() releases private data
  * Optional skip() seeks forward in the stream.

The core obviously provides a lot more support in the way of reblocking
logic so that downstream filters can use simple peek/consume semantics
while upstream filters can provide arbitrary blocks without regard
for downstream needs.  The lazy reblocking makes this pretty efficient
in practice.

Upcoming:  I think the core should provide a "prepare" stage that's called
before the first read.  Concatenated gzip streams would go back to prepare
after close.  It will require a little thought to properly separate the
init() and prepare() operations.

SVN-Revision: 364

16 years agoCatch up with a bunch of file renaming that occurred a little while back.
Tim Kientzle [Sun, 4 Jan 2009 01:50:15 +0000 (20:50 -0500)] 
Catch up with a bunch of file renaming that occurred a little while back.

SVN-Revision: 363

16 years agoMinor fix to argument parser.
Tim Kientzle [Sun, 4 Jan 2009 00:55:26 +0000 (19:55 -0500)] 
Minor fix to argument parser.

SVN-Revision: 362

16 years agoA better implementation of read() for Windows.
Tim Kientzle [Sat, 3 Jan 2009 05:56:45 +0000 (00:56 -0500)] 
A better implementation of read() for Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 361

16 years agoImplement ftruncate()
Tim Kientzle [Sat, 3 Jan 2009 05:55:34 +0000 (00:55 -0500)] 
Implement ftruncate()

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 360

16 years agoFix error handling. I was mistaken to use _dosmapper() function.
Tim Kientzle [Sat, 3 Jan 2009 05:54:28 +0000 (00:54 -0500)] 
Fix error handling. I was mistaken to use _dosmapper() function.
                              - Michihiro NAKAJIMA

SVN-Revision: 359

16 years agoOn Windows, throw a debug exception on a fatal internal error.
Tim Kientzle [Sat, 3 Jan 2009 02:48:46 +0000 (21:48 -0500)] 
On Windows, throw a debug exception on a fatal internal error.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 358

16 years agoCorrect test when bzip2 is unsupported.
Tim Kientzle [Sat, 3 Jan 2009 02:47:41 +0000 (21:47 -0500)] 
Correct test when bzip2 is unsupported.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 357

16 years agoEliminate another Windows special-case from archive_entry.c
Tim Kientzle [Sat, 3 Jan 2009 02:46:08 +0000 (21:46 -0500)] 
Eliminate another Windows special-case from archive_entry.c

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 356

16 years agoAllo cpio to compile without zlib or bzlib.
Tim Kientzle [Fri, 2 Jan 2009 07:27:18 +0000 (02:27 -0500)] 
Allo cpio to compile without zlib or bzlib.

SVN-Revision: 355

16 years agoCreate test_option_s to exercise basic -s handling.
Tim Kientzle [Thu, 1 Jan 2009 02:07:29 +0000 (21:07 -0500)] 
Create test_option_s to exercise basic -s handling.
In particular, add some checks for multiple -s options in order
to verify a bug reported where multiple -s options have no effect.

A bad typo was causing the substitution-matching loop to always exit
after checking the first match.

Fixed.

Thanks to Wayne Marshall for reporting this problem.

SVN-Revision: 354

16 years agoFix assertEmptyFile(): Count a missing file as a failure
Tim Kientzle [Thu, 1 Jan 2009 02:04:56 +0000 (21:04 -0500)] 
Fix assertEmptyFile(): Count a missing file as a failure
Fix assertFileContents(): A missing file is different from an empty file.

SVN-Revision: 353

16 years agoThe code to support concatenated gzip streams is broken and
Tim Kientzle [Thu, 1 Jan 2009 00:57:15 +0000 (19:57 -0500)] 
The code to support concatenated gzip streams is broken and
it breaks some non-concatenated streams.  So just disable this
by always marking EOF immediately when we hit the end of a
gzip stream.

SVN-Revision: 352

16 years agoUse a small synthetic block size when testing basic LZMA support.
Tim Kientzle [Wed, 31 Dec 2008 07:53:09 +0000 (02:53 -0500)] 
Use a small synthetic block size when testing basic LZMA support.

SVN-Revision: 351

16 years agoOn second thought, argc is silly.
Tim Kientzle [Wed, 31 Dec 2008 07:52:33 +0000 (02:52 -0500)] 
On second thought, argc is silly.

SVN-Revision: 350

16 years agoFix libarchive_test with no arguments.
Tim Kientzle [Wed, 31 Dec 2008 07:46:35 +0000 (02:46 -0500)] 
Fix libarchive_test with no arguments.

SVN-Revision: 349

16 years agoSkip testing character conversion failures on platforms
Tim Kientzle [Wed, 31 Dec 2008 07:20:56 +0000 (02:20 -0500)] 
Skip testing character conversion failures on platforms
where the "C" locale never generates such failures.
(Cygwin apparently has an overly-permissive "C" locale;
wctomb() never fails.)

SVN-Revision: 348

16 years agoMore coding style improvements to test cases.
Tim Kientzle [Wed, 31 Dec 2008 07:19:18 +0000 (02:19 -0500)] 
More coding style improvements to test cases.

SVN-Revision: 347

16 years agoStyle fixes to test case.
Tim Kientzle [Wed, 31 Dec 2008 07:18:02 +0000 (02:18 -0500)] 
Style fixes to test case.

SVN-Revision: 346

16 years agoStyle fix to test case.
Tim Kientzle [Wed, 31 Dec 2008 07:17:19 +0000 (02:17 -0500)] 
Style fix to test case.

SVN-Revision: 345

16 years agoMerge r343 from trunk, fixes Issue 1.
Tim Kientzle [Wed, 31 Dec 2008 07:07:58 +0000 (02:07 -0500)] 
Merge r343 from trunk, fixes Issue 1.

SVN-Revision: 344

16 years agoAllow __LA_SSIZE_T and __LA_INT64_T to leak out of archive.h, since
Tim Kientzle [Wed, 31 Dec 2008 07:05:10 +0000 (02:05 -0500)] 
Allow __LA_SSIZE_T and __LA_INT64_T to leak out of archive.h, since
they're needed to properly declare the I/O callbacks.

Fixes Issue 1: http://code.google.com/p/libarchive/issues/detail?id=1

SVN-Revision: 343

16 years agoIsolate some Win32 issues to the archive_windows.[ch] files.
Tim Kientzle [Wed, 31 Dec 2008 06:59:11 +0000 (01:59 -0500)] 
Isolate some Win32 issues to the archive_windows.[ch] files.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 342

16 years agoMinor fixes for Visual Studio.
Tim Kientzle [Wed, 31 Dec 2008 06:57:35 +0000 (01:57 -0500)] 
Minor fixes for Visual Studio.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 341

16 years agoIf zlib/bzlib don't exist, use stub implementations of
Tim Kientzle [Wed, 31 Dec 2008 06:56:54 +0000 (01:56 -0500)] 
If zlib/bzlib don't exist, use stub implementations of
archive_write_set_compression_gzip/archive_write_set_compression_bzip2
that always return errors.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 340

16 years agolibarchive/test/platform.c no longer exists; remove it from the Visual Studio solutio...
Tim Kientzle [Wed, 31 Dec 2008 06:54:24 +0000 (01:54 -0500)] 
libarchive/test/platform.c no longer exists; remove it from the Visual Studio solution files.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 339

16 years agoPROJECTS and NEWS updates.
Tim Kientzle [Mon, 29 Dec 2008 07:14:34 +0000 (02:14 -0500)] 
PROJECTS and NEWS updates.

SVN-Revision: 338

16 years agoVisual Studio lacks getopt(). Fortunately, the
Tim Kientzle [Mon, 29 Dec 2008 06:47:01 +0000 (01:47 -0500)] 
Visual Studio lacks getopt().  Fortunately, the
test suite only requires fairly basic argument parsing,
so just add the dozen lines needed to implement it from
scratch.

SVN-Revision: 337

16 years agosvn:ignore tweak
Tim Kientzle [Mon, 29 Dec 2008 02:42:20 +0000 (21:42 -0500)] 
svn:ignore tweak

SVN-Revision: 336

16 years agoDisable a number of tests on platforms that lack ZLib or BZLib.
Tim Kientzle [Mon, 29 Dec 2008 02:34:31 +0000 (21:34 -0500)] 
Disable a number of tests on platforms that lack ZLib or BZLib.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 335

16 years agoComment out some tests on WIN32
Tim Kientzle [Mon, 29 Dec 2008 02:33:03 +0000 (21:33 -0500)] 
Comment out some tests on WIN32

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 334

16 years agoDon't use a compressed file here; that allows us to test
Tim Kientzle [Mon, 29 Dec 2008 02:31:44 +0000 (21:31 -0500)] 
Don't use a compressed file here; that allows us to test
on platforms that don't have zlib.

SVN-Revision: 333

16 years agoVarious Windows fixes
Tim Kientzle [Mon, 29 Dec 2008 02:28:40 +0000 (21:28 -0500)] 
Various Windows fixes

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 332

16 years agoDon't try to fuzz files that libarchive on this platform cannot read.
Tim Kientzle [Mon, 29 Dec 2008 02:28:05 +0000 (21:28 -0500)] 
Don't try to fuzz files that libarchive on this platform cannot read.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 331

16 years agoCast away a compiler warning.
Tim Kientzle [Mon, 29 Dec 2008 02:25:29 +0000 (21:25 -0500)] 
Cast away a compiler warning.

SVN-Revision: 330

16 years agoDon't try to initialize an array to be empty.
Tim Kientzle [Mon, 29 Dec 2008 02:23:33 +0000 (21:23 -0500)] 
Don't try to initialize an array to be empty.

SVN-Revision: 329

16 years agoCast away some more compile warnings.
Tim Kientzle [Mon, 29 Dec 2008 02:21:51 +0000 (21:21 -0500)] 
Cast away some more compile warnings.

SVN-Revision: 328

16 years agoDisable Zip read test on Windows.
Tim Kientzle [Mon, 29 Dec 2008 02:20:40 +0000 (21:20 -0500)] 
Disable Zip read test on Windows.

SVN-Revision: 327

16 years agoWe can't test Zip support without ZLIB.
Tim Kientzle [Mon, 29 Dec 2008 02:20:06 +0000 (21:20 -0500)] 
We can't test Zip support without ZLIB.

SVN-Revision: 326

16 years agoDon't test disk permission restore on Win32; it's known to be broken.
Tim Kientzle [Mon, 29 Dec 2008 02:19:36 +0000 (21:19 -0500)] 
Don't test disk permission restore on Win32; it's known to be broken.

SVN-Revision: 325

16 years agoCast away some compile errors.
Tim Kientzle [Mon, 29 Dec 2008 02:18:48 +0000 (21:18 -0500)] 
Cast away some compile errors.

SVN-Revision: 324

16 years agoFix the open file flags.
Tim Kientzle [Mon, 29 Dec 2008 02:18:10 +0000 (21:18 -0500)] 
Fix the open file flags.

SVN-Revision: 323

16 years agoSince this test doesn't use compressed reference files,
Tim Kientzle [Mon, 29 Dec 2008 02:17:33 +0000 (21:17 -0500)] 
Since this test doesn't use compressed reference files,
it's no longer conditional on zlib.

SVN-Revision: 322

16 years agoSwitch sparse gtar extraction test to use uncompressed archives,
Tim Kientzle [Mon, 29 Dec 2008 02:16:33 +0000 (21:16 -0500)] 
Switch sparse gtar extraction test to use uncompressed archives,
so this can be verified on platforms without zlib support.

SVN-Revision: 321

16 years agoCast away some compile warnings.
Tim Kientzle [Mon, 29 Dec 2008 02:10:39 +0000 (21:10 -0500)] 
Cast away some compile warnings.
Clean up a stray archive_entry on premature exit.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 320

16 years agoSkip gzip/bzip2 tests on platforms where they're not supported.
Tim Kientzle [Mon, 29 Dec 2008 02:05:30 +0000 (21:05 -0500)] 
Skip gzip/bzip2 tests on platforms where they're not supported.

SVN-Revision: 319

16 years agoCast away a type warning
Tim Kientzle [Mon, 29 Dec 2008 02:00:41 +0000 (21:00 -0500)] 
Cast away a type warning

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 318

16 years agoCompatibility, based on Windows compatibility fixes from Michihiro NAKAJIMA:
Tim Kientzle [Mon, 29 Dec 2008 01:59:44 +0000 (20:59 -0500)] 
Compatibility, based on Windows compatibility fixes from Michihiro NAKAJIMA:
 * We don't actually need the name we were run as; we can just use our expected program name (removes need to parse argv[0])
 * Add some platform-specific setup on Windows
 * Use getcwd() instead of trying to fork pwd shell command; this may need a bit more tweaking on Windows

SVN-Revision: 317

16 years agoDon't require gzip support for this test.
Tim Kientzle [Mon, 29 Dec 2008 01:57:21 +0000 (20:57 -0500)] 
Don't require gzip support for this test.

SVN-Revision: 316

16 years agoTest 'ar' read/write even on platforms that lack gzip/bzip2 support.
Tim Kientzle [Mon, 29 Dec 2008 01:55:50 +0000 (20:55 -0500)] 
Test 'ar' read/write even on platforms that lack gzip/bzip2 support.

SVN-Revision: 315

16 years agoCast away a few compiler warnings from Visual Studio
Tim Kientzle [Mon, 29 Dec 2008 01:20:20 +0000 (20:20 -0500)] 
Cast away a few compiler warnings from Visual Studio

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 314

16 years agoCast away some compiler warnings from Visual Studio
Tim Kientzle [Mon, 29 Dec 2008 01:19:21 +0000 (20:19 -0500)] 
Cast away some compiler warnings from Visual Studio

SVN-Revision: 313

16 years agoDon't put temp files directly into /tmp; the test
Tim Kientzle [Mon, 29 Dec 2008 01:18:31 +0000 (20:18 -0500)] 
Don't put temp files directly into /tmp; the test
harness has already created and chdir() into a suitable
temporary directory.

SVN-Revision: 312

16 years agoSkip compression test via external program if this support
Tim Kientzle [Mon, 29 Dec 2008 01:15:42 +0000 (20:15 -0500)] 
Skip compression test via external program if this support
isn't compiled into libarchive.

SVN-Revision: 311

16 years agoCast away a sign mismatch.
Tim Kientzle [Mon, 29 Dec 2008 01:13:04 +0000 (20:13 -0500)] 
Cast away a sign mismatch.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 310

16 years agoSkip this test if bzip2 decompression isn't compiled into
Tim Kientzle [Mon, 29 Dec 2008 01:12:17 +0000 (20:12 -0500)] 
Skip this test if bzip2 decompression isn't compiled into
libarchive.

SVN-Revision: 309

16 years agoIf archive_read_support_compression_program() is unsupported
Tim Kientzle [Mon, 29 Dec 2008 01:09:10 +0000 (20:09 -0500)] 
If archive_read_support_compression_program() is unsupported
on this platform, warn and continue.

SVN-Revision: 308

16 years agoCast away a sign mismatch.
Tim Kientzle [Mon, 29 Dec 2008 01:04:45 +0000 (20:04 -0500)] 
Cast away a sign mismatch.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 307

16 years agoCan't test hardlink handling on Windows.
Tim Kientzle [Mon, 29 Dec 2008 01:04:07 +0000 (20:04 -0500)] 
Can't test hardlink handling on Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 306

16 years agoMissing cast.
Tim Kientzle [Mon, 29 Dec 2008 01:00:42 +0000 (20:00 -0500)] 
Missing cast.

SVN-Revision: 305

16 years agoFix time restores and sparse file restores on Windows.
Tim Kientzle [Mon, 29 Dec 2008 00:47:19 +0000 (19:47 -0500)] 
Fix time restores and sparse file restores on Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 304

16 years agoUse native conversion functions on Windows which
Tim Kientzle [Mon, 29 Dec 2008 00:45:58 +0000 (19:45 -0500)] 
Use native conversion functions on Windows which
handle UTF-16 encoding correctly.

I have two concerns about the current code:
 * Windows isn't unique in using UTF-16.  Its just a
   couple lines of code to combine surrogate pairs
   prior to converting to UTF-8.  Its another couple
   of lines to expand surrogate pairs when converting
   from UTF-8 (but only if sizeof(wchar_t) == 2).
 * mbtowc() isn't thread-safe.  Although there are
   parts of libarchive that aren't thread safe---in
   particular, archive_write_disk has some umask()
   and chdir() calls that are hard to avoid---most
   of libarchive can be made thread safe with a little
   care.  I originally switched this code to mbtowc()
   style for reasons of portability and error handling,
   so some care is needed.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 303

16 years agoHandle surrogate pairs properly when encoding UTF-8.
Tim Kientzle [Mon, 29 Dec 2008 00:36:39 +0000 (19:36 -0500)] 
Handle surrogate pairs properly when encoding UTF-8.
In particular, this gives us correct encoding of non-BMP
values on platforms such as Windows whose native wide
character representation is UTF-16.

Suggested by: Michihiro NAKAJIMA

SVN-Revision: 302

16 years agoUse MultiByteToWideChar() on Windows instead of mbstowcs().
Tim Kientzle [Mon, 29 Dec 2008 00:24:22 +0000 (19:24 -0500)] 
Use MultiByteToWideChar() on Windows instead of mbstowcs().
I'm not yet convinced about this approach.  Microsoft documents
mbstowcs(); I'd prefer to avoid platform conditionals.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 301

16 years agofutimes() and utimes() emulations for Windows.
Tim Kientzle [Mon, 29 Dec 2008 00:21:35 +0000 (19:21 -0500)] 
futimes() and utimes() emulations for Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 300

16 years agoCorrect ssize_t for 32-bit and 64-bit Windows
Tim Kientzle [Mon, 29 Dec 2008 00:16:37 +0000 (19:16 -0500)] 
Correct ssize_t for 32-bit and 64-bit Windows

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 299

16 years agoVisual Studio supports futimes() and utimes() functions.
Tim Kientzle [Mon, 29 Dec 2008 00:15:18 +0000 (19:15 -0500)] 
Visual Studio supports futimes() and utimes() functions.
Define ssize_t correctly on 32-bit and 64-bit Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 298

16 years agoUpdated Visual Studio solution files, including
Tim Kientzle [Mon, 29 Dec 2008 00:13:57 +0000 (19:13 -0500)] 
Updated Visual Studio solution files, including
projects for libarchive_test.  I'm still working
through the rest of Michihiro's fixes for getting
libarchive_test working under Visual Studio.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 297

16 years agoMerge r294 from trunk: Fix test on Cygwin.
Tim Kientzle [Sun, 28 Dec 2008 23:57:05 +0000 (18:57 -0500)] 
Merge r294 from trunk:  Fix test on Cygwin.

SVN-Revision: 296

16 years agoLibarchive 2.6 v2.6.0
Tim Kientzle [Sun, 28 Dec 2008 23:55:11 +0000 (18:55 -0500)] 
Libarchive 2.6

SVN-Revision: 295

16 years agoSkip a test for handling of invalid characters if the
Tim Kientzle [Sun, 28 Dec 2008 23:54:08 +0000 (18:54 -0500)] 
Skip a test for handling of invalid characters if the
local platform's "C" locale has no invalid characters.
In particular, this fixes libarchive_test on Cygwin.

SVN-Revision: 294

16 years agoBranch libarchive 2.6 for release
Tim Kientzle [Sun, 28 Dec 2008 20:07:26 +0000 (15:07 -0500)] 
Branch libarchive 2.6 for release

SVN-Revision: 293

16 years agosvn:ignore updates
Tim Kientzle [Sun, 28 Dec 2008 20:03:59 +0000 (15:03 -0500)] 
svn:ignore updates

SVN-Revision: 291

16 years agoFill in missing doc/man and doc/text directories
Tim Kientzle [Sun, 28 Dec 2008 19:49:01 +0000 (14:49 -0500)] 
Fill in missing doc/man and doc/text directories

SVN-Revision: 290

16 years agoIFC
Tim Kientzle [Sat, 27 Dec 2008 22:06:46 +0000 (17:06 -0500)] 
IFC

SVN-Revision: 289

16 years agoIFC: Various style corrections to libarchive_test: Use more
Tim Kientzle [Sat, 27 Dec 2008 22:06:33 +0000 (17:06 -0500)] 
IFC: Various style corrections to libarchive_test:  Use more
informative assertXxxx macros; rework some tests so they give
up before failures get out of hand.

SVN-Revision: 288

16 years agoIFC: Reword an 'ar' error message
Tim Kientzle [Sat, 27 Dec 2008 22:04:38 +0000 (17:04 -0500)] 
IFC: Reword an 'ar' error message

SVN-Revision: 287

16 years agoIFC: libarchive_test now understands FreeBSD's /usr/obj convention.
Tim Kientzle [Sat, 27 Dec 2008 22:03:55 +0000 (17:03 -0500)] 
IFC: libarchive_test now understands FreeBSD's /usr/obj convention.

SVN-Revision: 286

16 years agoIFC: Spell "substitution"
Tim Kientzle [Sat, 27 Dec 2008 22:02:39 +0000 (17:02 -0500)] 
IFC: Spell "substitution"

SVN-Revision: 285

16 years ago2.5.905a with a couple of Cygwin fixes
Tim Kientzle [Sat, 27 Dec 2008 22:00:48 +0000 (17:00 -0500)] 
2.5.905a with a couple of Cygwin fixes

SVN-Revision: 284

16 years agoThe EXT2 ioctls are used on Linux to get/set file flags.
Tim Kientzle [Thu, 25 Dec 2008 14:41:32 +0000 (09:41 -0500)] 
The EXT2 ioctls are used on Linux to get/set file flags.
The header defining these exists on some Cygwin installations,
but it's broken.  I don't think Cygwin supports these ioctls
anyway, so I don't see any point in including the header there.
Someone with more autoconf-fu than I have probably knows a better
solution to this problem.

SVN-Revision: 283

16 years agoStraighten out the close handling. archive_read_close() now
Tim Kientzle [Thu, 25 Dec 2008 14:31:49 +0000 (09:31 -0500)] 
Straighten out the close handling.  archive_read_close() now
walks the decompression filter list, invoking the close handler
on each one.  In particular, this means that the compress handler
should not recursively invoke close on it's source.

SVN-Revision: 282

16 years agoClose a temporary file handle.
Tim Kientzle [Thu, 25 Dec 2008 14:30:17 +0000 (09:30 -0500)] 
Close a temporary file handle.

SVN-Revision: 281

16 years agoWarn about file descriptors (other than stdio) left open after
Tim Kientzle [Thu, 25 Dec 2008 14:29:38 +0000 (09:29 -0500)] 
Warn about file descriptors (other than stdio) left open after
a test.  This should detect various close failures.

SVN-Revision: 280

16 years agoIf conversion from UTF8 fails, don't mark Unicode as available.
Tim Kientzle [Mon, 22 Dec 2008 21:00:05 +0000 (16:00 -0500)] 
If conversion from UTF8 fails, don't mark Unicode as available.
Submitted by: Michihiro NAKAJIMA

SVN-Revision: 279

16 years agoReduce the number of file patterns tested from 200 to 170.
Tim Kientzle [Sun, 21 Dec 2008 19:02:56 +0000 (14:02 -0500)] 
Reduce the number of file patterns tested from 200 to 170.
This seems to be necessary in order to run the tests on Cygwin. (?)
Submitted by: Michihiro NAKAJIMA

SVN-Revision: 278