Lines Matching refs:and

2  * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
5 * This code is free software; you can redistribute it and/or modify it
46 cleaned up code and commented code
48 created png_color_16 and png_color_8 to handle color needs
53 cleaned up zTXt reader and writer (using zlib's Reset functions)
54 split transformations into pngrtran.c and pngwtran.c
58 fixed many reading and writing bugs
62 added png_large_malloc() and png_large_free()
69 finished dithering and other stuff
75 fixed error in libpng.txt and example.c
80 split up pngstub.c into pngmem.c, pngio.c, and pngerror.c
84 added functions to manually set filtering and compression info
101 added i/o, error, and memory callback functions
111 fixed other bugs introduced in 0.85 and 0.86
118 added callbacks for read/write and warning/error functions
123 png_create_info_struct(), png_destroy_read_struct(), and
125 malloc and png_read_init(), png_info_init(), and png_write_init()
128 png_set_message_fn() calls, and that the old API no longer exists
135 Fixed gamma and background correction for paletted images, so
141 Added more error checking for writing and image to reduce invalid files
142 Separated read and write functions so that they won't both be linked
144 New pngtest image also has interlacing and zTXt
148 Made CRC errors/warnings on critical and ancillary chunks configurable
154 of info_struct and invalidates all programs that use a shared libpng****
167 Removed png_large_malloc, png_large_free, and png_realloc functions.
170 Fixed bug in pngwutil.c allocating "up_row" twice and "avg_row" never
174 Added test for MACOS to ensure that both math.h and fp.h are not #included
186 Removed old png_set_rgbx() and png_set_xrgb() functions that have been
188 Added macros to read 16- and 32-bit ints directly from buffer, to be
189 used only on those systems that support it (namely PowerPC and 680x0)
195 More description of info_struct in libpng.txt and png.h
198 Renamed pngrcb.c to pngset.c, and all png_read_<chunk> functions to be
230 black pixels to background when a background is supplied and
233 Tested NODIV support and made it default behaviour (Greg Roelofs)
234 Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
235 Regularized version numbering scheme and bumped shared-library major
239 Cleaned up some typos in libpng.txt and in code documentation
240 Fixed memory leaks in pCAL chunk processing (Glenn R-P and John Bowler)
243 in example.c and libpng.txt, added comments to distinguish between
244 screen_gamma, viewing_gamma, and display_gamma.
245 Changed all references to RFC1152 to read RFC1123 and changed the
254 PNG_READ_GAMMA_SUPPORTED and PNG_READ_hIST_SUPPORTED undefined
255 Fixed some typos and made other minor rearrangement of libpng.txt (Andreas)
257 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
265 Added type casts and parentheses to all returns that return a value.(Tim W.)
275 Added png_buffered_memcpy() and png_buffered_memset(), apply them to rowbytes.
276 Added UNIX manual pages libpng.3 (incorporating libpng.txt) and png.5.
282 with png_memcpy_check() and png_memset_check().
284 unused png_ptr, mostly in pngget.c and pngset.c.
302 Moved makefiles into a "scripts" directory, and added INSTALL instruction file
303 Added makefile.os2 and pngos2.def (A. Zabolotny) and makefile.s2x (W. Sebok)
304 Added pointers to "note on libpng versions" in makefile.lnx and README
305 Added row callback feature when reading and writing nonprogressive rows
306 and added a test of this feature in pngtest.c
316 and added PNG_PROGRESSIVE_READ_NOT_SUPPORTED macro
323 Added PNGARG() to prototypes in pngtest.c and removed some prototypes
337 for major, minor, and bugfix releases. This is 10001. (Adam Costello,
356 Removed references to IJG and JPEG in the ansi2knr.c copyright statement.
358 Added grayscale and 16-bit capability to png_do_read_filler().
379 Collapsed 4 "i" and "c" loops into single "i" loops in pngrtran and pngwtran.
380 Revised paragraph about png_set_expand() in libpng.txt and libpng.3 (Greg)
386 Moved PNG_WRITE_WEIGHTED_FILTER_SUPPORTED and PNG_WRITE_FLUSH_SUPPORTED
397 and pngtrans.c, that were introduced in version 1.0.1b
400 and png_read_rows().
401 Added pngdll.mak and pngdef.pas to scripts directory, contributed by
407 Revised libpng.txt and libpng.3 description of png_set_read|write_fn(), and
408 added warnings when people try to set png_read_fn and png_write_fn in
414 Added tests in png.h to include "trans" and "trans_values" in structures
418 Added capability for user-provided malloc_fn() and free_fn() functions,
419 and revised pngtest.c to demonstrate their use, replacing the
421 Added makefile.w32, for Microsoft C++ 4.0 and later (Tim Wegner).
427 Replaced and extended code that was removed from png_set_filler() in 1.0.1a.
437 Interchanged the order of calls to png_do_swap() and png_do_shift()
442 Separated the PNG_NO_STDIO macro into PNG_NO_STDIO and PNG_NO_CONSOLE_IO
444 Added png_set_rgb_to_gray() and png_get_rgb_to_gray_status() functions.
445 Added png_get_copyright() and png_get_header_version() functions.
446 Revised comments on png_set_progressive_read_fn() in libpng.txt and example.c
447 Added information about debugging in libpng.txt and libpng.3 .
448 Changed "ln -sf" to "ln -s -f" in makefile.s2x, makefile.lnx, and
455 Removed misplaced #endif and #ifdef PNG_NO_EXTERN near the end of png.h
456 Added "if" tests to silence complaints about unused png_ptr in png.h and png.c
462 Added makefile.hux, for Hewlett Packard HPUX 10.20 and 11.00 (Jim Rice)
463 Added a statement of Y2K compliance in png.h, libpng.3, and Y2KINFO.
474 Changed (float)red and (float)green to (double)red, (double)green
477 Reformatted libpng.3 and libpngpf.3 with proper fonts (script by J. vanZandt).
479 Removed ansi2knr.c and left pointers to the latest source for ansi2knr.c
480 in makefile.knr, INSTALL, and README (L. Peter Deutsch)
484 user_depth, and user_channels into the png_struct, and a function
490 consistent with PNG-1.2, and allow variance of 500 before complaining.
491 Added assembler code contributed by Intel in file pngvcrd.c and modified
496 png_set_expand_PLTE(), png_set_expand_depth(), and png_set_expand_tRNS()
505 png_set_gray_1_2_4_to_8, png_set_palette_to_rgb, and png_set_tRNS_to_alpha
515 Added new png_expand functions to scripts/pngdef.pas and pngos2.def
520 Delete #define PNG_INTERNAL and include "png.h" from pngasmrd.h
523 Copied the PNG copyright and license to a separate LICENSE file.
524 Revised documentation, png.h, and example.c to remove reference to
529 assembler code) and makefile.vcwin32 (doesn't).
542 Added a "png_check_version" function in png.c and pngtest.c that will generate
559 Added type casting mostly in pngrtran.c and pngwtran.c
564 Minor editing of the INSTALL and README files.
567 Added contrib/pngsuite and contrib/pngminus (Willem van Schaik)
569 Further optimization and bugfix of pngvcrd.c
576 Moved PNG_FLAG_HAVE_CHUNK_HEADER, PNG_FLAG_BACKGROUND_IS_GRAY and
580 Updated scripts/makevms.com and added makevms.com to contrib/gregbook
581 and contrib/pngminus (Martin Zinser)
587 png_get_header_ver() in png.c. Moved png_sig to png_sig_bytes in png.c and
590 png_CHNK and png_pass arrays to be "const". Made the global arrays
595 Change PNG_SRGB_INTENT to PNG_sRGB_INTENT in libpng.txt and libpng.3
600 Renamed "PNG_GLOBAL_ARRAYS" to "PNG_USE_GLOBAL_ARRAYS" and made available
607 Added iCCP, iTXt, and sPLT support; added "lang" member to the png_text
609 with trailing compressed parts easier in the future, and added new functions
621 Changed png_get_oFFs() and png_set_oFFs() to use signed rather than unsigned
623 Combined PNG_READ_cHNK_SUPPORTED and PNG_WRITE_cHNK_SUPPORTED macros into
624 PNG_cHNK_SUPPORTED and combined the three types of PNG_text_SUPPORTED
631 Removed "- [date]" from the "synopsis" line in libpng.3 and libpngpf.3.
638 Added "translated_key" to png_text structure and png_write_iTXt().
648 Expanded tabs and removed trailing blanks in source files.
657 Changed "num" to "i" in png_free_spalettes() and png_free_unknowns() to
660 Various patches to fix bugs in the sCAL and integer cHRM processing,
661 and to add some convenience macros for use with sCAL.
669 Added members "lang_key" and "itxt_length" to png_text struct. Set
672 PNG_ITXT_COMPRESSION_NONE (1) and PNG_ITXT_COMPRESSION_zTXt(2) macros.
676 and to write the iTXt chunk after IDAT if it appears in the end_ptr.
678 Reversed the order of trying to write floating-point and fixed-point gAMA.
683 Added png_free_chunk_list() function and chunk_list and num_chunk_list members
685 Eliminated erroneous warnings about multiple sPLT chunks and sPLT-after-PLTE.
693 Added functions png_set_read_user_chunk_fn() and png_get_user_chunk_ptr()
694 for setting a callback function to handle unknown chunks and for
701 Added png_free_PLTE() function, and modified png_set_PLTE() to malloc its
707 Cosmetic changes only (removed some trailing blanks and TABs)
717 Added PNG_SETJMP_SUPPORTED, PNG_SETJMP_NOT_SUPPORTED, and PNG_ABORT() macros
722 Return *num_text=0 from png_get_text() when appropriate, and fix documentation
727 new error handler that's planned for the next libpng release, and changed
728 example.c, pngtest.c, and contrib programs to use this macro.
732 Fixed some mistakes in the unused and undocumented INCH_CONVERSIONS functions
734 Changed the allocation of palette, history, and trans arrays back to
737 that in example.c. Added "free_me" member to info_ptr and png_ptr
738 and added png_free_data() function.
739 Updated makefile.linux and makefile.gccmmx to make directories conditionally.
741 Added png_set_rows() and png_get_rows(), for use with png_read|write_png().
750 Files in contrib/gregbook were revised to use png_jmpbuf() and to select
751 a 24-bit visual if one is available, and to allow abbreviated options.
753 Removed spaces in makefile.linux and makefile.gcmmx, introduced in 1.0.5s
756 Simplified the code that detects old png.h in png.c and pngtest.c
758 Increased precision of rgb_to_gray calculations from 8 to 15 bits and
765 Corrected bugs in documentation regarding png_read_row() and png_write_row().
768 revised borland makefiles; added makefile.ibmvac3 and makefile.gcc (Cosmin)
771 Minor revisions of makefile.bor, libpng.txt, and gregbook/rpng2-win.c
789 Check for existing data and free it if the free_me flag is set, in png_set_*()
790 and png_handle_*().
794 and mentioned the purposes of the two macros in libpng.txt/libpng.3.
797 Revised png_set_iCCP() and png_set_rows() to avoid prematurely freeing data.
801 Removed "else" from pngread.c, after png_error(), and changed "0" to "length".
807 and other revisions (Matthias Benckmann)
808 Relocated info_ptr->free_me, png_ptr->free_me, and other info_ptr and
818 Rearranged some members at the end of png_info and png_struct, to put
819 unknown_chunks_num and free_me within the original size of the png_structs
820 and free_me, png_read_user_fn, and png_free_fn within the original png_info,
825 if present, unless free_me directs that it be freed, and added description
826 of the use of png_set_rows() and png_get_rows() in libpng.txt/libpng.3.
827 Added PNG_LEGACY_SUPPORTED macro, and #ifdef out all new (since version
828 1.00) members of png_struct and png_info, to regain binary compatibility
832 the high-level interface, and unknown chunks support (all new in 1.0.6).
834 directly as authors were instructed to do in libpng-0.88 and earlier,
836 Added modes PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT which
837 can be used to detect codes that directly allocate the structs, and
838 code to check these modes in png_read_init() and png_write_init() and
839 generate a libpng error if the modes aren't set and PNG_LEGACY_SUPPORTED
841 Added makefile.intel and updated makefile.watcom (Pawel Mrochen)
844 Overloaded png_read_init() and png_write_init() with macros that convert
846 and structure sizes.
849 Removed the new PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT modes
856 Added PNGAPI macro, and added it to the definitions of all exported functions.
857 Relocated version macro definitions ahead of the includes of zlib.h and
870 Changed pnggccrd.c and pngvcrd.c to handle bad adaptive filter types as
886 and pngwutil.c.
887 Added checks in pngtest.c for png_create_*() returning NULL, and mentioned
902 indexing in pngrutil.c and pngwutil.c to accommodate a buggy compiler.
914 Revised PNGAPI definition, and pngvcrd.c to work with __GCC__
915 and do not redefine PNGAPI if it is passed in via a compiler directive.
917 Removed leading underscores from "_PNG_H" and "_PNG_SAVE_BSD_SOURCE" macros.
919 Fixed bugs in pngwrite.c and pngwutil.c that prevented writing iCCP chunks.
930 Changed PNG_NO_STDIO to PNG_NO_CONSOLE_IO, several places in pngrutil.c and
935 Revised pnggccrd.c to work with gcc-2.95.2 and in the Cygwin environment.
938 Added project files to the wince directory and made further revisions
939 of pngtest.c, pngrio.c, and pngwio.c in support of WindowsCE.
945 Further revisions to pngtest.c and files in the wince subdirectory.
948 Added the files pngbar.png and pngbar.jpg to the distribution.
949 Added makefile.cygwin, and cygwin support in pngconf.h
953 Revised png_debug() macros and statements to eliminate compiler warnings.
961 Updated makevms.com in scripts and contrib/* and contrib/* (Martin Zinser)
964 Revised pnggccrd.c to get it all working, and updated makefile.gcmmx (Greg).
966 Make sure PNGAPI and PNG_IMPEXP are defined in pngconf.h.
968 Relocated "msvc" and "wince" project subdirectories into "dll" subdirectory.
970 Revised makefile.dec to define and use LIBPATH and INCPATH
972 Made global png_libpng_ver[], png_sig[] and png_pass_*[] arrays const.
976 Fixed bugs in iCCP support in pngrutil.c and pngwutil.c.
982 Set VS_FF_PRERELEASE and VS_FF_PATCHED flags in msvc/png.rc when appropriate.
989 Added makefile.macosx and makefile.aix to scripts directory.
1000 Added new PNG_HAVE_PNG_SIGNATURE bit to png_ptr->mode and use it to
1012 Revised memory management in png_set_hIST and png_handle_hIST in a backward
1013 compatible manner. PLTE and tRNS were revised similarly.
1021 Added png_set_invalid, png_permit_mng_features, and png_mmx_supported to
1022 wince and msvc project module definition files.
1032 Removed png_mmx_support() function and disabled PNG_MNG_FEATURES_SUPPORTED
1041 Added "-nommx" parameter to contrib/gregbook/rpng2-win and rpng2-x demos.
1044 Revised makefile.dec, makefile.sgi, and makefile.sggcc; added makefile.hpgcc.
1049 Added PNG_NO_READ_SUPPORTED and PNG_NO_WRITE_SUPPORTED macros.
1053 Fixed bugs in png_combine_row() in pnggccrd.c and pngvcrd.c (C version)
1058 Changed all instances of memcpy, strcpy, and strlen to png_memcpy, png_strcpy,
1059 and png_strlen.
1090 Updated makefile.cygwin and handling of Cygwin's ALL_STATIC in pngconf.h
1093 libpng will reallocate the png_struct and info_struct if they are too small.
1095 libpng-0.88 and earlier.
1099 Re-enabled PNG_MNG_FEATURES_SUPPORTED and enabled PNG_ASSEMBLER_CODE_SUPPORTED
1102 Added png_set_strip_error_numbers function and related macros.
1112 Bumped shared-library (so-number) and dll-number to 3.
1115 Check for missing profile length field in iCCP chunk and free chunk_data
1117 Bumped shared-library number to 3 in makefile.sgi and makefile.sggcc
1119 Revised contrib/gregbook/rpng*-x.c to avoid a memory leak and to exit cleanly
1125 of png_write_oFFS width and height from png_uint_32 to png_int_32.
1127 Revised prototypes for png_debug_malloc and png_debug_free in pngtest.c
1136 Revised makefile.sgi and makefile.sggcc
1147 Revised makefile.netbsd and makefile.macosx, added makefile.darwin.
1160 Revised png_create_info_struct() and png_creat_struct_2().
1171 Updated makefile.sgi to recognize LIBPATH and INCPATH.
1176 Always allocate 256-entry internal palette, hist, and trans arrays, to
1185 Revised makefile.linux, makefile.gcmmx, and makefile.sgi to generate
1186 libpng.a, libpng12.so (not libpng.so.3), and libpng12/png.h
1188 Added checks for gamma and chromaticity values over 21474.83, which exceed
1190 Revised calls to png_create_read_struct() and png_create_write_struct()
1195 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
1202 Compute background.gray and background_1.gray even when color_type is RGB
1205 Export (with PNGAPI) png_zalloc, png_zfree, and png_handle_as_unknown
1209 Stopped a double free of palette, hist, and trans when not using free_me.
1210 Added makefile.32sunu for Sun Ultra 32 and makefile.64sunu for Sun Ultra 64.
1213 Compute background.gray and background_1.gray even when color_type is RGB
1220 Check for invalid bit_depth or color_type in png_get_IHDR(), and
1222 Revised iTXt support to accept NULL for lang and lang_key.
1225 Revised makefiles to put png.h and pngconf.h only in $prefix/include/libpngNN
1241 Updated makefiles to put headers in include/libpng and remove old include/*.h.
1247 Revised makefile.netbsd and added makefile.neNNbsd and makefile.freebsd
1252 Changed ${PNGMAJ}.${PNGVER} bug to ${PNGVER} in makefile.sgi and
1254 Fixed VER -> PNGVER typo in makefile.macosx and added install-static to
1256 Added install: target to makefile.32sunu and makefile.64sunu
1261 Revised 15 makefiles to link libpng.a to libpngNN.a and the include libpng
1269 Updated cygwin-specific portion of pngconf.h and revised makefile.cygwin
1275 Restored png_zalloc() and png_zfree() prototypes to version 1.2.1 and
1279 Fixed bug in reporting number of channels in pngget.c and pngset.c,
1282 png_default_flush(), and png_push_fill_buffer() and included them in
1288 Remove old libpng.pc and libpngNN.pc before installing new ones.
1293 Added libpng-config and libpngNN-config and modified makefiles to install
1299 Changed "error" and "message" in prototypes to "error_message" and
1302 Once more restored png_zalloc and png_zfree to regular nonexported form.
1304 to nonexported form, but with PNGAPI, and removed them from module def
1308 Removed "PNGAPI" from png_zalloc() and png_zfree() in png.c
1309 Changed "Gz" to "Gd" in projects/msvc/libpng.dsp and zlib.dsp.
1322 Added libpng.pc and libpng-config to "all:" target in 16 makefiles.
1325 Plugged various memory leaks; added png_malloc_warn() and png_set_text_2()
1331 Added -soname to the loader flags in makefile.dec, makefile.sgi, and
1334 makefile.sgi, and makefile.sggcc.
1341 makefile.solaris, makefile.hpux, makefile.hpgcc, and makefile.so9.
1343 Version 1.2.4rc1 and 1.0.14rc1 [July 2, 2002]
1344 Added "test-installed" target to makefile.cygwin and makefile.sco.
1347 Version 1.2.4 and 1.0.14 [July 8, 2002]
1358 and about "Extra compressed data" in pngrutil.c.
1361 Updated png.c and pnggccrd.c handling of return from png_mmx_support()
1368 Version 1.2.5rc1 and 1.0.15rc1 [August 24, 2002]
1371 Version 1.2.5rc2 and 1.0.15rc2 [September 16, 2002]
1372 Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared
1377 Version 1.2.5rc3 and 1.0.15rc3 [September 18, 2002]
1380 Version 1.2.5 and 1.0.15 [October 3, 2002]
1381 Revised makefile.macosx, makefile.darwin, makefile.hpgcc, and makefile.hpux,
1382 and makefile.aix.
1391 Revised makefile.macosx, makefile.dec, makefile.aix, and makefile.32sunu.
1395 Added "AR=ar" and "ARFLAGS=rc" and changed "ar rc" to "$(AR) $(ARFLAGS)"
1399 Reverted makefile changes from version 1.2.6beta2 and some of the changes
1411 Replaced 65536 with 65536L, and 0xffff with 0xffffL, to silence warnings
1416 Added compression_type to png_struct, and optimized the window size
1418 Fixed definition of isnonalpha(), in pngerror.c and pngrutil.c (Cosmin).
1420 Allowed png_error() and png_warning() to work even if png_ptr == NULL
1425 Used PNG_LIBPNG_VER and PNG_LIBPNG_VER_STRING instead of the hardcoded
1438 Removed scripts/makefile.bd32 and scripts/pngdef.pas (Cosmin).
1441 Renamed projects/msvc/ to projects/visualc6/, and projects/borland/ to
1444 and projects/visualc6/png.rc to scripts/pngw32.rc (Cosmin).
1446 Changed line endings to DOS style in cbuilder5 and visualc6 files, even
1450 Added a separate distribution with "configure" and supporting files (Junichi).
1454 Added png_sizeof() and png_convert_size() functions.
1458 Changed sPLT failure action from png_error to png_warning and abandon chunk.
1459 Changed sCAL and iCCP failures from png_error to png_warning and abandon.
1463 Made png_zalloc() issue a png_warning and return NULL on potential
1475 Version 1.0.16rc1 and 1.2.6rc1 [August 4, 2004]
1483 Updated makefile.darwin and removed makefile.macosx from scripts directory.
1485 dimensions, and added png_set_user_limits() function to override them.
1491 Version 1.0.16rc2 and 1.2.6rc2 [August 7, 2004]
1492 Revised makefile.darwin and makefile.solaris. Removed makefile.macosx.
1506 Version 1.0.16rc3 and 1.2.6rc3 [August 9, 2004]
1507 Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
1512 Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c
1514 Version 1.0.16rc4 and 1.2.6rc4 [August 10, 2004]
1518 Version 1.0.16rc5 and 1.2.6rc5 [August 10, 2004]
1522 Version 1.2.6 and 1.0.16 [August 15, 2004]
1528 PNG Spec (second edition) and the PNG ISO/IEC Standard.
1534 Fixed bug with sCAL chunk and big-endian machines (David Munro).
1539 Version 1.0.17rc1 and 1.2.7rc1 [September 4, 2004]
1542 Version 1.2.7 and 1.0.17 [September 12, 2004]
1551 Use #ifdef to comment out png_info_init in png.c and png_read_init in
1559 Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM
1566 Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
1567 PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
1574 PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
1586 Change tests in pngread.c and pngpread.c to
1606 Revised man page and libpng.txt to make it clear that one should not call
1616 Interchanged order of write_swap_alpha and write_invert_alpha transforms.
1627 Check for png_rgb_to_gray and png_gray_to_rgb read transformations before
1633 Made png_get_int_32 and png_save_int_32 always available (Cosmin).
1634 Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def
1650 Reverted to filenames LICENSE and ANNOUNCE; removed AUTHORS and COPYING.
1651 Removed newline from the end of some error and warning messages.
1652 Removed test for sqrt() from configure.ac and configure.
1657 Removed libpng version and date from *.c files.
1661 Put version and date of latest change in each source file, and changed
1663 More cleanup of configure.ac, Makefile.am, and associated scripts.
1670 Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am
1671 Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s()
1674 Made cosmetic changes to some makefiles, adding LN_SF and other macros.
1682 Revised calculation of "current" and "major" for irix in ltmain.sh
1684 Separated PNG_EXPAND and PNG_EXPAND_tRNS.
1685 Added png_set_expand_gray_1_2_4_to_8() and deprecated
1700 Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros.
1707 Revised makefile.beos and added "none" selector in ltmain.sh
1710 Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
1711 -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
1715 Manually updated Makefile.in and configure. Changed png_conf.h.in
1736 Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
1737 Fixed "LN_FS" typo in makefile.sco and makefile.solaris.
1740 Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
1741 in configure.ac and configure
1747 Revised makefiles and configure to avoid making links to libpng.so.*
1753 scripts/libpng.pc.in contained "configure" style version info and would
1764 Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
1766 Avoided potential buffer overflow and optimized buffer in
1768 Removed the include directories and libraries from CFLAGS and LDFLAGS
1780 Revised INSTALL and autogen.sh
1782 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
1806 Detect and fix attempt to write wrong iCCP profile length.
1825 Added missing "$(srcdir)" in Makefile.am and Makefile.in
1829 Revised configure.ac to update libpng.pc and libpng-config.
1846 Revised scripts/CMakeLists.txt and configure.ac
1877 Revised scripts/CMakeLists.txt to install both shared and static libraries.
1887 Mention examples of libpng usage in the libpng*.txt and libpng.3 documents.
1899 pngrutil.c and pngpread.c to use this structure.
1926 Add some "png_byte" typecasts in png_check_keyword() and write new_key
1930 Add png_snprintf() function and use it in place of sprint() for improved
1943 Squelched png_squelch_warnings() in pnggccrd.c and added
1953 Updated makefile.sgcc and makefile.solaris; added makefile.solaris-x86.
1961 Eliminated PNG_1_0_X and PNG_1_2_X macros.
1963 png_permit_empty_plte, png_set_gray_1_2_4_to_8, png_check_sig, and
1965 Moved "PNG_INTERNAL" parts of png.h and pngconf.h into pngintrn.h
1971 Revised makefiles and configure to avoid making links to libpng.so.*
1973 Updated scripts/pngos2.def, pngw32.def, and projects/wince/png32ce.def
1977 Added PNG_NO_GET_INT_32 and PNG_NO_SAVE_INT_32 macros.
1978 Scripts/libpng.pc.in contained "configure" style version info and would
1980 Revised pngconf.h and added pngconf.h.in, so makefiles and configure can
1981 pass defines to libpng and applications.
1984 Revised configure.ac, Makefile.am, and many of the makefiles to write
1988 Added a missing semicolon in Makefile.am and Makefile.in
2000 Set pHYs = 2835 x 2835 pixels per meter, and added
2003 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
2008 public sTER chunk and a private vpAg chunk.
2011 Removed ordinals from scripts/pngw32.def and removed png_info_int and
2014 Use png_get_uint_31() to get vpAg width and height in pngtest.c
2015 Removed WINCE and Netware projects.
2019 Eliminated automatic copy of pngconf.h to pngconf.h.in from configure and
2021 pngconf.h.in along with pngconf.h and cause configure and some of the
2032 Implemented support for I/O states. Added png_ptr member io_state, and
2033 functions png_get_io_chunk_name() and png_get_io_state() in pngget.c
2035 Added png_get_io_chunk_name and png_get_io_state to scripts/*.def (Cosmin).
2037 Removed the include directories and libraries from CFLAGS and LDFLAGS
2039 Used png_save_uint_32() to set vpAg width and height in pngtest.c (Cosmin).
2044 Removed PNG_TYPECAST_NULL and used standard NULL consistently (Cosmin).
2045 Disallowed the user to redefine png_size_t, and enforced a consistent use
2047 Changed the type of png_ptr->rowbytes, PNG_ROWBYTES() and friends
2049 Removed png_convert_size() and replaced png_sizeof with sizeof (Cosmin).
2051 Changed prototype of png_get_compression_buffer_size() and
2054 Removed png_memcpy_check() and png_memset_check() (Cosmin).
2055 Fixed a typo (png_byte --> png_bytep) in libpng.3 and libpng.txt (Cosmin).
2057 and png_zalloc() and png_zfree() cannot be PNGAPI (Cosmin).
2059 pngconf.h, and used it in all memory allocation functions (Cosmin).
2061 mentioning that the symbols declared in that file are private, and
2062 updated the scripts and the Visual C++ projects accordingly (Cosmin).
2063 Removed circular references between pngconf.h and pngconf.h.in in
2065 Removing trailing '.' from the warning and error messages (Cosmin).
2068 Detect and fix attempt to write wrong iCCP profile length.
2100 Rebuilt configure and Makefile.in with newer tools.
2109 Deleted all use of the MMX assembler code and Intel-licensed optimizations.
2118 Change "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
2126 png_decompress_chunk(), and remove "chunkdata" from parameter list.
2136 Eliminated PNG_BIG_ENDIAN_SUPPORTED and associated png_get_* macros.
2138 Eliminated all PNG_USELESS_TESTS and PNG_CORRECT_PALETTE_SUPPORTED code.
2139 Synced contrib directory and configure files with libpng-1.2.30beta06.
2147 Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
2149 Added PNG_LITERAL_CHARACTER macros for #, [, and ].
2155 Allow user to #define their own png_debug, png_debug1, and png_debug2.
2180 text, and unknown chunks that can be stored.
2198 Added png_check_cHRM in png.c and moved checking from pngget.c, pngrutil.c,
2199 and pngwrite.c
2202 Added check for zero-area RGB cHRM triangle in png_check_cHRM() and
2211 In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
2225 to ensure that new_key gets initialized and removed extra warning
2233 Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
2234 PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
2239 been well tested and doesn't work very well. The code has not
2240 been removed, however, and can be enabled by building libpng with
2256 Revised comments in png_set_read_fn() and png_set_write_fn().
2264 Revised libpng*.txt and png.h documentation about use of png_write_flush()
2265 and png_set_write_fn().
2277 Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt
2287 Eliminated internal use of setjmp() in pngread.c and pngwrite.c
2289 pngtest now produces, and made some cosmetic changes to pngtest output.
2290 Eliminated deprecated png_read_init_3() and png_write_init_3() functions.
2293 Simplified error handling in pngread.c and pngwrite.c by putting
2294 the new png_read_cleanup() and png_write_cleanup() functions inline.
2306 Removed pngprefs.h and MMX from makefiles
2316 Added sections about the git repository and our coding style to the
2324 decoder, based on contrib/gregbook with embedded libpng and zlib.
2328 is only one makefile in those directories, and revised the README files
2334 and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
2340 Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
2341 multiple times and to specify the sample order in the tRNS chunk,
2346 Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
2347 "#if defined()" and "if !defined()" where possible.
2361 Relocated INVERT_ALPHA within png_read_png() and png_write_png().
2370 common "PNG_ALL_FILTERS" and PNG_FILTER_NONE cases.
2392 Changed png_ptr and info_ptr member "trans" to "trans_alpha".
2403 and the "noconfig" files from the distribution.
2405 Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
2409 Eliminated PNG_NO_FREE_ME and PNG_FREE_ME_SUPPORTED macros.
2414 Eliminated PNG_GLOBAL_ARRAYS and PNG_LOCAL_ARRAYS; always use local arrays.
2415 Eliminated PNG_CALLOC_SUPPORTED macro and always provide png_calloc().
2433 and report all errors found in the IHDR data.
2458 Revised libpng*.txt section about differences between 1.2.x and 1.4.0
2462 More bugfixes and improvements to CMakeLists.txt (Philip Lowman)
2472 Updated scripts/pngw32.def and projects/wince/png32ce.def
2485 Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
2487 png_struct or info_struct members and other deprecated usage in
2493 Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".
2495 references to pnggccrd.c or pngvcrd.c and ASM building.
2496 Added README.txt to the beos, cbuilder5, netware, and xcode projects warning
2497 that they need to be updated, to remove references to pnggccrd.c and
2498 pngvcrd.c and to depend on pngpriv.h
2501 Moved the png_debug macro definitions and the png_read_destroy(),
2502 png_write_destroy() and png_far_to_near() prototypes from png.h
2505 png_debug(), png_debug1(), and png_debug2() from libpng.3 to libpngpf.3.
2508 Removed the obsolete, unused pnggccrd.c and pngvcrd.c files.
2518 Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2533 Removed projects/beos and netware.txt; no one seems to be supporting them.
2541 Moved libpng-config.in and libpng.pc-configure.in out of the scripts
2542 directory, to libpng-config.in and libpng-pc.in, respectively, and
2543 modified Makefile.am and configure.ac accordingly. Now "configure"
2548 Removed ASM builds from projects/visualc6 and projects/visualc71
2549 Removed scripts/makefile.nommx and makefile.vcawin32
2551 and libpng-pc.in
2552 Updated INSTALL to reflect removal and relocation of files.
2556 accidentally deleted from the zip and 7z distributions when the xcode
2560 Added libpng-config.in and libpng-pc.in to the zip and 7z distributions.
2562 Moved descriptions of makefiles and other scripts out of INSTALL into
2571 changes above and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41 CHANGES. Someone
2575 jmp_buf buffer, and marked direct access to jmpbuf 'deprecated'.
2579 Removed png_longjmp_ptr from scripts/*.def and libpng.3
2595 Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
2596 Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
2597 to put png.h and pngconf.h in $prefix/include, like the other scripts,
2615 Declared png_cleanup_needed "volatile" in pngread.c and pngwrite.c
2618 Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
2622 Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
2626 Changed "libpng-pc.in" to "libpng.pc.in" in configure.ac, configure, and
2634 Revised libpng*.txt and libpng.3 about 1.2.x->1.4.x differences.
2639 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
2646 Updated CMakeLists.txt for consistent indentation and to avoid an
2648 Revised Makefile.am and Makefile.in to remove references to Y2KINFO,
2649 KNOWNBUG, and libpng.la (Robert Schwebel).
2650 Revised the makefiles to install the same files and symbolic
2651 links as configure, except for libpng.la and libpng14.la.
2654 Revised Makefile.am and Makefile.in to simplify their maintenance.
2667 Revised png_decompress_chunk() to improve speed and memory usage when
2681 and a PNG_USER_LIMITS_SUPPORTED flag.
2682 Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
2687 Minor cleanup and updating of dates and copyright year.
2690 Moved declaration of png_struct into private pngstruct.h and png_info
2693 Version 1.4.1beta09 and 1.5.0beta02 [February 7, 2010]
2696 Version 1.4.1beta10 and 1.5.0beta03 [February 8, 2010]
2705 Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h, and undid the
2707 Revised comments in pngstruct.h and pnginfo.h and added pointers to
2712 Version 1.4.1beta12 and 1.5.0beta06 [February 14, 2010]
2720 wherever png_snprintf() is used to construct error and warning messages.
2725 Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
2729 Removed -D_ALLSOURCE from configure.ac, makefile.aix, and CMakeLists.txt.
2733 Removed unused gzio.c from contrib/pngminim gather and makefile scripts
2739 Fixed inconsistent indentations and made numerous cosmetic changes.
2740 Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
2743 Moved "#include png.h" inside pngpriv.h and removed "#include png.h" from
2745 and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
2746 Created new pngdebug.h and moved debug definitions there.
2749 Protect pngstruct.h, pnginfo.h, and pngdebug.h from being included twice.
2753 Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3
2758 expressions (i.e. a trailing ';' must always be added) and correct
2763 Revised Makefile.am to account for recent additions and replacements.
2764 Corrected CE and OS/2 DEF files (scripts/png*def) for symbols removed and
2765 added ordinal numbers to the Windows DEF file and corrected the duplicated
2771 into PNGCAPI (base C form), PNGAPI (exports) and PNGCBAPI (callbacks),
2772 and appropriate changes made to all files. Cygwin builds re-hinged to
2773 allow procedure call standard changes and to remove the need for the DEF
2775 Enabled 'attribute' warnings that are relevant to library APIs and callbacks.
2776 Changed rules for generation of the various symbol files and added a new
2780 to join tokens in the output and rewrite *.dfn to use this.
2782 and removed scripts/makefile.cygwin.
2785 platforms on which it happened (all but Mac OS and RISC OS).
2793 Eliminated PNG_NO_EXTERN and PNG_ALL_EXTERN
2800 and iTXt_SUPPORTED can be used to detect presence of either
2820 dependent (and those that are system dependent) are evaluated
2830 Moved replacements for png_error() and png_warning() from the
2839 to read and write ints to be disabled independently of PNG_USE_READ_MACROS,
2847 __cdecl throughout (both API functions and callbacks) on Windows/x86
2849 Replaced visualc6 and visualc71 projects with new vstudio project
2856 Removed some unwanted binary bytes and changed CRLF to NEWLINE in the new
2857 vstudio project files, and some trivial editing of some files in the
2859 Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
2876 png.h is removed if both READ and WRITE USER_TRANSFORM are turned off
2903 and handle end conditions more cleanly.
2908 Added comment to options.awk and contrib/pngminim/*/makefile to try nawk.
2918 Removed leftover scripts/options.patch and scripts/options.rej
2921 Made FIXED and FLOATING options consistent in the APIs they enable and
2923 options and options specified in the .dfa files.
2936 does not by default support interworking of C and C++ error handling.)
2960 PNG_INTERLACE transform and to get the number of rows in the current
2971 required for pngstruct.h and can therefore be internal.
2976 Added a typecast in png_get_int_32() in png.h and pngrutil.h to avoid
2994 pngvalid and checks with gcc -Wall -Wextra -Wunused.
2996 declarations, PNG_FUNCTION has been added to enable this and the
3011 Made all API functions that have const arguments and constant string
3021 signed/unsigned and shortening problems on assignment but also a few
3040 Turn on progressive reader in pngvalid.c by default and tidy code.
3050 Supply default values for PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX
3055 Added PNG_READ_16BIT, PNG_WRITE_16BIT, and PNG_16BIT options.
3064 Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE, $AUTOHEADER,
3065 $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
3081 Changed embedded dates to "(PENDING RELEASE) in beta releases (and future
3088 Updated INSTALL to mention using "make maintainer-clean" and to remove
3095 Revised and renamed the typedef in png.h and png.c that was designed
3096 to catch library and header mismatch.
3110 With these changes only -Wconversion and -Wcast-qual cannot be turned on.
3113 smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
3114 with pngwio.c and pngwutil.c because the 'write' callback and zlib
3119 Added some commentary about PNG_EXPORT in png.h and pngconf.h
3120 Revised PNG_EXPORT() macro and added PNG_EXPORTA() macro, with the
3121 objective of simplifying and improving the cosmetic appearance of png.h.
3126 Documented the pngvalid gamma error summary with additional comments and
3129 the old and new files can now be optionally ignored, treated as errors
3131 Removed references to pngvcrd.c and pnggccrd.c from the vstudio project.
3140 Fixed interlace image handling and add test cases (John Bowler)
3151 Eliminated scripts/*.def and revised Makefile.am accordingly
3190 if they need access to anything in zlib.h, and that a number of
3195 warnings, and (mistakenly) changed png_exp() to exp().
3198 Changed variable names png_index, png_div, png_exp, and png_gamma to
3199 char_index, divisor, exp_b10, and gamma_val, respectively, and
3211 Added const_png_structp and const_png_infop types, and used them in
3215 Added png_get_io_chunk_type() and deprecated png_get_io_chunk_name()
3216 Added synopses for the IO_STATE functions and other missing synopses
3218 were out of date and no longer useful. Better information can be
3219 obtained by reading the prototypes and comments in pngpriv.h
3222 a .dfn file and adds configure stuff to test for such a CPP. ./configure
3225 Added png_get_current_row_number and png_get_current_pass_number for the
3227 Added png_process_data_pause and png_process_data_skip for the benefit of
3236 standing error and resulted, apparently, in invalid output
3249 Made the manual, synopses, and function prototypes use the function
3250 argument names file_gamma, int_file_gamma, and srgb_intent consistently.
3257 Added transform tests to pngvalid and simplified the arguments.
3265 Changed PNG_UNUSED to "(void)param;" and updated the commentary in pngpriv.h
3280 Cleaned up ALPHA flags and transformations.
3284 Fixed mistake in the descriptions of user read_transform and write_transform
3303 and in contrib/pngminim/*/makefile, eg., on SunOS 5.10, and removed "strip"
3329 snprintf, and the "__STRICT_ANSI__" detects that condition more reliably
3345 Cleaned up conditional compilation code and of background/gamma handling
3350 calls to spurious functions if all transforms are disabled and slightly
3352 A minor change is to stop the strip_16 and expand_16 interfaces from
3355 png_do_background and png_do_gamma have been simplified to take a single
3360 been fixed - this failed to initialize the red channel and accidentally
3367 correct API. _POSIX_SOURCE is defined in pngpriv.h, pngtest.c and
3369 Removed png_snprintf and added formatted warning messages. This change adds
3372 dependency of the tIME-supporting RFC1132 code on stdio is removed and
3382 functions were added to claim/release the z_stream and, hopefully, make
3392 Added named value and 'flag' gamma support to png_set_gamma. Made a minor
3395 Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and PNG_AFTER_IDAT
3411 Added memory overwrite and palette image checks to pngvalid.c
3414 Minor cleanup and some extra checking in pngrutil.c and pngrtran.c. When
3428 png_set_background() and png_expand_16() did not work together correctly.
3430 need_expand false and the matching 16 bit color libpng erroneously just
3435 Corrects the code for palette image tests and disables attempts to
3464 and changed other things OpenWatcom warns about.
3468 Removed string/memory macros that are no longer used and are not
3469 necessarily fully supportable, particularly png_strncpy and png_snprintf.
3470 Added log option to pngvalid.c and attempted to improve gamma messages.
3475 and there will be no libpng-1.5.3 release.
3479 to get the same (inaccurate) output as libpng-1.5.2 and earlier.
3480 Moved definitions of PNG_HAVE_IHDR, PNG_AFTER_IDAT, and PNG_HAVE_PLTE
3485 Fixed and clarified LEGACY 16-to-8 scaling code.
3488 Removed the ACCURATE and LEGACY options (they are no longer useable)
3496 Also removed a spurious and confusing "trans" member ("trans") from png_info.
3508 not enabled, png_set_strip_16() and png_do_scale_16_to_8() aren't built.
3509 Revised contrib/visupng, gregbook, and pngminim to demonstrate chop_16_to_8
3512 Renamed png_set_strip_16() to png_set_scale_16() and renamed
3514 behavior changes between libpng14 and libpng15.
3517 Fixed new bug that was causing both strip_16 and scale_16 to be applied.
3524 maintains some state so that positive, negative and zero values are