Commit Graph

848 Commits

Author SHA1 Message Date
Glenn Randers-Pehrson
9a5c1c180f [devel] Bump to version libpng-1.5.0beta47 2010-08-28 06:25:37 -05:00
Glenn Randers-Pehrson
39515c9ee0 [devel] Imported from libpng-1.5.0beta46.tar 2010-08-28 06:25:21 -05:00
Glenn Randers-Pehrson
8ca1700976 [devel] Expanded commentary in scripts/pnglibconf.dfa 2010-08-27 14:31:19 -05: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
9c69091c9d [devel] Fix typo in pngtrans.c (ifndef should be ifdef) 2010-08-27 11:39:38 -05:00
Glenn Randers-Pehrson
4554a54a6c [devel] Don't force 1, 2, and 4-bit depths to 8 when PNG_NO_16BIT is defined. 2010-08-27 10:48:45 -05:00
Glenn Randers-Pehrson
8c69d7bc63 [devel] Added reference to scripts/pnglibconf.h.prebuilt in the visualc71 project. 2010-08-27 10:13:15 -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
2f70282295 [devel] Revised pngvalid.c to test 16-to-8 bit-depth reduction. 2010-08-27 06:39:23 -05:00
Glenn Randers-Pehrson
55f71781d8 [devel] Made PNG_READ_16_TO_8 depend on PNG_NO_16BIT in scripts/pnglibconf.dfa 2010-08-26 22:47:59 -05:00
Glenn Randers-Pehrson
925d23b32a [devel] Conditionally compile parts of pngrtran.c and pngtrans.c
depending on PNG_16BIT_SUPPORTED
2010-08-26 21:43:18 -05:00
Glenn Randers-Pehrson
4e4876104d [devel] conditionally compile parts of png.c depending on PNG_16BIT_SUPPORTED 2010-08-26 21:41:04 -05:00
Glenn Randers-Pehrson
0717029581 [devel] Update CHANGES and ANNOUNCE 2010-08-26 19:42:01 -05:00
Glenn Randers-Pehrson
a774c5de84 [devel] Updated scripts/pnglibconf.h.prebuilt
and fixed a spelling error
2010-08-26 19:37:55 -05:00
Glenn Randers-Pehrson
a041ae4cde [devel] Updated TODO, about conditional 16BIT support and extending pngvalid.c 2010-08-26 17:20:00 -05:00
Glenn Randers-Pehrson
7d3e6732fb [devel] Added PNG_WRITE_16BIT_SUPPORTED option. 2010-08-26 17:14:07 -05:00
Glenn Randers-Pehrson
07d9fc9478 [devel] Added new private header files to libpng_sources in CMakeLists.txt 2010-08-26 17:11:55 -05:00
Glenn Randers-Pehrson
be6f0c2c50 [devel] Bump to version libpng-1.5.0beta46 2010-08-26 07:10:56 -05:00
Glenn Randers-Pehrson
a7119547e2 [devel] Imported from libpng-1.5.0beta45.tar 2010-08-26 07:10:48 -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
4f108d8af6 [devel] Supply default values for PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX
in pngpriv.h in case the user forgot to define them in their pngusr.h.  This
means it is safe for people not building a DLL to omit these defines from pngusr.h.
2010-08-24 21:05:43 -05:00
Glenn Randers-Pehrson
f45a345adb [devel] projects/vstudio: fix typo in pnglibconf.vcxproj 2010-08-24 20:19:28 -05:00
Glenn Randers-Pehrson
54872297d3 [devel] Renamed scripts/pnglibconf.h in Makefile.am and Makefile.in 2010-08-24 16:18:05 -05:00
Glenn Randers-Pehrson
8c66786419 [devel] Renamed scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt 2010-08-24 16:16:35 -05:00
Glenn Randers-Pehrson
15333cd28d [devel] Changed pngvalid to work when floating point APIs are disabled 2010-08-24 15:29:52 -05:00
Glenn Randers-Pehrson
b5b38edf30 [devel] Added an explicit make step to projects/vstudio for pnglibconf.h
Also corrected zlib.vcxproj into which Visual Studio had introduced
what it calls an "authoring error".  The change to make pnglibconf.h
simply copies the file; in the future it may actually generate the
file from scripts/pnglibconf.dfa as the other build systems do.
2010-08-24 15:28:43 -05:00
Glenn Randers-Pehrson
9b362b1e4f [devel] Bump to version libpng-1.5.0beta45 2010-08-24 09:05:02 -05:00
Glenn Randers-Pehrson
4befef0c18 [devel] Imported from libpng-1.5.0beta44.tar 2010-08-24 08:58:43 -05:00
Glenn Randers-Pehrson
438b3caedb [devel] Fixed VS warnings/errors in vstudio project, tidy up Try/Catch
The Try/Catch blocks were checking that the context had not changed -
unnecessary and cexcept cannot handle separate (potentially interleaved)
contexts anyway.  Changed the code to make the Catch re-instate the context -
this should help the compiler because the context is the png_store and
minimising the need for the compiler to avoid optimizing it away is good.
2010-08-24 08:55:40 -05:00
Glenn Randers-Pehrson
9b780b8add [devel] Turn on progressive reader in pngvalid.c by default and tidy code. 2010-08-24 08:50:01 -05:00
Glenn Randers-Pehrson
0f21161e51 [devel] Implemented progressive read in pngvalid.c gamma tests 2010-08-24 08:46:53 -05:00
Glenn Randers-Pehrson
db712a93b4 [devel] Implemented progressive reader in pngvalid.c for standard tests 2010-08-24 08:44:14 -05:00
Glenn Randers-Pehrson
f18a0ed39b [devel] Simplified the pngvalid error-handling code
now that cexcept.h is in place.
2010-08-24 08:41:00 -05:00
Glenn Randers-Pehrson
92ac4fc237 [devel] Clarified pngusr.h comments in pnglibconf.dfa 2010-08-24 08:37:36 -05:00
Glenn Randers-Pehrson
21af4cc914 [devel] Check interlaced images in pngvalid 2010-08-24 08:33:28 -05:00
Glenn Randers-Pehrson
949d46c7ba [devel] Reformatted/rearranged pngvalid.c to assist use of progressive reader. 2010-08-24 08:29:58 -05:00
Glenn Randers-Pehrson
921d91576a [devel] Implemented memory checks within pngvalid 2010-08-24 08:26:54 -05:00
Glenn Randers-Pehrson
8c037305e4 [devel] Updated CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
installing libpng in /usr/lib64 (Funda Wang).  Also ported other recent
changes from libpng-1.4.4beta07:
  Revised CMakeLists.txt to put the man pages in share/man/man* not man/man*
  Revised CMakeLists.txt to make symlinks instead of copies when installing.
  Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
