Glenn Randers-Pehrson
8e92cd51c6
[libpng16] Bump version to 1.6.0beta16
2012-03-02 14:04:36 -06:00
Glenn Randers-Pehrson
363387c9c0
[libpng16] Imported from libpng-1.6.0beta15.tar
v1.6.0beta15
2012-03-02 13:45:00 -06:00
John Bowler
6f237b6bf0
[libpng16] Remove whitespace at end of lines
2012-03-02 13:20:52 -06:00
John Bowler
a0ddf0b5f2
[libpng16] Minor update to pngstest.c, chmod 755 gentests.sh
2012-03-02 06:56:33 -06:00
Glenn Randers-Pehrson
5541ea8aaf
[libpng16] Relocated declarations of index and padding in new index-checking
...
code.
2012-03-01 22:18:09 -06:00
John Bowler
cf49919686
[libpng16] Fixed some bugs in ICC profile writing. The code should now accept
...
all potentially valid ICC profiles and reject obviously invalid ones.
It now uses png_error() to do so rather than casually writing a PNG
without the necessary color data.
2012-03-01 21:54:07 -06:00
Glenn Randers-Pehrson
363ae65e2b
[libpng16] Added tests for invalid palette index while reading and writing
...
(work in progress, the latter isn't finished).
2012-03-01 21:39:29 -06:00
John Bowler
cb129a6234
[libpng16] Improved pngstest fine tuning of error numbers, new test file
...
generator. The generator generates images that test the full range of sample
values, allow the error numbers in pngstest to be tuned and checked. makepng
also allows generation of images with extra chunks, although this is
still work-in-progress.
2012-03-01 21:26:54 -06:00
John Bowler
dee7577330
[libpng16] Added PNG_IMAGE_FLAG_FAST for the benefit of applications that
...
store intermediate files, or intermediate in-memory data, while processing
image data with the simplified API. The option makes the files larger
but faster to write and read. pngstest now uses this by default; this
can be disabled with the --slow option.
2012-03-01 18:55:54 -06:00
John Bowler
1c25b9b06b
[libpng16] Fixed transparent pixel and 16-bit rgb tests in pngstest and removed
...
a spurious check in pngwrite.c
2012-02-29 10:49:28 -06:00
John Bowler
0a92b23c4b
[libpng16] Rewrote pngstest.c for substantial speed improvement.
2012-02-29 06:47:55 -06:00
Glenn Randers-Pehrson
5408b613f8
[libpng16] Removed unused "current_text" members of png_struct
...
and the png_free() of png_ptr->current_text from pngread.c
2012-02-27 08:09:42 -06:00
Glenn Randers-Pehrson
b7e32059d3
[libpng16] Bump version to 1.6.0beta15
2012-02-26 21:38:19 -06:00
Glenn Randers-Pehrson
faf38eea03
[libpng16] Imported from libpng-1.6.0beta14.tar
v1.6.0beta14
2012-02-26 21:38:09 -06:00
Glenn Randers-Pehrson
9eb125e927
[libpng16] Updated Makefile.in
...
Added information about the new limits in the manual.
2012-02-24 22:04:53 -06:00
Glenn Randers-Pehrson
203e6dd7cf
[libpng16] Checked in new Makefile.am that maintains pngusr.dfa
2012-02-24 15:56:01 -06:00
Glenn Randers-Pehrson
16bb03b8b4
[libpng16] Bump version to 1.6.0beta14
2012-02-24 11:52:56 -06:00
Glenn Randers-Pehrson
df44c4c4d9
[libpng16] Imported from libpng-1.6.0beta13.tar
v1.6.0beta13
2012-02-24 11:45:34 -06:00
Glenn Randers-Pehrson
4690b89eaa
[libpng16] Added PNG_SAFE_LIMITS feature to pnglibconf.dfa, pngpriv.h, and new pngusr.dfa
...
to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined.
To enable, use CPPFLAGS=-DPNG_SAFE_LIMITS on the configure command
or put #define PNG_SAFE_LIMITS_SUPPORTED in pnglibconf.h.prebuilt.
(Reverted previous implementation of PNG_SECURE.)
2012-02-24 11:43:31 -06:00
Glenn Randers-Pehrson
10c0693210
[libpng16] Added PNG_SECURE feature to pnglibconf.dfa and new pngusr.dfa file
...
to reset the user limits to safe ones if PNG_SECURE is defined.
2012-02-23 18:41:13 -06:00
Glenn Randers-Pehrson
3484a760f4
[master] Bump version to 1.5.10beta01
2012-02-22 09:06:29 -06:00
Glenn Randers-Pehrson
715423c8d6
Merge branch 'libpng15'
...
Conflicts:
ANNOUNCE
CHANGES
CMakeLists.txt
INSTALL
LICENSE
Makefile.am
Makefile.in
README
TODO
aclocal.m4
config.guess
config.h.in
config.sub
configure
configure.ac
contrib/gregbook/COPYING
contrib/gregbook/Makefile.sgi
contrib/gregbook/Makefile.unx
contrib/gregbook/README
contrib/gregbook/readpng2.c
contrib/gregbook/rpng-x.c
contrib/gregbook/rpng2-win.c
contrib/gregbook/rpng2-x.c
contrib/pngminim/decoder/README
contrib/pngminim/decoder/makefile
contrib/pngminim/decoder/pngusr.h
contrib/pngminim/encoder/README
contrib/pngminim/encoder/makefile
contrib/pngminim/encoder/pngusr.h
contrib/pngminim/preader/README
contrib/pngminim/preader/makefile
contrib/pngminim/preader/pngusr.h
contrib/pngminus/makefile.std
contrib/pngsuite/README
contrib/visupng/PngFile.c
contrib/visupng/PngFile.h
contrib/visupng/VisualPng.c
depcomp
example.c
install-sh
libpng-1.4.9beta01.txt
libpng-manual.txt
libpng.3
libpng.txt
libpngpf.3
ltmain.sh
png.5
png.c
png.h
pngconf.h
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngpriv.h
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtest.c
pngtest.png
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c
projects/visualc6/README.txt
projects/visualc6/libpng.dsp
projects/visualc6/pngtest.dsp
projects/visualc71/README.txt
projects/visualc71/libpng.sln
projects/visualc71/libpng.vcproj
projects/visualc71/pngtest.vcproj
projects/visualc71/zlib.vcproj
projects/vstudio/libpng/libpng.vcxproj
projects/vstudio/pngtest/pngtest.vcxproj
projects/vstudio/readme.txt
projects/vstudio/vstudio.sln
projects/vstudio/zlib.props
projects/vstudio/zlib/zlib.vcxproj
scripts/README.txt
scripts/descrip.mms
scripts/libpng-config-head.in
scripts/libpng.pc.in
scripts/makefile.32sunu
scripts/makefile.64sunu
scripts/makefile.aix
scripts/makefile.amiga
scripts/makefile.bc32
scripts/makefile.beos
scripts/makefile.bor
scripts/makefile.cegcc
scripts/makefile.cygwin
scripts/makefile.darwin
scripts/makefile.dec
scripts/makefile.dj2
scripts/makefile.elf
scripts/makefile.freebsd
scripts/makefile.gcc
scripts/makefile.hp64
scripts/makefile.hpgcc
scripts/makefile.hpux
scripts/makefile.ibmc
scripts/makefile.intel
scripts/makefile.knr
scripts/makefile.linux
scripts/makefile.mingw
scripts/makefile.mips
scripts/makefile.msc
scripts/makefile.ne12bsd
scripts/makefile.netbsd
scripts/makefile.openbsd
scripts/makefile.os2
scripts/makefile.sco
scripts/makefile.sggcc
scripts/makefile.sgi
scripts/makefile.so9
scripts/makefile.solaris
scripts/makefile.solaris-x86
scripts/makefile.std
scripts/makefile.sunos
scripts/makefile.tc3
scripts/makefile.vcwin32
scripts/makefile.watcom
scripts/makevms.com
scripts/png32ce.def
scripts/pngos2.def
2012-02-22 09:01:10 -06:00
Glenn Randers-Pehrson
d57dc304c4
[libpng15] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code
2012-02-22 08:29:19 -06:00
Glenn Randers-Pehrson
17ba5de88f
[libpng16] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
...
pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
now that png_ptr->buffer is inaccessible to applications, the special
handling is no longer useful.
2012-02-21 14:49:56 -06:00
Glenn Randers-Pehrson
8a2033d77f
[libpng15] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
...
pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
now that png_ptr->buffer is inaccessible to applications, the special
handling is no longer useful.
Fixed bug with png_handle_hIST with odd chunk length (Frank Busse).
2012-02-21 14:22:01 -06:00
Glenn Randers-Pehrson
932d7ac5e9
[libpng15]
...
Always put the CMAKE_LIBRARY in "lib" (removed special WIN32 case).
Removed empty vstudio/pngstest directory (Clifford Yapp).
2012-02-21 14:19:52 -06:00
Glenn Randers-Pehrson
f9accb9df2
[libpng15] Bump version to 1.5.10beta01
2012-02-18 23:33:18 -06:00
Glenn Randers-Pehrson
7a4e497b62
[libpng15] Imported from libpng-1.5.9.tar
v1.5.9
2012-02-18 23:32:59 -06:00
Glenn Randers-Pehrson
0207529f27
[libpng15] Imported from libpng-1.5.9rc01.tar
v1.5.9rc01
2012-02-18 23:32:49 -06:00
Glenn Randers-Pehrson
7d5bf79d88
[libpng16] Bump version to 1.6.0beta13
2012-02-18 22:54:56 -06:00
Glenn Randers-Pehrson
a4badc4b50
[libpng16] Imported from libpng-1.6.0beta12.tar
v1.6.0beta12
2012-02-17 17:07:54 -06:00
Glenn Randers-Pehrson
b0606ea043
[libpng16] Increase num_palette to invalid_index + 1, not to invalid_index.
2012-02-16 20:48:28 -06:00
Glenn Randers-Pehrson
566fb611b6
[libpng16] Bump version to 1.6.0beta12
2012-02-16 20:24:39 -06:00
Glenn Randers-Pehrson
c737b7cf70
[libpng16] Imported from libpng-1.6.0beta11.tar
v1.6.0beta11
2012-02-16 20:16:09 -06:00
Glenn Randers-Pehrson
67dba43998
[libpng16] Check for invalid palette index while reading paletted PNG. When
...
one is found, issue a warning and increase png_ptr->num_palette accordingly.
Apps are responsible for checking to see if that happened.
2012-02-16 20:15:13 -06:00
John Bowler
bce7988230
[libpng16] Fixed fixed/float API export conditionals. 1) If FIXED_POINT or
...
FLOATING_POINT options were switched off, png.h ended up with lone ';'
characters. This is not valid ANSI-C outside a function. The ';'
characters have been moved inside the definition of PNG_FP_EXPORT and
PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
of the corresponding functions were completely omitted, even though some
of them are still used internally. The result is still valid, but
produces warnings from gcc with some warning options (including -Wall). The
fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
when png.h is included from pngpriv.h.
2012-02-13 11:45:22 -06:00
Glenn Randers-Pehrson
a08f60352c
[libpng15] Removed tests for no-longer-used *_EMPTY_PLTE_SUPPORTED
...
from pngstruct.h
2012-02-11 07:27:34 -06:00
Glenn Randers-Pehrson
0bddb27e75
[libpng15] Removed unused macro definition from pngread.c
2012-02-11 07:26:03 -06:00
Glenn Randers-Pehrson
864270e18f
[libpng16] Fixed a memory overwrite bug in simplified read of RGB PNG with
...
Fixed a memory overwrite bug in simplified read of RGB PNG with
non-linear gamma Also bugs in the error checking in pngread.c and changed
quite a lot of the checks in pngstest.c to be correct; either correctly
written or not over-optimistic. The pngstest changes are insufficient to
allow all possible RGB transforms to be passed; pngstest cmppixel needs
to be rewritten to make it clearer which errors it allows and then changed
to permit known inaccuracies.
2012-02-10 17:13:13 -06:00
Glenn Randers-Pehrson
74df4f1956
[libpng16] Removed some unused arrays from png_read_push_finish_row().
2012-02-10 15:19:34 -06:00
Glenn Randers-Pehrson
a67ddd4b9f
[libpng15] Removed two unused definitions from scripts/pnglibconf.h.prebuilt
2012-02-06 09:10:06 -06:00
John Bowler
aa725a375c
[libpng16] Corrected estimate of error in libpng png_set_rgb_to_gray API.
...
The API is extremely inaccurate for sRGB conversions because it uses an 8-bit
intermediate linear value and it does not use the sRGB transform, so it
suffers from the known instability in gamma transforms for values close
to 0 (see Poynton). The net result is that the calculation has a maximum
error of 14.99/255; 0.5/255^(1/2.2). pngstest now uses 15 for the
permitted 8-bit error. This may still not be enough because of arithmetic
error.
2012-02-04 15:11:16 -06:00
Glenn Randers-Pehrson
5578c3719e
[libpng16] Updated documentation about the simplified API.
2012-02-04 10:31:38 -06:00
Glenn Randers-Pehrson
ce3c7330ba
[libpng16] Revised test-pngstest.sh to report PASS/FAIL for each image.
2012-02-04 07:35:34 -06:00
John Bowler
c8348f80d5
[libpng16] Fix character count in pngstest command in
...
projects/owatcom/pngstest.tgt
2012-02-03 21:40:07 -06:00
Glenn Randers-Pehrson
612d52afce
[libpng16] Fixed some editing cruft in libpng-manual.txt and libpng.3
2012-02-03 21:14:33 -06:00
Glenn Randers-Pehrson
a7e9d7bfc2
Merge branch 'libpng15' of ssh://libpng.git.sourceforge.net/gitroot/libpng/libpng into libpng15
2012-02-03 16:01:32 -06:00
Glenn Randers-Pehrson
28c3a2f9f9
[libpng15] Imported from libpng-1.5.9beta01.tar
v1.5.9beta01
2012-02-03 15:59:42 -06:00
Glenn Randers-Pehrson
df0773c1b9
[libpng15] Rebuilt configure scripts with automake-1.11.2
2012-02-03 15:56:22 -06:00
Glenn Randers-Pehrson
3449169622
[libpng16] Bump version to 1.6.0beta11
2012-02-03 02:01:02 -06:00