aboutsummaryrefslogtreecommitdiff
path: root/doc/algorithm.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-10Fix comments in win32/Makefile.gcc for proper usage.Mark Adler1-8/+7
2012-03-10Avoid warnings when O_CLOEXEC or O_EXCL are not defined.Mark Adler1-1/+10
2012-03-09Add DESTDIR support to mingw32 win32/Makefile.gcc.Nathan Phillip Brink1-15/+15
2012-03-09Add ability to choose the builder in make_vms.com [Schweda].Mark Adler1-36/+45
2012-03-04Make sure that O_EXCL is used portably.Mark Adler1-4/+7
2012-03-04Fix contrib/vstudio project link errors [Mohanathas].Mark Adler7-20/+44
2012-03-03Fix bug in test/minigzip.c for configure --solo.Mark Adler1-1/+1
2012-03-03Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen().Mark Adler2-2/+15
2012-03-03Fix bug in gzclose_w() when gzwrite() fails to allocate memory.Mark Adler1-6/+8
2012-03-03Simplify test and use of gcc hidden attribute.Mark Adler3-9/+5
2012-03-03Don't use library or built-in byte swaps.Mark Adler1-13/+2
Using optimized byte swaps reduced portability for no real benefit, since they are in parts of the code that represent a tiny fraction of the execution time. So a simple definition of a byte swap is now used.
2012-03-02Fix make_vms.com for VAX [Zinser].Mark Adler1-20/+63
2012-03-02Cast to char * in gzprintf to avoid warnings [Zinser].Mark Adler1-11/+12
2012-02-20Avoid using __int64 for gcc or solo compilation.Mark Adler3-9/+9
2012-02-19Improve the detection of no hidden visibility attribute.Mark Adler3-6/+16
2012-02-19Do not use the visibility attribute if NO_VIZ defined.Mark Adler2-2/+2
2012-02-19Update version numbers and year in win32/README-WIN32.txt.Mark Adler1-4/+4
2012-02-18Use __WATCOMC__ instead of __WATCOM__.Mark Adler3-3/+3
2012-02-18Include unistd.h for Watcom C.Mark Adler3-0/+9
2012-02-18Require gcc 4.0 or later on Mac OS X to use the hidden attribute.Mark Adler2-2/+4
2012-02-18Fix build with non-GNU make on Solaris.Török Edwin1-5/+5
2012-02-18Restore gzgetc_ for backward compatibility with 1.2.6.Mark Adler11-0/+23
2012-02-18Test for existence of strerror.Mark Adler2-2/+16
SunOS 4.1 claims that it is __STDC__, but it does not have strerror in string.h. Instead of using __STDC__, this puts a direct test for strerror in configure, and uses that information in gzguts.h.
2012-02-18Replace use of memmove() with a simple copy for portability.Mark Adler1-3/+8
SunOS 4.1 doesn't have memmove(), and there may be others. memcpy() should not be used for overlapping copies, so here a simple copy is implemented that works for the particular direction of the overlap, which is where the destination precedes the source.
2012-02-13Expunge gzgetc_ from configuration files.Mark Adler9-16/+0
2012-02-13Remove unnecessary include for byte swap built-in [Bosmans].Mark Adler1-1/+0
2012-02-12Don't use built-in byte swaps if compiled solo.Mark Adler1-9/+12
2012-02-12Change version number to 1.2.7.Mark Adler20-40/+43
2012-02-12zlib 1.2.6.1v1.2.6.1Mark Adler12-14/+25
2012-02-11Fix minor typo in zlib.h comments [Rześniowiecki].Mark Adler1-3/+2
2012-02-11Use optimized byte swap operations for Microsoft and GNU [Snyder].Mark Adler3-13/+19
2012-02-10Remove unnecessary gzgetc_ function.Mark Adler2-11/+4
2012-02-05Update make_vms.com [Zinser].Mark Adler1-139/+150
2012-02-04Minor cleanup in contrib/minizip/zip.c [Vollant].Mark Adler1-2/+2
2012-02-04Use name in GCC_CLASSIC as C compiler for coverage testing, if set.Mark Adler1-0/+3
Apple removed support for gcov in the default gcc compiler chain, when they moved to llvm. This can be circumvented in XCode 4.2 by using the gcc chain with gcc-4.2. This patch allows setting GCC_CLASSIC to the name of a real gcc executable (e.g. "gcc-4.2") to allow coverage testing.
2012-02-01Avoid library header include in crc32.c for Z_SOLO.Mark Adler1-0/+3
crc32.c was #including limits.h in order to find a four-byte integer type. It was doing this even if Z_SOLO were defined, violating the intent of Z_SOLO, which is to include no library headers and require no library functions. Now crc32.c obeys the intent of Z_SOLO, but with the downside that crc32() will be slower than when not compiled with Z_SOLO. This can be remedied manually by typedefing u4 to a known four-byte unsigned integer type, and #defining BYFOUR in crc32.c.
2012-02-01Put gzflags() functionality back in zutil.c.Mark Adler12-47/+26
gzflags() was put in gzwrite.c in order to be compiled exactly the same as gzprintf(), so that it was guaranteed to return the correct information. However that causes a static linkage to zlib to bring in many routines that are often not used. All that is required to duplicate the compilation environment of gzprintf() is to include gzguts.h. So that is now done in zutil.c to assure that the correct flags are returned.
2012-02-01Include gz_header definition when compiling zlib solo.Mark Adler3-15/+9
2012-01-30Fix problem with ./configure --prefix and gzgetc macro.Mark Adler1-2/+8
2012-01-29Include io.h in gzguts.h for Microsoft compilers.Mark Adler1-2/+1
2012-01-29Avoid the use of the Objective-C reserved name "id".Mark Adler1-5/+5
2012-01-29Change version number to 1.2.6.1.Mark Adler20-38/+41
2012-01-29zlib 1.2.6v1.2.6Mark Adler6-7/+31
2012-01-29Correct in zlib.map when deflateResetKeep was added.Mark Adler1-4/+1
2012-01-29Use the -m option on ldconfig for BSD systems [Tobias].Mark Adler1-1/+4
2012-01-29Have gzputc return the character written instead of the argument.Mark Adler1-2/+2
When successful, gzputc would return the second argument. If the second argument were -1, gzputc would return -1 instead of the character written, which was 255. However the -1 would not be distinguishable from an error. Now gzputc returns 255 in that case.
2012-01-29Exit when required parameters not provided to win32/Makefile.gcc.Mark Adler1-0/+4
2012-01-28Add the generation of configure.log by ./configure.Mark Adler2-101/+160
2012-01-21Add an --enable-demos option to contrib/minizip/configure.Jonathan Nieder2-0/+14
This makes build-testing and installing the minizip/miniunzip programs as simple as "autoreconf -if && ./configure --enable-demos && make && make install". Without --enable-demos, the makefile will only build and install the library, as before. Helped by Mike Frysinger. minizip/miniunzip were not intended to be general-purpose installed utilities, but they can be useful from time to time as a lightweight substitute for zip/unzip. You can also use them to quickly test that the library installation procedure worked.
2012-01-21Add support for VPATH builds in contrib/minizip.Jonathan Nieder1-2/+7
Instead of using relative paths directly, use paths relative to top_srcdir and top_builddir to refer to source files and built files, respectively. Note that the toplevel zlib configure script still does not have any special support for out-of-tree builds. But now you can do (cd contrib/minizip && autoreconf -fis) mkdir -p BUILD/test cp *.c *.h *.in zlib.map configure zlib.3 BUILD cp test/*.c BUILD/test (cd BUILD && ./configure --shared) (cd BUILD && make) mkdir -p BUILD/contrib/minizip cd BUILD/contrib/minizip ../../../contrib/minizip/configure make While at it, move the include path and library path settings to CPPFLAGS and LDFLAGS respectively instead of setting both in CFLAGS. Thanks to Mike Frysinger for advice.