John Bowler
89c2f84287
[libpng15] Fix Windows builds, add pngstest to Visual Studio and OpenWatcom
2011-11-16 12:04:39 -06:00
John Bowler
ed9f84475d
[libpng15] Update pngstest to remove compiler warnings, add to libpng tests
2011-11-16 11:52:27 -06:00
John Bowler
1eb188932b
[libpng15] Added contrib/pngtests
2011-11-16 11:40:59 -06:00
Glenn Randers-Pehrson
816e687de8
[libpng] Added copyright and licensing info to contrib/sRGBtables/*.c
2011-11-11 18:48:04 -06:00
John Bowler
0a521d3785
[libpng15] Installed more accurate linear to sRGB conversion tables.
...
The slightly modified tables reduce the number of 16-bit values that
convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
to generate the tables is now in a contrib/sRGBtables sub-directory.
2011-11-11 18:14:59 -06:00
Glenn Randers-Pehrson
7342fcaf92
[libpng] #define PNG_ALIGN_TYPE PNG_ALIGN_NONE in contrib/pngminim/*/pngusr.h
2011-10-27 19:56:36 -05:00
Glenn Randers-Pehrson
435cf87469
[libpng15] Bump version to libpng-1.5.6beta04
2011-10-05 16:42:16 -05:00
Glenn Randers-Pehrson
ef43c17bfe
[devel] Changed "// ..." comments to "/* .. */" in the visupng project.
2011-09-03 09:53:07 -05:00
Glenn Randers-Pehrson
4164c6f949
[devel] Reverted non-portable GNU syntax in makefile (?=, +=)
2011-07-12 06:11:42 -05:00
Glenn Randers-Pehrson
4b2237a6a4
[devel] Updated contrib/pngminus/makefile.std
2011-07-11 17:52:05 -05:00
Glenn Randers-Pehrson
581d29d4c9
[devel] Removed redundant directives from pngminim/*/*dfa.
2011-06-17 21:44:10 -05:00
Glenn Randers-Pehrson
fb29e51dbd
[devel] Imported from libpng-1.5.4beta05.tar
2011-06-17 20:42:19 -05:00
Glenn Randers-Pehrson
850769f787
[devel] Revised contrib/visupng, gregbook, and pngminim
...
to demonstrate chop_16_to_8
2011-06-16 09:08:53 -05:00
Glenn Randers-Pehrson
af855e415d
[devel] Remove some trailing blanks.
2011-05-07 10:54:28 -05:00
Glenn Randers-Pehrson
3f2339b551
[devel] removed "strip" from contrib/pngminim/*/makefile
2011-03-19 22:32:38 -05:00
Glenn Randers-Pehrson
eceff8b3c3
[devel] Added a hint to try CPP=/bin/cpp if "cpp -E" fails in
...
scripts/pnglibconf.mak and in contrib/pngminim/*/makefile and to try
"STRIP=touch" if strip is missing, eg., on SunOS 5.10
2011-03-19 14:49:03 -05:00
Glenn Randers-Pehrson
eb7d7955e5
Updated contrib/pngsuite/README to add the word "modify".
2011-02-27 21:19:23 -06:00
Glenn Randers-Pehrson
64b863cd2a
[devel] Update copyright year and bump to version libpng-1.5.0rc07
2011-01-04 09:58:33 -06:00
Glenn Randers-Pehrson
fded04fbf6
[devel] Revised pngvalid.c 16-to-8-big conversion tests
2010-08-27 14:21:21 -05:00
Glenn Randers-Pehrson
0c57414490
[devel] Added "option READ_16_TO_8 on" to contrib/pngminim/decoder/pnglibconf.dfa
...
and contrib/pngminim/preader/pnglibconf.dfa
2010-08-27 09:37:06 -05:00
Glenn Randers-Pehrson
c97cf70bc7
[devel] Remove unnecessary defines from contrib/pngminim/*/pngusr.h
2010-08-24 21:22:27 -05:00
Glenn Randers-Pehrson
a313751258
[devel] Removed spurious tabs, shorten long lines (no source change)
...
Also added scripts/chkfmt to validate the format of all the files that can
reasonably be validated (it is suggested to run "make distclean" before
checking, because some machine generated files have long lines.)
Reformatted the CHANGES file to be more consistent throughout.
2010-08-18 20:25:36 -05:00
Glenn Randers-Pehrson
9f65059a5b
[devel] Don't try to use version-script with cygwin/mingw.
...
Revised contrib/gregbook to work under cygwin/mingw.
2010-08-11 08:06:11 -05:00
Glenn Randers-Pehrson
dbe0c9d8c7
[devel] Use FIXED_POINT in contrib/pngminim/decoder and encoder
2010-07-29 20:28:36 -05:00
Glenn Randers-Pehrson
11a5687b72
[devel] Removed reference to pngarith from contrib/pngminim/preader/makefile.
2010-07-29 19:27:26 -05:00
Glenn Randers-Pehrson
31aee0d0c0
[devel]
...
Fixed point APIs are now supported throughout (no missing APIs).
Internal fixed point arithmetic support exists for all internal floating
point operations.
sCAL validates the floating point strings it is passed.
Safe, albeit rudimentary, Watcom support is provided by PNG_API_RULE==2
Two new APIs exist to get the number of passes without turning on the
PNG_INTERLACE transform and to get the number of rows in the current
pass.
A new test program, pngvalid.c, validates the gamma code.
Errors in the 16 bit gamma correction (overflows) have been corrected.
cHRM chunk testing is done consistently (previously the floating point
API bypassed it, because the test really didn't work on FP, now the test
is performed on the actual values to be stored in the PNG file so it
works in the FP case too.)
Most floating point APIs now simply call the fixed point APIs after
converting the values to the fixed point form used in the PNG file.
The standard headers no longer include zlib.h, which is currently only
required for pngstruct.h and can therefore be internal.
(Patches by John Bowler)
2010-07-29 17:39:14 -05:00
Glenn Randers-Pehrson
289500ab8d
[devel] Imported from libpng-1.5.0beta33.tar
2010-06-28 20:21:22 -05:00
Glenn Randers-Pehrson
73e28ef13d
[devel] Reverted changes to call png_longjmp in contrib/gregbook
...
where it is not appropriate. If mainprog->jmpbuf is used by setjmp,
then png_longjmp cannot be used.
Reversed patch to remove error handler when the jmp_buf is stored in the
main program structure, not the png_struct.
The error handler is needed because the default handler in libpng will
always use the jmp_buf in the library control structure; this is never
set. The gregbook code is a useful example because, even though it
uses setjmp/longjmp, it shows how error handling can be implemented
using control mechanisms not directly supported by libpng. The
technique will work correctly with mechanisms such as Microsoft
Structure Exceptions or C++ exceptions (compiler willing - note that gcc
does not by default support interworking of C and C++ error handling.)
2010-06-28 20:19:57 -05:00
Glenn Randers-Pehrson
5feb87cd0e
[devel] Imported from libpng-1.5.0beta29.tar
2010-06-25 20:06:38 -05:00
Glenn Randers-Pehrson
53c07f5909
[devel] Imported from libpng-1.5.0beta25.tar
2010-06-25 20:06:28 -05:00
Glenn Randers-Pehrson
1f1becf87f
[devel] Fix a spelling typo in the contrib/pngminim makefiles
2010-04-29 09:47:12 -05:00
Glenn Randers-Pehrson
b621794ed5
[devel] Removed contrib/pngminim/*/gather.sh
...
Source file gathering is now done in the makefile.
2010-04-29 08:41:33 -05:00
Glenn Randers-Pehrson
a0b0d8b9db
[devel] Removed dummy_inflate.c from contrib/pngminim/encoder
2010-04-29 08:40:24 -05:00
Glenn Randers-Pehrson
1ce8133282
[devel] Corrected PNG_UNKNOWN_CHUNKS_SUPPORTED
...
to PNG_HANDLE_AS_UNKNOWN_SUPPORTED in gregbook/readpng2.c
2010-04-28 18:44:48 -05:00
Glenn Randers-Pehrson
b7e1abe25c
[devel] Removed extraneous contrib/pngminim/pngusr.h
2010-04-28 08:08:18 -05:00
Glenn Randers-Pehrson
d24a6b5fd0
[devel] Imported from libpng-1.5.0beta22.tar
2010-04-28 08:03:42 -05:00
Glenn Randers-Pehrson
e3e8f6bf02
[devel] Revised contrib/pngminim to use the "everything off" option
...
in pngusr.dfa.
2010-04-28 07:54:14 -05:00
Glenn Randers-Pehrson
d026f9cce6
[devel] Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
...
contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
2010-04-26 22:48:39 -05:00
Glenn Randers-Pehrson
b56e0d06f9
[devel] Imported from libpng-1.5.0beta19.tar
2010-04-24 12:17:49 -05:00
Glenn Randers-Pehrson
5623f781bc
[devel] Imported from libpng-1.5.0beta18.tar
2010-04-17 19:09:22 -05:00
Glenn Randers-Pehrson
7efdbaf320
[devel] Added some PNG_NO_* defines to contrib/pngminim/*/pngusr.h to
...
save some space.
2010-04-17 18:50:23 -05:00
Glenn Randers-Pehrson
98eb24c726
[devel] Updated contrib/pngminim project to work with the new pnglibconf.h
2010-04-17 18:07:33 -05:00
Glenn Randers-Pehrson
8c065ddbe6
[devel] Revised contrib/pngminim/decoder to build and use pnglibconf.h
2010-04-17 12:40:12 -05:00
Glenn Randers-Pehrson
6ff9ec81c5
[devel] Attempt to get contrib/pngminim working with new pnglibconf.h
...
not quite working yet (pow is undefined)
2010-04-17 11:53:38 -05:00
Glenn Randers-Pehrson
8027fed7d1
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-17 08:58:29 -05:00
Glenn Randers-Pehrson
3cd7cffd0c
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-16 19:28:42 -05:00
Glenn Randers-Pehrson
b92e2f7335
[devel] Expanded TAB characters in contrib/pngminus
2010-03-15 09:48:37 -05:00
Glenn Randers-Pehrson
42928551cf
[devel] Expanded TAB character in contrib/gregbook/rpng-x.c and rpng2-x.c
2010-03-15 08:38:06 -05:00
Glenn Randers-Pehrson
86f88ddd53
[devel] Imported from libpng-1.5.0beta12.tar
2010-03-08 21:31:46 -06:00
Glenn Randers-Pehrson
65a223794a
[devel] Bump to version libpng-1.5.0beta11
2010-03-03 05:39:36 -06:00
Glenn Randers-Pehrson
d259e6c570
[devel] Revised png_longjmp() calls in contrib/gregbook to use png_ptr
2010-02-21 23:36:35 -06:00
Glenn Randers-Pehrson
4531ded5c1
[devel] Removed unused gzio.c from contrib/pngminim gather and makefile scripts
...
This is necessary when libz is upgraded to 1.2.4
2010-02-21 23:07:13 -06:00
Glenn Randers-Pehrson
f98726ae98
[devel] Added exported png_longjmp() function.
2010-02-19 09:54:53 -06:00
Glenn Randers-Pehrson
946199e8e4
[devel] Removed obsolete unused MMX-querying support from contrib/gregbook
2010-02-19 07:57:34 -06:00
Glenn Randers-Pehrson
f1eb918dc8
[devel] Imported from libpng-1.5.0beta03.tar
2010-02-08 15:42:16 -06:00
Glenn Randers-Pehrson
e3f3c4ea0b
[devel] Imported from libpng-1.5.0beta01.tar
2010-02-07 18:10:43 -06:00
Glenn Randers-Pehrson
3da965ce4b
[devel] Removed leftover "-DPNG_CONFIGURE_LIBPNG"
...
from contrib/pngminim/*/makefile
2009-12-11 07:56:25 -06:00
Glenn Randers-Pehrson
d88da23cbd
[devel] Added dependency on pngpriv.h in contrib/pngminim/*/makefile
2009-11-09 13:34:10 -06:00
Glenn Randers-Pehrson
d5513a7490
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:28:15 -06:00
Glenn Randers-Pehrson
3d7e15f353
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:05:40 -06:00
Glenn Randers-Pehrson
ec3f949874
[devel] Fixed some deprecated usages in the contrib directory.
2009-11-09 10:49:12 -06:00
Glenn Randers-Pehrson
3243fea0ac
[devel] Remove scripting cruft in contrib/pngminim/*/pngusr.h
2009-09-24 18:05:22 -05:00
Glenn Randers-Pehrson
b380515c84
[devel] Removed references to PNG_NO_GLOBAL_ARRAYS
...
from contrib/visupng and contrib/pngminim sources.
2009-08-31 14:50:08 -05:00
Glenn Randers-Pehrson
77d0cdef02
[devel] Imported from libpng-1.4.0beta78.tar
2009-08-31 11:22:08 -05:00
Glenn Randers-Pehrson
922ad083e6
[devel] Revise references to zlib/libpng license
2009-07-28 16:48:28 -05:00
Glenn Randers-Pehrson
12a11c521b
[devel] Imported from libpng-1.4.0beta68.tar
2009-07-19 14:27:36 -05:00
Glenn Randers-Pehrson
bfbf86558c
[devel] Imported from libpng-1.4.0beta66.tar
2009-06-26 21:49:39 -05:00
Glenn Randers-Pehrson
e0dc4c8a1e
[devel] Imported from libpng-1.4.0beta65.tar
2009-06-25 12:19:52 -05:00
Glenn Randers-Pehrson
037023bb31
[devel] Revise references to zlib-libpng license
2009-06-24 10:30:58 -05:00
Glenn Randers-Pehrson
3e61d7985c
[devel] Mention zlib-libpng license in each source file
2009-06-24 09:35:48 -05:00
Glenn Randers-Pehrson
45ae51743b
In contrib/pngminim, #define PNG_NO_READ|WRITE_SWAP in pngusr.h
2009-05-28 20:22:38 -05:00
Glenn Randers-Pehrson
4bb4d01681
Imported from libpng-1.4.0beta61.tar
2009-05-20 17:15:20 -05:00
Glenn Randers-Pehrson
b205f291f6
Actually add the renamed makefiles.
2009-05-19 13:10:55 -05:00
Glenn Randers-Pehrson
a24b08a42a
Rename contrib/pngminim/*/makefile.std to makefile
...
since there's only one makefile, so users can just type "make"
instead of "make -f makefile.std".
2009-05-19 13:08:48 -05:00
Glenn Randers-Pehrson
c996d13ec3
Add contrib/pngminim/preader
...
based on contrib/gregbook/rpng2-x
2009-05-18 16:01:26 -05:00
Glenn Randers-Pehrson
a93c942070
Imported from libpng-1.4.0beta54.tar
2009-04-13 12:02:11 -05:00
Glenn Randers-Pehrson
6a9c2cefdd
Imported from libpng-1.4.0beta52.tar
2009-04-06 16:11:09 -05:00
Glenn Randers-Pehrson
8fb550cc3e
Imported from libpng-1.4.0beta51.tar
2009-04-06 16:11:07 -05:00
Glenn Randers-Pehrson
1916f6ae42
Imported from libpng-1.4.0beta30.tar
2009-04-06 16:10:18 -05:00
Glenn Randers-Pehrson
79084216af
Imported from libpng-1.4.0beta26.tar
2009-04-06 16:10:08 -05:00
Glenn Randers-Pehrson
eb58091392
Imported from libpng-1.4.0beta25.tar
2009-04-06 16:10:05 -05:00
Glenn Randers-Pehrson
6bc53be992
Imported from libpng-1.4.0beta7.tar
2009-04-06 16:09:25 -05:00
Glenn Randers-Pehrson
86dc981475
Imported from libpng-1.4.0beta3.tar
2009-04-06 16:09:16 -05:00
Glenn Randers-Pehrson
d60b8fab03
Imported from libpng-1.4.0beta2.tar
2009-04-06 16:09:14 -05:00
Glenn Randers-Pehrson
26e47d9a71
Imported from libpng-1.2.9beta10.tar
2009-04-06 16:08:44 -05:00
Glenn Randers-Pehrson
ddfebd35be
Imported from libpng-1.2.9beta2.tar
2009-04-06 16:08:25 -05:00
Glenn Randers-Pehrson
9c3ab68145
Imported from libpng-1.2.9beta1.tar
2009-04-06 16:08:23 -05:00
Glenn Randers-Pehrson
5fea36fb00
Imported from libpng-1.2.6beta4.tar
2009-04-06 16:07:40 -05:00
Glenn Randers-Pehrson
5b5dcf8b88
Imported from libpng-1.2.6beta3.tar
2009-04-06 16:07:38 -05:00
Glenn Randers-Pehrson
859665d847
Imported from libpng-1.2.5beta1.tar
2009-04-06 16:07:23 -05:00
Glenn Randers-Pehrson
2ae022da7e
Imported from libpng-1.2.4rc1.tar
2009-04-06 16:07:18 -05:00
Glenn Randers-Pehrson
d020e9d826
Imported from libpng-1.2.4beta3.tar
2009-04-06 16:07:16 -05:00
Glenn Randers-Pehrson
d1e8c8694d
Imported from libpng-1.2.4beta2.tar
2009-04-06 16:07:14 -05:00
Glenn Randers-Pehrson
07748d1b2c
Imported from libpng-1.2.4beta1.tar
2009-04-06 16:07:12 -05:00
Glenn Randers-Pehrson
704228f7e7
Imported from libpng-1.2.3rc4.tar
2009-04-06 16:07:04 -05:00
Glenn Randers-Pehrson
03008a08d1
Imported from libpng-1.2.3rc1.tar
2009-04-06 16:06:58 -05:00
Glenn Randers-Pehrson
fcbd7870e9
Imported from libpng-1.2.2rc1.tar
2009-04-06 16:06:54 -05:00
Glenn Randers-Pehrson
73d57cb97b
Imported from libpng-1.2.2beta5.tar
2009-04-06 16:06:50 -05:00
Glenn Randers-Pehrson
377657d1d6
Imported from libpng-1.2.2beta4.tar
2009-04-06 16:06:49 -05:00
Glenn Randers-Pehrson
9c0f094b21
Imported from libpng-1.2.2beta1.tar
2009-04-06 16:06:43 -05:00
Glenn Randers-Pehrson
5a0be341ba
Imported from libpng-1.2.1beta1.tar
2009-04-06 16:06:30 -05:00
Glenn Randers-Pehrson
1b8e567237
Imported from libpng-1.2.0rc1.tar
2009-04-06 16:06:26 -05:00
Glenn Randers-Pehrson
1ea0ff34fa
Imported from libpng-1.2.0beta5.tar
2009-04-06 16:06:24 -05:00
Glenn Randers-Pehrson
b182893c04
Imported from libpng-1.2.0beta4.tar
2009-04-06 16:06:22 -05:00
Glenn Randers-Pehrson
8b6a889881
Imported from libpng-1.2.0beta3.tar
2009-04-06 16:06:20 -05:00
Glenn Randers-Pehrson
1fd5fb33c2
Imported from libpng-1.2.0beta1.tar
2009-04-06 16:06:16 -05:00
Glenn Randers-Pehrson
e68f5a361b
Imported from libpng-1.0.12beta1.tar
2009-04-06 16:06:14 -05:00
Glenn Randers-Pehrson
1909560348
Imported from libpng-1.0.10beta1.tar
2009-04-06 16:05:58 -05:00
Glenn Randers-Pehrson
d4e8109a48
Imported from libpng-1.0.9.tar
2009-04-06 16:05:56 -05:00
Glenn Randers-Pehrson
cdf140beec
Imported from libpng-1.0.9beta9.tar
2009-04-06 16:05:52 -05:00
Glenn Randers-Pehrson
231e687411
Imported from libpng-1.0.9beta8.tar
2009-04-06 16:05:51 -05:00
Glenn Randers-Pehrson
f5ed0e130c
Imported from libpng-1.0.9beta2.tar
2009-04-06 16:05:37 -05:00
Glenn Randers-Pehrson
fbbb5ecb52
Imported from libpng-1.0.9beta10.tar
2009-04-06 16:05:35 -05:00
Glenn Randers-Pehrson
5e5c1e1f56
Imported from libpng-1.0.9beta1.tar
2009-04-06 16:05:33 -05:00
Glenn Randers-Pehrson
3d5a520610
Imported from libpng-1.0.7.tar
2009-04-06 16:05:21 -05:00
Glenn Randers-Pehrson
1394480f4b
Imported from libpng-1.0.7beta18.tar
2009-04-06 16:05:18 -05:00
Glenn Randers-Pehrson
1f2d559f70
Imported from libpng-1.0.7rc1.tar
2009-04-06 16:05:16 -05:00
Glenn Randers-Pehrson
db66d44801
Imported from libpng-1.0.7beta17.tar
2009-04-06 16:05:14 -05:00
Glenn Randers-Pehrson
d436672048
Imported from libpng-1.0.7beta16.tar
2009-04-06 16:05:13 -05:00
Glenn Randers-Pehrson
228bd390ac
Imported from libpng-1.0.6g.tar
2009-04-06 16:04:59 -05:00
Glenn Randers-Pehrson
4accabb590
Imported from libpng-1.0.6f.tar
2009-04-06 16:04:58 -05:00
Glenn Randers-Pehrson
520a764cd7
Imported from libpng-1.0.6.tar
2009-04-06 16:04:52 -05:00
Glenn Randers-Pehrson
a77ef625a6
Imported from libpng-1.0.5s.tar
2009-04-06 16:04:50 -05:00
Glenn Randers-Pehrson
61c32d9e66
Imported from libpng-1.0.5q.tar
2009-04-06 16:04:49 -05:00
Glenn Randers-Pehrson
166c5a397e
Imported from libpng-1.0.5h.tar
2009-04-06 16:04:47 -05:00
Glenn Randers-Pehrson
5379b24536
Imported from libpng-1.0.5c.tar
2009-04-06 16:04:44 -05:00
Glenn Randers-Pehrson
6d8f3b080a
Imported from libpng-1.0.5a.tar
2009-04-06 16:04:43 -05:00
Glenn Randers-Pehrson
860ab2b1c0
Imported from libpng-1.0.5.tar
2009-04-06 16:04:42 -05:00
Glenn Randers-Pehrson
ad5dd1f0fb
Imported from libpng-1.0.5-pre1.tar
2009-04-06 16:04:41 -05:00
Glenn Randers-Pehrson
33b25bf1a8
Imported from libpng-1.0.4f.tar
2009-04-06 16:04:40 -05:00