Home | History | Annotate | Download | only in libpng

Lines Matching refs:to

10   split up pngwrite.c to several files
22 created png_color_16 and png_color_8 to handle color needs
45 changed name from pnglib to libpng
55 added #define's to remove unwanted code
56 moved png_info_init() to png.c
58 added functions to manually set filtering and compression info
62 changed external functions passing floats to doubles (k&r problems?)
64 enabled png_set_shift to work with paletted images on read
96 added new initialization API to make libpng work better with shared libs
99 png_destroy_write_struct() instead of the separate calls to
101 changed warning/error callback functions to fix bug - this means you
104 so that people are aware that they need to change their code
105 changed filter selection API to allow selection of multiple filters
108 fixed png_set_background() to allow using an arbitrary RGB color for
112 external palette (you will need to #define PNG_CORRECT_PALETTE_SUPPORTED
116 added more error checking for writing and image to reduce invalid files
120 updated documentation to reflect new API
126 added external C++ wrapper statements to png.h (Gilles Dauphin)
127 allow PNG file to be read when some or all of file signature has already
132 fixed order of error function pointers to match documentation
133 current chunk name is now available in png_struct to reduce the number
136 try to get ready for unknown-chunk callback functions:
140 be able to handle all chunks via a callback mechanism
141 try to fix Linux "setjmp" buffer size problems
148 to png_uint_32
149 added test for MACOS to ensure that both math.h and fp.h are not #included
150 added macros for libpng to be compiled as a Windows DLL (Andreas Kupries)
158 changed several variables to "png_size_t" to show 16/32-bit limitations
163 added macros to read 16- and 32-bit ints directly from buffer, to be
166 only calculate CRC on data if we are going to use it
173 renamed pngrcb.c to pngset.c, and all png_read_<chunk> functions to be
175 functions in pngget.c to get information in info_ptr. This isolates
187 added typecasts to quiet compiler errors
192 relocated png_set_crc_action from pngrutil.c to pngrtran.c
202 of having to edit pngconf.h (Glenn R-P)
204 added more conditions for png_do_background, to avoid changing
205 black pixels to background when a background is supplied and
209 added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
211 version number to 2 to avoid problems with libpng 0.89 apps (Greg Roelofs)
216 cosmetic change "display_gamma" to "screen_gamma" in pngrtran.c
217 changed recommendation about file_gamma for PC images to .51 from .45,
218 in example.c and libpng.txt, added comments to distinguish between
220 changed all references to RFC1152 to read RFC1123 and changed the
221 PNG_TIME_RFC1152_SUPPORTED macro to PNG_TIME_RFC1123_SUPPORTED
223 changed srgb_intent from png_byte to int to avoid compiler bugs
231 changed recommendation about file_gamma for PC images to .50 from .51 in
232 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
233 added a number of functions to access information from the png structure
235 added TARGET_MACOS similar to zlib-1.0.8
237 added type casting to all png_malloc() function calls
239 Added type casts and parentheses to all returns that return a value.(Tim W.)
242 Changed type of num_hist from png_uint_32 to int (same as num_palette).
244 Renamed makefile.elf to makefile.lnx.
247 Added png_buffered_memcpy() and png_buffered_memset(), apply them to rowbytes.
254 Added many "if (png_ptr == NULL) return" to quell compiler warnings about
262 Touched up example.c to make more of it compileable, although the entire
267 Changed pngtest to report PASS even when file size is different (Jean-loup G.)
273 Added pointers to "note on libpng versions" in makefile.lnx and README
278 Minor changes to pngtest.c to suppress compiler warnings.
281 Minor changes to previous minor changes to pngtest.c
282 Changed PNG_READ_NOT_FULLY_SUPPORTED to PNG_READ_TRANSFORMS_NOT_SUPPORTED
290 added PNGARG() to prototypes in pngtest.c and removed some prototypes
297 Changed name from 1.00 to 1.0.0 (Adam Costello)
300 Fixed three bugs in pngrtran.c to make gamma+background handling consistent
302 Changed format of the PNG_LIBPNG_VER integer to xyyzz instead of xyz
308 Minor changes to makefile.s2x
312 Changed makefile.s2x to reduce security risk of using a relative pathname
319 Reduced the default warning level in some makefiles, to make them consistent.
320 Removed references to IJG and JPEG in the ansi2knr.c copyright statement.
322 Added grayscale and 16-bit capability to png_do_read_filler().
328 Fixed a png_convert_to_rfc1123() bug that converts day 31 to 0 (Steve Eddins).
332 to png.h (Greg).
338 Added warnings when people try to use transforms they've defined out.
349 Added individual "ifndef PNG_NO_[CAPABILITY]" in pngconf.h to make it easier
350 to remove unwanted capabilities via the compile line
351 Made some corrections to grammar (which, it's) in documentation (Greg).
356 Revised png_read_rows() to avoid repeated if-testing for NULL (A Kleinert)
357 More corrections to example.c, use of row_pointers in png_write_image()
359 Added pngdll.mak and pngdef.pas to scripts directory, contributed by
360 Bob Dellaca, to make a png32bd.dll with Borland C++ 4.5
362 Changed several loops from count-down to count-up, for consistency.
365 added warnings when people try to set png_read_fn and png_write_fn in
370 to be skipped.
371 Added tests in png.h to include "trans" and "trans_values" in structures
374 Moved png_convert_to_rfc_1123() from pngwrite.c to png.c
376 and revised pngtest.c to demonstrate their use, replacing the
384 Fixed a bug in png_do_filler() that made it fail to write filler bytes in
386 Changed "static pngcharp tIME_string" to "static char tIME_string[30]"
388 Fixed a bug in pngtest.c that caused pngtest to try to write a tIME chunk
393 Interchanged the order of calls to png_do_swap() and png_do_shift()
396 Changed "bad adaptive filter type" from error to warning in pngrutil.c .
404 Changed "ln -sf" to "ln -s -f" in makefile.s2x, makefile.lnx, and makefile.sco.
406 Revised makefile.dec to make a shared library (Jeremie Petit).
410 Added "if" tests to silence complaints about unused png_ptr in png.h and png.c
411 Changed "check_if_png" function in example.c to return true (nonzero) if PNG.
412 Changed libpng.txt to demonstrate png_sig_cmp() instead of png_check_sig()
420 if an attempt is made to read an interlaced image when it's not supported.
422 Modified the Y2K statement to include versions back to version 0.71
426 Changed "dworkin.wustl.edu" to "ccrc.wustl.edu" in various documents.
427 Changed (float)red and (float)green to (double)red, (double)green
428 in png_set_rgb_to_gray() to avoid "promotion" problems in AIX.
431 Updated documentation to refer to the PNG-1.2 specification.
432 Removed ansi2knr.c and left pointers to the latest source for ansi2knr.c
435 channels to 16-bit images, in pngrtran.c (Chris Nokleberg)
436 Added function png_set_user_transform_info() to store user_transform_ptr,
438 png_get_user_transform_ptr() to retrieve the pointer (Chris Nokleberg)
439 Added function png_set_empty_plte_permitted() to make libpng useable
442 Correct gamma with srgb is 45455 instead of 45000 in pngrutil.c, to be
445 makefile.w32 to use it (Nirav Chhatrapati, INTEL Corporation, Gilles Vollant)
446 Changed "ln -s -f" to "ln -f -s" in the makefiles to make Solaris happy.
453 Changed leading blanks to tabs in all makefiles.
454 Define PNG_USE_PNGVCRD in makefile.w32, to get MMX assembler code.
459 Revised calculation of num_blocks in pngmem.c to avoid a potentially
461 Added a check in pngset.c to prevent writing multiple tIME chunks.
462 Added a check in pngwrite.c to detect invalid small window_bits sizes.
465 Added new png_expand functions to scripts/pngdef.pas and pngos2.def
471 Made several minor corrections to pngtest.c
473 Copied the PNG copyright and license to a separate LICENSE file.
474 Revised documentation, png.h, and example.c to remove reference to
476 Revised pngvcrd.c to use MMX code for interlacing only on the final pass.
477 Updated pngvcrd.c to use the faster C filter algorithms from libpng-1.0.1a
480 Added a CPU timing report to pngtest.c (enabled by defining PNGTEST_TIMING)
481 Added a copy of pngnow.png to the distribution.
484 Changed several division operations to right-shifts in pngvcrd.c
491 Changed type of png_user_transform_depth|channels from int to png_byte.
493 Changed 0.45 to 0.45455 in png_set_sRGB()
500 Surrounded example.c code with #if 0 .. #endif to prevent people from
501 inadvertently trying to compile it.
502 Changed png_get_header_version() from a function to a macro in png.h
516 Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak.
519 PNG_FLAG_WROTE_tIME from flags to mode.
522 Updated scripts/makevms.com and added makevms.com to contrib/gregbook
525 Moved png_get_header_version from png.h to png.c, to accommodate ansi2knr.
526 Removed all global arrays (according to PNG_NO_GLOBAL_ARRAYS macro), to
527 accommodate making DLL's: Moved usr_png_ver from global variable to function
528 png_get_header_ver() in png.c. Moved png_sig to png_sig_bytes in png.c and
531 png_CHNK and png_pass arrays to be "const". Made the global arrays
532 available to applications (although none are used in libpng itself) when
535 Changed the PNG_sRGB_INTENT macros in png.h to be consistent with PNG-1.2.
536 Change PNG_SRGB_INTENT to PNG_sRGB_INTENT in libpng.txt and libpng.3
539 Eliminated pngtypes.h; use macros instead to declare PNG_CHNK arrays.
540 Renamed "PNG_GLOBAL_ARRAYS" to "PNG_USE_GLOBAL_ARRAYS" and made available
541 to applications a macro "PNG_USE_LOCAL_ARRAYS".
544 Added PNG_EXPORT_VAR macro to accommodate making DLL's.
546 Added iCCP, iTXt, and sPLT support; added "lang" member to the png_text
547 structure; refactored the inflate/deflate support to make adding new chunks
552 before calling png_set_text(). It must be set to NULL if you want to
553 write tEXt or zTXt chunks. If you want your application to be able to
560 Changed png_get_oFFs() and png_set_oFFs() to use signed rather than unsigned
567 Changed makefile.solaris to issue a warning about potential problems when
573 Added code to handle new chunks in pngpread.c
575 Added "translated_key" to png_text structure and png_write_iTXt().
576 Added code in pngwrite.c to work around a newly discovered zlib bug.
582 Option to eliminate all floating point support was added. Some new
586 Added some type casts to silence compiler warnings.
587 Renamed "png_free_spalette" to "png_free_spalettes" for consistency.
589 Added some parameters to the new png_set_keep_unknown_chunks() function.
592 Changed "num" to "i" in png_free_spalettes() and png_free_unknowns() to
595 Various patches to fix bugs in the sCAL and integer cHRM processing,
596 and to add some convenience macros for use with sCAL.
598 Changed "unit" parameter of png_write_sCAL from png_byte to int, to work
602 to the same order as v.1.0.5d.
603 Added members "lang_key" and "itxt_length" to png_text struct. Set
605 member to distinguish among tEXt/zTXt/iTXt types. Added
609 Fixed png_read|write_iTXt() to read|write parameters in the right order,
610 and to write the iTXt chunk after IDAT if it appears in the end_ptr.
612 Reversed the order of trying to write floating-point and fixed-point gAMA.
623 Changed type of proflen from png_int_32 to png_uint_32 in png_get_iCCP().
626 for setting a callback function to handle unknown chunks and for
631 Added png_free_PLTE() function, and modified png_set_PLTE() to malloc its
633 application to free its copy of the palette any time after it calls
638 Renamed pngdll.mak to makefile.bd32
651 Added "png_jmp_env()" macro to pngconf.h, to help people migrate to the
653 example.c, pngtest.c, and contrib programs to use this macro.
655 Fixed a bug in png_read_png() that caused it to fail to expand some images
659 Changed the allocation of palette, history, and trans arrays back to
662 that in example.c. Added "free_me" member to info_ptr and png_ptr
664 Updated makefile.linux and makefile.gccmmx to make directories conditionally.
665 Made cosmetic changes to pngasmrd.h
667 Modified png_read_png() to allocate info_ptr->row_pointers only if it
670 Changed png_jmp_env() migration aiding macro to png_jmpbuf().
674 Files in contrib/gregbook were revised to use png_jmpbuf() and to select
675 a 24-bit visual if one is available, and to allow abbreviated options.
676 Files in contrib/pngminus were revised to use the png_jmpbuf() macro.
680 Renamed png_spalette (_p, _pp) to png_sPLT_t (_tp, _tpp)
681 Increased precision of rgb_to_gray calculations from 8 to 15 bits and
685 Added some parentheses to the png_jmpbuf macro definition.
686 Updated references to the zlib home page, which has moved to freesoftware.com.
689 Renamed makefile.borland,turboc3 back to makefile.bor,tc3 as in version 1.0.3,
696 Changed sprintf() to strcpy() in png_write_sCAL_s() to work without STDIO
697 Added data_length parameter to png_decompress_chunk() function
698 Revised documentation to remove reference to abandoned png_free_chnk functions
701 Renamed makefile.ibmvac3 to makefile.ibmc, added libpng.icc IBM project file
703 Simplify png_sig_bytes() function to remove use of non-ISO-C strdup().
713 Changed several instances of PNG_NO_CONSOLE_ID to PNG_NO_STDIO in pngrutil.c
716 Revised png_set_iCCP() and png_set_rows() to avoid prematurely freeing data.
720 Removed "else" from pngread.c, after png_error(), and changed "0" to "length".
721 Changed several png_errors about malformed ancillary chunks to png_warnings.
723 Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
727 png_ptr members to restore binary compatibility with libpng-1.0.5
730 Changed shared library so-number pattern from 2.x.y.z to xy.z (this builds
734 Rearranged some members at the end of png_info and png_struct, to put
744 1.00) members of png_struct and png_info, to regain binary compatibility
750 directly as authors were instructed to do in libpng-0.88 and earlier,
753 can be used to detect codes that directly allocate the structs, and
754 code to check these modes in png_read_init() and png_write_init() and
760 calls to png_read_init_2() or png_write_init_2() that check the version
768 Made PNG_NO_READ|WRITE_iTXt the default setting, to avoid memory
770 Added PNGAPI macro, and added it to the definitions of all exported functions.
774 Revised pngset.c to avoid a problem with expanding the png_debug macro.
782 Changed pnggccrd.c and pngvcrd.c to handle bad adaptive filter types as
794 Revised the deliberately erroneous Linux setjmp code in pngconf.h to produce
796 Rearranged checks for Z_OK to check the most likely path first in pngpread.c
799 in libpng.txt/libpng.3 the need for applications to check this.
800 Changed names of png_default_*() functions in pngtest to pngtest_*().
801 Changed return type of png_get_x|y_offset_*() from png_uint_32 to png_int_32.
803 Set each pointer to NULL after freeing it in png_free_data().
810 Added PNG_NO_POINTER_INDEXING macro to use array-indexing instead of pointer
811 indexing in pngrutil.c and pngwutil.c to accommodate a buggy compiler.
813 when it tries to read an erroneous PhotoShop iCCP chunk.
821 Revised PNGAPI definition, and pngvcrd.c to work with __GCC__
823 Revised visupng/PngFile.c to remove returns from within the Try block.
825 Updated contrib/visupng/cexcept.h to version 1.0.0.
828 Updated license to include disclaimers required by UCITA.
834 Added png_free(png_ptr, key) two places in pngpread.c to stop memory leaks.
835 Changed PNG_NO_STDIO to PNG_NO_CONSOLE_IO, several places in pngrutil.c and
837 Changed PNG_EXPORT_VAR to use PNG_IMPEXP, in pngconf.h.
840 Revised pnggccrd.c to work with gcc-2.95.2 and in the Cygwin environment.
842 Added project files to the wince directory and made further revisions
846 for indexed-color input files to avoid potential double-freeing trans array
848 Further revisions to pngtest.c and files in the wince subdirectory.
850 Added the files pngbar.png and pngbar.jpg to the distribution.
854 Revised png_debug() macros and statements to eliminate compiler warnings.
858 Updated makefile.hpux to build a shared library.
863 Changed "cdrom.com" in documentation to "libpng.org"
864 Revised pnggccrd.c to get it all working, and updated makefile.gcmmx (Greg).
865 Changed type of "params" from voidp to png_voidp in png_read|write_png().
870 Revised makefile.dec to define and use LIBPATH and INCPATH
871 Increased size of global png_libpng_ver[] array from 12 to 18 chars.
880 Added borland project files to "projects" subdirectory.
887 Added makefile.macosx and makefile.aix to scripts directory.
889 Change png_chunk_warning to png_warning in png_check_keyword().
890 Increased the first part of msg buffer from 16 to 18 in png_chunk_error().
894 Revised png_set_filter() to accept filter method 64 when appropriate.
895 Added new PNG_HAVE_PNG_SIGNATURE bit to png_ptr->mode and use it to
898 Revised libpng.3/libpng.txt. Changed "filter type" to "filter method".
904 Changed PNG_TEXT_COMPRESSION_zTXt to PNG_COMPRESSION_TYPE_BASE several places.
907 Revised the iCCP chunk reader to ignore trailing garbage.
912 Added png_set_invalid, png_permit_mng_features, and png_mmx_supported to
920 Updated makefile.sgi to make shared library.
929 Added "-nommx" parameter to contrib/gregbook/rpng2-win and rpng2-x demos.
932 Reformatted libpng.3 to eliminate bad line breaks.
935 Moved some error checking from png_handle_IHDR to png_set_IHDR.
942 Increased the first part of msg buffer from 16 to 18 in png_chunk_warning().
944 Changed all instances of memcpy, strcpy, and strlen to png_memcpy, png_strcpy,
946 Revised png_mmx_supported() function in pnggccrd.c to return proper value.
955 Changed several "//" single-line comments to C-style in pnggccrd.c
972 Added some never-to-be-executed code in pnggccrd.c to quiet compiler warnings.
978 Bumped DLLNUM to 2.
985 Added a check for attempts to read or write PLTE in grayscale PNG datastreams.
988 Modified png_create_struct so it passes user mem_ptr to user memory allocator.
989 Increased png_mng_features flag from png_byte to png_uint_32.
990 Bumped shared-library (so-number) and dll-number to 3.
994 Bumped shared-library number to 3 in makefile.sgi and makefile.sggcc
995 Bumped dll-number from 2 to 3 in makefile.cygwin
996 Revised contrib/gregbook/rpng*-x.c to avoid a memory leak and to exit cleanly
997 if user attempts to run it on an 8-bit display.
999 Use png_malloc instead of png_zalloc to allocate palette in pngset.c
1001 Added some typecasts to eliminate gcc 3.0 warnings. Changed prototypes
1002 of png_write_oFFS width and height from png_uint_32 to png_int_32.
1008 Revised pnggccrd.c to conditionally compile some thread-unsafe code only
1010 Added tests to prevent pngwutil.c from writing a bKGD or tRNS chunk with
1013 Replaced calls to fprintf(stderr,...) with png_warning() in pnggccrd.c
1017 Changed a png_warning() to png_debug() in pnggccrd.c
1018 Fixed contrib/gregbook/rpng-x.c, rpng2-x.c to avoid crash with XFreeGC().
1023 Revised example.c to provide more details about using row_callback().
1025 Added type cast to each NULL appearing in a function call, except for
1039 Changed typecast of "size" argument to png_size_t in pngmem.c calls to
1040 the user malloc_fn, to agree with the prototype in png.h
1041 Added a pop/push operation to pnggccrd.c, to preserve Eflag (Maxim Sobolev)
1042 Updated makefile.sgi to recognize LIBPATH and INCPATH.
1046 Always allocate 256-entry internal palette, hist, and trans arrays, to
1054 Revised makefile.linux, makefile.gcmmx, and makefile.sgi to generate
1056 Revised makefile.darwin to remove "-undefined suppress" option.
1059 Revised calls to png_create_read_struct() and png_create_write_struct()
1066 Added install-static to all makefiles that make shared libraries.
1070 in case image gets reduced to gray later.
1071 Modified shared-library makefiles to install pkgconfig/libpngNN.pc.
1075 Added install-shared target to all makefiles that make shared libraries.
1080 in case image gets reduced to gray later (Jason Summers).
1082 Added PNG_1_0_X macro which can be used to build a 1.0.x-compatible library.
1084 Added missing PNGAPI to several function definitions.
1087 Revised iTXt support to accept NULL for lang and lang_key.
1089 Changed "()" to "{}" in scripts/libpng.pc.in.
1090 Revised makefiles to put png.h and pngconf.h only in $prefix/include/libpngNN
1091 Revised makefiles to make symlink to libpng.so.NN in addition to libpngNN.so
1094 Prevent png_zalloc() from trying to memset memory that it failed to acquire.
1096 Ensure that the right function (user or default) is used to free the
1102 Updated makefiles to put headers in include/libpng and remove old include/*.h.
1110 Changed ${PNGMAJ}.${PNGVER} bug to ${PNGVER} in makefile.sgi and makefile.sggcc
1111 Fixed VER -> PNGVER typo in makefile.macosx and added install-static to install
1112 Added install: target to makefile.32sunu and makefile.64sunu
1115 Revised 15 makefiles to link libpng.a to libpngNN.a and the include libpng
1116 subdirectory to libpngNN subdirectory without the full pathname.
1117 Moved generation of libpng.pc from "install" to "all" in 15 makefiles.
1119 Added install-man target to 15 makefiles (Dimitri Papadopolous-Orfanos).
1120 Added $(DESTDIR) feature to 24 makefiles (Tim Mooney)
1123 Added a link from libpngNN.pc to libpng.pc in 15 makefiles.
1124 Added links from include/libpngNN/*.h to include/*.h in 24 makefiles.
1125 Revised makefile.darwin to make relative links without full pathname.
1127 to put one in their application.
1128 Restored png_zalloc() and png_zfree() prototypes to version 1.2.1 and
1136 Added "libpng.pc" dependency to the "install-shared" target in 15 makefiles.
1142 In makefiles, changed rm libpng.NN.pc to rm libpngNN.pc
1143 Added libpng-config and libpngNN-config and modified makefiles to install them.
1144 Changed $(MANPATH) to $(DESTDIR)$(MANPATH) in makefiles
1145 Added "Win32 DLL VB" configuration to projects/msvc/libpng.dsp
1147 Changed "error" and "message" in prototypes to "error_message" and
1148 "warning_message" to avoid namespace conflict.
1149 Revised 15 makefiles to build libpng-config from libpng-config-*.in
1150 Once more restored png_zalloc and png_zfree to regular nonexported form.
1152 to nonexported form, but with PNGAPI, and removed them from module def files.
1155 Changed "Gz" to "Gd" in projects/msvc/libpng.dsp and zlib.dsp.
1163 Minor cosmetic changes to 15 makefiles, e.g., $(DI) = $(DESTDIR)/$(INCDIR).
1165 Changed -lpng to -lpngNN in LDFLAGS in several makefiles.
1167 Added libpng.pc and libpng-config to "all:" target in 16 makefiles.
1168 Fixed bug in 16 makefiles: $(DESTDIR)/$(LIBPATH) to $(DESTDIR)$(LIBPATH)
1175 Added -soname to the loader flags in makefile.dec, makefile.sgi, and
1177 Added "test-installed" target to makefile.linux, makefile.gcmmx,
1182 Added "test-installed" target to makefile.32sunu, makefile.64sunu,
1186 Added "test-installed" target to makefile.cygwin and makefile.sco.
1187 Revised pnggccrd.c to be able to back out version 1.0.x via PNG_1_0_X macro.
1190 Changed png_warning() to png_error() when width is too large to process.
1192 Revised makefile.cygwin to use DLL number 12 instead of 13.
1194 Added code to contrib/gregbook/readpng2.c to ignore unused chunks.
1197 Changed png_error() to png_warning() about "Too much data" in pngpread.c
1205 Updated makefiles to install a separate libpng.so.3 with its own rpath.
1207 Revised makefiles to not remove previous minor versions of shared libraries.
1209 Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared
1211 Added missing "$OBJSDLL" line to makefile.gcmmx.
1212 Added missing "; fi" to makefile.32sunu.
1222 Changed "IBMCPP__" flag to "__IBMCPP__" in pngconf.h.
1229 Added "AR=ar" and "ARFLAGS=rc" and changed "ar rc" to "$(AR) $(ARFLAGS)"
1234 Version 1.2.6 is going to be a simple bugfix release.
1235 Changed the one instance of "ln -sf" to "ln -f -s" in each Sun makefile.
1244 Replaced 65536 with 65536L, and 0xffff with 0xffffL, to silence warnings
1246 Enclosed shift op expressions in parentheses, to silence warnings (Cosmin).
1247 Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
1249 Added compression_type to png_struct, and optimized the window size
1253 Allowed png_error() and png_warning() to work even if png_ptr == NULL
1269 Avoided access to asm_flags in pngvcrd.c, if PNG_1_0_X is defined (Cosmin).
1274 Renamed projects/msvc/ to projects/visualc6/, and projects/borland/ to
1276 Moved projects/visualc6/png32ms.def to scripts/pngw32.def,
1277 and projects/visualc6/png.rc to scripts/pngw32.rc (Cosmin).
1279 Changed line endings to DOS style in cbuilder5 and visualc6 files, even
1282 Updated contrib/visupng/cexcept.h to version 2.0.0 (Cosmin).
1285 Added user ability to change png_size_t via a PNG_SIZE_T macro.
1290 Changed sPLT failure action from png_error to png_warning and abandon chunk.
1291 Changed sCAL and iCCP failures from png_error to png_warning and abandon.
1294 Renamed PNG_MAX_UINT to PNG_UINT_31_MAX.
1299 Revised Borland portion of png_malloc() to return NULL or issue
1300 png_error() according to setting of PNG_FLAG_MALLOC_NULL_MEM_OK.
1301 Added PNG_NO_SEQUENTIAL_READ_SUPPORTED macro to conditionally remove
1305 Use png_malloc instead of png_zalloc to allocate the pallete.
1310 duplicate chunk types to go undetected.
1313 Added ROWBYTES macro to calculate rowbytes without integer overflow.
1316 dimensions, and added png_set_user_limits() function to override them.
1319 Changed some "keep the compiler happy" from empty statements to returns,
1320 Revised libpng.txt to remove 1.2.x stuff from the 1.0.x distribution
1323 Revised pngtest's png_debug_malloc() to use png_malloc() instead of
1324 png_malloc_default() which is not supposed to be exported.
1325 Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in
1327 Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1.
1328 Fixed old bug in RGB to Gray transformation.
1329 Fixed problem with 64-bit compilers by casting arguments to abs()
1330 to png_int_32.
1331 Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
1332 Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin)
1333 Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
1334 Added code to update the row_info->colortype in png_do_read_filler() (MSB).
1336 Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
1353 Removed references to uu.net for archived files. Added references to
1355 Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
1357 causes libpng to write PNG files with incorrect zlib header bytes.
1360 Undid new code added in 1.2.6rc2 to update the color_type in
1364 Revised png_set_strip_filler() to not remove alpha if color_type has alpha.
1368 Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin
1370 Fixed bug in png_text_compress() that would fail to complete a large block.
1377 Reduce color_type to a nonalpha type after strip alpha operation in
1384 Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
1386 Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
1389 Use png_ptr->flags instead of png_ptr->transformations to pass
1390 PNG_STRIP_ALPHA info to png_do_strip_filler(), to preserve ABI
1395 Moved handling of BUILD macros from pngconf.h to png.h
1403 Change tests in pngread.c and pngpread.c to
1407 Reverted pngrutil.c to version libpng-1.2.8beta5.
1420 Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints
1421 Revised man page and libpng.txt to make it clear that one should not call
1423 Updated references to png-mng-implement mailing list.
1445 Revised checking of chromaticity limits to accommodate extended RGB
1447 Changed line endings in some of the project files to CRLF, even in the
1459 Removed reference to pngasmrd.h from Makefile.am
1460 Renamed CHANGES to ChangeLog.
1461 Renamed LICENSE to COPYING.
1462 Renamed ANNOUNCE to NEWS.
1467 Changed definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac
1468 Reverted to filenames LICENSE and ANNOUNCE; removed AUTHORS and COPYING.
1474 Added "OS2" to list of systems that don't need underscores, in pnggccrd.c
1492 Made cosmetic changes to some makefiles, adding LN_SF and other macros.
1501 Changed "mkdir" to "MKDIR_P" in some makefiles.
1504 png_set_gray_1_2_4_to_8() which also expands tRNS to alpha.
1528 Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
1529 -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
1530 to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
1534 back to config.h.
1537 Change png_conf.h back to config.h in pngconf.h.
1540 Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.
1548 Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
1551 Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.
1565 Revised makefiles and configure to avoid making links to libpng.so.*
1568 Reverted configure to "rc2" state.
1573 The shared-library makefiles were linking to libpng.so.0 instead of
1577 Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
1582 Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
1597 Added prototypes for PNG_INCH_CONVERSIONS functions to png.h
1604 Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid
1617 Really increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
1623 Change "logical" to "bitwise" throughout documentation.
1624 Detect and fix attempt to write wrong iCCP profile length.
1628 Fix Makefile.am to not try to link to noexistent files.
1640 Changed "strtod" to "png_strtod" in pngrutil.c
1647 Revised configure.ac to update libpng.pc and libpng-config.
1653 Add "png_bytep" typecast to profile while calculating length in pngwutil.c
1657 Changed PNG_NO_ASSEMBLER_CODE to PNG_NO_MMX_CODE in scripts, like 1.4.0beta
1660 Changed some instances of PNG_ASSEMBLER_* to PNG_MMX_* in pnggccrd.c
1670 Added conditional #undef jmpbuf in pngtest.c to undo #define in AIX headers.
1683 Added some (unsigned long) typecasts in pngtest.c to avoid printing errors.
1695 Revised scripts/CMakeLists.txt to install both shared and static libraries.
1700 Change "==" to "&" for testing PNG_RGB_TO_GRAY_ERR & PNG_RGB_TO_GRAY_WARN
1702 Changed remaining instances of PNG_ASSEMBLER_* to PNG_MMX_*
1704 Added "const" to some array declarations.
1713 Changed transformation flag from PNG_EXPAND_tRNS to PNG_EXPAND in
1715 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
1717 pngrutil.c and pngpread.c to use this structure.
1723 Revised unknown chunk handling to avoid storing unknown critical chunks.
1728 to eliminate a vulnerability (CVE-2007-2445, CERT VU#684664)
1732 Reverted the libpng-1.2.17rc3 change to symbol-handling in configure script
1735 Changed "const static" to "static PNG_CONST" everywhere, mostly undoing
1736 change of libpng-1.2.17beta2. Changed other "const" to "PNG_CONST"
1737 Changed some handling of unused parameters, to avoid compiler warnings.
1752 Fixed png_handle_tRNS() to only use the valid bits of tRNS value.
1753 Changed handling of more unused parameters, to avoid compiler warnings.
1754 Removed some PNG_CONST in pngwutil.c to avoid compiler warnings.
1758 Added a special "_MSC_VER" case that defines png_snprintf to _snprintf
1778 changed three remaining instances of png_strcpy() to png_strncpy() (David
1798 Changed '#include "pnggccrd.c"' to 'include "$srcdir/pnggccrd.c"'
1802 Revised many of the makefiles, to set -DPNG_NO_MMX_CODE where needed
1803 and to not use -O3 unless -DPNG_NO_MMX_CODE is also set.
1807 Copied optimized C code from pnggccrd.c to pngrutil.c, removed dependency
1809 Added sl and dylib to list of extensions be installed by Makefile.am
1821 Added "test" target to Makefile.in and Makefile.am
1824 Added info about pngrutil/pnggccrd/pngvcrd to png_get_header_version()
1828 Revert change to type definition of dummy_value_a, b in pnggccrd.c
1830 Require gcc-4.1 or better to use PNG_HAVE_MMX_FILTER_ROW on x86_64 platforms
1834 Added contrib/pngminim to demonstrate building minimal encoder and decoder
1838 unable to read valid PNG files, and filtering is at the heart of the
1842 Changed "png_free(str)" to "png_free(png_ptr,str)" in pngrutil.c WinCE
1853 Removed requirement for gcc-4.1 or better to use PNG_HAVE_MMX_FILTER_ROW
1876 Made a global struct local in pngvcrd.c to make it thread safe.
1877 Issue a png_error() if application attempts to transform a row tht
1886 Change default to PNG_NO_GLOBAL_ARRAYS for MSVC.
1895 Undid row initialization error exit added to rc2 and rc4.
1902 Changed png_malloc() to png_malloc_warn() in png_set_sPLT().
1911 Added "/D PNG_NO_MMX_CODE" to the non-mmx builds of projects/visualc6
1918 Revised pngconf.h to set PNG_NO_MMX_CODE for gcc-3.x compilers.
1922 Revised #ifdefs to ensure one and only one of pnggccrd.c, pngvcrd.c,
1927 Added /D _CRT_SECURE_NO_WARNINGS to visual6c and visualc71 projects.
1936 Restored configure and Makefile.in to rc3 and put a snippet of code in
1937 pnggccrd.c, to ensure configure makes the same PNG_NO_MMX_CODE selection
1963 Remove some PNG_CONST declarations from pngwutil.c to avoid compiler warnings
1964 Revised makefiles to update paths in libpng.pc properly.
1967 Revised makefiles to update "Libs" in libpng.pc properly.
1984 Changed some 0 to '\0'.
1994 Changed [azAZ09_] to [_abcde...89] in Makefile.am for better localization.
1998 Changed $AN to $(AN) in Makefile.am.
2002 Restore statement to set last character of buffer to \0 in pngerror.c
2005 Reject attempt to set all-zero cHRM values.
2033 Make sure not to redefine _BSD_SOURCE in pngconf.h
2034 Revised gather.sh and makefile.std in contrib/pngminim to avoid compiling
2050 Change "if (swidth == NULL)" to "if (sheight == NULL)" in png_handle_sCAL
2060 Added libpng-1.2.25beta05.tar.lzma to distribution. Get the lzma codec
2062 Added lp1225b05.7z to distribution. Get the 7-zip decoder from
2067 Refactored png_read_push_finish_row() again, trying to satisfy Coverity.
2076 Changed "pass" from png_byte to int.
2089 Revised contrib/gregbook to handle premature end-of-file and file
2111 Added more information about png_set_keep_unknown_chunks() to the
2125 Revised pngtest to check for out-of-range tRNS samples.
2128 Added AC_LIBTOOL_WIN32_DLL to configure.ac
2132 Added MAINTAINERCLEANFILES variable to Makefile.am
2135 Avoid changing color_type from GRAY to RGB by
2146 due to backward incompatibilities.
2153 Reverted Makefile.in, aclocal.m4, and configure to the libpng-1.2.26
2157 Added --force to autogen libtoolize options and --force-missing to
2159 Changed $(ECHO) to echo in Makefile.am and Makefile.in
2160 Updated all configure files to autoconf-2.62
2182 Added demo of decoding vpAg and sTER chunks to pngtest.c, from 1.4.0beta19.
2183 Changed PNGMAJ from 0 to 12 in makefile.darwin, which does not like 0.
2195 Moved local array "chunkdata" from pngrutil.c to the png_struct, so
2200 Changed "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
2203 Changed "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
2207 Changed all remaining "chunkdata" to "png_ptr->chunkdata" in
2209 Put a call to png_check_chunk_name() in png_read_chunk_header().
2210 Revised png_check_chunk_name() to reject a name with a lowercase 3rd byte.
2211 Removed two calls to png_check_chunk_name() occuring later in the process.
2214 Added a call to png_check_chunk_name() in pngpread.c
2215 Reverted png_check_chunk_name() to accept a name with a lowercase 3rd byte.
2218 Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
2219 Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
2220 Added code in pngset.c to quiet compiler warnings.
2221 Updated contrib/visupng/cexcept.h to version 2.0.1
2245 Shortened tIME_string to 29 bytes in pngtest.c (bug introduced in
2255 Revised makefile.darwin to fix shared library numbering.
2256 Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
2263 Changed remaining "key" to "png_ptr->chunkdata" in png_handle_tEXt()
2264 to avoid memory leak after memory failure while reading tEXt chunk.`
2270 Revised png_warning() to write its message on standard output by default
2271 when warning_fn is NULL. This was the behavior prior to libpng-1.2.9beta9.
2272 Fixed string vs pointer-to-string error in png_check_keyword().
2278 Revised png_warning() to write its message on standard output by default
2286 Revised bKGD validity check to use >= x instead of > x + 1
2287 Merged with png_debug from libpng-1.4.0 to remove newlines.
2290 More merging with png_debug from libpng-1.4.0 to remove newlines.
2294 to ensure that new_key gets initialized and removed extra warning
2299 call to png_set_filler() (Jim Barry).
2319 Use png_memset() instead of a loop to intialize pointers. We realize
2338 interlaced file, to avoid a possible UMR.
2343 Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
2347 for png_set_strip_error_numbers() to be omitted from PNG_NO_ASSEMBLER_CODE
2349 Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt
2355 Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
2356 application code writers to bypass the check for multiple inclusion
2357 of setjmp.h when they know that it is safe to ignore the situation.
2358 Made some cosmetic changes to whitespace in pngtest output.
2359 Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
2361 Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
2383 Added contrib/pngminim/preader to demonstrate building minimal progressive
2387 In contrib/pngminim/*, renamed "makefile.std" to "makefile", since there
2398 Added "#define PNG_NO_WRITE_SWAP" to contrib/pngminim/encoder/pngusr.h
2399 and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
2400 Added sections about the git repository and our coding style to the
2402 Added a section to the libpng documentation about using png_get_io_ptr()
2403 in configure scripts to detect the presence of libpng.
2406 Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
2407 multiple times and to specify the sample order in the tRNS chunk,
2409 Changed several PNG_UNKNOWN_CHUNK_SUPPORTED to
2410 PNG_HANDLE_AS_UNKNOWN_SUPPORTED, to make the png_set_keep mechanism
2425 Added a reference to the libpng license in each source file.
2428 Revised references to the libpng license in pngconf.h and contrib/visupng
2453 Reject attempt to write iCCP chunk with negative embedded profile length
2463 Removed an extra png_debug() recently added to png_write_find_filter().
2467 Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
2478 Eliminated useless call to png_check_cHRM() from pngset.c
2485 Revised png_check_IHDR() again, to check info_ptr members instead of
2494 Revised pngconf.h to make it easier to enable iTXt support. From libpng
2498 many "#if defined(x)" to "#ifdef x".
2503 Converted all PNG_NO_* tests to PNG_*_SUPPORTED everywhere except pngconf.h
2508 many "#if defined(x)" to "#ifdef x" in png.h and pngconf.h.
2519 More bugfixes and improvements to CMakeLists.txt (Philip Lowman)
2525 Enabled iTXt support by default. To ensure binary compatibility with
2527 to be omitted from previous versions unless the current libpng
2529 longer necessary to gain iTXt support), as a signal that the user has
2534 Revised iTXt support. To ensure binary compatibility with
2536 to be omitted from versions prior to 1.2.41beta11 whenever there is a
2544 Copied projects/wince/png32ce.def to the scripts directory.
2559 and removed reference to png_calloc from scripts/*.def
2563 PNG_ALLOCATED macros to detect deprecated direct access to the
2566 Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS,
2567 to prevent warnings about direct access to png structs by libpng
2568 functions while building libpng. They need to be tested, especially
2573 Removed three direct references to read_info_ptr members in pngtest.c
2578 Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
2581 Changed png_check_sig() to !png_sig_cmp() in contrib programs.
2583 Added "-DPNG_CONFIGURE_LIBPNG" to the contrib/pngminum makefiles.
2586 Renamed scripts/makefile.wce to scripts/makefile.cegcc
2590 Revised scripts/*.def to reflect functions actually exported by libpng.
2591 Updated the copyright year in scripts/pngw32.rc from 2004 to 2009.
2610 to pngconf.h in version 1.2.41.
2612 to put png.h and pngconf.h in $prefix/include, like the other scripts,
2614 to put them in $prefix/include/libpng12 instead of in
2620 Relocated png_do_chop() to its original position in pngrtran.c. The
2621 change in version 1.2.41beta08 caused transparency to be handled wrong
2628 Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
2633 in pngset.c to be consistent with other changes in version 1.2.38.
2640 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
2647 Updated CMakeLists.txt for consistent indentation and to avoid an
2663 Reverted recent changes to png_push_save-buffer().
2667 to avoid a potential memory leak.
2691 Rewrote png_process_IDAT_data() to consistently treat extra data as warnings
2702 Revised pngpread.c patch of beta05 to avoid an endless loop.
2709 report by Frank Busse, related to CVE-2004-0421).
2710 Pass "" instead of '\0' to png_default_error() in png_err(). This mistake
2715 always expand to RGBA if transparency is present.
2730 Reverted changes to Makefile.am and Makefile.in to libpng-1.2.44 versions.
2733 Added CMakeLists.txt, projects/xcode, and pnggccrd.c to EXTRA_DIST in
2737 Udated copyright year to 2011.
2739 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
2742 to subscribe)
2743 or to glennrp at users.sourceforge.net