Debian Codegraph @

CHANGES

raw
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)
34 10. password() function for QDOS (Jonathan)
35 11. fix the last(?) free() related bug (Mike)
36 12. win32: security descriptors operations (Scott Field)
37 13. win32: FILE_SHARE_DELETE is not defined in some win32 compilers (Onno)
38 14. 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
49 10. Fix for 'zip -r foo x:' (Paul)
50 11. Fix library bug on beos (Chris)
51 12. Fix calculating version number ([email protected], Walter Haidinger)
52 13. IsWinNT always returned TRUE (Mike)
53 14. Windll update from Mike
54 15. Improved crc routines for x86 from Scott Field
55 16. Detect in unix/configure if we can use crc_i386.S (Onno)
56 17. Fix spurious internal logic error (Paul)
57 18. Fix to include directory names on the Acorn when needed (Sergio)
58 19. include zip.h in mvs.h (Onno, George Carr)
59 20. add workaround for AZTEC C compiler bug to revision.h (Paul, Walter)
60 21. MVS doesn't have rmdir (George Carr)
61 22. define and use USE_ZIPMAIN for WINDLL en VM_CMS (Onno)
62 23. Fixes from Greg Hartwig to make CMS standalone versions possible.
63 24. Move OS specific encryption stuff to the os specific directories (Christian)
64 25. Change password fetching interface in ttyio and crypt (Christian)
65 26. Update emx support for 0.9c (Christian)
66 27. Define WINDLL instead of MSWIN (Christian)
67 28. Extended time stamp extra field format support (Christian)
68 29. Support for rsxnt-emx 0.9c win32 compiler (Christian)
69 30. 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 ([email protected])
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)
80 10. Don't use ctime (last file status change) for unix and qdos cross compile
81 (Greg)
82 11. added gccwin32 crosscompilation target (RSXNT) to os2/makefile.os2 (Kai Uwe)
83 12. fixed the OS/2 file attribute and time stamp generation for zipping
84 stdin ("-") (Kai Uwe)
85 13. fixed the atime and ctime stat fields for the OS/2 Watcom C library
86 (Kai Uwe)
87 14. 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)
89 15. qdos patches from Jonathan Hudson mainly for extended time flag handling
90 16. amiga aztec compiler bug workaround (Paul)
91 17. fix -v output of zipcloak, zipnote and zipsplit (Paul)
92 18. 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)
104 10. use a more sensible default for iztime.ctime than "0" when system does not
105 not support creation time stamps. (Christian)
106 11. fix VMS_PK_EXTRA function interface declarations. (Christian)
107 12. implement atime/ctime support in win32. (Christian)
108 13. win32/win32.c: replacement getch() for Watcom. (Paul)
109 14. win32/makefile.wat: debug object files kept separate. (Paul)
110 15. msdos/makefile.wat: debug object files kept separate. (Paul)
111 16. Fix extended time defines for the acorn. (Sergio)
112 17. Define PROCNAME() in acorn/osdep.h (Sergio)
113 18. Ignore exit status of ${INSTALL_D} in unix/Makefile (Chris)
114 19. Add Metroworks and BEOS info to version() in several files (Chris)
115 20. Move defines for the password fetch to zip.h (Christian)
116 21. Support the obsolete version rsxnt 1.1 / emx 0.9b (Christian)
117 22. Remove obsolete "#define PROCNAME ..." from cmsmvs/cmsmvs.h (Christian)
118 23. Fix extended time defines for qdos (Jonathan Hudson)
119 24. Use watcom getch() from unz530q in win32/win32.c (Onno)
120 25. Don't install zipgrep via the unix package tools (John Bush)
121 26. use izshr021 (Onno)
122 27. Fix zipnote: use iname not zname in zipnote.c (Onno)
123 28. 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)
134 10. Removed an unused memeber of a structure in windll (Mike)
135 11. Add BUGS instead of infozip.who and algorith.doc with the packaging
136 tools (John Bush)
137 12. tailor.h: increment NUM_HOSTS to keep in sync with UnZip (Christian)
138 13. win32/osdep.h: remove NO_SECURE_TESTS define (Christian)
139 14. zip.h: add declaration for free_crc_table() (Christian)
140 15. windll: move everything that's not windows specific into api.* (Mike)
141 16. use iname when checking for directory names in zipfile.c (Sergio)
142 17. improved mktime.c with better error checking (Christian)
143 18. improved crc routines (Christian, Rodney Brown)
144 19. get the -z option working again (Onno, Brad Clarke)
145 20. 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)
157 10. emx+RSXNT doesn't know about _get_osfhandle() (Kai Uwe)
158 11. fix a couple of typos in the OS/2 makefiles (Kai Uwe)
159 12. fix initialization bug in windll code (Mike)
160 13. tweak deletedir for RISC OS (Sergio)
161 14. RISCOS doesn't know about fstat() (Sergio)
162 15. Remove acorn/acorn (Sergio)
163 16. Delete debugging statements from version_local() in msdos.c (Greg)
164 17. 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)
209 10. Change P and K literals to hex for EBCDIC systems (Greg Hartwig)
210 11. Add output path support for CMS and MVS (Greg Hartwig)
211 12. Add memtoasc and memtoebc for EBCDIC systems (Greg Hartwig)
212 13. Handle comments correctly to fix zipnote for CMS and MVS (Greg Hartwig)
213 14. Add -tt option (do not operate on files after date mmddyy) (Christian)
214 15. move alloc routines for DOS into the !UTIL block (Christian)
215 16. move UTIL blocks and version_local() functions to a more logical place
216 (Christian)
217 17. Handle -P, -R, -x@, -i@ and -tt for the VMS CLI (Christian)
218 18. Update VMS help file with the new options (Christian)
219 19. Use iname in MATCH, not zname (Jonathan Hudson)
220 20. windll: more Visual Basic support (Mike)
221 21. windll: more project makefiles (Mike)
222 22. 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)
233 10. Fix "fatal" error messages on EBCDIC systems (Christian)
234 11. zipnote.c: Fix handling of entry name changes for EBCDIC systems (Christian)
235 12. removed a large part of "dead" code from ziputils version (Christian)
236 13. use z->iname in comparison functions for sorting (Christian)
237 14. new installation utils for the acorn (Sergio)
238 15. use LSSTAT in set_extra_field for unix and beos (Onno)
239 16. perror(z->zname) instead of perror("zip warning") (Onno, Geoff Pennington)
240 17. Amiga SFX should work again (Paul)
241 18. 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)
271 10. rename install.txt to INSTALL (Onno)
272 11. rename zip.txt to ZIPMAN (Onno)
273 12. 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 [email protected] and [email protected])
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)
306 10. 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)
326 10. include DJGPP_MINOR in DOS version_local() (Christian)
327 11. TC 2.0 doesn't have mktime() (Christian, [email protected])
328 12. VMS: rename opendir() to zopendir() so avoiding name clash with
329 VMS 7.x POSIX libraries (Christian, Martin Zinser)
330 13. Add support for VMS DEC C V 5.6 features (Christian)
331 14. Use iname for comparison in check_dup (Christian Spieler, Christian Michel)
332 15. Fix access to uninitialized ioctx records in vms_get_attributes()
333 Christian, Robert Nielsen)
334 16. Parenthesis around MAX_MATCH>>1 in match.S (Greg)
335 17. Use strchr() not strrchr() for -i and -x to get -i@ and -x@ really
336 working (Onno, Kai Uwe)
337 18. add chmod statements to unix/Makefile (Quentin Barnes)
338 19. Windll: handle both -r and -R (Mike)
339 20. Windll: general error handler in main() via setjmp/longjmp (Mike)
340 21. Don't allow zip [email protected] foo.zip (Onno)
341 22. vms/link_zip.com: use .eqs. not .nes. when checking with f$search
342 for the zip AXP object library (David Dachtera)
343 23. 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)
359 10. restructure readzipfile() (Christian)
360 11. Where needed define MATCH in osdep.h (Christian)
361 12. version_local() fixes for RSXNT (Christian)
362 13. 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)
382 10. Makefile for OpenMVS (Ian Gorman)
383 11. Use the Watcom getch() for cygwin32 (Christian)
384 12. Borland C++ 5.x added to win32's version_local() (Cosmin Truta)
385 13. 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)
396 10. More specific info in CMS version_local() (Greg Hartwig)
397 11. Changed usage info to refer to "fm" rather than "path" on CMS (Greg Hartwig)
398 12. No more "extra data" messages when using the same OS (Greg Hartwig)
399 13. Rewritten README.CMS, one version for ZIP and UNZIP (Greg Hartwig)
400 14. 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)
415 10. Removed some duplicate #defines from api.h, they are now in crypt.h (SPC)
416 11. Reenabled "extra data size" info messages in noisy mode for all systems
417 except RISCOS and CMS_MVS (SPC)
418 12. For EMX 0.9c, the runtime lib contains a working mktime(), use it (SPC)
419 13. Miscellanous cosmetic changes (SPC)
420 14. Move win32/makefile.emx to msdos (E-Yen Tan)
421 15. make api.h work with zcrypt2.8 (Mike)
422 16. define ydays differently in api.h to avoid linking problems (Mike)
423 17. New windll.txt (Mike)
424 18. win32 lcc patches (E-Yen Tan)
425 19. win32 lcc makefile (E-Yen Tan)
426 20. Multiple inclusion bug: no malloc.h when using lcc-win32 (E-Yen Tan)
427 21. New VB support files for windll (Mike Le Voi, Raymond King)
428 22. 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)
445 10. 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)
448 11. Killed bits.c by moving its contents into trees.c resp. zipup.c;
449 synchronized all Makefiles and Make procedures with this change. (SPC)
450 12. Integrated support for optionally replacement of deflate and crc32 by
451 public domain zlib code. (SPC)
452 13. Synchronize the different variants (UNIX/GNU C, OS/2, WIN32) of i386
453 assembler replacement for deflate's longest_match() (SPC)
454 14. Moved the EMX+rsxnt Makefile.emx from msdos/ back into win32/ (SPC)
455 15. Restored a separate Makefile.emx for DOS; on DOS, some make programs may
456 have difficulties with recursive invokation (SPC)
457 16. 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)
459 17. Integrated Dirk Haase's beta4 (27-Jun-98) release of MacZIP (Dirk Haase)
460 18. Added support for MS Quick C in the MSDOS version_local() report (SPC)
461 19. Added WIN32 rsxnt targets linking against the emx crtl DLL to Makefile.emx
462 in os2/ and win32/ (SPC)
463 20. Fixed typo in os2/os2.c wild() function. (Kai Uwe Rommel)
464 21. Removed ChangeNameForFAT() from os2/os2.c in2ex() to fix problem with
465 long filename support. (Kai Uwe Rommel)
466 22. os2/os2zip.[ch]: correct type of DOS-style timestamp data is "ulg" (SPC)
467 23. vms/cmdline.c: Removed wrong ';' behind if condition (Johnny Lee)
468 24. VMS: Preliminary preparations in C code for supporting GNU C on OpenVMS
469 Alpha (Onno van der Linden, Christian Spieler)
470 25. VMS: Fixed check against adding zipfile to itself in fileio.c (SPC)
471 26. WIN32: Added lcc-Win32 variants of i386 assembler code for crc32() and
472 longest_match(). (SPC)
473 27. WIN32: Removed bogus type-cast in assignment to statb st_mode member (SPC)
474 28. zip.c: Fixed MACOS-related typo that broke "-@" command option (SPC)
475 29. zipup.c: Fixed messed-up expression for assignment to z->ver (SPC)
476 30. MACOS extra fields: check realloc return values (Onno, Johnny Lee)
477 31. 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)
488 10. default for ZCONST is const in tailor.h, override in osdep.h (Onno)
489 11. additional Macintosh options in zip.c (Dirk Haase)
490 12. additional Macintosh options in zip.1 and MANUAL (Onno, Dirk Haase)
491 13. 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)
503 10. Remove windll/borland subdirectory (Mike)
504 11. Really fix extra field realloc() for BeOS and MacOS (Christian)
505 12. Fix the dj2 LFN related access violation bug (Christian, Joe Forster)
506 13. proginfo/3rdparty.bug: Added more info about other Zip clone's bugs.
507 14. The global copyright definitions in revision.h now depend on DEFCPYRT
508 (Christian).
509 15. tandem/macros: removed obsolete object file references (Christian)
510 16. fix memory leak with the "filter" patterns (Christian, Leah Kramer)
511 17. zip.c: completed the support for MacOS specific -N (Christian)
512 18. reorganized the Mac specific help screen code (Christian)
513 19. zipup.c: corrected the USE_ZLIB code to emit "stored" entries under
514 the same conditions as the "native deflate" code (Christian)
515 20. 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)
529 10. Clean up Makefile for BeOS R4 on x86 (Chris)
530 11. Beos: If not storing symlinks store attributes of symlink target (Chris)
531 12. Use izshr037 (Christian)
532 13. Remove ZIPERR() macro from in {msdos,win32}/osdep.h (Christian)
533 14. win32/win32.c: Fix 1-day offset in non-64bit FileTime2utime() (Christian)
534 15. win32: enable 64-bit FileTime2utime() for MS VC++ >= 5.0 (Christian)
535 16. cygwin32 only has _P_WAIT (Thomas Klausner)
536 17. msname() should *really* ignore illegal characters (Thomas Klausner)
537 18. 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)
551 10. Fix typo in acornzip.c (Darren Salt)
552 11. acorn/sendbits.s: pass correct parameters to flush_outbuf() (Darren Salt)
553 12. Fixes for IBM C/C++ 3.6 where time_t is a double (Kai Uwe)
554 13. Fixes for IBM Visual Age C++ for win32 (Douglas Hendrix)
555 14. man/zip.1: some version numbers in the text were still "2.2" (Christian)
556 15. win32/makefile.emx: added a compilation variant that generates
557 standalone executables (Christian)
558 16. change __CYGWIN32__ into __CYGWIN__ and add compatiblity definition for
559 B19 and older (Cosmin Truta)
560 17. create uniform win32 getch() replacement (Christian)
561 18. put back in define of USE_EF_UT_TIME in tandem.h (Dave Smith)
562 19. put back in define of USE_CASE_MAP in tandem.h (Dave Smith)
563 20. updates to make/macros to allow the object to be licensed (Dave Smith)
564 21. updates to macros/doit to remove mktime.c (Dave Smith)
565 22. updates to tandem.c for in2ex/mapname/chmod amendments to match Unzip
566 (Dave Smith)
567 23. Use izshr039.zip (Christian)
568 24. Init filenotes to 0 for the amiga too (Onno)
569 25. 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)
580 10. CMS/MVS: define FOPWT (Ian)
581 11. 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)
595 10. windll: fix potential infinite loop in a VB sample (Mike)
596 11. windll/windll.txt: remove "may not work with VB" statement (Mike)
597 12. Multibyte character set support from Yoshioka Tsuneo
598 13. Theos port from Jean-Michel Dubois
599 14. Tandem: added simple handling of Enscribe files by converting them into
600 text type files (Dave Smith)
601 15. Tandem Extra Field ("TA") containing Tandem File Attributes (Dave Smith)
602 16. Tandem history file showing background info to (UN)ZIP ports (Dave Smith)
603 17. create ZIP file on tandem with special file code (1001) (Dave Smith)
604 18. made tandem.c & tandem.h code completely the same as UNZIP (Dave Smith)
605 19. 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)
619 10. 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)
621 11. removed the THEOS changes from ttyio.c. Instead, a THEOS specific
622 setup was added to ttyio.h (Christian)
623 12. sync vms/link_zip.com with the corresponding make_zip.com (Christian)
624 13. added compatibility settings for support of MBCS on Win32 with all tested
625 compilers to win32/osdep.h
626 14. added type-casts to isalpha() macro calls (Christian)
627 15. fixed win32's wild_match which was clobbered by the MBCS addition
628 (Christian)
629 16. finished up the "potential infinite loop" problems in the VB sample
630 that Mike started to repair (Christian)
631 17. in ziperr.h, AZTEK C might require the false comma that was removed
632 to satisfy THEOS C (Christian)
633 18. removed the bogus THEOS specific isdir check in zipup.c (Christian)
634 19. 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)
637 20. Tandem: -B option to zip Enscribe files with no record delimiters
638 (Dave Smith)
639 21. Tandem: attempt to catch Large Transfer mode failure (Dave Smith)
640 22. Theos: Fixed keyboard entry functions. (Jean-Michel Dubois)
641 23. Theos: workaround for the argument wild card expansion that is bugged
642 in the standard library. Managed by MAINWA_BUG flag. (Jean-Michel Dubois)
643 24. Theos: support for filenames and notes with accented characters.
644 (Jean-Michel Dubois)
645 25. 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
667 10. Theos: Fixed wild card management for options other than adding
668 (Jean-Michel Dubois)
669 11. Theos: Removed modifications of const strings (Jean-Michel Dubois)
670 12. Split tandem.c up into separate zip/unzip parts (Dave Smith, Christian)
671 13. 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)
684 10. WIN32: skip trailing dots and spaces in getnam (Onno, Dan Kegel)
685 11. Use ZE_NONE when nothing to freshen or update (Onno, Yuri Sidorenko)
686 12. Remove tabs from files that don't need them (Onno)
687 13. Remove tabs and spaces from the end of a text line (Onno)
688 14. Upgrade macos to 1.04b2 (Dirk)
689 15. Add -Q documentation to manual page (Jonathan Hudson)
690 16. Copy hiperspace files instead of renaming them (Keith Owens)
691 17. Disallow some more characters to appear in DOS filenames when using -k
692 (Onno, Thomas Klausner)
693 18. Document missing options and environment variables in the manual (Onno)
694 19. New acorn/GMakefile to compile with gcc on RISCOS (Darren Salt)
695 20. 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)
707 10. WHATSNEW: add ISO 8601 dates supported (Christian)
708 11. fileio.c - msname(): strip off leading dots, these are illegal for
709 MSDOS compatible names (Christian)
710 13. fileio.c - replace(): deactivate "dead" code for CMS_MVS (Christian)
711 14. man/zip.1: "-$" option is also used for WIN32 ports
712 15. msdos/msdos.c - version_local(): break the version line for
713 GNU compilers too (Christian)
714 16. tailor.h: added typecasts to MBCS macros, to suppress "type mismatch"
715 warnings (Christian)
716 17. util.c, zip.h, zipfile.c: ZCONSTify several pointers (Christian)
717 18. util.c - recmatch(), zip.c - version_info(): add compile time option
718 WILD_STOP_AT_DIR (Christian, Darren Salt)
719 19. util.c - envargs(): MBCS related fixes (Christian)
720 20. win32/lm32_lcc.asm: add TAB characters that are required by the lcc
721 assembler source parser (Christian)
722 21. zip.c: fix the "is a console" check (Christian)
723 22. zipnote.c: use getline() (Christian)
724 23. zipup.c: use zclose() in case of I/O errors (Christian)
725 24. zipup.c: use ZE_WRITE when a write error occurs (Christian)
726 25. win32/win32.c: HAVE_INT64 is used by mingw32 (Cosmin Truta)
727 26. 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)
740 10. change tandem zgetch() to allow crypt version to work (Dave Smith)
741 11. fix a comment typo in acorn/riscos.c (Christian)
742 12. fileio.c: two type-cast to shut up noisy compilers (Christian)
743 13. human68k: fix missing case_flag argmument (Christian)
744 14. win32/win32.c: remove HAVE_INT64 completely (Christian)
745 15. zip.c: raise "cannot zip to console" error when stdout IS a tty (Christian)
746 16. zip.h: don't use dummy argument names in declarations (Christian)
747 17. Add missing semicolon in fileio.c (Shimazaki Ryo)
748 18. win32.c: IBMC compiler >= 3.50 have int64 (Kai Uwe)
749 19. Handle initialization error return value from MVS stat() in procname()
750 (Keith Owens)
751 20. Use RISC OS instead of RiscOS in the manual (Darren Salt)
752 21. Use # instead of ? as single character wildcard on RISC OS (Darren Salt)
753 22. New windll example.c (Mike)
754 23. Correct storage of 8-bit char filenames with RSXNT (Burkhard Hirzinger)
755 24. fix install in unix/Makefile (Santiago Vila, Onno)
756 25. Fix zip -L output (Santiago Vila, Onno)
757 26. Ignore unix special files (Jonathan O'Brien)
758 27. Upgrade to izshr042 (Onno)
759 28. Make copyright notice the same as in izshr042 (Onno)
760 29. Make copyright notice in zip.h the same as LICENSE (Christian)
761 30. Set tempzf to NULL _after_ it has been closed (Chris Kacher)
762 31. Change email address for Jonathan Hudson (Jonathan Hudson)
763 32. Remove win32/winzip.c.orig (Steve Salisbury)
764 33. Use 'Steve Salisbury' throughout the documentation (Steve Salisbury)
765 34. Change email address for Steve Salisbury (Steve Salisbury)
766 35. Change email address for Chris Herborth (Chris Herborth)
767 36. Use zip23 in INSTALL (Roger Cornelius)
768 37. Use zcrypt28 in INSTALL (Onno)
769 38. New acorn/srcrename (Darren Salt)
770 39. amiga/makefile.azt: make clean should remove some more items (Paul)
771 40. 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)
782 10. Fix OS/2's extended file attributes compression code (Christian, Kai Uwe)
783 11. Correct translation of EBCDIC passwords to ASCII (Christian)
784 12. Attempt at integrating novell patches from Roger Foss (Onno)
785 13. 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)
808 10. Define IZ_IMP to specify compiler declaration prefixes (Christian)
809 11. make win32 and msdos version_local() "stdio-macro-safe" (Christian)
810 12. move tandem's zip specific zipopen to tanzip.c (Christian)
811 13. first parm is void * in external scope of vms_get_attributes() (Christian)
812 14. use right novell subdirectory in zipup.c (Christian)
813 15. 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)
825 10. win32/makefile.bor: more options to compile the asm CRC code (Christian)
826 11. win32: use registry to handle timezones with MS C rtl (Christian)
827 12. acorn: use recommended practice for calling the linker (Andy Wingate)
828 13. unix/configure: check if CPP works else use ${CC} -E (Onno, Mark)
829 14. 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)
840 10. tandem: allow passing of CRYPT define (Dave Smith)
841 11. 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
854 Note: Zip 2.4 was never released. That code was the start of the Zip 3.0
855 effort below. Some changes and fixes also made it to the Zip 2.3x releases.
856
857 ---------------------- January 21st 2004 version 3.0a ----------------------
858 Initial 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)
869 10. 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)
872 11. 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)
876 12. 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)
880 13. 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)
883 14. Bugs compiling scanzipf_fix(...) in zipfile.c and the fix functions could
884 use rewrite (Rainer and Ed)
885 15. Add prototype for zfopen for mapping to 64-bit fopen on ports using
886 inodes but not implemented (Ed)
887 16. More work on extended local headers and encypted archives (Rainer)
888 17. Fix DLL files so now compiles (Ed)
889 18. 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)
892 19. 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)
895 20. Add new option --force-zip64 to force use of zip64 fields. Could
896 be temporary (Ed)
897 21. 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)
900 22. Readme updated to describe new features and mention updated mail group
901 web links (Ed)
902 23. Minor bugs in output format found and fixed. Now can add
903 files > 4 GB to archive and unzip using major unzippers (Ed)
904 24. 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)
909 25. A few bugs in how headers are handled prevented zipping large numbers
910 of files. Fixed (Rainer)
911 26. A bit of an attempt to fix -F and -FF. Seems to work but not that
912 robust. More work needed (Ed)
913 27. 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)
917 28. 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)
941 10. Change fopen to zfopen for large file code and map to fopen64 for
942 Unix (Ed)
943 11. 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.
947 12. A few updates in Readme. Needs overhaul likely. Also verified mxserver
948 is gone and replaced with list addresses (Ed)
949 13. First iterations at updating WinDLL for Zip64 (Mike)
950 14. Decide to drop backward dll compatibility in favor of a cleaner
951 dll interface. Decide to add string interfaces for VB (Ed, Mike)
952 15. Add string interfaces to dll interface to bypass array limitations
953 imposed by VB and add -x and -i to interface (Mike)
954 16. Create new VB example using new Zip64 dll interface (Ed)
955 17. Add O_LARGEFILE define for zopen in unix/zipup.h to enable reading
956 large files in unix (Ed)
957 18. 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)
959 19. 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)
978 10. Add quotes to zipname in check_zipfile for MSDOS to allow spaces in
979 archive path given to unzip to test ( , Ed)
980 11. 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)
985 12. 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)
989 13. 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)
1008 10. 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))
1012 11. 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)
1015 12. 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)
1018 13. 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)
1021 14. On VMS, minor changes for large file support (long -> zoff_t).
1022 VMSZIP.C (SMS)
1023 15. 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)
1026 16. 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)
1030 17. Update command line options to support -VV as distinct option (Ed)
1031 18. More VMS changes (SMS)
1032 19. Add zoff_t format function (SMS)
1033 20. 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)
1037 21. 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)
1039 22. Add port atheos (Ruslan Nickolaev, Ed)
1040 23. Bug fix adds different extra fields for local and central in VMS (SMS)
1041 24. Now short options also take optional values as next argument (Ed)
1042 25. Change -dd to control -v dots (SMS, Ed)
1043 26. 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)
1051 27. VMS CLI definitions and CLI help have been updated, and may be
1052 approximately correct. CMDLINE.C, ZIP_CLI.CLD, ZIP_CLI.HELP (SMS)
1053 28. 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)
1071 10. Split int kk off of k for argument types (Paul)
1072 11. Aztec #endif quirk fix in zip.c for Amiga (Paul)
1073 12. 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)
1076 13. Remove check for >= 128 from binary check in zipup.c as <= 6 enough for
1077 signed char (SMS, Ed)
1078 14. SF Bug 1074368 - check for empty zip file in readzipfile() in zipfile.c
1079 (Christian d'Heureuse, Ed)
1080 15. 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)
1083 16. Change percent() in zipup.c to do rounding better, handle cases near limits
1084 while rounding, and allow negative percent returns (SMS, Ed)
1085 17. 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)
1090 18. Change >>1 to /2 in zipsplit.c to allow for negative percent returns (SMS)
1091 19. Add type uzoff_t for unsigned zoff_t things. Should clean up some casting
1092 (Ed)
1093 20. 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)
1099 21. 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)
1102 22. 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)
1105 23. 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)
1112 24. Add note about output redirection to zip.1 (?, Ed)
1113 25. Remove num < 0 check as num now unsigned. util.c (SMS, Ed)
1114 26. Change lastchar to lastchr in fileio.c in places to avoid function by same
1115 name (SMS, Ed)
1116 27. Moved #endif /* !WINDLL */ in zip.c (Mike)
1117 28. Account for vms directory version being ;1. vmszip.c (SMS)
1118 29. Fix Zip64 check in scanzipf_reg to use the buffer. zipfile.c (Ed)
1119 30. Default define size_t (for use by Steve's ffile_size() function). tailor.h (Ed)
1120 31. 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)
1124 32. Fixes for djgpp. Now compiles with djgpp 2 (Ed)
1125 33. Add new VC6 projects for win32 and windll (Cosmin)
1126 34. Convert some variables in zipsplit.c from ulg to zoff_t so compiles (Ed)
1127 35. Add wildcards to extended help. zip.c (Ed)
1128 36. For optional option value now '-' is same as missing value. fileio.c (Ed)
1129 37. Remove extra free() from -dd option switch. zip.c (Ed)
1130 38. Change write_unsigned_to_mem() to write_ulong_to_mem() and write_short_to_mem()
1131 to write_ushort_to_mem(). zipfile.c (Ed)
1132 39. Create new append to mem functions. zipfile.c (Ed)
1133 40. Change zlist nam and ext from extent to ushort as that is what gets written.
1134 zipfile.c (Ed)
1135 41. Change GetSD to use ush instead of size_t. win32/win32zip.c (Ed)
1136 42. Change PutLocal(), PutExtended(), PutCentral(), and PutEnd() to write to
1137 memory and then write the block at once to the file. zipfile.c (Ed)
1138 43. Change zcomlen from extent to ush, other extent conversions. zipfile.c,
1139 globals.c, zip.h (Ed)
1140 44. 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)
1142 45. Do not increment files_so_far and bytes_so_far if file could not be read.
1143 zip.c (Ed)
1144 46. 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)
1147 47. Add end status if displaying running stats and not all files were read.
1148 zip.c (Ed)
1149 48. Change force_zip64 to zip64_archive in putend(). zipfile.c (Ed)
1150 49. Enable the i686-optimized code by default. crc_i386.S,
1151 win32/crc_i386.asm, win32/crc_i386.c (Cosmin)
1152 50. 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)
1155 51. Update binary detection for -l and -ll to use Cosmin black list. zipup.c (Ed)
1156 52. Change ZE_BIG to include read and write. ziperr.h (Ed)
1157 53. 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)
1161 54. 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)
1163 55. Update VB readme. windll/VB/readmeVB.txt (Ed)
1164 56. Change (INSTALL) to (INSTALL_PROGRAM). unix/Makefile (, Ed)
1165 57. 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)
1167 58. Change from -b to -bx for nroff of manuals to text files. unix/Makefile (Ed)
1168 59. Add cygwin to makefile. unix/Makefile (, Ed)
1169 60. Fix bug where files to delete not added to list. zip.c (Ed)
1170 61. Fix delete stats. zip.c (Ed)
1171 62. Increment version of crypt to 2.10. Update default behavior notes.
1172 crypt.c, crypt.h (Paul, Christian)
1173 63. Format changes, add parentheses to zfseeko(), fix output bytes, add ifdef
1174 blocks for ZIP10, fzofft formatting, casts. crypt.c (Christian)
1175 64. Cast block_start to unsigned. deflate.c (Christian)
1176 65. 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)
1180 66. Enclose option -! and use_privileges under NTSD_EAS guard. globals.c,
1181 zip.c, zip.h (Cosmin)
1182 67. 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)
1185 68. Add ZCONST to some read-only string pointer arguments in function
1186 declarations. zipcloak.c, zipnote.c, zipsplit.c, zip.c, zip.h (Christian)
1187 69. Fix byte counts on exit in zipcloak() and zipbare() to fix zipcloak bug
1188 (Christian)
1189 70. Modified zipnote.c to use WRBUFSIZ to handle line widths of at least 2047
1190 characters in write mode (Christian)
1191 71. Change simple() and greedy() from zoff_t to uzoff_t. zipsplit.c (Christian)
1192 72. Remove duplicate copyright notices. zipsplit.c (Christian)
1193 73. Remove export notice from help page. Move notice to bottom of license
1194 page. zipcloak.c (Ed)
1195 74. File USexport.msg export history added. (Greg)
1196 75. 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)
1202 76. New VMS option -ww (/DOT_VERSION) stores version numbers as ".nnn"
1203 instead of ";nnn" [changed from -Y to -ww (Ed)]. zip.c (SMS)
1204 77. Changes to vms_open(). vms/vms_im.c, vms/vms_pk.c
1205 78. Changes to vms_read(). vms/vms_pk.c (SMS)
1206 79. Documentation updates. vms/vms_zip.rnh (SMS)
1207 80. Minor updates. vms/zip_cli.help, vms/cmdline.c, vms/vms_zip.rnh (Ed)
1208 81. Changes to vmsmunch(). vms/vmsmunch.c (SMS)
1209 82. Do some updating of VMS options. vms/zip_cli.cld (SMS)
1210 83. Moved the VMS-specific ziptyp() function from zipfile.c to vms/vms.c
1211 to segregate better the RMS stuff. (SMS)
1212 84. 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)
1216 85. Use zip_fzofft() to format number. zipsplit.c (SMS)
1217 86. Add file_id.diz from Zip 2.31 (?, Ed)
1218 87. Update install from Zip 2.31 (?, Ed)
1219 88. Update license from Zip 2.31. License (?, Ed)
1220 89. Update Readme.cr from Zip 2.31 (?, Ed)
1221 90. Add 64-bit assembler for Win32 from Zip 2.31. win32/makefile.a64,
1222 win32/readme.a64, win32/gvmat64.asm (?, Ed)
1223 91. Update Readme (Ed)
1224 92. Update headers. crctab.c, crc32.c, deflate.c, ebcdic.h, fileio.h (Ed)
1225 93. Option for extra verbose VMS, change DIAG_FLAG from verbose to
1226 (verbose >= 2). vms/vms.c (SMS)
1227 94. Update copyright header. qdos/qdos.c (Christian, Ed)
1228 95. Change exit(0) to exit(ZE_OK). qdos/qdos.c (Christian)
1229 96. Change ulg to unsigned long. tailor.h (, Christian)
1230 97. Default uzoff_t to unsigned long long if LARGE_FILE_SUPPORT manually
1231 enabled for an otherwise unsupported port. tailor.h (Ed)
1232 98. Update copyright header. tailor.h (Ed)
1233 99. Change EXIT(0) to EXIT(ZE_LOGIC) for ziperr recursion. zip.c (Christian)
1234 100. Change EXIT(0) to EXIT(ZE_OK) for successful returns. zip.c,
1235 zipcloak.c (Christian)
1236 101. Update license. zip.h (Christian)
1237 102. Initialized mesg in zipcloak.c, zipnote.c, zipsplit.c to fix access
1238 violation crashes. (Christian)
1239 103. Added -q (Quiet mode) option to zipcloak, zipnote, zipsplit. (Christian)
1240 104. Add proto of mb_clen(). fileio.c (Cosmin)
1241 105. Synchronize ttyio.c and ttyio.h with the unzip-5.52 source. (Cosmin)
1242 106. 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)
1245 107. Remove getenv() declaration. util.c (Cosmin)
1246 108. Fix definitions of zopen and zstdin. unix/zipup.h (Cosmin)
1247 109. Enable binary file operations for DJGPP and Cygwin. unix/osdep.h (Cosmin)
1248 110. Remove -DMSDOS from CFLAGS; use correct dependency in target crc_i386.obj.
1249 win32/makefile.w32, win32/makenoas.w32 (Cosmin)
1250 111. Update win32/makefile.bor and win32/makefile.gcc (Cosmin)
1251 112. Put mktemp() declaration inside the NO_PROTO guard. tailor.h (Cosmin)
1252 113. Use the right type (DWORD) for volSerNo, maxCompLen and fileSysFlags
1253 in FSusesLocalTime(). win32/win32.c (Cosmin)
1254 114. Set the "zip Debug" configuration as default. win32/vc6/zip.dsp (Cosmin)
1255 115. Define ASM_CRC by default. win32/osdep.h (Cosmin)
1256 116. Avoid using file names that are distinguished solely by letter case;
1257 e.g. crc_i386.S and crc_i386.s. unix/Makefile (Cosmin)
1258 117. Stylistic fix inside ex2in(). unix/unix.c (Cosmin)
1259 118. 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)
1261 119. Conditionally apply S_IFLNK to support DJGPP. unix/unix.c (Cosmin)
1262 120. 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)
1268 121. Change text output of manual pages to zip.txt, zip.txt, zipcloak.txt,
1269 zipnote.txt, zipsplit.txt. unix/Makefile (Christian, Ed)
1270 122. Change comments using // to /* */ format. api.c, zip.c (Christian)
1271 123. Add support for signals SIGABRT, SIGBREAK, SIGBUS, SIGILL, and SIGSEGV
1272 to utilities. zipcloak.c, zipnote.c, zipsplit.c (Christian)
1273 124. Update ToDo30.txt file (Ed)
1274 125. Delete old Manual file (Ed)
1275 126. Update WHERE from Zip 2.32 (Ed)
1276 127. Change description of dot-size. zip.c (Ed)
1277 128. Change VMS to use -ds to set dotsize. vms/cmdline.c (Ed)
1278 129. Update manuals. man/zip.1, man/zipsplit.1, man/zipnote.1,
1279 man/zipcloak.1 (Ed)
1280 130. Detect i586, i686 and Cygwin in version_local(). unix/unix.c (Cosmin)
1281 131. Add clean target. win32/makefile.w32, win32/makenoas.w32 (Cosmin)
1282 132. 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)
1287 133. Add (ulg) cast to strstart in flush_block. deflate.c (Christian)
1288 134. Updated Win32 LARGE_FILE_SUPPORT setup for Watcom and MinGW.
1289 tailor.h, win32/osdep.h (Christian)
1290 135. Add attempt count to tempname(). fileio.c (Christian)
1291 136. Fixed size counter handling in debug code for Zip64. trees.c (Christian)
1292 137. Moved cryptnote display text definition into revision.h, like was done
1293 in Zip 2.31. zip.c, revision.h (Christian)
1294 138. Add ZCONST. fileio.c (Christian)
1295 139. 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)
1298 140. Change zipup size error message to use zip_fzofft(). zipup.c (Christian)
1299 141. Updated win32/makefile.wat to enable Zip64 support and use directory
1300 for intermediate files. (Christian)
1301 142. 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)
1304 143. Define NO_W32TIMES_IZFIX in compile options when appropriate. Add
1305 version information for USE_ZLIB compiler option. zip.c (Christian)
1306 144. Add support for SIGABRT, SIGBREAK, SIGBUS, SIGILL, and SIGSEGV signals.
1307 zip.c (Christian)
1308 145. Add display-usize option to show uncompressed size. zip.c (Ed)
1309 146. Add many descriptions to options table. zip.c (Ed)
1310 147. Remove -R from help screen as on extended help screen. zip.c (Ed)
1311 148. Add basics to extended help. zip.c (Ed)
1312 149. 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)
1315 150. Change Zip64 not supported warning in scanzipf_reg(). zipfile.c (Ed)
1316 151. 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)
1321 152. Minor fix from 10000 to 10 K for WriteNumString(). util.c (Ed)
1322 153. Add overflow check to file_read(). zipup.c (SMS)
1323 154. Add parameter p1 product specification. vms/collect_deps.com (SMS)
1324 155. VMS changes. vms/descrip_mkdeps.mms (SMS)
1325 156. Change zoff_t to uzoff_t and unsigned int to size_t. vms/vms_im.c,
1326 vms/vms_pk.c (SMS)
1327 157. Fix ; that was : at end of line. Fix DisplayNumString() prototype.
1328 zip.h (Ed)
1329 158. Get rid of leading blanks in DisplayNumString(). util.c (Ed)
1330 159. Reset dot_count each file. zipup.c (Ed)
1331 160. Minor changes to extended help. zip.c (Ed)
1332 161. Move defines into DEFINED_ONCE block. api.h (Mike)
1333 162. Add Still Remaining And Planned For Zip 3.0 section. WhatsNew (Ed)
1334 163. Delete quotes around CHANGES. Readme (Ed)
1335 164. 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)
1338 165. Update extended help to include logging. zip.c (Ed)
1339 166. Add support for required short option value in form -o=value as optional
1340 does. fileio.c (Ed)
1341 167. 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)
1344 168. Use usize from filetime for adding to bytes_total when updating instead
1345 of size in old entry. zip.c (Ed)
1346 169. 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)
1352 170. Add uq for unsigned q in zipup(). Initialize z->len in case an error
1353 later so have a valid size. zipup.c (Ed)
1354 171. Check noisy in DisplayRunningStats() so logging is independent of it.
1355 zip.c (Ed)
1356 172. 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)
1358 173. Add errno.h for strerror(errno) call. zip.c, zipup.c (SMS)
1359 174. Fix log problem if using -q option. zipup.c (Ed)
1360 175. 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)
1362 176. Update note on extent. globals.c (Christian, Ed)
1363 177. Remove extra USE_ZLIB. zip.c (Christian)
1364 178. 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)
1366 180. 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)
1371 181. Changes to extended help. zip.c (Ed)
1372 182. Update WhatsNew (Ed)
1373 183. Update DLL resource copyright. windll.rc, windll.aps (Ed)
1374 184. 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)
1377 185. Cache result of IsFileSystemOldFAT() to avoid repetitive system calls
1378 for identical information. win32/win32.c (Johnny)
1379 186. 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)
1382 187. 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)
1384 188. 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)
1387 189. Directory search improvements for MSDOS. msdos/msdos.c (Johnny)
1388 190. Add caching of directory information. If pattern is just *string no
1389 need to recurse. win32/win32.c (Johnny)
1390 191. If wild_stop_at_dir then do recurse to handle cases like a/b/*.txt.
1391 win32/win32.c (Ed)
1392 192. 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)
1411 193. Add and move comments, implement changes for directory search improvements
1412 in Zip 3.0 util.c (Ed)
1413 194. In win32/win32.c, IsFileSystemOldFAT(), add declarations of static caching
1414 variables where missing to fix win32 port compilation bug (Christian)
1415 195. Correct changed arguments in RSXNT-only character set conversion
1416 call. win32/win32zip.c (Christian)
1417 196. Implement Directory Search improvements from Zip 2.32. win32/win32zip.c
1418 (Johnny, Ed)
1419 197. Debian Bug #312090 fix. Reworded man page to give multiple examples of
1420 recursion, not just zip -r foo foo. man/zip.1 (Ed)
1421 198. 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)
1427 199. Add support for osf4.0f that does not have fseeko or ftello but has 64-bit
1428 fseek and ftell though. tailor.h (Rodney)
1429 200. Fix unsigned char to char in recmatch(), add casts for compares. util.c
1430 (Ed)
1431 201. Fix for alpha off_t long long. unix/osdep.h (Rodney)
1432 202. Change shmatch() from uch to char and change parameters to recmatch().
1433 Change dosmatch(). util.c (SMS, Rodney, Ed)
1434 203. Add local for DisplayRunningStats(). zip.c (Rodney, Ed)
1435 204. Disable unused append_ubyte_to_mem(). Fix error messages in other append.
1436 zipfile.c (Rodney, Ed)
1437 205. Delete unused getDirEntryAttribs(). msdos/msdos.c (Christian)
1438 206. Change warning when running msdos version on Windows. msdos/msdos.c (Ed)
1439 207. Change recmatch() to support MBCS matching. util.c (Christian)
1440 208. Update WhatsNew (Ed)
1441 209. Update Readme (Ed)
1442 210. Format Readme to fit in 80 character lines (SMS, Ed)
1443 211. Rename install.vms to install_vms.txt. vms/install_vms.txt (SMS)
1444 212. Add reference to vms/install_vms.txt in INSTALL (SMS)
1445 213. Update INSTALL (Ed)
1446 214. Remove ALT_NEXTBYTE and Building UnZip sections as no longer needed.
1447 vms/notes.txt (SMS, Ed)
1448 215. Add note to TODO (Ed)
1449 216. Update Makefile message to suggest using generic. unix/Makefile (Ed)
1450 217. Update text output of manual. zip.txt (Ed)
1451 218. Update VMS section. INSTALL (SMS, Ed)
1452 219. Minor changes in vms/install_vms.txt (SMS, Ed)
1453 220. Update VMS install information. INSTALL, vms/install_vms.txt (SMS, Ed)
1454 221. Do not use _stati64 under Cygwin. win32/osdep.h (Cosmin)
1455 222. Add note to Makefile to use generic first. unix/Makefile (Ed)
1456 223. Add Test option for VMS CLI. vms/cmdline.c (SMS, ?)
1457 224. Add noconfirm to deletes, define symbol edit. vms/descrip.mms (SMS)
1458 225. Changes to vms/install_vms.txt (SMS)
1459 226. Add note on symbols to VMS. INSTALL (SMS)
1460 227. 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)
1463 228. Add stsdef.h include for VMS and convert unzip test return to VMS
1464 result for VMS. zip.c (SMS)
1465 229. Add const to ziperr(). amiga/amiga.c (Paul)
1466 230. Clean up makefile. amiga/makefile.azt (Paul)
1467 231. Don't try Amiga large file support. amiga/osdep.h (Paul)
1468 232. Add note on -V and -VV. vms/notes.txt (SMS)
1469 233. Small update. vms/zip_cli.help (SMS)
1470 234. Format Windows warning message. msdos/msdos.c (Christian)
1471 235. Format changes. util.c (Christian)
1472 236. Update VMS. INSTALL (SMS)
1473 237. Add creation of intermediate object directories. msdos/makefile.wat
1474 (Christian)
1475 238. Add void * cast. msdos/msdos.c (Christian)
1476 239. Add include for mktemp(). msdos/osdep.h (Christian)
1477 240. Fix __RSXNT__ and WIN32_OEM define blocks. win32/win32.c (Christian)
1478 241. Fix __RSXNT__ and WIN32_OEM define blocks. win32/win32zip.c (Christian)
1479 242. Add != NULL to check. zip.c (Christian)
1480 243. 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)
1494 10. 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
1497 11. 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
1500 12. Insert arg "@" after list if not followed by option. fileio.c
1501 13. Add args variable and copy argv to args so can use insert_arg(). zip.c
1502 14. Add MKS Korn Shell note. zip.c
1503 15. Change cast of option in add_filter() calls from char to int. zip.c
1504 16. 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)
1543 17. Update freeup() to include uname and oname. zip.c
1544 18. Move define wide_to_mb_default so default for all is '_'. zip.h (Ed)
1545 19. 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)
1561 10. Allow for states for wide characters but surrogates not done. fileio.c (Ed)
1562 11. 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)
1587 10. Add function zipmessage() for writing messages like zipwarn() but are
1588 informational. zip.c (Ed)
1589 11. Minor changes to help. zip.c (Ed)
1590 12. Add SPLIT_SUPPORT to version output. zip.c (Ed)
1591 13. Add rename_split() to rename and set attributes for a split. zip.c (Ed)
1592 14. Add set_filetype() to set attributes of split. zip.c (Ed)
1593 15. Change variable a (holds attributes) to zipfile_attributes and make global.
1594 zip.c, zip.h, globals.c (Ed)
1595 16. Add key_needed flag for encryption and move setting key to after
1596 command line processed. zip.c (SMS)
1597 17. Initialize dot size using default only if dot_size not set. zip.c (Ed)
1598 18. Change command line processing so that last -P or -e is used. zip.c
1599 (Ed)
1600 19. Fix broke writing of 4-byte spanning signature at the beginning of the archive
1601 if splitting. zip.c (Ed)
1602 20. Use bfcopy() instead of fcopy() to copy archive beginning. bfcopy() uses
1603 global y. zip.c (Ed)
1604 21. It looks like tempzf is no longer used. zip.c (Ed)
1605 22. Account for SUNPRO_C and DECC_VER. Change SPARC to Sparc. unix/unix.c (SMS)
1606 23. Remove GNUC. vms/cmdline.c (SMS)
1607 24. Change case of system calls. vms/vms.c (SMS)
1608 25. Add fix for VMS ... matching, but may change Zip to avoid ex2in() and in2ex()
1609 for pattern matching in future. vms/vmszip.c (SMS)
1610 26. Remove /NODIRNAMES and /DIRNAMES from VMS help. vms/zip_cli.help (SMS)
1611 27. 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)
1613 28. Add SUNPRO C and DEC C compile checks. unix/configure (SMS)
1614 29. Add CFLAGS_NOOPT for removing optimization for configure. unix/Makefile (SMS)
1615 30. Modify crypthead() to use bfwrite(). crypt.h, crypt.c (Ed)
1616 31. Modify zfwrite() to use global output file. crypt.h, crypt.c (Ed)
1617 32. Modify zfwrite() when no encryption to use bfwrite(). crypt.h (Ed)
1618 33. Add bfcopy() to copy to y. fileio.c (Ed)
1619 34. Add close_split() and bfwrite() for splits. fileio.c (Ed)
1620 35. Add is_ascii_string() to check if UTF-8 extra field is needed. fileio.c (Ed)
1621 36. Change Unicode escape of 2-byte wide from #1234 to #U1234. fileio.c (Ed)
1622 37. Add read_Unicode_Path_entry() to read the UTF-8 path extra field. zipfile.c (Ed)
1623 38. 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
1627 39. Use CRC-32 for Unicode Path Checksum and AND halves. zipfile.c (Paul)
1628 40. Add Unicode Path Checksum check to make sure extra field applies to Name field
1629 still. zipfile.c (Christian)
1630 41. Move get_extra_field() out of Zip64 block and make available for splits.
1631 zipfile.c (Ed)
1632 42. Check in putlocal() using is_ascii_string() and don't create Unicode path
1633 extra field if name is ASCII characters. zipfile.c (Ed)
1634 43. 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)
1636 44. 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)
1638 45. Check for ASCII name using is_ascii_string() in putcentral() for Unicode path
1639 extra field. zipfile.c (Ed)
1640 46. 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)
1645 47. Use current_local_offset and current_local_disk for z->off and z->dsk in
1646 zipup(). zipup.c (Ed)
1647 48. 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)
1649 49. 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)
1651 50. 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)
1653 51. 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)
1657 52. 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)
1660 53. Update help, adding in -e, -P, -s splitsize, -sp, and -sv options. zip.c (Ed)
1661 54. Spelling fix in zipsplit man page. man/zipsplit.1, zipsplit.txt (Ed)
1662 55. 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)
1685 10. Move split size message lower and only output if option sv sets
1686 noisy splits. zip.c (Ed)
1687 11. Set y to output file, remove output file from zipcopy(), putlocal(),
1688 putcentral(), and putend(). zipsplit.c, zipnote.c, zipcloak.c (Ed)
1689 12. Add code for not SPLIT_SUPPORT case. zipfile.c, zipup.c (Ed)
1690 13. Prepend '-' to commands from target clean.
1691 win32/makefile.w32, win32/makenoas.w32, win32/makefile.bor (Cosmin)
1692 14. Must not call putenv() in iz_w32_prepareTZenv() under Cygwin.
1693 win32/osdep.h (Cosmin)
1694 15. 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)
1713 10. Remove disabled copyright from license(). zip.c (Ed)
1714 11. Clean up recent changes. zip.c, zipfile.c, fileio.c, zip.h, zipup.c (Ed)
1715 12. 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)
1734 10. 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)
1754 10. 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)
1757 11. Close in_path and out_path in finish() and ziperr(). zip.c (Ed)
1758 12. Change perror() to strerror() and print to mesg in ziperr(). zip.c (Ed)
1759 13. Add find_next_signature() to find the next signature when reading a
1760 zip file. zipfile.c (Ed)
1761 14. Add find_signature() to find a given signature from current point in
1762 archive. zipfile.c (Ed)
1763 15. Add at_signature() to check if at a given signature in archive.
1764 zipfile.c (Ed)
1765 16. Changes to scanzipf_regnew() but far from done. zipfile.c (Ed)
1766 17. 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)
1769 18. Change -s to default to MB and set minimum split size to 64k.
1770 zip.c (Ed)
1771 19. Add link to user32.lib for CharToOem(). makefile.w32, makenoas.w32
1772 (Cosmin)
1773 20. 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)
1792 10. Add -O (big o) to extended help. zip.c (Ed)
1793 11. Remove readzipfile() from zipstdout() and use main call later down.
1794 zip.c (Ed)
1795 12. Move archive reading and file scanning after command line checks.
1796 zip.c (Ed)
1797 13. 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)
1799 14. If zipbeg is just 4 bytes and spanning then assume is spanning
1800 signature and set zipbeg to 0 to ignore. zip.c (Ed)
1801 15. Don't open initial write test as modify if have_out is set and so have
1802 a separate output file. zip.c (Ed)
1803 16. 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)
1805 17. 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)
1808 18. Add status message when copy_only set so something is displayed.
1809 zip.c (Ed)
1810 19. 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)
1813 20. Update copyright. zipnote.c, zipsplit.c, zipcloak.c (Ed)
1814 21. 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)
1817 22. Add read_Unicode_Path_local_entry() to read the local version of the
1818 Unicode Path extra field. zipfile.c (Ed)
1819 23. Handle disk in adjust_zip_central_entry(). zipfile.c (Ed)
1820 24. Change USE_NEW_READ to SPLIT_SUPPORT as splits seems to be stable more
1821 or less. zipfile.c (Ed)
1822 25. Add is_signature() to compate signatures. zipfile.c (Ed)
1823 26. Create scanzipf_fixnew(). It should look like scanzipf_regnew().
1824 zipfile.c (Ed)
1825 27. 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)
1833 28. Change readable check in readzipfile() to require input archive to exist
1834 if using -O out_archive. zipfile.c (Ed)
1835 29. 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)
1840 30. 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)
1845 31. Change out_path and out_len to base_path and base_len in
1846 get_split_path(). fileio.c (SMS)
1847 32. Update command line options for VMS to include verbose splitting.
1848 vms/zip_cli.cmd, vms/cmdline.c (SMS)
1849 33. Handle HP. unix/unix.c (SMS)
1850 34. Add adler16() checksum function. util.c (Cosmin)
1851 35. 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)
1877 10. Add encryption overwrite fix to copy_block() and remove from zfwrite().
1878 crypt.c, tree.c (Ed, Christian)
1879 11. Add note on bug fix. WhatsNew (Ed)
1880 12. Add copy_only mode. zip.c (Ed)
1881 13. Make SPLIT_SUPPORT the default. zip.h (Ed)
1882 14. Add set_filetype(), rename_split(), and zipmessage(). zipcloak.c,
1883 zipnote.c, zipsplit.c (Ed)
1884 15. Add long option support. zipcloak.c (Ed)
1885 16. Set in_path. zipcloak.c, zipnote.c, zipsplit.c (Ed)
1886 17. Use SPLIT_SUPPORT calls. zipcloak.c, zipnote.c, zipsplit.c (Ed)
1887 18. 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)
1889 19. Include ctype.h for toupper(). zipfile.c (Ed)
1890 20. Add readlocal() for utilities to read local header. zipfile.c (Ed)
1891 21. Put Zip64 variables and code in ZIP64_SUPPORT ifdef in scanzipf_regnew().
1892 zipfile.c (Ed, SMS)
1893 22. Use zip_fzofft() for converting offset. zipfile.c (Ed, SMS)
1894 23. Add casts to many append to memory calls. zipfile.c (Ed)
1895 24. Move handling of .zip split to get_in_split_path() and
1896 get_out_split_path(). zipfile.c (Ed)
1897 25. Handle fix = 3 case for ZipNote that renames entries in zipcopy().
1898 zipfile.c (Ed)
1899 26. 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)
1902 27. Add notes on using file time for encrypting. zipup.c (Ed)
1903 28. 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)
1906 29. Suppress command line globbing for MINGW. win32/win32.c (Christian)
1907 30. 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)
1926 10. 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)
1929 11. 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)
1931 12. Change -M to -MM and define -mm to avoid accidental use of -m.
1932 zip.c (Ed)
1933 13. 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)
1937 14. Add fflush() after dots displayed. deflate.c, fileio.c, zipup.c (Ed)
1938 15. 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)
1942 16. 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)
1947 17. 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)
1950 18. Fix cd_start_offset bug. fileio.c (Ed)
1951 19. 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)
1957 20. 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)
1965 21. 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)
1967 22. Add check to not allow setting -U (internal copy) in similar cases to
1968 -d (delete). zip.c (Ed)
1969 23. 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)
1973 24. Add check for when ftell() wraps. zipup.c (Ed)
1974 25. Add mesg_line_started = 0 to result percentage message. zipup.c (Ed)
1975 26. Update contact information. unix/packaging/preinstall.in (SMS, Ed)
1976 27. A few Zip64 fixes to set Zip64 correctly and fix disk and offset of
1977 Zip64 End Of Central Directory. zipsplit.c (Ed)
1978 28. Update comments for get_option(). fileio.c (Ed)
1979 29. Update DLL version. windll/windll.rc (SMS, Ed)
1980 30. 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)
1994 10. Update to VMS help. vms/zip_cli.help (Ed)
1995 11. Check for memmove() and strerror(). Remove specific 64-bit support
1996 for SunOS, as large file support now does. unix/configure (SMS)
1997 12. Add emergency replacements for memmove() and strerror().
1998 unix/unix.c (SMS)
1999 13. 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)
2017 10. 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)
2021 11. Use output name oname for -sf option to show files that would be
2022 worked on. zip.c (Ed)
2023 12. When updating or freshening old entries, read the old local header
2024 with readlocal() to get local flags and extra fields. zip.c (Ed)
2025 13. Add UNICODE_SUPPORT ifdefs around uname code. zip.c (SMS, Ed)
2026 14. 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)
2031 15. Update error 8 to include wrong unzip. ziperr.h (Ed)
2032 16. 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
2035 17. Update readlocal() to handle multi-disk archives if not UTIL.
2036 zipfile.c (Ed)
2037 18. Convert size to signed zoff_t in zipcopy(). Update note.
2038 zipfile.c (Ed)
2039 19. Update Readme. Readme (Ed)
2040 20. Add crctab.o to zipsplit and zipnote. unix/Makefile (Ed)
2041 21. 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)
2061 10. Add sd: to -sd status messages. zip.c (Ed)
2062 11. Instead of original argv[] use args[] for -sc show command line
2063 to show final command line. zip.c (Ed)
2064 12. Change argv[] to args[] for logfile. zip.c (Ed)
2065 13. Put results of -sf show files in log file if open. zip.c (Ed)
2066 14. Add Johnny's bzip2 patch but not tested. win32/makefile, zip.c,
2067 zip.h, zipup.c (Johnny)
2068 15. Minor tweeks to bzip2 to work with latest beta. zip.c, zipup.c (Ed)
2069 16. 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)
2072 17. 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)
2102 10. Add support for VC++ 2005 by disabling deprecation. win32/osdep.h
2103 (Cosmin)
2104 11. Update instructions for makefile. unix/Makefile (Ed)
2105 12. Update todo list. todo30.txt (Ed)
2106 13. Reduce #if 0 block to now allow extra data message. zipfile.c (Ed)
2107 14. Add note that readlocal() reads local headers. zipfile.c (Ed)
2108 15. Archive comment was not being read by new scanzipf_regew(). Added.
2109 zipfile.c (Ed)
2110 16. Handle reading and writing OEM comments. zipfile.c (Ed)
2111 17. Update Zip64 data descriptor note. zipfile.c (Ed)
2112 18. Format filetypes() check. zipup.c (Ed)
2113 19. Update note to remember to force deflation for descriptors by
2114 release. zipup.c (Ed)
2115 20. In compression code using libraries, enable dots for noisy also.
2116 zipup.c (Ed)
2117 21. Update extended help to add more of the basic options and
2118 compression method. zip.c (Ed)
2119 22. Add additional lines bz_opt_ver2 and bz_opt_ver3 to bzip2
2120 version to give credit to bzip2. zip.c (Ed)
2121 23. 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)
2125 24. Add note that crypt is modified in Zip 3. zip.c (Ed)
2126 25. Use abbrevmatch() and update warnings for compression
2127 method selection. zip.c (Ed)
2128 26. 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)
2155 10. Add fix from [email protected] 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)
2159 11. Add note for bzip2. zip.c (Ed)
2160 12. 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)
2163 13. 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)
2167 14. 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)
2186 10. 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)
2201 10. 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)
2212 11. Started changes for fixfix. fileio.c (Ed)
2213 12. Update help on -t and -tt. zip.c (Ed)
2214 13. Add note on Unicode support, but may change if add handling of names
2215 with characters not supported in current character set. README (Ed)
2216 14. Combined ToDo30.txt and ToDo but more to be done. TODO (Ed)
2217 15. Update ToDo list. ToDo30.txt (Ed)
2218 16. Add -F and -FF to help. zip.c (Ed)
2219 17. Run fix mode in copy mode, as it is copying from one archive to
2220 another, and use those checks. zip.c (Ed)
2221 18. Add Try -F and Try -FF warnings in places. zipfile.c (Ed)
2222 19. Allow reading version 4.6 (bzip2) archives. zipfile.c (Ed)
2223 20. Add Unicode Path and Unicode Comment extra field descriptions.
2224 proginfo/extrafld.txt (Ed)
2225 21. First attempt at updating the Who file. proginfo/infozip.who (Ed)
2226 22. Add note to top of ziplimit.txt. proginfo/ziplimit.txt (Ed)
2227 23. 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)
2235 24. 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)
2261 10. Call wide_to_local_string() separately in utf8_to_local_string()
2262 to free up temp value. fileio.c (Ed)
2263 11. Support new AppNote bit 11 for forcing UTF-8, but needs finishing.
2264 globals.c (Ed)
2265 12. 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)
2268 13. 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)
2271 14. Update help for -FF and Unicode. zip.c (Ed)
2272 15. Change > to >= for byte message check to avoid -0 (negative zero).
2273 zip.c (Ed)
2274 16. Add -su show unicode option which adds escaped unicode paths to
2275 -sf. Also uses show_files = 3. zip.c (Ed)
2276 17. Update comments for -UN and -X. zip.c (Ed)
2277 18. 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)
2279 19. Fix zipfile name message by replacing value with zipfile.
2280 zip.c (Ed)
2281 20. 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)
2287 21. Update note for ZIP64_CENTRAL_DIR_TAIL_SIZE. zipfile.c (Ed)
2288 22. Put read_Unicode_Path_entry() and read_Unicode_Path_local_entry()
2289 into UNICODE_SUPPORT ifdef. zipfile.c (Ed)
2290 23. Add zuqcmp() and zubcmp() to support Unicode sorted list of
2291 paths. zipfile.c (Ed)
2292 24. Update zsearch() to also search unicode paths. zipfile.c (Ed)
2293 25. Split out iname in read_Unicode_Path_entry() for debugging.
2294 Should put it back. Update Unicode mismatch warning.
2295 zipfile.c (Ed)
2296 26. Update Unicode in readlocal(). zipfile.c (Ed)
2297 27. Add more Unicode support to scanzipf_regnew(). zipfile.c (Ed)
2298 28. 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)
2302 29. 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)
2322 10. Consistently use ZE error codes for exit from ask_for_split_read_path.
2323 zipfile.c, zip.c (Ed)
2324 11. 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)
2326 12. Add messages to -sd for writing the central directory, replacing the old
2327 zip file, and setting file type. zip.c (Ed)
2328 13. Don't set file type on stdout. zip.c (Ed)
2329 14. Increase errbuf from FNMAX + 81 to FNMAX + 4081. zip.h (Ed)
2330 15. 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)
2333 16. BFWRITE_HEADER define now also does data descriptor. zip.h (Ed)
2334 17. Skip zipoddities() if fix. Maybe can later add back. zipfile.c (Ed)
2335 18. Update fix messages. zipfile.c (Ed)
2336 19. Allow user to end archive early using ZE_EOF. zipfile.c, fileio.c (Ed)
2337 20. Only show split numbers and offsets for -FF if verbose. zipfile.c (Ed)
2338 21. Handle spanning signature at top of split archive. zipfile.c (Ed)
2339 22. Only close in_file if open. zipfile.c (Ed)
2340 23. Add note if no .zip and only splits suggest use -FF. zipfile.c (Ed)
2341 24. In putlocal() and putcentral() only convert to OEM if z->vem == 20.
2342 zipfile.c (Ed)
2343 25. Do not OEM convert archive comment as PKWare says this should
2344 be ASCII. zipfile.c (Ed)
2345 26. Fix swap of siz and len and LOCSIZ and LOCLEN. zipfile.c (Ed)
2346 27. Call read_Unicode_Path_local_entry() before OEM conversion so Unicode
2347 checksum checks iname before conversion. zipfile.c (Ed)
2348 28. Only check if local and central crc match if not stream entry.
2349 zipfile.c (Ed)
2350 29. Keep data descriptors if fix == 2, but need to look at this.
2351 zipfile.c (Ed)
2352 30. Fix bug adding up header bytes in n by adding 4 for signature.
2353 zipfile.c (Ed)
2354 31. If fix == 2 use local crc for central, otherwise use central crc
2355 for local. zipfile.c (Ed)
2356 32. In zipcopy(), check data descriptor and skip if not correct one.
2357 zipfile.c (Ed)
2358 33. Add SH, LG, and LLG macros from zipfile.c to allow reading the data in
2359 the data descriptor. fileio.c (Ed)
2360 34. 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)
2362 35. 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)
2366 36. Increase buffer for fgets to SPLIT_MAXPATH. fileio.c (Ed)
2367 37. 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)
2394 10. 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)
2411 10. Display message when entry would be truncated. zipfile.c (Ed)
2412 11. 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)
2415 12. 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)
2457 10. 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)
2459 11. 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)
2463 12. Add warning if use -F or -FF without --out. Change defined(NO_MKSTEMP)
2464 to !defined(NO_MKSTEMP). zip.c (Ed)
2465 13. 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)
2468 14. Add crc.h. zipcloak.c (Christian)
2469 15. 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)
2480 16. 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)
2482 17. 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)
2486 18. 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)
2494 19. Add note to use BZ_NO_STDIO. bzip2/install.txt (Ed)
2495 20. Remove crctab. cmsmvs/zipvmc.exec (Ed)
2496 21. Update comment. macos/source/pathname.c (Christian)
2497 22. Start of manual update. Zip.1 (Ed)
2498 23. 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)
2519 10. Remove local versions of tempzip and tempzf.
2520 zip.c (Christian)
2521 11. 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)
2524 12. 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)
2529 13. Add far to options[]. zipcloak.c (Christian, Ed)
2530 14. 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)
2548 15. Update putend() comment. zipfile.c (Ed)
2549 16. Add far to options[]. zipnote.c, zipsplit.c (Christian)
2550 17. 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)
2553 18. 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)
2556 19. 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)
2559 20. Remove space in front of #ifdef and other conditionals that slipped in.
2560 zipfile.c, zipup.c (SMS)
2561 21. Updates for bzip2. vms/bzlib.h, vms/install_vms.txt (SMS)
2562 22. Updates. vms/notes.txt (SMS)
2563 23. 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)
2566 24. 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)
2591 10. Change FAB_OR_NAM to FAB_OR_NAML and remove NAME_DNA, NAME_DNS, NAME_FNA,
2592 and NAME_FNS. vms/vms.h (SMS)
2593 11. Change FAB_OR_NAM to FAB_OR_NAML. vms/vms_im.c, vms/vms_pk.c,
2594 vms/vmszip.c (SMS)
2595 12. Fix compile warning on VC 2005. win32/makefile.w32 (Johnny)
2596 13. Update readmevb.txt and readvb64.txt. windll/vb/readmevb.txt,
2597 windll/vbz64/readvb64.txt (Ed)
2598 14. Change tch from int to ulg in utf8_from_ucs4_char(). Move comments to keep
2599 line lengths to 80 characters. fileio.c (Christian)
2600 15. Update comment for total_cd_entries. global.c, zip.c, zip.h (Christian)
2601 16. Comment out unused Adler-16 code. util.c, zip.h (Christian)
2602 17. Add InterlockedExchangePointer() macro if not defined. Update Initialize()
2603 to use macro. nt.c (Christian)
2604 18. Move zip64 eocd disk and offset variables next to input archive variables.
2605 zip.c (Ed)
2606 19. 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)
2611 20. Some comment changes. zipfile.c (Ed)
2612 21. Fix indentation in places. zipsplit.c (Christian)
2613 22. Remove unused variable zfile. zipup.c (Christian)
2614 23. 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)
2630 10. Define CP_UTF8. win32/rsxntwin.h (Christian)
2631 11. Define WIN32_LEAN_AND_MEAN to reduce size of Windows includes.
2632 win32/win32.c, win32/win32zip.c, zip.c (Christian)
2633 12. Use only standard FAT attributes if OEM. win32/win32zip.c (Christian)
2634 13. Add use of INTERN_TO_OEM() and related OEM changes. Add console comment.
2635 zip.c (Christian)
2636 14. Change severity from char to int. Update macros. ziperror.h. (Christian)
2637 15. 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)
2640 16. Update copyright. api.c (Ed)
2641 17. Update format for duplicate entry warning. fileio.c (Ed)
2642 18. 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)
2648 19. Replace escape from zipsplit man page with '. zipsplit.txt (Christian)
2649 20. 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)
2665 10. If -y on VMS search for the link, not the target file. vms/vms_pk.c (SMS)
2666 11. 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)
2687 10. Change sys$disk to SYS$DISK. vms/build_zip.com (SMS)
2688 11. Update extended help. zip.c (Ed)
2689 12. 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)
2702 10. Minor updates to extended help. zip.c (Ed)
2703 11. 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)
2707 12. Modify configure to handle compiling bzip2. unix/configure (SMS)
2708 13. Remove linking bzip2 with utilities. Other changes. unix/Makefile (Ed)
2709 14. Change bzip2 wrong library errors to warnings. Put back OS bzip2 library
2710 check. Only compile bzip2 if in bzip2 directory. unix/configure (Ed)
2711 15. 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)
2776 10. 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)
2780 11. Move wchar functions only used by Windows to win32zip.c. fileio.c,
2781 zip.h (Ed)
2782 12. Fix spelling in manual. zip.1 (SMS, Ed)
2783 13. Add zuebcmp() for Unicode. zipfile.c
2784 14. Open files to read using wide name as input path. zipup.c (Ed)
2785 15. Update help. zip.c (Ed)
2786 16. Change -TT long option from --unzip-path to --unzip-command. zip.c (Ed)
2787 17. 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)
2790 18. 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)
2837 10. Updates for Watcom C and Win32 symlinks. win32/osdep.h (Christian)
2838 11. Fix historic problem with VAX seeking. zipfile.c (SMS)
2839 12. 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)
2875 10. Add include directory so can find bzip2 header file when using bzip2
2876 directory. unix/configure (Ed)
2877 11. Fix wide character wild(), wild_recursew() and OpenDirScanW() for Win32 so
2878 work like the regular versions. win32/win32zip.c (Ed)
2879 12. Update Unicode in manual. Update -W description in manual zip.1
2880 13. Flush logfile writing. zip.c (Ed)
2881 14. 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)
2884 15. 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)
2902 10. 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)
2905 11. 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)
2907 12. Update extended help. zip.c (Ed)
2908 13. Only output -FF central directory messages in verbose mode. zipfile.c (Ed)
2909 14. 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)
2953 10. 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)
2958 11. Initialize variables excluding zipstate and setjmp() if USE_ZIPMAIN defined
2959 to fix bug when recall zipmain(). zip.c (Ed)
2960 12. Update Manual. zip.1, zip.txt (Ed)
2961 13. Update WhatsNew. WHATSNEW (Ed)
2962 14. 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 ([email protected]), 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)
3018 10. 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)
3062 10. 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)
3068 11. Comment out here debug variable in find_next_signature(). zipfile.c (Ed)
3069 12. Change %2x to %02x as format for parts of a signature in error messages.
3070 zipfile.c (SMS)
3071 13. Add warning adjusting split archives not yet supported. zipfile.c (Ed)
3072 14. Add period to central directory comment. zipfile.c (Ed)
3073 15. Update readme for vb Zip64 project. windll/vbz64/readvb64.txt (Ed)
3074 16. Update comments of VB for Zip64 example. Add SplitSize to VB Zip64
3075 example. windll/vbz64/vbzipbas.bas, windll/vbz64/vbzipfrm.frm (Ed)
3076 17. Add SourceForge to comment noting where can get the source code.
3077 windll/vbz64/vbzipfrm.frm (Ed)
3078 18. 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)
3118 10. Update ReadMe. Create Announcement. README, zip30g.ann (Ed)
3119 11. 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)
3210 10. Change ifndef NO_SYMLINKS to ifdef S_IFLNK for determining compiler
3211 information. zip.c (Christian)
3212 11. Change UTF-8 locale from en_GB.UTF-8 to .UTF-8. zip.c (Christian)
3213 12. Change cast of -1 for dot_size from uzoff_t to zoff_t.
3214 zip.c (Christian)
3215 13. Change prototype for set_filetype to include parameter char *.
3216 Change prototype of has_win32_wide to include parameter void.
3217 zip.h (Christian)
3218 14. 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)
3228 15. Change variable a from buffer to a pointer and add abf as the
3229 buffer for zgetline() to handle NULL case. zipnote.c (Christian)
3230 16. Change comments to zipentry comments and zipfile comment in
3231 messages. zipnote.c (Ed)
3232 17. 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)
3237 18. Change compiler flag from -zp8 to -Zp8 for LCC Win32.
3238 win32/makefile.lcc (Christian)
3239 19. 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)
3274 10. Move comment and comment out value size check for UID/GID extra field.
3275 unix/unix.c (Ed)
3276 11. 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)
3312 10. Remove redundant "license" from options table. zipcloak.c (Ed)
3313 11. Remove old unix build files. unix/configure-orig, unix/Makefile-orig
3314 (Christian)
3315 12. 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)
3375 10. 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)