- Nov 07, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Nov 06, 2014
-
-
Glenn Randers-Pehrson authored
needed by png_reciprocal2(). Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and png_do_swap().
-
- Nov 05, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
John Bowler authored
seem to generate warnings when an unsigned value is implicitly converted to double. This is probably a GCC bug but this change avoids the issue by explicitly converting to (int) where safe. Free all allocated memory in pngimage. The file buffer cache was left allocated at the end of the program, harmless but it causes memory leak reports from clang. Fixed array size calculations to avoid warnings. At various points in the code the number of elements in an array is calculated using sizeof. This generates a compile time constant of type (size_t) which is then typically assigned to an (unsigned int) or (int). Some versions of GCC on 64-bit systems warn about the apparent narrowing, even though the same compiler does apparently generate the correct, in-range, numeric constant. This adds appropriate, safe, casts to make the warnings go away.
-
Glenn Randers-Pehrson authored
-
- Nov 04, 2014
-
-
Glenn Randers-Pehrson authored
(bug report by Marcin Juszkiewicz, fix by John Bowler).
-
- Nov 01, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Oct 28, 2014
-
-
Glenn Randers-Pehrson authored
-
- Oct 25, 2014
-
-
Glenn Randers-Pehrson authored
-
- Oct 24, 2014
-
-
Glenn Randers-Pehrson authored
-
- Oct 17, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Oct 05, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
Removed "option READ_COMPRESSED_TEXT enables READ_TEXT" from pnglibconf.dfa, to make it possible to configure a libpng that supports iCCP but not TEXT. Removed "option WRITE_COMPRESSED_TEXT enables WRITE_TEXT" from pnglibconf.dfa Only mark text chunks as written after successfully writing them.
-
- Oct 04, 2014
-
-
Glenn Randers-Pehrson authored
Added "option READ_iCCP enables READ_COMPRESSED_TEXT" to pnglibconf.dfa Removed unused "text_len" parameter from private function png_write_zTXt(). Conditionally compile some code in png_deflate_claim(), when PNG_WARNINGS_SUPPORTED and PNG_ERROR_TEXT_SUPPORTED are disabled. Replaced repeated code in pngpread.c with PNG_PUSH_SAVE_BUFFER_IF_FULL. Added "chunk iTXt enables TEXT" and "chunk zTXt enables TEXT" to pnglibconf.dfa. Edit and fix typos in comments.
-
- Sep 28, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Sep 27, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Aug 08, 2014
-
-
Glenn Randers-Pehrson authored
-
- Aug 06, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
- Apr 10, 2014
-
-
Glenn Randers-Pehrson authored
-
- Apr 06, 2014
-
-
Glenn Randers-Pehrson authored
interferes with "blocky" expansion of sub-8-bit interlaced PNG files (Eric Huss).
-
- Mar 22, 2014
-
-
Glenn Randers-Pehrson authored
-
Glenn Randers-Pehrson authored
-
Cosmin Truta authored
header with a custom header, via the make PNGLIBCONF_H_PREBUILT macro.
-
Cosmin Truta authored
Silence 'unused parameter' build warnings (Cosmin). $(CP) is now used alongside $(RM_F). Also, use 'copy' instead of 'cp' where applicable, and applied other minor makefile changes. Don't warn about invalid dimensions exceeding user limits.
-
- Mar 21, 2014
-
-
Glenn Randers-Pehrson authored
-
- Mar 17, 2014
-
-
Glenn Randers-Pehrson authored
-