You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(42) |
Nov
(368) |
Dec
(248) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
(207) |
Mar
(180) |
Apr
(9) |
May
(39) |
Jun
(9) |
Jul
(22) |
Aug
(56) |
Sep
(82) |
Oct
(113) |
Nov
(236) |
Dec
(219) |
2005 |
Jan
(119) |
Feb
(81) |
Mar
(53) |
Apr
(177) |
May
(2) |
Jun
(67) |
Jul
(17) |
Aug
(5) |
Sep
(53) |
Oct
(17) |
Nov
(122) |
Dec
(77) |
2006 |
Jan
(293) |
Feb
(16) |
Mar
(32) |
Apr
(14) |
May
(29) |
Jun
(6) |
Jul
|
Aug
|
Sep
(18) |
Oct
(28) |
Nov
|
Dec
(2) |
2007 |
Jan
(8) |
Feb
(19) |
Mar
(4) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(37) |
Oct
(1) |
Nov
(8) |
Dec
(25) |
2008 |
Jan
(1) |
Feb
(13) |
Mar
(17) |
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(19) |
Dec
(16) |
2009 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jim K. <jk...@us...> - 2006-01-18 03:11:41
|
Update of /cvsroot/opengtoolkit/dynamicpalette In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29516 Modified Files: change-log.txt Log Message: added support for controls Index: change-log.txt =================================================================== RCS file: /cvsroot/opengtoolkit/dynamicpalette/change-log.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** change-log.txt 29 Sep 2005 15:39:36 -0000 1.5 --- change-log.txt 18 Jan 2006 03:11:33 -0000 1.6 *************** *** 1,2 **** --- 1,6 ---- + 0.11 --> 0.12 + ------------------------------------------------------ + Added support for controls in OpenG Palette + 0.10 --> 0.11 ------------------------------------------------------ |
From: Jim K. <jk...@us...> - 2006-01-18 03:06:42
|
Update of /cvsroot/opengtoolkit/dynamicpalette In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28083 Modified Files: ogrsc_dynamicpalette.spec Log Message: added OpenG Controls Index: ogrsc_dynamicpalette.spec =================================================================== RCS file: /cvsroot/opengtoolkit/dynamicpalette/ogrsc_dynamicpalette.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ogrsc_dynamicpalette.spec 29 Sep 2005 15:24:36 -0000 1.3 --- ogrsc_dynamicpalette.spec 18 Jan 2006 03:06:34 -0000 1.4 *************** *** 3,7 **** Name=ogrsc_dynamicpalette ! Version=0.11 Release=1 --- 3,7 ---- Name=ogrsc_dynamicpalette ! Version=0.12 Release=1 *************** *** 46,50 **** [Files] ! Num File Groups=39 --- 46,50 ---- [Files] ! Num File Groups=40 *************** *** 1318,1319 **** --- 1318,1333 ---- + [File Group 39] + + Source Dir=source + + Target Dir=<application>/menus/Controls + + Replace Mode=Always + + Exclusive_LabVIEW_Version= 8.0 + + Num Files=1 + + File 0=OpenG.mnu + |
From: Jim K. <jk...@us...> - 2006-01-18 02:02:59
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9371/source Modified Files: OpenG.mnu Log Message: added support for OpenG Controls Index: OpenG.mnu =================================================================== RCS file: /cvsroot/opengtoolkit/dynamicpalette/source/OpenG.mnu,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvssUAIhH and /tmp/cvsCBuXE0 differ |
From: mballa <mb...@us...> - 2006-01-15 05:27:34
|
Update of /cvsroot/opengtoolkit/OpenGOOP/DQGoop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23806/DQGoop Log Message: Directory /cvsroot/opengtoolkit/OpenGOOP/DQGoop added to the repository |
From: Rolf K. <lab...@us...> - 2006-01-11 12:14:08
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28822/c_source Modified Files: macbin.c macbin.h Log Message: Make Mac code compile again Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** macbin.c 10 Jan 2006 22:51:31 -0000 1.18 --- macbin.c 11 Jan 2006 12:13:56 -0000 1.19 *************** *** 34,38 **** delta = loc.u.gmtDelta & 0x00ffffff; /* get sec east of UTC */ if (delta & 0x800000) ! delta |= 0xff000000; /* sign extend */ return -delta; /* secs from UTC */ } --- 34,38 ---- delta = loc.u.gmtDelta & 0x00ffffff; /* get sec east of UTC */ if (delta & 0x800000) ! delta |= 0xff000000; /* sign extend */ return -delta; /* secs from UTC */ } *************** *** 64,68 **** volName[PStrLen(fss->name)] = 0; p = strchr(volName, ':'); ! if (!p) return false; *(++p) = 0; --- 64,68 ---- volName[PStrLen(fss->name)] = 0; p = strchr(volName, ':'); ! if (!p) return false; *(++p) = 0; *************** *** 73,85 **** pb.ioParam.ioReqCount = sizeof(vParms); pb.ioParam.ioBuffer = (Ptr)&vParms; ! if (err = PBHGetVolParmsSync(&pb)) { ! return false; } ! return ((vParms.vMAttrib & attributes) == attributes); } /* Compatibility functions for older LabVIEW libraries */ ! extern OSErr ZEXPORT HasResourceFork(PStr path, int32 *hasResFork) { FSSpec theFSSpec; --- 73,85 ---- pb.ioParam.ioReqCount = sizeof(vParms); pb.ioParam.ioBuffer = (Ptr)&vParms; ! if (PBHGetVolParmsSync(&pb)) { ! return false; } ! return ((vParms.vMAttrib & attr) == attr); } /* Compatibility functions for older LabVIEW libraries */ ! extern McErr ZEXPORT HasResourceFork(PStr path, int32 *hasResFork) { FSSpec theFSSpec; *************** *** 88,92 **** *hasResFork = 0; ! err = MakeFSSpec(0, 0, path, &theFSSpec); if (!err) { --- 88,92 ---- *hasResFork = 0; ! err = MakeFSpec(0, 0, path, &theFSSpec); if (!err) { *************** *** 101,105 **** } ! extern OSErr ZEXPORT LV_EncodeMacbinary(PStr srcPath, PStr dstPath) { FSSpec srcFSSpec; --- 101,105 ---- } ! extern McErr ZEXPORT LV_EncodeMacbinary(PStr srcPath, PStr dstPath) { FSSpec srcFSSpec; *************** *** 107,114 **** OSErr err; ! err = MakeFSSpec(srcPath, &srcFSSpec); if (!err) { ! err = MakeFSSpec(dstPath, &dstFSSpec); if (!err) err = EncodeMacbinaryFiles(&srcFSSpec, &dstFSSpec); --- 107,114 ---- OSErr err; ! err = MakeFSpec(0, 0, srcPath, &srcFSSpec); if (!err) { ! err = MakeFSpec(0, 0, dstPath, &dstFSSpec); if (!err) err = EncodeMacbinaryFiles(&srcFSSpec, &dstFSSpec); *************** *** 117,121 **** } ! extern MgErr ZEXPORT LV_DecodeMacbinary(PStr srcPath, PStr dstPath) { FSSpec srcFSSpec; --- 117,121 ---- } ! extern McErr ZEXPORT LV_DecodeMacbinary(PStr srcPath, PStr dstPath) { FSSpec srcFSSpec; *************** *** 123,134 **** OSErr err; ! err = MakeFSSpec(srcPath, &srcFSSpec); if (!err) { ! err = MakeFSSpec(dstPath, &dstFSSpec); if (err) err = DecodeMacBinaryFiles(&srcFSSpec, &dstFSSpec); } ! return OSErrToLVErr(err); } #elif Win32 --- 123,134 ---- OSErr err; ! err = MakeFSpec(0, 0, srcPath, &srcFSSpec); if (!err) { ! err = MakeFSpec(0, 0, dstPath, &dstFSSpec); if (err) err = DecodeMacBinaryFiles(&srcFSSpec, &dstFSSpec); } ! return err; } #elif Win32 *************** *** 219,225 **** if (ret = MakeMacSpec(path, &fss)) { ! return OSErrToLVErr(err); } ! hasDeny = HasFMExtension(&fss, 1L << bHasOpenDeny); switch (openMode) --- 219,225 ---- if (ret = MakeMacSpec(path, &fss)) { ! return OSErrToLVErr(ret); } ! hasDeny = HasFMExtension(&fss, 1L << bHasOpenDeny); switch (openMode) *************** *** 257,265 **** } ! pb.ioCompletionProc = 0; ! pb.ioNamePtr = fss.name; ! pb.ioVRefNum = fss.vRefNum; ! pb.ioDirID = fss.parID; ! pb.ioDenyModes = perm; if (hasDeny) --- 257,266 ---- } ! pb.fileParam.ioCompletion = 0; ! pb.fileParam.ioNamePtr = fss.name; ! pb.fileParam.ioVRefNum = fss.vRefNum; ! pb.fileParam.ioDirID = fss.parID; ! pb.ioParam.ioMisc = NULL; ! pb.accessParam.ioDenyModes = perm; if (hasDeny) *************** *** 269,273 **** else { ! pbr.ioParam.ioPermssn = perm; ret = PBHOpenSync(&pb); } --- 270,274 ---- else { ! pb.ioParam.ioPermssn = perm; ret = PBHOpenSync(&pb); } *************** *** 276,285 **** { if (openMode == openWriteOnlyTruncate) ! ret = SetEOF(pb.ioRefNum, 0L); } ! if (!ret) ! *refnum = pb.ioRefNum; ! ! return OSErrToLVErr(ret); #endif *refnum = 0; --- 277,286 ---- { if (openMode == openWriteOnlyTruncate) ! ret = SetEOF(pb.ioParam.ioRefNum, 0L); } ! if (ret) ! return OSErrToLVErr(ret); ! ! return FNewRefNum(path, (File)pb.ioParam.ioRefNum, refnum); #endif *refnum = 0; *************** *** 298,303 **** OSErr err; ! if (!comment || !PStrLen(comment) ! return mgArgErr; if (err = MakeMacSpec(path, &fss)) --- 299,304 ---- OSErr err; ! if (!comment || !PStrLen(comment)) ! return mgArgErr; if (err = MakeMacSpec(path, &fss)) *************** *** 323,328 **** dtpb.ioDTBuffer = comment; if (comment) ! dtpb.ioDTReqCount = PStrLen(comment) + 1; ! else if (write) --- 324,330 ---- dtpb.ioDTBuffer = comment; if (comment) ! dtpb.ioDTReqCount = PStrLen(comment) + 1; ! else ! dtpb.ioDTReqCount = 0; if (write) *************** *** 376,382 **** else { ! fileInfo->type = cpb.hFileInfo.ioFlFndrInfo.fdType; fileInfo->creator = cpb.hFileInfo.ioFlFndrInfo.fdCreator; ! fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; fileInfo->location.v = cpb.hFileInfo.ioFlFndrInfo.fdLocation.v; --- 378,384 ---- else { ! fileInfo->type = cpb.hFileInfo.ioFlFndrInfo.fdType; fileInfo->creator = cpb.hFileInfo.ioFlFndrInfo.fdCreator; ! fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; fileInfo->location.v = cpb.hFileInfo.ioFlFndrInfo.fdLocation.v; *************** *** 388,397 **** ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlMdDat, true); } err = PBDTGetCommentSync(&dtpb); } ! } ! } return OSErrToLVErr(err); #else --- 390,399 ---- ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlMdDat, true); } err = PBDTGetCommentSync(&dtpb); } ! } ! } return OSErrToLVErr(err); #else Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** macbin.h 10 Jan 2006 22:51:31 -0000 1.13 --- macbin.h 11 Jan 2006 12:13:57 -0000 1.14 *************** *** 35,39 **** Private(LVRefNum); ! typedef int32 MgErr, OSErr; enum { /* Manager Error Codes */ --- 35,41 ---- Private(LVRefNum); ! typedef int32 MgErr; ! typedef int16 McErr; ! enum { /* Manager Error Codes */ *************** *** 174,180 **** extern void ZEXPORT DLLVersion OF((uChar* Version)); ! extern OSErr ZEXPORT HasResourceFork OF((PStr path, int32 *hasResFork)); ! extern OSErr ZEXPORT LV_EncodeMacbinary OF((PStr srcFileName, PStr dstFileName)); ! extern OSErr ZEXPORT LV_DecodeMacbinary OF((PStr srcFileName, PStr dstFileName)); extern MgErr ZEXPORT LVPath_HasResourceFork OF((Path path, int32 *hasResFork)); --- 176,184 ---- extern void ZEXPORT DLLVersion OF((uChar* Version)); ! #if Mac ! extern McErr ZEXPORT HasResourceFork OF((PStr path, int32 *hasResFork)); ! extern McErr ZEXPORT LV_EncodeMacbinary OF((PStr srcFileName, PStr dstFileName)); ! extern McErr ZEXPORT LV_DecodeMacbinary OF((PStr srcFileName, PStr dstFileName)); ! #endif extern MgErr ZEXPORT LVPath_HasResourceFork OF((Path path, int32 *hasResFork)); |
From: Rolf K. <lab...@us...> - 2006-01-10 22:51:41
|
Update of /cvsroot/opengtoolkit/lvzip/source/macbin.llb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28436/source/macbin.llb Modified Files: DecodemacBinary.vi EncodemacBinary.vi MACBIN Open Resource Fork.vi MACBIN Resource File Info Core.vi Log Message: Updated shared lib to be more compatible with previous VI versions Index: MACBIN Open Resource Fork.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Open Resource Fork.vi,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvs4ANhU5 and /tmp/cvsprh0RN differ Index: EncodemacBinary.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/EncodemacBinary.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsz9YO97 and /tmp/cvsDwkVcQ differ Index: MACBIN Resource File Info Core.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Resource File Info Core.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsIdhvla and /tmp/cvsQJqKuS differ Index: DecodemacBinary.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/DecodemacBinary.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsCuaTlf and /tmp/cvs2ZRbHX differ |
From: Rolf K. <lab...@us...> - 2006-01-10 22:51:41
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28436/c_source Modified Files: Makefile macbin.c macbin.h zlibvc.def Log Message: Updated shared lib to be more compatible with previous VI versions Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** macbin.c 10 Jan 2006 17:38:01 -0000 1.17 --- macbin.c 10 Jan 2006 22:51:31 -0000 1.18 *************** *** 53,56 **** --- 53,135 ---- return noErr; } + + static Boolean HasFMExtension(FSSpec *fss, int32 attr) + { + HParamBlockRec pb; + Str255 volName; + char *p; + GetVolParmsInfoBuffer vParms; + + strncpy(volName, fss->name, PStrLen(fss->name)); + volName[PStrLen(fss->name)] = 0; + p = strchr(volName, ':'); + if (!p) + return false; + *(++p) = 0; + + pb.volumeParam.ioCompletion = 0L; + pb.volumeParam.ioNamePtr = volName; + pb.volumeParam.ioVRefNum = fss->vRefNum; + pb.ioParam.ioReqCount = sizeof(vParms); + pb.ioParam.ioBuffer = (Ptr)&vParms; + if (err = PBHGetVolParmsSync(&pb)) + { + return false; + } + return ((vParms.vMAttrib & attributes) == attributes); + } + + /* Compatibility functions for older LabVIEW libraries */ + extern OSErr ZEXPORT HasResourceFork(PStr path, int32 *hasResFork) + { + FSSpec theFSSpec; + OSErr err = noErr; + + *hasResFork = 0; + + err = MakeFSSpec(0, 0, path, &theFSSpec); + if (!err) + { + int theRefNum = FSpOpenResFile(&theFSSpec, fsRdPerm); + if (ResError() == noErr) //we've got a resource file + { + CloseResFile(theRefNum); + *hasResFork = 1; + } + } + return err; + } + + extern OSErr ZEXPORT LV_EncodeMacbinary(PStr srcPath, PStr dstPath) + { + FSSpec srcFSSpec; + FSSpec dstFSSpec; + OSErr err; + + err = MakeFSSpec(srcPath, &srcFSSpec); + if (!err) + { + err = MakeFSSpec(dstPath, &dstFSSpec); + if (!err) + err = EncodeMacbinaryFiles(&srcFSSpec, &dstFSSpec); + } + return err; + } + + extern MgErr ZEXPORT LV_DecodeMacbinary(PStr srcPath, PStr dstPath) + { + FSSpec srcFSSpec; + FSSpec dstFSSpec; + OSErr err; + + err = MakeFSSpec(srcPath, &srcFSSpec); + if (!err) + { + err = MakeFSSpec(dstPath, &dstFSSpec); + if (err) + err = DecodeMacBinaryFiles(&srcFSSpec, &dstFSSpec); + } + return OSErrToLVErr(err); + } #elif Win32 #include "iowin32.h" *************** *** 62,67 **** } ! extern MgErr ZEXPORT HasResourceFork(Path path, int32 *hasResFork){ ! #if Mac FSSpec theFSSpec; --- 141,146 ---- } ! extern MgErr ZEXPORT LVPath_HasResourceFork(Path path, int32 *hasResFork) ! { #if Mac FSSpec theFSSpec; *************** *** 80,84 **** } } ! return OSErrToLVErr(err); #else *hasResFork = 0; --- 159,163 ---- } } ! return OSErrToLVErr(err);; #else *hasResFork = 0; *************** *** 87,91 **** } ! extern MgErr ZEXPORT LV_EncodeMacbinary(Path srcPath, Path dstPath) { #if Mac --- 166,170 ---- } ! extern MgErr ZEXPORT LVPath_EncodeMacbinary(Path srcPath, Path dstPath) { #if Mac *************** *** 107,111 **** } ! extern MgErr ZEXPORT LV_DecodeMacbinary(Path srcPath, Path dstPath) { #if Mac --- 186,190 ---- } ! extern MgErr ZEXPORT LVPath_DecodeMacbinary(Path srcPath, Path dstPath) { #if Mac *************** *** 127,138 **** } ! extern MgErr ZEXPORT OpenResFork(LVRefNum *refnum, Path path, uInt32 openMode, uInt32 denyMode) { - MgErr err = mgNotSupported; #if Mac int16 perm; FSSpec fss; - int16 fd = 0;; OSErr ret; switch (openMode) --- 206,225 ---- } ! extern MgErr ZEXPORT LVPath_OpenResFork(LVRefNum *refnum, Path path, uInt32 openMode, uInt32 denyMode) { #if Mac int16 perm; + HParamBlockRec pb; FSSpec fss; OSErr ret; + Boolean hasDeny; + + *refnum = 0; + + if (ret = MakeMacSpec(path, &fss)) + { + return OSErrToLVErr(err); + } + hasDeny = HasFMExtension(&fss, 1L << bHasOpenDeny); switch (openMode) *************** *** 151,192 **** return mgArgErr; } ! switch (denyMode) { ! case denyReadWrite: ! perm |= 0x0030; ! break; ! case denyWriteOnly: ! perm |= 0x0020; ! break; ! case denyNeither: ! /* leave all deny mode bits clear */ ! break; ! default: ! return mgArgErr; } ! if (ret = MakeMacSpec(path, &fss)) { ! return OSErrToLVErr(err); } ! ret = FSpOpenRF(&fss, perm, &fd); if (!ret) { if (openMode == openWriteOnlyTruncate) ! ret = SetEOF(fd, 0L); } ! if (ret) ! err = OSErrToLVErr(ret); ! else ! err = FNewRefNum(path, (File)fd, refnum); #endif ! return err; } ! extern MgErr ZEXPORT UtilFileInfo(Path path, ! uInt8 write, ! LVFileInfo *fileInfo, ! PStr comment, ! int32 *length) { #if Mac --- 238,294 ---- return mgArgErr; } ! ! if (hasDeny) { ! switch (denyMode) ! { ! case denyReadWrite: ! perm |= fsRdDenyPerm | fsWrDenyPerm; ! break; ! case denyWriteOnly: ! perm |= fsWrDenyPerm; ! break; ! case denyNeither: ! /* leave all deny mode bits clear */ ! break; ! default: ! return mgArgErr; ! } } ! pb.ioCompletionProc = 0; ! pb.ioNamePtr = fss.name; ! pb.ioVRefNum = fss.vRefNum; ! pb.ioDirID = fss.parID; ! pb.ioDenyModes = perm; ! ! if (hasDeny) { ! ret = PBHOpenRFDenySync(&pb); } ! else ! { ! pbr.ioParam.ioPermssn = perm; ! ret = PBHOpenSync(&pb); ! } ! if (!ret) { if (openMode == openWriteOnlyTruncate) ! ret = SetEOF(pb.ioRefNum, 0L); } ! if (!ret) ! *refnum = pb.ioRefNum; ! ! return OSErrToLVErr(ret); #endif ! *refnum = 0; ! return noErr; } ! extern MgErr ZEXPORT LVPath_UtilFileInfo(Path path, ! uInt8 write, ! LVFileInfo *fileInfo, ! PStr comment) { #if Mac *************** *** 194,201 **** DTPBRec dtpb; CInfoPBRec cpb; ! OSErr err = noErr; ! if (*length > 255) ! return mgArgErr; if (err = MakeMacSpec(path, &fss)) --- 296,303 ---- DTPBRec dtpb; CInfoPBRec cpb; ! OSErr err; ! if (!comment || !PStrLen(comment) ! return mgArgErr; if (err = MakeMacSpec(path, &fss)) *************** *** 218,223 **** { dtpb.ioNamePtr = fss.name; - dtpb.ioDTBuffer = comment; dtpb.ioDirID = fss.parID; if (write) --- 320,328 ---- { dtpb.ioNamePtr = fss.name; dtpb.ioDirID = fss.parID; + dtpb.ioDTBuffer = comment; + if (comment) + dtpb.ioDTReqCount = PStrLen(comment) + 1; + else if (write) *************** *** 248,254 **** err = PBSetCatInfoSync(&cpb); ! if (!err && *length && comment && PStrLen(comment)) { - dtpb.ioDTReqCount = *length; err = PBDTSetCommentSync(&dtpb); } --- 353,358 ---- err = PBSetCatInfoSync(&cpb); ! if (!err && comment) { err = PBDTSetCommentSync(&dtpb); } *************** *** 286,292 **** ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlMdDat, true); } - err = PBDTGetCommentSync(&dtpb); - *length = dtpb.ioDTActCount; } } --- 390,394 ---- Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** macbin.h 10 Jan 2006 17:38:01 -0000 1.12 --- macbin.h 10 Jan 2006 22:51:31 -0000 1.13 *************** *** 35,39 **** Private(LVRefNum); ! typedef int32 MgErr; enum { /* Manager Error Codes */ --- 35,39 ---- Private(LVRefNum); ! typedef int32 MgErr, OSErr; enum { /* Manager Error Codes */ *************** *** 174,189 **** extern void ZEXPORT DLLVersion OF((uChar* Version)); ! extern MgErr ZEXPORT HasResourceFork OF((Path path, int32 *hasResFork)); ! extern MgErr ZEXPORT LV_EncodeMacbinary OF((Path srcFileName, Path dstFileName)); ! extern MgErr ZEXPORT LV_DecodeMacbinary OF((Path srcFileName, Path dstFileName)); ! extern MgErr ZEXPORT UtilFileInfo OF((Path path, uInt8 write, LVFileInfo *finderInfo, ! PStr comment, ! int32 *length)); ! extern MgErr ZEXPORT OpenResFork OF((LVRefNum *refnum, Path path, uInt32 openMode, --- 174,191 ---- extern void ZEXPORT DLLVersion OF((uChar* Version)); ! extern OSErr ZEXPORT HasResourceFork OF((PStr path, int32 *hasResFork)); ! extern OSErr ZEXPORT LV_EncodeMacbinary OF((PStr srcFileName, PStr dstFileName)); ! extern OSErr ZEXPORT LV_DecodeMacbinary OF((PStr srcFileName, PStr dstFileName)); ! extern MgErr ZEXPORT LVPath_HasResourceFork OF((Path path, int32 *hasResFork)); ! extern MgErr ZEXPORT LVPath_EncodeMacbinary OF((Path srcFileName, Path dstFileName)); ! extern MgErr ZEXPORT LVPath_DecodeMacbinary OF((Path srcFileName, Path dstFileName)); ! extern MgErr ZEXPORT LVPath_UtilFileInfo OF((Path path, uInt8 write, LVFileInfo *finderInfo, ! PStr comment)); ! extern MgErr ZEXPORT LVPath_OpenResFork OF((LVRefNum *refnum, Path path, uInt32 openMode, Index: Makefile =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile 6 Apr 2005 21:20:58 -0000 1.6 --- Makefile 10 Jan 2006 22:51:31 -0000 1.7 *************** *** 26,30 **** # -Wstrict-prototypes -Wmissing-prototypes ! LDFLAGS=libz.a LDSHARED=$(CC) -shared -Wl CPP=$(CC) -E --- 26,30 ---- # -Wstrict-prototypes -Wmissing-prototypes ! LDFLAGS=lvzlib.a LDSHARED=$(CC) -shared -Wl CPP=$(CC) -E *************** *** 82,89 **** example$(EXE): example.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS) minigzip$(EXE): minigzip.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) install: $(LIBS) --- 82,89 ---- example$(EXE): example.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ example.o $(LIBS) minigzip$(EXE): minigzip.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ minigzip.o $(LIBS) install: $(LIBS) Index: zlibvc.def =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/zlibvc.def,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** zlibvc.def 7 Jan 2006 20:12:01 -0000 1.11 --- zlibvc.def 10 Jan 2006 22:51:31 -0000 1.12 *************** *** 97,104 **** DLLVersion @190 ! OpenResFork @200 ! UtilFileInfo @201 ! InitializeFileFuncs @202 ! HasResourceFork @203 ! LV_EncodeMacbinary @204 ! LV_DecodeMacbinary @205 --- 97,104 ---- DLLVersion @190 ! InitializeFileFuncs @200 ! LVPath_UtilFileInfo @201 ! LVPath_OpenResFork @202 ! LVPath_HasResourceFork @203 ! LVPath_EncodeMacbinary @204 ! LVPath_DecodeMacbinary @205 |
From: Rolf K. <lab...@us...> - 2006-01-10 22:51:41
|
Update of /cvsroot/opengtoolkit/lvzip/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28436/source Modified Files: lvzlib.dll lvzlib.so Log Message: Updated shared lib to be more compatible with previous VI versions Index: lvzlib.dll =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzlib.dll,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvs3HvjvX and /tmp/cvsloqHdF differ Index: lvzlib.so =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzlib.so,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsL3iPvZ and /tmp/cvsMHLBjH differ |
From: Rolf K. <lab...@us...> - 2006-01-10 17:46:48
|
Update of /cvsroot/opengtoolkit/lvzip/c_source/lvzip.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2935/c_source/lvzip.xcode Modified Files: project.pbxproj Log Message: Index: project.pbxproj =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvzip.xcode/project.pbxproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** project.pbxproj 10 Jan 2006 17:21:31 -0000 1.2 --- project.pbxproj 10 Jan 2006 17:46:38 -0000 1.3 *************** *** 6,9 **** --- 6,33 ---- objectVersion = 39; objects = { + 7EA88CE6097414D400852875 = { + isa = PBXFileReference; + lastKnownFileType = archive.ar; + name = liblvexports.a; + path = "/Applications/National Instruments/LabVIEW 7.0/cintools/Mach-O/liblvexports.a"; + refType = 0; + sourceTree = "<absolute>"; + }; + 7EA88CE7097414D400852875 = { + fileRef = 7EA88CE6097414D400852875; + isa = PBXBuildFile; + settings = { + }; + }; + //7E0 + //7E1 + //7E2 + //7E3 + //7E4 + //830 + //831 + //832 + //833 + //834 836583A3088D034C0083EC20 = { isa = PBXFileReference; *************** *** 526,529 **** --- 550,554 ---- 83D3E18C080D116E00DE332C = { children = ( + 7EA88CE6097414D400852875, 83D3E1B0080D116E00DE332C, 83D3E1B5080D116E00DE332C, *************** *** 645,648 **** --- 670,674 ---- 83D3E26D080D117700DE332C, 836583B4088D13980083EC20, + 7EA88CE7097414D400852875, ); isa = PBXFrameworksBuildPhase; *************** *** 678,682 **** GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; ! HEADER_SEARCH_PATHS = "/Volumes/Macintosh HD/Developer/Headers/FlatCarbon"; LIBRARY_SEARCH_PATHS = ""; LIBRARY_STYLE = DYNAMIC; --- 704,708 ---- GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; ! HEADER_SEARCH_PATHS = ""; LIBRARY_SEARCH_PATHS = ""; LIBRARY_STYLE = DYNAMIC; |
From: Rolf K. <lab...@us...> - 2006-01-10 17:38:14
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv930/c_source Modified Files: MacBinaryIII.c macbin.c macbin.h Log Message: Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** macbin.c 10 Jan 2006 17:21:31 -0000 1.16 --- macbin.c 10 Jan 2006 17:38:01 -0000 1.17 *************** *** 24,28 **** static OSErr MakeMacSpec(Path path, FSSpec *fss); static OSErr MakeFSpec(int16 vol, int32 dirID, ConstStr255 path, FSSpec *fss); - static OSErr IfDirCloseIt(int16 vol); static MgErr OSErrToLVErr(OSErr err); --- 24,27 ---- *************** *** 74,78 **** if (!err) { ! int theRefNum = FSpOpenResFile(&theFSSpec, fsRdWrPerm); if (ResError() == noErr) //we've got a resource file { --- 73,77 ---- if (!err) { ! int theRefNum = FSpOpenResFile(&theFSSpec, fsRdPerm); if (ResError() == noErr) //we've got a resource file { *************** *** 134,152 **** int16 perm; FSSpec fss; ! File fd = (File)0;; ! HParamBlockRec pbr; OSErr ret; ! switch(openMode) { case openReadWrite: ! perm = 0x0003; break; case openReadOnly: ! perm = 0x0001; break; case openWriteOnly: case openWriteOnlyTruncate: ! perm = 0x0002; break; default: --- 133,150 ---- int16 perm; FSSpec fss; ! int16 fd = 0;; OSErr ret; ! switch (openMode) { case openReadWrite: ! perm = fsRdWrPerm; break; case openReadOnly: ! perm = fsRdPerm; break; case openWriteOnly: case openWriteOnlyTruncate: ! perm = fsWrPerm; break; default: *************** *** 172,196 **** return OSErrToLVErr(err); } ! pbr.fileParam.ioCompletion = NULL; ! pbr.fileParam.ioNamePtr = fss.name; ! pbr.fileParam.ioVRefNum = fss.vRefNum; ! pbr.fileParam.ioDirID = fss.parID; ! pbr.ioParam.ioMisc = NULL; ! // pbr.ioParam.ioPermssn = perm; ! ! pbr.accessParam.ioDenyModes = perm; ! if (!(ret = PBHOpenRFDenySync(&pbr))) { - fd = (File)pbr.ioParam.ioRefNum; - if (openMode == openWriteOnlyTruncate) ! ret = SetEOF((int16)fd, 0L); } - - IfDirCloseIt(fss.vRefNum); if (ret) err = OSErrToLVErr(ret); else ! err = FNewRefNum(path, fd, refnum); #endif return err; --- 170,183 ---- return OSErrToLVErr(err); } ! ret = FSpOpenRF(&fss, perm, &fd); ! if (!ret) { if (openMode == openWriteOnlyTruncate) ! ret = SetEOF(fd, 0L); } if (ret) err = OSErrToLVErr(ret); else ! err = FNewRefNum(path, (File)fd, refnum); #endif return err; *************** *** 227,231 **** dtpb.ioVRefNum = fss.vRefNum; ! err = PBDTGetPath(&dtpb)) if (err == noErr) { --- 214,218 ---- dtpb.ioVRefNum = fss.vRefNum; ! err = PBDTGetPath(&dtpb); if (err == noErr) { *************** *** 236,243 **** if (write) { ! if (MacIsDir(cpb) { cpb.dirInfo.ioDrUsrWds.frFlags = fileInfo->flags; ! cpb.dirInfo.ioDrUsrWds.frLocation = fileInfo->location; ConvertLVTime(&fileInfo->cDate, &cpb.dirInfo.ioDrCrDat, false); --- 223,231 ---- if (write) { ! if (MacIsDir(cpb)) { cpb.dirInfo.ioDrUsrWds.frFlags = fileInfo->flags; ! cpb.dirInfo.ioDrUsrWds.frLocation.v = fileInfo->location.v; ! cpb.dirInfo.ioDrUsrWds.frLocation.h = fileInfo->location.h; ConvertLVTime(&fileInfo->cDate, &cpb.dirInfo.ioDrCrDat, false); *************** *** 250,256 **** cpb.hFileInfo.ioFlFndrInfo.fdFlags = fileInfo->flags; cpb.hFileInfo.ioFlFndrInfo.fdFldr = fileInfo->fId; ! cpb.hFileInfo.ioFlFndrInfo.fdLocation = fileInfo->location; cpb.hFileInfo.ioFlXFndrInfo.fdScript = fileInfo->sId; ! cpb.hFileInfo.ioFlXFndrInfo.fdFlags = fileInfo->xFlags; ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, false); --- 238,245 ---- cpb.hFileInfo.ioFlFndrInfo.fdFlags = fileInfo->flags; cpb.hFileInfo.ioFlFndrInfo.fdFldr = fileInfo->fId; ! cpb.hFileInfo.ioFlFndrInfo.fdLocation.v = fileInfo->location.v; ! cpb.hFileInfo.ioFlFndrInfo.fdLocation.h = fileInfo->location.h; cpb.hFileInfo.ioFlXFndrInfo.fdScript = fileInfo->sId; ! cpb.hFileInfo.ioFlXFndrInfo.fdXFlags = fileInfo->xFlags; ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, false); *************** *** 267,297 **** else { ! if (MacIsDir(cpb) { fileInfo->type = kUnknownType; ! fileInfo->creator = kUnknownCreator; ! fileInfo->flags = cbp.dirInfo.ioDrUsrWds.frFlags; ! fileInfo->fId = ! fileInfo->location = cbp.dirInfo.ioDrUsrWds.frLocation; ! fileInfo->size = cbp.dirInfo.ioDrNmFls; fileInfo->rfSize = 0; ! ConvertLVTime(&fileInfo->cDate, &cbp.dirInfo.ioDrCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cbp.dirInfo.ioDrMdDat, true); } else { ! fileInfo->type = cbp.hFileInfo.ioFlFndrInfo.fdType; ! fileInfo->creator = cbp.hFileInfo.ioFlFndrInfo.fdCreator; fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; ! fileInfo->location = cbp.hFileInfo.ioFlFndrInfo.fdLocation; ! fileInfo->size = catInfoPB.hFileInfo.ioFlLgLen; ! fileInfo->rfSize = catInfoPB.hFileInfo.ioFlRLgLen; fileInfo->sId = cpb.hFileInfo.ioFlXFndrInfo.fdScript; ! fileInfo->xFlags = cpb.hFileInfo.ioFlXFndrInfo.fdFlags; ! ConvertLVTime(&fileInfo->cDate, &cbp.hFileInfo.ioFlCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cbp.hFileInfo.ioFlMdDat, true); } --- 256,288 ---- else { ! if (MacIsDir(cpb)) { fileInfo->type = kUnknownType; ! fileInfo->creator = kUnknownType; ! fileInfo->flags = cpb.dirInfo.ioDrUsrWds.frFlags; ! fileInfo->fId = 0; ! fileInfo->location.v = cpb.dirInfo.ioDrUsrWds.frLocation.v; ! fileInfo->location.h = cpb.dirInfo.ioDrUsrWds.frLocation.h; ! fileInfo->size = cpb.dirInfo.ioDrNmFls; fileInfo->rfSize = 0; ! ConvertLVTime(&fileInfo->cDate, &cpb.dirInfo.ioDrCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cpb.dirInfo.ioDrMdDat, true); } else { ! fileInfo->type = cpb.hFileInfo.ioFlFndrInfo.fdType; ! fileInfo->creator = cpb.hFileInfo.ioFlFndrInfo.fdCreator; fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; ! fileInfo->location.v = cpb.hFileInfo.ioFlFndrInfo.fdLocation.v; ! fileInfo->location.h = cpb.hFileInfo.ioFlFndrInfo.fdLocation.h; ! fileInfo->size = cpb.hFileInfo.ioFlLgLen; ! fileInfo->rfSize = cpb.hFileInfo.ioFlRLgLen; fileInfo->sId = cpb.hFileInfo.ioFlXFndrInfo.fdScript; ! fileInfo->xFlags = cpb.hFileInfo.ioFlXFndrInfo.fdXFlags; ! ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlMdDat, true); } *************** *** 301,305 **** } } - IfDirCloseIt(fss.vRefNum); return OSErrToLVErr(err); #else --- 292,295 ---- *************** *** 329,335 **** if (n > 255) n = 255; ! ps[0] = n; if (n) ! MoveBlock(LStrBuf(lstr), PStrBuf(str), n); return n; } --- 319,325 ---- if (n > 255) n = 255; ! str[0] = n; if (n) ! BlockMove(LStrBuf(lstr), PStrBuf(str), n); return n; } *************** *** 376,391 **** } - static OSErr IfDirCloseIt(int16 vol) - { - WDPBRec wdpb; - if (vol < 0) - { - wdpb.ioCompletion = NULL; - wdpb.ioVRefNum = vol; - return PBCloseWDSync(&wdpb); - } - return noErr; - } - static MgErr OSErrToLVErr(OSErr err) { --- 366,369 ---- Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** macbin.h 10 Jan 2006 17:21:31 -0000 1.11 --- macbin.h 10 Jan 2006 17:38:01 -0000 1.12 *************** *** 123,135 **** }; ! #if !Mac ! typedef struct { int16 v; int16 h; ! } Point; ! #endif ! typedef uChar Str255[256], *PStr, *CStr; typedef const uChar ConstStr255[256]; --- 123,133 ---- }; ! typedef struct { int16 v; int16 h; ! } LVPoint; ! typedef uChar Str255[256], *PStr, *CStr, *UPtr; typedef const uChar ConstStr255[256]; *************** *** 160,164 **** uInt32 mDate; uInt16 flags; /* Mac only */ ! Point location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ --- 158,162 ---- uInt32 mDate; uInt16 flags; /* Mac only */ ! LVPoint location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ Index: MacBinaryIII.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/MacBinaryIII.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MacBinaryIII.c 7 Jan 2006 20:11:30 -0000 1.1 --- MacBinaryIII.c 10 Jan 2006 17:38:01 -0000 1.2 *************** *** 240,244 **** } ! FSpCreate(outfile,'????','BINA',smSystemScript); err = FSpOpenDF(outfile,fsRdWrPerm,&outrefnum); --- 240,244 ---- } ! FSpCreate(outfile, kUnknownType, 'BINA', smSystemScript); err = FSpOpenDF(outfile,fsRdWrPerm,&outrefnum); *************** *** 585,589 **** OSErr DecodeMacBinaryFiles(FSSpec* inputfile,FSSpec* outputfile) { - Handle result = nil; FInfo fndrInfo; OSErr err; --- 585,588 ---- *************** *** 645,650 **** fndrInfo.fdCreator = LONG_AT_OFFSET(header, kFileCreatorOffset); ! fndrInfo.fdFlags = BYTE_AT_OFFSET(header, kFinderFlagsHiOffset); ! fndrInfo.fdFlags << 8; fndrInfo.fdFlags |= BYTE_AT_OFFSET(header, kFinderFlagsLowOffset); --- 644,648 ---- fndrInfo.fdCreator = LONG_AT_OFFSET(header, kFileCreatorOffset); ! fndrInfo.fdFlags = BYTE_AT_OFFSET(header, kFinderFlagsHiOffset) << 8; fndrInfo.fdFlags |= BYTE_AT_OFFSET(header, kFinderFlagsLowOffset); *************** *** 781,785 **** OSErr DecodeMacBinary(Handle data, FSSpec *destination) { - Handle result = nil; FInfo fndrInfo; OSErr err; --- 779,782 ---- *************** *** 821,826 **** fndrInfo.fdCreator = LONG_AT_OFFSET(header, kFileCreatorOffset); ! fndrInfo.fdFlags = BYTE_AT_OFFSET(header, kFinderFlagsHiOffset); ! fndrInfo.fdFlags << 8; fndrInfo.fdFlags |= BYTE_AT_OFFSET(header, kFinderFlagsLowOffset); --- 818,822 ---- fndrInfo.fdCreator = LONG_AT_OFFSET(header, kFileCreatorOffset); ! fndrInfo.fdFlags = BYTE_AT_OFFSET(header, kFinderFlagsHiOffset) << 8; fndrInfo.fdFlags |= BYTE_AT_OFFSET(header, kFinderFlagsLowOffset); |
From: Rolf K. <lab...@us...> - 2006-01-10 17:21:39
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29288/c_source Modified Files: macbin.c macbin.h Log Message: Got rid of all Mac OS X compile errors Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** macbin.c 8 Jan 2006 22:52:26 -0000 1.15 --- macbin.c 10 Jan 2006 17:21:31 -0000 1.16 *************** *** 14,19 **** #if Mac #include <CoreServices/CoreServices.h> // instead of #include <Resources.h> - #include <Finder.h> - #include <Files.h> #include "MacBinaryIII.h" --- 14,17 ---- *************** *** 28,33 **** static OSErr IfDirCloseIt(int16 vol); static MgErr OSErrToLVErr(OSErr err); ! static void MacConvertFromLVTime(uInt32 time, uInt32* sTime); ! static void MacConvertToLVTime(uInt32 sTime, uInt32* time); #elif Win32 #include "iowin32.h" --- 26,57 ---- static OSErr IfDirCloseIt(int16 vol); static MgErr OSErrToLVErr(OSErr err); ! ! static int32 UTCShift(void) ! { ! MachineLocation loc; ! int32 delta; ! ! ReadLocation(&loc); ! delta = loc.u.gmtDelta & 0x00ffffff; /* get sec east of UTC */ ! if (delta & 0x800000) ! delta |= 0xff000000; /* sign extend */ ! return -delta; /* secs from UTC */ ! } ! ! static MgErr ConvertLVTime(uInt32 *lTime, uInt32 *sTime, Boolean toLV) ! { ! if (toLV) ! { ! *lTime = *sTime + UTCShift(); ! } ! else ! { ! if (lTime && *lTime > 0) ! { ! *sTime = *lTime - UTCShift(); ! } ! } ! return noErr; ! } #elif Win32 #include "iowin32.h" *************** *** 163,167 **** ret = SetEOF((int16)fd, 0L); } ! out: IfDirCloseIt(fss.vRefNum); if (ret) --- 187,191 ---- ret = SetEOF((int16)fd, 0L); } ! IfDirCloseIt(fss.vRefNum); if (ret) *************** *** 175,179 **** extern MgErr ZEXPORT UtilFileInfo(Path path, uInt8 write, ! LVFileInfo *finderInfo, PStr comment, int32 *length) --- 199,203 ---- extern MgErr ZEXPORT UtilFileInfo(Path path, uInt8 write, ! LVFileInfo *fileInfo, PStr comment, int32 *length) *************** *** 185,189 **** OSErr err = noErr; ! if (len > 255) return mgArgErr; --- 209,213 ---- OSErr err = noErr; ! if (*length > 255) return mgArgErr; *************** *** 196,282 **** cpb.hFileInfo.ioDirID = fss.parID; ! if (err = PBGetCatInfoSync(&cpb)) ! goto out; ! ! dtpb.ioCompletion = nil; ! dtpb.ioNamePtr = NULL; ! dtpb.ioVRefNum = fss.vRefNum; ! ! if (err = PBDTGetPath(&dtpb)) ! goto out; ! ! dtpb.ioNamePtr = fss.name; ! dtpb.ioDTBuffer = comment; ! dtpb.ioDirID = fss.parID; ! ! if (write) { ! if (MacIsDir(cpb) ! { ! cbp.dirInfo.ioDrUsrWds.frFlags = fileInfo->flags; ! cbp.dirInfo.ioDrUsrWds.frLocation = fileInfo->location; ! ! MacConvertFromLVTime(fileInfo->cDate, cbp.dirInfo.ioDrCrDat); ! MacConvertFromLVTime(fileInfo->mDate, cbp.dirInfo.ioDrMdDat); ! } ! else { ! cbp.hFileInfo.ioFlFndrInfo.fdType = fileInfo->type; ! cbp.hFileInfo.ioFlFndrInfo.fdCreator = fileInfo->creator; ! cpb.hFileInfo.ioFlFndrInfo.fdFlags = fileInfo->flags; ! cpb.hFileInfo.ioFlFndrInfo.fdFldr = fileInfo->fId; ! cbp.hFileInfo.ioFlFndrInfo.fdLocation = fileInfo->location; ! cpb.hFileInfo.ioFlXFndrInfo.fdScript = fileInfo->sId; ! cpb.hFileInfo.ioFlXFndrInfo.fdFlags = fileInfo->xFlags; ! MacConvertFromLVTime(fileInfo->cDate, cbp.hFileInfo.ioFlCrDat); ! MacConvertFromLVTime(fileInfo->mDate, cbp.hFileInfo.ioFlMdDat); ! } ! err = PBSetCatInfoSync(&cpb); ! if (!err && *length && comment && PStrLen(comment)) ! { ! dtpb.ioDTReqCount = *length; ! err = PBDTSetCommentSync(&dtpb); ! } ! } ! else ! { ! if (MacIsDir(cpb) ! { ! fileInfo->type = kUnknownType; ! fileInfo->creator = kUnknownCreator; ! fileInfo->flags = cbp.dirInfo.ioDrUsrWds.frFlags; ! fileInfo->fId = ! fileInfo->location = cbp.dirInfo.ioDrUsrWds.frLocation; ! fileInfo->size = cbp.dirInfo.ioDrNmFls; ! fileInfo->rfSize = 0; ! MacConvertToLVTime(cbp.dirInfo.ioDrCrDat, fileInfo->cDate); ! MacConvertToLVTime(cbp.dirInfo.ioDrMdDat, fileInfo->mDate); ! } ! else ! { ! fileInfo->type = cbp.hFileInfo.ioFlFndrInfo.fdType; ! fileInfo->creator = cbp.hFileInfo.ioFlFndrInfo.fdCreator; ! fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; ! fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; ! fileInfo->location = cbp.hFileInfo.ioFlFndrInfo.fdLocation; ! fileInfo->size = catInfoPB.hFileInfo.ioFlLgLen; ! fileInfo->rfSize = catInfoPB.hFileInfo.ioFlRLgLen; ! fileInfo->sId = cpb.hFileInfo.ioFlXFndrInfo.fdScript; ! fileInfo->xFlags = cpb.hFileInfo.ioFlXFndrInfo.fdFlags; ! MacConvertToLVTime(cbp.hFileInfo.ioFlCrDat, fileInfo->cDate); ! MacConvertToLVTime(cbp.hFileInfo.ioFlMdDat, fileInfo->mDate); ! } ! err = PBDTGetCommentSync(&dtpb); ! *length = dtpb.ioDTActCount; ! } ! out: IfDirCloseIt(fss.vRefNum); return OSErrToLVErr(err); --- 220,304 ---- cpb.hFileInfo.ioDirID = fss.parID; ! err = PBGetCatInfoSync(&cpb); ! if (err == noErr) { + dtpb.ioCompletion = nil; + dtpb.ioNamePtr = NULL; + dtpb.ioVRefNum = fss.vRefNum; ! err = PBDTGetPath(&dtpb)) ! if (err == noErr) { ! dtpb.ioNamePtr = fss.name; ! dtpb.ioDTBuffer = comment; ! dtpb.ioDirID = fss.parID; ! if (write) ! { ! if (MacIsDir(cpb) ! { ! cpb.dirInfo.ioDrUsrWds.frFlags = fileInfo->flags; ! cpb.dirInfo.ioDrUsrWds.frLocation = fileInfo->location; ! ConvertLVTime(&fileInfo->cDate, &cpb.dirInfo.ioDrCrDat, false); ! ConvertLVTime(&fileInfo->mDate, &cpb.dirInfo.ioDrMdDat, false); ! } ! else ! { ! cpb.hFileInfo.ioFlFndrInfo.fdType = fileInfo->type; ! cpb.hFileInfo.ioFlFndrInfo.fdCreator = fileInfo->creator; ! cpb.hFileInfo.ioFlFndrInfo.fdFlags = fileInfo->flags; ! cpb.hFileInfo.ioFlFndrInfo.fdFldr = fileInfo->fId; ! cpb.hFileInfo.ioFlFndrInfo.fdLocation = fileInfo->location; ! cpb.hFileInfo.ioFlXFndrInfo.fdScript = fileInfo->sId; ! cpb.hFileInfo.ioFlXFndrInfo.fdFlags = fileInfo->xFlags; ! ConvertLVTime(&fileInfo->cDate, &cpb.hFileInfo.ioFlCrDat, false); ! ConvertLVTime(&fileInfo->mDate, &cpb.hFileInfo.ioFlMdDat, false); ! } ! err = PBSetCatInfoSync(&cpb); ! if (!err && *length && comment && PStrLen(comment)) ! { ! dtpb.ioDTReqCount = *length; ! err = PBDTSetCommentSync(&dtpb); ! } ! } ! else ! { ! if (MacIsDir(cpb) ! { ! fileInfo->type = kUnknownType; ! fileInfo->creator = kUnknownCreator; ! fileInfo->flags = cbp.dirInfo.ioDrUsrWds.frFlags; ! fileInfo->fId = ! fileInfo->location = cbp.dirInfo.ioDrUsrWds.frLocation; ! fileInfo->size = cbp.dirInfo.ioDrNmFls; ! fileInfo->rfSize = 0; ! ConvertLVTime(&fileInfo->cDate, &cbp.dirInfo.ioDrCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cbp.dirInfo.ioDrMdDat, true); ! } ! else ! { ! fileInfo->type = cbp.hFileInfo.ioFlFndrInfo.fdType; ! fileInfo->creator = cbp.hFileInfo.ioFlFndrInfo.fdCreator; ! fileInfo->flags = cpb.hFileInfo.ioFlFndrInfo.fdFlags; ! fileInfo->fId = cpb.hFileInfo.ioFlFndrInfo.fdFldr; ! fileInfo->location = cbp.hFileInfo.ioFlFndrInfo.fdLocation; ! fileInfo->size = catInfoPB.hFileInfo.ioFlLgLen; ! fileInfo->rfSize = catInfoPB.hFileInfo.ioFlRLgLen; ! fileInfo->sId = cpb.hFileInfo.ioFlXFndrInfo.fdScript; ! fileInfo->xFlags = cpb.hFileInfo.ioFlXFndrInfo.fdFlags; ! ConvertLVTime(&fileInfo->cDate, &cbp.hFileInfo.ioFlCrDat, true); ! ConvertLVTime(&fileInfo->cDate, &cbp.hFileInfo.ioFlMdDat, true); ! } ! err = PBDTGetCommentSync(&dtpb); ! *length = dtpb.ioDTActCount; ! } ! } ! } IfDirCloseIt(fss.vRefNum); return OSErrToLVErr(err); *************** *** 413,441 **** savings time settings and Universal Time Coordinate (also called GMT). */ - static int32 UTCShift() - { - MachineLocation loc; - int32 delta; - - ReadLocation(&loc); - delta = loc.u.gmtDelta & 0x00ffffff; /* get sec east of UTC */ - if (delta & 0x800000) - delta |= 0xff000000; /* sign extend */ - return -delta; /* secs from UTC */ - } - - static void MacConvertFromLVTime(uInt32 time, uInt32 *sTime) - { - if (time > 0.0) - { - *sTime = time - UTCShift(); - } - return; - } - - static void MacConvertToLVTime(uInt32 sTime, uInt32 *time) - { - *time = sTime + UTCShift(); - return; - } #endif --- 435,437 ---- Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** macbin.h 8 Jan 2006 23:04:32 -0000 1.10 --- macbin.h 10 Jan 2006 17:21:31 -0000 1.11 *************** *** 123,131 **** }; typedef struct { int16 v; int16 h; ! } LVPoint; typedef uChar Str255[256], *PStr, *CStr; --- 123,133 ---- }; + #if !Mac typedef struct { int16 v; int16 h; ! } Point; ! #endif typedef uChar Str255[256], *PStr, *CStr; *************** *** 158,162 **** uInt32 mDate; uInt16 flags; /* Mac only */ ! LVPoint location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ --- 160,164 ---- uInt32 mDate; uInt16 flags; /* Mac only */ ! Point location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ |
From: Rolf K. <lab...@us...> - 2006-01-10 17:21:39
|
Update of /cvsroot/opengtoolkit/lvzip/c_source/lvzip.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29288/c_source/lvzip.xcode Modified Files: project.pbxproj Log Message: Got rid of all Mac OS X compile errors Index: project.pbxproj =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvzip.xcode/project.pbxproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.pbxproj 7 Jan 2006 20:59:06 -0000 1.1 --- project.pbxproj 10 Jan 2006 17:21:31 -0000 1.2 *************** *** 24,28 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = macbin.h; path = macbin.h; refType = 4; --- 24,27 ---- *************** *** 33,37 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = macbin.c; path = macbin.c; refType = 4; --- 32,35 ---- *************** *** 42,46 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = mztools.c; path = mztools.c; refType = 4; --- 40,43 ---- *************** *** 51,55 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = inffast.h; path = inffast.h; refType = 4; --- 48,51 ---- *************** *** 60,64 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = inffast.c; path = inffast.c; refType = 4; --- 56,59 ---- *************** *** 69,73 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = crc32.c; path = crc32.c; refType = 4; --- 64,67 ---- *************** *** 78,82 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = crc32.h; path = crc32.h; refType = 4; --- 72,75 ---- *************** *** 87,91 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = deflate.c; path = deflate.c; refType = 4; --- 80,83 ---- *************** *** 96,100 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = crypt.h; path = crypt.h; refType = 4; --- 88,91 ---- *************** *** 105,109 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = inftrees.c; path = inftrees.c; refType = 4; --- 96,99 ---- *************** *** 114,118 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = inflate.h; path = inflate.h; refType = 4; --- 104,107 ---- *************** *** 123,127 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = deflate.h; path = deflate.h; refType = 4; --- 112,115 ---- *************** *** 132,136 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = zutil.h; path = zutil.h; refType = 4; --- 120,123 ---- *************** *** 141,145 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = zutil.c; path = zutil.c; refType = 4; --- 128,131 ---- *************** *** 150,154 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = compress.c; path = compress.c; refType = 4; --- 136,139 ---- *************** *** 159,163 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = ioapi.h; path = ioapi.h; refType = 4; --- 144,147 ---- *************** *** 168,172 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = ioapi.c; path = ioapi.c; refType = 4; --- 152,155 ---- *************** *** 177,181 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = inftrees.h; path = inftrees.h; refType = 4; --- 160,163 ---- *************** *** 186,190 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = zlib.h; path = zlib.h; refType = 4; --- 168,171 ---- *************** *** 195,199 **** isa = PBXFileReference; lastKnownFileType = text; - name = zlib.3; path = zlib.3; refType = 4; --- 176,179 ---- *************** *** 204,208 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = zip.h; path = zip.h; refType = 4; --- 184,187 ---- *************** *** 213,217 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = zip.c; path = zip.c; refType = 4; --- 192,195 ---- *************** *** 222,226 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = zconf.in.h; path = zconf.in.h; refType = 4; --- 200,203 ---- *************** *** 231,235 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = zconf.h; path = zconf.h; refType = 4; --- 208,211 ---- *************** *** 240,244 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = unzip.h; path = unzip.h; refType = 4; --- 216,219 ---- *************** *** 249,253 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = unzip.c; path = unzip.c; refType = 4; --- 224,227 ---- *************** *** 258,262 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = uncompr.c; path = uncompr.c; refType = 4; --- 232,235 ---- *************** *** 267,271 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = trees.h; path = trees.h; refType = 4; --- 240,243 ---- *************** *** 276,280 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = trees.c; path = trees.c; refType = 4; --- 248,251 ---- *************** *** 285,289 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = mztools.h; path = mztools.h; refType = 4; --- 256,259 ---- *************** *** 294,298 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = inflate.c; path = inflate.c; refType = 4; --- 264,267 ---- *************** *** 303,307 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = inffixed.h; path = inffixed.h; refType = 4; --- 272,275 ---- *************** *** 312,316 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = infback.c; path = infback.c; refType = 4; --- 280,283 ---- *************** *** 321,325 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = gzio.c; path = gzio.c; refType = 4; --- 288,291 ---- *************** *** 330,334 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = gvmat32c.c; path = gvmat32c.c; refType = 4; --- 296,299 ---- *************** *** 339,343 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = adler32.c; path = adler32.c; refType = 4; --- 304,307 ---- *************** *** 645,649 **** buildActionMask = 2147483647; files = ( - 83D3E1FE080D117200DE332C, 83D3E21E080D117200DE332C, 839542C10894F2490020C3E2, --- 609,612 ---- *************** *** 713,719 **** GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; ! GCC_WARN_UNUSED_PARAMETER = NO; ! GCC_WARN_UNUSED_VARIABLE = NO; ! LIBRARY_SEARCH_PATHS = "\"/Volumes/Chris/Projects/OpenG Zlib packages Folder/Zlib Mac DLL XCode/c_source\""; OTHER_CFLAGS = "-fno-inline"; OTHER_LDFLAGS = "-multiply_defined warning"; --- 676,684 ---- GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; ! GCC_WARN_UNUSED_PARAMETER = YES; ! GCC_WARN_UNUSED_VARIABLE = YES; ! HEADER_SEARCH_PATHS = "/Volumes/Macintosh HD/Developer/Headers/FlatCarbon"; ! LIBRARY_SEARCH_PATHS = ""; ! LIBRARY_STYLE = DYNAMIC; OTHER_CFLAGS = "-fno-inline"; OTHER_LDFLAGS = "-multiply_defined warning"; *************** *** 761,765 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; - name = MacBinaryIII.c; path = MacBinaryIII.c; refType = 2; --- 726,729 ---- *************** *** 770,774 **** isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; - name = MacBinaryIII.h; path = MacBinaryIII.h; refType = 2; --- 734,737 ---- |
From: Rolf K. <lab...@us...> - 2006-01-10 17:20:49
|
Update of /cvsroot/opengtoolkit/lvzip/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28909/source Added Files: readme2_3.txt Log Message: --- NEW FILE: readme2_3.txt --- LabVIEW ZIP library, version 2.3 -------------------------------- Copyright 2002-2006 Rolf Kalbermatter Please read this document before you upgrade from an version of LVZIP older than 2.2 to this version. The new version since 2.2 of LVZIP has some new features and some modifications. New features: ------------- 1) Password support (limited testing) ZLIB Extract All Files To Dir.vi ZLIB Compress Directory.vi ZLIB Compress Files.vi ZLIB Store File.vi ZLIB Extract File.vi A new string parameter was added to specify a password to use to extract files or to encrypt files. This function is not thouroghly tested at this time. 2) Adding of files into existing ZIP archive supported ZLIB Compress Directory.vi ZLIB Compress Files.vi ZLIB Open Archive.vi The boolean parameter to append or truncate has been replaced by an enumeration to support addition of files into an existing archive. The old append value meant that the ZIP file was tacked to the end of the existing file which might have been useful for a selfextracting executable only. Following table shows the old and new settings old value new value remarks False create new truncates existing file to 0 True append to end appends to end of existing file NA append to archive appends new files into the archive 3) Deleting of files from an existing ZIP archive. ZLIB Delete Files From Archive.vi This function will create a new archive and move all files except the ones to remove into this new archive, replacing the old one with it if the entire transfer was successful. The transfer between the old and new archive happens in "raw mode" which means the data is transfered compressed into the new file, speeding up the whole operation but even more importantly eliminating the need to know the password for any of the files in the archive for mere deleting of a file. Of course the files in the new archive will be password protected just as they have been in the old file. Changes: -------- 1) To support the new append mode the "append" parameter for the compression functions has been modified from a boolean to an enumeration. This could cause bad wires when this function was used in a program and this parameter was wired with a constant or terminal. Since the non-default value was rarely useful, this should not be a big problem for most users as it is unlikely this parameter was ever wired. 2) To support specifying a password when compressing into an archive, the connector pane of a few VIs had to be changed. You will need to relink existing applications if you have used following four functions: ZLIB Extract All Files To Dir.vi ZLIB Compress Directory.vi ZLIB Compress Files.vi ZLIB Store File.vi 3) To simplify the interface of the file info structure the according cluster was modified to be more in LabVIEW style. This caused the change to the connector pane of two VIs, namely: ZLIB Get Current File Info.vi ZLIB Enumerate File Contents.vi and the according strict typedef custom control ZLIB File Info.ctl The old VIs and custom control with the old connector pane are stored under the same name but with the appendix "Old". This is a list of the compatibility functions: ZLIB Get Current File Info Old.vi ZLIB Enumerate File Contents Old.vi ZLIB File Info Old.ctl If you have an older application where you directly used one of the VIs described here from the old lvzip package you can either replace those VIs by the compatibility VIs or rewire your application to work with the new functions. 5) I was successful in making the "File Info.vi" function from the file package work again. In doing so the "ZLIB Time Info.vi" function, which really was a subset implementation of "File Info.vi" is now obsolete and has been removed both from the VI library as well as the shared library. If you should have happened to use this function you should use the according File Info.vi from the file package instead and adapt your cluster wiring. Used libraries: --------------- The lvzip package makes use of the error package, the file package and through the last one also of the array package. Some functions in the file package have been added in comparison to the latest released package and therefore this version of lvzip will only work with the version 2.5 of the file package. Have fun Rolf Kalbermatter |
From: Rolf K. <lab...@us...> - 2006-01-09 22:43:14
|
Update of /cvsroot/opengtoolkit/lvzip In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29966 Modified Files: lvzip.ogbld lvzip.spec Log Message: Index: lvzip.spec =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/lvzip.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** lvzip.spec 7 Jan 2006 21:03:57 -0000 1.19 --- lvzip.spec 9 Jan 2006 22:43:06 -0000 1.20 *************** *** 37,107 **** Replace Mode=Always ! Num Files=65 File 0=macbin.mnu ! File 1=macbinary.mnu ! File 2=readme2_2.txt ! File 3=unzip.mnu ! File 4=zip.mnu ! File 5=zlib-string.mnu ! File 6=macbin.llb/MACBIN CCITT_CRC16__ogtk.vi ! File 7=macbin.llb/MACBIN Copy Fork From File__ogtk.vi ! File 8=macbin.llb/MACBIN Copy Fork To File__ogtk.vi ! File 9=macbin.llb/MACBIN Create Header__ogtk.vi ! File 10=macbin.llb/MACBIN Decode MacBinary__ogtk.vi ! File 11=macbin.llb/MACBIN Encode MacBinary__ogtk.vi ! File 12=macbin.llb/MACBIN Macbinary Header__ogtk.ctl ! File 13=macbin.llb/MACBIN Open Resource Fork__ogtk.vi ! File 14=macbin.llb/MACBIN Read Header__ogtk.vi ! File 15=macbin.llb/MACBIN Resource File Info__ogtk.vi ! File 16=macbin.llb/MACBIN Resource Header__ogtk.ctl ! File 17=macbin.llb/MACBIN Size Padding__ogtk.vi ! File 18=macbin.llb/MACBIN Verify Header__ogtk.vi ! File 19=macbin.llb/MACBIN VI Tree__ogtk.vi ! File 20=lvzip.llb/ZLIB Block Size__ogtk.vi ! File 21=lvzip.llb/ZLIB Close Read File__ogtk.vi ! File 22=lvzip.llb/ZLIB Close Unzip Archive__ogtk.vi ! File 23=lvzip.llb/ZLIB Close Write File__ogtk.vi ! File 24=lvzip.llb/ZLIB Close Zip Archive__ogtk.vi ! File 25=lvzip.llb/ZLIB Compress Directory__ogtk.vi ! File 26=lvzip.llb/ZLIB Compress File Info__ogtk.ctl ! File 27=lvzip.llb/ZLIB Compress Files__ogtk.vi ! File 28=lvzip.llb/ZLIB Convert File Info__ogtk.vi ! File 29=lvzip.llb/ZLIB Copy Raw File__ogtk.vi ! File 30=lvzip.llb/ZLIB CRC32__ogtk.vi ! File 31=lvzip.llb/ZLIB Deflate__ogtk.vi ! File 32=lvzip.llb/ZLIB Delete Files From Archive__ogtk.vi ! File 33=lvzip.llb/ZLIB Enumerate File Contents Old__ogtk.vi ! File 34=lvzip.llb/ZLIB Enumerate File Contents__ogtk.vi ! File 35=lvzip.llb/ZLIB Extract All Files To Dir__ogtk.vi ! File 36=lvzip.llb/ZLIB Extract File__ogtk.vi ! File 37=lvzip.llb/ZLIB File Info Old__ogtk.ctl ! File 38=lvzip.llb/ZLIB File Info__ogtk.ctl ! File 39=lvzip.llb/ZLIB File Information__ogtk.vi ! File 40=lvzip.llb/ZLIB Get Current File Info Old__ogtk.vi ! File 41=lvzip.llb/ZLIB Get Current File Info__ogtk.vi ! File 42=lvzip.llb/ZLIB Get File CRC32__ogtk.vi ! File 43=lvzip.llb/ZLIB Get Global Info__ogtk.vi ! File 44=lvzip.llb/ZLIB Get Version__ogtk.vi ! File 45=lvzip.llb/ZLIB Go To First File__ogtk.vi ! File 46=lvzip.llb/ZLIB Go To Next File__ogtk.vi ! File 47=lvzip.llb/ZLIB Inflate__ogtk.vi ! File 48=lvzip.llb/ZLIB Initialize File Functions__ogtk.vi ! File 49=lvzip.llb/ZLIB Locate File__ogtk.vi ! File 50=lvzip.llb/ZLIB Open Read File__ogtk.vi ! File 51=lvzip.llb/ZLIB Open Unzip Archive__ogtk.vi ! File 52=lvzip.llb/ZLIB Open Write File__ogtk.vi ! File 53=lvzip.llb/ZLIB Open Zip Archive__ogtk.vi ! File 54=lvzip.llb/ZLIB Open ZIP Mode__ogtk.ctl ! File 55=lvzip.llb/ZLIB Path to LVZLIB Path String__ogtk.vi ! File 56=lvzip.llb/ZLIB Read Compressed File__ogtk.vi ! File 57=lvzip.llb/ZLIB Read Local Extra Data__ogtk.vi ! File 58=lvzip.llb/ZLIB Store File__ogtk.vi ! File 59=lvzip.llb/ZLIB Transfer Raw File__ogtk.vi ! File 60=lvzip.llb/ZLIB Uncompress File Info__ogtk.ctl ! File 61=lvzip.llb/ZLIB Unzip Handle__ogtk.ctl ! File 62=lvzip.llb/ZLIB VI Tree__ogtk.vi ! File 63=lvzip.llb/ZLIB Write File__ogtk.vi ! File 64=lvzip.llb/ZLIB Zip Handle__ogtk.ctl [File Group 1] --- 37,109 ---- Replace Mode=Always ! Num Files=67 File 0=macbin.mnu ! File 1=readme2_3.txt ! File 2=unzip.mnu ! File 3=zip.mnu ! File 4=zlib-string.mnu ! File 5=macbin.llb/DecodemacBinary__ogtk.vi ! File 6=macbin.llb/EncodemacBinary__ogtk.vi ! File 7=macbin.llb/MACBIN CCITT_CRC16__ogtk.vi ! File 8=macbin.llb/MACBIN Copy Fork From File__ogtk.vi ! File 9=macbin.llb/MACBIN Copy Fork To File__ogtk.vi ! File 10=macbin.llb/MACBIN Create Header__ogtk.vi ! File 11=macbin.llb/MACBIN Decode MacBinary__ogtk.vi ! File 12=macbin.llb/MACBIN Encode MacBinary__ogtk.vi ! File 13=macbin.llb/MACBIN Macbinary Header__ogtk.ctl ! File 14=macbin.llb/MACBIN Open Resource Fork__ogtk.vi ! File 15=macbin.llb/MACBIN Read Header__ogtk.vi ! File 16=macbin.llb/MACBIN Resource File Info Core__ogtk.vi ! File 17=macbin.llb/MACBIN Resource File Info__ogtk.vi ! File 18=macbin.llb/MACBIN Resource Header__ogtk.ctl ! File 19=macbin.llb/MACBIN Size Padding__ogtk.vi ! File 20=macbin.llb/MACBIN Verify Header__ogtk.vi ! File 21=macbin.llb/MACBIN VI Tree__ogtk.vi ! File 22=lvzip.llb/ZLIB Block Size__ogtk.vi ! File 23=lvzip.llb/ZLIB Close Read File__ogtk.vi ! File 24=lvzip.llb/ZLIB Close Unzip Archive__ogtk.vi ! File 25=lvzip.llb/ZLIB Close Write File__ogtk.vi ! File 26=lvzip.llb/ZLIB Close Zip Archive__ogtk.vi ! File 27=lvzip.llb/ZLIB Compress Directory__ogtk.vi ! File 28=lvzip.llb/ZLIB Compress File Info__ogtk.ctl ! File 29=lvzip.llb/ZLIB Compress Files__ogtk.vi ! File 30=lvzip.llb/ZLIB Convert File Info__ogtk.vi ! File 31=lvzip.llb/ZLIB Copy Raw File__ogtk.vi ! File 32=lvzip.llb/ZLIB CRC32__ogtk.vi ! File 33=lvzip.llb/ZLIB Deflate__ogtk.vi ! File 34=lvzip.llb/ZLIB Delete Files From Archive__ogtk.vi ! File 35=lvzip.llb/ZLIB Enumerate File Contents Old__ogtk.vi ! File 36=lvzip.llb/ZLIB Enumerate File Contents__ogtk.vi ! File 37=lvzip.llb/ZLIB Extract All Files To Dir__ogtk.vi ! File 38=lvzip.llb/ZLIB Extract File__ogtk.vi ! File 39=lvzip.llb/ZLIB File Info Old__ogtk.ctl ! File 40=lvzip.llb/ZLIB File Info__ogtk.ctl ! File 41=lvzip.llb/ZLIB File Information__ogtk.vi ! File 42=lvzip.llb/ZLIB Get Current File Info Old__ogtk.vi ! File 43=lvzip.llb/ZLIB Get Current File Info__ogtk.vi ! File 44=lvzip.llb/ZLIB Get File CRC32__ogtk.vi ! File 45=lvzip.llb/ZLIB Get Global Info__ogtk.vi ! File 46=lvzip.llb/ZLIB Get Version__ogtk.vi ! File 47=lvzip.llb/ZLIB Go To First File__ogtk.vi ! File 48=lvzip.llb/ZLIB Go To Next File__ogtk.vi ! File 49=lvzip.llb/ZLIB Inflate__ogtk.vi ! File 50=lvzip.llb/ZLIB Initialize File Functions__ogtk.vi ! File 51=lvzip.llb/ZLIB Locate File__ogtk.vi ! File 52=lvzip.llb/ZLIB Open Read File__ogtk.vi ! File 53=lvzip.llb/ZLIB Open Unzip Archive__ogtk.vi ! File 54=lvzip.llb/ZLIB Open Write File__ogtk.vi ! File 55=lvzip.llb/ZLIB Open Zip Archive__ogtk.vi ! File 56=lvzip.llb/ZLIB Open ZIP Mode__ogtk.ctl ! File 57=lvzip.llb/ZLIB Path to LVZLIB Path String__ogtk.vi ! File 58=lvzip.llb/ZLIB Read Compressed File__ogtk.vi ! File 59=lvzip.llb/ZLIB Read Local Extra Data__ogtk.vi ! File 60=lvzip.llb/ZLIB Store File__ogtk.vi ! File 61=lvzip.llb/ZLIB Transfer Raw File__ogtk.vi ! File 62=lvzip.llb/ZLIB Uncompress File Info__ogtk.ctl ! File 63=lvzip.llb/ZLIB Unzip Handle__ogtk.ctl ! File 64=lvzip.llb/ZLIB VI Tree__ogtk.vi ! File 65=lvzip.llb/ZLIB Write File__ogtk.vi ! File 66=lvzip.llb/ZLIB Zip Handle__ogtk.ctl [File Group 1] Index: lvzip.ogbld =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/lvzip.ogbld,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lvzip.ogbld 2 Jan 2006 23:01:39 -0000 1.4 --- lvzip.ogbld 9 Jan 2006 22:43:06 -0000 1.5 *************** *** 98,102 **** SourceFile 1=lvzlib.* SourceFile 2=submenus/*.mnu ! SourceFile 3=readme2_2.txt SourceFile 4=PreInstall.vi --- 98,102 ---- SourceFile 1=lvzlib.* SourceFile 2=submenus/*.mnu ! SourceFile 3=readme2_3.txt SourceFile 4=PreInstall.vi |
From: Rolf K. <lab...@us...> - 2006-01-09 22:35:25
|
Update of /cvsroot/opengtoolkit/lvzip/source/submenus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28481/source/submenus Modified Files: macbin.mnu Removed Files: macbinary.mnu Log Message: Updated MacBinary inforamtion and menu palette --- macbinary.mnu DELETED --- Index: macbin.mnu =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/submenus/macbin.mnu,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsqBdxu0 and /tmp/cvsqzQHUr differ |
From: Rolf K. <lab...@us...> - 2006-01-09 22:35:25
|
Update of /cvsroot/opengtoolkit/lvzip/source/macbin.llb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28481/source/macbin.llb Modified Files: MACBIN Decode MacBinary.vi MACBIN Encode MacBinary.vi MACBIN Open Resource Fork.vi MACBIN Resource File Info Core.vi MACBIN Resource File Info.vi MACBIN VI Tree.vi Log Message: Updated MacBinary inforamtion and menu palette Index: MACBIN Resource File Info Core.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Resource File Info Core.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsGOkgHP and /tmp/cvsVx0fMg differ Index: MACBIN Resource File Info.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Resource File Info.vi,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsJfUZOW and /tmp/cvsrT6nco differ Index: MACBIN VI Tree.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN VI Tree.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsCKVAqc and /tmp/cvsHAtulE differ Index: MACBIN Decode MacBinary.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Decode MacBinary.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs0suGbe and /tmp/cvsjotRgG differ Index: MACBIN Open Resource Fork.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Open Resource Fork.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsCsfUdh and /tmp/cvsWrQsqJ differ Index: MACBIN Encode MacBinary.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/macbin.llb/MACBIN Encode MacBinary.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsCgcAVm and /tmp/cvsbUJPgP differ |
From: Rolf K. <lab...@us...> - 2006-01-09 22:20:18
|
Update of /cvsroot/opengtoolkit/lvzip/c_source_mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25814/c_source_mac Removed Files: .DS_Store Log Message: --- .DS_Store DELETED --- |
From: Rolf K. <lab...@us...> - 2006-01-08 23:04:41
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20759/c_source Modified Files: macbin.h Log Message: Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** macbin.h 8 Jan 2006 22:52:26 -0000 1.9 --- macbin.h 8 Jan 2006 23:04:32 -0000 1.10 *************** *** 20,27 **** #endif - #if Mac - #include <MacTypes.h> - #endif - typedef char int8; typedef unsigned char uInt8; --- 20,23 ---- *************** *** 127,137 **** }; - #if !Mac typedef struct { int16 v; int16 h; ! } Point; ! #endif typedef uChar Str255[256], *PStr, *CStr; --- 123,131 ---- }; typedef struct { int16 v; int16 h; ! } LVPoint; typedef uChar Str255[256], *PStr, *CStr; *************** *** 164,168 **** uInt32 mDate; uInt16 flags; /* Mac only */ ! Point location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ --- 158,162 ---- uInt32 mDate; uInt16 flags; /* Mac only */ ! LVPoint location; /* Mac only */ uInt16 fId; /* Mac only */ uInt8 sId; /* Mac only */ |
From: Rolf K. <lab...@us...> - 2006-01-08 22:52:35
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17303/c_source Modified Files: macbin.c macbin.h Log Message: More Mac fixes Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** macbin.c 8 Jan 2006 21:52:50 -0000 1.14 --- macbin.c 8 Jan 2006 22:52:26 -0000 1.15 *************** *** 10,13 **** --- 10,14 ---- #include "zlib.h" #include "ioapi.h" + #include "macbin.h" #if Mac *************** *** 33,38 **** #endif - #include "macbin.h" - extern void ZEXPORT DLLVersion(uChar* version) { --- 34,37 ---- *************** *** 176,180 **** extern MgErr ZEXPORT UtilFileInfo(Path path, uInt8 write, ! FileInfo *finderInfo, PStr comment, int32 *length) --- 175,179 ---- extern MgErr ZEXPORT UtilFileInfo(Path path, uInt8 write, ! LVFileInfo *finderInfo, PStr comment, int32 *length) *************** *** 238,242 **** err = PBSetCatInfoSync(&cpb); ! if (!err && *length && comment && PStrLen(comment)) { dtpb.ioDTReqCount = *length; err = PBDTSetCommentSync(&dtpb); --- 237,242 ---- err = PBSetCatInfoSync(&cpb); ! if (!err && *length && comment && PStrLen(comment)) ! { dtpb.ioDTReqCount = *length; err = PBDTSetCommentSync(&dtpb); *************** *** 302,424 **** #if Mac ! /* The following functions, IsAliasFile and ResolveAliasFileMountOption, are taken from ! Mac Tech Note #315. They may be used to resolve alias files quietly, without user ! interaction. ! */ ! static OSErr IsAliasFile(const FSSpec *fileFSSpec, ! Boolean *aliasFileFlag, ! Boolean *folderFlag) ! { ! CInfoPBRec myCInfoPBRec; ! OSErr err; ! ! if (fileFSSpec == NULL) ! return paramErr; ! ! if (aliasFileFlag) ! *aliasFileFlag ! if (folderFlag) ! *folderFlag = false; ! ! myCInfoPBRec.hFileInfo.ioCompletion = NULL; ! myCInfoPBRec.hFileInfo.ioNamePtr = (UPtr)fileFSSpec->name; ! myCInfoPBRec.hFileInfo.ioVRefNum = fileFSSpec->vRefNum; ! myCInfoPBRec.hFileInfo.ioDirID = fileFSSpec->parID; ! myCInfoPBRec.hFileInfo.ioFVersNum = 0; ! myCInfoPBRec.hFileInfo.ioFDirIndex = 0; ! ! err = PBGetCatInfoSync(&myCInfoPBRec); ! ! if (err == noErr) ! { ! if (folderFlag && (myCInfoPBRec.hFileInfo.ioFlAttrib & ioDirMask) != 0) ! *folderFlag = true; ! else if (aliasFileFlag && (myCInfoPBRec.hFileInfo.ioFlFndrInfo.fdFlags & 0x8000) != 0) ! *aliasFileFlag = true; ! } ! return err; ! } ! ! static OSErr ResolveAliasFileMountOption(FSSpec *fileFSSpec, ! Boolean resolveAliasChains, ! Boolean *targetIsFolder, ! Boolean *wasAliased, ! Boolean mountRemoteVols) { ! #define MAXCHAINS 10 ! ! short myResRefNum; ! Handle aliasHandle; ! FSSpec initFSSpec; ! Boolean updateFlag, foundFlag = false, wasAliasedTemp, specChangedFlag = false; ! short chainCount; ! OSErr err; ! ! if (fileFSSpec == NULL || wasAliased == NULL) ! return paramErr; ! ! initFSSpec = *fileFSSpec; ! chainCount = MAXCHAINS; ! ! if (targetIsFolder) ! *targetIsFolder = false; ! ! do ! { ! chainCount--; ! ! err = IsAliasFile(fileFSSpec, wasAliased, targetIsFolder); ! if (err != noErr || !(*wasAliased)) ! break; ! ! myResRefNum = FSpOpenResFile(fileFSSpec, fsCurPerm); ! err = ResError(); ! if (myResRefNum == -1) ! break; ! ! aliasHandle = Get1IndResource(rAliasType, 1); ! err = ResError(); ! if (aliasHandle == NULL) ! { ! CloseResFile(myResRefNum); ! break; ! } ! ! LoadResource(aliasHandle); ! err = ResError(); ! if (err != noErr) ! { ! CloseResFile(myResRefNum); ! break; ! } ! ! err = FollowFinderAlias(fileFSSpec, (AliasHandle)aliasHandle, mountRemoteVols, ! fileFSSpec, &updateFlag); ! ! if (err == noErr) ! { ! if (updateFlag) ! { ! ChangedResource(aliasHandle); ! WriteResource(aliasHandle); ! } ! ! specChangedFlag = true; ! ! err = IsAliasFile(fileFSSpec, &wasAliasedTemp, targetIsFolder); ! if (err == noErr) ! foundFlag = !(wasAliasedTemp && resolveAliasChains); ! } ! CloseResFile(myResRefNum); ! ! } while (err == noErr && chainCount > 0 && !foundFlag); ! ! if (err == noErr && !foundFlag) ! err = fnfErr; ! ! if (err != noErr && specChangedFlag) ! *fileFSSpec = initFSSpec; ! ! return err; } --- 302,314 ---- #if Mac ! static int32 LToPStr(LStrPtr lstr, PStr str) { ! int32 n = LStrLen(lstr); ! if (n > 255) ! n = 255; ! ps[0] = n; ! if (n) ! MoveBlock(LStrBuf(lstr), PStrBuf(str), n); ! return n; } *************** *** 440,444 **** err = MakeFSpec(0, 0, name, fss); if (err == noErr) ! err = ResolveAliasFileMountOption(fss, true, (Boolean*)&isDir, (Boolean*)&isAlias, false); } return err; --- 330,334 ---- err = MakeFSpec(0, 0, name, fss); if (err == noErr) ! err = ResolveAliasFileWithMountFlags(fss, true, (Boolean*)&isDir, (Boolean*)&isAlias, 0); } return err; Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** macbin.h 8 Jan 2006 21:32:22 -0000 1.8 --- macbin.h 8 Jan 2006 22:52:26 -0000 1.9 *************** *** 20,23 **** --- 20,27 ---- #endif + #if Mac + #include <MacTypes.h> + #endif + typedef char int8; typedef unsigned char uInt8; *************** *** 131,139 **** #endif ! typedef uChar Str255[256]; typedef const uChar ConstStr255[256]; - typedef uChar *PStr, *CStr; - #define PStrBuf(b) (&((PStr)(b))[1]) #define PStrLen(b) (((PStr)(b))[0]) /* # of chars in string */ --- 135,141 ---- #endif ! typedef uChar Str255[256], *PStr, *CStr; typedef const uChar ConstStr255[256]; #define PStrBuf(b) (&((PStr)(b))[1]) #define PStrLen(b) (((PStr)(b))[0]) /* # of chars in string */ *************** *** 145,148 **** --- 147,158 ---- } LStr, *LStrPtr, **LStrHandle; + #define LStrLen(p) ((p)->cnt) + #define LStrBuf(p) ((p)->str) + + typedef struct { + int32 cnt; + uChar str[256]; + } LStr256; + /* Typedefs */ typedef struct { *************** *** 158,162 **** uInt8 sId; /* Mac only */ uInt8 xFlags; /* Mac only */ ! } FileInfo; enum { openReadWrite, openReadOnly, openWriteOnly, openWriteOnlyTruncate }; /* open modes */ --- 168,172 ---- uInt8 sId; /* Mac only */ uInt8 xFlags; /* Mac only */ ! } LVFileInfo; enum { openReadWrite, openReadOnly, openWriteOnly, openWriteOnlyTruncate }; /* open modes */ *************** *** 177,181 **** extern MgErr ZEXPORT UtilFileInfo OF((Path path, uInt8 write, ! FileInfo *finderInfo, PStr comment, int32 *length)); --- 187,191 ---- extern MgErr ZEXPORT UtilFileInfo OF((Path path, uInt8 write, ! LVFileInfo *finderInfo, PStr comment, int32 *length)); |
From: Jim K. <jk...@us...> - 2006-01-08 21:53:24
|
Update of /cvsroot/opengtoolkit/lvzip/developer docs/error logs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31489/developer docs/error logs Added Files: finder_error.png Log Message: added error log images --- NEW FILE: finder_error.png --- (This appears to be a binary file; contents omitted.) |
From: Rolf K. <lab...@us...> - 2006-01-08 21:52:59
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31399/c_source Modified Files: macbin.c Log Message: Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** macbin.c 8 Jan 2006 21:32:22 -0000 1.13 --- macbin.c 8 Jan 2006 21:52:50 -0000 1.14 *************** *** 10,19 **** #include "zlib.h" #include "ioapi.h" - #include "macbin.h" #if Mac #include <CoreServices/CoreServices.h> // instead of #include <Resources.h> ! #include "Finder.h" ! #include "Files.h" #include "MacBinaryIII.h" --- 10,18 ---- #include "zlib.h" #include "ioapi.h" #if Mac #include <CoreServices/CoreServices.h> // instead of #include <Resources.h> ! #include <Finder.h> ! #include <Files.h> #include "MacBinaryIII.h" *************** *** 34,37 **** --- 33,38 ---- #endif + #include "macbin.h" + extern void ZEXPORT DLLVersion(uChar* version) { *************** *** 84,88 **** } ! extern MgErr ZEXPORT LV_DecodeMacbinary(Path srcPath, Path dstPathe) { #if Mac --- 85,89 ---- } ! extern MgErr ZEXPORT LV_DecodeMacbinary(Path srcPath, Path dstPath) { #if Mac |
From: Jim K. <jk...@us...> - 2006-01-08 21:40:12
|
Update of /cvsroot/opengtoolkit/lvzip/developer docs/error logs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27867 Added Files: errors_01.png errors_02.png Log Message: added error log images --- NEW FILE: errors_02.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: errors_01.png --- (This appears to be a binary file; contents omitted.) |
From: Jim K. <jk...@us...> - 2006-01-08 21:39:50
|
Update of /cvsroot/opengtoolkit/lvzip/developer docs/error logs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27789/error logs Log Message: Directory /cvsroot/opengtoolkit/lvzip/developer docs/error logs added to the repository |
From: Rolf K. <lab...@us...> - 2006-01-08 21:32:37
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25573/c_source Modified Files: macbin.c macbin.h Log Message: Fixed a few things Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** macbin.c 7 Jan 2006 20:11:30 -0000 1.12 --- macbin.c 8 Jan 2006 21:32:22 -0000 1.13 *************** *** 1,5 **** /* macbin.c -- support functions for macbinary ! Version 1.1, Dec 28th, 2004 Copyright (C) 2002-2005 Rolf Kalbermatter --- 1,5 ---- /* macbin.c -- support functions for macbinary ! Version 1.2, Dec 29th, 2005 Copyright (C) 2002-2005 Rolf Kalbermatter *************** *** 24,68 **** #define kFileChanged (1L<<7) ! static OSErr MakeFSpec(ConstStr255 path, FSSpec *fss); static OSErr IfDirCloseIt(int16 vol); static MgErr OSErrToLVErr(OSErr err); static void MacConvertFromLVTime(uInt32 time, uInt32* sTime); static void MacConvertToLVTime(uInt32 sTime, uInt32* time); - #elif Unix - #include <sys/types.h> - #include <sys/stat.h> - #include <string.h> - #include <utime.h> - static void UnixConvertFromLVTime(uInt32 time, time_t* sTime); - static void UnixConvertToLVTime(time_t sTime, uInt32* time); #elif Win32 #include "iowin32.h" - static void Win32ConvertFromLVTime(uInt32 time, FILETIME* sTime); - static void Win32ConvertToLVTime(FILETIME sTime, uInt32* time); #endif ! extern void ZEXPORT DLLVersion(char* version) { sprintf(version, "lvzlib date: %s, time: %s",__DATE__,__TIME__); } ! extern MgErr ZEXPORT HasResourceFork(ConstStr255 fileName, long *hasResFork){ #if Mac ! OSErr err = noErr; ! int theRefNum; ! FSSpec theFSSpec; ! *hasResFork = 0; ! ! err = MakeFSpec(fileName, &theFSSpec); ! id (!err) { ! theRefNum = FSpOpenResFile(&theFSSpec, fsRdWrPerm); ! if (ResError() == noErr) //we've got a resource file ! { ! CloseResFile(theRefNum); ! *hasResFork = 1; ! } } return OSErrToLVErr(err); --- 24,59 ---- #define kFileChanged (1L<<7) ! static OSErr MakeMacSpec(Path path, FSSpec *fss); ! static OSErr MakeFSpec(int16 vol, int32 dirID, ConstStr255 path, FSSpec *fss); static OSErr IfDirCloseIt(int16 vol); static MgErr OSErrToLVErr(OSErr err); static void MacConvertFromLVTime(uInt32 time, uInt32* sTime); static void MacConvertToLVTime(uInt32 sTime, uInt32* time); #elif Win32 #include "iowin32.h" #endif ! extern void ZEXPORT DLLVersion(uChar* version) { sprintf(version, "lvzlib date: %s, time: %s",__DATE__,__TIME__); } ! extern MgErr ZEXPORT HasResourceFork(Path path, int32 *hasResFork){ #if Mac ! FSSpec theFSSpec; ! OSErr err = noErr; ! *hasResFork = 0; ! ! err = MakeMacSpec(path, &theFSSpec); ! if (!err) { ! int theRefNum = FSpOpenResFile(&theFSSpec, fsRdWrPerm); ! if (ResError() == noErr) //we've got a resource file ! { ! CloseResFile(theRefNum); ! *hasResFork = 1; ! } } return OSErrToLVErr(err); *************** *** 73,87 **** } ! extern MgErr ZEXPORT LV_EncodeMacbinary(ConstStr255 srcFileName, ConstStr255 dstFileName){ #if Mac ! FSSpec srcFSSpec; ! FSSpec dstFSSpec; ! OSErr err = MakeFSpec(srcFileName, &srcFSSpec); if (!err) { ! err = MakeFSpec(dstFileName, &dstFSSpec); if (!err) ! err = EncodeMacbinaryFiles(&srcFSSpec,&dstFSSpec); ! } return OSErrToLVErr(err); #else --- 64,81 ---- } ! extern MgErr ZEXPORT LV_EncodeMacbinary(Path srcPath, Path dstPath) ! { #if Mac ! FSSpec srcFSSpec; ! FSSpec dstFSSpec; ! OSErr err; ! ! err = MakeMacSpec(srcPath, &srcFSSpec); if (!err) { ! err = MakeMacSpec(dstPath, &dstFSSpec); if (!err) ! err = EncodeMacbinaryFiles(&srcFSSpec, &dstFSSpec); ! } return OSErrToLVErr(err); #else *************** *** 90,105 **** } ! extern MgErr ZEXPORT LV_DecodeMacbinary(ConstStr255 srcFileName, ConstStr255 dstFileName){ #if Mac ! FSSpec srcFSSpec; ! FSSpec dstFSSpec; ! OSErr err; ! err = MakeFSpec(srcFileName, &srcFSSpec); if (!err) { ! err = MakeFSpec(dstFileName, &dstFSSpec); ! if (err) ! err = DecodeMacBinaryFiles(&srcFSSpec,&dstFSSpec); } return OSErrToLVErr(err); --- 84,100 ---- } ! extern MgErr ZEXPORT LV_DecodeMacbinary(Path srcPath, Path dstPathe) ! { #if Mac ! FSSpec srcFSSpec; ! FSSpec dstFSSpec; ! OSErr err; ! err = MakeMacSpec(srcPath, &srcFSSpec); if (!err) { ! err = MakeMacSpec(dstPath, &dstFSSpec); ! if (err) ! err = DecodeMacBinaryFiles(&srcFSSpec, &dstFSSpec); } return OSErrToLVErr(err); *************** *** 109,124 **** } ! extern MgErr ZEXPORT OpenResFork(File *fdp, ! PStr path, ! uInt32 openMode, ! uInt32 denyMode) { #if Mac int16 perm; FSSpec fss; HParamBlockRec pbr; ! OSErr err = noErr; ! *fdp = (File)0; ! switch(openMode) { case openReadWrite: perm = 0x0003; --- 104,119 ---- } ! extern MgErr ZEXPORT OpenResFork(LVRefNum *refnum, Path path, uInt32 openMode, uInt32 denyMode) ! { ! MgErr err = mgNotSupported; #if Mac int16 perm; FSSpec fss; + File fd = (File)0;; HParamBlockRec pbr; ! OSErr ret; ! switch(openMode) ! { case openReadWrite: perm = 0x0003; *************** *** 134,138 **** return mgArgErr; } ! switch (denyMode) { case denyReadWrite: perm |= 0x0030; --- 129,134 ---- return mgArgErr; } ! switch (denyMode) ! { case denyReadWrite: perm |= 0x0030; *************** *** 148,152 **** } ! if (err = MakeFSpec(path, &fss)) { return OSErrToLVErr(err); } --- 144,149 ---- } ! if (ret = MakeMacSpec(path, &fss)) ! { return OSErrToLVErr(err); } *************** *** 159,185 **** pbr.accessParam.ioDenyModes = perm; ! if (err = PBHOpenRFDenySync(&pbr)) { ! goto out; ! } ! *fdp = (File)pbr.ioParam.ioRefNum; ! if (openMode == openWriteOnlyTruncate) { ! if (err = SetEOF((int16)*fdp, 0L)) { ! goto out; ! } } out: IfDirCloseIt(fss.vRefNum); ! return OSErrToLVErr(err); ! #else ! return mgNotSupported; #endif } ! extern MgErr ZEXPORT UtilFileInfo(PStr path, uInt8 write, ! FileInfo *finderInfo, ! PStr comment, ! int32 *length) { #if Mac --- 156,181 ---- pbr.accessParam.ioDenyModes = perm; ! if (!(ret = PBHOpenRFDenySync(&pbr))) ! { ! fd = (File)pbr.ioParam.ioRefNum; ! if (openMode == openWriteOnlyTruncate) ! ret = SetEOF((int16)fd, 0L); } out: IfDirCloseIt(fss.vRefNum); ! if (ret) ! err = OSErrToLVErr(ret); ! else ! err = FNewRefNum(path, fd, refnum); #endif + return err; } ! extern MgErr ZEXPORT UtilFileInfo(Path path, uInt8 write, ! FileInfo *finderInfo, ! PStr comment, ! int32 *length) { #if Mac *************** *** 192,196 **** return mgArgErr; ! if (err = MakeFSpec(path, &fss)) return OSErrToLVErr(err); --- 188,192 ---- return mgArgErr; ! if (err = MakeMacSpec(path, &fss)) return OSErrToLVErr(err); *************** *** 288,292 **** #endif } ! extern long ZEXPORT InitializeFileFuncs (zlib_filefunc_def* pzlib_filefunc_def) { --- 284,288 ---- #endif } ! extern long ZEXPORT InitializeFileFuncs (zlib_filefunc_def* pzlib_filefunc_def) { *************** *** 294,314 **** { #if Win32 ! fill_win32_filefunc(pzlib_filefunc_def); #else ! fill_fopen_filefunc(pzlib_filefunc_def); #endif ! return noErr; } else ! return sizeof(zlib_filefunc_def); } #if Mac ! static OSErr MakeFSpec(ConstStr255 path, FSSpec *fss) { OSErr err; ! err = FSMakeFSSpec(/*vol*/0, /*dirID*/0, mPath, fss); if (err && !(err == fnfErr)) ! return err; /* fileNotFound is expected and normal */ /* Workaround adapted from Apple Developer Support sample code in */ --- 290,453 ---- { #if Win32 ! fill_win32_filefunc(pzlib_filefunc_def); #else ! fill_fopen_filefunc(pzlib_filefunc_def); #endif ! return noErr; } else ! return sizeof(zlib_filefunc_def); } #if Mac ! /* The following functions, IsAliasFile and ResolveAliasFileMountOption, are taken from ! Mac Tech Note #315. They may be used to resolve alias files quietly, without user ! interaction. ! */ ! static OSErr IsAliasFile(const FSSpec *fileFSSpec, ! Boolean *aliasFileFlag, ! Boolean *folderFlag) ! { ! CInfoPBRec myCInfoPBRec; OSErr err; ! if (fileFSSpec == NULL) ! return paramErr; ! ! if (aliasFileFlag) ! *aliasFileFlag ! if (folderFlag) ! *folderFlag = false; ! ! myCInfoPBRec.hFileInfo.ioCompletion = NULL; ! myCInfoPBRec.hFileInfo.ioNamePtr = (UPtr)fileFSSpec->name; ! myCInfoPBRec.hFileInfo.ioVRefNum = fileFSSpec->vRefNum; ! myCInfoPBRec.hFileInfo.ioDirID = fileFSSpec->parID; ! myCInfoPBRec.hFileInfo.ioFVersNum = 0; ! myCInfoPBRec.hFileInfo.ioFDirIndex = 0; ! ! err = PBGetCatInfoSync(&myCInfoPBRec); ! ! if (err == noErr) ! { ! if (folderFlag && (myCInfoPBRec.hFileInfo.ioFlAttrib & ioDirMask) != 0) ! *folderFlag = true; ! else if (aliasFileFlag && (myCInfoPBRec.hFileInfo.ioFlFndrInfo.fdFlags & 0x8000) != 0) ! *aliasFileFlag = true; ! } ! return err; ! } ! ! static OSErr ResolveAliasFileMountOption(FSSpec *fileFSSpec, ! Boolean resolveAliasChains, ! Boolean *targetIsFolder, ! Boolean *wasAliased, ! Boolean mountRemoteVols) ! { ! #define MAXCHAINS 10 ! ! short myResRefNum; ! Handle aliasHandle; ! FSSpec initFSSpec; ! Boolean updateFlag, foundFlag = false, wasAliasedTemp, specChangedFlag = false; ! short chainCount; ! OSErr err; ! ! if (fileFSSpec == NULL || wasAliased == NULL) ! return paramErr; ! ! initFSSpec = *fileFSSpec; ! chainCount = MAXCHAINS; ! ! if (targetIsFolder) ! *targetIsFolder = false; ! ! do ! { ! chainCount--; ! ! err = IsAliasFile(fileFSSpec, wasAliased, targetIsFolder); ! if (err != noErr || !(*wasAliased)) ! break; ! ! myResRefNum = FSpOpenResFile(fileFSSpec, fsCurPerm); ! err = ResError(); ! if (myResRefNum == -1) ! break; ! ! aliasHandle = Get1IndResource(rAliasType, 1); ! err = ResError(); ! if (aliasHandle == NULL) ! { ! CloseResFile(myResRefNum); ! break; ! } ! ! LoadResource(aliasHandle); ! err = ResError(); ! if (err != noErr) ! { ! CloseResFile(myResRefNum); ! break; ! } ! ! err = FollowFinderAlias(fileFSSpec, (AliasHandle)aliasHandle, mountRemoteVols, ! fileFSSpec, &updateFlag); ! ! if (err == noErr) ! { ! if (updateFlag) ! { ! ChangedResource(aliasHandle); ! WriteResource(aliasHandle); ! } ! ! specChangedFlag = true; ! ! err = IsAliasFile(fileFSSpec, &wasAliasedTemp, targetIsFolder); ! if (err == noErr) ! foundFlag = !(wasAliasedTemp && resolveAliasChains); ! } ! CloseResFile(myResRefNum); ! ! } while (err == noErr && chainCount > 0 && !foundFlag); ! ! if (err == noErr && !foundFlag) ! err = fnfErr; ! ! if (err != noErr && specChangedFlag) ! *fileFSSpec = initFSSpec; ! ! return err; ! } ! ! static OSErr MakeMacSpec(Path path, FSSpec *fss) ! { ! OSErr err; ! LStr256 lStr; ! Str255 name; ! Boolean isDir, isAlias; ! ! lStr.cnt = -1; ! FPathToText(path, (LStrPtr)&lStr); ! if (lStr.cnt > 255) ! return paramErr; ! else ! { ! FPathToText(path, (LStrPtr)&lStr); ! LToPStr((LStrPtr)&lStr, name); ! err = MakeFSpec(0, 0, name, fss); ! if (err == noErr) ! err = ResolveAliasFileMountOption(fss, true, (Boolean*)&isDir, (Boolean*)&isAlias, false); ! } ! return err; ! } ! ! static OSErr MakeFSpec(int16 vol, int32 dirID, ConstStr255 path, FSSpec *fss) ! { ! OSErr err = FSMakeFSSpec(vol, dirID, path, fss); if (err && !(err == fnfErr)) ! return err; ! /* fileNotFound is expected and normal */ /* Workaround adapted from Apple Developer Support sample code in */ *************** *** 319,368 **** /* fileName parameter. */ if ((err == noErr) && (fss->parID == 0)) { ! fss->parID = fsRtParID; } return noErr; } ! static OSErr IfDirCloseIt(int16 vol){ WDPBRec wdpb; ! ! if (vol < 0){ ! wdpb.ioCompletion = NULL; ! wdpb.ioVRefNum = vol; ! return PBCloseWDSync(&wdpb); } return noErr; } ! static MgErr OSErrToLVErr(OSErr err) { ! switch(err){ ! case noErr: return noErr; ! case rfNumErr: ! case paramErr: ! case nsvErr: ! case fnOpnErr: ! case bdNamErr: return mgArgErr; ! case vLckdErr: ! case wrPermErr: ! case wPrErr: ! case fLckdErr: ! case afpAccessDenied: ! case permErr: return fNoPerm; ! case fBsyErr: ! case opWrErr: return fIsOpen; ! case posErr: ! case eofErr: return fEOF; ! case dirNFErr: ! case fnfErr: return fNotFound; ! case dskFulErr: return fDiskFull; ! case dupFNErr: return fDupPath; ! case tmfoErr: return fTMFOpen; ! case memFullErr:return mFullErr; ! case afpObjectTypeErr: ! case afpContainsSharedErr: ! case afpInsideSharedErr: ! return fNotEnabled; } ! return fIOErr; /* fIOErr generally signifies some unknown file error */ } /* --- 458,520 ---- /* fileName parameter. */ if ((err == noErr) && (fss->parID == 0)) { ! fss->parID = fsRtParID; } return noErr; } ! static OSErr IfDirCloseIt(int16 vol) ! { WDPBRec wdpb; ! if (vol < 0) ! { ! wdpb.ioCompletion = NULL; ! wdpb.ioVRefNum = vol; ! return PBCloseWDSync(&wdpb); } return noErr; } ! static MgErr OSErrToLVErr(OSErr err) ! { ! switch(err) ! { ! case noErr: ! return noErr; ! case rfNumErr: ! case paramErr: ! case nsvErr: ! case fnOpnErr: ! case bdNamErr: ! return mgArgErr; ! case vLckdErr: ! case wrPermErr: ! case wPrErr: ! case fLckdErr: ! case afpAccessDenied: ! case permErr: ! return fNoPerm; ! case fBsyErr: ! case opWrErr: ! return fIsOpen; ! case posErr: ! case eofErr: ! return fEOF; ! case dirNFErr: ! case fnfErr: ! return fNotFound; ! case dskFulErr: ! return fDiskFull; ! case dupFNErr: ! return fDupPath; ! case tmfoErr: ! return fTMFOpen; ! case memFullErr: ! return mFullErr; ! case afpObjectTypeErr: ! case afpContainsSharedErr: ! case afpInsideSharedErr: ! return fNotEnabled; } ! return fIOErr; /* fIOErr generally signifies some unknown file error */ } /* Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** macbin.h 7 Jan 2006 20:11:30 -0000 1.7 --- macbin.h 8 Jan 2006 21:32:22 -0000 1.8 *************** *** 12,23 **** #endif - #ifndef _ZLIB_H - #include "zlib.h" - #endif - - #ifndef _ZLIBIOAPI_H - #include "ioapi.h" - #endif - #if defined(macintosh) || defined(__PPCC__) || defined(THINK_C) || defined(__SC__) || defined(__MWERKS__) || defined(__APPLE_CC__) #define Mac 1 --- 12,15 ---- *************** *** 37,53 **** #define Private(T) typedef struct T##_t { void *p; } *T Private(File); typedef int32 MgErr; - #if !Mac - typedef struct - { - int16 v; - int16 h; - } Point; - #endif - enum { /* Manager Error Codes */ #if !Mac && !QTMLIncl --- 29,40 ---- #define Private(T) typedef struct T##_t { void *p; } *T + #define PrivateH(T) struct T##_t; typedef struct T##_t **T Private(File); + PrivateH(Path); + Private(LVRefNum); typedef int32 MgErr; enum { /* Manager Error Codes */ #if !Mac && !QTMLIncl *************** *** 136,139 **** --- 123,137 ---- }; + #if !Mac + typedef struct + { + int16 v; + int16 h; + } Point; + #endif + + typedef uChar Str255[256]; + typedef const uChar ConstStr255[256]; + typedef uChar *PStr, *CStr; *************** *** 142,146 **** #define PStrSize(b) (PStrLen(b)+1) /* # of bytes including length */ ! typedef const uChar ConstStr255[256]; /* Typedefs */ --- 140,147 ---- #define PStrSize(b) (PStrLen(b)+1) /* # of bytes including length */ ! typedef struct { ! int32 cnt; ! uChar str[1]; ! } LStr, *LStrPtr, **LStrHandle; /* Typedefs */ *************** *** 162,173 **** enum { denyReadWrite, denyWriteOnly, denyNeither}; /* deny modes */ ! extern void ZEXPORT DLLVersion(char* Version); ! extern MgErr ZEXPORT HasResourceFork(ConstStr255 fileName, long *hasResFork); ! extern MgErr LV_EncodeMacbinary(ConstStr255 srcFileName, ConstStr255 dstFileName); ! extern MgErr LV_DecodeMacbinary(ConstStr255 srcFileName, ConstStr255 dstFileName); ! extern MgErr ZEXPORT UtilFileInfo OF((PStr path, uInt8 write, FileInfo *finderInfo, --- 163,179 ---- enum { denyReadWrite, denyWriteOnly, denyNeither}; /* deny modes */ ! /* LabVIEW exported functions */ ! MgErr FPathToText(Path path, LStrPtr lstr); ! MgErr FNewRefNum(Path path, File fd, LVRefNum* refnum); ! /* Our exported functions */ ! extern void ZEXPORT DLLVersion OF((uChar* Version)); ! extern MgErr ZEXPORT HasResourceFork OF((Path path, int32 *hasResFork)); ! extern MgErr ZEXPORT LV_EncodeMacbinary OF((Path srcFileName, Path dstFileName)); ! extern MgErr ZEXPORT LV_DecodeMacbinary OF((Path srcFileName, Path dstFileName)); ! ! extern MgErr ZEXPORT UtilFileInfo OF((Path path, uInt8 write, FileInfo *finderInfo, *************** *** 175,180 **** int32 *length)); ! extern MgErr ZEXPORT OpenResFork OF((File *fdp, ! PStr path, uInt32 openMode, uInt32 denyMode)); --- 181,186 ---- int32 *length)); ! extern MgErr ZEXPORT OpenResFork OF((LVRefNum *refnum, ! Path path, uInt32 openMode, uInt32 denyMode)); |
From: Rolf K. <lab...@us...> - 2006-01-08 21:25:45
|
Update of /cvsroot/opengtoolkit/lvzip/source/lvzip.llb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23623/source/lvzip.llb Removed Files: DecodemacBinary.vi EncodemacBinary.vi Log Message: Restructured MacBinary code a bit and fixed a few problems for Macintosh platform --- EncodemacBinary.vi DELETED --- --- DecodemacBinary.vi DELETED --- |