]>
git.ipfire.org Git - thirdparty/zlib-ng.git/log
Hans Kristian Rosbach [Sat, 16 May 2015 19:23:07 +0000 (21:23 +0200)]
Replace unsigned short with uint16_t
Conflicts:
inflate.h
inftrees.c
inftrees.h
match.c
Hans Kristian Rosbach [Sat, 16 May 2015 19:15:51 +0000 (21:15 +0200)]
Replace ush with uint16_t
Conflicts:
deflate.c
deflate.h
trees.c
zutil.h
Hans Kristian Rosbach [Fri, 22 May 2015 15:45:32 +0000 (17:45 +0200)]
Merge pull request #33 from mtl1979/infcover
Cleanup test/infcover.c
Hans Kristian Rosbach [Fri, 22 May 2015 15:43:51 +0000 (17:43 +0200)]
Merge pull request #32 from mtl1979/vc14
snprintf() was added to Visual Studio 2015.
Mika Lindqvist [Fri, 22 May 2015 14:20:48 +0000 (17:20 +0300)]
Remove "local" as it was always defined as "static"
* If reallocf() is not available, don't call realloc directly as it might
cause memory leak.
Mika Lindqvist [Wed, 20 May 2015 19:57:56 +0000 (22:57 +0300)]
snprintf() was added to Visual Studio 2015.
Hans Kristian Rosbach [Sun, 17 May 2015 16:12:48 +0000 (18:12 +0200)]
Merge branch 'develop' of github.com:Dead2/zlib-ng into develop
Daniel Axtens [Fri, 8 May 2015 11:46:51 +0000 (21:46 +1000)]
Kill Byte and Bytef
Signed-off-by: Daniel Axtens <dja@axtens.net>
Conflicts:
adler32.c
compress.c
deflate.c
inflate.c
match.c
test/example.c
uncompr.c
zlib.h
Hans Kristian Rosbach [Thu, 14 May 2015 10:04:51 +0000 (12:04 +0200)]
Replace NULL comparisons
Conflicts:
trees.c
Hans Kristian Rosbach [Thu, 14 May 2015 17:09:00 +0000 (19:09 +0200)]
Merge pull request #30 from mtl1979/mingw
Fix ARCH detection when default target of gcc doesn't match uname.
Mika Lindqvist [Thu, 14 May 2015 12:13:18 +0000 (15:13 +0300)]
Fix ARCH detection when default target of gcc doesn't match uname.
Hans Kristian Rosbach [Wed, 13 May 2015 20:34:45 +0000 (22:34 +0200)]
Merge pull request #29 from mtl1979/mingw
Fix MinGW and infcover related problems
Mika Lindqvist [Wed, 13 May 2015 18:34:32 +0000 (21:34 +0300)]
Fix MinGW failing to find infcover.exe when stripping the executable.
Fix compiling infcover.c under MinGW
Mika Lindqvist [Wed, 13 May 2015 17:36:09 +0000 (20:36 +0300)]
Fix building under MinGW64.
Hans Kristian Rosbach [Wed, 13 May 2015 14:56:15 +0000 (16:56 +0200)]
Merge pull request #28 from mtl1979/cygwin
Integrate win32/Makefile.gcc into Makefile.in
Mika Lindqvist [Tue, 12 May 2015 10:02:33 +0000 (13:02 +0300)]
Integrate win32/Makefile.gcc into Makefile.in
Mika Lindqvist [Wed, 13 May 2015 14:45:27 +0000 (17:45 +0300)]
Fix unnecessary type casts.
Mika Lindqvist [Wed, 13 May 2015 12:42:54 +0000 (15:42 +0300)]
Fix const warning.
Daniel Axtens [Mon, 11 May 2015 13:29:29 +0000 (23:29 +1000)]
Kill z_crc_t
Signed-off-by: Daniel Axtens <dja@axtens.net>
Conflicts:
crc32.c
Hans Kristian Rosbach [Wed, 13 May 2015 12:24:13 +0000 (14:24 +0200)]
Remove z_const leftovers
Daniel Axtens [Fri, 8 May 2015 09:36:07 +0000 (19:36 +1000)]
z_const -> const
Signed-off-by: Daniel Axtens <dja@axtens.net>
Conflicts:
arch/x86/crc_folding.c
crc32.c
Hans Kristian Rosbach [Wed, 13 May 2015 10:12:21 +0000 (12:12 +0200)]
Fix regression with missing combine64 functions after
b3dca09
Hans Kristian Rosbach [Wed, 13 May 2015 09:48:54 +0000 (11:48 +0200)]
Remove Z_PREFIX leftovers
Mika Lindqvist [Tue, 12 May 2015 23:21:25 +0000 (02:21 +0300)]
Fix integer overflow warning
* Move declaration of "plevel" below declaration of "level"
Hans Kristian Rosbach [Tue, 12 May 2015 21:22:47 +0000 (23:22 +0200)]
Fix minor merge conflict
Mika Lindqvist [Tue, 12 May 2015 20:53:30 +0000 (23:53 +0300)]
Add level support in minigzip.
Mika Lindqvist [Thu, 7 May 2015 00:38:36 +0000 (03:38 +0300)]
Fix signed/unsigned mismatch in match.c
Hans Kristian Rosbach [Tue, 12 May 2015 20:22:03 +0000 (22:22 +0200)]
Minigzip: Set compression level to default when compiling without ZLIB_COMPAT.
(level is available in mode[2], needs to be parsed)
Hans Kristian Rosbach [Tue, 12 May 2015 16:54:20 +0000 (18:54 +0200)]
Convert remaining K&R function declarations to ANSI-C declarations.
Hans Kristian Rosbach [Tue, 12 May 2015 14:04:15 +0000 (16:04 +0200)]
Merge branch 'develop' of github.com:Dead2/zlib-ng into develop
Hans Kristian Rosbach [Tue, 12 May 2015 14:03:14 +0000 (16:03 +0200)]
Minor cleanup of includefiles relating mostly to stdint.h
Hans Kristian Rosbach [Tue, 12 May 2015 09:54:37 +0000 (11:54 +0200)]
Merge pull request #27 from mtl1979/gzopen_w
Merge Cygwin and Win32 related fixes
Hans Kristian Rosbach [Tue, 12 May 2015 09:48:14 +0000 (11:48 +0200)]
Combine CRC32_UNROLL_LESS and ADLER32_UNROLL_LESS into UNROLL_LESS
Hans Kristian Rosbach [Tue, 12 May 2015 09:43:11 +0000 (11:43 +0200)]
Merge branch 'develop' of github.com:Dead2/zlib-ng into develop
Hans Kristian Rosbach [Tue, 12 May 2015 09:42:45 +0000 (11:42 +0200)]
Fix merge conflicts
Mika Lindqvist [Mon, 11 May 2015 21:02:02 +0000 (00:02 +0300)]
Enable gzopen_w for Cygwin
Hans Kristian Rosbach [Tue, 12 May 2015 09:29:50 +0000 (11:29 +0200)]
Merge pull request #26 from mtl1979/includes
Use INCLUDES in root Makefile.in too
Hans Kristian Rosbach [Tue, 12 May 2015 09:24:47 +0000 (11:24 +0200)]
Cmake: Add support for WITH_GZFILEOP and ZLIB_COMPAT
Hans Kristian Rosbach [Mon, 11 May 2015 13:55:42 +0000 (15:55 +0200)]
Remove support for compiling with Z_SOLO.
Make compiling without gzip file operation support the default
(define WITH_GZFILEOP or use --zlib-compat to enable them).
Add initial support for compiling in a zlib-compatible mode, this currently only
enables gzip file operations and sets the ZLIB_COMPAT flag.
Conflicts:
test/minigzip.c
Mika Lindqvist [Mon, 11 May 2015 20:14:22 +0000 (23:14 +0300)]
Use INCLUDES in root Makefile.in too
Mika Lindqvist [Mon, 11 May 2015 18:43:16 +0000 (21:43 +0300)]
Add test for reallocf.
Hans Kristian Rosbach [Mon, 11 May 2015 19:12:31 +0000 (21:12 +0200)]
Do not build with -Werror by default.
Daniel Axtens [Mon, 11 May 2015 13:23:13 +0000 (23:23 +1000)]
adler32: unsigned long -> uint32_t
Authored by Danial Axtens, with some minor merge fixups by Hans Kristian Rosbach.
Conflicts:
adler32.c
zlib.h
zutil.h
Daniel Axtens [Mon, 11 May 2015 13:20:01 +0000 (23:20 +1000)]
adler32: local -> static
Signed-off-by: Daniel Axtens <dja@axtens.net>
Conflicts:
adler32.c
Daniel Axtens [Mon, 11 May 2015 13:18:38 +0000 (23:18 +1000)]
crc32: unsigned long -> uint32_t
Authored by Danial Axtens, plus merge fixups by Hans Kristian Rosbach.
Conflicts:
arch/x86/crc_folding.c
crc32.c
zlib.h
zutil.h
Daniel Axtens [Mon, 11 May 2015 13:06:17 +0000 (23:06 +1000)]
crc32: local -> static
Authored by Danial Axtens, with some minor merge fixups by Hans Kristian Rosbach.
Conflicts:
crc32.c
Daniel Axtens [Fri, 8 May 2015 11:14:20 +0000 (21:14 +1000)]
Drop MAXSEG_64K: our machines have segments greater than 64K
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 8 May 2015 11:11:26 +0000 (21:11 +1000)]
Remove UNDER_CE: Windows CE is old.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Mika Lindqvist [Mon, 11 May 2015 10:11:12 +0000 (13:11 +0300)]
Cleanup endianness test.
Yuta NAKAI [Fri, 8 May 2015 15:40:28 +0000 (00:40 +0900)]
configure: Support MinGW, Cygwin and MSYS.
Daniel Axtens [Sat, 9 May 2015 05:58:59 +0000 (15:58 +1000)]
Kill BYFOUR --- there's no reason to disabled it (NOBYFOUR)
Signed-off-by: Daniel Axtens <dja@axtens.net>
Hans Kristian Rosbach [Mon, 11 May 2015 09:18:27 +0000 (11:18 +0200)]
Merge branch 'develop' of github.com:Dead2/zlib-ng into develop
Daniel Axtens [Sat, 9 May 2015 06:10:23 +0000 (16:10 +1000)]
Kill VMS support in zconf.h
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 8 May 2015 06:09:09 +0000 (16:09 +1000)]
Kill Z_ARG()
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 8 May 2015 06:05:13 +0000 (16:05 +1000)]
Kill OF()
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 8 May 2015 05:48:42 +0000 (15:48 +1000)]
Kill z_ prefix support
Hans Kristian Rosbach [Fri, 8 May 2015 13:35:53 +0000 (15:35 +0200)]
Merge pull request #22 from mtl1979/temp3
Move generating zconf.h.cmakein from Makefile.in to CMakeLists.txt
Hans Kristian Rosbach [Fri, 8 May 2015 13:34:36 +0000 (15:34 +0200)]
Merge pull request #23 from daxtens/travis_cmake
Test cmake with Travis
Daniel Axtens [Fri, 8 May 2015 13:21:53 +0000 (23:21 +1000)]
Test cmake with Travis
Signed-off-by: Daniel Axtens <dja@axtens.net>
Mika Lindqvist [Fri, 8 May 2015 12:33:49 +0000 (15:33 +0300)]
Move generating zconf.h.cmakein from Makefile.in to CMakeLists.txt
* nmake doesn't convert / to \ when file doesn't exist, so use \
explicitly when copying zconf.h.in as zconf.h
Hans Kristian Rosbach [Fri, 8 May 2015 13:09:34 +0000 (15:09 +0200)]
Merge branch 'develop' of github.com:Dead2/zlib-ng into develop
Hans Kristian Rosbach [Fri, 8 May 2015 13:07:19 +0000 (15:07 +0200)]
Add README file with markup code enabled, allows links and images to be shown on github.
Hans Kristian Rosbach [Fri, 8 May 2015 13:02:56 +0000 (15:02 +0200)]
Merge pull request #21 from daxtens/develop
Unbreak things: import the right zconf.h
Hans Kristian Rosbach [Fri, 8 May 2015 09:17:23 +0000 (11:17 +0200)]
Merge pull request #20 from mtl1979/temp2
Makefile cleanup
Daniel Axtens [Fri, 8 May 2015 08:45:10 +0000 (18:45 +1000)]
Check out of tree building in Travis
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 8 May 2015 05:58:09 +0000 (15:58 +1000)]
Unbreak things: import the right zconf.h
Previously I imported <zconf.h>. This worked on my box because I had a
system-wide zconf.h. It didn't work on Travis. This should fix that.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Mika Lindqvist [Thu, 7 May 2015 00:21:22 +0000 (03:21 +0300)]
Make sure Visual Studio makefile does not fail if zconf.h is missing.
Mika Lindqvist [Thu, 7 May 2015 15:21:28 +0000 (18:21 +0300)]
Fix building under Cygwin.
Mika Lindqvist [Thu, 7 May 2015 12:46:10 +0000 (15:46 +0300)]
Remove support for Borland C compiler.
Mika Lindqvist [Thu, 7 May 2015 15:21:28 +0000 (18:21 +0300)]
Fix building under Cygwin.
Mika Lindqvist [Thu, 7 May 2015 12:46:10 +0000 (15:46 +0300)]
Remove support for Borland C compiler.
Mika Lindqvist [Thu, 7 May 2015 00:21:22 +0000 (03:21 +0300)]
Make sure Visual Studio makefile does not fail if zconf.h is missing.
Mika Lindqvist [Wed, 6 May 2015 23:54:42 +0000 (02:54 +0300)]
Remove unnecessary dependencies from distclean and inline them instead and test if building inside source tree.
Hans Kristian Rosbach [Thu, 7 May 2015 07:36:20 +0000 (09:36 +0200)]
Revert "Don't delete SRCDIR/zconf.h when building out of tree"
This reverts commit
ff7c02c8a7492ce3f3ab997c26ca737fac57f5d3 .
Hans Kristian Rosbach [Tue, 5 May 2015 16:14:30 +0000 (18:14 +0200)]
Merge pull request #17 from daxtens/makefix
Make 'make' make more magnificently.
Daniel Axtens [Tue, 5 May 2015 12:00:53 +0000 (22:00 +1000)]
Don't delete SRCDIR/zconf.h when building out of tree
This avoids dirtying the source directory when building out of tree
Various build changes to make sure this works:
- Includes for arch dir specify BUILDDIR before SRCDIR
- #include <zconf.h> instead of "zconf.h": that way the include order
takes effect.
- Insert an #error directive in the original zconf.h that we process out.
That way we can be sure we are including the right one when building
out of tree.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Tue, 5 May 2015 11:59:46 +0000 (21:59 +1000)]
distclean shouldn't depend on docs
Signed-off-by: Daniel Axtens <dja@axtens.net>
Hans Kristian Rosbach [Mon, 4 May 2015 17:48:37 +0000 (19:48 +0200)]
Merge pull request #14 from mtl1979/test1
Add support for building out of source tree.
Mika Lindqvist [Mon, 4 May 2015 17:08:12 +0000 (20:08 +0300)]
Fix building outside source tree
* SRCDIR points to relevant directory in source tree
* SRCTOP points to root of source tree in sub-Makefiles
* arch Makefiles use INCLUDES, and configure sets that depending on if we are
building inside source tree or outside.
* distclean cleans all files when building outside source tree
Hans Kristian Rosbach [Mon, 4 May 2015 17:08:23 +0000 (19:08 +0200)]
Merge pull request #16 from mtl1979/develop
Fix signed/unsigned mismatch in deflate.c
Mika Lindqvist [Mon, 4 May 2015 10:17:44 +0000 (13:17 +0300)]
Fix signed/unsigned mismatch.
Hans Kristian Rosbach [Mon, 4 May 2015 16:12:49 +0000 (18:12 +0200)]
Merge pull request #15 from daxtens/cleanups
Compile with -Wall -Werror
Daniel Axtens [Mon, 4 May 2015 06:28:32 +0000 (16:28 +1000)]
Compile with -Wall -Werror
This should help keep code quality up.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Hans Kristian Rosbach [Fri, 1 May 2015 12:42:15 +0000 (14:42 +0200)]
Merge pull request #11 from mtl1979/develop
Fix parallel make
Mika Lindqvist [Thu, 30 Apr 2015 14:43:25 +0000 (17:43 +0300)]
Make parallel building work inside arch directory.
Hans Kristian Rosbach [Fri, 1 May 2015 06:59:06 +0000 (08:59 +0200)]
Merge pull request #12 from mtl1979/cmake
Update CMakeLists.txt
Hans Kristian Rosbach [Fri, 1 May 2015 06:57:12 +0000 (08:57 +0200)]
Merge pull request #13 from daxtens/cleanups
Git and build cleanups
Daniel Axtens [Fri, 1 May 2015 06:18:19 +0000 (16:18 +1000)]
x86: Clean up compiler warnings in crc_folding.c
Signed-off-by: Daniel Axtens <dja@axtens.net>
Mika Lindqvist [Thu, 30 Apr 2015 20:03:26 +0000 (23:03 +0300)]
Update CMakeLists.txt
Daniel Axtens [Fri, 1 May 2015 06:02:14 +0000 (16:02 +1000)]
Make feature tests build with -Wall -Werror
The feature tests had a number of unused variables.
Make them appear used by doing a void cast.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 1 May 2015 05:56:21 +0000 (15:56 +1000)]
x86: Do not try X86_QUICK_STRATEGY without HAVE_SSE2_INTRIN
QUICK depends on fill_window_sse, and fails to link without it.
Therefore, disable QUICK_STRATEGY if we lack SSE2 support.
This could easily be worked around by making the QUICK code
fall back to regular fill_window, but it's probably not important:
if you care about speed you probably have SSE2.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 1 May 2015 05:30:05 +0000 (15:30 +1000)]
Remove unneeded and confusing alwaysinline
alwaysinline expands to __attribute__((always_inline)).
This does not force gcc to inline the function. Instead, it allows gcc to
inline the function when complied without optimisations. (Normally, inline
functions are only inlined when compiled with optimisations.)[0]
alwaysinline was only used for bulk_insert_str, and it seems to be using it
in an attempt to force the function to be inlined. That won't work.
Furthermore, bulk_insert_str wasn't even declared inline, causing warnings.
Remove alwaysinline and replace with inline.
Remove the #defines, as they're no longer used.
[0] https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Function-Attributes.html
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Fri, 1 May 2015 05:22:56 +0000 (15:22 +1000)]
x86: Silence uninitalised variable warning
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Wed, 29 Apr 2015 03:45:34 +0000 (13:45 +1000)]
Make clean/distclean descend into $(ARCHDIR)
Signed-off-by: Daniel Axtens <dja@axtens.net>
Daniel Axtens [Wed, 29 Apr 2015 03:49:25 +0000 (13:49 +1000)]
arch: git ignore Makefiles
Signed-off-by: Daniel Axtens <dja@axtens.net>
Hans Kristian Rosbach [Thu, 30 Apr 2015 06:56:25 +0000 (08:56 +0200)]
Merge pull request #10 from mtl1979/develop
Fix compiling under Visual Studio
Mika Lindqvist [Wed, 29 Apr 2015 16:09:26 +0000 (19:09 +0300)]
Fix forced inlining to work with Visual Studio.
Mika Lindqvist [Wed, 29 Apr 2015 13:49:43 +0000 (16:49 +0300)]
* Remove assembler targets and OBJA from Visual Studio makefile
* Fix creating manifest files in Visual Studio makefile
* Add missing dependency information for match.obj in Visual Studio
makefile
Mika Lindqvist [Wed, 29 Apr 2015 00:30:54 +0000 (03:30 +0300)]
Fix compiling under Visual Studio.
Hans Kristian Rosbach [Sun, 26 Apr 2015 19:31:49 +0000 (21:31 +0200)]
Cleanup: Replace 'z_streamp' with 'z_stream *'