Commit Graph

  • 596af627d7 import OpenBSD's reallocarray and use it instead of malloc() Loganaden Velvindron 2015-07-14 16:22:35 +0400
  • e7ebb399d7 Put license in zlib.3 man page. Mark Adler 2015-07-07 20:11:01 -0700
  • 95698093f0 Improve speed of gzprintf() in transparent mode. Mark Adler 2015-07-05 18:14:53 -0700
  • 8a979f6c79 Avoid left shift of a negative value in flush rank calculation. Mark Adler 2015-07-05 13:51:50 -0700
  • f436a7f3cd Merge 94933d510e into 5089329162 Fredrik Johnsson 2015-06-11 09:54:00 +0000
  • 94933d510e Remove files that will change after configure Fredrik Johnsson 2015-06-11 10:49:17 +0200
  • ad88f0af45 Add support for secure versions of C run-time functions. mtl1979 2015-04-19 01:45:29 +0300
  • cec1486658 Close files on error Jeremy Friesner 2015-04-19 01:48:38 +0300
  • 1ccf1262c1 Add support for secure versions of C run-time functions. mtl1979 2015-04-19 01:45:29 +0300
  • 6c938cabc7 Merge 1cacf8890e into 5089329162 Zoë Blade 2015-04-11 10:45:01 +0000
  • 1cacf8890e Fix typos Zoë Blade 2015-04-11 11:41:45 +0100
  • a80420c635 Fix DEBUG build vkrasnov 2015-03-30 09:38:06 +0100
  • e07ac7d8f4 Fix build on OSX, and better hadling of dictionary Vlad Krasnov 2015-03-27 14:30:35 -0700
  • ad0ff64828 Changed to C++ implementation by default. Assembly modules should be explicitly enabled to compile. ENikS 2015-03-23 18:44:39 -0400
  • b2f1bcb540 Added VC12 VC14 compatible project, UI, native MASM targets http://www.codeproject.com/Articles/888836/Consuming-ZLib-in-Boost-using-Visual-Studio-MSBuil ENikS 2015-03-20 21:12:22 -0400
  • 31862bcb43 Issue fixed with Travis build. Cyberunner23 2015-03-12 19:05:15 -0400
  • 8e1f438dd1 Trying to igure out why fpic is not firing on travis. Cyberunner23 2015-03-12 16:51:44 -0400
  • c985b344ea More cmake debugging with Travis... Cyberunner23 2015-03-12 16:19:12 -0400
  • eef77275d2 A bit of cmake debigging... Cyberunner23 2015-03-12 16:01:27 -0400
  • 3f6a823e85 It would help if -fPIC was in the compile flags... Cyberunner23 2015-03-08 17:09:57 -0400
  • 706cf4e40b Added an option to compile the static library with -fPIC in the cmake build system. Cyberunner23 2015-03-08 16:42:45 -0400
  • 83be2a1932 Merge pull request #2 from cloudflare/refactor.gcc.amd64 vkrasnov 2015-03-03 14:32:02 +0000
  • 173185d1e6 Added the option to disable the building of example binaries in the cmake build system. Cyberunner23 2015-02-27 21:13:00 -0500
  • 730e054db8 Merge 93851906c9 into 5089329162 Melvin 2015-02-25 17:40:24 +0000
  • 93851906c9 Added vc14 (Visual studio 2015) project files Melvin Groenendaal 2015-02-25 18:36:40 +0100
  • a17deee6ed Additional 4%-6% speedup for all levels vkrasnov 2015-02-05 14:41:06 +0000
  • 9859a94c10 Remedy Coverity warning. [Randers-Pehrson] Mark Adler 2015-01-26 21:41:26 -0800
  • ae7c02f732 Refactor trees.c, deflate.c and deflate.h for gcc x86-64. Remove options we do not require (FASTEST, 64K, NOT_TWEAK_COMPILER). Remove contribs we don't require, integrate the hash func and longest_match funcs into deflate.c. Improve output buffer performance by using 64 bit buffer instead 16 bit. All in all ~10% performance gain for lvl 4 and ~5% performance gain for lvl 5 vkrasnov 2015-01-16 11:30:07 +0000
  • 5370d99a2a Add inflateCodesUsed() function for internal use. Mark Adler 2014-12-29 00:18:42 -0800
  • 93f5fe12c4 Merge pull request #1 from cloudflare/match.four vkrasnov 2014-12-19 18:46:03 +0000
  • 5f1bd2b72e It changes the hash and longest match functions to always match at least 4 bytes, instead the 3 the spec allows. It allows for faster and more effective compression because there are less hash collisions, and false matches are discarded faster. In theory it could lead to worse compression in some cases, but for the most common files there is an improvement for all levels both in speed and in compression ratio. vkrasnov 2014-11-29 09:38:32 +0000
  • bd4656b0ee Merge 19855d695b into 5089329162 vkrasnov 2014-12-16 18:07:22 +0000
  • c443b85d31 Windows pkgconfig fix Matt Clarkson 2014-07-30 10:55:42 +0100
  • 570765e092 Merge f732eecd2e into 5089329162 Olly Betts 2014-12-08 21:03:25 +0000
  • f732eecd2e Fix two comment typos Olly Betts 2014-12-09 10:00:04 +1300
  • 361617303e Fix some comments Zoë Blade 2014-12-01 14:03:16 +0000
  • 19855d695b TOO_FAR is now redundant vkrasnov 2014-11-29 13:31:25 +0000
  • 86baf96527 Hash 4 bytes, match 4 bytes vkrasnov 2014-11-29 13:02:30 +0000
  • 89ec82a010 Hash 4 bytes, match 4 bytes vkrasnov 2014-11-29 12:48:21 +0000
  • 1ec5670f1b Hash 4 bytes vkrasnov 2014-11-29 09:38:32 +0000
  • 55be685ae6 Add USE_CRT_DLL toggle to toggle between -MD and -MT Tim Uy 2014-11-06 14:51:56 -0800
  • 3e744fb495 Merge 3640a5f948 into 5089329162 Daniel Rosser 2014-10-03 12:10:08 +0000
  • 3640a5f948 Minor fix for DEBUG pre-processor issues Daniel Rosser 2014-10-03 22:08:43 +1000
  • 347847b34e Update package.json Георгий У. 2014-09-13 17:03:34 +0400
  • 868e44e134 Merge aa03f0d290 into 5089329162 DanKonigsbach 2014-09-10 22:22:36 +0000
  • aa03f0d290 Add support for Visual Studio 2013; the needed files are in contrib/vstudio/vc12/. Additional changes in the new files, as compared to contrib/vstudio/vc11/: - Drop obsolete files from projects: infblock.h, infcodes.h, infutil.h. These missing files causes MSBuild to think that zlib always needs to be rebuilt. Add missing header files to the projects. - Remove the VERSION line in .def file. The Visual Studio now enforces the syntax that VERSION can only be major[.minor], and does not allow a third number. Anyway, the .def VERSION line is unnecessary, since the project has a Version resource. - Rename the project that builds zlib as a .DLL from zlibvc to zlibwapi, so that the project name matches the .DLL name. - In the zlibwapi (nee zlibvc) PreBuildEvent, fix the path to the directory with the batch file that builds assembler objects. Add the PreBuildEvent to zlibstat, the project that builds zlib as a static library. Dan Konigsbach 2014-09-10 15:03:16 -0700
  • 8e3ae5ccbd Update iowin32.c DanKonigsbach 2014-09-04 11:22:26 -0700
  • 62d7a3b246 package.json georgy7 2014-07-28 18:04:31 +0400
  • 8a340f45b4 Merge pull request #1 from vitaemachina/patch-1 monnerat 2014-07-22 19:24:55 +0200
  • 3d1dd53460 fix cmake build for MSVC with AMD64 option mastermind 2014-07-20 13:29:49 +0400
  • 283520baf7 Fix bug in test/example.c where error code not saved. Mark Adler 2014-07-02 16:34:22 -0700
  • aa0d91a9ec Merge 2f8fada0c0 into 5089329162 dgmz 2014-05-28 10:16:59 +0000
  • 2f8fada0c0 Prevent the linker from complaining about assembly files built without SEH (Secure Exception Handling) flag. I'm not sure this has any useful effect besides making the linker happy. Daniel Guerrero 2014-05-28 12:08:10 +0200
  • ab78c08695 Project files for building with Visual Studio 2013 (VC12). The version number in zlibvc.def had to be truncated to 1.2 because the latest version of the Microsoft tools became a little more picky about the syntax. This is cosmetic, though. Daniel Guerrero 2014-05-28 12:06:12 +0200
  • 12e7894a32 64 bit build quatmax 2014-05-27 12:55:11 +0200
  • 1d104743be Merge 95a8127fb1 into 5089329162 dietmarw 2014-04-30 21:54:01 +0000
  • 95a8127fb1 Corrects the undefined (and mixed) encoding in the ChangeLog files Dietmar Winkler 2014-04-30 23:33:33 +0200
  • e7896cc327 Merge fad1a0fa06 into 5089329162 Sergey Zabolotskikh 2014-04-28 14:22:14 +0000
  • fad1a0fa06 add vc12 version of the zlib project, used by the application Sergei Zabolotskikh 2014-04-28 11:21:00 +0200
  • 9cbda797c1 Note in zlib.h that compress() uses Z_DEFAULT_COMPRESSION. Mark Adler 2014-04-26 08:12:37 -0700
  • 7d54c69413 Fix uncompress() to work on lengths more than a maximum unsigned. Mark Adler 2014-04-26 08:04:09 -0700
  • f898bbed89 Fix compress() to work on lengths more than a maximum unsigned. Mark Adler 2014-04-25 21:52:19 -0700
  • 14f91a01d7 Fix MingGW i686 build error with asm implemenation. Like Ma 2013-03-07 16:35:44 +0800
  • 0092a447dd Simplify installation paths. Like Ma 2013-03-07 15:32:29 +0800
  • 0b474af23b Fix incorrect indent in CMakeLists.txt Like Ma 2013-03-07 15:23:27 +0800
  • 72c70060d8 Assure that gzoffset() is correct when appending. Mark Adler 2014-04-24 19:45:36 -0400
  • 12d53b31fb Fix the output names of libraries in Windows. Like Ma 2013-03-07 15:19:59 +0800
  • 8fe233dbf3 Detech hardware support from CFLAGS. Shuxin Yang 2014-04-22 22:17:07 -0700
  • f64eee61d5 Use "crc32" (of SSE 4.2) instruction for better hash function. Shuxin Yang 2014-04-20 18:16:44 -0700
  • 24ce4981d1 correct the way of checking PCLMUL support Shuxin Yang 2014-04-20 16:16:01 -0700
  • 32de507436 Minor enhancement to put_short() macro. This change saw marginal speedup (about 0% to 3% depending on the compression level and input). I guess the speedup likely arises from following facts: Shuxin Yang 2014-04-20 15:50:33 -0700
  • d076dc02fb Uses PCLMULQDQ instrucion for CRC computation. For text input, this change sees about 5% speedup to compression at level of 3, 5, 6. Level-1/9 sees significantly higher/lower speedup. Decompression shows about 20% speedup. Shuxin Yang 2014-04-19 23:47:46 -0700
  • a6698d3469 Pass target architecture info to Makefile.in to render it possible using conditional-directive for target architecture. Shuxin Yang 2014-04-19 16:58:30 -0700
  • 587a8e72ef Remove Makefile which is derived from Makefile.in Shuxin Yang 2014-04-19 10:54:01 -0700
  • 651dad4ee8 ignore compiled files Sergei Zabolotskikh 2014-04-10 11:06:27 +0200
  • 87005109eb Merge d9b49cdd92 into 5089329162 Fredrik Orderud 2014-04-08 18:25:19 +0000
  • d9b49cdd92 Delete "vc11" projects and rename "vc10" projects to "vc1x" to signal version independence. Fredrik Orderud 2014-04-08 20:21:51 +0200
  • 00bdc1dc55 Change to default LIB, DLL and PDB filenames. Fredrik Orderud 2014-04-08 00:33:38 +0200
  • 110a4d0501 Add "d" suffix to TargetName in Debug configurations. Fredrik Orderud 2014-04-08 00:28:07 +0200
  • 1971898aeb Disable SAFESEH in Debug|Win32 and Release|Win32 to resolve the following linker errors: match686.obj : error LNK2026: module unsafe for SAFESEH image. inffas32.obj : error LNK2026: module unsafe for SAFESEH image. Fredrik Orderud 2014-04-08 00:14:56 +0200
  • 502d8e620d Fix incorrect assembly path in Debug|x64 pre-build script. Fredrik Orderud 2014-04-08 00:09:07 +0200
  • cacf140a66 Shorten down version number by discarding the third number. Fredrik Orderud 2014-04-08 00:01:57 +0200
  • 31043308c3 longest_match() implementation for x86-family platform. Shuxin Yang 2014-03-18 11:15:06 -0700
  • f418c32a4e Restructure the loop, and see about 3% speedup in run time. I believe the speedup arises from: o. Remove the conditional branch in the loop o. Remove some indirection memory accesses: The memory accesses to "s->prev_length" s->strstart" cannot be promoted to register because the compiler is not able to disambiguate them with store-operation in INSERT_STRING() o. Convert non-countable loop to countable loop. I'm not sure if this change really contribute, in general, countable loop is lots easier to optimized than non-countable loop. Shuxin Yang 2014-03-17 18:17:23 -0700
  • 1ec60f9b0a Update make.sh Vitaemachina 2014-03-11 09:41:39 -0500
  • e1b034cfcc Rewrite the loops such that gcc can vectorize them using saturated-sub on x86-64 architecture. Speedup the performance by some 7% on my linux box with corei7 archiecture. shuxinyang 2014-03-09 17:20:02 -0700
  • 66766822aa Merge 794a80e81a into 5089329162 Mark Sturgill 2014-02-21 18:01:47 -0700
  • 794a80e81a update ReleaseWithoutAsm configurations Mark Sturgill 2014-02-21 18:01:27 -0700
  • 2599f9934e add vc12 (visual studio 2013) solution and project files Mark Sturgill 2014-02-21 16:14:56 -0700
  • 07e7274966 vc120_xp toolset Markus 2014-01-20 14:56:25 +0100
  • 58f01d04f7 changes for linking with wt-3.1.1 quatmax 2013-12-30 14:52:30 +0100
  • 5f2b3a58cc set /SAFESEH:NO on lib builds quatmax 2013-12-30 09:04:48 +0100
  • 2332f0b343 added vc 2013 solution + new assembler bat-file quatmax 2013-12-27 12:25:41 +0100
  • 17e6a80e7c New OS/400 platform: obsoletes as400. New compilation script. Support for IFS. Patrick Monnerat 2013-10-22 18:27:04 +0200
  • d75d180098 Adjustment to iowin32 of minizip to allow explicitly ignoring the WinRT API Tim Rogers 2013-10-15 13:42:49 -0700
  • 960beffad7 configure script fails to detect clang on OS X. Michelangelo De Simone 2013-09-29 19:25:07 -0700
  • 4acddab3e2 vs project settings and build version definition correction Mark Sturgill 2013-09-29 04:34:54 -0700
  • 26636128be Do not define errno for newer Windows CE C Run-Time version Patrick Gansterer 2013-09-26 12:22:32 +0200
  • 799c87c0d8 Improve contrib/blast to return unused bytes. Fix the test code to report the count of unused bytes at the end correctly. Add the ability to provide initial input to blast(). Mark Adler 2013-08-24 01:53:31 -0700
  • 89e335abb4 Fix contrib/minizip to permit unzipping with desktop API [Zouzou]. Mark Adler 2013-08-03 18:13:23 -0700