Glenn Randers-Pehrson
26a94ab06f
[libpng16] Imported from libpng-1.6.13rc01.tar
2014-08-13 22:08:01 -05:00
Glenn Randers-Pehrson
83fb26e38d
[libpng16] Bump version to 1.6.13beta05
2014-08-07 20:00:00 -05:00
Glenn Randers-Pehrson
ff649a0710
[libpng16] Eliminated use of "$<" when copying $PNGLIBCONF_H_PREBUILT in
...
makefiles. This does not work on some versions of make; bug introduced in
libpng version 1.6.11.
2014-08-07 19:51:35 -05:00
Glenn Randers-Pehrson
389e5cbabf
[libpng16] Removed mention of makefile.elf from scripts/README.txt
2014-08-03 19:53:45 -05:00
Glenn Randers-Pehrson
72e25f9583
[libpng16] Bump version to 1.6.13beta04
2014-08-02 21:32:49 -05:00
Glenn Randers-Pehrson
a243ec06b0
[libpng16] Imported from libpng-1.6.13beta03.tar
2014-08-02 21:28:14 -05:00
Glenn Randers-Pehrson
37c3b082a7
[libpng16] Ensure that CMakeLists.txt makes the target "lib" directory before
...
making symbolic link into it (SourceForge bug report #226 by Rolf Timmermans).
2014-07-30 08:15:26 -05:00
Glenn Randers-Pehrson
5e6931e10a
[libpng16] Removed makefile.elf; it has not worked since libpng-1.5.0beta14.
2014-07-29 07:43:13 -05:00
Glenn Randers-Pehrson
0ece631b37
[libpng16] Bump version to 1.6.13beta03
2014-07-21 17:21:30 -05:00
Glenn Randers-Pehrson
071a17f194
[libpng16] Fixed an incorrect separator ("/" should be "\") in
...
scripts/makefile.vcwin32 (bug report from Wolfgang S. Kechel). Bug was
introduced in libpng-1.6.11. Also fixed makefile.bc32, makefile.bor,
makefile.msc, makefile.intel, and makefile.tc3 similarly.
2014-07-21 11:31:50 -05:00
Glenn Randers-Pehrson
398b00734c
[libpng16] Bump version to 1.6.13beta02
2014-07-04 12:32:40 -05:00
Glenn Randers-Pehrson
91319c67d5
[libpng16] Imported from libpng-1.6.13beta01.tar
2014-07-04 12:13:59 -05:00
John Bowler
910aaadddb
[libpng16] Fixed clang no-warning builds: png_digit was defined but never used.
2014-06-24 19:38:41 -05:00
Glenn Randers-Pehrson
fc932f7b03
[libpng16] Changed "if defined(__ARM_NEON__)" to
...
"if defined(__ARM_NEON__) || defined(__ARM_NEON)" (James Wu).
2014-06-24 13:07:39 -05:00
John Bowler
83ae6fc266
[libpng16] Added "PNG_SET_OPTION" requirement for sRGB chunk support to
...
pnglibconf.dfa, needed for write-only support (John Bowler).
2014-06-22 11:23:07 -05:00
Glenn Randers-Pehrson
33ebeec0b5
[libpng16] Split a long output string in contrib/gregbook/rpng2-x.c.
2014-06-13 15:34:36 -05:00
Glenn Randers-Pehrson
151eb95305
[libpng16] Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
...
compiler complaints about unused pointers.
2014-06-13 12:04:54 -05:00
Glenn Randers-Pehrson
f36a94207c
[libpng16] Quieted -Wsign-compare and -Wclobber compiler warnings in
...
contrib/pngminus/*.c
2014-06-13 11:06:33 -05:00
Glenn Randers-Pehrson
212fd5745d
[libpng16] Bump version to 1.6.13beta01
2014-06-11 21:13:33 -05:00
Glenn Randers-Pehrson
e429c66cea
[libpng16] Imported from libpng-1.6.12.tar
2014-06-11 20:41:51 -05:00
Glenn Randers-Pehrson
1a4c0144da
[libpng16] Bump version to 1.6.12rc04
2014-06-08 12:10:04 -05:00
Glenn Randers-Pehrson
db1a0e763f
[libpng16] Imported from libpng-1.6.12rc03.tar
2014-06-07 22:46:46 -05:00
Glenn Randers-Pehrson
41694dcaea
[libpng16] Ensure "__has_attribute()" macro exists before trying to use it with
...
old clang compilers (MacPorts Ticket #43939 ).
2014-06-07 22:27:44 -05:00
Glenn Randers-Pehrson
79b7e4e621
[libpng16] Changed file permissions of contrib/tools/intgamma.sh from
...
0644 to 0755 (Cosmin).
2014-06-07 14:47:02 -05:00
Glenn Randers-Pehrson
b41a37d403
[libpng16] Imported from libpng-1.6.12rc01.tar
2014-06-06 18:31:35 -05:00
Glenn Randers-Pehrson
b7afba6a0b
[libpng16] Relocated new code from 1.6.11beta06 in png.c to a point after the
...
declarations (Max Stepin).
2014-06-06 12:07:07 -05:00
Glenn Randers-Pehrson
da7b692ce0
[libpng16] Bump version to 1.6.12beta01
2014-06-06 11:57:30 -05:00
Glenn Randers-Pehrson
c4e0f3de64
[libpng16] Imported from libpng-1.6.11.tar
2014-06-05 10:00:45 -05:00
Glenn Randers-Pehrson
ee6050ecb4
[libpng16] Imported from libpng-1.6.11rc02.tar
2014-06-03 22:02:34 -05:00
Glenn Randers-Pehrson
165f072144
[libpng16] Imported from libpng-1.6.11rc01.tar
2014-05-27 11:15:53 -05:00
Glenn Randers-Pehrson
7acfe50855
[libpng16] Bump version to 1.6.11beta07
2014-05-19 21:20:05 -05:00
Glenn Randers-Pehrson
5808e7b8c8
[libpng16] Imported from libpng-1.6.11beta06.tar
2014-05-19 21:11:36 -05:00
Glenn Randers-Pehrson
d1c5f48c05
[libpng16] Minor update to documentation and CHANGES/ANNOUNCE files.
2014-05-09 21:06:27 -05:00
Glenn Randers-Pehrson
e95ce2c517
[libpng16] Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
2014-05-07 12:07:12 -05:00
Glenn Randers-Pehrson
0d5ac5d809
[libpng16] Bump version to 1.6.11beta06
2014-04-26 06:41:54 -05:00
Glenn Randers-Pehrson
f30aa7ed92
[libpng16] Imported from libpng-1.6.11beta05.tar
2014-04-26 06:36:40 -05:00
Glenn Randers-Pehrson
ab9736a647
[libpng16] Allow writing ICC V2 profiles that lack padding (Kai-Uwe Behrmann).
2014-04-25 06:14:50 -05:00
Glenn Randers-Pehrson
5a1d1b5369
[libpng16] Do not reject ICC V2 profiles that lack padding (Kai-Uwe Behrmann).
2014-04-24 15:54:28 -05:00
Glenn Randers-Pehrson
d5201df56b
[libpng16] Bump version to 1.6.11beta05
2014-04-20 20:23:13 -05:00
Glenn Randers-Pehrson
0ace9f589f
[libpng16] PNG_sRGB_PROFILE_CHECKING = (-1) now means no sRGB profile checking.
2014-04-20 20:06:14 -05:00
Glenn Randers-Pehrson
72855fb11e
[libpng16] Made progressive reading of interlaced images consistent with the
...
behavior of the sequential reader and consistent with the manual. The
row_callback now receives the proper pass number and unexpanded rows,
when png_combine_row is not used or not built, by moving some code
out of the PNG_READ_INTERLACING_SUPPORTED blocks.
2014-04-13 21:27:25 -05:00
Glenn Randers-Pehrson
9f1aa186e6
[libpng16] Added two CVE numbers to the January 2013 entry in the CHANGES file.
2014-04-10 16:46:35 -05:00
Glenn Randers-Pehrson
7a0ca967b4
[libpng16] Bump version to 1.6.11beta04
2014-04-06 14:18:13 -05:00
Glenn Randers-Pehrson
f169806b7b
[libpng16] Bump version to 1.6.11beta03
2014-04-06 10:20:44 -05:00
Glenn Randers-Pehrson
fa26eb1678
[libpng16] Fixed a typo in pngrutil.c, introduced in libpng-1.5.6, that
...
interferes with "blocky" expansion of sub-8-bit interlaced PNG files.
2014-04-06 09:06:37 -05:00
Glenn Randers-Pehrson
d17313e075
[libpng16] Bump version to 1.6.11beta03
2014-03-25 17:10:53 -05:00
Glenn Randers-Pehrson
6b570f11e1
[libpng16] Imported from libpng-1.6.11beta02.tar
2014-03-25 17:10:44 -05:00
Cosmin Truta
9ab7b4ca58
[libpng16] Allow an easy replacement of the default pre-built configuration
...
header with a custom header, via the make PNGLIBCONF_H_PREBUILT
macro.
2014-03-22 13:13:11 -05:00
Cosmin Truta
ae6eaa89e5
[libpng16] Don't warn about invalid dimensions exceeding user limits.
2014-03-22 09:39:33 -05:00
Cosmin Truta
82200daec2
[libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead
...
of 'cp' where applicable, and applied other minor makefile changes.
2014-03-22 09:29:59 -05:00
Cosmin Truta
6572c7dab5
[libpng16] Silence 'unused parameter' build warnings (Cosmin).
2014-03-22 09:20:53 -05:00
Glenn Randers-Pehrson
a518abd582
[libpng16] Removed #if/#else/#endif from inside two pow() calls in pngvalid.c
...
because they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
when using its "__builtin_pow()" function.
2014-03-17 15:29:25 -05:00
Glenn Randers-Pehrson
23646318e4
[libpng16] Bump version to 1.6.11beta02
2014-03-17 13:21:33 -05:00
Glenn Randers-Pehrson
7017c4078d
[libpng16] Revised INSTALL and libpng-manual.txt
2014-03-16 20:29:11 -05:00
Glenn Randers-Pehrson
2f5fb84cc4
[libpng16] Updated the manual and moved part of it to the INSTALL file.
2014-03-16 15:30:35 -05:00
Glenn Randers-Pehrson
33e2bd910f
[libpng16] Changed ZlibSrcDir from 1.2.5 to 1.2.8 in projects/vstudio.
2014-03-09 18:37:06 -05:00
Glenn Randers-Pehrson
05670156f3
[libpng16] Use "if (value != 0)" instead of "if (value)" consistently.
2014-03-08 12:39:52 -06:00
Glenn Randers-Pehrson
71d23c4d6e
[libpng16] Bump version to 1.6.11beta01
2014-03-06 21:09:24 -06:00
Glenn Randers-Pehrson
4df37bfa4f
[libpng16] Imported from libpng-1.6.10.tar
2014-03-06 12:49:17 -06:00
Glenn Randers-Pehrson
c540d8bed7
[libpng16] Bump version to 1.6.10rc04
2014-03-03 20:26:56 -06:00
Glenn Randers-Pehrson
6e8ba0fab6
[libpng16] Un-deprecated png_data_freer().
2014-03-03 20:17:01 -06:00
Glenn Randers-Pehrson
b3a765066f
[libpng16] Updated CHANGES and ANNOUNCE to libpng-1.6.10rc02.
2014-02-27 22:48:08 -06:00
Glenn Randers-Pehrson
b8f433417f
[libpng16] Removed unreachable return statement after png_chunk_error()
...
in pngrutil.c
2014-02-27 12:12:54 -06:00
Glenn Randers-Pehrson
53c60fa94b
[libpng16] Bump version to 1.6.10rc01
2014-02-27 08:37:51 -06:00
Glenn Randers-Pehrson
3455238a4e
[libpng16] Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS
...
-> CPPFLAGS and PNG_USR_CONFIG -> PNG_USER_CONFIG).
2014-02-26 22:08:58 -06:00
Glenn Randers-Pehrson
9f0ac8548b
[libpng16] Mention CERT VU#684412 and CVE-2014-0333 in CHANGES and ANNOUNCE.
2014-02-25 12:00:58 -06:00
Glenn Randers-Pehrson
2fff8078dc
[libpng16] Bump version to 1.6.10beta04
2014-02-24 21:02:54 -06:00
Glenn Randers-Pehrson
be040c98f8
[libpng16] Moved some documentation from png.h to libpng.3 and libpng-manual.txt
...
and minor editing of contrib/arm-neon/README and contrib/examples/*.c
2014-02-24 18:48:03 -06:00
Glenn Randers-Pehrson
1301356273
[libpng16] Bump version to 1.6.10beta03
2014-02-22 23:20:23 -06:00
Glenn Randers-Pehrson
45625eceb4
[libpng16] Don't recognize known sRGB profiles as sRGB if they have been hacked,
...
but don't reject them and don't issue a copyright violation warning.
Simplified code in pngrutil.c that decides whether to warn about an
incorrect ancillary PLTE chunk.
2014-02-22 23:09:27 -06:00
Glenn Randers-Pehrson
e3ae583514
[libpng16] Don't recognize known sRGB profiles as sRGB if they have been hacked.
2014-02-22 22:22:15 -06:00
Glenn Randers-Pehrson
eb657ae68f
[libpng16] Added png_ptr->process_mode = PNG_READ_IDAT_MODE in
...
png_push_read_chunk after recognizing the IDAT chunk, which avoids an
infinite loop while reading a datastream whose first IDAT chunk is of
zero-length.
2014-02-22 21:59:40 -06:00
Glenn Randers-Pehrson
f5df058bee
[libpng16] Use a user warning handler in contrib/gregbook/readpng2.c
...
instead of the default.
2014-02-22 07:15:48 -06:00
Glenn Randers-Pehrson
dd6679dce8
[libpng16] Check for __has_extension before using it in pngconf.h, to
...
support older Clang versions (Jeremy Sequoia).
2014-02-20 07:06:59 -06:00
Glenn Randers-Pehrson
9c5a1baea5
[libpng16] Check for info_ptr == NULL early in png_read_end() so we don't need
...
to run all the png_handle_*() and depend on them to return if info_ptr == NULL.
This improves the performance of png_read_end(png_ptr, NULL) and makes
it more robust against future programming errors.
2014-02-17 09:12:52 -06:00
John Bowler
dba54b8888
[libpng16] Moved OS dependent code from arm/arm_init.c, to allow the included
...
implementation of the ARM NEON discovery function to be set at
build-time and provide sample implementations from the current code in the
contrib/arm-neon subdirectory. The __linux__ code has also been changed to
compile and link on Android by using /proc/cpuinfo, and the old linux code
is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
dependencies apart from opening /proc/cpuinfo and is C90 compliant.
2014-02-16 14:00:06 -06:00
Glenn Randers-Pehrson
103b04170d
[libpng16] Moved redefines of png_error(), png_warning(), png_chunk_error(),
...
and png_chunk_warning() from pngpriv.h to png.h to make them visible
to libpng-calling applications.
2014-02-16 08:34:41 -06:00
Glenn Randers-Pehrson
e40e37018d
[libpng16] Bump version to 1.6.10beta02
2014-02-09 13:14:20 -06:00
Glenn Randers-Pehrson
9eec159ab0
[libpng16] Imported from libpng-1.6.10beta01.tar
2014-02-09 13:00:23 -06:00
John Bowler
414d7b5f7d
[libpng16] Backport recent changes from libpng-1.7.0beta30 and beta31.
2014-02-06 11:39:25 -06:00
Glenn Randers-Pehrson
8a227ff25a
[libpng16] Bump version to 1.6.10beta01
2014-02-05 23:51:39 -06:00
Glenn Randers-Pehrson
3e753eb8b2
[libpng16] Imported from libpng-1.6.9.tar
2014-02-05 22:33:56 -06:00
Glenn Randers-Pehrson
b91528db20
[libpng16] Quiet an uninitialized memory warning from VC2013 in png_get_png().
2014-01-30 15:02:18 -06:00
Glenn Randers-Pehrson
2f1dede991
[libpng16] Imported from libpng-1.6.9rc01.tar
2014-01-28 11:35:50 -06:00
Glenn Randers-Pehrson
5af0307f11
[libpng16] Imported from libpng-1.6.9beta04.tar
2014-01-20 13:14:40 -06:00
Glenn Randers-Pehrson
bda94b1005
[libpng16] Added clang attribute support (Cosmin).
2014-01-13 21:16:17 -06:00
Glenn Randers-Pehrson
4250328102
[libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
2014-01-12 10:49:40 -06:00
Glenn Randers-Pehrson
bb6e0a2db3
[libpng16] Bump version to 1.6.9beta04
2014-01-10 10:36:59 -06:00
Glenn Randers-Pehrson
88cf760b07
[libpng16] Removed potentially misleading warning from png_check_IHDR().
2014-01-10 06:18:31 -06:00
Glenn Randers-Pehrson
4ea97d8bc7
[libpng16]Revised png_check_IHDR() to use PNG_SIZE_MAX instead of
...
PNG_UINT_32_MAX in the test for potential overflow in PNG_ROWBYTES.
2014-01-09 20:13:31 -06:00
Glenn Randers-Pehrson
bc79c250e9
[libpng16] Bump version to 1.6.9beta03
2014-01-01 10:54:18 -06:00
Glenn Randers-Pehrson
3cc9e8ff96
[libpng16] Imported from libpng-1.6.9beta02.tar
2014-01-01 10:18:42 -06:00
John Bowler
d0479d24a0
[libpng16] Allow unversioned links created on install to be disabled in
...
configure. In configure builds 'make install' changes/adds links like png.h
and libpng.a to point to the newly installed, versioned, files (e.g.
libpng17/png.h and libpng17.a). Three new configure options and some
rearrangement of Makefile.am allow creation of these links to be disabled.
2013-12-29 19:31:56 -06:00
John Bowler
1fc0171278
[libpng16] Revised pngvalid.c to support libpng 1.5, which does not support the
...
PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in
pngvalid.c
2013-12-29 15:09:28 -06:00
John Bowler
a8472470a4
[libpng16] Merged libpng-1.7.0 changes to make no-interlace configurations work
...
with test programs.
2013-12-29 10:50:51 -06:00
Glenn Randers-Pehrson
88ecac68be
[libpng16] Merged pngrio.c, pngtrans.c, pngwio.c, and pngerror.c
...
with libpng-1.7.0
2013-12-28 12:52:59 -06:00
Glenn Randers-Pehrson
e51ba2eff4
[libpng16] Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
2013-12-27 20:22:24 -06:00
John Bowler
a80e864faa
[libpng16] Merged with pngvalid.c from libpng-1.7 changes to create a single
...
pngvalid.c
2013-12-27 08:43:55 -06:00
John Bowler
1d3c990425
[libpng16] Added checks for libpng 1.5 to pngvalid.c. This supports the use of
...
this version of pngvalid in libpng 1.5
2013-12-27 08:14:06 -06:00
Glenn Randers-Pehrson
79f0ba499f
[libpng16] Fixed typo in CHANGES and ANNOUNCE (autoconf version 2.69, not 2.59)
2013-12-26 15:00:49 -06:00
Glenn Randers-Pehrson
4568762d28
[libpng16] Bump version to 1.6.9beta02
2013-12-26 11:40:31 -06:00
Glenn Randers-Pehrson
0740c62700
[libpng16] Imported from libpng-1.6.9beta01.tar
2013-12-26 11:27:02 -06:00
Glenn Randers-Pehrson
38f49403bd
[libpng16] Update "last changed" dates in recently-patched files.
2013-12-22 15:04:00 -06:00
John Bowler
8f1150eb75
[libpng16] Made transform implementation functions static. This makes the
...
internal functions called by png_do_{read|write}_transformations static. On an
x86-64 DLL build (Gentoo Linux) this reduces the size of the text
segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
maintenance by removing the declarations from pngpriv.h and allowing
easier changes to the internal interfaces.
2013-12-19 15:33:49 -06:00
John Bowler
c10930a4fc
[libpng16] Bookkeeping: Moved functions around (no changes). Moved transform
...
function definitions before the place where they are called so that
they can be masde static. Move the intrapixel functions and the
grayscale palette builder out of the png?tran.c files. The latter
isn't a transform function and is no longer used internally, and the
former MNG specific functions are better placed in pngread/pngwrite.c
2013-12-19 15:24:06 -06:00
Glenn Randers-Pehrson
bff81bdddc
[libpng16] Bump version to 1.6.9beta01
2013-12-19 15:18:07 -06:00
Glenn Randers-Pehrson
be3977de2c
[libpng16] Imported from libpng-1.6.8.tar
2013-12-19 09:11:01 -06:00
Glenn Randers-Pehrson
67f101e6c9
[libpng16] Imported from libpng-1.6.8rc02.tar
2013-12-14 12:42:36 -06:00
Glenn Randers-Pehrson
b6f0a641cb
[libpng16] Imported from libpng-1.6.8rc01.tar
2013-12-11 23:28:18 -06:00
John Bowler
81dfd007b2
[libpng16] Tidied up pngfix inits and fixed non-write pngtest.
2013-12-01 15:20:15 -06:00
Glenn Randers-Pehrson
84092bbf29
[libpng16] Bump version to 1.6.8beta03
2013-11-30 09:12:33 -06:00
Glenn Randers-Pehrson
1658e602c6
[libpng16] Imported from libpng-1.6.8beta02.tar
2013-11-30 09:12:23 -06:00
Glenn Randers-Pehrson
83b132f14d
[libpng16] Changed deprecated png_free_default() to free() in pngtest.c
...
Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
to '"%s" m' to improve portability among compilers.
2013-11-28 16:33:27 -06:00
Glenn Randers-Pehrson
1f63da349b
[libpng16] Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
...
to '"%s" m' to improve portability among compilers.
Changed png_free_default() to free() in pngtest.c
2013-11-28 13:41:10 -06:00
Glenn Randers-Pehrson
3f8a2ed600
[libpng16] Removed or marked PNG_UNUSED some harmless "dead assignments"
...
reported by clang scan-build.
2013-11-25 10:38:21 -06:00
Glenn Randers-Pehrson
d56af331e1
[libpng16] Bump version to 1.6.8beta02
2013-11-23 18:59:14 -06:00
Glenn Randers-Pehrson
1c6e5f8caa
[libpng16] Imported from libpng-1.6.8beta01.tar
2013-11-23 18:41:43 -06:00
John Bowler
0f6303301f
[libpng16] Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
...
This reverts to the previous 'static' implementation and works round
the 'unused static function' warning by using PNG_UNUSED().
2013-11-22 18:49:58 -06:00
Glenn Randers-Pehrson
503a49458b
[libpng16] Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
2013-11-22 15:16:04 -06:00
Glenn Randers-Pehrson
c912050a7b
[libpng16] Fixed 'minimal' builds. Various obviously useful minimal
...
configurations don't build because of missing contrib/libtests test programs
and overly complex dependencies in scripts/pnglibconf.dfa. This change adds
contrib/conftest/*.dfa files that can be used in automatic build
scripts to ensure that these configurations continue to build.
2013-11-22 14:58:04 -06:00
Glenn Randers-Pehrson
113213416c
[libpng16] Conditionally compile some unused functions reported by -Wall
...
in pngminim.
2013-11-18 20:12:24 -06:00
Glenn Randers-Pehrson
bd757acf26
[libpng16] Reverted change of ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
...
to PNG_SET_UNKNOWN_SUPPORTED in pngpread.c; it led to the possibility of
calling png_handle_unknown() twice.
2013-11-18 18:40:39 -06:00
Glenn Randers-Pehrson
a7f0bcb3a6
[libpng16] Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
2013-11-18 17:07:26 -06:00
Glenn Randers-Pehrson
7976b3c3e3
[libpng16] Moved prototype for png_handle_unknown() in pngpriv.h outside of
...
the #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED/#endif block.
Removed recently-added #ifdef from pngpread.c; moving the prototype
in pngpriv.h fixed the compiler warning that the #ifdef was trying
to solve.
2013-11-18 11:38:42 -06:00
Glenn Randers-Pehrson
416bb9320f
[libpng16] Added #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpread.c
2013-11-17 11:06:50 -06:00
Glenn Randers-Pehrson
f2b8961f58
[libpng16] Bump version to 1.6.8beta01
2013-11-14 13:17:57 -06:00
Glenn Randers-Pehrson
cf247ebffe
[libpng16] Update version number in CHANGES file.
2013-11-14 12:51:15 -06:00
Glenn Randers-Pehrson
0ea69cdfa9
[libpng16] Imported from libpng-1.6.7.tar
2013-11-14 12:28:05 -06:00
Glenn Randers-Pehrson
8bf54399a3
[libpng16] Bump version to 1.6.7rc03
2013-11-07 08:15:38 -06:00
Glenn Randers-Pehrson
4da9d314bc
[libpng16] Imported from libpng-1.6.7rc02.tar
2013-11-07 08:15:30 -06:00
John Bowler
08b0620202
[libpng16] Fixed #include in filter_neon_intrinsics.c and ctype macros. The
...
ctype char checking macros take an unsigned char argument, not a signed char.
2013-11-04 13:44:37 -06:00
Glenn Randers-Pehrson
dee5a914fc
[libpng16] Bump version to 1.6.7rc02
2013-11-02 16:49:53 -05:00
Glenn Randers-Pehrson
d2d09e5bf9
[libpng16] Imported from libpng-1.6.7rc01.tar
2013-11-02 15:48:28 -05:00
Glenn Randers-Pehrson
03eafe24ed
[libpng16] Bump version to 1.6.7beta05
2013-10-26 11:52:05 -05:00
Glenn Randers-Pehrson
e9a8fb8d07
[libpng16] Imported from libpng-1.6.7beta04.tar
2013-10-26 11:51:56 -05:00
John Bowler
fd8bba4b80
[libpng16] Changed NEON implementation selection mechanism to allow assembler
...
or intrinsics to be turned on during the build by defining
PNG_ARM_NEON_IMPLEMENTATION to the correct value (2 or 1). The
default is "undefined" and the build type is selected in pngpriv.h.
2013-10-25 16:11:57 -05:00
John Bowler
bb9adfdad9
[libpng16] Allow clang derived from older GCC versions to use ARM intrinsics.
2013-10-24 07:45:27 -05:00
Glenn Randers-Pehrson
393d3c8285
[libpng16] Updated CHANGES comment about enabling ARMv8 code
...
We use -mfpu=neon instead of a configuration flag.
2013-10-19 09:34:54 -05:00
Glenn Randers-Pehrson
9450ffb26d
[libpng16] Bump version to 1.6.7beta04
2013-10-19 09:06:07 -05:00
Glenn Randers-Pehrson
ed049010b1
[libpng16] Imported from libpng-1.6.7beta03.tar
2013-10-19 09:05:59 -05:00
John Bowler
db9d96840d
[libpng16] Cleaned up ARM NEON compilation handling. The tests are now in
...
pngpriv.h and detect the broken GCC compilers.
2013-10-18 15:28:00 -05:00
John Bowler
9e9977e153
[libpng16] Revised pngvalid to generate size images with as many filters as
...
it can manage, limited by the number of rows.
2013-10-17 08:23:13 -05:00
Glenn Randers-Pehrson
063eb1b497
[libpng16] Added ARMv8 support (James Yu <james.yu at linaro.org>). Added file
...
arm/filter_neon_intrinsics.c; enable with configuration flag
PNG_ARM_NEON_INTRINSICS.
2013-10-14 11:14:36 -05:00
Glenn Randers-Pehrson
0e036921aa
[libpng16] Bump version to 1.6.7beta03
2013-10-13 13:48:11 -05:00
Glenn Randers-Pehrson
e827fa24a0
[libpng16] Imported from libpng-1.6.7beta02.tar
2013-10-13 11:47:41 -05:00
John Bowler
34ac3691cb
[libpng16] Make autogen.sh work with automake 1.13 as well as 1.14. Do this
...
by always removing the 1.14 'compile' script but never checking for it.
2013-10-06 11:29:55 -05:00
John Bowler
236e105170
[libpng16] Simplified error message code in pngunknown. The simplification has
...
the useful side effect of avoiding a bogus warning generated by the latest
version of the Intel C compiler (it objects to
condition ? string-literal : string-literal).
2013-10-04 20:28:33 -05:00
John Bowler
5b1df53a82
[libpng16] Cleaned up (char*) casts of zlib messages. The latest version of
...
the Intel C compiler complains about casting a string literal as (char*), so
copied the treatment of z_const from the library code into pngfix.c
2013-10-04 20:13:17 -05:00
John Bowler
940b37b197
[libpng16] Made changes for compatibility with automake 1.14:
...
1) Added the 'compile' program to the list of programs that must be cleaned
in autogen.sh
2) Added 'subdir-objects' which causes .c files in sub-directories to be
compiled such that the corresponding .o files are also in the
sub-directory. This is because automake 1.14 warns that the
current behavior of compiling to the top level directory may be removed
in the future.
3) Updated dependencies on pnglibconf.h to match the new .o locations and
added all the files in contrib/libtests and contrib/tools that depend
on pnglibconf.h
4) Added 'BUILD_SOURCES = pnglibconf.h'; this is the automake recommended
way of handling the dependencies of sources that are machine generated;
unfortunately it only works if the user does 'make all' or 'make check',
so the dependencies (3) are still required.
2013-10-04 19:56:19 -05:00
Glenn Randers-Pehrson
de723276e5
[libpng16] Bump version to 1.6.7beta02
2013-10-02 13:47:02 -05:00
John Bowler
8f381901e3
[libpng16] Avoid up-cast warnings in pngvalid.c. On ARM the alignment
...
requirements of png_modifier are greater than that of png_store and as a
consequence compilation of pngvalid.c results in a warning about increased
alignment requirements because of the bare cast to (png_modifier*). The code
is safe, because the pointer is known to point to a stack allocated
png_modifier, but this change avoids the warning.
Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was
compiled without the CHECK option it defaulted to on, not off.
Check user callback behavior in pngunknown.c. Previous versions compiled
if SAVE_UNKNOWN was not available but did nothing since the callback
was never implemented.
Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes
2013-09-30 11:24:17 -05:00
John Bowler
15a80443de
[libpng16] Allow HANDLE_AS_UNKNOWN to work when other options are configured
...
off. Also fixed the pngminim makefiles to work when $(MAKEFLAGS) contains stuff
which terminates the make options (as by default in recent versions of Gentoo).
2013-09-21 10:06:32 -05:00
Glenn Randers-Pehrson
6f8f004fe1
[libpng16] Added #ifdef PNG_READ_SUPPORTED/endif around the
...
png_chunk_unknown_handling() function, and restored the unknown-chunk
handling code from libpng-1.6.6.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe)
or to glennrp at users.sourceforge.net
Glenn R-P
2013-09-20 15:40:15 -05:00
Glenn Randers-Pehrson
873f16fe2f
[libpng16] Reverted the change to unknown handling #defines; the change
...
breaks 'NOREAD' builds.
2013-09-20 14:28:50 -05:00
Glenn Randers-Pehrson
7ae451f527
[libpng16] Bump version to 1.6.7beta01
2013-09-16 11:47:17 -05:00
Glenn Randers-Pehrson
391459424e
[libpng16] Imported from libpng-1.6.6.tar
2013-09-16 10:39:16 -05:00
Glenn Randers-Pehrson
53ae7dc514
[libpng16] Imported from libpng-1.6.5.tar
2013-09-14 09:44:09 -05:00
Glenn Randers-Pehrson
cd6a3ef31f
[libpng16] Bump version to 1.6.5beta01
2013-09-12 08:02:22 -05:00
Glenn Randers-Pehrson
209d3eb5c6
[libpng16] Imported from libpng-1.6.4.tar
2013-09-12 07:27:14 -05:00
Glenn Randers-Pehrson
d42dc54df5
[libpng16] Imported from libpng-1.6.4rc01.tar
2013-09-05 15:18:13 -05:00
Glenn Randers-Pehrson
877afaf17e
[libpng16] Bump version to 1.6.4beta03
2013-08-29 19:45:48 -05:00
Glenn Randers-Pehrson
8c49ddcf56
[libpng16] Imported from libpng-1.6.4beta02.tar
2013-08-29 19:39:34 -05:00
Glenn Randers-Pehrson
5680f5d6f2
[libpng16] Bump version to 1.6.4beta02
2013-08-21 18:59:09 -05:00
Glenn Randers-Pehrson
324402044f
[libpng16] Imported from libpng-1.6.4beta01.tar
2013-08-21 18:45:24 -05:00
Glenn Randers-Pehrson
685d79e27a
[libpng16] Delay calling png_init_filter_functions() until a row with nonzero
...
filter is found.
2013-08-20 21:15:31 -05:00
Glenn Randers-Pehrson
5881b11629
[libpng16] Bump version to 1.6.4beta01
2013-07-20 19:41:22 -05:00
Glenn Randers-Pehrson
847e9efb66
[libpng16] Imported from libpng-1.6.3.tar
2013-07-17 19:13:23 -05:00
Glenn Randers-Pehrson
bc8e40d611
[libpng16] Added "/* SAFE */" comments in pngrutil.c and pngrtran.c
...
where warnings may be erroneously issued by code-checking applications.
Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
2013-07-15 08:44:53 -05:00
Glenn Randers-Pehrson
b23afad4a1
[libpng16] Imported from libpng-1.6.3rc01.tar
2013-07-10 19:36:08 -05:00
Glenn Randers-Pehrson
f5d7f438e5
[libpng16] Imported from libpng-1.6.3beta10.tar
2013-07-04 20:19:47 -05:00
John Bowler
b4ec1f8451
[libpng16] Unified pngfix.c source with libpng17.
2013-07-02 23:47:57 -05:00
John Bowler
f5f1206778
[libpng16] Fixed undefined behavior in contrib/tools/pngfix.c and added new
...
strip option. pngfix relied on undefined behavior and even a simple change from
gcc to g++ caused it to fail. The new strip option 'unsafe' has been
implemented and is the default if --max is given. Option names have
been clarified, with --strip=transform now stripping the bKGD chunk,
which was stripped previously with --strip=unused.
Added all documented chunk types to pngpriv.h
2013-07-02 23:18:49 -05:00
John Bowler
497e7319f4
[libpng16] Only compile ARM code when PNG_READ_SUPPORTED is defined.
2013-07-02 22:57:40 -05:00
Glenn Randers-Pehrson
d5dd93f5d1
[libpng16] Updated documentation to show default behavior of benign errors
...
correctly.
2013-07-02 09:20:36 -05:00
Glenn Randers-Pehrson
7f9a49aa65
[libpng16] Bump version to 1.6.3beta10
2013-06-27 21:22:26 -05:00
Glenn Randers-Pehrson
d992e05da8
[libpng16] Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c
2013-06-27 13:39:20 -05:00
John Bowler
870beb5279
[libng16] Revised contrib/tools/png-fix-too-far-back.c to check all compressed
...
chunks known to libpng.
2013-06-27 11:49:26 -05:00
Glenn Randers-Pehrson
b0d97356ce
[libpng16] Revised example.c to illustrate use of PNG_DEFAULT_sRGB and
...
PNG_GAMMA_MAC_18 as parameters for png_set_gamma().
2013-06-25 19:36:15 -05:00
Glenn Randers-Pehrson
04d4e38ac2
[libpng16] Fix spelling of "doclifter" in CHANGES and ANNOUNCE
2013-06-18 15:09:47 -05:00
Glenn Randers-Pehrson
67a46d17d8
[libpng16] Bump version to 1.6.3beta09
2013-06-18 13:28:39 -05:00
Glenn Randers-Pehrson
bbc29a858d
[libpng16] Imported from libpng-1.6.3beta08.tar
2013-06-18 13:00:25 -05:00
Glenn Randers-Pehrson
3948b94700
[libpng16] Bump version to 1.6.3beta08
2013-06-08 17:03:37 -05:00
John Bowler
f260f6d156
[libpng16] Protect symbol prefixing against CC/CPPFLAGS/CFLAGS useage.
...
Previous iOS/Xcode fixes for the ARM NEON optimizations moved the test
on __ARM_NEON__ from configure time to compile time. This breaks symbol
prefixing because the definition of the special png_init_filter_functions
call was hidden at configure time if the relevant compiler arguments are
passed in CFLAGS as opposed to CC. This change attempts to avoid all
the confusion that would result by declaring the init function even when
it is not used, so that it will always get prefixed.
2013-06-08 13:13:53 -05:00
John Bowler
18dd07e3e6
[libpng16] Removed PNG_FILTER_OPTIMIZATIONS and PNG_ARM_NEON_SUPPORTED from
...
pnglibconf.h, allowing more of the decisions to be made internally
(pngpriv.h) during the compile. Without this, symbol prefixing is broken
under certain circumstances on ARM platforms. Now only the API parts of
the optimizations ('check' vs 'api') are exposed in the public header files
except that the new setting PNG_ARM_NEON_OPT documents how libpng makes the
decision about whether or not to use the optimizations.
2013-06-08 13:07:13 -05:00
John Bowler
aa22442a9c
[libpng16] Make ARM NEON support work at compile time (not just configure time).
...
This moves the test on __ARM_NEON__ into pngconf.h to avoid issues when
using a compiler that compiles for multiple architectures at one time.
2013-06-06 12:49:53 -05:00
Glenn Randers-Pehrson
4a43182924
[libpng16] Enclose the prototypes for the simplified write API in
2013-06-05 23:41:49 -05:00
John Bowler
1b9b970598
[libpng16] Deleted set(CMAKE_BUILD_TYPE) block from CMakeLists.txt
2013-06-05 11:41:44 -05:00
Glenn Randers-Pehrson
43f0311b57
[libpng16] Added set(CMAKE_CONFIGURATION_TYPES ...) to CMakeLists.txt
...
(Andrew Hundt)
2013-06-05 11:07:01 -05:00
Glenn Randers-Pehrson
421f95deb5
[libpng16] Removed a redundant test in png_set_IHDR().
2013-06-04 15:05:12 -05:00
Glenn Randers-Pehrson
cafa0eebb9
[libpng16] Bump version to 1.6.3beta07
2013-05-12 19:10:16 -05:00
Glenn Randers-Pehrson
afd6cecb76
[libpng16] Imported from libpng-1.6.3beta06.tar
2013-05-12 18:36:09 -05:00
Glenn Randers-Pehrson
61dbc4c608
[libpng16] Revised contrib/pngminim/*/makefile to generate pnglibconf.h
...
with the right zlib headers.
2013-05-09 22:01:06 -05:00
Glenn Randers-Pehrson
bb8d4f76f4
[libpng16] Cleaned up CHANGES and ANNOUNCE files.
2013-05-09 08:48:43 -05:00
Glenn Randers-Pehrson
b79c98e57c
[libpng16] Bump version to 1.6.3beta06
2013-05-09 08:03:40 -05:00
Glenn Randers-Pehrson
4ea93e69bc
[libpng16] Renamed pnginflate to png-fix-too-far-back in contrib/tools.
2013-05-08 21:57:00 -05:00
Glenn Randers-Pehrson
ff141eb21e
[libpng16] Renamed contrib/tools/fixitxt to contrib/tools/png-fix-itxt.
...
Added information in the documentation about problems with and fixes for
the bad CRC and bad iTXt chunk situations.
2013-05-08 19:46:10 -05:00
John Bowler
122bec17f2
[libpng16]Check ZLIB_VERNUM for mismatches, enclose #error in quotes
2013-05-08 14:35:21 -05:00
John Bowler
9afb90f885
[libpng16] Attempt to detect configuration issues with pngdeflate,
...
which requires both the correct libpng and the correct zlib to function
correctly.
2013-05-08 14:21:46 -05:00
Glenn Randers-Pehrson
3f2b5a6670
libpng16] Updated contrib/pngminus/pnm2png.c (Paul Stewart):
...
Fixed whitespace handling
Added a call to png_set_packing()
Initialize dimension values so if sscanf fails at least we have known
invalid values.
2013-05-08 10:09:19 -05:00
John Bowler
294d0b8408
[libpng16] Detect wrong libpng versions linked to pngdeflate, which currently
...
only works with libpng versions that can be made to reliably fail when
the deflate data contains an out-of-window reference. This means only
1.6 and later.
Fixed gnu issues: g++ needs a static_cast, gcc 4.4.7 has a broken warning
message which it is easier to work round than ignore.
2013-05-08 08:56:45 -05:00