1------------------------- August 7th 1996 version 2.2a ------------------ 2 1. QDOS port (Jonathan Hudson) 3 2. win32 volumelabel handling (Paul) 4 3. VM/CMS clean up (Greg Hartwig) 5 4. leading "../" in internal filenames are allowed (Paul) 6 5. System V packages support (John Bush) 7 6. Fix handling of atx in zipup() (Onno, Greg) 8 7. Fixed typo that caused zip -R to dump core (Onno) 9 8. msdos/makefile.dj2: fix for command line too long when linking zip.exe 10 9. win95 long filename support with djgpp v2 (Onno, Kimio Itoh) 11------------------------- August 9th 1996 version 2.2b ------------------ 12 1. windll: use wiz instead of wizip (Mike) 13 2. use z->name NOT z->zname to open files (Onno, Mike) 14------------------------ September 1st 1996 version 2.2c ------------------ 15 1. windll: use fprintf instead of putc to send data to std{out,err} (Mike) 16 2. os2: make borlandc version detection equal to unzip 5.30d (Kai Uwe) 17 3. use #elif constructions for msdos,os2 and win32 compiler detection (Onno) 18 4. fix for incorrect free in zip.c (Onno, Mike, Steve) 19 5. BeBox port from Chris 20 6. unix/{configure,Makefile} fixes for SCO Xenix 286 (Tom Schmidt) 21 7. remove zilog entry from unix/Makefile (Onno) 22 8. man page fixes (Tom Schmidt) 23 9. SCO ODT {3,5} fixes (Bill Davidsen) 24------------------------ October 8th 1996 version 2.2d ------------------ 25 1. Fix bug in QDOS patch that broke zipsplit.c (Onno, Paul) 26 2. Fix a couple of warnings from BorlandC (Mike) 27 3. msdos/makefile.wat: Delete some more files when cleaning up (Paul) 28 4. store msdos volumelabels without a dot in them (Paul) 29 5. clean up of unix/{Makefile,configure,packaging} (Tom Schmidt) 30 6. make QDOS port case independent (Jonathan Hudson) 31 7. new amiga SASC makefile (Walter Haidinger) 32 8. don't truncate filenames in win32's in2ex() (Paul) 33 9. os2/makefile.os2 update for emx 0.9c (Kai Uwe) 3410. password() function for QDOS (Jonathan) 3511. fix the last(?) free() related bug (Mike) 3612. win32: security descriptors operations (Scott Field) 3713. win32: FILE_SHARE_DELETE is not defined in some win32 compilers (Onno) 3814. win32: fix makefile.wat to include nt.c (Onno) 39------------------------ January 17th 1997 version 2.2e ------------------ 40 1. define USE_CASE_MAP in osdep.h for those ports that need it (Onno) 41 2. define PROCNAME in osdep.h for those ports that need it (Onno) 42 3. wild() prototype decl only if PROCNAME defined => delete MSVMS define (Onno) 43 4. add DOS EMX makefile (E-Yen Tan) 44 5. include <qdos.h> a little earlier in qdos/qdos.c (Jonathan) 45 6. add ttyio.o to OBJZ in qdos/Makefile.qdos (Jonathan) 46 7. remove unused fprintebc define from zip.c (Onno) 47 8. use the right password routine in ttyio.c for unzip (Mike) 48 9. BeOS update from Chris 4910. Fix for 'zip -r foo x:' (Paul) 5011. Fix library bug on beos (Chris) 5112. Fix calculating version number (kitoh_@mix.or.jp, Walter Haidinger) 5213. IsWinNT always returned TRUE (Mike) 5314. Windll update from Mike 5415. Improved crc routines for x86 from Scott Field 5516. Detect in unix/configure if we can use crc_i386.S (Onno) 5617. Fix spurious internal logic error (Paul) 5718. Fix to include directory names on the Acorn when needed (Sergio) 5819. include zip.h in mvs.h (Onno, George Carr) 5920. add workaround for AZTEC C compiler bug to revision.h (Paul, Walter) 6021. MVS doesn't have rmdir (George Carr) 6122. define and use USE_ZIPMAIN for WINDLL en VM_CMS (Onno) 6223. Fixes from Greg Hartwig to make CMS standalone versions possible. 6324. Move OS specific encryption stuff to the os specific directories (Christian) 6425. Change password fetching interface in ttyio and crypt (Christian) 6526. Update emx support for 0.9c (Christian) 6627. Define WINDLL instead of MSWIN (Christian) 6728. Extended time stamp extra field format support (Christian) 6829. Support for rsxnt-emx 0.9c win32 compiler (Christian) 6930. Use izshr017b (Christian) 70------------------------ March 11th 1997 version 2.2f ------------------ 71 1. Move makefile.emx, rsxwinnt.h and zip.def to win32 subdir (Kai Uwe) 72 2. Add win32 target to makefile.os2 to allow cross compilation (Kai Uwe) 73 3. Fix NTSD_EAS link time failures with win32 (Paul) 74 4. Fix buffer freed too early in password verification code (Mike) 75 5. Remove unix/zipgrep and man/zipgrep.1 (sanvila@ctv.es) 76 6. Only use crc_i386.o when we're using an x86 (Onno, Mark) 77 7. Remove carriage returns from amiga/crc_68.a (Paul) 78 8. New windll from Mike 79 9. Fix typo in os2/os2zip.c (Kai Uwe) 8010. Don't use ctime (last file status change) for unix and qdos cross compile 81 (Greg) 8211. added gccwin32 crosscompilation target (RSXNT) to os2/makefile.os2 (Kai Uwe) 8312. fixed the OS/2 file attribute and time stamp generation for zipping 84 stdin ("-") (Kai Uwe) 8513. fixed the atime and ctime stat fields for the OS/2 Watcom C library 86 (Kai Uwe) 8714. added atime and ctime support for the UT extra field when generated under 88 OS/2, the atime and ctime values are only stored when zipping (Kai Uwe) 8915. qdos patches from Jonathan Hudson mainly for extended time flag handling 9016. amiga aztec compiler bug workaround (Paul) 9117. fix -v output of zipcloak, zipnote and zipsplit (Paul) 9218. new amiga/makefile.azt with targets for debug versions (Paul) 93------------------------ March 31st 1997 version 2.2g ------------------ 94 1. remove -I/usr/local/include from unix/Makefile (Chris) 95 2. Update versinfolines in revision.h (Greg) 96 3. change 1U to 0x1 to accomodate non ANSI compilers (Onno, Rodney Brown) 97 4. win32zip.c: cast buffer parameter in memcompress() to char * (Mike) 98 5. remove beos/zipgrep (Chris) 99 6. correct the -e password verification check in zip.c (Christian) 100 7. use ZCONST instead of const in the generic code. (Christian) 101 8. fix mktime timezone correction when time is near to daylight/nodaylight 102 switch points. (Christian) 103 9. correct dependencies in makefile.os2 (Christian) 10410. use a more sensible default for iztime.ctime than "0" when system does not 105 not support creation time stamps. (Christian) 10611. fix VMS_PK_EXTRA function interface declarations. (Christian) 10712. implement atime/ctime support in win32. (Christian) 10813. win32/win32.c: replacement getch() for Watcom. (Paul) 10914. win32/makefile.wat: debug object files kept separate. (Paul) 11015. msdos/makefile.wat: debug object files kept separate. (Paul) 11116. Fix extended time defines for the acorn. (Sergio) 11217. Define PROCNAME() in acorn/osdep.h (Sergio) 11318. Ignore exit status of ${INSTALL_D} in unix/Makefile (Chris) 11419. Add Metroworks and BEOS info to version() in several files (Chris) 11520. Move defines for the password fetch to zip.h (Christian) 11621. Support the obsolete version rsxnt 1.1 / emx 0.9b (Christian) 11722. Remove obsolete "#define PROCNAME ..." from cmsmvs/cmsmvs.h (Christian) 11823. Fix extended time defines for qdos (Jonathan Hudson) 11924. Use watcom getch() from unz530q in win32/win32.c (Onno) 12025. Don't install zipgrep via the unix package tools (John Bush) 12126. use izshr021 (Onno) 12227. Fix zipnote: use iname not zname in zipnote.c (Onno) 12328. Create proginfo directory (Christian) 124------------------------ May 5th 1997 version 2.2h -------------------- 125 1. Fix vms/zipup.h: iztime --> iztimes (Onno, Mike Freeman) 126 2. Remove windll/wizdll.def (Mike) 127 3. Add a couple of external variable declaration to windll.h (Mike) 128 4. Remove zipgrep from install in unix/Makefile (Onno) 129 5. Make updating .zip files with extended time fields possible (Kai Uwe) 130 6. Delete beos/Makefile.gcc, beos/Makefiles handles both compilers (Chris) 131 7. Fixes for unused variables (Chris) 132 8. Added very simplistic example how to load and call the windll (Mike) 133 9. Updated windll documentation to note this example (Mike) 13410. Removed an unused memeber of a structure in windll (Mike) 13511. Add BUGS instead of infozip.who and algorith.doc with the packaging 136 tools (John Bush) 13712. tailor.h: increment NUM_HOSTS to keep in sync with UnZip (Christian) 13813. win32/osdep.h: remove NO_SECURE_TESTS define (Christian) 13914. zip.h: add declaration for free_crc_table() (Christian) 14015. windll: move everything that's not windows specific into api.* (Mike) 14116. use iname when checking for directory names in zipfile.c (Sergio) 14217. improved mktime.c with better error checking (Christian) 14318. improved crc routines (Christian, Rodney Brown) 14419. get the -z option working again (Onno, Brad Clarke) 14520. define BROKEN_FSEEK and seekable() for those systems where fseek() 146 always returns 0 (== OK) (Onno, Jeffrey Altman) 147------------------------ May 10th 1997 version 2.2i -------------------- 148 1. win32's seekable should only check for FILE_TYPE_DISK (Onno, Jeffrey Altman) 149 2. add (ulg) cast to zipbeg = ~0 in zipfile.c (Steve) 150 3. seekable() *really* belongs in flush_block, keep it there (Onno) 151 4. seekable() calls fseekable(FILE *) (Onno) 152 5. define HAVE_FSEEKABLE if a port has their own fseekable (Onno) 153 6. WatCom doesn't have _get_osfhandle, use _os_handle instead (Paul) 154 7. upgrade to Mike's latest windll sources (Mike) 155 8. add -P option so you can specify a password on the commandline (Onno) 156 9. Get -@ working again (Onno) 15710. emx+RSXNT doesn't know about _get_osfhandle() (Kai Uwe) 15811. fix a couple of typos in the OS/2 makefiles (Kai Uwe) 15912. fix initialization bug in windll code (Mike) 16013. tweak deletedir for RISC OS (Sergio) 16114. RISCOS doesn't know about fstat() (Sergio) 16215. Remove acorn/acorn (Sergio) 16316. Delete debugging statements from version_local() in msdos.c (Greg) 16417. Fix huge bug in readzipfile() (Onno) 165------------------------ May 18th 1997 version 2.2j -------------------- 166 1. Add missing ';' after return ZE_PARMS in zip.c (Mike) 167 2. Remove obsolete 'struct stat st' in zipfile.c (Onno) 168 3. Get Amiga SFX handling working again (Paul) 169 4. Get zip -A working again (Onno) 170 5. Change an && to & in zipfile.c (Johnny) 171 6. Fix handling of empty sfx archives (Onno, Mike) 172 7. Remove experimental entries from the makefiles (Jean-loup) 173 8. Add exit codes to the manual page (Onno) 174 9. Remove lines from the help screen that contain lesser used options (Onno) 175------------------------ June 8th 1997 version 2.2k -------------------- 176 1. use zip -t ddmmyyyy for year 2000 stuff (Greg) 177 2. zip -@ only handles ONE filename per line (Jean-loup) 178 3. beos support for DR9 filesystem and symlinks (Chris) 179 4. VB support for windll (Mike) 180------------------------ June 10th 1997 version 2.2l ------------------- 181 1. beos filetype support (Chris) 182 2. fill the buffer in getnam() to get it working again (Onno) 183 3. implement -x@filename and -i@filename (Onno) 184------------------------ June 22nd 1997 version 2.2m ------------------- 185 1. Add a ; after de nextarg label in main() (Onno, Erik Baatz) 186 2. Initialize p to NULL in get_filters() (Onno, Frank Donahoe) 187 3. Fix typo in first if statement in filetypes() (Johnny Lee) 188 4. zip -A works again (Onno, Greg) 189 5. don't free zipbuf for VMS and CMS_MVS in main() (Onno, Mike Freeman) 190 6. fix make_zip.com, link_zip.com and vmsdefs.h for gcc 2.6.3 on VMS (Onno) 191 7. clarify -g option in the man page (Jean-loup) 192------------------------ July 6th 1997 version 2.2n ------------------- 193 1. use local in readzipfile2() declaration (Onno, Mike Freeman) 194 2. return values with windll in get_filters() (Mike) 195 3. a couple of minor patches for BEOS (Chris) 196 4. zip -g works again (Onno, Chris) 197 5. Some more Visual Basic dll support (Mike) 198 6. Fix stack overflow in readzipfile() for DOS (Onno, Michael Mauch) 199------------------------ August 19th 1997 version 2.2o ------------------- 200 1. beos README and Makefile tweaks from Chris. 201 2. Syntax corrections for README and man/zip.1 (Frank Donahoe) 202 3. Use name not iname when deleting directories in trash() (Christian) 203 4. change several wkuvx1 to lists in e-mail addresses (Christian) 204 5. default to PK style extra fields for VMS (Christian) 205 6. use izshr023 (Christian) 206 7. replace buggy time library functions (Walter Haidinger, Paul, Christian) 207 8. in2ex() and stat() are needed also when UTIL isn't defined (Greg Hartwig) 208 9. don't use type=record in fopen() for MVS and CMS (Greg Hartwig) 20910. Change P and K literals to hex for EBCDIC systems (Greg Hartwig) 21011. Add output path support for CMS and MVS (Greg Hartwig) 21112. Add memtoasc and memtoebc for EBCDIC systems (Greg Hartwig) 21213. Handle comments correctly to fix zipnote for CMS and MVS (Greg Hartwig) 21314. Add -tt option (do not operate on files after date mmddyy) (Christian) 21415. move alloc routines for DOS into the !UTIL block (Christian) 21516. move UTIL blocks and version_local() functions to a more logical place 216 (Christian) 21717. Handle -P, -R, -x@, -i@ and -tt for the VMS CLI (Christian) 21818. Update VMS help file with the new options (Christian) 21919. Use iname in MATCH, not zname (Jonathan Hudson) 22020. windll: more Visual Basic support (Mike) 22121. windll: more project makefiles (Mike) 22222. windll: insert Zip in front of global variable names (Mike) 223------------------------ August 25th 1997 version 2.2p ------------------- 224 1. Remove unused flags from LFLAGS2 in unix/Makefile (Onno) 225 2. SunOS make bug: change unix_.o rule in unix/Makefile (Onno, Mike Freeman) 226 3. ZipIsWinNT() instead of IsWinNT() in zip.h (Mike) 227 4. Fix -t and -tt behaviour for windll (Mike) 228 5. Remove windll makefiles that are now elsewhere (Mike) 229 6. BEOS: preserve file attributes associated with symbolic links (Chris) 230 7. No need to use in2ex() for ziputils (Christian) 231 8. Fix comment handling for EBCDIC systems (Christian) 232 9. EBCDIC conversion for entry names read from zipfile in UTIL mode (Christian) 23310. Fix "fatal" error messages on EBCDIC systems (Christian) 23411. zipnote.c: Fix handling of entry name changes for EBCDIC systems (Christian) 23512. removed a large part of "dead" code from ziputils version (Christian) 23613. use z->iname in comparison functions for sorting (Christian) 23714. new installation utils for the acorn (Sergio) 23815. use LSSTAT in set_extra_field for unix and beos (Onno) 23916. perror(z->zname) instead of perror("zip warning") (Onno, Geoff Pennington) 24017. Amiga SFX should work again (Paul) 24118. refer to zip22 in install.doc (Frank Donahoe) 242------------------------ September 10th 1997 version 2.2q ------------------- 243 1. Change .doc to .txt, these aren't MS-Word documents (John D. Mitchell) 244 2. Change msdos$_(OBJ) to msdos_$(OBJ) (Kai Uwe) 245 3. Fix a couple of amiga related glitches (Paul) 246 4. Support for DOS packed .exe files in makefile.dj2 (Frank Donahoe) 247 5. Change warning message for zip -A (Greg) 248------------------------ September 29th 1997 version 2.2r ------------------- 249 1. Fix make svr4package (Eric Baatz) 250 2. Fix VMS warning (Mike Freeman, Christian) 251 3. Clean up beos gcc port and beos README (Chris) 252-------------------------- October 6th 1997 version 2.2s -------------------- 253 1. Change lpPrint to lpZipPrint for windll (Mike) 254 2. Change lpPassword to lpZipPassword for windll (Mike) 255 3. Amiga timezone fixes (Paul) 256 4. WatCom C 11.0 makefile fixes (Paul) 257 5. Tandem port from Dave Smith 258 6. Corrections and updates for install.txt (Christian) 259 7. Minor VMS README update (Christian) 260-------------------------- October 12th 1997 version 2.2t -------------------- 261 1. qdos compiler bug workaround (Jonathan) 262 2. prevent storing qdos specific filenames that exceed filesystem limits 263 (Jonathan) 264 3. fix undelimited comment in fileio.c (Frank Donahoe) 265 4. disable storing of symlinks in BEOS until OS support is available (Chris) 266 5. Init hash_head to 0 in amiga/deflate.a (Paul) 267 6. Upgrade to izshr025 (Christian) 268 7. don't add ".zip" to ZIP name for TANDEM (Dave Smith) 269 8. use zipup.h not tandem.h in zipup.c (Dave Smith) 270 9. rename history to CHANGES (Onno) 27110. rename install.txt to INSTALL (Onno) 27211. rename zip.txt to ZIPMAN (Onno) 27312. create WHATSNEW (Onno) 274-------------------------- October 15th 1997 version 2.2u -------------------- 275 1. Use Info-ZIP instead of Info-Zip (Christian) 276 2. Note recent filename changes in several files (Christian) 277 3. Remove a couple of items from the TODO list (Christian, Onno) 278 4. Add windll port, zip -t yyyymmdd and zip -R to WHATSNEW (Christian) 279 5. VMS documentation cleanups and clarifications (Christian) 280 6. dist entry in unix/Makefile (Onno) 281 7. remove duplicate amiga/timezone.txt (Christian) 282 8. rename ZIPMAN to MANUAL and update a couple of files regarding this (Onno) 283-------------------------- October 24th 1997 version 2.2v -------------------- 284 1. izshr026: in WHERE wiz40 instead of wiz30 (Christian) 285 2. izshr026: another couple of Info-ZIP spelling fixes (Christian) 286 3. Remove zipgrep from the makefiles that still had it (Christian) 287 4. Update makefiles to handle the MANUAL renaming change (Christian) 288 5. Fix the last daylight savings bug on the Amiga (Paul) 289 6. Fix the SCO Unix specialty detection in unix/configure (Onno, 290 bug reported by Bo Kullmar for Solaris 2.6 and with uname -X output 291 for SCO Unix from ken@apisys.com and dgsmith@vnet.ibm.com) 292 7. Update WHERE and amiga/time_lib.c from unzip 5.32g (Greg) 293-------------------------- October 26th 1997 version 2.2w -------------------- 294 1. Additional +Onolimit check in unix/configure (Onno, Peter Jones) 295 2. Use ZIPERR macro instead of ziperr (Christian) 296 3. initialize z->lflg for zip entries without extra field (Christian) 297 4. "local (+ locextend)" vs. "central" header consistency check (Christian) 298 5. Override local header values with central header values with -A 299 and differences between these headers (Christain) 300 6. made "deltaoff" signed long; offset adjustment may be negative (Christian) 301 7. fix a number of "wild" deallocation bugs (Christian) 302 8. When zipping from a FAT drive (only 8.3 DOS names) under OS/2 or 303 WIN32, set z->vem to "OS_DOS | <real zip version number>". 304 Mark as "made by DOS PKZIP 2.0" only when dosify was requested. (Christian) 305 9. DOS port should not store fake unix style external attributes. (Christian) 30610. amiga/time_lib.c from izshr028 (Christian) 307-------------------------- October 31st 1997 version 2.2y -------------------- 308 1. amiga/time_lib.c from izshr029 (Christian) 309 2. Turbo C++ version code clarification (E-Yen Tan) 310 3. Fix spelling in cmsvms/zipname.conven (Rodney Brown) 311 4. Fix memset check in unix/configure for Unixware 2.1.1 (Rodney Brown) 312 5. Forward declaration fixes for HP-UX bundled compiler (Rodney Brown) 313-------------------------- November 3rd 1997 version 2.2 -------------------- 314 1. Update WHERE (Greg). 315-------------------------- January 4th 1998 version 2.21a ------------------- 316 1. BSD friendly version of version_local() in unix/unix.c (Onno) 317 2. No NT versions in DOS version_local() (Steve Salisbury) 318 3. -t mmddyyyy instead of -t ddmmyyyy in WHATSNEW (Walter Haidinger) 319 4. use generic fseekable() for rsxnt (Christian) 320 5. Fix MSC 8.x warnings (Christian, Steve Salisbury) 321 6. win32 Borland C++ makefile (E-Yen Tan) 322 7. Tandem doesn't know about extensions like .zip,.arj, ... (Dave Smith) 323 8. Use dosmatch for EMX and DJGPP too (Christian) 324 9. dummy djgpp startup functions to remove command line globbing and 325 recognition of environment variables from djgpp.env (Christian) 32610. include DJGPP_MINOR in DOS version_local() (Christian) 32711. TC 2.0 doesn't have mktime() (Christian, mmp@earthling.net) 32812. VMS: rename opendir() to zopendir() so avoiding name clash with 329 VMS 7.x POSIX libraries (Christian, Martin Zinser) 33013. Add support for VMS DEC C V 5.6 features (Christian) 33114. Use iname for comparison in check_dup (Christian Spieler, Christian Michel) 33215. Fix access to uninitialized ioctx records in vms_get_attributes() 333 Christian, Robert Nielsen) 33416. Parenthesis around MAX_MATCH>>1 in match.S (Greg) 33517. Use strchr() not strrchr() for -i and -x to get -i@ and -x@ really 336 working (Onno, Kai Uwe) 33718. add chmod statements to unix/Makefile (Quentin Barnes) 33819. Windll: handle both -r and -R (Mike) 33920. Windll: general error handler in main() via setjmp/longjmp (Mike) 34021. Don't allow zip -i@x.lst foo.zip (Onno) 34122. vms/link_zip.com: use .eqs. not .nes. when checking with f$search 342 for the zip AXP object library (David Dachtera) 34323. rsxnt 1.3.1 fixes (E-Yen Tan) 344-------------------------- January 20th 1998 version 2.21b ------------------- 345 1. Bigger PATH_MAX for win32's windll (Mike) 346 2. Update windll.txt w.r.t. PATH_MAX (Mike) 347 3. Amiga SAS/C fixes (Walter, Paul) 348 4. zip -i@ and -x@ should *really* work now ...... (Onno) 349-------------------------- February 20th 1998 version 2.21c ------------------- 350 1. make -f unix/Makefile qnx needs LN=ln in its options (Chris) 351 2. Support Metroworks Codewarrior/x86 on BEOS (Chris) 352 3. Add Norbert Pueschel to proginfo/infozip.who (Walter) 353 4. Use big endian for Be types (Chris) 354 5. zip -i and -x were broken by the -i@ fix last time around (Christian) 355 6. win32 stat bandaid (Paul) 356 7. acorn filetype and timestamp fixes (Sergio, D. Krumbholz) 357 8. update to izshr30 (Christian) 358 9. Support for NTSD in the RSXNT environment (Christian) 35910. restructure readzipfile() (Christian) 36011. Where needed define MATCH in osdep.h (Christian) 36112. version_local() fixes for RSXNT (Christian) 36213. New vmsmunch.c (Christian) 363-------------------------- March 15th 1998 version 2.3a ------------------- 364 1. Fixes for the windll API (Mike) 365 2. Use CPUTYPE in BorlandC Makefile for DOS (E-Yen Tan) 366 3. BEOS: -rostr not available for the x86 compiler (Chris) 367 4. preserve file attributes of a symlink on BEOS (Chris) 368 5. New VM/CMS README.CMS and version_local() (Ian Gorman) 369 6. INSTALL fixes from Takahiro Watanabe 370 7. OS/390 port from Paul von Behren 371 8. new api.h from Mike 372-------------------------- April 19th 1998 version 2.3b ------------------- 373 1. Improve Tandem file I/O performance (Dave Smith) 374 2. New VM/CMS README.CMS and version_local() (Ian Gorman) 375 3. cygwin32 port from Cosmin Truta 376 4. Workaround for tasm32 5.0 bug in win32/crc_i386.asm (Cosmin Truta) 377 5. win32/match32.asm fixes for tasm 5.0 (Cosmin Truta) 378 6. simplify OS/390 port (Christian) 379 7. win32 timezone handling fixes (Christian) 380 8. fix 40-bit time conversion on the acorn (Sergio and Christian) 381 9. strip network part from UNC type filenames (Christian) 38210. Makefile for OpenMVS (Ian Gorman) 38311. Use the Watcom getch() for cygwin32 (Christian) 38412. Borland C++ 5.x added to win32's version_local() (Cosmin Truta) 38513. Borland C++ needs tzset() in win32 (Christian, Cosmin Truta) 386-------------------------- May 21st 1998 version 2.3c ------------------- 387 1. Better error messages for -i and -x (Christian) 388 2. Win32 stat() wrapper needs dos2unixtime (Christian,Paul,Mike) 389 3. DJGPP: use _chmod to handle LFN attributes correctly (Michael Mauch) 390 4. Fix Borlandc warnings (Mike) 391 5. win32/makefile.bor fixes from Michael Mauch 392 6. win32/makefile.{dj,emx} fixes from E-Yen Tan 393 7. Use izshr031 (Christian) 394 8. CMS: use RECFM=V LRECL=32760 by adding "byteseek" (Greg Hartwig) 395 9. Check external name for trailing "/" (Greg Hartwig) 39610. More specific info in CMS version_local() (Greg Hartwig) 39711. Changed usage info to refer to "fm" rather than "path" on CMS (Greg Hartwig) 39812. No more "extra data" messages when using the same OS (Greg Hartwig) 39913. Rewritten README.CMS, one version for ZIP and UNZIP (Greg Hartwig) 40014. DOS/OS2/WIN32/UNIX: ex2in() strips off "//host/share/" from UNC names (SPC) 401-------------------------- June 23rd 1998 version 2.3d ------------------- 402 1. Fixed Win32's stat() bandaid handling of time stamps (SPC) 403 2. General fix of file selections for DELETE and FRESHEN action (SPC) 404 3. CMS_MVS: Use ASCII coding for TIME extra field ID (SPC) 405 4. EBCDIC: Repaired bogus CMS_MVS fix in zipup.c; check the internal 406 name for trailing (ASCII) '/' to detect directory entries (SPC) 407 5. Use explicit ASCII coding when comparing or setting chars in iname (SPC) 408 6. Fixed win32/makefile.bor, win32/makefile.dj (support NTSD), 409 win32/makefile.emx (SPC) 410 7. Replaced win32/makefile.cyg by win32/makefile.gcc, containing new 411 support for mingw32 GCC environment (SPC) 412 8. Use izshr032 (SPC) 413 9. Modified zipup.c to hold (un)compressed lengths in "ulg" variables, in 414 an attempt to support handling of huge (>2GByte) files. (SPC) 41510. Removed some duplicate #defines from api.h, they are now in crypt.h (SPC) 41611. Reenabled "extra data size" info messages in noisy mode for all systems 417 except RISCOS and CMS_MVS (SPC) 41812. For EMX 0.9c, the runtime lib contains a working mktime(), use it (SPC) 41913. Miscellanous cosmetic changes (SPC) 42014. Move win32/makefile.emx to msdos (E-Yen Tan) 42115. make api.h work with zcrypt2.8 (Mike) 42216. define ydays differently in api.h to avoid linking problems (Mike) 42317. New windll.txt (Mike) 42418. win32 lcc patches (E-Yen Tan) 42519. win32 lcc makefile (E-Yen Tan) 42620. Multiple inclusion bug: no malloc.h when using lcc-win32 (E-Yen Tan) 42721. New VB support files for windll (Mike Le Voi, Raymond King) 42822. MacOS port by Dirk Haase 429-------------------------- August 1st 1998 version 2.3e ------------------- 430 1. Generalized check for validy of TZ timezone setup info, similar to 431 UnZip; use it on AMIGA and MSDOS, as before. (SPC) 432 2. Apply TZ validy check on OS/2 and enable creation of UT e.f. (SPC) 433 3. BEOS: New Makefile, updates for README and Contents (Chris Herborth) 434 4. beos/beos.c: declare some private functions as "local" (SPC) 435 5. Include memcompress() code only for ports that make use of it, controlled 436 by preprocessor symbol ZP_NEED_MEMCOMPR (SPC) 437 6. cmsmvs/README.CMS fix: Zip archive entries to be extracted into var-length 438 records CMS files should >>NOT<< contain binary data ... (SPC) 439 7. crc32.c, crctab.c: the crc polynom table is ZCONST (SPC) 440 8. trees.c: fixed a bug in the deflate algorithm that limited the compressed 441 size of an archive member to 512 MByte (SPC) 442 9. deflate.c: Integrated the changes found in zlib that are neccessary to make 443 the deflate algorithm deterministic; modified msdos/match.asm to take 444 care of the "nice_match" global no longer being constant. (SPC) 44510. deflate.c, trees.c, zipup.c: Reorganized and simplified deflate's 446 compressed output buffer handling. I/O and compression code are now 447 separated more cleanly. (SPC) 44811. Killed bits.c by moving its contents into trees.c resp. zipup.c; 449 synchronized all Makefiles and Make procedures with this change. (SPC) 45012. Integrated support for optionally replacement of deflate and crc32 by 451 public domain zlib code. (SPC) 45213. Synchronize the different variants (UNIX/GNU C, OS/2, WIN32) of i386 453 assembler replacement for deflate's longest_match() (SPC) 45414. Moved the EMX+rsxnt Makefile.emx from msdos/ back into win32/ (SPC) 45515. Restored a separate Makefile.emx for DOS; on DOS, some make programs may 456 have difficulties with recursive invokation (SPC) 45716. Fixed the "include header mess" of the new MACOS port and removed the 458 "work-around hacks" caused by these bad MACOS .h-file includes (SPC) 45917. Integrated Dirk Haase's beta4 (27-Jun-98) release of MacZIP (Dirk Haase) 46018. Added support for MS Quick C in the MSDOS version_local() report (SPC) 46119. Added WIN32 rsxnt targets linking against the emx crtl DLL to Makefile.emx 462 in os2/ and win32/ (SPC) 46320. Fixed typo in os2/os2.c wild() function. (Kai Uwe Rommel) 46421. Removed ChangeNameForFAT() from os2/os2.c in2ex() to fix problem with 465 long filename support. (Kai Uwe Rommel) 46622. os2/os2zip.[ch]: correct type of DOS-style timestamp data is "ulg" (SPC) 46723. vms/cmdline.c: Removed wrong ';' behind if condition (Johnny Lee) 46824. VMS: Preliminary preparations in C code for supporting GNU C on OpenVMS 469 Alpha (Onno van der Linden, Christian Spieler) 47025. VMS: Fixed check against adding zipfile to itself in fileio.c (SPC) 47126. WIN32: Added lcc-Win32 variants of i386 assembler code for crc32() and 472 longest_match(). (SPC) 47327. WIN32: Removed bogus type-cast in assignment to statb st_mode member (SPC) 47428. zip.c: Fixed MACOS-related typo that broke "-@" command option (SPC) 47529. zipup.c: Fixed messed-up expression for assignment to z->ver (SPC) 47630. MACOS extra fields: check realloc return values (Onno, Johnny Lee) 47731. Fix the PUTBYTE macro in trees.c: >= instead of < (Onno) 478-------------------------- September 6th 1998 version 2.3f ------------------- 479 1. Add zp_tz_is_valid to globals.c (Onno, Frank Donahoe) 480 2. Updated tandem files from Dave Smith 481 3. Windll: allow comments to zip archive with VB (Mike) 482 4. Windll: add support for -b and update the documentation (Mike) 483 5. win32: use wbS for FOPW to handle large zip files better (Steve Miller) 484 6. MVS fix: use fseek();clearerr() instead of rewind() (Onno, Lee Burton) 485 7. Updated VB examples for windll (Mike) 486 8. Tandem: use UTC timestamps and GID/UID in extra field (Dave Smith) 487 9. Tandem: handle -o option (Dave Smith) 48810. default for ZCONST is const in tailor.h, override in osdep.h (Onno) 48911. additional Macintosh options in zip.c (Dirk Haase) 49012. additional Macintosh options in zip.1 and MANUAL (Onno, Dirk Haase) 49113. Integrate Beta 5 of the Macintosh Port (Dirk Haase) 492-------------------------- October 27th 1998 version 2.3g ------------------- 493 1. zip_tz_is_valid should be zp_tz_is_valid (Kai Uwe) 494 2. MVS native (not OE) beta fixes (Keith Owens) 495 3. LynxOS support from Giuseppe Guerrini 496 4. MVS already has stat() and fstat() so use 'em (Keith Owens) 497 5. MVS fix in readzipfile() for new, unopened dataset without EOF marker 498 (Keith Owens) 499 6. Remove 16-bit stuff from windll/windll.rc (Mike) 500 7. Windll: Use hCurrentInst not hInst (Mike) 501 8. In util.c compare strchr() return value with NULL (Onno, Frank Donahoe) 502 9. unix/unix.c: initialize variable t in ex2in() (Onno, Frank Danahoe) 50310. Remove windll/borland subdirectory (Mike) 50411. Really fix extra field realloc() for BeOS and MacOS (Christian) 50512. Fix the dj2 LFN related access violation bug (Christian, Joe Forster) 50613. proginfo/3rdparty.bug: Added more info about other Zip clone's bugs. 50714. The global copyright definitions in revision.h now depend on DEFCPYRT 508 (Christian). 50915. tandem/macros: removed obsolete object file references (Christian) 51016. fix memory leak with the "filter" patterns (Christian, Leah Kramer) 51117. zip.c: completed the support for MacOS specific -N (Christian) 51218. reorganized the Mac specific help screen code (Christian) 51319. zipup.c: corrected the USE_ZLIB code to emit "stored" entries under 514 the same conditions as the "native deflate" code (Christian) 51520. A couple of vars that will never be negative should be unsigned (Christian) 516-------------------------- November 18th 1998 version 2.3h ------------------- 517 1. DJGPP: When compressing from stdin don't set binary mode if stdin is 518 a terminal (E-Yen Tan) 519 2. Fix signed/unsigned comparisons in fileio.c, util.c and zipcloak.c 520 (Frank Donahoe) 521 3. Move macgetch() prototype from macos/source/macos.c to macos/osdep.h 522 (Christian) 523 4. _doserrno should have type int, not unsigned int (Christian) 524 5. In zipfile.c init a file pointer with NULL to fix gcc warning (Christian) 525 6. Upgrade to MacOS beta 7 (Dirk Haase) 526 7. Move the #pragma statements from generic sources to cmsmvs.h (Christian) 527 8. Support for QNX/Neutrino 2.0 (Chris) 528 9. Default to -r in help screen add -R at the bottom (Chris) 52910. Clean up Makefile for BeOS R4 on x86 (Chris) 53011. Beos: If not storing symlinks store attributes of symlink target (Chris) 53112. Use izshr037 (Christian) 53213. Remove ZIPERR() macro from in {msdos,win32}/osdep.h (Christian) 53314. win32/win32.c: Fix 1-day offset in non-64bit FileTime2utime() (Christian) 53415. win32: enable 64-bit FileTime2utime() for MS VC++ >= 5.0 (Christian) 53516. cygwin32 only has _P_WAIT (Thomas Klausner) 53617. msname() should *really* ignore illegal characters (Thomas Klausner) 53718. Fix a missing ')' in Opendir() from win32zip.c (Thomas Klausner) 538-------------------------- December 5th 1998 version 2.3i ------------------- 539 1. Remove the #pragma statements that were forgotten the first time (Ian) 540 2. Remove obsolete macos/source/CharMap.h (Steve Salisbury) 541 3. isatty(fileno(zstdin)) in zipup.c should be isatty(zstdin) 542 (Onno, E-Yen Tan) 543 4. several "shut up warnings from compiler" fixes (Christian) 544 5. several cosmetic source changes (Christian) 545 6. win32: make NTSD handling to be robust against alignment and structure 546 padding problems (Christian) 547 7. Apply don't set binary mode when stdin is a terminal in zipup.c for 548 MSDOS and human68k (Christian) 549 8. Upgrade to MacOS beta 8 (Dirk Haase) 550 9. Add callback for WINDLL to handle user termination (Mike) 55110. Fix typo in acornzip.c (Darren Salt) 55211. acorn/sendbits.s: pass correct parameters to flush_outbuf() (Darren Salt) 55312. Fixes for IBM C/C++ 3.6 where time_t is a double (Kai Uwe) 55413. Fixes for IBM Visual Age C++ for win32 (Douglas Hendrix) 55514. man/zip.1: some version numbers in the text were still "2.2" (Christian) 55615. win32/makefile.emx: added a compilation variant that generates 557 standalone executables (Christian) 55816. change __CYGWIN32__ into __CYGWIN__ and add compatiblity definition for 559 B19 and older (Cosmin Truta) 56017. create uniform win32 getch() replacement (Christian) 56118. put back in define of USE_EF_UT_TIME in tandem.h (Dave Smith) 56219. put back in define of USE_CASE_MAP in tandem.h (Dave Smith) 56320. updates to make/macros to allow the object to be licensed (Dave Smith) 56421. updates to macros/doit to remove mktime.c (Dave Smith) 56522. updates to tandem.c for in2ex/mapname/chmod amendments to match Unzip 566 (Dave Smith) 56723. Use izshr039.zip (Christian) 56824. Init filenotes to 0 for the amiga too (Onno) 56925. get_filters(): remove one flag=0 statement to make -R work again (Onno) 570-------------------------- December 17th 1998 version 2.3j ------------------ 571 1. FOPWT defines opening a temp file for writing (Ian) 572 2. Remove handling of bits.c from a couple of tandem files (Christian) 573 3. A couple of "shut up warnings from compiler" fixes (Christian) 574 4. win32/osdep.h: removed duplicate "IZ_PACKED" definition (Christian) 575 5. win32/zipup.h: remove invalid "elseif" preprocessor token (Christian) 576 6. sync MacOS help screen with other ports (Christian) 577 7. get_filters(): set flag to 0 when -R isn't used (Christian) 578 8. "local extra != central extra" now has "info" status (Christian) 579 9. use windll directory as "home" directory for builds (Mike) 58010. CMS/MVS: define FOPWT (Ian) 58111. Upgrade to MacOS beta 9 (Dirk Haase) 582-------------------------- January 17th 1999 version 2.3k ------------------ 583 1. Change FOPW into FOPW_TMP (Christian) 584 2. win32: #include uses paths relative to the parent directory (Christian) 585 3. Use forward slashes as path separator in #include statements (Christian) 586 4. windll: fix descriptions of f{In,Ex}cludeDate (Christian) 587 5. win32/makefile.lcc: add some -I<path> options to find files in the 588 right places (Christian) 589 6. Supply default empty IZ_PACKED define (Christian) 590 7. windll: Fix some typos, descriptions (Christian) 591 8. windll project files: use relative paths, no specific root directory 592 (Christian) 593 9. windll project files: remove link references to import libraries that 594 are not used by the zip library (Christian) 59510. windll: fix potential infinite loop in a VB sample (Mike) 59611. windll/windll.txt: remove "may not work with VB" statement (Mike) 59712. Multibyte character set support from Yoshioka Tsuneo 59813. Theos port from Jean-Michel Dubois 59914. Tandem: added simple handling of Enscribe files by converting them into 600 text type files (Dave Smith) 60115. Tandem Extra Field ("TA") containing Tandem File Attributes (Dave Smith) 60216. Tandem history file showing background info to (UN)ZIP ports (Dave Smith) 60317. create ZIP file on tandem with special file code (1001) (Dave Smith) 60418. made tandem.c & tandem.h code completely the same as UNZIP (Dave Smith) 60519. unix/configure: move +Onolimit and -Olimit into the machine specific 606 section (Onno, John Wiersba) 607-------------------------- February 21st 1999 version 2.3l ------------------ 608 1. Fix qdos Makefile (Jonathan Hudson) 609 2. fgets instead of gets in zipnote to fix linker warnings (Jonathan Hudson) 610 3. Theos: remove _setargv.c and a reference in zip.c (Jean-Michel Dubois) 611 4. Theos README (Jean-Michel Dubois) 612 5. interchanged the fRecurse flag values for "-R" and "-r" (Christian) 613 6. add "z" pr prefix to MBCS functions to avoid name clashes (Christian) 614 7. Whenever the position of the increment operator does not matter, the 615 INCSTR variant is used, which has been mapped to the {PRE|POS}INCSTR 616 variant that is more efficient. (Christian) 617 8. fixed the "-R" handling in fileio.c, filter() function (Christian) 618 9. simplified some THEOS specific code additions (Christian) 61910. changed the line break of the compiler version message in version_local() 620 for MSDOS and Win32 to take into account some verbose compilers (Christian) 62111. removed the THEOS changes from ttyio.c. Instead, a THEOS specific 622 setup was added to ttyio.h (Christian) 62312. sync vms/link_zip.com with the corresponding make_zip.com (Christian) 62413. added compatibility settings for support of MBCS on Win32 with all tested 625 compilers to win32/osdep.h 62614. added type-casts to isalpha() macro calls (Christian) 62715. fixed win32's wild_match which was clobbered by the MBCS addition 628 (Christian) 62916. finished up the "potential infinite loop" problems in the VB sample 630 that Mike started to repair (Christian) 63117. in ziperr.h, AZTEK C might require the false comma that was removed 632 to satisfy THEOS C (Christian) 63318. removed the bogus THEOS specific isdir check in zipup.c (Christian) 63419. modified the code for line ending translation to be independent 635 of the local system's convention for '\n' and '\r'; this allowed 636 the removal of the THEOS specialities (Christian) 63720. Tandem: -B option to zip Enscribe files with no record delimiters 638 (Dave Smith) 63921. Tandem: attempt to catch Large Transfer mode failure (Dave Smith) 64022. Theos: Fixed keyboard entry functions. (Jean-Michel Dubois) 64123. Theos: workaround for the argument wild card expansion that is bugged 642 in the standard library. Managed by MAINWA_BUG flag. (Jean-Michel Dubois) 64324. Theos: support for filenames and notes with accented characters. 644 (Jean-Michel Dubois) 64525. Upgrade to MacOS final (Dirk Haase) 646-------------------------- March 31st 1999 version 2.3m ------------------- 647 1. Theos: for relative paths to root directory cause open, fopen and stat 648 failure, workaround this. (Jean-Michel Dubois) 649 2. Theos: when no path is indicated in a file or directory name and the 650 file or directory doesn't exist in the current directory it looks for 651 the file or directory in the root directory, workaround this. 652 (Jean-Michel Dubois) 653 3. Corrected some typos and spelling error in macos/HISTORY.TXT; skipped 654 off invisible trailing whitespace (Christian) 655 4. proginfo/extra.fld: added documentation for Tandem and Theos extra 656 field layout (Christian with Dave D Smith resp. Jean-Michel Dubois) 657 5. qdos/Makefile.qdos: The build of ZipCloak requires inclusion of 658 the crctab object module; qfileio_.o compilation requires the -DUTIL 659 flag (Christian) 660 6. win32: fix incorrect MB_CUR_MAX macro for mingw32 and lcc (Christian) 661 7. theos/_fprintf.c, theos/_rename.c, theos/osdep.h: Some function 662 parameters require the "const" attribute to achieve compatibility 663 with ANSI C requirements (Christian) 664 8. theos/theos.c: map Theos' (No)Hidden file attribute to MSDOS Hidden 665 bit in the MSDOS part of zipentry header's external attribute field; 666 9. theos/stat.h: prevent multiple inclusions 66710. Theos: Fixed wild card management for options other than adding 668 (Jean-Michel Dubois) 66911. Theos: Removed modifications of const strings (Jean-Michel Dubois) 67012. Split tandem.c up into separate zip/unzip parts (Dave Smith, Christian) 67113. Move inclusion of OS specific zipup.h files to tailor.h (Onno) 672-------------------------- August 14th 1999 version 2.3n ------------------- 673 1. Move inclusion of OS specific zipup.h files back to zipup.c (Onno) 674 2. Remove getline() from zipnote.c and use gets() again (Onno) 675 3. BeOS PowerPC R4.1 support (Chris) 676 4. New DOIT and MACROS files for the tandem port (Dave Smith) 677 5. Don't switch the console to binary mode (Michel de Ruiter) 678 6. In some circumstances undosm could be freed twice (Mike) 679 7. Also define const in tailor.h for ultrix (Onno, Foppa Uberti Massimo) 680 8. Tandem: Change zopen in TANZIPC to allow opening of files with missing 681 alt keys (err 4) (Dave Smith) 682 9. Tandem: Assume not DST if can't resolve time (no DST table available) 683 (Dave Smith) 68410. WIN32: skip trailing dots and spaces in getnam (Onno, Dan Kegel) 68511. Use ZE_NONE when nothing to freshen or update (Onno, Yuri Sidorenko) 68612. Remove tabs from files that don't need them (Onno) 68713. Remove tabs and spaces from the end of a text line (Onno) 68814. Upgrade macos to 1.04b2 (Dirk) 68915. Add -Q documentation to manual page (Jonathan Hudson) 69016. Copy hiperspace files instead of renaming them (Keith Owens) 69117. Disallow some more characters to appear in DOS filenames when using -k 692 (Onno, Thomas Klausner) 69318. Document missing options and environment variables in the manual (Onno) 69419. New acorn/GMakefile to compile with gcc on RISCOS (Darren Salt) 69520. ISO 8601 date format support for -t and -tt (Rodney Brown) 696-------------------------- September 21st 1999 version 2.3o ------------------- 697 1. Sync zip.h license with LICENSE (Onno) 698 2. Add copyright notice to README, os2zip.c and os2.zip.h (Onno, Greg) 699 3. Fix the ASM variable in acorn/GMakefile (Darren Salt) 700 4. Add another requirement to acorn/ReadMe.GMakefile (Darren Salt) 701 5. Fix unbalanced parenthesis in vms_get_attributes declaration in zip.h 702 and move it to vms/zipup.h (Onno, Mike Freeman) 703 6. Make a couple of os2 files public domain (Kai Uwe) 704 7. Change and rename disclaimer array in revision.h (Onno) 705 8. Change copyright array in revision.h (Onno) 706 9. macstuff.c copyright is the same as macstuff.h (Christian) 70710. WHATSNEW: add ISO 8601 dates supported (Christian) 70811. fileio.c - msname(): strip off leading dots, these are illegal for 709 MSDOS compatible names (Christian) 71013. fileio.c - replace(): deactivate "dead" code for CMS_MVS (Christian) 71114. man/zip.1: "-$" option is also used for WIN32 ports 71215. msdos/msdos.c - version_local(): break the version line for 713 GNU compilers too (Christian) 71416. tailor.h: added typecasts to MBCS macros, to suppress "type mismatch" 715 warnings (Christian) 71617. util.c, zip.h, zipfile.c: ZCONSTify several pointers (Christian) 71718. util.c - recmatch(), zip.c - version_info(): add compile time option 718 WILD_STOP_AT_DIR (Christian, Darren Salt) 71919. util.c - envargs(): MBCS related fixes (Christian) 72020. win32/lm32_lcc.asm: add TAB characters that are required by the lcc 721 assembler source parser (Christian) 72221. zip.c: fix the "is a console" check (Christian) 72322. zipnote.c: use getline() (Christian) 72423. zipup.c: use zclose() in case of I/O errors (Christian) 72524. zipup.c: use ZE_WRITE when a write error occurs (Christian) 72625. win32/win32.c: HAVE_INT64 is used by mingw32 (Cosmin Truta) 72726. update shared sources to match izshr041 (Christian) 728-------------------------- November 29th 1999 version 2.3 ------------------ 729 1. Missing parenthesis in win32/win32.c (Steve Salisbury) 730 2. Add Cosmin Truta to proginfo/infozip.who (Onno) 731 3. Remove one parenthesis pair too many from vms_get_attributes() declaration 732 in vms/zipup.h (Mike Freeman) 733 4. qdos .s are expected to start with a #, work around it (Jonathan Hudson) 734 5. tandem: -B0 should be deflating not storing (Dave Smith) 735 6. human68k updates from Shimazaki Ryo 736 7. beos Makefile cleanup (Chris) 737 8. workaround for fseek to negativate offset behaviour of the RISC OS 738 SharedCLibrary (Darren Salt) 739 9. set file type for RISC OS in zipcloak.c (Darren Salt) 74010. change tandem zgetch() to allow crypt version to work (Dave Smith) 74111. fix a comment typo in acorn/riscos.c (Christian) 74212. fileio.c: two type-cast to shut up noisy compilers (Christian) 74313. human68k: fix missing case_flag argmument (Christian) 74414. win32/win32.c: remove HAVE_INT64 completely (Christian) 74515. zip.c: raise "cannot zip to console" error when stdout IS a tty (Christian) 74616. zip.h: don't use dummy argument names in declarations (Christian) 74717. Add missing semicolon in fileio.c (Shimazaki Ryo) 74818. win32.c: IBMC compiler >= 3.50 have int64 (Kai Uwe) 74919. Handle initialization error return value from MVS stat() in procname() 750 (Keith Owens) 75120. Use RISC OS instead of RiscOS in the manual (Darren Salt) 75221. Use # instead of ? as single character wildcard on RISC OS (Darren Salt) 75322. New windll example.c (Mike) 75423. Correct storage of 8-bit char filenames with RSXNT (Burkhard Hirzinger) 75524. fix install in unix/Makefile (Santiago Vila, Onno) 75625. Fix zip -L output (Santiago Vila, Onno) 75726. Ignore unix special files (Jonathan O'Brien) 75827. Upgrade to izshr042 (Onno) 75928. Make copyright notice the same as in izshr042 (Onno) 76029. Make copyright notice in zip.h the same as LICENSE (Christian) 76130. Set tempzf to NULL _after_ it has been closed (Chris Kacher) 76231. Change email address for Jonathan Hudson (Jonathan Hudson) 76332. Remove win32/winzip.c.orig (Steve Salisbury) 76433. Use 'Steve Salisbury' throughout the documentation (Steve Salisbury) 76534. Change email address for Steve Salisbury (Steve Salisbury) 76635. Change email address for Chris Herborth (Chris Herborth) 76736. Use zip23 in INSTALL (Roger Cornelius) 76837. Use zcrypt28 in INSTALL (Onno) 76938. New acorn/srcrename (Darren Salt) 77039. amiga/makefile.azt: make clean should remove some more items (Paul) 77140. Change email address for Cosmin Truta (Cosmin Truta) 772-------------------------- February 11th 2001 version 2.4a ------------------ 773 1. Identify newer Borland compilers (Brad Clarke) 774 2. Detect Turbo C 2.01 which doesn't have mktime (Brian Lindholm) 775 3. Fix the use of -@ together with -i -x (Christian) 776 4. Update msdos/README.DOS to match reality (Christian) 777 5. win32: use assembler crc32 code (Christian) 778 6. windll: _CRTIMP is needed in several function declarations (Christian) 779 7. back to zip 2.2 memcompress() behaviour (Kelly Anderson) 780 8. new amiga time code based on nih public domain code (Paul Kienitz) 781 9. Detect some more Borland C++ builder versions (Brad Clarke) 78210. Fix OS/2's extended file attributes compression code (Christian, Kai Uwe) 78311. Correct translation of EBCDIC passwords to ASCII (Christian) 78412. Attempt at integrating novell patches from Roger Foss (Onno) 78513. Use izshr043 (Christian) 786-------------------------- July 3rd 2001 version 2.4b ------------------ 787 1. Fix OS/2's ACL compression code (Christian, Kai Uwe) 788 2. Rename netware subdir to novell (Christian) 789 3. Remove -dNETWARE -dDOS from novell Makefile (Christian) 790 4. Remove defined(NETWARE) from the sources (Christian) 791 5. printf is a macro in glibc 2.2, fix version_local function 792 (Christian, Matthew Wilcox) 793-------------------------- January 13th 2002 version 2.4c ------------------ 794 1. Use klist_items when initilizating koff[] in tandem.c (Dave Smith) 795 2. Only call NLMsignals() in zip.c when NLM is defined (Mike, Onno) 796 3. include riscos.h instead of acorn/riscos.h in acorn/osdep.h (Andy Wingate) 797 4. Use izshr044 (Christian) 798-------------------------- January 13th 2002 version 2.4d ------------------ 799 1. Don't use mmap for stored entries (Christian) 800 2. BIG_MEM and MMAP cannot be defined at the same time (Christian) 801 3. Allow redirection of version screen to file (Christian) 802 4. Fix for OS/2 output redirection bug (Christian, Kai Uwe) 803 5. Acorn script for creating self extracting zips (Darren Salt) 804 6. Update amiga makefiles to support revised timezone routines (Christian) 805 7. Correct memcompress calculation for allocation size (Christian) 806 8. Fix FORCE_METHOD debug option for level 1 and 2 (Christian) 807 9. Whitespace cleanup in man/zip.1 (Christian) 80810. Define IZ_IMP to specify compiler declaration prefixes (Christian) 80911. make win32 and msdos version_local() "stdio-macro-safe" (Christian) 81012. move tandem's zip specific zipopen to tanzip.c (Christian) 81113. first parm is void * in external scope of vms_get_attributes() (Christian) 81214. use right novell subdirectory in zipup.c (Christian) 81315. update copyright for files modified in 2002 (Onno) 814-------------------------- January 19th 2002 version 2.4e ------------------ 815 1. Add MacOS X to version_local() (Mark) 816 2. unix/configure: Init LFLAGS1 to "", MacOS X doesn't like -s (Onno, Mark) 817 3. rename errors array to ziperrors to avoid MacOS X library clash (Mark) 818 4. Support for the upx executable packer in DOS makefiles (Christian) 819 5. remove obsolete -m486 switch from dos djgpp makefile (Christian) 820 6. When using DOS, force the use of msdos style external attributes when 821 updating zip entries created under another OS (Christian) 822 7. os2/makefile.os2: fixed ASFLAGS for watcom16dos (Christian) 823 8. Update copyright and ftp address in several files (Christian) 824 9. The RISCOS port uses '.' as directory separator, not '/' (Christian) 82510. win32/makefile.bor: more options to compile the asm CRC code (Christian) 82611. win32: use registry to handle timezones with MS C rtl (Christian) 82712. acorn: use recommended practice for calling the linker (Andy Wingate) 82813. unix/configure: check if CPP works else use ${CC} -E (Onno, Mark) 82914. update versioninfolines in revision.h to match reality (Onno) 830-------------------------- February 10th 2002 version 2.4f ------------------ 831 1. vms: Zip -V is now able to handle file sizes up to 4Gb (Christian) 832 2. vms: Include target environment detection for MMS/MMK (Christian) 833 3. Change dummy message from zipcloak (Christian) 834 4. acorn: add riscos specific -/ option (Darren) 835 5. Update acorn's WILD_STOP_AT_DIR feature (Christian) 836 6. acorn: Fix buffer allocation for -/ option (Christian, Darren) 837 7. acorn: fix make clean (Andy Wingate) 838 8. acorn: use tabs for GMakefile to make GNU make happy (Andy Wingate) 839 9. tandem: use nskopen not zipopen (Dave Smith) 84010. tandem: allow passing of CRYPT define (Dave Smith) 84111. use izshr045 (Christian) 842-------------------------- April 1st 2002 version 2.4g ------------------ 843 1. acorn: fix assembler and compiler options in makefile (Darren) 844 2. use izshr046 (Christian) 845 3. MVS: define isatty to 1 to fix screen output (Christian) 846 4. tandem: encryption really works now (Dave Smith) 847 5. win32: detect Borland C++ builder 6 (Brad Clarke) 848-------------------------- April 30th 2003 version 2.4h ------------------ 849 1. tandem: fix temporary file contention (Dave Smith) 850 2. cmsmvs: generate better filenames with -j (Owen Leibman) 851 3. tandem: fix temporary file leftovers (Dave Smith) 852 4. solaris: enable large file I/O to break 2G barrier (Rick Moakley, Onno) 853 854Note: Zip 2.4 was never released. That code was the start of the Zip 3.0 855effort below. Some changes and fixes also made it to the Zip 2.3x releases. 856 857---------------------- January 21st 2004 version 3.0a ---------------------- 858Initial work on Zip 3.0 by Ed Gordon and Rainer Nausedat 859 1. Changed some comments to update copyrights (Ed) 860 2. Changed text in command line messages from zip 2.4 to zip 3.0 (Ed) 861 3. Changes to many files for Zip64 wrapped in ifdef ZIP64_SUPPORT (Rainer) 862 4. Attempt to fix buggy Win32 buffered 64-bit calls (Ed) 863 5. Add functions to zipfile.c for Little-Endian memory writes (Rainer) 864 6. Add functions to zipfile.c for writing Zip64 extra fields (Rainer) 865 7. Major changes to putlocal, putcentral, and putend (Rainer) 866 8. Fixing -F and -FF for Zip64 postponed (Ed and Rainer) 867 9. Command line code replaced. Global table sets options, long options now 868 supported. Permutes so order of arguments can vary (Ed) 86910. Fix bug where not allowed to use -@ with stdout but was with stdin. 870 Now can read filenames from stdin using -@ and output to stdout and 871 no longer am allowed to use -@ if reading from stdin (Ed) 87211. Replace stat() with zstat(), fstat() with zfstat() and struct 873 stat with z_stat in Zip64 blocks. Put 64-bit file calls in ifdef 874 LARGE_FILE_SUPPORT blocks. Can implement Zip64 without > 4 GB 875 file support but for now need large files for Zip64 support (Ed) 87612. Move port-specific code to osdep.h and win32.c (port specific) and 877 tailor.h (generic) and remove temporary os_io.c. As OF() is 878 not defined until after osdep.h includes in tailor.h function 879 prototypes for zfseeko, zftello, and zstat after that in tailor.h (Ed) 88013. Settings of ZIP64_SUPPORT and LARGE_FILE_SUPPORT automatic based on 881 port and version of compiler. Defining NO_ZIP64_SUPPORT or 882 NO_LARGE_FILE_SUPPORT overrides this (Ed) 88314. Bugs compiling scanzipf_fix(...) in zipfile.c and the fix functions could 884 use rewrite (Rainer and Ed) 88515. Add prototype for zfopen for mapping to 64-bit fopen on ports using 886 inodes but not implemented (Ed) 88716. More work on extended local headers and encypted archives (Rainer) 88817. Fix DLL files so now compiles (Ed) 88918. File size in dll limited to 32-bit in structure. A new DLL api is needed 890 to return 64-bit file sizes. Current api fixed to return max 32-bit if 891 more than that (Ed) 89219. Add local header Zip64 support and local extra field. Fixed cast 893 to ulg missed previously that forced zstat to return value mod 4 GB in 894 zipup.c which kept local header code from seeing actual file size (Ed) 89520. Add new option --force-zip64 to force use of zip64 fields. Could 896 be temporary (Ed) 89721. Fix for VB added to api.c that just store the passed strings internally. 898 Should update api to optionally return file sizes as 64-bit in call back 899 and to accept RootDir and other strings in same call that zips (Ed) 90022. Readme updated to describe new features and mention updated mail group 901 web links (Ed) 90223. Minor bugs in output format found and fixed. Now can add 903 files > 4 GB to archive and unzip using major unzippers (Ed) 90424. If zip used as filter (zip - -) and sizes exceed limits of extended 905 local header (data descriptor) then set max 32-bit values there. Major 906 unzippers ignore and use central directory values which are correct. Can 907 create Zip64 data descriptor using --force-zip64 option but seems no need 908 for it (Ed) 90925. A few bugs in how headers are handled prevented zipping large numbers 910 of files. Fixed (Rainer) 91126. A bit of an attempt to fix -F and -FF. Seems to work but not that 912 robust. More work needed (Ed) 91327. After some cast and other fixes zip compiles on Linux Red Hat 9 using Unix 914 generic. Added automatic detection of fseeko64 and if detected 915 sets LARGE_FILE_SUPPORT and setting that sets ZIP64_SUPPORT. Works but 916 could not test large files on the small system (Ed) 91728. Tried to fix bug that prevents zipnotes from compiling when ZIP64_SUPPORT 918 is set. Still broke. This crashes the Unix Makefile but after 919 zip is compiled (Ed) 920---------------------- May 8th 2004 version 3.0b ---------------------- 921 1. Update license headers on more files (Ed) 922 2. Change many ZIP64_SUPPORT ifdefs to LARGE_FILE_SUPPORT where appropriate. 923 Now can test ports using three stages, compile with NO_LARGE_FILE_SUPPORT 924 (which disables ZIP64_SUPPORT) to test base code, compile with 925 NO_ZIP64_SUPPORT to test the 64-bit file calls (assuming port sets 926 LARGE_FILE_SUPPORT) but otherwise use the base code, and without either 927 to test Zip64 if enabled on port (Ed) 928 3. Fix zipnotes bug by moving a ZIP64_SUPPORT block in zipfile.c (Ed) 929 4. Add Large File Summit (LFS) code to Unix port to enable 64-bit calls. 930 Update configure to include test for all needed 64-bit file calls before 931 enabling LARGE_FILE_SUPPORT for unix port (Ed) 932 5. Merge encryption code from zcrypt29 (files from unzip) into zip and 933 enable by default (Ed) 934 6. New man pages for zipnote, zipsplit, and zipcloak (Greg, Ed) 935 7. Add encryption notice to crypt.c comments and to version information 936 in zip.c (Greg, Ed) 937 8. Add Russian OEM EBCDIC support when OEM_RUSS defined in ebcdic.h but 938 Dmitri reports that 0x2F not '/' so make recommended change in cutpath 939 call in zipfile.c used by -D option (Dmitri - Nov 10 2003 email) 940 9. ToDo30 file added to list what's left to do in this release (Ed) 94110. Change fopen to zfopen for large file code and map to fopen64 for 942 Unix (Ed) 94311. ftello64 seems broken in zipup.c on Linux (kernel 2.4), returning 944 negatives past the 2 GB barrier, though ftello64 works in a test program. 945 Likely error in defines. For now skip ftello64 check for Unix with 946 LARGE_FILE_SUPPORT. 94712. A few updates in Readme. Needs overhaul likely. Also verified mxserver 948 is gone and replaced with list addresses (Ed) 94913. First iterations at updating WinDLL for Zip64 (Mike) 95014. Decide to drop backward dll compatibility in favor of a cleaner 951 dll interface. Decide to add string interfaces for VB (Ed, Mike) 95215. Add string interfaces to dll interface to bypass array limitations 953 imposed by VB and add -x and -i to interface (Mike) 95416. Create new VB example using new Zip64 dll interface (Ed) 95517. Add O_LARGEFILE define for zopen in unix/zipup.h to enable reading 956 large files in unix (Ed) 95718. Combine ZpSetOptions and ZpArchive dll calls to allow removing all VB kluges 958 in api.c to work around VB garbage collecting passed strings (Mike) 95919. Change new VBz64 example to use updated interface. All works without 960 kluges (Ed) 961---------------------- August 15th 2004 version 3.0c ---------------------- 962 1. Add date formats in -t and -tt date errors (Ed) 963 2. Add -so to display all available options (Ed) 964 3. Many fixes from Dan Nelson to fix some large file support problems and 965 add large file support to a few ports. Main change is rather than use 966 explicit 64-bit calls like fopen64 now set 64-bit environment and use 967 standard calls. Also add a define for 64-bit printf format used to 968 print 64-bit stats (Dan, Ed) 969 4. Changes to Unix config based on suggestions from Dan Nelson. Check 970 if off_t is at least 64 bit (Dan, Ed) 971 5. Add -- to get_option. Any arguments after -- on command line now 972 read as paths and not options (Ed) 973 6. Add extended help (Ed) 974 7. Change add_filter flag parameter from char to int as some compilers have 975 problems with char arguments (Ed) 976 8. Changed filter() to do R and i separately so i has precedence over R (Ed) 977 9. Split variable t in zip.c into t (off_t) and tf (ulg) (Ed) 97810. Add quotes to zipname in check_zipfile for MSDOS to allow spaces in 979 archive path given to unzip to test ( , Ed) 98011. Move zip.h include before ctype.h include in trees.c and zipup.c as 981 when ctype.h is first and using 64-bit environment at least on unix port 982 found it defines off_t as 4 bytes in those files as off_t is defined as 983 8 bytes in other files and this changes the size of the zlist structure 984 which is not good (Ed) 98512. Add default 64-bit file environment to tailor.h if LARGE_FILE_SUPPORT 986 is set but no port 64-bit file defines are set up earlier in the file. 987 Should allow other ports to set LARGE_FILE_SUPPORT on the compiler 988 command line to test if the standard defines work (Ed) 98913. Adjust binary detection in trees.c by changing 20% binary (4 out of 5 990 ascii) that used >> 2 to 2% (64 out of 65) using >> 6 instead. 991 trees.c (Ed) 992---------------------- November 12th 2004 version 3.0d ---------------------- 993 1. Add global variable for EncryptionPassword in VBz64 example and 994 some other password callback cleanup (Ed) 995 2. Add -W option to turn on WILD_STOP_AT_DIR where wildcards will not 996 include directory boundaries in matches (Ed) 997 3. Add -nw option "no wild" to completely disable wildcards in MATCH 998 function. Allows a list of files to be read in without worrying about 999 wildcards or escapes (Ed) 1000 4. Add -s option split-size but not implemented (Ed) 1001 5. Add -sp option split-pause but not implemented (Ed) 1002 6. Add changes for WiZ including moving Win32 64-bit wrappers into 1003 win32i64.c to avoid naming conflict between libraries in WiZ (Mike, Ed) 1004 7. Some large file fixes in crypt.c (Ed) 1005 8. Add new error code ZE_UNSUP for unsupported compiler options. Add 1006 check of size of zoff_t in zip.c when LARGE_FILE_SUPPORT enabled (Ed) 1007 9. Changed ZE_UNSUP to ZE_COMPERR to avoid conflict with unzip (Ed) 100810. On VMS (sufficiently recent, non-VAX), DECC$ARGV_PARSE_STYLE is set 1009 automatically to preserve case of the command line if the user has 1010 SET PROCESS /PARSE = EXTEND. This obviates quoting upper-case 1011 options, like -V, when enabled. VMS.C (Steven Schweda (SMS)) 101211. On VMS, building with macro VMS_PRESERVE_CASE defined preserves case 1013 of names in archive, instead of forcing lower-case (the former and 1014 current default behavior). VMSZIP.C (SMS) 101512. On VMS, in some of the simplest cases, ODS5 extended file name 1016 escape characters ("^") are removed from names in archive. 1017 VMSZIP.C (SMS) 101813. On VMS, fixed a problem in some cases with mixed-case directory 1019 names, where too much of the directory hierarchy was included in the 1020 path names in the archive. VMSZIP.C (SMS) 102114. On VMS, minor changes for large file support (long -> zoff_t). 1022 VMSZIP.C (SMS) 102315. On VMS, changed some structure declarations to typedefs, and 1024 rearranged to simplify #if's and reduce potential name conflicts. 1025 VMS.H, VMS_IM.C, VMS_PK.C (SMS) 102616. On VMS, reformed -V (/VMS) processing. Added -VV (/VMS=ALL). 1027 Removed some sign bits to accomodate files bigger than 2GB. 1028 CMDLINE.C, VMS_IM.C, VMS_PK.C, ZIP.C, ZIP_CLI.CLD, ZIP_CLI.HELP, 1029 ZIPUP.H (SMS) 103017. Update command line options to support -VV as distinct option (Ed) 103118. More VMS changes (SMS) 103219. Add zoff_t format function (SMS) 103320. On VMS, when -b was not used, temporary archive files were always 1034 created in the current default directory, rather than in the archive 1035 file destination directory. VMS now uses its own tempname() 1036 function. FILEIO.C, VMS.C (SMS) 103721. Remove using FNMAX for path size in a few places including filetime.c 1038 to avoid exceeding limit (based on fixes from Greg and others) (Ed) 103922. Add port atheos (Ruslan Nickolaev, Ed) 104023. Bug fix adds different extra fields for local and central in VMS (SMS) 104124. Now short options also take optional values as next argument (Ed) 104225. Change -dd to control -v dots (SMS, Ed) 104326. On VMS, a new open callback function senses (where supported) the 1044 process RMS_DEFAULT values for file extend quantity (deq), 1045 multi-block count (mbc), and multi-buffer count (mbf), and sets the 1046 FAB/RAB parameters accordingly. The default deq is now much larger 1047 than before (16384, was none), and the default mbc is now 127 1048 (up from 64), speeding creation of a large archive file. Explicitly 1049 set RMS_DEFAULT values override built-in defaults. OSDEP.H, VMS.C 1050 (SMS) 105127. VMS CLI definitions and CLI help have been updated, and may be 1052 approximately correct. CMDLINE.C, ZIP_CLI.CLD, ZIP_CLI.HELP (SMS) 105328. The man file zip.1 updated and Makefile updated to generate manual 1054 pages for zipcloak.1, zipnote.1, and zipsplit.1 (Ed) 1055---------------------- July 23rd 2005 version 3.0e ---------------------- 1056 1. Debian patch 004 - apply 2.4i configure changes from Onno to remove 1057 need for -fno-builtin in unix/configure (Onno, Ed) 1058 2. Debian patch 005 for bug 279867 - fix bug that could crash on large paths 1059 and create security problem. Apply patch changes from Greg (Greg, Ed) 1060 3. SourceForge patch 1074363 - add win32i64.c to win32/makefile.w32 (Ed) 1061 4. Add check when not ZIP64_SUPPORT in scanzipf_reg() in zipfile.c if 1062 Zip64 archive being read (Ed) 1063 5. Renamed fzofft() used to format zoff_t values to zip_fzofft() to remove 1064 conflict when combined with UnZip in WiZ (Mike) 1065 6. Add check in scanzipf_reg() in zipfile.c if Zip64 archive being read (Ed) 1066 7. Fixes for amiga/makefile.azt to define directory for object files (Paul) 1067 8. Define prototypes for local functions optionerr, get_shortopt and 1068 get_longopt in fileio.c. Define err argument of optionerr as ZCONST (Paul) 1069 9. Add help_extended and DisplayRunningStats prototypes, fix other prototypes 1070 in zip.c (Paul) 107110. Split int kk off of k for argument types (Paul) 107211. Aztec #endif quirk fix in zip.c for Amiga (Paul) 107312. Add detection of binary in first buffer read from file in zipup.c to avoid 1074 a -l or -ll translation on binary file. Not perfect but at least should 1075 catch some binary files (Ed) 107613. Remove check for >= 128 from binary check in zipup.c as <= 6 enough for 1077 signed char (SMS, Ed) 107814. SF Bug 1074368 - check for empty zip file in readzipfile() in zipfile.c 1079 (Christian d'Heureuse, Ed) 108015. Add error exit to prevent archive corruption when updating a large-file 1081 archive with a small-file program. Add ZE_ZIP64 error. 1082 ziperr.h, zipfile.c (SMS) 108316. Change percent() in zipup.c to do rounding better, handle cases near limits 1084 while rounding, and allow negative percent returns (SMS, Ed) 108517. Add function ffile_size() in zipfile.c but in #if 0 block until determine 1086 if works on all ports under all conditions. Currently only used for size 1087 check for Zip64 archive detection if compiled without ZIP64_SUPPORT and 1088 this check may already be handled in scanzipf_reg() and should be added to 1089 scanzipf_fix() when that is updated (SMS, Ed) 109018. Change >>1 to /2 in zipsplit.c to allow for negative percent returns (SMS) 109119. Add type uzoff_t for unsigned zoff_t things. Should clean up some casting 1092 (Ed) 109320. Based on discussions with other development groups, when data descriptors 1094 (extended local headers) are used, force to Zip64. This is compatible 1095 with other unzips and does not require a change of the AppNote, but the 1096 resulting archive requires Zip64 to read. Using standard data descriptors 1097 would mean that the zip operation would fail if a Zip64 entry was 1098 encountered. See zipfile.c (Ed) 109921. Add define SPLIT_SUPPORT to enable splits. The command line options are 1100 done and the globals are set up but nothing more. globals.c, zip.h, and 1101 zip.c mainly (Ed) 110222. Create spanning signature at beginning of archive when splitting enabled. 1103 If reading a split archive skip the spanning signature unless creating a 1104 split archive. zip.c, globals.c (Ed) 110523. Start implementing split archives. Define two methods. split_method = 1 1106 updates local headers and is the most compatible but requires updating 1107 previous splits. split_method = 2 uses data descriptors and should work 1108 for streams and removable media but may not be as compatible with other 1109 zip applications. (In part based on previous discussions with Rainer.) 1110 Updated global variables to include bytes written to just the current 1111 entry in the current split. zipfile.c (Ed) 111224. Add note about output redirection to zip.1 (?, Ed) 111325. Remove num < 0 check as num now unsigned. util.c (SMS, Ed) 111426. Change lastchar to lastchr in fileio.c in places to avoid function by same 1115 name (SMS, Ed) 111627. Moved #endif /* !WINDLL */ in zip.c (Mike) 111728. Account for vms directory version being ;1. vmszip.c (SMS) 111829. Fix Zip64 check in scanzipf_reg to use the buffer. zipfile.c (Ed) 111930. Default define size_t (for use by Steve's ffile_size() function). tailor.h (Ed) 112031. Enable Steve's ffile_size() function and enable large file check. It 1121 currently does not allow file sizes over 2 GB but the code is not supporting 1122 it anyway without large file support. Should remove that part of the check 1123 when the casts are fixed. zipfile.c (Ed) 112432. Fixes for djgpp. Now compiles with djgpp 2 (Ed) 112533. Add new VC6 projects for win32 and windll (Cosmin) 112634. Convert some variables in zipsplit.c from ulg to zoff_t so compiles (Ed) 112735. Add wildcards to extended help. zip.c (Ed) 112836. For optional option value now '-' is same as missing value. fileio.c (Ed) 112937. Remove extra free() from -dd option switch. zip.c (Ed) 113038. Change write_unsigned_to_mem() to write_ulong_to_mem() and write_short_to_mem() 1131 to write_ushort_to_mem(). zipfile.c (Ed) 113239. Create new append to mem functions. zipfile.c (Ed) 113340. Change zlist nam and ext from extent to ushort as that is what gets written. 1134 zipfile.c (Ed) 113541. Change GetSD to use ush instead of size_t. win32/win32zip.c (Ed) 113642. Change PutLocal(), PutExtended(), PutCentral(), and PutEnd() to write to 1137 memory and then write the block at once to the file. zipfile.c (Ed) 113843. Change zcomlen from extent to ush, other extent conversions. zipfile.c, 1139 globals.c, zip.h (Ed) 114044. Add is_seekable() and global output_is_seekable. Do seekable check 1141 when output file is opened. zipup.c, globals.c, zip.h, zip.c (Ed) 114245. Do not increment files_so_far and bytes_so_far if file could not be read. 1143 zip.c (Ed) 114446. If force_zip64 set, only force compressed size in central directory to Zip64 1145 instead of all entries (csize, usize, off, disk) in Zip64 extra field. This 1146 fixes inconsistent handling of disk numbers. zipfile.c (Ed) 114747. Add end status if displaying running stats and not all files were read. 1148 zip.c (Ed) 114948. Change force_zip64 to zip64_archive in putend(). zipfile.c (Ed) 115049. Enable the i686-optimized code by default. crc_i386.S, 1151 win32/crc_i386.asm, win32/crc_i386.c (Cosmin) 115250. Document and implement a new text detection scheme provided by Cosmin in 1153 set_file_type(). Should be able to handle UTF-8 and some other character sets. 1154 proginfo/txtvsbin.txt, trees.c (Cosmin, Johnny, Christian) 115551. Update binary detection for -l and -ll to use Cosmin black list. zipup.c (Ed) 115652. Change ZE_BIG to include read and write. ziperr.h (Ed) 115753. If archive not seekable then use data descriptors. If ZIP64_SUPPORT always 1158 create Zip64 data descriptors and add a Zip64 extra field to flag it is 1159 a Zip64 data descriptor. This is klugy but should be compatible with other 1160 unzips. See the note in zipfile.c for details. (Ed) 116154. Use ush for comment length in putend(). Instead of extent use ush for 1162 zcount and fcount same as in zip file. zip.h (Ed) 116355. Update VB readme. windll/VB/readmeVB.txt (Ed) 116456. Change (INSTALL) to (INSTALL_PROGRAM). unix/Makefile (, Ed) 116557. During update the file and byte status counts were off. Fixed by not coun- 1166 ting files copied from old to new as those are not in totals. zip.c (Ed) 116758. Change from -b to -bx for nroff of manuals to text files. unix/Makefile (Ed) 116859. Add cygwin to makefile. unix/Makefile (, Ed) 116960. Fix bug where files to delete not added to list. zip.c (Ed) 117061. Fix delete stats. zip.c (Ed) 117162. Increment version of crypt to 2.10. Update default behavior notes. 1172 crypt.c, crypt.h (Paul, Christian) 117363. Format changes, add parentheses to zfseeko(), fix output bytes, add ifdef 1174 blocks for ZIP10, fzofft formatting, casts. crypt.c (Christian) 117564. Cast block_start to unsigned. deflate.c (Christian) 117665. Let -R patterns match in subdirectories. Update filter() to use switch, 1177 use global icount and Rcount, handle subdirectories, update icount and 1178 RCount in filterlist_to_patterns(). fileio.c, zip.c, zip.h, globals.c 1179 (Christian) 118066. Enclose option -! and use_privileges under NTSD_EAS guard. globals.c, 1181 zip.c, zip.h (Cosmin) 118267. Updates to version, copyright, license. [I did not split the copyright 1183 to 2 lines as it already takes up space on the help screen. Ed] 1184 revision.h (Christian) 118568. Add ZCONST to some read-only string pointer arguments in function 1186 declarations. zipcloak.c, zipnote.c, zipsplit.c, zip.c, zip.h (Christian) 118769. Fix byte counts on exit in zipcloak() and zipbare() to fix zipcloak bug 1188 (Christian) 118970. Modified zipnote.c to use WRBUFSIZ to handle line widths of at least 2047 1190 characters in write mode (Christian) 119171. Change simple() and greedy() from zoff_t to uzoff_t. zipsplit.c (Christian) 119272. Remove duplicate copyright notices. zipsplit.c (Christian) 119373. Remove export notice from help page. Move notice to bottom of license 1194 page. zipcloak.c (Ed) 119574. File USexport.msg export history added. (Greg) 119675. Added support for VMS ODS5 extended file names. (Eight-bit only, no 1197 Unicode.) VMS name character "/" is mapped to Zip name character 1198 "?". New command-line options -C[2|5][-] (/PRESERVE_CASE[=opts]) 1199 control name case preservation and/or down-casing. globals.c, 1200 zip.c, zip.h, vms/cmdline.c, vms/vms_im.c, vms/vms_pk.c, vms/vms.c, 1201 vms/vmszip.c, vms/vms.h (SMS) 120276. New VMS option -ww (/DOT_VERSION) stores version numbers as ".nnn" 1203 instead of ";nnn" [changed from -Y to -ww (Ed)]. zip.c (SMS) 120477. Changes to vms_open(). vms/vms_im.c, vms/vms_pk.c 120578. Changes to vms_read(). vms/vms_pk.c (SMS) 120679. Documentation updates. vms/vms_zip.rnh (SMS) 120780. Minor updates. vms/zip_cli.help, vms/cmdline.c, vms/vms_zip.rnh (Ed) 120881. Changes to vmsmunch(). vms/vmsmunch.c (SMS) 120982. Do some updating of VMS options. vms/zip_cli.cld (SMS) 121083. Moved the VMS-specific ziptyp() function from zipfile.c to vms/vms.c 1211 to segregate better the RMS stuff. (SMS) 121284. Put 64-bit calls in ZIP64_SUPPORT ifdef blocks, change some long parameters 1213 for append to memory block functions to ulg, remove redundant includes, 1214 add OFT protos to some functions with parameter types that get promoted 1215 like ush to avoid warnings in VMS. zipfile.c (SMS) 121685. Use zip_fzofft() to format number. zipsplit.c (SMS) 121786. Add file_id.diz from Zip 2.31 (?, Ed) 121887. Update install from Zip 2.31 (?, Ed) 121988. Update license from Zip 2.31. License (?, Ed) 122089. Update Readme.cr from Zip 2.31 (?, Ed) 122190. Add 64-bit assembler for Win32 from Zip 2.31. win32/makefile.a64, 1222 win32/readme.a64, win32/gvmat64.asm (?, Ed) 122391. Update Readme (Ed) 122492. Update headers. crctab.c, crc32.c, deflate.c, ebcdic.h, fileio.h (Ed) 122593. Option for extra verbose VMS, change DIAG_FLAG from verbose to 1226 (verbose >= 2). vms/vms.c (SMS) 122794. Update copyright header. qdos/qdos.c (Christian, Ed) 122895. Change exit(0) to exit(ZE_OK). qdos/qdos.c (Christian) 122996. Change ulg to unsigned long. tailor.h (, Christian) 123097. Default uzoff_t to unsigned long long if LARGE_FILE_SUPPORT manually 1231 enabled for an otherwise unsupported port. tailor.h (Ed) 123298. Update copyright header. tailor.h (Ed) 123399. Change EXIT(0) to EXIT(ZE_LOGIC) for ziperr recursion. zip.c (Christian) 1234100. Change EXIT(0) to EXIT(ZE_OK) for successful returns. zip.c, 1235 zipcloak.c (Christian) 1236101. Update license. zip.h (Christian) 1237102. Initialized mesg in zipcloak.c, zipnote.c, zipsplit.c to fix access 1238 violation crashes. (Christian) 1239103. Added -q (Quiet mode) option to zipcloak, zipnote, zipsplit. (Christian) 1240104. Add proto of mb_clen(). fileio.c (Cosmin) 1241105. Synchronize ttyio.c and ttyio.h with the unzip-5.52 source. (Cosmin) 1242106. Control the POSIX emulation provided by some Unix-on-Windows compiler 1243 distributions, such as Cygwin, via the FORCE_WIN32_OVER_UNIX macro. 1244 tailor.h, win32/Makefile.gcc (Cosmin) 1245107. Remove getenv() declaration. util.c (Cosmin) 1246108. Fix definitions of zopen and zstdin. unix/zipup.h (Cosmin) 1247109. Enable binary file operations for DJGPP and Cygwin. unix/osdep.h (Cosmin) 1248110. Remove -DMSDOS from CFLAGS; use correct dependency in target crc_i386.obj. 1249 win32/makefile.w32, win32/makenoas.w32 (Cosmin) 1250111. Update win32/makefile.bor and win32/makefile.gcc (Cosmin) 1251112. Put mktemp() declaration inside the NO_PROTO guard. tailor.h (Cosmin) 1252113. Use the right type (DWORD) for volSerNo, maxCompLen and fileSysFlags 1253 in FSusesLocalTime(). win32/win32.c (Cosmin) 1254114. Set the "zip Debug" configuration as default. win32/vc6/zip.dsp (Cosmin) 1255115. Define ASM_CRC by default. win32/osdep.h (Cosmin) 1256116. Avoid using file names that are distinguished solely by letter case; 1257 e.g. crc_i386.S and crc_i386.s. unix/Makefile (Cosmin) 1258117. Stylistic fix inside ex2in(). unix/unix.c (Cosmin) 1259118. Change zlist dsk from ush to ulg to support Zip64 and added casts in 1260 zipfile.c to write ush. zip.h, zipfile.c (Christian, Ed) 1261119. Conditionally apply S_IFLNK to support DJGPP. unix/unix.c (Cosmin) 1262120. Change -dd [siz] (display dots, set optional dot size) to the options 1263 -dd (turn dots on, use 10 MB default) and -ds siz (set dot size). 1264 Found that using -dd with an optional value got confusing as detection 1265 of an optional argument, when the next argument was not either an option 1266 or the end of the line, was easy to overlook. Easier to avoid optional 1267 values. zip.c (Ed) 1268121. Change text output of manual pages to zip.txt, zip.txt, zipcloak.txt, 1269 zipnote.txt, zipsplit.txt. unix/Makefile (Christian, Ed) 1270122. Change comments using // to /* */ format. api.c, zip.c (Christian) 1271123. Add support for signals SIGABRT, SIGBREAK, SIGBUS, SIGILL, and SIGSEGV 1272 to utilities. zipcloak.c, zipnote.c, zipsplit.c (Christian) 1273124. Update ToDo30.txt file (Ed) 1274125. Delete old Manual file (Ed) 1275126. Update WHERE from Zip 2.32 (Ed) 1276127. Change description of dot-size. zip.c (Ed) 1277128. Change VMS to use -ds to set dotsize. vms/cmdline.c (Ed) 1278129. Update manuals. man/zip.1, man/zipsplit.1, man/zipnote.1, 1279 man/zipcloak.1 (Ed) 1280130. Detect i586, i686 and Cygwin in version_local(). unix/unix.c (Cosmin) 1281131. Add clean target. win32/makefile.w32, win32/makenoas.w32 (Cosmin) 1282132. Changed most 64-bit size/offset variable declarations (like zoff_t) 1283 into "unsigned" type (like uzoff_t), for better backward compatibility 1284 with non-ZIP64_SUPPORT setups where "ulg" was used for these variables. 1285 deflate.c, fileio.c, globals.c, trees.c, vms/vms_pk.c, win32zip.c, 1286 zip.c, zip.h, zipfile.c, zipup.c (Christian) 1287133. Add (ulg) cast to strstart in flush_block. deflate.c (Christian) 1288134. Updated Win32 LARGE_FILE_SUPPORT setup for Watcom and MinGW. 1289 tailor.h, win32/osdep.h (Christian) 1290135. Add attempt count to tempname(). fileio.c (Christian) 1291136. Fixed size counter handling in debug code for Zip64. trees.c (Christian) 1292137. Moved cryptnote display text definition into revision.h, like was done 1293 in Zip 2.31. zip.c, revision.h (Christian) 1294138. Add ZCONST. fileio.c (Christian) 1295139. Removed earlier change in trash() where ASCII-containing iname was 1296 searched for native-coded '/' characters. [Added note but left as 1297 changed 5/20/05 EG] zipfile.c (Christian) 1298140. Change zipup size error message to use zip_fzofft(). zipup.c (Christian) 1299141. Updated win32/makefile.wat to enable Zip64 support and use directory 1300 for intermediate files. (Christian) 1301142. Change fcount and zcount from ulg to extent as extent is used internally, 1302 but Zip64 standard supports up to ulg. Add note to zip.h. globals.c, 1303 zip.h (Christian) 1304143. Define NO_W32TIMES_IZFIX in compile options when appropriate. Add 1305 version information for USE_ZLIB compiler option. zip.c (Christian) 1306144. Add support for SIGABRT, SIGBREAK, SIGBUS, SIGILL, and SIGSEGV signals. 1307 zip.c (Christian) 1308145. Add display-usize option to show uncompressed size. zip.c (Ed) 1309146. Add many descriptions to options table. zip.c (Ed) 1310147. Remove -R from help screen as on extended help screen. zip.c (Ed) 1311148. Add basics to extended help. zip.c (Ed) 1312149. Fix checks in scanzipf_reg() for empty file since cenbeg now unsigned. 1313 Change buffer from t to b in small big check. Back up after small 1314 zip big archive check. zipfile.c (Ed) 1315150. Change Zip64 not supported warning in scanzipf_reg(). zipfile.c (Ed) 1316151. Fix bug where local and central headers were not matching when compiled 1317 with NO_LARGE_FILE_SUPPORT. Restored order of zlist structure elements 1318 to match order of local header as scanzipf_reg() compares it as an 1319 array of bytes to the local header. Gag. It needs fixing but at least 1320 it works as intended now. zip.h, zipfile.c (Ed) 1321152. Minor fix from 10000 to 10 K for WriteNumString(). util.c (Ed) 1322153. Add overflow check to file_read(). zipup.c (SMS) 1323154. Add parameter p1 product specification. vms/collect_deps.com (SMS) 1324155. VMS changes. vms/descrip_mkdeps.mms (SMS) 1325156. Change zoff_t to uzoff_t and unsigned int to size_t. vms/vms_im.c, 1326 vms/vms_pk.c (SMS) 1327157. Fix ; that was : at end of line. Fix DisplayNumString() prototype. 1328 zip.h (Ed) 1329158. Get rid of leading blanks in DisplayNumString(). util.c (Ed) 1330159. Reset dot_count each file. zipup.c (Ed) 1331160. Minor changes to extended help. zip.c (Ed) 1332161. Move defines into DEFINED_ONCE block. api.h (Mike) 1333162. Add Still Remaining And Planned For Zip 3.0 section. WhatsNew (Ed) 1334163. Delete quotes around CHANGES. Readme (Ed) 1335164. Add -lf, open file at path and use for logging, -la, append to 1336 existing logfile, and -li, include informational messages, options. 1337 globals.c, zip.h, zip.c (Ed) 1338165. Update extended help to include logging. zip.c (Ed) 1339166. Add support for required short option value in form -o=value as optional 1340 does. fileio.c (Ed) 1341167. If bytes_total is smaller than bytes_so_far for some reason then display 1342 negative of bytes_to_go. This can happen if files grow in size after all 1343 the sizes are initially added up. zip.c (Ed) 1344168. Use usize from filetime for adding to bytes_total when updating instead 1345 of size in old entry. zip.c (Ed) 1346169. Change status counts files_so_far and bytes_so_far to include bad files 1347 so the status counts end at the end but add bad_files_so_far and 1348 bad_bytes_so_far to track bad files. After minor fixes it looks like 1349 the counts remaining at the end are correct, even when some files are 1350 not readable. Update bad file warnings. zip.c, zip.h, globals.c, 1351 zipup.c (Ed) 1352170. Add uq for unsigned q in zipup(). Initialize z->len in case an error 1353 later so have a valid size. zipup.c (Ed) 1354171. Check noisy in DisplayRunningStats() so logging is independent of it. 1355 zip.c (Ed) 1356172. Add check in DOS for windows and if running DOS version on Windows warn 1357 user. zip.c, msdos/msdos.c, msdos/osdep.h (Johnny) 1358173. Add errno.h for strerror(errno) call. zip.c, zipup.c (SMS) 1359174. Fix log problem if using -q option. zipup.c (Ed) 1360175. Change "Far char" to "char Far" as Far is a qualifier not for the char 1361 type but the storage allocation of the array. fileio.c (Christian) 1362176. Update note on extent. globals.c (Christian, Ed) 1363177. Remove extra USE_ZLIB. zip.c (Christian) 1364178. Add note for the OEM_RUSS '/' bug. Need to look at later as it seems 1365 the Russian bug remains unfixed. zipfile.c (Christian, Ed) 1366180. So byte counts always come out even, create good_bytes_so_far to 1367 count bytes read in and convert bytes_so_far to use the counts 1368 from the initial scan. If files change during the zip operation 1369 good_bytes_so_far will change and not match bytes_so_far. 1370 zip.h, globals.c, zip.c (Ed) 1371181. Changes to extended help. zip.c (Ed) 1372182. Update WhatsNew (Ed) 1373183. Update DLL resource copyright. windll.rc, windll.aps (Ed) 1374184. Add directory search improvements to Win32 (within recursion, reuse 1375 attribs from directory lookup to avoid calling stat()). Add 1376 getd_attribs(), procname_win32(). win32/win32zip.c (Johnny) 1377185. Cache result of IsFileSystemOldFAT() to avoid repetitive system calls 1378 for identical information. win32/win32.c (Johnny) 1379186. Add optimization to dosmatch(): apply alternate shortcut code when the 1380 pattern to match consists of one multichar wildcard ('*') followed 1381 by a fixed string. util.c (Johnny) 1382187. Move DOS check_for_windows() checks to Help and Version and errors 1383 only. Shorten message to one line. zip.c, msdos/msdos.c (Ed) 1384188. Define WIN32_OEM to enable oem ansi conversions for more than RSXNT. 1385 Not yet fully implemented. win32/win32.c, win32zip.c, zip.c, 1386 zipfile.c (Ed) 1387189. Directory search improvements for MSDOS. msdos/msdos.c (Johnny) 1388190. Add caching of directory information. If pattern is just *string no 1389 need to recurse. win32/win32.c (Johnny) 1390191. If wild_stop_at_dir then do recurse to handle cases like a/b/*.txt. 1391 win32/win32.c (Ed) 1392192. Additional improvements to directory search speedups, including 1393 a) MSDOS port fixes for Turbo C++ compiler 1394 b) In both Win32 and MSDOS, change getDirEntryAttr() into macro, 1395 saving one function call overhead 1396 e) Add explaining comment to optimized procname_{local} code 1397 f) In util.c, move "*literal" pattern-matching optimization from 1398 dosmatch() to recmatch(). Advantages: 1399 - optimization used for all systems 1400 - optimization applied to all occurences where a "*" is last wildcard 1401 in pattern 1402 - "dosmatch()" only preconditoning wrapper for matching workhorse 1403 "recmatch()", it should not implement matching algorithms itself 1404 - optimization not applied for WILD_STOP_AT_DIR option 1405 g) >>>disabled<<< "*literal" optimization for all MBCS-aware environments, 1406 because suspect that supplied optimization code is not MBCS-clean 1407 (for details see the comment within the patch), so IS NOT USED for 1408 win32 port! Can force activation of match optimization by specifying 1409 conditional compilation symbol TEST_FOR_MBCS_CLEAN. 1410 (Christian) 1411193. Add and move comments, implement changes for directory search improvements 1412 in Zip 3.0 util.c (Ed) 1413194. In win32/win32.c, IsFileSystemOldFAT(), add declarations of static caching 1414 variables where missing to fix win32 port compilation bug (Christian) 1415195. Correct changed arguments in RSXNT-only character set conversion 1416 call. win32/win32zip.c (Christian) 1417196. Implement Directory Search improvements from Zip 2.32. win32/win32zip.c 1418 (Johnny, Ed) 1419197. Debian Bug #312090 fix. Reworded man page to give multiple examples of 1420 recursion, not just zip -r foo foo. man/zip.1 (Ed) 1421198. Change "-Aa -D_HPUX_SOURCE +e" to -Ae for HP. "HP-UX with the HP compiler 1422 and on AIX 4.2.0. AIX 5.1 with gcc-3.4.3 (32-bit) and Darwin built fine 1423 - though AIX 5.1 needed CC=gcc make -e ... to find gcc. According to the 1424 HP-UX man page -Ae is equivalent to -Aa -D_HPUX_SOURCE +e it seems the 1425 +e is needed and -Ae is more terse anyway." Expression generated before 1426 was too long. unix/configure (Rodney Brown) 1427199. Add support for osf4.0f that does not have fseeko or ftello but has 64-bit 1428 fseek and ftell though. tailor.h (Rodney) 1429200. Fix unsigned char to char in recmatch(), add casts for compares. util.c 1430 (Ed) 1431201. Fix for alpha off_t long long. unix/osdep.h (Rodney) 1432202. Change shmatch() from uch to char and change parameters to recmatch(). 1433 Change dosmatch(). util.c (SMS, Rodney, Ed) 1434203. Add local for DisplayRunningStats(). zip.c (Rodney, Ed) 1435204. Disable unused append_ubyte_to_mem(). Fix error messages in other append. 1436 zipfile.c (Rodney, Ed) 1437205. Delete unused getDirEntryAttribs(). msdos/msdos.c (Christian) 1438206. Change warning when running msdos version on Windows. msdos/msdos.c (Ed) 1439207. Change recmatch() to support MBCS matching. util.c (Christian) 1440208. Update WhatsNew (Ed) 1441209. Update Readme (Ed) 1442210. Format Readme to fit in 80 character lines (SMS, Ed) 1443211. Rename install.vms to install_vms.txt. vms/install_vms.txt (SMS) 1444212. Add reference to vms/install_vms.txt in INSTALL (SMS) 1445213. Update INSTALL (Ed) 1446214. Remove ALT_NEXTBYTE and Building UnZip sections as no longer needed. 1447 vms/notes.txt (SMS, Ed) 1448215. Add note to TODO (Ed) 1449216. Update Makefile message to suggest using generic. unix/Makefile (Ed) 1450217. Update text output of manual. zip.txt (Ed) 1451218. Update VMS section. INSTALL (SMS, Ed) 1452219. Minor changes in vms/install_vms.txt (SMS, Ed) 1453220. Update VMS install information. INSTALL, vms/install_vms.txt (SMS, Ed) 1454221. Do not use _stati64 under Cygwin. win32/osdep.h (Cosmin) 1455222. Add note to Makefile to use generic first. unix/Makefile (Ed) 1456223. Add Test option for VMS CLI. vms/cmdline.c (SMS, ?) 1457224. Add noconfirm to deletes, define symbol edit. vms/descrip.mms (SMS) 1458225. Changes to vms/install_vms.txt (SMS) 1459226. Add note on symbols to VMS. INSTALL (SMS) 1460227. Update license headers. vms/osdep.h, vms/vms.h, vms/vmsmunch.c, 1461 vms/zipup.h, vms/vmszip.c, vms/vms.c, vms/vms_im.c, vms/vms_pk.c, 1462 vms/command.c (Ed) 1463228. Add stsdef.h include for VMS and convert unzip test return to VMS 1464 result for VMS. zip.c (SMS) 1465229. Add const to ziperr(). amiga/amiga.c (Paul) 1466230. Clean up makefile. amiga/makefile.azt (Paul) 1467231. Don't try Amiga large file support. amiga/osdep.h (Paul) 1468232. Add note on -V and -VV. vms/notes.txt (SMS) 1469233. Small update. vms/zip_cli.help (SMS) 1470234. Format Windows warning message. msdos/msdos.c (Christian) 1471235. Format changes. util.c (Christian) 1472236. Update VMS. INSTALL (SMS) 1473237. Add creation of intermediate object directories. msdos/makefile.wat 1474 (Christian) 1475238. Add void * cast. msdos/msdos.c (Christian) 1476239. Add include for mktemp(). msdos/osdep.h (Christian) 1477240. Fix __RSXNT__ and WIN32_OEM define blocks. win32/win32.c (Christian) 1478241. Fix __RSXNT__ and WIN32_OEM define blocks. win32/win32zip.c (Christian) 1479242. Add != NULL to check. zip.c (Christian) 1480243. Fix WIN32_OEM. zipfile.c (Christian) 1481---------------------- October 11th 2005 version 3.0f01 ---------------------- 1482(the internal betas may be merged later) 1483 1. Add DSEG for Watcom data segment. msdos/makefile.wat (Christian) 1484 2. Add -zq and use assembler. os2/makefile.os2 (Christian) 1485 3. Update header. os2/match32.asm (Christian) 1486 4. Change len from int to unsigned int. os2/os2.c (Christian) 1487 5. In GetLongPathEA() limit tempbuf to CCHMAXPATH. os2/os2.c (Christian) 1488 6. Add DWATCOM_DSEG to use data segment. win32/makefile.wat (Christian) 1489 7. Update header and add DGROUP. win32/match32.asm (Christian) 1490 8. Add UNICODE_SUPPORT define. zip.h, zip.c (Ed) 1491 9. Add oname to f and z structs for the display name to use in messages. 1492 Change z->zname to z->oname in messages. fileio.c, zip.c, win32zip.c, 1493 zipup.c, zipfile.c, zip.h (Ed) 149410. Move multi-byte defines to make global (they were needed with wide 1495 characters but that was taken out and left them where they are). 1496 fileio.c, zip.h 149711. Add copy_args(), free_args(), and insert_arg() to create copy of argv 1498 that can free() and to support inserting "@" in get_option for lists. 1499 fileio.c, zip.h 150012. Insert arg "@" after list if not followed by option. fileio.c 150113. Add args variable and copy argv to args so can use insert_arg(). zip.c 150214. Add MKS Korn Shell note. zip.c 150315. Change cast of option in add_filter() calls from char to int. zip.c 150416. Implement multi-byte version of Unicode support. To support Win32 NT 1505 wide calls will require additional work not planned for this release. 1506 Changes include (Ed): 1507 - Add use_wide_to_mb_default flag. globals.c, zip.h 1508 - Add compiler UNICODE_SUPPORT version information. zip.c 1509 - Add uname to f and z structs for UTF-8 name. zip.c 1510 - Moved some defines out of ZIP64 section. zipfile.c 1511 - Add define UTF8_PATH_EF_TAG for Unicode Path extra field. Currently 1512 the tag is 0x7075 which is 'u' 'p' for Unicode path and seems 1513 free according to the AppNote. The extra field is 1514 tag (2 bytes 'u' 'p') 1515 size (2 bytes) 1516 Unicode Path size (2 bytes) 1517 unused (2 bytes set to 0) 1518 unused (2 bytes set to 0) 1519 Unicode path (variable) 1520 The unused locations also serve as a check in case the tag is in 1521 use already. 1522 - Add add_Unicode_Path_local_extra_field() and 1523 add_Unicode_Path_cen_extra_field() functions. zipfile.c 1524 - Add read_Unicode_Path_entry() function. zipfile.c 1525 - Set uname and oname in scanzipf_ref(). zipfile.c 1526 - Add define wide_to_mb_default. Add zchar but not used. win32/osdep.h 1527 - Add wide command line reading but don't use. win32/win32.c 1528 - Add port functions for Unicode, including local_to_utf8_string(), 1529 wide_to_escape_string() (for converting a wide character that can't be 1530 converted to mb in the local character set to a reversable escape string), 1531 escape_string_to_wide(), wide_to_local_string(), local_to_display_string() 1532 (for creating the display version of name), utf8_to_local_string(), 1533 local_to_wide_string(), wide_to_utf8_string() (NOT IMPLEMENTED), and 1534 utf8_to_wide_string() (NOT IMPLEMENTED). win32/win32.c 1535 - Implement attempt at escape function. Whenever a wide character can't 1536 be mapped to the local character set, this function gets called. 1537 Currently the wide character is converted to a string of hex digits. 1538 If the wide can fit in 2 bytes then the form #1234 is used. If not, 1539 the 4-byte form #L12345678 is used. 1540 It compiles but needs the utf8 functions implemented. Also needs testing 1541 in a multi-byte environment and only Windows is implemented so need to at 1542 least do Unix. (Ed) 154317. Update freeup() to include uname and oname. zip.c 154418. Move define wide_to_mb_default so default for all is '_'. zip.h (Ed) 154519. No changes needed to osdep.h and update unix/unix.c but not tested. (Ed) 1546---------------------- October 19th 2005 version 3.0f02 ---------------------- 1547 1. Remove null value check for split_size as get_option() already checks. 1548 zip.c (Ed) 1549 2. Update f$search(). vms/descrip.mms (SMS) 1550 3. Save parse name before search and use that on failure. Change name parsing 1551 in ziptyp() to solve a problem with search-list logical name device directory 1552 specs. vms/vms.c (SMS) 1553 4. Compile in UNICODE_SUPPORT if have wchar_t and mbstowcs(). unix/configure (Ed) 1554 5. Move Unicode defines to zip.h and functions to fileio.c so generic. Create 1555 a new OEM function for Windows. fileio.c, zip.h, tailor.h, win32/win32.c (Ed) 1556 6. Add UTF-8 functions. fileio.c (Paul) 1557 7. Convert Unicode functions to use zwchar defined as unsigned long for wide 1558 char. fileio.c, zip.h (Ed) 1559 8. Add wchar_t check for Unix. unix/configure (Ed) 1560 9. Add default when zwchar (4 bytes) is too big for wchar_t (2 bytes). zip.h (Ed) 156110. Allow for states for wide characters but surrogates not done. fileio.c (Ed) 156211. Update WhatsNew (Ed) 1563---------------------- December 16th 2005 version 3.0f03 ---------------------- 1564 1. Fix broke encryption when ZIP64_SUPPORT enabled by accounting for need for 1565 data description when encrypting. Data description is not required for 1566 encryption (WinZip does not use one) but seems needed by Zip for some reason. 1567 zipfile.c (Ed) 1568 2. Add function bfwrite() to do buffered fwrite(). Most output already is 1569 written by zfwrite used by crypt.c which now calls bfwrite. All splitting 1570 and new byte counts are done in bfwrite. fileio.c (Ed) 1571 3. Move some functions out of ZIP64_SUPPORT defines for use with UNICODE_SUPPORT. 1572 zipfile.c, zip.h (Ed) 1573 4. Add is_ascii_string() and only create Unicode extra field if z->iname is 1574 not ascii. zipfile.c, zip.h, fileio.c, (Ed) 1575 5. Add parameter rewrite to putlocal() to note when rewriting bytes so the bytes 1576 rewritten are not counted in output totals. zipfile.c, zip.h (Ed) 1577 6. Handle VMS ... wildcard. util.c (SMS) 1578 7. Make tempzip file name global. zip.c, globals.c, zip.h (Ed) 1579 8. Add out_path global and -O path option to allow the output archive to have a 1580 different name than the input archive, if there is one. This allows 1581 updating a split archive, since output to the same split name would otherwise 1582 be complicated and not user friendly. Use out_path for output. zip.h, 1583 zip.c, globals.c (Ed) 1584 9. Many output functions that had output file y as parameter, such as zipup(), 1585 zipcopy(), putlocal(), putcentral(), and putend(), now do not as y is 1586 now global. This allows changing y as splits are created. zip.c (Ed) 158710. Add function zipmessage() for writing messages like zipwarn() but are 1588 informational. zip.c (Ed) 158911. Minor changes to help. zip.c (Ed) 159012. Add SPLIT_SUPPORT to version output. zip.c (Ed) 159113. Add rename_split() to rename and set attributes for a split. zip.c (Ed) 159214. Add set_filetype() to set attributes of split. zip.c (Ed) 159315. Change variable a (holds attributes) to zipfile_attributes and make global. 1594 zip.c, zip.h, globals.c (Ed) 159516. Add key_needed flag for encryption and move setting key to after 1596 command line processed. zip.c (SMS) 159717. Initialize dot size using default only if dot_size not set. zip.c (Ed) 159818. Change command line processing so that last -P or -e is used. zip.c 1599 (Ed) 160019. Fix broke writing of 4-byte spanning signature at the beginning of the archive 1601 if splitting. zip.c (Ed) 160220. Use bfcopy() instead of fcopy() to copy archive beginning. bfcopy() uses 1603 global y. zip.c (Ed) 160421. It looks like tempzf is no longer used. zip.c (Ed) 160522. Account for SUNPRO_C and DECC_VER. Change SPARC to Sparc. unix/unix.c (SMS) 160623. Remove GNUC. vms/cmdline.c (SMS) 160724. Change case of system calls. vms/vms.c (SMS) 160825. Add fix for VMS ... matching, but may change Zip to avoid ex2in() and in2ex() 1609 for pattern matching in future. vms/vmszip.c (SMS) 161026. Remove /NODIRNAMES and /DIRNAMES from VMS help. vms/zip_cli.help (SMS) 161127. Define new globals zip64_eocd_disk, zip64_eocd_offset, current_local_tempname, 1612 bytes_this_split, and bytes_this_entry for splits. globals.c, zip.h (Ed) 161328. Add SUNPRO C and DEC C compile checks. unix/configure (SMS) 161429. Add CFLAGS_NOOPT for removing optimization for configure. unix/Makefile (SMS) 161530. Modify crypthead() to use bfwrite(). crypt.h, crypt.c (Ed) 161631. Modify zfwrite() to use global output file. crypt.h, crypt.c (Ed) 161732. Modify zfwrite() when no encryption to use bfwrite(). crypt.h (Ed) 161833. Add bfcopy() to copy to y. fileio.c (Ed) 161934. Add close_split() and bfwrite() for splits. fileio.c (Ed) 162035. Add is_ascii_string() to check if UTF-8 extra field is needed. fileio.c (Ed) 162136. Change Unicode escape of 2-byte wide from #1234 to #U1234. fileio.c (Ed) 162237. Add read_Unicode_Path_entry() to read the UTF-8 path extra field. zipfile.c (Ed) 162338. Latest Unicode Path extra field format is 1624 1 byte Version of Unicode Path Extra Field 1625 2 bytes Name Field Checksum 1626 variable UTF-8 Version of Name 162739. Use CRC-32 for Unicode Path Checksum and AND halves. zipfile.c (Paul) 162840. Add Unicode Path Checksum check to make sure extra field applies to Name field 1629 still. zipfile.c (Christian) 163041. Move get_extra_field() out of Zip64 block and make available for splits. 1631 zipfile.c (Ed) 163242. Check in putlocal() using is_ascii_string() and don't create Unicode path 1633 extra field if name is ASCII characters. zipfile.c (Ed) 163443. If local header for split is on another disk and using split method 1, close 1635 that split in putlocal() after rewrite local header. zipfile.c (Ed) 163644. Fix data descriptor bug when encrypting where putextended() did not handle the 1637 not Zip64 case, which mostly only happens now for encryption. zipfile.c (Ed) 163845. Check for ASCII name using is_ascii_string() in putcentral() for Unicode path 1639 extra field. zipfile.c (Ed) 164046. Instead of single disk values, update putend() to use real split values for 1641 current_disk, cd-start_disk, cd_entries_this_disk, cd_start_offset, 1642 zip64_eocd_disk, zip64_eocd_offset, and current_disk and allow for 1643 needing Zip64 if exceed standard max values for current_disk, cd_start_disk, 1644 cd_entries_this_disk, total_cd_entries, and cd_start_offset. zipfile.c (Ed) 164547. Use current_local_offset and current_local_disk for z->off and z->dsk in 1646 zipup(). zipup.c (Ed) 164748. Fix bug where force_zip64 was used to determine descriptor size but can have 1648 Zip64 entry without force_zip64 so use zip64_entry. zipup.c (Ed) 164949. Change the p - o != s compression size test for splits to bytes_this_entry 1650 != (key ? s + 12 : s) and avoid ftell() in split. zipup.c (Ed) 165150. If local header is on a previous split and split method 1 do the seek on that 1652 split to update header. zipup.c (Ed) 165351. For streaming, only force Zip64 if reading stdin and writing a non-seekable 1654 device. In other cases can detect either the input file size and set Zip64 1655 if needed or seek in the output to update the local headers. zipup.c, 1656 zipfile.c, zipup.c (Ed) 165752. Allow creation of stored archives with descriptors for testing. Currently 1658 they can't reliably be read but this is planned. zipup.c, zipfile.c, zip.c 1659 (Ed) 166053. Update help, adding in -e, -P, -s splitsize, -sp, and -sv options. zip.c (Ed) 166154. Spelling fix in zipsplit man page. man/zipsplit.1, zipsplit.txt (Ed) 166255. New option -sv and variable noisy_splits to enable verbose splitting. 1663 Default is to quietly create splits, unless -sp set to pause between splits. 1664 zip.h, zip.c, globals.c, fileio.c (Ed) 1665---------------------- December 23rd 2005 version 3.0f04 ---------------------- 1666 1. Move inlined text-vs-binary checks from file_read() into a separate, 1667 new function named is_text_buf(). zipup.c, util.c, zip.h (Cosmin) 1668 2. Fix calls to putlocal to remove the removed dest parameter. crypt.c (Ed) 1669 3. Add get_split_path() to get the path for a split given the disk number. 1670 fileio.c, zip.h (Ed) 1671 4. Change formatting of zipmessage() to remove tabbing and add formatting 1672 to call to zipmessage(). fileio.c, zip.c (Ed) 1673 5. Initialize many variables such as y and tempzip. zip.c, fileio.c, 1674 zipfile.c (Ed) 1675 6. Add loop to pause during split method 2 to allow changing disk or changing 1676 the path for the next split. fileio.c (Ed) 1677 7. If after starting new split there is not enough room for the remaining buffer 1678 for split method 1 display error and exit and for split method 2 we can 1679 display a warning and user can replace disk or change path. fileio.c (Ed) 1680 8. Add list to store input file arguments using add_name() to add the name to 1681 filelist_struc filelist and then process the names after the input archive 1682 is read. zip.c (Ed) 1683 9. Fix infinite loop when opening a log file whose name contains multiple '/'. 1684 zip.c (Cosmin) 168510. Move split size message lower and only output if option sv sets 1686 noisy splits. zip.c (Ed) 168711. Set y to output file, remove output file from zipcopy(), putlocal(), 1688 putcentral(), and putend(). zipsplit.c, zipnote.c, zipcloak.c (Ed) 168912. Add code for not SPLIT_SUPPORT case. zipfile.c, zipup.c (Ed) 169013. Prepend '-' to commands from target clean. 1691 win32/makefile.w32, win32/makenoas.w32, win32/makefile.bor (Cosmin) 169214. Must not call putenv() in iz_w32_prepareTZenv() under Cygwin. 1693 win32/osdep.h (Cosmin) 169415. Add browse info in Visual C++ 6 project. win32/vc6/zip*.dsp (Cosmin) 1695---------------------- December 27th 2005 version 3.0f05 ---------------------- 1696 1. Add proposed changes to License (Ed) 1697 2. Fix -l corruption bug by using memcpy() instead of wrongly changing the 1698 buffer pointer. Fix was left out of last beta. zipup.c (Cosmin) 1699 3. Fix get_split_path() parameter. zip.h (SMS, Ed) 1700 4. Add -dg and display_globaldots to display dots globally for entire archive 1701 instead of for each file. Is not affected by noisy flag. globals.c, 1702 zip.h, zip.c, zipup.c, fileio.c (Ed) 1703 5. Make dot_count and dot_size uzoff_t, dot_count because with global dots 1704 dot_count does not reset and with terabyte files the number of buffers 1705 could exceed 2G, dot_size to allow use of ReadNumString() to read number. 1706 zip.c, zip.h, globals.c (Ed) 1707 6. Add Deletion to help. zip.c (Ed) 1708 7. Fix delete date. zip.c (Ed) 1709 8. For streaming, need to assume Zip64 if writing a non-seekable device so 1710 extra field for Zip64 is created if needed. zipup.c, zipfile.c, zipup.c (Ed) 1711 9. Add remove_local_extra_field() and remove_central_extra_field(). 1712 zipfile.c (Ed) 171310. Remove disabled copyright from license(). zip.c (Ed) 171411. Clean up recent changes. zip.c, zipfile.c, fileio.c, zip.h, zipup.c (Ed) 171512. Create scanzipf_regnew() for new file scan. zipfile.c (Ed) 1716---------------------- December 29th 2005 version 3.0f06 ---------------------- 1717 1. Change dot_size and dot_count from uzoff_t to zoff_t to allow use of 1718 negative flag values. globals.c, zip.h (SMS, Ed) 1719 2. Remove file parameter to bfwrite() in putend(). zipfile.c (SMS, Ed) 1720 3. Add back code for not SPLIT_SUPPORT to putend(). zipfile.c (SMS, Ed) 1721 4. Change tag from ush to ulg in remove_local_extra_field() and 1722 remove_central_extra_field() to avoid parameter problems. zipfile.c (Ed) 1723 5. Add allow_empty_archive to flag when want to create an empty archive. 1724 globals.c, zip.h (Ed) 1725 6. Set allow_empty_archive when using -i and expecting an archive to be 1726 created. This is in response to the 2/14/05 email. zip.c (Ed) 1727 7. Make before and after variables that hold the dates of files to 1728 process or delete global so can use them in scanzipf_regnew(). zip.h, 1729 zip.c, globals.c (Ed) 1730 8. Change scanzipf_regnew() to be based on scanzipf_fix() which seems closer. 1731 Still have not coded the new regular zipfile reader. zipfile.c (Ed) 1732 9. For new reader first get add list and then read old archive and filter 1733 as reading old entries. zip.c, zipfile.c (Ed) 173410. Define USE_NEW_READ to turn on using new reader, which is being 1735 created. This allows all to work while the new reader is being worked 1736 on. zip.c, zipfile.c (Ed) 1737---------------------- January 9th 2006 version 3.0f07 ---------------------- 1738 1. Remove dest parameter from crypthead() and zipcopy(). crypt.c (SMS, Ed) 1739 2. Change -ds to handle dots for as small as every 32 KB. zip.c (Ed) 1740 3. Add ask_for_split_write_path() and ask_for_split_read_path() for 1741 asking where to put the next write split and for locating the next 1742 read split. zip.h, fileio.c (Ed) 1743 4. Add in_path to track where reading splits from. zip.h, globals.c, zip.c (Ed) 1744 5. Update copyright date on changed files to include 2006 (Ed) 1745 6. Replace stderr with mesg for most output messages. deflate.c, fileio.c, 1746 trees.c, util.c, zip.c, zipcloak.c, zipfile.c, zipnote.c, zipsplit.c 1747 7. Add mesg_line_started to track if need new line on mesg output and update 1748 zipmessage() and zipwarn() to use it. Set mesg_line_started to 1 when 1749 newline not last character written to mesg and 0 when it is. deflate.c, 1750 zip.h, zip.c, globals.c, zipup(), fileio.c (Ed) 1751 8. Include base_path as parameter for get_split_path(). fileio.c (Ed) 1752 9. Account for VMS version in split path. Add vms_file_version(). fileio.c, 1753 zip.c, vms/vms.c, vms/vms.h (SMS) 175410. Create crc16f() to create ANDed halves crc32 for Unicode using copy 1755 of crc32() but may change to use main copy. zipfile.c, zip.h, 1756 fileio.c (Ed) 175711. Close in_path and out_path in finish() and ziperr(). zip.c (Ed) 175812. Change perror() to strerror() and print to mesg in ziperr(). zip.c (Ed) 175913. Add find_next_signature() to find the next signature when reading a 1760 zip file. zipfile.c (Ed) 176114. Add find_signature() to find a given signature from current point in 1762 archive. zipfile.c (Ed) 176315. Add at_signature() to check if at a given signature in archive. 1764 zipfile.c (Ed) 176516. Changes to scanzipf_regnew() but far from done. zipfile.c (Ed) 176617. Changes to readzipfile() to close input archive file and allow new 1767 zipfile reader to open and close files as goes through splits. 1768 zipfile.c (Ed) 176918. Change -s to default to MB and set minimum split size to 64k. 1770 zip.c (Ed) 177119. Add link to user32.lib for CharToOem(). makefile.w32, makenoas.w32 1772 (Cosmin) 177320. Remove unused Z64_EFPos. globals.c (Ed) 1774---------------------- February 13th 2006 version 3.0f08 ---------------------- 1775 1. Move option checks before any work is done. zip.c (Ed) 1776 2. Update bfcopy() to handle reading splits and remove input file 1777 parameter and use global in_file. fileio.c (Ed) 1778 3. Change ask_for_split_read_path() to allow user aborting. fileio.c (Ed) 1779 4. Change get_split_path() to use standard file extensions from most 1780 recent AppNote of .z01, .z02, ..., .z99, .z100, .z101, ... fileio.c (Ed) 1781 5. Change is_ascii_string to use 0x7F for ASCII detection. fileio.c (Ed) 1782 6. Add copy_only global for when -O is used to change the format of an 1783 archive without changing the contents. This allows for converting an 1784 archive to a split archive for instance. The global copy_only is used 1785 to output status information for copies when normally copied files 1786 have no status messages. globals.c (Ed) 1787 7. Add in_file, split_path, total_disks, current_in_disk, and 1788 current_in_offset as globals to track reading splits. zip.h, 1789 globals.c (Ed) 1790 8. Update copyright date. revision.h (Ed) 1791 9. Close in_file if open in finish(). zip.c (Ed) 179210. Add -O (big o) to extended help. zip.c (Ed) 179311. Remove readzipfile() from zipstdout() and use main call later down. 1794 zip.c (Ed) 179512. Move archive reading and file scanning after command line checks. 1796 zip.c (Ed) 179713. If -O out_zip and so have_out is set then set copy_only and allow 1798 copying instead of error message *Nothing to do*. zip.c (Ed) 179914. If zipbeg is just 4 bytes and spanning then assume is spanning 1800 signature and set zipbeg to 0 to ignore. zip.c (Ed) 180115. Don't open initial write test as modify if have_out is set and so have 1802 a separate output file. zip.c (Ed) 180316. If zipbeg is 0 and nothing at beginning of archive to copy then don't 1804 open input file until zipcopy() does. zip.c (Ed) 180517. If stuff at beginning then copy and close input file. Should be able 1806 to keep it open but easier to close it and let zipcopy() reopen it. 1807 zip.c (Ed) 180818. Add status message when copy_only set so something is displayed. 1809 zip.c (Ed) 181019. Instead of closing x at bottom close in_file. The variable x was used 1811 inconsistently and it seemed easier to make in_file global instead. 1812 Then again y remains the global output variable. zip.c (Ed) 181320. Update copyright. zipnote.c, zipsplit.c, zipcloak.c (Ed) 181421. Change adjust_zip_local_entry() to return 1 if the entry is Zip64 and 1815 0 if not. This is needed to know how large the extended local header 1816 is later. zipfile.c (Ed) 181722. Add read_Unicode_Path_local_entry() to read the local version of the 1818 Unicode Path extra field. zipfile.c (Ed) 181923. Handle disk in adjust_zip_central_entry(). zipfile.c (Ed) 182024. Change USE_NEW_READ to SPLIT_SUPPORT as splits seems to be stable more 1821 or less. zipfile.c (Ed) 182225. Add is_signature() to compate signatures. zipfile.c (Ed) 182326. Create scanzipf_fixnew(). It should look like scanzipf_regnew(). 1824 zipfile.c (Ed) 182527. Change scanzipf_regnew() to read the central directory and create zlist 1826 and handle reading traditionally. Allows using central directory 1827 information, in particular file sizes, in zipcopy() while reading 1828 entries. Use global in_file instead of f for input file and set to NULL 1829 when not a valid file so finish() only tries to close it if needed. 1830 Check to make sure the End Of Central Directory record found is infact 1831 the last one in case a stored archive is in the last 64 KB. Refuse 1832 to update a split archive but recommend using -O instead. zipfile.c (Ed) 183328. Change readable check in readzipfile() to require input archive to exist 1834 if using -O out_archive. zipfile.c (Ed) 183529. Change putlocal() to not create a Zip64 extra field unless needed and 1836 on rewriting the local header to remove Zip64 extra field if was created 1837 but not needed. Add check if assumed entry does not need Zip64 but does, 1838 meaning probably the uncompressed size is less than 4 GB but the 1839 compressed size is over 4 GB. zipfile.c (Ed) 184030. Change zipcopy() to use the global in_file and y files and to open and 1841 close read splits as needed. Checks the local header against the 1842 central directory header to verify same file, which should be as using 1843 the disk and offset values from the central directory. Update disk and 1844 offset in central directory. zipfile.c (Ed) 184531. Change out_path and out_len to base_path and base_len in 1846 get_split_path(). fileio.c (SMS) 184732. Update command line options for VMS to include verbose splitting. 1848 vms/zip_cli.cmd, vms/cmdline.c (SMS) 184933. Handle HP. unix/unix.c (SMS) 185034. Add adler16() checksum function. util.c (Cosmin) 185135. Use FILE_FLAG_BACKUP_SEMANTICS and a less demanding access mode 1852 in CreateFile() when retrieving file attributes. Fixes a problem 1853 when adding a directory entry from an NTFS or a CDFS partition 1854 (i.e. one that stores timestamps using universal time), and the 1855 directory timestamp is not the same daylight savings time setting. 1856 The effect is an offset in the timestamp by one hour, if zip is 1857 built using NT_TZBUG_WORKAROUND. The problem is not exposed, 1858 however, if NO_W32TIMES_IZFIX is defined. win32/win32.c (Cosmin) 1859---------------------- March 19th 2006 version 3.0f09 ---------------------- 1860 1. Fix encryption problem where a large file with uncompressable data 1861 can cause deflate to store bad data. See crypt.c for details. 1862 Thanks to the nice people at WinZip for finding and providing the 1863 details of this problem. crypt.c (Ed) 1864 2. Add note at top of Extended Help to refer to the Zip Manual. zip.c 1865 (Ed) 1866 3. Update extended help for delete. zip.c (Ed) 1867 4. Change crypthead() to use buffer and bfwrite() which is split aware. 1868 crypt.c (Ed) 1869 5. Create SPLIT_SUPPORT version of zipcloak() and zipbare() and read 1870 local header rather than assume data using central header. crypt.c (Ed) 1871 6. Change zfwrite() to use global output file y. crypt.c (Ed) 1872 7. Remove in and out parameters from zipcloak() and zipbare() for 1873 splits. crypt.h, zipcloak.c (Ed) 1874 8. Change get_split_path() to get_in_split_path() and get_out_split_path(). 1875 zipfile.c, fileio.c, zip.h (Ed) 1876 9. Change crc32f() to crc32u(). fileio.c, zip.h (Ed) 187710. Add encryption overwrite fix to copy_block() and remove from zfwrite(). 1878 crypt.c, tree.c (Ed, Christian) 187911. Add note on bug fix. WhatsNew (Ed) 188012. Add copy_only mode. zip.c (Ed) 188113. Make SPLIT_SUPPORT the default. zip.h (Ed) 188214. Add set_filetype(), rename_split(), and zipmessage(). zipcloak.c, 1883 zipnote.c, zipsplit.c (Ed) 188415. Add long option support. zipcloak.c (Ed) 188516. Set in_path. zipcloak.c, zipnote.c, zipsplit.c (Ed) 188617. Use SPLIT_SUPPORT calls. zipcloak.c, zipnote.c, zipsplit.c (Ed) 188718. Set current_disk, cd_start_disk, and cd_entries_this_disk for use 1888 by putend() and bytes_this_split for putcentral(). zipsplit.c (Ed) 188919. Include ctype.h for toupper(). zipfile.c (Ed) 189020. Add readlocal() for utilities to read local header. zipfile.c (Ed) 189121. Put Zip64 variables and code in ZIP64_SUPPORT ifdef in scanzipf_regnew(). 1892 zipfile.c (Ed, SMS) 189322. Use zip_fzofft() for converting offset. zipfile.c (Ed, SMS) 189423. Add casts to many append to memory calls. zipfile.c (Ed) 189524. Move handling of .zip split to get_in_split_path() and 1896 get_out_split_path(). zipfile.c (Ed) 189725. Handle fix = 3 case for ZipNote that renames entries in zipcopy(). 1898 zipfile.c (Ed) 189926. Restore clearing of extended local header bit when not encrypting. When 1900 encrypting need to output extended local header using putextended() in 1901 zipcopy(). zipfile.c (Ed) 190227. Add notes on using file time for encrypting. zipup.c (Ed) 190328. Remove extended local header bit separately for z->lflg (local flags) 1904 and z->flg (central directory flags). These should be the same but 1905 could be different. zipup.c (Ed) 190629. Suppress command line globbing for MINGW. win32/win32.c (Christian) 190730. Add EF UT time fix for delete. zip.c (Christian) 1908---------------------- April 28th 2006 version 3.0f10 ---------------------- 1909 1. Add note to extended help to escape [ as [[] or use -nw. zip.c (Ed) 1910 2. Remove local declaration of tempfile as now global. zipnote.c, 1911 zipcloak.c (SMS) 1912 3. Add zip_fzofft() for outputting uzoff_t bin size c. zipsplit.c (SMS) 1913 4. Add only_archive_set and clear_archive_bits to do Window archive bit 1914 selection and clearing. Add -AS option to require DOS Archive bit 1915 be set and -AC to clear archive bits of included files. Add 1916 ClearArchiveBit() to clear archive bits after archive created. 1917 Only Win32. globals.c, zip.h, zip.c, win32zip.c, win32.c (Ed) 1918 5. Change procname_win32() and readd() to check archive bit. 1919 win32/win32zip.c (Ed) 1920 6. Update copyright. win32/win32zip.h (Ed) 1921 7. Add mesg_line_started = 0 to stats to remove blank line when clearing 1922 archive bits. zipup.c (Ed) 1923 8. Add zip_fzofft() to format split size. zipsplit.c (SMS) 1924 9. Update help for splits and archive bit and add note on escaping [. 1925 zip.c (Ed) 192610. Add -M option and bad_open_is_error to exit with error if any input 1927 file unreadable. Also error if -M and would get "name not matched" 1928 warning. zip.c (Ed) 192911. Copy Zip 2.32 csharp example, though it is designed for zip32.dll and 1930 not zip32z64.dll from Zip 3.0. Updated note. windll/csharp (Ed) 193112. Change -M to -MM and define -mm to avoid accidental use of -m. 1932 zip.c (Ed) 193313. Define split_method -1 to not allow splitting, mainly used when reading 1934 a split archive to stop automatic splitting of output with same 1935 split size. Now -s=0 or -s- disables splitting. zip.h, globals.c, 1936 zip.c (Ed) 193714. Add fflush() after dots displayed. deflate.c, fileio.c, zipup.c (Ed) 193815. Instead of assuming buffer size as 32 KB for dots, use WSIZE for 1939 compressing and SBSZ for storing and calculate as dots are counted. 1940 Now dot_count and dot_size are bytes instead of buffers. Add dots 1941 to Delete and Archive modes. zip.c, zipup.c, deflate.c, fileio.c (Ed) 194216. If reading a split archive and split size has not been given, get 1943 size of first split read by zipcopy(), which should be the first 1944 split, and set split size to that, making the output archive the same 1945 split size as the input archive. Delay -sv split size message 1946 if split size is 0 at first but then changed. zipfile.c (Ed) 194717. Add proc_archive_name() for new archive mode to process names in old 1948 archive only and skip looking on the file system. Easier than modifying 1949 the various port codes. fileio.c (Ed) 195018. Fix cd_start_offset bug. fileio.c (Ed) 195119. Create new action ARCHIVE that looks for matches only in old archive 1952 for Copy Mode. If no input paths and there is an output archive, 1953 Copy Mode is assumed even without ARCHIVE. Old default Copy Mode 1954 when no input files updated to work like -U mode and allow filters. 1955 New global copy_only currently only used to control global dots. 1956 zip.c, fileio.c, globals.c, zip.h (Ed) 195720. Update help. Change extended help to more help. Update more help 1958 to include internal modes delete and new Archive. Update help for 1959 formatting options. Update help for wildcards. Remove streaming 1960 examples from top basic section. Indent examples. Help for new 1961 --out and Copy Mode. Add warnings that output using data descriptors 1962 may not be compatible with some unzips. Update dots help and add 1963 warning that dot size is approximate. Add help for new DOS archive 1964 bit options. More help for -b and -MM. zip.c (Ed) 196521. Add support for Unix FIFO (named pipe). Add set_extra_field() stat 1966 name ending in '/' fix found in Zip 2.32. unix/unix.c (Ed) 196722. Add check to not allow setting -U (internal copy) in similar cases to 1968 -d (delete). zip.c (Ed) 196923. Add counts for internal modes Delete and Archive. Byte counts for -db 1970 remain uncompressed size for external modes, but internal modes Delete 1971 and Archive now use compressed sizes as these copy that many bytes. 1972 zip.c (Ed) 197324. Add check for when ftell() wraps. zipup.c (Ed) 197425. Add mesg_line_started = 0 to result percentage message. zipup.c (Ed) 197526. Update contact information. unix/packaging/preinstall.in (SMS, Ed) 197627. A few Zip64 fixes to set Zip64 correctly and fix disk and offset of 1977 Zip64 End Of Central Directory. zipsplit.c (Ed) 197828. Update comments for get_option(). fileio.c (Ed) 197929. Update DLL version. windll/windll.rc (SMS, Ed) 198030. New option -sf shows files that would be operated on. zip.c (Ed) 1981---------------------- May 5th 2006 version 3.0f11 ---------------------- 1982 1. Use C prototypes for Unicode functions. fileio.c (SMS) 1983 2. Change constant for mask in set_file_type from unsigned to signed. 1984 trees.c (SMS) 1985 3. Use C prototypes for zip_fzofft() and zip_fuzofft() signed and 1986 unsigned zoff_t formatting functions. util.c (SMS) 1987 4. Remove U from constants in Adler16 code. util.c, zip.h (SMS) 1988 5. Add spaces to VMS usage to avoid misinterpretation. zip.c (SMS) 1989 6. Add OF() to at_signature(). zipfile.c (SMS) 1990 7. Use zip_zofft() for entries error. zipfile.c (SMS) 1991 8. Remove U in constants in percent(). zipup.c (SMS) 1992 9. VMS command line updates. vms/cmdline.c, vms/descrip_deps.mms, 1993 vms/vms_zip.rnh, zip_cli.cld, vms/zip_cli.help (SMS) 199410. Update to VMS help. vms/zip_cli.help (Ed) 199511. Check for memmove() and strerror(). Remove specific 64-bit support 1996 for SunOS, as large file support now does. unix/configure (SMS) 199712. Add emergency replacements for memmove() and strerror(). 1998 unix/unix.c (SMS) 199913. Remove old not SPLIT_SUPPORT code. globals.c, zipnote.c, fileio.c, 2000 crypt.h, crypt.c, zipcloak.c, zip.h, zip.c, zipup.c, zipsplit.c, 2001 zipfile.c (Ed) 2002---------------------- May 12th 2006 version 3.0f12 ---------------------- 2003 1. Add UNICODE_SUPPORT ifdef around uname in zipup(). zip.c (SMS) 2004 2. Change size from uzoff_t to zoff_t in zipcopy(). zipfile.c (SMS, Ed) 2005 3. Fix a bug where filetime() returns -1 for device but not handled in 2006 byte counts. zip.c (Ed) 2007 4. Add check for UnZip version and exit if not 6.00 or later if 2008 a Zip64 archive. Define popen() and pclose() in Win32 to native 2009 _popen() and _pclose(). ziperr.h, zip.c, win32/osdep.h (Ed) 2010 5. Add -sb option to ring bell when pause to change disk. Use new 2011 global split_bell. global.c, zip.h, zip.c, fileio.c (Ed) 2012 6. Enable crc32u() and use for Unicode extra field. fileio.c (Ed) 2013 7. Add -dv to display volume being written to. zip.c, zip.h, 2014 globals.c (Ed) 2015 8. Update WhatsNew. WhatsNew (Ed) 2016 9. Help updates. zip.c (Ed) 201710. Create option -X- (negated -X) to keep old extra fields and remove 2018 -XX which is now -X. Make get_extra_field() global. Add 2019 copy_nondup_extra_fields()to copy old extra fields not already 2020 in new extra fields. zipup.c, zip.c, zipfile.c (Ed) 202111. Use output name oname for -sf option to show files that would be 2022 worked on. zip.c (Ed) 202312. When updating or freshening old entries, read the old local header 2024 with readlocal() to get local flags and extra fields. zip.c (Ed) 202513. Add UNICODE_SUPPORT ifdefs around uname code. zip.c (SMS, Ed) 202614. If WIN32_OEM set then on WIN32 store OEM name in archive. As read 2027 DOS or WIN32 archives convert assumed OEM paths to ANSI. Remove old 2028 WIN32_OEM code. Make oem_to_local_string() global for WIN32_OEM and 2029 local_to_oem_string() global for WIN32_OEM and UNICODE_SUPPORT. 2030 zip.h, zipfile.c, zipup.c, win32/win32.c, win32/win32zip.c (Ed) 203115. Update error 8 to include wrong unzip. ziperr.h (Ed) 203216. Change checksum for Unicode extra field to standard crc32 using 2033 C version crc32u(). Add crctab.c. win32/vc6/zipnote.dsp, 2034 win32/vc6/zipsplit.dsp, zipfile.c 203517. Update readlocal() to handle multi-disk archives if not UTIL. 2036 zipfile.c (Ed) 203718. Convert size to signed zoff_t in zipcopy(). Update note. 2038 zipfile.c (Ed) 203919. Update Readme. Readme (Ed) 204020. Add crctab.o to zipsplit and zipnote. unix/Makefile (Ed) 204121. Proposed update to license. License (Ed) 2042---------------------- May 20th 2006 version 3.0f13 ---------------------- 2043 1. Reformat License file. License (Cosmin) 2044 2. Change %d to %lu for disk number and add cast. zip.c (Cosmin, Ed) 2045 3. Display Scanning files message after delay at start based on 2046 suggestion from Greg. Currently the time is checked every 100 2047 entries processed. After 100 entries the start time is saved. 2048 After 5 seconds or 100 entries after that, whichever takes 2049 longer, the Scanning files message is displayed and every 2 seconds 2050 or 100 entries, whichever takes longer, after that a dot is displayed. 2051 fileio.c, zip.c, globals.c, zip.h (Greg, Ed) 2052 4. Add Unicode mismatch flag and option -UN. Default is now a Unicode 2053 mismatch is an error. -UN=warn outputs warnings and continues, 2054 -UN=ignore disables warnings, and -UN=no ignores the Unicode extra 2055 fields. globals.c, zip.h, zipfile.c (Ed) 2056 5. Add options for VMS. vms/cmdline.c, vms/zip_cld.cld (SMS) 2057 6. Add casts to percent(). zipup.c (Ed) 2058 7. Minor changes to logfile formatting. zip.c (Ed) 2059 8. Update help. zip.c (Ed) 2060 9. Add -Z=compression-method option. zip.c (Ed) 206110. Add sd: to -sd status messages. zip.c (Ed) 206211. Instead of original argv[] use args[] for -sc show command line 2063 to show final command line. zip.c (Ed) 206412. Change argv[] to args[] for logfile. zip.c (Ed) 206513. Put results of -sf show files in log file if open. zip.c (Ed) 206614. Add Johnny's bzip2 patch but not tested. win32/makefile, zip.c, 2067 zip.h, zipup.c (Johnny) 206815. Minor tweeks to bzip2 to work with latest beta. zip.c, zipup.c (Ed) 206916. Add -sf- to list files that would be included only in log file 2070 and not on stdout as list can be long. Only list totals on stdout. 2071 zip.c (Ed) 207217. Create check_unzip_version(). Fix Unix check. Zip still creates 2073 the temporary archive then does the check, and if it fails 2074 the archive is deleted, even if the check fails because of the wrong 2075 verion of UnZip. On Unix only 'unzip' the system version of UnZip 2076 is checked, not './unzip' which would allow putting a local more 2077 up to date version of UnZip in the current directory for the check. 2078 There should be a way to override the system version of UnZip for 2079 the -T test. zip.c (Ed) 2080---------------------- July 12th 2006 version 3.0f14 ---------------------- 2081 1. Change crypt version from 2.10 to 2.91 to match Zip 2.32 and avoid 2082 confusion. crypt.h (Cosmin) 2083 2. Add abbrevmatch() to handle option values that can be abbreviated 2084 like compression method. util.c, zip.h, zip.c (Ed) 2085 3. Change USE_BZIP2 to BZIP2_SUPPORT as USE_BZIP2 implies it replaces 2086 deflation maybe. zip.c, zip.h, zipup.c (Ed) 2087 4. Update man page. man/zip.1, zip.txt (Ed) 2088 5. Add bzip2 to VMS. vms/build_zip.com, vms/bzlib.h, vms/cmdline.c, 2089 vms/descrip.mms, vms/descrip_src.mms, vms/find_bzip2_lib.com, 2090 vms/install_vms.txt, vms/zip_cli.cld (SMS) 2091 6. Remove zipfile parameter from bzfilecompress(). Add unsigned 2092 cast for EOF in bzip2 code. Add bzip2 version information. 2093 zipup.c, zip.c (SMS) 2094 7. Add bzip2 to Unix. unix/configure (SMS) 2095 8. Add and update bzip2 descriptions. INSTALL, README, WhatsNew, 2096 bzip2/install.txt (SMS, Ed) 2097 9. Add vc6bz2 projects for compiling bzip2 code into zip (not the 2098 best approach perhaps). win32/vc6/readmevc.txt, 2099 win32/vc6bz2/readvcbz.txt, win32/vc6bz2/zip.dsp, win32/vc6bz2/zip.dsw, 2100 win32/vc6bz2/zipcloak.dsp, win32/vc6bz2/zipnote.dsp, 2101 win32/vc6bz2/zipsplit.dsp (Ed) 210210. Add support for VC++ 2005 by disabling deprecation. win32/osdep.h 2103 (Cosmin) 210411. Update instructions for makefile. unix/Makefile (Ed) 210512. Update todo list. todo30.txt (Ed) 210613. Reduce #if 0 block to now allow extra data message. zipfile.c (Ed) 210714. Add note that readlocal() reads local headers. zipfile.c (Ed) 210815. Archive comment was not being read by new scanzipf_regew(). Added. 2109 zipfile.c (Ed) 211016. Handle reading and writing OEM comments. zipfile.c (Ed) 211117. Update Zip64 data descriptor note. zipfile.c (Ed) 211218. Format filetypes() check. zipup.c (Ed) 211319. Update note to remember to force deflation for descriptors by 2114 release. zipup.c (Ed) 211520. In compression code using libraries, enable dots for noisy also. 2116 zipup.c (Ed) 211721. Update extended help to add more of the basic options and 2118 compression method. zip.c (Ed) 211922. Add additional lines bz_opt_ver2 and bz_opt_ver3 to bzip2 2120 version to give credit to bzip2. zip.c (Ed) 212123. Add descriptions to version information for USE_EF_UT_TIME, 2122 NTSD_EAS, WILD_STOP_AT_DIR, WIN32_OEM, LARGE_FILE_SUPPORT, 2123 ZIP64_SUPPORT, and UNICODE_SUPPORT similar to how UnZip does. 2124 zip.c (Ed) 212524. Add note that crypt is modified in Zip 3. zip.c (Ed) 212625. Use abbrevmatch() and update warnings for compression 2127 method selection. zip.c (Ed) 212826. Update config to handle either using IZ_BZIP2 to define 2129 the location of the bzip2 files or the bzip2 directory. 2130 unix/configure, zipup.c, zip.c (SMS, Ed) 2131---------------------- July 14th 2006 version 3.0f15 ---------------------- 2132 1. Change USE_BZIP2 to BZIP2_SUPPORT in VMS. vms/descrip_src.mms, 2133 vms/build_zip.com (SMS) 2134 2. Add SYS$DISK:. vms/descrip.mms, vms/build_zip.com (SMS) 2135 3. Change vms/install.txt to [.vms]install.txt. bzip2/install.txt (SMS) 2136 4. Change VMS files to lower case. vms/mod_dep.com, vms/install_vms.txt, 2137 vms/zip.opt, vms/hlp_lib_next.com, vms/notes.txt, vms/unixlib_gcc.h, 2138 vms/unixio_gcc.h (SMS) 2139 5. Remove old VMS files. vms/descrip-old.mms (removed), 2140 vms/link_zip.com (removed), vms/make_zip.com (removed), 2141 vms/makefile.vms (removed) (SMS) 2142---------------------- July 24th 2006 version 3.0f16 ---------------------- 2143 1. Fix global dots so can set with dot size. deflate.c, fileio.c (Ed) 2144 2. Update License top line to refer only to license. License (Cosmin) 2145 3. Update License. License (Ed) 2146 4. Implement zero length UTF-8 path length as flag standard path is UTF-8 2147 and should use that. This allows Zip to use the standard path as 2148 UTF-8 when the local character set is UTF-8. zipfile.c (Ed) 2149 5. Update WhatsNew. WhatsNew (Ed) 2150 6. Change case of bzip2/install.txt. INSTALL (Ed) 2151 7. Change MANUAL.txt to ZIP.txt and update ftp site. README (Ed) 2152 8. Update announcement. zip30f.ann (Ed) 2153 9. Now also check if OS has bzip2 library and can use that. 2154 unix/configure, zip.c (Mark Adler, Ed) 215510. Add fix from akt@m5.dion.ne.jp in Japan to recurse on doublebyte 2156 characters without processing in recmatch(). This should not be needed 2157 unless the rest of the code in there is broke for Japanese character 2158 sets in some way. Need to test. util.c (Ed) 215911. Add note for bzip2. zip.c (Ed) 216012. Do not do seek wrap test if ftell() returns -1 as from a pipe. Add 2161 output of last ftell() and current ftell() for zipfile too big seek 2162 error. zipup.c (Ed) 216313. Add version to the options table. Remove the check to display version 2164 before the command line is processed. Add to option -v a check to 2165 display the version if that is the only argument. Can still enable 2166 verbose with piping by using zip -v - - format. zip.c (Ed) 216714. Add abbrevmatch() for -UN option. zip.c (Ed) 2168---------------------- August 7th 2006 version 3.0f17 ---------------------- 2169 1. Change license modifications to retain intent of copyright holders, as 2170 any major change in license conditions would require contacting all 2171 copyright holders. LICENSE (Greg, Ed) 2172 2. Move debugging statement after zipstdout() where mesg is set to stderr. 2173 Add mesg and fflush() to sd messages where needed so that messages go 2174 to stderr when piping. zip.c (Ed) 2175 3. Update encryption comment. zipup.c (Ed) 2176 4. Do not use data descriptors for directories. zipup.c (Mark, Ed) 2177 5. Update Q & A to match license. README (Ed) 2178 6. Update WhatsNew. WHATSNEW (Ed) 2179 7. Add ifndef around version_info() for dll. zip.c (Ed) 2180 8. Add -TT (--unzip-path) to allow setting the unzip command to use with 2181 -T to test the archive. zip.c (Ed) 2182 9. Add -DF (--difference-archive) which requires --out and turns off 2183 copying unchanged entries to the new archive creating an archive with 2184 just the changes and additions since the original archive was created. 2185 zip.c, globals.c, zip.h (Ed) 218610. Update help. zip.c (Ed) 2187---------------------- September 7th 2006 version 3.0f18 ---------------------- 2188 1. Split -t and -tt options and remove limitation that only one can be 2189 used to allow setting a date range. zip.c, WhatsNew (Ed) 2190 2. Minor changes in comments. zipfile.c (Ed) 2191 3. Add entries for format of Unicode Path and Unicode Comment extra fields. 2192 proginfo/extrafld.txt (Ed) 2193 4. Change note at top of infozip.who, but needs to be updated with all new 2194 contributors. proginfo/infozip.who (Ed) 2195 5. Note Zip 3 and UnZip 6 now support Zip64. proginfo/ziplimit.txt (Ed) 2196 6. Add note on Unicode. README (Ed) 2197 7. Update WHATSNEW. WHATSNEW (Ed) 2198 8. Update help. zip.c (Ed) 2199 9. Add {} support to -TT option, allowing insertion of temp archive path 2200 into the command string to -TT similar to Unix find does. zip.c (Ed) 220110. Start changes for -F fix option. Add checks when reading input archive 2202 and skip bad central directory entries and bad local entries. Currently 2203 -F requires the central directory to be intact (except for bad CD entries 2204 that will be skipped) and local entries and data to be where the 2205 central directory say they are. This allows all recovered entries to 2206 be complete with all central directory information. Calculate CRC of 2207 input entry and compare to CRC from central directory. Allow skipping 2208 split disks the user may not have. Store state of output archive 2209 before each local entry and data are read, allowing seeking back and 2210 restoring state to skip bad entries. fileio.c, global.c, zipfile.c, 2211 zip.h (Ed) 221211. Started changes for fixfix. fileio.c (Ed) 221312. Update help on -t and -tt. zip.c (Ed) 221413. Add note on Unicode support, but may change if add handling of names 2215 with characters not supported in current character set. README (Ed) 221614. Combined ToDo30.txt and ToDo but more to be done. TODO (Ed) 221715. Update ToDo list. ToDo30.txt (Ed) 221816. Add -F and -FF to help. zip.c (Ed) 221917. Run fix mode in copy mode, as it is copying from one archive to 2220 another, and use those checks. zip.c (Ed) 222118. Add Try -F and Try -FF warnings in places. zipfile.c (Ed) 222219. Allow reading version 4.6 (bzip2) archives. zipfile.c (Ed) 222320. Add Unicode Path and Unicode Comment extra field descriptions. 2224 proginfo/extrafld.txt (Ed) 222521. First attempt at updating the Who file. proginfo/infozip.who (Ed) 222622. Add note to top of ziplimit.txt. proginfo/ziplimit.txt (Ed) 222723. Add possible fix for paths returned by the Win32 directory scan with 2228 '?' in the name. These are characters in the Unicode name stored on 2229 disk but not represented in the multi-byte character set used by zip 2230 for the scan. In this case, return the short name in 8.3 format so 2231 directory scan can continue. Could put the Unicode name in the Unicode 2232 extra field, but not done. Add warning when long name is replaced 2233 by short name. Not fully tested. win32/win32zip.c, zip.h, zip.c, 2234 fileio.c (Ed) 223524. If archive name and -sf are the only parameters, list archive contents. 2236 zip.c (Ed) 2237---------------------- September 8th 2006 version 3.0f19 ---------------------- 2238 1. Fix error message. zipfile.c (SMS, Ed) 2239 2. Put crc32() in ifndef UTIL as only needed for fix. fileio.c (SMS, Ed) 2240---------------------- November 3rd 2006 version 3.0f20 ----------------------- 2241 1. Fix comment. vms/vmszip.c (SMS) 2242 2. Include oem_to_local_string() if UNICODE_SUPPORT. win32/win32.c, 2243 zip.h (Ed) 2244 3. Modify procname_win32() to flag a path not supported by the local 2245 character set so can get Unicode for it. Check Unicode names. 2246 win32/win32zip.c (Ed) 2247 4. Add matching of escaped Unicode names to proc_archive_name() that 2248 reads entries from an archive. Add sorted zlist zusort. 2249 globals.c, fileio.c, zip.h, zipfile.c (Ed) 2250 5. Add support for non-local character set names and paths for WIN32, 2251 getting and storing the UTF-8 path when needed. Use 8.3 name 2252 when normal name has characters not supported in current local 2253 character set. Note when short name used. zip.c, fileio.c (Ed) 2254 6. Add support for fix = 2 which reads local headers first to 2255 bfcopy(). fileio.c, zip.h (Ed) 2256 7. Allow selection of .zip split in ask_for_split_read_path() when 2257 reading a split archive that has no end records giving the total 2258 split count. fileio.c (Ed) 2259 8. Add zoff_t casts to dot counts. fileio.c (Ed) 2260 9. Comment changes for Unicode. fileio.c (Ed) 226110. Call wide_to_local_string() separately in utf8_to_local_string() 2262 to free up temp value. fileio.c (Ed) 226311. Support new AppNote bit 11 for forcing UTF-8, but needs finishing. 2264 globals.c (Ed) 226512. Add to zlist struct zuname for the escaped version of the UTF-8 2266 name in uname and add ouname for the display version of zuname. 2267 zip.c, zip.h, zipfile.c (Ed) 226813. Add zipmessage_nl() that can output to the screen and to the log 2269 file like zipmessage(), but can write lines without a newline. 2270 zip.c, zip.h, zipcloak.c, zipnote.c, zipsplit.c (Ed) 227114. Update help for -FF and Unicode. zip.c (Ed) 227215. Change > to >= for byte message check to avoid -0 (negative zero). 2273 zip.c (Ed) 227416. Add -su show unicode option which adds escaped unicode paths to 2275 -sf. Also uses show_files = 3. zip.c (Ed) 227617. Update comments for -UN and -X. zip.c (Ed) 227718. Add support for new AppNote bit 11 that says standard path and 2278 comment have UTF-8 when -UN=f is used. zip.c (Ed) 227919. Fix zipfile name message by replacing value with zipfile. 2280 zip.c (Ed) 228120. Add new code for -FF, which processes archives by trying to read 2282 the EOCDR to get split count, then starting with the local 2283 entries. This option does not use the standard code but does 2284 everything itself. Add scanzipf_fixnew(), which tries to read 2285 the EOCDR, then the local entries, then the central directory. 2286 zip.c, zipfile.c (Ed) 228721. Update note for ZIP64_CENTRAL_DIR_TAIL_SIZE. zipfile.c (Ed) 228822. Put read_Unicode_Path_entry() and read_Unicode_Path_local_entry() 2289 into UNICODE_SUPPORT ifdef. zipfile.c (Ed) 229023. Add zuqcmp() and zubcmp() to support Unicode sorted list of 2291 paths. zipfile.c (Ed) 229224. Update zsearch() to also search unicode paths. zipfile.c (Ed) 229325. Split out iname in read_Unicode_Path_entry() for debugging. 2294 Should put it back. Update Unicode mismatch warning. 2295 zipfile.c (Ed) 229626. Update Unicode in readlocal(). zipfile.c (Ed) 229727. Add more Unicode support to scanzipf_regnew(). zipfile.c (Ed) 229828. Add support for fix = 2 to zipcopy(). Add checks and warnings, 2299 but allow scan to continue when can. Use local data to fill 2300 in central directory fields in case no central directory entry 2301 for local entry. zipfile.c (Ed) 230229. Add get_win32_utf8path() to get UTF-8 from Windows if can. 2303 zipfile.c (Ed) 2304---------------------- November 7th 2006 version 3.0f21 ----------------------- 2305 1. Add crude data descriptor support to -FF in bfcopy() that should be 2306 updated by release. fileio.c (Ed) 2307 2. Change %d to %s and use zip_fzofft() to format zoff_t byte count. 2308 zipfile.c (SMS, Ed) 2309 3. Call local_to_oem_string() for only WIN32 in zipcopy(). zipfile.c 2310 (SMS, Ed) 2311---------------------- November 29th 2006 version 3.0f22 ----------------------- 2312 1. Change ' to " in extended help. zip.c (Ed) 2313 2. Change -dv disk number display to indisk>outdisk. zip.c (Ed) 2314 3. Finish -FF fix option. Move detailed output to require -v. zip.c (Ed) 2315 4. Add note to help to use -v with -FF to see details. zip.c (Ed) 2316 5. Add -sU option to view only Unicode names when exist. zip.c (Ed) 2317 6. Change default dot size in verbose from every buffer to 10 MB. zip.c (Ed) 2318 7. Exit if --out and in path same as out path. zip.c (Ed) 2319 8. Remove verbose information when fixing archive. zip.c (Ed) 2320 9. Initialize in disk to 0, but still problem with disk number of first entry 2321 for each disk lagging by 1. zip.c (Ed) 232210. Consistently use ZE error codes for exit from ask_for_split_read_path. 2323 zipfile.c, zip.c (Ed) 232411. Seek back when fix finds bad entries. Also skip last entry of split 2325 if next split is missing. Should check if entry completed. zip.c (Ed) 232612. Add messages to -sd for writing the central directory, replacing the old 2327 zip file, and setting file type. zip.c (Ed) 232813. Don't set file type on stdout. zip.c (Ed) 232914. Increase errbuf from FNMAX + 81 to FNMAX + 4081. zip.h (Ed) 233015. Add skip_this_disk, des_good, des_crc, des_csize, and des_usize globals 2331 for -FF and reading data descriptors. Change note on display_volume. 2332 Add global skip_current_disk. zip.h, globals.c (Ed) 233316. BFWRITE_HEADER define now also does data descriptor. zip.h (Ed) 233417. Skip zipoddities() if fix. Maybe can later add back. zipfile.c (Ed) 233518. Update fix messages. zipfile.c (Ed) 233619. Allow user to end archive early using ZE_EOF. zipfile.c, fileio.c (Ed) 233720. Only show split numbers and offsets for -FF if verbose. zipfile.c (Ed) 233821. Handle spanning signature at top of split archive. zipfile.c (Ed) 233922. Only close in_file if open. zipfile.c (Ed) 234023. Add note if no .zip and only splits suggest use -FF. zipfile.c (Ed) 234124. In putlocal() and putcentral() only convert to OEM if z->vem == 20. 2342 zipfile.c (Ed) 234325. Do not OEM convert archive comment as PKWare says this should 2344 be ASCII. zipfile.c (Ed) 234526. Fix swap of siz and len and LOCSIZ and LOCLEN. zipfile.c (Ed) 234627. Call read_Unicode_Path_local_entry() before OEM conversion so Unicode 2347 checksum checks iname before conversion. zipfile.c (Ed) 234828. Only check if local and central crc match if not stream entry. 2349 zipfile.c (Ed) 235029. Keep data descriptors if fix == 2, but need to look at this. 2351 zipfile.c (Ed) 235230. Fix bug adding up header bytes in n by adding 4 for signature. 2353 zipfile.c (Ed) 235431. If fix == 2 use local crc for central, otherwise use central crc 2355 for local. zipfile.c (Ed) 235632. In zipcopy(), check data descriptor and skip if not correct one. 2357 zipfile.c (Ed) 235833. Add SH, LG, and LLG macros from zipfile.c to allow reading the data in 2359 the data descriptor. fileio.c (Ed) 236034. In bfcopy(), read and check the data descriptor if n == -2. If 2361 run out of bytes before find descriptor, return error. fileio.c (Ed) 236235. In ask_for_split_read_path(), increase buf to SPLIT_MAX_PATH + 100, 2363 fix bug by adding "- 1", set split_dir = "" if current directory, 2364 and update prompts to add skip and end choices. Add skip and end 2365 choices. fileio.c (Ed) 236636. Increase buffer for fgets to SPLIT_MAXPATH. fileio.c (Ed) 236737. Update WhatsNew. WhatsNew (Ed) 2368---------------------- December 10th 2006 version 3.0f23 ----------------------- 2369 1. Handle additional ODS5 issues by upper casing many symbols and file names. 2370 vms/build_zip.com, vms/collect_deps.com, vms/descrip.mms, 2371 vms/descrip_mkdeps.mms, vms/descrip_src.mms, vms/find_bzip2_lib.com (SMS) 2372 2. Update VMS Find Help Library code. vms/hlp_lib_next.com (SMS) 2373 3. Instead of tempname use temp_name as parameter to avoid function 2374 tempname(). zipsplit.c, zipnote.c, zipcloak.c, zip.c (Ed) 2375 4. If fixing archive with -FF and no EOCDR to get disk count, see if top of 2376 archive has spanning signature or local header and guess if it is 2377 single-disk archive, then ask user to confirm. zipfile.c (Ed) 2378 5. For Unix where NO_MKSTEMP is not defined, replace mktemp() with mkstemp() 2379 that avoids a race condition. zip.c, zipcloak.c, zipnote.c, fileio.c (Ed) 2380 6. Eliminate mkstemp() warning by using mkstemp() instead of mktemp() for 2381 Unix. Only for UNIX and if NO_MKSTEMP is not defined. Many OS do not 2382 have mkstemp(). zipcloak.c, zipnote.c, zip.c, fileio.c (Ed) 2383 7. If UNICODE_SUPPORT and UNIX then try to switch to UTF-8 locale to allow 2384 displaying of Unicode, otherwise just get escapes. This results in some 2385 characters displaying as whitespace if needed fonts, such as East Asian, 2386 are not installed. zip.c (Ed) 2387 8. If new global unicode_escape_all is set, then escape all non-ASCII 2388 characters when converting Unicode file path. This allows viewing paths 2389 as escapes on Unix that would otherwise be white space. If not set, any 2390 characters that map to the current locale are returned as is. Can only 2391 display if either supported as base by the OS or fonts installed. Set 2392 using -UN=escape option. zip.c, fileio.c, zip.h, globals.c (Ed) 2393 9. Update extended help for Unicode. zip.c (Ed) 239410. All variables used by Win32 in global.c should now be initialized at 2395 start so dll is initialized each call. zip.c (Ed) 2396---------------------- January 1st 2007 version 3.0f24 ----------------------- 2397 1. Fix a problem when building with (old, obsolete) IM attribute encoding 2398 combined with bzip2 support. vms/descrip_src.mms (SMS) 2399 2. Update WHATSNEW. WhatsNew (Ed) 2400 3. Update README. ReadMe (Ed) 2401 4. Remove in_crc code. Too involved to implement but may look at later. 2402 fileio.c, globals.c, zip.c (Ed) 2403 5. Use 0x50 and 0x4b for 'P' and 'K' in signatures to handle EBCDIC case. 2404 zipfile.c, fileio.c (Ed) 2405 6. Implement new -FS file sync option that deletes entries missing on the 2406 file system from an archive being updated. globals.c, zip.c (?, Ed) 2407 7. Update help. zip.h, zip.c (Ed) 2408 8. Include scanning files dots when update small but new file scan long. 2409 zip.c (Ed) 2410 9. Ask if single-file archive when using -FF and can't tell. zipfile.c (Ed) 241110. Display message when entry would be truncated. zipfile.c (Ed) 241211. Check for VMS_IM_EXTRA. Update bzip2 support for VMS. Change 2413 destination directory if large-file enabled. vms/build_zip.com, 2414 vms/descrip_src.mms (SMS) 241512. Change parameters for VMS bzip2 search. vms/find_bzip2_lib.com (SMS) 2416---------------------- January 12th 2007 version 3.0f25 ----------------------- 2417 1. Incorporate faster crc32.c including the Rodney Brown changes (originally 2418 implemented in the zlib project) from UnZip, which includes the 2419 IZ_CRC_BE_OPTIMIZ and IZ_CRC_LE_OPTIMIZ optimizations when those symbols 2420 are defined. These modifications include: 2421 - enlarge unrolling of loops to do 16 bytes per turn 2422 - use offsets to access each item 2423 - add support for "unfolded tables" optimization variant 2424 crc32.c (Christian) 2425 2. As the crc32.c module now includes crc table generation, remove crctab.c. 2426 crctab.c (remove) (Christian) 2427 3. Update crc i386 assembler code from UnZip (details see above). 2428 win32/crc_lcc.asm, win32/crc_i386.asm, win32/crc_i386.c, crc_i386.S 2429 (Christian) 2430 4. Guard against redefinition of symbols @CodeSize and @DataSize in memory 2431 model setup section to work around Open Watcom (version 1.6) wasm 2432 assembler problem. msdos/crc_i86.asm (Christian) 2433 5. Change type of keys[] array for new crc, add IZ_CRC_BE_OPTIMIZ, and 2434 use new crypt crc table. Use header buffer instead of buf for header. 2435 crypt.c, crypt.h (Christian) 2436 6. Update version and remove crc table. crypt.h (Christian) 2437 7. Add crc32.h, change sprintf() format for disk number from d to lu as 2438 can go over 16-bit, remove crc32u(). fileio.c (Christian) 2439 8. Update to use new crc. msdos/makefile.bor, msdos/makefile.dj1, 2440 msdos/makefile.dj2, msdos/makefile.emx, msdos/makefile.msc, 2441 msdos/makefile.tc, msdos/makefile.wat, unix/Makefile, 2442 vms/build_zip.com, vms/descrip_deps.mms, vms/descrip_src.mms, 2443 vms/osdep.h, win32/makefile.bor, win32/makefile.dj, win32/makefile.emx, 2444 win32/makefile.gcc, win32/makefile.ibm, win32/makefile.lcc, 2445 win32/makefile.w10, win32/makefile.w32, win32/makefile.wat, 2446 win32/makenoas.w32, win32/vc6/zip.dsp, 2447 win32/vc6/zipcloak.dsp, win32/vc6/zipnote.dsp, win32/vc6/zipsplit.dsp, 2448 win32/vc6bz2/zip.dsp, win32/vc6bz2/zipcloak.dsp, win32/vc6bz2/zipnote.dsp, 2449 win32/vc6bz2/zipsplit.dsp, windll/visualc/dll/zip32.dsp, 2450 windll/visualc/dll/zip32.mak, windll/visualc/lib/zip32.dsp, 2451 win32/visualc/lib/zip32.mak (Christian) 2452 9. Include crc32.h. Make variable uname local in proc_archive_name(). 2453 Remove unused num and new_base_path. Change %02d to %02l2 for 2454 disk number in print format. Remove crc32u() as now use crc32(). 2455 Add parentheses around conditions in loops. Use 0 instead of NULL 2456 for zwchar. fileio.c (Christian) 245710. Add z_uint4 defines from crypt.c to tailor.h. Move uch, ush, and ulg 2458 typedefs before tailor.h include which needs them. tailor.h, zip.h (SMS) 245911. Include crc32.h. change add_name() to return not int but long 2460 since number of command line arguments can exceed 16 bits. Cast 2461 variable option to (int) for subtraction. Change 0x400 to 0x400L. 2462 Add braces to show_files print block. zip.c (Christian) 246312. Add warning if use -F or -FF without --out. Change defined(NO_MKSTEMP) 2464 to !defined(NO_MKSTEMP). zip.c (Ed) 246513. Define EC64LOC and EC64REC for size of Zip64 EOCD Locator and Zip64 2466 EOCD Record. Add extern for crc_32_tab. Move crc32() to crc32.h. 2467 zip.h (Christian) 246814. Add crc.h. zipcloak.c (Christian) 246915. Include crc32.h. Comment out scanzipf_reg() and scanzipf_fix() as 2470 no longer used, which are left in for now for comparison. Cast 2471 blocksize to extent for malloc(). Instead of 0x10000 malloc 0xFFFF for 2472 extra field block so fits in 16 bits. Instead of crc32u() use crc32(). 2473 Only do lflg != flg check for fix == 2. Add comments to various #endif. 2474 Indent comment. Comment out copy_sig() which is not used. Reduce size 2475 of SCAN_BUFSIZE to EC64REC for MEMORY16. Use ENDHEAD for EOCDR size. 2476 Change %u to %lu in print formats for disk count. Use EC64LOC for size 2477 of Zip64 EOCD Locator. Use EC64REC for size of Zip64 EOCD Record. 2478 Add streaming and was_zip64 to ZIP64_SUPPORT. Remove lflg != flg check 2479 in zipcopy(). zipfile.c (Christian) 248016. Add note that z-flg & ~0xf check will fail if new bit 12 for UTF-8 paths 2481 and comments is set. Update -FF warning. zipfile.c (Ed) 248217. Include crc32.h. Modify tempzn update. Fix comment. Set 2483 z->lflg = z->flg after deflate as deflate may have set bits in z->flg 2484 [Ed, Christian]. Include BZIP2_SUPPORT block in !UTIL block. zipup.c 2485 (Christian) 248618. Changes to use crc32.c. acorn/gmakefile, acorn/makefile, amiga/lmkfile, 2487 amiga/makefile.azt, amiga/smakefile, aosvs/make.cli, atari/makefile, 2488 atheos/makefile, beos/makefile, cmsmvs/cczip.exec, cmsmvs/mvs.mki, 2489 cmsmvs/zip.makefile, cmsmvs/zipmvsc.job, cmsmvs/zipvmc.exec, 2490 human68k/makefile, human68k/makefile.gcc, novell/makefile, novell/zip.lnk, 2491 os2/makefile.os2, qdos/makefile.qdos, qdos/makefile.qlzip, tandem/history, 2492 tandem/macros, tandem/tandem.h, theos/makefile, tops20/make.mic, 2493 unix/configure, unix/makefile, win32/makefile.a64 (Christian) 249419. Add note to use BZ_NO_STDIO. bzip2/install.txt (Ed) 249520. Remove crctab. cmsmvs/zipvmc.exec (Ed) 249621. Update comment. macos/source/pathname.c (Christian) 249722. Start of manual update. Zip.1 (Ed) 249823. Changes to use crc32.c. vms/descrip.mms, vms/descrip_deps.mms, 2499 vms/descrip_mkdeps.mms, vms/descrip_src.mms, vms/vms.c (SMS) 2500---------------------- January 17th 2007 version 3.0f26 ----------------------- 2501 1. Add note for UnZip. crypt.c (Christian) 2502 2. Change current_disk and disk_number from int to ulg. Change num from int 2503 to unsigned int. [Even though a 16-bit system likely won't see more than 2504 64k disks, it probably should be ulg - Ed] Remove unused mbsize. Change 2505 match from long to int as the number of possible options should always fit 2506 in that. fileio.c, globals.c (Christian) 2507 3. Use -Gt to force some data into separate data segments so all data fits. 2508 msdos/makefile.msc (Christian) 2509 4. Move some copyright constants to far to save near space. 2510 revision.h (Christian) 2511 5. Change u for character from int to unsigned int. util.c (Christian) 2512 6. Move include of crc32.h from vms/vms.c to vms/vms_pk.c. vms/vms.c, 2513 vms/vms_pk.c (Christian) 2514 7. Update crci386_.o. win32/makefile.gcc (Christian) 2515 8. Use NOASM=1 to disable assembler and clear variables when do not. 2516 win32/makefile.w32 (Christian) 2517 9. Remove unused totalslashes and returnslashes from get_win32_utf8path(). 2518 win32/win32zip.c (Christian) 251910. Remove local versions of tempzip and tempzf. 2520 zip.c (Christian) 252111. Make options[] far. Change cd_start_disk from int to ulg. Cast -1 to 2522 (ulg) for cd_start_disk. Put here = zftello() in DEBUG defines. 2523 zip.h, zip.c (Christian) 252412. Change length of zipfile comment parameter from ush to extent. Change 2525 disk numbers from int to ulg in close_split(), ask_for_split_read_path(), 2526 ask_for_split_write_path(), get_in_split_path(), find_in_split_path(), 2527 get_out_split_path(). Add Far to longopt and name strings in 2528 option_struct. zip.h (Christian) 252913. Add far to options[]. zipcloak.c (Christian, Ed) 253014. Define write_string_to_mem() only for UNICODE_SUPPORT. Change ulg to 2531 extent for append to mem memory offset and blocksize parameters. Make 2532 at_signature() local. Cast usValue to char. Remove unused oname in 2533 read_Unicode_Path_local_entry(). Remove local definitions of zip64_entry 2534 as Zip is always processing one entry at a time and this is a global 2535 flag for the current entry. Make find_next_signature() and 2536 find_signature() local. Add ZCONST to signature parameter. Make 2537 is_signature() and at_signature() local. Change m, result of fread(), 2538 from int to extent. Reduce SCAN_BUFSIZE from 0x40000 to the size of the 2539 largest header being read. As find_next_signature() is used to scan for 2540 the next signature and that reads a byte at a time, the scan buf is only 2541 used to read in the found headers. Since we skip the extra parts of the 2542 Zip64 EOCDR, all headers are a fixed size. Remove unused variables from 2543 scanzipf_fixnew(). Use ENDCOM for end comment offset. Instead of 64 KB 2544 seek back 128 KB to find EOCDR. Use ENDOFF and ENDTOT for offsets in 2545 EOCDR. Remove tabs. Merge versions of putend(). Update Amiga SFX. 2546 Remove unused offset in zipcopy(). Make size local in zipcopy(). 2547 zipfile.c (Christian) 254815. Update putend() comment. zipfile.c (Ed) 254916. Add far to options[]. zipnote.c, zipsplit.c (Christian) 255017. Add NO_ASM versions of Win32 zipnote, zipsplit, and zipcloak projects. 2551 Add crc32.h and crc32.c to zipsplit and zipnote projects. 2552 win32/vc6/zipsplit.dsp, win32/vc6/zipnote.dsp, win32/vc6/zipcloak.dsp (Ed) 255318. Add NO_ASM versions of Win32 bzip2 zipnote, zipsplit, and Zipcloak 2554 projects. Add crc32.h and crc32.c. win32/vc6bz2/zipsplit.dsp, 2555 win32/vc6bz2/zipnote.dsp, win32/vc6bz2/zipcloak.dsp (Ed) 255619. Update Win32 dll and lib projects and make files. 2557 windll/visualc/lib/zip32.dsp, windll/visualc/lib/zip32.mak, 2558 windll/visualc/dll/zip32.dsp, windll/visualc/dll/zip32.mak (Ed) 255920. Remove space in front of #ifdef and other conditionals that slipped in. 2560 zipfile.c, zipup.c (SMS) 256121. Updates for bzip2. vms/bzlib.h, vms/install_vms.txt (SMS) 256222. Updates. vms/notes.txt (SMS) 256323. Update copyrights. crc32.c, deflate.c, globals.c, revision.h, ziperr.h, 2564 trees.c, win32/nt.c, win32/win32.c, win32/win32i64.c, win32/win32zip.h, 2565 win32/zipup.h (Ed) 256624. Update WhatsNew. WHATSNEW (Ed) 2567---------------------- February 4th 2007 version 3.0f27 ----------------------- 2568 1. Fix array sizes and loop lengths in wide_to_escape_string(). fileio.c 2569 (Johnny, Ed) 2570 2. Fix escape_string_to_wide() to handle hex strings, then comment out as 2571 not used. zip.h, fileio.c (Ed) 2572 3. Use ZIPERRORS() macro instead of ziperrors[] array. zip.c, zipcloak.c, 2573 zipnote.c, zipsplit.c (SMS) 2574 4. Add VMS-compatible "severity" values, add new ZE_SEV_PERR define to 2575 set when perror() needs to be called, add ZIPERRORS() macro, change 2576 PERR() to use ZE_SEV_PERR, change ziperrors[] to new structure array 2577 to hold error strings, add new VMS facility names and severity codes 2578 assigned by HP to ziperrors[] array, and add new official 2579 VMS_MSG_IDENT. ziperr.h (SMS) 2580 5. Change ZE_SEV defines to ZE_S to save space and reformat ziperrors[]. 2581 ziperr.h (Ed) 2582 6. Update install.txt to include generic Unix case. bzip2/install.txt (Ed) 2583 7. Add creation of message file and add NOMSG message. vms/build_zip.com, 2584 vms/descrip.mms, vms/install_vms.txt (SMS) 2585 8. Update notes.txt to add changes to program exit status values and changes 2586 to messages. vms/notes.txt (SMS) 2587 9. Include crc32.h, include ssdef.h, instead of FAB_OR_NAM use FAB_OR_NAML, 2588 add status code summary note detailing old versus new error codes, and if 2589 CTL_FAC_IZ_ZIP is 0x7FFF and OLD_STATUS is defined use old VMS error codes. 2590 vms/vms.c (SMS) 259110. Change FAB_OR_NAM to FAB_OR_NAML and remove NAME_DNA, NAME_DNS, NAME_FNA, 2592 and NAME_FNS. vms/vms.h (SMS) 259311. Change FAB_OR_NAM to FAB_OR_NAML. vms/vms_im.c, vms/vms_pk.c, 2594 vms/vmszip.c (SMS) 259512. Fix compile warning on VC 2005. win32/makefile.w32 (Johnny) 259613. Update readmevb.txt and readvb64.txt. windll/vb/readmevb.txt, 2597 windll/vbz64/readvb64.txt (Ed) 259814. Change tch from int to ulg in utf8_from_ucs4_char(). Move comments to keep 2599 line lengths to 80 characters. fileio.c (Christian) 260015. Update comment for total_cd_entries. global.c, zip.c, zip.h (Christian) 260116. Comment out unused Adler-16 code. util.c, zip.h (Christian) 260217. Add InterlockedExchangePointer() macro if not defined. Update Initialize() 2603 to use macro. nt.c (Christian) 260418. Move zip64 eocd disk and offset variables next to input archive variables. 2605 zip.c (Ed) 260619. Remove zipbegset from scanzipf_fixnew() as offsets are ignored when this 2607 is fixing archives. Add comment to cd_total_entries. Remove local 2608 cd_start_disk and cd_start_offset as these are already global. Use 2609 ZIP_UWORD16_MAX when disk number exceeds this to flag use of Zip64. 2610 zipfile.c (Christian) 261120. Some comment changes. zipfile.c (Ed) 261221. Fix indentation in places. zipsplit.c (Christian) 261322. Remove unused variable zfile. zipup.c (Christian) 261423. Update manual. zip.1, zip.txt, zipsplit.txt (Ed) 2615---------------------- February 22nd 2007 version 3.0f28 ---------------------- 2616 1. Update notes. vms/notes.txt (SMS) 2617 2. Add stream_lf.fdl to specify carriage control. vms/stream_lf.fdl (SMS) 2618 3. Update License to also refer to www.info-zip.org and to hopefully provide 2619 an example of misrepresentative use. LICENSE (Ed) 2620 4. Update Readme. README (Ed) 2621 5. Update WhatsNew. WHATSNEW (Ed) 2622 6. Change output archive cd_start_disk and cd_start_offset to input archive 2623 local in_cd_start_disk and in_cd_start_offset in scanzipf_fixnew() and 2624 scanzipf_regnew() to avoid mixing in and out. zipfile.c (Ed) 2625 7. Update copyright. Remove crc32.h include. vms/vms.c (Christian) 2626 8. Changes for new crc32. Remove CRC32. Add CRCA_0 and CRCAUO. Add 2627 compiling of crc_i386.S. win32/makefile.emx. (Christian) 2628 9. Add handlers for better RSXNT and Windows OEM conversions. Add detailed 2629 comments on conversions. win32/osdef.h (Christian) 263010. Define CP_UTF8. win32/rsxntwin.h (Christian) 263111. Define WIN32_LEAN_AND_MEAN to reduce size of Windows includes. 2632 win32/win32.c, win32/win32zip.c, zip.c (Christian) 263312. Use only standard FAT attributes if OEM. win32/win32zip.c (Christian) 263413. Add use of INTERN_TO_OEM() and related OEM changes. Add console comment. 2635 zip.c (Christian) 263614. Change severity from char to int. Update macros. ziperror.h. (Christian) 263715. Update Visual Basic project to clarify some of the code. 2638 windll/vbz64/vbzip.vbp, windll/vbz64/vbzipbas.bas, 2639 windll/vbz64/vbzipfrm.frm (Ed) 264016. Update copyright. api.c (Ed) 264117. Update format for duplicate entry warning. fileio.c (Ed) 264218. Instead of ifdef __RSXNT__ use ifdef WIN32. Define WIN32_LEAN_AND_MEAN. 2643 Use WIN32_CRT_OEM. Change OEM check from vem == 20 to vem & 0xff00 == 0 2644 and instead of local_to_oem_string() use _INTERN_OEM(). Remove unused 2645 first_CD in scanzipf_fixnew(). Instead of oem_to_local_string() use 2646 Ext_ASCII_TO_Native(). Instead of local_to_oem_string() use 2647 INTERN_TO_OEM(). zipfile.c (Christian) 264819. Replace escape from zipsplit man page with '. zipsplit.txt (Christian) 264920. Instead of using 20 every time, account for dosify when setting vem. 2650 Update FAT comment. zipup.c (Christian) 2651------------------------ March 3rd 2007 version 3.0f29 ------------------------- 2652 1. Remove crctab.c. vms/build_zip.com (SMS) 2653 2. Add LFLAGS_ARCH. vms/descrip.mms (SMS) 2654 3. Remove redundant includes descrip.h, rms.h, and atrdef.h. 2655 vms/vmsmunch.c (SMS) 2656 4. Remove includes descrip.h and rms.h. vms/vmszip.c (SMS) 2657 5. Only define NO_UNISTD_H if __VAX defined or __CRTL_VER is 2658 less than 70301000, allowing support of the new symbolic 2659 links in VMS. Also use unlink instead of delete if version 2660 above 70000000. vms/osdep.h (SMS) 2661 6. Formatting changes. vms/notes.txt, vms/install_vms.txt (Christian) 2662 7. Remove spaces before tabs. win32/makefile.emx (Christian) 2663 8. Formatting change. win32/osdep.h (Christian) 2664 9. If -y on VMS open the link not the target file. vms/vms_im.c (SMS) 266510. If -y on VMS search for the link, not the target file. vms/vms_pk.c (SMS) 266611. Change default for Unicode path mismatch from error to warning, so 2667 processing will continue. zip.c, globals.c (Ed) 2668------------------------ March 12th 2007 version 3.0f30 ------------------------ 2669 1. Add bzip2 support for the reduced no stdio bzip2 library for VMS and Unix. 2670 Use libbz2_ns_.olb for VMS bzip2 library which is compiled from the VMS 2671 version of bzip2 with the BZ_NO_STDIO flag set. This flag removes most 2672 standard bzip2 stdio support and enables using a callback routine for 2673 errors. zbz2err.c, unix/Makefile, vms/build_zip.com, vms/descrip.mms, 2674 vms/descrip_deps.mms, vms/descrip_src.mms (SMS) 2675 2. Add zbz2err.c to Win32 vc6bz2 project for support of BZ_NO_STDIO for bzip2. 2676 Modify zbz2err.c to handle different ports. zbz2err.c (Ed) 2677 3. Update license. zip.h (Ed) 2678 4. Update copyright. zip.c, zipfile.c, zipup.c, zbz2err.c, revision.h (Ed) 2679 5. Fix bug where directories got set to ver 4.6 in local headers instead of 2680 ver 1.0 when using bzip2. zipfile.c, zipup.c (Ed) 2681 6. Minor updates to INSTALL. INSTALL (Ed) 2682 7. Minor updates to README. README (Ed) 2683 8. Add BZ_NO_STDIO to vc6bz2 projects. Error routine seems to work. 2684 win32/vc6bz2 (Ed) 2685 9. Set bit FAB$M_BIO (.fab$v_bio) in the FAB when using sys$open() on a 2686 symlink. vms/vms_im.c (SMS) 268710. Change sys$disk to SYS$DISK. vms/build_zip.com (SMS) 268811. Update extended help. zip.c (Ed) 268912. Update bzip2 install. bzip2/install.txt (Ed) 2690------------------------ March 19th 2007 version 3.0f31 ------------------------ 2691 1. Define bz2_olb as LIBBZ2_NS.OLB. Change LIBBZ2.OLB to bz2_olb. Use 2692 ZZBZ2ERR.C error callback for bzip2. vms/build_zip.com (SMS) 2693 2. Change NO_SYMLINK to NO_SYMLINKS to be consistent with UnZip. tailor.h, 2694 acorn/osdep.h, macos/osdep.h, tops20/osdep.h, vms/osdep.h (SMS) 2695 3. Minor note changes. Add section on Symbolic Links. vms/notes.txt (SMS) 2696 4. Update copyright. globals.c (Ed) 2697 5. Update License with official copy. LICENSE (Greg, Ed) 2698 6. Update Readme. README (Ed) 2699 7. Add support for NO_BZIP2_SUPPORT. tailor.h (Ed) 2700 8. Add common compiler flags to Install. INSTALL (Ed) 2701 9. Remove SPLIT_FILE define. zip.c (Ed) 270210. Minor updates to extended help. zip.c (Ed) 270311. Modify Makefile to also build bzip2 library if found. Split $MAKE 2704 ("make -f unix/Makefile") into $MAKE and $MAKEF, leaving $MAKE as defined by 2705 Make and defining $MAKEF to "-f unix/Makefile". Add clean_bzip2 target. 2706 unix/Makefile (SMS) 270712. Modify configure to handle compiling bzip2. unix/configure (SMS) 270813. Remove linking bzip2 with utilities. Other changes. unix/Makefile (Ed) 270914. Change bzip2 wrong library errors to warnings. Put back OS bzip2 library 2710 check. Only compile bzip2 if in bzip2 directory. unix/configure (Ed) 271115. More modifications to Makefile and configure to only allow compiling in 2712 the bzip2 directory. unix/Makefile, unix/configure (Ed) 2713------------------------ March 27th 2007 version 3.0f32 ------------------------ 2714 1. Modify configure and Makefile to only allow compiling bzip2 in the Zip bzip2 2715 source directory. unix/Makefile, unix/configure (SMS, Ed) 2716 2. Update bzip2 installation instructions. bzip2/install.txt (SMS, Ed) 2717 3. Remove need for BZIP2_USEBZIP2DIR define by using an appropiate include dir 2718 specification (-I ../../bzip2) when needed. zip.c, win32/vc6bz2/zip.dsp, 2719 unix/configure (SMS, Ed, Christian) 2720 4. Update VC6 readme. win32/readmeVC.txt (Christian, Ed) 2721 5. Add crc32.h to VC projects. Add assembler group to zipcloak, zipnote, and 2722 zipsplit projects. Add BZ_NO_STDIO to all configurations with bzip2 so 2723 reduced bzip2 code is used. win32/vc6/zip.dsp, win32/vc6/zipcloak.dsp, 2724 win32/vc6/zipnote.dsp, win32/vc6/zipsplit.dsp (Christian) 2725 6. Update VC6bz2 readme. win32/readVCBZ.txt (Christian, Ed) 2726 7. Modify bzip2 VC6 workspace to use standard zipcloak, zipnote, and zipsplit 2727 projects as they don't need bzip2. win32/vc6bz2/zip.dsw (Christian) 2728 8. Fix zlib flag problem by properly setting and clearing deflInit flag to 2729 initialize and release resources. zipup.c (Bill Brinzer, Christian) 2730 9. Update copyright. crypt.h, api.c, tailor.h, fileio.c, ziperr.h, 2731 zipsplit.c, zipnote.c, zipcloak.c, util.c (Ed) 2732------------------------ April 25th 2007 version 3.0f33 ------------------------ 2733 1. Fix -dd display_dots option for VMS. Fix adding value for -ds to command 2734 line. Fix /NAMES = AS_IS for older header files. cmdline.c (SMS) 2735 2. Add Win32 wide scan support. In fileio.c add Win32 wide functions lastw(), 2736 msnamew(), newnamew(), wchar_to_wide_string(), is_ascii_stringw(), 2737 wchar_to_local_string(), and wchar_to_utf8_string(). In globals.c 2738 add no_win32_wide that is true if the wide versions of calls like 2739 GetFileAttributesW() do not work as on Win9x without the Unicode kit. 2740 In tailor.h define zwstat for stats that use wchar_t strings and 2741 defines SSTATW and LSSTATW. In util.c add isshexpw() and recmatchw() 2742 and dosmatchw() for matching using wchar_t strings. In win32.c add 2743 FSusesLocalTimeW(), IsFileSystemOldFATW(), GetFileModeW(), GetLongPathEAW(), 2744 and zstat_zipwin32w(). In win32zip.c add zdirscanw structure, 2745 GetDirAttribsW(), zDIRSCANW, readdw(), wild_recursew(), procname_win32w(), 2746 OpenDirScanW(), GetNextDirEntryW(), CloseDirScanW(), procnamew(), 2747 local_to_wchar_string(), wchar_to_utf8_string(), in wild() code to 2748 check if W versions are supported and send zip down byte or wide path, 2749 ex2inw(), in2exw(), and filetimew(). In zipup.h define zwopen to use 2750 wide paths. In zipup.c if supported use filetimew() and zwopen(). 2751 In zip.h add namew, inamew, and znamew to zlist and flist. In zip.c 2752 remove duplicate initialization of use_wide_to_mb_default, force_zip64, 2753 zip64_entry, and zip64_archive. Use filetimew() if UNICODE_SUPPORT and 2754 using wide paths for directory scan. Remove old 8.3 path Unicode fix as 2755 now use wide paths and get all where the 8.3 kluge missed paths where 2756 characters in path needed multiple code pages. Changes to bit 11 Unicode 2757 but still not ready. fileio.c, globals.c, tailor.h, util.c, zipup.h, 2758 win32/win32.c, win32/win32zip.c, win32/win32.h, zipup.c, zip.c (Ed) 2759 3. Update copyright. Don't define UNICODE_SUPPORT if already defined. 2760 Define MATCHW and zstat_zipwin32w(). win32/osdep.h (Ed) 2761------------------------ April 29th 2007 version 3.0f34 ------------------------ 2762 1. Add temporary option -sC to test Unicode file creation enabled with 2763 UNICODE_TEST define. zip.c, fileio.c (Ed) 2764 2. On Unix display control characters as ^X as UnZip. (SMS) fileio.c 2765 3. Update extended help. zip.c (Ed) 2766 4. Fix bugs in Unicode changes. zip.c, fileio.c (SMS, Ed) 2767 5. Add NAMES AS_IS support. Handle root dir [000000]. zip.h, 2768 vms/install_vms.txt, vms/vmszip.c, vms/vmsmunch.c (SMS) 2769 6. Add global zipfile_exists to handle missing zipfile errors better. zip.h, 2770 globals.c, zip.c (Ed) 2771 7. Add functions utf8_to_escape_string(), wide_to_escape_string(), 2772 local_to_escape_string(), utf8_to_wchar_string(), and 2773 rename wide_to_escape_string() to wide_char_to_escape_string(). fileio.c, 2774 win32/win32zip.c, zip.h (Ed) 2775 9. Free f->inamew in fexpel(). Use zuname for matching. fileio.c (Ed) 277610. Fix memory bug by setting z->namew, z->inamew, and z->znamew to NULL. 2777 Set f->namew, f->inamew, and f->znamew to NULL for new file in newname(). 2778 Free wide_string in local_to_utf8(). Other Unicode fixes. Add namew, 2779 inamew, and znamew to freeup(). fileio.c, win32/win32zip.c, zip.h (Ed) 278011. Move wchar functions only used by Windows to win32zip.c. fileio.c, 2781 zip.h (Ed) 278212. Fix spelling in manual. zip.1 (SMS, Ed) 278313. Add zuebcmp() for Unicode. zipfile.c 278414. Open files to read using wide name as input path. zipup.c (Ed) 278515. Update help. zip.c (Ed) 278616. Change -TT long option from --unzip-path to --unzip-command. zip.c (Ed) 278717. Update Manual to include section on Unicode, add -TT option, make some 2788 changes to Unicode in other sections, update copyright at bottom, and 2789 some small changes to wording and examples. man/zip.1, zip.txt (Ed) 279018. Put #ifdef WIN32 around WIN32 blocks. zipfile.c (Ed) 2791------------------------- May 14th 2007 version 3.0f35 ------------------------- 2792 1. Update VMS to include new options. vms/cmdline.c, vms/zip_cli.cld (SMS) 2793 2. Update VMS help. vms/vms_zip.rnh (SMS) 2794 3. Minor updates to VMS help. vms/vms_zip.rnh (Ed) 2795 4. Create global filter_match_case that defaults to 1 (case-sensitive). zip.c 2796 zip.h, globals.c (Ed) 2797 5. Add option -fc to fold case for case-insensitive matching in filter(). 2798 Currently enabled only for WIN32. zip.c, win32/osdep.h (Ed) 2799 6. Change (action == DELETE || action == FRESHEN) to filter_match_case in 2800 PROCNAME() define. I just couldn't figure out what was going on here and 2801 why the case flag was controlled by this. zip.c (Ed) 2802 7. Update WhatsNew. WHATSNEW (Ed) 2803------------------------- May 17th 2007 version 3.0f36 ------------------------- 2804 1. Touch date on generated file. vms/ZIP_MSG.MSG (SMS, Ed) 2805 2. Update Betas readme to include Release Candidates. Betas_Readme.txt (Ed) 2806 3. Update Zip 3.0f announcement. zip30f.ann (Ed) 2807 4. Minor updates to VMS help. vms/cvthelp.tpu, vms/vms_zip.rnh (SMS) 2808 5. Major changes to VMS CLI help. vms/zip_cli.help (SMS, Ed) 2809 6. Update license. revision.h (Ed) 2810------------------------- May 21st 2007 version 3.0f37 ------------------------- 2811 1. Rename -fc (fold case) to -ic (ignore case) which may be more intuitive. 2812 zip.c (Ed) 2813 2. VMS CLI updates for new options. vms/cmdline.c, vms/vms_zip.rnh, 2814 vms/zip_cli.cld, vms/zip_cli.help (SMS) 2815 3. Updates to support Watcom C, mingw, djgppv2 and msc-16-bit, including 2816 supporting wide stat and compare calls and work-around for problem with 2817 "no symlink support" detection. tailor.h, util.c, zip.c, win32/osdep.h, 2818 win32/win32.c, win32/win32/zipup.h (Christian) 2819------------------------- May 29th 2007 version 3.0f38 ------------------------- 2820 1. Update description. file_id.diz (Ed) 2821 2. Handle better when not splitting and run out of disk space. Also, for split 2822 method 1 (automatically write all splits to same place) exit if run out of 2823 space instead of filling available space with near empty splits. For split 2824 method 2 require splits to be at least 64K bytes (the minimum split size). 2825 fileio.c (Ed) 2826 3. Add line break in ziperr() if message line has been started. zip.c (Ed) 2827 4. In ziperr() don't close output handle y if same as current_local_file handle 2828 and just closed that. zip.c (Ed) 2829 5. Change default definition of PROCNAME() to handle new filter_match_case flag 2830 and restore backward compatibility. zip.c (Christian, Ed) 2831 6. Add note detailing definition of PROCNAME(). zip.c (Ed) 2832 7. Remove nonlocalpath parameter from procname_win32() and procname_win32w() 2833 and variables nonlocal_path and nonlocal_name as this is not used now that 2834 unicode is implemented in WIN32 using the wide calls. 2835 8. Enable ignore case option for VMS. zip.c (SMS) 2836 9. Update -v and other updates in manual. man/zip.1 (Christian, Ed) 283710. Updates for Watcom C and Win32 symlinks. win32/osdep.h (Christian) 283811. Fix historic problem with VAX seeking. zipfile.c (SMS) 283912. Add NAM_M_EXP_DEV. Add determination if device is in file specification. 2840 If device name in file specification do ODS2 and ODS5 down-casing. 2841 Define explicite_dev(). vms/vms.h, vms/vmszip.c (SMS) 2842------------------------- June 4th 2007 version 3.0f39 ------------------------- 2843 1. Update osdep.h to use new filter_match_case flag. vms/osdep.h (SMS) 2844 2. Fix unterminated string bug and trim extra allocated space in 2845 local_to_display_string(). fileio.c (Ed) 2846 3. Updated extended help for -u and -ic options. zip.c (Ed) 2847 4. Update Manual. man/zip.1, zip.txt (Ed) 2848------------------------- June 15th 2007 version 3.0f40 ------------------------- 2849 1. Update Unicode Path and Unicode Comment descriptions based on suggestions 2850 from WinZip. proginfo/extrafld.txt (Steve Gross, Ed) 2851 2. Update descriptions for Add, Update, and Freshen in the manual. man/zip.1 2852 (Christian) 2853 3. Update default definition of PROCNAME() to use filter_case_match flag to 2854 turn off case matching in filter(). zip.c (Christian) 2855 4. Update WhatsNew. WHATSNEW (Ed) 2856 5. Update announcement. zip30f.ann (Ed) 2857 6. Update manual. man/zip.1, zip.txt (Ed) 2858------------------------- July 7th 2007 version 3.0f41 ------------------------- 2859 1. Use File Name as Unicode path if UTF-8 flag is set in header. zip.c, 2860 globals.c, zipfile.c, zip.h (Ed) 2861 2. Update ToDo. TODO (Ed) 2862 3. Update WhatsNew. WHATSNEW (Ed) 2863 4. Update ReadMe. README (Ed) 2864 5. Fix problems with incompatible stat types on Win32. fileio.c, tailor.h, 2865 zip.h, win32/win32.c, win32/win32zip.c, win32/osdep.h (Ed) 2866 6. Define NO_STREAMING_STORE to turn off storing while streaming. 2867 INSTALL, zipup.c (Ed) 2868 7. Define UNICODE_ALLOW_FORCE to enable -UN=force option which is now 2869 disabled and would need work. globals.c, zip.h (Ed) 2870 8. Add global using_utf8 to flag when OS current character set is UTF-8. 2871 If an existing entry has the UTF-8 flag set the flag is kept. If a new 2872 entry needs Unicode and on a UTF-8 system assume the strings are UTF-8 2873 and set the UTF-8 flag. globals.c, zip.h (Ed) 2874 9. Update Unicode extra field descriptions. proginfo/extrafld.txt (Ed) 287510. Add include directory so can find bzip2 header file when using bzip2 2876 directory. unix/configure (Ed) 287711. Fix wide character wild(), wild_recursew() and OpenDirScanW() for Win32 so 2878 work like the regular versions. win32/win32zip.c (Ed) 287912. Update Unicode in manual. Update -W description in manual zip.1 288013. Flush logfile writing. zip.c (Ed) 288114. Update extended help for -UN option. Update help for Update to note it 2882 updates files where the OS has a later date. Chance -UN=Exit to -UN=Quit 2883 so can abbreviate to first letter. zip.c (Ed) 288415. Fix a bug in readzipfile() when zip used in pipe. Other pipe fixes. zip.c, 2885 zipfile.c (Ed) 2886------------------------ August 10th 2007 version 3.0f42 ----------------------- 2887 1. Update error message for -DF. zip.c (Ed) 2888 2. Add bzipped message to write to log file. zipup.c (Ed) 2889 3. Update bzip2 install instructions. bzip2/install.txt (Ed) 2890 4. Move local.h include to tailor.h to fix compiler multiple define. tailor.h, 2891 zip.c (SMS) 2892 5. Add additional C compiler checks for GNU and HP. unix/configure (SMS) 2893 6. Fix to build libbz2.a. unix/Makefile (SMS) 2894 7. Update copyright. acorn/osdep.h, macos/osdep.h, tops20/osdep.h, 2895 vms/vmszip.c, vms/vmsmunch.c, vms/vms_pk.c, vms/vms_im.c, vms/vms.h, 2896 vms/vms.c, vms/osdep.h, win32/rsxntwin.h, win32/osdep.h, win32/nt.c (Ed) 2897 8. Change zfeeko(file, 0, SEEK_SET) to rewind(file) in ffile_size() so 2898 EOF is always reset. This was creating problems in WIN32 when 2899 NO_ZIP64_SUPPORT was set but LARGE_FILE_SUPPORT was set. zipfile.c (Ed) 2900 9. Update compile -v descriptions for LARGE_FILE_SUPPORT and ZIP64_SUPPORT to 2901 be more specific as to what each does. zip.c (Ed) 290210. Fix bug that added the local header size to the next entry compressed size 2903 giving a wrong compressed size error if splitting and the split occurs when 2904 writing a local header. fileio.c (Ed) 290511. Remove UNICODE_TEST define from VC 6 projects. win32/vc6/zip.dsp, 2906 win32/vc6/zipcloak.dsp, win32/vc6/zipnote.dsp, win32/vc6/zipsplit.dsp (Ed) 290712. Update extended help. zip.c (Ed) 290813. Only output -FF central directory messages in verbose mode. zipfile.c (Ed) 290914. Add note about possible bug when copying entries from a split archive. 2910 WHATSNEW (Ed) 2911------------------------ August 11th 2007 version 3.0f43 ----------------------- 2912 1. Display locale inside check to avoid NULL locale. zip.c (SMS, Ed) 2913 2. Add include wchar.h to tailor.h. tailor.h (SMS) 2914------------------------ August 21st 2007 version 3.0f44 ----------------------- 2915 1. Remove verbose messages when setting locale as verbose flag is not set yet. 2916 zip.c (SMS, Ed) 2917 2. Change reading splits message "abort archive" to "abort archive - quit" and 2918 change selection letter from a to q so q quits consistently. For quit, 2919 don't confirm as more annoying than helpful. fileio.c (Ed) 2920 3. In bfwrite() handle case where a split ends at the end of one entry and 2921 trying to write the next local header forces opening next split. This 2922 caused copying entries from one archive to another to fail if this came up. 2923 Also handle case where a new split is needed while writing central directory 2924 entries. Now close last split and update pointers to point to the new 2925 split. fileio.c (Ed) 2926 4. Update use of mesg_line_started and add new logfile_line_started to account 2927 for line ends in logfile. fflush() output. zip.c, zip.h, globals.c (Ed) 2928 5. Move setting split size if input archive is split and split_size not set 2929 to after archive is read. zipfile.c, zip.c (Ed) 2930 6. Update Manual to describe Unicode as implemented and note that old splits 2931 are not automatically excluded. man/zip.1, zip.txt (Ed) 2932 7. Update WhatsNew to remove note that creating and copying split archives 2933 is broke as it seems fully working now. WHATSNEW (Ed) 2934 8. Update announcement. zip30f.ann (Ed) 2935------------------------ August 31st 2007 version 3.0f45 ----------------------- 2936 1. Unicode fix for VMS. tailor.h (SMS) 2937 2. Add member current to zlist structure to flag when an archive entry is 2938 current with the matching OS file using file time and size. This is used by 2939 File Sync to copy current entries from archive. zip.h, zip.c (Ed) 2940 3. Comment out zip info verbose extra data message as this message does not 2941 seem to add much. zipfile.c (Ed) 2942 4. Add local and central directory Version Needed To Extract to mismatch 2943 warning. Update warning text. zipfile.c (Ed) 2944 5. Add function BlankRunningStats() to output blanks for the running stats 2945 part of the line to use when displaying stats for entries not on the mark 2946 list so all output lines up. zip.c 2947 6. Add -FS to extended help as new mode. zip.c (Ed) 2948 7. Update description of -FF to remove Assume Worst. zip.c (Ed) 2949 8. Add all_current flag that is set if all entries in archive are current and 2950 skip updating archive if -FS and all entries are current. zip.c (Ed) 2951 9. Change argv[] to args[] for "try: zip" error message as message depends on 2952 new argument order in args where options are now at beginning. zip.c (Ed) 295310. For File Sync, copy entries to new archive if file time and size are the 2954 same. If verbose, output ok when copying current entries, otherwise no 2955 message when current_entry. Set all_current to 0 if an entry not marked or 2956 a file not on OS as need to avoid the All Current message in these cases to 2957 catch only deletions. zip.c (Ed) 295811. Initialize variables excluding zipstate and setjmp() if USE_ZIPMAIN defined 2959 to fix bug when recall zipmain(). zip.c (Ed) 296012. Update Manual. zip.1, zip.txt (Ed) 296113. Update WhatsNew. WHATSNEW (Ed) 296214. Update announcement. zip30f.ann (Ed) 2963----------------------- September 5th 2007 version 3.0f46 ---------------------- 2964 1. Move write of local header after when GPB11 UTF-8 bit set in putlocal(). 2965 zipfile.c (Ed) 2966 2. Change to uppercase for compatibility. vms/install_vms.txt (SMS) 2967 3. Set cenbeg and bytes_this_split to fix grow. Check if grow split archive. 2968 zipfile.c, zip.c (Ed) 2969----------------------- September 14th 2007 version 3.0f47 -------------------- 2970 1. Include address for new Info-ZIP forum. Add note on 16-bit OS support. 2971 Add note about text file line ends. README (Ed) 2972 2. Update WhatsNew to include latest on Unicode. Add section on plans for 2973 Zip 3.1. WHATSNEW (Ed) 2974 3. Minor change in note for Unicode in extended help. zip.c (Ed) 2975 4. Modify definitions of Unicode extra fields based on discussions with PKWare 2976 and WinZip. proginfo/extrafld.txt (Ed) 2977 5. Add note on UTF-8 flag. INSTALL (Ed) 2978 6. Minor updates to ToDo list. Needs more work. TODO (Ed) 2979 7. Update announcement. zip30f.ann (Ed) 2980 8. Change definition of IZ_OUR_BZIP2_DIR to be compatible with Configure and 2981 to work with HP-UX. unix/Makefile (SMS) 2982------------------------ September 24th 2007 version 3.0f --------------------- 2983 1. Update extended help Unicode description. zip.c (Ed) 2984 2. Update Readme. README (Ed) 2985 3. Fix case of define identifying IA64. vms/vms.c (SMS) 2986 4. Update announcement date. zip30f.ann (Ed) 2987 5. Update Unicode extra field definitions based on changes proposed for 2988 AppNote. extrafld.txt (Ed) 2989------------------------ October 17th 2007 version 3.0g01 --------------------- 2990 1. Can get stuck on open Unix FIFO so default to skip and add option -FI to 2991 enable reading FIFO. Add global allow_fifo. zip.c, zip.h, globals.c 2992 (Willus 0, Ed) 2993 2. As problems with MinGW with wide-character paths, disable wide-character 2994 Unicode support. zip.c, unix/unix.c (Willus 0, Ed) 2995 3. Update manual installs to include zipcloak.1, zipnote.1, and zipsplit.1 2996 pages. unix/Makefile (Ed) 2997 4. Update Solaris packages. unix/Packaging/pkginfo.in, 2998 unix/Packaging/postinstall, unix/Packaging/preinstall.in, 2999 unix/Packaging/prototype (SMS) 3000------------------------ October 30th 2007 version 3.0g02 --------------------- 3001 1. Fix bug in get_in_split_path() where look for .zip split when attempting 3002 to open archives without a .zip extension, even when a single file archive 3003 like jar file. fileio.c (Gabriele (balducci@units.it), Ed) 3004 2. Fix bug where temp file got created in current working directory on Unix 3005 by giving entire archive path to mkstemp() as template. fileio.c, zip.c 3006 (Willus, Ed) 3007 3. Use 64-bit output functions for bits_sent. trees.c (SMS) 3008 4. Add -FF to fixfix -sd messages to make different from identical main 3009 messages. zip.c (SMS, Ed) 3010 5. If quiet do not ask for splits and all splits must be in same location. 3011 zipfile.c (Ed) 3012 6. Clean up making zip manuals. unix/Makefile (Ed, SMS) 3013 7. Add clean_exe to make. unix/Makefile (SMS) 3014 8. Update to VMS Notes, including adding details on symlinks, -V, and UTC 3015 dates times. vms/notes.txt (SMS) 3016 9. Fix bug in wild() when calling wile_recursew() where qw should be 3017 pointing inside pw. win32/win32zip.c (Willus, Ed) 301810. Fix bug where is_ascii_string() fails when passed a NULL string. This 3019 may fix problem where the CentOS mbstowcs() function is returning -1 when 3020 trying to convert a file name with a bad character (0xe6), causing 3021 local_to_wide_string() and then local_to_utf8_string() to return NULL, so 3022 f->uname gets NULL and so is_ascii_string() fails with SIGSEGV. fileio.c 3023 (Willus, Ed) 3024------------------------ October 31st 2007 version 3.0g03 --------------------- 3025 1. Add handling of -b temp directory when opening splits in bfwrite() using 3026 mkstemp(). fileio.c (SMS, Ed) 3027------------------------ November 3rd 2007 version 3.0g04 --------------------- 3028 1. Move show_files to global so can avoid split warning for -sf. zip.c, 3029 globals.c, zip.h, zipfile.c (Ed) 3030 2. Account for -b tempath when opening temp file. zip.c, zipnote.c, 3031 zipcloak.c (SMS, Ed) 3032------------------------ November 4th 2007 version 3.0g05 --------------------- 3033 1. Minor fixes to fdopen calls. zipcloak.c, zipnote.c (SMS, Ed) 3034------------------------ November 4th 2007 version 3.0g06 --------------------- 3035 1. Add negation to -db, -dc, -dd, -dg, -du, -dv display options. zip.c (Ed) 3036 2. Put back UNICODE_SUPPORT no_win32_wide code left out in previous fix. 3037 win32/win32zip.c (Willus, Ed) 3038------------------------ November 21st 2007 version 3.0g07 --------------------- 3039 1. Fix bug preventing newline in some cases in zipmessage(). zip.c (Ed) 3040 2. Update Unicode help. zip.c (Ed) 3041 3. Update -sd messages. zip.c (Ed) 3042 4. Add filetimew() for Unicode case. zip.c (Ed) 3043 5. Add ClearArchiveBitW() for Win32 wide. zip.c, zip.h, win32/win32.c (Ed) 3044 6. Only ask for .zip split if path ends in .znn or .znnn where n 0 to 9. This 3045 allows -FF to work on .exe sfx files without adding .zip. zipfile.c (Ed) 3046 7. Fix bug where only backed up 20 bytes to find Z64 EOCD Locator. Now back 3047 up 24 bytes to include size of Z64 EOCD Locator signature. This prevented 3048 reading and updating archives greater than 4 GB. zipfile.c (Ed) 3049 8. If -FF on Win32 initialize wide strings namew, inamew, and znamew to NULL. 3050 zipfile.c (Ed) 3051 9. Add #include <wctype.h> to support towupper(). tailor.h (SMS) 3052------------------------ December 4th 2007 version 3.0g08 --------------------- 3053 1. Update dot_size comment. globals.c (Ed) 3054 2. Update Compression in extended help. zip.c (Ed) 3055 3. Add extended help on self extractor -A and -J. zip.c (Ed) 3056 4. Update VMS SYMLINK version information. zip.c (SMS) 3057 5. Remove not final from Unicode version information as final now. zip.c (Ed) 3058 6. Remove apparently not needed WINDLL variable retcode. zip.c (Ed) 3059 7. Fix -A to calculate sfx offset and adjust offsets as it should. zip.c (Ed) 3060 8. Split -F and -FF used with -A warning to separate warnings. zip.c (Ed) 3061 9. Add adjusting to can't to that to split archive error. zip.c (Ed) 306210. Fix bug for -A that tries to open split by asking for disk 0 instead of 3063 disk 1. Add adjust_offset and cd_total_size variables. Calculate 3064 sfx offset by determining offset of start of central directory. Archives 3065 larger than 4 GB are not supported as sfx archives but these don't seem 3066 to work anyway. Add adjust_offset to Zip64 EOCDR offset and central 3067 directory offsets. zip.c, zipfile.c (Ed) 306811. Comment out here debug variable in find_next_signature(). zipfile.c (Ed) 306912. Change %2x to %02x as format for parts of a signature in error messages. 3070 zipfile.c (SMS) 307113. Add warning adjusting split archives not yet supported. zipfile.c (Ed) 307214. Add period to central directory comment. zipfile.c (Ed) 307315. Update readme for vb Zip64 project. windll/vbz64/readvb64.txt (Ed) 307416. Update comments of VB for Zip64 example. Add SplitSize to VB Zip64 3075 example. windll/vbz64/vbzipbas.bas, windll/vbz64/vbzipfrm.frm (Ed) 307617. Add SourceForge to comment noting where can get the source code. 3077 windll/vbz64/vbzipfrm.frm (Ed) 307818. Update WhatsNew. WHATSNEW (Ed) 3079------------------------ December 12th 2007 version 3.0g09 -------------------- 3080 1. A few minor changes to extended help. zip.c (Ed) 3081 2. Uppercase beginning of most -sd messages. zip.c (Ed) 3082 3. Add spaces between options in some error messages. zip.c (Ed) 3083 4. Update comments in scanzipf_regnew(). zipfile.c (Ed) 3084 5. Update scanzipf_regnew() to figure out sfx offset. (Ed) 3085 6. Uppercase VMS RUNOFF file as apparently needed. VMS_ZIP.RNH (SMS) 3086 7. Add comments to zipmessage(). zip.c (Ed) 3087 8. Update extended help and option descriptions. zip.c (Ed) 3088------------------------ December 20th 2007 version 3.0g10 -------------------- 3089 1. Fix -F to include -A adjustment check. zipfile.c (Ed) 3090 2. Change -FF message when find EOCDR. zipfile.c (Ed) 3091 3. For -FF, reset first CD entry flag in_central_directory when a local entry 3092 is found after CD entries so that another CD entry forces sorting of all 3093 local entries to that point. This allows files with multiple archives in 3094 them to be processed. zipfile.c (Ed) 3095 4. Add message when a local entry is found after a central directory. 3096 zipfile.c (Ed) 3097 5. Remove word offset from disk offset location messages. zipfile.c (Ed) 3098 6. Make Adjust offset message more descriptive. zipfile.c (SMS, Ed) 3099 7. In scanzipf_regnew(), if adjustment to offsets, add it to 3100 in_cd_start_offset. zipfile.c (Ed) 3101 8. Allocate cextra only if localz->ext not 0 in zipcopy(). zipfile.c (Ed) 3102------------------------ December 28th 2007 version 3.0g11 -------------------- 3103 1. Include definitions of zip64_eocdr_start and z64eocdl_offset in 3104 ZIP64_SUPPORT ifdef block. Add comments for End Of CD Record (EOCDR). 3105 Update comments for adjust offset detection. zipfile.c (Ed) 3106 2. Change ((uzoff_t)1 << 32) to 0xFFFFFFFF. zipfile.c (SMS, Ed) 3107 3. Leave off local header detection as not useful when searching for start 3108 of central directory to get adjust offset. Looks like all expected cases 3109 are now covered as long as archive is intact. zipfile.c (Ed) 3110 4. Update some warning messages. Simplify adjust offset information message. 3111 zipfile.c (Ed) 3112 5. Add braces to unicode_mismatch if block. zipfile.c (Christian) 3113 6. Add (void *) cast in InterlockedExchangePointer() mutex calls to fix 3114 compile warnings in MinGW (GCC 3.4.4). win32/nt.c (Christian) 3115 7. Remove unused nonlocalpath variable. win32/win32zip.c (Christian) 3116 8. Update betas readme file. betas_readme.txt (Ed) 3117 9. Partial update to Who list of contributors. proginfo/infozip.who (Ed) 311810. Update ReadMe. Create Announcement. README, zip30g.ann (Ed) 311911. Update WhatsNew. WHATSNEW (Ed) 3120------------------------ January 7th 2008 version 3.0g12 -------------------- 3121 1. Convert Scanning files message to use standard zipmessage_nl() so line 3122 ends are generated when needed. fileio.c (Ed) 3123 2. Add line ends in DisplayRunningStats() if a display line has been 3124 started. zip.c (Ed) 3125 3. For the command line listed at the top of the log file, add double 3126 quotes around any arguments that have spaces in them. 3127 zip.c (Ed) 3128 4. Instead of stdout use standard mesg output stream for show files. 3129 Output new line for show files for display and log file if there was 3130 output on the current line. zip.c (Ed) 3131 5. Comment out new line output code after zipup() and replace with 3132 call to zipmessage_nl("", 1) to output new line if needed. 3133 zip.c (Ed) 3134 6. In GetFileMode() and GetFileModeW() when get attributes fails 3135 instead of fprintf(mesg, ...) use zipwarn() so error goes in 3136 log file and new lines are displayed when needed. win32/win32.c (Ed) 3137 7. In GetSD(), change cbytes from long to ulg. Check cbytes (the 3138 compressed size of the security descriptor) and issue warning if 3139 the compressed security descriptor is greater than 0x7FFF (32k) 3140 as the entire header this extra field is in needs to fit in the 3141 64k header. Should be a check on the running size of the header 3142 so the actual space remaining is tracked. Maybe in Zip 3.1. If 3143 cbytes OK cast to ush and store. win32/win32zip.c (Ed) 3144 8. Use zipmessage_nl() for bytes security message so new lines are 3145 handled and message goes in log file. win32/win32zip.c (Ed) 3146 9. Add new option -RE to enable [list] (regex) matching in DOS and 3147 WIN32 but disable [list] matching otherwise. Default behavior 3148 is restored if ALLOW_REGEX is defined. globals.c, util.c, 3149 zip.h, zip.c (Ed) 3150------------------------ January 20th 2008 version 3.0g13 -------------------- 3151 1. Update copyrights to 2008. zip.c, zipcloak.c, zipfile.c, zipnote.c, 3152 zipsplit.c, zipup.c, README (Ed) 3153 2. Update Who. proginfo/infozip.who (Ed) 3154------------------------ January 30th 2008 version 3.0g14 -------------------- 3155 1. Update copyrights. fileio.c, globals.c, revision.h, util.c, zip.h, 3156 win32/win32.c, win32/win32zip.c (Ed) 3157 2. Updates. README, proginfo/infozip.who (Ed) 3158 3. Update announcement and WhatsNew. zip30g.ann, WHATSNEW (Ed) 3159 4. Add ALLOW_REGEX to INSTALL define list. INSTALL (Ed) 3160 5. Change -sd message. zip.c (Ed) 3161 6. For bzip2 check for binary and set binary/text flag. Handle -l and -ll 3162 line end conversions for bzip2. zipup.c (Ed) 3163------------------------ February 3rd 2008 version 3.0g -------------------- 3164 1. Change && to || to fix logic bug in show files. zip.c (Johnny) 3165 2. Add CLEAN and CLEAN_ALL VMS targets. vms/descrip_mkdeps.mms (SMS) 3166----------------------- February 22nd 2008 version 3.0h01 -------------------- 3167 1. Update some echo statements to use CFLAGS_OPT. Add GNUC check. 3168 unix/configure (SMS) 3169 2. Only store UID and GID if 16 bit. unix/unix.c (Ed) 3170----------------------- March 21st 2008 version 3.0h02 -------------------- 3171 1. Change long Unicode escapes from 8 characters to 6 characters based on 3172 change in UnZip 6.0. fileio.c (Ed) 3173 2. Put zuebcmp() declaration in #if 0 block as definition already is. This 3174 function would be used to allow Unicode escapes on the command line 3175 without using the -UN=escape option, but the utility of this is still 3176 being determined. zipfile.c (SMS, Ed) 3177 3. Remove declaration for unused bz_deflate_init(). zipup.c (SMS, Ed) 3178 4. Add release announcement file, anticipating the long-awaited release. 3179 zip30.ann (Ed) 3180 5. Update WhatsNew. WHATSNEW (Ed) 3181----------------------- March 24th 2008 version 3.0h03 -------------------- 3182 1. Update Unix configure script to better test for modern HP-UX compiler. 3183 unix/configure (SMS) 3184 2. Updated Beta Readme. betas_readme.txt (Ed) 3185 3. Update Install. INSTALL (Ed) 3186 4. Update ReadMe. README (Ed) 3187 5. Small change to main help screen. zip.c (Ed) 3188 6. Small update to top of ToDo list. Actual updating of items still 3189 needs to be done. TODO (Ed) 3190----------------------- April 2nd 2008 version 3.0h04 -------------------- 3191 1. Update copyright. crc32.h (Christian) 3192 2. Remove zip.h include. crc32.h (Christian) 3193 3. Add local prototypes for Unicode functions. Add cast for split size 3194 check. Make many Unicode functions local. #if 0 out currently unused 3195 utf8_chars(). Fix memory leak in wide_to_local_string() by adding 3196 free() for buffer on error return. Fix memory leak in copy_args() on 3197 error return by adding free-args(). Add ZCONST to arg in 3198 insert_arg(). Shorten some lines to less than 80 characters. Add 3199 free() to get_longopt() to fix memory leak. fileio.c (Christian) 3200 4. Create Win32 versions of wide_to_local_string() and 3201 local_to_wide_string() so can use Win32 conversion functions. 3202 fileio.c, win32/win32.c (Christian) 3203 5. Update comments for get_option(). fileio.c (Ed) 3204 6. Update encryption code readme. README.cr (Ed) 3205 7. Add prototype for recmatchw(). util.c (Christian) 3206 8. Change count_args() from static to local. util.c (Christian) 3207 9. Change ifdefs for includes for prototypes for version_info(), 3208 zipstdout(), and check_zipfile() for WINDLL and MACOS and add 3209 check_unzip_version(). zip.c (Christian) 321010. Change ifndef NO_SYMLINKS to ifdef S_IFLNK for determining compiler 3211 information. zip.c (Christian) 321211. Change UTF-8 locale from en_GB.UTF-8 to .UTF-8. zip.c (Christian) 321312. Change cast of -1 for dot_size from uzoff_t to zoff_t. 3214 zip.c (Christian) 321513. Change prototype for set_filetype to include parameter char *. 3216 Change prototype of has_win32_wide to include parameter void. 3217 zip.h (Christian) 321814. Add prototypes for find_next_signature(), find_signature(), 3219 and is_signature(). Change duplicate prototype scanzipf_regnew() 3220 to missing prototype scanzipf_fixnew(). Change comment for Adler-16 3221 checksum to CRC-32 checksum as that is being used at that point in 3222 the code. Move multiple uname assignments to common assignment. 3223 Add inameLocal for WIN32_OEM and use define for inameLocal if not 3224 to save memory allocation when not not using WIN32_OEM. Also 3225 change _INTERN_OEM(str1) to INTERN_TO_OEM(src, dst) for OEM 3226 conversion. Format comment for vem to fit in 80 character lines. 3227 zipfile.c (Christian) 322815. Change variable a from buffer to a pointer and add abf as the 3229 buffer for zgetline() to handle NULL case. zipnote.c (Christian) 323016. Change comments to zipentry comments and zipfile comment in 3231 messages. zipnote.c (Ed) 323217. Use uidgid_16bit as flag variable instead of uid_size. Modify 3233 size check that prevents saving Unix UIDs and GIDs in the old 3234 Unix extra field if they are not 16 bits. Change memory 3235 allocation based on uidgid_16bit. Delete unused code for memory 3236 copy for extra field. unix/unix.c (Christian, Ed) 323718. Change compiler flag from -zp8 to -Zp8 for LCC Win32. 3238 win32/makefile.lcc (Christian) 323919. Add ifndef debug. Add bzip2 support. Add additional compiler 3240 flags. win32/makenoas.w32 (Christian) 3241----------------------- April 10th 2008 version 3.0h05 -------------------- 3242 1. Fix bug found by forum poster where Zip stops recursing down a tree 3243 when option -AS is set and a directory without the Windows archive 3244 bit is reached. Now Zip continues down the tree to include files with 3245 the bit set. win32/win32zip.c (forum poster, Ed) 3246 2. Update comments. win32/osdep.h (Ed) 3247 3. Update VMS notes to better organize and add information about file 3248 name case. Additional small updates. vms/notes.txt (SMS) 3249 4. Fix bugs from previous changes to unix. unix/unix.c (SMS, Christian, 3250 Ed) 3251 5. Add unix IBM support. unix/unix.c (SMS) 3252 6. Update INSTALL to account for new distribution structure and other 3253 changes. INSTALL (SMS, Ed) 3254 7. Update bzip2 install readme. bzip2/install.txt (SMS, Ed) 3255 8. Fix bug noted in forum where -@ and -x generated a "nothing to 3256 select from error" by also checking filelist variable populated by 3257 -@ for entries. zip.c (forum poster, Ed) 3258----------------------- April 20th 2008 version 3.0h06 -------------------- 3259 1. Start announcement for Zip 3.0h public beta. zip30h.ann (Ed) 3260 2. Update beta readme. betas_readme.txt (Ed) 3261 3. Update case of README.CR. INSTALL (Ed) 3262 4. Change -W to -ws for option to stop wildcards from scanning directory 3263 boundaries in path. This frees up -W for later use, maybe as extendted 3264 option introducer. zip.c, man/zip.1 (Ed) 3265 5. Updated date in announcement to May 4th. zip30.ann (Ed) 3266 6. Added announcement for public beta Zip 3.0h. zip30h.ann (Ed) 3267 7. Fix large file support for MinGW by checking for compiler environments 3268 before the check for (generic) gcc. zipup.c, win32/osdep.h 3269 (Will, Christian) 3270 8. Fix large file support for bzip2. Additionally, the "dot printout" 3271 code has also been adapted for LARGE_FILE support. zipup.c 3272 (Will, Christian) 3273 9. Add comments to top of configure. unix/configure (Ed) 327410. Move comment and comment out value size check for UID/GID extra field. 3275 unix/unix.c (Ed) 327611. Change case of file ToDo to TODO for consistency and to work with Unix 3277 package. TODO (SMS, Ed) 3278----------------------- April 26th 2008 version 3.0h07 -------------------- 3279 1. For -AS, which for Windows only includes files with the archive bit 3280 set, exclude directory entries (by setting -D) as some directories may 3281 not have any files with the archive bit set and so the directory would 3282 be empty. zip.c (Ed) 3283 2. Fix UID/GID size detection to use byte sizes and remove data fit test. 3284 unix/unix.c (Ed) 3285 3. Update announcement. zip30h.ann (Ed) 3286 4. Add new unix extra field with tag 'ux' that stores UIDs/GIDs of 1 to 4 3287 bytes (8 to 32 bits). unix/unix.c (Ed) 3288 5. Update VB readme. windll/vbz64/readVB64.txt (Ed) 3289 6. For Unicode escaped output also show escape for ASCII 7-bit if 3290 isprintable() is false. fileio.c (Ed) 3291 7. Use locale "en_US.UTF-8" for Unix. zip.c (Ed) 3292 8. Also show escaped Unicode for new files in found list. zip.c (Ed) 3293 9. Update manual. man/zip.1, zip.txt (Ed) 3294------------------------ May 4th 2008 version 3.0h08 ----------------------- 3295 1. Handle when a bad Unicode string in archive forces 3296 utf8_to_wide_string() to return a NULL string. Give warning if UTF-8 3297 in existing archive is bad. Put WIN32 wide local header initializations 3298 in UNICODE_SUPPORT block. fileio.c, zipfile.c (Ed) 3299 2. Leave out Unicode escape code if not Unicode enabled. zip.c (Ed) 3300 3. Enable oem_to_local_string() and local_to_oem_string() for WIN32 3301 even if no Unicode. zip.h, win32/win32.c (Christian, Ed) 3302 4. Update comment about encryption code. zipcloak.c (Ed) 3303 4. Update zipmessage_nl() and zipmessage() from zip.c. zipcloak.c, 3304 zipnote.c, zipsplit.c (Ed) 3305 5. Add Mac OS X library check. unix/configure (SMS) 3306 6. Add 16-bit UID/GID check. unix/configure (Christian, Ed) 3307 7. Format echo and comment statements a bit. unix/configure (Ed) 3308 8. Only compile in old 16-bit UID/GID code if new define UIDGID_NOT_16BIT 3309 from unix configure script is not defined. unix/unix.c (Christian) 3310 9. A couple changes to updated 16-bit UID/GID code. Add 64-bit 3311 UID/GID support to new Unix extra field. unix/unix.c (Ed) 331210. Remove redundant "license" from options table. zipcloak.c (Ed) 331311. Remove old unix build files. unix/configure-orig, unix/Makefile-orig 3314 (Christian) 331512. Add -O (--output-file) option to ZipCloak. Fix bug by setting 3316 out_path. zipcloak.c (Ed) 3317------------------------ May 8th 2008 version 3.0h09 ----------------------- 3318 1. Update copyright. Add check for NO_UNICODE_SUPPORT. tailor.h (Ed) 3319 2. Fix bug where Unicode General Purpose Bit Flag 11 should force keeping 3320 the old name field but it was being overwritten by the escaped name 3321 in the central directory header. Fixed some ZIPERR() calls in 3322 putcentral() that referred to putlocal(). zipfile.c (Ed) 3323 3. Add comment about OCRCU8 and OCRCTB. unix/configure (Ed) 3324 4. Change line in instructions to note that manuals should be made after 3325 Zip is made. Change OCRTB to OCRCTB. Add $(OCRCTB) to rule for 3326 zipcloak$E so crc32_.o is linked in. Add comment for NO_UNICODE_SUPPORT 3327 flag. unix/makefile (Ed) 3328 5. Update WhatsNew. Add additional items to the Zip 3.1 list. Add note 3329 about Zip 2.4. WHATSNEW (Ed) 3330 6. Update Zip 3.0h announcement. zip30h.ann (Ed) 3331 7. Update manual pages. man/zip.1, man/zipsplit.1, man/zipnote.1, 3332 man/zipcloak.1 (Ed) 3333 8. Add noted for UTF-8 locale. zip.c (Ed) 3334 9. Set UTF-8 locale for Unix in utilities if UNICODE_SUPPORT enabled 3335 so can display and process paths in archives correctly. zipsplit.c, 3336 zipcloak.c, zipnote.c (Ed) 3337------------------------ May 12th 2008 version 3.0h10 ---------------------- 3338 1. Add use of new Unix UID/GID extra field and of old Unix 16-bit UID/GID 3339 extra field when system uses 16-bit UIDs/GIDs to version information. 3340 zip.c (SMS, Ed) 3341 2. Add Unicode Path and Unicode Comment extra fields to extra fields list. 3342 Update new Unix extra field revision date. proginfo/extrafld.txt (Ed) 3343 3. Add Mac hardware platform to version information. unix/unix.c (SMS) 3344------------------------ May 19th 2008 version 3.0h11 ---------------------- 3345 1. Initialize f->namew when streaming stdin to fix bug. fileio.c (Ed) 3346 2. Change force_zip64 to start as -1 as unset, then use 1 for forcing use 3347 of Zip64 and 0 for disabling use of Zip64. Add negation of -fz to 3348 prevent use of Zip64 during streaming from stdin to a non-seekable 3349 output where data descriptors will be used, which allows creating 3350 archives with the old stream format but will fail if a large file is 3351 streamed. Default is still to force Zip64 data descriptors when 3352 streaming, which covers all cases but requires a Zip64 compatible 3353 unzip. zip.c, globals.c, zipfile.c (Ed) 3354 3. Handle case of bad Unicode in archive. zipfile.c (Ed) 3355------------------------ May 22nd 2008 version 3.0h12 ---------------------- 3356 1. Fix bug introduced last beta that prevented streaming large files. Use 3357 separate error message depending on if -fz- was used. zipfile.c (Ed) 3358 2. Change non existent to nonexistent. unix/configure (SMS) 3359 3. Don't output blank line when zipmessage_nl() gets passed an empty 3360 string. This removes blank lines for skipped entries when -FS used. 3361 zip.c (Ed) 3362------------------------ May 27th 2008 version 3.0h13 ---------------------- 3363 1. Change UNICODE_ALLOW_FORCE to UNICODE_SUPPORT, -UN=force to -UN=UTF8, 3364 and unicode_force to utf8_force. This option now standard with Unicode 3365 support and forces Zip to save UTF-8 paths and comments, when not ASCII, 3366 as if UTF-8 were the native character set. globals.c, zip.c, zip.h (Ed) 3367 2. Add note to Todo that it's out of date. TODO (Ed) 3368 3. Update WhatsNew. WHATSNEW (Ed) 3369 4. Update Unicode help in extended help. zip.c (Ed) 3370 5. Update announcements. zip30h.ann, zip30.ann (Ed) 3371 6. Fix bug with -UN=UTF8. zip.c, zipfile.c (Ed) 3372 7. Update Zip manual. man/zip.1, zip.txt (Ed) 3373 8. Attempt an update to zip limits document. proginfo/ziplimit.txt (Ed) 3374 9. Update README regarding forum postings. README (Ed) 337510. Remove duplicate initialization lines for found and fnxt. zip.c (SMS) 3376------------------------ May 28th 2008 version 3.0h14 ---------------------- 3377 1. Remove >= 0 check from wide character check as value is unsigned. 3378 fileio.c (SMS) 3379 2. In putlocal(), move nam and use_uname to UNICODE_SUPPORT block. If 3380 no UNICODE_SUPPORT use z->nam instead of nam. zipfile.c (SMS, Ed) 3381 3. Update announcement date for beta. zip30h.ann (Ed) 3382------------------------ May 31st 2008 version 3.0h ------------------------ 3383 1. In putlocal() if using UTF-8 bit then also set UTF-8 bit in z->lflg so 3384 is set in local header for streaming. zipfile.c (Ed) 3385 2. Update announcement date for beta. zip30h.ann (Ed) 3386 3. Rename lib and dll projects to zip32z64 and update project files so 3387 project name is same as lib and dll libraries. Export make files. 3388 windll/visualc/dll/zip32z64.dsp, windll/visualc/dll/zip32z64.dsw, 3389 windll/visualc/dll/zip32z64.mak, windll/visualc/libzip32z64.dsp, 3390 windll/visualc/libzip32z64.dsw, windll/visualc/libzip32z64.mak (Ed) 3391------------------------ June 7th 2008 version 3.0i01 ---------------------- 3392 1. Update Mac ReadMe to note Mac OS X uses Unix port. macos/readme.1st (Ed) 3393 2. Change UNIX to Unix in manual. Update dates in manual and add note 3394 about Mac OS X. Change switch to switches. zip.1 (SMS, Ed) 3395 3. Add version information under Windows by adding a version resource. 3396 win32/vc6/zip.dsp, win32/vc6bz2/zip.dsp, win32/zip.rc (Ed) 3397------------------------ June 15th 2008 version 3.0i02 ---------------------- 3398 1. Update Install instructions. INSTALL (Ed) 3399 2. Update ReadMe. README (Ed) 3400 3. Update ToDo list. TODO (Ed) 3401 4. Update WhatsNew. WHATSNEW (Ed) 3402 5. Add note to WHERE. WHERE (Ed) 3403 6. Update announcement. zip30.ann (Ed) 3404 7. Review man pages and update Zip man page. Compile text files from man 3405 pages. man/zip.1, zip.txt, zipnote.txt, zipsplit.txt, zipcloak.txt (Ed) 3406 8. Update extended help. zip.c (Ed) 3407------------------------ June 17th 2008 version 3.0i03 ---------------------- 3408 1. Fix bug where UTF-8 flag was not being set when using_utf8 was set as 3409 result of UTF-8 being current character set. zipfile.c (Ed) 3410 2. Update man page globbing description. man/zip.1, zip.txt (SMS, Ed) 3411 3. Update web address to bzip2 package for VMS. vms/install_vms.txt (SMS) 3412------------------------ June 21st 2008 version 3.0i04 ---------------------- 3413 1. Update comments. zbz2err.c (Christian) 3414 2. Put use_uname in UNICODE_SUPPORT block. zipfile.c (Christian) 3415 3. Increase st to 0x1400. msdos/makefile.msc (Christian) 3416 4. Update copyright and put @CodeSize and @DataSize into ifndef blocks for 3417 Huge, Large, Compact, Medium, and Small. msdos/match.asm (Christian) 3418 5. Add check to disable symbolic links. msdos/osdep.h (Christian) 3419 6. Put Mac OS X compiler check into if Mac OS X block to avoid problems on 3420 some other Unix ports with the check. unix/configure (SMS) 3421 7. Move set_extra_field() to fix compile problem. unix/unix.c (SMS) 3422 8. Update USEBZIP2 to USEBZ2 and -DUSE_BZIP2 to -DBZIP2_SUPPORT. Drop 3423 -DMSDOS compile flag. win32/makefile.w32 (Christian) 3424 9. Change BZIP2_SUPPORT to USEBZ2. win32/makenoas.w32 (Christian) 3425------------------------ June 23rd 2008 version 3.0i05 ---------------------- 3426 1. Update and unify resources. Remove any MFC dependencies from the resource 3427 files zip.rc and windll.rc. win32/zip.rc and windll/windll.rc now read 3428 the version info from revision.h. windll.rc internal flags modified to 3429 "32-bit dll". zip.rc internal flags liberated from "winnt 32-bit" 3430 to "generic 32-bit windows". Win32 zip.exe also supported on Win9x 3431 (32-bit). Update makefiles for Borland, MSC, GCC(mingw32), Watcom 3432 to support inclusion of zip.rc version resources into zip.exe binary. 3433 revision.h, msdos/osdep.h, win32/makefile.bor, win32/makefile.gcc, 3434 win32/makefile.w10, win32/makefile.w32, win32/makefile.wat, 3435 win32/makenoas.w32, win32/zip.rc, windll/windll.rc (Christian) 3436 2. Remove unused files. win32/resource.h, windll/resource.h, 3437 windll/windll.aps, windll/zipver.h, windll/visualc/dll/zip32z64.mak, 3438 windll/visualc/lib/zip32z64.mak (Christian) 3439 3. Update VMS. vms/descrip_deps.mms (SMS) 3440------------------------ June 26th 2008 version 3.0i06 ---------------------- 3441 1. Update Install and Readme in preparation for release. Update WhatsNew. 3442 INSTALL, README, WHATSNEW (Ed) 3443 2. Update announcement. zip30.ann (Ed) 3444 3. Update original Visual Basic project comments and documentation. 3445 windll/vb/readmevb.txt, windll/vb/vbzip.vbp, windll/vb/vbzip.vbw, 3446 windll/vb/vbzipbas.bas, windll/vb/vbzipfrm.frm (Ed) 3447 4. Add bzip2 version of djgpp 2.x makefile thanks to Robert. Assumes a 3448 standard djgpp installation. msdos/makebz2.dj2 (Robert Riebisch, Ed) 3449------------------------ June 27th 2008 version 3.0i07 ---------------------- 3450 1. Add DJGPP to bzip2 install instructions. bzip2/install.txt, 3451 msdos/makebz2.dj2 (Robert, Ed) 3452------------------------- July 5th 2008 version 3.0 ------------------------- 3453 1. Add -sd to extended help. zip.c (Will, Ed) 3454 2. Fix memory bug when rebuilding Zip64 central directory extra field which 3455 can crash MinGW and other ports when processing large files. zipfile.c 3456 (Will) 3457 3. Fix -v bug preventing display of version information when options in 3458 environment variables. zip.c (Ed) 3459 4. Update WhatsNew. WHATSNEW (Ed) 3460 5. Update announcement. zip30.ann (Ed) 3461