Lines Matching refs:when

120     into a binary when only reading or writing functionality is used
132 Allow PNG file to be read when some or all of file signature has already
140 support when available)
151 Fixed bug in PNG file signature compares when start != 0
211 black pixels to background when a background is supplied and
243 Define PNG_ALWAYS_EXTERN when __MWERKS__ && WIN32 are defined
267 Check for overlength tRNS chunk present when indexed-color PLTE is read.
279 Changed pngtest to report PASS even when file size is different (Jean-loup G.)
287 Added row callback feature when reading and writing nonprogressive rows
342 too large when writing an image with bit_depth < 8 (Bob Dellaca).
358 More work on loop optimization which may help when compiled with C++
360 Added warnings when people try to use transforms they've defined out.
367 Added max_pixel_depth=32 in pngrutil.c when using FILLER with palette images.
390 added warnings when people try to set png_read_fn and png_write_fn in
392 Added a test such that png_do_gamma will be done when num_trans==0
397 when PNG_READ_BACKGROUND_SUPPORTED or PNG_READ_EXPAND_SUPPORTED is defined.
415 even when no tIME chunk was present in the source file.
449 if an attempt is made to read an interlaced image when it's not supported.
458 Fixed a bug in pngconf.h that omitted <stdio.h> when PNG_DEBUG==0 (K Bracey).
463 Fixed bugs in calculation of the length of rowbytes when adding alpha
574 available to applications (although none are used in libpng itself) when
575 PNG_NO_GLOBAL_ARRAYS is not defined or when PNG_GLOBAL_ARRAYS is defined.
585 comment out (with #ifdef) all the new declarations when
612 Changed makefile.solaris to issue a warning about potential problems when
653 text_length=0 when "text" contains iTXt data. Use the "compression"
672 Define png_get_int_32 when oFFs chunk is supported as well as when pCAL is.
705 Return *num_text=0 from png_get_text() when appropriate, and fix documentation
731 Fixed bug with use of PNG_BEFORE_IHDR bit in png_ptr->mode, introduced when
764 Added a check for info_ptr->free_me&PNG_FREE_TEXT when freeing text in png.c
774 Only define PNG_WEIGHTED_FILTERS_SUPPORTED when PNG_FLOATING_POINT_SUPPORTED
788 Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
812 when you define this macro. Capabilities lost in this event
834 Eliminated the three new members of png_text when PNG_LEGACY_SUPPORTED is
835 defined or when neither PNG_READ_iTXt_SUPPORTED nor PNG_WRITE_iTXt_SUPPORTED
838 overrun when old applications fill the info_ptr->text structure directly.
846 Made PNG_NO_CONSOLE_IO the default condition when PNG_BUILD_DLL is defined.
858 Make png_free_data() ignore its final parameter except when freeing data
886 Added a warning in png_decompress_chunk() when it runs out of data, e.g.
887 when it tries to read an erroneous PhotoShop iCCP chunk.
957 Added a warning when application calls png_read_update_info() multiple times.
965 Set VS_FF_PRERELEASE and VS_FF_PATCHED flags in msvc/png.rc when appropriate.
966 Add error message in png_set_compression_buffer_size() when malloc fails.
982 Revised png_set_filter() to accept filter method 64 when appropriate.
991 In pngconf.h, define __cdecl when _MSC_VER is defined.
1010 Do not typedef png_FILE_p in pngconf.h when PNG_NO_STDIO is defined.
1037 Added warnings when retrieving or setting gamma=0.
1072 Test for Windows platform in pngconf.h when including malloc.h (Emmanuel Blot)
1116 when PNG_THREAD_UNSAFE_OK is defined.
1145 Type cast NULLs appearing in function calls when _NO_PROTO or
1149 Type cast NULLs appearing in function calls except when PNG_NO_TYPECAST_NULL
1172 the limit for PNG unsigned 32-bit integers when encoded.
1182 Always do gamma compensation when image is partially transparent.
1185 Compute background.gray and background_1.gray even when color_type is RGB
1192 Stopped a double free of palette, hist, and trans when not using free_me.
1196 Compute background.gray and background_1.gray even when color_type is RGB
1206 Compute gamma for color components of background even when color_type is gray.
1320 Plugged memory leak of row_buf in pngtest.c when there is a png_error().
1321 Detect buffer overflow in pngpread.c when IDAT is corrupted with extra data.
1331 Changed png_warning() to png_error() when width is too large to process.
1347 Only issue png_warning() about "Too much data" in pngpread.c when avail_in
1507 Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
1673 Include "config.h" in pngconf.h when available.
1687 Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin).
1696 to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
1714 Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
1729 Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
1843 Fixed handling of rgb_to_gray when png_ptr->color.gray isn't set.
1869 Added pngerror() when write_IHDR fails in deflateInit2().
1951 Reduced dependency on C-runtime library when on Windows (Simon-Pierre)
2011 Added a warning when writing iCCP profile with mismatched profile length.
2024 Cast to proper type when getting/setting vpAg units in pngtest.c (Cosmin).
2191 when warning_fn is NULL.
2243 Use png_calloc() instead of png_malloc() to allocate big_row_buf when
2270 of setjmp.h when they know that it is safe to ignore the situation.
2329 available for ignoring known chunks even when not saving unknown chunks.
2540 accidentally deleted from the zip and 7z distributions when the xcode
2568 to accomplish alpha premultiplication when
2594 Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16 but the
2636 Make png_set|get_compression_buffer_size() available even when
2651 Revised png_decompress_chunk() to improve speed and memory usage when
2710 when building on AIX.
2734 Revise the "#ifdef" blocks in png_inflate() so it will compile when neither
2815 contrib/pngminim project to pngerror.c, for use when warnings or
2866 Include png_reset_zstream() in png.c only when PNG_READ_SUPPORTED is defined.
2895 Stop memory leak when reading a malformed sCAL chunk.
2911 Reversed patch to remove error handler when the jmp_buf is stored in the
3015 Revised CMakeLists.txt to make symlinks instead of copies when installing.
3032 Changed pngvalid to work when floating point APIs are disabled
3118 Don't display test results (except PASS/FAIL) when running "make test".
3222 describe what libpng really does when converting RGB to gray.
3230 symbol file preprocessing now uses -DPNG_NO_USE_READ_MACROS even when
3279 Define PNG_ALLOCATED to blank when _MSC_VER<1300.
3282 Define remaining attributes to blank when MSC_VER<1300.
3283 ifdef out mask arrays in pngread.c when interlacing is not supported.
3290 to compile when PNG_NO_POINTER_INDEXING is defined (Chubanov Kirill)
3306 Only compile the new zlib re-initializing code when text or iCCP is
3324 Fixed bug with stripping the filler or alpha channel when writing, that
3382 Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
3388 The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
3406 gamma tables when the code only generates 8-bit ones. This fails
3452 pngvalid to build when ALPHA_MODE is not supported, which is required if
3563 The rgb_to_gray code had errors when combined with gamma correction.
3564 Some pixels were treated as true grey when they weren't and such pixels
3620 Revised test-pngtest.sh to report FAIL when pngtest fails.
3621 Added "--strict" option to pngtest, to report FAIL when the failure is
3638 Optimized png_combine_row() when rows are aligned. This gains a small
3654 Prevent libpng from overwriting unused bits at the end of the image when
3674 enables that fix for all compilers when using compile-time constants.
3683 Added support for ARM processor, when decoding all PNG up-filtered rows
3762 Reject invalid compression flag or method when reading the iTXt chunk.
3778 Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
3869 Revised contrib/pngminus/pnm2png.c to avoid warnings when png_uint_32
3904 attempts to dissuade people from running it when it is not, or should not,
3905 be necessary. In fact, autogen.sh does not work when run in a libpng
3922 option is now done automagically only when required, so that commandline
3974 when png.h is included from pngpriv.h.
3983 Fixed CVE-2011-3026 buffer overrun bug. This bug was introduced when
4075 This avoids compiler warnings when -Wwrite-strings is enabled.
4132 alignment increasing pointer casts when -Wcast-align is passed. This
4147 update the value when it actually increases, move test for whether
4168 Do not compile PNG_DEPRECATED, PNG_ALLOC and PNG_PRIVATE when __GNUC__ < 3.
4169 Do not use __restrict when GNUC is <= 3.1
4231 when SAVE support is absent. Moved the shell test scripts for
4291 Fixed build when using #define PNG_NO_READ_GAMMA in png_do_compose() in
4453 a flag to change default. In 1.6.0 when the simplified API was used
4506 Disallow storing sRGB information when the sRGB is not supported.
4526 Ensure that NEON filter stuff is completely disabled when switched 'off'.
4536 the need to call png_set_keep_unknown_chunks() when writing them.
4541 Calculate our own zlib windowBits when decoding rather than trusting the
4550 only works with libpng versions that can be made to reliably fail when
4585 This moves the test on __ARM_NEON__ into pngconf.h to avoid issues when
4600 the confusion that would result by declaring the init function even when
4615 Only compile ARM code when PNG_READ_SUPPORTED is defined.
4658 Allow HANDLE_AS_UNKNOWN to work when other options are configured off. Also
4659 fixed the pngminim makefiles to work when $(MAKEFLAGS) contains stuff
4792 PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in
4898 when using its "__builtin_pow()" function.
4916 row_callback now receives the proper pass number and unexpanded rows, when
4982 Eliminated use of "$<" in makefile explicit rules, when copying
4994 Do not build contrib/tools/pngfix.c when PNG_SETJMP_NOT_SUPPORTED,
5005 Disable floating point exception handling in pngvalid.c when
5023 Conditionally compile some code in png_deflate_claim(), when
5069 seem to generate warnings when an unsigned value is implicitly
5162 Do not build png_product2() when it is unused.
5182 Avoid runtime checks when converting integer to png_byte with
5191 Free the unknown_chunks structure even when it contains no data.
5204 Define PNG_FILTER_* and PNG_FILTER_VALUE_* in png.h even when WRITE
5237 where a long was expected, to avoid a compiler warning when PNG_DEBUG > 1.
5352 Fixed png_save_int_32 when int is not 2's complement (John Bowler).
5397 Libpng incorrectly calculated the output rowbytes when the application
5459 statics) and a fix for the case in rgb_to_gray when the digitize option
5506 palette has to be expanded to full RGB when it is written to PNG.
5543 call load3() only when needed at the end of a scanline.
5558 Fixed CMAKE_C_FLAGS with multiple values when genout is compiled on MSVC,
5603 Correct filter heuristic overflow handling. This was broken when the
5738 when PNG_USE_ABS is defined.
5764 an endless loop when handling erroneous ADLER32 checksums; bug
5830 Document need to check for integer overflow when allocating a pixel
5843 Avoid writing an empty IDAT when the last IDAT exactly fills the
5879 Removed one of the GCC-7.1.0 'strict-overflow' warnings that result when
5911 Avoid possible NULL dereference in png_handle_eXIf when benign_errors
5926 Stop memory leak when returning from png_handle_eXIf() with an error
6015 Use pnglibconf.h.prebuilt when building for ANDROID with cmake (Github