Commit Graph

71 Commits

Author SHA1 Message Date
Andy McFadden
ba99fa7372 Updated copyright notices. 2003-02-08 22:43:24 +00:00
Andy McFadden
0d053dca09 Upped version number to v2.0.0.
Fixed filename conversion issues.  Specifically:
 - Correctly handle '%' when preservation is OFF.
 - Accept 4-character extensions in '-ee' without risk of buffer overflow.
 - Fixed broken assert when converting long %xx names.
 - Store "AUX" as "%00AUX" when preserving names under Win32 (vs. "_AUX").
 - Always store files with ':' as path separator.
 - Recognize that some Win32 variants (Win2K and later at the least) will
   accept both '/' and '\' as pathname separators.
 - Correctly convert ".//foo" to "foo" instead of "/foo".

Corrected definition of F_OK under Win32.
2003-02-08 22:35:31 +00:00
Andy McFadden
861eb84b4d Added support for kNuProgressAborted. 2003-02-08 22:30:30 +00:00
Andy McFadden
5ce040cbdc Build "nufxlibD.lib" for debug builds of the DLL, because they link
against a debug version of the MSC library that isn't present on
non-developer systems.  The goal is to make it obvious which one
is in use.
2003-02-08 22:22:49 +00:00
Andy McFadden
dbf47b585f Added "abort" to progress states, so user cancellations can be reported
properly.
2003-02-08 22:19:50 +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
5f9ad84311 Added Version.c.in handling. 2003-01-10 22:42:44 +00:00
Andy McFadden
122bb55030 Added a comment so "grep" makes more sense. 2003-01-10 22:42:01 +00:00
Andy McFadden
cd2b892b07 Updated displayed copyright notice. Added compiled-vs-linked version
test.  Added (commented out) enabling of kNuValueMaskDataless.
2003-01-10 22:41:20 +00:00
Andy McFadden
5c0f57cf71 Implemented "percentComplete" field in progress update. 2002-12-28 03:10:09 +00:00
Andy McFadden
b9c91715f2 Added access bit values to comment. 2002-12-27 22:51:47 +00:00
Andy McFadden
c3484de282 GSHK archives empty files without storing any threads. Instead of
displaying these as having file type "???", display the actual filetype
followed by a hyphen, e.g. "S16-".  Compare to forked files, which look
like "S16+".
2002-12-19 23:24:56 +00:00
Andy McFadden
42b9706436 Changed F_OK for Windows from 02 to 0. 2002-12-19 23:21:32 +00:00
Andy McFadden
580b04378c Added /D DEBUG_MSGS to DLL debug builds. 2002-12-13 17:47:53 +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
fef1a7bed5 Point at Makefile.msc comments. 2002-12-06 00:54:29 +00:00
Andy McFadden
049d906bd5 Updates for Win32 DLL build. 2002-12-06 00:53:10 +00:00
Andy McFadden
b5c3d4e358 Don't "cheat" and use Nu_strcasecmp(), since it's not part of the formal
export list.
2002-12-06 00:49:22 +00:00
Andy McFadden
321392dbba Fixed weird typo ("failed" -> faileded").
Added annotation to messages from global error handler.
2002-12-05 22:19:22 +00:00
Andy McFadden
8fe2f00cb7 Release 1.1.0. 2002-10-21 01:56:05 +00:00
Andy McFadden
3155093a94 Updated verbose help text. 2002-10-19 01:10:19 +00:00
Andy McFadden
64828a4fc6 Changed a printf() to a DBUG(). 2002-10-19 01:09:58 +00:00
Andy McFadden
a45ee42376 Added a copy of the Win32 README.
Updated the distribution scripts.
2002-10-12 00:28:21 +00:00
Andy McFadden
8b14fdaef8 If FunnelWrite was called with >16K of data at a point when it had none
buffered, the progress updater (which was only called from FunnelFlush)
would never get called.  It turns out "deflate" expansion hits this case
every time.
2002-10-11 21:57:38 +00:00
Andy McFadden
8fefff8cfa Update copyright notices and legalese. 2002-10-11 20:15:50 +00:00
Andy McFadden
af503787ad Updated copyright notices and legalese. 2002-10-11 20:13:25 +00:00
Andy McFadden
b72e469104 Minor tweaks to help text. Set version to 1.1.0. 2002-10-11 19:45:29 +00:00
Andy McFadden
deb3fb24d0 Made some decent descriptions for the "-h" command. 2002-10-11 01:51:43 +00:00
Andy McFadden
1c13da384c Fix for Win32 build. 2002-10-11 01:19:25 +00:00
Andy McFadden
bd3eef768e Minor tweaks, primarily to get the Win32 build working. 2002-10-10 23:45:56 +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
91248976d7 Fixed up the usage info for "launder". 2002-10-10 16:01:14 +00:00
Andy McFadden
7e0ad70cc2 When using "junk paths", don't create directories. 2002-10-10 15:50:51 +00:00
Andy McFadden
717937b571 Tracking minor tweak to feature test enum. 2002-10-10 00:50:55 +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
a57143a439 Added "-m" flag so you can specify compression method. Made the usage
output more useful.
2002-10-10 00:49:52 +00:00
Andy McFadden
ec6021afa8 Fixed a bug in CRC handling when using LZW/1. 2002-10-10 00:46:58 +00:00
Andy McFadden
0b7151b6f5 Fixed error message text. 2002-10-10 00:46:16 +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
edc69e56ca Added support for bzip2 compression.
Use NuTestFeature to determine which compression methods are available.
2002-10-09 23:12:33 +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
21c4d9027a Remove the trailing ".QQ" from squeezed files before extracting.
Fail if the user tries to extract comments from a Binary II archive
(with the "-c flag).
2002-10-09 00:38:37 +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
a9ad3e7a3e Added Binary II support. It's not quite seamless, but it's a lot
better than what the original NuLib offered.

Wrote first cut at verbose "help" output.
2002-10-09 00:15:24 +00:00
Andy McFadden
46c7579f57 Minor tweaks, mostly to comments and "assert" vs "Assert". 2002-10-09 00:04:18 +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
87c6550f15 Minor tweaks, mostly to comments. 2002-10-08 23:56:38 +00:00
Andy McFadden
656b2b0a33 Looks like the LZW patent doesn't expire until June 2003. Updated the
comment to reflect this.
2002-10-06 00:25:53 +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