Update of /cvsroot/opengtoolkit/lvzip/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15071/source
Modified Files:
lvzlib.dll
Added Files:
lvzip2_0.txt
Log Message:
Removed the toolkit sp!ecific function to read and change file attributes as the one in the file toolkit works now
--- NEW FILE: lvzip2_0.txt ---
LabVIEW ZIP library
-------------------
Copyright 2002-2005 Rolf Kalbermatter
Please read this document before you upgrade from an older LVZIP library
to this version.
The new version of LVZIP has some new features and some modifications.
New features:
-------------
1) Password support (limited tested)
ZLIB Extract All Files To Dir.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 throughly tested at this
time.
2) Adding of files into existing ZIP archive supoorted
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.
Following table shows the old and new settings
old value new value remarks
False create new truncates existing file
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 and all 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.
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 problm for most users as it is unlikely this
parameter was wired.
2) To simplify the interface of the file info the according structure
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 FileInfo.ctl
The old VIs and custom control with the old connector pane are stored
under the same name but with the appendix "Old" just before the ".vi"
file ending.
3) The connector pane to the "ZLIB Store File.vi" has also changed
because there were to few connectors to support password and all
extra information.
A VI compatible to the old version has been named
ZLIB Store File Old.vi
4) I was successful in making the "File Info.vi" function from the
file package working again. In doing so the "Time Info.vi" function,
which really was a subset implementation of "File Info.vi" is now
obsolete and has been removed.
Have fun
Rolf Kalbermatter
Index: lvzlib.dll
===================================================================
RCS file: /cvsroot/opengtoolkit/lvzip/source/lvzlib.dll,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
Binary files /tmp/cvsDV42uM and /tmp/cvshAZzaZ differ
|