Annotation of coherent/b/bin/unzip/History.500, revision 1.1.1.1

1.1       root        1: UnZip version 5.0, 22 August 1992
                      2: 
                      3: New features, you betcha:
                      4: 
                      5:  - inflation [Mark Adler]
                      6:  - unimploding (exploding) rewritten--much faster, no copyright restrictions
                      7:     [Mark Adler]
                      8:  - updated makefiles for inflation and explosion [Jean-loup Gailly, Glenn
                      9:     Andrews, Mark Adler, CN, ...]
                     10:  - multiple password guessing [CN, Mark Adler]
                     11:  - OS/2:  extended attributes code, including decompression [Kai Uwe Rommel]
                     12:  - MS-DOS:  Quick C makefile [Richard Seay]
                     13:  - new public domain version of match.c to replace copyrighted SEA version
                     14:     [J. Kercheval, David Kirschbaum]
                     15:  - INBUFSIZ may be changed on compile line (e.g., -DINBUFSIZ=8192) [Steve
                     16:     Salisbury]
                     17:  - Mac:  new extra-field resource fork stuff [Johnny Lee]
                     18:  - VMS:  f*def.h header files included within VMSmunch.h for neatness [CN]
                     19:  - new zipinfo formats (well, slightly different), including the default,
                     20:     allowing longer filenames without wrapping [CN]
                     21:  - special file perms (sticky bits, etc.) now restored properly (with excep-
                     22:     tion of compressed symlinks, as noted in BUGS) [Mark Adler, CN]
                     23:  - Linux support [Humberto Ortiz-Zuazaga]
                     24:  - MS-DOS:  gcc support (DJ DeLorie's) [Onno van der Linden]
                     25:  - UNZIP/ZIPINFO environment variable support [CN, Bill Davidsen]
                     26:  - smarter zipinfo defaults, including optional header and totals lines [CN]
                     27:  - zipinfo OS/2 EA information [Kai Uwe Rommel]
                     28:  - Convex C-120, C-210 targets added [Rafal Maszkowski]
                     29:  - signal handler for restoring echo if ^C during password, catch segmentation
                     30:     violations/bus errors [Mark Adler, CN]
                     31:  - VMS:  RMS services used for (nearly) everything, instead of QIO/ACP [Igor]
                     32:  - MS-DOS:  Borland C++ makefile to replace individual unzip{_cr}, zipinfo 
                     33:     ones [Alvin Koh, David Kirschbaum]
                     34:  - MS-DOS:  new Turbo C project files and zipinfo batch file [Charles Scripter]
                     35:  - VMS:  added overwrite/create-new capability for existing files [Igor]
                     36:  - Cray scc v3.0 target added [CN]
                     37:  - Olivetti X/OS target added [Fulvio Marino]
                     38:  - OS/2:  makefile.os2 provided in lieu of OS/2 targets in Makefile [Kai Uwe]
                     39:  - "all" and "install" targets added to main Makefile [CN, Mark, Alvin Koh]
                     40:  - MS-DOS:  massive Windows port (only patches to existing source included;
                     41:     also need stand-alone Windows sources from wunz12sr.zip) [Robert Heath,
                     42:     Johnny Lee]
                     43:  - OS/2:  added support for Watcom C/386 9.0, in addition to Microsoft C 6.0,
                     44:     IBM C Set/2, and gcc/emx [Kai Uwe]
                     45:  - AT&T 6300+/SysV target added [Peter Mauzey]
                     46:  - Windows NT port [David Feinleib]
                     47:  - reprompt for overwrite instead of assuming "n" if user error [Mark, Mike
                     48:     Freeman]
                     49:  - new (*very* new) funzip.c:  read zipfile from stdin, extract first member
                     50:     to stdout (now includes decryption, too) [Mark]
                     51:  - funzip man page, Where file [CN]
                     52:  - 386BSD 0.1 support added [Onno van der Linden]
                     53: 
                     54: Bugs fixed:
                     55: 
                     56:  - MS-DOS:  incorrect use of FP_ macros in dateformat() fixed [Steve Salisbury]
                     57:  - dateformat() only called once now [Steve Salisbury, CN]
                     58:  - "#if defined(x) || defined(y)" causes problems with some compilers (Borland
                     59:     C++ 3); globally replaced with "#if (defined(x) || defined(y))" [Alvin Koh]
                     60:  - "Deflating" message corrected to "Inflating" [James Birdsall]
                     61:  - GNU C prototype conflicts fixed (crypt.c, file_io.c) [Jean-loup Gailly]
                     62:  - OS/2:  stderr needs fflush for IBM C Set/2 compiler (as did Amiga); added
                     63:     for all compilers except Mac Progammer's Workbench [CN, Jon Saxton]
                     64:  - VMS:  multiple-dot filenames now converted properly [Igor Mandrichenko]
                     65:  - decryption version:  time.h now only included in unzip.h, not crypt.c
                     66:     (requires crypt.c "v1.5" or later) [CN, Jean-loup Gailly]
                     67:  - changed use of obsolescent S_IEXEC to S_IXUSR [Humberto Ortiz-Zuazaga]
                     68:  - SCO optimization bug in unshrink fixed [Onno van der Linden]
                     69:  - aviion target moved to _sysv section of makefile for password echoing
                     70:     [CN, Benjamin Goldsteen]
                     71:  - less reliance on __STDC__; now using zip's MODERN and PROTO macros [CN,
                     72:     Mark Adler, ...]
                     73:  - stdlib.h not included for buggy compilers which define __STDC__ anyway
                     74:     (GNU C, Apollo) [CN]
                     75:  - MS-DOS:  multiple dots in filenames handled correctly [CN]
                     76:  - corrected explode(), matche_...() prototypes [various people]
                     77:  - changed zipinfo targets in Makefile to use ln or copy rather than
                     78:     mv/rename for misc_.c [Kjetil J{\o}rgenson]
                     79:  - corrected (or attempted to correct) zipinfo project files for Borland
                     80:     (misc_.obj, -DZIPINFO) [CN, Jean-loup]
                     81:  - updated BCC .mak files for unzip 5.0 [Alvin Koh]
                     82:  - MS-DOS:  rewrote msc_dos target in Makefile to get back under DOS 128-
                     83:     character command-line limit (I hope) [CN]
                     84:  - Unix:  use "unix" predefined macro instead of -DUNIX [CN]
                     85:  - VMS:  revision dates once again set properly
                     86:  - added typecasts, etc., to get rid of nearly all warnings [CN, Charles
                     87:     Scripter, Mark Adler]
                     88:  - fixed "zipfile corrupt" bug for empty zipfiles [CN]
                     89:  - OS/2, Unix:  high-order (European) characters allowed in filenames [Kai Uwe,
                     90:     CN]
                     91:  - MS-DOS:  patches for TC 2.0 and BC++ 3.0 preprocessors and for TCC and BCC
                     92:     themselves to handle Unix-style line endings (LF) correctly (in MSDOS sub-
                     93:     archive) [Onno van der Linden]
                     94:  - added missing <signal.h> [Igor, Kai Uwe, Jean-loup, many others]
                     95:  - modified sysv target and unzip.h to allow SysV-ish Suns to compile right
                     96:     [CN]
                     97:  - removed some SysV.4 warnings [Jean-loup]
                     98:  - OS/2:  added comments in zipinfo and man page to forestall queries about
                     99:     "EA's stored not equal to what dir reports" [CN, Kai Uwe]
                    100:  - patches for RS/6000 + AIX [Trevor Paquette]
                    101:  - OS/2:  "smart" upper/lowercasing depending on national language code page
                    102:     [Kai Uwe]
                    103:  - updated VMS, MS-DOS, and AMIGA sub-archives for release [CN]
                    104:  - fixed zi_gcc makefile target [CN, Bo Kullmar]
                    105:  - fixed size_t/extent bug for non-ANSI compilers [CN]
                    106:  - fixed zipinfo EOL bug [CN]
                    107:  - updated OS2 sub-archive and main Makefile (OS/2 targets, crypt, etc.) for
                    108:     release [CN]
                    109:  - added typecasts to get rid of remaining inflate/explode warnings [CN]
                    110:  - MS-DOS:  updated BCC project files [Alvin Koh]
                    111:  - Mac, MTS:  fixed work-area initialization bug and added missing isascii
                    112:     definition [Antoine Verheijen]
                    113:  - Mac:  updated Think C resource file [Antoine]
                    114:  - fixed (I hope) couple of conversion warnings in extract.c [CN, Charles]
                    115:  - updated NoGate error message (PAK 2.51) [CN, Keith Petersen]
                    116:  - VMS:  corrected gcc XAB definition problem; cleaned up make_unzip_gcc.com
                    117:     [Igor, Mike Freeman, CN]
                    118:  - MS-DOS:  fixed msc_dos target in Makefile [Piet W. Plomp]
                    119:  - fixed sco_dos stack overflow bug and allowed zipinfo to be compiled as well,
                    120:     provisionally (UNZIPS variable) [Bill Davidsen, CN]
                    121:  - OS/2:  added -DMSC to msc target in makefile.os2 (and msc_os2 in Makefile),
                    122:     removed -Fb, changed some icc settings; removed references to main Makefile
                    123:     [Kai Uwe, CN]
                    124:  - OS/2:  simplified default unzip.h defines [Kai Uwe]
                    125:  - OS/2, MS-DOS:  reversed meaning of -s (now spaces allowed by default) [CN,
                    126:     Kai Uwe]
                    127:  - OS/2:  changed extra-field format to official PKWare format [Kai Uwe]
                    128:  - typecast all NULLs appropriately to avoid AIX warnings [CN, Trevor Paquette,
                    129:     Christopher Tjon]
                    130:  - changed zfwrite definition in crypt.c to match zip's [Jean-loup]
                    131:  - fixed some WinNT problems [Dave Feinleib, CN]
                    132:  - fixed SysV.4 warning regarding signal.h placement [Jean-loup]
                    133:  - fixed c120 target and renamed NMAX to N_MAX inflate.c to avoid Convex
                    134:     redefinition warning [CN, Rafal Maszkowski]
                    135:  - fixed bad comment line in Makefile [Mark, CN]
                    136:  - fixed memcpy/byte-ordering problem in memextract() [CN, Kai Uwe]
                    137:  - updated funzip (1.1) [Mark]
                    138:  - updated unzip/zipinfo error message to include Norwegian ZIPSPLIT as
                    139:     well as Atari STZIP [CN]
                    140:  - fixed zi_gcc Makefile target; added fu_gcc target [CN]
                    141:  - finished unzip and zipinfo man pages (I think) [CN]
                    142:  - OS/2:  minor national language code fix [Kai Uwe]
                    143:  - initialized all unzip and zipinfo global flags to zero (buggy Sun compiler)
                    144:     [CN, Frank van der Linden]
                    145:  - reformatted .man pages slightly; renamed to .doc [CN, Jean-loup]
                    146:  - renamed Mac Think C makefiles and VMS command files so names will be unique
                    147:     if extracted under MS-DOS; renamed Turbo C zipinfo.bat to zi_make.bat [CN,
                    148:     Jean-loup]
                    149:  - fixed illegal escape sequence in unzip.1 (caused NeXT segmentation viol.)
                    150:     [Mark]
                    151: 
                    152: Version info extracted from WizUnZip patches to unzip.c:
                    153: 
                    154:   /* History:
                    155:    * 01/27/92  1.0    Original.
                    156:    * 04/12/92  1.1    Added separate handle and buffer for outout.
                    157:    *                  Change outout's typing to byte _far *.
                    158:    *                  Apology: I did some of the wacky things I did
                    159:    *                  with buffers and pointers because I kept running 
                    160:    *                  out of local memory in the Windows version.--rah.
                    161:    * 06/30/92  1.2    Cleaned up source code.
                    162:    *                  Added drag-drop, hiding status window,
                    163:    *                  faster unzipping, updated to Unzip 5.0 source
                    164:    */
                    165: 
                    166: Version info extracted from new match.c (formerly filmatch.c):
                    167: 
                    168:    File: filmatch.c
                    169:    Author: J. Kercheval
                    170:    Created: Thu, 03/14/1991  22:22:01
                    171:    [from WILDF114.ZIP, SIMTEL20]
                    172: 
                    173:    EPSRevision History
                    174: 
                    175:    J. Kercheval  Wed, 02/20/1991  22:29:01  Released to Public Domain
                    176:    J. Kercheval  Fri, 02/22/1991  15:29:01  fix '\' bugs (two :( of them)
                    177:    J. Kercheval  Sun, 03/10/1991  19:31:29  add error return to matche()
                    178:    J. Kercheval  Sun, 03/10/1991  20:11:11  add is_valid_pattern code
                    179:    J. Kercheval  Sun, 03/10/1991  20:37:11  beef up main()
                    180:    J. Kercheval  Tue, 03/12/1991  22:25:10  Released as V1.1 to Public Domain
                    181:    J. Kercheval  Thu, 03/14/1991  22:22:25  remove '\' for DOS file parsing
                    182:    J. Kercheval  Thu, 03/28/1991  20:58:27  include filmatch.h
                    183: 
                    184:    v1.2 Toad Hall Tweak, Apr 92
                    185: 
                    186:  - Adapting to Info-ZIP unzip (to replace SEA's match() code).
                    187:    Why?  To avoid any future copyright problems.  (Hopefully one day
                    188:    we'll have EVERYTHING built of public domain code.)
                    189:    An even greater hope: that this new code added functionality
                    190:    and didn't break *too* many old applications.
                    191: 
                    192:  - Incorporating FILMATCH.H code herein.
                    193:  - Consolidated all test code at the end (#ifdef'ed out, of course)
                    194:    so we can throw it all away when we're done playing.
                    195:  - Swapping *string and *pattern to match previous match() parms.
                    196:  - [GRR:  renamed from "filmatch.c" to "match.c" to avoid changing
                    197:    all of the unzip makefiles]
                    198: 
                    199:    From the previous match()'s comments:
                    200: 
                    201:    "The match() routine recursively compares a string to a "pattern" (regular
                    202:    expression), returning TRUE if a match is found or FALSE if not.
                    203:    This version is specifically for use with unzip.c:  as did the previous
                    204:    SEA's match(), it leaves the case (upper, lower, or mixed) of the string
                    205:    alone, but converts any uppercase characters in the pattern to lowercase
                    206:    if indicated by the global var pInfo->lcflag (which is to say, string is
                    207:    assumed to have been converted to lowercase already, if such was
                    208:    necessary)."
                    209: 
                    210:    Since the above has approached or exceeded unintelligibility
                    211:    (why use small words when big ones will do?), scan down for "lcflag"
                    212:    and see what the code does.
                    213: 
                    214:    David Kirschbaum
                    215:    Toad Hall
                    216: 
                    217:    File: filmatch.h
                    218:    Author: J. Kercheval
                    219:    Created: Thu, 03/14/1991  22:24:34
                    220: 
                    221:    EPSRevision History
                    222: 
                    223:    J. Kercheval  Wed, 02/20/1991  22:28:37  Released to Public Domain
                    224:    J. Kercheval  Sun, 03/10/1991  18:02:56  add is_valid_pattern
                    225:    J. Kercheval  Sun, 03/10/1991  18:25:48  add error_type in is_valid_pattern
                    226:    J. Kercheval  Sun, 03/10/1991  18:47:47  error return from matche()
                    227:    J. Kercheval  Tue, 03/12/1991  22:24:49  Released as V1.1 to Public Domain
                    228:    J. Kercheval  Thu, 03/14/1991  22:25:00  remove '\' for DOS file matching
                    229:    J. Kercheval  Thu, 03/28/1991  21:03:59  add in PATTERN_ESC & MATCH_LITERAL
                    230: 
                    231: ==================
                    232: 
                    233: These changes occurred in beta versions 5.0a to 5.0p.  This list may have 
                    234: left out some bugfixes and even some features...the brain cell is going, 
                    235: folks (as Mark would say).  Apologies, etc., but I did muh best....
                    236: 
                    237: Greg Roelofs (a.k.a. Cave Newt)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.