Commit Graph

238 Commits

Author SHA1 Message Date
Andy McFadden 6389da041b When extracting disk images with "-ee", append ".PO" to filename. 2003-02-18 21:49:25 +00:00
Andy McFadden 8b0b89b5d4 Renamed SetFileDetails to GetFileDetails. 2003-02-18 21:46:52 +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 f75f26b69b Updated for new callback setter return type. 2003-02-18 21:41:10 +00:00
Andy McFadden e9b4107d2f Updated comment. 2003-02-18 21:39:44 +00:00
Andy McFadden 8c43a1e571 Updated version number to 200.
Updated comments about building against the DLL.
2003-02-09 04:25:57 +00:00
Andy McFadden 962fc796a6 Updated DLL build info. 2003-02-09 04:23:59 +00:00
Andy McFadden f1d3cfb9b2 Added /nodefaultlib flags to quiet a warning. 2003-02-09 04:22:41 +00:00
Andy McFadden 0564c26a22 Make sure the callback functions all have return values. 2003-02-09 03:18:49 +00:00
Andy McFadden edb28053dd Use __DATE__ if it's available (e.g. under MSVC++). 2003-02-09 03:16:41 +00:00
Andy McFadden 31bc838dcb Added some Asserts. 2003-02-09 03:16:13 +00:00
Andy McFadden 102af95bdd Track changes to DataSource API in NufxLib. 2003-02-09 01:56:05 +00:00
Andy McFadden 18775bbf04 Complain properly when adding of files fails. 2003-02-09 01:55:26 +00:00
Andy McFadden 05ffc32db0 Properly free data structures. 2003-02-09 01:54: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 067d6d8e83 Removed remarks about what hoops to jump through when linking against
NufxLib as a DLL.
2003-02-09 01:41:41 +00:00
Andy McFadden 9a255d521e Make valgrind happy. 2003-02-09 01:29:31 +00:00
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