Glenn Randers-Pehrson
99c7ad2904
[libpng16] bump version to 1.6.0beta07
2012-01-24 08:06:01 -06:00
John Bowler
5635573cfc
[libpng16] Fixed Min/GW uninstall to remove libpng.dll.a
2012-01-23 23:01:27 -06:00
John Bowler
5bc90389bf
[libpng16] Added color-map support to simplified API.
...
This is an initial version for review; the documentation has not yet been
updated.
2012-01-23 22:43:22 -06:00
Glenn Randers-Pehrson
2312167d51
[libpng16] Increased warning buffer in pngerror.c from 128 to 192.
2012-01-23 22:34:15 -06:00
John Bowler
04336ba10f
[libpng16] Add palette support to the simplified APIs. This commit
...
changes some of the macro definitions in png.h, app code may need
corresponding changes.
2012-01-16 07:48:36 -06:00
John Bowler
00c6a9a62c
[libpng16] Fix bug in pngerror.c: some long warnings were being improperly
...
truncated (bug introduced in libpng-1.5.3beta05).
2012-01-14 19:44:43 -06:00
Glenn Randers-Pehrson
0501c1c570
[libpng16] Describe new simplified API in the manual pages
...
and cleaned up some indentation problems.
2012-01-11 14:00:52 -06:00
Glenn Randers-Pehrson
d9fc0622a1
[libpng16] bump version to 1.6.0beta05
2011-12-29 21:13:53 -06:00
Glenn Randers-Pehrson
6e4184249c
[libpng16] Imported from libpng-1.6.0beta04.tar
2011-12-29 21:01:01 -06:00
Glenn Randers-Pehrson
04ab33560f
[libpng16] Revised contrib/pngminus/pnm2png.c to avoid warnings
...
when png_uint_32 and unsigned long are of different sizes.
2011-12-29 10:24:50 -06:00
John Bowler
fcd301daed
[libpng16] Changed png_memcpy to C assignment where appropriate. Changed all
...
those uses of png_memcpy that were doing a simple assignment to assignments
(all those cases where the thing being copied is a non-array C L-value.)
Added some error checking to png_set_*() routines and removed the
reference to the non-exported function png_memcpy() from example.c. Fixed
the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had
become misaligned.
2011-12-28 21:34:27 -06:00
Gilles Espinasse
f87ef8bcb5
[ibpng16] Moved AC_MSG_CHECKING([if libraries can be versioned]) later
...
to the proper location in configure.ac (Gilles Espinasse).
2011-12-26 13:10:01 -06:00
John Bowler
5d56786eff
[libpng16] Implemented 'restrict' for png_info and png_struct.
...
Added new "png_structrp" typedef. Because of the
way libpng works both png_info and png_struct are always accessed via a
single pointer. This means adding C99 'restrict' to the pointer gives
the compiler some opportunity to optimize the code. This change allows that.
2011-12-24 09:12:00 -06:00
Glenn Randers-Pehrson
939310bac1
[libpng16] Update CHANGES and ANNOUNCE
2011-12-24 08:27:41 -06:00
John Bowler
29fca0d497
[libpng16] Enabled png_get_sCAL_fixed() if floating point APIs are enabled.
...
Previously it was disabled whenever internal fixed point arithmetic was
selected, which meant it didn't exist even on systems where FP was available
but not preferred.
2011-12-24 07:57:43 -06:00
John Bowler
df477e4652
[libpng16] Eliminated png_info_destroy. It is now used only in png.c
...
and only calls one other internal function and memset.
2011-12-24 07:47:02 -06:00
Glenn Randers-Pehrson
67ee8cee39
[libpng16] bump version to 1.6.0beta04
2011-12-22 08:34:26 -06:00
Glenn Randers-Pehrson
28d9339777
[libpng16] Imported from libpng-1.6.0beta03.tar
2011-12-22 08:14:43 -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
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
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
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
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
Glenn Randers-Pehrson
b72bc15e22
[libpng16] Added entry in CHANGES and ANNOUNCE about removing configure files.
2011-11-26 21:17:55 -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
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
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
e7ad104ac3
[libpng15] Reject invalid compression flag when reading the iTXt chunk.
2011-11-22 11:03:20 -06:00
Glenn Randers-Pehrson
8e83631361
[libpng15] Added MINGW support to CMakeLists.txt
2011-11-21 12:37:13 -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
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
Glenn Randers-Pehrson
36251d3f76
[libpng15] Bump version to libpng-1.5.7beta05
2011-11-17 21:39:58 -06:00
Glenn Randers-Pehrson
d92c1fcd55
[libpng15] Imported from libpng-1.5.7beta04.tar
2011-11-17 21:39:49 -06:00