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
804ca87a19
Looks like I forgot to re-run autoconf after changing "darwin6" to "darwin"
...
in configure.in.
2004-03-18 17:22:09 +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
cd1f9e78a1
Twiddled some comments and upped the version to match NufxLib (v2.0.1).
2003-10-16 22:25:26 +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
1d38e11b9d
Minor tweaks.
2003-03-19 03:03:07 +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
80c9b78516
The test for really long filename extensions was broken.
2003-03-12 02:39:43 +00:00
Andy McFadden
486cae404e
Removed wayward ^M.
2003-03-11 22:11:30 +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
472f7dceb0
Enable kNuValueStripHighASCII.
2003-03-10 23:01:44 +00:00
Andy McFadden
575f591f69
Corrected off-by-one error in ProDOS day and month conversion.
2003-03-10 02:40:44 +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
8b44f2a7b2
Minor tweaks to MSC makefile.
2003-03-06 01:06:07 +00:00
Andy McFadden
49f396f5c3
Link against nufxlib2.lib instead of nufxlib.lib.
2003-02-27 21:36:35 +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
Andy McFadden
e546f96f9a
Added NuTestRecord().
2003-02-23 00:31:32 +00:00
Andy McFadden
a55cfee11f
Turn off EOL conversion when extracting disk images.
2003-02-23 00:31:02 +00:00
Andy McFadden
da714d7c9b
Switch to case-insensitive filename comparisons. This matters most when
...
extracting or deleting files by name.
2003-02-18 22:20:30 +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
fde7b9b18c
Resurrected HandleAddNotFound(). Updated callback setters for changed
...
semantics (return of NuCallback rather than NuError). Initialize the
new origName field.
2003-02-18 21:50:55 +00:00