Archive-Unzip-Burst

 view release on metacpan or  search on metacpan

unzip-6.0/History.600  view on Meta::CPAN

    BZIP2 support [Christian Spieler]
 - VMS, cmdline.c unz_cli.cld: fixed the completely broken addition of
    the /ODS2 and /DOT_VERSION options [Christian Spieler]
 - Merged in all additions and fixes of the UnZip 5.5x code tree from
    UnZip 5.50i up to UnZip 5.52 release.  Removed History.5?? files.
    Removed all History.600 entries that have been covered by fixes from
    the UnZip 5.5x code.
    For detailed ChangeLog see History.550, History.551, and History.552,
    as found in unzip552.zip source distribution and the UnZipHist.zip
    ChangeLog archive.  [Christian Spieler]
 - crypt.[ch]: updated to 2.10 (synchronized with zip 2.31) [Christian Spieler]
 - envargs.c: do not declare getenv() for "modern" compilers [Cosmin Truta]
 - extract.c: better echo message for CR or LF at overwrite prompt [Cosmin?]
 - fileio.c: added specific message for SIGILL in handler()  [Chr. Spieler]
 - process.c: fixed code of optional USE_STRM_INPUT variant [Chr. Spieler]
 - VMS, vms.c: requires "-vv" instead of only "-v" to enable VMS diagnostic
    output (enable DIAG_FLAG for vflag >= 3, only; DIAG output is not available
    for the unzip modi "extract to disk" and "zipinfo") [Christian Spieler]
 - VMS cli interface: added (undocumented) option modified /FULL=DIAGNOSTICS to
    control "-vv" diagnostic messages [Steven M Schweda, Christian Spieler]
 - WIN32/MSDOS (maybe others): fixed abort exception handling for CTRL-BREAK

unzip-6.0/History.600  view on Meta::CPAN

 - MSDOS 32-bit port revitalized [Christian Spieler]
 - windll: changed interface definition to be independent of compile/feature
    configuration [Christian Spieler]
 - man/unzip.1: Typo corrections [anonymous DEBIAN contribution, Santiago Vila]
 - man/unzip.1: removed duplicated quotes from VMS example in environment
    variable section [Steven M. Schweda]

6.00c9 (15 May 05):
 - zipinfo.c, list.c: fix the structure check for correct end-of-central dir
    to be aware of Zip64 extensions [Christian Spieler]
 - windll, sfxgui: synchronize function definitions with changed windll
    interface [Mike White]
 - extract.c, fileio.c, process.c: fixed USE_STRM_INPUT variant of file
    position seeking [Christian Spieler]
 - process.c - file_size(): changed scope into static; added non-USE_STRM_INPUT
    variant that uses zlseek instead of zfseeko and zftello; do not include in
    SFX stub; do not compile function definition when not used [Chr. Spieler]
 - unzpriv.h: revised and cleaned up setup definitions for zstat, zfstat and
    other 64-bit configuration macros [Christian Spieler]
 - win32/w32cfg.h: revised automatic ZIP64 support enabling logic and compiler-
    specific configuration; turned off ZIP64 support for lcc and BorlandC

unzip-6.0/History.600  view on Meta::CPAN

 - extract.c, fileio.c, process.c: removed unneeded (FILE *) type-casts in
    calls to zfseeko() and zftello() [Chr. Spieler]
 - extract.c, list.c, zipinfo.c, unzpriv.h: use symbolic constants for the
    16-bit and 64-bit masks in the checks for zip entry count consistency
    [Steven M. Schweda, Chr. Spieler]
 - process.c: reorganized the extended Zip filesize-checking code (for > 2GB
    detection) by moving it behind the open_infile () call and using the
    already opened global zipfile handle [Steven M. Schweda, Chr. Spieler]
 - fileio.c: allow output redirection to memory when ZIP64_SUPPORT is enabled
    [Chr. Spieler]
 - windll: synchronized uzexampl.c and uzexampl.h with current windll interface
    declarations [Chr. Spieler]

