Glenn Randers-Pehrson
ad41b8838a
[libpng16] Updated declaration of png_get_sCAL_fixed().
2011-12-22 07:31:13 -06:00
John Bowler
1d7f56ab64
[libpng16] Failed to commit pngread.c from latest patch.
2011-12-21 20:14:23 -06:00
Glenn Randers-Pehrson
3c1c95399b
[libpng16] Added #ifdef PNG_USER_MEM_SUPPORTED in pngmem.c where needed.
2011-12-21 18:11:51 -06:00
John Bowler
d332c67da7
[libpng16] Start-up code size improvements, error handler flexibility.
...
These changes alter how the tricky allocation of the initial png_struct and
png_info structures are handled. png_info is now handled in pretty much the
same way as everything else, except that the allocations handle NULL return
silently. png_struct is changed in a similar way on allocation and on
deallocation a 'safety' error handler is put in place (which should never
be required). The error handler itself is changed to permit mismatches
in the application and libpng error buffer size; however, this means a
silent change to the API to return the jmp_buf if the size doesn't match
the size from the libpng compilation; libpng now allocates the memory and
this may fail. Overall these changes result in slight code size
reductions; however, this is a reduction in code that is always executed
so is particularly valuable. Overall on a 64-bit system the libpng DLL
decreases in code size by 1733 bytes. pngerror.o increases in size by
about 465 bytes because of the new functionality.
2011-12-21 17:36:12 -06:00
Glenn Randers-Pehrson
b74fb4e49c
[libpng15] Bump version to libpng-1.6.0beta03
2011-12-21 08:43:21 -06:00
Glenn Randers-Pehrson
a6f369b150
[libpng16] Imported from libpng-1.6.0beta02.tar
2011-12-21 08:29:30 -06:00
Glenn Randers-Pehrson
13831bc06e
[libpng16] Updated "last changed" dates
2011-12-21 08:28:28 -06:00
Glenn Randers-Pehrson
adf049e435
[libpng16] Removed references to bsconfig.h from makefiles
2011-12-21 08:26:42 -06:00
John Bowler
681c1fc02a
[libpng16] Correct configure builds where build and source directories are
...
separate. The include path of 'config.h' was erroneously made relative in
pngvalid.c in libpng 1.5.7.
2011-12-18 06:20:22 -06:00
John Bowler
ba6fbc57ba
[libpng16] Revised config.h handling; added bsconfig.h, deleted pngconfig.h
2011-12-17 14:21:54 -06:00
Glenn Randers-Pehrson
d1dceee2f7
[libpng] #include "pngconfig.h" in pngvalid.c
2011-12-17 10:21:51 -06:00
Glenn Randers-Pehrson
94531034cc
[libpng16] Fixed comment in pngconfig.h (cut-and-paste error)
2011-12-17 10:09:36 -06:00
Glenn Randers-Pehrson
751a93f3ec
[libpng16] Added pngconf.h
2011-12-17 10:01:00 -06:00
Glenn Randers-Pehrson
0b3634bcc4
[libpng16] Reverted install of pngconfig.h
2011-12-17 09:57:00 -06:00
Glenn Randers-Pehrson
efaeadaa86
[libpng16] Added pngconfig.h file. This indirect reference to config.h avoids
...
problems with build scripts that search for config.h and find an
inappropriate one in the standard paths.
2011-12-17 09:06:34 -06:00
Glenn Randers-Pehrson
c4f94cbd08
[libpng15] Bump version to libpng-1.6.0beta02
2011-12-15 13:11:25 -06:00
Glenn Randers-Pehrson
26aad85204
[libpng16] Imported from libpng-1.6.0beta01.tar
2011-12-15 10:31:17 -06:00
John Bowler
c4081f05c8
[libpng16] Updated CMakeLists.txt to account for relocated and new test programs.
2011-12-08 09:53:00 -06:00
John Bowler
eb26ee6602
[libpng16] Fixed race conditions in parallel make builds. With higher degrees
...
of parallelism during 'make' the use of the same temporary file names such
as 'dfn*' can result in a race where a temporary file from one arm of the
build is deleted or overwritten in another arm. This changes the
temporary files for suffix rules to always use $* and ensures that the
non-suffix rules use unique file names.
2011-12-08 09:37:24 -06:00
Glenn Randers-Pehrson
90a87c8853
[libpng15] Bump version to libpng-1.6.0alpha01
2011-12-05 13:39:20 -06:00
John Bowler
12924f33bd
[libpng16] Fixed minor memset/sizeof errors in pngvalid.c.
2011-12-05 12:36:04 -06:00
Glenn Randers-Pehrson
ec6d6fa51b
[libpng16] Put CRLF line endings in the owatcom project files.
2011-12-03 20:26:27 -06:00
Glenn Randers-Pehrson
1f0eaa046c
[libpng16] Revised pngconf.h to use " __declspec(restrict)" if MSC_VER >= 1400.
2011-12-01 21:45:34 -06:00
Glenn Randers-Pehrson
6bdefdd977
[libpng] Fixed some trivial typos in the contrib/tools subdirectory.
2011-11-29 07:44:48 -06:00
John Bowler
405a398b3e
[libpng16] New 'tools' directory containing tools used to generate libpng code.
2011-11-28 23:57:45 -06:00
Glenn Randers-Pehrson
8888ea4479
[libpng16] Revised #if PNG_DO_BC blocks in png.c (use #ifdef and add #else)
2011-11-28 11:29:10 -06:00
Glenn Randers-Pehrson
0b26ac5dee
[libpng16] Replaced an "#if" with "ifdef" in pngrtran.c
2011-11-28 10:38:41 -06:00
John Bowler
414769b415
[libpng16] Add "free()" and "png_free_image()" calls to example code.
2011-11-27 21:39:13 -06:00
Glenn Randers-Pehrson
5e934ba900
[libpng16] Removed stray "*.orig" files.
2011-11-27 06:15:42 -06:00
Glenn Randers-Pehrson
b72bc15e22
[libpng16] Added entry in CHANGES and ANNOUNCE about removing configure files.
2011-11-26 21:17:55 -06:00
Glenn Randers-Pehrson
4c7e8208b6
[libpng16] Remove machine-generated configure files
2011-11-26 21:08:24 -06:00
John Bowler
baeb6d1e92
[libpng16] Added ANSI-C (C90) headers; eliminated the use of FAR/far.
2011-11-26 18:21:02 -06:00
Glenn Randers-Pehrson
2ddb252d07
[libpng16] Updated license info in contrib/examples and example.c
2011-11-25 07:27:51 -06:00
Glenn Randers-Pehrson
7455cbf47e
[libpng16] Update internal version numbering and SO-numbers
2011-11-24 14:49:01 -06:00
Glenn Randers-Pehrson
87fadd5eee
[libpng16] Updated version numbering in png.h
2011-11-24 14:35:13 -06:00
Glenn Randers-Pehrson
5b79cd52f4
[libpng16] Moved pngvalid.c into contrib/libtests
...
and rebuilt Makefile.in and configure, etc., with autoconf-2.68
2011-11-24 10:56:20 -06:00
John Bowler
36082cffcd
[libpng16] Added example programs for the new 'simplified' API.
2011-11-24 08:22:24 -06:00
Glenn Randers-Pehrson
e1bb124baa
[libpng16] Removed some extra simplified API entries from libpng.3 synopses.
2011-11-23 15:59:26 -06:00
Glenn Randers-Pehrson
15ea1fa337
[libpng15] Bump version to libpng-1.6.0alpha01
2011-11-23 15:34:03 -06:00
Glenn Randers-Pehrson
12fb29f951
[libpng15] Reject invalid compression flag, method when reading the iTXt chunk.
2011-11-22 11:53:49 -06:00
Glenn Randers-Pehrson
8500b7720b
[libpng15] Also allow uncompressed iTXt
2011-11-22 11:40:39 -06:00
Glenn Randers-Pehrson
e7ad104ac3
[libpng15] Reject invalid compression flag when reading the iTXt chunk.
2011-11-22 11:03:20 -06:00
Glenn Randers-Pehrson
3b1f03084e
[libpng15] Fixed copyright, spelling in contrib/libtest and contrib/sRGBtables
2011-11-21 20:52:21 -06:00
Glenn Randers-Pehrson
680da02ade
[libpng15] Updated the documentation of the png_text structure
...
(clarifying that the "lang" and "lang_key" fields can be NULL pointers
or might not exist).
2011-11-21 17:05:41 -06:00
Glenn Randers-Pehrson
8e83631361
[libpng15] Added MINGW support to CMakeLists.txt
2011-11-21 12:37:13 -06:00
Glenn Randers-Pehrson
8501129c17
[libpng15] Removed some "#if 0" blocks of test code that remained in pngrutil.c
2011-11-21 11:21:29 -06:00
John Bowler
3706d730d1
[libpng15] Allow row_stride==0 to indicate default stride in simplified API
2011-11-21 10:28:06 -06:00
Glenn Randers-Pehrson
925a60278e
[libpng15] Revised comment and whitespace in png_convert_to_rfc1123().
2011-11-19 18:04:01 -06:00
Glenn Randers-Pehrson
29fca795b9
[libpng15] Validate time settings passed to pngset()
...
and png_convert_to_rfc1123(). (Frank Busse).
2011-11-19 15:08:04 -06:00
Glenn Randers-Pehrson
bd2fa5def6
[libpng15] Removed "zTXt" from warning in generic chunk decompression function.
...
Bug report by Franke Busse
2011-11-19 13:28:08 -06:00