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: Rolf K. <lab...@us...> - 2004-12-28 17:32:04
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28103/c_source Added Files: iowin32.c iowin32.h Log Message: Readded files --- NEW FILE: iowin32.c --- /* iowin32.c -- IO base function header for compress/uncompress .zip files using zlib + zip or unzip API This IO API version uses the Win32 API (for Microsoft Windows) Version 1.01, May 8th, 2004 Copyright (C) 1998-2004 Gilles Vollant */ #include <stdlib.h> #include "zlib.h" #include "ioapi.h" #include "iowin32.h" #ifndef INVALID_HANDLE_VALUE #define INVALID_HANDLE_VALUE (0xFFFFFFFF) #endif #ifndef INVALID_SET_FILE_POINTER #define INVALID_SET_FILE_POINTER ((DWORD)-1) #endif voidpf ZCALLBACK win32_open_file_func OF(( voidpf opaque, const char* filename, int mode)); uLong ZCALLBACK win32_read_file_func OF(( voidpf opaque, voidpf stream, void* buf, uLong size)); uLong ZCALLBACK win32_write_file_func OF(( voidpf opaque, voidpf stream, const void* buf, uLong size)); long ZCALLBACK win32_tell_file_func OF(( voidpf opaque, voidpf stream)); long ZCALLBACK win32_seek_file_func OF(( voidpf opaque, voidpf stream, uLong offset, int origin)); int ZCALLBACK win32_close_file_func OF(( voidpf opaque, voidpf stream)); int ZCALLBACK win32_error_file_func OF(( voidpf opaque, voidpf stream)); typedef struct { HANDLE hf; int error; } WIN32FILE_IOWIN; voidpf ZCALLBACK win32_open_file_func (opaque, filename, mode) voidpf opaque; const char* filename; int mode; { const char* mode_fopen = NULL; DWORD dwDesiredAccess,dwCreationDisposition,dwShareMode,dwFlagsAndAttributes ; HANDLE hFile = 0; voidpf ret=NULL; dwDesiredAccess = dwShareMode = dwFlagsAndAttributes = 0; if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) { dwDesiredAccess = GENERIC_READ; dwCreationDisposition = OPEN_EXISTING; dwShareMode = FILE_SHARE_READ; } else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) { dwDesiredAccess = GENERIC_WRITE | GENERIC_READ; dwCreationDisposition = OPEN_EXISTING; } else if (mode & ZLIB_FILEFUNC_MODE_CREATE) { dwDesiredAccess = GENERIC_WRITE | GENERIC_READ; dwCreationDisposition = CREATE_ALWAYS; } if ((filename!=NULL) && (dwDesiredAccess != 0)) hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL); if (hFile == INVALID_HANDLE_VALUE) hFile = NULL; if (hFile != NULL) { WIN32FILE_IOWIN w32fiow; w32fiow.hf = hFile; w32fiow.error = 0; ret = malloc(sizeof(WIN32FILE_IOWIN)); if (ret==NULL) CloseHandle(hFile); else *((WIN32FILE_IOWIN*)ret) = w32fiow; } return ret; } uLong ZCALLBACK win32_read_file_func (opaque, stream, buf, size) voidpf opaque; voidpf stream; void* buf; uLong size; { uLong ret=0; HANDLE hFile = NULL; if (stream!=NULL) hFile = ((WIN32FILE_IOWIN*)stream) -> hf; if (hFile != NULL) if (!ReadFile(hFile, buf, size, &ret, NULL)) { DWORD dwErr = GetLastError(); if (dwErr == ERROR_HANDLE_EOF) dwErr = 0; ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; } return ret; } uLong ZCALLBACK win32_write_file_func (opaque, stream, buf, size) voidpf opaque; voidpf stream; const void* buf; uLong size; { uLong ret=0; HANDLE hFile = NULL; if (stream!=NULL) hFile = ((WIN32FILE_IOWIN*)stream) -> hf; if (hFile !=NULL) if (!WriteFile(hFile, buf, size, &ret, NULL)) { DWORD dwErr = GetLastError(); if (dwErr == ERROR_HANDLE_EOF) dwErr = 0; ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; } return ret; } long ZCALLBACK win32_tell_file_func (opaque, stream) voidpf opaque; voidpf stream; { long ret=-1; HANDLE hFile = NULL; if (stream!=NULL) hFile = ((WIN32FILE_IOWIN*)stream) -> hf; if (hFile != NULL) { DWORD dwSet = SetFilePointer(hFile, 0, NULL, FILE_CURRENT); if (dwSet == INVALID_SET_FILE_POINTER) { DWORD dwErr = GetLastError(); ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; ret = -1; } else ret=(long)dwSet; } return ret; } long ZCALLBACK win32_seek_file_func (opaque, stream, offset, origin) voidpf opaque; voidpf stream; uLong offset; int origin; { DWORD dwMoveMethod=0xFFFFFFFF; HANDLE hFile = NULL; long ret=-1; if (stream!=NULL) hFile = ((WIN32FILE_IOWIN*)stream) -> hf; switch (origin) { case ZLIB_FILEFUNC_SEEK_CUR : dwMoveMethod = FILE_CURRENT; break; case ZLIB_FILEFUNC_SEEK_END : dwMoveMethod = FILE_END; break; case ZLIB_FILEFUNC_SEEK_SET : dwMoveMethod = FILE_BEGIN; break; default: return -1; } if (hFile != NULL) { DWORD dwSet = SetFilePointer(hFile, offset, NULL, dwMoveMethod); if (dwSet == INVALID_SET_FILE_POINTER) { DWORD dwErr = GetLastError(); ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; ret = -1; } else ret=0; } return ret; } int ZCALLBACK win32_close_file_func (opaque, stream) voidpf opaque; voidpf stream; { int ret=-1; if (stream!=NULL) { HANDLE hFile; hFile = ((WIN32FILE_IOWIN*)stream) -> hf; if (hFile != NULL) { CloseHandle(hFile); ret=0; } free(stream); } return ret; } int ZCALLBACK win32_error_file_func (opaque, stream) voidpf opaque; voidpf stream; { int ret=-1; if (stream!=NULL) { ret = ((WIN32FILE_IOWIN*)stream) -> error; } return ret; } void fill_win32_filefunc (pzlib_filefunc_def) zlib_filefunc_def* pzlib_filefunc_def; { pzlib_filefunc_def->zopen_file = win32_open_file_func; pzlib_filefunc_def->zread_file = win32_read_file_func; pzlib_filefunc_def->zwrite_file = win32_write_file_func; pzlib_filefunc_def->ztell_file = win32_tell_file_func; pzlib_filefunc_def->zseek_file = win32_seek_file_func; pzlib_filefunc_def->zclose_file = win32_close_file_func; pzlib_filefunc_def->zerror_file = win32_error_file_func; pzlib_filefunc_def->opaque=NULL; } --- NEW FILE: iowin32.h --- /* iowin32.h -- IO base function header for compress/uncompress .zip files using zlib + zip or unzip API This IO API version uses the Win32 API (for Microsoft Windows) Version 1.01, May 8th, 2004 Copyright (C) 1998-2004 Gilles Vollant */ #include <windows.h> #ifdef __cplusplus extern "C" { #endif void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); #ifdef __cplusplus } #endif |
From: Rolf K. <lab...@us...> - 2004-12-28 17:30:12
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27643/c_source Removed Files: infblock.c infblock.h infcodes.c infcodes.h infutil.c infutil.h iowin32.c iowin32.h Log Message: Removed old files --- infutil.h DELETED --- --- infcodes.h DELETED --- --- iowin32.h DELETED --- --- infblock.c DELETED --- --- infutil.c DELETED --- --- infblock.h DELETED --- --- iowin32.c DELETED --- --- infcodes.c DELETED --- |
From: Konstantin S. <ks...@us...> - 2004-12-27 13:11:13
|
Update of /cvsroot/opengtoolkit/deab In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2146 Modified Files: build_ogb_revisions.txt Log Message: Index: build_ogb_revisions.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/build_ogb_revisions.txt,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** build_ogb_revisions.txt 25 Dec 2004 05:30:51 -0000 1.26 --- build_ogb_revisions.txt 27 Dec 2004 13:10:33 -0000 1.27 *************** *** 1,6 **** [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=138 ! Build_Date="25.12.2004 12:27:16" Status=OK Warnings=0 --- 1,6 ---- [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=139 ! Build_Date="27.12.2004 20:05:50" Status=OK Warnings=0 *************** *** 9,14 **** [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=89 ! Build_Date="25.12.2004 12:28:54" Status=OK Warnings=0 --- 9,14 ---- [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=90 ! Build_Date="27.12.2004 20:07:52" Status=OK Warnings=0 *************** *** 17,22 **** [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=34 ! Build_Date="25.12.2004 12:29:07" Status=OK Warnings=0 --- 17,22 ---- [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=35 ! Build_Date="27.12.2004 20:08:05" Status=OK Warnings=0 |
From: Konstantin S. <ks...@us...> - 2004-12-27 13:10:51
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2146/source/GUI Modified Files: Dialog - Ambiguous VIs Destination.vi Dialog - Build Completion Status.vi Dialog - Log File Properties.vi Dialog - Plug-In VIs.vi Dialog - Project Root Path.vi Dialog - Root Paths.vi Dialog - Version Control.vi Log Message: Index: Dialog - Version Control.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Version Control.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvspDgQDi and /tmp/cvsDLIbgL differ Index: Dialog - Build Completion Status.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Build Completion Status.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs37xQIq and /tmp/cvst0IMrT differ Index: Dialog - Plug-In VIs.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Plug-In VIs.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsNR1YqC and /tmp/cvsTkzhk5 differ Index: Dialog - Log File Properties.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Log File Properties.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvs1CoBjJ and /tmp/cvs24Aqjc differ Index: Dialog - Project Root Path.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Project Root Path.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsDsiNiW and /tmp/cvsXa5Vtp differ Index: Dialog - Root Paths.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Root Paths.vi,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvsnw60t9 and /tmp/cvsdSiNLC differ Index: Dialog - Ambiguous VIs Destination.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Ambiguous VIs Destination.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvszbd0tv and /tmp/cvs6YfaZY differ |
From: Konstantin S. <ks...@us...> - 2004-12-27 13:10:50
|
Update of /cvsroot/opengtoolkit/deab/user docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2146/user docs Modified Files: OGB Glossary.htm Log Message: Index: OGB Glossary.htm =================================================================== RCS file: /cvsroot/opengtoolkit/deab/user docs/OGB Glossary.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OGB Glossary.htm 9 Dec 2004 04:13:36 -0000 1.2 --- OGB Glossary.htm 27 Dec 2004 13:10:41 -0000 1.3 *************** *** 20,23 **** --- 20,24 ---- <li><a href="#Icon_File">Icon File</a></li> <li><a href="#Log_Dir">Log Dir</a></li> + <li><a href="#Log_File">Log File</a></li> <li><a href="#Log_File_Suffix">Log File Suffix</a></li> <li><a href="#Name_Mangle">Name Mangle</a></li> |
From: Rolf K. <lab...@us...> - 2004-12-25 16:32:51
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31060/c_source Modified Files: configure macbin.c macbin.h zlibvc.def zlibvc.dsp Log Message: Some modifications to allow use of Windows API file functions in zip/unzip operations instead of ANSI C runtime functions. Index: configure =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/configure,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** configure 7 Dec 2004 22:52:50 -0000 1.3 --- configure 25 Dec 2004 16:32:41 -0000 1.4 *************** *** 79,83 **** case `(uname -s || echo unknown) 2>/dev/null` in Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,$LIBNAME.so"};; ! CYGWIN* | Cygwin* | cygwin* ) EXE='.exe';; QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4 --- 79,83 ---- case `(uname -s || echo unknown) 2>/dev/null` in Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,$LIBNAME.so"};; ! CYGWIN* | Cygwin* | cygwin* | OS/2* ) EXE='.exe';; QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4 *************** *** 91,97 **** SHAREDLIBV=$LIBNAME.$VER$shared_ext SHAREDLIBM=$LIBNAME.$VER1$shared_ext ! LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name /usr/lib/$SHAREDLIBV -compatibility_version $VER2 -current_version $VER"} ! libdir='/usr/lib' ! includedir='/usr/include';; *) LDSHARED=${LDSHARED-"$cc -shared"};; esac --- 91,95 ---- SHAREDLIBV=$LIBNAME.$VER$shared_ext SHAREDLIBM=$LIBNAME.$VER1$shared_ext ! LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBV -compatibility_version $VER2 -current_version $VER"};; *) LDSHARED=${LDSHARED-"$cc -shared"};; esac Index: macbin.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** macbin.c 11 Sep 2003 22:33:15 -0000 1.6 --- macbin.c 25 Dec 2004 16:32:41 -0000 1.7 *************** *** 2,5 **** --- 2,7 ---- #include "zlib.h" + #include "ioapi.h" + #include "iowin32.h" #include "macbin.h" *************** *** 289,292 **** --- 291,309 ---- } + extern long ZEXPORT InitializeFileFuncs OF((zlib_filefunc_def* pzlib_filefunc_def)) + { + if (pzlib_filefunc_def) + { + #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(PStr path, FSSpec *fss) { Index: macbin.h =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/macbin.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** macbin.h 11 Sep 2003 22:33:15 -0000 1.4 --- macbin.h 25 Dec 2004 16:32:41 -0000 1.5 *************** *** 10,13 **** --- 10,17 ---- #endif + #ifndef _ZLIBIOAPI_H + #include "ioapi.h" + #endif + #if defined(macintosh) || defined(__PPCC__) || defined(THINK_C) || defined(__SC__) || defined(__MWERKS__) #define Mac 1 *************** *** 160,163 **** --- 164,170 ---- uInt32 openMode, uInt32 denyMode)); + + extern long ZEXPORT InitializeFileFuncs OF((zlib_filefunc_def* pzlib_filefunc_def)); + #ifdef __cplusplus } Index: zlibvc.dsp =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/zlibvc.dsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** zlibvc.dsp 7 Dec 2004 22:52:50 -0000 1.3 --- zlibvc.dsp 25 Dec 2004 16:32:41 -0000 1.4 *************** *** 449,452 **** --- 449,469 ---- # Begin Source File + SOURCE=.\iowin32.c + + !IF "$(CFG)" == "zlibvc - Win32 Release" + + !ELSEIF "$(CFG)" == "zlibvc - Win32 Debug" + + !ELSEIF "$(CFG)" == "zlibvc - Win32 ReleaseAxp" + + !ELSEIF "$(CFG)" == "zlibvc - Win32 ReleaseWithoutAsm" + + !ELSEIF "$(CFG)" == "zlibvc - Win32 ReleaseWithoutCrtdll" + + !ENDIF + + # End Source File + # Begin Source File + SOURCE=.\macbin.c Index: zlibvc.def =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/zlibvc.def,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** zlibvc.def 7 Dec 2004 22:52:50 -0000 1.5 --- zlibvc.def 25 Dec 2004 16:32:41 -0000 1.6 *************** *** 97,98 **** --- 97,99 ---- OpenResFork UtilFileInfo + InitializeFileFuncs |
From: Rolf K. <lab...@us...> - 2004-12-25 16:29:55
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30678/c_source Added Files: miniunz.c minizip.c mztools.c mztools.h Log Message: Added extra files from most recent distribution of Gilles Volants zip/unzip library --- NEW FILE: mztools.h --- /* Additional tools for Minizip Code: Xavier Roche '2004 License: Same as ZLIB (www.gzip.org) */ #ifndef _zip_tools_H #define _zip_tools_H #ifdef __cplusplus extern "C" { #endif #ifndef _ZLIB_H #include "zlib.h" #endif #include "unzip.h" /* Repair a ZIP file (missing central directory) file: file to recover fileOut: output file after recovery fileOutTmp: temporary file name used for recovery */ extern int ZEXPORT unzRepair(const char* file, const char* fileOut, const char* fileOutTmp, uLong* nRecovered, uLong* bytesRecovered); #endif --- NEW FILE: mztools.c --- /* Additional tools for Minizip Code: Xavier Roche '2004 License: Same as ZLIB (www.gzip.org) */ /* Code */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "zlib.h" #include "unzip.h" #define READ_8(adr) ((unsigned char)*(adr)) #define READ_16(adr) ( READ_8(adr) | (READ_8(adr+1) << 8) ) #define READ_32(adr) ( READ_16(adr) | (READ_16((adr)+2) << 16) ) #define WRITE_8(buff, n) do { \ *((unsigned char*)(buff)) = (unsigned char) ((n) & 0xff); \ } while(0) #define WRITE_16(buff, n) do { \ WRITE_8((unsigned char*)(buff), n); \ WRITE_8(((unsigned char*)(buff)) + 1, (n) >> 8); \ } while(0) #define WRITE_32(buff, n) do { \ WRITE_16((unsigned char*)(buff), (n) & 0xffff); \ WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \ } while(0) extern int ZEXPORT unzRepair(file, fileOut, fileOutTmp, nRecovered, bytesRecovered) const char* file; const char* fileOut; const char* fileOutTmp; uLong* nRecovered; uLong* bytesRecovered; { int err = Z_OK; FILE* fpZip = fopen(file, "rb"); FILE* fpOut = fopen(fileOut, "wb"); FILE* fpOutCD = fopen(fileOutTmp, "wb"); if (fpZip != NULL && fpOut != NULL) { int entries = 0; uLong totalBytes = 0; char header[30]; char filename[256]; char extra[1024]; int offset = 0; int offsetCD = 0; while ( fread(header, 1, 30, fpZip) == 30 ) { int currentOffset = offset; /* File entry */ if (READ_32(header) == 0x04034b50) { unsigned int version = READ_16(header + 4); unsigned int gpflag = READ_16(header + 6); unsigned int method = READ_16(header + 8); unsigned int filetime = READ_16(header + 10); unsigned int filedate = READ_16(header + 12); unsigned int crc = READ_32(header + 14); /* crc */ unsigned int cpsize = READ_32(header + 18); /* compressed size */ unsigned int uncpsize = READ_32(header + 22); /* uncompressed sz */ unsigned int fnsize = READ_16(header + 26); /* file name length */ unsigned int extsize = READ_16(header + 28); /* extra field length */ filename[0] = extra[0] = '\0'; /* Header */ if (fwrite(header, 1, 30, fpOut) == 30) { offset += 30; } else { err = Z_ERRNO; break; } /* Filename */ if (fnsize > 0) { if (fread(filename, 1, fnsize, fpZip) == fnsize) { if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { offset += fnsize; } else { err = Z_ERRNO; break; } } else { err = Z_ERRNO; break; } } else { err = Z_STREAM_ERROR; break; } /* Extra field */ if (extsize > 0) { if (fread(extra, 1, extsize, fpZip) == extsize) { if (fwrite(extra, 1, extsize, fpOut) == extsize) { offset += extsize; } else { err = Z_ERRNO; break; } } else { err = Z_ERRNO; break; } } /* Data */ { int dataSize = cpsize; if (dataSize == 0) { dataSize = uncpsize; } if (dataSize > 0) { char* data = malloc(dataSize); if (data != NULL) { if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { offset += dataSize; totalBytes += dataSize; } else { err = Z_ERRNO; } } else { err = Z_ERRNO; } free(data); if (err != Z_OK) { break; } } else { err = Z_MEM_ERROR; break; } } } /* Central directory entry */ { char header[46]; char* comment = ""; int comsize = (int) strlen(comment); WRITE_32(header, 0x02014b50); WRITE_16(header + 4, version); WRITE_16(header + 6, version); WRITE_16(header + 8, gpflag); WRITE_16(header + 10, method); WRITE_16(header + 12, filetime); WRITE_16(header + 14, filedate); WRITE_32(header + 16, crc); WRITE_32(header + 20, cpsize); WRITE_32(header + 24, uncpsize); WRITE_16(header + 28, fnsize); WRITE_16(header + 30, extsize); WRITE_16(header + 32, comsize); WRITE_16(header + 34, 0); /* disk # */ WRITE_16(header + 36, 0); /* int attrb */ WRITE_32(header + 38, 0); /* ext attrb */ WRITE_32(header + 42, currentOffset); /* Header */ if (fwrite(header, 1, 46, fpOutCD) == 46) { offsetCD += 46; /* Filename */ if (fnsize > 0) { if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { offsetCD += fnsize; } else { err = Z_ERRNO; break; } } else { err = Z_STREAM_ERROR; break; } /* Extra field */ if (extsize > 0) { if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { offsetCD += extsize; } else { err = Z_ERRNO; break; } } /* Comment field */ if (comsize > 0) { if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { offsetCD += comsize; } else { err = Z_ERRNO; break; } } } else { err = Z_ERRNO; break; } } /* Success */ entries++; } else { break; } } /* Final central directory */ { int entriesZip = entries; char header[22]; char* comment = ""; // "ZIP File recovered by zlib/minizip/mztools"; int comsize = (int) strlen(comment); if (entriesZip > 0xffff) { entriesZip = 0xffff; } WRITE_32(header, 0x06054b50); WRITE_16(header + 4, 0); /* disk # */ WRITE_16(header + 6, 0); /* disk # */ WRITE_16(header + 8, entriesZip); /* hack */ WRITE_16(header + 10, entriesZip); /* hack */ WRITE_32(header + 12, offsetCD); /* size of CD */ WRITE_32(header + 16, offset); /* offset to CD */ WRITE_16(header + 20, comsize); /* comment */ /* Header */ if (fwrite(header, 1, 22, fpOutCD) == 22) { /* Comment field */ if (comsize > 0) { if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { err = Z_ERRNO; } } } else { err = Z_ERRNO; } } /* Final merge (file + central directory) */ fclose(fpOutCD); if (err == Z_OK) { fpOutCD = fopen(fileOutTmp, "rb"); if (fpOutCD != NULL) { int nRead; char buffer[8192]; while ( (nRead = fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) { err = Z_ERRNO; break; } } fclose(fpOutCD); } } /* Close */ fclose(fpZip); fclose(fpOut); /* Wipe temporary file */ (void)remove(fileOutTmp); /* Number of recovered entries */ if (err == Z_OK) { if (nRecovered != NULL) { *nRecovered = entries; } if (bytesRecovered != NULL) { *bytesRecovered = totalBytes; } } } else { err = Z_STREAM_ERROR; } return err; } --- NEW FILE: minizip.c --- /* minizip.c Version 1.01b, May 30th, 2004 Copyright (C) 1998-2004 Gilles Vollant */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <errno.h> #include <fcntl.h> #ifdef unix # include <unistd.h> # include <utime.h> # include <sys/types.h> # include <sys/stat.h> #else # include <direct.h> # include <io.h> #endif #include "zip.h" #ifdef WIN32 #define USEWIN32IOAPI #include "iowin32.h" #endif #define WRITEBUFFERSIZE (16384) #define MAXFILENAME (256) #ifdef WIN32 uLong filetime(f, tmzip, dt) char *f; /* name of file to get info on */ tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { int ret = 0; { FILETIME ftLocal; HANDLE hFind; WIN32_FIND_DATA ff32; hFind = FindFirstFile(f,&ff32); if (hFind != INVALID_HANDLE_VALUE) { FileTimeToLocalFileTime(&(ff32.ftLastWriteTime),&ftLocal); FileTimeToDosDateTime(&ftLocal,((LPWORD)dt)+1,((LPWORD)dt)+0); FindClose(hFind); ret = 1; } } return ret; } #else #ifdef unix uLong filetime(f, tmzip, dt) char *f; /* name of file to get info on */ tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { int ret=0; struct stat s; /* results of stat() */ struct tm* filedate; time_t tm_t=0; if (strcmp(f,"-")!=0) { char name[MAXFILENAME+1]; int len = strlen(f); if (len > MAXFILENAME) len = MAXFILENAME; strncpy(name, f,MAXFILENAME-1); /* strncpy doesnt append the trailing NULL, of the string is too long. */ name[ MAXFILENAME ] = '\0'; if (name[len - 1] == '/') name[len - 1] = '\0'; /* not all systems allow stat'ing a file with / appended */ if (stat(name,&s)==0) { tm_t = s.st_mtime; ret = 1; } } filedate = localtime(&tm_t); tmzip->tm_sec = filedate->tm_sec; tmzip->tm_min = filedate->tm_min; tmzip->tm_hour = filedate->tm_hour; tmzip->tm_mday = filedate->tm_mday; tmzip->tm_mon = filedate->tm_mon ; tmzip->tm_year = filedate->tm_year; return ret; } #else uLong filetime(f, tmzip, dt) char *f; /* name of file to get info on */ tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { return 0; } #endif #endif int check_exist_file(filename) const char* filename; { FILE* ftestexist; int ret = 1; ftestexist = fopen(filename,"rb"); if (ftestexist==NULL) ret = 0; else fclose(ftestexist); return ret; } void do_banner() { printf("MiniZip 1.01b, demo of zLib + Zip package written by Gilles Vollant\n"); printf("more info at http://www.winimage.com/zLibDll/unzip.html\n\n"); } void do_help() { printf("Usage : minizip [-o] [-a] [-0 to -9] [-p password] file.zip [files_to_add]\n\n" \ " -o Overwrite existing file.zip\n" \ " -a Append to existing file.zip\n" \ " -0 Store only\n" \ " -1 Compress faster\n" \ " -9 Compress better\n\n"); } /* calculate the CRC32 of a file, because to encrypt a file, we need known the CRC32 of the file before */ int getFileCrc(const char* filenameinzip,void*buf,unsigned long size_buf,unsigned long* result_crc) { unsigned long calculate_crc=0; int err=ZIP_OK; FILE * fin = fopen(filenameinzip,"rb"); unsigned long size_read = 0; unsigned long total_read = 0; if (fin==NULL) { err = ZIP_ERRNO; } if (err == ZIP_OK) do { err = ZIP_OK; size_read = (int)fread(buf,1,size_buf,fin); if (size_read < size_buf) if (feof(fin)==0) { printf("error in reading %s\n",filenameinzip); err = ZIP_ERRNO; } if (size_read>0) calculate_crc = crc32(calculate_crc,buf,size_read); total_read += size_read; } while ((err == ZIP_OK) && (size_read>0)); if (fin) fclose(fin); *result_crc=calculate_crc; printf("file %s crc %x\n",filenameinzip,calculate_crc); return err; } int main(argc,argv) int argc; char *argv[]; { int i; int opt_overwrite=0; int opt_compress_level=Z_DEFAULT_COMPRESSION; int zipfilenamearg = 0; char filename_try[MAXFILENAME+16]; int zipok; int err=0; int size_buf=0; void* buf=NULL; const char* password=NULL; do_banner(); if (argc==1) { do_help(); return 0; } else { for (i=1;i<argc;i++) { if ((*argv[i])=='-') { const char *p=argv[i]+1; while ((*p)!='\0') { char c=*(p++);; if ((c=='o') || (c=='O')) opt_overwrite = 1; if ((c=='a') || (c=='A')) opt_overwrite = 2; if ((c>='0') && (c<='9')) opt_compress_level = c-'0'; if (((c=='p') || (c=='P')) && (i+1<argc)) { password=argv[i+1]; i++; } } } else if (zipfilenamearg == 0) zipfilenamearg = i ; } } size_buf = WRITEBUFFERSIZE; buf = (void*)malloc(size_buf); if (buf==NULL) { printf("Error allocating memory\n"); return ZIP_INTERNALERROR; } if (zipfilenamearg==0) zipok=0; else { int i,len; int dot_found=0; zipok = 1 ; strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1); /* strncpy doesnt append the trailing NULL, of the string is too long. */ filename_try[ MAXFILENAME ] = '\0'; len=(int)strlen(filename_try); for (i=0;i<len;i++) if (filename_try[i]=='.') dot_found=1; if (dot_found==0) strcat(filename_try,".zip"); if (opt_overwrite==2) { /* if the file don't exist, we not append file */ if (check_exist_file(filename_try)==0) opt_overwrite=1; } else if (opt_overwrite==0) if (check_exist_file(filename_try)!=0) { char rep=0; do { char answer[128]; int ret; printf("The file %s exists. Overwrite ? [y]es, [n]o, [a]ppend : ",filename_try); ret = scanf("%1s",answer); if (ret != 1) { exit(EXIT_FAILURE); } rep = answer[0] ; if ((rep>='a') && (rep<='z')) rep -= 0x20; } while ((rep!='Y') && (rep!='N') && (rep!='A')); if (rep=='N') zipok = 0; if (rep=='A') opt_overwrite = 2; } } if (zipok==1) { zipFile zf; int errclose; # ifdef USEWIN32IOAPI zlib_filefunc_def ffunc; fill_win32_filefunc(&ffunc); zf = zipOpen2(filename_try,(opt_overwrite==2) ? 2 : 0,NULL,&ffunc); # else zf = zipOpen(filename_try,(opt_overwrite==2) ? 2 : 0); # endif if (zf == NULL) { printf("error opening %s\n",filename_try); err= ZIP_ERRNO; } else printf("creating %s\n",filename_try); for (i=zipfilenamearg+1;(i<argc) && (err==ZIP_OK);i++) { if (!((((*(argv[i]))=='-') || ((*(argv[i]))=='/')) && ((argv[i][1]=='o') || (argv[i][1]=='O') || (argv[i][1]=='a') || (argv[i][1]=='A') || (argv[i][1]=='p') || (argv[i][1]=='P') || ((argv[i][1]>='0') || (argv[i][1]<='9'))) && (strlen(argv[i]) == 2))) { FILE * fin; int size_read; const char* filenameinzip = argv[i]; zip_fileinfo zi; unsigned long crcFile=0; zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour = zi.tmz_date.tm_mday = zi.tmz_date.tm_mon = zi.tmz_date.tm_year = 0; zi.dosDate = 0; zi.internal_fa = 0; zi.external_fa = 0; filetime(filenameinzip,&zi.tmz_date,&zi.dosDate); /* err = zipOpenNewFileInZip(zf,filenameinzip,&zi, NULL,0,NULL,0,NULL / * comment * /, (opt_compress_level != 0) ? Z_DEFLATED : 0, opt_compress_level); */ if ((password != NULL) && (err==ZIP_OK)) err = getFileCrc(filenameinzip,buf,size_buf,&crcFile); err = zipOpenNewFileInZip3(zf,filenameinzip,&zi, NULL,0,NULL,0,NULL /* comment*/, (opt_compress_level != 0) ? Z_DEFLATED : 0, opt_compress_level,0, /* -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, */ -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, password,crcFile); if (err != ZIP_OK) printf("error in opening %s in zipfile\n",filenameinzip); else { fin = fopen(filenameinzip,"rb"); if (fin==NULL) { err=ZIP_ERRNO; printf("error in opening %s for reading\n",filenameinzip); } } if (err == ZIP_OK) do { err = ZIP_OK; size_read = (int)fread(buf,1,size_buf,fin); if (size_read < size_buf) if (feof(fin)==0) { printf("error in reading %s\n",filenameinzip); err = ZIP_ERRNO; } if (size_read>0) { err = zipWriteInFileInZip (zf,buf,size_read); if (err<0) { printf("error in writing %s in the zipfile\n", filenameinzip); } } } while ((err == ZIP_OK) && (size_read>0)); if (fin) fclose(fin); if (err<0) err=ZIP_ERRNO; else { err = zipCloseFileInZip(zf); if (err!=ZIP_OK) printf("error in closing %s in the zipfile\n", filenameinzip); } } } errclose = zipClose(zf,NULL); if (errclose != ZIP_OK) printf("error in closing %s\n",filename_try); } else { do_help(); } free(buf); return 0; } --- NEW FILE: miniunz.c --- /* miniunz.c Version 1.01b, May 30th, 2004 Copyright (C) 1998-2004 Gilles Vollant */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <errno.h> #include <fcntl.h> #ifdef unix # include <unistd.h> # include <utime.h> #else # include <direct.h> # include <io.h> #endif #include "unzip.h" #define CASESENSITIVITY (0) #define WRITEBUFFERSIZE (8192) #define MAXFILENAME (256) #ifdef WIN32 #define USEWIN32IOAPI #include "iowin32.h" #endif /* mini unzip, demo of unzip package usage : Usage : miniunz [-exvlo] file.zip [file_to_extract] [-d extractdir] list the file in the zipfile, and print the content of FILE_ID.ZIP or README.TXT if it exists */ /* change_file_date : change the date/time of a file filename : the filename of the file where date/time must be modified dosdate : the new date at the MSDos format (4 bytes) tmu_date : the SAME new date at the tm_unz format */ void change_file_date(filename,dosdate,tmu_date) const char *filename; uLong dosdate; tm_unz tmu_date; { #ifdef WIN32 HANDLE hFile; FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite; hFile = CreateFile(filename,GENERIC_READ | GENERIC_WRITE, 0,NULL,OPEN_EXISTING,0,NULL); GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite); DosDateTimeToFileTime((WORD)(dosdate>>16),(WORD)dosdate,&ftLocal); LocalFileTimeToFileTime(&ftLocal,&ftm); SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); CloseHandle(hFile); #else #ifdef unix struct utimbuf ut; struct tm newdate; newdate.tm_sec = tmu_date.tm_sec; newdate.tm_min=tmu_date.tm_min; newdate.tm_hour=tmu_date.tm_hour; newdate.tm_mday=tmu_date.tm_mday; newdate.tm_mon=tmu_date.tm_mon; if (tmu_date.tm_year > 1900) newdate.tm_year=tmu_date.tm_year - 1900; else newdate.tm_year=tmu_date.tm_year ; newdate.tm_isdst=-1; ut.actime=ut.modtime=mktime(&newdate); utime(filename,&ut); #endif #endif } /* mymkdir and change_file_date are not 100 % portable As I don't know well Unix, I wait feedback for the unix portion */ int mymkdir(dirname) const char* dirname; { int ret=0; #ifdef WIN32 ret = mkdir(dirname); #else #ifdef unix ret = mkdir (dirname,0775); #endif #endif return ret; } int makedir (newdir) char *newdir; { char *buffer ; char *p; int len = (int)strlen(newdir); if (len <= 0) return 0; buffer = (char*)malloc(len+1); strcpy(buffer,newdir); if (buffer[len-1] == '/') { buffer[len-1] = '\0'; } if (mymkdir(buffer) == 0) { free(buffer); return 1; } p = buffer+1; while (1) { char hold; while(*p && *p != '\\' && *p != '/') p++; hold = *p; *p = 0; if ((mymkdir(buffer) == -1) && (errno == ENOENT)) { printf("couldn't create directory %s\n",buffer); free(buffer); return 0; } if (hold == 0) break; *p++ = hold; } free(buffer); return 1; } void do_banner() { printf("MiniUnz 1.01b, demo of zLib + Unz package written by Gilles Vollant\n"); printf("more info at http://www.winimage.com/zLibDll/unzip.html\n\n"); } void do_help() { printf("Usage : miniunz [-e] [-x] [-v] [-l] [-o] [-p password] file.zip [file_to_extr.] [-d extractdir]\n\n" \ " -e Extract without pathname (junk paths)\n" \ " -x Extract with pathname\n" \ " -v list files\n" \ " -l list files\n" \ " -d directory to extract into\n" \ " -o overwrite files without prompting\n" \ " -p extract crypted file using password\n\n"); } int do_list(uf) unzFile uf; { uLong i; unz_global_info gi; int err; err = unzGetGlobalInfo (uf,&gi); if (err!=UNZ_OK) printf("error %d with zipfile in unzGetGlobalInfo \n",err); printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); printf(" ------ ------ ---- ----- ---- ---- ------ ----\n"); for (i=0;i<gi.number_entry;i++) { char filename_inzip[256]; unz_file_info file_info; uLong ratio=0; const char *string_method; char charCrypt=' '; err = unzGetCurrentFileInfo(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); if (err!=UNZ_OK) { printf("error %d with zipfile in unzGetCurrentFileInfo\n",err); break; } if (file_info.uncompressed_size>0) ratio = (file_info.compressed_size*100)/file_info.uncompressed_size; /* display a '*' if the file is crypted */ if ((file_info.flag & 1) != 0) charCrypt='*'; if (file_info.compression_method==0) string_method="Stored"; else if (file_info.compression_method==Z_DEFLATED) { uInt iLevel=(uInt)((file_info.flag & 0x6)/2); if (iLevel==0) string_method="Defl:N"; else if (iLevel==1) string_method="Defl:X"; else if ((iLevel==2) || (iLevel==3)) string_method="Defl:F"; /* 2:fast , 3 : extra fast*/ } else string_method="Unkn. "; printf("%7lu %6s%c%7lu %3lu%% %2.2lu-%2.2lu-%2.2lu %2.2lu:%2.2lu %8.8lx %s\n", file_info.uncompressed_size,string_method, charCrypt, file_info.compressed_size, ratio, (uLong)file_info.tmu_date.tm_mon + 1, (uLong)file_info.tmu_date.tm_mday, (uLong)file_info.tmu_date.tm_year % 100, (uLong)file_info.tmu_date.tm_hour,(uLong)file_info.tmu_date.tm_min, (uLong)file_info.crc,filename_inzip); if ((i+1)<gi.number_entry) { err = unzGoToNextFile(uf); if (err!=UNZ_OK) { printf("error %d with zipfile in unzGoToNextFile\n",err); break; } } } return 0; } int do_extract_currentfile(uf,popt_extract_without_path,popt_overwrite,password) unzFile uf; const int* popt_extract_without_path; int* popt_overwrite; const char* password; { char filename_inzip[256]; char* filename_withoutpath; char* p; int err=UNZ_OK; FILE *fout=NULL; void* buf; uInt size_buf; unz_file_info file_info; uLong ratio=0; err = unzGetCurrentFileInfo(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); if (err!=UNZ_OK) { printf("error %d with zipfile in unzGetCurrentFileInfo\n",err); return err; } size_buf = WRITEBUFFERSIZE; buf = (void*)malloc(size_buf); if (buf==NULL) { printf("Error allocating memory\n"); return UNZ_INTERNALERROR; } p = filename_withoutpath = filename_inzip; while ((*p) != '\0') { if (((*p)=='/') || ((*p)=='\\')) filename_withoutpath = p+1; p++; } if ((*filename_withoutpath)=='\0') { if ((*popt_extract_without_path)==0) { printf("creating directory: %s\n",filename_inzip); mymkdir(filename_inzip); } } else { const char* write_filename; int skip=0; if ((*popt_extract_without_path)==0) write_filename = filename_inzip; else write_filename = filename_withoutpath; err = unzOpenCurrentFilePassword(uf,password); if (err!=UNZ_OK) { printf("error %d with zipfile in unzOpenCurrentFilePassword\n",err); } if (((*popt_overwrite)==0) && (err==UNZ_OK)) { char rep=0; FILE* ftestexist; ftestexist = fopen(write_filename,"rb"); if (ftestexist!=NULL) { fclose(ftestexist); do { char answer[128]; int ret; printf("The file %s exists. Overwrite ? [y]es, [n]o, [A]ll: ",write_filename); ret = scanf("%1s",answer); if (ret != 1) { exit(EXIT_FAILURE); } rep = answer[0] ; if ((rep>='a') && (rep<='z')) rep -= 0x20; } while ((rep!='Y') && (rep!='N') && (rep!='A')); } if (rep == 'N') skip = 1; if (rep == 'A') *popt_overwrite=1; } if ((skip==0) && (err==UNZ_OK)) { fout=fopen(write_filename,"wb"); /* some zipfile don't contain directory alone before file */ if ((fout==NULL) && ((*popt_extract_without_path)==0) && (filename_withoutpath!=(char*)filename_inzip)) { char c=*(filename_withoutpath-1); *(filename_withoutpath-1)='\0'; makedir(write_filename); *(filename_withoutpath-1)=c; fout=fopen(write_filename,"wb"); } if (fout==NULL) { printf("error opening %s\n",write_filename); } } if (fout!=NULL) { printf(" extracting: %s\n",write_filename); do { err = unzReadCurrentFile(uf,buf,size_buf); if (err<0) { printf("error %d with zipfile in unzReadCurrentFile\n",err); break; } if (err>0) if (fwrite(buf,err,1,fout)!=1) { printf("error in writing extracted file\n"); err=UNZ_ERRNO; break; } } while (err>0); if (fout) fclose(fout); if (err==0) change_file_date(write_filename,file_info.dosDate, file_info.tmu_date); } if (err==UNZ_OK) { err = unzCloseCurrentFile (uf); if (err!=UNZ_OK) { printf("error %d with zipfile in unzCloseCurrentFile\n",err); } } else unzCloseCurrentFile(uf); /* don't lose the error */ } free(buf); return err; } int do_extract(uf,opt_extract_without_path,opt_overwrite,password) unzFile uf; int opt_extract_without_path; int opt_overwrite; const char* password; { uLong i; unz_global_info gi; int err; FILE* fout=NULL; err = unzGetGlobalInfo (uf,&gi); if (err!=UNZ_OK) printf("error %d with zipfile in unzGetGlobalInfo \n",err); for (i=0;i<gi.number_entry;i++) { if (do_extract_currentfile(uf,&opt_extract_without_path, &opt_overwrite, password) != UNZ_OK) break; if ((i+1)<gi.number_entry) { err = unzGoToNextFile(uf); if (err!=UNZ_OK) { printf("error %d with zipfile in unzGoToNextFile\n",err); break; } } } return 0; } int do_extract_onefile(uf,filename,opt_extract_without_path,opt_overwrite,password) unzFile uf; const char* filename; int opt_extract_without_path; int opt_overwrite; const char* password; { int err = UNZ_OK; if (unzLocateFile(uf,filename,CASESENSITIVITY)!=UNZ_OK) { printf("file %s not found in the zipfile\n",filename); return 2; } if (do_extract_currentfile(uf,&opt_extract_without_path, &opt_overwrite, password) == UNZ_OK) return 0; else return 1; } int main(argc,argv) int argc; char *argv[]; { const char *zipfilename=NULL; const char *filename_to_extract=NULL; const char *password=NULL; char filename_try[MAXFILENAME+16] = ""; int i; int opt_do_list=0; int opt_do_extract=1; int opt_do_extract_withoutpath=0; int opt_overwrite=0; int opt_extractdir=0; const char *dirname=NULL; unzFile uf=NULL; do_banner(); if (argc==1) { do_help(); return 0; } else { for (i=1;i<argc;i++) { if ((*argv[i])=='-') { const char *p=argv[i]+1; while ((*p)!='\0') { char c=*(p++);; if ((c=='l') || (c=='L')) opt_do_list = 1; if ((c=='v') || (c=='V')) opt_do_list = 1; if ((c=='x') || (c=='X')) opt_do_extract = 1; if ((c=='e') || (c=='E')) opt_do_extract = opt_do_extract_withoutpath = 1; if ((c=='o') || (c=='O')) opt_overwrite=1; if ((c=='d') || (c=='D')) { opt_extractdir=1; dirname=argv[i+1]; } if (((c=='p') || (c=='P')) && (i+1<argc)) { password=argv[i+1]; i++; } } } else { if (zipfilename == NULL) zipfilename = argv[i]; else if ((filename_to_extract==NULL) && (!opt_extractdir)) filename_to_extract = argv[i] ; } } } if (zipfilename!=NULL) { # ifdef USEWIN32IOAPI zlib_filefunc_def ffunc; # endif strncpy(filename_try, zipfilename,MAXFILENAME-1); /* strncpy doesnt append the trailing NULL, of the string is too long. */ filename_try[ MAXFILENAME ] = '\0'; # ifdef USEWIN32IOAPI fill_win32_filefunc(&ffunc); uf = unzOpen2(zipfilename,&ffunc); # else uf = unzOpen(zipfilename); # endif if (uf==NULL) { strcat(filename_try,".zip"); # ifdef USEWIN32IOAPI uf = unzOpen2(filename_try,&ffunc); # else uf = unzOpen(filename_try); # endif } } if (uf==NULL) { printf("Cannot open %s or %s.zip\n",zipfilename,zipfilename); return 1; } printf("%s opened\n",filename_try); if (opt_do_list==1) return do_list(uf); else if (opt_do_extract==1) { if (opt_extractdir && chdir(dirname)) { printf("Error changing into %s, aborting\n", dirname); exit(-1); } if (filename_to_extract == NULL) return do_extract(uf,opt_do_extract_withoutpath,opt_overwrite,password); else return do_extract_onefile(uf,filename_to_extract, opt_do_extract_withoutpath,opt_overwrite,password); } unzCloseCurrentFile(uf); return 0; } |
From: Rolf K. <lab...@us...> - 2004-12-25 16:28:37
|
Update of /cvsroot/opengtoolkit/lvzip/source/lvzip.llb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30405/source/lvzip.llb Modified Files: ZLIB Compress Directory.vi ZLIB Compress Files.vi ZLIB Extract File.vi ZLIB Open Read File.vi ZLIB Open Unzip Archive.vi ZLIB Open Write File.vi ZLIB Open Zip Archive.vi ZLIB Read Compressed File.vi ZLIB Store File.vi ZLIB VI Tree.vi Added Files: ZLIB Delete Files From Archive.vi ZLIB Initialize File Functions.vi Log Message: First part of modifications to support passwords, and delete files from archive. Index: ZLIB Store File.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Store File.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs4XfyWL and /tmp/cvsbUrM7G differ Index: ZLIB Open Read File.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Open Read File.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsctduaZ and /tmp/cvsBKZTrU differ Index: ZLIB Compress Directory.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Compress Directory.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsuUpau8 and /tmp/cvsgItYR3 differ --- NEW FILE: ZLIB Initialize File Functions.vi --- (This appears to be a binary file; contents omitted.) Index: ZLIB Compress Files.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Compress Files.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsQMILdf and /tmp/cvsai8FFa differ Index: ZLIB VI Tree.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB VI Tree.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsd2C8cd and /tmp/cvsb5RSM8 differ Index: ZLIB Open Zip Archive.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Open Zip Archive.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvs7VXmVs and /tmp/cvs2wnlCo differ Index: ZLIB Open Unzip Archive.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Open Unzip Archive.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsfsojNw and /tmp/cvs8Yujys differ Index: ZLIB Extract File.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Extract File.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvssukVbH and /tmp/cvsLrwp2C differ Index: ZLIB Read Compressed File.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Read Compressed File.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsmDF5VO and /tmp/cvs6UoGTK differ --- NEW FILE: ZLIB Delete Files From Archive.vi --- (This appears to be a binary file; contents omitted.) Index: ZLIB Open Write File.vi =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzip.llb/ZLIB Open Write File.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsaR38D8 and /tmp/cvsU0fkT4 differ |
From: Rolf K. <lab...@us...> - 2004-12-25 16:28:36
|
Update of /cvsroot/opengtoolkit/lvzip/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30405/source Modified Files: lvzlib.dll Log Message: First part of modifications to support passwords, and delete files from archive. Index: lvzlib.dll =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzlib.dll,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsoPBfI6 and /tmp/cvsLRc341 differ |
From: Konstantin S. <ks...@us...> - 2004-12-25 05:31:01
|
Update of /cvsroot/opengtoolkit/deab In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6150 Modified Files: build_ogb_revisions.txt Log Message: Index: build_ogb_revisions.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/build_ogb_revisions.txt,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** build_ogb_revisions.txt 23 Dec 2004 04:33:21 -0000 1.25 --- build_ogb_revisions.txt 25 Dec 2004 05:30:51 -0000 1.26 *************** *** 1,6 **** [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=137 ! Build_Date="22.12.2004 19:57:08" Status=OK Warnings=0 --- 1,6 ---- [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=138 ! Build_Date="25.12.2004 12:27:16" Status=OK Warnings=0 *************** *** 9,14 **** [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=88 ! Build_Date="22.12.2004 19:58:45" Status=OK Warnings=0 --- 9,14 ---- [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=89 ! Build_Date="25.12.2004 12:28:54" Status=OK Warnings=0 *************** *** 17,22 **** [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=33 ! Build_Date="22.12.2004 19:58:58" Status=OK Warnings=0 --- 17,22 ---- [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=34 ! Build_Date="25.12.2004 12:29:07" Status=OK Warnings=0 |
From: Konstantin S. <ks...@us...> - 2004-12-25 05:26:12
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5461/source/GUI Removed Files: Dialog - Destination Propeties.vi Dialog - Exclude Directory.vi Dialog - Support File Properties.vi Log Message: --- Dialog - Destination Propeties.vi DELETED --- --- Dialog - Exclude Directory.vi DELETED --- --- Dialog - Support File Properties.vi DELETED --- |
From: Konstantin S. <ks...@us...> - 2004-12-25 05:24:29
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5151/source/GUI Modified Files: Dialog - Ambiguous VIs Destination.vi GUI PathRoot Selector Manager.vi OpenG_Builder.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvspwucbw and /tmp/cvsEY54T2 differ Index: GUI PathRoot Selector Manager.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/GUI PathRoot Selector Manager.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsjJWAdi and /tmp/cvs0LzBcP differ Index: Dialog - Ambiguous VIs Destination.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Ambiguous VIs Destination.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvss6eFjp and /tmp/cvs3HlcnW differ |
From: Konstantin S. <ks...@us...> - 2004-12-24 12:59:27
|
Update of /cvsroot/opengtoolkit/deab/user docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23891/user docs Modified Files: OGB Build File Dscr.htm Log Message: Index: OGB Build File Dscr.htm =================================================================== RCS file: /cvsroot/opengtoolkit/deab/user docs/OGB Build File Dscr.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OGB Build File Dscr.htm 9 Dec 2004 04:13:36 -0000 1.2 --- OGB Build File Dscr.htm 24 Dec 2004 12:59:10 -0000 1.3 *************** *** 426,432 **** <p><b>keyname</b> = "VI path"</p> <p><i>[Top Level VIs]</i> section specifies VIs whose hierarchies are to be included in the build. Additionally, Top Level VIs will be set as "Top-Level" in destination LLBs if the its Destination is ! either an LLB or EXE. You can use any <i> keyname</i> for Top Level VIs; <i>keynames</i> for this section are arbitrary. ! A VI path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>.</p> <p><u>Example:</u></p> <p>[Top Level VIs]<br> --- 426,433 ---- <p><b>keyname</b> = "VI path"</p> <p><i>[Top Level VIs]</i> section specifies VIs whose hierarchies are to be included in the build. Additionally, Top Level VIs will be set as "Top-Level" in destination LLBs if the its Destination is ! either an LLB or EXE. You can use any <i> keyname</i> for Top Level VIs; <i>keynames</i> for this section are arbitrary.</p> ! <p>A VI path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>.<br> ! A VI path may contain wildcards in VI name to specify a group of VIs.</p> <p><u>Example:</u></p> <p>[Top Level VIs]<br> *************** *** 439,445 **** <p><b>keyname</b> = "VI path"</p> <p><i>[Dynamic VIs]</i> section specifies VIs whose hierarchies are to be included in the build. You can use any ! <i> keyname</i> for Dynamic VIs; <i>keynames</i> for this section are arbitrary. A VI path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>.</p> <p><u>Example:</u></p> <p>[Dynamic VIs]<br> --- 440,448 ---- <p><b>keyname</b> = "VI path"</p> <p><i>[Dynamic VIs]</i> section specifies VIs whose hierarchies are to be included in the build. You can use any ! <i> keyname</i> for Dynamic VIs; <i>keynames</i> for this section are arbitrary.</p> ! <p> A VI path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>.<br> ! A VI path may contain wildcards in VI name to specify a group of VIs.</p> <p><u>Example:</u></p> <p>[Dynamic VIs]<br> *************** *** 451,458 **** <p><b><a name="Exclude Lib Dirs"></a>[Exclude Lib Dirs from Build]</b></p> <p><b>keyname</b> = "dir/llb path"</p> ! <p><i>[Exclude Lib Dirs from Build]</i> section specifies directories and LLBs ! to exclude from build. All VIs, CTLs and non-VI resources like help files, ! shared libraries, etc. residing beneath the specified directories will not be ! included to a build. <i> Keynames</i> for this section are arbitrary. A path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source Root</a></i>.</p> --- 454,461 ---- <p><b><a name="Exclude Lib Dirs"></a>[Exclude Lib Dirs from Build]</b></p> <p><b>keyname</b> = "dir/llb path"</p> ! <p><i>[Exclude Lib Dirs from Build]</i> section specifies directories, LLBs and ! individual files to exclude from build. Any VI, CTL or non-VI resource (such as runtime menu, shared library, help file, etc.) will not be included to the build if its path is either the same as or beneath any of ! the specified exclusion path. <i> Keynames</i> for this section are arbitrary.</p> ! <p>A path may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source Root</a></i>.</p> *************** *** 479,484 **** <i> Source Dir</i> of another Destination.</p> <p>A <i><b>Source Dir</b></i> may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>. A <i>Source Dir</i> may be either a directory path or a path of ! LabVIEW library file (LLB).</p> <p>A <i><b>Target Dir</b></i> may be either an absolute path, or a path relative to <i><a href="#General: Build Root">Build Root</a></i>. A <i>Target Dir</i> may contain <u><KeepHierarchy></u> keyword as the last component of a path. In this case, a VI directory hierarchy in --- 482,486 ---- <i> Source Dir</i> of another Destination.</p> <p>A <i><b>Source Dir</b></i> may be either an absolute path, or a path relative to <i><a href="#General: Source Root">Source ! Root</a></i>. A <i>Source Dir</i> may be a directory path, a VI library (LLB) file path or even a VI/CTL/RTM path.</p> <p>A <i><b>Target Dir</b></i> may be either an absolute path, or a path relative to <i><a href="#General: Build Root">Build Root</a></i>. A <i>Target Dir</i> may contain <u><KeepHierarchy></u> keyword as the last component of a path. In this case, a VI directory hierarchy in *************** *** 493,498 **** is actually to be an executable file with EXE extension. This setting may be overridden by <u><KeepHierarchy></u> keyword.</p> ! <p>If the <i>Remove Diagrams</i> optional parameter is TRUE, all VIs in this Destination will have ! their diagrams removed, during the build.</p> <p>If <i><b>Default Destination</b></i> optional parameter is TRUE for a section, then that Destination will be used as the 'Default Destination'. The --- 495,500 ---- is actually to be an executable file with EXE extension. This setting may be overridden by <u><KeepHierarchy></u> keyword.</p> ! <p>If the <i><b>Remove Diagrams</b></i> optional parameter is TRUE, all VIs in this Destination will have ! their diagrams removed during the build.</p> <p>If <i><b>Default Destination</b></i> optional parameter is TRUE for a section, then that Destination will be used as the 'Default Destination'. The *************** *** 511,515 **** a password string to all VIs of the destination. If the parameter is missed or a value of it is an empty string, OGB uses a value of the <i><a href="#General: Apply New Password">Apply ! New Password</a> </i>parameter in [General] section as a default value. If a resulting password is an empty string, no password will be applied to VIs of the destination; otherwise, all the target VIs accept the password. A special case --- 513,517 ---- a password string to all VIs of the destination. If the parameter is missed or a value of it is an empty string, OGB uses a value of the <i><a href="#General: Apply New Password">Apply ! New Password</a> </i>parameter in <i> [General]</i> section as a default value. If a resulting password is an empty string, no password will be applied to VIs of the destination; otherwise, all the target VIs accept the password. A special case *************** *** 519,524 **** </p> <p><i><b>Namespace</b></i> is optional parameter that may be used to override a ! default <i><a href="#General: Namespace">Namespace</a></i>, specified in ! [General] section, for VIs of the destination. If the parameter is missed or a value of it is an empty string, OGB uses a default namespace. A special case is a use of <random:N> keyword to generate a random namespace and --- 521,526 ---- </p> <p><i><b>Namespace</b></i> is optional parameter that may be used to override a ! default <i><a href="#General: Namespace">Namespace</a></i>, specified in <i> ! [General]</i> section, for VIs of the destination. If the parameter is missed or a value of it is an empty string, OGB uses a default namespace. A special case is a use of <random:N> keyword to generate a random namespace and |
From: Konstantin S. <ks...@us...> - 2004-12-24 12:59:23
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23891/source/GUI Modified Files: OpenG_Builder.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 Binary files /tmp/cvsQT61N9 and /tmp/cvsPbZDMJ differ |
From: Konstantin S. <ks...@us...> - 2004-12-23 12:53:38
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1042/source/GUI Modified Files: Dialog - Ambiguous VIs Destination.vi Dialog - Exclude Directory.vi Dialog - Log File Properties.vi Dialog - Plug-In VIs.vi Dialog - Project Root Path.vi Dialog - Root Paths.vi Dialog - Version Control.vi OpenG_Builder.vi Added Files: Dialog - Edit Time Format String.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsxR1fLc and /tmp/cvsBeCGho differ Index: Dialog - Version Control.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Version Control.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsSRzDg0 and /tmp/cvskWk61b differ Index: Dialog - Plug-In VIs.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Plug-In VIs.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsxShPtd and /tmp/cvste7Xnp differ Index: Dialog - Log File Properties.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Log File Properties.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsNLjz2o and /tmp/cvsb0Db2A differ Index: Dialog - Exclude Directory.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Exclude Directory.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsRxmm2v and /tmp/cvswer06H differ --- NEW FILE: Dialog - Edit Time Format String.vi --- (This appears to be a binary file; contents omitted.) Index: Dialog - Project Root Path.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Project Root Path.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsciZ6Rw and /tmp/cvsPgId3I differ Index: Dialog - Root Paths.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Root Paths.vi,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsRJSNfG and /tmp/cvsm9OTyS differ Index: Dialog - Ambiguous VIs Destination.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Ambiguous VIs Destination.vi,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvskulO6O and /tmp/cvsui1vu1 differ |
From: Konstantin S. <ks...@us...> - 2004-12-23 05:18:31
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24885/source/GUI Modified Files: OpenG_Builder.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvs3Aktrh and /tmp/cvs1Olow9 differ |
From: Konstantin S. <ks...@us...> - 2004-12-23 04:34:11
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15575/source/GUI Modified Files: Dialog - Exclude Directory.vi Dialog - Root Paths.vi OpenG_Builder.vi Added Files: GUI PathRoot Selector Manager.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsyizgup and /tmp/cvsHZOwlB differ --- NEW FILE: GUI PathRoot Selector Manager.vi --- (This appears to be a binary file; contents omitted.) Index: Dialog - Exclude Directory.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Exclude Directory.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsId7sep and /tmp/cvsmTmmlB differ Index: Dialog - Root Paths.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - Root Paths.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvs8oWQQv and /tmp/cvsxp3D3H differ |
From: Konstantin S. <ks...@us...> - 2004-12-23 04:34:02
|
Update of /cvsroot/opengtoolkit/deab/example_projects/Test 001 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15575/example_projects/Test 001 Modified Files: Test 002.llb Test VI 001.vi build_revision.txt deab_build.log Added Files: Test Build 001.ogbld Test Build 002.ogbld Log Message: Index: build_revision.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/example_projects/Test 001/build_revision.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** build_revision.txt 7 Dec 2004 13:14:33 -0000 1.7 --- build_revision.txt 23 Dec 2004 04:33:22 -0000 1.8 *************** *** 13,14 **** --- 13,30 ---- Warnings=0 Log_File="/C/Shared Projects/OpenG/deab/example_projects/Test 001/deab_build.log" + [Test Build 001.ogbld] + Version=0.0.0 + Build_Number=7 + Build_Date="22.12.2004 10:33:55" + Status=OK + Warnings=0 + Log_File="/C/Shared Projects/OpenG/deab/example_projects/Test 001/deab_build.log" + + [Test Build 002.ogbld] + Version=0.0.0 + Build_Number=2 + Build_Date="22.12.2004 10:35:00" + Status=OK + Warnings=0 + Log_File="/C/Shared Projects/OpenG/deab/example_projects/Test 001/deab_build.log" + Index: Test VI 001.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/example_projects/Test 001/Test VI 001.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsoAbtkl and /tmp/cvsdhnhXp differ --- NEW FILE: Test Build 002.ogbld --- [General] File Format Version=1.0.0 Project Root="" Source Root="" Build Root=Target Namespace=test-01 Overwrite Existing Files=TRUE Log Dir="" Log File=deab_build.log Log File Suffix="" Include Help Files=TRUE Help File Dir="Help Files" Include Shared Libs=TRUE Shared Lib Dir="Bin Resources" Include External Subrs=TRUE External Subr Dir="Bin Resources" Include Hidden VIs=TRUE EXE Icon File="" New Build Root=TRUE Unsaved Changes MsgBox=TRUE Ambiguous VIs Dest Dir="ambiguous vis.llb" Call Pre-Build VI="Pre-Post Build VI Example.vi" Call Post-Build VI="Pre-Post Build VI Example.vi" Revision File=build_revision.txt Version VI Name="Test VI 002.vi" Version Ctrl Name="Version Info" Apply New Password="" RemovePolyVIsAndTypedefs=FALSE Allow CBVI & Build Hierarchy Overlap=TRUE Call-Back VI 1="Call-Back VI Example.vi" [Top Level VIs] VI 1="Test 002.llb/Test VI 002.vi" [Dynamic VIs] DynVI 1="Test VI 001.vi" [Exclude Lib Dirs from Build] [Destination 1] Source Dir="" Target Dir=test_built.llb Convert Target to LLB=TRUE Convert Target to EXE=FALSE Remove Diagrams=FALSE Default Destination=FALSE Apply New Password=deab Namespace="" [Destination 2] Source Dir=<application> Target Dir=SupportVIs Convert Target to LLB=FALSE Convert Target to EXE=FALSE Remove Diagrams=FALSE Default Destination=FALSE Apply New Password="" Namespace="" [SupportFiles 1] TargetDir="" OverwriteExisting=TRUE FollowVIDirHierarchy=FALSE SourceFile 1=*.ini SourceFile 2=readme.txt [SupportFiles 2] TargetDir=Docs OverwriteExisting=FALSE FollowVIDirHierarchy=FALSE SourceFile 1=*.txt --- NEW FILE: Test Build 001.ogbld --- [General] File Format Version=1.0.0 Project Root="" Source Root="" Build Root=Target Namespace=test-01 Overwrite Existing Files=TRUE Log Dir="" Log File=deab_build.log Log File Suffix="" Include Help Files=TRUE Help File Dir="Help Files" Include Shared Libs=TRUE Shared Lib Dir="Bin Resources" Include External Subrs=TRUE External Subr Dir="Bin Resources" Include Hidden VIs=TRUE EXE Icon File="" New Build Root=TRUE Unsaved Changes MsgBox=TRUE Ambiguous VIs Dest Dir="ambiguous vis.llb" Call Pre-Build VI="Pre-Post Build VI Example.vi" Call Post-Build VI="Pre-Post Build VI Example.vi" Revision File=build_revision.txt Version VI Name="Test VI 002.vi" Version Ctrl Name="Version Info" Apply New Password="" RemovePolyVIsAndTypedefs=FALSE Allow CBVI & Build Hierarchy Overlap=TRUE Call-Back VI 1="Call-Back VI Example.vi" [Top Level VIs] VI 1="Test 002.llb/Test VI 002.vi" [Dynamic VIs] DynVI 1="Test VI 001.vi" [Exclude Lib Dirs from Build] [Destination 1] Source Dir="" Target Dir=test_built.llb Convert Target to LLB=TRUE Convert Target to EXE=FALSE Remove Diagrams=FALSE Default Destination=FALSE Apply New Password=deab Namespace="" [Destination 2] Source Dir=<vi.lib> Target Dir=test-ni.llb Convert Target to LLB=TRUE Convert Target to EXE=FALSE Remove Diagrams=FALSE Default Destination=FALSE Apply New Password=ni Namespace="" [Destination 3] Source Dir=<user.lib>/_OpenG.lib Target Dir=test-openg.llb Convert Target to LLB=TRUE Convert Target to EXE=FALSE Remove Diagrams=FALSE Default Destination=FALSE Apply New Password=ogtk Namespace="" [SupportFiles 1] TargetDir="" OverwriteExisting=TRUE FollowVIDirHierarchy=FALSE SourceFile 1=*.ini SourceFile 2=readme.txt [SupportFiles 2] TargetDir=Docs OverwriteExisting=FALSE FollowVIDirHierarchy=FALSE SourceFile 1=*.txt Index: Test 002.llb =================================================================== RCS file: /cvsroot/opengtoolkit/deab/example_projects/Test 001/Test 002.llb,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsdsNZZm and /tmp/cvs1xxvFr differ Index: deab_build.log =================================================================== RCS file: /cvsroot/opengtoolkit/deab/example_projects/Test 001/deab_build.log,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** deab_build.log 7 Dec 2004 13:14:34 -0000 1.18 --- deab_build.log 23 Dec 2004 04:33:22 -0000 1.19 *************** *** 1,47 **** ! *** 16:55:47.4 : Build started [07.12.2004] File: 111.deab ! >>> 16:55:47.4 : Calling Pre-build VI started Pre-build VI Path: C:\Shared Projects\OpenG\deab\example_projects\Test 001\Pre-Post Build VI Example.vi ! >>> 16:55:49.5 : Load Call-Back VI(s) started ! >>> 16:55:49.6 : DEAB Expand & Verify TL&D VI Paths started ! >>> 16:55:49.7 : Load VIs into Memory started ! >>> 16:55:50.0 : Test VIs need be Unloaded started ! >>> 16:55:50.1 : Test for VI Unsaved Changes started ! >>> 16:55:50.1 : Generate Resources Copy Info started ! >>> 16:55:50.3 : Generate VI Building Info started ! >>> 16:55:50.5 : Revise Ambiguous VIs Destination started ! >>> 16:55:50.7 : Rename Build Root Dir If Exists started ! >>> 16:55:50.8 : Create Target Dirs and LLBs started ! >>> 16:55:50.9 : Save VIs to Destination started ! >>> 16:55:58.5 : UnLoad Top-Level and Dynamic VIs started ! >>> 16:55:58.6 : Copy Resource Files and Relink VIs started ! >>> 16:55:59.6 : Set Top Level VIs in LLBs started ! >>> 16:55:59.7 : Convert LLBs to EXEs started ! >>> 16:55:59.8 : Copy Support Files started ! >>> 16:55:59.9 : Calling Post-build VI started Post-build VI Path: C:\Shared Projects\OpenG\deab\example_projects\Test 001\Pre-Post Build VI Example.vi ! *** 16:56:02.0 : Build finished --- 1,57 ---- ! *** 10:34:59.2 : Build started [22.12.2004] File: Test Build 002.ogbld ! >>> 10:34:59.2 : Calling Pre-build VI started Pre-build VI Path: C:\Shared Projects\OpenG\deab\example_projects\Test 001\Pre-Post Build VI Example.vi ! >>> 10:35:00.8 : Load Call-Back VI(s) started ! >>> 10:35:00.9 : DEAB Expand & Verify TL&D VI Paths started ! >>> 10:35:01.0 : Load VIs into Memory started ! 53 VIs have been loaded ! >>> 10:35:01.7 : Test VIs need be Unloaded started ! >>> 10:35:01.7 : Test for VI Unsaved Changes started ! >>> 10:35:01.8 : Generate Resources Copy Info started ! >>> 10:35:01.9 : Generate VI Building Info started ! >>> 10:35:02.2 : Revise Ambiguous VIs Destination started ! >>> 10:35:02.4 : Rename Build Root Dir If Exists started ! >>> 10:35:02.5 : Verify if Sources can be Removed started ! >>> 10:35:02.5 : Create Target Dirs and LLBs started ! >>> 10:35:02.6 : Save VIs to Destination started ! 53 VIs have been saved ! >>> 10:35:06.1 : UnLoad Top-Level and Dynamic VIs started ! >>> 10:35:06.2 : Copy Resource Files and Relink VIs started ! 6 Resource files have been copied ! ! >>> 10:35:07.2 : Set Top Level VIs in LLBs started ! ! >>> 10:35:07.2 : Convert LLBs to EXEs started ! ! >>> 10:35:07.3 : Copy Support Files started ! ! 5 Support files have been copied ! ! >>> 10:35:07.4 : Calling Post-build VI started Post-build VI Path: C:\Shared Projects\OpenG\deab\example_projects\Test 001\Pre-Post Build VI Example.vi ! *** 10:35:08.7 : Build finished |
From: Konstantin S. <ks...@us...> - 2004-12-23 04:34:01
|
Update of /cvsroot/opengtoolkit/deab In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15575 Modified Files: build_ogb_revisions.txt Log Message: Index: build_ogb_revisions.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/build_ogb_revisions.txt,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** build_ogb_revisions.txt 18 Dec 2004 07:38:49 -0000 1.24 --- build_ogb_revisions.txt 23 Dec 2004 04:33:21 -0000 1.25 *************** *** 1,6 **** [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=135 ! Build_Date="18.12.2004 11:36:42" Status=OK Warnings=0 --- 1,6 ---- [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=137 ! Build_Date="22.12.2004 19:57:08" Status=OK Warnings=0 *************** *** 9,14 **** [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=86 ! Build_Date="18.12.2004 11:38:23" Status=OK Warnings=0 --- 9,14 ---- [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=88 ! Build_Date="22.12.2004 19:58:45" Status=OK Warnings=0 *************** *** 17,22 **** [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=31 ! Build_Date="18.12.2004 11:38:38" Status=OK Warnings=0 --- 17,22 ---- [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=33 ! Build_Date="22.12.2004 19:58:58" Status=OK Warnings=0 |
From: Konstantin S. <ks...@us...> - 2004-12-23 04:33:51
|
Update of /cvsroot/opengtoolkit/deab/source/Support In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15575/source/Support Modified Files: Copy Resource Files and Relink VIs.vi Copy Support Files.vi Get VIs Hierarchy.vi Load VIs into Memory.vi Save VIs to Destination.vi Log Message: Index: Copy Resource Files and Relink VIs.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Copy Resource Files and Relink VIs.vi,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 Binary files /tmp/cvsrOpyac and /tmp/cvsIW10C7 differ Index: Save VIs to Destination.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Save VIs to Destination.vi,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 Binary files /tmp/cvsfpPjhf and /tmp/cvsIm4ERa differ Index: Get VIs Hierarchy.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Get VIs Hierarchy.vi,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsRsujFp and /tmp/cvsN0Qikl differ Index: Load VIs into Memory.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Load VIs into Memory.vi,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 Binary files /tmp/cvsgGxSkw and /tmp/cvsTVJo4r differ Index: Copy Support Files.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Copy Support Files.vi,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 Binary files /tmp/cvs6ItX0L and /tmp/cvsEMi9TH differ |
From: Jim K. <jk...@us...> - 2004-12-22 19:22:41
|
Update of /cvsroot/opengtoolkit/dynamicpalette In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11319 Modified Files: PostInstall.vi Log Message: Index: PostInstall.vi =================================================================== RCS file: /cvsroot/opengtoolkit/dynamicpalette/PostInstall.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsNrpLSv and /tmp/cvsYuiQuj differ |
From: Konstantin S. <ks...@us...> - 2004-12-21 12:04:31
|
Update of /cvsroot/opengtoolkit/deab/source/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11663/source/GUI Modified Files: DEAB a Build Skeleton (dsts & exclusions).vi DEAB a Build Skeleton.vi Dialog - New Build Wizard.vi OpenG Builder.rtm OpenG_Builder.vi Log Message: Index: OpenG_Builder.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG_Builder.vi,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvskoPPW6 and /tmp/cvsYSJWKQ differ Index: OpenG Builder.rtm =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/OpenG Builder.rtm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvskJNHXN and /tmp/cvsmEnZWx differ Index: DEAB a Build Skeleton (dsts & exclusions).vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/DEAB a Build Skeleton (dsts & exclusions).vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvss5ChhX and /tmp/cvseIDRnH differ Index: Dialog - New Build Wizard.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/Dialog - New Build Wizard.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs7K2VkV and /tmp/cvsRup5yF differ Index: DEAB a Build Skeleton.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/GUI/DEAB a Build Skeleton.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvskQuz9p and /tmp/cvsz2CGHa differ |
From: Konstantin S. <ks...@us...> - 2004-12-21 12:04:30
|
Update of /cvsroot/opengtoolkit/deab/source/Support In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11663/source/Support Modified Files: Disconnect PolyVIs And Typedefs.vi Load VIs into Memory.vi Save VIs to Destination.vi Log Message: Index: Disconnect PolyVIs And Typedefs.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Disconnect PolyVIs And Typedefs.vi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsZBBmRy and /tmp/cvsDJssGf differ Index: Save VIs to Destination.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Save VIs to Destination.vi,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 Binary files /tmp/cvs2irM7F and /tmp/cvsuxkI2m differ Index: Load VIs into Memory.vi =================================================================== RCS file: /cvsroot/opengtoolkit/deab/source/Support/Load VIs into Memory.vi,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 Binary files /tmp/cvsXY4oXX and /tmp/cvsdKCF4E differ |
From: Konstantin S. <ks...@us...> - 2004-12-18 07:39:31
|
Update of /cvsroot/opengtoolkit/deab/developer docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31335/developer docs Modified Files: news.txt Log Message: Index: news.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/developer docs/news.txt,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** news.txt 17 Dec 2004 18:06:31 -0000 1.35 --- news.txt 18 Dec 2004 07:38:50 -0000 1.36 *************** *** 4,7 **** --- 4,16 ---- + *** 14:31 18.12.2004 (KS) + + - [FIX] OGB GUI informed on unimplemented function if double-click on Destination list's item. + A respective event case was forgotten to be removed when "Edit Destination" dialog box was + disposed. + + - Some VERY minor cosmetic and code changes + + *** 01:30 18.12.2004 (JK) |
From: Konstantin S. <ks...@us...> - 2004-12-18 07:39:30
|
Update of /cvsroot/opengtoolkit/deab In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31335 Modified Files: build_ogb_revisions.txt Log Message: Index: build_ogb_revisions.txt =================================================================== RCS file: /cvsroot/opengtoolkit/deab/build_ogb_revisions.txt,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** build_ogb_revisions.txt 17 Dec 2004 17:14:43 -0000 1.23 --- build_ogb_revisions.txt 18 Dec 2004 07:38:49 -0000 1.24 *************** *** 1,24 **** [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=134 ! Build_Date="12/17/2004 9:07:27 AM" Status=OK ! Warnings=1 ! Log_File=/D/Projects/OpenG/opengtoolkit/CVS_Folders/deab/built/build_ogb.log [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=85 ! Build_Date="12/17/2004 9:14:04 AM" Status=OK Warnings=0 ! Log_File=/D/Projects/OpenG/opengtoolkit/CVS_Folders/deab/built/build_ogb_api.log [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=30 ! Build_Date="12/17/2004 9:14:14 AM" Status=OK Warnings=0 ! Log_File=/D/Projects/OpenG/opengtoolkit/CVS_Folders/deab/built/build_ogb_help.log --- 1,24 ---- [build_ogb.deab] Version=1.0.0-alpha3 ! Build_Number=135 ! Build_Date="18.12.2004 11:36:42" Status=OK ! Warnings=0 ! Log_File="/C/Shared Projects/OpenG/deab/built/build_ogb.log" [build_ogb_api.deab] Version=1.0.0-alpha3 ! Build_Number=86 ! Build_Date="18.12.2004 11:38:23" Status=OK Warnings=0 ! Log_File="/C/Shared Projects/OpenG/deab/built/build_ogb_api.log" [build_ogb_help.deab] Version=1.0.0-alpha3 ! Build_Number=31 ! Build_Date="18.12.2004 11:38:38" Status=OK Warnings=0 ! Log_File="/C/Shared Projects/OpenG/deab/built/build_ogb_help.log" |