]> granicus.if.org Git - zziplib/blob - ChangeLog
change upload-sourceforge to new host location
[zziplib] / ChangeLog
1 2009-05-24 guidod <guidod@gmx.de>
2     * zzip/fetch.c - remove SET/GET fetch definitions that already
3        exist in zzip/fetch.h where they have been corrected lately.
4     * docs/Makefile.am - change from install-sf via shell.sf.net to
5        upload-sourceforge via web.sf.net - and alias to "www" shorthand
6
7 2009-05-23  guidod  <guidod@gmx.de>
8     * SDL/Makefile.am - remove dependency on zzip-config (and sdl-config)
9        which do not exist any since quite a time - instead use pkg-config
10        > Thanks to Michael Sterret for bringing it up
11     * SDL/SDL_rwops_zzcat.c: the SDL_rwops example was fixed, as the
12          nmemb/size of the sdl-read call were swapped over. The testsdl
13          self check (based on zzcatsdl) works OK.
14     * SDL/Makefile.am - the targe installation paths for the example
15          was fixed to include/SDL_rwops_zzip - additionally there is now
16          an SDL_rwops_zzip.pc pkgconfig script that will refer to the new
17          location (it had been previously installed in include/SDL, ouch).
18     * Note that the old zzip-sdl pkgconfig-files are gone now. Given that the
19          example was not quite working, it is improbable that anyone had
20          been using them in real code, so there's nothing breaking here.
21     * create a new package SDL_rwops-devel in zziplib.spec that will catch
22          the example code, SDL_rwops_zzip includes and SDL_rwops_zzip pkgconfig
23     * append "make check" and "make test-sdl" to zziplib.spec for  minimal
24          pre-installation check.
25     * Makefile.am: fix zzip-postinstall
26     * zziplib.spec: specifiy %version for the Provides:-clauses
27     * configure.ac: do not let autoconfigured LDFLAGS/LIBS bleed into zziplib.pc
28     * zip.c: ensure that the zzip64_trailer entries is being used and that the
29         parse_root_directory function honours the full 64bit in the "entries" counter
30         (rejecting the patch from Tulipánt Gergely which would allow to get away with
31         non-standard zip archives that do use a normal zzip_trailer with a 16bit entries
32         counter that happens to store only the modulo value of the real entries in the
33         archive - zippers should fail beyond 65535 entries or switch to the ZIP64 format).
34      * docs/referentials.htm - include reference to  http://www.ogre3d.org/
35      * zzip/fseeko.c: check some more return values from fseeko/fread calls.
36      * 0.13.53
37
38 2009-05-22  guidod  <guidod@gmx.de>
39         * docs/Makefile.am: break a dual target into two lines as
40            suggested by ticket:2405440
41         * m4/ax_cflags_no_writable_strings.m4 update with sed-call
42            suggested by ticket:2155649
43         * m4/ax_check_aligned_access_required.m4 update for the cross_compiling
44            case with libpcap-list of host_cpu targets thare require aligned access
45            suggested by ticket:2479788
46         * introduce ax_pax_tar.m4 to use *.tar format for manpages.tar (instead of .ar)
47         * 0.13.52
48
49 2009-05-21  guidod  <guidod@gmx.de>
50
51         * docs/Makefile.am: make install-docs install-man3 rules so that
52              a failing "ar x" (on OpenBSD/vax) will not kill the whole
53              configure / make / make install cycle. However it simply
54              means that there will be no manpages on such platforms.
55              May be OpenBSD/vax has a "gar" (gnu ar) installed somewhere?
56         * closes Patches item #2716806, was opened at 2009-03-27 13:01
57         * 0.13.51
58
59 2009-05-21 guidod <guidod@gmx.de>
60     * zzip/fetch.h: ensure that either direct-bswap or direc-deref is only used
61                on platforms that do not require aligned memory access. The
62                latest report from Sylvain Beucler has shown an error a MIPS
63                platform (named  http://www.freedink.org/ running on PSP).
64     * zzip/fetch.h: replace _zzip_attribute(const) with defines from zzip/__hints.h
65     * zzip/__hints.h: introduced ZZIP_GNUC_PACKED for __attribute__((packed))
66     * zzip/format.h: replace _zzip_attribute(packed) with defines from zzip/__hints.h
67     * zzip/conf.h: remove _zzip_attribute - not needed anymore.
68
69 2008-12-27 guidod <guidod@pc3>
70     * ax_create_pkgconfig_info needs a definition for datarootdir (introduced
71        in latest autoconf/automake making for an error in ogre3d configuration
72        as reported by Ignaz Forster)
73         * release 0.13.50
74
75 2008-12-24 guidod <guidod@pc3>
76         * add the dir-zzip-* to the cvs repo (as used on some webs)
77         * move "make rpm" to *.am (instead of *.mk)
78         * amd64 should be in libdir=$prefix/lib64 (in the spec file)
79
80 2008-11-24 guidod <guidod@pc3>
81         * BuildRequires: python (for %package doc)
82
83
84 2008-03-22  guidod  <guidod@pc3>
85
86         * zzip/fetch.h: honor ZZIP_HAVE_ALIGNED_ACCESS_REQUIRED for the Linux bswap
87         optimization. See also 443880@bugs.debian "SIGBUS on Sparc".
88
89 2008-03-03  guidod  <guidod@pc3>
90
91         * TODO: update to recent problems. Need to check my mail stack next time.
92
93 2008-03-02  guidod  <guidod@pc3>
94
95         * zzip/info.c: reverted.
96         * also: note that the Makefiles have been update to the newest autotools.
97           The project itself has been imported to an Eclipse based CDT project.
98
99 2007-03-19
100  * enforce indent by automatic indentic-check
101
102 2007-03-17
103  * http://www.securitylab.ru/forum/read.php?FID=21&TID=40858&MID=326187
104   zziplib vulnerability due to usage of strcpy
105  * add indent-check for enforcing some source code style.
106
107 2007-02-01
108  * remake manpages.ar / htmpages.ar - redistribute zziplib-manpages.ar
109    instead while the rebuild mechanics become a lot simpler
110  * unless --maintainer-mode, make mans / install-mans part of the default
111
112 2007-01-31
113  * applying patches from Mike Frysinger
114  * consider making the manpage install target part of the default
115    `make install` rather than a sep install-man3 target ? (from Mike)
116  * Michael Sterret reports, that the SDL/* example requires zzip-config
117    instead of the pkgconfig stuff - actually, the whole part should be
118    give a makeover as newer SDL does install its own sdl.pc which makes
119    the current local generation of zzip-sdl-config.pc a real mess.
120
121 2006-09-27
122  * adding docs/zip-php.htm integrating Chris Branch's mail into the docs
123  * appending docs/changes.htm rule from ./ChangeLog
124
125 2006-09-26
126  * adding docs/notes.htm - to register some old dicussions for later
127         reference. Let's see how that fills up.
128
129 2006-09-21
130  * last doc/*.py updates
131  * last doc/mksite.* updates
132  * last doc/body.htm updates - including new zzipmmapped.html docu
133  * "make install-sf" will copy the doctree directly to sourceforge
134
135 2006-09-18
136  * docs/makedocs.py docs/zzipdoc/*.py creates new docs/zziplib-man3.tar.gz
137         plus zziplib.html zzipmmapped.html zzipfseeko.html
138  * that will be the only to be used in the future but it is not complete
139
140 2006-08-18
141  * updating msvc8 project files
142  * adding zlib.dll to cvs
143  * zzip/memdisk.c:183 overrides for off64_t will not work with off32_t !!!
144  * headers for mktime should return time_t - do we have the header ???
145
146 2006-08-17
147  * A report by Tuilipant Gergely had shown an "unaligned access"
148    error on an alpha machine. So, I have added macro to test for
149    the condition of aligned access but the alpha platoform seems
150    to be okay. Further reports are required.
151  * Mark README.SDL to be explicitly outdated (it's 16. Dec. 2002)
152
153 2008-08-14
154  * Yvan Phelizot reports a problem in zzip/mmapped.c
155  * Malcom MacLeod had spurious problems inside a C++ project,
156         so let's update all heraders with explicit 'extern "C"' linkage.
157
158 2006-08-08
159  * rephrase build system, automated tests, some doc parts
160
161 2006-04-28
162  * bsd/mac needs sys/types.h for size_t
163
164 2005-12-11
165  * there have been reports about multithreading problems
166  * one source of problems: access to the dir->cache members.
167         fixed by using an explicit semaphore variable, otherwise
168         just allocate/deallocate the buffer / filehandle
169  * second source of problems: the zip file is opened _and_ read
170         with only one filehandle for multiple threads that
171         share the same "dir" handle. Look for "->currentfp".
172  * that is not fixed away - while access to the cache variables
173         can continue in the case of a "locked" state that is not
174         possible for open/reads. In the "locked" case the thread
175         must be blocked but that is a system-specific call.
176  * there are two ways to fix it - (a) push down the sysfile to
177         each zzip_file by "dup(2)"licating the sysfile handle.
178         However zzip looses a feature that was helping a lot on
179         system with a low number of sysfile hands (e.g. dos and
180         some embedded operating systems that I did work with).
181         and (b) provide an indirect ->lock() call that can be
182         filled by the caller application upon zzip invokation,
183         perhaps add it to the io-plugin structure. Well (c) is
184         it possible to support both styles? Dynamically?
185
186 2005-12-10
187  * testing on sourceforge compilefarm - including "make check"
188  * there was an error on bsd'ish systems (implicit 64on32)
189         which was caused by archaic CORRECT_ROOTSEEK code
190         being still present. Remove it?
191
192 2005-12-09
193  * testing with Microsoft Visual Studio 2005 (msvc8) Express Edition
194  * fixing some compilation problems related to zip64 support in win32
195
196 2005-12-08
197  * cut acinclude.m4 into seperated aclocal macros in m4/ subdirectory
198
199 2005-10-14
200  * testing on sourceforge compilefarm, cleaning away any compiler warnings
201         i386-debian2.2 i386-freebsd4.8
202         amd64-fedora3 alpha-debian3.0
203         sparc-solaris8 powerpc-macos10.2
204  * note, the build system has some quirks but not yet renovated to the
205         newest autoconf/automake stuff anyway - TBD before final release
206
207 2005-10-13
208  * MSVC7 knows the following __declspec attributes:
209         align(#), allocate("seg"), deprecated, dllexport, dllimport,
210         naked{for asm}, noinline, noreturn, nothrow, novtable,
211         property{MngC++}, selectany{common}, thread{tls}, uuid("name")
212  * introduce zzip__new__ for a restrict'ed return item
213  * introduce zzip_byte_t to help silence down compiler warnings
214         about signedness mismatch in assigning data buffer variables.
215         Especially the zlib data_in happens to be of unsigned char type.
216  * note that zzip/format.h does now use zzip_byte_t for layout definition
217
218 2005-02-17
219  * adding that _GNU_SOURCE on __linux__ to get the strndup prototype
220  * cleaning a few warning messages on different platforms as well
221         as a bug for 64bit platforms
222  * updating docs/mksite.sh and adding docs/mksite.pl and going to
223         let VERSION be pasted directly instead of a makefile snippet
224  * adding docs/memdisk.htm documentation to the series which is
225         currently quite shallow.
226  * note: no tests for actual zip64 support are made, neither for a
227         large central directory (more than 64K files) nor for large
228         files (more than 2GB). This is all theoretic but I am quite
229         confident that it will work.
230
231 2005-02-16
232  * change zzip/zip disk_trailer implementation
233  * we do not anymore pass a copy of the file block around
234  * we do use a local helper structure now with off_t fields
235  * the parse_root_directory is now using off_t for all computatations
236  * make check succeeds - beware, this is a new implementation
237  * RANT: glibc bastards make for additinal warning messages, the fseeko
238     prototype is not exported by default, but as soon as we add some
239     define to make it available, some other prototypes are disabled,
240     including one of the most widespread: strndup(). The documentation
241     even says we have to say GNU to get prototype - if you have ever heard
242     of unix to diverge into something not quite but be alike, here it is,
243     what compiles on most platforms gives a warning on linux even that it
244     works fine afterwards because the libc does export all we need and
245     autoconf does find it - it is just not prototyped and that's all.
246
247 2005-02-15
248  * adding zzip/memdisk.* as cache variant for libzzipfseeko
249  * add macro support for zip64 extensions
250  * extend trailer routines with zip64 detection (and return 0)
251  * add memdisk bins
252
253 2005-01-04
254  * remember TODO multithreading tests and hardening the code.
255  http://www.idefense.com/application/poi/display?id=153&type=vulnerabilities
256
257 2004-12-27
258  * updating to latest autoconf/automake/libtool stuff in Suse92
259  * required a rewrite of ax_enable_builddir.m4 in ac-archive
260  * adding two macros to silence down bogus depracation warnings
261         from the latest gcc 3.3.5
262
263 2004-11-27
264  * harveyandsu:yahoo:com reported an api mismatch for SDL rwops
265         usage and the implementation in the SDL_rwops_zzip example.
266  *
267
268 2004-05-11
269  * documenting zzip-cryptoid handling
270  * update mksite.sh
271
272 2004-05-09
273  * documenting zzipmmapped and zzipfseeko parser libraries
274
275 2004-05-08
276  * remove bogus zzip_file_open_ext_io from zzip.h
277  * change to use mksite.sh for documentation builds
278
279 2004-03-08
280  * add link in docs/history.htm to the new appnote.txt whitepaper
281         on zip file format specification.
282
283 2004-02-19
284  * a test run on solaris did show that fetch.* needs to be linked
285         to the new lib*.la stuff - to convert endianess-dependent
286         values from zip to main memory
287  * there seems to be an automake problem with hpux10 that I can not
288         yet define on what grounds it is - to get away with it I am
289         not defining automake 1.7 as the version to be used, plus
290         autoconf 2.57 - these are pretty new.
291
292 2004-01-24
293  * zzip/fseeko.c and bins/zzip.c had some issued with non-C99 compilers
294         which do not like variable declarations in the middle of a block
295
296 2004-01-16
297  * zzip_rewind again - the deflateReset does not reset the
298         input buffer variables (oops) so we have to do it
299         explicitly. Here we adopt to set crestlen to full
300         csize and the current z-buffer fillstate avail_in
301         to null to trigger a new read() on next zzip_read.
302  * the zlib headers do not tell whether next_in/avail_in
303         is used in deflateReset as is done in deflateInit.
304         A question to zlib@gzip.org brought no answer (as
305         is always the case) and after some thinking I did
306         decide to reset avail_in *after* the zReset call.
307  * based on this decision, I have made up a patch and I was
308         sending it over to zlib@gzip.org. Same consequence
309         again, the message is bluntly ignored (while there is
310         traffic on zlib devel mailinglist). There seems to be
311         a major problem about it, either a technical problem
312          (mail-adress disfunctional) or a social problem (no
313         one cares or perhaps some minor racism).
314
315 2003-12-29
316  * added libzzipfseeko.la with another simplified interface
317  * rename the other one to libzzipmmapped.la
318  * fix bugs for decompression on the latter as well
319    it seems the one has to use inflateInit2 (..., -MAX_WBITS)
320  * added bins/unzzipshow for an example binary
321  * added "--help" and "--version" to all bins examples
322
323 2003-12-24
324  * added libzzipmmap.la with a simplified interface to zip archives
325  * added bins unzzipdir and unzzipcat to show usage of libzzipmmap.la
326  * introduce zzip/types.h to allow easier inclusion to zzip/mmapped.*
327
328 2003-12-22
329  * add AC_C_BIGENDIAN and
330  * move out ZZIP_GET to zzip/fetch.h where we also specify access
331         wrappers to items in the zzip/format.h structures, portably.
332  * add byteswap.h ac_check and put a new file autoconf.h to carry
333         compiletime overrides for the autoconf definitions.
334  * start changing over to use zzip/fetch.h definitions everywhere
335         thereby replacing original ZZIP_GET16/32 usages completely.
336         This is localized to zzip/zip.c
337  * rename struct zzip_root_dirent to struct zzip_disk_entry but
338         retain a compatibility declaration.
339  * introduce zzip_version_t and zzip_dostime_t along with an optional
340         ZZIP_NEED_PACKED def that helps with weird compiler struct packing
341  * struct zzip_file_trailer did not use the char[x] variant, it does now
342  * place even more zzip/fetch.h declarations
343  * place even more defs into zzip/format.h
344  * noting CVS area on webpages
345
346 2003-12-21
347  * Nigel Stewart hints on some MSVC 6 issues, thanks.
348
349 2003-12-20
350  * implant *Reset instead of Deinit/Init in zzip_rewind - the latter
351         is supposed to make for a memory leak (see problem report).
352
353 2003-12-10
354  * add zzip_rewind fix by glenn = Glenn Maynard (www.stepmania.com)
355  * fix dirsep_casecmp buglet noted by glenn
356  * glenn did ask for zzip_fstat, and here it is.
357  * but glenn's file_dup is not as easy and skipped here.
358  * otherwise, glenn noted that zziplib is not fully ready for multithreading,
359         the reason seems to be mostly in the reshared 32k buffer where the
360         access is not synchronized completely :-( ... effectivly, in MT
361         all ZZIP_FILE*s need to have a dedicated ZZIP_DIR*buffer.
362  * update make-doc.py with newest version
363
364 2003-08-18
365  * changing license to dual MPL / LGPL
366  * bumping version code 12.83 = 13.23 which are actually the very
367          same inside the code
368  * remove a few compatibility headers at install time.
369  * add install-exec-hook to add ln -s aliases for sharedlibs
370         they are being tried again in .spec but that does not
371         matter as long as it is "|| true"
372  * adapt all source to carry the MPL alternative license
373         instead of the old cruft.
374  * remove staticlinking.txt - it should be covered by copying.htm now
375  * remove "compats" disthook as well as the complete subdirectory
376       i.e. rm -r "zziplib/" at top directory (actually, I store it
377         in a distant place for now.)
378  * remove _htmpages.ar and _manpages.are from dist tarball
379  * add toplevel COPYING.LIB
380  * adapt README and TODO
381  * remove ac_output(zziplib and bins/zzip-config)
382  * remove bins/zzip-config.in
383  * adapt m4 macro and call zzip-config to be archaic
384  * remove maintainer-mode for "test.zip"
385  * turn zzip_plugin_io_t into a union reference, the old struct is
386         still of the same name but a member in there called "fd"
387         the typedef is no a "union _zzip_plugin_io" instead.
388  * the member "use_mmap" is renamed to "sys" - we add a #define
389         in plugin.h to let some software compile with all versions
390  * in zzip/zip.c, try now with making maplen and pagesize of type
391         zzip_ssize_t - as it was newly introduce it might help and
392         perhaps be a little conservative in execution. Before that,
393         we did use size_t and it was provoking warnings like
394         comparing/computing signed+unsigned pairs of values.
395  * add "type" and "write" members to zzip_plugin_io, keep it
396         backward compatible as much as possible.
397  * add _zzip_write to zzip/conf.h
398  * remove ZZIP_WRAPWRAP code in plugin.c
399  * remove --with-wrapwrap
400  * introduce a #define _zzip_plugin_io_handlers and
401         typedefs zzip_plugin_io_handlers and zzip_plugin_io_handlers_t
402  * oops toplevel PHONY does not work, an automake restriction
403  * oops, "cat body.htm" should be "cat $(srcdir)/body.htm"
404  * adding manpages.ar again, just to be sure
405
406 2003-08-14
407  * remove _not_implemend macro definitions for shallow-write api
408         from header zzip.h
409  * introduce symbol _ZZIP_WRITE_SOURCE that all files should
410         carry that want to have the declarations of the
411         shallow-write api
412  * use that symbol for zzip/write.c and bins/zzip.c
413  * adding docs/64on32.htm
414
415 2003-08-14
416  * for the shallow-write api to compile on win32, we need to
417         test for direct.h which only exists on win'sh system
418         or so we assume
419  * add bins/unzzip
420  * add bins/zzip
421  * ooops, zzip_strerror_of should check dir != 0
422
423 2003-08-13
424  * complete zip-write API - no actual implementation so far
425  * tested shallow-write implementation on solaris+linux+win32
426  * and now, call it zzip-12 always
427
428 2003-08-12
429  * `make docs` does not always work, so we add `make docu` now
430  *  update make-doc.py
431  *  fix call for make-doc.py
432  *  fix zzip_get16 bad refer that gets detected by make-doc.py
433
434
435 2003-08-07
436  * implement zzip/write to a degree that it forwards calls to real
437         files and directories in the system. No zip archives here,
438         but the accession API has been setup so that applications
439         can start to pick it up even for versions of zziplib that
440         have been compiled without zip archive support.
441
442 2003-08-07
443  * add doc lines in zzip/zzip.h
444  * add write-defines including flag-marker ZZIP_NO_CREAT
445  * add file write.c with empty definitions for write-support
446  * add the make-doc.py script in its last version - and make its output
447         the default master files for both html and docbook
448  * remove all other doc-maker scripts but make-doc.pl and make-doc.py
449         plus the make-dbk.pl of course
450  * twist configure.ac to set PYTHON instead of PHP
451
452 2003-08-03
453  * make compatibility-headers to issue a warning upon include
454
455 2003-07-31
456  * fix a segfault with corrupted central directory - just some checks
457         for field boundaries
458  * add a hack to support the fixup-rootdir thing with some simple(r) code
459         that abuses a few fields in the trailer-structure
460  * cvs checkout savannah.gnu.org:config into ../savannah.config and,
461  * add a rule `make configsub` in Makefile.mk to update the two files
462         uses/config.sub and uses/config.guess to the latest versions.
463
464 2003-07-30
465  * creating a 0.12.82 out of the source for 0.10.82 and make up a rpm
466         spec which does alias the .so files for these generations
467
468 2003-07-29
469  * the include of _LARGEFILE_SOURCE to do ZZIP_LARGEFILE_RENAME is
470         actually a bad idea - the respective symbol does not provoke
471         64bit off_t on newer platforms. Only _LARGE_FILES seems to
472         be correct here for older aix platform to get them define
473         off_t = 64bit where others are using _FILE_OFFSET_BITS=64 now.
474  * after changes to README, remember to package updated test.zip !!
475         otherwise `make check` will fail.
476  * modify _msvc.sed to include "define ssize_t int"
477  * use ZZIP_EXPORTS instead of ZZIP_DLL for DLL export, that's the
478         automatic way of MSVC 6 saying that "zzip" is a DLL project.
479  * create new msvc6/zzip.dsp and delete msvc6/zziplib_DLL.dsp
480  * all examples shall import from zzip.dll by linking with zzip.lib
481         whereas that other zziplib.lib is just the static library
482  * do a looong and detailed information in README.MSVC6
483  * create a rule to pack the *.dll,*.exe,*lib files into a zip
484
485 2003-07-28
486  * doc bug in zzip-zip reported by j.scrott.frank
487  * remind me: unzip from memory seems to be more of a task lately...
488  * forgot to modify RELASEINFO in rpm for zzip64 variant
489  * also do not just use -D_LARGEFILE_SOURCE, it does not have the
490         desired effect on all systems. Instead invent a new name
491         -D_ZZIP_LARGEFILE to make it happen magically.
492  * invent a rule to create zziplib64.pc from zziplib.pc for the
493         renamed libzzip.so -> libzzip64.so
494  * invent a rule to create zziplib64.la from zziplib.la for the
495         renamed libzzip.so -> libzzip64.so
496  * do also rename default libzzip.so to libzzip32.so and then create
497         a symlink to it under the old name libzzip.so
498  * create zziplib32.pc and zziplib32.la files accordingly. Following
499         an application may choose explicitly between 32 or 64bit off_t
500         version. This allows us to claim now that the default libzzip.so
501         library may be either of them and not anymore strict 32bit off_t
502  * aaahm, note that all of these account for rules in the linux rpm spec!
503         other system do not get this packaging support from vanilla tarfile
504  * well, better make it lib01 instead of lib0.10 for the rpm name
505  * already roll out visualc7.zip and msvc6 files in subdirectories,
506         do not ship them as .zip files
507  * already adapt msvc6 .dsp files but not yet tested
508  * rename main "rpm" target into "rpm2" to get rid of the warning message
509  * use (cd zzip64 && make install) instead of (... make install-ltLIBRARIES)
510         since otherwise we do not get any .pc file installed (oops)
511  * while modifying *.la into *64.la, take care to fixup reference to the
512         "old archive" *.a as well making it *64.a - same for *32.la file.
513  * some file.c reports there was not previous declaration of some of
514         its functions, but _only_ in 64bit compile step.
515         Reason: looks like a gcc 3.2.2 bug, no fix here.
516  * convert a few "ln -s" into "ln -s -f" in "make install" parts
517  * update README to point out staticlink model
518         in a separated LICENSE section.
519
520 2003-07-28
521  * add three extra gcc options: -Wpointer-arith, -Wsign-compare, and
522         -Wmissing-declarations which will help about portability to
523         platforms where that is enabled by default in -Wall
524  * sign-compare fix in, zzobfuscated (zzip_size_t -> zzip_ssize_t),
525  * make 5 functions in zzipwrap/wrap.c global=>to=>static
526  * add pre-delcare headers for 2 functions in zzip/zip.c
527         __zzip_find_disk_trailer(), __zzip_parse_root_directory()
528  * rewording of "ends/tail" in find-disk-trailer which does also find
529         a little bug (ends-1 or not) in there, It should not have shown any
530         practical problem so far, also corrected by anotgher little bug
531         in there (ends-tail > sizeof or ends-tail >= sizeof)
532  * adding a parts of a patch from Martin Schitter to harden zziplib
533         for corrupted zip files.
534  * remove a few duplicates in Makefile.mk, still need to keep "rpm"
535  * add declaration for zzip_dir_alloc_ext_io into zzip/lib.h
536
537 2003-07-27
538  * redefine size_t maplen -> off_t maplen and for each of the calls to
539         mmap()/munmap()/read()/getpagesize() we cast to size_t - this might
540         get us rid of a few warnings about signed/unsigned comparisons.
541  * introduce AC_TYPE_SIZE_T and use the prefixed variant _zzip_size_t
542         within plugin.h for io->read() calls. That makes for a little
543         bit of portability - it seems some platforms (dot-net f.e.)
544         do not `typedef unsigned int size_t;`, perhaps because int is 16bit
545         and a 32bit or even 64bit entitity is needed.
546  * now we do not need to AC_COMPILE_CHECK_SIZEOF(size_t) anymore, perhaps
547         even stand io-wrap is not needed anymore. Let's see.
548  * both changes need update of zzip/conf.h for _zzip_size_t plus
549         - plugin.h for io->read(,,size_t)
550         - zzip.h for zzip_file_read (,,size_t)
551         - zzip.h for zzip_read(,,size_t)
552         - zzip.h for zzip_fread(,size_t,size_t,)
553         - zzip.h for zzip_seek(,off_t,)
554         - zzip.h for zzip_tell(,off_t,)
555         - file.h int => size_t for zzip_file's restlen crestlen usize csize
556  * the io->seeks(,off_t,) has not been respected so far sometimes.
557         and like lseek(2), we define the returntype of zzip_seek as off_t
558  * introduce zzip_ssize_t as well, and modify
559         - zzip.h for zzip_read and zzip_fread and zzip_file_read
560         - plugin.h for io->read() return type
561  * dot-net bug in aligned4() - sizeof(long) < sizeof(void*) !!
562         better use off_t in the hope that it does fix it
563  * tested on ia32-linux, alpha64-linux, sparc32-solaris
564  * ooops, we need to update io-plugin examples and documentation as well,
565         since we define a custom _read() routine righ there.
566
567 2003-07-26
568  * updating to AX_SPEC_DEFAULTS macro
569  * zzshowme does not work with no libzzip installed in the system
570  * add automake option dist-bzip2
571  * use tar.bz2 for rpm build
572  * add dist-bzip for the latter
573  * use zziplib-lib0.10 package which provides zziplib and libzzip0
574  * forgot to add *.la files into the rpm devel package
575  * AC_SET_RELEASEINFO_VERSIONINFO => AX_SET_VERSION_INFO
576  * adjust all RELEASEINFO -> RELEASE_INFO accordingly
577  * and choose 0.10.82.pre1 as a vesion number for testing
578         which is possible now as the new macro does it right.
579  * forgot override of default_includes in test/*.am
580  * somehow ax_prefix gets the wrong input, i.e. _config.h instead of config.h
581         so we make that one explicit now
582
583 2003-05-13
584  * the off64_t mode renaming for 64on32 was done incorrectly and
585         it lead to problems on solaris8 - fix it.
586  * fixup `make check` to work on subdir build
587
588 2003-05-11
589  * adapt README file to clarify LICENSE details as suggested by
590    a discussion with ACE/TAO developers that want to use the
591    library for some compressed xml archives.
592  * fix a few zzip_char_t bugs that got visible in MSVC mode as
593    reported by Olge Ryabukha
594  * kill sfnet strand of the rpm build, the docs are installed
595    into the share/groups part and the omf file points to that
596    place. The index.html file is the one at sourceforge while
597    the other one is the entry point of the local documentation.
598
599 2003-04-21
600  * quite a few updates are need to --enable-builddir by default
601  * watch out: subdir build is the default now!
602
603 2003-04-20
604  * pick up AX_ENABLE_BUILDDIR
605  * throw out ac_subst CONFIG_ARGS
606  * use AX_SPEC_PACKAGE_VERSION
607
608 2003-04-20
609  * memory leak in zzip/file.c - adding free(dir->realname) zzip/zip.c
610         in function zzip_dir_close called via zzip_file_close
611    (bug reported by Olge Ryabukha, thanks!)
612  * "/" is hardcoded for finding subpaths but on windows that could be
613         a backslash as well. That should be handled better, we add some
614         alternative implementations for dirsep_strrchr and dirsep_casecmp
615         but the default is OFF!! even on WINDOWS !!
616  * thereby seen another problem: we did deliberatly use strcasecmp but
617         this symbol is not available on all unix systems - the manual
618         says its a BSD4.3 addition. Some other systems call it strcmpi
619         or stricmp instead, or they do not have it at all. Here we add
620         a configure rule to check for that symbol, and when we do not
621         have it then we _enable_ dirsep_casecmp automatically.
622
623 2003-01-16
624  * change extension of intermediate docbookfiles to ".xml"
625  * throw out attempts to compile docs with php
626
627 2003-01-15
628  * lots of doc updates in between. (forgot to document them).
629  * a zzip-config update, and installing an aclocal macro now.
630
631 2003-01-06
632  * defattr(root,root) !! - why that had been forgotten? hmmm...
633  * allowing for --disable-debug to clean cflags from -g entries
634         but it has not effect on callframe generation... actually.
635
636 2003-01-05
637  * we need to stop the manpages.ar bloat - now!
638
639 2003-01-05
640  * add largefile tests in configure.ac
641  * add largefile detection in zzip/conf.h
642  * add renamings for zzip_telldir/seekdir in zzip/zzip.h
643  * add extra exports in zzip/dir.c to have both 32bit and 64bit names exported
644         i.e. zzip_telldir _and_ zzip_telldir64
645  * add renamings in zzip/plugin.h to ensure that 64bit-off_t-compiled zziplib
646         is not given io-callbacks being from another program that is actually
647         compiled as 32bit-off_t and where therefore arguments do not match.
648  * detected a dubious export of "aligned4()" - rename this export now.
649  * also rename everything having "_io" in the name - just to guard ourselves
650         from the case where two -lzzip are in the libpath and one is
651         compiled 64bit-off_t while the other is not.
652  * rename the younger function s/zzip_open_shared/zzip_open_shared_io/
653  * make up functions for zzip_open_ext_io and zzip_opendir_ext_io for the
654         case of 32/64bit dual systems where lib is compiled in largefile mode.
655         Let the call succeed unless an "io" structure was given - return
656         the EOVERFLOW errno as specified in the large.file WG documents.
657  * make all parallel defines for 32/64 bit dual off_t dependent on
658         defined EOVERFLOW and defined PIC - i.e. only for dynamic linkage.
659  * adding LARGEFILE_CFLAGS into zziplib.pc and bins/zzip-config.in
660  * NOTE: the default for --with-largefile is still OFF !!
661  * NOTE: our zzip_readdir is not depenent on off_t size
662  * adding -64 into the --release info for the sharedlibrary build
663         it should have been a --variant but such does not exist so far
664         in libtool, sorry.
665  * extract AC_SYS_LARGEFILE_SENSITIVE and put it into an extra ac-macro
666  * clean zzip/file.h from compatibility-install as zzip-file.h
667         the structure in there contains zzip_off_t items and they
668         should be internal always anyway - so disallow access for
669         old programs now just to be sure.
670  * adding zzip64 compilation into zziplib.spec - an rpm package will now
671         install both 32bit off_t and 64bit off_t variants of the sharedlib
672  * note: we do not copy 64bit zzcat into the rpm, perhaps we should?
673
674 2002-12-31
675  * add make check-sfx
676  * add zzipself.c and zzipsetstub.c for the sfx test
677  * zzip_file_open takes o_modes flags, clarify in zzip.h
678
679 2002-12-27
680  * adding scrollkeeper omf file generation in docs/
681  * adding omf file installation in docs/make-install-doc
682  * replace %post-doc message in zziplib.spec with scrollkeeper-update call.
683  * need *.pc *.omf in CLEANFILES now
684  * mingw32 crossgcc tests for win32 dirent emulation - did need some fixing
685
686 2002-12-23
687  * adding generation/installation of pkgconfig files
688  * making SDL a build-requirement for rpm packaging
689
690 2002-12-22
691  * add compatibility subdirectory "zziplib"
692  * zzipback.sed to create zziplib/* files from current release files
693  * include into distribution tarball
694  * IMPORTANT: flashback - 12.24 is now called 10.74 -
695         the old source line will cease to exist, only the compatibility
696         directory will survive a while - that should put some pressure
697         on developers to update to the new source tree. And it saves me
698         some work to keep two trees in sync.
699
700 2002-12-20
701  * fix some problems of make-doc.pl with the current project
702  * make a standard inlude info referring to zziplib.h as well
703  * unpack htmpages.ar on SFNET and register it on the frontpage
704  * dont forget to modify includes of internal headers
705  * ...
706  * fixed an annoying bug in make-doc.pl
707  * include htmpages.ar into the tarball
708
709 2002-12-19 Guido Drhaeim <guidod@gmx.de>
710  * completed new directory structure - the library is called 0.12.22 as
711         to match 0.10.72, it's the same C source in its content
712  * install-headers modified - the new structure is now compatible both
713         as a shared libary (binary compatible) and for the include headers
714         too - source compatible not only for function names but also for
715         the #include lines
716  * 0.12.23 fixes a bug in make doc: the xmlto html was never done.
717  * and we implant make-doc.pl which was founded on the base of the local
718         zzip-doc.pl but has since gone a lot further. It's currently just
719         a third variant but it is now used as the primary master default.
720
721 2002-12-18 Guido Draheim <guidod@gmx.de>
722  * man page update for zzip_open_shared (it turns out to be a good name).
723  * let frontpage point to http://www.gzip.org/zlib for primary zlib site.
724
725 2002-12-17 Guido Draheim <guidod@gmx.de>
726  * introduce zzip_open_file that may have an extra argument of a factory
727         file to share the zzip internal directory if that is possible.
728  * introduce zzip_freopen to take an extra argument. The supplied handle
729         is freed unless of course one puts ZZIP_FACTORY into o_modes so
730         that it becomes a wrapper around zzip_open_file
731  * the zzip_open_file, in that case, is the old zzip_open_ext_io call
732         but extended with checking the factory stream for a matching
733         basename.
734  * while being there: introduce ZZIP_ALLOWREAL o_mode that will make it
735         that a real file is open/read/close with the standard posixish
736         routines. This is most useful when having an obfuscated zip
737         file around but during development one wants to sometimes check
738         with a real file - so the call mode is something in the middle
739         of ZZIP_ALLOWREAL - ZZIP_PREFERZIP|ZZIP_ALLOWREAL - ZZIP_ONLYZIP
740         where the middle is for "yet another file not yet included",
741         hmm, perhaps a cheat file? ;-)=)
742  * cleaning rwops example: fix the mode check, it's not needful to start
743         with "r" to be a readfile mode, it may be somewhere in between.
744  * introduced __zzip_dir_parse as a cut off from zzip_dir_fdopen_ext_io,
745         but it did turn out to be not necessary, so it is made static in
746         the end. Still, it works as documenting the control flow better.
747
748 2002-12-17 Guido Draheim <guidod@gmx.de>
749  * win32 mmap removing extra braces
750  * win32 dirent implementation added - new file __dirent.h
751         and modified zzip-dir.c
752  * a couple of arg[n] -> argv[argn] cleanups.
753  * a missing argc > 1 check added.
754  * all changes due tests / bug reports by Thomas-dot-Eder-at-nmi-AT
755
756 2002-12-16 Guido Draheim <guidod@gmx.de>
757  * the infozip `zip` tool puts out messages per default on some machines
758         fix by adding >/dev/null in some places of Makefile.am
759  * the hpux10.20 platform has sys/mman.h but no MAP_FAILED
760         the `man mmap` says it returnes "-1" as done on all other unix
761         compatible platforms, so we add a default define ((void*)(-1))
762  * update TODO file with some hints on test runs.
763  * add --with-zlib configure call to make it easier to specify a path
764  * make zlib error messages to point to this configure option.
765  * beautify error output on all other options as well.
766  * create `make brute` to make a  bruteforce test
767  * solaris8 make has a problem with $< ... change sometimes into $?
768  * freebsd/darwin have 64bit off_t by default - and that reveals a problem
769         in the zzip_telldir/zzip_seekdir code. Let's change the code to make
770         it return/receive a byte-offset of "dir->hdr" to "dir->hdr0".
771         This makes printing of those values also more intelligible (if ever).
772  * ia64-linux reveals a problem in "default_io" since size_t is 64bit.
773         We modify --with-wrapwrap to autodetect this case. This is okay
774         since zip-files can not get bigger than 32bit offsets anyway.
775
776 2002-12-16 Guido Draheim <guidod@gmx.de>
777  * merging corrected README.SDL and __hints.h
778         courtesy of Thomas-dot-Eder-at-nmi-AT
779  * update CFLAGS ac-macros to the new generation as shipped with
780         latest ac-archive-0.5.39 (did upload just yesterday...)
781
782 2002-12-14 Guido Draheim <guidod@gmx.de>
783  * many hours of debugging - I don't remember which flaw came in through
784         the latest changes or which others were there before *sigh*
785  * e.g. the error-code mappings were refined on linux errno codes
786  * fix "caseless" bugs reported by Thomas-dot-Eder-at-nmi-AT
787  * fix MSVC related flaw when taking a casted value as an lvalue
788  * replace AC_CREATE_PREFIX_CONFIG_H with new style AX_PREFIX_CONFIG_H
789  * invent zzip-msvc.sed to turn config.h.in into zzip-msvc.in and
790         finalize a fresh zzip-msvc.h via AX_PREFIX_CONFIG_H
791
792 2002-12-13 Guido Draheim <guidod@gmx.de>
793  * shown by Mike Nordell tamlin-at-algonet-SE we can support win32 mmap
794  * modify configure.ac : if have:winbase.h then auto -enable-mmap
795  * refactor mmap'ing - it goes into __mmap.h and uses the io->use_mmap value
796         and that include file contains both posix and win32 mmap variants
797  * rewrite pagesize/mapoff calculations - this should be faster in itself
798         and also easier to maintain in the future for being more obvious.
799  * rewrite read/write defines and wrapwrap's. The zzip-conf.h does now
800         contain defines for _zzip_read/_zzip_lseek - and it should us get
801         rid of the nasty win32 problems with redefining _read/read
802  * refactor DBG defines - put them into __debug.h - oops, xbuf() was
803         an exported symbol, better be not. Use only newer NOTE/WARN macros!
804  * implant __hints.h include - that's taken from another project but it
805         is so damn useful ;-)
806
807 2002-12-12 Guido Draheim <guidod@gmx.de>
808  * modifizied zzip-zip.c to include a sanity check on getpagesize ()
809         for mmap () functionality and ZZIP_BUFSIZ (the default is good).
810  * modify configure.ac : const char strings
811  * modify configure.ac : strict prototypes
812  * modify configure.ac : all warnings
813  * ... and so it reveals something missed along ;-)
814
815 2002-08-27 Guido Draheim <guidod@gmx.de>
816  * modified zzip-stdint.h along the example patch for FreeBSD done
817         by wjpalentstijn at sourceforge in projet uwadv.
818
819 2002-07-24 Guido Draheim <guidod@gmx.de>
820  * did teach myself php over converting zzip-doc.pl into zzip-doc.php
821  * added php-test and another way to create the docbook file, with php
822
823 2002-07-20 Guido Draheim <guidod@gmx.de>
824  * lots of fixes around docbook/manpage - and generate a zziplib.3
825         overview page. Fixes also lots of comments in the sources.
826  * modified fopen-mode interpration nicely.
827  * added zzip-api for full overview of the zzip's API
828
829 2002-07-19 Guido Draheim <guidod@gmx.de>
830  * greatly enhanced docbook/manpage generation - including to attach
831         author and license info from the respective source file header
832
833 2002-07-18 Guido Draheim <guidod@gmx.de>
834  * extended the perlscript to generate zziplib.docbook
835  * use xmlto to generated manpages.ar
836  * install-man3 target and push into rpm-devel package
837
838 2002-07-17 Guido Draheim <guidod@gmx.de>
839  * no new code, just doc updates. The perl-script is now capable to
840         combine _ext_io functions with their non-ext/io cousin, and the
841         sources have been modified to honour this new mode.
842  * the perl-script is now ready to spit out other data like docbook
843         files that we can generate man-pages from later.
844
845 2002-07-16 Guido Draheim <guidod@gmx.de>
846  * extern-C in SDL_rwops_zzip.h ... and ifdef'able DECLSPEC for staticlinking
847  * zzip_fopen allows to greatly simplify SDL_rwops_zzip.c
848  * zzxordir.c zzxorcat.c zzxorcopy.c invented
849  * lots of new documentation added
850         zzip-extio.html zzip-xor.html zzip-refs.html
851  * new checks that test the zzxor examples
852  * and found an zzxor bug in the course
853
854 2002-07-15 Guido Draheim <guidod@gmx.de>
855  * Michael-dot-Fink-at-asamnet-dot-de did some code review while
856         going after a specialty he wanted to do with the libs, and therefore..
857  * PREFERZIP did never test real file - stupid bug, inverted logic....
858  * add ZIPONLY zzipmode - we have plenty of options availabe... on 32bit
859         platforms however, since I want to keep with the access-bits in
860         the lower parts.
861
862 2002-07-12 Guido Draheim <guidod@gmx.de>
863  * watcom-c-10.5 project file added
864  * used my old watcom compiler to debug the win32 problems, and it turned
865         out to be a mismatch in proccall for zlib - while the default in
866         zlib.h inferred WINAPI, it turned out that zlib114dll.zip had in
867         fact been compiled with __syscall procframe callmethod. Duh!!!
868  * some things had to be rearranged in header files - most classically it
869         seems that this compiler does not support __inline in C mode.
870
871 2002-07-11 Guido Draheim <guidod@gmx.de>
872  * convert all API const types into those with _zzip_const and use new
873         types like zzip_char_t and zzip_strings_t throughout the sources.
874  * add ZZIP_RDONLY and friends. Do not use fcntl bits anymore, and limit
875         use routines to convert them into O_DEFs later one in the next
876         version of this lib - here we just declare them to be their O_DEFs
877         but code should start to pick up ZZIP_DEFs in the meantime.
878  * add zzip_fopen and friends as another type of magic wrappers.
879  * modify open_ext_io to use receive separate arguments for the two
880         zzip extraflags - use these from now on, the others are just
881         for limited backward compatibility.
882  * modify all _close functions to return "int".
883
884 2002-07-10 Guido Draheim <guidod@gmx.de>
885  * Marlin Prowell mbp-at-cadalog-inc-dot-com did hit a problem on FreeBSD
886         showing off a config problem - the configure.ac macro for off_t is
887         written to be _undefined_ if off_t existed in the system. Instead we
888         chose to defined zzip_off_t into a "long" as it is needed on win32,
889         and since FreeBSD on LFP32 uses OFF64 it did fall flat on calls to
890         lseek - without io-wrap the gcc did cast them correctly, so it worked.
891  * the fix: use off_t if zzip_off_t undefined. Add a define zzip_off_t into
892         long in conf-msvc.h. Add a configure-option to have wrappers for the
893         default lowlevel calls as suggested by Marlin but I choose to have
894         them off by default - a bsd ports package may start using it.
895  * there have not been reported problems in the last three months where only
896         developers knew about the new version. Guess it's time to push this
897         tarball and announce it on freshmeat.
898
899 2002-04-30 Guido Draheim <guidod@gmx.de>
900  * fix typo in zzip-zip.c: __USE_MMAP -> _USE_MMAP
901  * if zlib.h not found, make it a fatal exit
902
903 2002-04-25 Guido Draheim <guidod@gmx.de>
904  * adding a few more `make check` rules for bigger zip files
905  * add even negative tests
906  * add some spaces in error-messaging in zzdir.c and let return
907         an exitcode when some argument files could not be read
908
909 2002-04-24 Guido Draheim <guidod@gmx.de>
910  * apply patch from Mike Nordell
911         changes all "const char * *" into the intended "const char * const *"
912         changes some typecasts
913         corrects comment and adds some
914         and two fixes
915  * put the updated MSVC6 files into the project, again Mike Nordell
916  * me, add new zzwrap.dsp to DIST in Makefile.am, following Mike's addition
917  * me, modify some typecasts to use off_t/size_t where apropriate
918  * modified COPYING.ZZIP to be a bit more general than just for ZZIPLIB
919         as noted by Tomi Olilla
920  * zzipwrap demo_callback, how can we do void* and char* at the same time...
921
922 2002-04-23 Guido Draheim <guidod@gmx.de>
923  * changed ssize_t into int in zzipwrap-mem for portability reasons
924  * fix zzip_dir_fdopen_ext for access to uninitialized io-vtable
925         (thanks to Lutz Sammer johns98-at-web-dot-de for testing)
926
927 2002-04-22 Guido Draheim <guidod@gmx.de>
928  * add MSVC6 project files contributed by Mike Nordell tamlin-at-algonet-dot-SE
929  * add plugin_io-patch from Mike Nordell
930         and dump the iowrap-patch from Andreas Shiffler from earlier release
931  * append the Mike Nordell's zzobfuscated.c to Makefile.am
932  * add a new file COPYING for new less-strictly license
933         after Tomi Ollila has transferred full copyright to me
934  * remove Tomi Ollila from all copyright entries in the sources
935         but honour his name where apropriate
936  * modify LGPL hints in sources and point to COPYING.ZZIP as well
937         and change copyright year info
938  * create COPYING.ZZIP with some general LGPL exceptions.
939  * use newer AC_CREATE_CONFIG_H macro and start using acinclude.m4
940         to allow retooling of the project.
941  * and use zzip_off_t instead of ZZIP_off_t (but keep backward compatibility)
942  * apply patch for the problem detected and corrected by
943          Steve Dillon steved-at-phone-IVR-dot-com
944  * try with an updated ac_create_prefix_config_h due to a bug report by
945         John W. O'Brien john-at-jugglers-dot.com
946    where his shell-and-echo combination did interpret \\1 twice.
947  * add use_mmap flag to plugin_io_t, so the feature can be used
948         along USE_MMAP configured setups
949  * change USE_MMAP #ifdefs to use if()s and to rely on the
950         compiler to do code removal for unreachable code
951  * remove tell() part of plugin_io and rename seek()-indirection
952         to seeks()-indirection using a tells()-macro in zzip-file
953  * also rename s/seek/seeks/ in zzip-zip and kill the (*function)(x)
954         for the indirection functions into just function(x)-calls
955  * fix zzobfuscated example code - there's no read() without unistd.h
956         in unix, and global zzip_install_io had been removed lately.
957  * add zzipwrap-io.c and zzipwrap.c from Andreas Schiffler's patch
958         on the new ground of Mike Nordell's plugin_io
959  * modify zzipwrap sources to work with plugin-io
960  * add io pointer to dir-structure, and use it as the default for file-structs
961  * __zzip_open_zip is called __zzip_try_open now and takes two arguments
962  * typedef struct zzip_plugin_io * zzip_plugin_io_t;
963  * zzip_opendir_ext_io .. for magic convenience
964  * create new zzipwrap.la in Makefile.am
965  * move plugin_io struct from zziplib.h to zzip-io.h
966         along with its helper functions
967  * change all filesize into zzip_off_t
968  * s/zzip_find_disk_trailer/__zzip_find_disk_trailer/ (additional io arg)
969  * s/zzip_parse_root_directory/__zzip_parse_root_directory/ (ditto)
970
971 2001-10-11 Guido Draheim <guidod@gmx.de>
972  * added zzipwrap feature contributed by Andreas Schiffler
973
974 2001-09-18 Guido Draheim <guidod@gmx.de>
975  * fix bug for `zzip-config --cflags`
976         which did print /xx/include instead of -I/xx/include
977         (thanks to Roger Ostrander <denor(at)yahoo.com>)
978  * change the for-loop in zzip-config - the "for i ; do" is not portable
979         because I had problems on solaris-sh. Use "$@" which expands
980         to a list (!!) of argv entries for this for-loop even for
981         arguments that contain spaces. fascinating.
982  * use AC_HELP_STRING ... the `configure --help` screen got a bit
983         misformatted lately.
984  * add a `make check` rule.
985
986 2001-08-19 Guido Draheim <guidod@gmx.de>
987  * add that /programs magic to the $prefix check in configure.ac
988  * add that /usr/share magic to the $prefix check in configure.ac
989  * fix zzip-sdl-rwops.html layout (and copying.zlib link).
990  * fix some flaws in sdl-rwops example source (just by code review).
991  * add unistd.h include to zziptest.c to silence off the warning about sleep
992  * add non-dll compile to extern in zzip-conf.h - does that fix anything?
993
994 2001-08-18 Guido Draheim <guidod@gmx.de>
995  * SDL_rwops_zzip.c/SDL_rwops_zzip.h SDL-example file.
996  * change all filename args to be const
997  * add ZZIP_const to zzip-conf.h, but do not use it for now.
998         It seems that all current lib-users have a modern compiler...
999
1000 2001-08-16 Guido Draheim <guidod@gmx.de>
1001  * export zzip_dir_free / zzip_dir_alloc
1002  * bring in fileext field to check for multiple fileextensions.
1003  * make zzip_open check for multiple (default) fileextensions.
1004  * add ifdef USE_ZZIPLIKES to implement feature proposed by
1005         Julien Cayzac <deepmind(at)jessica.brainlex.com>
1006  * make zzip_open check along the dirpath for a zip-file
1007         a feature proposed by Lutz Sammer <Johns98(at)web.de>
1008
1009 2001-08-15 Guido Draheim <guidod@gmx.de>
1010  * add "stroustrup" style to all c files to ensure that casual
1011         developers do not trash the layout unintentionally.
1012  * modify examples a bit with more newlines / comments.
1013  * re-license examples to ZLIB license
1014  * include COPYING.ZLIB into doc_FILES
1015
1016 2001-08-10 Guido Draheim <guidod@gmx.de>
1017  * change frontpage of webpages - including a few crosslinks to
1018         other projects
1019
1020 2001-08-07 Guido Draheim <guidod@gmx.de>
1021  * split version X.Y.Z into -relese X -version-info Y:Z
1022  * adding --disable-thread-safe, and add -thread-safe linkage by default
1023  * modify releaseinfo for with-debug
1024  * install-zip target to make a windows package
1025  * change serial to _vendor - rpm has never been used for other than linux
1026
1027 2001-08-06 Guido Draheim <guidod@gmx.de>
1028  * reorganize docs, update docs to new style
1029  * split version X.Y.Z into -release X.Y -version-info Z
1030
1031 2001-08-05 Guido Draheim <guidod@gmx.de>
1032  * add zzip-msvc.h, a header file that will be included when
1033         a windows compiler is detected in zzip-conf.h, e.g.
1034         _MSC_VER or __BORLANDC__
1035  * mv index.html zzip-index.html and add makerule that patches
1036         the VERSION in before installing it as index.html
1037  * add a makerule to build sourceforge htdocs and add it
1038         to the rpm build.
1039  * add generic patches for libtool into configure.ac
1040
1041 2001-07-18 Guido Draheim <guidod@gmx.de>
1042  * check up bugs in automake 1.4beef, now using a rule to
1043         override AUTO* in non-maintainer-mode. we also set
1044         libtool to silent in non-maintainer-mode
1045  * docs are installed to $datadir/doc/$package as default
1046  * rpms can now be built.
1047  * create --with-docdir and let it be filled in rpm-configure
1048         so that docs will end up where rpmopt says it should.
1049  * ChangeLog goes into %doc of rpms.
1050  * uhmm, forgot to install the test*.c files into the docdir
1051  * the bin rpms had not been built
1052  * compress into base and devel package
1053  * errnolist should be static
1054
1055 2001-07-17 Guido Draheim <guidod@gmx.de>
1056  * nuke Makerule system, use plain autotools style including
1057         configure && make install to rebuild
1058  * update Makefile.am (which is new now)
1059  * use next-generation autotools as a basis, update configure.ac
1060         to newer style, update configscreen at the end of file
1061  * check perl in configure and let it default to "echo"
1062  * check HAVE_ defines coming from config.h - it is not anymore
1063         included by zzip-config.h, so each config-def usage
1064         must now use the prefix'd version
1065  * provide a zziplib.spec file
1066
1067 2001-01-05 Guido Draheim <guidod@gmx.de>
1068  * apply zzip_seek-patch from Ted [sourceforge.net/users/tam4]
1069  * -> 0.10.12
1070
1071 2001-01-02 Guido Draheim <guidod@gmx.de>
1072  * gone through a couple of trial and error versions until
1073         I finally arrived at a mingw32msvc zzip.dll - basically
1074         I had to update the included libtool files to 1.3.5
1075         and the zzip.dll source-files have a ZZIP_DLL define
1076         before the first include that points to zzip-conf.h -
1077         and there is the magic about dllexport and dllimport.
1078         Hopefully the same can run under MSVC without further
1079         changes to the sources.
1080  * try to package a zip-file that contains the relevant files
1081         from the mingw32msvc install, so that windows user
1082         get a clean dll without the need to compile it.
1083  * -> 0.10.11
1084
1085 2001-01-01 Guido Draheim <guidod@gmx.de>
1086  * received a patch for MSVC compatibility from Ted A. (@lehigh.edu)
1087    which made me to look after the project again. There
1088    were two support requrest during summer that asked for
1089    MSVC support, especially a prebuilt dll and headers.
1090  * added AC_PREFIX_CONFIG_H that I made originally for
1091    another project. It enables me to push the configure
1092    detections into a global include/-dir. Ted's patch
1093    used an `IFDEF MSVC DEFINE HAVE_SYS_TYPES_H` which
1094    is a symptom of using config.h&HAVE_CONFIG_H and
1095    zzip-file.h&IFDEF HAVE_xx. Change all header-IFDEF-HAVE
1096    to use IFDEF-ZZIP_HAVE, and install zzip-config.h
1097    along with the other headers, change the original
1098    include"config.h" in zzip-stdint.h and make it rely
1099    on zzip-conf.h - where zzip-conf.h includes zzip-config.h
1100    and lists the detected features to be used, along with most
1101    important extra defs for MSVC compatibility. (!!!)
1102  * added AC_COMPILE_CHECK_SIZEOF (cross-compile clean!)
1103    to always use the correct STDINT defines. Delete
1104    use of glib.h if present, it's not needed anymore.
1105  * use ZZIP_off_t instead of off_t
1106  * prepare for a MSVC' ZZIP.DLL with _zzip_export defines..
1107    -DZZIP_DLL -> declspec(dllexport)
1108    -DHAVE_LIBZZIP -> declspec(dllimport)
1109  * make sure, __attribute__ is okay with non-gcc compilers
1110    and attache packed-attribute to *all* zipformat-structs. The
1111    whole of zzipformat.h is also enclosed in pack-pragmas.
1112  * -> 0.10.7
1113  * create zzip-config.in and install it.
1114  * mingw32msvc has shown that we need -lz on the command-line
1115    to resolve a few symbols
1116  * go automake
1117  * install zzip-config along
1118  * mingw32msvc does not build with cross-make.sh as seen on
1119    http://libsdl.org/Xmingw32 - it needs the cross-tool/lib
1120    just as well. There we have LDLIBADD in Makefile.mk now.
1121    Now everything works for making win32 target with cross-tools.
1122  * The rest of the make-struture should ensure to be able to
1123    create an MSVC nmake Makefile - the Makerule.am is clean and
1124    can be directly included... hopefully.
1125  * -> 0.10.8
1126
1127
1128 2000-06-03 Guido Draheim <guidod@gmx.de>
1129  * Tomi did a final test round for solaris, oh well,
1130    configure needs some fixes...
1131  * checking for myself at the university's solaris2.6 with
1132    gcc-2.95.2, hmm... there's an sys/int_types.h that
1133    seems to define some of C9X int-types, put it into
1134    the configure.in and know about it in zzip-stdint.h
1135    (btw, glibc seems to have include/inttypes.h that
1136     includes stdint.h).
1137  * tomi did report a problem with gcc 2.7.2... probably
1138    sth. about -rpath
1139  * release 0.10.6 and going to announce it...
1140
1141 2000-05-31 Guido Draheim <guidod@gmx.de>
1142  * created the main doc html files, index.html, zzip-zip.html
1143    and zzip-file.html. the README and README.API is deleted,
1144    and the TODO is a bit updated.
1145  * This version is meant to be announced very soon now.
1146  * release 0.10.5 and contact Tomi for his final nod.
1147
1148 2000-05-31 Guido Draheim <guidod@gmx.de>
1149  * ifdef HAVE_SYS_STAT_H where stat is used. Removed
1150    the stats from zzip-file.h - it will now just try
1151    to open the file or zip-file and assume that
1152    open(2) will fail if the file is not there. I do
1153    hereby assume that the returned fd is seekable..
1154  * two new functions, zzip_dir_real and zzip_file_real
1155    to check if the ZZIP_XX structures are wrapping a
1156    real file or directory. Otherwise it is a zip-archive
1157    or a zip-contained file respectivly.
1158  * zzip_compr_str does now know about stat-types and
1159    will return names for S_ISTYPE bits.
1160  * remove zzip_fd. It was identical to zzip_dirfd
1161    whose name is consistent with dirent.h
1162  * zzip_stat -> zzip_dir_stat since it does not neither
1163    return a stat structure nor does it use stat(2)
1164  * Checking the doc-comments
1165
1166 2000-05-30 Guido Draheim <guidod@gmx.de>
1167  * zzip_fp -> zzip_file and _fp_ functions to _file_
1168  * zzip-stdint.h to ensure iso c9x typedefs
1169  * ZZIP_GET16/32 macros in zzip.h header.
1170  * minor updates in cosmetics and documentation
1171  * have full replacements for dirent.h functions,
1172    the zip-specific functions are now called
1173    zip_dir_open (and more alike). The zzdir can
1174    now show a list of files in a real directory,
1175    or magically the files contained in a zip-arch.
1176  * release 0.10.4
1177
1178 2000-05-29 Guido Draheim <guidod@gmx.de>
1179  * zzipmain -> zziptest and some cleanups
1180    in the Makefile. zziptest is now just
1181    another test program, so it gets compiled
1182    in full similarity with zzcat and zzdir.
1183  * removed zziptest from install-bin
1184  * the long forgotten simplicistic dependency
1185    rule is now in here too.
1186  * cosmetics to pointer declar' stars in
1187    zziplib.h
1188  * ZZIP_FP -> ZZIP_FILE and
1189    zzip-fp.h -> zzip-file.h
1190  * removed the use of zzip.h where suggested
1191    by Tomi. (use public zziplib.h instead)
1192  * removed errno.h from zziplib.h
1193  * printing configuration at end of configure.
1194  * add install-includeHEADERS rule, so that
1195    zziplib.h does now get installed.
1196
1197
1198 2000-05-27 Guido Draheim <guidod@gmx.de>
1199  * zzipformat.h carries information about the
1200    zip-file structure. The typedefs are now
1201    used to access members of the zip-archive
1202    (instead of using the offsets directly).
1203  * notice that the members are declared
1204    bytewise due to compiler semantics that is
1205    making a structure packed&aligned to the
1206    greatest common size (which would be 4).
1207    setting as attribute(packed) is not very
1208    portable.
1209  * reworked the files, esp. zzip-zip.c and
1210    zzip-ar.c
1211  * _USE_MMAP in autoconf, including option
1212    and CFLAGS setting. instead of open/read
1213    to a scan buffer the zip-file is mmapped
1214    and scanned directly.
1215  * _LOWSTK in autoconf, including option and
1216     a CFLAGS setting. Still need a scan buffer
1217     and this flag tells us not to carve the
1218     scan buffer from the auto-stack and use
1219     instead some malloc for the scan buffer.
1220  * DEBUG in autoconf, including option and
1221     a CFLAGS setting. The macros should now
1222     be able to be found everyone and only.
1223  * revamped EDH find routine, dumped old-style.
1224  * revamped read-EDH to use mmap and to use
1225    copy/read only for the parts we need. The
1226    read-EDH buffer is not limited to 32K
1227    anymore and can have any length. No realloc
1228    need anymore.
1229  * opendir does not allocate the cache.buf32k
1230    anymore - it does have no need for it. the
1231    buffer is still cached for subsequent Open
1232    calls. May want to setvbuf later.
1233  * a few renamings to be more bits/dirent.h-like,
1234    so many things are now called d_name and
1235    d_reclen instead of name or next as before.
1236  * renamed the package to "zziplib" as being
1237    suggested by Tomi.
1238  * release 0.10.3
1239
1240 2000-05-26 Guido Draheim <guidod@gmx.de>
1241  * -release at link-line for the lib
1242  * zzcat.c as a test program, which uncovered
1243      a few flaws.
1244  * a flaw w/_fd_opendir when being given a
1245      non-inited err-return-variable and no
1246      error did occur.
1247  * the error to errno table was incomplete,
1248    and the ZZIP_INFLATE error is superfluous.
1249  * zzdir.c as a test program, needs still to
1250    be given the full zip-arch name.
1251  * changed member names of zzip_dirent to
1252      match similar names in dirent and stat,
1253      (ie. d_name and st_size) and added furthermore
1254      a z_size that returns the compressed size.
1255  * little updates to names and comments.
1256  * release 0.10.2
1257
1258 2000-05-22 Guido Draheim <guidod@gmx.de>
1259  * merge with zip08x-0.9.6 - actually just
1260    a bugfix for zzip_fp_open IGNOREPATH -
1261    I even applied it in a different way than
1262    Tomi did.
1263  * bugfixes for zzip_open, it did not always
1264    set errno(2) to the value of zzip_errno.
1265  * The zzip_read is now seperate from
1266    zzip_fp_read, so that setting errno(2) is
1267    only done in zzip_read, not in the zzip-touching
1268    function.
1269  * zzip-doc.pl to generate libzzip.html
1270  * release 0.10.1
1271
1272 2000-05-21 Guido Draheim <guidod@gmx.de>
1273  * drop-in replacements ready for daily use,
1274    just use zzip_open with a normal path to
1275    a fs file. If that file is not found in
1276    a normal fs directory, then the path is
1277    splitted into a basepath and a filename,
1278    a ".zip" is appended to the basepath to
1279    form a zip-arch name, and the filename
1280    is then searched inside the zip-arch if
1281    that one exists. Very nice for distribution
1282    of a subdirectory full of scripts and that
1283    is what it is meant for - the PFE will be
1284    able to use this one for Forth-files.
1285  * have a VERSION file containing "0.10.0" and
1286    add some rules to Mk-rules
1287  * start with in-source docs that will be used
1288    for documenting the lib calls. A jdoc like
1289    doc extractor should be able to grok these,
1290    I'll see to release docs with the next
1291    release, but this time...
1292  * make it release 0.10.0 and upload it to
1293    pfe.sourceforge.net/pub where it will lurk
1294    around until I contacted Tomi. He seems to
1295    be currently working on zip08x
1296
1297 2000-05-17 Guido Draheim <guidod@gmx.de>
1298  * decided to have it actually called zzip_ and so
1299    all of the stuff is going to get renamed again.
1300
1301 2000-05-16 Guido Draheim <guidod@gmx.de>
1302  * obtained Tomi's code and made changes so that the
1303    resulting library is more portable, esp. the glib
1304    usage is being abolished. The name of the library
1305    (and package) has been renamed to libunzip and
1306    all types, consts and funcs to now carry the unzip_
1307    prefix.
1308  * autoconf !!!!
1309  * drop-in functions that can be made to easily replace
1310    dirent and filefd functions.
1311
1312
1313 Mon Apr  5 11:23:46 2000  Tomi Ollila  (too@iki.fi)
1314
1315         * Release 0.9.5
1316
1317         * Made some tiny modifications after Matthew's code.
1318
1319 Sun Apr  4  8:30:00 2000  Matthew D. Campbell (matt@campbellhome.dhs.org)
1320
1321   * Cleaned up compile warnings in SuSE Linux
1322
1323   * Cleaned up code for cross-compilation with Xmingw32
1324
1325   * Modified zipx.h to support linking to C++ apps
1326
1327 Wed Jul 28 11:23:46 1999  Tomi Ollila  (too@iki.fi)
1328
1329         * Release 0.9.4
1330
1331         * Fixed support for simultaneous open files with each
1332           open `ZipFile'.
1333
1334 Thu Jul 22 11:57:46 1999  Tomi Ollila  (too@iki.fi)
1335
1336         * Release 0.9.3
1337
1338         * Added premilinary README.API.
1339
1340 Sat Jul 10 11:49:58 1999  Tomi Ollila  (too@iki.fi)
1341
1342         * Release 0.9.2
1343
1344         * Fixed code to read start-of-file offset from local header
1345           instead relying directory info is sufficient (were TOO naive
1346           about that, the first user reported this library won't work
1347           with his archives).
1348
1349 Sun Jun 13 20:40:11 1999  Tomi Ollila  (too@iki.fi)
1350
1351         * Initial release (0.9.1).