-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
interface | ||
|
||
const | ||
ZLIB_VERSION = '1.2.11.1'; | ||
ZLIB_VERSION = '1.2.12'; | ||
ZLIB_VERNUM = $12a0; | ||
|
||
type | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* inftrees.c -- generate Huffman trees for efficient decoding | ||
* Copyright (C) 1995-2017 Mark Adler | ||
* Copyright (C) 1995-2022 Mark Adler | ||
* For conditions of distribution and use, see copyright notice in zlib.h | ||
*/ | ||
|
||
|
@@ -9,7 +9,7 @@ | |
#define MAXBITS 15 | ||
|
||
const char inflate_copyright[] = | ||
" inflate 1.2.11.1 Copyright 1995-2017 Mark Adler "; | ||
" inflate 1.2.12 Copyright 1995-2022 Mark Adler "; | ||
/* | ||
If you use the zlib library in a product, an acknowledgment is welcome | ||
in the documentation of your product. If for some reason you cannot | ||
|
@@ -62,7 +62,7 @@ unsigned short FAR *work; | |
35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; | ||
static const unsigned short lext[31] = { /* Length codes 257..285 extra */ | ||
16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, | ||
19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 198, 196}; | ||
19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 199, 202}; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rhuijben
|
||
static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ | ||
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, | ||
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, | ||
|
2 comments
on commit 21767c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is 169 open pull requests (improvements/fixes). Will you please review them and make a new release(s) fast(er)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would also be nice if repo could migrate to github actions so that way it's possible for it to pack nuget packages of it as well.
I have a case where I need to use zlib in .NET but in order to do so it must first depend on native nuget packages to ensure that the target OS has a working copy of zlib it can use. Currently it uses a version of zlib that they link into System.IO.Compression.Native which does not export a few symbols I need so I depend on them on the actual native implementation. Since now there is a new 1.2.12 stresses even more of an need for vs17 folder and then use the vs17 stuff to build win-x86
, win-x64
, win-arm64
nuget packages. As for Linux and MacOS the same logic that would normally be used to build can be used and then generate an linux-x86
, linux-x64
, linux-arm
, linux-arm64
(might need to include musl and rhel), MacOS would be a simple osx-x64
and osx-arm64
. I need all those specific packages because they are all of what .NET supports and can run on.
@madler is there a particular reason to change this?