Commit Graph

28 Commits

Author SHA1 Message Date
Andy McFadden
1d2be9c9ab Updated copyrights to 2006. 2006-02-19 01:23:27 +00:00
Andy McFadden
8e31d94585 Updated copyright notices. 2005-09-18 02:41:31 +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
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
cfa822040a Minor tweaks. Upped version to v2.0.3. 2004-08-23 00:00:10 +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
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
ada1d8de04 Fixed a bug that would cause things to go south if you added files in
a certain pattern.  The problem was an uninitialized "fakeThreads".

Added some comments and tweaked an error message while I was at it.
2003-03-11 22:11:22 +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
7469f782cb Added kNuErrFileAccessDenied. Return it when OpenRW fails with an
access permission problem, so that an application can follow it with
an OpenRO call for read-only files.
2003-02-27 21:33:29 +00:00
Andy McFadden
b486e6e328 Rearranged for comment-correctness. 2003-02-23 23:37:31 +00:00
Andy McFadden
e546f96f9a Added NuTestRecord(). 2003-02-23 00:31:32 +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
ba99fa7372 Updated copyright notices. 2003-02-08 22:43:24 +00:00
Andy McFadden
6f418b9d5c Upped version to v2.0.0. 2003-02-08 22:18:17 +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
b9c91715f2 Added access bit values to comment. 2002-12-27 22:51:47 +00:00
Andy McFadden
4c7aee4815 Made a number of changes to allow NufxLib to be used as a Win32 DLL. 2002-12-06 01:04:20 +00:00
Andy McFadden
8fefff8cfa Update copyright notices and legalese. 2002-10-11 20:15:50 +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
d41016e6c1 Added support for compressing data with libbz2. Disabled by default.
Generalized compression method enable/disable.  Now any method can be
removed.  Applications can call NuTestFeature() to figure out what is
supported by the copy of NufxLib they're linked against.
2002-10-09 23:12:06 +00:00
Andy McFadden
550ff22758 Added Binary II support. For NufxLib this is really just a new error
code that gets returned when we identify an archive as BNY.
2002-10-09 00:16:27 +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
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
768a224513 Reformatted files to use spaces instead of hard tabs. No substantitve changes. 2002-09-21 00:49:42 +00:00
cvs
5615fa90d4 Imported sources. 2000-05-23 01:55:31 +00:00