Commit Graph

29 Commits

Author SHA1 Message Date
Andy McFadden
56379e1db4 Automatically detect and handle "bad Mac" archives. 2007-02-19 22:37:59 +00:00
Andy McFadden
2b5c399f78 Updated version to v2.1.1. 2006-02-19 01:31:34 +00:00
Andy McFadden
038843ddb2 Fix a wayward assert. 2006-02-19 01:17:20 +00:00
Andy McFadden
2668ef672a Update for v2.1.0. 2005-09-18 06:59:53 +00:00
Andy McFadden
987ce8855e Added support for "ignore LZW/II length" flag.
Now at version 2.1.0.
2005-09-18 02:18:10 +00:00
Andy McFadden
2bf07c92bb Updated ChangeLog for v2.0.3 release.
Removed occurrence of "ushort", which isn't supposed to be used in
public headers.
2004-10-11 19:43:31 +00:00
Andy McFadden
c72e15d854 Fixed a bug that cropped up when trying to add files after deleting all
existing entries.
2004-09-26 00:59:28 +00:00
Andy McFadden
1ba9153d5c Fixed behavior when Flush to temp file succeeds but original archive file
can't be removed.

Added two entries to kNuAttr* table.
2004-09-20 23:13:28 +00:00
Andy McFadden
bb09a12f75 Updated copyright notices (from 2003 to 2004).
Incremented version to 2.0.2.
2004-03-10 21:26:29 +00:00
Andy McFadden
1af00b27d0 Allow archives with MasterEOF==0, since it appears an old version of
ShrinkIt created them.  We continue to block MasterEOF==48, which was
the original cause for concern.
2004-03-09 18:31:22 +00:00
Andy McFadden
68193a70c3 Added workaround for malformed HFS option lists.
Added support for skipping junk found at the start of an archive file.
2003-10-16 22:28:19 +00:00
Andy McFadden
49053fe654 From Eric Shepherd: updates to documentation. 2003-06-24 20:40:28 +00:00
Andy McFadden
cc8f289f09 Updated for v2.0.0 release. 2003-03-19 01:24:46 +00:00
Andy McFadden
23e5a88e4d Added support for automatic high-ASCII text stripping. The behavior
is activated by a feature flag (default off), and only kicks in when
EOL conversion is on for the file in question.
2003-03-10 23:05:48 +00:00
Andy McFadden
16234a46d1 Added test-twirl to samples. 2003-02-23 23:46:47 +00:00
Andy McFadden
b5a25968d6 Fixed a rare bug. Put two files in an archive, recompress them (use
exerciser dt/at after sev 2 10), flush, then delete the first one and
flush.  The archive gets trashed, because the record's fileOffset wasn't
getting updated properly.
2003-02-23 03:26:37 +00:00
Andy McFadden
fa1222be3d Switch to case-insensitive filename comparisons. This only affects the
comparison between an existing record and a new record being added.
2003-02-18 22:19:17 +00:00
Andy McFadden
56a96dc7eb Added "original pathname" fields to NuFileDetails and NuErrorStatus.
Changed callback setters to return NuCallback instead of NuError.
2003-02-18 21:43:46 +00:00
Andy McFadden
1169554de3 Changed the DataSource API to take resource release callback pointers
instead of a "doClose" argument.  NufxLib should no longer try to free
anything allocated by the application (or vice-versa).

The DataSource "copy" function now does refcounting instead of copying.
This was done as part of cleaning up some memory leaks in the DataSource
code.

The samples were all updated with the changes to the API (and the
occasional minor valgrind-inspired bug fix).
2003-02-09 01:53:51 +00:00
Andy McFadden
3841a233b2 Added support for kNuValMaskDataless, which hides records with no data
threads by giving them an empty data fork (and, if it's an extended
file, an empty resource fork).  This allows applications to simply
ignore the bogus records and let NufxLib do the dirty work.

Fixed dataless thread handling for the original (non-masked) case.  We
weren't creating empty resource forks when required, so a dataless
record with a forked-file storage type wouldn't be recreated properly
if extracted and then added.

Added version numbers to the public header, so applications can test
for "compiled" version vs "linked" version.
2003-01-10 22:47:24 +00:00
Andy McFadden
8fe2f00cb7 Release 1.1.0. 2002-10-21 01:56:05 +00:00
Andy McFadden
6e51e34904 Allow deletion of all records. We mark the archive as brand-new in
this case, so that closing the archive after doing so results in the
file being removed.
2002-10-10 18:36:30 +00:00
Andy McFadden
5f1eabc896 Various minor tweaks. Renamed the "HuffmanSQ" feature test to just "SQ". 2002-10-10 00:50:37 +00:00
Andy McFadden
cb401c7280 Added optional support for zlib deflate compression. The auto-config
checks for the presence of both "-lz" and "zlib.h".

Made various minor tweaks.
2002-10-01 01:05:42 +00:00
Andy McFadden
18a61d2d31 Added support for 12-bit and 16-bit LZC (UNIX "compress") compression format. 2002-09-28 00:56:08 +00:00
Andy McFadden
da51322d48 Added support for SQueeze compression format (both compress and expand).
Twiddled some comments in random places.
2002-09-26 22:11:12 +00:00
Andy McFadden
d6a5154b60 Reformatted files to use spaces instead of hard tabs. No substantitve changes. 2002-09-21 00:59:25 +00:00
Andy McFadden
342e08493b Fix broken 140K DOS3.3 disk archives created by old GSHK.
Version upped to v1.0.1.
2000-05-23 01:59:41 +00:00
cvs
5615fa90d4 Imported sources. 2000-05-23 01:55:31 +00:00