14 Commits

Author SHA1 Message Date
Jason Rohrer
02c51d3662 Fixed loads of uninitilized value errors found with Valgrind by memsetting m_dict to 0 in tdefl_init. 2017-08-28 18:28:14 -07:00
Martin
84e8458de0 Option to use memcpy for unaligned data access 2017-05-18 18:47:09 +02:00
Mario Cianciolo
a0786b126d Fix PNG height
Fixed array index where to store image height.
PNG files made using `tdefl_write_image_to_png_file_in_memory_ex()` were very tall, with a huge empty area at the end.
Since `pnghdr[22]` was assigned twice, I changed indices to store height exactly in the way width is stored (two consecutive swapped bytes). Now PNG file height is correct.
2017-04-30 23:13:09 +02:00
Michał Janiszewski
a6a989cc18 clang-format the sources 2017-03-23 08:50:08 +01:00
Martin
1c6ca868d7 Fix compilation with the various omission compile definitions 2017-03-13 19:38:42 +01:00
Martin
3b7ee5aea5 Fix compile warnings 2017-01-19 15:53:53 +01:00
Martin
4c36ab0230 Rerun clang-format 2017-01-03 01:30:38 +01:00
Martin
8e30365e91 Fix compile issues with "gcc -ansi" 2016-11-27 22:19:38 +01:00
Martin
224d207ce8 MiniZ ZIP64 was part of valve vogl which is MIT licensed 2016-11-21 18:17:47 +01:00
Matthew Sitton
3979a6de1f And finally Integrate vogl changes. 2016-06-25 12:13:28 -05:00
Matthew Sitton
11f1380c45 Some more formatting issues. 2016-06-25 12:03:49 -05:00
Matthew Sitton
d650d15974 Add vogl .clang-format and reformat library source. 2016-06-25 09:03:56 -05:00
Matthew Sitton
baa0e214e7 Add v1.16 beta r1 changes. 2016-06-25 08:02:20 -05:00
Matthew Sitton
724de0bb0f Separate the into multiple files similar to the vogl zip64 version of the library.
If anyone wants to have a minified version of if a script could be written to do this automatically.
2016-06-25 06:43:30 -05:00