Various minor tweaks. Renamed the "HuffmanSQ" feature test to just "SQ".

This commit is contained in:
Andy McFadden 2002-10-10 00:50:37 +00:00
parent a57143a439
commit 5f1eabc896
5 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -663,7 +663,7 @@ NuTestFeature(NuFeature feature)
NuError err = kNuErrUnsupFeature;
switch (feature) {
case kNuFeatureCompressHuffmanSQ:
case kNuFeatureCompressSQ:
#ifdef ENABLE_SQ
err = kNuErrNone;
#endif

View File

@ -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 */

View File

@ -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;
}

View File

@ -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) {