Andy McFadden
56379e1db4
Automatically detect and handle "bad Mac" archives.
2007-02-19 22:37:59 +00:00
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
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
3ccb2c16f1
Fixed a couple of obscure bugs that cropped up when trying to recompress
...
a GSHK-added zero-byte file with a "fake" thread.
2004-08-22 23:59:47 +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
36f47b866c
Fixed a bug related to "mask dataless" mode where archives weren't getting
...
reconstructed properly.
Altered "fake" thread initialization to have a *really* invalid file offset
in case somebody tries to use it for math.
2003-02-24 06:31:11 +00:00
Andy McFadden
104f34629c
Fixed a bug in Nu_RecordSet_MoveAllRecords() that left origRecordSet in
...
an unhappy state after deleting a record. Added a bunch of asserts to
catch similar problems in the future.
2003-02-23 01:09:20 +00:00
Andy McFadden
e546f96f9a
Added NuTestRecord().
2003-02-23 00:31:32 +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
ba99fa7372
Updated copyright notices.
2003-02-08 22:43:24 +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
64828a4fc6
Changed a printf() to a DBUG().
2002-10-19 01:09:58 +00:00
Andy McFadden
8fefff8cfa
Update copyright notices and legalese.
2002-10-11 20:15:50 +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
afe82def33
Changed FakeZeroExtract from a "mimic SHK" feature to a generally
...
supported bug workaround.
2002-10-08 23:57:41 +00:00
Andy McFadden
771144bcea
Fixed "assert" vs "Assert", some naming convention lapses, and a
...
possible gotcha in the Squeeze code.
2002-09-28 00:57:36 +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