diff --git a/nufxlib-0/ChangeLog.txt b/nufxlib-0/ChangeLog.txt index 98fad1c..27a1d2e 100644 --- a/nufxlib-0/ChangeLog.txt +++ b/nufxlib-0/ChangeLog.txt @@ -1,3 +1,8 @@ +2002/10/09 fadden + - added support for "bzip2" compression via libbz2 + - added ability to selectively disable compression methods + - added "-m" flag to samples/launder so you can specify compression + 2002/09/30 fadden - added support for "deflate" compression via zlib diff --git a/nufxlib-0/Entry.c b/nufxlib-0/Entry.c index 75bc98c..39e5f4a 100644 --- a/nufxlib-0/Entry.c +++ b/nufxlib-0/Entry.c @@ -663,7 +663,7 @@ NuTestFeature(NuFeature feature) NuError err = kNuErrUnsupFeature; switch (feature) { - case kNuFeatureCompressHuffmanSQ: + case kNuFeatureCompressSQ: #ifdef ENABLE_SQ err = kNuErrNone; #endif diff --git a/nufxlib-0/NufxLib.h b/nufxlib-0/NufxLib.h index c0b954d..f57ec34 100644 --- a/nufxlib-0/NufxLib.h +++ b/nufxlib-0/NufxLib.h @@ -635,7 +635,7 @@ typedef struct NuErrorMessage { typedef enum NuFeature { kNuFeatureUnknown = 0, - kNuFeatureCompressHuffmanSQ = 1, /* kNuThreadFormatHuffmanSQ */ + kNuFeatureCompressSQ = 1, /* kNuThreadFormatHuffmanSQ */ kNuFeatureCompressLZW = 2, /* kNuThreadFormatLZW1 and LZW2 */ kNuFeatureCompressLZC = 3, /* kNuThreadFormatLZC12 and LZC16 */ kNuFeatureCompressDeflate = 4, /* kNuThreadFormatDeflate */ diff --git a/nufxlib-0/Value.c b/nufxlib-0/Value.c index 9b01648..e11d75c 100644 --- a/nufxlib-0/Value.c +++ b/nufxlib-0/Value.c @@ -256,7 +256,7 @@ Nu_ConvertCompressValToFormat(NuArchive* pArchive, NuValue compValue) if (unsup) { Nu_ReportError(NU_BLOB, kNuErrNone, - "Unsupported compression type 0x%04x requested (%ld), not compressing", + "Unsupported compression 0x%04x requested (%ld), storing", threadFormat, compValue); return kNuThreadFormatUncompressed; } diff --git a/nufxlib-0/samples/TestBasic.c b/nufxlib-0/samples/TestBasic.c index d1b4d4c..e6b2bff 100644 --- a/nufxlib-0/samples/TestBasic.c +++ b/nufxlib-0/samples/TestBasic.c @@ -1140,7 +1140,7 @@ main(void) (void) NuGetVersion(&major, &minor, &bug, &pBuildDate, &pBuildFlags); printf("Using NuFX library v%ld.%ld.%ld, built on or after\n" - "%s with [%s]\n\n", + " %s with [%s]\n\n", major, minor, bug, pBuildDate, pBuildFlags); if (NuSetGlobalErrorMessageHandler(ErrorMessageHandler) != kNuErrNone) {