Commit Graph

113 Commits

Author SHA1 Message Date
Andy McFadden
2b5c399f78 Updated version to v2.1.1. 2006-02-19 01:31:34 +00:00
Andy McFadden
1d2be9c9ab Updated copyrights to 2006. 2006-02-19 01:23:27 +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
8e31d94585 Updated copyright notices. 2005-09-18 02:41:31 +00:00
Andy McFadden
59a4d5be01 Updated with latest from http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/. 2005-09-18 02:39:42 +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
d8b35fd9c6 Fix build with gcc v4.0 (FC4). 2005-09-18 01:12:31 +00:00
Andy McFadden
5b1f00dd9d Upgraded to most recent autoconf. Un-nested some directives.
Fixed some compiler warnings from FileIO.c.
2004-10-11 21:30:11 +00:00
Andy McFadden
e67a0318fa Updated autoconf scripts. 2004-10-11 19:54:17 +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
cfa822040a Minor tweaks. Upped version to v2.0.3. 2004-08-23 00:00:10 +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
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
47d3e33265 Use umask in chmod call when fixing permissions on "locked" files we're
extracting.  (Still need to verify this works right under Win32.)
2004-03-09 18:29:11 +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
5f93a26aac Add "-framework Carbon" to link lines for Mac OS X systems. 2003-06-21 19:00:36 +00:00
Andy McFadden
bc8be06484 Converted some tabs to spaces. 2003-06-20 22:52:00 +00:00
Andy McFadden
056e4facca From Eric Shepherd: changes to support resource forks and file/creator types
under Mac OS X.
2003-06-20 22:51:29 +00:00
Andy McFadden
cc8f289f09 Updated for v2.0.0 release. 2003-03-19 01:24:46 +00:00
Andy McFadden
9d3ed51005 Catch bad codes immediately. 2003-03-14 17:30:16 +00:00
Andy McFadden
4d194464db Updated with latest from ftp://ftp.gnu.org/pub/gnu/config/
(filestamp 2003/02/22).
2003-03-12 02:46:20 +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
fa2bd0b91b Make MSC happy and warning-free. 2003-03-11 22:09:16 +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
4c253ada9f Updated remark about zlib.dll. 2003-03-10 23:04:26 +00:00
Andy McFadden
14edb498a9 Remove a wayward tab. 2003-03-10 23:02:48 +00:00
Andy McFadden
ab82bd2b4a Added more detail for a funky error state. 2003-03-10 02:39:33 +00:00
Andy McFadden
2ba8f133b6 Define ZLIB_DLL when we're including ZLIB. If an application is including
nufxlib as a DLL, it probably wants to include zlib as a DLL too, rather
than having it statically embedded in nufxlib.
2003-03-09 03:37:06 +00:00
Andy McFadden
4c24cb0c9f Initialize the "local" error handler to the "global" error handler, so
that errors that arise when opening an archive don't get sent to the
uninitialized local handler.
2003-03-09 03:35:24 +00:00
Andy McFadden
38dafdc774 The "actualThreadEOF" value was getting set incorrectly on newly-added
message threads.  This didn't cause any problems with the archive, but
if you extracted the thread in question without reopening the archive
you ended up getting the whole pre-sized buffer instead of just the part
with data in it.

Load the TOC if needed in Nu_ExtractThread.

When thread extraction fails, don't send an update to the progress
updater if there isn't a progress updater.
2003-03-06 01:37:47 +00:00
Andy McFadden
16460a8d2e Show all failing CRCs.
Added note to README regarding expected failures with "version 1" records.
2003-03-06 01:34:45 +00:00
Andy McFadden
74921ad1c1 Minor tweaks to MSC makefiles. 2003-03-06 01:06:16 +00:00
Andy McFadden
ed801422af Add major version number to library names, so now we have nufxlib2.lib
and nufxlib2.dll.  This allows the possibility of having multiple
(incompatible) versions of the DLL installed in a common location, so
that older and newer apps can coexist peacefully.
2003-02-27 21:35:42 +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
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
cb96779bd7 Make test-twirl work under Win32. 2003-02-24 03:48:05 +00:00
Andy McFadden
16234a46d1 Added test-twirl to samples. 2003-02-23 23:46:47 +00:00
Andy McFadden
47e930c7dd Altered ThreadMod output slightly. 2003-02-23 23:38:30 +00:00
Andy McFadden
b486e6e328 Rearranged for comment-correctness. 2003-02-23 23:37:31 +00:00
Andy McFadden
bee5e41cec Removed cruft. 2003-02-23 23:36:22 +00:00
Andy McFadden
53bb12944c Tightened up error handling on some internal-error failures. 2003-02-23 19:14:44 +00:00
Andy McFadden
693ddd6d61 Added "tr" command (NuTestRecord). 2003-02-23 19:13:58 +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
3c2721d6f8 The thread header CRC computation was broken for LZW/1. 2003-02-23 01:23:02 +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