Glenn Randers-Pehrson
c559bb58ed
[devel] Added PNG_WRITE_OPTIMIZE_CMF_SUPPORTED macro to make zlib "CMF"
...
optimization configureable.
2011-05-05 16:55:20 -05:00
John Bowler
88b77cc6f3
[devel] Remove png_snprintf, add formatted warning messages.
...
This change adds internal APIs to allow png_warning messages to have parameters
without requiring the host OS to implelment snprintf. As a side effect the
dependency of the RFC1132 code on stdio is removed and PNG_NO_WARNINGS does
actually work now.
2011-05-05 06:49:55 -05:00
John Bowler
8d4ce1fed5
[devel] Fixed 64-bit builds where png_uint_32 is smaller than png_size_t
2011-04-15 06:54:30 -05:00
Glenn Randers-Pehrson
61365b6d15
[devel] Removed "#if 1" and the matching "#endif"
2011-04-03 19:49:37 -05:00
Glenn Randers-Pehrson
6785856858
[devel] Optimize the zlib CMF byte in non-IDAT compressed chunks
2011-04-02 08:26:42 -05:00
Glenn Randers-Pehrson
e99107b1aa
[devel] Moved misplaced declarations
2011-04-02 05:49:03 -05:00
Glenn Randers-Pehrson
c3b3240a03
[devel] Improved the optimization of the zlib CMF byte
...
(see libpng-1.2.6beta03).
2011-04-01 22:10:41 -05:00
Glenn Randers-Pehrson
c683100e31
[devel] zlib text compression parameters fall back on non-IDAT parameters
...
except for strategy which defaults to the zlib default.
2011-04-01 15:24:18 -05:00
Glenn Randers-Pehrson
ec8296ab81
[devel] Relocated some comment lines in pngwutil.c
2011-04-01 15:09:05 -05:00
Glenn Randers-Pehrson
205483d592
[devel] Added PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
2011-04-01 12:33:42 -05:00
Glenn Randers-Pehrson
3bb8683a79
[devel] Only compile the new zlib re-initializing code when text or iCCP
...
is supported.
2011-04-01 08:12:24 -05:00
Glenn Randers-Pehrson
ee1369b853
[devel] Imported from libpng-1.5.3beta01.tar
2011-03-31 23:50:36 -05:00
Glenn Randers-Pehrson
f83783115f
[devel] Use a mode bit to avoid reopening the zstream except when necessary.
2011-03-31 22:06:04 -05:00
Glenn Randers-Pehrson
ed8aab4d85
[devel] Free zstream memory with deflateEnd before reinitializing it.
2011-03-31 21:33:39 -05:00
Glenn Randers-Pehrson
6b3d50b2cd
[devel] Re-initialize the zlib compressor before compressing non-IDAT chunks.
2011-03-31 20:14:29 -05:00
Glenn Randers-Pehrson
f5ea1b7095
[devel] Imported from libpng-1.5.0.tar
2011-01-06 06:45:07 -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
b3edc73afa
[devel] Changes to remove gcc warnings (John Bowler)
...
Certain optional gcc warning flags resulted in warnings in libpng code.
With these changes only -Wconversion and -Wcast-qual cannot be turned on.
Changes are trivial rearrangements of code. -Wconversion is not possible
for pngrutil.c (because of the widespread use of += et al on variables
smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
with pngwio.c and pngwutil.c because the 'write' callback and zlib
compression both fail to declare their input buffers with 'const'.
2010-11-21 14:06:41 -06:00
Glenn Randers-Pehrson
a581556b17
[master] Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
...
Moved reading of file signature into png_read_sig (Cosmin)
Fixed atomicity of chunk header serialization (Cosmin)
Added test for io_state in pngtest.c (Cosmin)
Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts.
2010-11-20 21:48:29 -06:00
Glenn Randers-Pehrson
ccadcae40b
[devel] Added whitespace in pngrutil.c, pngwtran.c, and pngwutil.c
2010-10-23 17:29:13 -05:00
Glenn Randers-Pehrson
f0eda4e8d7
[devel] Imported from libpng-1.5.0beta51.tar
2010-10-15 15:08:42 -05:00
Glenn Randers-Pehrson
7e1fabe2f7
[devel] Imported from libpng-1.5.0beta50.tar
2010-10-14 07:35:45 -05:00
Glenn Randers-Pehrson
d233287325
[devel] Removed space after (type cast).
2010-10-12 19:19:28 -05:00
Glenn Randers-Pehrson
1b49a71df4
[devel] Imported from libpng-1.5.0beta49.tar
2010-10-07 21:01:17 -05:00
Glenn Randers-Pehrson
83b4fc4af4
[devel] Imported from libpng-1.5.0beta48.tar
2010-10-04 23:06:09 -05:00
Glenn Randers-Pehrson
b0876110ca
[devel] Fixed problem with symbols creation in Makefile.am which was assuming
...
that CCP writes to standard output by default (Martin Banky).
2010-10-04 22:24:14 -05:00
Glenn Randers-Pehrson
bcb3aac3c5
[devel] Fixed a number of problems with 64-bit compilation reported by Visual
...
Studio 2010 (John Bowler).
2010-09-10 22:05:27 -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
7d3e6732fb
[devel] Added PNG_WRITE_16BIT_SUPPORTED option.
2010-08-26 17:14:07 -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
9b362b1e4f
[devel] Bump to version libpng-1.5.0beta45
2010-08-24 09:05:02 -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
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
363f96e717
[devel] Imported from libpng-1.5.0beta41.tar
2010-08-11 09:04:31 -05:00
Glenn Randers-Pehrson
836fe66e24
[devel] Imported from libpng-1.5.0beta40.tar
2010-08-06 06:57:32 -05:00
Glenn Randers-Pehrson
2c700f970c
[devel] Imported from libpng-1.5.0beta39.tar
2010-08-02 08:02:00 -05:00
Glenn Randers-Pehrson
bdabd8f75b
[devel] Bump to version libpng-1.5.0beta38
2010-07-31 07:17:30 -05:00
Glenn Randers-Pehrson
6c47e84d2e
[devel] Bump to version libpng-1.5.0beta36
2010-07-29 19:10:27 -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
915bab5fc7
[devel] Bump to version libpng-1.5.0beta35
2010-07-24 08:25:31 -05:00
Glenn Randers-Pehrson
39a8bb71d3
[devel] Imported from libpng-1.5.0beta34.tar
2010-07-12 06:45:23 -05:00
Glenn Randers-Pehrson
8f9de7acbd
[devel] Bump back to version libpng-1.5.0beta34
2010-07-06 07:46:10 -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
4db344230d
[devel] Imported from libpng-1.5.0beta32.tar
2010-06-25 20:18:44 -05:00
Glenn Randers-Pehrson
821b7106b2
[devel] Imported from libpng-1.5.0beta31.tar
2010-06-25 20:06:43 -05:00
Glenn Randers-Pehrson
ef3831a1fe
[devel] Imported from libpng-1.5.0beta30.tar
2010-06-25 20:06:40 -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
57d9617964
[devel] Imported from libpng-1.5.0beta28.tar
2010-06-25 20:06:35 -05:00
Glenn Randers-Pehrson
5b3d554e1e
[devel] Imported from libpng-1.5.0beta26.tar
2010-06-25 20:06:30 -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
537c1a5747
[devel] Imported from libpng-1.5.0beta24.tar
2010-05-07 09:55:50 -05:00
Glenn Randers-Pehrson
f24daf23a5
[devel] Added more blank lines for readability.
2010-05-06 09:44:04 -05:00
Glenn Randers-Pehrson
aa3143cf6f
[devel] Imported from libpng-1.5.0beta23.tar
2010-04-29 10:56:05 -05:00
Glenn Randers-Pehrson
34713ce23c
[devel] Fixed dependencies of GET_INT_32 - it doesn't require READ_INT_FUNCTIONS
...
because it has a macro equivalent.
2010-04-28 07:49:28 -05:00
Glenn Randers-Pehrson
deec549d9f
[devel] Imported from libpng-1.5.0beta21.tar
2010-04-26 22:51:22 -05:00
Glenn Randers-Pehrson
9c5beb56e3
[devel] Bump back to version libpng-1.5.0beta21
2010-04-24 20:35:28 -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
3cd7cffd0c
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-16 19:28:42 -05:00
Glenn Randers-Pehrson
c2fa196d14
[devel] Imported from libpng-1.5.0beta16.tar
2010-04-01 07:19:17 -05:00
Glenn Randers-Pehrson
b2eacd3e1f
[devel] Imported from libpng-1.5.0beta15.tar
2010-03-17 07:33:10 -05:00
Glenn Randers-Pehrson
4a215541e7
[devel] Imported from libpng-1.5.0beta14.tar
2010-03-14 09:42:07 -05:00
Glenn Randers-Pehrson
c6fecfbaa5
[devel] Imported from libpng-1.5.0beta13.tar
2010-03-10 09:12:03 -06:00
Glenn Randers-Pehrson
86f88ddd53
[devel] Imported from libpng-1.5.0beta12.tar
2010-03-08 21:31:46 -06:00
Glenn Randers-Pehrson
c3cd22b404
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
...
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
2010-03-08 21:10:25 -06:00
Glenn Randers-Pehrson
aaf377c874
[devel] Bump to version libpng-1.5.0beta12
2010-03-08 11:21:39 -06:00
Glenn Randers-Pehrson
e4c706af54
[devel] Imported from libpng-1.5.0beta11.tar
2010-03-06 14:53:56 -06:00
Glenn Randers-Pehrson
16908a1d78
[devel] Make use of whitespace consistent in pngget.c and pngwutil.c
2010-03-06 07:34:28 -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
6a9e480512
[devel] Imported from libpng-1.5.0beta07.tar
2010-02-19 09:59:25 -06:00
Glenn Randers-Pehrson
7a5be53631
[devel] Imported from libpng-1.5.0beta06.tar
2010-02-14 07:18:23 -06:00
Glenn Randers-Pehrson
6e283234c9
[devel] Imported from libpng-1.5.0beta05.tar
2010-02-12 21:28:31 -06:00
Glenn Randers-Pehrson
f97953181a
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
...
and updated the "last change" comments to 1.5.0
2010-02-09 01:16:48 -06:00
Glenn Randers-Pehrson
b9a78bedee
[devel] Imported from libpng-1.5.0beta04.tar
2010-02-08 23:34:32 -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
67a83db98d
[devel] Imported from libpng-1.4.0rc08.tar
2010-01-01 18:32:13 -06:00
Glenn Randers-Pehrson
e69b55d9ac
[devel] Update copyright year to 2010
2010-01-01 10:29:06 -06:00
Glenn Randers-Pehrson
f81b50bf9d
[devel] Imported from libpng-1.4.0rc06.tar
2009-12-29 16:51:34 -06:00
Glenn Randers-Pehrson
dbcfb7151f
[devel] Imported from libpng-1.4.0rc04.tar
2009-12-25 14:27:23 -06:00
Glenn Randers-Pehrson
5265c3889c
[devel] Bump to version 1.4.0rc03
2009-12-22 09:10:46 -06:00
Glenn Randers-Pehrson
62ca98ef5e
[devel] Imported from libpng-1.4.0rc02.tar
2009-12-20 15:16:15 -06:00
Glenn Randers-Pehrson
addb84b1bc
[devel] Imported from libpng-1.4.0beta109.tar
2009-12-13 08:15:55 -06:00
Glenn Randers-Pehrson
0452bbcf84
[devel] Imported from libpng-1.4.0beta108.tar
2009-12-11 18:02:44 -06:00
Glenn Randers-Pehrson
03f9b02953
[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
...
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
2009-12-04 08:40:41 -06:00
Glenn Randers-Pehrson
e4b9fc28de
[devel] Imported from libpng-1.4.0beta106.tar
2009-11-27 00:28:34 -06:00
Glenn Randers-Pehrson
5a2015e146
[devel] Bump to version 1.4.0beta106
2009-11-26 11:46:24 -06:00
Glenn Randers-Pehrson
d23f2b2845
[devel] Imported from libpng-1.4.0beta105.tar
2009-11-24 22:14:21 -06:00
Glenn Randers-Pehrson
bbd20f0a74
[devel] Imported from libpng-1.4.0beta104.tar
2009-11-21 21:51:28 -06:00
Glenn Randers-Pehrson
931400bd04
[devel] Imported from libpng-1.4.0beta103.tar
2009-11-20 22:58:48 -06:00
Glenn Randers-Pehrson
311c8476f8
[devel] Bump to version 1.4.0beta103
2009-11-20 09:46:59 -06:00
Glenn Randers-Pehrson
cd7d63a805
[devel] Imported from libpng-1.4.0beta102.tar
2009-11-18 10:31:31 -06:00
Glenn Randers-Pehrson
ac18f8a706
[devel] Bump to version 1.4.0beta102
2009-11-14 21:52:06 -05:00
Glenn Randers-Pehrson
b612eee957
[devel] Imported from libpng-1.4.0beta99.tar
2009-11-14 05:45:49 -06:00
Glenn Randers-Pehrson
fa557347ba
[devel] Imported from libpng-1.4.0beta97.tar
2009-11-12 20:04:58 -06:00
Glenn Randers-Pehrson
bdbade92a7
[devel] Bump to version 1.4.0beta96
2009-11-12 06:24:42 -06:00
Glenn Randers-Pehrson
fd10753fd8
[devel] Imported from libpng-1.4.0beta95.tar
2009-11-10 06:11:41 -06:00
Glenn Randers-Pehrson
17ca34034b
[devel] Imported from libpng-1.4.0beta94.tar
2009-11-09 06:56:01 -06:00
Glenn Randers-Pehrson
047c34b734
[devel] Bump to version bump-to-1.4.0beta93.tar
2009-11-07 10:44:30 -06:00
Glenn Randers-Pehrson
649f741e71
[devel] Imported from libpng-1.4.0beta92.tar
2009-11-04 19:03:57 -06:00
Glenn Randers-Pehrson
555126e06f
[devel] Imported from libpng-1.4.0beta91.tar
2009-11-03 06:52:48 -06:00