Age | Commit message (Collapse) | Author |
|
- Add Soong blueprint
- Add CRC32 fixes
- Add NDK mappings
All changes were based on the Android fork of Chromium zlib.
Change-Id: Icf0f00d95e1534a0f5683cce40679916a464cc12
|
|
- Fix hangs on macOS #1031
- Fix minideflate write buffers being overwritten #1060
- Fix deflateBound and compressBound returning too small size estimates #1049 #1071
- Fix incorrect function declaration warning #1080
- Fix build problems when building outside of source dir #1049
- Fix build problems on arm2-7 #1030
- Fixed some compile warnings #1020 #1036 #1037 #1048
- Improved posix memalign support #888
- Improvements to testing #637 #1026 #1032 #1035 #1049 #1051 #1056 #1063 #1067 #1079
- Improvements for integration into other projects #1022 #1042
- Code style fixes #637 #1040 #1050 #1075
|
|
|
|
|
|
When DFLTCC was introduced, deflateBound() was adjusted, but
compressBound() was not, leading to compression failures when using
compressBound() + compress() with poorly compressible data.
|
|
The zlib manual does not specify a strict contract for
inflateGetDictionary(), it merely says that it "Returns the sliding
dictionary being maintained by inflate", which is an implementation
detail. IBM Z inflate's behavior differs from that of software, and
may change in the future to boot.
|
|
This fixes link failures when using CFLAGS=-m31 on IBM Z. All the
other tests are already linked this way.
|
|
Remove workaround in switchlevels.c, so we do actual testing of this.
Use named defines instead of magic numbers where we can.
|
|
* Use the self-hosted builder instead of ubuntu-latest.
* Drop qemu-related settings from DFLTCC configurations.
* Install codecov only for the current user, since the self-hosted
builder runs under a restricted non-root account.
* Use actions/checkout@v2 for configure checks, since for some reason
actions/checkout@v1 cannot find git on the self-hosted builder.
* Update the testing section of the DFLTCC README.
* Add the infrastructure code for the self-hosted builder.
|
|
|
|
Fix data loss warning.
Fixes:
```
itkzlib-ng/inflate.c(1209,24): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data
itkzlib-ng/inflate.c(1210,26): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data
```
|
|
When not using window, `window + wsize` applies a zero offset to a null pointer, which is undefined behavior.
|
|
|
|
Reorganize statements inside crc32_stub() to match more closely the format
used for other function stubs in functable.c.
|
|
erroneous result in inffast.c.
|
|
through 0xFF inclusive.
|
|
|
|
|
|
From ITK PR: https://github.com/InsightSoftwareConsortium/ITK/pull/2803
CI check: https://github.com/InsightSoftwareConsortium/ITK/runs/3864083025
commit 5434d42 adds bad whitespace:
README.md:223: new blank line at EOF.
commit 5434d42 is not allowed; missing newline at the end of file in .gitattributes.
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: concatime <concatime@users.noreply@github.com>
Co-authored-by: Mika Lindqvist <postmaster@raasu.org>
|
|
in example.
|
|
* armv7 has partial support for unaligned reads, but compiler might use instructions that do not support unaligned accesses
|
|
failed test case.
|
|
|
|
Transition to Ubuntu 18.04 in `GitHub` actions workflows.
Fixes:
```
Ubuntu 16.04 Clang
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
Ubuntu 16.04 GCC
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
```
reported for example at:
https://github.com/zlib-ng/zlib-ng/actions/runs/1326434358
Official `GitHub` notice related to the removal of the 16.04 virtual
environments:
https://github.blog/changelog/2021-04-29-github-actions-ubuntu-16-04-lts-virtual-environment-will-be-removed-on-september-20-2021/
|
|
Do not use relative includes, since they are valid only within the
source directory. Rely on the build system to pass the necessary
include flags instead.
|
|
|
|
|
|
|
|
|
|
Without this patch, #include <zlib.h> with Z_SOLO defined
(e.g. while building perl 5.34.0) fails because of use of
undefined types.
|
|
- Fix inflate corruption on aarch64 #1008
- Fix MSVC warnings #1002 #1013
- Minor chunkset improvements #1000 #994 #1015
- Minor cleanup #997
- Add CI test for pigz on aarch64 #1004
- Cmake improvements #996
|
|
|
|
|
|
* chunkcopy() can read or write more than the safe length if the length is not multiple of chunk size.
|
|
* Using vdupq_n_u64 duplicates the unsigned 64-bit integer to two consecutive aligned memory locations in stack so compiler can use wider load instructions.
All different-sized general-purpose registers overlay on ARM/AArch64, so any vector cast is no-op in assembly.
|
|
* There is no need to convert between unsigned and signed vector types. All relevant intrinsics have versions for all unsigned vector types.
|
|
|
|
|
|
|
|
|
|
Add support for selcting Thread sanitizer.
|
|
|
|
|
|
|