6.00c11 (23 May 05):
 - process.c: fixed bugs in last filesize-checking revision (added missing
    semi-colon, synchronized file_size() call with its prototype declaration
    [Steven M. Schweda, Chr. Spieler]

6.00c12 (15 Aug 05):
 - VMS port: updated the dependency build routines (*.mms, *.com) and the VMS
    install documentation (INSTALL) [Steven M. Schweda]
 - api.c - redirect_outfile(): initialize check_conversion variable in the
    non-textmode case [Chr. Spieler]
 - process.c, extract.c: moved the crctab initialization and check of the
    extraction root dir from do_seekable() further down the call tree into
    extract_or_test_files() [Chr. Spieler]

unzip-6.0/History.600  view on Meta::CPAN

    branch for the "input time stamp cannot be converted to local time" case
    [Steve Youngs]
 - added new compression methods and e.f. IDs from PKWARE Appnote 6.3.0 as of
    2006-09-29  [Chr. Spieler]
 - extract.c - extract_or_test_files(): remove dead branch in the code section
    handling archive test summary messages.  [Chr. Spieler]
 - fileio.c - zstrnicmp(): added (uch) typecasts to comparison, to improve
    "compatibility" with "extended ASCII characters".  [Chr. Spieler]
 - vms: use CRTL-supplied function strncasecmp() for STRNICMP() when available.
    [Steven M. Schweda, Chr. Spieler]
 - vms/vms.c, vms/vms.h: for better synchronisation with upcoming UnZip 6 code,
    the macros for masking the "ODS2 vs. ODS5" support differences have been
    cleanded up and ported back to the 5.5x VMS code.  [Chr. Spieler]
 - ubz2err.c: new source file to isolate the bzip2 "fatal error" callback
    routine in its own module; this allows easy replacement of this routine
    when the UnZip package is used as a static library (e.g. for WiZ with
    bzip2 support).  [Chr. Spieler]
 - general: added new ubz2err.c module to the make procedures of ports that
    (might) support bzip2.  [Chr. Spieler]
 - crypt.c: optimized crypt-keys handling for Big-Endian systems using the
    optimized CRC32 code by introducing a local copy of the crc32 table

unzip-6.0/History.600  view on Meta::CPAN

    way to other OS (Win32, Unix). (not yet working, requires more work to
    get completed and debugged...).  [Chr. Spieler]
 - win32/makefile.bc, win32/makefile.gcc, win32/makefile.wat: completed clean
    target functionality.  [Chr. Spieler]
 - win32, wince: added workaround to keep Visual Studio 2005 C compiler quiet.
    [N.N.]
 - unzpriv.h, extract.c, list.c, zipinfo.c: added "WavPack" (supported by
    WinZip 11+) to list of recognized compression types.  [Christian Spieler]
 - win32/nt.c: prevent calling IsValidAcl() with a NULL Acl pointer, to fix
    false 'EA security check' failures.  [Will Menninger]
 - renamed proginfo/extra.fld into proginfo/extrafld.txt, to synchronize with
    Zip3.  [Chr. Spieler]
 - process.c: added second try to find the EOCD64 record, to compensate for
    (SFX-stub) bytes prepended to the archive without adjustment of the offset
    records in the Zip file structures.  [Will Menninger, Ed Gordon]
 - fileio.c, process.c: replaced spurious use of Z_OFF_T by zoff_t.
    [Chr. Spieler]
 - win32/win32.c - utime2VFatFileTime(): initialize the wMillisecond field of
    the SYSTEMTIME structure to 0 to ensure deterministic time conversion.
    [N.N.]
 - explode.c: corrected type for data stream size variables from zoff_t into

unzip-6.0/History.600  view on Meta::CPAN

    allocation size for the slnk_entry structure by 2 for the two '\0'
    end-of-string markers.  [Chr. Spieler]
 - unix/Makefile: modified bzip2 lib target to be only applicable to the
    bzip2 subdir of the UnZip distribution.  [Chr. Spieler]
 - unix/configure: extended bzip2 support check from Zip's configure to better
    support "externally" supplied bzip2 libraries.  [St. Schweda, Chr. Spieler]
 - vms/descrip_src.mms, bzip2/descrbz2.mms: cleaned up VMS MMS support for
    integrated build of bzip2-enabled UnZip executables.  [Chr. Spieler]
 - msdos, unix, vms, win32: at request from SMS, changed all occurrences of
    "DIR_BZ2LIB" symbol in build scripts for the directory of the bzip2 library
    sources (and often also binaries) into "IZ_BZIP2", for synchronization
    with Zip.  [Chr. Spieler]

6.00d (17 Feb 08):
 - win32/Makefile: fixed configuration variations of bzip2 support when using
    non-standard build options regarding rtl linking; added documentation
    section for the supported build variant flags on the nmake command line.
    [Chr. Spieler]

6.00e01 (17 Feb 08):
 - unzpriv.h: re-added "fixed" allocation of space for the first of two string

unzip-6.0/History.600  view on Meta::CPAN

 - unzip.c: renamed error message constant for clarity.  [Chr. Spieler]
 - unshrink.c: revision to fix long-standing decompression bug, added boundary
    checks to detect invalid compressed data.  [Santiago Vila, Chr. Spieler]
 - extract.c: added error message handling for "invalid data" errors from
    unshrink().  [Chr. Spieler]
 - process.c, unzpriv.h: disabled compilation of unused UNICODE_SUPPORT helper
    function.  [Chr. Spieler]
 - process.c, win32/win32.c: added special win32-only version of the
    wide_to_local_string() helper function to work around "ANSI vs. OEM"
    codepage problems with non-Microsoft C-runtime libraries.  [Chr. Spieler]
 - zipinfo.c - zipinfo(): corrected "back at end-of-cdir" check (synchronized
    it with the corresponding list_files() code).  [Chr. Spieler]
 - fileio.c - do_string(): closed UNICODE_SUPPORT related memory leaks
    (free allocated utf8 buffers when no longer used).  [Chr. Spieler]
 - vms/vms.c - set_direc_attribs(): do not restore any size info from the
    (PK-style) extra field record attributes settings.  The new directory
    created during extraction may contain fewer (restored) entries than the
    original source folder, so that the old non-matching size data would
    result in corrupted interal directory structures.  [Steven M. Schweda]

6.00e04 (27 Apr 08):

unzip-6.0/History.600  view on Meta::CPAN

 - unix/unix.c: add more detailed error message using strerror() when a
    file error occurs.  [SMS]
 - unix/zipgrep - add additional information to top.  Clean up some lines and
    add commments.  Added code to handle backslashes in archive file names,
    and shell-special characters in the pattern. Changed to use "sed" for all
    escaping of shell-special characters. Tried to get the exit status to
    follow the status of egrep in the complex (default) situation, using only
    standard Bourne shell features, and to exit early if egrep returns
    status 2 (error).  [SMS]
 - vms/unzip_cli.help - VMS help updates.  [SMS]
 - vms/unzip_def.rnh - synchronized option description with unzip_cli.help.
    [Chr. Spieler]
 - fileio.c: extend backup number range from 65535 to 99999 on 32-bit systems;
    fixed limit detection on 16-bit systems.  [Chr. Spieler]
 - zipinfo.c: changed date layout of "short" (one-line) zipinfo modes to always
    use ISO-style YMD order.  [Chr. Spieler]
 - unix/configure: added a simple compiler test to check for a working C
    compiler setup.  [Steven M. Schweda]
 - cmsmvs/vmmvs.h: removed __EBCDIC preprocessor symbol definition (not used
    anywhere in UnZip, breaks compilation on Z-OS).  ["Lutz", Chr. Spieler]
 - unix/makefile - moved -L link option earlier in unzip$E rule.  [Lutz]

unzip-6.0/History.600  view on Meta::CPAN

 - proginfo/ziplimits.txt: updated discussion of program implementation limits
    to the state of "released" Zip 3.0 and UnZip 6.0.  [EG, Chr. Spieler]
 - README, Bugs, ToDo: updated and syncronized documentation for release
    candidate.  [Chr. Spieler]
 - windll/structs.h: added structure version id field at the "top" of the
    "DCL" options struct.  [EG]
 - windll/structs.h: added UZ_DCL_STRUCTVER preprocessor symbol, holding the
    currently valid version id of the DCL structure definition.  [Chr. Spieler]
 - windll/windll.c - Wiz_SetOpts(): exit function if version id of passed in
    "DCL" structure is not equal to the expected setting.  [EG, Chr. Spieler]
 - windll/unexampl.c: synchronized with recent WinDLL option structure
    addition.  [EG, Chr. Spieler]
 - windll/vc?/exampl/c_dll_ex.[dsp|vcproj]: new Visual Studio project files
    for building the WinDLL C usage example uzexampl.exe.  [EG, Chr. Spieler]
 - windll/vb/vbunzip.bas: changed DLL interface to use UZxxx_I32 variants of
    callback functions that split 64-bit values into high and low part 32-bit
    integers that can be handled by VB(A)5/6.  Inside the VB code, low and
    high parts are added up in Currency type variables. Converted \ to / in
    duplicate file message.  Fixed MsgBox flags concatenation.  Added support
    for new OverwriteAll checkbox.  [EG]
 - windll/vb/vbunzip.frm: added OverwriteAll checkbox, added resizing to
    txtMsgOut output box.  [EG]
 - windll/vb/vbunzip.frm, windll/vb/vbunzip.bas: cleaned up and completed the
    recent modifications, resynchronized with WinDLL interface with UnZip 6.0
    master source, removed all modification incompatible with VB5, fixed the
    UZDLLServ_I32() callback calling interface, used Double instead of
    Currency as Int64 summation type to prevent potential numeric overflow
    issues.  [Chr. Spieler]

6.00f (11 Jan 09):
 - INSTALL: added notes on the difference between "old" Macintosh OS and
    current Apple Mac OS/X, which is supported as a BSD Unix port .  [EG]
 - unzip.c - help_extended(): added some documentation about funzip and
    unzipsfx stub.  [EG]

unzip-6.0/History.600  view on Meta::CPAN

 - vms/vms.c: made the declaration of sys$setdfprot() always active when
    the SETDFPROT symbol is defined.  [Chr. Spieler]
 - unix/unix.c: added strerror(errno) output to various "Cannot..." I/O error
    messages (in checkdir(), close_outfile(), set_symlnk_attribs()).
    [Steven M. Schweda, Chr. Spieler]
 - fileio.c - open_outfile(): added strerror(errno) output to the error
    messages "cannot rename ..." and "cannot delete ...".  [Chr. Spieler]
 - fileio.c - do_string(): corrected string length passed to win_fprintf()
    (comment string may get shortened by CRLF->LF translation). [Chr. Spieler]
 - beos/beos.c, beos/beocfg.h, aosvs/aosvs.c, win32/win32.c: extended various
    "Cannot..." I/O error messages with strerror(errno) output, to synchronize
    code with current state of the Unix port.  [Chr. Spieler]
 - unzip.c, unzpriv.h, unix/configure: added better check for UTF-8 codeset
    using nl_langinfo() function, as suggested on the sourceforge.net forum;
    added nl_langinfo() to the "function existence" checks in the configure
    script.  [Chr. Spieler]
 - wince/intrface.cpp: added missing wide_to_local_string() function from
    win32.c (is [currently] needed in process.c).  [Chr. Spieler]

6.00g01 (18 Jan 09):
 - extract.c, windll/structs.h, windll/windll.txt: added a bufsize parameter

unzip-6.0/proginfo/extrafld.txt  view on Meta::CPAN

          2. On a system that already uses UTF-8 as system charset, this field
             shall not repeat the string pattern already stored in the Zip
             entry's standard name field. Instead, a field of exactly 9 bytes
             (70 75 05 00 01 and 4 bytes CRC) should be created.
             In this form with 5 data bytes, the field serves as indicator
             for the UTF-8 encoding of the standard Zip header's name field.
          3. This field shall not be used whenever the calculated CRC-32 of
             the entry's standard name field does not match the provided
             CRC checksum value.  A mismatch of the CRC check indicates that
             the standard name field was changed by some non-"up"-aware
             utility without synchronizing this UTF-8 name e.f. block.


         -Info-ZIP Unicode Comment Extra Field:
          ====================================

          Stores the UTF-8 version of the entry comment as stored in the
          central directory header.
          (Last Revision 20070912)

          Value         Size        Description

unzip-6.0/unzvers.h  view on Meta::CPAN

 * a) The "generic" (console-mode oriented) API has been used on UNIX,
 *    for example. This API provides a "callable" interface similar to the
 *    interactive command line of the normal program executables.
 * b) The OS/2-only API provides (additional) functions specially tailored
 *    for interfacing with the REXX shell.
 * c) The Win32 DLL API with a pure binary interface which can be used to
 *    build GUI mode as well as Console mode applications.
 *
 * Whenever a change that breaks backward compatibility gets applied to
 * any of the DLL/Library APIs, the corresponding compatibility level should
 * be synchronized with the current UnZip version numbers.
 */
