mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Relocated various UNKNOWN_CHUNK macros
outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks, where they did not really belong. Updated CHANGES and ANNOUNCE.
This commit is contained in:
parent
33188acf8f
commit
658ea4304e
6
ANNOUNCE
6
ANNOUNCE
@ -473,7 +473,7 @@ version 1.4.0beta62 [June 2, 2009]
|
|||||||
Added a section to the libpng documentation about using png_get_io_ptr()
|
Added a section to the libpng documentation about using png_get_io_ptr()
|
||||||
in configure scripts to detect the presence of libpng.
|
in configure scripts to detect the presence of libpng.
|
||||||
|
|
||||||
version 1.4.0beta63 [June 16, 2009]
|
version 1.4.0beta63 [June 15, 2009]
|
||||||
Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
|
Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
|
||||||
multiple times and to specify the sample order in the tRNS chunk,
|
multiple times and to specify the sample order in the tRNS chunk,
|
||||||
because the ISO PNG specification has a typo in the tRNS table.
|
because the ISO PNG specification has a typo in the tRNS table.
|
||||||
@ -482,7 +482,11 @@ version 1.4.0beta63 [June 16, 2009]
|
|||||||
available for ignoring known chunks even when not saving unknown chunks.
|
available for ignoring known chunks even when not saving unknown chunks.
|
||||||
Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
|
Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
|
||||||
"#if defined()" and "if !defined()" where possible.
|
"#if defined()" and "if !defined()" where possible.
|
||||||
|
|
||||||
|
version 1.4.0beta64 [June 16, 2009]
|
||||||
Eliminated PNG_LEGACY_SUPPORTED code.
|
Eliminated PNG_LEGACY_SUPPORTED code.
|
||||||
|
Moved the various unknown chunk macro definitions outside of the
|
||||||
|
PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.
|
||||||
|
|
||||||
version 1.4.0betaN [future]
|
version 1.4.0betaN [future]
|
||||||
Build shared libraries with -lz and sometimes -lm.
|
Build shared libraries with -lz and sometimes -lm.
|
||||||
|
6
CHANGES
6
CHANGES
@ -2150,7 +2150,7 @@ version 1.4.0beta62 [June 2, 2009]
|
|||||||
Added a section to the libpng documentation about using png_get_io_ptr()
|
Added a section to the libpng documentation about using png_get_io_ptr()
|
||||||
in configure scripts to detect the presence of libpng.
|
in configure scripts to detect the presence of libpng.
|
||||||
|
|
||||||
version 1.4.0beta63 [June 16, 2009]
|
version 1.4.0beta63 [June 15, 2009]
|
||||||
Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
|
Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
|
||||||
multiple times and to specify the sample order in the tRNS chunk,
|
multiple times and to specify the sample order in the tRNS chunk,
|
||||||
because the ISO PNG specification has a typo in the tRNS table.
|
because the ISO PNG specification has a typo in the tRNS table.
|
||||||
@ -2160,8 +2160,10 @@ version 1.4.0beta63 [June 16, 2009]
|
|||||||
Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
|
Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
|
||||||
"#if defined()" and "if !defined()" where possible.
|
"#if defined()" and "if !defined()" where possible.
|
||||||
|
|
||||||
version 1.4.0beta63 [June 16, 2009]
|
version 1.4.0beta64 [June 16, 2009]
|
||||||
Eliminated PNG_LEGACY_SUPPORTED code.
|
Eliminated PNG_LEGACY_SUPPORTED code.
|
||||||
|
Moved the various unknown chunk macro definitions outside of the
|
||||||
|
PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.
|
||||||
|
|
||||||
version 1.4.0betaN [future]
|
version 1.4.0betaN [future]
|
||||||
Build shared libraries with -lz and sometimes -lm.
|
Build shared libraries with -lz and sometimes -lm.
|
||||||
|
40
pngconf.h
40
pngconf.h
@ -819,6 +819,17 @@
|
|||||||
# define PNG_READ_zTXt_SUPPORTED
|
# define PNG_READ_zTXt_SUPPORTED
|
||||||
# define PNG_zTXt_SUPPORTED
|
# define PNG_zTXt_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef PNG_NO_READ_OPT_PLTE
|
||||||
|
# define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */
|
||||||
|
#endif /* optional PLTE chunk in RGB and RGBA images */
|
||||||
|
#if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \
|
||||||
|
defined(PNG_READ_zTXt_SUPPORTED)
|
||||||
|
# define PNG_READ_TEXT_SUPPORTED
|
||||||
|
# define PNG_TEXT_SUPPORTED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* PNG_READ_ANCILLARY_CHUNKS_SUPPORTED */
|
||||||
|
|
||||||
#ifndef PNG_NO_READ_UNKNOWN_CHUNKS
|
#ifndef PNG_NO_READ_UNKNOWN_CHUNKS
|
||||||
# define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
|
# define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
|
||||||
# ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
# ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||||
@ -841,16 +852,6 @@
|
|||||||
# define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
# define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef PNG_NO_READ_OPT_PLTE
|
|
||||||
# define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */
|
|
||||||
#endif /* optional PLTE chunk in RGB and RGBA images */
|
|
||||||
#if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \
|
|
||||||
defined(PNG_READ_zTXt_SUPPORTED)
|
|
||||||
# define PNG_READ_TEXT_SUPPORTED
|
|
||||||
# define PNG_TEXT_SUPPORTED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* PNG_READ_ANCILLARY_CHUNKS_SUPPORTED */
|
|
||||||
|
|
||||||
#ifdef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
|
#ifdef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
|
||||||
|
|
||||||
@ -963,6 +964,16 @@
|
|||||||
# define PNG_zTXt_SUPPORTED
|
# define PNG_zTXt_SUPPORTED
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(PNG_WRITE_iTXt_SUPPORTED) || defined(PNG_WRITE_tEXt_SUPPORTED) || \
|
||||||
|
defined(PNG_WRITE_zTXt_SUPPORTED)
|
||||||
|
# define PNG_WRITE_TEXT_SUPPORTED
|
||||||
|
# ifndef PNG_TEXT_SUPPORTED
|
||||||
|
# define PNG_TEXT_SUPPORTED
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */
|
||||||
|
|
||||||
#ifndef PNG_NO_WRITE_UNKNOWN_CHUNKS
|
#ifndef PNG_NO_WRITE_UNKNOWN_CHUNKS
|
||||||
# define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
|
# define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
|
||||||
# ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
# ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||||
@ -974,15 +985,6 @@
|
|||||||
# define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
# define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(PNG_WRITE_iTXt_SUPPORTED) || defined(PNG_WRITE_tEXt_SUPPORTED) || \
|
|
||||||
defined(PNG_WRITE_zTXt_SUPPORTED)
|
|
||||||
# define PNG_WRITE_TEXT_SUPPORTED
|
|
||||||
# ifndef PNG_TEXT_SUPPORTED
|
|
||||||
# define PNG_TEXT_SUPPORTED
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */
|
|
||||||
|
|
||||||
/* Turn this off to disable png_read_png() and
|
/* Turn this off to disable png_read_png() and
|
||||||
* png_write_png() and leave the row_pointers member
|
* png_write_png() and leave the row_pointers member
|
||||||
|
Loading…
x
Reference in New Issue
Block a user