mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-28 09:29:16 +00:00
Various minor tweaks. Renamed the "HuffmanSQ" feature test to just "SQ".
This commit is contained in:
parent
a57143a439
commit
5f1eabc896
@ -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
|
2002/09/30 fadden
|
||||||
- added support for "deflate" compression via zlib
|
- added support for "deflate" compression via zlib
|
||||||
|
|
||||||
|
@ -663,7 +663,7 @@ NuTestFeature(NuFeature feature)
|
|||||||
NuError err = kNuErrUnsupFeature;
|
NuError err = kNuErrUnsupFeature;
|
||||||
|
|
||||||
switch (feature) {
|
switch (feature) {
|
||||||
case kNuFeatureCompressHuffmanSQ:
|
case kNuFeatureCompressSQ:
|
||||||
#ifdef ENABLE_SQ
|
#ifdef ENABLE_SQ
|
||||||
err = kNuErrNone;
|
err = kNuErrNone;
|
||||||
#endif
|
#endif
|
||||||
|
@ -635,7 +635,7 @@ typedef struct NuErrorMessage {
|
|||||||
typedef enum NuFeature {
|
typedef enum NuFeature {
|
||||||
kNuFeatureUnknown = 0,
|
kNuFeatureUnknown = 0,
|
||||||
|
|
||||||
kNuFeatureCompressHuffmanSQ = 1, /* kNuThreadFormatHuffmanSQ */
|
kNuFeatureCompressSQ = 1, /* kNuThreadFormatHuffmanSQ */
|
||||||
kNuFeatureCompressLZW = 2, /* kNuThreadFormatLZW1 and LZW2 */
|
kNuFeatureCompressLZW = 2, /* kNuThreadFormatLZW1 and LZW2 */
|
||||||
kNuFeatureCompressLZC = 3, /* kNuThreadFormatLZC12 and LZC16 */
|
kNuFeatureCompressLZC = 3, /* kNuThreadFormatLZC12 and LZC16 */
|
||||||
kNuFeatureCompressDeflate = 4, /* kNuThreadFormatDeflate */
|
kNuFeatureCompressDeflate = 4, /* kNuThreadFormatDeflate */
|
||||||
|
@ -256,7 +256,7 @@ Nu_ConvertCompressValToFormat(NuArchive* pArchive, NuValue compValue)
|
|||||||
|
|
||||||
if (unsup) {
|
if (unsup) {
|
||||||
Nu_ReportError(NU_BLOB, kNuErrNone,
|
Nu_ReportError(NU_BLOB, kNuErrNone,
|
||||||
"Unsupported compression type 0x%04x requested (%ld), not compressing",
|
"Unsupported compression 0x%04x requested (%ld), storing",
|
||||||
threadFormat, compValue);
|
threadFormat, compValue);
|
||||||
return kNuThreadFormatUncompressed;
|
return kNuThreadFormatUncompressed;
|
||||||
}
|
}
|
||||||
|
@ -1140,7 +1140,7 @@ main(void)
|
|||||||
|
|
||||||
(void) NuGetVersion(&major, &minor, &bug, &pBuildDate, &pBuildFlags);
|
(void) NuGetVersion(&major, &minor, &bug, &pBuildDate, &pBuildFlags);
|
||||||
printf("Using NuFX library v%ld.%ld.%ld, built on or after\n"
|
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);
|
major, minor, bug, pBuildDate, pBuildFlags);
|
||||||
|
|
||||||
if (NuSetGlobalErrorMessageHandler(ErrorMessageHandler) != kNuErrNone) {
|
if (NuSetGlobalErrorMessageHandler(ErrorMessageHandler) != kNuErrNone) {
|
||||||
|
Loading…
Reference in New Issue
Block a user