/* generic DLL API minimum compatible version*/
#define UZ_GENAPI_COMP_MAJOR  6
#define UZ_GENAPI_COMP_MINOR  0
#define UZ_GENAPI_COMP_REVIS  0
/* os2dll API minimum compatible version*/
#define UZ_OS2API_COMP_MAJOR  6
#define UZ_OS2API_COMP_MINOR  0
#define UZ_OS2API_COMP_REVIS  0
/* windll API minimum compatible version*/

unzip-6.0/vms/vms.c  view on Meta::CPAN

#  define GVTC
#endif

/* With GNU C, some FAB bits may be declared only as masks, not as
 * structure bits.
 */
#ifdef __GNUC__
#  define OLD_FABDEF 1
#endif

#define ASYNCH_QIO              /* Use asynchronous PK-style QIO writes */

/* buffer size for a single block write (using RMS or QIO WRITEVBLK),
   must be less than 64k and a multiple of 512 ! */
#define BUFS512 (((OUTBUFSIZ>0xFFFF) ? 0xFFFF : OUTBUFSIZ) & (~511))
/* buffer size for record output (RMS limit for max. record size) */
#define BUFSMAXREC 32767
/* allocation size for RMS and QIO output buffers */
#define BUFSALLOC (BUFS512 * 2 > BUFSMAXREC ? BUFS512 * 2 : BUFSMAXREC)
        /* locbuf size */