2010-08-23 17:07:32 -05:00
Glenn Randers-Pehrson
a7866f7b95 [devel] Imported from libpng-1.5.0beta43.tar 2010-08-20 11:15:30 -05:00
Glenn Randers-Pehrson
b5a53da717 [devel] Wrapped a long line and fixed a typo in pngvalid.c comments. 2010-08-20 10:15:47 -05:00
Glenn Randers-Pehrson
c08cae1c22 [devel] Revised pngvalid.c to use cexcept.h for error handling. 2010-08-20 09:55:01 -05:00
Glenn Randers-Pehrson
4aa2cd69ae [devel] pngget.c was omitted from previous checkin. 2010-08-19 16:52:01 -05:00
Glenn Randers-Pehrson
3b5d695583 [devel] Fixed non-GCC fixed point builds. In png.c a declaration was misplaced
in an earlier update.  Fixed to declare the auto variables at the head.
2010-08-19 08:06:12 -05:00
Glenn Randers-Pehrson
67439c4701 [devel] Addressed various issues identified by GCC, mostly signed/unsigned
and shortening problems on assignment but also a few difficult to optimize
(for GCC) loops (John Bowler).
2010-08-19 07:01:09 -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
11966d9c55 [devel] Bump to version libpng-1.5.0beta43 2010-08-18 08:18:33 -05:00
Glenn Randers-Pehrson
ea2f7e07d7 [devel] Imported from libpng-1.5.0beta42.tar 2010-08-18 08:17:18 -05:00
Glenn Randers-Pehrson
e600c51355 [devel]Made all API functions that have const arguments and constant string
literal pointers declare them (John Bowler).
Many APIs did not change their arguments but were not declared using
PNG_CONST.  This change corrects this.  In a few cases APIs that return
constant string literal pointers have also been changed to declare this.
Unlike the argument change this may require app changes; however the
results could never be written to (the app would crash on some platforms
where strings are not writable), so this seems advisable.
2010-08-18 07:25:46 -05:00
Glenn Randers-Pehrson
21b4b339d9 [devel] Fix spelling 2010-08-18 07:12:38 -05:00
Glenn Randers-Pehrson
7de0534490 [devel] Updated ltmain.sh 2010-08-17 13:33:00 -05:00