Commit Graph

10 Commits

Author SHA1 Message Date
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
8fefff8cfa Update copyright notices and legalese. 2002-10-11 20:15:50 +00:00
Andy McFadden
e08ee80f12 Show the right error message when open/fdopen fails to open a temp
file because it already exists.
2002-10-10 00:46:03 +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
df3b8cc850 Reduced complaints when opening a non-NuFX archive file. 2002-10-01 00:50:07 +00:00
Andy McFadden
9d12532e6c GS/ShrinkIt appears to update some of the archive header fields while it
is in the process of compressing the data.  By writing to an AppleTalk
network and copying the archive while it was being written, I wound up
with an archive that appeared complete but was actually truncated.  We
now try to detect that case, and the compression code will spit back an
error instead of an assertion failure.
2002-09-23 23:56:50 +00:00
Andy McFadden
6dbf0dced9 Fixed minor bugs when trying to open a file that doesn't actually contain
an archive.  Spotted by valgrind.
2002-09-23 20:32:26 +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