unzip-6.0/vms/vms.c  view on Meta::CPAN

static uch *locptr;
static char got_eol = 0;

struct bufdsc
{
    struct bufdsc *next;
    uch *buf;
    unsigned bufcnt;
};

static struct bufdsc b1, b2, *curbuf;   /* buffer ring for asynchronous I/O */

static int  _flush_blocks(__GPRO__ uch *rawbuf, unsigned size, int final_flag);
static int  _flush_stream(__GPRO__ uch *rawbuf, unsigned size, int final_flag);
static int  _flush_varlen(__GPRO__ uch *rawbuf, unsigned size, int final_flag);
static int  _flush_qio(__GPRO__ uch *rawbuf, unsigned size, int final_flag);
static int  _close_rms(__GPRO);
static int  _close_qio(__GPRO);
#ifdef ASYNCH_QIO
static int  WriteQIO(__GPRO__ uch *buf, unsigned len);
#endif

unzip-6.0/vms/vms.c  view on Meta::CPAN

    G.crc32val = crc32(G.crc32val, rawbuf, (extent)size);
    if (uO.tflag)
        return PK_COOL; /* Do not output. Update CRC only */
    else
        return (*_flush_routine)(__G__ rawbuf, size, 0);
}



static int _flush_blocks(__G__ rawbuf, size, final_flag)
                                                /* Asynchronous version */
    __GDEF
    uch *rawbuf;
    unsigned size;
    int final_flag;   /* 1 if this is the final flushout */
{
    int status;
    unsigned off = 0;

    while (size > 0)
    {

unzip-6.0/vms/vms.c  view on Meta::CPAN

/*
   2004-10-01 SMS.  Changed to clear the extra byte written out by qio()
   and sys$write() when an odd byte count is incremented to the next
   even value, either explicitly (qio), or implicitly (sys$write), on
   the theory that a reliable NUL beats left-over garbage.  Alpha and
   VAX object files seem frequently to have even more than one byte of
   extra junk past EOF, so this may not help them.
*/

static int _flush_qio(__G__ rawbuf, size, final_flag)
                                                /* Asynchronous version */
    __GDEF
    uch *rawbuf;
    unsigned size;
    int final_flag;   /* 1 if this is the final flushout */
{
    int status;
    unsigned off = 0;

    while (size > 0)
    {



( run in 0.673 second using v1.01-cache-2.11-cpan-0d8aa00de5b )