[master] Added a section in documentation
about using png_set_io_ptr() in configure scripts for detecting libpng
This commit is contained in:
parent
0c86eb2dc7
commit
4d7ae382a8
8
ANNOUNCE
8
ANNOUNCE
@ -1,5 +1,5 @@
|
||||
|
||||
Libpng 1.2.37 - May 31, 2009
|
||||
Libpng 1.2.37 - June 2, 2009
|
||||
|
||||
This is a public release of libpng, intended for use in production codes.
|
||||
|
||||
@ -42,7 +42,7 @@ Other information:
|
||||
|
||||
Changes since the last public release (1.2.36):
|
||||
|
||||
version 1.2.37 [May 31, 2009]
|
||||
version 1.2.37 [June 2, 2009]
|
||||
|
||||
Fixed inconsistency in pngrutil.c, introduced in libpng-1.2.36. The
|
||||
memset() was using "png_ptr->rowbytes" instead of "row_bytes", which
|
||||
@ -59,6 +59,10 @@ version 1.2.37 [May 31, 2009]
|
||||
is only one makefile in those directories, and revised the README files
|
||||
accordingly.
|
||||
Reformated sources in libpng style (3-space indentation, comment format)
|
||||
Added sections about the git repository and our coding style to the
|
||||
documentation (merged from libpng-1.4.0beta62)
|
||||
Added a section about using png_get_io_ptr() in configure scripts to detect
|
||||
the presence of libpng.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
2
CHANGES
2
CHANGES
@ -2400,6 +2400,8 @@ version 1.2.37 [June 2, 2009]
|
||||
and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
|
||||
Added sections about the git repository and our coding style to the
|
||||
documentation (merged from libpng-1.4.0beta62)
|
||||
Added a section about using png_get_io_ptr() in configure scripts to detect
|
||||
the presence of libpng.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -2946,7 +2946,14 @@ when the Intel assembler code was removed due to a licensing issue.
|
||||
|
||||
IX. (Omitted)
|
||||
|
||||
X. Source code repository
|
||||
X. Detecting libpng
|
||||
|
||||
The png_get_io_ptr() function has been present since libpng-0.88, has never
|
||||
changed, and is unaffected by conditional compilation macros. It is the
|
||||
best choice for use in configure scripts for detecting the presence of any
|
||||
libpng version since 0.88.
|
||||
|
||||
XI. Source code repository
|
||||
|
||||
Since about February 2009, version 1.2.34, libpng has been under "git" source
|
||||
control. The git repository was built from old libpng-x.y.z.tar.gz files
|
||||
@ -2965,7 +2972,7 @@ the libpng bug tracker at
|
||||
|
||||
http://libpng.sourceforge.net
|
||||
|
||||
XI. Coding style
|
||||
XII. Coding style
|
||||
|
||||
Our coding style is similar to the "Allman" style, with curly
|
||||
braces on separate lines:
|
||||
@ -3051,7 +3058,7 @@ left parenthesis that follows it:
|
||||
Other rules can be inferred by inspecting the libpng
|
||||
source.
|
||||
|
||||
XII. Y2K Compliance in libpng
|
||||
XIII. Y2K Compliance in libpng
|
||||
|
||||
June 2, 2009
|
||||
|
||||
|
Reference in New Issue
Block a user