OpenBSD CVS

CVS log for src/lib/libz/zlib.h


[BACK] Up to [local] / src / lib / libz

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 13 08:26:26 2024 UTC (3 months, 3 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Pull in z_off64_t handling from upstream

Since we don't define Z_LARGE64, we continue to define z_off64_t to z_off_t
and all the other changes are no-ops for OpenBSD.

ok kettenis millert

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 7 20:51:19 2024 UTC (4 months ago) by tb
Branch: MAIN
Changes since 1.25: +15 -12 lines
Diff to previous 1.25 (colored)

Sync doc-comment for deflateInit2 with upstream

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 23 14:46:28 2024 UTC (4 months, 2 weeks ago) by tb
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Update to zlib 1.3.1

Since we already pulled in all fixes, this only bumps version/magic numbers
and copyright years. The fixes relevant to OpenBSD are:

- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Add bounds checking to ERR_MSG() macro, used by zError()
- Various portability and appearance improvements

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 21 07:34:39 2024 UTC (4 months, 2 weeks ago) by tb
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

libz: sync with upstream's develop branch as of Jan 18

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 18 22:43:25 2023 UTC (6 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.22: +8 -8 lines
Diff to previous 1.22 (colored)

libz sync with develop branch, discussed with deraadt

Apart from cosmetics, this includes the following commits:

Add LIT_MEM define to use more memory for a small deflate speedup.

A bug fix in zlib 1.2.12 resulted in a slight slowdown (1-2%) of
deflate. This commit provides the option to #define LIT_MEM, which
uses more memory to reverse most of that slowdown. The memory for
the pending buffer and symbol buffers is increased by 25%, which
increases the total memory usage with the default parameters by
about 6%.

https://github.com/madler/zlib/commit/ac8f12c97d1afd9bafa9c710f827d40a407d3266

Fix bug in inflateSync() for data held in bit buffer.

https://github.com/madler/zlib/commit/5af7cef45eeef86ddf6ab00b4e363c1eecaf47b6

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 20 16:25:09 2023 UTC (9 months, 3 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (colored)

Bump zlib version to 1.3

We have been pulling in all actual changes over the past months, so this
is only a version number bump. The relevant entries of the ChangeLog are:

  * Building using K&R (pre-ANSI) function definitions is no longer supported.
  * Fixed a bug in deflateBound() for level 0 and memLevel 9.
  * Fixed a bug when gzungetc() is used immediately after gzopen().
  * Fixed a bug when using gzflush() with a very small buffer.
  * Fixed a crash when gzsetparams() is attempted for a transparent write.

ok deraadt miod millert

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 18 06:08:03 2023 UTC (9 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Sync doc comment with upstream

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 30 16:42:57 2023 UTC (10 months, 1 week ago) by tb
Branch: MAIN
Changes since 1.19: +8 -5 lines
Diff to previous 1.19 (colored)

Merge some doc comment updates from upstream

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 2 08:03:54 2023 UTC (13 months, 1 week ago) by tb
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

Sync with upstream

Update some links in the README, remove a duplicate word in a zlib.h doc
comment. The only code change is guarded by #if defined(_WIN32).

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 25 16:59:10 2023 UTC (13 months, 2 weeks ago) by tb
Branch: MAIN
Changes since 1.17: +179 -179 lines
Diff to previous 1.17 (colored)

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 23 06:00:23 2022 UTC (19 months, 2 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.16: +0 -2 lines
Diff to previous 1.16 (colored)

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 20 15:35:31 2022 UTC (19 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored)

Update base libz to 1.2.13

This update contains a few bugfixes (some of which we have already
backported to 1.2.12) and a ton of cosmetic changes. The relevant
bits of the ChangeLog are:

- Repair prototypes and exporting of new CRC functions
- Have infback() deliver all of the available output up to any error
- Fix a bug when getting a gzip header extra field with inflate()
- Fix bug in block type selection when Z_FIXED used
- Tighten deflateBound bounds
- Remove deleted assembler code references
- Various portability and appearance improvements

Tested on amd64 and arm64 by me and on sparc64 by kn.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 20 11:35:36 2022 UTC (22 months, 3 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Revert zlib.h r1.7

The change from uLong to z_off_t was made due to a bug in gzip(1) which
was fixed by gkoehler in gzopen.c r1.35. The trouble with the z_off_t
change is that it is an ABI break and that it does not play well with
various ffi interfaces. For example, Perl and Rust break on ILP32 arches
with the system zlib.

Run through an i386 bulk by sthen and an i386 regress by bluhm, thanks.

ok bluhm

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 8 14:04:22 2022 UTC (2 years, 1 month ago) by tb
Branch: MAIN
Changes since 1.13: +124 -101 lines
Diff to previous 1.13 (colored)

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 4 17:41:23 2021 UTC (2 years, 11 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.12: +2 -0 lines
Diff to previous 1.12 (colored)

Add missing RCS tags

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 4 14:24:49 2021 UTC (2 years, 11 months ago) by tb
Branch: MAIN
Changes since 1.11: +1095 -542 lines
Diff to previous 1.11 (colored)

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 12 15:56:56 2019 UTC (5 years, 1 month ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

Add ZLIB_CONST

Introduced in zlib-1.2.5.2, used by a few ports.  ok deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 7 14:25:15 2011 UTC (12 years, 11 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

fix typos; while here, improve spacing in comments.

changes to libevent and zlib headers sent to the upstream maintainers.

ok jmc@ (for typos), millert@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 20 15:56:41 2005 UTC (18 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.8: +194 -37 lines
Diff to previous 1.8 (colored)

Update to zlib 1.2.3; OK deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 3 03:06:37 2004 UTC (19 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.7: +16 -16 lines
Diff to previous 1.7 (colored)

update to zlib-1.21 (we already have the CAN-2004-0797 security fixes)
"in it goes" deraadt@, in the near-total absence of feedback from others

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:50 2003 UTC (20 years, 5 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

total_in and total_out need to be off_t, not unsigned long.
some bugs return: i fixed the same some months ago when we had this other gzip
there.
this bug resulted in wrong size stats for > 4GB files, and in the case
that the input file was > 4GB and could be compressed to < 4GB gzip
not zipping it as it would grow in its eyes.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 16 22:33:02 2003 UTC (20 years, 5 months ago) by henning
Branch: MAIN
Changes since 1.5: +386 -79 lines
Diff to previous 1.5 (colored)

update to zlib 1.2.1

ok millert@ deraadt@

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Thu Mar 14 00:08:41 2002 UTC (22 years, 3 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Update to zlib 1.1.4.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Wed Mar 13 16:07:26 2002 UTC (22 years, 3 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull in patch from current:
Fix (millert):
Update to zlib-1.1.4

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 12 00:25:57 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Update to zlib-1.1.4

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 8 20:57:32 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_2_9_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Branch point for: OPENBSD_3_0, OPENBSD_2_9
Changes since 1.3: +318 -205 lines
Diff to previous 1.3 (colored)

zlib 1.1.3

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 19 17:11:25 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +6 -11 lines
Diff to previous 1.2 (colored)

zlib 1.0.4

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 27 00:29:31 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored)

Adds gz_iszipped() function.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 27 02:39:51 1996 UTC (27 years, 10 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0

Integrate zlib v1.0.3

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.