Glenn Randers-Pehrson
0e06b5948c
[libpng16] Imported from libpng-1.6.35beta01.tar
2018-03-06 14:06:24 -06:00
Glenn Randers-Pehrson
3fecfeada1
Merge branch 'more-misc-typos' of git://github.com/luzpaz/libpng into libpng16
2018-03-05 11:18:16 -06:00
taigacon
140f3aa280
Fix png_set_option to work.
2018-03-05 22:10:41 +08:00
luz.paz
eb91c0e4ed
More misc. typos
...
found via `codespell-q 3`
please review
2018-02-09 06:57:29 -05:00
Glenn Randers-Pehrson
d5e4915ebe
[libpng16] Update copyright year to 2018 in png.c
2018-01-07 20:06:11 -06:00
Glenn Randers-Pehrson
fe669f6f38
[libpng16] Update copyright year
2018-01-07 19:55:19 -06:00
Glenn Randers-Pehrson
84e6e35675
[libpng16] Fix potential problem with bKGD (Cosmin Truta)
2018-01-07 17:43:09 -06:00
Glenn Randers-Pehrson
28d0ee757d
[libpng16] temporarily disable 16-to-8 downscaling in the fuzzer
2017-12-17 17:52:45 -06:00
Glenn Randers-Pehrson
f07b985ddb
[libpng16] CHange "ASM C" to "C ASM" in CMakelists.txt
2017-12-17 17:49:26 -06:00
Vadim Zeitlin
d532334ef5
Avoid -Wundef warnings when building libpng
...
Always define PNG_INTEL_SSE_OPT and PNG_INTEL_SSE_IMPLEMENTATION before
comparing them with 0.
2017-11-13 22:06:01 +01:00
Glenn Randers-Pehrson
fc32eb1662
[libpng16] Initialize entire 256-entry palette in png_set_PLTE().
2017-11-04 16:31:45 -05:00
Glenn Randers-Pehrson
7ca2f0e078
[libpng16] Fix one more typo
2017-11-03 11:31:39 -05:00
Glenn Randers-Pehrson
babae66b48
[libpng16] Update CHANGES and ANNOUNCE
2017-11-03 11:30:36 -05:00
Glenn Randers-Pehrson
3403a6e387
Merge branch 'typos' of git://github.com/luzpaz/libpng into libpng16
2017-11-03 10:57:27 -05:00
Glenn Randers-Pehrson
b196bd6566
[Libpng16] Add typecast to NULL argument to png_do_expand()
2017-11-03 10:50:38 -05:00
Unknown
f23b41d7b1
Misc. typos
...
Some are user facing. Some are in actual code. Most are in source comments. Also, please double check the changes in contrib/tools/pngfix.c
2017-11-03 00:52:06 -04:00
Glenn Randers-Pehrson
7125401411
[libpng16] Undo recent pngrutil.c change that did not fix oss-fuzz issue
2017-10-31 20:58:19 -05:00
Glenn Randers-Pehrson
4b52ef8e76
[libpng16] Removed some unnecessary brackets in pngrtran.c
2017-10-31 20:57:23 -05:00
Glenn Randers-Pehrson
5d7b4ab289
[libpng16] Replace png_set_add_alpha with png_set_trns_to_alpha in fuzzer.
2017-10-30 15:16:33 -05:00
Glenn Randers-Pehrson
7ee802a5a2
[libpng16] Initialize trans_color.red, green, and blue == trans_color.gray
...
in attempt to stop an oss-fuzz "use of ininitialized value" issue
2017-10-29 17:49:38 -05:00
Glenn Randers-Pehrson
2f8b82ebca
[libpng16] Revert recent changes that did not help with oss-fuzz issues
2017-10-29 10:30:42 -05:00
Glenn Randers-Pehrson
aea0ec4346
[libpng16] Initialize tRNS read buffers in pngrutil.c
2017-10-20 19:38:03 -05:00
Glenn Randers-Pehrson
af08094ba6
[libpng16] Use png_calloc instead of png_malloc in png_set_tRNS
2017-10-19 20:59:40 -05:00
Glenn Randers-Pehrson
9bddba26de
[libpng16] Initialize entire palette array to zero in png_handle_PLTE().
2017-10-17 16:22:22 -05:00
Glenn Randers-Pehrson
3b5bcea010
[libpng16] Revert recent changes to pngset.c
2017-10-17 15:20:31 -05:00
Glenn Randers-Pehrson
adefba1b03
[libpng16] Free tRNS chunk data when abandoning it
2017-10-16 21:03:43 -05:00
Glenn Randers-Pehrson
48a2460393
[libpng16] Do not enable tRNS having trans_color with out-of-range value.
2017-10-16 07:25:58 -05:00
Glenn Randers-Pehrson
2be0f33e7c
[libpng16] Nullify trans_color with out-of-range value, to stop oss-fuzz issue.
2017-10-15 11:04:53 -05:00
Glenn Randers-Pehrson
ccc77d2a8d
[libpng16] Add a call to png_set_packing() to the fuzzer.
2017-10-14 11:33:59 -05:00
Glenn Randers-Pehrson
f648294931
[libpng16] Removed call to png_read_start_image() from the fuzzer. In libpng16
...
it is an error to call that along with png_read_update_info().
2017-10-13 14:00:36 -05:00
Glenn Randers-Pehrson
83f27f018c
[libpng16] Relocate png_read_update_info() wrt png_start_image() in fuzzer.
2017-10-12 20:10:40 -05:00
Glenn Randers-Pehrson
fefe0affc1
[libpng16] Update CHANGES and ANNOUNCE and last-changed date in the fuzzer.
2017-10-12 14:30:36 -05:00
Glenn Randers-Pehrson
a3d1057a73
[libpng16] Fix typo in fuzzer (png_info_ptr should be info_ptr)
2017-10-11 16:58:39 -05:00
Glenn Randers-Pehrson
12384eae6f
[libpng16] Relocate malloc of row_ptr after png_read_update_info() in fuzzer
2017-10-11 16:28:14 -05:00
Glenn Randers-Pehrson
357af1f095
]libpng16] Add png_read_update_info() where needed in the fuzzer
2017-10-11 11:56:30 -05:00
Glenn Randers-Pehrson
ab791fc9d6
[libpng16] Add some commonly-used transforms to the libpng fuzzer
2017-10-10 20:30:54 -05:00
Glenn Randers-Pehrson
f5f8b98dbb
[libpng16] Remove "cd ../libpng" from oss-fuzz build.sh
2017-10-09 21:02:15 -05:00
Glenn Randers-Pehrson
293b6aaa59
[libpng16] Revert to using the system zlib with the libpng fuzzer
2017-10-07 12:38:04 -05:00
Glenn Randers-Pehrson
98a3b2a5c2
[libpng16] Use --with-libpng-prefix=OSS_FUZZ_ while building the fuzzer
2017-10-07 09:46:51 -05:00
Glenn Randers-Pehrson
78ad1208d6
[libpng16] Use "--with-zlib-prefix=z_" while building oss-fuzz fuzzer
2017-10-05 08:31:26 -05:00
Glenn Randers-Pehrson
477a241c10
[libpng16] Use --zprefix in oss-fuzz libpng build to avoid conflict with system libz.
2017-10-03 09:51:09 -05:00
Glenn Randers-Pehrson
edb1f47139
[libpng16] Clone zlib into the oss-fuzz zlib project and build zlib alongside libpng.
2017-10-01 16:21:16 -05:00
Glenn Randers-Pehrson
0f9f170e9f
[libpng16] Restore bad interlaced files, in contrib/pngsuite/interlaced
2017-09-29 18:15:53 -05:00
Glenn Randers-Pehrson
99d4a62c9a
[libpng16] Restored 21 of the contrib/pngsuite/i*.png, which were correct.
2017-09-29 11:06:17 -05:00
Glenn Randers-Pehrson
2227793efc
[libpng16] Bump version to 1.6.35beta01
2017-09-29 10:52:22 -05:00
Glenn Randers-Pehrson
b78804f9a2
[libpng16] Imported from libpng-1.6.34.tar
2017-09-29 03:42:33 -05:00
Glenn Randers-Pehrson
345fc37fdc
[libpng16] Bump version to 1.6.34beta01
2017-09-28 17:51:45 -05:00
Glenn Randers-Pehrson
2ee8cb0559
[libpng16] Imported from libpng-1.6.33.tar
2017-09-28 13:58:30 -05:00
Glenn Randers-Pehrson
414de98047
[libpng16] Add end_info structure to libpng fuzzer; add row_ptr to CLEANUP
2017-09-28 09:20:20 -05:00
Glenn Randers-Pehrson
0512c63533
[libpng16] Revert contrib/oss-fuzz/libpng_read_fuzzer.cc to libpng-1.6.32 status
2017-09-27 18:05:07 -05:00
Glenn Randers-Pehrson
cae11e3e43
[libpng16] Treat benign errors as warnings in the libpng fuzzer
2017-09-27 08:19:11 -05:00
Glenn Randers-Pehrson
4f0a0b9a94
[libpng16] Build fuzzer with "-O0" to defeat optimizer removing "dead" code
2017-09-25 08:15:51 -05:00
Glenn Randers-Pehrson
dc22583aca
[libpng16] Undo another faulty attempt to defeat the compiler from
...
optimizing out the the core of libpng_read_fuzzer.cc
2017-09-25 03:54:22 -05:00
Glenn Randers-Pehrson
346cbf2c2a
[libpng16] Another attempt to defeat the fuzzer optimizer
2017-09-24 09:25:12 -05:00
Glenn Randers-Pehrson
8eb79b3435
[libpng16] Undo faulty attempt to defeat the fuzzer optimizer
2017-09-24 08:31:08 -05:00
Glenn Randers-Pehrson
13a158690f
[libpng16] Imported from libpng-1.6.33rc02.tar
2017-09-23 21:25:19 -05:00
Glenn Randers-Pehrson
e4c8312d31
[libpng16] Document alpha_mode choices in the man page
2017-09-23 21:23:59 -05:00
Glenn Randers-Pehrson
3d2d0b52a3
[libpng16] Fix Coverity defect regarding errmsg in pngrutil.c
2017-09-23 21:22:18 -05:00
Glenn Randers-Pehrson
073fe76f6a
[libpng16] Add support for loading images with associated alpha in the
...
Simplified API (Samuel Williams).
2017-09-23 15:12:52 -05:00
Glenn Randers-Pehrson
4b7635ce72
[libpng16] Support associated alpha in the simplified api
2017-09-23 15:11:18 -05:00
Glenn Randers-Pehrson
96333b6bea
[libpng16] Defeat optimization that removes reading rows in the fuzzer.
2017-09-23 10:34:40 -05:00
Glenn Randers-Pehrson
90dd185aed
[libpng16] Removed more redundant tests (suggested by "irwir" in Github issue #180 ).
2017-09-22 17:29:59 -05:00
Glenn Randers-Pehrson
8746d57184
[libpng16] Fix some color types and bit depths in new pngsuite files
2017-09-22 16:15:12 -05:00
Glenn Randers-Pehrson
0165badb9d
[libpng16] Relocate new memset() call in pngrutil.c (irwir).
2017-09-22 15:21:36 -05:00
Glenn Randers-Pehrson
60d297d592
[libpng16] Added interlaced versions of each file in contrib/pngsuite.
2017-09-21 20:09:50 -05:00
Glenn Randers-Pehrson
2da37077db
[libpng16] Bump version to 1.6.33rc02
2017-09-20 18:40:13 -05:00
Glenn Randers-Pehrson
e1220aefc4
[libpng16] Imported from libpng-1.6.33rc01.tar
2017-09-20 18:13:17 -05:00
Glenn Randers-Pehrson
5efa483265
[libpng16] Removed a redundant test (suggested by "irwir" in Github issue #180 ).
2017-09-20 15:53:38 -05:00
Glenn Randers-Pehrson
5f0c9fabbc
[libpng16] Bump version to 1.6.33rc01
2017-09-20 15:50:17 -05:00
Glenn Randers-Pehrson
397c7eea38
[libpng16] Add a memset() in png_read_buffer()
2017-09-19 18:52:21 -05:00
Glenn Randers-Pehrson
066cb34268
[libpng16] Fix some comments
2017-09-19 15:52:36 -05:00
Glenn Randers-Pehrson
721b96ef90
[libpng16] zero out memory allocated by png_inflate
2017-09-18 14:23:41 -05:00
Glenn Randers-Pehrson
562a68513e
[libpng16] Initialize tag_start etc. in png_icc_check_tag_table().
2017-09-16 20:53:21 -05:00
Glenn Randers-Pehrson
a7722aee32
[libpng16] Undo faulty attempt to stifle oss-fuzz complaint about
...
png_icc_check_tabler()
2017-09-16 08:37:54 -05:00
Glenn Randers-Pehrson
413de0a56a
[libpng16] Undo another faulty attempt to stifle oss-fuzz complaint
2017-09-16 08:29:06 -05:00
Glenn Randers-Pehrson
04e16d2817
[libng16] Attempt to stop Use of Uninitialized Value in png_set_text_2()
2017-09-15 16:44:20 -05:00
Glenn Randers-Pehrson
d1a0937cae
[libpng16] Still another attempt to fix oss-fuzz uninitialized value
2017-09-15 08:20:23 -05:00
Glenn Randers-Pehrson
1c98b85886
[libpng16] Bump version to 1.6.33beta04
2017-09-14 12:48:53 -05:00
Glenn Randers-Pehrson
4de130c255
[libpng16] Imported from libpng-1.6.33beta03.tar
2017-09-14 12:46:28 -05:00
Glenn Randers-Pehrson
4ddead1e1c
[libpng16] Undo failed attempt to prevent UMR in png_icc_check_table().
2017-09-14 07:21:58 -05:00
Glenn Randers-Pehrson
d7edcc40e4
[libpng16] Undo failed attempt to debug UMR in png_set_text_2().
2017-09-13 19:34:51 -05:00
Glenn Randers-Pehrson
7d40b53fbf
[libpng16] Use png_chunk_report when handling a truncated ICC chunk.
2017-09-13 06:09:10 -05:00
Glenn Randers-Pehrson
76b269b1f4
[libpng16] Attempt to debug Uninitialized Memory Read in png_set_text_2(),
...
detected by the oss-fuzz project.
2017-09-12 08:52:44 -05:00
Glenn Randers-Pehrson
61d29bfc80
[libpng16] Guard against Uninitialized Memory Read in png_check_icc_table(),
...
detected by the oss-fuzz project.
2017-09-12 08:22:09 -05:00
Glenn Randers-Pehrson
0f2adc19eb
[libpng16] Trying to avoid a UMR in png_set_text_2(().
2017-09-10 09:47:29 -05:00
Glenn Randers-Pehrson
1aabcfdbae
[libpng16] Trying to isolate oss-fuzz issue in png_set_text_2().
2017-09-10 05:45:44 -05:00
Glenn Randers-Pehrson
b5ae93d72e
[libpng16] Rearrange order of tests in png_iccp_check_tag_table()
2017-09-10 05:33:17 -05:00
Glenn Randers-Pehrson
6a2a762914
[libpng16] Fix typo in ANNOUNCE and CHANGES
2017-09-08 17:40:23 -05:00
Glenn Randers-Pehrson
50c9e15a7d
[libpng16] Do not try to generate pngprefix.h on ANDROID
2017-09-08 14:57:09 -05:00
Glenn Randers-Pehrson
c0f02a8078
[libpng16] Use pnglibconf.h.prebuilt when building for ANDROID with cmake
...
Github issue 162, by rcdaily).
2017-09-08 12:26:18 -05:00
Glenn Randers-Pehrson
3789cba2f2
[libpng16] Attempt to isolate an oss-fuzz issue in png_set_text_2
2017-09-08 09:34:08 -05:00
Glenn Randers-Pehrson
8592873f24
[libpng16] Attempting to fix an oss-fuzz issue.
2017-09-08 08:27:10 -05:00
Glenn Randers-Pehrson
051dcaf877
[libpng16] Added a copy of Dockerfile to the contrib/oss-fuzz directory
2017-09-08 08:19:31 -05:00
Samuel Williams
95046512a4
Add support for loading images with associated alpha.
2017-09-06 17:22:46 +12:00
Glenn Randers-Pehrson
4e9839d453
[libpng16] Update "last changed" date in contrib/oss-fuzz/*.cc
2017-09-05 18:51:36 -05:00
Glenn Randers-Pehrson
d17041f052
Merge pull request #176 from kcc/patch-1
...
properly define PNG_CLEANUP
2017-09-05 19:46:00 -04:00
Kostya Serebryany
cbcb39932c
properly define PNG_CLEANUP
...
Should fix https://github.com/google/oss-fuzz/issues/809
2017-09-05 14:02:15 -07:00
Glenn Randers-Pehrson
52a566af97
[libpng16] Fix typecast in pngtrans.c
2017-09-04 18:23:06 -05:00
Glenn Randers-Pehrson
9050c32365
[libpng16] Remove one remaining "png_handler." from contrib/oss-fuzz/*.cc
2017-09-04 16:52:46 -05:00
Glenn Randers-Pehrson
4911714f74
[libpng16] Fix incorrect typecast of "intent" (should be png_alloc_size_t,
...
was unsigned int). Fixes github issue #175 .
2017-09-04 16:45:45 -05:00
Glenn Randers-Pehrson
c77de19ba9
[libpng16] Revise contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-09-04 08:22:39 -05:00
Glenn Randers-Pehrson
051d6cc19b
[libpng16] Fixed incorrect typecast of some arguments to png_malloc() and
...
png_calloc() that were png_uint_32 instead of png_alloc_size_t
(Bug report by "irwir" in Github libpng issue #175 ).
2017-09-03 15:19:59 -05:00
Glenn Randers-Pehrson
61e0a38091
[libpng16] Reference CVE-2017-12652 in CHANGES.
2017-09-03 09:01:09 -05:00
Glenn Randers-Pehrson
fca1862ac9
[libpng16] Bump version to 1.6.33beta03
2017-09-02 19:48:40 -05:00
Glenn Randers-Pehrson
c2c8b398a9
[libpng16] Imported from libpng-1.6.33beta02.tar
2017-09-02 19:48:19 -05:00
Glenn Randers-Pehrson
9495ab477b
[libpng16] Enabled ARM support in CMakeLists.txt (Bernd Kuhls).
2017-09-02 19:35:06 -05:00
Glenn Randers-Pehrson
62a2463211
[lbipng16] Use current date (DATE) instead of release-date (RDATE) in last
...
changed date of contrib/oss-fuzz files.
2017-09-02 17:17:55 -05:00
Glenn Randers-Pehrson
dcd3edaf87
[libpng16] Restored part of ~PngObjectHandler() that was deleted from
...
contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-09-02 16:13:15 -05:00
Bernd Kuhls
b47e0f5ceb
CMakeLists.txt: Enable building asm code
...
NEON support is provided by filter_neon.S which is currently not build
by cmake causing an error when linking with libpng16.so.16.32.0:
[ 97%] Linking C executable pngstest
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_avg4_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_paeth3_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_up_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_avg3_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_paeth4_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_sub4_neon'
libpng16.so.16.32.0: undefined reference to `png_read_filter_row_sub3_neon'
2017-09-02 15:09:30 +02:00
Glenn Randers-Pehrson
84a5bf83ff
[libpng16] Nullify all pointers in PNG_CLEANUP of libpng_read_fuzzer.cc
2017-08-31 16:46:15 -05:00
Glenn Randers-Pehrson
f3a22d396a
[libpng16] Trivial reordering of libpng_read_fuzzer.cc
2017-08-31 15:01:25 -05:00
Glenn Randers-Pehrson
eb2f42aa97
[libpng16] Compute a larger limit on IDAT because some applications write a
...
deflate buffer for each row (Bug report by Andrew Church).
2017-08-31 11:14:23 -05:00
Glenn Randers-Pehrson
47aa798127
[libpng16] Cosmetic changes to contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-30 13:11:16 -05:00
Glenn Randers-Pehrson
5c27e93f51
[libpng16] Bump version to 1.6.33beta02
2017-08-30 07:03:12 -05:00
Glenn Randers-Pehrson
efaf42e5df
[libpng16] Initialize png_handler.row_ptr in
...
contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-30 06:47:55 -05:00
Glenn Randers-Pehrson
d3220babe2
[libpng16] Revised contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-29 19:36:49 -05:00
Glenn Randers-Pehrson
a1b5be044f
[libpng16] Update "last changed" date in pngtrans.c
2017-08-29 12:32:29 -05:00
Glenn Randers-Pehrson
58720d3c06
[libpng16] Fix "last changed" dates
2017-08-29 12:29:03 -05:00
Glenn Randers-Pehrson
d64c5ea1a8
[libpng16] Update ANNOUNCE and CHANGES about pnm2png.c fix
2017-08-28 19:07:27 -05:00
Glenn Randers-Pehrson
50d2d49220
[libpng16] Imported from libpng-1.6.33beta01.tar
2017-08-28 18:34:23 -05:00
Glenn Randers-Pehrson
d2b9af04ac
[libpng16] Fixed off-by-one error in png_do_check_palette_indexes() (Bug report
...
by Mick P., Source Forge Issue #269 ).
2017-08-28 11:58:11 -05:00
Glenn Randers-Pehrson
321c24b0d7
[libpng16] Bump version to 1.6.33beta01
2017-08-28 11:30:44 -05:00
Christian Hesse
14a8996fe6
[libpng] Updated PNGMINUS_UNUSED macro and comments in contrib/pngminus/p*.c
2017-08-28 11:28:18 -05:00
Glenn Randers-Pehrson
ef76b1f688
[libpng16] Free row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc PNG_CLEANUP
...
to fix google/oss-fuzz issue 3193.
2017-08-28 11:07:10 -05:00
Glenn Randers-Pehrson
5c616548a0
[libpng16] Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added
...
missing parenthesis in contrib/pngminus/pnm2png.c (bug report by Christian
Hesse).
2017-08-28 07:13:22 -05:00
Glenn Randers-Pehrson
da923d334d
[libpng16] Add calls to png_read_update_info() and png_read_end()
...
to contrib/oss-fuzz/libpng_read_fuzzer.cc, trying to increase coverage.
2017-08-26 20:39:50 -05:00
Glenn Randers-Pehrson
e06ec26906
[libpng16] Revise contrib/oss-fuzz/build.sh links to other oss-fuzz files
2017-08-25 18:56:37 -05:00
Glenn Randers-Pehrson
f6ca33d42c
[libpng16] Bump version to 1.6.33beta01
2017-08-25 18:54:30 -05:00
Glenn Randers-Pehrson
df7e9dae0c
[libpng16] Imported from libpng-1.6.32.tar
2017-08-24 16:39:02 -05:00
Glenn Randers-Pehrson
4760bac13d
[libpng16] Removed mention of the .yaml file in the oss-fuzz README.txt
2017-08-23 21:09:59 -05:00
Glenn Randers-Pehrson
737f347f23
[libpng16] Removed contrib/-ss-fuzz/project.yaml which belongs in
...
google/oss-fuzz/projects/libpng
2017-08-23 21:02:57 -05:00
Glenn Randers-Pehrson
1257369169
[libpng16] Bump version to 1.6.32rc03
2017-08-22 20:06:04 -05:00
Glenn Randers-Pehrson
de315dfaad
[libpng16] Imported from libpng-1.6.32rc02.tar
2017-08-22 16:31:50 -05:00
Glenn Randers-Pehrson
ba5f7f6a3e
[libpng16] Bump version to 1.6.32rc02
2017-08-22 14:01:00 -05:00
Glenn Randers-Pehrson
b0d14c7d13
'libpng16] Imported more files into the contrib/oss-fuzz directory
2017-08-22 13:58:59 -05:00
Glenn Randers-Pehrson
735fde494a
[lbpng16] Clarified licensing info in contrib/oss-fuzz/*
2017-08-21 20:34:26 -05:00
Glenn Randers-Pehrson
d2533b96f3
[libpng16] Use png_handler.png_ptr instead of read_ptr in png_set_options(()
2017-08-21 20:19:43 -05:00
Glenn Randers-Pehrson
ddabd0c70a
[libpng16] Added contrib/oss-fuzz directory
2017-08-21 19:14:39 -05:00
Glenn Randers-Pehrson
945759162e
[libpng16] Imported from libpng-1.6.32rc01.tar
2017-08-18 20:01:11 -05:00
Glenn Randers-Pehrson
bcb739a864
[libpng16]Fix several "{" that were written in a different coding style;
...
update version number and copyright year
2017-08-11 10:14:33 -05:00
Glenn Randers-Pehrson
90b437e372
[libpng16] specify full path name of huge_*safe_to_copy.png in pngtest-badpngs
2017-08-11 07:48:19 -05:00
Glenn Randers-Pehrson
ab3ea490fd
[libpng16] Revise tests/pngtest-badpngs to include the two renamed huge* files.
2017-08-11 07:42:38 -05:00
Glenn Randers-Pehrson
d19e8b9a4b
[libpng16] Renamed chunks in contrib/testpngs/crashers to avoid having files
...
whose names differ only in case; this causes problems with some platforms
(github issue #172 ).
2017-08-11 06:39:26 -05:00
Glenn Randers-Pehrson
c5f801c82b
[libpng16] Fix typo
2017-08-07 14:35:06 -05:00
Glenn Randers-Pehrson
7b8b7115d9
[libpng16] Bump version to 1.6.32beta12
2017-08-07 14:25:51 -05:00
Glenn Randers-Pehrson
646fad9d55
[libpng16] Check for 0 return from png_get_rowbytes() in contrib/pngminus/*.c
...
to stop some Coverity issues (162705, 162706, and 162707).
2017-08-07 14:22:56 -05:00
Glenn Randers-Pehrson
06ec4252a4
[libpng16] Made the huge_*_chunk.png files smaller. I could have removed the
...
IEND chunks, too, but although no application will read them, they give humans
something to look at.
2017-08-07 13:15:31 -05:00
Glenn Randers-Pehrson
33848546a3
[libpng16] Added contrib/testpngs/crashers/huge-XXXX-chunk.png
2017-08-07 12:27:07 -05:00
Glenn Randers-Pehrson
fa2f72258a
[libpng16] Imported from libpng-1.6.32beta11.tar
2017-08-07 09:44:32 -05:00
Glenn Randers-Pehrson
7653aaa4b1
[libpng16] Rename bad_iccp.png, huge_idat.png to bad_iCCP.png, huge_iDAT.png
...
in the contrib/testpngs/crashers directory.
2017-08-07 07:34:02 -05:00
Glenn Randers-Pehrson
c362a8c80e
[libpng16] Free eXIf_buf when detecting bad byte-order specifier.
2017-08-07 06:31:58 -05:00
Glenn Randers-Pehrson
c339da7fc2
[libpng16] Removed JuNK and JuNk chunks from empty_ancillary_chunks.png test file.
2017-08-06 10:52:01 -05:00
Glenn Randers-Pehrson
33787340a4
Fix typo (1 should be 2) in png_handle_eXIf
2017-08-06 10:35:23 -05:00
Glenn Randers-Pehrson
cf713fb0ab
[libpng16] Check that the eXIf chunk has at least 2 bytes and begins
...
with "II" or "MM".
2017-08-06 10:24:04 -05:00
Glenn Randers-Pehrson
c82ae40e9f
[libpng16] Test or 11 bytes instead of 14 after the iCCP keyword has been read.
2017-08-06 08:37:48 -05:00
Glenn Randers-Pehrson
099558d100
[libpng16] Relocate the iCCP length test to a point after reading the keyword
2017-08-06 08:25:56 -05:00
Glenn Randers-Pehrson
8ed418b042
[libpng16] Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(),
...
to account for the minimum 'deflate' stream.
2017-08-06 07:59:02 -05:00
Glenn Randers-Pehrson
39d84f4f6a
[lbpng16] Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
2017-08-05 20:51:23 -05:00
Glenn Randers-Pehrson
c5c778bcfc
[libpng16] Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
2017-08-05 20:15:52 -05:00
Glenn Randers-Pehrson
1ebe4f75cc
[Libpng16] Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
2017-08-05 19:58:41 -05:00
Glenn Randers-Pehrson
13bc0b6b1f
[libpng16] Make png_check_chunk_length|name() parameters const
2017-08-05 15:35:45 -05:00
Glenn Randers-Pehrson
fcd1bb9312
[libpng16] Removed unused chunk_name parameter from png_check_chunk_length().
2017-08-05 15:08:40 -05:00
Glenn Randers-Pehrson
c33d624988
[libpng] Added huge_IDAT.png and empty_ancillary_chunks.png to testpngs/crashers
...
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
2017-08-05 11:01:18 -05:00
Glenn Randers-Pehrson
0ec733ce61
[libpng16] Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
2017-08-05 08:01:53 -05:00
Glenn Randers-Pehrson
dbdeb1f3fa
[libpng16] Bump version to 1.6.32beta11
2017-08-04 20:09:13 -05:00
Glenn Randers-Pehrson
3d7f3e57b5
[libpng16] Imported from libpng-1.6.32beta10.tar
2017-08-04 20:06:23 -05:00
Glenn Randers-Pehrson
a64c8ca9e9
[libpng16] Insert a newline at beginning of libpng warning in pngtest.c
2017-08-04 20:04:58 -05:00
Glenn Randers-Pehrson
378e926d78
[libpng16] Added contrib/testpngs/crashers/bad_iccp.png
2017-08-04 19:29:23 -05:00
Glenn Randers-Pehrson
3a957dd96f
[lbipng16] Fix "const" declaration info_ptr argument to png_get_eXIf_1() and the
...
num_exif argument to png_get_eXIf_1() (Github Issue 171).
2017-08-04 16:29:06 -05:00
Glenn Randers-Pehrson
554d4400ab
[libpng16] Fix "const" declaration info_ptr argument to png_get_eXIf_1().
2017-08-04 15:38:41 -05:00
Clifford Yapp
2037030d50
[lbpng16] Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
2017-08-04 14:46:17 -05:00
Glenn Randers-Pehrson
207392821d
[libpng16] Moved bad pngs from tests to contrib/libtests/crashers
...
Moved testing of bad pngs into a separate tests/pngtest-badpngs script
Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
in the output but PASS for the libpng test.
2017-08-04 14:17:28 -05:00
Glenn Randers-Pehrson
2dca15686f
[libpng16] Moved chunk-length check into a png_check_chunk_length() private
...
function (Suggested by Max Stepin).
2017-08-04 14:09:27 -05:00
Glenn Randers-Pehrson
469317d9bd
[libpng16] Removed a left-over debugging "printf" statement from pngrutil.c
2017-08-04 12:14:39 -05:00
Glenn Randers-Pehrson
894a9869dd
[libpng16] Bump version to 1.6.32beta10
2017-08-03 18:15:46 -05:00
Glenn Randers-Pehrson
c14be73428
[libpng16] Imported from libpng-1.6.32beta09.tar
2017-08-03 18:15:21 -05:00
Glenn Randers-Pehrson
2dbef2f2a9
[libpng16] Restored IDAT length check. Previously the calculated limit was five
...
bytes too small (neglected to account for a partial DEFLATE buffer)
2017-08-03 18:03:12 -05:00
Glenn Randers-Pehrson
4ac8b5e0d6
[libpng16] Use png_debug2() instead of printf() for bug reporting.
2017-08-03 16:29:58 -05:00
Glenn Randers-Pehrson
9d4215e6c0
[libpng16] Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
...
no longer using deprecated cmake LOCATION feature (Clifford Yapp).
2017-08-03 16:10:27 -05:00
Glenn Randers-Pehrson
d683af0f12
[libpng16] Temporarily disable IDAT length-limiting.
2017-08-03 16:04:22 -05:00
Glenn Randers-Pehrson
095b4ce16b
[libpng16] Disabled new limit test on IDAT chunks. It was producing too small
...
a limit for some files.
2017-08-03 12:43:56 -05:00
Glenn Randers-Pehrson
bfdabdacff
[libpng16] Bump version to 1.6.32beta09
2017-08-03 10:57:55 -05:00
Glenn Randers-Pehrson
6f89dff45e
[libpng16] Imported from libpng-1.6.32beta08.tar
2017-08-03 10:57:37 -05:00
Glenn Randers-Pehrson
d930d36155
[libpng16] Restored png_get_eXIf_1() and png_set_eXIf_1() because strlen(eXIf_buf)
...
does not work (the eXIf chunk data can contain zeroes).
2017-08-03 10:29:10 -05:00
Glenn Randers-Pehrson
a1fe2c9848
[libpng16] Check length of IDAT against maximum possible IDAT size, accounting
...
for height, rowbytes, interlacing and zlib/deflate overhead.
2017-08-03 10:01:35 -05:00
Glenn Randers-Pehrson
6b53a5ed7b
[libpng16] Update manpage about user malloc_max limit
2017-08-02 19:58:31 -05:00
Glenn Randers-Pehrson
70041f4038
[libpng16] Bump version to 1.6.32beta08
2017-08-02 19:30:40 -05:00
Glenn Randers-Pehrson
96b65b3644
[libpng16] Imported from libpng-1.6.32beta07.tar
2017-08-02 19:30:21 -05:00
Glenn Randers-Pehrson
347538efbd
[libng16] Check length of all chunks except IDAT against user limit.
2017-08-02 19:21:19 -05:00
Glenn Randers-Pehrson
2b37d46564
[libpng16] Bump version to 1.6.32beta07
2017-08-02 17:32:15 -05:00
Glenn Randers-Pehrson
2df5c96352
[libpng16] Imported from libpng-1.6.32beta06.tar
2017-08-02 17:31:55 -05:00
Glenn Randers-Pehrson
3fa1df48a1
[libpng16] Removed png_get_eXIf_1() and png_set_eXIf_1().
2017-08-02 17:27:41 -05:00
Glenn Randers-Pehrson
f30f1ae3ea
[libpng16] Imported from libpng-1.6.32beta05.tar
2017-08-02 16:50:30 -05:00
Glenn Randers-Pehrson
7c709f039f
[libpng16] Restored png_get_eXIf() and png_set_eXIf() to maintain API compatability.
2017-08-02 16:48:11 -05:00
Glenn Randers-Pehrson
f8de55da04
[libpng16] Fix descriptions of eXIf function calls in the manpage.
2017-08-02 06:56:19 -05:00
Glenn Randers-Pehrson
fd6b87253c
[libpng16] Eliminate local eXIf_buf from png_handle_eXIf()
2017-08-02 06:35:15 -05:00
Glenn Randers-Pehrson
821b1dcf34
[libpng16] Bump version to 1.6.32beta04
2017-08-01 22:07:53 -05:00
Glenn Randers-Pehrson
611b29acd8
[libpng16] Imported from libpng-1.6.32beta03.tar
2017-08-01 22:07:34 -05:00
Glenn Randers-Pehrson
71a56180e5
[libpng16] Stop memory leak when returning from png_handle_eXIf() with an error
...
(Bug report from the OSS-fuzz project).
2017-08-01 21:42:16 -05:00
Glenn Randers-Pehrson
cb628b2e4e
[libpng16] Bump version to 1.6.32beta03
2017-08-01 15:26:36 -05:00
Glenn Randers-Pehrson
bc68c41d5f
[libpng16] Initialized btoa[] in pngstest.c; stop memory leak in png_handle_eXIf()
...
when returning with an error.
2017-08-01 15:24:21 -05:00
Glenn Randers-Pehrson
4aad3c0eb0
[libpng16] Imported from libpng-1.6.32beta02.tar
2017-08-01 07:59:07 -05:00
Glenn Randers-Pehrson
68a80b10fe
[libpng16] updated tests/pngunknown-sAPI; it works now.
2017-07-31 20:22:08 -05:00
Glenn Randers-Pehrson
c17b7b38b0
[libpng16] Updated contrib/libtests/pngunknown.c with eXIf chunk. Note:
...
the unknown-sAPI test is failing.
2017-07-31 19:04:15 -05:00
Glenn Randers-Pehrson
91540c56af
[libpng16] Update png_get|set_eXIf_1() prototypes in libpng.3
2017-07-31 17:19:01 -05:00
Glenn Randers-Pehrson
90d3ff290f
[libpng16] Bump version to 1.6.32beta02
2017-07-31 17:07:42 -05:00
Glenn Randers-Pehrson
619cf868e6
[libpng16] Imported from libpng-1.6.32beta01.tar
2017-07-31 17:07:23 -05:00
Glenn Randers-Pehrson
3524b0d201
[libpng16] Update "Last changed" dates and some copyright years
2017-07-31 17:03:17 -05:00
Glenn Randers-Pehrson
3e753f5cbe
[libpng16] Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1()
...
and png_set_eXIf_1(), respectively, to avoid breaking API compatibility
with libpng-1.6.31.
2017-07-31 16:56:30 -05:00
Glenn Randers-Pehrson
c77274ffa9
[libpng16] Committed png.h and pngpriv.h that were omitted from previous checkin
2017-07-31 16:43:19 -05:00
Glenn Randers-Pehrson
323c8655cf
[libpng16] Updated pngread.c with calls to png_handle_eXIf() omitted from previous checkin
2017-07-31 15:23:06 -05:00
Glenn Randers-Pehrson
40afb68570
[libpng16] Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf()
...
in pngwrite.c, and made various other fixes to png_write_eXIf().
Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
to arguments for png_get_eXIf() and png_set_eXIf().
2017-07-31 14:21:46 -05:00
Glenn Randers-Pehrson
4ab78af90a
[libpng16] Avoid possible NULL dereference in png_handle_eXIf when benign_errors
...
are allowed. Avoid leaking the input buffer "eXIf_buf".
2017-07-30 19:36:25 -05:00
Glenn Randers-Pehrson
b73c891891
[libpng16] Bump version to 1.6.32beta01
2017-07-27 14:18:21 -05:00
Glenn Randers-Pehrson
9fcb846402
[libpng16] Imported from libpng-1.6.31.tar
2017-07-27 05:27:17 -05:00
Glenn Randers-Pehrson
136b3203f4
[libpng16] Imported from libpng-1.6.31rc02.tar
2017-07-25 15:33:58 -05:00
Glenn Randers-Pehrson
1ed0b3f7ca
[libpng16] Fixed typo in example.c (png_free_image should be png_image_free)
...
(Bug report by John Smith)
2017-07-25 15:32:19 -05:00
Glenn Randers-Pehrson
a354e5c1ff
[libpng16] Imported from libpng-1.6.31rc01.tar
2017-07-19 09:51:35 -05:00
Glenn Randers-Pehrson
3de6fa1122
[libpng16] Imported from libpng-1.6.31beta07.tar
2017-07-18 06:42:54 -05:00
Glenn Randers-Pehrson
db16b27d11
[libpng16] Revised the eXIf chunk in pngtest.png to fix "Bad IFD1 Directory" warning.
2017-07-18 06:41:18 -05:00
Glenn Randers-Pehrson
d2fcc41eec
[libpng16] Imported from libpng-1.6.31beta06.tar
2017-07-17 06:09:30 -05:00
Glenn Randers-Pehrson
cd37210184
[libpng16] Added a minimal eXIf chunk (with Orientation and FocalLengthIn35mmFilm
...
tags) to pngtest.png.
2017-07-16 16:38:01 -05:00
Glenn Randers-Pehrson
a5b6751bbd
[libpng16] Bump version to 1.6.31beta06
2017-07-13 11:28:18 -05:00
Glenn Randers-Pehrson
cd8eb93ecb
[libpng16] Imported from libpng-1.6.31beta05.tar
2017-07-13 11:25:51 -05:00
Glenn Randers-Pehrson
68cb0aaee3
[libpng16] Implement eXIf chunk support
2017-07-13 11:22:48 -05:00
Glenn Randers-Pehrson
40943eb67a
[libpng16] Bump version to 1.6.31beta05
2017-07-11 12:30:36 -05:00
Glenn Randers-Pehrson
f78a3e7326
[libpng16] Imported from libpng-1.6.31beta04.tar
2017-07-11 12:29:53 -05:00
John Bowler
72d07d3202
[libpng16] Removed one of the GCC-7.1.0 'strict-overflow' warnings that
...
result when integers appear on both sides of a compare. Worked around the
others by forcing the strict-overflow setting in the relevant functions to
a level where they are not reported.
Changed "FALL THROUGH" comments to "FALLTHROUGH" because GCC doesn't like
the space.
Worked around some C-style casts from (void*) because g++ 5.4.0 objects
to them.
Increased the buffer size for 'sprint' to pass the gcc 7.1.0 'sprint
overflow' check that is on by default with -Wall -Wextra.
2017-07-11 08:47:05 -05:00
Glenn Randers-Pehrson
ecea632c4c
[libpng16] Cross-reference scripts/makefile.linux-opt in INSTALL
2017-07-09 19:35:10 -05:00
Glenn Randers-Pehrson
fd9c48fd9c
[libpng16]Fixed release numbering in makefile.linux,linux-opt, msys
2017-07-09 17:23:56 -05:00
Glenn Randers-Pehrson
f2621c5137
[libpng16] Bump version to 1.6.31beta04
2017-07-09 16:31:45 -05:00
Glenn Randers-Pehrson
a947052ec2
[libpng16] Imported from libpng-1.6.31beta03.tar
2017-07-09 16:31:25 -05:00
Glenn Randers-Pehrson
0a9d2719c5
[libpng16] Added scripts/makefile-linux-opt, which has hardware optimizations
...
enabled.
2017-07-09 16:27:15 -05:00
Glenn Randers-Pehrson
aa6e0482fa
[libpng16] Quieted "declaration after statement" warnings in intel/filter_sse2.c.
2017-07-09 11:51:42 -05:00
Glenn Randers-Pehrson
77a063af16
[libpng16] Balance an if/endif pair in CMakeLists.txt
2017-07-09 08:28:03 -05:00
Glenn Randers-Pehrson
5cc23552a7
[libpng16]Change "int" to "png_uint_32" in intel/filter_sse2.c to prevent
...
possible integer overflow (Bug report by John Bowler).
2017-07-09 08:26:54 -05:00
Glenn Randers-Pehrson
76b3a7e78f
[libpng16] Add "libpng_mips_sources" to CMakeLists.txt when building MIPS_MSA
2017-07-08 20:09:07 -05:00
Glenn Randers-Pehrson
2b80b401be
[libpng16] Mention cmake "PNG_HARDWARE_OPTIMIZATIONS" in INSTALL
2017-07-08 19:25:08 -05:00
Glenn Randers-Pehrson
f16c3406cd
[libpng16] Updated CMakeLists.txt to add INTEL_SSE and MIPS_MSA platforms.
2017-07-08 19:10:49 -05:00
Glenn Randers-Pehrson
918a6ac2b4
[libpng16] Bump version to 1.6.31beta03
2017-07-08 13:26:36 -05:00
Glenn Randers-Pehrson
bd5a826d37
[libpng16] Imported from libpng-1.6.31beta02.tar
2017-07-08 13:15:10 -05:00
Glenn Randers-Pehrson
50b6df5389
[libpng16] Added "--enable-hardware-optimizations" configuration flag to enable
...
or disable all hardware optimizations with one flag.
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
2017-07-08 12:59:23 -05:00
Glenn Randers-Pehrson
857ef82edf
[libpng16] Expand INSTALL instructions about enabling hardware optimizations.
2017-07-06 20:17:09 -05:00
Glenn Randers-Pehrson
f380ae5243
[libpng16] Added instructions for disabling hardware optimizations in INSTALL.
2017-07-05 19:20:57 -05:00
Glenn Randers-Pehrson
23b51990e3
[libpng16] Bump version to 1.6.31beta02
2017-07-05 06:46:10 -05:00
Glenn Randers-Pehrson
77417b8ea0
[libpng16] Imported from libpng-1.6.31beta01.tar
2017-07-05 06:45:46 -05:00
Glenn Randers-Pehrson
eed9efec4e
[libpng16] Added special case for FreeBSD in arm/filter_neon.S (Maya Rashish).
2017-07-05 05:36:59 -05:00
Glenn Randers-Pehrson
b5c16f8bfc
[libpng16] Added note about png_get_rowbytes() being affected by transforms
2017-07-03 11:11:44 -05:00
Glenn Randers-Pehrson
89b8c133e7
[libpng16] Added "Requires: zlib" to libpng.pc.in (Pieter Neerincx).
2017-07-03 10:08:31 -05:00
Glenn Randers-Pehrson
54126d5c59
[libpng16] Revised pngpriv.h to use PNG_VERSION_INFO_ONLY instead of
...
PNG_ARM_NEON_IMPLEMENTATION == 2 to exclude some definitions that assembler
cannot recognize.
2017-07-02 07:35:17 -05:00
Glenn Randers-Pehrson
660ce58597
[libpng16] Revised pngpriv.h to work around failure to compile arm/filter_neon.S
...
("typedef" directive is unrecognized by the assembler).
2017-07-01 16:29:42 -05:00
Glenn Randers-Pehrson
9f7134c3fc
[libpng16] Update some "last changed" dates
2017-06-29 17:52:18 -05:00
Glenn Randers-Pehrson
145361aaac
[libpng16] Bump version to 1.6.31beta01
2017-06-28 14:39:39 -05:00
Glenn Randers-Pehrson
58649f19cb
[libpng16] Imported from libpng-1.6.30.tar
2017-06-28 13:50:29 -05:00
Glenn Randers-Pehrson
14be73c8a3
[libpng16] Imported from libpng-1.6.30rc02.tar
2017-06-25 13:46:37 -05:00
Glenn Randers-Pehrson
87cd2dc07d
[libpng16] Imported from libpng-1.6.30rc01.tar
2017-06-14 10:11:47 -05:00
Glenn Randers-Pehrson
2d306c4b15
[libpng16] Bump version to 1.6.30beta05
2017-06-06 19:44:20 -05:00
Glenn Randers-Pehrson
5aaf6e889c
[libpng16] Imported from libpng-1.6.30beta04.tar
2017-06-06 19:38:17 -05:00
Glenn Randers-Pehrson
c548328904
[libpng16] Avoid writing an empty IDAT when the last IDAT exactly fills the
...
compression buffer (bug report by Brian Baird). This bug was introduced in
libpng-1.6.0.
2017-06-06 18:40:45 -05:00
Glenn Randers-Pehrson
11629b1c1a
[libpng16] Mention github issues and pull requests as a bug-reporting method.
2017-05-27 13:12:37 -05:00
Glenn Randers-Pehrson
774922da91
[libpng] Update GIT URL in documentation
2017-05-27 12:33:48 -05:00
Glenn Randers-Pehrson
7da2ea45b9
Merge branch 'ssl' of git://github.com/vszakats/libpng into libpng16
...
to update zlib.net URLs
2017-05-27 12:25:20 -05:00
Viktor Szakats
95f3c07d6f
use HTTPS for zlib.net
2017-05-27 13:54:30 +00:00
Glenn Randers-Pehrson
a315efe3b2
[libpng16] Mention CVE-2016-5737 in CHANGES, update intel "last changed" date
2017-05-24 09:58:09 -05:00
Glenn Randers-Pehrson
6155c6629d
[libpng16] Bump version to 1.6.30beta04
2017-05-22 10:03:26 -05:00
Glenn Randers-Pehrson
d40ac082ef
[libpng16] Imported from libpng-1.6.30beta03.tar
2017-05-22 10:03:04 -05:00
Glenn Randers-Pehrson
d2ac910a53
[libpng16] Fix urls
2017-05-19 17:34:31 -05:00
Glenn Randers-Pehrson
a1577bf965
[libpng16] Test CMAKE_HOST_WIN32 instead of WIN32 in CMakeLists.txt
2017-05-18 18:15:50 -05:00
Glenn Randers-Pehrson
e486c76253
[libpng16] Update ftp site mentioned in README
2017-05-16 17:34:45 -05:00
Glenn Randers-Pehrson
30d1f909ed
[libpng16] Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt
2017-05-16 16:12:42 -05:00
Glenn Randers-Pehrson
8359b90057
[libpng16] Fix typo recently introduced in rpng-win.c
2017-04-24 15:48:45 -05:00
Glenn Randers-Pehrson
11c25c0e9e
[libng16] Update copyright notices in revised "contrib" files.
2017-04-23 18:48:32 -05:00
Glenn Randers-Pehrson
b99308a33c
[libpng16] Check for integer overflow in contrib/tools/genpng.
2017-04-23 18:41:28 -05:00
Glenn Randers-Pehrson
170a44b222
[libpng16] Check for integer overflow in contrib/visupng.
2017-04-23 17:33:10 -05:00
Glenn Randers-Pehrson
0808d75851
[libpng16] Bump version to 1.6.30beta03
2017-04-22 15:52:24 -05:00
Glenn Randers-Pehrson
2eff8ef504
[libpng16] Imported from libpng-1.6.30beta02.tar
2017-04-22 15:46:59 -05:00
Glenn Randers-Pehrson
60d8ae1003
[libpng16] Removed reference to the obsolete PNG_SAFE_LIMITS macro in
...
the documentation.
2017-04-22 15:45:37 -05:00
Glenn Randers-Pehrson
53f22aed41
[libpng16] Document need to check for integer overflow when allocating a pixel
...
buffer for multiple rows in contrib/gregbook, contrib/pngminus, example.c, and
in the manual (suggested by Jaeseung Choi).
2017-04-22 15:21:58 -05:00
Glenn Randers-Pehrson
13370c536c
[libng16] Update CHANGES about a bugfix in libpng-1.6.27 related to ADLER32
...
handling.
2017-04-16 15:01:42 -05:00
Viktor Szakats
054be18721
fix URL regressions
2017-04-03 21:23:09 +00:00
Glenn Randers-Pehrson
64f81108db
[libpng16] Re-apply URL patch to libpng-manual.txt and libpng.3
2017-04-03 15:25:40 -05:00
Glenn Randers-Pehrson
ead7079f1d
[libpng16] Bump version to 1.6.30beta02
2017-04-01 11:14:04 -05:00
Glenn Randers-Pehrson
82add753e5
[libpng16] Imported from libpng-1.6.30beta01.tar
2017-04-01 11:08:09 -05:00
Viktor Szakats
b3ffdc5991
URL updates
2017-03-31 23:25:57 +00:00
Glenn Randers-Pehrson
e744ee1338
[libpng16] Update CHANGES, ANNOUNCE, and "last changed" dates.
2017-03-30 12:24:55 -05:00
Glenn Randers-Pehrson
ab8dbdcce5
Merge branch 'conststrip' of git://github.com/vszakats/libpng into libpng16
2017-03-30 12:23:15 -05:00
Viktor Szakats
7bbd665b34
tweak
2017-03-30 12:25:33 +00:00
Viktor Szakats
dce241c107
silence clang -Wcast-qual const drop warnings
2017-03-30 00:12:53 +00:00
Viktor Szakats
8c50acb9d2
silence clang -Wcomma warnings
2017-03-29 23:54:40 +00:00
Glenn Randers-Pehrson
92fcd25e9d
[libpng16] Further revised documentation of png_get_error_ptr().
2017-03-28 12:47:49 -05:00
Glenn Randers-Pehrson
9b0170dd03
[libpng16] Revised documentation of png_get_error_ptr() in the libpng manual.
2017-03-28 12:38:47 -05:00
Glenn Randers-Pehrson
2239961279
[libpng16] Fix "last changed" dates in powerpc/*.c
2017-03-21 19:37:27 -05:00
Glenn Randers-Pehrson
18834ff62b
[libpng16] Added missing "$(CPPFLAGS)" to the compile line for c.pic.o in
...
makefile.linux and makefile.solaris-x86 (Cosmin).
2017-03-16 12:40:49 -05:00
Glenn Randers-Pehrson
03a6f3f9c9
[libpng16] Bump version to 1.6.30beta01
2017-03-16 10:40:01 -05:00
Glenn Randers-Pehrson
d42e88d5b3
[libpng16] Imported from libpng-1.6.29.tar
2017-03-16 07:26:33 -05:00
Glenn Randers-Pehrson
fae874c8ca
[libpng16] Imported from libpng-1.6.29rc01.tar
2017-03-08 17:08:36 -06:00
Glenn Randers-Pehrson
0b1f7e412b
[libpng16] Bump version to 1.6.29beta04
2017-03-01 07:15:58 -06:00
Glenn Randers-Pehrson
a8de1a70d1
[libpng16] Imported from libpng-1.6.29beta03.tar
2017-03-01 07:15:29 -06:00
Glenn Randers-Pehrson
7db98a18fe
[libpng16] Suppress clang warnings about implicit sign changes in png.c
2017-03-01 07:09:05 -06:00
Glenn Randers-Pehrson
a7029a5b4c
[libpng16] Change test ZLIB_VERNUM >= 0x1281 to ZLIB_VERNUM >= 0x1290 in
...
pngrutil.c because Solaris 11 distributes zlib-1.2.8.f that is older
than 1.2.8.1.
2017-03-01 06:52:16 -06:00
Glenn Randers-Pehrson
4f31b7f242
[libpng16= Avoid potential overflow of shift operations in png_do_expand() (Aaron Boxer).
2017-02-27 20:17:56 -06:00
Glenn Randers-Pehrson
b475d0593c
[libpng16] Update credits and copyright information about powerpc-vsx code
2017-02-22 15:14:22 -06:00
Glenn Randers-Pehrson
862a2858b0
[libpng16] Bump version to 1.6.29beta03
2017-02-22 14:41:30 -06:00
Glenn Randers-Pehrson
364450bf8d
[libpng16] Imported from libpng-1.6.29beta02.tar
2017-02-22 14:34:14 -06:00
Glenn Randers-Pehrson
f6d358ff42
[libpng16] Update CHANGES and ANNOUNCE
2017-02-21 20:45:49 -06:00
Glenn Randers-Pehrson
7980c79d69
Merge branch 'libpng16' of git://github.com/barkovv/libpng into libpng16
2017-02-21 20:41:27 -06:00
Glenn Randers-Pehrson
5e8c50cc8d
[libpng16] Update CHANGES and ANNOUNCE
2017-02-21 20:11:47 -06:00
John Bowler
7218761fe1
Fix right code in the wrong place.
...
The recovery stuff was in the wrong if branches; the comments were
correct.
Signed-off-by: John Bowler <jbowler@acm.org >
2017-02-21 15:15:48 -08:00
Vadim Barkov
3644db298b
Added VSX code to libconfig scripts
2017-02-12 12:19:01 +00:00
Vadim Barkov
29775cef5e
Fixed VSX compilation time checks
...
__ppc64__ -> __PPC64__
2017-02-12 09:57:16 +00:00
Vadim Barkov
a343882c74
Made VSX code pedantic strict C90 compliant
...
Fixed signed/unsigned comparations, png_byte and summations. Also
fixed combound literals which are permited by C90.
2017-02-11 21:33:32 +00:00
Vadim Barkov
6f6c396604
Added prefix to cmake VSX check warning
2017-02-10 07:38:28 +00:00
Vadim Barkov
483bcad21d
Changed minimum supported PowerPC CPU comment
...
Changed it from POWER8 to POWER7 due to the last one
supports VSX too.
2017-02-10 07:33:06 +00:00
Vadim Barkov
310dee21f7
Refactoring
...
Now all defines in filter VSX file are prefixed with VSX
and have more clear names
2017-02-10 07:20:59 +00:00
Vadim Barkov
d1c12e85c1
Added support for ppc64 big endian for filter_paeth VSX
2017-02-09 19:11:31 +00:00
Vadim Barkov
99d7285f20
Fixed filter_paeth for PowerPC VSX
...
Now all tests are fine for ppc64le
2017-02-09 18:57:53 +00:00
Vadim Barkov
d4bdca45b3
Fixed multiple bugs in VSX filter functions
...
Now up,sub and avg filter VSX functions pass tests
2017-02-08 14:02:44 +00:00
Vadim Barkov
58e9d5d59d
Refactoring
2017-02-02 22:37:36 +00:00
John Bowler
7428ca944d
Merge branch 'libpng16' of ../../libpng into libpng16
2017-02-02 14:05:46 -08:00
Vadim Barkov
ae15e839d9
Small bugfix
2017-02-02 04:51:56 +00:00
Vadim Barkov
8a242668fd
Added warning with supported OSes list for VSX check
2017-02-01 14:26:02 +00:00
Vadim Barkov
b42e8bce3a
Added PNG_UNUSED macro in contrib/powerpc/linux{_aux}.c
2017-02-01 14:03:57 +00:00
Vadim Barkov
b1be78460a
Fixed mixed tabs and spaces in contrib/powerpc/linux_aux.c
2017-02-01 13:58:54 +00:00
Vadim Barkov
d57bed7838
Fixed mixed tabs and spacing and comments in contrib/powerpc/linux.c
2017-02-01 13:57:50 +00:00
Glenn Randers-Pehrson
b8afc73b73
[libpng16] Added "mips" and "mips-msa" to the directory listing in README
2017-01-31 08:20:23 -06:00
Vadim Barkov
19425d32f3
Update README
2017-01-31 16:48:17 +03:00
Vadim Barkov
9bd58f9387
Removed PNG_ALIGN check in VSX code since it is not used
2017-01-31 12:15:45 +00:00
Vadim Barkov
f2b829166d
Removed commentary about contrib/powerpc/READM
2017-01-31 12:13:39 +00:00
Vadim Barkov
ab2a639a2a
Removed trailing spaces
2017-01-31 15:12:00 +03:00
Vadim Barkov
0aa1b967f0
Removed PNG_ALIGN dependency from VSX since it is not needed
2017-01-31 15:09:48 +03:00
Vadim Barkov
80041d15b2
Update contrib/powerpc/linux_aux.c header
2017-01-31 15:07:14 +03:00
Vadim Barkov
2cc569eab7
Removed remark about poor supporting VSX check code
2017-01-31 12:00:02 +00:00
Vadim Barkov
bea573d370
Added auxv-based VSX detection method for PowerPC and enabled it by default
2017-01-31 11:59:11 +00:00
Vadim Barkov
d0d310f1cb
Added cmake support for PowerPC VSX optimizations
2017-01-31 03:56:23 +00:00
debian
3907feb306
Added ppc64le to arch's in configure.ac script
2017-01-31 03:53:12 +00:00
Vadim Barkov
acb155d893
Implemented filter_paeth PowerPC VSX variant
2017-01-31 04:05:19 +03:00
Vadim Barkov
c47ddcf22b
Merge branch 'libpng16' into libpng16
2017-01-30 18:44:09 +03:00
Vadim Barkov
565d4beea2
Updated CFLAGS recomendations
2017-01-29 19:07:12 +03:00
Vadim Barkov
c43aaa8b20
Implemented filter_avg for PowerPC VXS
2017-01-29 18:44:54 +03:00
Vadim Barkov
6ddcd33daa
Fixed potential align errors for PowerPC VSX filter functions
...
The problem is that row and prev_row may not be aligned to the same
byte count. This situation leaded to undefined behaviour.
2017-01-29 18:37:53 +03:00
John Bowler
24b27e5948
Merge branch 'libpng16' of ../../libpng into libpng16
2017-01-23 19:01:45 -08:00
Glenn Randers-Pehrson
f604c74a5f
[libpng16] Avoid conditional directives that break statements in pngrutil.c (Romero
...
Malaquias)
2017-01-20 14:46:21 -06:00
Romero B. de S. Malaquias
c3f4e5fb1a
Avoiding conditional directives that break statements
2017-01-20 16:31:54 -03:00
Vadim Barkov
adbf1d6d1c
Fixed missing defines for VSX filter_sub
2017-01-19 18:12:13 +03:00
Vadim Barkov
9b0311a4d8
Implemented filter_sub optimisation for PowerPC VSX
2017-01-19 02:11:34 +03:00
Vadim Barkov
b455622aa8
Fixed potential bug on align calculation for VSX filter_up
2017-01-19 01:29:24 +03:00
Vadim Barkov
ccef5edbfe
Fixed bug with unaligned input on VSX filter_up
2017-01-16 19:45:17 +03:00
Vadim Barkov
91acd4baf8
Implemented png_read_filter_up_vsx
2017-01-15 20:20:29 +03:00
root
6ff408d423
Modified CFLAGS recomendations for PowerPC VSX
2017-01-14 18:35:36 +03:00
Vadim Barkov
ee5804fa14
Added PowerPC detection code for linux
2017-01-14 16:47:10 +03:00
Vadim Barkov
2b6e59d968
Added initial code for PowerPC VSX optimisation
2017-01-14 16:05:33 +03:00
Glenn Randers-Pehrson
ae794eefaa
[libpng16] Bump version to 1.6.29beta02
2017-01-12 17:52:05 -06:00
Glenn Randers-Pehrson
dd24a6ca15
[libpng16] Imported from libpng-1.6.29beta01.tar
2017-01-12 10:02:56 -06:00
Glenn Randers-Pehrson
a0e3160ad4
Merge branch 'libpng16' of ssh://git.code.sf.net/p/libpng/code into libpng16
2017-01-12 09:49:15 -06:00
Glenn Randers-Pehrson
4c0740c8de
[libpng16] Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
2017-01-12 09:48:12 -06:00
Glenn Randers-Pehrson
8c6c9e6d56
[libpng16] Update credits to include Google Inc, for the Intel/SSE patch.
2017-01-12 09:45:02 -06:00
John Bowler
f8fe5f8560
Merge branch 'libpng16' of ../../libpng into libpng16
2017-01-06 08:45:05 -08:00
Glenn Randers-Pehrson
eaca53a2d9
[libpng16] Update credits to include Google Inc, for the Intel/SSE patch.
2017-01-05 18:11:59 -06:00
Glenn Randers-Pehrson
bef76802de
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-sse" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it. This patch was
previously applied to libpng-1.6.28rc03 but withdrawn to allow time for QA.
2017-01-05 18:09:33 -06:00
Glenn Randers-Pehrson
ebede25ceb
[libpng16] Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco
...
Costamagna).
2017-01-05 11:51:54 -06:00
Glenn Randers-Pehrson
4ddac468c4
[libpng16] Bump version to 1.6.29beta01
2017-01-05 11:37:54 -06:00
Glenn Randers-Pehrson
17ad597dba
[libpng16] Imported from libpng-1.6.28.tar
2017-01-05 07:59:36 -06:00
John Bowler
b784934049
Merge branch 'libpng16' of ../../libpng into libpng16
2017-01-04 13:22:53 -08:00
Glenn Randers-Pehrson
93b3476358
[libpng16] Imported from libpng-1.6.28rc03.tar
2017-01-03 22:25:10 -06:00
Glenn Randers-Pehrson
6df2225c55
[libpng16] Fix version numbers in ANNOUNCE
2017-01-03 19:50:07 -06:00
Glenn Randers-Pehrson
562751dcc9
[libpng16] Fix typo in CHANGES: it should say "configure --enable-intel-sse"
...
to enable the SSE optimization
2017-01-03 19:32:33 -06:00
Glenn Randers-Pehrson
3785125faf
[libpng16] Imported from libpng-1.6.28rc02.tar
2017-01-03 19:23:10 -06:00
Glenn Randers-Pehrson
edef058e18
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-see" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
2017-01-03 19:15:15 -06:00
John Bowler
16fe975928
Merge branch 'libpng16' of ../../libpng into libpng16
2017-01-03 16:38:52 -08:00
Glenn Randers-Pehrson
24dfd3f2d7
[libpng16] Imported from libpng-1.6.28rc01.tar
2017-01-03 12:51:38 -06:00
Glenn Randers-Pehrson
f8bdbd4d8f
[libpng16] Changed png_ptr->options from a png_byte to png_uint_32, to
...
accomodate up to 16 options.
2017-01-02 19:03:36 -06:00
Glenn Randers-Pehrson
f981826204
[libpng16] Update CHANGES and ANNOUNCE with recent CMakeLists.txt update.
2017-01-02 09:40:23 -06:00
Sam Serrels
14e885a54c
Added option to Cmake build allowing a custom location of Zlib to be specified. This is useful in a scenario where libpng is being built as a subproject alongside zlib by another project..
2017-01-02 01:36:47 +00:00
Glenn Randers-Pehrson
dd8aa3e939
[libpng16] Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna)
2016-12-31 13:03:23 -06:00
John Bowler
29b9fd605e
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-31 09:18:27 -08:00
Glenn Randers-Pehrson
aa5bb2c3dd
[libpng16] Clean up LICENSE, mention CVE-2016-10087 in CHANGES.
2016-12-30 14:00:19 -06:00
John Bowler
993bd61329
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-30 09:03:40 -08:00
Glenn Randers-Pehrson
b9b490c7f5
[libpng16] Bump version to 1.6.28beta01
2016-12-30 08:29:24 -06:00
John Bowler
09fae1b5d3
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-29 19:14:43 -08:00
Glenn Randers-Pehrson
e9c3d83d5a
[libpng16] Bump version to 1.6.27
2016-12-29 07:52:43 -06:00
Glenn Randers-Pehrson
812768d7a9
[libpng16] Fixed a potential null pointer dereference in png_set_text_2()
...
(bug report and patch by Patrick Keshishian).
2016-12-29 07:52:27 -06:00
Glenn Randers-Pehrson
a3b5edc934
[libpng16] Bump version to 1.6.27
2016-12-29 07:50:33 -06:00
John Bowler
aaed6782e8
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-27 13:28:55 -08:00
Glenn Randers-Pehrson
fd3a683b2a
[libpng16] Add CHANGES entry about CMakeLists.txt ARM support
2016-12-27 11:14:18 -06:00
John Bowler
08d00b25d8
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-27 08:21:12 -08:00
Glenn Randers-Pehrson
61a9a054fd
[libpng16] Imported from libpng-1.6.27rc01.tar
2016-12-27 08:24:22 -06:00
John Bowler
bf90247a63
Merge branch 'libpng16' of ../../libpng into libpng16
2016-12-26 18:16:55 -08:00
Glenn Randers-Pehrson
4708ca268e
[libpng16] Update CHANGES and ANNOUNCE
2016-12-26 19:44:25 -06:00
Glenn Randers-Pehrson
7bb00afec3
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-12-26 19:36:00 -06:00
John Bowler
13a354f81e
Remove 'defined' within macro
...
This removes the use of a macro containing the pre-processor 'defined'
operator. It is unclear whether this is valid; a macro which
"generates" 'defined' is not permitted, but the use of the work
"generates" within the C90 standard seems to imply more than simple
substitution of an expression itself containing a well-formed defined
operation.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-12-26 16:43:15 -08:00
Glenn Randers-Pehrson
8187ba1518
[libpng16] PNG_IGNORE_ALDLER32_SUPPORTED -> PNG_IGNORE_ADLER32 in pngtest.c
2016-12-26 18:15:02 -06:00
Glenn Randers-Pehrson
dbb5fce3d8
[libpng16] Control ADLER32 checking with new PNG_IGNORE_ADLER32 option.
2016-12-26 18:00:46 -06:00
Glenn Randers-Pehrson
d65a92b951
[libpng16] Revert ADLER32 error handling in pngrutil.c and pngpread.c.
2016-11-08 16:04:08 -06:00
Glenn Randers-Pehrson
a69dd76eac
[libpng16] Bump version to 1.6.27beta02
2016-11-02 17:54:15 -05:00
Glenn Randers-Pehrson
e36003e9b8
[libpng16] Imported from libpng-1.6.27beta01.tar
2016-11-02 17:37:21 -05:00
Glenn Randers-Pehrson
2accfbd6f3
[libpng16] Restrict the new ADLER32-skipping to IDAT chunks. It broke iCCP
...
chunk handling.
2016-10-28 15:50:46 -05:00
Glenn Randers-Pehrson
858cb585d7
[libpng16] Bump version to 1.6.27beta01
2016-10-28 15:25:26 -05:00
Glenn Randers-Pehrson
0c440812db
[libpng16] Imported from libpng-1.6.26.tar
2016-10-19 19:11:38 -05:00
Glenn Randers-Pehrson
436ce2c6e9
[libpng16] Bump version to 1.6.26rc02
2016-10-17 12:46:41 -05:00
Glenn Randers-Pehrson
a1312f7b19
[libpng16] Cosmetic change "ptr != 0" to "ptr != NULL" in png.c and pngrutil.c
2016-10-16 14:34:40 -05:00
Glenn Randers-Pehrson
01e99bbac1
[libpng16] Imported from libpng-1.6.26rc01.tar
2016-10-12 08:16:13 -05:00
Glenn Randers-Pehrson
dd6d7f031f
[libpng16] Bump version to 1.6.26beta07
2016-10-07 15:57:32 -05:00
Glenn Randers-Pehrson
f7fe4db91b
[libpng16] Imported from libpng-1.6.26beta06.tar
2016-10-07 15:57:10 -05:00
Glenn Randers-Pehrson
a106899acd
[libpng16] Use zlib-1.2.8.1 inflateValidate() instead of inflateReset2() to
...
avoid ADLER32 evaluation.
2016-10-07 13:33:50 -05:00
Glenn Randers-Pehrson
ffaeff82d3
[libpng16] Bump version to 1.6.26beta06
2016-10-05 19:43:55 -05:00
Glenn Randers-Pehrson
13bdd8bcdf
[libpng16] Imported from libpng-1.6.26beta05.tar
2016-10-05 19:43:35 -05:00
Glenn Randers-Pehrson
7d7694ae6a
[libpng16] Changed integer constant 4294967294 to unsigned 4294967294U in pngconf.h
...
to avoid a signed/unsigned compare in the preprocessor.
2016-10-05 09:23:08 -05:00
Glenn Randers-Pehrson
b3540f9932
[libpng16] Bump version to 1.6.26beta05
2016-10-03 12:31:18 -05:00
Glenn Randers-Pehrson
a5084f1522
[libpng16] Imported from libpng-1.6.26beta04.tar
2016-10-03 12:31:06 -05:00
Glenn Randers-Pehrson
565a751ca2
[libpng16] Quieted (bogus?) clang warnings about "absolute value has no effect".
2016-10-02 20:16:36 -05:00
Glenn Randers-Pehrson
f6497e03d1
i[lbpng16] Quieted (bogus?) clang warnings about "absolute value has no effect".
...
Fixed offsets in contrib/intel/intel_sse.patch
2016-10-02 20:07:22 -05:00
Glenn Randers-Pehrson
b7b59b7fe9
[libpng16] Bump version to 1.6.26beta04
2016-10-02 19:18:29 -05:00
Glenn Randers-Pehrson
890611200a
[libpng16] Imported from libpng-1.6.26beta03.tar
2016-10-02 19:10:10 -05:00
Glenn Randers-Pehrson
ce45f85c61
[lbpng16] Removed contrib/libtests/*.orig and *.rej that slipped into the
...
tarballs.
2016-10-02 19:03:57 -05:00
Glenn Randers-Pehrson
761d833372
[libpng16] Quieted all remaining -Wconversion compiler warnings
2016-10-02 18:46:35 -05:00
Glenn Randers-Pehrson
3875d9af4c
[libpng16] Quieted 45 (out of 86 remaining) -Wconversion compiler warnings
2016-10-02 17:08:46 -05:00
Glenn Randers-Pehrson
ad3318ddc8
[libpng16] Bump version to 1.6.26beta03
2016-10-01 19:44:42 -05:00
Glenn Randers-Pehrson
7184475a98
[libpng16] Imported from libpng-1.6.26beta02.tar
2016-10-01 19:44:32 -05:00
Glenn Randers-Pehrson
c180e7a437
[libpng16] Updated CHANGES and ANNOUNCE
2016-09-30 21:54:06 -05:00
Glenn Randers-Pehrson
fbe3e002bc
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-09-30 21:51:27 -05:00
Glenn Randers-Pehrson
b5b77a72b4
Revert "[libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c,"
...
This reverts commit 97dfccb632 .
2016-09-30 21:34:21 -05:00
Glenn Randers-Pehrson
97dfccb632
[libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c,
...
pngwrite.c, pngunknown.c, and pngvalid.c. Several warnings still remain
in pngvalid.c
2016-09-30 21:02:03 -05:00
John Bowler
319c9852bf
Unsigned overflow
...
Remove all currently detected cases of unsigned overflow. Detection is
runtime, so test case dependent. The changes to pngvalid.c eliminate
spurious and probably invalid tests with one while loop exception.
Apart from that and the change to the dependence on the intended
unsigned overflow in pngtrans.c the changes are limited to altering the
meme for an unsigned 'x' from:
while (x-- > 0)
to
for (; x > 0; --x)
This works because, in all cases, the control variable is not used in
the loop. The 'while' meme was, at one time, warn'ed by GCC so it is
probably a good change, for some weird religious value of good.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-09-30 18:37:22 -07:00
Glenn Randers-Pehrson
1b363fa6b0
[libpng16] Quieted 116 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU and trivial changes
in png.c, pngread.c, and pngwutil.c.
2016-09-30 17:19:12 -05:00
Glenn Randers-Pehrson
fa24421216
[libpng16] Quieted 74 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU.
2016-09-30 16:26:07 -05:00
Glenn Randers-Pehrson
d84fd77bf8
[libpng16] Quieted a warning from clang-3.8 in pngtrans.c.
2016-09-30 14:22:57 -05:00
Glenn Randers-Pehrson
04dab1e82d
[libpng16] Updated the documentation about CRC and ADLER32 handling.
2016-09-26 11:15:22 -05:00
Glenn Randers-Pehrson
394be58371
[libpng16] Bump version to 1.6.26beta02
2016-09-26 08:58:04 -05:00
Glenn Randers-Pehrson
217546ae43
[libpng16] Imported from libpng-1.6.26beta01.tar
2016-09-26 08:57:44 -05:00
Glenn Randers-Pehrson
8aa1638ccc
[libpng16] Add tests/badcrc.png and tests/badadler.png to tests/pngtest.
...
Merged pngtest.c with libpng-1.7.0beta84/pngtest.c
2016-09-26 08:09:44 -05:00
Glenn Randers-Pehrson
89ea081433
[libpng16] If CRC handling of critical chunks has been set to PNG_CRC_QUIET_USE,
...
ignore the ADLER32 checksum in the IDAT chunk as well as the chunk CRCs.
2016-09-25 17:42:15 -05:00
Glenn Randers-Pehrson
7835716cef
[libpng16] Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngpriv.h, pngstruct.h,
...
and pngrutil.c.
2016-09-19 16:46:54 -05:00
Glenn Randers-Pehrson
cb1787f033
[libpng16] Conditionally compile png_set_benign_error in pngtest.c
2016-09-11 22:02:57 -05:00
Glenn Randers-Pehrson
1842d7c865
[libpng16] Issue a png_benign_error instead of a png_error on ADLER32 mismatch
...
while decoding compressed data chunks.
2016-09-11 22:02:05 -05:00
Glenn Randers-Pehrson
bc2bb96cd7
[libpng16] Conditionally compile png_set_benign_errors() in pngread.c
2016-09-11 19:22:28 -05:00
Glenn Randers-Pehrson
5cb1700702
[libpng16] Update CHANGES and ANNOUNCE and last-changed date in pngset.c
2016-09-03 11:51:29 -05:00
John Bowler
7dc0329250
[libpng16] png_set_pCAL: do not png_error on read
...
Because png_handle_pCAL has allocated memory to free.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-09-02 19:26:42 -07:00
Glenn Randers-Pehrson
90ea4af4a1
[libpng16] Update CHANGES and ANNOUNCE
2016-09-01 17:28:08 -05:00
Glenn Randers-Pehrson
a744b11975
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-09-01 17:11:57 -05:00
John Bowler
597b1a1b5e
Merge branch 'libpng16' of ../../libpng into libpng16
2016-09-01 13:27:58 -07:00
John Bowler
f0b453bc3e
[libpng16] pngfix zero-length IDAT fix
...
When an input file contains a zero length IDAT and pngfix is not applying the
IDAT rechunking (--max) option pngfix will go into a loop writing the zero
length IDAT for ever.
This is a fairly minor issue for interactive use; zero length IDAT is very rare,
the problem is obvious (pngfix hangs) and the fix (use --max, or --max=4096
etc), while not obvious, is easy.
For non-interactive use, e.g. trying to automatically repair a PNG that cannot
be read by libpng, there are security consequences:
1) pngfix hangs. This may permit a DoS attack.
2) When the --out option is used pngfix will just keep writing. This is a very
likely DoS scenario.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-09-01 07:22:40 -07:00
Glenn Randers-Pehrson
c9d7b865b6
[libpng16] Bump version to 1.6.26beta01
2016-08-31 23:19:25 -05:00
Glenn Randers-Pehrson
e3a6631123
[libpng16] Imported from libpng-1.6.25.tar
2016-08-31 22:30:47 -05:00
Glenn Randers-Pehrson
434aecf327
[libpng16] Bump version to 1.6.25rc06
2016-08-30 11:21:11 -05:00
Glenn Randers-Pehrson
abd88841ef
[libpng16] Imported from libpng-1.6.25rc05.tar
2016-08-30 11:15:49 -05:00
Glenn Randers-Pehrson
42e5441888
[libpng16] Bump version to 1.6.25rc05
2016-08-30 10:46:51 -05:00
Glenn Randers-Pehrson
01b6ca34b7
[libpng16] Imported from libpng-1.6.25rc04.tar
2016-08-30 10:46:43 -05:00
Glenn Randers-Pehrson
4ade4e8a0d
[libpng16] Updated CHANGES and ANNOUNCE
2016-08-30 04:26:29 -05:00
Mandar Sahastrabuddhe
d1f14c829a
Added MIPS MSA optimization for following functions:
...
1. png_read_filter_row_sub4_msa
2. png_read_filter_row_avg4_msa
3. png_read_filter_row_paeth4_msa
4. png_read_filter_row_sub3_msa
5. png_read_filter_row_avg3_msa
6. png_read_filter_row_paeth3_msa
Signed-off-by: Mandar Sahastrabuddhe <Mandar.Sahastrabuddhe@imgtec.com >
2016-08-30 13:51:25 +05:30
Mandar Sahastrabuddhe
b43133b361
Merge pull request #1 from glennrp/libpng16
...
Update from original
2016-08-30 11:13:12 +05:30
Glenn Randers-Pehrson
2e2330bf25
[libpng16] Bump version to 1.6.25rc04
2016-08-29 16:15:28 -05:00
Glenn Randers-Pehrson
0a2d496d58
[libpng16] Imported from libpng-1.6.25rc03.tar
2016-08-29 16:10:33 -05:00
Glenn Randers-Pehrson
000f07bfbe
[libpng16] Bump version to 1.6.25rc03
2016-08-29 10:57:26 -05:00
Glenn Randers-Pehrson
2e7c3a6e70
[libpng16] Imported from libpng-1.6.25rc02.tar
2016-08-29 10:45:13 -05:00
Glenn Randers-Pehrson
05a4db1fcd
[libpng16] Update CHANGES, ANNOUNCE with entry about MIPS support
2016-08-29 09:13:09 -05:00
Mandar Sahastrabuddhe
ee5e39835c
Added build support for MIPS MSA
...
Also added one msa optimized function: png_read_filter_row_up_msa
Signed-off-by: Mandar Sahastrabuddhe <Mandar.Sahastrabuddhe@imgtec.com >
2016-08-29 19:07:25 +05:30
Glenn Randers-Pehrson
143434ac78
[libpng16] Bump version to 1.6.25beta03
2016-08-18 12:23:08 -05:00
Glenn Randers-Pehrson
4dc4b2efac
[libpng16] Imported from libpng-1.6.25beta02.tar
2016-08-18 12:17:31 -05:00
Glenn Randers-Pehrson
e175eb1ffb
[libpng16] Further trivial editing of whitespace in INSTALL
2016-08-18 12:15:53 -05:00
Glenn Randers-Pehrson
4be85e1b37
[libpng16] Rebased contrib/intel/intel_sse.patch
2016-08-17 06:52:07 -05:00
Glenn Randers-Pehrson
9cab7a24fd
[libpng16] Minor editing of INSTALL, (whitespace, added copyright line)
2016-08-17 06:39:26 -05:00
Glenn Randers-Pehrson
39df0ced18
[libpng16] Don't install pngcp; it conflicts with pngcp in the pngtools package.
...
Moved it from bin_PROGRAMS to check_PROGRAMS in Makefile.am so it will be
built but not installed.
2016-08-13 21:23:42 -05:00
Glenn Randers-Pehrson
2705f55221
[libpng16] Bump version to 1.6.25beta02
2016-08-12 07:05:46 -05:00
Glenn Randers-Pehrson
4679be7c2b
[libpng16] Imported from libpng-1.6.25beta01.tar
2016-08-12 07:00:44 -05:00
Glenn Randers-Pehrson
935676cdad
[libpng16] Revert use of png_malloc_array in iCCP chunk reader
2016-08-12 06:58:15 -05:00
Glenn Randers-Pehrson
8ff2ed2fe1
[libng16] Conditionally compile png_inflate(). It's not needed for iCCP
...
chunk reading.
2016-08-11 20:13:33 -05:00
Glenn Randers-Pehrson
6bdaf38d12
[libpng16] Revert change to png_malloc_array(). It's not needed
...
now that iCCP profile_length honors PNG_USER_CHUNK_MALLOC_MAX.
2016-08-10 22:26:12 -05:00
Glenn Randers-Pehrson
e018ab98be
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-08-10 20:49:48 -05:00
John Bowler
92a7c79db2
[libpng16] Reject oversized iCCP profile length
...
The code now validates the ICC profile length against the user chunk limit
before the buffer is allocated, as opposed to doing it while the buffer is read.
This removes the potential to consume virtual address space with a carefully
crafted ICC profile; only an issue on 32-bit systems where a valid profile can
be up to 2^32-4 bytes in length. libpng never writes beyond the application
supplied limit, but previously it did allocate a buffer of the size specified in
the profile header. The exploitability of this is almost zero; the address
space is released as soon as the PNG read completes.
Also clean up PNG_DEBUG compile of pngtest.c.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-08-10 15:35:09 -07:00
Glenn Randers-Pehrson
19fefd3a4b
[libpng16] Return NULL from png_malloc_array() with a warning instead of calling
...
png_error() on failure. Reject oversized iCCP profile immediately.
2016-08-10 12:09:22 -05:00
Glenn Randers-Pehrson
cdc0e74ee6
[libpng16] Bump version to 1.6.25beta01
2016-08-03 21:59:27 -05:00
Glenn Randers-Pehrson
b50d5cea2b
[libpng16] Imported from libpng-1.6.24.tar
2016-08-03 21:32:26 -05:00
Glenn Randers-Pehrson
3d3c23b39f
[libpng16] Bump version to 1.6.24rc04
2016-08-02 12:58:15 -05:00
Glenn Randers-Pehrson
2bb9ee89fa
[libpng16] Imported from libpng-1.6.24rc03.tar
2016-08-02 12:58:07 -05:00
Glenn Randers-Pehrson
96db0fff50
[libpng16] Conditionally compile ARM_NEON headers in pngpriv.h
...
Updated contrib/intel/intel_sse.patch
2016-08-02 09:31:05 -05:00
Glenn Randers-Pehrson
99663e95f8
[libpng16] Bump version to 1.6.24rc03
2016-08-01 18:00:51 -05:00
Glenn Randers-Pehrson
1153ddccb6
[libpng16] Imported from libpng-1.6.24rc02.tar
2016-08-01 18:00:40 -05:00
Glenn Randers-Pehrson
8d091a640b
[libpng16] Conditionally compile png_decompress_chunk().
2016-08-01 17:50:42 -05:00
Glenn Randers-Pehrson
2c0b7a8ff6
[libpng16] Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
2016-07-31 21:22:06 -05:00
Glenn Randers-Pehrson
faa3e537e1
[libpng16] Imported from libpng-1.6.24rc01.tar
2016-07-25 07:53:38 -05:00
Glenn Randers-Pehrson
0a5e99d7ee
[libpng16] Rebased contrib/intel/intel_sse.patch
2016-07-24 19:39:43 -05:00
Glenn Randers-Pehrson
d1f9149d8a
[libpng16] Bump version to 1.6.24beta07
2016-07-19 17:01:50 -05:00
Glenn Randers-Pehrson
ee079481c9
[libpng16] Imported from libpng-1.6.24beta06.tar
2016-07-19 17:00:00 -05:00
Glenn Randers-Pehrson
639b48625f
[libpng16] Eliminated unnecessary tests of boolean png_isaligned() vs 0.
2016-07-15 17:22:10 -05:00
Glenn Randers-Pehrson
dd70604cec
[libpng16] Fixed more indentation
2016-07-15 11:20:46 -05:00
Glenn Randers-Pehrson
34c783e2fe
[libpng16] Fix permission on reindent; add license info to contrib/tools/chkfmt
2016-07-14 18:53:30 -05:00
Glenn Randers-Pehrson
82d0009885
[libpng16] Add PD license to new "reindent" tool; remove unused environment var
...
I didn't intend to distribute this but it leaked into the libpng16 source,
so here it is.
2016-07-14 17:40:37 -05:00
Glenn Randers-Pehrson
baed0e32f9
[libpng16] Bump version to 1.6.24beta06
2016-07-14 09:55:45 -05:00
Glenn Randers-Pehrson
3c7c436303
[libpng16] Imported from libpng-1.6.24beta05.tar
2016-07-14 09:55:35 -05:00
Glenn Randers-Pehrson
9b14f5f85a
[libpng16] Fix a bad indent in pngvalid.c
2016-07-13 17:21:31 -05:00
Glenn Randers-Pehrson
0fd9a249de
[libpng16] Update "last changed" dates
2016-07-13 16:29:22 -05:00
Glenn Randers-Pehrson
7a18a2de59
[libpng16] Undo bad indentation change in example.c
2016-07-13 16:26:00 -05:00
Glenn Randers-Pehrson
5d7c7d5132
[libpng16] Fixed a harmless typo in pngwutil.c
2016-07-13 14:45:10 -05:00
Glenn Randers-Pehrson
192e92d681
[libpng16] Fixed some indentation to comply with our coding style.
2016-07-13 14:43:42 -05:00
Glenn Randers-Pehrson
1b9f4817c8
[libpng16] Bump version to 1.6.24beta05
2016-07-08 10:14:50 -05:00
Glenn Randers-Pehrson
d9940f6207
[libpng16] Imported from libpng-1.6.24beta04.tar
2016-07-08 10:14:42 -05:00
Glenn Randers-Pehrson
f7d5419816
[libpng16] Avoid filter-selection heuristic sum calculations in cases where
...
only one filter is a candidate for selection. This trades off code size (added
png_setup_*_row_only() functions) for speed.
2016-07-08 10:09:25 -05:00
Glenn Randers-Pehrson
9928ee0a52
[libpng16] Bump version to 1.6.24beta04
2016-07-04 09:55:49 -05:00
Glenn Randers-Pehrson
66f796e74c
[libpng16] Imported from libpng-1.6.24beta03.tar
2016-07-04 09:55:12 -05:00
Glenn Randers-Pehrson
a3eac818d5
[libpng16] Update CHANGES and ANNOUNCE
2016-07-03 18:10:21 -05:00
John Bowler
cfc19ff1b6
pngcp bug fixes
...
The fixed size buffer for the file name being processed could have a byte
written beyond the end; a bug where the test was updated without changing the
size of the buffer. This commit reduces the buffer to the system maximum.
png_getrowbytes could, in theory, return 0; probably only if there is a bug in
libpng but the code now checks.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-07-03 13:49:36 -07:00
Glenn Randers-Pehrson
80495124b2
[libpng16] Don't call png_icc_set_sRGB() when it's not compiled.
2016-07-03 10:28:54 -05:00
Glenn Randers-Pehrson
2c21a4778d
[libpng16] Relocated misplaced #endif in png.c sRGB profile checking.
2016-07-02 21:17:56 -05:00
Glenn Randers-Pehrson
14b8dee96f
Merge branch 'libpng16' of ssh://git.code.sf.net/p/libpng/code into libpng16
2016-07-02 14:32:37 -05:00
Glenn Randers-Pehrson
11c88033d4
[libpng16] Added "Common linking failures" section to INSTALL
2016-07-02 14:29:29 -05:00
Glenn Randers-Pehrson
25bb30c9b8
[libpng16] Added "Common linking failures" section to INSTALL
2016-07-02 12:00:07 -05:00
John Bowler
54feb0ad2a
pngimage: correct #define checking
...
In libpng 1.7 pngimage needs to check PNG_WRITE_PNG_SUPPORTED (new in 1.7), not
PNG_WRITE_SUPPORTED because png_write_png can be disabled without disabling
PNG_WRITE_SUPPORTED. Copied the approach from 1.6 pngcp.c (so this still works
in 1.6 as well.)
2016-07-02 08:03:09 -07:00
Glenn Randers-Pehrson
b733c50bc0
[libpng16] Updated CHANGES and ANNOUNCE
2016-07-01 18:42:07 -05:00
John Bowler
a93744423d
pngcp.c: correct total time output
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-07-01 11:29:58 -07:00
John Bowler
9957c45073
pngcp: add high resolution timing
...
If PNG_PNGCP_TIMING_SUPPORTED is defined maximal resolution CPU time logging of
png_read_png and png_write_png is enabled via the --time command line option.
This is not on by default but is enabled by contrib/conftests/pngcp.dfa
Signed-off-by: John Bowler <jbowler@acm.org >
2016-07-01 11:29:45 -07:00
John Bowler
0ac91cc657
pngcp: tool to copy PNG files
...
This adds pngcp to the build together with a pngcp.dfa configuration test; the
test revealed some configuration bugs which are fixed by corrections to the
_SUPPORTED macros.
pngcp builds on all tested configurations and a number of bugs have been fixed
to make this happen relative to the version in libpng 1.7 contrib/examples.
pngcp.dfa will have to be different for 1.7 but pngcp.c should work fine (not
yet tested). pngcp itself is still missing a usage message; this is a
preliminary version, although since it behaves the same way as 'cp' most unoids
shouldn't have a problem using it correctly.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-07-01 11:27:43 -07:00
Glenn Randers-Pehrson
d9779744f9
[libpng16] Optimized absolute value calculation in filter selection, similar to
...
code in the PAETH decoder in pngrutil.c. Build with PNG_USE_ABS to use this.
2016-06-29 21:53:57 -05:00
Glenn Randers-Pehrson
ed5a01d922
[libpng16] Update ANNOUNCE
2016-06-23 11:53:31 -05:00
Glenn Randers-Pehrson
d43f93ff93
[libpng16] Bump version to 1.6.24beta03
2016-06-23 11:27:12 -05:00
Glenn Randers-Pehrson
3f2879bf60
[libpng16] Imported from libpng-1.6.24beta02.tar
2016-06-23 11:26:59 -05:00
Glenn Randers-Pehrson
ee1e535298
[libpng16] Bump version to 1.6.24beta03
2016-06-23 11:08:14 -05:00
Glenn Randers-Pehrson
4b4a9583b4
[libpng16] Imported from libpng-1.6.24beta02.tar
2016-06-23 11:08:06 -05:00
John Bowler
da2ba024a5
[libpng16] Update CHANGES and ANNOUNCE
2016-06-23 10:51:44 -05:00
John Bowler
e5d468ea9c
projects/vstudio: enthusiastic warnings
...
The commit removes the three compile warning options from the individual project
files into the zlib.props globals (this should probably be renamed in 1.7). It
increases the warning level from 4 to All and adds a list of the warnings which
need to be turned off. This is semi-documentary; the intent is to tell users of
libpng which warnings have been examined and judged non-fixable at present.
The warning about structure padding *IS* fixable, but it is a signficant change
(moving structure members around). It is currently partially fixed in 1.7, but
only partially.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-06-22 17:40:06 -07:00
John Bowler
21d9e6e0fb
SKIP definition in pngstest.c misplaced
...
The SKIP definition needs to come after the png.h include (see all the other .c
files in contrib/libtests) because it depends on PNG_LIBPNG_VER. This commit
puts it in the correct place.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-06-22 17:38:56 -07:00
John Bowler
98af505439
Fix MSVC Level 4 warning
...
MSVC does not like (uInt) = -(unsigned) (i.e. as an initializer), but it is fine
with it if the conversion is explicitly invoked by a cast.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-06-22 17:37:20 -07:00
John Bowler
1df0ace0b4
Fix MSVC Level 2 warning
...
MSVC doesn't like '-(unsigned)', so replace it by 0U-(unsigned) (in 1.6).
Signed-off-by: John Bowler <jbowler@acm.org >
2016-06-22 17:35:49 -07:00
John Bowler
4af267c07b
Merge branch 'libpng16' of ../../libpng into libpng16
2016-06-20 09:23:59 -07:00
Glenn Randers-Pehrson
6c7c5a04b8
[libpng16] More efficient absolute value calculation on SSE2 (Matthieu Darbois).
2016-06-20 08:28:34 -05:00
Glenn Randers-Pehrson
42069e9432
Merge branch 'tryagain' of git://github.com/mattsarett/libpng into libpng16
2016-06-20 08:27:24 -05:00
Matt Sarett
36762ac4b4
More efficient absolute value on SSE2
2016-06-20 09:06:25 -04:00
Glenn Randers-Pehrson
147dc568da
[libpng16] Backed out previous optimization; the compiler should handle that.
2016-06-19 22:20:52 -05:00
Glenn Randers-Pehrson
29135161d7
[libpng16] Avoid filter-selection heuristic sum calculations in cases where
...
only one filter is a candidate for selection. This trades off code size (added
png_setup_*_row_only() functions) for speed.
2016-06-19 18:43:35 -05:00
John Bowler
9c04f57cab
[libpng15] Corrected filter heuristic overflow handling.
2016-06-19 18:01:33 -05:00
John Bowler
e1123aa80c
Merge branch 'libpng16' of ../../libpng into libpng16
2016-06-12 06:51:09 -07:00
Glenn Randers-Pehrson
4a8105e925
[libpng16] Bump version to 1.6.24beta02
2016-06-11 18:07:44 -05:00
Glenn Randers-Pehrson
51df269afe
[libpng16] Imported from libpng-1.6.24beta01.tar
2016-06-11 18:07:22 -05:00
John Bowler
bf2613b975
Merge branch 'libpng16' of ../../libpng into libpng16
2016-06-11 14:18:35 -07:00
John Bowler
5c6b7e177c
[libpng16] Avoid potential overflow of the PNG_IMAGE_SIZE macro. This macro
...
is not used within libpng, but is used in some of the examples.
2016-06-11 14:11:09 -05:00
Glenn Randers-Pehrson
428f5ddabd
[libpng16] Bump version to 1.6.24beta01
2016-06-11 14:10:03 -05:00
John Bowler
a4b26efa1f
Change image size checks
...
This covers the case where PNG_IMAGE_BUFFER_SIZE can overflow in the application
as a result of the application using an increased 'row_stride'; previously
png_image_finish_read only checked for overflow on the base calculation of
components. (I.e. it checked for overflow of a 32-bit number on the total
number of pixel components in the output format, not the possibly padded row
length and not the number of bytes, which for linear formats is twice the number
of components.)
Signed-off-by: John Bowler <jbowler@acm.org >
2016-06-11 10:04:28 -07:00
Glenn Randers-Pehrson
ed6db9d86b
[libpng16] Imported from libpng-1.6.23.tar
2016-06-09 06:49:42 -05:00
Glenn Randers-Pehrson
ee3c4e43ae
[libpng16] Fixed bad link to RFC2083 in png.5 (Nikola Forro).
2016-06-07 08:22:18 -05:00
Glenn Randers-Pehrson
6d4e4d0cce
[libpng16] Imported from libpng-1.6.23rc02.tar
2016-06-03 21:28:20 -05:00
Glenn Randers-Pehrson
89158b9ad1
[libpng16] Fixed undefined behavior in png_push_save_buffer(). Do not call
...
memcpy() with a null source, even if count is zero (Leon Scroggins III).
2016-06-03 18:40:42 -05:00
Glenn Randers-Pehrson
1fdac25f66
[libpng16] Imported from libpng-1.6.23rc01.tar
2016-06-01 19:17:57 -05:00
Glenn Randers-Pehrson
1017744c94
[libpng16] Added missing ")" in pngerror.c (Matt Sarrett).
2016-06-01 08:59:48 -05:00
Glenn Randers-Pehrson
f757d74898
[libpng16] Moved sse2 prototype from pngpriv.h to contrib/intel/intel_sse.patch.
2016-05-31 09:45:17 -05:00
John Bowler
bd2370c054
pngvalid.c: don't use size_t count arguments
...
Coverity rejects code where an array element count has type size_t, this
elminates the code in question from contrib/libtests/pngvalid.c
Signed-off-by: John Bowler <jbowler@acm.org >
2016-05-30 08:12:51 -07:00
Glenn Randers-Pehrson
dbfd68ae3a
[libpng16] Update CHANGES, ANNOUNCE, and change date in pngvalid.c
2016-05-29 15:47:57 -05:00
John Bowler
801b925edf
pngvalid.c: correct progressive read input buffer
...
The previous version of the code invariably passed just one byte at a time to
libpng. The intention was to pass a random number of bytes in the range 0..511
(and this is what happens now).
Signed-off-by: John Bowler <jbowler@acm.org >
2016-05-29 09:30:00 -07:00
Glenn Randers-Pehrson
a201f859cd
[libpng16] Bump version to 1.6.23beta02
2016-05-29 09:52:31 -05:00
Glenn Randers-Pehrson
84cc738166
[libpng16] Imported from libpng-1.6.23beta01.tar
2016-05-29 09:47:30 -05:00
John Bowler
81f0273d54
[libpng16] Added tests in pngvalid.c to check zero-length IDAT chunks in various
...
positions. Fixed the sequential reader to handle these more robustly
(John Bowler).
2016-05-29 09:45:33 -05:00
Timothy Nikkel
3f46c67c69
[libpng16] Fixed the progressive reader to handle empty first IDAT chunk
...
properly (patch by Timothy Nikkel).
2016-05-29 09:44:04 -05:00
Glenn Randers-Pehrson
6c7459e455
[libpng16] Ensure png_ptr->trans_values is set in png_set_tRNS().
2016-05-27 20:09:23 -05:00
Glenn Randers-Pehrson
8d16725373
[libpng16] Stop a potential memleak in png_set_tRNS() (Bug report by Ted Ying).
2016-05-27 19:55:44 -05:00
Glenn Randers-Pehrson
4e34fd3b8a
[libpng16] Bump version to 1.6.23beta01
2016-05-27 19:48:24 -05:00
Glenn Randers-Pehrson
ac43a87820
[libpng16] Imported from libpng-1.6.22.tar
2016-05-26 07:25:14 -05:00
Glenn Randers-Pehrson
474751e6b2
[libpng16] Bump version to 1.6.22rc04
2016-05-18 07:32:07 -05:00
Glenn Randers-Pehrson
37ab4d946c
[libpng16] Imported from libpng-1.6.22rc03.tar
2016-05-18 07:26:06 -05:00
Glenn Randers-Pehrson
d6e5a72c84
[libpng16] Restored contrib/timepng to default build but check for check for
...
presence of clock_gettime() in configure.ac and Makefile.am.
2016-05-17 18:35:59 -05:00
Glenn Randers-Pehrson
add4581894
[libpng16] Imported from libpng-1.6.22rc02.tar
2016-05-16 16:18:48 -05:00
Glenn Randers-Pehrson
45ad37b31b
[libpng16] Removed contrib/timepng from default build; it does not build
...
on platforms that don't supply clock_gettime().
2016-05-16 16:14:12 -05:00
Glenn Randers-Pehrson
f6ca49c863
[libpng16] Imported from libpng-1.6.22rc01.tar
2016-05-14 09:47:55 -05:00
Glenn Randers-Pehrson
7fa1b5b26c
[libpng16] Bump version to 1.6.22beta07
2016-05-05 19:38:04 -05:00
Glenn Randers-Pehrson
0794fee913
[libpng16] Imported from libpng-1.6.22beta06.tar
2016-05-05 19:37:54 -05:00
David Capello
319a7b842b
Fix genout compilation when CMAKE_OSX_ARCHITECTURES isn't specified
2016-05-04 11:30:43 -03:00
Glenn Randers-Pehrson
50d41533d2
[libpng16] Log changes to scripts/genout.cmake.in (David Capello, Nixon Kwok):
2016-05-01 19:38:12 -05:00
Glenn Randers-Pehrson
8e89b13c47
[libpng16] Fixed issues with scripts/genout.cmake.in (pull requests from dacap@github):
...
Added support to use multiple directories in ZLIBINCDIR variable,
Fixed CMAKE_C_FLAGS with multiple values when genout is compiled on MSVC,
Fixed pnglibconf.c compilation on OS X including the sysroot path.
2016-05-01 19:27:30 -05:00
Glenn Randers-Pehrson
f962ee9dc6
Merge branch 'fix-pnglibconf-on-osx' of git://github.com/aseprite/libpng into libpng16
2016-05-01 19:04:25 -05:00
Glenn Randers-Pehrson
a271625928
Merge branch 'fix-genout-with-multiple-zlib-inc-dirs' of git://github.com/aseprite/libpng into libpng16
2016-05-01 19:03:46 -05:00
Glenn Randers-Pehrson
9f642c1bbc
Merge branch 'fix-genout-with-multiple-c-flags' of git://github.com/aseprite/libpng into libpng16
2016-05-01 19:02:49 -05:00
Glenn Randers-Pehrson
21939d36ec
[libpng16] Use PNG_UINT_31_MAX instead of constant 0x7fffffff in timepng.c
2016-04-29 21:48:52 -05:00
Glenn Randers-Pehrson
8c754b1834
[libpng16] Quieted two Coverity issues in contrib/libtests/timepng.c.
2016-04-28 21:23:37 -05:00
Glenn Randers-Pehrson
2b9f68631c
[libpng16] Rebased contrib/intel_sse.patch.
2016-04-27 22:40:39 -05:00
Glenn Randers-Pehrson
830608b4b8
[libpng16] Bump version to 1.6.22beta06
2016-04-27 13:01:29 -05:00
Glenn Randers-Pehrson
eefd9127ca
[libpng16] Imported from libpng-1.6.22beta05.tar
2016-04-27 13:01:14 -05:00
Glenn Randers-Pehrson
0392e36e94
[libpng16] Fixed typo (missing underscore) in #define PNG_READ_16_TO_8_SUPPORTED
...
(Bug report by Y.Ohashik).
2016-04-19 08:35:09 -05:00
Glenn Randers-Pehrson
a967818235
[libpng16] Moved INTEL-SSE code from pngpriv.h to contrib/intel/intel_sse.patch.
2016-04-19 08:23:10 -05:00
Glenn Randers-Pehrson
8eaa434163
[libpng16] Update CHANGES and ANNOUNCE about timepng.c changes
2016-04-15 11:29:29 -05:00
John Bowler
af9d06e06a
timepng: better errors, fix signed overflow
...
Too many input files would overflow nfiles
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-13 10:04:08 -07:00
John Bowler
703944c39d
timepng: C++ fixes, correct add_one_file
...
timepng would could a file as added even if it failed and the assembly file got
rewound.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-13 09:37:25 -07:00
John Bowler
e81f16bf5d
timepng: more support requirements
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-12 21:17:22 -07:00
John Bowler
7572840cd0
timepng requires STDIO
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-12 21:10:04 -07:00
John Bowler
569a1d27b4
Fix timepng 'skip' return code.
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-12 21:04:27 -07:00
John Bowler
d642eede9a
timepng: fix builds when there is no read support
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-12 21:01:50 -07:00
John Bowler
5b0a0ded05
ANSI C overlength string fix
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-04-12 20:43:29 -07:00
John Bowler
819b125e6e
Merge branch 'libpng16' of ../../libpng into libpng16
2016-04-12 20:10:55 -07:00
Glenn Randers-Pehrson
fa551df95e
[libpng16] Added PNG_FAST_FILTERS macro (defined as
...
PNG_FILTER_NONE|PNG_FILTER_SUB|PNG_FILTER_UP).
2016-04-11 08:23:16 -05:00
John Bowler
76531da252
Merge branch 'libpng16' of ../../libpng into libpng16
2016-04-05 18:52:26 -07:00
Glenn Randers-Pehrson
daf2169797
[libpng16] Bump version to 1.6.22beta05
2016-04-05 19:38:42 -05:00
Glenn Randers-Pehrson
e0acad59cb
[libpng16] Imported from libpng-1.6.22beta04.tar
2016-04-05 19:38:22 -05:00
Glenn Randers-Pehrson
5765a22249
[libpng16] Eliminate PNG_NO_INTEL_SSE_3BPP from intel INSTALL
2016-04-05 12:33:17 -05:00
Glenn Randers-Pehrson
f47e1d4995
[libpng16] Eliminated PNG_NO_INTEL_SSE_3BPP which was just for testing.
2016-04-05 12:16:27 -05:00
Mike Klein
8f506d3257
SSE filter speed improvements for bpp=3.
...
- memcpy-free implementations of load3() / store3().
These should have less variance compiler to compiler.
- call load3() only when needed at the end of a scanline.
In the middle, we can use the faster load4(), ignoring that byte.
2016-04-04 16:10:09 -04:00
David Capello
d960ced6e1
Fix pnglibconf.c compilation on OS X including the sysroot path
...
Without these flags pnglibconf.c compilation fails because it
includes zlib.h -> zconf.h -> sys/types.h which is not found until we
give a correct SDK path with -isysroot flag.
2016-03-31 17:41:16 -03:00
David Capello
7cf9a34ade
Fix CMAKE_C_FLAGS with multiple values when genout is compiled on MSVC
...
Without this patch, CMAKE_C_FLAGS will be processed as a
string/filename on MSVC (e.g. when CMAKE_C_FLAGS is equal
to " /D_WIN32 /D_WINDOWS /W3") and the whole compilation fails.
2016-03-31 14:28:45 -03:00
David Capello
5ef8d1bfbf
Add support to use multiple directories in ZLIBINCDIR variable
...
For example, ZLIB_INCLUDE_DIR might include the directory where zlib.h
is located (source dir) and the zconf.h file is located (binary dir).
2016-03-31 14:18:27 -03:00
John Bowler
6ee90f06ab
Merge branch 'libpng16' of ../../libpng into libpng16
2016-03-18 11:49:11 -07:00
Glenn Randers-Pehrson
46861bc41e
[libpng16] Reformatted the new code in configure.ac
2016-03-15 07:55:41 -05:00
Dagobert Michelsen
12e63e91af
Force back to C89 if needed. This fixes #245
2016-03-14 16:21:06 +01:00
Glenn Randers-Pehrson
edad4639cf
[libpng16] Bump version to 1.6.22beta04
2016-03-09 12:04:48 -06:00
Glenn Randers-Pehrson
1a3fa1e091
[libpng16] Imported from libpng-1.6.22beta03.tar
2016-03-09 12:04:40 -06:00
Glenn Randers-Pehrson
9295264b6f
[libpng16] Update CHANGES and ANNOUNCE
2016-03-07 07:17:28 -06:00
Krishnaraj Bhat
46c47291e8
gcc6: fix misleading indentation warning
...
Although not a bug in this case, but shows up when -Wall is used
2016-03-07 13:56:15 +05:30
John Bowler
e25323e81b
Merge remote-tracking branch 'local/libpng16' into libpng16
2016-02-28 17:44:34 -08:00
John Bowler
2a25fc41f6
[libpng16] timepng usage message, ability to cache the test set
...
This makes tests slightly quicker by allowing the temporary file to be created
beforehand.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-02-28 12:24:52 -06:00
John Bowler
4b4700ceca
Usage message, ability to cache the test set
...
This makes tests slightly quicker by allowing the temporary file to be created
beforehand.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-02-27 21:35:29 -08:00
Glenn Randers-Pehrson
0df91242a2
[libpng16] Update CHANGES and ANNOUNCE, about timepng.c
2016-02-26 19:35:59 -06:00
John Bowler
9821954ecc
contrib/libtests/timepng: make robust, improve
...
The code no longer gives up/fails on invalid PNG data, it just skips it (with
error messages). The code no longer fails on PNG files with data beyond IEND.
Options exist to use png_read_png (reading the whole image, not by row) and, in
that case, to apply any of the supported transforms. This makes for more
realistic testing; the decoded data actually gets used in a meaningful fashion.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-02-26 16:33:38 -08:00
Glenn Randers-Pehrson
e2d113cadf
[libpng16] Updated INSTALL instructions for intel SSE code
2016-02-23 09:29:08 -06:00
Glenn Randers-Pehrson
b4f9f5d041
[libpng16] Fixed cut-and-paste errors in the new intel_sse.patch
...
and added PNG_NO_INTEL_SSE_3BPP macro.
2016-02-22 18:50:59 -06:00
Glenn Randers-Pehrson
6c3d5bd2a0
[libpng16] Moved contrib/intel/*.patch into INSTALL and added intel_sse.patch
2016-02-22 16:38:10 -06:00
Glenn Randers-Pehrson
da9d1d7aa6
[libpng16] Added pngdebug() statements to the new intel code and the arm code.
2016-02-19 14:58:59 -06:00
Glenn Randers-Pehrson
52846504da
[libpng16] Fix copyright in sse code, use C-style comments
2016-02-19 09:46:51 -06:00
Glenn Randers-Pehrson
d06d66e899
[libpng16] Added contrib/intel/INSTALL
2016-02-18 22:17:46 -06:00
Glenn Randers-Pehrson
cdd9a23fd4
[libpng16] Fixed include directives in two new intel files to reflect
...
their new location in contrib/intel/* (was intel/*)
2016-02-18 21:23:24 -06:00
Glenn Randers-Pehrson
4233766b1d
[libpng16] Added Intel SSE support (Matt Sarrett, Google Inc.)
2016-02-18 21:20:28 -06:00
Glenn Randers-Pehrson
f78d1cd47a
[libpng16] Updated LICENSE to say files in the contrib directory are not
...
necessarily under the libpng license, and that some makefiles have
other copyright owners.
2016-02-18 21:10:52 -06:00
Matt Sarett
c3a45944e2
Fix paths in Makefile.am.patch
2016-02-18 12:45:13 -05:00
Matt Sarett
342c4eab2a
Move sse opts into contrib/intel
2016-02-18 12:43:50 -05:00
Matt Sarett
fb375429b5
Fix host_cpu check
2016-02-17 11:52:09 -05:00
Matt Sarett
9a308a3344
Add intel opts to Makefile and configure.ac
2016-02-17 11:43:34 -05:00
Glenn Randers-Pehrson
0348a407e5
[libpng16] Add ${INCLUDES} in scripts/genout.cmake.in (Bug report by Nixon Kwok).
2016-02-16 14:38:28 -06:00
Matt Sarett
5bc58a0ebc
Use immintrin, tweak checks for SSE4, SSSE3
2016-02-16 10:53:36 -05:00
Matt Sarett
577c1f0305
Reformat a bit, add MSVS checks, add SSE4
2016-02-16 10:10:11 -05:00
Matt Sarett
f84f957881
Use PNG_INTEL_SSE_OPT instead of PNG_INTEL_SSE2_OPT
2016-02-15 14:45:14 -05:00
Matt Sarett
9c946e22fc
Add SSSE3 and SSE2 optimized png filter functions
2016-02-15 14:41:27 -05:00
Glenn Randers-Pehrson
1099cdcb5a
[libpng16] Removed dubious "#if INT_MAX" test from png.h that was added to
...
libpng-1.6.19bet02 (John Bowler).
2016-02-13 15:02:16 -06:00
Robert C. Seacord
0c27c8633e
[libpng16] Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU
...
(Robert C. Seacord).
2016-02-13 12:59:39 -06:00
Glenn Randers-Pehrson
baf301d122
[libpng16] Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
...
were accidentally removed from libpng-1.6.17.
2016-02-13 12:01:35 -06:00
Glenn Randers-Pehrson
08bd7654bc
[libpng16] Added a common-law trademark notice and export control information
...
to the LICENSE file, png.h, and the man page.
2016-02-10 11:46:31 -06:00
Glenn Randers-Pehrson
7684bcae7d
[libpng16] Make cmake install public header pnglibconf.h
2016-02-09 09:08:46 -06:00
Glenn Randers-Pehrson
461c7e45b5
[libpng16] Bump version to 1.6.22beta03
2016-02-08 17:13:14 -06:00
Glenn Randers-Pehrson
a4a54aa1bf
[libpng16] Imported from libpng-1.6.22beta02.tar
2016-02-08 17:13:06 -06:00
Roger Leigh
337c694971
[libpng16] Remove extra pngvalid test from CMakeLists.txt
2016-01-30 17:06:13 -06:00
Glenn Randers-Pehrson
05591abeb1
[libpng16] Updated CHANGES, ANNOUNCE, change date in pngrtran.c
2016-01-30 10:08:47 -06:00
Glenn Randers-Pehrson
196a50a4bd
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-01-30 10:00:51 -06:00
Glenn Randers-Pehrson
84a5b7a0f8
[libpng16] Remove redundante dependencies from CMakeLists.txt
2016-01-30 09:49:45 -06:00
Glenn Randers-Pehrson
ed23815985
[libpng16] Removed pngstest-pngsuite test from CMakeLists.txt
2016-01-30 09:32:25 -06:00
John Bowler
f1eafe8b01
Relax limit checks on gamma values.
...
As suggested in the comments gamma values outside the range currently permitted
by png_set_alpha_mode are useful for HDR data encoding. These values are
already permitted by png_set_gamma so it is reasonable caution to extend the
png_set_alpha_mode range as HDR imaging systems are starting to emerge.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-29 18:09:49 -08:00
Glenn Randers-Pehrson
2d3bd021d0
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-01-29 16:23:51 -06:00
Glenn Randers-Pehrson
2a28a4320a
[libpng16] Update copyright information in cmake scripts.
2016-01-29 09:14:41 -06:00
Roger Leigh
8fb55653d1
[libpng16] cmake: Sort test file lists for consistency
2016-01-29 08:25:14 -06:00
John Bowler
e717842a54
pngstest: options to fix per-file seed
...
Also avoid command output substition in tests/pngstest and fix the collation
locale to ASCII/C/POSIX
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-28 23:10:04 -08:00
Roger Leigh
74e481c743
[libpng16] Updated CMakeLists.txt, added supporting scripts/gen*.cmake.in
...
and test.cmake.in
2016-01-28 15:58:45 -06:00
John Bowler
98c6fa2495
PNG_IMAGE_PNG_SIZE_MAX error correction
...
The macro underreported the size (by up to 512 bytes) of an 8-bit non-color
palette based memory format because it failed to take into account that the
memory palette has to be expanded to full RGB when it is written to PNG.
This is not likely to be a serious bug because the macro is new, the memory
format in question is likely to be rarely used and the result of an undersized
buffer fails in a safe way.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-27 16:22:51 -08:00
Glenn Randers-Pehrson
4dac51d260
[libpng16] Update CHANGES and ANNOUNCE
2016-01-27 06:57:02 -06:00
John Bowler
ac796d3f9a
Only use exit(77) in configure builds
...
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-26 17:55:39 -08:00
Glenn Randers-Pehrson
e0ce90ea0a
[libpng16] Bump version to 1.6.22beta02
2016-01-23 14:58:07 -06:00
Glenn Randers-Pehrson
f6a23fe205
[libpng16] Imported from libpng-1.6.22beta01.tar
2016-01-23 14:06:39 -06:00
Glenn Randers-Pehrson
d2b8d46658
[libpng16] Document new png_image_write_to_memory() API
2016-01-23 14:01:44 -06:00
Glenn Randers-Pehrson
93a3bc7343
[libpng16] Revised workaround for Coverity issue in pngvalid.c
2016-01-23 10:09:18 -06:00
John Bowler
7f576964d8
pngunknown.c: handle unknown IDAT
...
This is the test backported from 1.7 to ensure that when treating IDATs as
unknown the test does not fail if there are more than one IDAT chunks in the
file.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-18 19:19:14 -08:00
Glenn Randers-Pehrson
0873ae8242
Merge branch 'libpng16-simple-memory-II' of git://github.com/jbowler/libpng-1 into libpng16
2016-01-18 13:01:19 -06:00
Glenn Randers-Pehrson
571abc9a67
[libpng16] Update CHANGES and ANNOUNCE, fix typos in png.h comments
2016-01-18 12:55:51 -06:00
John Bowler
c68f20cecc
Merge branch 'libpng16' into libpng16-simple-memory-II
2016-01-18 10:50:46 -08:00
Glenn Randers-Pehrson
94f4e972b5
Merge branch 'libpng16-simple-memory-II' of git://github.com/jbowler/libpng-1 into libpng16
2016-01-18 12:43:36 -06:00
John Bowler
175a126a1a
Simplified API: write-to-memory, overflow handling
...
This implements an API and provides a number of assist macros to allow an
application which uses the simplified API write to bypass stdio and write
directly to memory.
It also includes some warnings (png.h) and some check code to detect *possible*
overflow in the ROW_STRIDE and simplified image SIZE macros. This disallows
image width/height/format that *might* overflow. A quiet API change that limits
in-memory image size (uncompressed) to less that 4GByte and image row size
(stride) to less than 2GByte.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-18 09:53:38 -08:00
Glenn Randers-Pehrson
95d2726ecc
[libpng16] Update change dates in pngvalid.c and pngfix.c
2016-01-18 09:24:23 -06:00
Glenn Randers-Pehrson
b8dbd78de8
[libpng16] Updated CHANGES, ANNOUNCE, and copyright notice in pngunknown.c
2016-01-18 09:09:33 -06:00
John Bowler
777dbf46dc
pngunknown: fix NO_STDIO build
...
pngunknown.c calls png_init_io (always), skip the test if there is no stdio.h
support.
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-18 05:08:27 -08:00
Glenn Randers-Pehrson
e8558d2160
[libpng16] Changed PNG_USE_MKSTEMP to __COVERITY__ to select alternate
...
"tmpfile()" implementation in contrib/libtests/pngstest.c
2016-01-17 16:08:39 -06:00
Glenn Randers-Pehrson
5031c77d85
[libpng16] Bump version to 1.6.22beta01
2016-01-16 08:00:09 -06:00
Glenn Randers-Pehrson
fc0786a442
[libpng16] Imported from libpng-1.6.21.tar
2016-01-15 13:51:06 -06:00
Glenn Randers-Pehrson
780079e771
[libpng16] Worked around a false-positive Coverity issue in pngvalid.c.
2016-01-13 09:50:41 -06:00
Glenn Randers-Pehrson
253326c52d
[libpng16] Deleted a left-over cut-and-paste line in png_get_copyright().
2016-01-08 06:30:15 -06:00
Glenn Randers-Pehrson
81dfc2163b
[libpng16] Imported from libpng-1.6.21rc02.tar
2016-01-07 09:31:16 -06:00
Glenn Randers-Pehrson
9b54f0037a
[libpng16] Update CHANGES and ANNOUNCE
2016-01-06 15:59:49 -06:00
John Bowler
b416dc5fc8
Mark 'limit' UNUSED in transform_range_check
...
Only affects release builds
Signed-off-by: John Bowler <jbowler@acm.org >
2016-01-06 12:58:01 -08:00
Glenn Randers-Pehrson
ecc022ee5f
[libpng16] Bump version to libpng-1.6.21rc02.tar
2016-01-06 13:26:32 -06:00
Glenn Randers-Pehrson
092b8d7bf3
[libpng16] Imported from libpng-1.6.21rc01.tar
2016-01-04 08:24:14 -06:00
Glenn Randers-Pehrson
912f030532
[libpng16] Removed redundant "option WRITE" from scripts/pnglibconf.dfa
2016-01-02 13:43:52 -06:00
Glenn Randers-Pehrson
66db757dd4
[libpng16] Happy 2016! Updated copyright year
2016-01-02 13:40:27 -06:00
Glenn Randers-Pehrson
9616bf6882
[libpng16] In projects/vstudio, combined readme.txt and WARNING into README.txt
2015-12-29 08:24:38 -06:00
Glenn Randers-Pehrson
dea53bb460
[libpng16] Bump version to 1.6.21beta04
2015-12-19 10:48:20 -06:00
Glenn Randers-Pehrson
35a5a6c16d
[libpng16] Imported from libpng-1.6.21beta03.tar
2015-12-19 10:48:12 -06:00
Glenn Randers-Pehrson
42b438b7dc
[libpng16] Update CHANGES and ANNOUNCE
2015-12-17 20:51:13 -06:00
John Bowler
18765d0032
Fix undefined behavior in pngvalid.c
...
Undefined because (png_byte) << shift is undefined if it changes the signed bit
(because png_byte is promoted to int). The libpng exported functions
png_get_uint_32 and png_get_uint_16 handle this.
Bug reported by David Drysdale as a result of reports from UBSAN in clang 3.8.
This changes pngvalid to use BE random numbers; this used to produce errors but
these should not be fixed as a result of the previous changes.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-12-17 12:53:08 -08:00
Glenn Randers-Pehrson
4aa590288b
[libpng16] Updated CHANGES and ANNOUNCE
2015-12-15 12:55:56 -06:00
Glenn Randers-Pehrson
315b39c73a
Merge branch 'libpng16' of git://github.com/jbowler/libpng-1 into libpng16
2015-12-15 12:28:33 -06:00
John Bowler
2225ca0a54
pngvalid with 'limit' checks disabled in RC+
...
This widens the 'limit' check on the internally calculated error limits in the
'DIGITIZE' case (the code used prior to 1.7 for rgb_to_gray error checks) and it
changes the check to only operate in non-release builds (base build type not RC
or RELEASE.)
Signed-off-by: John Bowler <jbowler@acm.org >
2015-12-15 08:28:47 -08:00
Glenn Randers-Pehrson
ad29c03711
[libpng16] Bump version to 1.6.21beta03
2015-12-13 23:24:36 -06:00
Glenn Randers-Pehrson
0a4967ce0c
[libpng16] Imported from libpng-1.6.21beta02.tar
2015-12-13 23:23:41 -06:00
Glenn Randers-Pehrson
b3d3a5ed6a
[libpng16] Imported from libpng-1.6.21beta02.tar
2015-12-13 22:44:31 -06:00
Glenn Randers-Pehrson
4d8de33979
[libpng16] Update copyright uears in source files.
2015-12-13 22:41:17 -06:00
Glenn Randers-Pehrson
32629bb522
[libpng16] Update CHANGES and ANNOUNCE
2015-12-13 20:35:15 -06:00
Glenn Randers-Pehrson
0bc972fbc2
[libpng16] Fix typo in "last-changed" date.
2015-12-13 20:19:36 -06:00
John Bowler
6cc84b3c44
Fix rgb_to_gray graylo==0 errors, build issues
...
Fixes to pngvalid for various reduced build configurations (eliminate unused
statics) and a fix for the case in rgb_to_gray when the digitize option reduces
graylo to 0, producing a large error.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-12-13 18:00:41 -08:00
John Bowler
c5e81c51d9
Remove LE/BE dependencies in pngvalid
...
This 'fixes' the current problem in the BE tests by not testing it, making the
BE code the same as the LE version.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-12-13 17:15:02 -08:00
John Bowler
cbe5d34f6f
Backport pngvalid.c from libpng17
...
One fix is required for libpng16 LE, more for libpng16 BE
Signed-off-by: John Bowler <jbowler@acm.org >
2015-12-13 17:07:36 -08:00
Glenn Randers-Pehrson
975cbbb029
[libpng16] Moved png_check_keyword() from pngwutil.c to pngset.c
2015-12-13 15:04:18 -06:00
Glenn Randers-Pehrson
f3da771890
[libpng16] Bump version to 1.6.21beta02
2015-12-11 19:21:01 -06:00
Glenn Randers-Pehrson
2edfd187f2
[libpng16] Imported from libpng-1.6.21beta01.tar
2015-12-11 16:39:54 -06:00
John Bowler
2c8a90ef52
[libpng16] Changed "( ... )" to " ... " in tests/pngstest (John Bowler)
2015-12-09 13:16:28 -06:00
Glenn Randers-Pehrson
0de0101fdd
[libpng16] Bump version to 1.6.21beta01
2015-12-08 22:19:15 -06:00
Glenn Randers-Pehrson
1dbfb07c08
[libpng16] Fixed a syntax error in tests/pngstest that some shells other than
...
bash could not parse (Bug report by Nelson Beebe).
2015-12-08 22:18:01 -06:00
Glenn Randers-Pehrson
5b6a6f914b
[libpng16] Imported from libpng-1.6.20.tar
2015-12-02 22:30:37 -06:00
Glenn Randers-Pehrson
4fa5f90346
[libpng16] Imported from libpng-1.6.20rc02.tar
2015-11-29 16:46:56 -06:00
Glenn Randers-Pehrson
ebeca5bd9b
[libng16] Update CHANGES
2015-11-29 16:46:04 -06:00
Glenn Randers-Pehrson
9dcf45c65c
Merge branch 'libpng16' of git://github.com/jbowler/libpng-1 into libpng16
2015-11-29 16:20:54 -06:00
Glenn Randers-Pehrson
030e12ec39
[libpng16] Bump version to libpng-1.6.20rc02.tar
2015-11-29 16:10:46 -06:00
John Bowler
12bebfe0f9
Merge branch 'libpng16' of ../../libpng into libpng16
2015-11-28 00:08:20 -08:00
John Bowler
28a1cdfc2e
Fix inconsistent handling of invalid zlib data
...
In libpng 1.6 zlib initialization was changed to use the window size in the zlib
stream, not a fixed value. This causes some invalid images, ones where CINFO is
too large, to display 'correctly' if the rest of the data is valid. This
provides a work-round for zlib versions where the error arises (ones that
support the API change to use the window size in the stream).
Signed-off-by: John Bowler <jbowler@acm.org >
2015-11-27 23:57:39 -08:00
Glenn Randers-Pehrson
e7092bc59c
[libpng16] Imported from libpng-1.6.20rc01.tar
2015-11-26 07:04:24 -06:00
Glenn Randers-Pehrson
87049cbf84
[libpng16] Update CHANGES, ANNOUNCE, minor editing of contrib/*/*.c
2015-11-25 15:55:01 -06:00
Glenn Randers-Pehrson
19ffb62903
[libpng16] Update CHANGES and ANNOUNCE about pngfix.c
2015-11-25 15:25:40 -06:00
John Bowler
f5778c8fbb
Fix error in handling of bad zlib CMINFO field
...
Signed-off-by: John Bowler <jbowler@acm.org >
2015-11-25 12:59:42 -08:00
Glenn Randers-Pehrson
92ec30a3b1
[libpng16] Imported from libpng-1.6.20beta03.tar
2015-11-24 09:34:02 -06:00
John Bowler
8a08b6457a
Test backport
...
Tests backported from the multi-version compatible ones in libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org >
2015-11-23 20:15:51 -08:00
Glenn Randers-Pehrson
9a2065c5ee
[libpng16] Imported from libpng-1.6.20beta02.tar
2015-11-23 09:29:44 -06:00
Glenn Randers-Pehrson
27f08ac11d
[lbpng16] Revert 12 -> 12U change in pngrutil.c
2015-11-22 22:59:47 -06:00
Glenn Randers-Pehrson
0a9afc12de
[libpng16] Fixed bug recently introduced in png_set_PLTE() that uses png_ptr
...
not info_ptr.
2015-11-22 20:53:02 -06:00
Glenn Randers-Pehrson
a1a2ae2a25
[libpng16] Bump version to 1.6.20beta02
2015-11-22 14:11:29 -06:00
Glenn Randers-Pehrson
26942c818e
[libpng16] Imported from libpng-1.6.20beta01.tar
2015-11-22 14:08:52 -06:00
Glenn Randers-Pehrson
8ba160ba94
[libpng16] Use unsigned constants in buffer length comparisons
2015-11-21 14:31:59 -06:00
John Bowler
1ceedd0bf6
[libpng16] Another whack at png_handle_sPLT() pointer calculation.
2015-11-19 20:45:08 -06:00
Viktor Szakats
4db6127658
pngread: avoid clang warning for unreachable code
...
```
pngread.c:2841:10: warning: 'break' will never be executed [-Wunreachable-code-break]
break;
^~~~~
```
2015-11-19 19:54:01 +01:00
Glenn Randers-Pehrson
c4b2282fee
[libpng16] Removed new redundant check for length < 12 in pngrutil.c
2015-11-17 16:36:06 -06:00
Glenn Randers-Pehrson
001513c9ca
[libpng16] Removed new redundant check for libpng < 12 in pngrutil.c
2015-11-17 16:23:51 -06:00
Glenn Randers-Pehrson
162f9f87f9
[libpng16] Remove newly-added useless typecasts.
2015-11-16 09:23:25 -06:00
Glenn Randers-Pehrson
9965f63a44
[libpng16] Changed size_t to png_uint_32 in new buffer checks (John Bowler)
2015-11-15 15:27:22 -06:00
Glenn Randers-Pehrson
070a0eb58f
[libpng16] Revised recent pngrutil.c patch as suggested by pascal
2015-11-14 16:45:26 -06:00
Glenn Randers-Pehrson
0b4e7deab1
[libpng16] Avoid potential pointer overflow in png_handle_sPLT() and
...
png_handle_pCAL() (Bug report by John Regehr).
2015-11-13 11:05:27 -06:00
Glenn Randers-Pehrson
f1cdf4e1ca
[libpng16] Bump version to 1.6.20beta01
2015-11-13 10:18:18 -06:00
Glenn Randers-Pehrson
415d26805a
[libpng16] Imported from libpng-1.6.19.tar
2015-11-12 07:13:31 -06:00
Glenn Randers-Pehrson
83f4c735c8
[libpng16] Clean up coding style in png_handle_PLTE()
2015-11-05 11:18:44 -06:00
Glenn Randers-Pehrson
64fef09b67
[libpng16] Imported from libpng-1.6.19rc04.tar
2015-11-05 06:59:34 -06:00
Glenn Randers-Pehrson
9f2ad4928e
[libpng16] Fixed new bug with CRC error after reading an over-length palette.
2015-11-04 23:47:42 -06:00
Glenn Randers-Pehrson
0e30044094
[libpng16] Imported from libpng-1.6.19rc03.tar
2015-11-03 09:57:01 -06:00
Glenn Randers-Pehrson
fc8450833a
[libpng16] Clarified COPYRIGHT information to state explicitly that versions
...
are derived from previous versions.
Removed much of the long list of previous versions from png.h and
libpng.3.
2015-11-03 08:24:56 -06:00
Glenn Randers-Pehrson
6761aacbfa
[libpng16] Bump version to 1.6.19rc03
2015-11-03 08:15:06 -06:00
Glenn Randers-Pehrson
408dbac801
[libpng16] Fixed some inconsequential cut-and-paste typos
...
in png_set_cHRM_XYZ_fixed().
2015-11-01 12:38:33 -06:00
Glenn Randers-Pehrson
b00d986d54
[libpng16] Imported from libpng-1.6.19rc02.tar
2015-10-31 09:04:18 -05:00
Glenn Randers-Pehrson
305ada6672
Merge branch 'libpng16' of https://github.com/jbowler/libpng-1 into libpng16
2015-10-30 12:48:07 -05:00
Glenn Randers-Pehrson
1bef8e9799
[libpng16] Silently truncate over-length PLTE chunk while reading.
2015-10-30 11:34:37 -05:00
Glenn Randers-Pehrson
a901eb3ce6
[libpng16] Prevent reading over-length PLTE chunk (Cosmin Truta).
2015-10-30 07:57:49 -05:00
John Bowler
896c3cfb76
rowbytes check correction
...
The old code incorrectly calculated the output rowbytes when the
application decreased either the number of channels or the bit depth (or
both) in a user transform. This was safe; libpng overallocated buffer
space (potentially by quite a lot; up to 4 times the amount required)
but, from 1.5.4 on, resulted in a png_error.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-10-29 18:16:48 -07:00
Glenn Randers-Pehrson
06509be841
[libpng16] Bump version to 1.6.19rc02
2015-10-29 09:28:33 -05:00
Glenn Randers-Pehrson
81f44665cc
[libpng16] Reject attempt to write over-length PLTE chunk
2015-10-29 09:26:41 -05:00
Glenn Randers-Pehrson
9c7ed35a65
[libpng16] Imported from libpng-1.6.19rc01.tar
2015-10-23 09:30:20 -05:00
Glenn Randers-Pehrson
05e81e18d2
[libpng16] Bump version to 1.6.19beta05
2015-10-14 22:25:29 -05:00
Glenn Randers-Pehrson
6ca8ee1518
[libpng16] Imported from libpng-1.6.19beta04.tar
2015-10-14 22:25:21 -05:00
Glenn Randers-Pehrson
59e655b020
[libpng16] Added sPLT support to pngtest.c
2015-10-10 12:05:55 -05:00
Glenn Randers-Pehrson
5bd9d66098
[libpng16] Updated CHANGES and ANNOUNCE
2015-10-03 15:16:53 -05:00
John Bowler
2163c930b0
pow and sbit fixes backported to pngvalid from 1.7
...
Signed-off-by: John Bowler <jbowler@acm.org >
2015-10-03 11:14:43 -07:00
John Bowler
18f0bd1d63
Merge remote-tracking branch 'local/libpng16' into libpng16
2015-09-27 08:52:50 -07:00
Glenn Randers-Pehrson
5b9c044332
Revert "[libpng16] Fix bad merge of contrib/libtests/pngvalid.c"
...
This reverts commit 9517f7b636 .
2015-09-27 09:17:45 -05:00
John Bowler
dc3069bcb1
Merge branch 'libpng16' into libpng16-pngvalid-rgb-to-gray-digitize-issues
2015-09-26 21:29:06 -07:00
Glenn Randers-Pehrson
9517f7b636
[libpng16] Fix bad merge of contrib/libtests/pngvalid.c
2015-09-26 23:11:15 -05:00
Glenn Randers-Pehrson
b77d929217
[libpng16] Restored Makefile.am and configure.ac (they had been
...
inadvertently replaced with libpng17 versions).
2015-09-26 22:54:51 -05:00
Glenn Randers-Pehrson
b939ce06be
[libpng17] Makefile.am and configure.ac were out of date.
2015-09-26 22:26:44 -05:00
Glenn Randers-Pehrson
f9e37f54eb
[libpng16] Worked around rgb-to-gray issues in libpng 1.6. The previous
...
attempts to ignore the errors in the code aren't quite enough to
deal with the 'channel selection' encoding added to libpng 1.7; abort.
2015-09-26 21:31:53 -05:00
John Bowler
04402a9126
Fix (work round) rgb-to-gray issues in libpng 1.6
...
The previous attempts to ignore the errors in the code aren't quite enough to
deal with the 'channel selection' encoding added to libpng 1.7; abort.
pngvalid.c is changed to drop this encoding in prior versions.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-26 17:41:02 -07:00
Glenn Randers-Pehrson
068cb3a64c
[libpng16] Bump version to 1.6.19beta04
2015-09-26 09:44:43 -05:00
Glenn Randers-Pehrson
f4302a73ac
[libpng16] Imported from libpng-1.6.19beta03.tar
2015-09-26 09:44:34 -05:00
John Bowler
23ddeb58a5
pngvalid tests: add --strict, fix test names
...
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-25 17:06:58 -07:00
John Bowler
956f295d48
Merge remote-tracking branch 'local/libpng16' into libpng16
2015-09-25 16:58:43 -07:00
Glenn Randers-Pehrson
61257bc2de
[libpng16] Update CHANGES and ANNOUNCE
2015-09-25 18:25:08 -05:00
John Bowler
6297297708
Enable low-bit-depth gray tests in pngvalid
...
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-25 16:21:45 -07:00
John Bowler
fd42ef9b06
pngstest 1.6 error limit and warning revisions
...
Remove the '--strict' in 1.6 because of the double-gamma-correction warning,
update pngstest-errors.h for the errors detected with the new contrib/testspngs
PNG test files.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-25 13:40:18 -07:00
John Bowler
a2671a7f49
test PNG files (contrib/testpngs)
...
Back ported from libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-25 13:10:13 -07:00
John Bowler
fa5ba2e026
New test PNG files incorporated into make check
...
tests/pngstest-* are changed so that the new test files are divided into 8
groups by gamma and alpha channel. This makes each test take just under 5
seconds on a moderately up-to-date x86_64 system using libpng16 (test times are
somewhat variable under libpng17 at present because of the lack of optimization
in some gamma processing paths.)
These tests have considerably better code and pixel-value coverage than
contrib/pngsuite however coverage is still incomplete.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-25 12:41:56 -07:00
Glenn Randers-Pehrson
01a0e8062d
[libpng16] Reverted addition of png_set_filler_16 and png_set_add_alpha_16()
...
functions. They unnecessarily duplicate png_set_filler() and png_set_add_alpha()
which now work properly with 16-bit images.
2015-09-24 22:39:53 -05:00
Glenn Randers-Pehrson
5b038f83e7
[libpng16] Fix typo in manual
2015-09-23 22:27:14 -05:00
Glenn Randers-Pehrson
efe4e5d10d
[libpng16] Reverted the fix of byte order in png_do_read_filler() with 16-bit
...
input that was made in version 1.6.17beta01, to preserve legacy
behavior even though it was incorrect. Instead, added new API
png_set_filter_16() and png_set_add_alpha_16() that set a flag to
make png_do_read_filter() interpret the filler bytes properly.
2015-09-23 22:08:04 -05:00
John Bowler
d6eb4b71ac
Updated pngstest-errors.h
...
This update incorporates errors resulting from the more extensive image test
suite used in libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-20 20:59:10 -07:00
Glenn Randers-Pehrson
4c9c43d4d4
[libpng16] Added license info to pngstest-errors.h and its generator.
2015-09-19 20:17:44 -05:00
Glenn Randers-Pehrson
0cc11b86ba
[libpng16] Update ANNOUNCE and CHANGES with recent pngstest updates.
2015-09-19 19:57:59 -05:00
John Bowler
93b4568fc0
pngstest: make error limits version specific
...
Splitting the machine generated error structs out to a file allows the values to
be updated without changing pngstest.c itself, since libpng 1.6 and 1.7 have
slightly different error limits this simplifies maintenance.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-19 16:34:30 -07:00
Glenn Randers-Pehrson
f6cd8f2d65
[libpng16] Updated description of filler-byte bugfix in CHANGES.
2015-09-18 23:37:25 -05:00
Glenn Randers-Pehrson
8bfcb4c7a7
[libpng16] Copied contrib/libtests/pngvalid.c from libpng17.
2015-09-18 14:24:49 -05:00
Glenn Randers-Pehrson
eb0bf4f468
[libpng16] Updated pngvalid.c with recent changes from libpng17
2015-09-18 13:09:57 -05:00
John Bowler
e8c554661c
Back-port pngvalid corrections and enhancements
...
This is a patch for libpng16.
It incorporates fixes to the low-bit-depth gray background handling from
libpng17 and turns one of the low-bit-depth gray cases that does work (and,
indeed, did work before) in libpng16
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-17 07:56:30 -07:00
John Bowler
c3e7e7d715
[libpng16] tests backported from libpng 1.7
...
This updates libpng16 with all the test changes from libpng17,
including changes to pngvalid.c to ensure that the original,
distributed, version of contrib/visupng/cexcept.h can be used.
pngvalid contains the correction to the use of SAVE/STORE_
UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7. More
tests contain the --strict option to detect warnings and the
pngvalid-standard test has been corrected so that it does not
turn on progresive-read (there is a separate test which does
that.)
Some signed/unsigned fixes have been made.
Signed-off-by: John Bowler <jbowler@acm.org >
2015-09-15 15:38:52 -07:00
Glenn Randers-Pehrson
1e16e8829d
[libpng16] Fix typo (extra "*/") in contrib/libtests/fakepng.c
2015-09-15 17:07:34 -05:00
John Bowler
33a97c5c8a
[libpng16] Fixed png_save_int_32 when int is not 2's complement (John Bowler).
2015-08-21 14:42:00 -05:00
Glenn Randers-Pehrson
39be3b81da
[libpng16] Bump version to 1.6.19beta03
2015-08-19 12:58:26 -05:00
Glenn Randers-Pehrson
4c02a5930a
[libpng16] Imported from libpng-1.6.19beta02.tar
2015-08-19 12:58:14 -05:00
John Bowler
2d62f7406f
[libpng16] Fixed the recently reported 1's complement security issue by
...
replacing the value that is illegal in the PNG spec, in both signed and
unsigned values, with 0. Illegal unsigned values (anything greater than or equal
to 0x80000000) can still pass through, but since these are not illegal
in ANSI-C (unlike 0x80000000 in the signed case) the checking that
occurs later can catch them (John Bowler).
2015-08-19 12:56:48 -05:00
Glenn Randers-Pehrson
6530e3898d
[libpng16] Restored previous handling of negative input to png_set_sig_bytes().
2015-08-17 21:56:03 -05:00
Glenn Randers-Pehrson
5a26171dd7
[libpng16] Mention the change in png_set_sig_bytes() behavior in the man page.
2015-08-17 21:39:22 -05:00
Robert C. Seacord
167b5e4c27
[libpng16] Safely convert num_bytes to a png_byte in png_set_sig_bytes()
2015-08-17 21:20:34 -05:00
Glenn Randers-Pehrson
a8242fe6fb
[libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnUL
2015-08-17 20:46:27 -05:00
Glenn Randers-Pehrson
15e69748f1
[libpng16] Removed new unnecessary typecast in pngrutil.c
2015-08-17 12:52:56 -05:00
Glenn Randers-Pehrson
268c7bf68b
[libpng16] Use unsigned hex constants in "reciprocal" computations
2015-08-17 12:40:19 -05:00
Glenn Randers-Pehrson
d8b93c29a7
[libpng16] Appended more "UL" to hex constants.
2015-08-17 10:56:17 -05:00
Glenn Randers-Pehrson
b9ba8d6a57
[libpng16] Mention in manual that 16-bit platform support has been dropped.
2015-08-16 23:32:04 -05:00
John Bowler
751cee5ef1
[libpng16] Added signed/unsigned 16-bit safety net. This removes the dubious
...
0x8000 flag definitions on 16-bit systems. They aren't supported
yet the defs *probably* work, however it seems much safer to do this
and be advised if anyone, contrary to advice, is building libpng 1.6
on a 16-bit system. It also adds back various switch default clauses
for GCC; GCC errors out if they are not present (with an appropriately
high level of warnings).
2015-08-16 22:54:21 -05:00
Glenn Randers-Pehrson
8ba4b13c55
[libpng16] Changed 0xnnnn constants to 0xnnnnUL.
2015-08-16 22:49:58 -05:00
Glenn Randers-Pehrson
8b83ff3704
[libpng16] Change "n bit" to "n-bit" in comments.
2015-08-13 20:57:18 -05:00
Glenn Randers-Pehrson
a472858297
[libpng16] Fix links in man page
2015-08-11 15:34:08 -05:00
Glenn Randers-Pehrson
682f4ba2d5
[libpng16] Fix links in man page
2015-08-11 13:04:01 -05:00
Glenn Randers-Pehrson
656720fb42
[libpng16] Fixed dead link in man page
2015-08-11 12:12:46 -05:00
Glenn Randers-Pehrson
fd8ef4c428
[libpng16] Add #ifdef PNG_DEBUG/#endif around normally unreachable code
...
in pngread.c
2015-08-07 14:43:34 -05:00
Victor Szakats
4e1d299e6b
[libpng16] Removed unreachable "break" statements in png.c, pngread.c, and
...
pngrtran.c to suppress clang warnings (Bug report by Viktor Szakats).
2015-08-07 14:31:11 -05:00
Glenn Randers-Pehrson
0e9cd91609
[libpng16] Moved config.h.in~ from the "libpng_autotools_files" list to the
...
"libpng_autotools_extra" list in autogen.sh because it was causing a
false positive for missing files (bug report by Robert C. Seacord).
2015-08-02 21:51:11 -05:00
Glenn Randers-Pehrson
52d159a784
[libpng16] Bump version to 1.6.19beta02
2015-07-30 11:24:53 -05:00
Glenn Randers-Pehrson
67806d44c1
[libpng16] Imported from libpng-1.6.19beta01.tar
2015-07-30 11:18:15 -05:00
Glenn Randers-Pehrson
8510247b5f
[libpng16] Fixed uninitialized variable in contrib/gregbook/rpng2-x.c and
...
fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
2015-07-30 11:16:29 -05:00
Glenn Randers-Pehrson
77becc566f
[libpng16] Suppressed warnings from the Borland C++ 5.5.1/5.82 compiler in png.c
2015-07-29 08:01:12 -05:00
Glenn Randers-Pehrson
e1b505cd1d
[libpng16]Suppressed a warning from the Borland C++ 5.5.1/5.82 compiler
2015-07-29 07:42:19 -05:00
Glenn Randers-Pehrson
e485a09e0e
[libpng16] Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
...
(Bug report by Viktor Szaka'ts). Several warnings remain and are
unavoidable, where we test for overflow.
2015-07-29 07:29:17 -05:00
Glenn Randers-Pehrson
1fa62ae734
[libpng16] Rearranged png.h to put the major sections in the same order as
...
in libpng17.
2015-07-25 20:50:21 -05:00
Glenn Randers-Pehrson
262c396666
[libpng16] More edits to libpng.3 and libpng-manual.txt
2015-07-25 08:30:12 -05:00
Glenn Randers-Pehrson
59a82b40b0
[libpng16] Avoid potentially dereferencing NULL info_ptr in png_info_init_3().
2015-07-25 08:03:05 -05:00
Glenn Randers-Pehrson
e10b7e73db
[libpng16] Updated obsolete information about the simplified API macros in the
...
manual pages (Bug report by Arc Riley).
2015-07-25 08:01:34 -05:00
Glenn Randers-Pehrson
476250ebd2
[libpng16] Bump version to 1.6.19beta01
2015-07-23 20:20:53 -05:00
Glenn Randers-Pehrson
e6172809bd
[libpng16] Imported from libpng-1.6.18.tar
2015-07-22 22:40:52 -05:00
Glenn Randers-Pehrson
db8704e1f4
[libpng16] Imported from libpng-1.6.18rc03.tar
2015-07-15 21:24:11 -05:00
Glenn Randers-Pehrson
1a73305ac2
[libpng16] Removed WEIGHTED_FILTER info from the man page.
2015-07-13 14:53:27 -05:00
Glenn Randers-Pehrson
285a9b22c7
[libpng16] Bump version to 1.6.18rc03
2015-07-13 08:31:05 -05:00
Glenn Randers-Pehrson
be55943d45
[libpng16] Imported from libpng-1.6.18rc02.tar
2015-07-13 07:09:33 -05:00
Glenn Randers-Pehrson
e0874e1934
[libpng16] Restored unused WEIGHTED_FILTER macros removed at libpng-1.6.18beta08
...
to png.h to avoid compatibility warnings.
2015-07-13 07:08:15 -05:00
Glenn Randers-Pehrson
4cb6607c89
[libpng16] Imported from libpng-1.6.18rc01.tar
2015-07-09 11:14:03 -05:00
Glenn Randers-Pehrson
751eb368a8
[libpng16] Added Mans Rullgard and James Yu to the list of Contributing Authors
2015-07-09 11:11:49 -05:00
Glenn Randers-Pehrson
f7654a0c61
[libpng16] Fixed new typo in LICENSE
2015-07-04 20:58:24 -05:00
Glenn Randers-Pehrson
d78eb10f29
[libpng16] Bump version to 1.6.18beta10
2015-07-04 20:43:09 -05:00
Glenn Randers-Pehrson
d2a35c6088
[libpng16] Imported from libpng-1.6.18beta09.tar
2015-07-04 20:42:56 -05:00
Glenn Randers-Pehrson
b9e5e5f5a8
[libpng16] Replaced arbitrary use of 'extern' with #define PNG_LINKAGE_*. To
...
preserve API compatibility, the new defines all default to "extern"
(requested by Jan Nijtmans).
2015-07-03 16:07:54 -05:00
Glenn Randers-Pehrson
a390897ba4
[libpng16] Fixed a new signed-unsigned comparison in pngrtran.c (Max Stepin).
...
Removed some useless typecasts from contrib/tools/png-fix-itxt.c
2015-07-01 14:06:39 -05:00
Glenn Randers-Pehrson
4e5ac72254
[libpng16] Bump version to 1.6.18beta09
2015-06-30 10:54:55 -05:00
Glenn Randers-Pehrson
9d4ea3014b
[libpng16] Imported from libpng-1.6.18beta08.tar
2015-06-30 10:54:44 -05:00
Glenn Randers-Pehrson
f86720c6c0
[libpng16] Fix some indentation.
2015-06-11 22:00:14 -05:00
Glenn Randers-Pehrson
c6f629ffdd
[libpng16] Unlink temporary file immediately in pngstest (PNG_USE_MKSTEMP)
2015-06-11 16:28:54 -05:00
Glenn Randers-Pehrson
81487c8b54
[libpng16] Removed some unused WEIGHTED_FILTER macros from png.h and pngstruct.h
2015-06-10 07:06:42 -05:00
Glenn Randers-Pehrson
f6e7551f06
[libpng16] Eliminated the final two Coverity defects (insecure temporary file
...
handling in contrib/libtests/pngstest.c; possible overflow of
unsigned char in contrib/tools/png-fix-itxt.c). To use the "secure"
file handling, define PNG_USE_MKSTEMP, otherwise "tmpfile()" will
continue to be used.
2015-06-10 07:05:18 -05:00
Glenn Randers-Pehrson
4293254bef
[libpng16] Bump version to 1.6.18beta08
2015-06-06 17:03:35 -05:00
Glenn Randers-Pehrson
867f2ec058
[libpng16] Imported from libpng-1.6.18beta07.tar
2015-06-06 17:03:14 -05:00
Glenn Randers-Pehrson
b26b51d154
[libpng16] Quieted Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,
...
pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt
would only work with iTXt chunks with length 255 or less.
2015-06-03 16:07:01 -05:00
Glenn Randers-Pehrson
f50b593ac0
[libpng16] Update revision information in cexcept.h as required by the license.
2015-06-03 15:41:46 -05:00
John Bowler
7023d871e8
[libpng16] Fix g++ build breaks
2015-06-03 15:04:03 -05:00
John Bowler
2dfcf65981
[libpng16] Fixed NO_WRITE_FILTER and -Wconversion build breaks (John Bowler).
2015-06-03 14:58:18 -05:00
John Bowler
b780eba4e4
[libpng16] Fixed cexcept.h in which GCC 5 now reports that one of the auto
...
variables in the Try macro needs to be volatile to prevent value
being lost over the setjmp.
2015-06-03 14:46:34 -05:00
John Bowler
25bfb13770
[libpng16] Removed non-working progressive reader 'skip' function. This
...
function has apparently never been used. It was implemented
to support back-door modification of png_struct in libpng-1.4.x
but was apparently never tested (because it does nothing and cannot
do anything).
2015-06-03 14:31:08 -05:00
Glenn Randers-Pehrson
1a6841c99c
[libpng16] Bump version to 1.6.18beta07
2015-06-01 09:33:33 -05:00
Glenn Randers-Pehrson
1d4f804bc1
[libpng16] Imported from libpng-1.6.18beta06.tar
2015-06-01 09:33:23 -05:00
Glenn Randers-Pehrson
89edbf8317
[libpng16] Removed WRITE_WEIGHTED_FILTERED code, to save a few kbytes of the
...
compiled library size. It never worked properly and as far as we can
tell, no one uses it. The png_set_filter_heuristics() and
png_set_filter_heuristics_fixed() APIs are retained but deprecated
and do nothing.
2015-05-31 22:40:36 -05:00
Glenn Randers-Pehrson
a008dd8344
[libpng16] Bump version to 1.6.18beta06
2015-05-31 10:20:22 -05:00
Glenn Randers-Pehrson
20a2f9b9be
[libpng16] Imported from libpng-1.6.18beta05.tar
2015-05-31 10:20:13 -05:00
Glenn Randers-Pehrson
1088f4925f
[libpng16] Fixed old cut&paste bug in the weighted filter selection code in
...
pngwutil.c, introduced in libpng-0.95, March 1997.
2015-05-30 22:58:54 -05:00
Glenn Randers-Pehrson
b66de48b3b
[libpng16] Changed png_voidcast(), etc., to voidcast(), etc., in
...
contrib/tools/pngfix.c to avoid confusion with the libpng private macros.
2015-05-30 22:57:33 -05:00
Glenn Randers-Pehrson
e6877671f1
[libpng16] Backported filter selection code from libpng-1.7.0beta51, to combine
...
sub_row, up_row, avg_row, and paeth_row into try_row and tst_row.
2015-05-30 11:54:45 -05:00
Glenn Randers-Pehrson
9fbdce8fb5
[libpng16] Bump version to 1.6.18beta05
2015-05-29 11:35:15 -05:00
Glenn Randers-Pehrson
f6b9c993e1
[libpng16] Imported from libpng-1.6.18beta04.tar
2015-05-29 11:28:33 -05:00
Glenn Randers-Pehrson
d46b570919
[libpng16] Avoid a harmless potential integer overflow in png_XYZ_from_xy().
2015-05-20 13:21:53 -05:00
Glenn Randers-Pehrson
918d23f658
[libpng16] Trivial editing of comments in png.c
2015-05-09 21:48:11 -05:00
Glenn Randers-Pehrson
d2fedd629d
[libpng16] Avoid Coverity issue 80858 (REVERSE NULL) in pngtest.c
...
PNG_DEBUG builds.
2015-05-09 21:47:00 -05:00
Glenn Randers-Pehrson
2d069831fb
[libpng16] Document PNG_RELEASE_BUILD in the man page.
2015-05-06 20:31:21 -05:00
John Bowler
8ee821e69a
[libpng16] PNG_RELEASE_BUILD replaces tests where the code depended on the build base
...
type and can be defined on the command line, allowing testing in beta builds. Back
ported from libpng17.
2015-05-06 20:03:14 -05:00
Glenn Randers-Pehrson
279dc3f0bf
[libpng16] Added some documentation about features of the Simplified Write API.
2015-05-06 17:02:47 -05:00
Glenn Randers-Pehrson
846357d592
[libpng16] Bump version to 1.6.18beta04
2015-05-06 16:39:42 -05:00
Glenn Randers-Pehrson
d8d18fbb02
[libpng16] Imported from libpng-1.6.18beta03.tar
2015-05-06 16:39:31 -05:00
John Bowler
74428df2fd
[libpng16] Improved DIV65535 algorithm in simpleover.c. By experiment,
...
(x + (x>>16) + 32769) works as well as the previous form and avoids one shift.
2015-05-06 11:41:17 -05:00
Glenn Randers-Pehrson
d6b1375bf5
[libpng16] Trivial editing of comments in contrib/examples/simpleover.c
2015-05-04 20:25:31 -05:00
John Bowler
0f12df19a1
[libpng16] Added PNG generation tool, fixed unitialized pointer in
...
simpleover. Also added a comment to png.h pointing out that the pointer must
be set to NULL! (simpleover crashes with any slightly complex command lines
without this fix.)
2015-05-04 19:58:41 -05:00
John Bowler
cde3078963
[libpng16] Added contrib/examples/simpleover.c, to demonstrate how to handle
...
alpha compositing of multiple images, using the "simplified API"
2015-05-02 19:53:40 -05:00
Glenn Randers-Pehrson
216ab04994
[libpng16] Updated comment in pngpriv.h about ARM support.
2015-04-29 11:30:35 -05:00
Glenn Randers-Pehrson
e0f0d05938
[libpng16] Replaced "unexpected" with an integer (0xabadca11) in pngset.c
2015-04-29 11:29:31 -05:00
Glenn Randers-Pehrson
23da29af91
[libpng16] Bump version to 1.6.18beta03
2015-04-26 16:38:18 -05:00
Glenn Randers-Pehrson
ecc391bbcf
[libpng16] Imported from libpng-1.6.18beta02.tar
2015-04-26 16:38:10 -05:00
Glenn Randers-Pehrson
c861dc8923
[libpng16] Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
...
(Bug report by Viktor Szaka'ts).
2015-04-01 12:06:01 -05:00
Glenn Randers-Pehrson
507a8cdc5e
[libpng16] Bump version to 1.6.18beta02
2015-04-01 08:24:26 -05:00
Glenn Randers-Pehrson
bd85b5713c
[libpng16] Imported from libpng-1.6.18beta01.tar
2015-04-01 08:24:14 -05:00
John Bowler
a21a5b22c1
[libpng16] Fixed rgb_to_gray checks and added tRNS checks to pngvalid.c
2015-03-30 21:38:31 -05:00
Glenn Randers-Pehrson
d344589703
[libpng16] Removed PNG_SET_CHUNK_[CACHE|MALLOC]_LIMIT_SUPPORTED macros. They
...
have been combined with PNG_SET_USER_LIMITS_SUPPORTED (resolves
bug report by Andrew Church).
2015-03-27 08:58:32 -05:00
Glenn Randers-Pehrson
218a6fe9e5
[libpng16] Bump version to 1.6.18beta01
2015-03-26 08:55:25 -05:00
Glenn Randers-Pehrson
c98f7fb4e3
[libpng16] Imported from libpng-1.6.17.tar
2015-03-26 08:11:12 -05:00
Glenn Randers-Pehrson
f17e6c3046
[libpng16] Imported from libpng-1.6.17rc06.tar
2015-03-22 19:43:23 -05:00
John Bowler
6eecfe3886
[libpng16] Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha
...
value was wrong. It's not clear if this affected the final stored
value; in the obvious code path the upper and lower 8-bits of the
alpha value were identical and the alpha was truncated to 8-bits
rather than dividing by 257 (John Bowler).
2015-03-22 19:42:14 -05:00
Glenn Randers-Pehrson
b383798ac9
[libpng16] Add pnglibconf.dfn and pnglibconf.pre to scripts/pnglibconf.mak
...
"clean" target.
2015-03-21 15:53:44 -05:00
Glenn Randers-Pehrson
ea037b01eb
[libpng16] Remove pnglibconf.dfn and pnglibconf.pre with "make clean".
2015-03-21 15:47:39 -05:00
Glenn Randers-Pehrson
04445235f1
[libpng16] Bump version to 1.6.17rc06
2015-03-21 12:11:10 -05:00
Glenn Randers-Pehrson
778ccbbafa
[libpng16] Imported from libpng-1.6.17rc05.tar
2015-03-21 12:11:00 -05:00
Glenn Randers-Pehrson
c5370ede95
[libpng16] Reverted "& 0xff" additions of version 1.6.17beta01. Libpng passes
...
the Coverity scan without them.
2015-03-21 11:54:32 -05:00
John Bowler
2b66107abb
[libpng16] Define PNG_FILTER_* and PNG_FILTER_VALUE_* in png.h even when WRITE
...
is not supported (John Bowler). This fixes an error introduced in
libpng-1.6.17beta06.
2015-03-17 21:32:27 -05:00
Glenn Randers-Pehrson
0aabfe2a4c
[libpng16] Bump version to 1.6.17rc05
2015-03-17 08:14:23 -05:00
Glenn Randers-Pehrson
16f9246853
[libpng16] Imported from libpng-1.6.17rc04.tar
2015-03-17 08:00:12 -05:00
John Bowler
c9fd075c89
[libpng16] Fix bug in calculation of maxbits, in png_write_sBIT, introduced
...
in libpng-1.6.17beta01 (John Bowler).
2015-03-16 16:31:13 -05:00
Cosmin Truta
47e1315459
[libpng16] Remove pnglibconf.h, pnglibconf.c, and pnglibconf.out instead of
...
pnglibconf.* in "make clean" (Cosmin).
2015-03-15 17:04:17 -05:00
Glenn Randers-Pehrson
49fa8d4cdd
[libpng16] Bump version to 1.6.17rc04
2015-03-12 09:24:49 -05:00
Glenn Randers-Pehrson
a60de343a9
[libpng16] Imported from libpng-1.6.17rc03.tar
2015-03-12 06:49:06 -05:00
Glenn Randers-Pehrson
f2c37d0abf
[libpng16] Updated CMakeLists.txt to add OSX framework, change YES/NO to ON/OFF
...
for consistency, and remove some useless tests (Alexey Petruchik).
2015-03-12 06:48:01 -05:00
Glenn Randers-Pehrson
bc27b2f432
[libpng16] Imported from libpng-1.6.17rc02.tar
2015-03-09 09:20:46 -05:00
Glenn Randers-Pehrson
3645008e22
[libpng16] Free the unknown_chunks structure even when it contains no data.
2015-03-09 09:13:58 -05:00
Glenn Randers-Pehrson
06ee532286
[libpng16] Reverted new test on unknown chunk location; it was bogus.
2015-03-08 08:00:45 -05:00
Glenn Randers-Pehrson
bbe2be3f54
[libpng16] Spelling fixes: less then N -> less than N (Lauri Nurmi)
2015-03-07 13:13:11 -06:00
Glenn Randers-Pehrson
bb098218ca
[libpng16] Fixed some spelling (occur* -> occurr*), Bug report by Lauri Nurmi
2015-03-07 12:59:48 -06:00
Glenn Randers-Pehrson
217d38cdea
[libpng16] Stopped a potential memory leak in png_set_unknown_chunks(). Breaks
...
tests/pngunknown-sAPI so it's temporarily marked SKIP.
2015-03-07 10:35:03 -06:00
Glenn Randers-Pehrson
377fb53944
[libpng16] Removed some comments that the configure script did not handle
...
properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
2015-03-05 20:59:31 -06:00
Glenn Randers-Pehrson
7f85da8df7
[libpng16] Imported from libpng-1.6.17rc02.tar
2015-03-05 20:54:07 -06:00
Glenn Randers-Pehrson
3e0bef6da4
[libpng16] Imported from libpng-1.6.17rc01.tar
2015-03-04 11:19:32 -06:00
Glenn Randers-Pehrson
82511341d7
[libpng16] Bump version to 1.6.17beta07
2015-02-27 19:20:37 -06:00
Glenn Randers-Pehrson
4029db9aac
[libpng16] Imported from libpng-1.6.17beta06.tar
2015-02-27 19:01:02 -06:00
Glenn Randers-Pehrson
7011a8cec3
[libpng16] Added "& 0xff" to things being typecast to "png_byte".
2015-02-27 18:53:44 -06:00
Sergey Kosarevsky
9a3de48b48
[libpng16] Avoid runtime checks when converting integer to png_byte with
...
Visual Studio (Sergey Kosarevsky)
2015-02-27 18:47:43 -06:00
Glenn Randers-Pehrson
494e75ac83
[libpng16] Fixed some typos in the pngfix usage message.
2015-02-26 10:39:13 -06:00
Glenn Randers-Pehrson
3f49c1e42a
[libpng16] Bump version to 1.6.17beta06
2015-02-25 15:42:16 -06:00
Glenn Randers-Pehrson
68f4ea7423
[libpng16] Imported from libpng-1.6.17beta05.tar
2015-02-25 15:17:40 -06:00
Glenn Randers-Pehrson
c6b29ff896
[libpng16] Put #ifdef/#endif around png_set_compression_level in pngwrite.c
2015-02-22 19:39:17 -06:00
Glenn Randers-Pehrson
76f93293a0
[libpng16] Bump version to 1.6.17beta05
2015-02-21 12:49:38 -06:00
Glenn Randers-Pehrson
d375ca5e0d
[libpng16] Imported from libpng-1.6.17beta04.tar
2015-02-21 12:49:25 -06:00
Glenn Randers-Pehrson
60a7506744
[libpng16]Allow calling png_get_IHDR() with NULL arguments (Reuben Hawkins).
2015-02-18 12:24:46 -06:00
Glenn Randers-Pehrson
d3ff44f0d5
[libpng16] Added PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED macro, on by default.
2015-02-17 21:06:23 -06:00
Glenn Randers-Pehrson
43d90b1610
[libpng16] Bump version to 1.6.17beta04
2015-02-17 10:52:33 -06:00
Glenn Randers-Pehrson
de23a49231
[libpng16] Imported from libpng-1.6.17beta03.tar
2015-02-17 10:52:21 -06:00
Glenn Randers-Pehrson
4b65a89cf4
[libpng16] Eliminated PNG_SAFE_LIMITS macro and restored the 1-million-column
...
and 1-million-row default limits in pnglibconf.dfa, that can be reset
by the user at build time or run time. This provides a more robust
defense against DOS and as-yet undiscovered overflows.
Display user limits in the output from pngtest.
2015-02-16 22:52:07 -06:00
Glenn Randers-Pehrson
471b38aa00
[libpng16] Bump version to 1.6.17beta03
2015-02-07 09:16:17 -06:00
Glenn Randers-Pehrson
b6c9ac6304
[libpng16] Imported from libpng-1.6.17beta02.tar
2015-02-07 09:07:09 -06:00
Glenn Randers-Pehrson
8cd78da8b3
[libpng16] Do not build png_product2() when it is unused.
...
Work around more Coverity-scan dead-code warnings.
2015-02-07 09:03:30 -06:00
Glenn Randers-Pehrson
8f0e2729dd
[libpng16] Improved comments on some #ifdef lines.
2015-02-03 19:10:03 -06:00
Glenn Randers-Pehrson
c73d6219f2
[libpng16] Bump version to 1.6.17beta02
2015-01-28 19:20:51 -06:00
Glenn Randers-Pehrson
6ef579df50
[libpng16] Imported from libpng-1.6.17beta01.tar
2015-01-28 19:15:16 -06:00
Glenn Randers-Pehrson
bd76965879
[libpng16] Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
...
pngset.c to avoid warnings about dead code.
2015-01-27 06:53:56 -06:00
Glenn Randers-Pehrson
7a015b92b2
[libpng16] Update "last changed" comment in pngset.c
2015-01-13 09:41:25 -06:00
Glenn Randers-Pehrson
2f56fe4071
[libpng16] Made the check for out-of-range values in png_set_tRNS() detect
...
values that are exactly 2^bit_depth, and work on 16-bit platforms.
2015-01-13 09:25:48 -06:00
Glenn Randers-Pehrson
9d6cab3b21
[libpng16] Updated recent CVE numbers in CHANGES file.
2015-01-10 19:18:17 -06:00
Glenn Randers-Pehrson
04affde6a1
[libpng16] Happy 2015, continued.
2014-12-31 19:03:08 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
Glenn Randers-Pehrson
bba3aa9533
[libpng16] Update "last changed" info in pngrtran.c
2014-12-29 16:36:50 -06:00
John Bowler
b6788ccaff
[libpng16] Implement previously untested libpng transforms in pngvalid.c
2014-12-29 16:31:58 -06:00
John Bowler
cde8cd6b30
[libpng16] Fixed byte order in 2-byte filler, in png_do_read_filler().
2014-12-29 16:24:33 -06:00
John Bowler
19ec55f40e
[libpng16] Added testing of png_set_packing() to pngvalid.c
2014-12-27 19:10:04 -06:00
John Bowler
6a6eb354ff
[libpng16] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 18:54:08 -06:00
Glenn Randers-Pehrson
6b5abbe58e
[libpng16] Corrected the width limit calculation in png_check_IHDR().
2014-12-23 14:33:02 -06:00
Glenn Randers-Pehrson
66c1ec5a26
[libpng16] Removed duplicate PNG_SAFE_LIMITS_SUPPORTED handling from pngconf.h
2014-12-23 14:18:36 -06:00
Glenn Randers-Pehrson
ecd074945c
[libpng16] Bump version to 1.6.17beta01
2014-12-21 22:56:42 -06:00
Glenn Randers-Pehrson
88dd30b232
[libpng16] Imported from libpng-1.6.16.tar
2014-12-21 21:53:00 -06:00
Glenn Randers-Pehrson
10569a452f
[libpng16] Imported from libpng-1.6.16rc03.tar
2014-12-21 17:12:39 -06:00
John Bowler
dc294204b6
[libpng16] Fixed an overflow in png_combine_row with very wide interlaced
...
images.
2014-12-21 17:11:33 -06:00
Glenn Randers-Pehrson
06ee38423b
[libpng16] Imported from libpng-1.6.16rc02.tar
2014-12-21 13:54:45 -06:00
Glenn Randers-Pehrson
6d8c88177a
[libpng16] Imported from libpng-1.6.16rc01.tar
2014-12-21 09:18:15 -06:00
Glenn Randers-Pehrson
f43b5e3709
[libpng16] Imported from libpng-1.6.16beta03.tar
2014-12-20 19:21:32 -06:00
John Bowler
a00ea0aeae
[libpng16] Quiet a "comparison always true" warning in pngstest.c (John Bowler).
2014-12-16 19:18:06 -06:00
Glenn Randers-Pehrson
0659cddd21
[libpng16] Bump version to 1.6.16beta03
2014-12-14 19:42:05 -06:00
Glenn Randers-Pehrson
66d846b0cc
[libpng16] Imported from libpng-1.6.16beta02.tar
2014-12-14 19:24:00 -06:00
John Bowler
d040886dc4
[libpng16] Revised handling of scripts/*.dfn; renamed them to scripts/*.c
2014-12-14 19:17:56 -06:00
Glenn Randers-Pehrson
91f9e0370d
[libpng16] Bump version to 1.6.16beta02
2014-12-14 12:43:12 -06:00
Glenn Randers-Pehrson
86a7eef997
[libpng16] Imported from libpng-1.6.16beta01.tar
2014-12-14 12:38:35 -06:00
Bob Friesenhahn
530eec311d
[libpng16] Revised Makefile.am and scripts/symbols.dfn to work with MinGW/MSYS
2014-12-14 12:37:12 -06:00
Glenn Randers-Pehrson
7c5d037032
[libpng16] Update arm/*.c to libpng coding style.
2014-11-29 17:04:35 -06:00
Glenn Randers-Pehrson
ee16fc4a6f
[libpng16] Added ".align 2" to arm/filter_neon.S to support old GAS assemblers
...
that don't do alignment correctly.
2014-11-29 16:27:27 -06:00
Glenn Randers-Pehrson
2d24cbdd98
[libpng16] Bump version to 1.6.16beta01
2014-11-21 08:25:32 -06:00
Glenn Randers-Pehrson
e8ef689cb9
[libpng16] Imported from libpng-1.6.15.tar
2014-11-20 10:22:57 -06:00
Glenn Randers-Pehrson
aebb7585c9
[libpng16] Imported from libpng-1.6.15rc03.tar
2014-11-16 20:04:53 -06:00
Cosmin Truta
5b9ac20297
[libpng16] Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in
...
scripts/makefile.vcwin32.
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
2014-11-16 19:37:42 -06:00
Glenn Randers-Pehrson
9c05216461
[libpng16] Fix typos in ANNOUNCE and CHANGES
2014-11-14 17:59:40 -06:00
Glenn Randers-Pehrson
d4965b4014
[libpng16] Imported from libpng-1.6.15rc02.tar
2014-11-14 09:51:59 -06:00
Cosmin Truta
b8eb945946
[libpng16] The macros passed in the command line to Borland make were ignored if
...
similarly-named macros were already defined in makefiles. This behavior
is different from POSIX make and other make programs. Surround the
macro definitions with ifndef guards (Cosmin).
2014-11-14 09:47:54 -06:00
Glenn Randers-Pehrson
6df21524cd
[libpng16] Imported from libpng-1.6.15rc01.tar
2014-11-13 06:47:08 -06:00
Glenn Randers-Pehrson
fa49aae286
[libpng16] Imported from libpng-1.6.15beta08.tar
2014-11-08 09:08:03 -06:00
Glenn Randers-Pehrson
05e11008c0
[libpng16] More "#endif" housecleaning, in *.h
2014-11-07 07:41:16 -06:00
Glenn Randers-Pehrson
40656e9855
[libpng16] Bump version to 1.6.15beta08
2014-11-07 06:45:39 -06:00
Glenn Randers-Pehrson
7cee075a32
[libpng16] Imported from libpng-1.6.15beta07.tar
2014-11-07 06:40:30 -06:00
Glenn Randers-Pehrson
985dc00f1f
[libpng16] Fix typo in example.c
2014-11-06 23:17:35 -06:00
Glenn Randers-Pehrson
cda68df8c1
[libpng16] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
2014-11-06 22:11:39 -06:00
Glenn Randers-Pehrson
70cb8f9a7e
[libpng16] Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is
...
needed by png_reciprocal2().
Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and
png_do_swap().
2014-11-06 20:58:33 -06:00
Glenn Randers-Pehrson
674c3e5816
[libpng16] Bump version to 1.6.15beta07
2014-11-06 07:37:32 -06:00
Glenn Randers-Pehrson
61ea3eacb0
[libpng16] Reverted use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING
...
in the manual, example.c, pngtest.c, and applications in the contrib directory.
It was incorrect advice.
2014-11-06 06:39:56 -06:00
Glenn Randers-Pehrson
8e7c35fc81
[libpng16] Bump version to 1.6.15beta06
2014-11-05 19:08:08 -06:00
Glenn Randers-Pehrson
234fe626af
[libpng16] Imported from libpng-1.6.15beta05.tar
2014-11-05 19:07:58 -06:00
John Bowler
03df189954
[libpng16] Fixed array size calculations to avoid warnings. At various points
...
in the code the number of elements in an array is calculated using
sizeof. This generates a compile time constant of type (size_t) which
is then typically assigned to an (unsigned int) or (int). Some versions
of GCC on 64-bit systems warn about the apparent narrowing, even though
the same compiler does apparently generate the correct, in-range,
numeric constant. This adds appropriate, safe, casts to make the
warnings go away.
2014-11-05 17:19:36 -06:00
John Bowler
6f2c50e7fc
[libpng16] Free all allocated memory in pngimage. The file buffer cache was left
...
allocated at the end of the program, harmless but it causes memory
leak reports from clang.
2014-11-05 17:11:59 -06:00
John Bowler
c9720568d0
[libpng16] Fixed GCC unsigned int->float warnings. Various versions of GCC
...
seem to generate warnings when an unsigned value is implicitly
converted to double. This is probably a GCC bug but this change
avoids the issue by explicitly converting to (int) where safe.
2014-11-05 17:06:27 -06:00
Glenn Randers-Pehrson
5be76ae252
[libpng16] use PNG_LIBPNG_VER_STRING[i] in png_user_version_check()
2014-11-05 15:02:45 -06:00
Glenn Randers-Pehrson
a2fe24d186
[libpng16] Simplified and future-proofed png_user_version_check().
2014-11-05 12:00:32 -06:00
Glenn Randers-Pehrson
97dd654ba4
[libpng16] Avoid out-of-bounds memory access in png_user_version_check().
2014-11-05 09:22:19 -06:00
Glenn Randers-Pehrson
f1b547a509
[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING
2014-11-04 23:33:46 -06:00
Glenn Randers-Pehrson
5efb1327df
[libpng16] Bump version to 1.6.15beta05
2014-11-04 07:08:37 -06:00
Glenn Randers-Pehrson
b5113f4e70
[libpng16] Imported from libpng-1.6.15beta04.tar
2014-11-04 07:08:23 -06:00
John Bowler
445475a166
[libpng16] Removed new PNG_USE_ARM_NEON configuration flag and made a one-line
...
revision to configure.ac to support ARM on aarch64 instead (John Bowler).
2014-11-03 19:44:39 -06:00
Glenn Randers-Pehrson
2eb712e519
[libpng16] Bump version to 1.6.15beta04
2014-11-03 09:33:51 -06:00
Glenn Randers-Pehrson
736c8e8773
[libpng16] Imported from libpng-1.6.15beta03.tar
2014-11-03 09:33:44 -06:00
Glenn Randers-Pehrson
3278452323
[libpng16] Added PNG_USE_ARM_NEON configuration flag (Marcin Juszkiewicz).
2014-11-03 08:24:34 -06:00
Glenn Randers-Pehrson
bd3818eb1b
[libpng16] Bump version to 1.6.15beta03
2014-11-01 18:59:15 -05:00
Glenn Randers-Pehrson
b75c3cc415
[libpng16] Imported from libpng-1.6.15beta02.tar
2014-11-01 18:59:08 -05:00
Glenn Randers-Pehrson
b963feeec6
[libpng16] More cosmetic changes
2014-11-01 13:18:36 -05:00
Glenn Randers-Pehrson
f2d4167fee
[libpng16] Added a pair of parentheses suggested by clang
2014-10-31 21:17:11 -05:00
Glenn Randers-Pehrson
5d713fe123
[libpng16] Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" to
...
"if (x !== 0)"
2014-10-31 20:58:40 -05:00
Glenn Randers-Pehrson
6b9a20e7f9
[libpng16] Bump version to 1.6.15beta02
2014-10-29 09:13:06 -05:00
Glenn Randers-Pehrson
11d4a2a451
[libpng16] Imported from libpng-1.6.15beta01.tar
2014-10-29 09:08:46 -05:00
Glenn Randers-Pehrson
c6a8cb7d10
[libpng16] Added missing "ptr = NULL" after some instances of png_free().
2014-10-29 08:27:34 -05:00
Glenn Randers-Pehrson
7f6826368a
[libpng16] Use %p instead of %x to print pointers in pngtest debug output
2014-10-28 10:22:37 -05:00
Glenn Randers-Pehrson
bf95fad5f5
[libpng16] Simplified png_free_data() in png.c
2014-10-26 21:09:03 -05:00
Glenn Randers-Pehrson
ebba0746bc
[libpng16] Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x !== 0)"
2014-10-25 12:22:39 -05:00
Glenn Randers-Pehrson
67152e75e6
[libpng16] Revised INSTALL document.
2014-10-24 22:29:51 -05:00
Glenn Randers-Pehrson
4aa3f403f1
[libpng16] Updated INSTALL file.
2014-10-24 21:45:38 -05:00
Glenn Randers-Pehrson
56e9307d8f
[libpng16] Bump version to 1.6.15beta01
2014-10-22 21:02:27 -05:00
Glenn Randers-Pehrson
edb772fd6d
[libpng16] Imported from libpng-1.6.14.tar
2014-10-22 19:32:52 -05:00
Glenn Randers-Pehrson
e557fd7c44
[libpng16] Minor editing of README
2014-10-17 09:31:48 -05:00
Glenn Randers-Pehrson
8ba743d8d2
[libpng16] Bump version to 1.6.14rc03
2014-10-17 09:15:50 -05:00
Glenn Randers-Pehrson
279205664f
[libpng16] Imported from libpng-1.6.14rc02.tar
2014-10-17 09:09:54 -05:00
Glenn Randers-Pehrson
f7a7bb0384
[libpng16] Changed png_convert_to_rfc_1123() to png_convert_to_rfc_1123_buffer()
...
in the manual, to reflect the change made in libpng-1.6.0.
Updated README file to reflect that direct access to the info struct and
png struct are not permitted since libpng-1.5.0.
2014-10-17 09:06:25 -05:00
Glenn Randers-Pehrson
3922544139
[libpng16] Bump version to 1.6.14rc01
2014-10-15 08:55:59 -05:00
Glenn Randers-Pehrson
bea9784db0
[libpng16] Imported from libpng-1.6.14rc01.tar
2014-10-15 08:36:22 -05:00
Glenn Randers-Pehrson
6cae24c265
[libpng16] Fixed some typos in comments.
2014-10-13 11:11:21 -05:00
Glenn Randers-Pehrson
06ec570881
[libpng16] Bump version to 1.6.14beta08
2014-10-07 18:57:36 -05:00
Glenn Randers-Pehrson
25d240dc6e
[libpng16] Imported from libpng-1.6.14beta07.tar
2014-10-07 18:57:21 -05:00
Glenn Randers-Pehrson
470d64c2dd
[libpng16] Also don't mark text as written in the end_ptr until written.
2014-10-05 18:08:39 -05:00
Glenn Randers-Pehrson
d7eff5d864
[libpng16] Removed "option WRITE_COMPRESSED_TEXT enables WRITE_TEXT"
...
from pnglibconf.dfa
2014-10-05 13:46:58 -05:00
Glenn Randers-Pehrson
a11cd84160
[libpng16] Only mark text chunks as written after successfully writing them.
2014-10-05 13:45:38 -05:00
Glenn Randers-Pehrson
f56c00f050
[libpng16] Bump version to 1.6.14beta07
2014-10-05 07:48:53 -05:00
Glenn Randers-Pehrson
f1a22bf9b3
[libpng16] Imported from libpng-1.6.14beta06.tar
2014-10-05 07:48:44 -05:00
Glenn Randers-Pehrson
a4fa1c57f4
[libpng16] Added "chunk iTXt enables TEXT" and "chunk zTXt enables TEXT"
...
to pnglibconf.dfa.
2014-10-04 12:38:47 -05:00
Glenn Randers-Pehrson
27f0332cae
[libpng16] Replaced repeated code with PNG_PUSH_SAVE_BUFFER_IF_FULL
...
in pngpread.c
2014-10-04 10:28:58 -05:00
Glenn Randers-Pehrson
9127138a30
[libpng16] Fix typos in comments in pngset.c and pngtrans.c
2014-10-03 20:23:31 -05:00
Glenn Randers-Pehrson
ca9c3a601b
[libpng16] Edited comments in png.c
2014-10-03 18:08:34 -05:00
Glenn Randers-Pehrson
91e3a7d735
[libpng16] Edited some comments in pngwutil.c
2014-10-03 17:33:14 -05:00
Glenn Randers-Pehrson
cb4823d91f
[libpng16] Conditionally compile some code in png_deflate_claim(), when
...
PNG_WARNINGS_SUPPORTED and PNG_ERROR_TEXT_SUPPORTED are disabled.
2014-10-03 17:14:39 -05:00
Glenn Randers-Pehrson
d752225d05
[libpng16] Removed "text_len" parameter from private function png_write_zTXt()
...
since it is unused.
2014-10-03 17:11:50 -05:00
Glenn Randers-Pehrson
f1eacc08e6
[libpng16] Bump version to 1.6.14beta06
2014-10-01 10:46:37 -05:00
Glenn Randers-Pehrson
6147fae405
[libpng16] Imported from libpng-1.6.14beta05.tar
2014-10-01 10:46:29 -05:00
Glenn Randers-Pehrson
c5dc456afd
[libpng16] Redid recent changes to pnglibconf.h that were reverted.
2014-10-01 10:29:26 -05:00
Glenn Randers-Pehrson
f633a4eb9c
[libpng16] Added "option READ_iCCP enables READ_COMPRESSED_TEXT" to
...
pnglibconf.dfa
2014-10-01 10:03:57 -05:00
Glenn Randers-Pehrson
6c48f77bba
[libpng16] Merge pnglibconf.dfa with libpng-1.7.0beta37.
2014-09-28 13:43:28 -05:00
Glenn Randers-Pehrson
4c0ded3c4e
[libpng16] Bump version to 1.6.14beta05
2014-09-27 10:39:12 -05:00
Glenn Randers-Pehrson
36b246a571
[libpng16] Imported from libpng-1.6.14beta04.tar
2014-09-27 10:28:57 -05:00
Glenn Randers-Pehrson
48e6fad71c
[libpng16] Fixed incorrect handling of the iTXt compression flag
...
in pngrutil.c (bug report by Shunsaku Hirata). Bug was introduced
in libpng-1.6.0.
2014-09-27 09:37:50 -05:00
Glenn Randers-Pehrson
1b3a9fd6bf
[libpng16] Avoid defining simplified API macros in png.h when neither the
...
READ nor the WRITE simplified API is supported.
2014-09-20 11:01:20 -05:00
Glenn Randers-Pehrson
b4ef94559d
[libpng16] Bump version to 1.6.14beta04
2014-09-19 07:58:07 -05:00
Glenn Randers-Pehrson
af557d98e1
[libpng16] Imported from libpng-1.6.14beta03.tar
2014-09-19 07:58:00 -05:00
Glenn Randers-Pehrson
551019baf6
[libpng16] Revert recent pngvalid.c changes and define FE_DIVBYZERO, etc.,
...
if not already defined.
2014-09-18 16:41:40 -05:00
Glenn Randers-Pehrson
77145bf678
[libpng16] Bump version to 1.6.14beta03
2014-09-18 09:56:47 -05:00
Glenn Randers-Pehrson
91685564d1
[libpng16] Imported from libpng-1.6.14beta02.tar
2014-09-18 09:56:39 -05:00
Glenn Randers-Pehrson
44bda93154
[libpng16] Updated INSTALL info about pnglibconf.h
2014-09-18 09:27:29 -05:00
Glenn Randers-Pehrson
baa95a2d49
[libpng16] Do not include <fenv.h> when FLOATING_ARITHMETIC is not supported.
2014-09-18 09:23:45 -05:00
Glenn Randers-Pehrson
996046aed5
[libpng16] Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c
...
because usleep() is deprecated.
2014-09-14 16:34:09 -05:00
Glenn Randers-Pehrson
e4489f1db2
[libpng16] Only define usleep() in gregbook/rpng2-x.c if not already defined.
2014-09-14 15:06:00 -05:00
Glenn Randers-Pehrson
3fe1616c45
[libpng16] Bump version to 1.6.14beta02
2014-09-14 14:23:40 -05:00
Glenn Randers-Pehrson
0df3198719
[libpng16] Imported from libpng-1.6.14beta01.tar
2014-09-14 14:23:32 -05:00
Glenn Randers-Pehrson
3a05d2df0f
[libpng16] Add "#include <setjmp.h>" to contrib/tools/pngfix.c (John Bowler)
2014-09-11 07:39:24 -05:00
Glenn Randers-Pehrson
de5e34f3ce
[libpng16] Add #include <setjmp.h> to contrib/tools/pngfix.c to allow "make" to
...
complete without setjmp support (bug report by Claudio Fontana)
2014-09-10 21:34:34 -05:00
Glenn Randers-Pehrson
0a3c788b51
[libpng16] Don't build contrib/tools/pngfix.c without setjmp support.
2014-09-10 17:27:53 -05:00
Glenn Randers-Pehrson
664bd637b5
[libpng16] Fixed some indentation in pngrutil.c
2014-08-26 19:55:58 -05:00
Glenn Randers-Pehrson
3669467347
[libpng16] Guard usage of png_ptr->options with #ifdef PNG_SET_OPTION_SUPPORTED.
2014-08-22 08:55:50 -05:00
Glenn Randers-Pehrson
bcd3209a42
[libpng16] Update last-changed date
2014-08-21 09:57:23 -05:00
Glenn Randers-Pehrson
17fba0f7d1
[libpng16] Bump version to 1.6.14beta01
2014-08-21 09:16:02 -05:00
Glenn Randers-Pehrson
259fb7761d
[libpng16] Imported from libpng-1.6.13.tar
2014-08-21 05:57:43 -05:00
Glenn Randers-Pehrson
3ac41798c3
[libpng16] Bump version to 1.6.13rc02
2014-08-13 22:08:10 -05:00
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
9782cced3a
[libpng16] Imported from libpng-1.6.13beta04.tar
2014-08-07 19:54:10 -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
3efbecab92
[libpng16] Imported from libpng-1.6.13beta02.tar
2014-07-21 17:21:21 -05:00
Glenn Randers-Pehrson
ae991771ad
[libpng16] Updated a comment in revised makefiles.
2014-07-21 11:52:27 -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
8661906769
[libpng16] Fix typo in INSTALL.
2014-07-04 12:31:43 -05:00
Glenn Randers-Pehrson
91319c67d5
[libpng16] Imported from libpng-1.6.13beta01.tar
2014-07-04 12:13:59 -05:00
John Bowler
c45f1223cb
[libpng16] Fixed misplaced brackets in earlier patch to pngpriv.h
2014-06-24 19:42:03 -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
225af8f363
[libpng16] Removed "PNG_UNUSED()" inadvertently left in contrib/gregbook
...
/readpng2.c from the previous update.
2014-06-13 12:55:43 -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
ff3fb08157
[libpng16] Imported from libpng-1.6.12rc02.tar
2014-06-07 14:49:03 -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
f85092bc7b
[libpng16] Fix cut-and-paste error in scripts/symbols.dfn, from 1.6.11beta02.
2014-05-19 21:08:49 -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
be19c07dd9
[libpng16] Imported from libpng-1.6.11beta04.tar
2014-04-20 20:15:26 -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
478062d9b5
[libpng16] Imported from libpng-1.6.11beta03.tar
2014-04-06 14:17:58 -05:00
Glenn Randers-Pehrson
86b8016ee9
[libpng16] Fix some permissions
2014-04-06 12:01:51 -05:00
Glenn Randers-Pehrson
f169806b7b
[libpng16] Bump version to 1.6.11beta03
2014-04-06 10:20:44 -05:00
Glenn Randers-Pehrson
c4b3718856
[libpng16] Imported from libpng-1.6.11beta02.tar
2014-04-06 09:07:56 -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
Glenn Randers-Pehrson
804c76b47b
[libpng16] Fixed syntax of Copy command in makefile.amiga
2014-03-22 18:44:24 -05:00
Glenn Randers-Pehrson
247d262d3a
[libpng16] Complete the update of scripts/makefile.ne12bsd
2014-03-22 13:40:25 -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
372cad05a9
[libpng16] Committed wrong version of INSTALL.
2014-03-21 13:26:43 -05:00
Glenn Randers-Pehrson
010222c55d
[libpng16] Mention scripts/pnglibconf.h.prebuilt in INSTALL.
2014-03-21 12:53:06 -05:00
Glenn Randers-Pehrson
d74d82137b
[libpng16] Cosmetic revision of previous change
2014-03-17 15:35:28 -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
149eea29b6
[libpng16] Imported from libpng-1.6.11beta01.tar
2014-03-17 13:19:41 -05:00
Glenn Randers-Pehrson
2ca2a0b222
[libpng16] Move more parts of INSTALL to libpng-manual.txt and vice versa.
2014-03-16 21:47:52 -05:00
Glenn Randers-Pehrson
7017c4078d
[libpng16] Revised INSTALL and libpng-manual.txt
2014-03-16 20:29:11 -05:00
Glenn Randers-Pehrson
c2a15d01af
[libpng16] Moved part of INSTALL back to manual; added table of contents.
2014-03-16 19:53:29 -05:00
Glenn Randers-Pehrson
0464b436b6
[libpng16] Added information about configuring for multiprocessing to INSTALL.
2014-03-16 19:31:09 -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
b65b3412b1
[libpng16] Remove CALLOC from pnglibconf.dfa and pnglibconf.h.prebuilt
2014-03-07 12:19:41 -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
c978642c48
[libng16] Mention prototype format in the documentation (libpng style guide)
2014-03-05 17:14:16 -06:00
Glenn Randers-Pehrson
24afd07ab9
[libpng16] Changed blank to newline in three function declarations.
2014-03-05 16:55:19 -06:00
Glenn Randers-Pehrson
c540d8bed7
[libpng16] Bump version to 1.6.10rc04
2014-03-03 20:26:56 -06:00
Glenn Randers-Pehrson
3e5d04df37
[libpng16] Imported from libpng-1.6.10rc03.tar
2014-03-03 20:26:46 -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
4c7bb07857
[libpng16] Imported from libpng-1.6.10rc02.tar
2014-02-27 22:24:47 -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
ab56b743c1
[libpng16] Imported from libpng-1.6.10rc01.tar
2014-02-27 08:06:45 -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
da7027b6b0
[libpng16] Imported from libpng-1.6.10beta03.tar
2014-02-24 19:11:18 -06:00
Glenn Randers-Pehrson
9e06534572
[libpng16] Removed some commentary from png.h that is now in the manual.
2014-02-24 19:07:04 -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
bd792c020f
[libpng16] Document how to use a different crc_action while reading chunks
...
after IDAT with the sequential reader.
2014-02-23 13:43:20 -06:00
Glenn Randers-Pehrson
079a724833
[libpng16] Fixed some nits in contrib/arm-neon/README and comments in
...
contrib/examples/*.c
2014-02-23 10:59:27 -06:00
Glenn Randers-Pehrson
1301356273
[libpng16] Bump version to 1.6.10beta03
2014-02-22 23:20:23 -06:00
Glenn Randers-Pehrson
78c28fea51
[libpng16] Imported from libpng-1.6.10beta02.tar
2014-02-22 23:12:02 -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
37b7299b60
[libpng16] Deleted a now-redundant #define png_error from pngvalid.c
2014-02-16 22:55:41 -06:00
John Bowler
0b61d10ad4
[libpng16] Fixed /proc/cpuinfo ARM NEON __linux__ parsing
2014-02-16 14:07:49 -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
38ef9c9779
[libpng16] Removed unneeded "#define PNG_NO_WARNINGS" from contrib/pngminim/*
2014-02-16 13:56:10 -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
685dff485e
[libpng16] Update ANNOUNCE file about new location of gpg signatures.
2014-02-06 11:01:55 -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
759c903686
[libpng16] Update documentation about sCAL support.
2014-02-01 20:11:48 -06:00
Glenn Randers-Pehrson
8c12078e95
[libpng16] Imported from libpng-1.6.9rc02.tar
2014-01-30 15:04:10 -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
efaaad7447
[libpng16] Correct a new comment in pngconf.h
2014-01-13 21:43:51 -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
41633d33c4
[libpng16] Imported from libpng-1.6.9beta03.tar
2014-01-10 10:36:46 -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
bef206b0a8
[libpng16] Only warn about image too wide if warning not already issued.
2014-01-08 11:58:49 -06:00
Glenn Randers-Pehrson
b94db2eb34
[libpng16] Updated warning message in png_check_IHDR()
2014-01-07 11:43:43 -06:00
Glenn Randers-Pehrson
3f7a169c2d
[libpng16] Changed warning message "is too large" to "may be too large"
...
in png_check_IHDR().
2014-01-07 11:22:29 -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
Glenn Randers-Pehrson
95a197397f
[libpng16] Updated copyright year in recently-changed files.
2013-12-31 21:10:13 -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
74e84d0f7d
[libpng16] Removed config-generated "compile" file
2013-12-26 14:44:10 -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
1f23775d10
[libpng16] Fixed unused "wrote_question" in non-write pngtest.
2013-12-01 15:05:31 -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
44db02364e
[libpng16] Avoid a clang scan-build warning in pngtest.c
2013-11-25 13:19:57 -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
30145f29c5
[libpng16] Revised manual about handling of zlib CMF
2013-11-24 13:33:07 -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
Glenn Randers-Pehrson
27ae9362d8
[libpng16] Added another "assert()" in pngfix.c
2013-11-23 12:42:43 -06:00
Glenn Randers-Pehrson
88507b4ef9
[libpng16] Avoid a clang scanner warning in pngfix.c
2013-11-23 12:26:00 -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
John Bowler
aaf1bb1ae1
[libpng16] Updated "last changed" dates
2013-11-22 15:40:52 -06:00
Glenn Randers-Pehrson
b5596712fc
[libpng16] Update contrib/tools/pngfix.c
2013-11-22 15:26:22 -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
012d36f643
[libpng16] Changed ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED to
...
ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTE in pngpread.c to agree with
what is in pngpriv.h
2013-11-17 19:42:48 -06:00
Glenn Randers-Pehrson
68dfa9e526
[libpng16] Reduced scope of recently-added #ifdef block
...
(#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpread.c)
2013-11-17 19:26:40 -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
6a3805c25b
[libpng16] Update version number in manual and png.h
2013-11-14 13:16:21 -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
John Bowler
681b731151
[libpng16] Fixed loop end condition in filter_neon_intrinsics.c
2013-10-17 08:12:55 -05:00
John Bowler
83a841ab7c
[libpng16] Fix compilation errors in filter_neon_intrinsics.c
...
Use filter_neon_intrinsics.c in preference to filter_neon.S when possible.
2013-10-15 21:19:56 -05:00
Glenn Randers-Pehrson
85c2ec9a69
[libpng16] Restored arm/arm_init.c to CSRCS in Makefile.am
2013-10-14 19:55:45 -05:00
Glenn Randers-Pehrson
cf644fa901
[libpng16] Update "last changed" dates in arm/filter_neon_intrinsics.c and
...
pngrtran.c
2013-10-14 13:16:38 -05:00
Glenn Randers-Pehrson
17ad121e93
[libpng16] Work around problem with multiple-line "test" command missing
...
continuation backslashes
2013-10-14 13:15:09 -05:00
Glenn Randers-Pehrson
19e4edaf3f
[libpng16] Conditionally compile arm/filter_neon_intrinsics.c
...
if PNG_READ_SUPPORTED and PNG_ARM_NEON_OPT > 0
2013-10-14 12:47:49 -05:00
Glenn Randers-Pehrson
e1540e3b4c
[libpng16] Updated configure.ac to handle new on-intrinsics, etc., options.
2013-10-14 11:38:53 -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
fecdd46639
[libpng16] Fix some typos in autogen.sh that don't affect its behavior
2013-10-13 17:14:48 -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
John Bowler
0441ff62e7
[libpng16] Remove spurious "#ifdef PNG_sRGB_SUPPORTED" from pngrutil.c
2013-10-04 19:28:48 -05:00
Glenn Randers-Pehrson
de723276e5
[libpng16] Bump version to 1.6.7beta02
2013-10-02 13:47:02 -05:00
Glenn Randers-Pehrson
2464dbfe4c
[libpng16] Imported from libpng-1.6.7beta01.tar
2013-09-30 17:05:35 -05:00
Glenn Randers-Pehrson
b3721757a0
[libpng16] Catch up with some recent changes that did not get merged.
2013-09-30 13:56:44 -05:00
John Bowler
cc93d89e43
[libpng16] Updated pngunknown.c
2013-09-30 13:07:58 -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
52083f9152
[libpng16] Mention png_set_option() in the documentation.
2013-08-17 15:53:32 -05:00
Glenn Randers-Pehrson
7191f6e9e6
[libpng16] Use minus signs, not hyphens, in "--i".
2013-08-13 18:54:34 -05:00
Glenn Randers-Pehrson
4dcbf24d82
[libpng16] Change some hyphens to minus signs and fix other typos in libpng.3
2013-08-06 17:25:02 -05:00
Glenn Randers-Pehrson
492e67163e
[libpng16] Exit loop over tRNS array when a transparent entry is
...
found (performance report by PoChun Chang)
2013-08-04 14:03:44 -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
db56fa18c2
[libpng16] Revised "/*SAFE*/" comment in pngrutil.c
2013-07-15 10:09:54 -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
2b87a54d07
[libpng16] Updated manual to mention that warnings about iTXt language tag
...
and translated keyword are no longer issued when these are empty, which
is allowed by the PNG specification.
2013-07-14 18:34:13 -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
573c9d434f
[libpng16] Change "png-fix-too-far-back" to "pngfix" inside pngfix.c
...
for error messages, etc.
2013-06-27 21:21:26 -05:00
Glenn Randers-Pehrson
56a1a66656
[libpng16] Imported from libpng-1.6.3beta09.tar
2013-06-27 18:01:30 -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
Glenn Randers-Pehrson
746bc7d883
[libpng16] Imported from libpng-1.6.3beta07.tar
2013-06-08 17:03:26 -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
Glenn Randers-Pehrson
0486b17fbd
[libng16] Neglected to check in pngconf.h with previous commit.
2013-06-06 14:38:54 -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
Glenn Randers-Pehrson
810b6e51e4
[libpng16] Updated README (removed CompuServ reference, added simplesystems.org)
2013-06-05 16:52:41 -05:00
John Bowler
88610994da
[libpng16] Fix compiler warning in png-fix-itxt.c
2013-06-05 12:15:25 -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
f96251291d
[libpng16] Updated README with current arm, contrib, and projects directory
...
descriptions
2013-06-03 20:57:45 -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
bea86bba24
[libpng16] Removed obsolete reference to "pnginflate" from ANNOUNCE
2013-05-09 08:58:08 -05:00
Glenn Randers-Pehrson
7fc85a3f46
[libng16] Fixed typo in png-fix-too-far-back "usage" output
2013-05-09 08:49:42 -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
4cf2465c71
[libpng16] Imported from libpng-1.6.3beta05.tar
2013-05-09 08:03:24 -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
John Bowler
34b7d62488
[libpng16] Updated Makefile.am
2013-05-08 10:35:14 -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
Glenn Randers-Pehrson
62c6fbbd29
[libpng16] Check that PNG_MAXIMUM_INFLATE_WINDOW is defined before using it.
2013-05-07 23:16:06 -05:00
John Bowler
0c7ac064d3
[libpng16] Added an option to force maximum window size for inflating.
...
For inflate, reverted previous fixes.
Added fixitxt and pngdeflate to the built programs and removed warnings
from the source code and timepng that are revealed as a result. Fixed
fixitxt when the chunk length is more than 65535 (untested, no test case).
2013-05-07 21:59:05 -05:00
Glenn Randers-Pehrson
db67cba8d4
[libpng16] Check for EOF in contrib/pngminus/pnm2png.c (Paul Stewart).
...
Ignore "#" delimited comments in input file to pnm2png.c.
2013-05-07 14:31:35 -05:00
Glenn Randers-Pehrson
2aa6c96e5d
[libpng16] Bump version to 1.6.3beta05
2013-05-06 09:55:29 -05:00
Glenn Randers-Pehrson
2fd3434fa4
[libpng16] Imported from libpng-1.6.3beta04.tar
2013-05-06 09:55:18 -05:00
Glenn Randers-Pehrson
2c0833e265
[libpng16] Committed new pnglibconf.dfa and prebuilt.
2013-05-05 22:18:53 -05:00
Glenn Randers-Pehrson
127b08a265
[libpng16] Calculate our own zlib windowBits when decoding rather than
...
trusting the CMF bytes in the PNG datastream.
2013-05-05 22:13:47 -05:00
Glenn Randers-Pehrson
0f42908c0a
[libpng16] Bump version to 1.6.3beta04
2013-04-29 21:31:50 -05:00
Glenn Randers-Pehrson
f18a28cc13
[libpng16] Imported from libpng-1.6.3beta03.tar
2013-04-29 21:31:38 -05:00
Glenn Randers-Pehrson
56d6bc2e88
[libpng16] Avoid dereferencing NULL pointer possibly returned from
...
png_create_write_struct() (Andrew Church).
2013-04-29 08:57:14 -05:00
Glenn Randers-Pehrson
61946e0f56
[libpng16] Revise man page to demonstrate dealing with unknown chunk
...
handling in libpng.1.5.x and with bugs in libpng-1.4.x and earlier.
2013-04-28 20:48:37 -05:00
Glenn Randers-Pehrson
49f9c24910
[libpng16] Expanded manual paragraph about writing private chunks, particularly
...
about the need to call png_set_keep_unknown_chunks() when writing them.
2013-04-27 18:03:03 -05:00
Glenn Randers-Pehrson
c62fda06a3
[libpng16] Bump version to 1.6.3beta03
2013-04-26 08:25:33 -05:00
Glenn Randers-Pehrson
cd62215d61
[libpng16] Imported from libpng-1.6.3beta02.tar
2013-04-26 08:24:19 -05:00
John Bowler
ac09cd0fec
[libpng16] Test for 'arm*' not just 'arm' in the host_cpu configure variable.
...
Rebuilt the configure scripts.
2013-04-25 23:13:08 -05:00
Glenn Randers-Pehrson
529045cf26
[libpng16] Bump version to 1.6.3beta02
2013-04-25 21:37:43 -05:00
John Bowler
7b1da52549
[libpng16] Ensure that NEON filter stuff is completely disabled when switched
...
'off'. Previously the ARM NEON specific files were still built if the option
was switched 'off' as opposed to being explicitly disabled.
2013-04-25 10:03:42 -05:00
Glenn Randers-Pehrson
34d20f482f
[libpng16] Revised stack marking in arm/filter_neon.S and configure.ac.
2013-04-25 09:53:57 -05:00
Glenn Randers-Pehrson
399430dac2
[libpng16] Update "last changed" comments.
2013-04-25 09:52:00 -05:00
Glenn Randers-Pehrson
3f677d1c65
[libpng16] Bump version to 1.6.3beta01
2013-04-25 09:19:04 -05:00
Glenn Randers-Pehrson
809355b4aa
[libpng16] Imported from libpng-1.6.2.tar
2013-04-25 07:29:41 -05:00
Glenn Randers-Pehrson
7fd71746d0
[libpng16] Fix confusing CHANGES entry.
2013-04-23 23:16:32 -05:00
Glenn Randers-Pehrson
0ee3465fba
[libpng16] Imported from libpng-1.6.2rc06.tar
2013-04-23 22:21:55 -05:00
Glenn Randers-Pehrson
a793120405
[libpng16] Bump version to 1.6.2rc03
2013-04-23 22:03:44 -05:00
Glenn Randers-Pehrson
9bdba4e630
[libpng16] Imported from libpng-1.6.2rc05.tar
2013-04-23 19:45:07 -05:00
John Bowler
a74b70871c
[libpng16] Ensure that NEON filter stuff is completely disabled when
...
switched 'off'. Previously the ARM NEON specific files were still built
if the option was switched 'off' as opposed to being explicitly disabled.
2013-04-23 18:18:45 -05:00
Glenn Randers-Pehrson
0d50d6562c
[libpng16] Imported from libpng-1.6.2rc04.tar
2013-04-22 20:29:18 -05:00
Glenn Randers-Pehrson
453fbf942c
[libpng16] Revised stack marking in arm/filter_neon.S
2013-04-22 19:48:05 -05:00
Glenn Randers-Pehrson
6e1c74b39b
[libpng16] Imported from libpng-1.6.2rc03.tar
2013-04-22 11:36:05 -05:00
Glenn Randers-Pehrson
fdc2d5f38f
[libpng16] Bump version to 1.6.2rc03
2013-04-19 19:05:34 -05:00
Glenn Randers-Pehrson
67a289ffa9
[libpng16] Fixed some spelling/typos
2013-04-19 19:03:34 -05:00
Glenn Randers-Pehrson
bf15ac7e86
[libpng16] Imported from libpng-1.6.2rc02.tar
2013-04-18 07:40:56 -05:00
Glenn Randers-Pehrson
7ef0c46488
[libpng16] Updated "last changed" comments.
2013-04-18 07:25:45 -05:00
Glenn Randers-Pehrson
8d9e494dfb
[libpng16] Merged pngtest.c with version 1.7.0beta08
2013-04-18 07:23:59 -05:00
Glenn Randers-Pehrson
0794df4062
[libpng16] Imported from libpng-1.6.2rc01.tar
2013-04-18 06:32:44 -05:00
Glenn Randers-Pehrson
7a69beda7b
[libpng16] in fixitxt.c define MAX_LENGTH, largest iTXT chunk that it
...
can handle.
2013-04-18 05:53:49 -05:00
John Bowler
e4413a735b
[libpng16] Disallow storing sRGB information when the sRGB is not supported.
...
Reverted previous attempt to allow gAMA and sRGB non-support with the
simplified API.
2013-04-17 21:27:47 -05:00
Glenn Randers-Pehrson
7fdb594e73
[libpng16] Added #ifdef PNG_WRITE_sRGB_SUPPORTED, etc., tests where needed in
...
png_image_write_main() in pngwrite.c (bug report from Yuriy Levchenko).
2013-04-17 11:05:21 -05:00
Glenn Randers-Pehrson
f1736a636b
[libpng16] Added contrib/tools/fixitxt.c, to repair the erroneous iTXt
...
chunk length written by libpng-1.6.0 and 1.6.1.
2013-04-16 23:12:09 -05:00
Glenn Randers-Pehrson
3b4c60f26b
[libpng16] Imported from libpng-1.6.2beta02.tar
2013-04-13 21:27:07 -05:00
Glenn Randers-Pehrson
5c55ccdf4f
[libpng16] Imported from libpng-1.6.2beta01.tar
2013-04-13 20:55:04 -05:00
Glenn Randers-Pehrson
5ec05b3d7c
[libpng16] Removed extra recently-inserted line from pngwutil.c
2013-04-13 20:01:09 -05:00
John Bowler
70eb0720a0
[libpng16] Fixed previous bugfix to work on 64-bit platforms.
2013-04-13 16:52:09 -05:00
Glenn Randers-Pehrson
9bb775fc8c
[libpng16] Corrected length written to uncompressed iTXt chunks (Samuli Suominen).
2013-04-13 14:19:25 -05:00
John Bowler
a8715cabd1
[libpng16] Added "{ }" omitted from previous patch to pngtrans.c
2013-04-13 12:25:16 -05:00
Glenn Randers-Pehrson
364acf40aa
[libpng16] Corrected a misplaced closing bracket in contrib/libtests/pngvalid.c
...
(Flavio Medeiros).
2013-04-13 11:55:08 -05:00
John Bowler
b44cd59ad9
[libpng16] Corrected the test on user transform changes on read. It was in the
...
png_set of the transform function, but that doesn't matter unless the
transform function changes the rowbuf size, and that is only valid if
transform_info is called.
2013-04-12 22:15:54 -05:00
Glenn Randers-Pehrson
e2d8e11407
[libpng16] Updated the GIT URL in the manual.
2013-04-11 18:53:51 -05:00
John Bowler
43c07e1b48
[libpng16] Fixed incorrect warning of excess deflate data. End condition - the
...
warning would be produced if the end of the deflate stream wasn't read
in the last row. The warning is harmless.
2013-04-07 21:33:30 -05:00
Glenn Randers-Pehrson
2e0c5f0dff
[libpng16] Updated documentation of 1.5.x to 1.6.x changes in iCCP chunk
...
handling.
2013-03-31 22:55:55 -05:00
Glenn Randers-Pehrson
3a83aa328d
[libpng16] Bump version to 1.6.2beta01
2013-03-29 07:11:42 -05:00
Glenn Randers-Pehrson
5087805e7c
[libpng16] Imported from libpng-1.6.1.tar
2013-03-27 20:36:57 -05:00
Glenn Randers-Pehrson
4e6e2166a5
[libpng16] Imported from libpng-1.6.1rc01.tar
2013-03-21 07:38:30 -05:00
Glenn Randers-Pehrson
1affc5622b
[libpng16] Bump version to 1.6.1beta10
2013-03-13 07:40:54 -05:00
Glenn Randers-Pehrson
cd1cd2dafc
[libpng16] Imported from libpng-1.6.1beta09.tar
2013-03-13 07:40:46 -05:00
John Bowler
caa3f296df
[libpng16] Eliminated another warning from the Intel C compiler.
2013-03-10 21:40:27 -05:00
John Bowler
2286a7cef4
[libpng16] Eliminated a warning from the Intel C compiler. The warning is
...
technically valid, although a reasonable treatment of division would
show it to be incorrect.
2013-03-10 21:35:35 -05:00
Glenn Randers-Pehrson
3c8b422b0a
[libpng16] Bump version to 1.6.1beta09
2013-03-07 11:36:55 -06:00
Glenn Randers-Pehrson
0645b62528
[libpng16] Imported from libpng-1.6.1beta08.tar
2013-03-07 11:36:47 -06:00
Claudio Bley
0281dee877
[libpng16] Fixed CMakelists.txt to allow building a single variant of the
...
library (Claudio Bley):
Introduced a PNG_LIB_TARGETS variable that lists all activated library
targets. It is an error if this variable ends up empty, ie. you have
to build at least one library variant.
Made the *_COPY targets only depend on library targets actually being build.
Use PNG_LIB_TARGETS to unify a code path.
Changed the CREATE_SYMLINK macro to expact the full path to a file as the
first argument. When symlinking the filename component of that path is
determined and used as the link target.
Use copy_if_different in the CREATE_SYMLINK macro.
2013-03-07 11:17:17 -06:00
Glenn Randers-Pehrson
e55b25a962
[libpng16] Bump version to 1.6.1beta08
2013-03-06 22:42:23 -06:00
Glenn Randers-Pehrson
14638c1f20
[libpng16] Imported from libpng-1.6.1beta07.tar
2013-03-06 22:42:13 -06:00
John Bowler
59ae38984f
[libpng16] Corrected simplified API default gamma for color-mapped output, added
...
a flag to change default. In 1.6.0 when the simplified API was used
to produce color-mapped output from an input image with no gamma
information the gamma assumed for the input could be different from
that assumed for non-color-mapped output. In particular 16-bit depth
input files were assumed to be sRGB encoded, whereas in the 'direct'
case they were assumed to have linear data. This was an error. The
fix makes the simplified API treat all input files the same way and
adds a new flag to the png_image::flags member to allow the
application/user to specify that 16-bit files contain sRGB data
rather than the default linear.
Fixed bugs in the pngpixel and makepng test programs.
2013-03-06 22:15:25 -06:00
Glenn Randers-Pehrson
1f24cb74f2
[libpng16] Update "last changed" dates and fix one comment typo.
2013-03-04 21:58:02 -06:00
Glenn Randers-Pehrson
1cbfa24a93
[libpng16] Bump version to 1.6.1beta07
2013-03-04 17:56:59 -06:00
Glenn Randers-Pehrson
8c87dc88d6
[libpng16] Imported from libpng-1.6.1beta06.tar
2013-03-04 17:56:46 -06:00
John Bowler
f3728100d9
[libpng16] Corrected Android builds and corrected libpng.vers with symbol
...
prefixing This adds an API to set optimization options externally,
providing an alternative and general solution for the non-portable
run-time tests used by the ARM Neon code. It also makes those tests
compile and link on Android.
The order of settings vs options in pnglibconf.h is reversed to allow
settings to depend on options and options can now set (or override) the
defaults for settings.
2013-03-04 16:26:31 -06:00
John Bowler
e15b537825
[libpng16] Better documentation of unknown handling API interactions.
2013-03-02 17:59:43 -06:00
Glenn Randers-Pehrson
e57f094fd6
[libpng16] Bump version to 1.6.1beta06
2013-03-02 17:37:23 -06:00
Glenn Randers-Pehrson
4ea113b7f0
[libng16] Reverted recent change that eliminated a warning about storing
...
an unhandled chunk.
2013-03-02 16:03:45 -06:00
Glenn Randers-Pehrson
871b1d0fab
[libpng16] Bump version to 1.6.1beta05
2013-03-02 15:03:15 -06:00
Glenn Randers-Pehrson
f3af706c2a
[libpng16] Imported from libpng-1.6.0beta05.tar
2013-03-01 21:38:03 -06:00
Glenn Randers-Pehrson
96cf4bde0e
[libpng16] Fixed bug introduced in libpng-1.6.0beta28 that causes libpng to
...
handle chunks even when they have been tagged PNG_HANDLE_CHUNK_NEVER.
2013-03-01 20:04:06 -06:00
Glenn Randers-Pehrson
1118d6d985
[libpng16] Avoid a possible memory leak in contrib/gregbook/readpng.c
2013-03-01 13:27:05 -06:00
Glenn Randers-Pehrson
e444514a94
[libpng16] Bump version to 1.6.1beta05
2013-02-27 15:11:39 -06:00
Glenn Randers-Pehrson
efda7376c8
[libpng16] Imported from libpng-1.6.1beta04.tar
2013-02-27 15:02:53 -06:00
John Bowler
ccec786ca7
[libpng16] Revised scripts/dfn.awk to work with the buggy MSYS awk that has
...
trouble with CRLF line endings.
2013-02-27 13:36:08 -06:00
Glenn Randers-Pehrson
2621be1bdb
[libpng16] Added info about ordering of png_set_*() calls to the manual.
2013-02-26 08:43:28 -06:00
Glenn Randers-Pehrson
45bb4530fd
[libpng16] Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
...
Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC.
2013-02-22 20:19:49 -06:00
Glenn Randers-Pehrson
a97fc46e43
[libpng16] Bump version to 1.6.1beta04
2013-02-22 17:12:09 -06:00
Glenn Randers-Pehrson
3fa1893804
[libpng16] Imported from libpng-1.6.1beta03.tar
2013-02-22 17:06:01 -06:00
Glenn Randers-Pehrson
f8a8ead5cb
[libpng16] Update the INSTALL document.
2013-02-22 16:52:21 -06:00
Glenn Randers-Pehrson
6df55cece7
[libpng16] Updated scripts/pnglibconf.h.prebuilt
2013-02-19 10:11:43 -06:00
John Bowler
09a5ca72ac
[libpng16] Allow run-time ARM NEON checking to be disabled. A new configure
...
option:
--enable-arm-neon=always will stop the run-time checks. New checks
within arm/arm_init.c will cause the code not to be compiled unless
__ARM_NEON__ is set. This should make it fail safe (if someone asks
for it on then the build will fail if it can't be done.)
Fixed ALIGNED_MEMORY support.
2013-02-18 22:30:35 -06:00
Glenn Randers-Pehrson
0cc3e9e38c
[libpng16] Bump version to 1.6.1beta03
2013-02-18 21:25:56 -06:00
Glenn Randers-Pehrson
adb9613699
[libpng16] Imported from libpng-1.6.1beta02.tar
2013-02-18 21:25:47 -06:00
John Bowler
c0a0d4a6d2
[libpng16] Reenabled code to allow zero length PLTE chunks for MNG.
2013-02-18 21:23:17 -06:00
Glenn Randers-Pehrson
2bad851ab3
[libpng16] Updated "png_sizeof" to "sizeof" in the manual.
2013-02-18 15:21:01 -06:00
Glenn Randers-Pehrson
f2350f3987
[libpng16] Revised "#if defined " in arm/arm_init.c
2013-02-18 12:30:30 -06:00
Glenn Randers-Pehrson
b4ef7c4af2
[libpng16] Use parentheses consistently in "#if defined()" tests.
...
Folded some long lines.
2013-02-17 15:41:36 -06:00
Glenn Randers-Pehrson
9e8fd50d76
[libpng16] Use parentheses consistently in "#if defined()" tests.
2013-02-17 14:31:00 -06:00
Glenn Randers-Pehrson
ea3288f1c5
[libpng16] Fixed double-underscore typo in an #ifdef in png.c
2013-02-16 16:35:22 -06:00
Glenn Randers-Pehrson
cc074dcaa6
[libpng16] Bump version to 1.6.1beta02
2013-02-16 10:48:39 -06:00
Glenn Randers-Pehrson
3b8e7e869d
[libpng16] Imported from libpng-1.6.1beta01.tar
2013-02-16 10:48:29 -06:00
John Bowler
765d145ec4
[libpng16] Use approved/supported Android method to check for NEON, use
...
Linux/POSIX 1003.1 API to check /proc/self/auxv avoiding buffer allocation
and other library calls (ported from libpng15).
2013-02-16 07:43:48 -06:00
John Bowler
c9b11ff0d4
[libpng16] Fixed a race condition in the creation of the build 'scripts'
...
directory while building with a parallel make.
2013-02-16 07:38:46 -06:00
John Bowler
23a101e06d
[libpng16] scripts/pnglibconf.dfa formatting improvements back ported from libpng 1.7.
2013-02-16 00:18:20 -06:00
John Bowler
b724c812ec
[libpng16] Enabled parallel tests - back ported from libpng-1.7.
2013-02-16 00:05:59 -06:00
John Bowler
0695fcd834
[libpng16] Removed cc -E workround, corrected png_get_palette_max API Tested on SUN OS cc 5.9,
...
which demonstrates the tokenization problem previously avoided by using /lib/cpp.
Since all .dfn output is now protected in double quotes unless it is to be macro
substituted the fix should work everywhere.
2013-02-15 23:46:37 -06:00
John Bowler
42835d3d19
[libpng16] Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
2013-02-15 23:40:34 -06:00
John Bowler
2d99978f67
[libpng16] Made sRGB check numbers consistent.
2013-02-15 23:25:18 -06:00
John Bowler
9d2e875826
[libpng16] Made symbol prefixing work with the ARM neon optimizations. Also allow pngpriv.h
...
to be included for preprocessor definitions only, so it can be used in non-C/C++
files. Back ported from libpng 1.7.
2013-02-15 23:21:42 -06:00
Glenn Randers-Pehrson
681de8c8dc
[libpng16] Bump version to 1.6.1beta01
2013-02-13 23:17:52 -06:00
Glenn Randers-Pehrson
c53778ff53
[libpng16] Imported from libpng-1.6.0.tar
2013-02-13 22:53:57 -06:00
Glenn Randers-Pehrson
44db2cfb15
[libpng16] Bump version to 1.6.0rc09
2013-02-10 20:34:23 -06:00
John Bowler
6db8e4dd11
[libpng16] Fixed inconsistencies in png.h and pnglibconf.dfa
2013-02-10 17:49:25 -06:00
Glenn Randers-Pehrson
88c5a2a068
[libpng16] Fixed typo in png.h #ifdef
2013-02-10 16:39:55 -06:00
Glenn Randers-Pehrson
bf9f74b657
[libpng16] Bump version to 1.6.0rc08
2013-02-10 16:20:48 -06:00
Glenn Randers-Pehrson
0d270082d2
[libpng16] Imported from libpng-1.6.0rc07.tar
2013-02-10 16:20:40 -06:00
Glenn Randers-Pehrson
d000fb89c0
[libpng16] Enclosed the new png_get_palette_max
...
in #ifdef PNG_GET_PALETTE_MAX_SUPPORTED block, and revised pnglibconf.h
and pnglibconf.h.prebuilt accordingly.
2013-02-10 15:46:06 -06:00
Glenn Randers-Pehrson
9fabbedcf3
[libpng16] Bump version to 1.6.0rc07
2013-02-09 07:44:06 -06:00
Glenn Randers-Pehrson
d7dc03e371
[libpng16] Imported from libpng-1.6.0rc06.tar
2013-02-09 07:43:55 -06:00
John Bowler
b8d0534e9d
[libpng16] Fixed missing dependency in --prefix builds The intermediate
...
internal 'prefix.h' file can only be generated correctly after
pnglibconf.h, however the dependency was not in Makefile.am. The
symptoms are unpredictable depending on the order make chooses to
build pngprefix.h and pnglibconf.h, often the error goes unnoticed
because there is a system pnglibconf.h to use instead.
2013-02-09 07:24:08 -06:00
Glenn Randers-Pehrson
f88ac51a2e
[libpng16] Bump version to 1.6.0rc06
2013-02-08 09:13:44 -06:00
Glenn Randers-Pehrson
bbac5e692f
[libpng16] Imported from libpng-1.6.0rc05.tar
2013-02-08 09:13:35 -06:00
Glenn Randers-Pehrson
a4081f2990
[libpng16] Updated man page about png_get_palette_max().
2013-02-08 09:06:08 -06:00
Glenn Randers-Pehrson
1f8e81738a
[libpng16] Bump version to 1.6.0rc05
2013-02-06 22:32:13 -06:00
Glenn Randers-Pehrson
9002f5b1f0
[libpng16] Imported from libpng-1.6.0rc04.tar
2013-02-06 22:32:05 -06:00
John Bowler
f5a83fb2b3
[libpng16] Turn serial tests back on (recently turned off by autotools upgrade).
2013-02-06 19:38:42 -06:00
Glenn Randers-Pehrson
154de9398a
[libpng16] Bump version to 1.6.0rc04
2013-02-05 12:14:43 -06:00
Glenn Randers-Pehrson
777044a856
[libpng16] Imported from libpng-1.6.0rc03.tar
2013-02-05 10:34:11 -06:00
John Bowler
fe5c8b9755
[libpng16] Fixed palette_max API.
2013-02-05 08:01:09 -06:00
Glenn Randers-Pehrson
8d391c6cea
[libpng16] Bump version to 1.6.0rc03
2013-02-04 20:43:27 -06:00
Glenn Randers-Pehrson
32d6a74293
[libpng16] Imported from libpng-1.6.0rc02.tar
2013-02-04 20:12:49 -06:00
Glenn Randers-Pehrson
806477742a
[libpng16] Added documentation of the new png_get_palette_max() function.
2013-02-04 19:57:32 -06:00
Glenn Randers-Pehrson
29890b0439
[libpng16] Imported from libpng-1.6.0rc01.tar
2013-01-26 12:13:17 -06:00
Glenn Randers-Pehrson
9f860f59d9
[libpng16] Bump version to 1.6.0beta41
2013-01-20 17:32:13 -06:00
Glenn Randers-Pehrson
f8aa57e791
[libpng16] Imported from libpng-1.6.0beta40.tar
2013-01-20 17:25:00 -06:00
Glenn Randers-Pehrson
4567935fe4
[libpng16] Push two files that weren't updated in previous push.
2013-01-20 00:44:29 -06:00
John Bowler
2414bd99d8
[libpng16] Use consistent handling of overflows in text, sPLT and unknown
...
png_set_* APIs
2013-01-19 23:18:59 -06:00
Glenn Randers-Pehrson
1f76e62d6c
[libpng16] Bump version to 1.6.0beta40
2013-01-19 08:57:40 -06:00
Glenn Randers-Pehrson
e208108dfc
[libpng16] Imported from libpng-1.6.0beta39.tar
2013-01-19 08:50:15 -06:00
Glenn Randers-Pehrson
590c8b0987
[libpng16] Added overflow detection in png_set_sPLT() and png_set_text_2().
2013-01-19 08:49:12 -06:00
Glenn Randers-Pehrson
c5c8b542fb
[libpng16] Bump version to 1.6.0beta39
2013-01-17 13:57:58 -06:00
Glenn Randers-Pehrson
91a7ad9d2b
[libpng16] Imported from libpng-1.6.0beta38.tar
2013-01-17 13:57:42 -06:00
John Bowler
9dd2bfafe5
[libpng16] Corrected previous attempt at overflow detection in
...
png_set_unknown_chunks().
2013-01-17 13:24:05 -06:00
Glenn Randers-Pehrson
ba35f1e4c1
[libpng16] Bump version to 1.6.0beta38
2013-01-10 12:21:07 -06:00
Glenn Randers-Pehrson
5851280929
[libpng16] Imported from libpng-1.6.0beta37.tar
2013-01-10 12:20:59 -06:00
John Bowler
1c6e22a360
[libpng16] Fixed conceivable but difficult to repro overflow. Also added
...
two test programs to generate and test a PNG which should have the problem.
2013-01-10 10:55:34 -06:00
Glenn Randers-Pehrson
37109a9f5b
[libpng16] Bump version to 1.6.0beta37
2013-01-01 08:40:25 -06:00
Glenn Randers-Pehrson
a70216aa60
[libpng16] Imported from libpng-1.6.0beta36.tar
2013-01-01 08:40:16 -06:00
Glenn Randers-Pehrson
9477ecdfa6
[libpng16] Updated copyright year to 2013 in newly-changed files
2013-01-01 07:45:42 -06:00
John Bowler
408652acaf
[libpng16] Fixed 'make distcheck' on SUN OS - libpng.so was not being removed
2012-12-27 09:56:41 -06:00
Glenn Randers-Pehrson
744f041adf
[libpng16] Discontinued distributing libpng-1.x.x.tar.bz2.
...
Discontinued distributing libpng-1.7.0-1.6.0-diff.txt and similar.
2012-12-23 22:19:43 -06:00
Glenn Randers-Pehrson
86c739e8bc
[libpng16] Bump version to 1.6.0beta36
2012-12-22 18:34:22 -06:00
Glenn Randers-Pehrson
00634fdac8
[libpng16] Imported from libpng-1.6.0beta35.tar
2012-12-22 18:34:13 -06:00
Glenn Randers-Pehrson
79ee877fb4
[libpng16] Reformatted latest CHANGES/ANNOUNCE entry to 80 character lines.
2012-12-22 17:13:35 -06:00
John Bowler
e9d616321a
[libpng16] Fixed Windows build issues, enabled ARM compilation. Various warnings issued
...
by earlier versions of GCC fixed for Cygwin and Min/GW (which both use old GCCs.)
ARM support is enabled by default in zlib.props (unsupported by Microsoft) and
ARM compilation is made possible by deleting the check for x86. The test programs
cannot be run because they are not signed.
2012-12-20 22:48:58 -06:00
John Bowler
24639a63ce
[libpng16] Made default Zlib compression settings be configurable. This adds #defines to
...
pnglibconf.h to control the defaults.
2012-12-20 22:26:18 -06:00
Glenn Randers-Pehrson
5362c9d5e5
[libpng16] Bump version to 1.6.0beta35
2012-12-19 16:21:35 -06:00
Glenn Randers-Pehrson
b6bfd40da2
[libpng16] Imported from libpng-1.6.0beta34.tar
2012-12-19 16:12:30 -06:00
Glenn Randers-Pehrson
a1d32d08e1
[libpng16] ANNOUNCE that location of GIT repository at SourceForge has changed.
2012-12-18 21:53:17 -06:00
Glenn Randers-Pehrson
350cbf14df
[libpng16] Fixed typo in contrib/pngminim/encoder/README
2012-12-18 14:54:44 -06:00
Glenn Randers-Pehrson
7bde6e23bb
[libpng16] Disassembled the version number in scripts/options.awk (necessary
...
for building on SunOs)
2012-12-18 08:44:26 -06:00
Glenn Randers-Pehrson
5d9dc4563f
[libpng16] Fixed whitespace in libpng.3 manpage.
2012-12-17 20:03:08 -06:00
Glenn Randers-Pehrson
aa41547a4d
[libpng16] Updated manual about functions deprecated in libpng-1.6.x
2012-12-16 16:53:54 -06:00
Glenn Randers-Pehrson
8c3d4f387a
[libpng16] Bump version to 1.6.0beta34
2012-12-15 08:43:12 -06:00
Glenn Randers-Pehrson
6e265d137c
[libpng16] Note in CHANGES that configure files were rebuilt with autoconf-2.69
2012-12-15 08:29:41 -06:00
Glenn Randers-Pehrson
7b26920d9b
[libpng16] Imported from libpng-1.6.0beta33.tar
2012-12-15 07:58:38 -06:00
John Bowler
785a8b1505
[libpng16] Fixed cases of unquoted DESTDIR in Makefile.am
2012-12-15 07:57:31 -06:00
John Bowler
6cf32b460f
[libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific
...
code to the hardware subdirectory and added comments to pngrutil.c so that
implementors of other optimizations know what to do.
2012-12-15 07:55:54 -06:00
John Bowler
f758d6c813
[libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific
...
code to the hardware subdirectory and added comments to pngrutil.c so that
implementors of other optimizations know what to do.
2012-12-13 11:26:50 -06:00
Glenn Randers-Pehrson
5c2d76fdef
[libpng16] Use "FALL THROUGH" comment consistently in switch statements.
2012-12-09 19:39:30 -06:00
Glenn Randers-Pehrson
e4f124e335
[libpng16] Bump version to 1.6.0beta33
2012-12-09 19:25:42 -06:00
John Bowler
1f84bd7000
[libpng16] Change png_warning() to png_app_error() in pngwrite.c and comment
...
the fall-through condition.
2012-12-09 18:50:49 -06:00
Glenn Randers-Pehrson
b76ab1260d
[libpng16] Fixed typo in png.c (PNG_SET_CHUNK_MALLOC_MAX should be
...
PNG_CHUNK_MALLOC_MAX) that causes the MALLOC_MAX limit not to work (John Bowler)
2012-12-09 17:08:13 -06:00
Glenn Randers-Pehrson
026b295698
[libpng16] Removed an incorrect paragraph about png_benign_error
...
from the manual page.
2012-11-27 14:49:22 -06:00
Glenn Randers-Pehrson
eb8e19baa3
[libpng16] Revised description of libpng15 to libpng16 changes in the manual.
2012-11-26 18:54:33 -06:00
Glenn Randers-Pehrson
661bc6f6b0
[libpng16] Expanded manual description of libpng15 to libpng16 changes.
2012-11-26 18:39:59 -06:00
Glenn Randers-Pehrson
6dae6d8f3b
[libpng16] Imported from libpng-1.6.0beta32.tar
2012-11-25 12:47:44 -06:00
Glenn Randers-Pehrson
5b9a28f2b8
[libpng16] Trivial editing of commentary in pngrutil.c
2012-11-25 12:46:24 -06:00
Glenn Randers-Pehrson
5f4b95e513
[libpng16] Made png_user_version_check() ok to use with libpng version 1.10.x
...
and later.
2012-11-22 16:58:30 -06:00
John Bowler
70850fce0c
[libpng16] Fixed error checking in the simplified write API (Olaf van der Spek)
2012-11-15 00:06:30 -06:00
Glenn Randers-Pehrson
9d1ddbb78f
[libpng16] Fixed several typos and expanded TAB characters.
2012-11-13 19:45:53 -06:00
John Bowler
f2aacefb3f
[libpng16] Added the ability for contrib/libtests/makepng.c to make a PNG with just one
...
color. This is useful for debugging pngstest color inaccuracy reports.
2012-11-13 19:18:53 -06:00
John Bowler
4314d63792
[libpng16] Fixed an intermittent SEGV in pngstest.
2012-11-02 14:08:29 -05:00
Glenn Randers-Pehrson
7b3eefbcfd
[libpng16] Bump version to 1.6.0beta32
2012-11-01 08:37:52 -05:00
Glenn Randers-Pehrson
bb39dc545c
[libpng16] Imported from libpng-1.6.0beta31.tar
2012-11-01 08:26:57 -05:00
John Bowler
520803d57e
[libpng16] Removed non-working ICC profile support code. There was too much
...
code for too little gain; implementing full ICC color correction is maybe
desireable but is left up to applications.
2012-11-01 08:12:47 -05:00
John Bowler
7f912dbeb5
[libpng16] Fixed GUIDs in projects/vstudio. Some were duplicated or missing,
...
resulting in VS2010 having to update the files.
2012-10-27 13:04:56 -05:00
John Bowler
ab1477d662
[libpng16] Made PNG_NO_READ_GAMMA switch off interfaces that depend on
...
READ_GAMMA. Prior to 1.6.0 switching off READ_GAMMA did unpredictable things
to the interfaces that use it (specifically, png_do_background in 1.4 would
simply display composite for grayscale images but do composition
with the incorrect arithmetic for color ones). In 1.6 the semantic
of -DPNG_NO_READ_GAMMA is changed to simply disable any interface that
depends on it; this obliges people who set it to consider whether they
really want it off if they happen to use any of the interfaces in
question (typically most users who disable it won't).
2012-10-27 06:57:12 -05:00
John Bowler
f0fb1746b0
[libpng16] Make builds -DPNG_NO_READ_GAMMA compile (the unit tests still fail).
2012-10-26 08:29:45 -05:00
John Bowler
f8dfd123e2
[libpng16] Changed ICC profile support to allow use of an external color
...
management system (CMS). In practice it is not possible to obtain cHRM
information reliably using just the end-point tags because they do not exist
in the vast majority of profiles. Instead it is necessary to run the endpoints
through the ICC colorimetric intent transform (as described in the v4
spec). Since this is likely to be too much code inside libpng for too
little gain (it implies a fairly complete CMS implementation) the code
has been changed to allow an external CMS to be used. This code is
temporarily disabled until a suitable set of test cases using one or more
external CMS implementations have been implemented.
2012-10-25 19:30:02 -05:00
John Bowler
e6b710cb3f
[libpng16] Made pngvalid so that it will build outside the libpng source tree.
2012-10-25 19:15:55 -05:00
John Bowler
be85fa6027
[libpng16] Undid the erroneous change to vstudio/pngvalid build in
...
libpng-1.6.0beta30.
2012-10-25 19:09:55 -05:00
Glenn Randers-Pehrson
43648b02bc
[libpng16] Bump version to 1.6.0beta31
2012-10-24 11:37:18 -05:00
Glenn Randers-Pehrson
75fde9e99a
[libpng16] Imported from libpng-1.6.0beta30.tar
2012-10-24 11:37:08 -05:00
Glenn Randers-Pehrson
9a82547afe
[libpng16] Fixed build when using #define PNG_NO_READ_GAMMA in png_do_compose()
...
in pngrtran.c (Domani Hannes).
2012-10-24 11:22:35 -05:00
Glenn Randers-Pehrson
a9f44be8c2
[libpng16] Minor documentation edits
2012-10-10 15:02:00 -05:00
John Bowler
e15b1e8136
[libpng16] Added pngunknown files that were omitted from previous checkin
2012-09-30 14:10:43 -05:00
John Bowler
fa63beaa34
[libpng16] Use /MDd for vstudio debug builds.
...
Also added pngunkown to the vstudio builds, fixed build errors and corrected
a minor exit code error in pngvalid if the 'touch' file name is invalid.
2012-09-30 06:53:50 -05:00
John Bowler
c39be26f5a
[libpng16] Add updated WARNING file from libpng 1.5/vstudio
2012-09-29 17:48:53 -05:00
Glenn Randers-Pehrson
6ae34790cc
[libpng16] Added -DZ_SOLO to contrib/pngminim/*/makefile so they will work
...
with zlib-1.2.7
2012-09-27 18:52:30 -05:00
John Bowler
8de49d0921
[libpng16] Marked the broken (bad white point) original HP sRGB profiles
...
correctly and correct comments.
2012-09-27 09:26:49 -05:00
John Bowler
48cbba8e8e
[libpng16] Added a work around for GCC 4.2 optimization bug
2012-09-06 15:47:49 -05:00
John Bowler
b257147015
[libpng16] Changed ICC profile matrix/vector types to not depend on array
...
type rules. By the ANSI-C standard the new types should be identical to the
previous versions, and all known versions of gcc tested with the previous
versions except for GCC-4.2.1 work with this version. The change makes the
ANSI-C rule that const applied to an array of elements applies instead to the
elements in the array moot by explicitly applying const to the base
elements of the png_icc_matrix and png_icc_vector types. The accidental
(harmless) 'const' previously applied to the parameters of two of the
functions have also been removed.
2012-09-06 12:17:00 -05:00
Glenn Randers-Pehrson
73f826cb49
[libpng16] Fixed spelling of "chromaticAdaptationTag" in error messages.
2012-09-05 09:14:37 -05:00
Glenn Randers-Pehrson
933bc842ac
[libpng16] Fix confusion between "adopted" and "adapted" in new comments.
...
Glenn thought the "adopted" were typos and changed them all to "adapted".
This reverts the spelling and adds parenthetical comments when each
word first appears in png.h.
2012-09-04 20:16:25 -05:00
Glenn Randers-Pehrson
329d033d25
[libpng16] Bump version to 1.6.0beta30
2012-09-04 16:59:30 -05:00
Glenn Randers-Pehrson
9c06d78468
[libpng16] Imported from libpng-1.6.0beta29.tar
2012-09-04 16:59:12 -05:00
John Bowler
b98681b49a
[libpng16] Improved ICC profile handling including cHRM chunk generation and
...
fixed Cygwin+MSVC build errors. The ICC profile handling now includes more
checking. Several errors that caused rejection of the profile are now
handled with a warning in such a way that the invalid profiles will be
read by default in release (but not pre-RC) builds but will not be
written by default. The easy part of handling a cHRM chunk is written,
where the ICC profile contains the required data. The more difficult
part plus guessing a gAMA value requires code to pass selected RGB values
through the profile.
2012-09-04 16:35:20 -05:00
John Bowler
53f7051b1b
[libpng] Fixed contrib/examples/png2png.c
2012-09-01 13:26:41 -05:00
John Bowler
d099973c4f
[libpng16] Made makepng and pngtest produce identical PNGs, add "--relaxed"
...
option to pngtest. The "--relaxed" option turns off the benign errors that are
enabled by default in pre-RC builds. makepng can now write ICC profiles
where the length has not been extended to a multiple of 4, and pngtest
now intercepts all libpng errors, allowing the previously-introduced
"--strict test" on no warnings to actually work.
2012-09-01 11:46:14 -05:00
Glenn Randers-Pehrson
97a77a6f7b
[libpng16] Updated simplified API synopses and description of the png_image
...
structure in the manual.
2012-09-01 08:16:51 -05:00
Glenn Randers-Pehrson
b2aba47a6d
[libpng16] Added contrib/examples/* to the *.zip and *.7z distributions.
2012-09-01 06:40:48 -05:00
John Bowler
ed3ca0e3eb
[libpng16] Fixed the simplified API example programs and improved the error
...
message if the version field is not set.
2012-08-31 17:32:36 -05:00
Glenn Randers-Pehrson
fd043e5d0d
[libpng16] Bump version to 1.6.0beta29
2012-08-29 14:18:24 -05:00
Glenn Randers-Pehrson
cc02f89eb2
[libpng16] Imported from libpng-1.6.0beta28.tar
2012-08-29 14:18:15 -05:00
John Bowler
14d0ca620e
[libpng16] Cleaned up and corrected ICC profile handling.
...
contrib/libtests/makepng: corrected 'rgb' and 'gray' cases. profile_error
messages could be truncated; made a correct buffer size calculation and
adjusted pngerror.c appropriately. png_icc_check_* checking improved;
changed the functions to receive the correct color type of the PNG on read
or write and check that it matches the color space of the profile (despite
what the comments said before, there is danger in assuming the app will
cope correctly with an RGB profile on a grayscale image and, since it
violates the PNG spec, allowing it is certain to produce inconsistent
app behavior and might even cause app crashes.) Check that profiles
contain the tags needed to process the PNG (tags all required by the ICC
spec). Removed unused PNG_STATIC from pngpriv.h.
2012-08-25 16:21:46 -05:00
John Bowler
8010217201
[libpng16] Minor cleanup of iCCP processing
2012-08-22 11:26:25 -05:00
Glenn Randers-Pehrson
702053d110
[libpng16] Bump version to 1.6.0beta28
2012-08-17 21:54:45 -05:00
John Bowler
74a9c07fdd
[libpng16] Revised Makefile.am to add unknown test support
2012-08-17 17:40:41 -05:00
John Bowler
d0eef28ee1
[libpng16] Added "tunknown" test and corrected a logic error in
...
png_handle_unknown() when SAVE support is absent. Moved the shell test
scripts for contrib/libtests from the libpng top directory to contrib/libtests.
png_handle_unknown() must always read or skip the chunk, if
SAVE_UNKNOWN_CHUNKS is turned off *and* the application does not set
a user callback an unknown chunk will not be read, leading to a read
error, which was revealed by the "tunknown" test.
2012-08-17 15:30:29 -05:00
John Bowler
3c1f6983c5
[libpng16] Corrected fix for unknown handling in pngtest. This reinstates the
...
libpng handling of unknown chunks other than vpAg and sTER (including
unsafe-to-copy chunks which were dropped before) and eliminates the
repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
(so the chunks are where libpng would put them).
2012-08-16 20:47:34 -05:00
John Bowler
4a6c6df6c7
[libpng16] Allow fine grain control of unknown chunk APIs. This change allows
...
png_set_keep_unknown_chunks() to be turned off if not required and causes
both read and write to behave appropriately (on read this is only possible
if the user callback is used to handle unknown chunks). The change
also removes the support for storing unknown chunks in the info_struct
if the only unknown handling enabled is via the callback, allowing libpng
to be configured with callback reading and none of the unnecessary code.
2012-08-16 16:12:13 -05:00
Glenn Randers-Pehrson
025d415838
[libpng16] Folded long lines and fixed some grammar.
2012-08-16 00:51:44 -05:00
Glenn Randers-Pehrson
810c99583b
[libpng16] Fixed some spelling errors.
2012-08-15 23:20:47 -05:00
John Bowler
e9567514dd
[libpng16] Unknown handling fixes and clean up. This adds more correct option
...
control of the unknown handling, corrects the pre-existing bug where
the per-chunk 'keep' setting is ignored and makes it possible to skip
IDAT chunks in the sequential reader (broken in earlier 1.6 versions).
There is a new test program, test-unknown.c, which is a work in progress
(not currently part of the test suite). Comments in the header files now
explain how the unknown handling works.
2012-08-15 22:53:00 -05:00
Glenn Randers-Pehrson
b593b3f035
[libpng16] Bump version to 1.6.0beta28
2012-08-11 18:32:36 -05:00
Glenn Randers-Pehrson
0f08665bfb
[libpng16] Imported from libpng-1.6.0beta27.tar
2012-08-11 18:31:44 -05:00
Glenn Randers-Pehrson
3744f94fd1
[libpng16] Removed trailing blanks
2012-08-10 19:22:53 -05:00
John Bowler
aa9dea57d7
[libpng16] Work around gcc 3.x and Microsoft Visual Studio 2010 complaints.
...
Both object to the split initialization of num_chunks.
2012-08-10 19:04:08 -05:00
Glenn Randers-Pehrson
ece07cfe9c
[libpng16] Removed the png_sizeof(), png_strlen(), png_memset(), png_memcpy(),
...
and png_memcmp() macros.
2012-08-10 18:19:41 -05:00
Glenn Randers-Pehrson
dbb7e19fda
[libpng16] Consistently use memset(), memcpy(), and memcmp() instead of the
...
png_memset(), png_memcpy(), and png_memcmp() macros.
2012-08-10 17:27:42 -05:00
John Bowler
e2098ba085
[libpng16] Make all three "make check" test programs work without READ or WRITE
...
support. Now "make check" will succeed even if libpng is compiled with
-DPNG_NO_READ or -DPNG_NO_WRITE. The tests performed are reduced, but the
basic reading and writing of a PNG file is always tested by one or more of
the tests.
2012-08-10 17:04:56 -05:00
Glenn Randers-Pehrson
26849f4693
[libpng16] Consistently use png_memset(), png_memcpy(), and png_memcmp(),
...
except in pngtest.c and example.c where these macros are not visible.
2012-08-10 16:01:45 -05:00
John Bowler
ad5a993954
[libpng16] Cause pngtest --strict to fail on any warning from libpng (not just
...
errors) and cause it not to fail at the comparison step if libpng lacks support
for writing chunks that it reads from the input (currently only implemented
for compressed text chunks).
2012-08-10 13:15:07 -05:00
Glenn Randers-Pehrson
6954141484
[libpng16] Add more conditionals for compiling png_fixed().
...
This is a small function, but avoiding compiling it also avoids needing
to link with "-lm" unnecessarily.
2012-08-10 12:56:57 -05:00
John Bowler
ba2dd33d9c
[libpng16] Some files were omitted from a previous checkin. Here they are.
2012-08-10 10:58:01 -05:00
John Bowler
134c5761fa
[libpng16] Fix new leak when text compression is disabled.
2012-08-10 10:49:21 -05:00
John Bowler
865e14fd32
[libpng16] Revised comments about info_ptr->signature, added CHANGES entry.
2012-08-10 08:05:53 -05:00
Glenn Randers-Pehrson
5d1df4fdf4
[libpng16] Removed png_get_signature() and info_ptr->signature from WRITE-only
...
builds. Restored png_get_channels() to WRITE-only builds.
2012-08-10 07:49:44 -05:00
John Bowler
8d3453a22d
[libpng16] Insist on autotools 1.12.1 for git builds because there are security
...
issues with 1.12 and insisting on anything less would allow 1.12 to be used.
2012-08-09 22:57:35 -05:00
Glenn Randers-Pehrson
4430b91363
[libpng16] Restore info_ptr members that were deleted by the previous
...
patch; they are needed by png_set_IHDR() for both read and write. Fix
some ifdefs that caused the contrib/pngminim/ applications to not compile.
2012-08-09 22:24:04 -05:00
John Bowler
dff6f4c4f0
[libpng16Cleanup of png_set_filler(). This function does very different things
...
on read and write. In libpng 1.6 the two cases can be distinguished and
considerable code cleanup, and extra error checking, is possible. This
makes calls on the write side that have no effect be ignored with a
png_app_error(), which can be disabled in the app using
png_set_benign_errors(), and removes the spurious use of usr_channels
on the read side.
2012-08-09 21:17:56 -05:00
Glenn Randers-Pehrson
432c174b64
[libpng16] Eliminated use of png_sizeof(); use sizeof() instead, and use.
...
a consistent style for (sizeof type) and (sizeof (array))
2012-08-09 20:14:48 -05:00
John Bowler
5f5977e708
[libpng16] Re-eliminated the use of strcpy() in pngtest.c. An unncessary use
...
of strcpy() was accidentally re-introduced in libpng16; this change replaces
it with strncpy().
2012-08-09 16:42:42 -05:00
John Bowler
0a9f8eb272
[libpng16] Fixed configurations where floating point is completely disabled.
...
Because of the changes to support symbol prefixing PNG_INTERNAL_FUNCTION
declares floating point APIs during libpng builds even if they are completely
disabled. This requires the png floating point types (png_double*) to be
declared even though the functions are never actually defined. This
change provides a dummy definition so that the declarations work, yet any
implementation will fail to compile because of an incomplete type.
2012-08-09 07:35:50 -05:00
Glenn Randers-Pehrson
cad0150d12
[libpng16] Corrected handling of row_pointers in example.c and added some
...
comments. It has apparently been wrong since libpng-1.0.1c (confusing
use of a 1D and a 2D array for the image source).
2012-08-08 21:11:55 -05:00
Glenn Randers-Pehrson
ee427ad39a
[libpng16] Add information about png_calloc() to the manual.
2012-08-03 08:39:54 -05:00
Glenn Randers-Pehrson
01b813000a
[libpng16] Removed references to png_zalloc() and png_zfree() from the manual.
...
They have not been exported to applications since libpng12.
2012-08-03 07:23:42 -05:00
Glenn Randers-Pehrson
449db5a9c1
[libpng16] Check for existence of __GNUC_MINOR__ before testing its value
...
(This is probably unnecessary because it's inside a __GNUC__ block.)
2012-07-21 13:18:42 -05:00
Glenn Randers-Pehrson
80b67e47e8
[libpng16] Added default blank "#define PNG_RESTRICT" to pngconf.h
...
This has been missing since the feature was introduced in libpng-1.6.0beta04.
2012-07-21 12:56:46 -05:00
Glenn Randers-Pehrson
0a9f26e219
[libpng16] Do not use __restrict when GNUC is <= 3.1
2012-07-21 11:16:17 -05:00
Glenn Randers-Pehrson
05ed18e7d1
[libpng16] Bump version to 1.6.0beta27
2012-07-21 11:02:42 -05:00
Glenn Randers-Pehrson
edb3523a9b
[libpng16] Imported from libpng-1.6.0beta26.tar
2012-07-10 21:00:41 -05:00
Glenn Randers-Pehrson
46cb5109bd
[libpng16] Moved scripts/chkfmt to contrib/tools.
2012-06-25 14:14:17 -05:00
Glenn Randers-Pehrson
5845d3eabd
[libpng16] Removed scripts/makefile.cegcc from the *.zip and *.7z
...
distributions; it depends on configure, which is not included in those
archives.
2012-06-25 09:11:53 -05:00
Glenn Randers-Pehrson
4a37149f66
[libpng16] Bump version to 1.6.0beta26
2012-06-16 14:50:34 -05:00
Glenn Randers-Pehrson
fc58b17772
[libpng16] Imported from libpng-1.6.0beta25.tar
2012-06-16 14:42:22 -05:00
Glenn Randers-Pehrson
96b917056d
[libpng16] Revised png_set_keep_unknown_chunks() so num_chunks < 0 means
...
ignore all unknown chunks and all known chunks except for IHDR, PLTE, tRNS,
IDAT, and IEND. Previously it only meant ignore all unknown chunks, the
same as num_chunks == 0. Revised png_image_skip_unused_chunks() to
provide a list of chunks to be processed instead of a list of chunks to
ignore. Revised contrib/gregbook/readpng2.c accordingly.
2012-06-16 13:26:28 -05:00
Glenn Randers-Pehrson
0546e4e579
[libpng16] Document deprecation of png_convert_to_rfc1123() and its
...
replacement with png_convert_to_rfc1123_buffer().
2012-06-12 13:06:52 -05:00
Glenn Randers-Pehrson
05af5cd8fb
[libpng16] Fixed some typos and grammar in manual and comments
2012-06-09 10:35:17 -05:00
Glenn Randers-Pehrson
d630301d99
[libpng16] Bump version to 1.6.0beta25
2012-06-07 10:29:14 -05:00
Glenn Randers-Pehrson
2ec8409046
[libpng16] Imported from libpng-1.6.0beta24.tar
2012-06-07 10:29:06 -05:00
Glenn Randers-Pehrson
905cc94e3d
[libpng16] Don't check palette indexes if num_palette is 0 (as it can be in
...
MNG files).
2012-06-07 10:18:25 -05:00
Glenn Randers-Pehrson
8f424b8270
[libpng16] Bump version to 1.6.0beta24
2012-06-06 13:54:41 -05:00
Glenn Randers-Pehrson
cc46157421
[libpng16] Imported from libpng-1.6.0beta23.tar
2012-06-06 13:54:28 -05:00
Glenn Randers-Pehrson
14ca47b453
[libpng16] Improved performance of new do_check_palette_indexes() function
...
(only update the value when it actually increases, move test for whether
the check is wanted out of the function.
2012-06-06 13:30:30 -05:00
Glenn Randers-Pehrson
b1e7771d5e
[libpng16] Do not depend upon a GCC feature macro being available for use in
...
generating the linker mapfile symbol prefix.
2012-06-03 19:30:02 -05:00
Glenn Randers-Pehrson
ff7b7ba060
[libpng16] Made fixes for new optimization warnings from gcc 4.7.0.
...
The compiler performs an optimization which is safe; however it then warns
about it. Changing the type of 'palette_number' in pngvalid.c removes the
warning.
2012-06-03 19:17:48 -05:00
Glenn Randers-Pehrson
1935d0738f
[libpng16] Revised CMakeLists.txt to not attempt to make a symlink under mingw.
2012-05-29 05:50:04 -05:00
Glenn Randers-Pehrson
04c1c078b9
[libpng16] Bump version to 1.6.0beta23
2012-05-23 13:19:38 -05:00
Glenn Randers-Pehrson
8f4d67218e
[libpng16] Imported from libpng-1.6.0beta22.tar
2012-05-23 13:19:30 -05:00
John Bowler
15f6fd3492
[libpng16] checked in contrib/libtests/pngstest.c which was omitted
2012-04-30 13:59:58 -05:00
John Bowler
b45416921b
[libpng16] Removed need for -Wno-cast-align with clang. clang correctly warns
...
on alignment increasing pointer casts when -Wcast-align is passed. This
fixes the cases clang warns about either (pngread.c) by eliminating the
casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast
is previously verified or pngstest.c where it is OK by introducing new
png_aligncast macros to do the cast in a way that clang accepts.
2012-04-30 06:31:54 -05:00
Glenn Randers-Pehrson
040575c80b
[libpng16] Bump version to 1.6.0beta22
2012-04-28 06:34:57 -05:00
Glenn Randers-Pehrson
43309056ac
[libpng16] Imported from libpng-1.6.0beta21.tar
2012-04-28 06:34:48 -05:00
Glenn Randers-Pehrson
bc2a57f657
[libpng16] Changed deprecated NOOBJ and NOPROFILE to NO_OBJ and NO_PROFILE in
...
scripts/makefile.freebsd
2012-04-28 05:48:21 -05:00
Glenn Randers-Pehrson
56f22f4320
[libpng16] Added -lssp_nonshared in a comment in scripts/makefile.freebsd
2012-04-26 08:57:58 -05:00
Glenn Randers-Pehrson
cd39adb561
[libpng16] Removed #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED in pngpriv.h around
...
declaration of png_handle_unknown().
2012-04-23 23:12:39 -05:00
Glenn Randers-Pehrson
b4f5c42092
[libpng16] Revised scripts/makefile.darwin: use system zlib; remove quotes
...
around architecture list; add missing ppc architecture; add architecture
options to shared library link; don't try to create a shared lib based on
missing RELEASE variable (Toby Thain).
2012-04-13 12:36:22 -05:00
Glenn Randers-Pehrson
e243a1fbd8
[libpng16] Enable png_set_check_for_invalid_index() for both read and write.
2012-04-13 12:35:21 -05:00
Glenn Randers-Pehrson
747b554a86
[libpng16] Edited new commentary in png.c
2012-03-29 08:28:19 -05:00
Glenn Randers-Pehrson
f229d4df3a
[libpng16] Bump version to 1.6.0beta21
2012-03-29 07:42:45 -05:00
Glenn Randers-Pehrson
96027d919f
[libpng16] Imported from libpng-1.6.0beta20.tar
2012-03-29 06:38:51 -05:00
Glenn Randers-Pehrson
58f277c18e
[libpng16] Revised png_set_text_2() to avoid potential memory corruption.
...
Fixes CVE-2011-3048.
2012-03-28 23:37:25 -05:00
John Bowler
921648a997
[libpng16] Recognize known sRGB ICC profiles while reading; prefer writing the
...
iCCP profile over writing the sRGB chunk, controlled by the
PNG_sRGB_PROFILE_CHECKS option.
2012-03-28 23:36:12 -05:00
John Bowler
23a30f8583
[libpng16] Prevent PNG_EXPAND+PNG_SHIFT doing the shift twice.
2012-03-28 11:38:02 -05:00
Glenn Randers-Pehrson
48015617d3
[libpng16] Recognize known sRGB ICC profiles while reading and issue a warning
...
about it, if PNG_WARN_IF_iCCP_IS_sRGB_SUPPORTED is defined.
2012-03-28 10:58:01 -05:00
John Bowler
13a87d9682
[libpng16] Fixed ICC profile parsing and sRGB profile recognition
...
and moved checksum-icc.c from contrib/libtests to contrib/tools.
2012-03-28 09:51:43 -05:00
John Bowler
c1217ee280
[libpng16] Write the profile MD5s from checksum-icc (and the date)
2012-03-22 07:53:00 -05:00
John Bowler
51d1e2be1b
[libng16] Added checksum-icc.c to contrib/libtests
2012-03-22 07:36:13 -05:00
John Bowler
f7677a348e
[libpng16] Use uLong 64 bits for crc32 return in profile check
2012-03-21 23:52:41 -05:00
Glenn Randers-Pehrson
8fbd60ded2
[libpng16] Recognize known sRGB ICC profiles while reading and handle them as
...
if the sRGB chunk had appeared instead.
2012-03-21 09:18:15 -05:00
John Bowler
b11b31aea2
[libpng16] Changed chunk handler warnings into benign errors, incrementally
...
load iCCP
2012-03-21 07:55:46 -05:00
Glenn Randers-Pehrson
51624965e2
[libpng16] Bump version to 1.6.0beta20
2012-03-19 11:04:48 -05:00
Glenn Randers-Pehrson
ce9d8a3f48
[libpng16] Imported from libpng-1.6.0beta19.tar
2012-03-19 10:54:55 -05:00
John Bowler
eda53e5770
[libpng16] Avoid the double gamma correction warning in the simplified API.
...
This allows the --strict option to pass in the pngstest checks
2012-03-18 22:46:28 -05:00
John Bowler
2bc76ffaf1
[ibpng16] Added application error reporting and added chunk names to read
...
benign errors; also added --strict to pngstest - not enabled
yet because a warning is produced.
2012-03-18 22:37:25 -05:00
John Bowler
66efa24241
[libpng16] Removed erroneous setting of DETECT_UNINITIALIZED and added more
...
checks. The code now does a png_error if an attempt is made to do the
row initialization twice; this is an application error and it has
serious consequences because the transform data in png_struct is
changed by each call.
2012-03-18 21:10:29 -05:00
John Bowler
0c11b5f8e7
[libpng16] Work around for duplicate row start calls; added warning messages.
...
This turns on PNG_FLAG_DETECT_UNINITIALIZED to detect app code that
fails to call one of the 'start' routines (not enabled in libpng-1.5
because it is technically an API change, since it did normally work
before.) It also makes duplicate calls to png_read_start_row (an
internal function called at the start of the image read) benign, as
they were before changes to use png_inflate_claim. Somehow webkit is
causing this to happen; this is probably a mis-feature in the zlib
changes so this commit is only a work-round.
2012-03-18 14:39:41 -05:00
Glenn Randers-Pehrson
f5dcba6b9b
[libpng16] Never mind, undid previous change.
2012-03-17 00:21:45 -05:00
Glenn Randers-Pehrson
c26d6e9aac
[libpng16] Revised png_set_text_2() to avoid possible memory corruption
...
when writing.
2012-03-16 23:19:02 -05:00
Glenn Randers-Pehrson
42ed02ed9a
[libpng16] Reverted png_set_itxt(); it would not compile without warnings.
2012-03-16 23:17:27 -05:00
Glenn Randers-Pehrson
31d66245ea
[libpng16] Added png_set_itxt() (work in progress)
2012-03-16 13:53:25 -05:00
Glenn Randers-Pehrson
d9d7a7e8f0
[libpng16] Fixed ANNOUNCE and CHANGES re simplified API and benign errors.
2012-03-16 11:04:30 -05:00
Glenn Randers-Pehrson
d15d124d6d
[libpng16] Bump version to 1.6.0beta19
2012-03-16 08:35:36 -05:00
Glenn Randers-Pehrson
dd6ecbe688
[libpng16] Imported from libpng-1.6.0beta18.tar
2012-03-16 08:34:31 -05:00
John Bowler
aa816c4444
[libpng16] Added configuration support for benign errors and changed the read
...
default. Also changed some warnings in the iCCP and sRGB handling
from to benign errors. Configuration now makes read benign
errors warnings and write benign errors to errors by default (thus
changing the behavior on read). The simplified API always forces
read benign errors to errors (regardless of the system default, unless
this is disabled in which case the simplified API can't be built.)
2012-03-16 07:39:49 -05:00
John Bowler
209b3e4b79
[libpng16] Added output flushing to aid debugging under Visual Studio.
...
This is necessary because the VS2010 output window otherwise simply loses
the error messages on error (they weren't flushed to the window before
the process exited, apparently!)
2012-03-16 07:14:01 -05:00
Glenn Randers-Pehrson
f2715a558a
[libpng16] Revised example.c to put text strings in a temporary character array
...
instead of directly assigning string constants to png_textp members.
This avoids compiler warnings when -Wwrite-strings is enabled.
2012-03-15 19:52:03 -05:00
John Bowler
845ee6af72
[libpng16] Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
2012-03-10 21:05:19 -06:00
John Bowler
9ff37ea94f
[libpng16] Fix an off-by-one error in the palette index checking function.
2012-03-10 20:03:06 -06:00
Glenn Randers-Pehrson
35f2e1768b
[libpng16] In pngtest, treat benign errors as errors if "-strict" is present.
2012-03-10 19:42:03 -06:00
Glenn Randers-Pehrson
945cb1f9be
[libpng16] Issue a png_benign_error() instead of png_warning() about bad
...
palette index.
2012-03-10 08:48:04 -06:00
Glenn Randers-Pehrson
71db131882
[libpng16] Bump version to 1.6.0beta18
2012-03-09 22:15:09 -06:00
Glenn Randers-Pehrson
bf7661f01b
[libpng16] Imported from libpng-1.6.0beta17.tar
2012-03-09 22:15:01 -06:00
John Bowler
9066919600
[libpng16] If benign errors are disabled use maximum window on ancillary
...
inflate. This works round a bug introduced in 1.5.4 where compressed ancillary
chunks could end up with a too-small windowBits value in the deflate
header.
2012-03-09 22:03:13 -06:00
John Bowler
1ffbe8c7c1
[libpng] Committed new contrib/libtests/makepng.c that was overlooked
...
in a recent patch.
2012-03-09 12:21:51 -06:00
Glenn Randers-Pehrson
8d0215928d
[libpng16] Fixed manual assertion that all of our public macros begin with PNG_
...
Some such as PNGAPI begin with "PNG".
2012-03-09 12:18:18 -06:00
John Bowler
b5d0051dcb
[libpng16] Deflate/inflate was reworked to move common zlib calls into single
...
functions [rw]util.c. A new shared keyword check routine was also added
and the 'zbuf' is no longer allocated on progressive read. It is now
possible to call png_inflate() incrementally.
2012-03-09 09:15:18 -06:00
Glenn Randers-Pehrson
6038b80277
[libpng16] Reject iCCP chunk after the first, even if the first one is invalid.
2012-03-08 10:40:07 -06:00
Glenn Randers-Pehrson
b57c1c9e6e
[libpng16] Bump version to 1.6.0beta17
2012-03-05 21:35:40 -06:00
Glenn Randers-Pehrson
0c98cc7023
[libpng16] Imported from libpng-1.6.0beta16.tar
2012-03-05 21:28:03 -06:00
John Bowler
6225b0e61e
[libpng16] Added code to validate the windowBits value passed to deflateInit2().
...
If the call to deflateInit2() is wrong a png_warning will be issued
(in fact this is harmless, but the PNG data produced may be sub-optimal).
2012-03-05 21:26:57 -06:00
John Bowler
d072048925
[libpng16] Correct pngvalid error message
2012-03-05 21:10:11 -06:00
John Bowler
7d4fbb2fbb
[libpng16] Validate the zTXt strings in pngvalid.
2012-03-05 21:02:49 -06:00
John Bowler
42a2b556e9
[libpng16] Made read 'inflate' handling like write 'deflate' handling. The
...
read code now claims and releases png_ptr->zstream, like the write code.
The bug whereby the progressive reader failed to release the zstream
is now fixed, all initialization is delayed, and the code checks for
changed parameters on deflate rather than always calling
deflatedEnd/deflateInit.
2012-03-05 20:57:40 -06:00
John Bowler
e2ae0f2f2b
[libpng16] Fix tarith argument parsing
2012-03-05 20:43:27 -06:00
John Bowler
d6cf3a3791
[libpng16] Added a print out of the maximum observed error to 'tarith ascii'
2012-03-05 20:41:19 -06:00
John Bowler
e741cd592e
[libpng16] Added contrib/libtests/tarith.c to test internal arithmetic
...
functions from png.c. This is a libpng maintainer program used to validate
changes to the internal arithmetic functions.
2012-03-04 20:48:57 -06:00
John Bowler
0ae4f7b705
[libpng16] Changed png_inflate() and calling routines to avoid overflow
...
problems. This is an intermediate check-in that solves the immediate problems
and introduces one performance improvement (avoiding a copy via png_ptr->zbuf.)
Further changes will be made to make ICC profile handling more secure.
2012-03-03 21:10:26 -06:00
John Bowler
29a6ba01a7
[libpng16] Fixed build warnings (MSVC, GCC, GCC v3). Cygwin GCC with default
...
options declares 'index' as a global, causing a warning if it is used as a
local variable. GCC 64-bit warns about assigning a (size_t) (unsigned 64-bit)
to an (int) (signed 32-bit). MSVC, however, warns about using the
unary '-' operator on an unsigned value (even though it is well defined
by ANSI-C to be ~x+1). The padding calculation was changed to use a
different method. Removed the tests on png_ptr->pass.
2012-03-03 20:49:03 -06:00
Glenn Randers-Pehrson
434801a39c
[libpng16] Bump version to 1.6.0beta16
2012-03-02 22:52:13 -06:00
Glenn Randers-Pehrson
79a141876a
[libpng16] Revised scripts/pnglibconf.dfa
2012-03-02 22:50:03 -06:00
Glenn Randers-Pehrson
eeb1bb678d
[libng16] Added palette-index checking while writing.
...
Relocated palette-index checking function from pngrutil.c to pngtrans.c
2012-03-02 22:10:15 -06:00
Glenn Randers-Pehrson
8e92cd51c6
[libpng16] Bump version to 1.6.0beta16
2012-03-02 14:04:36 -06:00
Glenn Randers-Pehrson
363387c9c0
[libpng16] Imported from libpng-1.6.0beta15.tar
2012-03-02 13:45:00 -06:00
John Bowler
6f237b6bf0
[libpng16] Remove whitespace at end of lines
2012-03-02 13:20:52 -06:00
John Bowler
a0ddf0b5f2
[libpng16] Minor update to pngstest.c, chmod 755 gentests.sh
2012-03-02 06:56:33 -06:00
Glenn Randers-Pehrson
5541ea8aaf
[libpng16] Relocated declarations of index and padding in new index-checking
...
code.
2012-03-01 22:18:09 -06:00
John Bowler
cf49919686
[libpng16] Fixed some bugs in ICC profile writing. The code should now accept
...
all potentially valid ICC profiles and reject obviously invalid ones.
It now uses png_error() to do so rather than casually writing a PNG
without the necessary color data.
2012-03-01 21:54:07 -06:00
Glenn Randers-Pehrson
363ae65e2b
[libpng16] Added tests for invalid palette index while reading and writing
...
(work in progress, the latter isn't finished).
2012-03-01 21:39:29 -06:00
John Bowler
cb129a6234
[libpng16] Improved pngstest fine tuning of error numbers, new test file
...
generator. The generator generates images that test the full range of sample
values, allow the error numbers in pngstest to be tuned and checked. makepng
also allows generation of images with extra chunks, although this is
still work-in-progress.
2012-03-01 21:26:54 -06:00
John Bowler
dee7577330
[libpng16] Added PNG_IMAGE_FLAG_FAST for the benefit of applications that
...
store intermediate files, or intermediate in-memory data, while processing
image data with the simplified API. The option makes the files larger
but faster to write and read. pngstest now uses this by default; this
can be disabled with the --slow option.
2012-03-01 18:55:54 -06:00
John Bowler
1c25b9b06b
[libpng16] Fixed transparent pixel and 16-bit rgb tests in pngstest and removed
...
a spurious check in pngwrite.c
2012-02-29 10:49:28 -06:00
John Bowler
0a92b23c4b
[libpng16] Rewrote pngstest.c for substantial speed improvement.
2012-02-29 06:47:55 -06:00
Glenn Randers-Pehrson
5408b613f8
[libpng16] Removed unused "current_text" members of png_struct
...
and the png_free() of png_ptr->current_text from pngread.c
2012-02-27 08:09:42 -06:00
Glenn Randers-Pehrson
b7e32059d3
[libpng16] Bump version to 1.6.0beta15
2012-02-26 21:38:19 -06:00
Glenn Randers-Pehrson
faf38eea03
[libpng16] Imported from libpng-1.6.0beta14.tar
2012-02-26 21:38:09 -06:00
Glenn Randers-Pehrson
9eb125e927
[libpng16] Updated Makefile.in
...
Added information about the new limits in the manual.
2012-02-24 22:04:53 -06:00
Glenn Randers-Pehrson
203e6dd7cf
[libpng16] Checked in new Makefile.am that maintains pngusr.dfa
2012-02-24 15:56:01 -06:00
Glenn Randers-Pehrson
16bb03b8b4
[libpng16] Bump version to 1.6.0beta14
2012-02-24 11:52:56 -06:00
Glenn Randers-Pehrson
df44c4c4d9
[libpng16] Imported from libpng-1.6.0beta13.tar
2012-02-24 11:45:34 -06:00
Glenn Randers-Pehrson
4690b89eaa
[libpng16] Added PNG_SAFE_LIMITS feature to pnglibconf.dfa, pngpriv.h, and new pngusr.dfa
...
to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined.
To enable, use CPPFLAGS=-DPNG_SAFE_LIMITS on the configure command
or put #define PNG_SAFE_LIMITS_SUPPORTED in pnglibconf.h.prebuilt.
(Reverted previous implementation of PNG_SECURE.)
2012-02-24 11:43:31 -06:00
Glenn Randers-Pehrson
10c0693210
[libpng16] Added PNG_SECURE feature to pnglibconf.dfa and new pngusr.dfa file
...
to reset the user limits to safe ones if PNG_SECURE is defined.
2012-02-23 18:41:13 -06:00
Glenn Randers-Pehrson
17ba5de88f
[libpng16] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
...
pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
now that png_ptr->buffer is inaccessible to applications, the special
handling is no longer useful.
2012-02-21 14:49:56 -06:00
Glenn Randers-Pehrson
7d5bf79d88
[libpng16] Bump version to 1.6.0beta13
2012-02-18 22:54:56 -06:00
Glenn Randers-Pehrson
a4badc4b50
[libpng16] Imported from libpng-1.6.0beta12.tar
2012-02-17 17:07:54 -06:00
Glenn Randers-Pehrson
b0606ea043
[libpng16] Increase num_palette to invalid_index + 1, not to invalid_index.
2012-02-16 20:48:28 -06:00
Glenn Randers-Pehrson
566fb611b6
[libpng16] Bump version to 1.6.0beta12
2012-02-16 20:24:39 -06:00
Glenn Randers-Pehrson
c737b7cf70
[libpng16] Imported from libpng-1.6.0beta11.tar
2012-02-16 20:16:09 -06:00
Glenn Randers-Pehrson
67dba43998
[libpng16] Check for invalid palette index while reading paletted PNG. When
...
one is found, issue a warning and increase png_ptr->num_palette accordingly.
Apps are responsible for checking to see if that happened.
2012-02-16 20:15:13 -06:00
John Bowler
bce7988230
[libpng16] Fixed fixed/float API export conditionals. 1) If FIXED_POINT or
...
FLOATING_POINT options were switched off, png.h ended up with lone ';'
characters. This is not valid ANSI-C outside a function. The ';'
characters have been moved inside the definition of PNG_FP_EXPORT and
PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
of the corresponding functions were completely omitted, even though some
of them are still used internally. The result is still valid, but
produces warnings from gcc with some warning options (including -Wall). The
fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
when png.h is included from pngpriv.h.
2012-02-13 11:45:22 -06:00
Glenn Randers-Pehrson
864270e18f
[libpng16] Fixed a memory overwrite bug in simplified read of RGB PNG with
...
Fixed a memory overwrite bug in simplified read of RGB PNG with
non-linear gamma Also bugs in the error checking in pngread.c and changed
quite a lot of the checks in pngstest.c to be correct; either correctly
written or not over-optimistic. The pngstest changes are insufficient to
allow all possible RGB transforms to be passed; pngstest cmppixel needs
to be rewritten to make it clearer which errors it allows and then changed
to permit known inaccuracies.
2012-02-10 17:13:13 -06:00
Glenn Randers-Pehrson
74df4f1956
[libpng16] Removed some unused arrays from png_read_push_finish_row().
2012-02-10 15:19:34 -06:00
John Bowler
aa725a375c
[libpng16] Corrected estimate of error in libpng png_set_rgb_to_gray API.
...
The API is extremely inaccurate for sRGB conversions because it uses an 8-bit
intermediate linear value and it does not use the sRGB transform, so it
suffers from the known instability in gamma transforms for values close
to 0 (see Poynton). The net result is that the calculation has a maximum
error of 14.99/255; 0.5/255^(1/2.2). pngstest now uses 15 for the
permitted 8-bit error. This may still not be enough because of arithmetic
error.
2012-02-04 15:11:16 -06:00
Glenn Randers-Pehrson
5578c3719e
[libpng16] Updated documentation about the simplified API.
2012-02-04 10:31:38 -06:00
Glenn Randers-Pehrson
ce3c7330ba
[libpng16] Revised test-pngstest.sh to report PASS/FAIL for each image.
2012-02-04 07:35:34 -06:00
John Bowler
c8348f80d5
[libpng16] Fix character count in pngstest command in
...
projects/owatcom/pngstest.tgt
2012-02-03 21:40:07 -06:00
Glenn Randers-Pehrson
612d52afce
[libpng16] Fixed some editing cruft in libpng-manual.txt and libpng.3
2012-02-03 21:14:33 -06:00
Glenn Randers-Pehrson
3449169622
[libpng16] Bump version to 1.6.0beta11
2012-02-03 02:01:02 -06:00
Glenn Randers-Pehrson
ead660ae1e
[libpng16] Imported from libpng-1.6.0beta10.tar
2012-02-03 01:56:26 -06:00
Glenn Randers-Pehrson
04afaab56a
[libpng16] Bump version to 1.6.0beta10
2012-02-03 00:39:02 -06:00
Glenn Randers-Pehrson
781a90b358
[libpng16] Updated list of test images in CMakeLists.txt
2012-02-02 15:48:55 -06:00
John Bowler
61d7058b5b
[libpng16] Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
2012-02-02 08:37:11 -06:00
Glenn Randers-Pehrson
db6850b389
[libpng16] Bump version to 1.6.0beta10
2012-02-01 15:41:43 -06:00
Glenn Randers-Pehrson
eda298bc01
[libpng] Note in CHANGES that Makefile.in and configure were reverted
...
to libpng-1.6.0beta05 versions.
2012-02-01 15:27:17 -06:00
John Bowler
516c9c97a6
[libpng16] Attempt to fix problem with autogen.sh
...
Renamed internal configure variable from prefix_TRUE to DO_PNG_PREFIX_TRUE
2012-02-01 07:14:24 -06:00
Glenn Randers-Pehrson
0d4d0b4d32
[libpng16] Bump version to libpng-1.6.0beta09.tar
2012-01-31 22:58:08 -06:00
Glenn Randers-Pehrson
5bffd6c6d5
[libpng16] Imported from libpng-1.6.0beta08.tar
2012-01-31 22:46:45 -06:00
Glenn Randers-Pehrson
816ff328d2
[libpng16] Updated CHANGES and ANNOUNCE with new information about autogen.sh
2012-01-31 22:26:34 -06:00
Glenn Randers-Pehrson
34dca8f8e8
[libpng16] Updated INSTALL to explain that autogen.sh must be run in a GIT
...
clone, not in a directory extracted from a tar distribution.
2012-01-31 22:15:30 -06:00
John Bowler
3167541570
[libpng16] Fixed 'prefix' builds on clean systems. The generation of pngprefix.h
...
should not require itself.
2012-01-31 21:01:49 -06:00
John Bowler
6437604a5e
[libpng16] Fix comment in scripts/pnglibconf.dfa
2012-01-31 20:58:02 -06:00
Glenn Randers-Pehrson
2dd49fbeae
[libpng16] Updated "ftbb*.png" list in the owatcom and vstudio projects.
2012-01-31 08:27:32 -06:00
John Bowler
f1c0678c16
[libpng16] Fixed non-configure builds (don't include pngprefix.h in them)
2012-01-31 07:37:46 -06:00
John Bowler
42369ccd85
[libpng16] Added symbol prefixing that allows all the libpng external symbols
...
to be prefixed (suggested by Reuben Hawkins). This is work in progress that
breaks some non-configure builds.
2012-01-31 07:28:13 -06:00
John Bowler
572b078d8c
[libpng16] Cleaned up pngpriv.h to consistently declare all functions and data.
...
Also eliminated PNG_CONST_DATA, which is apparently not needed but we
can't be sure until it is gone.
2012-01-31 07:09:34 -06:00
John Bowler
40ca77a721
[libpng16] Improved pngstest speed by not doing redundant tests and add const
...
to the background parameter of png_image_finish_read. The --background
option is now done automagically only when required, so that commandline
option no longer exists.
2012-01-28 23:19:42 -06:00
John Bowler
05cbe5ae28
[libpng16] Moved automake options to AM_INIT_AUTOMAKE in configure.ac
...
Added color-tests, silent-rules (Not yet implemented in Makefile.am) and
version checking to configure.ac
2012-01-28 18:06:55 -06:00
Glenn Randers-Pehrson
5cdff4144e
[libpng16] Divide pngstest into separate runs for basic and transparent images.
2012-01-28 01:07:34 -06:00
John Bowler
feecc898d9
[libpng16] Check libtool/libtoolize version number (2.4.2) in configure.ac
2012-01-28 00:48:08 -06:00
John Bowler
3a1d63dc69
[libpng16] Fixed Image::colormap misalignment in pngstest.c
2012-01-28 00:11:53 -06:00
Glenn Randers-Pehrson
573a51143a
[libpng16] bump version to 1.6.0beta08
2012-01-27 22:37:58 -06:00
Glenn Randers-Pehrson
6690011811
[libpng16] Imported from libpng-1.6.0beta07.tar
2012-01-27 22:29:22 -06:00
Glenn Randers-Pehrson
dde1f98626
[libpng16] Committed 5 new or renamed files in contrib/pngsuite.
2012-01-27 20:35:35 -06:00
Glenn Randers-Pehrson
aaf1179ec1
[libpng16] Added two images to contrib/pngsuite (1-bit and 2-bit transparent
...
grayscale), and renamed three whose names were inconsistent with those in
pngsuite/README.txt.
2012-01-27 20:07:00 -06:00
John Bowler
e044649282
[libpng16] Removed scripts/*m4 and updated autogen.sh
2012-01-27 12:49:15 -06:00
John Bowler
a23f3dbcb6
[libpng16] Freeze libtool files in the 'scripts' directory.
...
This version of autogen.sh attempts to dissuade people from running it when
it is not, or should not, be necessary.
2012-01-27 10:24:21 -06:00
Glenn Randers-Pehrson
a12d2328b4
[libpng16] Set CMAKE_LIBRARY_OUTPUT_DIRECTORY to "lib" on all platforms
...
(C. Yapp).
2012-01-26 17:39:05 -06:00
Glenn Randers-Pehrson
95a8a665e4
[libpng16] Conditionalize the install rules for MINGW and CYGWIN
...
in CMakeLists.txt
2012-01-25 16:46:05 -06:00
John Bowler
da2194c0d5
[libpng16] Rewrote autogen.sh to run autoreconf
...
instead of running tools one-by-one.
2012-01-25 08:30:24 -06:00
John Bowler
1eb2c48458
[libpng16] Updated configure.ac from autoupdate: added --enable-werror option.
...
Also some layout regularization and removal of introduced tab characters
(replaced with 3-character indentation). Obsolete macros identified by
autoupdate have been removed; the replacements are all in 2.59 so
the pre-req hasn't been changed. --enable-werror checks for support
for -Werror (or the given argument) in the compiler. This mimics the
gcc configure option by allowing -Werror to be turned on safely; without
the option the tests written in configure itself fail compilation because
they cause compiler warnings.
2012-01-25 08:07:29 -06:00
John Bowler
8fb6c6a9b3
[libpng16] Eliminated Intel icc/icl compiler warnings. The Intel (GCC derived)
...
compiler issues slightly different warnings from those issued by the
current vesions of GCC. This eliminates those warnings by
adding/removing casts and small code rewrites.
2012-01-25 07:47:44 -06:00
John Bowler
9c7f99c9cb
[libpng16] Remove remains of simplified API sPLT experiment from pngpriv.h
2012-01-25 07:35:47 -06:00
Glenn Randers-Pehrson
99c7ad2904
[libpng16] bump version to 1.6.0beta07
2012-01-24 08:06:01 -06:00
Glenn Randers-Pehrson
e7b4d26ec1
[libpng16] Imported from libpng-1.6.0beta06.tar
2012-01-24 08:05:42 -06:00
John Bowler
c35f888c46
[libpng16] Finish patching pngstest.c
2012-01-24 07:40:28 -06:00
John Bowler
5635573cfc
[libpng16] Fixed Min/GW uninstall to remove libpng.dll.a
2012-01-23 23:01:27 -06:00
Glenn Randers-Pehrson
fea2a877c8
[libpng16] Added some whitespace in comments.
2012-01-23 22:52:59 -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
Glenn Randers-Pehrson
edbcd02133
[libpng16] bump version to 1.6.0beta06
2012-01-16 07:50:01 -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
Glenn Randers-Pehrson
da1c5ca65a
[libpng16] Imported from libpng-1.6.0beta05.tar
2012-01-14 20:44:14 -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
665031e834
[libpng16] Fix two typos in pngpriv.h comments
2012-01-13 22:03:10 -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
1531bd61a0
[libpng16] Updated copyright year to 2012
2012-01-01 14:45:04 -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
Glenn Randers-Pehrson
0522f269e0
[libpng16] Update png_err() to use new typecast.
2011-12-29 10:02:24 -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
John Bowler
4f67e40898
[libpng16] Add 'const' to png_structrp arguments of png_set_*() APIs.
...
Because these APIs store to the png_info they can take a
png_const_structrp now that the error routines also accept
one of these.
2011-12-28 08:43:37 -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
Glenn Randers-Pehrson
a5bf4e3767
[libpng16] Initialize "passes" variable in pngread.c to avoid compiler warning.
...
It was not actually possible to use it uninitialized but gcc doesn't know that.
2011-12-24 09:27:20 -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
John Bowler
d7c22fb7ec
[libpng16] Added pngvalid.c compile time checks for const APIs.
2011-12-24 08:29:20 -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
5a956a7a58
[libpng16] Began a manual section about libpng15 to libpng16 differences.
2011-12-22 14:23:37 -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
bc79d70965
[libpng16] commit updated scripts
2011-12-22 08:12:57 -06:00
John Bowler
40b2603687
[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-22 08:09:15 -06:00
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
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
Glenn Randers-Pehrson
4af7710f94
[libpng15] Revised Makefile.am to separate out stuff depending on contrib (WIP)
2011-11-17 09:05:18 -06:00
Glenn Randers-Pehrson
7e97c182a8
[libpng15] Bump version to libpng-1.5.7beta04
2011-11-16 23:27:38 -06:00
Glenn Randers-Pehrson
e0bcbfd0fd
[libpng15] Imported from libpng-1.5.7beta03.tar
2011-11-16 23:14:06 -06:00
John Bowler
17878c6e65
[libpng15] Work around compilers that don't support declaration of const data.
...
Some compilers fault 'extern const' data declarations (because the data is
not initialized); this turns on const-ness only for compilers where
this is known to work.
2011-11-16 22:37:46 -06:00
John Bowler
7006dc4c6a
[libpng15] Added --noexecstack to assembler file compilation.
2011-11-16 22:25:47 -06:00
Glenn Randers-Pehrson
c4253c4683
[libpng15] Updated CHANGES and ANNOUNCE with latest changes
2011-11-16 22:23:30 -06:00
John Bowler
4fa96a42f7
[libpng15] Fixes for C++ compilation using g++ When libpng source is compiled
...
using g++. The compiler imposes C++ rules on the C source; thus it
is desireable to make the source work with either C or C++ rules
without throwing away useful error information. This change adds
png_voidcast to allow C semantic (void*) cases or the corresponding
C++ static_cast operation, as appropriate.
2011-11-16 16:39:16 -06:00
Glenn Randers-Pehrson
c2d8399581
[libpng15] Bump version to libpng-1.5.7beta03
2011-11-16 14:35:41 -06:00
John Bowler
18c5cfafeb
[libpng15] Multiple transform bug fixes plus a work-round for double gamma
...
correction.
2011-11-16 14:26:34 -06:00
Glenn Randers-Pehrson
36f5884359
[libpng15] Added test-pngstest.sh
2011-11-16 14:22:15 -06:00
Mans Rullgard
e7acc6ac3d
[libpng15] Added run-time detection of ARM/NEON support
2011-11-16 13:48:18 -06:00
John Bowler
76b0459fdd
[libpng15] Updated contrib/sRGBtables code
2011-11-16 13:44:42 -06:00
Glenn Randers-Pehrson
ae41dc55a2
[libpng15] Added contrib/README.txt
2011-11-16 13:35:16 -06:00
Glenn Randers-Pehrson
45bb9a62ba
[libpng15] Changed "PNG_EXTERN" to "extern" in sRGB table declarations
...
in pngpriv.h
2011-11-16 12:47:33 -06:00
John Bowler
89c2f84287
[libpng15] Fix Windows builds, add pngstest to Visual Studio and OpenWatcom
2011-11-16 12:04:39 -06:00
John Bowler
ed9f84475d
[libpng15] Update pngstest to remove compiler warnings, add to libpng tests
2011-11-16 11:52:27 -06:00
John Bowler
1eb188932b
[libpng15] Added contrib/pngtests
2011-11-16 11:40:59 -06:00
Glenn Randers-Pehrson
8596468e51
[libpng15] Removed PNG_CONST from the sRGB table declarations
...
in pngpriv.h and png.c
2011-11-16 08:52:36 -06:00
Glenn Randers-Pehrson
c32de8c64d
[libpng15] Bump version to libpng-1.5.7beta03
2011-11-11 20:28:21 -06:00
Glenn Randers-Pehrson
6d8e090419
[libpng15] Imported from libpng-1.5.7beta02.tar
2011-11-11 20:06:18 -06:00
Glenn Randers-Pehrson
816e687de8
[libpng] Added copyright and licensing info to contrib/sRGBtables/*.c
2011-11-11 18:48:04 -06:00
John Bowler
0a521d3785
[libpng15] Installed more accurate linear to sRGB conversion tables.
...
The slightly modified tables reduce the number of 16-bit values that
convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
to generate the tables is now in a contrib/sRGBtables sub-directory.
2011-11-11 18:14:59 -06:00
Glenn Randers-Pehrson
d3feb52955
[libpng15] Ignore unused chunks in the new simplified read API.
2011-11-11 17:20:34 -06:00
Glenn Randers-Pehrson
65f3ac192b
[libpng15] Fixed a typo in pngpriv.h
2011-11-10 06:36:34 -06:00
Glenn Randers-Pehrson
4be12aa1e3
[libpng15] Updated commentary
2011-11-10 06:35:48 -06:00
Glenn Randers-Pehrson
84b0da9c94
[libpng15] Updated commentary about new API
2011-11-10 06:32:19 -06:00
John Bowler
e6fb691c49
[libpng15] Fixes to alpha swap on read, simplified write and filler add code
2011-11-08 21:35:16 -06:00
John Bowler
d4973837b2
[libpng15] Change options.awk to use pngconf.h for versioning
...
instead of ANNOUNCE
2011-11-08 19:34:54 -06:00
John Bowler
dd81915d5b
[libpng15] Corrections to the PNG_FORMAT_ values and code cleanup.
2011-11-08 14:29:45 -06:00
John Bowler
3615d03e05
[libpng15] Fix PNG_SIMPLIFIED transformations,
...
adding alpha and reducing to 8-bit
2011-11-08 10:38:09 -06:00
Glenn Randers-Pehrson
e0a6c06bfd
[libpng] Added synopses for new png_image functions to the manual.
2011-11-07 23:50:05 -06:00
Glenn Randers-Pehrson
efc4b69767
[libpng15] Fixed some typos in comments.
2011-11-07 23:31:34 -06:00
John Bowler
7875d534cb
[libpng15] Simplified read/write API initial version; basic read/write tested
...
on a variety of images, limited documentation (in the header file.)
2011-11-07 22:33:49 -06:00
John Bowler
92a1d46c8d
[libpng15] Added versioning to pnglibconf.h comments.
2011-11-07 22:19:30 -06:00
Glenn Randers-Pehrson
7de02e722f
[libpng15] Changed 8 new leading spaces to TAB in scripts/makefile.std
...
and pnglibconf.mak
2011-11-07 09:20:27 -06:00
John Bowler
61bd4f76ad
[libpng15] Updated scripts/pnglibconf.mak and scripts/makefile.std
...
to handle the new PNG_JOIN macro.
2011-11-05 12:24:53 -05:00
Glenn Randers-Pehrson
8b67ee5d3d
[libpng15] Updated scripts/pnglibconf.mak to handle the new PNG_JOIN macro.
2011-11-05 09:27:55 -05:00
John Bowler
fc45f68623
[libpng15] updated configure files
2011-11-04 21:03:39 -05:00
John Bowler
a004e23a4c
[libpng15] Fixed FP division by zero in pngvalid.c; the 'test_pixel' code left
...
the sBIT fields in the test pixel as 0, which resulted in a floating
point division by zero which was irrelevant but causes systems where
FP exceptions cause a crash. Added code to pngvalid to turn on FP
exceptions if the appropriate glibc support is there to ensure this is
tested in the future.
2011-11-04 20:24:56 -05:00
John Bowler
88bcdc269b
[libpng] Check compression_type parameter in png_get_iCCP and remove spurious
...
casts. The compression_type parameter is always assigned to, so must
be non-NULL. The cast of the profile length potentially truncated the
value unnecessarily on a 16-bit int system, so the cast of the (byte)
compression type to (int) is specified by ANSI-C anyway.
2011-11-04 20:12:03 -05:00
Glenn Randers-Pehrson
aad7c828b2
[libpng15] Removed a stray sentence fragment from CHANGES/ANNOUNCE
2011-11-04 14:12:04 -05:00
Glenn Randers-Pehrson
5a9aca17df
[libpng15] Bump version to libpng-1.5.7beta02
2011-11-04 13:47:57 -05:00
Glenn Randers-Pehrson
55e85c24b4
[libpng15] Imported from libpng-1.5.7beta01.tar
2011-11-04 13:47:49 -05:00
John Bowler
fcc0263191
[libpng15] Paeth filter speed improvements from work by Siarhei Siamashka. This
...
changes the 'Paeth' reconstruction function to improve the GCC code
generation on x86. The changes are only part of the suggested ones;
just the changes that definitely improve speed and remain simple.
The changes also slightly increase the clarity of the code. In a
2011-11-03 18:31:00 -05:00
John Bowler
1d8b75550f
[libpng15] Fix for the preprocessor of the Intel C compiler. The preprocessor
...
adjacent @ signs with a space; this changes the concatentation
from @@@ to PNG_JOIN; that should work with all compiler
preprocessors.
2011-11-03 18:19:53 -05:00
John Bowler
aff44028ba
[libpng15] Fixed bug in pngvalid on early allocation failure; fixed type cast
...
in pngmem.c; pngvalid would attempt to call png_error() if the allocation
of a png_struct or png_info failed. This would probably have led to a
crash. The pngmem.c implementation of png_malloc() included a cast
to png_size_t which would fail on large allocations on 16-bit systems.
2011-11-03 16:11:08 -05:00
Glenn Randers-Pehrson
6d7705eedf
[libpng15] Bump version to libpng-1.5.7beta01
2011-11-03 00:49:07 -05:00
Mans Rullgard
d3a94802d8
[libpng15] Added support for ARM processor (Mans Rullgard)
2011-11-03 00:47:55 -05:00
Glenn Randers-Pehrson
2b7d730e27
[libpng15] Bump version to libpng-1.5.7beta01
2011-11-02 23:14:13 -05:00
Glenn Randers-Pehrson
bc6726bc04
[libpng15] Imported from libpng-1.5.6.tar
2011-11-02 22:48:36 -05:00
Glenn Randers-Pehrson
1876366b17
[libpng15] Fixed a spelling error.
2011-10-27 22:09:22 -05:00
Glenn Randers-Pehrson
c94b996af8
[libpng15] Bump version to libpng-1.5.6rc04
2011-10-27 21:09:08 -05:00
Glenn Randers-Pehrson
0e9f8ced1e
[libpng15] Imported from libpng-1.5.6rc03.tar
2011-10-27 21:03:00 -05:00
Glenn Randers-Pehrson
7342fcaf92
[libpng] #define PNG_ALIGN_TYPE PNG_ALIGN_NONE in contrib/pngminim/*/pngusr.h
2011-10-27 19:56:36 -05:00
John Bowler
92ef313c77
[libpng15] Fixed compiler warnings with Intel and MSYS compilers.
...
The logical shift fix for Microsoft Visual C is required by other compilers,
so this enables that fix for all compilers when using compile-time constants.
Under MSYS 'byte' is a name declared in a system header file, so we
changed the name of a local variable to avoid the warnings that result.
2011-10-27 19:53:14 -05:00
Glenn Randers-Pehrson
cb75699dff
[libpng15] Renamed the LSR() macro to PNG_LSR() and added PNG_LSL() macro.
2011-10-27 16:59:03 -05:00
Glenn Randers-Pehrson
122a525c83
[libpng15] Bump version to libpng-1.5.6rc03
2011-10-27 16:51:52 -05:00
Glenn Randers-Pehrson
5e823c1fd5
[libpng15] Imported from libpng-1.5.6rc02.tar
2011-10-27 16:19:17 -05:00
Glenn Randers-Pehrson
8db19980fa
[libpng15] Add leading zero to some 1-digit hex constants (0xf -> 0x0f).
2011-10-27 16:17:24 -05:00
Glenn Randers-Pehrson
ef02d563a3
[libpng15] Added LSR() macro to defend against buggy compilers that evaluate
...
non-taken code branches and complain about out-of-range shifts.
2011-10-27 12:05:58 -05:00
Glenn Randers-Pehrson
b2068640d1
[libpng15] Bump version to libpng-1.5.6rc02
2011-10-26 08:48:35 -05:00
Glenn Randers-Pehrson
93254f66fc
[libpng15] Imported from libpng-1.5.6rc01.tar
2011-10-26 08:48:23 -05:00
Glenn Randers-Pehrson
52093f1776
[libpng15] Corrected recent ANNOUNCE and CHANGES entry
2011-10-21 12:57:01 -05:00
Glenn Randers-Pehrson
0654d63196
[libpng15] Bump version to libpng-1.5.6beta08
2011-10-21 07:39:45 -05:00
Glenn Randers-Pehrson
4e8aa822dc
[libpng15] Imported from libpng-1.5.6beta07.tar
2011-10-21 07:39:34 -05:00
Mans Rullgard
1c42276a39
[libpng15] New png_struct member png_ptr->old_prev_row
2011-10-17 16:52:19 -05:00
Mans Rullgard
c9e27d026d
[libpng15] Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
...
and removed a redundant assignment (Mans Rullgard).
2011-10-17 15:25:03 -05:00
Glenn Randers-Pehrson
e7db181e5d
[libpng15] Bump version to libpng-1.5.6beta07
2011-10-17 08:08:16 -05:00
Glenn Randers-Pehrson
f5c5e53bf5
[libpng15] Imported from libpng-1.5.6beta06.tar
2011-10-17 08:08:08 -05:00
John Bowler
ecb3ad035a
[libpng15] Updated ANNOUNCE and CHANGES
2011-10-16 22:55:44 -05:00
John Bowler
fb5b3ac013
[libpng15] Prevent libpng overwriting unused bits at the end of the image when
...
is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
overwrite the end of the image if the row width is not an exact multiple
of 8 bits and the image is not interlaced.
2011-10-16 22:52:56 -05:00
John Bowler
5b84901c55
[libpng15] Turned on multiple png_read_update_info in pngvalid transform tests.
2011-10-16 22:42:46 -05:00
John Bowler
57cbcf6b8f
[libpng15] Add ability to call png_read_update_info multiple times to pngvalid.c
2011-10-14 19:43:53 -05:00
John Bowler
07772cba07
[libpng15] Fixes for multiple calls to png_read_update_info.
...
These fixes attend to most of the errors revealed in pngvalid, however doing
the gamma work twice results in inaccuracies that can't be easily fixed.
There is now a warning in the code if this is going to happen.
2011-10-14 18:19:47 -05:00
John Bowler
5c1905caae
[libpng15] Fixed a relatively harmless memory overwrite
...
in compressed text writing
2011-10-14 12:33:52 -05:00
Glenn Randers-Pehrson
d58251b47e
[libpng15] Reverted previous change; removed png_get_compression_buffer() API.
...
It is too risky. Exactly how png_ptr->zbuf is used is under control of the
individual chunk implementation and there could easily be significant changes
within a major release.
2011-10-13 20:30:02 -05:00
Glenn Randers-Pehrson
d3dcb463d6
[libpng15] Added png_get_compression_buffer() API.
2011-10-13 17:51:31 -05:00
Glenn Randers-Pehrson
3dbfd300ff
[libpng15] Removed two redundant tests for unitialized row.
2011-10-13 17:24:36 -05:00
Glenn Randers-Pehrson
ff36991ca2
[libpng15] Bump version to libpng-1.5.6beta06
2011-10-12 06:54:55 -05:00
Glenn Randers-Pehrson
5b3b54e3f6
[libpng15] Imported from libpng-1.5.6beta05.tar
2011-10-12 06:47:31 -05:00
Glenn Randers-Pehrson
ba55c0770b
[libpng15] Use PNG_CSTRING_FROM_CHUNK macro with png_debug2() in pngwutil.c
2011-10-11 21:21:37 -05:00
John Bowler
4e68aa7e40
[libpng15] Further optimization of png_combine_row() in the interlaced case.
2011-10-11 16:01:33 -05:00
Glenn Randers-Pehrson
76b62317b5
[libpng15] Fixed bug in png_write_chunk_header() debug print,
...
introduced in 1.5.6bet01.
2011-10-11 13:54:27 -05:00
Glenn Randers-Pehrson
4dd0dc6399
[libpng15] Fix small typo in CHANGES and ANNOUNCE
2011-10-07 18:48:10 -05:00
John Bowler
8be28e3eb6
[libpng15] Optimized png_combine_row() when rows are aligned This gains a
...
small percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned.
2011-10-07 18:36:37 -05:00
John Bowler
ac8375d000
[libpng15] Align png_struct::row_buf - previously it was always unaligned,
...
caused by a bug in the code that attempted to align it; the code needs to
subtract one from the pointer to take account of the filter byte prepended to
each row.
2011-10-06 22:27:16 -05:00
Glenn Randers-Pehrson
65c0339b5c
[libpng15] Speed up png_combine_row() for interlaced images. This reduces the
...
generality of the code, allowing it to be optimized for Adam7 interlace. The
masks passed to png_combine_row() are now generated internally, avoiding
some code duplication and localizing the interlace handling somewhat.
2011-10-06 21:54:17 -05:00
Glenn Randers-Pehrson
4daae30174
[libpng15] #ifdef out png_progressive_combine_row() when interlacing is
...
not supported.
2011-10-06 21:37:47 -05:00
Glenn Randers-Pehrson
d5bc89ef11
[libpng15] Updated CHANGES and ANNOUNCE
2011-10-05 21:11:46 -05:00
Glenn Randers-Pehrson
fa7d7934f6
[libpng15] Replaced a short but frequently-used memcpy() in png_combine_row()
...
with a loop.
2011-10-05 21:09:22 -05:00
Glenn Randers-Pehrson
a92a212925
[libpng15] Bump version to libpng-1.5.6beta05
2011-10-05 16:49:14 -05:00
Glenn Randers-Pehrson
435cf87469
[libpng15] Bump version to libpng-1.5.6beta04
2011-10-05 16:42:16 -05:00
Glenn Randers-Pehrson
e51916c0f9
[libpng15] Bump version to libpng-1.5.6beta04
2011-09-28 07:34:53 -05:00
Glenn Randers-Pehrson
997b193f63
[libpng15] Imported from libpng-1.5.6beta03.tar
2011-09-28 07:24:28 -05:00
Glenn Randers-Pehrson
e29c4b9b93
[libpng15] Revised CMakeLists.txt to work with mingw and removed some material
...
from CMakeLists.txt that is no longer useful in libpng-1.5.
2011-09-27 19:01:58 -05:00
Glenn Randers-Pehrson
8e25a61277
[libpng15]` Revised test-pngtest.sh to report FAIL when pngtest fails.
...
Added "--strict" option to pngtest, to report FAIL when the failure is
only because the resulting valid files are different.
2011-09-26 20:57:33 -05:00
Glenn Randers-Pehrson
f573ff7792
[libpng15] Bump version to libpng-1.5.6beta03
2011-09-26 16:53:11 -05:00
Glenn Randers-Pehrson
1a16735ce7
[libpng15] Imported from libpng-1.5.6beta02.tar
2011-09-26 16:44:31 -05:00
Glenn Randers-Pehrson
d02d6a1c7d
[libpng15] Fixed a typo in the definition of the new PNG_STRING_FROM_CHUNK(s,c)
...
macro.
2011-09-26 16:43:08 -05:00
Glenn Randers-Pehrson
968c231cc8
[libpng15] Added a note in the manual the png_read_update_info() must be
...
called only once with a particular info_ptr.
2011-09-26 16:35:22 -05:00
Glenn Randers-Pehrson
bb5cb1476b
[libpng15] Bump version to libpng-1.5.6beta02
2011-09-22 12:48:19 -05:00
Glenn Randers-Pehrson
115020d985
[libpng15] Imported from libpng-1.5.6beta01.tar
2011-09-22 09:51:23 -05:00
Glenn Randers-Pehrson
3e2263abf2
[libpng15] Imported from libpng-1.5.5.tar
2011-09-22 08:45:04 -05:00
Glenn Randers-Pehrson
d71f09df4d
[libpng15] Bump version to libpng-1.5.5rc02
2011-09-15 08:39:02 -05:00
Glenn Randers-Pehrson
0a456b5d16
[libpng15] Fix grammar in ANNOUNCE and CHANGES
2011-09-15 08:32:07 -05:00
Glenn Randers-Pehrson
d3261115a8
[libpng15] Imported from libpng-1.5.5rc01.tar
2011-09-15 08:27:01 -05:00
Glenn Randers-Pehrson
673a1166fe
[libpng15] Updated ANNOUNCE and CHANGES with new CVE number.
2011-09-12 08:40:07 -05:00
Glenn Randers-Pehrson
853afe631c
[libpng15] Bump version to libpng-1.5.5beta09
2011-09-09 22:33:48 -05:00
Glenn Randers-Pehrson
fe85bafedf
[libpng15] Bump version to libpng-1.5.5beta08
2011-09-09 21:54:58 -05:00
John Bowler
751561218f
[libpng15] Constant changes for 64-bit compatibility (removal of L suffixes).
...
The 16-bit cases still use "L" as we don't have a 16-bit test system.
2011-09-09 17:21:44 -05:00
Glenn Randers-Pehrson
f0c19e6455
[libpng15] Fix typo in ANNOUNCE and CHANGES
2011-09-09 08:16:53 -05:00
Glenn Randers-Pehrson
ccff383d44
[libpng15] Relocated new HAVE_SOLARIS_LD definition in configure.ac
2011-09-09 07:55:25 -05:00
John Bowler
f3f7e14727
[libpng15] Fixed 64-bit compilation errors (gcc). The errors fixed relate
...
to conditions where types that are 32 bits in the GCC 32-bit
world (uLong and png_size_t) become 64 bits in the 64-bit
world. This produces potential truncation errors which the
compiler correctly flags.
2011-09-09 07:32:37 -05:00
Glenn Randers-Pehrson
3c2ae60f46
[libpng15] Bump version to libpng-1.5.5beta08
2011-09-09 06:10:21 -05:00
Glenn Randers-Pehrson
95ba417c82
[libpng15] Imported from libpng-1.5.5beta07.tar
2011-09-08 12:28:05 -05:00
Glenn Randers-Pehrson
b6e4d58e4b
[libpng15] Changed png_chunk_benign_error() to png_warning() in png.c, in
...
png_XYZ_from_xy_checked
2011-09-08 12:25:52 -05:00
Glenn Randers-Pehrson
ef43c17bfe
[devel] Changed "// ..." comments to "/* .. */" in the visupng project.
2011-09-03 09:53:07 -05:00
Glenn Randers-Pehrson
ad8b7b71b4
[devel] Add SunOS support to configure and Makefile.am
2011-09-01 19:38:08 -05:00
Glenn Randers-Pehrson
83bd94f1f4
[devel] Added SunOS support to configure.ac and Makefile.am
2011-09-01 14:06:49 -05:00
Glenn Randers-Pehrson
63071acbd9
[devel] Zapped "zap" (changed "zap" to "remove")
2011-08-29 16:16:26 -05:00
Glenn Randers-Pehrson
44271398bd
[devel] Revise makefile.darwin to support both i386 and 64-bit architecture
...
by default.
2011-08-29 12:26:24 -05:00
Glenn Randers-Pehrson
90cd362a87
[devel] Added some blank lines to projects/vstudio/zlib.props for clarity.
2011-08-29 10:12:00 -05:00
Glenn Randers-Pehrson
b293334e7a
[devel] Added "$(ARCH)" option to makefile.darwin
2011-08-29 07:22:13 -05:00
Glenn Randers-Pehrson
4ae297867d
[devel] Bump version to libpng-1.5.5beta07
2011-08-26 06:07:33 -05:00
Glenn Randers-Pehrson
ec3ff78f70
[devel] Imported from libpng-1.5.5beta06.tar
2011-08-26 05:58:36 -05:00
Glenn Randers-Pehrson
6d62ef108a
[devel] Spell "behavior" consistently.
2011-08-25 18:17:50 -05:00
Glenn Randers-Pehrson
b6874f8062
[devel] Use "gray" spelling consistently.
2011-08-25 18:11:32 -05:00
Glenn Randers-Pehrson
8b8aacde83
[devel] Use "color" spelling consistently.
2011-08-25 18:10:50 -05:00
John Bowler
bbd17bd7c4
[devel] Describe the new XYZ APIs in the manual.
2011-08-25 17:48:18 -05:00
John Bowler
b5cebba675
[devel] Updated symbols.def which was supposed to be part of previous patch.
2011-08-25 17:40:38 -05:00
John Bowler
736f40f459
[devel] Fixes to rgb_to_gray and cHRM XYZ APIs
2011-08-25 16:19:44 -05:00
Glenn Randers-Pehrson
0c03fc6f75
[devel] Expanded TAB characters in CMakeLists.txt
2011-08-17 09:46:29 -05:00
Glenn Randers-Pehrson
e61e403d20
[devel] Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
...
(Clifford Yap)
2011-08-17 09:02:07 -05:00
Glenn Randers-Pehrson
9d824eb166
[devel] Bump version to libpng-1.5.5beta06
2011-08-17 07:57:02 -05:00
Glenn Randers-Pehrson
75d5bfda5b
[devel] Imported from libpng-1.5.5beta05.tar
2011-08-17 07:47:04 -05:00
John Bowler
9b979b177b
[devel] Added new types and internal functions for CIE RGB end point handling
...
to pngpriv.h (functions yet to be implemented).
2011-08-16 22:58:33 -05:00
John Bowler
7b9796539d
[devel] Prevent unexpected API exports from non-libpng DLLs on Windows.
...
The "_DLL" is removed from the test of whether a DLL is being built.
2011-08-16 22:57:27 -05:00
Glenn Randers-Pehrson
0bc79772c8
[devel] Revised commentary about png_rgb_to_gray coefficents
...
and fixed spelling (truely -> truly) in comments.
2011-08-11 15:11:11 -05:00
Glenn Randers-Pehrson
a45ffbefb9
[devel] Bump version to libpng-1.5.5beta05
2011-07-29 12:41:45 -05:00
Glenn Randers-Pehrson
99ffac0838
[devel] Imported from libpng-1.5.5beta04.tar
2011-07-29 12:35:41 -05:00
Glenn Randers-Pehrson
6c98897a64
[devel] Updated commentary about the png_rgb_to_gray() default coefficients
2011-07-29 12:31:16 -05:00
Glenn Randers-Pehrson
b17c75b222
[devel] Revised CMakeLists.txt (Clifford Yapp)
2011-07-27 20:47:13 -05:00
Glenn Randers-Pehrson
d4e1ddb631
[devel] Fix typo in manual: "was" was "was was".
2011-07-27 20:09:57 -05:00
Glenn Randers-Pehrson
aab2aa196d
[devel] Bump version to libpng-1.5.5beta04
2011-07-27 12:41:23 -05:00
Glenn Randers-Pehrson
03d6b482b5
[devel] Imported from libpng-1.5.5beta03.tar
2011-07-27 12:41:15 -05:00
Glenn Randers-Pehrson
4dcce66295
[devel] Updated CHANGES to reshow addition of new compression API
...
in libpng-1.5.4 and to mention recent CVE reports.
2011-07-26 14:08:35 -05:00
Glenn Randers-Pehrson
7a28724e6b
[devel] Minor documentation editing.
2011-07-26 14:08:17 -05:00
John Bowler
a5bcab7854
[devel] Enabled compilation with g++ compiler. This compiler does not
...
recognize the file extension, so it always compiles with C++ rules. Made minor
changes to pngrutil.c to cast results where C++ expects it but C does not.
2011-07-14 23:02:11 -05:00
Glenn Randers-Pehrson
0a007b743e
[devel] Added recent CVE numbers at relevant places in the CHANGES file.
2011-07-14 09:47:26 -05:00
Glenn Randers-Pehrson
e9ef47f69e
[devel] Bump version to libpng-1.5.5beta03
2011-07-14 08:22:36 -05:00
Glenn Randers-Pehrson
0532aca928
[devel] Imported from libpng-1.5.5beta02.tar
2011-07-14 08:16:59 -05:00
John Bowler
5a77e672e1
[devel] Revised Makefile.am and Makefile.in to look in the right directory for
...
pnglibconf.h.prebuilt
2011-07-14 07:42:11 -05:00
Glenn Randers-Pehrson
c2891d0011
[devel] Reverted Makefile.am and Makefile.in to 1.5.4 status.
2011-07-13 21:13:36 -05:00
Glenn Randers-Pehrson
25e0f55586
[devel] Bump version to libpng-1.5.5beta02
2011-07-13 07:18:07 -05:00
Glenn Randers-Pehrson
ce775cc851
[devel] Imported from libpng-1.5.5beta01.tar
2011-07-13 07:00:25 -05:00
Glenn Randers-Pehrson
d0797f5b53
[devel] Revised manual paragraph about use of 'NO' macros.
2011-07-12 10:28:02 -05:00
Glenn Randers-Pehrson
a5e5547679
[devel] Minor editing of the manual.
2011-07-12 10:13:32 -05:00
Glenn Randers-Pehrson
4164c6f949
[devel] Reverted non-portable GNU syntax in makefile (?=, +=)
2011-07-12 06:11:42 -05:00
Glenn Randers-Pehrson
4b2237a6a4
[devel] Updated contrib/pngminus/makefile.std
2011-07-11 17:52:05 -05:00
Glenn Randers-Pehrson
cb47e20509
[devel] Reverted type of "my_background" to png_color_16 in the manual.
2011-07-10 06:55:14 -05:00
Glenn Randers-Pehrson
d3a0b23c1b
[devel] png_set_background does not take an info_ptr argument.
2011-07-09 19:51:16 -05:00
Glenn Randers-Pehrson
ab38979670
[devel] Fixed some typos in the manual.
2011-07-09 19:35:22 -05:00
Glenn Randers-Pehrson
628b632419
[devel] Bump version to libpng-1.5.5beta01
2011-07-08 13:22:11 -05:00
Glenn Randers-Pehrson
d404b6d488
[devel] Imported from libpng-1.5.4.tar
2011-07-07 06:26:30 -05:00
Glenn Randers-Pehrson
38404a5996
[devel] Relocated a single quote from the beginning of a line in the manual
...
It interfered with nroff processing.
2011-07-03 13:07:41 -05:00
Glenn Randers-Pehrson
05fc4ccd30
[devel] Added references to CVE-2011-2501 and -0408 to the CHANGES file.
2011-07-01 09:30:38 -05:00
Glenn Randers-Pehrson
78bb9dafe1
[devel] Imported from libpng-1.5.4rc01.tar
2011-06-30 19:04:47 -05:00
Glenn Randers-Pehrson
4fca25504e
[devel] Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.
2011-06-27 12:01:01 -05:00
Glenn Randers-Pehrson
9daf91ed5c
[devel] Imported from libpng-1.5.4beta08.tar
2011-06-22 23:15:30 -05:00
John Bowler
fcd7c13ffd
[devel] Fix pngvalid.c with ACCURATE_SCALE
...
and update scripts/pnglibconf.h.prebuilt
2011-06-22 23:13:01 -05:00
Glenn Randers-Pehrson
5bcd0a8c14
[devel] Imported from libpng-1.5.4beta07.tar
2011-06-19 07:10:26 -05:00
John Bowler
8d261262d9
[devel] Fixed pngvalid, simplified macros, added checking for 0 in sCAL.
2011-06-18 13:37:11 -05:00
Glenn Randers-Pehrson
c4a8214b77
[devel] Delete chop_16 synopses and add one for png_set_scale_16_to_8()
2011-06-18 00:44:08 -05:00
Glenn Randers-Pehrson
4e47be74e9
[devel] Bump version to libpng-1.5.4beta07
2011-06-18 00:30:16 -05:00
Glenn Randers-Pehrson
314ef3e72b
[devel] Imported from libpng-1.5.4beta06.tar
2011-06-18 00:27:49 -05:00
Glenn Randers-Pehrson
aee83b43d6
[devel] Fixed buffer bug (both the strip_16 and scale_16 transforms were
...
being applied.
2011-06-18 00:19:54 -05:00
Glenn Randers-Pehrson
9a1e2232ba
[devel] Fix pngvalid.c to compile when SCALE_16 is disabled.
2011-06-17 23:40:12 -05:00
Glenn Randers-Pehrson
6da2f2d92a
[devel] Fix more inconsistencies from the swap of 16_TO_8 APIs.
...
pngvalid still fails.
2011-06-17 23:07:16 -05:00
Glenn Randers-Pehrson
24145c8869
[devel] Still trying to fix row buffer problem but pngvalid still fails
2011-06-17 22:45:03 -05:00
Glenn Randers-Pehrson
e6a8060a71
[devel] Fixed some errors with 16_TO_8 macros
...
pngvalid still fails two tests, problem with row buffer.
2011-06-17 22:28:23 -05:00
Glenn Randers-Pehrson
98f053edbd
[devel] Fix new bugs in pngvalid.c; it failed to compile.
2011-06-17 21:57:49 -05:00
Glenn Randers-Pehrson
581d29d4c9
[devel] Removed redundant directives from pngminim/*/*dfa.
2011-06-17 21:44:10 -05:00
Glenn Randers-Pehrson
66b942ce16
[devel] Changed a dependence in scripts/pnglibconf.dfa
2011-06-17 21:17:16 -05:00
Glenn Randers-Pehrson
86cf9b2e89
[devel] Bump version to libpng-1.5.4beta06
2011-06-17 21:13:51 -05:00
Glenn Randers-Pehrson
fb29e51dbd
[devel] Imported from libpng-1.5.4beta05.tar
2011-06-17 20:42:19 -05:00
Glenn Randers-Pehrson
ab63dd0892
[devel] Renamed png_set_chop_16() to png_set_strip_16().
2011-06-17 20:41:19 -05:00
Glenn Randers-Pehrson
a7428d443c
[devel] Renamed png_set_strip_16() to png_set_scale_16().
2011-06-17 19:07:04 -05:00
Glenn Randers-Pehrson
857dbbe7cc
[devel] Revised example.c to demonstrate png_set_chop_16().
2011-06-16 09:39:40 -05:00
Glenn Randers-Pehrson
3fb7c07ea5
[devel] Bump version to libpng-1.5.4beta05
2011-06-16 09:32:36 -05:00
Glenn Randers-Pehrson
60d7c022e5
[devel] Imported from libpng-1.5.4beta04.tar
2011-06-16 09:10:57 -05:00
Glenn Randers-Pehrson
850769f787
[devel] Revised contrib/visupng, gregbook, and pngminim
...
to demonstrate chop_16_to_8
2011-06-16 09:08:53 -05:00
Glenn Randers-Pehrson
5f0b9276ec
[devel] Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.
...
If this is not enabled, png_set_strip_16() and png_do_scale_16_to_8()
aren't built.
2011-06-16 09:05:40 -05:00
Glenn Randers-Pehrson
733b131545
[devel] Added information about "chop_16" to the manual.
2011-06-15 13:21:01 -05:00
Glenn Randers-Pehrson
ef217b76a3
[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.
2011-06-15 12:58:27 -05:00
Glenn Randers-Pehrson
b0791f75ad
[devel] Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
2011-06-15 12:07:20 -05:00
Glenn Randers-Pehrson
039ad872fe
[devel] Bump version to libpng-1.5.4beta04
2011-06-15 11:51:55 -05:00
Glenn Randers-Pehrson
903c64dce8
[devel] Added "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
2011-06-15 11:50:23 -05:00
Glenn Randers-Pehrson
8f4edd07be
[devel] Imported from libpng-1.5.4beta03.tar
2011-06-15 08:21:56 -05:00
Glenn Randers-Pehrson
be720edba7
[devel] Correction to the expand_16 code; removed extra instance of
...
png_set_scale_16_to_8 from pngpriv.h
2011-06-15 08:20:37 -05:00
Glenn Randers-Pehrson
140504b11a
[devel] Add synopsis for png_set_chop_16() to manual
...
and fix some other small typos.
2011-06-15 08:10:13 -05:00
John Bowler
cd3b0cc4d9
[devel] Fixed a problem in png_do_expand_palette() exposed by optimization in
...
1.5.3beta06
Also removed a spurious (totally unused and confusing) member from png_info.
The palette expand optimization prevented expansion to an intermediate RGBA
form if tRNS was present but alpha was marked to be stripped; this exposed
a check for tRNS in png_do_expand_palette() which is inconsistent with the
code elsewhere in libpng.
2011-06-14 23:01:07 -05:00
Glenn Randers-Pehrson
06a9684cfa
[devel] Bump version to libpng-1.5.4beta03
2011-06-14 11:06:42 -05:00
Glenn Randers-Pehrson
45599ad00f
[devel] Imported from libpng-1.5.4beta02.tar
2011-06-14 07:17:29 -05:00
Glenn Randers-Pehrson
677819fe66
[devel] Check for READ_CHOP_16_TO_8 support in pngvalid,
...
not libpng version for presence of png_set_chop_16_to_8(), in pngvalid.c
2011-06-14 07:10:47 -05:00
Glenn Randers-Pehrson
2232baa41b
[devel] Made png_set_chop_16() API removeable
...
by disabling PNG_CHOP_16_TO_8_SUPPORTED
2011-06-14 06:59:46 -05:00
Glenn Randers-Pehrson
7dffa41643
[devel] Use the old scaling method for background if png_set_chop_16() was
...
called.
2011-06-14 06:30:12 -05:00
John Bowler
550bab03fb
[devel] Removed the ACCURATE and LEGACY options (they are no longer useable)
...
Fixed some compiliation problems with scaling options.
2011-06-14 06:17:26 -05:00
Glenn Randers-Pehrson
413138a5ca
[devel] Added png_set_chop_16() API.
2011-06-13 22:07:37 -05:00
John Bowler
74945f2f04
[devel] Fix and clarify LEGACY 16-to-8 scaling.
2011-06-13 20:50:42 -05:00
Glenn Randers-Pehrson
97039baa88
[devel] Imported from libpng-1.5.4beta01.tar
2011-06-13 20:09:22 -05:00
Glenn Randers-Pehrson
fd73d04515
[devel] Moved definitions of PNG_HAVE_IHDR, PNG_AFTER_IDAT, and PNG_HAVE_PLTE
...
outside of an unknown-chunk block in png.h because they are also
needed for other uses.
2011-06-13 13:25:21 -05:00
Glenn Randers-Pehrson
141d9e3c20
[devel] Made it possible to undefine PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
...
to get the same (inaccurate) output as libpng-1.5.2 and earlier.
2011-06-13 11:47:00 -05:00
Glenn Randers-Pehrson
0cb906d804
[devel] Imported from libpng-1.5.3beta11.tar
2011-06-11 14:23:33 -05:00
Glenn Randers-Pehrson
b704036531
[devel] Allow png_set_user_limits() to increase limits as well as reduce them.
2011-06-11 14:20:22 -05:00
John Bowler
6f55ee2ec5
[devel] Added log option to pngvalid.c and attempted to improve gamma messages.
2011-06-11 07:28:06 -05:00
John Bowler
6a1dc2329a
[devel] Removed string/memory macros that are no longer used
...
and are not necessarily fully supportable, particularly png_strncpy and
png_snprintf.
2011-06-11 06:58:46 -05:00
John Bowler
59a6c379dd
[devel] Revised pngvalid.c to test PNG_ALPHA_MODE_SUPPORTED correctly.
...
This allows pngvalid to build when ALPHA_MODE is not supported, which is
required if it is to build on libpng 1.4.
2011-06-11 06:51:06 -05:00
John Bowler
d2f0bc2d13
[devel] Improved gamma range checks and other things OpenWatcom warns about.
2011-06-11 06:42:06 -05:00
John Bowler
b011fe1c12
[devel] Remove testing cruft from projects/owatcom.
2011-06-11 06:36:51 -05:00
John Bowler
0eadc27cd6
[devel] Added projects/owatcom, an IDE project for OpenWatcom to replace
...
scripts/makefile.watcom. This project works with OpenWatcom 1.9. The
IDE autogenerates appropriate makefiles (libpng.mk) for batch processing.
The project is configurable, unlike the Visual Studio project, so long
as the developer has an awk.
2011-06-11 06:31:28 -05:00
Glenn Randers-Pehrson
700c55036c
[devel] Added "_SUPPORTED" to the PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION macro.
2011-06-10 23:26:03 -05:00
John Bowler
b2bee3374c
[devel] Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
...
wrong (high by one) 25% of the time. Dividing by 257 with rounding is
wrong in 128 out of 65536 cases. Getting the right answer all the time
without division is easy.
2011-06-10 23:24:58 -05:00
Glenn Randers-Pehrson
cc2770850a
[devel] Revised documentation about png_set_user_limits() to say that it can
...
only be used to reduce the defined limit, and that it also affects
png writing.
2011-06-10 21:17:34 -05:00
Glenn Randers-Pehrson
fb27873021
[devel] Bump version to libpng-1.5.3beta11
2011-06-10 20:46:53 -05:00
Glenn Randers-Pehrson
590fb8c481
[devel] Removed #ifdef in png.c that caused sCAL handler to leak memory.
2011-06-10 20:25:49 -05:00
John Bowler
4e8d7ec5fc
[devel] Added sCAL chunk to pngtest.png
2011-06-10 17:47:09 -05:00
Glenn Randers-Pehrson
254a513fd1
[devel] Fixed png_handle_sCAL which is broken in 1.5
2011-06-10 17:45:48 -05:00
Glenn Randers-Pehrson
ab1a573768
[devel] Imported from libpng-1.5.3rc03.tar
2011-06-07 19:56:51 -05:00
Glenn Randers-Pehrson
38a9d2763c
[devel] Imported from libpng-1.5.3rc02.tar
2011-06-07 14:36:45 -05:00
Glenn Randers-Pehrson
07e1d34a84
[devel] Fixed 1-byte uninitialized memory reference in png_format_buffer()
...
(Bug report by Frank Busse, related to CVE-2004-0421).
2011-06-07 14:35:30 -05:00
Glenn Randers-Pehrson
36edbb5eee
[devel] Imported from libpng-1.5.3rc01.tar
2011-06-03 07:18:14 -05:00
Glenn Randers-Pehrson
3fceee058f
[devel] Fix typo in pngwutil.c comment.
2011-05-23 06:31:33 -05:00
Glenn Randers-Pehrson
0640cc3d3a
[devel] Bump to version libpng-1.5.3beta11
2011-05-20 09:31:08 -05:00
Glenn Randers-Pehrson
3f68453d4a
[devel] Imported from libpng-1.5.3beta10.tar
2011-05-20 09:30:08 -05:00
Glenn Randers-Pehrson
0a048923ae
[devel] Update CHANGES and ANNOUNCE
2011-05-18 21:44:37 -05:00
John Bowler
5441e18988
[devel] Add tests for expand16, more fixes for palette image tests
...
Changes only pngvalid and test-pngvalid-full.sh - no libpng changes -
corrects the code for palette image tests, disables attempts to validate
palette colors.
2011-05-18 18:57:12 -05:00
John Bowler
db0ed3e62d
[devel] png_set_background+png_expand_16 did not interwork correctly.
...
This problem is present in 1.5.2; if png_set_background is called with
need_expand false and the matching 16 bit color libpng erroneously just treats
it as an 8-bit color because of where png_do_expand_16 is in the transform
list. This simple fix reduces the supplied colour to 8 bits, so it gets
smashed, but this is better than the current behavior.
2011-05-18 18:51:24 -05:00
Glenn Randers-Pehrson
8a7ec52c8b
[devel] Consistently use "n-bit", not "n bit" in png.c
2011-05-17 07:14:30 -05:00
Glenn Randers-Pehrson
66e1b3abba
[devel] Bump to version libpng-1.5.3beta10
2011-05-17 07:03:21 -05:00
Glenn Randers-Pehrson
cd116fa248
[devel] Fix spelling of "conversion" in manual.
2011-05-17 06:56:50 -05:00
Glenn Randers-Pehrson
c261077788
[devel] Consistently use "n-bit", not "n bit" in CHANGES and ANNOUNCE.
2011-05-17 06:52:54 -05:00
Glenn Randers-Pehrson
55fbff358a
[devel] Consistently use "n-bit", not "n bit" in comments.
2011-05-17 06:49:32 -05:00
John Bowler
1921e6db90
[devel] Reversed earlier change of transformation order; move
...
png_expand_16 back where it was before libpng-1.5.3beta07.
The change doesn't work because it requires 16 bit gamma tables when the code
only generates 8 bit ones. This fails silently; the libpng code just doesn't
do any gamma correction. Moving the tests back leaves the old, inaccurate, 8
bit gamma calculations, but these are clearly better than none!
2011-05-16 20:57:54 -05:00
Glenn Randers-Pehrson
bb4f77cd95
[devel] Bump to version libpng-1.5.3beta09
2011-05-16 20:42:11 -05:00
Glenn Randers-Pehrson
5ca62c9f35
[devel] Bump to version libpng-1.5.3rc01
2011-05-16 09:14:42 -05:00
Glenn Randers-Pehrson
1591a4c9dc
[devel] Imported from libpng-1.5.3beta08.tar
2011-05-16 09:10:37 -05:00
Glenn Randers-Pehrson
c36074e85a
[devel] Removed reference to non-existent png_set_rgb_to_Y from the manual.
2011-05-16 09:08:51 -05:00
Glenn Randers-Pehrson
73904f52b4
[devel] Minor revisions to comments on pngstruct.h and pngvalid.c
2011-05-15 19:38:06 -05:00
Glenn Randers-Pehrson
0e128dfa2f
[devel] Update CHANGES and ANNOUNCE; fix some new typos in comments.
2011-05-15 19:09:24 -05:00
John Bowler
9994f25733
[devel] pngvalid: add memory overwrite and palette image checks
...
also minor cleanup in the libpng code itself (pngrtran.c and pngrutil.c) and some
extra checking there.
2011-05-15 18:52:39 -05:00
Glenn Randers-Pehrson
593fc04096
[devel] Fix typos and indentation in new material in the documentation.
2011-05-12 22:18:23 -05:00
John Bowler
cb0b29631f
[devel] Documented png_set_alpha_mode(), other changes in libpng.3 and
...
libpng-manual.txt.
The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
parameters are supplied by the caller), while in the absence of cHRM
sRGB/Rec 709 values are still used.
The bKGD chunk no longer overwrites the background value set by
png_set_background(), allowing the latter to be used before the file
header is read. It never performed any useful function to override
the default anyway.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
2011-05-12 21:48:29 -05:00
John Bowler
ed4d32baa4
[devel] Improve "pngvalid --speed" to exclude more of pngvalid from the time.
2011-05-11 23:02:28 -05:00
Glenn Randers-Pehrson
d83530f45d
[devel] Bump to version libpng-1.5.3beta08
2011-05-11 14:39:11 -05:00
Glenn Randers-Pehrson
cb3f42123f
[devel] Imported from libpng-1.5.3beta07.tar
2011-05-11 14:36:14 -05:00
Glenn Randers-Pehrson
36fa2a0abd
[devel] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
...
before IDAT.
2011-05-11 06:52:37 -05:00
Glenn Randers-Pehrson
2d3fc1ca3b
[devel] Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and
...
PNG_AFTER_IDAT from pngpriv.h to png.h because they must be visible to
applications that call png_set_unknown_chunks().
2011-05-10 23:48:00 -05:00
John Bowler
f70c7d02e9
[devel] Added named value and 'flag' gamma support to png_set_gamma. Made a
...
minor change from the previous (unreleased) ABI/API to hide the exact value
used for Macs - it's not a good idea to embed this in the ABI!
2011-05-10 22:54:37 -05:00
Glenn Randers-Pehrson
d768d103cf
[devel] Minor revision of commentary about png_set_alpha_mode().
2011-05-08 23:26:19 -05:00
Glenn Randers-Pehrson
44e26d4149
[devel] Revised commentary about png_set_alpha_mode() to make it clearer
...
that this only affects how composited pixels are returned to the calling
application; they don't affect the pixels that are written to a PNG file.
2011-05-08 22:56:42 -05:00
John Bowler
96cec0e1a3
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 22:48:12 -05:00
John Bowler
a9b34191ae
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 19:46:51 -05:00
Glenn Randers-Pehrson
e9eeb743cb
[devel] Reverted recent change of errors to warnings.
2011-05-08 19:39:17 -05:00
Glenn Randers-Pehrson
8ba34667a1
[devel] Changed some errors to warnings, added missing "png_ptr" arg in
...
some currently dead code in pngrtran.c that will be enabled in libpng-1.6
2011-05-08 06:02:18 -05:00
Glenn Randers-Pehrson
87952f0623
[devel] Fix spelling of "implemented" in CHANGES and ANNOUNCE
2011-05-07 22:36:47 -05:00
Glenn Randers-Pehrson
d12c02f020
[devel] Bump to version libpng-1.5.3beta07
2011-05-07 22:07:33 -05:00
Glenn Randers-Pehrson
f3d737dad1
[devel] Imported from libpng-1.5.3beta06.tar
2011-05-07 22:04:26 -05:00
Glenn Randers-Pehrson
492ef9c964
[devel] Apply new PNG_WARNING_PARAMETERS macro in pngwutil.c
2011-05-07 21:42:25 -05:00
Glenn Randers-Pehrson
c7822514cc
[devel] Fix typos in comments, add new API synopses to libpng.3
2011-05-07 21:23:43 -05:00
John Bowler
d273ad2d0f
[devel] Implementation of premultiplied alpha support: png_set_alpha_mode
...
(libpng-manual.txt still to be updated, see png.h for documentation.)
2011-05-07 21:00:28 -05:00
Glenn Randers-Pehrson
af855e415d
[devel] Remove some trailing blanks.
2011-05-07 10:54:28 -05:00
Glenn Randers-Pehrson
6ee0edf880
[devel] Removed the -D_ALL_SOURCE from definitions for AIX in CMakeLists.txt
2011-05-05 22:13:18 -05:00
Glenn Randers-Pehrson
00015a81dd
[devel] Bump to version libpng-1.5.3beta06
2011-05-05 21:11:56 -05:00
Glenn Randers-Pehrson
e1018a5bbb
[devel] Imported from libpng-1.5.3beta05.tar
2011-05-05 21:06:51 -05:00
John Bowler
c5bef946b1
[devel] IDAT compression failed if preceded by a compressed text chunk
...
This was because the attempt to reset the zlib stream in png_write_IDAT
happened after the first IDAT chunk had been deflated - much too late.
In this change internal functions are added to claim/release the z_stream
and, hopefully, make the code more robust. Also deflateEnd checking is
added - previously libpng would ignore an error at the end of the stream.
2011-05-05 17:35:39 -05:00
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
Glenn Randers-Pehrson
4753906826
[devel] Update "last changed" dates and added CHANGES entry.
2011-05-05 07:32:30 -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
Glenn Randers-Pehrson
b3b7168077
[devel] Added appropriate feature test macros (_POSIX_SOURCE, _ISOC99_SOURCE)
...
to ensure libpng sees the correct API.
2011-05-03 22:30:19 -05:00
Glenn Randers-Pehrson
1384c048e4
[devel] Added comments in png.h about relocation of the png_struct
...
and png_info definitions.
2011-04-28 23:22:18 -05:00
Glenn Randers-Pehrson
24fde6e00f
[devel] Bump to version libpng-1.5.3beta05
2011-04-28 23:20:24 -05:00
Glenn Randers-Pehrson
33ced44f9e
[devel] Bump to version libpng-1.5.3beta04
2011-04-27 15:38:15 -05:00
John Bowler
e6dc85bb0b
[devel] Changed png_struct jmp_buf member name to avoid clash with macro
2011-04-27 14:47:15 -05:00
Glenn Randers-Pehrson
20786be695
[devel] Added more about creating and destroying the optional "end_info"
...
structure in the libpng documentation.
2011-04-20 22:20:40 -05:00
Glenn Randers-Pehrson
99778e17af
[devel] Mention the reason to call png_read_end() in the libpng documentation.
2011-04-20 17:43:52 -05:00
Glenn Randers-Pehrson
cf78aee1c4
[devel] Removed an obsolete statement from libpngpf.3
2011-04-17 19:26:56 -05:00
Glenn Randers-Pehrson
6cd31bbfce
[devel] Give credit for recent bug report to Andrew Church.
2011-04-17 19:02:00 -05:00
Glenn Randers-Pehrson
4bc9f8472c
[devel] Updated CHANGES, ANNOUNCE, and pngtest.png to reflect recent changes.
2011-04-17 18:58:38 -05:00
John Bowler
4a12f4a22a
[devel] Cleanup of conditional compilation code and of background/gamma
...
handling. Internal changes only except for a new option to avoid compiling
in the png_build_grayscale_palette API (which is not used at all internally.)
The main change is to move the transform tests (READ_TRANSFORMS,
WRITE_TRANSFORMS) up one level to the caller of the APIs.
2011-04-17 18:34:22 -05:00
Glenn Randers-Pehrson
a1f9426399
[devel] Bump to version libpng-1.5.3beta04
2011-04-16 21:48:23 -05:00
Glenn Randers-Pehrson
9f1cd70774
[devel] Imported from libpng-1.5.3beta03.tar
2011-04-16 21:39:11 -05:00
Glenn Randers-Pehrson
d2795b7909
[devel] Revised a comment about png_do_strip_channel().
2011-04-16 19:41:23 -05:00
Glenn Randers-Pehrson
b75b24103d
[devel] Added some whitespace in comments.
2011-04-16 19:35:05 -05:00
Glenn Randers-Pehrson
cb1aee2506
[devel] Fixed bug with stripping the filler or alpha channel when writing,
...
that was introduced in libpng-1.5.2beta01.
2011-04-16 19:27:34 -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
John Bowler
7abc130a81
[devel] Updated the vstudio project to zlib-1.2.5
2011-04-15 06:39:30 -05:00
John Bowler
5adc5a2ff8
[devel] Removed the now-unused PNG_DEPSTRUCT macro
2011-04-15 06:38:29 -05:00
John Bowler
b302c4721a
[devel] Removed the PNG_PTR_NORETURN attribute
2011-04-15 06:37:34 -05:00
John Bowler
537c146082
[devel] Fixed gcc -ansi -pedantic compile, using __STRICT_ANSI__
2011-04-15 06:36:21 -05:00
Glenn Randers-Pehrson
b6743ea08e
[devel] Updated zlib.props to zlib-1.2.5
2011-04-04 15:40:59 -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
1b491cbda0
[devel] Bump to version libpng-1.5.3beta03
2011-04-03 06:51:53 -05:00
Glenn Randers-Pehrson
8abcf141fa
[devel] Imported from libpng-1.5.3beta02.tar
2011-04-03 06:36:34 -05:00
Glenn Randers-Pehrson
b8e314072f
[devel] Replaced pngtest.png with one that has the zTXt CMF optimized.
2011-04-02 08:28:31 -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
f30f0e04e3
[devel] Fixed typo in scripts/symbols.def
...
(compression_level -> compression_method)
2011-04-01 22:17:55 -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
65a24d0638
[devel] Add comment in pngtest.c about setting zlib strategy for text
...
compression
2011-04-01 20:41:53 -05:00
Glenn Randers-Pehrson
a45f47c225
[devel] Updated documentation on setting non-IDAT zlib compression parameters
2011-04-01 15:31:26 -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
bdb0130aea
[devel] Remove "sPLT" from list of chunks that require compressed text
2011-04-01 14:55:01 -05:00
Glenn Randers-Pehrson
5975f31ff0
[devel] Added PNG_READ_COMPRESSED_TEXT_SUPPORTED macro.
2011-04-01 13:15:36 -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
bef60dc624
[devel] Updated scripts/symbols.def with new API functions.
2011-04-01 00:28:59 -05:00
Glenn Randers-Pehrson
8eb8833b74
[devel] Updated manual about the new API additions
2011-04-01 00:16:50 -05:00
Glenn Randers-Pehrson
b0525f83e1
[devel] Bump to version libpng-1.5.3beta02
2011-03-31 23:50:46 -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
ea0c7b699e
[devel] Update LAST_ORDINAL to 226 in png.h, to account for new API.
2011-03-31 23:25:29 -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
6bdea98992
[devel] Revised pngtest.c to set the zlib strategy, and restored pngtest.png
2011-03-31 21:14:55 -05:00
Glenn Randers-Pehrson
4a392c74cf
[devel] Replace pngtest.png with one compressed with libpng-1.5.3beta01.
...
The zTXt chunk is 4 bytes larger than before.
2011-03-31 20:56:05 -05:00
Glenn Randers-Pehrson
1ecd786d95
[devel] Enable API for setting zlib non-IDAT parameters.
2011-03-31 20:53:47 -05:00
Glenn Randers-Pehrson
1345cbeea8
[devel] Update change comments (1.5.2 -> 1.5.3)
2011-03-31 20:33:04 -05:00
Glenn Randers-Pehrson
ab23d34dd9
[devel] Update change date
2011-03-31 20:19:28 -05:00
Glenn Randers-Pehrson
907333884f
[devel] Bump to version libpng-1.5.3beta01
2011-03-31 20:16:03 -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
dcc3505c7b
[devel] Imported from libpng-1.5.2.tar
2011-03-31 11:29:05 -05:00
Glenn Randers-Pehrson
0d00d83ef0
[devel] Removed unused "6" and "8" from the key to the transformation matrix
2011-03-30 17:18:32 -05:00
Glenn Randers-Pehrson
47dc5f7b54
[devel] Fix spelling in a comment.
2011-03-30 09:59:02 -05:00
Glenn Randers-Pehrson
f2598a8b60
[devel] Imported from libpng-1.5.2rc03.tar
2011-03-24 23:08:31 -05:00
Glenn Randers-Pehrson
80de04e560
[devel] Don't include standard header files in png.h while building the symbol
...
table, to avoid cpp failure on SunOS (introduced PNG_BUILDING_SYMBOL_TABLE
macro).
2011-03-24 23:06:26 -05:00
Glenn Randers-Pehrson
77fd083041
[devel] Bump to version libpng-1.5.2rc03
2011-03-24 09:01:33 -05:00
Glenn Randers-Pehrson
22b9a84314
[devel] Imported from libpng-1.5.2rc02.tar
2011-03-22 06:32:08 -05:00
Glenn Randers-Pehrson
f27592a0cd
[devel] Fixed a long-standing bug in png_handle_sPLT() when
...
PNG_NO_POINTER_INDEXING is defined.
2011-03-21 18:05:40 -05:00
Glenn Randers-Pehrson
3f2339b551
[devel] removed "strip" from contrib/pngminim/*/makefile
2011-03-19 22:32:38 -05:00
Glenn Randers-Pehrson
eceff8b3c3
[devel] Added a hint to try CPP=/bin/cpp if "cpp -E" fails in
...
scripts/pnglibconf.mak and in contrib/pngminim/*/makefile and to try
"STRIP=touch" if strip is missing, eg., on SunOS 5.10
2011-03-19 14:49:03 -05:00
Glenn Randers-Pehrson
f3dd1cc51e
[devel] Imported from libpng-1.5.2rc01.tar
2011-03-18 22:03:48 -05:00
Glenn Randers-Pehrson
d32a671dff
[devel] Define remaining attributes to blank when MSC_VER<1300.
2011-03-06 16:49:10 -06:00
Glenn Randers-Pehrson
ffc9e9503d
[devel] Bump to version libpng-1.5.2beta04
2011-03-03 06:41:16 -06:00
Glenn Randers-Pehrson
38734eeb45
[devel] Imported from libpng-1.5.2beta03.tar
2011-03-03 06:37:45 -06:00
Glenn Randers-Pehrson
41b1ffdf36
[devel] Make PNG_ALLOCATED blank when _MSC_VER<1300 in pngconf.h
2011-03-03 06:24:32 -06:00
Glenn Randers-Pehrson
eb7d7955e5
Updated contrib/pngsuite/README to add the word "modify".
2011-02-27 21:19:23 -06:00
Glenn Randers-Pehrson
4411742328
[devel] Fixed scripts/makefile.vcwin32
2011-02-20 06:17:22 -06:00
Glenn Randers-Pehrson
7c969f347f
[devel] Bump to version libpng-1.5.2beta03
2011-02-19 15:59:14 -06:00
Glenn Randers-Pehrson
d08b6bdbf7
[devel] Imported from libpng-1.5.2beta02.tar
2011-02-19 15:51:57 -06:00
Glenn Randers-Pehrson
0b5b4b456c
[devel] Updated ANNOUNCE and CHANGES.
2011-02-16 06:41:18 -06:00
Glenn Randers-Pehrson
1faed9c234
[devel] Removed extra png_set_expand_16 from libpng.3 synopses
2011-02-16 06:40:16 -06:00
John Bowler
59010e53f4
[devel] Fix the read/write row callback documentation.
2011-02-16 06:16:31 -06:00
John Bowler
cd11345693
[devel] Correct png_get_current_row_number documentation
2011-02-16 06:15:13 -06:00
John Bowler
9616ad9828
[devel] Revert png_get_current_row_number() to previous (1.5.2beta01) behavior.
2011-02-16 06:13:46 -06:00
John Bowler
8ea598b1d1
[devel]
2011-02-16 06:09:57 -06:00
Glenn Randers-Pehrson
93215674db
[devel] Fixed mistake in the descriptions of user read_transform and
...
write_transform function prototypes in the manual.
The row_info struct should be of type png_row_infop.
2011-02-13 19:42:19 -06:00
Glenn Randers-Pehrson
67703b11fe
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 07:02:55 -06:00
Glenn Randers-Pehrson
a3791aabaa
[devel] Updated CHANGES and ANNOUNCE
2011-02-13 06:59:37 -06:00
Glenn Randers-Pehrson
cad6798a8c
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 06:13:39 -06:00
Glenn Randers-Pehrson
c85f5f6db0
[master] Add synopsis for png_set_16() to the manual.
2011-02-13 05:56:07 -06:00
Glenn Randers-Pehrson
c36bb79352
[devel] Trim trailing blanks from sources and manual
2011-02-12 09:49:07 -06:00
John Bowler
63d059ab0b
[devel] Document png_set_expand_16, correct transformation table.
2011-02-12 09:03:44 -06:00
John Bowler
3aa94d69fb
[devel] Sort scripts/pnglibconf.h.prebuilt, plus better comment
2011-02-12 09:02:29 -06:00
John Bowler
4d56296443
[devel] Implement expansion to 16 bits
2011-02-12 09:01:20 -06:00
John Bowler
9b872f4cf9
[devel] Clean up ALPHA flags and transformations
2011-02-12 09:00:16 -06:00
John Bowler
5432c01ffd
[devel] Fix png_get_current_row_number in the interlaced case.
2011-02-12 08:59:17 -06:00
John Bowler
9c69360e97
[devel] Fix gcc -pendantic warnings, handle Cygwin longjmp fix png_read_png
2011-02-12 08:58:21 -06:00
John Bowler
6a6d79fc00
[devel] turn on interlace handling in png_read_png
2011-02-12 08:56:40 -06:00
Glenn Randers-Pehrson
c83d421d9e
Revert "[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to"
...
This reverts commit 2438825d77 .
2011-02-12 08:54:42 -06:00
Glenn Randers-Pehrson
2438825d77
[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to
...
accommodate the old VisualC++ preprocessor.
Defined PNG_ALLOCATED to empty for MSC_VER < 1300.
2011-02-12 07:49:28 -06:00
Glenn Randers-Pehrson
a257f80d95
[devel] Reverted the "__clang__" special case in pngconf.h
2011-02-06 06:20:51 -06:00
Glenn Randers-Pehrson
973c493e1b
[devel] Add __clang__ special case in pngconf.h
2011-02-04 18:51:00 -06:00
Glenn Randers-Pehrson
58bd925acc
[devel] Add CHANGES entry about shadow warnings fix
2011-02-03 21:54:53 -06:00
Glenn Randers-Pehrson
8625b394b5
[devel] Changed some names of formal parameters to avoid Shadow warnings
2011-02-03 21:43:38 -06:00
Glenn Randers-Pehrson
47a007a945
--amend [devel] Imported from libpng-1.5.2beta01.tar
2011-02-03 21:31:34 -06:00
Glenn Randers-Pehrson
3d3aae1697
--amend [devel] Imported from libpng-1.5.1.tar
2011-02-02 23:00:03 -06:00
Glenn Randers-Pehrson
2506e53400
--amend [devel] Imported from libpng-1.5.1rc02.tar
2011-01-31 10:26:55 -06:00
Glenn Randers-Pehrson
25d2d47f86
[devel] updated the commentary in pngpriv.h about PNG_UNUSED().
2011-01-31 10:25:10 -06:00
Glenn Randers-Pehrson
4c0eaee5c6
[devel] Changed PNG_UNUSED to "(void)param;"
2011-01-30 11:55:35 -06:00
Glenn Randers-Pehrson
cbbe9a5c01
[devel] Added a request in the manual that applications do not use "png_" or
...
"PNG_" to begin any of their own symbols.
2011-01-29 16:12:11 -06:00
Glenn Randers-Pehrson
7ccc2daf09
--amend [devel] Imported from libpng-1.5.1rc01.tar.gz
2011-01-28 23:12:23 -06:00
Glenn Randers-Pehrson
ef123cc005
[devel] Imported from libpng-1.5.1beta11.tar
2011-01-28 15:30:05 -06:00
Glenn Randers-Pehrson
254670338e
[devel] Imported from libpng-1.5.1beta11.tar
2011-01-28 15:16:05 -06:00
Glenn Randers-Pehrson
bf3293a3cb
[devel] Fixed comments around PNG_UNUSED macro definition in pngpriv.h
2011-01-28 15:14:43 -06:00
Glenn Randers-Pehrson
4e7c47fb73
[devel] Updated CHANGES and ANNOUNCE.
2011-01-28 07:05:53 -06:00
John Bowler
afea7d19e0
[devel] Add-transform-tests-to-pngvalid-simplify-arguments
2011-01-28 06:38:14 -06:00
John Bowler
fca50dfab3
[devel] Correct-local-variable-type-in-new-API-png_process
2011-01-28 06:34:02 -06:00
Glenn Randers-Pehrson
4e2e14addf
[devel] Changed PNG_UNUSED from "param=param;" to "{if(param){}}".
2011-01-27 13:23:08 -06:00
Glenn Randers-Pehrson
0e15da5b94
[devel] Simplified the PNG_UNUSED macro.
2011-01-27 12:45:56 -06:00
Glenn Randers-Pehrson
2774238722
[devel] Trying a different PNG_UNUSED macro.
2011-01-27 09:37:34 -06:00
Glenn Randers-Pehrson
0012e9cd54
[devel] Imported from libpng-1.5.1beta10.tar
2011-01-26 22:05:32 -06:00
Glenn Randers-Pehrson
8d0bc0f026
[devel] Made the manual, synopses, and function prototypes use the function
...
argument names file_gamma, int_file_gamma, and srgb_intent consistently.
2011-01-25 22:15:58 -06:00
Glenn Randers-Pehrson
81ce889435
[devel] Fixed incorrect examples of callback prototypes in the manual.
...
"png_ptr ptr" should be "png_structp png_ptr"
2011-01-24 08:04:37 -06:00
Glenn Randers-Pehrson
135d17ce3e
[devel] Bump to version libpng-1.5.1beta10
2011-01-24 00:18:05 -06:00
Glenn Randers-Pehrson
9962b84659
[devel] Imported from libpng-1.5.1beta09.tar
2011-01-24 00:14:22 -06:00
Glenn Randers-Pehrson
b0b058b767
[devel] Updated CHANGDES and ANNOUNCE files about John's checkin.
2011-01-24 00:13:36 -06:00
John Bowler
f21a0d0eee
[devel] Enhance pngvalid, correct an error in gray_to_rgb, correct doc error.
2011-01-23 23:55:19 -06:00
Glenn Randers-Pehrson
d52cd11ed2
[devel] Bump to version libpng-1.5.1beta09
2011-01-22 20:23:07 -06:00
Glenn Randers-Pehrson
3bd489d315
[devel] Imported from libpng-1.5.1beta08.tar
2011-01-22 20:19:10 -06:00
Glenn Randers-Pehrson
cbabd9c7e1
[devel] Updated CHANGES and ANNOUNCE.
2011-01-22 18:37:17 -06:00
John Bowler
f19abd6725
[devel] Added four new convenience functions (John Bowler)
2011-01-22 18:29:24 -06:00
John Bowler
0a5c9c02fa
[devel] Corrected const_png_ in png.h to png_const_ to avoid polluting
...
the namespace. Added png_get_current_row_number and
png_get_current_pass_number for the
benefit of the user transform callback.
Added png_process_data_pause and png_process_data_skip for the benefit of
progressive readers that need to stop data processing or want to optimize
skipping of unread data (e.g. if the reader marks a chunk to be skipped.)
2011-01-22 17:36:34 -06:00
Glenn Randers-Pehrson
155ce40218
[devel] Rebuilt Makefile.in and configure from the new sources.
2011-01-22 17:12:32 -06:00
John Bowler
71a10f2ca1
[devel] Attempted to fix cpp on Solaris with S. Studio 12 cc, fix build
...
Added a make macro DFNCPP that is a CPP that will accept the tokens in
a .dfn file and adds configure stuff to test for such a CPP. ./configure
should fail if one is not available.
2011-01-22 17:03:33 -06:00
Glenn Randers-Pehrson
a861ed971e
[devel] Added synopses for the IO_STATE functions and other missing synopses
...
to the manual. Removed the synopses from libpngpf.3 because they
were out of date and no longer useful. Better information can be
obtained by reading the prototypes and comments in pngpriv.h
2011-01-22 16:46:37 -06:00
Glenn Randers-Pehrson
bb98bcba91
[manual] Updated libpng.3 synopses to agree with scripts/symbols.def
2011-01-22 16:27:39 -06:00
John Bowler
adaffe7761
[devel] Add png_get_io_chunk_type to scripts/symbols.def
2011-01-22 14:35:36 -06:00
Glenn Randers-Pehrson
cf7cce6da5
[devel] Corrected (again) the ordinal of png_get_io_chunk_type().
2011-01-22 12:42:43 -06:00
Glenn Randers-Pehrson
aa23159209
[devel] Bump to version libpng-1.5.1beta08
2011-01-22 12:37:40 -06:00
Glenn Randers-Pehrson
c63409b078
[devel] Corrected the ordinal for the new function in png.h
2011-01-22 09:42:19 -06:00
Glenn Randers-Pehrson
eac893b60b
[devel] Added synopses for the IO_STATE functions to the manual.
2011-01-22 09:06:38 -06:00
Glenn Randers-Pehrson
a63dbedead
[devel] Added png_get_io_chunk_type() and deprecated png_get_io_chunk_name()
2011-01-22 08:51:19 -06:00
Glenn Randers-Pehrson
5c5db5a55f
[devel] Imported from libpng-1.5.1beta07.tar
2011-01-21 23:32:11 -06:00
Glenn Randers-Pehrson
7bc25013f0
[devel] Updated manual synopses, fixed several typos,
...
put paramter descriptions in proper order, applied libpng indentation
style in code snippets.
2011-01-21 23:29:09 -06:00
Glenn Randers-Pehrson
b86b4928d6
[devel] Added const_png_structp and const_png_infop types, and used them in
...
prototypes for most png_get_*() functions.
2011-01-21 23:12:51 -06:00
Glenn Randers-Pehrson
2cb633b915
[devel] In the manual, describe the png_get_IHDR() arguments in the right order.
2011-01-21 08:31:29 -06:00
Glenn Randers-Pehrson
47457a01f7
[devel] Bump to version libpng-1.5.1rc01
2011-01-21 08:25:26 -06:00
Glenn Randers-Pehrson
77c3bf17ca
[devel] Imported from libpng-1.5.1beta06.tar
2011-01-20 16:02:05 -06:00
John Bowler
168a433352
[devel] Eliminate more GCC shadow warnings
2011-01-16 19:32:22 -06:00
Glenn Randers-Pehrson
1408c2afeb
[devel] Prevent png_push_crc_skip() from hanging while reading an unknown chunk
...
or an over-large compressed zTXt chunk with the progressive reader.
2011-01-16 14:16:28 -06:00
Glenn Randers-Pehrson
c9ae31c23a
[devel] Bump to version libpng-1.5.1beta06
2011-01-16 13:40:05 -06:00
Glenn Randers-Pehrson
2ca8490a32
[devel] Imported from libpng-1.5.1beta05.tar
2011-01-16 13:36:02 -06:00
Glenn Randers-Pehrson
2368a92b2d
[devel] Changed variable names png_index, png_div, png_exp, and png_gamma to
...
char_index, divisor, exp_b10, and gamma_val, respectively, and
changed exp() back to png_exp().
2011-01-16 13:32:05 -06:00
Glenn Randers-Pehrson
498d19243c
[devel] Bump to version libpng-1.5.1beta05
2011-01-16 00:42:57 -06:00
Glenn Randers-Pehrson
27bf8986f9
[devel] Imported from libpng-1.5.1beta04.tar
2011-01-16 00:40:17 -06:00
Glenn Randers-Pehrson
e03dd5bd64
[devel] Prefixed variable names index, div, exp, gamma with "png_"
...
to avoid "shadow" warnings. Revised png_fixed() in png.c to avoid compiler
warning about reaching the end without returning anything.
2011-01-16 00:38:30 -06:00
Glenn Randers-Pehrson
5acd8fe9cb
[devel] Add CHANGES entry about fixing pngvalid "sample" function.
2011-01-15 22:41:42 -06:00
John Bowler
e2062f9fa0
[devel] Correct pngvalid gamma test to check each color sample, not just red.
2011-01-15 22:36:33 -06:00
Glenn Randers-Pehrson
9f45c8e6e1
[devel] Updated copyright year in LICENSE, CMakeLists.txt, and manual
2011-01-15 19:35:03 -06:00
Glenn Randers-Pehrson
00879b155a
[devel] Mentioned in the documentation that applications must #include "zlib.h"
...
if they need access to anything in zlib.h, and that a number of
macros such as png_memset() are no longer accessible by applications.
2011-01-15 19:25:34 -06:00
Glenn Randers-Pehrson
366eb49f99
[devel] Bump to version libpng-1.5.1beta04
2011-01-15 11:45:19 -06:00
Glenn Randers-Pehrson
4a5a1ec0b4
[devel] Updated documentation of png_set_iCCP().
2011-01-15 11:43:28 -06:00
Glenn Randers-Pehrson
f3c51e4a28
[devel] Updated documentation of png_set|get_tRNS().
2011-01-15 10:25:25 -06:00
Glenn Randers-Pehrson
b764c60a12
[devel] Imported from libpng-1.5.1beta03.tar
2011-01-14 21:20:20 -06:00
Glenn Randers-Pehrson
62e956e1dd
[devel] Imported from libpng-1.5.1beta02.tar
2011-01-14 17:10:38 -06:00
Glenn Randers-Pehrson
d3edb3f27c
[devel] Updated CMakeLists.txt (Clifford Yapp)
2011-01-14 17:08:28 -06:00
Glenn Randers-Pehrson
e15a96b333
[devel] Fixed a bug in handling of interlaced images (bero at arklinux.org).
2011-01-14 15:47:37 -06:00
Glenn Randers-Pehrson
3200e1e088
[devel] Bump to version libpng-1.5.1beta02
2011-01-08 21:02:22 -06:00
Glenn Randers-Pehrson
033155ca21
[devel] Imported from libpng-1.5.1beta01.tar
2011-01-08 15:50:00 -06:00
Glenn Randers-Pehrson
e8edb5a809
[devel] Update ANNOUNCE and CHANGES to reflect the recent bugfixes.
2011-01-08 14:56:49 -06:00
John Bowler
4e230b087e
[devel] Proper fix for the failure to handle palette mapped images correctly.
2011-01-08 14:49:25 -06:00
John Bowler
a96117f52c
[devel] Ensure that png_rgb_to_gray ignores palette mapped images.
2011-01-08 14:41:25 -06:00
Glenn Randers-Pehrson
fff1093227
[devel] Same situation with png_set_iCCP().
2011-01-08 11:05:47 -06:00
Glenn Randers-Pehrson
9d23b40c24
[devel] Added a note in the manual that the type of the iCCP profile changed
...
from png_charpp to png_bytepp in png_get_iCCP(). This change happened
in version 1.5.0beta36 but is not noted in the CHANGES. Also, revised
the "synopsis" for png_get_iCCP() in libpng.3 accordingly.
2011-01-08 10:42:01 -06:00
Glenn Randers-Pehrson
5c92dec542
[devel] The wrong pngrutil.c (version 1.4.1) was checked in.
2011-01-07 18:28:47 -06:00
Glenn Randers-Pehrson
9dd1cdff66
[devel] Added description of png_set_crc_action() to the manual.
2011-01-06 21:42:36 -06:00
Glenn Randers-Pehrson
20788d3b90
[devel] Add typecasts to stifle compiler warnings in pngrutil.c
2011-01-06 09:01:04 -06:00
Glenn Randers-Pehrson
512cbf8ade
[devel] Bump to version libpng-1.5.1beta01
2011-01-06 08:11:22 -06:00
Glenn Randers-Pehrson
59fa3e920c
[devel] Fixed a small typo in the manual.
2011-01-06 07:07:06 -06: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
a7d604e681
[devel] Imported from libpng-1.5.0rc06.tar
2011-01-04 09:09:27 -06:00
Glenn Randers-Pehrson
977f6eba3d
[devel] Changed new configure option "zprefix=string" to "zlib-prefix=string"
2011-01-04 09:07:45 -06:00
Glenn Randers-Pehrson
8f8061adba
[devel] Imported from libpng-1.5.0rc05.tar
2010-12-31 09:15:08 -06:00
Glenn Randers-Pehrson
8409b8f6db
[devel] Fixed typo in a comment in CMakeLists.txt
...
(libpng14 => libpng15) (Cosmin)
2010-12-31 09:14:01 -06:00
Glenn Randers-Pehrson
f2e2833f28
[devel] Fixed bug in background transformation handling in pngrtran.c
...
(it was looking for the flag in png_ptr->transformations instead of in
png_ptr->flags).
2010-12-28 21:48:43 -06:00
Glenn Randers-Pehrson
332594dd06
[devel] Bump to version libpng-1.5.0rc04
2010-12-27 22:18:05 -06:00
Glenn Randers-Pehrson
7de3260017
[devel] Imported from libpng-1.5.0rc03.tar
2010-12-27 22:15:18 -06:00
John Bowler
e06092a24e
Removed scripts/pngwin.def and pngwin.dfn, added def.dfn, revised Makefile.am
2010-12-27 22:10:19 -06:00
Glenn Randers-Pehrson
57731529dc
[devel] Bump to version libpng-1.5.0rc03
2010-12-27 21:35:41 -06:00
Glenn Randers-Pehrson
9830f98ff9
[devel] Imported from libpng-1.5.0rc02.tar
2010-12-27 21:31:30 -06:00
Glenn Randers-Pehrson
5aff745c15
[devel] Eliminated references to the scripts/*.def files in project/visualc71.
2010-12-27 21:29:17 -06:00
Glenn Randers-Pehrson
3af77feaa3
[devel] Bump to version libpng-1.5.0rc02
2010-12-27 09:21:50 -06:00
Glenn Randers-Pehrson
fd20a5ae9b
[devel] Imported from libpng-1.5.0rc01.tar
2010-12-27 08:55:13 -06:00
Glenn Randers-Pehrson
d3b76572c7
[devel] Bump to version libpng-1.5.0beta59
2010-12-19 17:06:32 -06:00
Glenn Randers-Pehrson
6e97410f66
[devel] Imported from libpng-1.5.0beta58.tar
2010-12-19 16:47:04 -06:00
John Bowler
b2888db940
[devel] Updated CHANGES and ANNOUNCE with recent changes
2010-12-19 16:45:38 -06:00
John Bowler
56a739bf4e
[devel] Minor changes to work round warnings in gcc 3.4
2010-12-19 16:33:20 -06:00
John Bowler
8f6628ed9f
[devel] Fix the clean rule to remove pngtest-log.txt
2010-12-19 16:31:47 -06:00
John Bowler
660c6e4d70
[devel] Fixed interlace image handling and add test cases (John Bowler)
2010-12-19 06:22:23 -06:00
Glenn Randers-Pehrson
4c93a7cb6f
[devel] Bump to version libpng-1.5.0beta58
2010-12-09 06:11:18 -06:00
Glenn Randers-Pehrson
9a462393e4
[devel] Imported from libpng-1.5.0beta57.tar
2010-12-09 06:08:04 -06:00
Glenn Randers-Pehrson
138142583e
[devel] Updated the prebuilt configuration files to autoconf version 2.68
2010-12-09 06:06:48 -06:00
Glenn Randers-Pehrson
571db950d1
[devel] Added "--with-zprefix=<string>" to configure.ac
2010-12-09 06:03:03 -06:00
John Bowler
15c9be10b3
[devel] Merge standard error with standard output from test scripts
2010-12-08 20:33:39 -06:00
Glenn Randers-Pehrson
d5e3590df7
[devel] Don't display test results (except PASS/FAIL) when running "make test".
...
Instead put them in pngtest-log.txt
2010-12-08 17:26:50 -06:00
John Bowler
b54498edea
[devel] Enable the strip16 tests in pngvalid
2010-12-08 16:26:21 -06:00
Glenn Randers-Pehrson
ba851ccd9f
[devel] Changed pngvalid options in test-pngvalid-*.sh scripts
2010-12-08 09:55:57 -06:00
Glenn Randers-Pehrson
6f1af78401
[devel] Revised "make test" to only print PASS or FAIL for pngvalid tests.
2010-12-07 22:33:17 -06:00
Glenn Randers-Pehrson
798b1613ab
[devel] Removed references to pngvcrd.c and pnggccrd.c from the vstudio project.
2010-12-07 22:31:09 -06:00
Glenn Randers-Pehrson
9fa9ebebc0
[devel] Updated "libpng14" to "libpng15" in the visualc71 project.
2010-12-07 22:28:53 -06:00
Glenn Randers-Pehrson
6735058024
[devel] Added some white space in pngvalid.c
2010-12-07 16:13:22 -06:00
Glenn Randers-Pehrson
9f044c17fa
[devel] Added some whitespace in png.h and pngpriv.h, revised a comment
...
in pngvalid.c
2010-12-07 14:59:43 -06:00
Glenn Randers-Pehrson
d02f246887
[devel] Improved missing symbol handling in checksym.awk; symbols missing in
...
both the old and new files can now be optionally ignored, treated as errors
or warnings.
2010-12-07 14:42:04 -06:00
Glenn Randers-Pehrson
f1cf90238b
[devel] Documented the pngvalid gamma error summary with additional comments
...
and print statements.
2010-12-07 14:40:33 -06:00
Glenn Randers-Pehrson
845b74e6d4
[devel] Bump to version libpng-1.5.0beta57
2010-12-06 20:25:05 -06:00
Glenn Randers-Pehrson
e24196eeeb
[devel] Imported from libpng-1.5.0beta56.tar
2010-12-06 20:24:57 -06:00
Glenn Randers-Pehrson
234e543afb
[devel] Make PNG_EXPORT not user definable (leaving only PNG_EXPORTA definable)
2010-12-06 20:18:51 -06:00
Glenn Randers-Pehrson
49a56e7688
[devel] Included documentation of changes in 1.5.0 from 1.4.x
...
in libpng-manual.txt and libpng.3
2010-12-06 20:06:01 -06:00
Glenn Randers-Pehrson
5f59c87604
[devel] Fixed some incorrect "=" macro names in pnglibconf.dfa
2010-12-06 18:45:59 -06:00
Glenn Randers-Pehrson
23d3970929
[devel] Revised PNG_EXPORT() macro and added PNG_EXPORTA() macro, with the
...
objective of simplifying and improving the cosmetic appearance of png.h.
2010-12-06 18:28:02 -06:00
Glenn Randers-Pehrson
27df3a44eb
[devel] Added PNG_EXPORTX() and PNG_EXPORTA() macros for testing,
...
with the objective of improving the cosmetic appearance of png.h.
2010-12-06 12:38:42 -06:00
Glenn Randers-Pehrson
a451725242
[devel]
...
Added some commentary about PNG_EXPORT in png.h and pngconf.h
2010-12-06 08:54:55 -06:00
Glenn Randers-Pehrson
d546f4399f
[devel] Added the private PNG_UNUSED() macro definition in pngpriv.h.
...
(adapted from the UNUSED() macro in pngvalid.c by John Bowler)
2010-12-04 20:41:36 -06:00
Glenn Randers-Pehrson
38ef3a592c
[devel] Added whitespace and fixed typos in pngvalid.c comments.
2010-12-03 11:22:31 -06:00
Glenn Randers-Pehrson
caed8f30ee
[devel] Bump to version 1.5.0beta56
2010-11-27 18:09:36 -06:00
Glenn Randers-Pehrson
2fe7f06a55
[devel] Removed some markup (%10%) from libpng-manual.txt and libpng.3
2010-11-25 07:31:36 -06:00
Glenn Randers-Pehrson
5b40b01319
[devel] Added a remark about png_get_uint_16 in the libpng-manual.txt
...
and libpng.3
2010-11-25 07:16:29 -06:00
Glenn Randers-Pehrson
b93e0326d2
[devel] Comment about 1.4.0 through 1.4.4 versions of png_get_uint_16 macro
...
which returned the wrong type (png_uint_32 instead of png_uint_16).
2010-11-25 06:56:20 -06:00
Glenn Randers-Pehrson
2776d5e9e6
[devel] Bump to version libpng-1.5.0beta56
2010-11-21 15:19:55 -06:00
Glenn Randers-Pehrson
c3ed437d9e
[devel] Imported from libpng-1.5.0beta55.tar
2010-11-21 15:05:20 -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
105c416007
[devel] Added comment in pngrutil.c about some extra parentheses.
2010-11-20 22:59:47 -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
d801b3882c
[devel] Bump to version libpng-1.5.0beta55
2010-11-11 07:19:19 -06:00
Glenn Randers-Pehrson
ed3dfbd25a
[devel] Imported from libpng-1.5.0beta54.tar
2010-11-10 07:05:07 -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
33893095b5
[devel] Used a consistent structure for the pngget.c functions.
...
added some whitespace in pngrio.c and pngrutil.c
2010-10-23 13:20:18 -05:00
Glenn Randers-Pehrson
5c5f593ffb
[devel] Standardized the structure of some pngget.c functions.
2010-10-23 10:14:42 -05:00
Glenn Randers-Pehrson
62333ba0cb
[devel] Adjusted some whitespace in pngset.c
2010-10-23 08:48:51 -05:00
Glenn Randers-Pehrson
c508081afc
[devel] Require 48 bytes, not 64 bytes, for big_row_buf in overflow checks.
...
Also removed two obsolete comments from png.c
2010-10-23 08:26:26 -05:00
Glenn Randers-Pehrson
71c0dd6c4a
[devel] Bump to version libpng-1.5.0beta54
2010-10-17 20:37:37 -05:00
Glenn Randers-Pehrson
63495a4ba4
[devel] Imported from libpng-1.5.0beta53.tar
2010-10-17 20:36:57 -05:00
Glenn Randers-Pehrson
475074dfb5
[devel] Changed mention of libpng.txt to libpng-manual.txt in CMakeLists.txt
2010-10-17 13:07:38 -05:00
Glenn Randers-Pehrson
557b256b32
[devel] Changed "libpng.txt" to "libpng-manual.txt" in libpng.3
2010-10-17 12:55:04 -05:00
Glenn Randers-Pehrson
48854aec52
[devel] Rename libpng.txt to libpng-manual.txt
2010-10-17 12:52:29 -05:00
Glenn Randers-Pehrson
f3abb2c352
[devel] Rename libpng.txt to libpng-manual.txt
2010-10-17 12:51:53 -05:00
Glenn Randers-Pehrson
88910f5b9d
[devel] Revised and renamed the typedef in png.h and png.c that was designed
...
to catch library and header mismatch, also found at the end of pngtest.c.
2010-10-16 20:38:45 -05:00
Glenn Randers-Pehrson
a60f8a9c1f
[devel] libpng-version.txt -> libpng.txt in Makefile.am,.in
2010-10-16 20:15:44 -05:00
Glenn Randers-Pehrson
10973a581f
[devel] Removed obsolete remarks about setjmp handling from INSTALL.
2010-10-16 19:40:09 -05:00
Glenn Randers-Pehrson
a655407f1b
[devel] Use document name "libpng.txt" instead of "libpng-version.txt"
...
as it was prior to libpng-1.2.16beta2, to simplify version differences.
2010-10-16 19:32:44 -05:00
Glenn Randers-Pehrson
a9b4f16b04
[devel] Disabled "color-tests" by default in Makefile.am
...
so it will work with automake versions earlier than 1.11.1
2010-10-16 08:04:15 -05:00
Glenn Randers-Pehrson
6612114f86
[devel] Updated INSTALL
...
(omitted autogen.sh, ../configure should be ./configure)
2010-10-16 07:22:19 -05:00
Glenn Randers-Pehrson
66676016f6
[devel] Updated INSTALL to mention using "make maintainer-clean" and
...
to remove obsolete statement about a custom ltmain.sh
2010-10-16 07:18:09 -05:00
Glenn Randers-Pehrson
e5900f1bc9
[devel] Removed "betaNN" from pnglibconf.dfa and pnglibconf.h.prebuilt
2010-10-15 20:05:41 -05:00
Glenn Randers-Pehrson
85497d7a4b
[devel] Changed embedded dates in some scripts to "(PENDING RELEASE)"
2010-10-15 19:58:56 -05:00
Glenn Randers-Pehrson
5393915bf6
[devel] Bump to version libpng-1.5.0beta53
2010-10-15 19:28:31 -05:00
Glenn Randers-Pehrson
f197d6d0f6
[devel] Imported from libpng-1.5.0beta52.tar
2010-10-15 19:28:22 -05:00
Glenn Randers-Pehrson
4fa1816cf6
[devel] Restored some of the embedded dates
2010-10-15 19:14:36 -05:00
Glenn Randers-Pehrson
1c91ab2586
[devel] Bump to version libpng-1.5.0beta52
2010-10-15 15:13:31 -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
a0de64f3c3
[devel] Bump to version 1.5.0beta51
2010-10-14 07:35:54 -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
79b2d64a67
[devel] also check for negative out-of-range text compression mode
2010-10-13 07:31:14 -05:00
Glenn Randers-Pehrson
e34f80e5aa
[devel] Check for out-of-range text compression mode in png_set_text().
2010-10-13 06:55:30 -05:00
Glenn Randers-Pehrson
bc363eca41
[devel] Removed some unwanted spaces
2010-10-12 21:17:00 -05:00
Glenn Randers-Pehrson
d233287325
[devel] Removed space after (type cast).
2010-10-12 19:19:28 -05:00
Glenn Randers-Pehrson
c127057f7d
[devel] Suppressed a compiler warning in png_handle_sPLT().
2010-10-12 12:47:48 -05:00
Glenn Randers-Pehrson
9a75d99438
[devel] changed "(unsigned int)" to "(unsigned long)" typecasts
...
in printf statements in pngvalid.c, and changed %ud to %lu.
2010-10-08 16:27:14 -05:00
Glenn Randers-Pehrson
e9c395a3bf
[devel] Added some "(unsigned int)" typecasts in pngvalid.c printf statements.
2010-10-08 13:35:02 -05:00
Glenn Randers-Pehrson
4f5b846bb4
[devel] Revised Makefile.in to account for mkinstalldirs being removed
...
and re-removed mkinstalldirs.
2010-10-07 22:49:40 -05:00
Glenn Randers-Pehrson
79bdad205f
[devel] Restored mkinstalldirs which was removed from version 1.5.0beta48.
2010-10-07 22:35:37 -05:00
Glenn Randers-Pehrson
94b582e45e
[devel] Bump to version 1.5.0beta50
2010-10-07 22:34:33 -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
209eee579a
[devel] Bump to version libpng-1.5.0beta49
2010-10-04 23:06: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
110c9367bd
[devel] Revert autoconf scripts to autoconf-2.65 and automake-1.11.1
2010-10-04 17:42:14 -05:00
Glenn Randers-Pehrson
bab8df881a
[devel] Rebuilt configure scripts with autoconf-2.68 instead of autoconf-2.65
2010-10-04 10:07:18 -05:00
Glenn Randers-Pehrson
e89d33ab3d
[devel] Fixed long lines and indentation in CMakeLists.txt
2010-10-02 21:36:02 -05:00
Glenn Randers-Pehrson
0c3fea306a
[devel] Revised CMakeLists.txt to work with libpng-1.5.0
2010-10-02 21:25:01 -05:00
Glenn Randers-Pehrson
a2218a4b6d
[devel] Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE,
...
$AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
2010-09-14 16:06:08 -05:00
Glenn Randers-Pehrson
4f8e7e5f41
[devel] Bump to version libpng-1.5.0beta48
2010-09-10 22:16:59 -05:00
Glenn Randers-Pehrson
e197cded79
[devel] Imported from libpng-1.5.0beta47.tar
2010-09-10 22:16:51 -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
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
Glenn Randers-Pehrson
70c8d32f2e
[devel] Updated aclocal.m4
2010-08-17 13:19:56 -05:00
Glenn Randers-Pehrson
08c2e81ac2
[devel] Add .dll.a to extensions to be symlinked by Makefile.am (Yaakov)
2010-08-13 08:21:09 -05:00
Glenn Randers-Pehrson
2a718a3f53
[devel] Bump to version libpng-1.5.0beta42
2010-08-11 09:15:06 -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
9f65059a5b
[devel] Don't try to use version-script with cygwin/mingw.
...
Revised contrib/gregbook to work under cygwin/mingw.
2010-08-11 08:06:11 -05:00
Glenn Randers-Pehrson
b757b1b5ee
[devel] Added the cHRM chunk to pngtest.png
2010-08-11 07:29:04 -05:00
Glenn Randers-Pehrson
a85264b1fc
[devel] Update CHANGES
2010-08-06 07:11:31 -05:00
Glenn Randers-Pehrson
ad18363852
[devel] Bump to version libpng-1.5.0beta41
2010-08-06 07:01:17 -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
d4028b4373
[devel] Added the sRGB chunk to pngtest.png
2010-08-04 13:07:09 -05:00
Glenn Randers-Pehrson
d3a726db0d
[master] Correct use of _WINDOWS_ in pngconf.h; Removed png_mem_ #defines;
...
they are no longer used.
2010-08-03 20:26:34 -05:00
Glenn Randers-Pehrson
3e71719502
[devel] Bump to version libpng-1.5.0beta40
2010-08-02 08:02:09 -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
77396b63f9
[devel] VisualC/GCC warning fixes, VisualC build fixes
...
The changes include support for function attributes in VC in addition to
those already present in GCC - necessary because without these some
warnings are unavoidable. Fixes include signed/unsigned fixes in
pngvalid and checks with gcc -Wall -Wextra -Wunused.
VC requires function attributes on function definitions as well as
declarations, PNG_FUNCTION has been added to enable this and the
relevant function definitions changed.
2010-08-02 08:00:10 -05:00
Glenn Randers-Pehrson
21c1f06ef9
[devel] Bump to version libpng-1.5.0beta39
2010-07-31 13:58:24 -05:00
Glenn Randers-Pehrson
3df324d845
[devel] Expanded TAB characters, again.
2010-07-31 13:45:04 -05:00
Glenn Randers-Pehrson
c27291d4e3
[devel] Restored projects/visualc71.
2010-07-31 08:05:17 -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
48dc6ebf5c
[devel] Revised png_get_int_16() to be similar to png_get_int_32().
2010-07-31 07:09:58 -05:00
Glenn Randers-Pehrson
4009a76e97
[devel] Implemented remaining "_fixed" functions and corrected warnings
...
that were recently introduced, mostly resulting from
safe but uncast assignments to shorter integers. Also added a zlib
VStudio release library project because the latest zlib Official Windows
build does not include such a thing.
2010-07-31 06:34:36 -05:00
Glenn Randers-Pehrson
459432a1b8
[devel] Updated the TODO list.
2010-07-30 14:59:45 -05:00
Glenn Randers-Pehrson
33d8c2a1dd
[devel] Bump to version libpng-1.5.0beta38
2010-07-30 14:51:04 -05:00
Glenn Randers-Pehrson
4eb18e9ca2
[devel] Imported from libpng-1.5.0beta37.tar
2010-07-30 14:47:53 -05:00
Glenn Randers-Pehrson
dd80757941
[devel] Added typecasts in png_get_int_32() in png.h to avoid compiler warning.
2010-07-30 14:35:50 -05:00
Glenn Randers-Pehrson
b4e6997999
[devel] New pngtest.png with nonzero offsets
...
Renamed "png_sucker" to "png_store" in pngvalid.c
2010-07-30 10:35:38 -05:00
Glenn Randers-Pehrson
53c7502663
[devel] Added a typecast in png_get_int_32() to avoid compiler warning.
2010-07-30 09:58:34 -05:00
Glenn Randers-Pehrson
1e7d7d3cbf
[devel] Commented out declaration png_set_sCAL_fixed which hasn't been written yet
...
Also png_set_filter_heuristics_fixed and png_get_aspect_ratio_fixed.
2010-07-30 07:36:50 -05:00
Glenn Randers-Pehrson
7b81e2e747
[devel] Added some whitespace for readability.
2010-07-29 22:54:34 -05:00
Glenn Randers-Pehrson
f3d53796af
[devel] Removed the new alternate floor() and modf().
2010-07-29 22:19:22 -05:00
Glenn Randers-Pehrson
0fb715a904
[devel] Bump to version libpng-1.5.0beta37
2010-07-29 21:56:47 -05:00
Glenn Randers-Pehrson
233357ef0e
[devel] Fixed some spelling and indentation.
2010-07-29 21:49:38 -05:00
Glenn Randers-Pehrson
b9109e8254
[devel] Guard "modf()" with PNG_FLOATING_ARITHMETIC_SUPPORTED.
2010-07-29 21:21:03 -05:00
Glenn Randers-Pehrson
6679d7c0b1
[devel] Guard instances of "floor()" with PNG_FLOATING_ARITHMETIC_SUPPORTED
2010-07-29 21:05:45 -05:00
Glenn Randers-Pehrson
dbe0c9d8c7
[devel] Use FIXED_POINT in contrib/pngminim/decoder and encoder
2010-07-29 20:28:36 -05:00
Glenn Randers-Pehrson
f01459fd40
[devel] Removed reference to pngarith from Makefile.am and Makefile.in
2010-07-29 19:42:45 -05:00
Glenn Randers-Pehrson
11a5687b72
[devel] Removed reference to pngarith from contrib/pngminim/preader/makefile.
2010-07-29 19:27:26 -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
2be8b64af2
[devel] Update documentation
2010-07-29 19:09:18 -05:00
Glenn Randers-Pehrson
a7a76a674f
[devel] Imported from libpng-1.5.0beta36.tar
2010-07-29 18:02:16 -05:00
Glenn Randers-Pehrson
29034c5076
[devel] Expanded the new TAB characters.
2010-07-29 17:58:49 -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
d7aa6aa916
[devel] Bump to version libpng-1.5.0beta36
2010-07-24 08:37:11 -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
5fd46fb8f7
[master] Moved the definition of png_snprintf() outside of the enclosing
...
"#ifdef" blocks in pngconf.h
2010-07-24 08:09:12 -05:00
Glenn Randers-Pehrson
c182d55fc5
[devel] Update copyright year in documentation
2010-07-22 07:42:39 -05:00
Glenn Randers-Pehrson
11a6f58528
[devel] Added -DNO_PNG_SNPRINTF to CFLAGS in scripts/makefile.dj2
2010-07-16 21:07:55 -05:00
Glenn Randers-Pehrson
d9d4cecaad
[devel] Removed some newly-added TAB characters.
2010-07-12 07:12:09 -05:00
Glenn Randers-Pehrson
f1202087f8
[devel] Imported from libpng-1.5.0beta35.tar
2010-07-12 06:52:41 -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
0ee51445f6
[devel] Put #ifndef PNG_EXTERN, #endif around #define PNG_EXTERN in pngpriv.h
2010-07-12 06:29:17 -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
aa4e359f62
[devel] Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
...
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
2010-07-06 07:40:47 -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
73e28ef13d
[devel] Reverted changes to call png_longjmp in contrib/gregbook
...
where it is not appropriate. If mainprog->jmpbuf is used by setjmp,
then png_longjmp cannot be used.
Reversed patch to remove error handler when the jmp_buf is stored in the
main program structure, not the png_struct.
The error handler is needed because the default handler in libpng will
always use the jmp_buf in the library control structure; this is never
set. The gregbook code is a useful example because, even though it
uses setjmp/longjmp, it shows how error handling can be implemented
using control mechanisms not directly supported by libpng. The
technique will work correctly with mechanisms such as Microsoft
Structure Exceptions or C++ exceptions (compiler willing - note that gcc
does not by default support interworking of C and C++ error handling.)
2010-06-28 20:19:57 -05:00
Glenn Randers-Pehrson
6cac43c974
[devel] Changed char *msg to PNG_CONST char *msg in pngrutil.c
2010-06-26 12:33:17 -05:00
Glenn Randers-Pehrson
82980f31d9
[devel] Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or
...
floating point APIs, but not both.
2010-06-26 12:31:58 -05:00
Glenn Randers-Pehrson
a691ca0f85
[devel] Changed "#else" to "#endif/#ifdef" in png_set_gAMA_and_cHRM().
2010-06-25 22:03:21 -05:00
Glenn Randers-Pehrson
a42edec9ef
[devel] Imported from libpng-1.5.0beta33.tar
2010-06-25 21:46:45 -05:00
Glenn Randers-Pehrson
a272d8fe3d
[devel] Made FIXED and FLOATING options consistent in the APIs they enable
...
and disable. Corrected scripts/options.awk to handle both command line
options and options specified in the .dfa files.
2010-06-25 21:45:31 -05:00
Glenn Randers-Pehrson
a81c59a960
[devel] Tag recent releases.
2010-06-25 20:41:42 -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
78d55454aa
[devel] Imported from libpng-1.5.0beta27.tar
2010-06-25 20:06:33 -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
198d836483
[devel] Bump back to version libpng-1.5.0beta24
2010-04-29 11:54:35 -05:00
Glenn Randers-Pehrson
d05f3728de
[devel] Bump back to version libpng-1.5.0beta23
2010-04-29 11:52:52 -05:00
Glenn Randers-Pehrson
2b8bef1d15
[devel] make png_reset_zstream prototype in png.h conditional on PNG_READ
2010-04-29 11:50:24 -05:00
Glenn Randers-Pehrson
98914f74bf
[devel] Bump back to version libpng-1.5.0beta24
2010-04-29 10:57:18 -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
1f1becf87f
[devel] Fix a spelling typo in the contrib/pngminim makefiles
2010-04-29 09:47:12 -05:00
Glenn Randers-Pehrson
259f12628e
[devel] Deleted no longer used file scripts/def.dfn
2010-04-29 08:43:53 -05:00
Glenn Randers-Pehrson
b621794ed5
[devel] Removed contrib/pngminim/*/gather.sh
...
Source file gathering is now done in the makefile.
2010-04-29 08:41:33 -05:00
Glenn Randers-Pehrson
a0b0d8b9db
[devel] Removed dummy_inflate.c from contrib/pngminim/encoder
2010-04-29 08:40:24 -05:00
Glenn Randers-Pehrson
f10fa3c9f4
[devel] Include png_reset_zstream() in png.c only when PNG_READ_SUPPORTED
...
is defined. We are considering removing it entirely.
2010-04-29 08:25:29 -05:00
Glenn Randers-Pehrson
4a4de1899a
[devel] Added logunsupported=1 to cause pnglibconf.h to document disabled
...
options. This makes the installed pnglibconf.h more readable but causes no
other change. The intention is that users of libpng will find it
easier to understand if an API they need is missing.
2010-04-28 21:26:57 -05:00
Glenn Randers-Pehrson
cf2fd3b6ca
[devel] Corrected protection of png_get_user_transform_ptr.
...
The API declaration in png.h is removed if both READ and WRITE USER_TRANSFORM
are turned off but was left defined in pngtrans.c
2010-04-28 21:25:18 -05:00
Glenn Randers-Pehrson
1ce8133282
[devel] Corrected PNG_UNKNOWN_CHUNKS_SUPPORTED
...
to PNG_HANDLE_AS_UNKNOWN_SUPPORTED in gregbook/readpng2.c
2010-04-28 18:44:48 -05:00
Glenn Randers-Pehrson
5905484c75
[devel] Corrected PNG_REMOVED macro to take five arguments.
...
The macro was documented with two arguments (name,ordinal), however
the symbol checking .dfn files assumed five arguments. The five
argument form seems more useful so it is changed to that.
2010-04-28 13:21:03 -05:00
Glenn Randers-Pehrson
cb096a4f05
[devel] Bump back to version libpng-1.5.0beta23
2010-04-28 13:15:54 -05:00
Glenn Randers-Pehrson
b7e1abe25c
[devel] Removed extraneous contrib/pngminim/pngusr.h
2010-04-28 08:08:18 -05:00
Glenn Randers-Pehrson
d24a6b5fd0
[devel] Imported from libpng-1.5.0beta22.tar
2010-04-28 08:03:42 -05:00
Glenn Randers-Pehrson
e3e8f6bf02
[devel] Revised contrib/pngminim to use the "everything off" option
...
in pngusr.dfa.
2010-04-28 07:54:14 -05:00
Glenn Randers-Pehrson
cd74549840
[devel] Improved the options.awk script; added an "everything off" option.
2010-04-28 07:52:16 -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
bb317fb0b2
[devel] Bump to libpng-1.5.0beta22
2010-04-28 07:44:23 -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
d026f9cce6
[devel] Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
...
contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
2010-04-26 22:48:39 -05:00
Glenn Randers-Pehrson
cd01d222fb
[devel] Removed some unwanted binary bytes from the new vstudio project files.
2010-04-24 21:35:04 -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
810c2e6077
[devel] Trivial editing; changed CRLF to NEWLINE in the new vstudio project files.
2010-04-24 20:33:42 -05:00
Glenn Randers-Pehrson
d35b878b5e
[devel] Imported from libpng-1.5.0beta20.tar
2010-04-24 14:21:51 -05:00
Glenn Randers-Pehrson
5a36a3379b
[devel] Fix more permissions in version libpng-1.5.0beta20
2010-04-24 13:52:07 -05:00
Glenn Randers-Pehrson
1ebd001fb4
[devel] Bump back to version libpng-1.5.0beta20
2010-04-24 13:05:38 -05:00
Glenn Randers-Pehrson
18b897da9c
[devel] Bump back to version libpng-1.5.0beta19
2010-04-24 13:05:26 -05:00
Glenn Randers-Pehrson
d3bb6bb5c1
[devel] Update permissions in libpng-1.5.0beta20
2010-04-24 12:58:54 -05:00
Glenn Randers-Pehrson
25ea204b1b
[devel] Relaxed permissions on some files.
2010-04-24 12:54:46 -05:00
Glenn Randers-Pehrson
7b52087998
[devel] Bump to version libpng-1.5.0beta20
2010-04-24 12:23:23 -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
304a1a1754
[devel] Replaced visualc6 and visualc71 projects with new vstudio project
2010-04-24 12:15:51 -05:00
Glenn Randers-Pehrson
9ee577c7f5
[devel] Changed Windows calling convention back to __cdecl for API functions.
...
For Windows/x86 platforms only:
__stdcall is no longer needed for Visual Basic, so libpng-1.5.0 uses
__cdecl throughout (both API functions and callbacks) on Windows/x86
platforms.
2010-04-24 09:40:44 -05:00
Glenn Randers-Pehrson
c3d73f4da9
[devel] Added PNG_{READ,WRITE}_INT_FUNCTIONS_SUPPORTED.
...
This allows the functions
to read and write ints to be disabled independently of PNG_USE_READ_MACROS,
which allows libpng to be built with the functions even though the default
is to use the macros - this allows applications to choose at app build
time whether or not to use macros (previously impossible because the
functions weren't in the default build.)
2010-04-24 09:18:57 -05:00
Glenn Randers-Pehrson
1ff571914c
[devel] Don't force QUANTIZE on in scripts/symbols.dfn
...
It's now already on by default.
2010-04-24 09:16:03 -05:00
Glenn Randers-Pehrson
40f7bcc3c0
[devel] Update Makefile.in to delete the xcode project.
2010-04-24 08:37:00 -05:00
Glenn Randers-Pehrson
9e023307b9
[devel] Fix 'make distcheck'
2010-04-17 22:50:06 -05:00
Glenn Randers-Pehrson
8b1b1219e5
[devel] Bump to version libpng-1.5.0beta19
2010-04-17 19:15:01 -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
7efdbaf320
[devel] Added some PNG_NO_* defines to contrib/pngminim/*/pngusr.h to
...
save some space.
2010-04-17 18:50:23 -05:00
Glenn Randers-Pehrson
98eb24c726
[devel] Updated contrib/pngminim project to work with the new pnglibconf.h
2010-04-17 18:07:33 -05:00
Glenn Randers-Pehrson
8bdfb47d8c
[devel] Moved replacements for png_error() and png_warning() from the
...
contrib/pngminim project to pngerror.c, for use when warnings or
errors are disabled via PNG_NO_WARN or PNG_NO_ERROR_TEXT, to avoid
storing unneeded error/warning text.
2010-04-17 18:05:01 -05:00
Glenn Randers-Pehrson
aecef098f9
[devel] Restored the ability to include optional pngusr.h
2010-04-17 18:03:02 -05:00
Glenn Randers-Pehrson
8c065ddbe6
[devel] Revised contrib/pngminim/decoder to build and use pnglibconf.h
2010-04-17 12:40:12 -05:00
Glenn Randers-Pehrson
6ff9ec81c5
[devel] Attempt to get contrib/pngminim working with new pnglibconf.h
...
not quite working yet (pow is undefined)
2010-04-17 11:53:38 -05:00
Glenn Randers-Pehrson
9d976c0ef1
[devel] Change DITHER to QUANTIZE in the pnglibconf.h maintenance scripts
2010-04-17 11:47:58 -05:00
Glenn Randers-Pehrson
8fc3604418
[devel] Note in CHANGES that pngusr.h is unuseable
...
and fixed a small typo in a comment in pngconf.h
2010-04-17 10:17:46 -05:00
Glenn Randers-Pehrson
bb6d66e8ef
[devel] Bump to version libpng-1.5.0beta18
2010-04-17 09:25:02 -05:00
Glenn Randers-Pehrson
114f675bd7
[devel] Update CHANGES and ANNOUNCE
2010-04-17 09:21:40 -05:00
Glenn Randers-Pehrson
c9cd65ad7a
[devel] Update README files.
2010-04-17 09:13:37 -05:00
Glenn Randers-Pehrson
8027fed7d1
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-17 08:58:29 -05:00
Glenn Randers-Pehrson
f90165b452
[devel] Removed the xcode project (temporarily until an updated
...
version that works with libpng-1.5.0 is received)
2010-04-17 08:56:40 -05:00
Glenn Randers-Pehrson
5e69cd2c14
[devel] Revise visualc projects to work with pnglibconf.h
2010-04-17 08:48:25 -05:00
Glenn Randers-Pehrson
5eb5cce173
[devel] Fix bracketing error just introduced in pngrutil.c macro definitions.
2010-04-17 08:45:57 -05:00
Glenn Randers-Pehrson
725314432d
[devel] Revise scripts to work with pnglibconf.h
2010-04-17 08:17:51 -05:00
Glenn Randers-Pehrson
98b4f0032b
[devel] Renamed pnglconf.h to pnglibconf.h
2010-04-16 22:30:26 -05:00
Glenn Randers-Pehrson
294e380438
[devel] scripts/pnglconf.dfa comment update, correct USER_CONFIG
2010-04-16 22:20:18 -05:00
Glenn Randers-Pehrson
862cb20ea6
[devel] Freeze build-time only configuration in the build.
...
In all prior versions of libpng most configuration options
controlled by compiler #defines had to be repeated by the
application code that used libpng. This patch changes this
so that compilation options that can only be changed at build
time are frozen in the build. Options that are compiler
dependent (and those that are system dependent) are evaluated
each time - pngconf.h holds these. Options that can be changed
per-file in the application are in png.h. Frozen options are
in the new installed header file pnglconf.h
2010-04-16 22:12:51 -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
0f0a19e9ce
[devel] Expanded the CHANGES entry about disabling dithering support.
2010-04-13 22:32:16 -05:00
Glenn Randers-Pehrson
6098807252
[devel] Document the fact that png_set_dither() is no longer supported.
2010-04-13 22:11:06 -05:00
Glenn Randers-Pehrson
54ac9a918e
[devel] Slightly expanded the documentation of PNG_ABORT()
2010-04-02 17:06:22 -05:00
Glenn Randers-Pehrson
f136155383
[devel] Bump to version libpng-1.5.0beta17
2010-04-01 07:19:28 -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
3e42a99cf5
[devel] Restored the macro definition of png_check_sig().
2010-03-31 22:16:07 -05:00
Glenn Randers-Pehrson
92a3ef4a14
[devel] Combined multiple png_warning() calls for a single error.
2010-03-31 21:50:21 -05:00
Glenn Randers-Pehrson
946c3f985f
[devel] Relocated newly misplaced "else" in pngset.c
2010-03-30 14:50:07 -05:00
Glenn Randers-Pehrson
dd78d526d0
[devel] Make png_text_struct independent of PNG_iTXt_SUPPORTED
2010-03-30 08:34:02 -05:00
Glenn Randers-Pehrson
9ba962665d
[devel] Removed references to makefile.mingw from README.
2010-03-25 08:10:11 -05:00
Glenn Randers-Pehrson
844a3c050c
[devel] Bump to version libpng-1.5.0beta16
2010-03-17 07:42:04 -05:00
Glenn Randers-Pehrson
b07e8568ee
[devel] Fixed typo in CHANGES and ANNOUNCE
2010-03-17 07:39:02 -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
7e597910fd
[devel] Eliminated new gnu-specific usage of "@<" in Makefile.am
2010-03-17 07:29:42 -05:00
Glenn Randers-Pehrson
4c8f7269ff
[devel] Eliminated PNG_NO_EXTERN and PNG_ALL_EXTERN
2010-03-16 19:30:01 -05:00
Glenn Randers-Pehrson
8069aeb88e
[devel] Regenerated Makefile.in and configure; relocated libpng.def
...
to scripts/symbols.def, added scripts/checksym.*
2010-03-16 08:07:22 -05:00
Glenn Randers-Pehrson
c551c0dbb3
[devel] Added symbols.chk target to Makefile.am to validate symbols in png.h
...
against the new DEF file scripts/symbols.def.
Changed the default DEF file back to pngwin.def.
Removed makefile.mingw.
2010-03-16 07:52:34 -05:00
Glenn Randers-Pehrson
b92e2f7335
[devel] Expanded TAB characters in contrib/pngminus
2010-03-15 09:48:37 -05:00
Glenn Randers-Pehrson
42928551cf
[devel] Expanded TAB character in contrib/gregbook/rpng-x.c and rpng2-x.c
2010-03-15 08:38:06 -05:00
Glenn Randers-Pehrson
53198fb8b1
[devel] Bump to version libpng-1.5.0beta15
2010-03-14 09:46:36 -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
d00bbb29b8
[devel] Made PNG_BUILD_DLL safe: it can be set whenever a DLL is being built.
...
Removed the include of sys/types.h - apparently unnecessary now on the
platforms on which it happened (all but Mac OS and RISC OS).
Moved the Mac OS test into pngpriv.h (the only place it is used.)
2010-03-14 09:15:49 -05:00
Glenn Randers-Pehrson
2bc7abfaca
[devel] Remove references to nonexistent files from README.
2010-03-13 21:36:45 -06:00
Glenn Randers-Pehrson
882340c959
[devel] Clean up indentation of comments in pngconf.h
2010-03-13 21:19:51 -06:00
Glenn Randers-Pehrson
c44253fa0c
[devel] Fixed indentation in pngconf.h
...
Removed scripting cruft from scripts/makefile.mingw
Removed mention of now nonexistent files from scripts/README.txt
2010-03-13 20:58:39 -06:00
Glenn Randers-Pehrson
d7da8bb121
[devel] Eliminated scripts/*.def in favor of libpng.def;
...
updated projects/visualc71 and removed scripts/makefile.cygwin.
2010-03-13 20:30:10 -06:00
Glenn Randers-Pehrson
1a0e1d27e4
[devel] Expand %HEADERS% markup in Makefile.am and Makefile.in
2010-03-13 19:26:34 -06:00
Glenn Randers-Pehrson
a528fba7aa
[devel] Enabled 'attribute' warnings that are relevant to library APIs
...
and callbacks.
Changed rules for generation of the various symbol files and added a new
rule for a DEF file (which is also added to the distribution).
Updated the symbol file generation to stop it adding spurious spaces
to EOL (coming from preprocessor macro expansion). Added a facility
to join tokens in the output and rewrite *.dfn to use this.
2010-03-12 21:03:18 -06:00
Glenn Randers-Pehrson
eae8e36ec4
[devel] PNG_EXPORT changed to include an 'ordinal' field
...
for DEF file generation.
PNG_CALLBACK added to make callback definitions uniform. PNGAPI split
into PNGCAPI (base C form), PNGAPI (exports) and PNGCBAPI (callbacks),
and appropriate changes made to all files. Cygwin builds re-hinged to
allow procedure call standard changes and to remove the need for the DEF
file (fixes build on Cygwin).
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
2010-03-12 17:36:53 -06:00
Glenn Randers-Pehrson
69dd5f56f8
[devel] Added back in export symbols that can be present
...
in the Windows build but are disabled by default.
2010-03-11 17:38:18 -06:00
Glenn Randers-Pehrson
300c8aea4d
[devel] Corrected CE and OS/2 DEF files (scripts/png*def)
...
for symbols removed and added ordinal numbers to the Windows DEF file,
and corrected the duplicated ordinal numbers on CE symbols that are
commented out.
2010-03-11 06:24:01 -06:00
Glenn Randers-Pehrson glennrp@comcast.net
d0e35cdb53
[devel] Revised Makefile.am to account for recent additions and replacements.
2010-03-11 05:48:32 -06:00
Glenn Randers-Pehrson
526a6ad5f6
[devel] Removed direct access to png_ptr->io_ptr from the pngtest Windows code
2010-03-11 05:42:20 -06:00
Glenn Randers-Pehrson
2f7cbabfda
[devel] Bump to version libpng-1.5.0beta14
2010-03-10 09:12:11 -06:00
Glenn Randers-Pehrson
c6fecfbaa5
[devel] Imported from libpng-1.5.0beta13.tar
2010-03-10 09:12:03 -06:00
Glenn Randers-Pehrson
632a84eff7
[devel] Make all png_debug macros into *unterminated* statements
...
or expressions (i.e. a trailing ';' must always be added) and correct
the format statements in various png_debug messages.
2010-03-09 22:28:33 -06:00
Glenn Randers-Pehrson
31f92b0ffa
[devel] Eliminated dependence of pngtest.c on the private pngdebug.h file.
2010-03-09 16:47:59 -06:00
Glenn Randers-Pehrson
f70645c592
[devel] Removed PNGAPI from the png_longjmp_ptr typedef.
2010-03-09 16:46:49 -06:00
Glenn Randers-Pehrson
dc6182a307
[devel] Moved the 'config.h' support from pngconf.h to pngpriv.h
2010-03-09 16:45:06 -06:00
Glenn Randers-Pehrson
f2c99bd5dc
[devel] Removed unused png_measure_compressed_chunk() from pngpriv.h
...
and libpngpf.3
2010-03-09 08:40:52 -06:00
Glenn Randers-Pehrson
afa999d446
[devel] Revise the "#ifdef" blocks in png_inflate()
...
so it will compile when neither PNG_USER_CHUNK_MALLOC_MAX nor
PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED is defined.
2010-03-09 07:52:30 -06:00
Glenn Randers-Pehrson
3919f23a69
[devel] Protect pngstruct.h pnginfo.h, and pngdebug.h from being included twice
2010-03-08 21:52:28 -06:00
Glenn Randers-Pehrson
c957b6b0a4
[devel] Bump to version libpng-1.5.0beta13
2010-03-08 21:49:31 -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
c17c957f95
[devel] Added copyright statement to pngdebug.h
...
and removed a redundant line from the copyright info in pngconf.h
2010-03-08 21:26:48 -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
b709c4aedc
[devel] Updated TODO list now that png_struct and info_struct are hidden
...
and setjmp usage has been improved.
2010-03-08 11:34:41 -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
6f6a91a131
[devel] Fix indentation in png.c, pngmem,c, pngrio.c, and pngwio.c
2010-03-06 13:54:59 -06:00
Glenn Randers-Pehrson
e8b1aa0c5a
[devel] Fixed more inconsistent indentation in the header files.
2010-03-06 11:39:29 -06:00
Glenn Randers-Pehrson
d4df36c7f0
[devel] Fixed indentation of CPP directives in the header files
...
with the help of "cppi".
2010-03-06 10:45:55 -06:00
Glenn Randers-Pehrson
a565f0e234
[devel] Always put whitespace before "?"
2010-03-06 08:24:45 -06:00
Glenn Randers-Pehrson
72cda2db72
[devel] Expand tabs and use consistent whitespace in pngrutil.c
2010-03-06 08:18:03 -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
da30135c4c
[devel] Fix whitespace in pngerror.c and pngset.c
2010-03-06 06:42:48 -06:00
Glenn Randers-Pehrson
45624d6c2c
[devel] Fix inconsistent whitespace in pngtrans.c, pngwrite.c, and pngwtran.c
2010-03-03 11:40:43 -06:00
Glenn Randers-Pehrson
4e763f1b30
[devel] Revised the "SEE ALSO" lines in manpages
...
to look like those in "man man"
2010-03-03 10:45:50 -06:00
Glenn Randers-Pehrson
7fb32a8621
[devel] Fixed formatting of the "See also" line in man pages.
2010-03-03 09:47:49 -06:00
Glenn Randers-Pehrson
3ea36758ef
[devel] Fix inconsistent whitespace and indentation.
2010-03-03 09:35:31 -06:00
Glenn Randers-Pehrson
262d0ff047
[devel] Tidied up some inconsistent indentation.
2010-03-03 07:06:54 -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
6c2e919c7e
[devel] Removed checking for already-included setjmp.h from pngconf.h
2010-03-03 05:37:04 -06:00
Glenn Randers-Pehrson
d259e6c570
[devel] Revised png_longjmp() calls in contrib/gregbook to use png_ptr
2010-02-21 23:36:35 -06:00
Glenn Randers-Pehrson
4531ded5c1
[devel] Removed unused gzio.c from contrib/pngminim gather and makefile scripts
...
This is necessary when libz is upgraded to 1.2.4
2010-02-21 23:07:13 -06:00
Glenn Randers-Pehrson
95ca51b6e2
[devel] Imported from libpng-1.5.0beta09.tar
2010-02-19 14:13:03 -06:00
Glenn Randers-Pehrson
a24fc2e1d3
[devel] Removed -D_ALLSOURCE from configure.ac, makefile.aix,
...
and CMakeLists.txt, and changed the name of png_ptr->jmpbuf in pngstruct.h
to png_ptr->png_jmpbuf.
2010-02-19 14:11:03 -06:00
Glenn Randers-Pehrson
69e238b098
[devel] Imported from libpng-1.5.0beta08.tar
2010-02-19 12:59:44 -06:00
Glenn Randers-Pehrson
64af5394f5
[devel] Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
...
when building on AIX.
2010-02-19 12:50:45 -06:00
Glenn Randers-Pehrson
1beadafcc7
[devel] Added PNG_NORETURN attribute to the png_longjmp() function.
2010-02-19 11:26:40 -06:00
Glenn Randers-Pehrson
81dab093fc
[devel] Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" to pngpriv.h,
...
otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
2010-02-19 11:02:41 -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
f98726ae98
[devel] Added exported png_longjmp() function.
2010-02-19 09:54:53 -06:00
Glenn Randers-Pehrson
946199e8e4
[devel] Removed obsolete unused MMX-querying support from contrib/gregbook
2010-02-19 07:57:34 -06:00
Glenn Randers-Pehrson
cce6521a9f
[devel] Noted in scripts/makefile.mingw that it expects to be run under MSYS.
2010-02-18 23:03:09 -06:00
Glenn Randers-Pehrson
63ee896ab5
[devel] Fix typo in ANNOUNCE and CHANGES
2010-02-14 07:47:39 -06:00
Glenn Randers-Pehrson
9e966cadbd
[devel] Bump to version 1.5.0beta07
2010-02-14 07:45:27 -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
288ea702f2
[devel] Update png_compress_chunk() rewrite.
2010-02-12 21:20:37 -06:00
Glenn Randers-Pehrson
ee4eb9a910
[devel] Added several (png_bytep) typecasts in calls to png_inflate().
2010-02-12 20:30:45 -06:00
Glenn Randers-Pehrson
9d51afcacb
[devel] Complete rewrite of png_decompress_chunk() by John Bowler
2010-02-12 20:12:56 -06:00
Glenn Randers-Pehrson
389c1f20ad
[devel] Revised png_measure_compressed_chunk()
...
too break from "while" and issue a png_warning on over limit.
2010-02-12 14:14:15 -06:00
Glenn Randers-Pehrson
4748a3346e
[devel] Reset zlib datastream after detecting oversized compressed chunk
2010-02-12 13:55:01 -06:00
Glenn Randers-Pehrson
9b0956fed1
[devel] Reverted to original png_decompress_chunk() plus counting pass.
2010-02-12 11:17:22 -06:00
Glenn Randers-Pehrson
7d1f5914e5
[devel] Relocated misplaced closing curley bracket in png_decompress_chunk().
...
Removed unused "buffer_size" variable from png_decompress_chunk().
2010-02-11 23:03:26 -06:00
Glenn Randers-Pehrson
2f84504413
[devel] Removed the cbuilder5 project, which has not been updated to 1.4.0.
2010-02-09 02:01:22 -06:00
Glenn Randers-Pehrson
42f93fb706
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
2010-02-09 01:58:47 -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
3f506b788e
[devel] Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h
...
and undid the linewrapping that it required.
Revised comments in pngstruct.h and pnginfo.h and added pointers to
the libpng license.
2010-02-09 00:36:08 -06:00
Glenn Randers-Pehrson
db5f4307ca
[devel] Bump to version libpng-1.5.0beta05
2010-02-08 23:34:43 -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
f0cdbe7e03
[devel] Removed malformed "incomplete struct declaration" of png_info
...
from png.h
2010-02-08 23:18:15 -06:00
Glenn Randers-Pehrson
42c4ebbea6
[devel] Bump to version libpng-1.5.0beta04
2010-02-08 15:48:07 -06:00
Glenn Randers-Pehrson
f1eb918dc8
[devel] Imported from libpng-1.5.0beta03.tar
2010-02-08 15:42:16 -06:00
Glenn Randers-Pehrson
3c6df196b5
[devel] Updated configure script to use SO number 15.
2010-02-08 15:40:53 -06:00
Glenn Randers-Pehrson
0014f3de55
[devel] Removed two new incorrect typedefs in png.h
2010-02-08 05:41:30 -06:00
Glenn Randers-Pehrson
e00ed36d71
[devel] Imported from libpng-1.5.0beta02.tar
2010-02-07 22:52:08 -06:00
Glenn Randers-Pehrson
c40df89cef
[devel] Fixed incorrect test in new png_push_save_buffer() code.
2010-02-07 19:49:07 -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
a0e0c6c8e7
[devel] Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
...
in pngtest.c
2010-01-01 18:31:26 -06:00
Glenn Randers-Pehrson
a58818a079
[devel] Imported from libpng-1.4.0rc07.tar
2010-01-01 10:31:50 -06:00
Glenn Randers-Pehrson
e69b55d9ac
[devel] Update copyright year to 2010
2010-01-01 10:29:06 -06:00
Glenn Randers-Pehrson
a515d3066e
[devel] Use png_calloc() instead of png_malloc(); png_memset() in pngrutil.c
2010-01-01 10:25:39 -06:00
Glenn Randers-Pehrson
45af819322
[devel] Updated documentation about libpng-1.2 to 1.4 differences.
2009-12-30 08:37:29 -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
e52c7ac7a3
[devel] Imported from libpng-1.4.0rc05.tar
2009-12-27 16:39:14 -06:00
Glenn Randers-Pehrson
5ce838be40
[devel] Fix typo in INSTALL
2009-12-26 09:57:02 -06:00
Glenn Randers-Pehrson
a687af1e72
[devel] Changed "libpng-pc.in" to "libpng.pc.in" in configure.ac, configure,
...
and Makefile.in to be consistent with changes in libpng-1.4.0rc03
2009-12-25 16:17:30 -06:00
Glenn Randers-Pehrson
70529c3b40
[devel] Bump version to 1.4.0rc05
2009-12-25 16:15:50 -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
6ba9088de9
[devel] Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
...
in pngset.c to be consistent with other changes in version 1.2.38.
2009-12-25 14:26:13 -06:00
Glenn Randers-Pehrson
7520224a42
[devel] Bump to version 1.4.0rc04
2009-12-25 14:25:29 -06:00
Glenn Randers-Pehrson
296f64a43e
[devel] Imported from libpng-1.4.0rc03.tar
2009-12-22 09:38:19 -06:00
Glenn Randers-Pehrson
d44e05a363
[master] Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
...
(revising the change in 1.4.0beta99)
2009-12-22 09:16:15 -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
094340d287
[devel] Bump to version 1.4.0beta110
2009-12-13 15:39:00 -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
ffa8924330
[devel] Added "bit_depth" parameter to the private png_build_gamma_table()
...
function. Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16
but the PNG_16_TO_8 transform has been set, to avoid unnecessary build of
16-bit tables.
2009-12-13 08:14:40 -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
7a59e1eae8
[devel] Relocated png_do_chop() to its original position in pngrtran.c
...
The change in version 1.2.41beta08 caused transparency to be handled wrong
in some 16-bit datastreams (Yusaku Sugai).
2009-12-11 07:57:36 -06:00
Glenn Randers-Pehrson
3da965ce4b
[devel] Removed leftover "-DPNG_CONFIGURE_LIBPNG"
...
from contrib/pngminim/*/makefile
2009-12-11 07:56:25 -06:00
Glenn Randers-Pehrson
f633e33632
[devel] Fix typo in CHANGES and ANNOUNCE (libpng12 should be libpng14)
2009-12-04 17:06:40 -06:00
Glenn Randers-Pehrson
914a7e3d4f
[devel] Bump to version 1.4.0beta108
2009-12-04 17:05:57 -06:00
Glenn Randers-Pehrson
d84af669dc
[devel] Imported from libpng-1.4.0beta107.tar
2009-12-04 09:48:05 -06:00
Glenn Randers-Pehrson
451fd6c439
[devel] use PNG_NO_PEDANTIC_WARNINGS instead of PNG_CONFIGURE_LIBPNG
...
to disable the warnings in pngconf.h
2009-12-04 08:46:31 -06:00
Glenn Randers-Pehrson
316152fe73
[devel] Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
...
to put png.h and pngconf.h in $prefix/include, like the other scripts,
instead of in $prefix/include/libpng. Also revised makefile.sco
to put them in $prefix/include/libpng12 instead of in
$prefix/include/libpng/libpng12.
2009-12-04 08:42:32 -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
ce96c3e6b7
[devel] Updated README
2009-11-27 16:17:19 -06:00
Glenn Randers-Pehrson
133840ba4b
[devel] Bump to version 1.4.0beta107
2009-11-27 06:09: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
5876b850b2
[devel] Removed premultiplied alpha feature.
...
It will be replaced in the future with a function that accounts for gamma.
2009-11-27 00:24:42 -06:00
Glenn Randers-Pehrson
4cfdb3c095
[devel] Add comment about TODO: issue warning if user tries to premultiply
...
in a nonliner colorspace.
2009-11-26 11:49:37 -06:00
Glenn Randers-Pehrson
b2154ccb2b
[devel] Moved the PNG_DIVIDE_* and PNG_*_PREMULTIPLY macros
...
from png.h to pngpriv.h.
2009-11-26 11:48:15 -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
9d172423df
[devel] Added missing "(" in new PNG_DIVIDE macro.
2009-11-24 20:17:58 -06:00
Glenn Randers-Pehrson
ec29c6507b
[devel] Changed "v" to "(v)" and "65535" to "65535L" in the new macros.
2009-11-24 08:40:44 -06:00
Glenn Randers-Pehrson
768429bbc1
[devel] Use fast integer PNG_DIVIDE_BY_255() or PNG_DIVIDE_BY_65535()
...
to accomplish alpha premultiplication when PNG_READ_COMPOSITE_NODIV_SUPPORTED
is defined. Changed "/255" to "/255.0" in background calculations to make it
clear that the 255 is used as a double (and to prevent anyone from being
tempted to use PNG_DIVIDE_BY_255() there).
2009-11-24 07:26:06 -06:00
Glenn Randers-Pehrson
2a087220dd
[devel] Bump to version 1.4.0beta105
2009-11-21 21:54:53 -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
eae2cf0add
[devel] Rebuilt configure scripts with autoconf-2.65
2009-11-21 21:50:07 -06:00
Glenn Randers-Pehrson
ae3a70351c
[devel] Removed png_longjmp_ptr from scripts/*.def and libpng.3
...
It is a pointer, not an exported function.
2009-11-21 07:21:06 -06:00
Glenn Randers-Pehrson
52f4f257c9
[devel] Bump to version 1.4.0beta104
2009-11-20 23:01:45 -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
1e6ed7364b
[devel] Added png_set_longjmp_fn to scripts/*.def
...
and moved it from libpngpf.3 to libpng.3 since it is exported.
2009-11-20 22:06:56 -06:00
Glenn Randers-Pehrson
4a72ebfafa
[devel] Added png_longjmp_ptr() to libpng.3 synopsis and to scripts/*.def
...
and png_set_longjmp_fn() to libpngpf.3 synopsis
2009-11-20 21:56:36 -06:00
Glenn Randers-Pehrson
f4ea22480a
[devel] Make the 'png_jmpbuf' macro expand to a call that records the correct
...
longjmp function as well as returning a pointer to the setjmp
jmp_buf buffer, and marked direct access to jmpbuf 'deprecated'.
(John Bowler)
2009-11-20 21:38:24 -06:00
Glenn Randers-Pehrson
eddc5af8f5
[devel] Align row_buf on 16-byte boundary in memory.
2009-11-20 21:15:06 -06:00
Glenn Randers-Pehrson
edcd6e14c6
[devel] Restored the PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED guard
...
around the call to png_flush() after png_write_IEND(). See 1.4.0beta32,
1.4.0beta50 changes above and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41
CHANGES in the libpng_master branch. Someone needs this feature but
I don't remember who.
2009-11-20 20:28:29 -06:00
Glenn Randers-Pehrson
311c8476f8
[devel] Bump to version 1.4.0beta103
2009-11-20 09:46:59 -06:00
Glenn Randers-Pehrson
e5403da657
[master] Removed obsolete comments about ASM
...
from projects/visualc71/README_zlib.txt
2009-11-18 15:50:27 -06:00
Glenn Randers-Pehrson
a7eda24870
[devel] Bump to version 1.4.0rc02
2009-11-18 15:49:11 -06:00
Glenn Randers-Pehrson
bda72552bf
[devel] Removed comments on ASM from projects/visualc71/README_zlib.txt
2009-11-18 15:34:39 -06:00
Glenn Randers-Pehrson
a02188ae94
[devel] Bump to version libpng-1.4.0beta102
2009-11-18 15:32:35 -06:00
Glenn Randers-Pehrson
5b7d8ff306
[devel] Bump to version 1.4.0rc02
2009-11-18 15:32:33 -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
9d27a1becf
[devel] Moved descriptions of makefiles and other scripts out of INSTALL
...
into scripts/README.txt and updated the copyright year in scripts/pngwin.rc
from 2006 to 2009.
2009-11-15 07:59:06 -06:00
Glenn Randers-Pehrson
c00408a4e5
[devel] Fixed two new typos in projects/visualc6/pngtest.dsp
2009-11-15 06:08:29 -06:00
Glenn Randers-Pehrson
bb0f557859
[devel] Added libpng-config.in and libpng-pc.in to the zip and 7z
...
distributions (they are needed by CMakeList.txt).
2009-11-15 05:49:13 -06:00
Glenn Randers-Pehrson
ac18f8a706
[devel] Bump to version 1.4.0beta102
2009-11-14 21:52:06 -05:00
Glenn Randers-Pehrson
a2aebb551e
[devel] Bumped INSTALL back to version beta101.
2009-11-14 17:58:32 -06:00
Glenn Randers-Pehrson
354bdb0d58
[devel] Revised INSTALL file slightly.
2009-11-14 17:45:58 -06:00
Glenn Randers-Pehrson
8e3389e574
[devel] Imported from libpng-1.4.0beta101.tar
2009-11-14 17:05:12 -06:00
Glenn Randers-Pehrson
0dfd8d379b
[devel] Bump to version 1.4.0beta101
2009-11-14 14:58:35 -06:00
Glenn Randers-Pehrson
3c38651e8c
[devel] Imported from libpng-1.4.0beta100.tar
2009-11-14 13:59:32 -06:00
Glenn Randers-Pehrson
22ad8f0e7a
[devel] Updated INSTALL to reflect removal and relocation of files.
2009-11-14 07:25:31 -06:00
Glenn Randers-Pehrson
76a64f4491
[devel] Revised CMakeLists.txt to account for new location of libpng-config.in
...
and libpng-pc.in
2009-11-14 06:58:16 -06:00
Glenn Randers-Pehrson
5741bac1c6
[devel] Removed scripts/makefile.nommx and makefile.vcawin32
2009-11-14 06:45:48 -06:00
Glenn Randers-Pehrson
8590d46785
[devel] Removed ASM builds from projects/visualc6 and projects/visualc71
2009-11-14 06:26:46 -06:00
Glenn Randers-Pehrson
71cff967a9
[devel] Bump to version 1.4.0beta100
2009-11-14 06:25:31 -06:00
Glenn Randers-Pehrson
b612eee957
[devel] Imported from libpng-1.4.0beta99.tar
2009-11-14 05:45:49 -06:00
Glenn Randers-Pehrson
28d4aae5b9
[devel] Moved libpng-config.in and libpng.pc-configure.in out of the scripts
...
directory, to libpng-config.in and libpng-pc.in, respectively, and
modified Makefile.am and configure.ac accordingly. Now "configure"
needs nothing from the "scripts" directory.
Also, avoid redefining PNG_CONST in pngconf.h
2009-11-13 16:29:45 -06:00
Glenn Randers-Pehrson
11313ba8e7
[devel] Imported from libpng-1.4.0beta98.tar
2009-11-13 05:19:59 -06:00
Glenn Randers-Pehrson
d708cb8360
[devel] Bump to version 1.4.0beta98
2009-11-12 22:36:41 -06:00
Glenn Randers-Pehrson
78c419c698
[devel] Imported from libpng-1.4.0beta97.tar
2009-11-12 22:27:19 -06:00
Glenn Randers-Pehrson
3f2b6a67d1
[devel] Bump to version 1.4.0beta97
2009-11-12 21:05:30 -06:00
Glenn Randers-Pehrson
9ef984d168
[devel] Bump to version 1.4.0beta98
2009-11-12 20:29:56 -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
1c6959cfbe
[devel] Revised Makefile.am for better shared library names.
2009-11-12 18:10:00 -06:00
Glenn Randers-Pehrson
be199c1304
[devel] Updated INSTALL with new list of files in the projects directory.
2009-11-12 13:57:42 -06:00
Glenn Randers-Pehrson
51633b7bd7
[devel] Removed projects/beos since no one seems to be supporting it.
...
Also netware.txt
2009-11-12 13:48:02 -06:00
Glenn Randers-Pehrson
0acc99fdcd
[devel] Restored pngtest.png to the libpng-1.4.0beta7 version.
2009-11-12 12:23:07 -06:00
Glenn Randers-Pehrson
f210a05c37
[devel] Restored recent documentation changes.
2009-11-12 10:02:24 -06:00
Glenn Randers-Pehrson
9d57241790
[devel] Bump to version 1.4.0beta97
2009-11-12 10:01:25 -06:00
Glenn Randers-Pehrson
30ec56c8d3
[devel] Fixed up some line-wrapping in the documentation.
2009-11-12 09:57:06 -06:00
Glenn Randers-Pehrson
ce00e7de36
[devel] Imported from libpng-1.4.0beta96.tar
2009-11-12 08:53:06 -06:00
Glenn Randers-Pehrson
4e1e199da8
[devel] Added PNG_PRIVATE macro definition in pngconf.h for possible future use.
...
(ported from the "master" branch)
2009-11-12 08:29:21 -06:00
Glenn Randers-Pehrson
7336dd4a97
[devel] Revised pngtest.png again....
2009-11-12 08:19:37 -06:00
Glenn Randers-Pehrson
03c1bf96b2
[devel] Revised pngtest.png to put chunks in the same order written by pngtest
...
(evidently the same change made in libpng-1.0beta54 was lost).
2009-11-12 08:13:25 -06:00
Glenn Randers-Pehrson
ef07ed3bf8
[devel] Removed recently removed function names from scripts/*.def
...
and removed the deprecated png_check_sig() function.
2009-11-12 07:43:57 -06:00
Glenn Randers-Pehrson
197c2f3244
[devel] Revised Makefile.am to use libpng.sys while building libpng.so
...
so that only PNG_EXPORT functions are exported.
2009-11-12 07:03:54 -06:00
Glenn Randers-Pehrson
bdbade92a7
[devel] Bump to version 1.4.0beta96
2009-11-12 06:24:42 -06:00
Glenn Randers-Pehrson
b0dd0ad7af
[devel] Renamed scripts/makefile.wce to scripts/makefile.cegcc
2009-11-10 10:34:32 -06:00
Glenn Randers-Pehrson
95a15f7a83
[devel] Bump to version libpng-1.4.0rc02
2009-11-10 10:29:18 -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
d88da23cbd
[devel] Added dependency on pngpriv.h in contrib/pngminim/*/makefile
2009-11-09 13:34:10 -06:00
Glenn Randers-Pehrson
d5513a7490
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:28:15 -06:00
Glenn Randers-Pehrson
3d7e15f353
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:05:40 -06:00
Glenn Randers-Pehrson
ec3f949874
[devel] Fixed some deprecated usages in the contrib directory.
2009-11-09 10:49:12 -06:00
Glenn Randers-Pehrson
884297323d
[devel] Fixed a typo in a comment in CMakeLists.txt
2009-11-09 08:32:53 -06:00
Glenn Randers-Pehrson
015289e21d
[devel] Bump to version 1.4.0beta95
2009-11-09 06:58:18 -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
44db6e39c3
[devel] Make PNG_DEPSTRUCT, etc., configurable.
...
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
2009-11-08 20:36:28 -06:00
Glenn Randers-Pehrson
013d1d68c0
[devel] Removed dependency of pngtest.o on pngpriv.h in the makefiles.
2009-11-08 13:28:18 -06:00
Glenn Randers-Pehrson
69b0bc089a
[devel] Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to definitions.
2009-11-07 12:02:48 -06:00
Glenn Randers-Pehrson
0dd4a43f49
[devel] Removed the obsolete, unused pnggccrd.c and pngvcrd.c files.
2009-11-07 11:52:33 -06:00
Glenn Randers-Pehrson
727d3d7463
[devel] Bump to version bump-to-1.4.0beta94.tar
2009-11-07 11:09:16 -06:00
Glenn Randers-Pehrson
c2fb9ec3fa
[devel] Imported from libpng-1.4.0beta93.tar
2009-11-07 11:00:17 -06:00
Glenn Randers-Pehrson
9a4ed98618
[master] Revised projects to account for new deprecated-stuff detection
...
Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".
They should work but still need to be updated to remove
references to pnggccrd.c or pngvcrd.c and ASM building.
Added README.txt to the beos, cbuilder5, netware, and xcode projects warning
that they need to be updated, to remove references to pnggccrd.c and
pngvcrd.c and to depend on pngpriv.h
2009-11-07 10:55:04 -06:00
Glenn Randers-Pehrson
58c4f6b355
Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS
...
to prevent warnings about direct access to png structs by libpng functions
while building libpng. They need to be tested, especially
those using compilers other than gcc.
2009-11-07 10:50:29 -06:00
Glenn Randers-Pehrson
d29033f264
[master] Added macros to detect use of deprecated features.
...
Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
PNG_ALLOCATED macros to detect deprecated direct access to the
png_struct or info_struct members and other deprecated usage in
applications (John Bowler).
Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS, to prevent warnings
about direct access to png structs by libpng functions while building
libpng.
Removed three direct references to read_info_ptr members in pngtest.c
that were detected by the new PNG_DEPSTRUCT macro.
Moved the png_debug macro definitions and the png_read_destroy(),
png_write_destroy() and png_far_to_near() prototypes from png.h
to pngpriv.h (John Bowler)
Moved the synopsis lines for png_read_destroy(), png_write_destroy()
png_debug(), png_debug1(), and png_debug2() from libpng.3 to libpngpf.3.
2009-11-07 10:46:42 -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
d740c8425e
[devel] Show differences between 1.2.40 and 1.4.0
...
instead of between 1.2.41 and 1.4.0 in documentation.
2009-11-04 19:01:54 -06:00
Glenn Randers-Pehrson
9038c3bc48
[devel] Removed "#define 1_4_X" migration aid from pngconf.h
2009-11-03 19:22:32 -06:00
Glenn Randers-Pehrson
74b5acc35d
[devel] Make PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
2009-11-03 12:27:25 -06:00
Glenn Randers-Pehrson
45b8761bc8
[devel] Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_tIME_SUPPORTED
2009-11-03 11:42:05 -06:00
Glenn Randers-Pehrson
cef4f14470
[devel] Added "pngpriv.h" to include list for makefile.wce
2009-11-03 07:17:50 -06:00
Glenn Randers-Pehrson
53651229b5
[devel] Bump version to 1.4.0beta92
2009-11-03 06:59:45 -06:00
Glenn Randers-Pehrson
555126e06f
[devel] Imported from libpng-1.4.0beta91.tar
2009-11-03 06:52:48 -06:00
Glenn Randers-Pehrson
163fd0a3e8
[devel] Added scripts/makefile.wce and scripts/png32ce.def
...
for supporting WindowsCE.
2009-11-02 21:01:19 -06:00
Glenn Randers-Pehrson
ef9c0e9b19
[devel] Fixed typo in pngrtran.c
2009-11-02 15:42:31 -06:00
Glenn Randers-Pehrson
65d235a5db
[devel] Use the new PNG_CONVERT_tIME_SUPPORTED macro in pngwrite.c
2009-11-02 11:32:30 -06:00
Glenn Randers-Pehrson
0cb46e200c
[devel] Added PNG_CONVERT_tIME_SUPPORTED macro.
2009-11-02 11:24:33 -06:00
Glenn Randers-Pehrson
3ce2146941
[devel] Added WinCE support to ltmain.sh
2009-11-02 09:21:46 -06:00
Glenn Randers-Pehrson
33023522ba
[devel] Bump version to 1.4.0beta91
2009-11-02 07:38:45 -06:00
Glenn Randers-Pehrson
d6ea40a7f0
[devel] Imported from libpng-1.4.0beta90.tar
2009-11-02 07:36:15 -06:00
Glenn Randers-Pehrson
99106deaa2
[devel] Restored WIN32_WCE #ifdefs involving the time.h "tm" structure
...
WindowsCE does not provide the "tm" structure.
2009-11-01 16:26:14 -06:00
Glenn Randers-Pehrson
34a2ebdc4f
[devel] Removed obsolete comments about WindowsCE not having time.h
2009-11-01 06:59:27 -06:00
Glenn Randers-Pehrson
418783e760
[devel] Removed all remaining WIN32_WCE #ifdefs
2009-11-01 06:45:09 -06:00
Glenn Randers-Pehrson
07def6f68b
[devel] Bump version to 1.4.0beta90
2009-10-31 21:43:26 -05:00
Glenn Randers-Pehrson
8f5846f86d
[devel] Imported from libpng-1.4.0beta89.tar
2009-10-31 21:43:16 -05:00
Glenn Randers-Pehrson
f298db9762
[devel] Fix typo in pngconf.h
2009-10-31 21:32:08 -05:00
Glenn Randers-Pehrson
ef29a5e827
[devel] Apply png_user_chunk_cache_max within png_decompress_chunk()
...
and merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
2009-10-31 19:37:05 -05:00
Glenn Randers-Pehrson
8fe28948ca
[devel] Removed a harmless extra png_set_invert_alpha()
...
from pngwrite.c
2009-10-31 12:31:06 -05:00
Glenn Randers-Pehrson
ee35abbcd0
[devel] More bugfixes and improvements to CMakeLists.txt
...
(Contributed by Philip Lowman)
2009-10-30 15:42:54 -05:00
Glenn Randers-Pehrson
e108e19daf
[devel] Bump version to 1.4.0beta89
2009-10-30 15:35:41 -05:00
Glenn Randers-Pehrson
733da8cc46
[devel] Bump version to 1.4.0beta88
2009-10-30 00:01:48 -05:00
Glenn Randers-Pehrson
5df7edb6af
[devel] Imported from libpng-1.4.0beta87.tar
2009-10-29 23:55:21 -05:00
Glenn Randers-Pehrson
4f25bf37c2
[devel] Revised libpng.txt about 1.2.x->1.4.0 differences
2009-10-29 23:34:44 -05:00
Glenn Randers-Pehrson
dfa99afe40
[devel] Fixed some indentation
...
in pngwutil.c
2009-10-29 23:33:46 -05:00
Glenn Randers-Pehrson
c1a4d64a7b
[devel] Bump version to 1.4.0beta87
2009-10-29 23:31:06 -05:00
Glenn Randers-Pehrson
a2567be084
[devel] Imported from libpng-1.4.0rc01.tar
2009-10-19 20:36:57 -05:00
Glenn Randers-Pehrson
614b91ded0
[devel] Cosmetic changes in pngwrite.c
...
Changed "=" to " = " where needed.
2009-10-17 19:00:18 -05:00
Glenn Randers-Pehrson
bee5836721
[devel] Trivial cosmetic hanges in pngwrite.c
...
Changed "=" to " = ".
2009-10-17 18:29:52 -05:00
Glenn Randers-Pehrson
2f89d766fc
[devel] Fix an incorrect #ifdef in pngerror.c
2009-10-13 18:04:41 -05:00
Glenn Randers-Pehrson
a98aa48e57
[devel] Fixed some incorrect indentation in pngrutil.c
2009-10-13 09:23:39 -05:00
Glenn Randers-Pehrson
fa0281061b
[devel] Bump version to 1.4.0beta87
2009-10-10 06:26:55 -05:00
Glenn Randers-Pehrson
ea15ec6aa2
[devel] Imported from libpng-1.4.0beta86.tar
2009-10-10 06:25:39 -05:00
Glenn Randers-Pehrson
90b878c583
[devel] Eliminated a shadowed declaration of "pp"
...
in png_handle_sPLT().
2009-10-07 12:44:35 -05:00
Glenn Randers-Pehrson
132c7b03f0
[devel] Removed dup entries in xcode project's .gitignore
2009-10-05 12:11:49 -05:00
Glenn Randers-Pehrson
c5e4cd3345
[devel] Added projects/xcode/libpng.xcodeproj/.gitignore
2009-10-04 15:55:00 -05:00
Glenn Randers-Pehrson
aeaae7210f
[devel] Updated the "xcode" project (Alam Arias).
2009-10-02 09:58:15 -05:00
Glenn Randers-Pehrson
b69df93ec3
[devel] Bump version to 1.4.0beta86
2009-10-02 09:41:09 -05:00
Glenn Randers-Pehrson
0bfb58ff80
[devel] Imported from libpng-1.4.0beta85.tar
2009-09-30 23:14:01 -05:00
Glenn Randers-Pehrson
b35a745561
[devel] Revised png_check_IHDR() again
...
to check info_ptr members instead of the contents of the returned parameters.
2009-09-30 23:12:13 -05:00
Glenn Randers-Pehrson
b91c634df1
[devel] Bump version to 1.4.0beta85
2009-09-30 16:02:33 -05:00
Glenn Randers-Pehrson
5ade7edd7e
[devel] Imported from libpng-1.4.0beta84.tar
2009-09-30 15:13:12 -05:00
Glenn Randers-Pehrson
dd66f3ed20
[devel] Revised png_check_IHDR()
...
to add a test for user passing a 16-bit height varible to png_get_IHDR()
which causes an overflow into the high bytes of the width variable.
2009-09-30 14:58:28 -05:00
Glenn Randers-Pehrson
6076da8079
[devel] Fixed some inconsistent indentation in pngconf.h
...
and mentioned use of 2-space indentation in macro definitions in
the libpng style guide.
2009-09-30 12:28:07 -05:00
Glenn Randers-Pehrson
d237dacd83
[devel] Bump version to 1.4.0beta84
2009-09-25 11:56:46 -05:00
Glenn Randers-Pehrson
398a4138d5
[devel] Imported from libpng-1.4.0beta83.tar
2009-09-25 11:53:42 -05:00
Glenn Randers-Pehrson
7ec330ddeb
[devel] Revised png_check_IHDR()
...
to eliminate bogus complaint about filter_type.
2009-09-25 11:45:42 -05:00
Glenn Randers-Pehrson
6564abbf26
[devel] Bump version to bump_to_1.4.0beta83
2009-09-24 20:10:18 -05:00
Glenn Randers-Pehrson
b4f9901580
[devel] Imported from libpng-1.4.0beta82.tar
2009-09-24 20:09:23 -05:00
Glenn Randers-Pehrson
85b0237adc
[devel] Eliminated useless call to png_check_cHRM() from pngset.c
...
in png_set_gAMA_and_cHRM() where we supply the cHRM constants and
therefore we know they are OK.
2009-09-24 19:49:13 -05:00
Glenn Randers-Pehrson
4071d1ed7e
[devel] Add png_check_IHDR() to documentation synopses
...
also png_check_cHRM_fixed() which was apparently overlooked when it
was created.
2009-09-24 19:33:47 -05:00
Glenn Randers-Pehrson
134bbe416d
[devel] Improve IHDR checking and error reporting
...
Move redundant IHDR checking into new png_check_IHDR() in png.c
and report all errors found in the IHDR data. Report problems
with width and height separately.
2009-09-24 18:10:49 -05:00
Glenn Randers-Pehrson
3243fea0ac
[devel] Remove scripting cruft in contrib/pngminim/*/pngusr.h
2009-09-24 18:05:22 -05:00
Glenn Randers-Pehrson
216c9b00a8
[devel] Bump version to 1.4.0beta82
2009-09-24 18:03:21 -05:00
Glenn Randers-Pehrson
67f3b485c2
[devel] Imported from libpng-1.4.0beta81.tar
2009-09-23 11:49:44 -05:00
Glenn Randers-Pehrson
b2aca215c0
[devel] Changed several "if !defined(X)" to "ifndef X"
2009-09-23 11:32:37 -05:00
Glenn Randers-Pehrson
e26c09529a
[devel] Changed some "#if defined(" to "ifdef"
2009-09-23 11:22:08 -05:00
Glenn Randers-Pehrson
212defee0f
[devel] Eliminated unused png_ptr->row_buf_size
2009-09-23 10:29:21 -05:00
Glenn Randers-Pehrson
4e6b5e91df
[devel] Changed some "#if defined(" to "ifdef"
...
and revised libpng style to mention not using the TAB character.
2009-09-23 10:24:53 -05:00
Glenn Randers-Pehrson
9bf6083375
[devel] Removed PNG_CONST from all "PNG_CONST PNG_CHNK" declarations
...
to avoid compiler complaints about doubly declaring things "const".
2009-09-20 13:37:50 -05:00
Glenn Randers-Pehrson
72cbc6ee95
[devel] Expanded TAB characters in pngrtran.c
2009-09-20 07:28:43 -05:00
Glenn Randers-Pehrson
f74c5acf29
[devel] Eliminated unused PNG_FLAG_FREE_* defines from pngpriv.h
2009-09-20 07:27:34 -05:00
Glenn Randers-Pehrson
6bbc336c02
[devel] Bump version to 1.4.0beta81
2009-09-17 13:32:41 -05:00
Glenn Randers-Pehrson
93fc3da348
[devel] Bump version to libpng-1.4.0beta81
2009-09-17 11:08:12 -05:00
Glenn Randers-Pehrson
c7dd196b04
[devel] Update CHANGES and ANNOUNCE
...
about fixing the "#if def " bug
2009-09-17 11:03:48 -05:00
Glenn Randers-Pehrson
9c1bb203e3
[devel] Fix typo in pngtest.c
...
("#if def" should be "#ifdef")
2009-09-17 10:55:49 -05:00
Glenn Randers-Pehrson
63a054d7d7
[devel] Imported from libpng-1.4.0beta80.tar
2009-09-17 09:47:47 -05:00
Glenn Randers-Pehrson
495e399865
[devel] Revise ANNOUNCE and CHANGES
...
to give Dennis Gustafsson credit for noticing the incorrect typecast
of "filler".
2009-09-17 09:43:34 -05:00
Glenn Randers-Pehrson
36ac0b59b0
[devel] Changed (png_byte)filler to (png_uint_16)filler in png_set_filler().
2009-09-15 19:12:08 -05:00
Glenn Randers-Pehrson
00768a2d76
[devel] Removed scripts/libpng.icc
2009-09-03 13:23:59 -05:00
Glenn Randers-Pehrson
bb9ff29efd
[devel] Bump version to libpng-1.4.0beta80
2009-09-01 11:38:15 -05:00
Glenn Randers-Pehrson
5d95de74d3
[devel] Imported from libpng-1.4.0beta79.tar
2009-09-01 11:38:04 -05:00
Glenn Randers-Pehrson
5618e46179
[devel] Eliminated PNG_NO_CALLOC and PNG_CALLOC_SUPPORTED
...
and always use png_calloc(). The macros were only there for testing,
since libpng-1.4.0beta48 and no problems have been reported.
2009-09-01 10:48:04 -05:00
Glenn Randers-Pehrson
b380515c84
[devel] Removed references to PNG_NO_GLOBAL_ARRAYS
...
from contrib/visupng and contrib/pngminim sources.
2009-08-31 14:50:08 -05:00
Glenn Randers-Pehrson
9e9788497e
[devel] Documented removal of GLOBAL_ARRAY support.
2009-08-31 14:28:33 -05:00
Glenn Randers-Pehrson
8631250eea
[devel] Eliminate PNG_USE_GLOBAL_ARRAYS option
...
Always use local arrays, which has been the default behavior
for a long time.
2009-08-31 14:17:23 -05:00
Glenn Randers-Pehrson
3d893a0804
[devel] Updated documentation about newly deprecated macros.
2009-08-31 13:32:46 -05:00
Glenn Randers-Pehrson
c31d7179e5
[devel] Bump version to libpng-1.4.0beta79
2009-08-31 11:25:46 -05:00
Glenn Randers-Pehrson
77d0cdef02
[devel] Imported from libpng-1.4.0beta78.tar
2009-08-31 11:22:08 -05:00
Glenn Randers-Pehrson
02564cc842
[devel] Revise CHANGES and ANNOUNCE entry for previous commit.
2009-08-31 11:19:20 -05:00
Glenn Randers-Pehrson
d9f21ee796
[devel] Initialize row_pointers to NULL with a loop
...
instead of memset to zero in png_read_png().
2009-08-31 10:52:38 -05:00
Glenn Randers-Pehrson
0af5378d4d
[devel] Eliminated PNG_NO_FREE_ME and PNG_FREE_ME_SUPPORTED macros
...
They were only useful for obtaining compatibility for old applications
that used libpng-1.0.x versions prior to the implementation of "free_me".
2009-08-31 09:02:37 -05:00
Glenn Randers-Pehrson
dbd4014239
[devel] Replaced all "PNG_NO_FEATURE" tests with "PNG_FEATURE_SUPPORTED" tests
...
except in pngconf.h where they can be used to request that
PNG_FEATURE_SUPPORTED not be defined.
2009-08-31 08:42:02 -05:00
Glenn Randers-Pehrson
8551d59672
[devel] Reverted previous change (png_memset loop)
...
It does not seem to promise any benefit to libpng.
2009-08-29 16:25:19 -05:00
Glenn Randers-Pehrson
10ee432860
[devel] Optionally use a loop instead of memset() to initialize memory.
...
To try this, configure libpng using PNG_USE_MEMSET_LOOP. Initial testing
with pngcrush was not promising, although it does save a hundred bytes or
so of executable size.
2009-08-29 14:30:36 -05:00
Glenn Randers-Pehrson
194ca9e7bb
[devel] Remove reference to KNOWNBUG in ANNOUNCE.
2009-08-28 07:25:42 -05:00
Glenn Randers-Pehrson
2d7767b700
[devel] Bump version to libpng-1.4.0beta78
2009-08-28 07:17:18 -05:00
Glenn Randers-Pehrson
e14f98280b
[devel] Imported from libpng-1.4.0beta77.tar
2009-08-27 16:02:21 -05:00
Glenn Randers-Pehrson
38e467edac
[devel] Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
...
1. Modify project(PNG) to project(PNG C) to avoid search for C++ compiler
2. set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) and fix end conditionals
from ugly else(FOO AND BAR) endif(FOO AND BAR) to else() endif()
3. Add missing include_directories() for ZLIB_INCLUDE_DIR
4. Created CMake options to allow configurable building of STATIC or SHARED
libpng, both default on.
5. Modified PNG_DEBUG to default to false?
6. Fix installation of static/shared libraries so DLL goes in prefix+/bin,
all others in prefix+/lib
2009-08-27 15:59:40 -05:00
Glenn Randers-Pehrson
5b754aac0d
[devel] Updated INSTALL
...
to reflect the new set of files in the distribution.
2009-08-26 12:16:18 -05:00
Glenn Randers-Pehrson
9d2ab7b405
[devel] Moved scripts/CMakeLists.txt to main libpng directory
2009-08-26 12:14:11 -05:00
Glenn Randers-Pehrson
21ab827567
[devel] Removed some files from distribution
...
lpXYZ.tar.bz2 (with CRLF), KNOWNBUG, libpng-x.y.z-KNOWNBUG.txt,
and the "noconfig" files have been removed from the distribution.
2009-08-26 12:10:02 -05:00
Glenn Randers-Pehrson
b7e4c1c2e2
[devel] Bump version to libpng-1.4.0beta77
2009-08-26 12:04:32 -05:00
Glenn Randers-Pehrson
023841f4fd
[devel] Imported from libpng-1.4.0beta76.tar
2009-08-25 15:03:19 -05:00
Glenn Randers-Pehrson
6d75d0c51f
[devel] Moved an improperly located if-test in png_read_row()
...
It had been put inside the png_debug2() statement.
2009-08-22 08:45:09 -05:00
Glenn Randers-Pehrson
3dfe93776f
[devel] Trivial changes to commentary in pngwrite.c
2009-08-22 08:44:23 -05:00
Glenn Randers-Pehrson
ec323d3036
[devel] Bump version to libpng-1.4.0beta76
2009-08-20 23:03:26 -05:00
Glenn Randers-Pehrson
f4431031a7
[devel] Imported from libpng-1.4.0beta75.tar
2009-08-20 22:57:28 -05:00
Glenn Randers-Pehrson
0fe929e778
[devel] Fixed incorrect #ifdef in pngset.c
...
PNG_UNKNOWN_CHUNK_SUPPORTED should be PNG_HANDLE_AS_UNKNOWN_SUPPORTED.
2009-08-20 22:55:49 -05:00
Glenn Randers-Pehrson
626afd6219
[devel] Removed an extra debug statement from pngwutil.c
2009-08-20 22:52:51 -05:00
Glenn Randers-Pehrson
c81bb8a463
[devel] Relocate some png_debug() statements
...
Putting them ahead of the test for png_ptr==NULL so the debug
statements accuratly reflect the fact that the function was entered.
2009-08-15 22:02:26 -05:00
Glenn Randers-Pehrson
b3ce365d91
[devel] Add some whitespace and relocate some png_debug statements.
2009-08-15 21:47:03 -05:00
Glenn Randers-Pehrson
da00980433
[devel] Made use of whitespace around debug statements consistent.
2009-08-15 13:25:47 -05:00
Glenn Randers-Pehrson
951028949c
[devel] Remove extra png_debug() from png_write_find_filter()
...
in pngwutil.c, that was recently added by mistake.
2009-08-13 18:09:22 -05:00
Glenn Randers-Pehrson
fbd727aa11
[devel] Bump version to libpng-1.4.0beta75
...
in libpng.3 and png.h
2009-08-13 18:08:26 -05:00
Glenn Randers-Pehrson
3358a9880b
[devel] Bump version to libpng-1.4.0beta75
2009-08-13 18:05:36 -05:00
Glenn Randers-Pehrson
3c9c3ea7ae
[devel] Imported from libpng-1.4.0beta74.tar
2009-08-08 16:58:26 -05:00
Glenn Randers-Pehrson
6abea7562b
[devel] Change "trans" to "trans_alpha"
2009-08-08 16:55:36 -05:00
Glenn Randers-Pehrson
866b62acdc
[devel] Bumpt to version libpng-1.4.0beta74
2009-08-08 16:49:46 -05:00
Glenn Randers-Pehrson
3a054e1e96
[devel] Imported from libpng-1.4.0beta73.tar
2009-08-01 08:59:19 -05:00
Glenn Randers-Pehrson
ad81d71ecb
[devel] Bump version to libpng-1.4.0beta72
2009-07-30 15:42:11 -05:00
Glenn Randers-Pehrson
faf49916cb
[devel] Imported from libpng-1.4.0beta71.tar
2009-07-29 07:20:49 -05:00
Glenn Randers-Pehrson
bb8d8a8a4a
[devel] Update configure scripts with autoconf-2.64
...
Previous log message is wrong, should say update configure scripts
instead of revert...
2009-07-28 17:38:41 -05:00
Glenn Randers-Pehrson
bafb1e27c2
[devel] Revert configure script update (2nd attempt)
2009-07-28 17:35:49 -05:00
Glenn Randers-Pehrson
8568f6e3e9
[devel] Revert configure script update
2009-07-28 17:21:59 -05:00
Glenn Randers-Pehrson
dfabe7d0f8
[devel] Revert configure script update
2009-07-28 17:17:39 -05:00
Glenn Randers-Pehrson
81233967ca
[devel] Update configure scripts with autoconf-2.64.
2009-07-28 17:02:38 -05:00
Glenn Randers-Pehrson
922ad083e6
[devel] Revise references to zlib/libpng license
2009-07-28 16:48:28 -05:00
Glenn Randers-Pehrson
0d6ade69e2
[devel] Bump version to libpng-1.4.0beta71
2009-07-28 08:04:56 -05:00
Glenn Randers-Pehrson
416976fffd
[devel] Imported from libpng-1.4.0beta70.tar
2009-07-27 22:31:35 -05:00
Glenn Randers-Pehrson
bc438d3671
[devel] Revise CHANGES and ANNOUNCE
...
with information that the NULL dereference bug first appeared in libpng-0.95.
2009-07-27 22:17:19 -05:00
Glenn Randers-Pehrson
e2a118f81a
[devel] Avoid a possible NULL dereference in debug builds
...
in png_set_text-2(). Bug discovered by Evan Rouault, using cochinelle.
2009-07-27 22:08:25 -05:00
Glenn Randers-Pehrson
78389d8396
[devel] Bump version to libpng-1.4.0beta70
2009-07-27 22:05:20 -05:00
Glenn Randers-Pehrson
1cece74438
[devel] Imported from libpng-1.4.0beta69.tar
2009-07-25 09:26:53 -05:00
Glenn Randers-Pehrson
3f705ba9a5
[devel] Added a prototype for png_64bit_product()
...
in png.c (suggested by Peter Breitenlohner)
2009-07-23 12:53:06 -05:00
Glenn Randers-Pehrson
8f075be1e2
[devel] Fixed up xcode project (Alam Arias)
2009-07-19 19:33:22 -05:00
Glenn Randers-Pehrson
8cb69f0f2b
[devel] Removed extraneous declaration
...
from the new call to png_read_gray_to_rgb() (bug introduced in
libpng-1.4.0beta67). (Patch contributed by Alam Arias)
2009-07-19 19:24:58 -05:00
Glenn Randers-Pehrson
97a4573885
[devel] Describe new filter-selection test in CHANGES and ANNOUNCE.
2009-07-19 15:10:36 -05:00
Glenn Randers-Pehrson
4ace0e1530
[devel] Revised the new test
...
to run faster in the usual PNG_ALL_FILTERS case. The previous, more
accurate test, would save some computation in uncommon cases, but is
probably not worth while in the long run.
2009-07-19 15:04:35 -05:00
Glenn Randers-Pehrson
9d8b41ea6f
[devel] Relocated new 'if' test
...
after the 'png_debug(1, "in png_write_find_filter");' statement.
2009-07-19 14:45:43 -05:00
Glenn Randers-Pehrson
0b1ba8c05e
[devel] Bump version to libpng-1.4.0beta69
2009-07-19 14:30:05 -05:00
Glenn Randers-Pehrson
12a11c521b
[devel] Imported from libpng-1.4.0beta68.tar
2009-07-19 14:27:36 -05:00
Glenn Randers-Pehrson
9c90d7f4ee
[devel] Revised test for avoiding filter selection tests
...
to obtain the same result as previously when the user asks for
a filter selection that does not include NONE or SUB, e.g., if
the user asks for PAETH-only that's what they should get.
2009-07-19 13:11:25 -05:00
Glenn Randers-Pehrson
575d067998
[devel] Revised test for avoiding filter selection tests
...
to obtain the same result as previously when the user asks for
a filter selection that does not include NONE or SUB, e.g., if
the user asks for PAETH-only that's what they should get.
2009-07-19 12:57:34 -05:00
Glenn Randers-Pehrson
ae4af5600d
[devel] Avoid some tests while selecting a filter.
...
The AVG and PAETH filters will never be selected for the first
row, so we need not test them.
2009-07-18 11:28:33 -05:00
Glenn Randers-Pehrson
ee100094e4
[devel] Bump version to libpng-1.4.0beta68
2009-07-07 13:55:58 -05:00
Glenn Randers-Pehrson
bc7156d089
[devel] Imported from libpng-1.4.0beta67.tar
2009-07-06 09:14:14 -05:00
Glenn Randers-Pehrson
237d1fba11
[devel] add "xcode" project
...
contributed by Alam Arias
2009-07-05 14:21:54 -05:00
Glenn Randers-Pehrson
99708d560f
[devel] Added high-level PNG_TRANSFORM_GRAY_TO_RGB transform.
2009-06-29 17:30:00 -05:00
Glenn Randers-Pehrson
6878eb6899
[devel] Relocate the INVERT_ALPHA function within png_read_png()
...
and png_write_png().
2009-06-29 16:45:53 -05:00
Glenn Randers-Pehrson
cd2634b3ce
[devel] Bump version to libpng-1.4.0beta67
2009-06-29 16:39:03 -05:00
Glenn Randers-Pehrson
bfbf86558c
[devel] Imported from libpng-1.4.0beta66.tar
2009-06-26 21:49:39 -05:00
Glenn Randers-Pehrson
c332bbcd34
[devel] Revise references to zlib/libpng license
2009-06-25 13:46:50 -05:00
Glenn Randers-Pehrson
e0dc4c8a1e
[devel] Imported from libpng-1.4.0beta65.tar
2009-06-25 12:19:52 -05:00
Glenn Randers-Pehrson
02045b57b1
[devel] Change "zlib-libpng" to "zlib/libpng"
...
to see if that works better for the auto-license-detectors
2009-06-25 08:12:20 -05:00
Glenn Randers-Pehrson
037023bb31
[devel] Revise references to zlib-libpng license
2009-06-24 10:30:58 -05:00
Glenn Randers-Pehrson
ed82c3bb59
[devel] Add pointer to png.h LICENSE info in pngpriv.h and pngconf.h
2009-06-24 10:03:45 -05:00
Glenn Randers-Pehrson
3e61d7985c
[devel] Mention zlib-libpng license in each source file
2009-06-24 09:35:48 -05:00
Glenn Randers-Pehrson
d84748a467
[devel] Bump version to libpng-1.4.0beta65
2009-06-24 08:19:43 -05:00
Glenn Randers-Pehrson
668af4ef48
[devel] Imported from libpng-1.4.0beta64.tar
2009-06-24 07:04:19 -05:00
Glenn Randers-Pehrson
83fb85581d
[devel] Fixed some indentation in pngset.c
2009-06-16 17:52:23 -05:00
Glenn Randers-Pehrson
59c39b886d
[devel] Changed one PNG_HANDLE_AS_UNKNOWN to PNG_UNKNOWN_CHUNKS_SUPPORTED
2009-06-16 17:23:08 -05:00
Glenn Randers-Pehrson
3b3e09075a
[devel] Added an "#ifdef PNG_WRITE_SUPPORTED/#endif" block in pngconf.h
2009-06-16 17:20:43 -05:00
Glenn Randers-Pehrson
658ea4304e
[devel] Relocated various UNKNOWN_CHUNK macros
...
outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks, where
they did not really belong. Updated CHANGES and ANNOUNCE.
2009-06-16 16:24:57 -05:00
Glenn Randers-Pehrson
33188acf8f
Eliminated PNG_LEGACY_SUPPORTED
...
It is not of any use in libpng-1.4.0; it was only to support binary
compatibility between some old libpng-1.0.x versions. It should have
been removed from libpng-1.2.x as well but it is too late for that now.
2009-06-16 14:12:35 -05:00
Glenn Randers-Pehrson
38674ec994
[devel] Added 2 defined(PNG_HANDLE_AS_UNKNOWN_SUPPORTED) tests in png.h.
2009-06-16 13:33:01 -05:00
Glenn Randers-Pehrson
8d6adb6090
[devel] bump version to libpng-1.4.0beta64
2009-06-16 07:02:00 -05:00
Glenn Randers-Pehrson
d60c886ebc
[devel] Imported from libpng-1.4.0beta63.tar
2009-06-16 06:35:35 -05:00
Glenn Randers-Pehrson
6c7a09ab7c
[devel] Reformatted some comments.
2009-06-15 21:57:39 -05:00
Glenn Randers-Pehrson
7824a70c1d
[devel] Changed several "#ifdef PNG_UNKNOWN_CHUNK_SUPPORTED" to
...
to "#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED", to make the png_set_keep
mechanism available for ignoring known chunks even when not saving
unknown chunks.
2009-06-13 10:07:55 -05:00
Glenn Randers-Pehrson
b5444a1779
[devel] Revise libpng.3
...
about calling png_set_IHDR() multiple times and about the order
of color samples in the tRNS chunk.
2009-06-08 08:36:19 -05:00
Glenn Randers-Pehrson
9dcde09ac8
[devel] Revise libpng*.txt
...
about calling png_set_IHDR() multiple times and about the order
of color samples in the tRNS chunk.
2009-06-08 08:31:59 -05:00
Glenn Randers-Pehrson
7aa1834c95
[devel] Bump version to bump-to-libpng-1.4.0beta63
2009-06-05 17:26:31 -05:00
Glenn Randers-Pehrson
424c98547d
Imported from libpng-1.4.0beta62.tar
2009-06-04 07:48:17 -05:00
Glenn Randers-Pehrson
37e7e0bd81
[devel] Added a section in documentation
...
about using png_set_io_ptr() in configure scripts for detecting libpng
2009-06-02 13:46:41 -05:00
Glenn Randers-Pehrson
e0c505cfae
Bump version to libpng-1.4.0beta62
2009-05-30 21:22:44 -05:00
Glenn Randers-Pehrson
d8eb62ff15
More cosmetic reformatting
...
Broke several remaining "if () statement;" and "else statement;" into
two lines.
2009-05-30 20:19:20 -05:00
Glenn Randers-Pehrson
45ae51743b
In contrib/pngminim, #define PNG_NO_READ|WRITE_SWAP in pngusr.h
2009-05-28 20:22:38 -05:00
Glenn Randers-Pehrson
4bb4d01681
Imported from libpng-1.4.0beta61.tar
2009-05-20 17:15:20 -05:00
Glenn Randers-Pehrson
b205f291f6
Actually add the renamed makefiles.
2009-05-19 13:10:55 -05:00
Glenn Randers-Pehrson
a24b08a42a
Rename contrib/pngminim/*/makefile.std to makefile
...
since there's only one makefile, so users can just type "make"
instead of "make -f makefile.std".
2009-05-19 13:08:48 -05:00
Glenn Randers-Pehrson
058d6f321a
Bump version to libpng-1.4.0beta61
2009-05-19 13:05:39 -05:00
Glenn Randers-Pehrson
dbab08f936
Imported from libpng-1.4.0beta60.tar
2009-05-18 17:02:31 -05:00
Glenn Randers-Pehrson
c996d13ec3
Add contrib/pngminim/preader
...
based on contrib/gregbook/rpng2-x
2009-05-18 16:01:26 -05:00
Glenn Randers-Pehrson
a31c74f7ef
Undo mistakes in porting png_memset() calls from libpng-1.2.37beta02
2009-05-18 15:52:01 -05:00
Glenn Randers-Pehrson
0ab7868d8a
Restore png_combine_row() to progressive-read-only builds.
2009-05-18 15:28:44 -05:00
Glenn Randers-Pehrson
5902059c7c
Conditionally compile functions only used by sequential readers
...
png_combine_row() and png_read_finish_row() are not used by progressive
PNG readers.
2009-05-18 10:54:11 -05:00
Glenn Randers-Pehrson
580f4f5561
Revert "Set png_ptr->old_prev_row_size=0 in pngpread.c and pngrutil.c"
...
This should be handled in the APNG fork instead of in libpng proper.
This reverts commit ee59a9f9f0 .
2009-05-18 10:40:33 -05:00
Glenn Randers-Pehrson
ee59a9f9f0
Set png_ptr->old_prev_row_size=0 in pngpread.c and pngrutil.c
...
This forces the prev_row array to be cleared before the first
row of each image and interlace pass.
2009-05-16 07:32:28 -05:00
Glenn Randers-Pehrson
7654682c25
Bump version to libpng-1.4.0beta60
2009-05-16 07:25:42 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
b1c0d33128
Housecleaning: revise identation and comments to meet libpng coding style.
2009-05-15 20:39:34 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
9a692c0769
Fix typos in libpng*.txt: AVE filter should be AVG filter
2009-05-15 20:38:11 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
11a3c7b50a
Bump version to 1.4.0beta59
2009-05-15 20:33:24 -05:00
Glenn Randers-Pehrson
acfe7dc475
Imported from libpng-1.4.0beta58.tar
2009-05-14 05:33:33 -05:00
Glenn Randers-Pehrson
64548deafc
Reformatted comments in example.c
...
Added advice about setting pointers to NULL after png_free(),
capitalized sentences, reformatted long comments in libpng style.
2009-05-13 15:23:03 -05:00
Glenn Randers-Pehrson
640b7d514d
Merged example.c with libpng-1.2.37beta01
...
(from the git master branch)
2009-05-13 07:33:22 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
d603c89397
Revert typo in scripts/makefile.mingw
...
Should refer to "pngwin.def" instead of "pngw32.def"
2009-05-03 05:47:20 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
cdd4330edc
Revert typo in scripts/makefile.mingw
...
(should refer to pngwin.def not pngw32.def)
2009-05-03 05:44:06 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
389c655a5a
Bump internal version to bump-libpng-to-1.4.0beta58
2009-05-03 05:40:08 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
31cafa0a3e
Fix typo about autoconf version again
...
There are too many master directories floating around now...
2009-05-02 16:08:06 -05:00
Glenn Randers-Pehrson
3011945d6f
Imported from libpng-1.4.0beta57.tar
2009-05-02 15:58:33 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
7ecf7bdc6b
Removed support of pngprefs.h from makefiles.
...
It is no longer used since the MMX support was removed.
2009-05-02 15:36:08 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
4cd137127f
Fix typo in CHANGES and ANNOUNCE (mentioned wrong versions of autoconf).
2009-05-02 15:28:09 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
0a2547e83d
Rebuilt configure scripts with autoconf 2.63
2009-05-02 15:25:36 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
d209ec76b2
Remove unused png_freeptr() prototype ... again.
2009-05-02 15:15:46 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
92d9534c1a
Bump internal versioning to libpng-1.4.0beta57
2009-05-02 15:12:50 -05:00
Glenn Randers-Pehrson
1d0240500c
Imported from libpng-1.4.0beta56.tar
2009-04-25 07:44:20 -05:00
Glenn Randers-Pehrson
4db4affbaf
Change two remaining "gamma" to "png_gamma" (Brandon Casey)
2009-04-20 11:49:24 -05:00
Glenn Randers-Pehrson
8764c2595d
Changed local variable "gamma" to "png_gamma"
...
This avoids a "shadowed declaration" variable when compiling with
"gcc -Wshadow ..." due to another use of this name in math.h on
some platforms.
2009-04-19 07:52:22 -05:00
Glenn Randers-Pehrson
4ec05bf614
Change name of local variable "gamma" to "png_gamma"
...
This avoids a "shadowed declaration" warning from "gcc -Wshadow"
due to math.h using "gamma" on some platforms.
2009-04-19 07:44:37 -05:00
Glenn Randers-Pehrson
871f5cd155
Bump internal versioning to 1.4.0beta56
2009-04-19 07:43:02 -05:00
Glenn Randers-Pehrson
f0a8fe0bf6
Imported from libpng-1.4.0beta55.tar
2009-04-15 07:57:25 -05:00
Glenn Randers-Pehrson
a93c942070
Imported from libpng-1.4.0beta54.tar
2009-04-13 12:02:11 -05:00
Glenn Randers-Pehrson
a6cc627446
Imported from libpng-1.4.0beta53.tar
2009-04-06 16:11:12 -05:00
Glenn Randers-Pehrson
6a9c2cefdd
Imported from libpng-1.4.0beta52.tar
2009-04-06 16:11:09 -05:00
Glenn Randers-Pehrson
8fb550cc3e
Imported from libpng-1.4.0beta51.tar
2009-04-06 16:11:07 -05:00
Glenn Randers-Pehrson
6917b51660
Imported from libpng-1.4.0beta50.tar
2009-04-06 16:11:04 -05:00
Glenn Randers-Pehrson
0ffb71a6af
Imported from libpng-1.4.0beta49.tar
2009-04-06 16:11:02 -05:00
Glenn Randers-Pehrson
79134c69a4
Imported from libpng-1.4.0beta48.tar
2009-04-06 16:11:00 -05:00
Glenn Randers-Pehrson
4a82d69b9f
Imported from libpng-1.4.0beta47.tar
2009-04-06 16:10:57 -05:00
Glenn Randers-Pehrson
1eb14e95d3
Imported from libpng-1.4.0beta46.tar
2009-04-06 16:10:55 -05:00
Glenn Randers-Pehrson
65a0992f0d
Imported from libpng-1.4.0beta45.tar
2009-04-06 16:10:53 -05:00
Glenn Randers-Pehrson
5ca69e43ec
Imported from libpng-1.4.0beta44.tar
2009-04-06 16:10:50 -05:00
Glenn Randers-Pehrson
d6d8075c0a
Imported from libpng-1.4.0beta43.tar
2009-04-06 16:10:48 -05:00
Glenn Randers-Pehrson
35f5196386
Imported from libpng-1.4.0beta42.tar
2009-04-06 16:10:46 -05:00
Glenn Randers-Pehrson
71a3c1f821
Imported from libpng-1.4.0beta41.tar
2009-04-06 16:10:44 -05:00
Glenn Randers-Pehrson
02a5e33061
Imported from libpng-1.4.0beta40.tar
2009-04-06 16:10:41 -05:00
Glenn Randers-Pehrson
398b5a31a7
Imported from libpng-1.4.0beta39.tar
2009-04-06 16:10:39 -05:00
Glenn Randers-Pehrson
d0c40591f2
Imported from libpng-1.4.0beta38.tar
2009-04-06 16:10:36 -05:00
Glenn Randers-Pehrson
f783101c88
Imported from libpng-1.4.0beta37.tar
2009-04-06 16:10:34 -05:00
Glenn Randers-Pehrson
97a9b48789
Imported from libpng-1.4.0beta36.tar
2009-04-06 16:10:32 -05:00
Glenn Randers-Pehrson
56f6396137
Imported from libpng-1.4.0beta35.tar
2009-04-06 16:10:29 -05:00
Glenn Randers-Pehrson
a5fa5c9013
Imported from libpng-1.4.0beta34.tar
2009-04-06 16:10:27 -05:00
Glenn Randers-Pehrson
800d1e9a67
Imported from libpng-1.4.0beta33.tar
2009-04-06 16:10:25 -05:00
Glenn Randers-Pehrson
dbed41fde1
Imported from libpng-1.4.0beta32.tar
2009-04-06 16:10:22 -05:00
Glenn Randers-Pehrson
4198360421
Imported from libpng-1.4.0beta31.tar
2009-04-06 16:10:20 -05:00
Glenn Randers-Pehrson
1916f6ae42
Imported from libpng-1.4.0beta30.tar
2009-04-06 16:10:18 -05:00
Glenn Randers-Pehrson
e0784c72f4
Imported from libpng-1.4.0beta29.tar
2009-04-06 16:10:15 -05:00
Glenn Randers-Pehrson
43aaf6eb37
Imported from libpng-1.4.0beta28.tar
2009-04-06 16:10:13 -05:00
Glenn Randers-Pehrson
51650b8a65
Imported from libpng-1.4.0beta27.tar
2009-04-06 16:10:11 -05:00
Glenn Randers-Pehrson
79084216af
Imported from libpng-1.4.0beta26.tar
2009-04-06 16:10:08 -05:00
Glenn Randers-Pehrson
eb58091392
Imported from libpng-1.4.0beta25.tar
2009-04-06 16:10:05 -05:00
Glenn Randers-Pehrson
895a9c97e2
Imported from libpng-1.4.0beta24.tar
2009-04-06 16:10:03 -05:00
Glenn Randers-Pehrson
72b633026b
Imported from libpng-1.4.0beta23.tar
2009-04-06 16:10:00 -05:00
Glenn Randers-Pehrson
d8d7b949d9
Imported from libpng-1.4.0beta22.tar
2009-04-06 16:09:58 -05:00
Glenn Randers-Pehrson
b3ff968558
Imported from libpng-1.4.0beta21.tar
2009-04-06 16:09:56 -05:00
Glenn Randers-Pehrson
145f5c8164
Imported from libpng-1.4.0beta20.tar
2009-04-06 16:09:54 -05:00
Glenn Randers-Pehrson
a7dbcba1e8
Imported from libpng-1.4.0beta19.tar
2009-04-06 16:09:51 -05:00
Glenn Randers-Pehrson
c3f52f12bb
Imported from libpng-1.4.0beta18.tar
2009-04-06 16:09:49 -05:00
Glenn Randers-Pehrson
7edd45814c
Imported from libpng-1.4.0beta17.tar
2009-04-06 16:09:47 -05:00
Glenn Randers-Pehrson
701dbaa81e
Imported from libpng-1.4.0beta16.tar
2009-04-06 16:09:45 -05:00
Glenn Randers-Pehrson
ae4bd5c2be
Imported from libpng-1.4.0beta15.tar
2009-04-06 16:09:42 -05:00
Glenn Randers-Pehrson
6b12c08bfc
Imported from libpng-1.4.0beta14.tar
2009-04-06 16:09:40 -05:00
Glenn Randers-Pehrson
3779c69674
Imported from libpng-1.4.0beta13.tar
2009-04-06 16:09:38 -05:00
Glenn Randers-Pehrson
ebd7f9a371
Imported from libpng-1.4.0beta12.tar
2009-04-06 16:09:36 -05:00
Glenn Randers-Pehrson
beb572e616
Imported from libpng-1.4.0beta11.tar
2009-04-06 16:09:34 -05:00
Glenn Randers-Pehrson
3424ee7354
Imported from libpng-1.4.0beta10.tar
2009-04-06 16:09:31 -05:00
Glenn Randers-Pehrson
e826d7e200
Imported from libpng-1.4.0beta9.tar
2009-04-06 16:09:29 -05:00
Glenn Randers-Pehrson
d120996a49
Imported from libpng-1.4.0beta8.tar
2009-04-06 16:09:27 -05:00
Glenn Randers-Pehrson
6bc53be992
Imported from libpng-1.4.0beta7.tar
2009-04-06 16:09:25 -05:00
Glenn Randers-Pehrson
f46918d129
Imported from libpng-1.4.0beta6.tar
2009-04-06 16:09:22 -05:00
Glenn Randers-Pehrson
73b064c2af
Imported from libpng-1.4.0beta5.tar
2009-04-06 16:09:20 -05:00
Glenn Randers-Pehrson
b3870ab5f9
Imported from libpng-1.4.0beta4.tar
2009-04-06 16:09:18 -05:00
Glenn Randers-Pehrson
86dc981475
Imported from libpng-1.4.0beta3.tar
2009-04-06 16:09:16 -05:00
Glenn Randers-Pehrson
d60b8fab03
Imported from libpng-1.4.0beta2.tar
2009-04-06 16:09:14 -05:00
Glenn Randers-Pehrson
1721829464
Imported from libpng-1.4.0beta1.tar
2009-04-06 16:09:11 -05:00
Glenn Randers-Pehrson
f628ee2fa4
Imported from libpng-1.2.10rc1.tar
2009-04-06 16:09:08 -05:00
Glenn Randers-Pehrson
ad310547a2
Imported from libpng-1.2.10beta7.tar
2009-04-06 16:09:06 -05:00
Glenn Randers-Pehrson
629330e761
Imported from libpng-1.2.10beta6.tar
2009-04-06 16:09:04 -05:00
Glenn Randers-Pehrson
b511b60aaa
Imported from libpng-1.2.10beta5.tar
2009-04-06 16:09:02 -05:00
Glenn Randers-Pehrson
77be22c09a
Imported from libpng-1.2.10beta4.tar
2009-04-06 16:09:00 -05:00
Glenn Randers-Pehrson
b0270f77a9
Imported from libpng-1.2.10beta3.tar
2009-04-06 16:08:58 -05:00
Glenn Randers-Pehrson
3a5a759bb7
Imported from libpng-1.2.10beta2.tar
2009-04-06 16:08:55 -05:00
Glenn Randers-Pehrson
d5d63601b9
Imported from libpng-1.2.10beta1.tar
2009-04-06 16:08:53 -05:00
Glenn Randers-Pehrson
a7d0c94169
Imported from libpng-1.2.9.tar
2009-04-06 16:08:51 -05:00
Glenn Randers-Pehrson
3a51203c48
Imported from libpng-1.2.9rc1.tar
2009-04-06 16:08:49 -05:00
Glenn Randers-Pehrson
4deeb795f6
Imported from libpng-1.2.9beta11.tar
2009-04-06 16:08:46 -05:00
Glenn Randers-Pehrson
26e47d9a71
Imported from libpng-1.2.9beta10.tar
2009-04-06 16:08:44 -05:00
Glenn Randers-Pehrson
170b70ce30
Imported from libpng-1.2.9beta9.tar
2009-04-06 16:08:42 -05:00
Glenn Randers-Pehrson
1ce0836b4a
Imported from libpng-1.2.9beta8.tar
2009-04-06 16:08:39 -05:00
Glenn Randers-Pehrson
5c60b2367e
Imported from libpng-1.2.9beta7.tar
2009-04-06 16:08:37 -05:00
Glenn Randers-Pehrson
b7f9593715
Imported from libpng-1.2.9beta6.tar
2009-04-06 16:08:35 -05:00
Glenn Randers-Pehrson
e64746200b
Imported from libpng-1.2.9beta5.tar
2009-04-06 16:08:32 -05:00
Glenn Randers-Pehrson
c3d51c14f2
Imported from libpng-1.2.9beta4.tar
2009-04-06 16:08:30 -05:00
Glenn Randers-Pehrson
7b34df33a5
Imported from libpng-1.2.9beta3.tar
2009-04-06 16:08:27 -05:00
Glenn Randers-Pehrson
ddfebd35be
Imported from libpng-1.2.9beta2.tar
2009-04-06 16:08:25 -05:00
Glenn Randers-Pehrson
9c3ab68145
Imported from libpng-1.2.9beta1.tar
2009-04-06 16:08:23 -05:00
Glenn Randers-Pehrson
917648ecb9
Imported from libpng-1.2.8.tar
2009-04-06 16:08:21 -05:00
Glenn Randers-Pehrson
584b96e859
Imported from libpng-1.2.8rc5.tar
2009-04-06 16:08:18 -05:00
Glenn Randers-Pehrson
228c637527
Imported from libpng-1.2.8rc4.tar
2009-04-06 16:08:16 -05:00
Glenn Randers-Pehrson
c3dda6daea
Imported from libpng-1.2.8rc3.tar
2009-04-06 16:08:15 -05:00
Glenn Randers-Pehrson
73b029f9d3
Imported from libpng-1.2.8rc2.tar
2009-04-06 16:08:13 -05:00
Glenn Randers-Pehrson
5dd2b8e208
Imported from libpng-1.2.8rc1.tar
2009-04-06 16:08:11 -05:00
Glenn Randers-Pehrson
4093607bc9
Imported from libpng-1.2.8beta5.tar
2009-04-06 16:08:09 -05:00
Glenn Randers-Pehrson
878b31e0b4
Imported from libpng-1.2.8beta4.tar
2009-04-06 16:08:07 -05:00
Glenn Randers-Pehrson
7806777139
Imported from libpng-1.2.8beta3.tar
2009-04-06 16:08:05 -05:00
Glenn Randers-Pehrson
94d9362fc5
Imported from libpng-1.2.8beta2.tar
2009-04-06 16:08:03 -05:00
Glenn Randers-Pehrson
16e11660fe
Imported from libpng-1.2.8beta1.tar
2009-04-06 16:08:01 -05:00
Glenn Randers-Pehrson
250dfe1777
Imported from libpng-1.2.7.tar
2009-04-06 16:08:00 -05:00
Glenn Randers-Pehrson
5b77916ecd
Imported from libpng-1.2.7rc1.tar
2009-04-06 16:07:57 -05:00
Glenn Randers-Pehrson
67864af957
Imported from libpng-1.2.7beta2.tar
2009-04-06 16:07:56 -05:00
Glenn Randers-Pehrson
a4981d4ded
Imported from libpng-1.2.7beta1.tar
2009-04-06 16:07:54 -05:00
Glenn Randers-Pehrson
37f116a900
Imported from libpng-1.2.6.tar
2009-04-06 16:07:52 -05:00
Glenn Randers-Pehrson
8f3dd833d7
Imported from libpng-1.2.6rc5.tar
2009-04-06 16:07:50 -05:00
Glenn Randers-Pehrson
36d7bc7530
Imported from libpng-1.2.6rc4.tar
2009-04-06 16:07:48 -05:00
Glenn Randers-Pehrson
d029a75d4f
Imported from libpng-1.2.6rc3.tar
2009-04-06 16:07:46 -05:00
Glenn Randers-Pehrson
dff799ef89
Imported from libpng-1.2.6rc2.tar
2009-04-06 16:07:44 -05:00
Glenn Randers-Pehrson
272489dc69
Imported from libpng-1.2.6rc1.tar
2009-04-06 16:07:42 -05:00
Glenn Randers-Pehrson
5fea36fb00
Imported from libpng-1.2.6beta4.tar
2009-04-06 16:07:40 -05:00
Glenn Randers-Pehrson
5b5dcf8b88
Imported from libpng-1.2.6beta3.tar
2009-04-06 16:07:38 -05:00
Glenn Randers-Pehrson
761bf9f06f
Imported from libpng-1.2.6beta2.tar
2009-04-06 16:07:36 -05:00
Glenn Randers-Pehrson
c33ab4e8df
Imported from libpng-1.2.6beta1.tar
2009-04-06 16:07:34 -05:00
Glenn Randers-Pehrson
0cc2f95a9d
Imported from libpng-1.2.5.tar
2009-04-06 16:07:32 -05:00
Glenn Randers-Pehrson
5ff38d3e16
Imported from libpng-1.2.5rc3.tar
2009-04-06 16:07:30 -05:00
Glenn Randers-Pehrson
865f4f073a
Imported from libpng-1.2.5rc2.tar
2009-04-06 16:07:28 -05:00
Glenn Randers-Pehrson
51d9250c88
Imported from libpng-1.2.5rc1.tar
2009-04-06 16:07:27 -05:00
Glenn Randers-Pehrson
8a7df0024b
Imported from libpng-1.2.5beta2.tar
2009-04-06 16:07:25 -05:00
Glenn Randers-Pehrson
859665d847
Imported from libpng-1.2.5beta1.tar
2009-04-06 16:07:23 -05:00
Glenn Randers-Pehrson
484a8a10fe
Imported from libpng-1.2.4.tar
2009-04-06 16:07:21 -05:00
Glenn Randers-Pehrson
2ae022da7e
Imported from libpng-1.2.4rc1.tar
2009-04-06 16:07:18 -05:00
Glenn Randers-Pehrson
d020e9d826
Imported from libpng-1.2.4beta3.tar
2009-04-06 16:07:16 -05:00
Glenn Randers-Pehrson
d1e8c8694d
Imported from libpng-1.2.4beta2.tar
2009-04-06 16:07:14 -05:00
Glenn Randers-Pehrson
07748d1b2c
Imported from libpng-1.2.4beta1.tar
2009-04-06 16:07:12 -05:00
Glenn Randers-Pehrson
cfbed9bdf2
Imported from libpng-1.2.3.tar
2009-04-06 16:07:10 -05:00
Glenn Randers-Pehrson
22f28966c4
Imported from libpng-1.2.3rc6.tar
2009-04-06 16:07:08 -05:00
Glenn Randers-Pehrson
837a3d1745
Imported from libpng-1.2.3rc5.tar
2009-04-06 16:07:06 -05:00
Glenn Randers-Pehrson
704228f7e7
Imported from libpng-1.2.3rc4.tar
2009-04-06 16:07:04 -05:00
Glenn Randers-Pehrson
299d73503c
Imported from libpng-1.2.3rc3.tar
2009-04-06 16:07:02 -05:00
Glenn Randers-Pehrson
25d8224d15
Imported from libpng-1.2.3rc2.tar
2009-04-06 16:07:00 -05:00
Glenn Randers-Pehrson
03008a08d1
Imported from libpng-1.2.3rc1.tar
2009-04-06 16:06:58 -05:00
Glenn Randers-Pehrson
4fb046a52d
Imported from libpng-1.2.2.tar
2009-04-06 16:06:56 -05:00
Glenn Randers-Pehrson
fcbd7870e9
Imported from libpng-1.2.2rc1.tar
2009-04-06 16:06:54 -05:00
Glenn Randers-Pehrson
25228abdc1
Imported from libpng-1.2.2beta6.tar
2009-04-06 16:06:52 -05:00
Glenn Randers-Pehrson
73d57cb97b
Imported from libpng-1.2.2beta5.tar
2009-04-06 16:06:50 -05:00
Glenn Randers-Pehrson
377657d1d6
Imported from libpng-1.2.2beta4.tar
2009-04-06 16:06:49 -05:00
Glenn Randers-Pehrson
c1bfe686ce
Imported from libpng-1.2.2beta3.tar
2009-04-06 16:06:47 -05:00
Glenn Randers-Pehrson
c6de22da1d
Imported from libpng-1.2.2beta2.tar
2009-04-06 16:06:45 -05:00
Glenn Randers-Pehrson
9c0f094b21
Imported from libpng-1.2.2beta1.tar
2009-04-06 16:06:43 -05:00
Glenn Randers-Pehrson
f50c91b7bd
Imported from libpng-1.2.1.tar
2009-04-06 16:06:41 -05:00
Glenn Randers-Pehrson
db3b88dad2
Imported from libpng-1.2.1rc2.tar
2009-04-06 16:06:39 -05:00
Glenn Randers-Pehrson
ae498dcff3
Imported from libpng-1.2.1rc1.tar
2009-04-06 16:06:37 -05:00
Glenn Randers-Pehrson
5cded0b4b5
Imported from libpng-1.2.1beta4.tar
2009-04-06 16:06:35 -05:00
Glenn Randers-Pehrson
3f549259b2
Imported from libpng-1.2.1beta3.tar
2009-04-06 16:06:33 -05:00
Glenn Randers-Pehrson
6c97ddbffc
Imported from libpng-1.2.1beta2.tar
2009-04-06 16:06:32 -05:00
Glenn Randers-Pehrson
5a0be341ba
Imported from libpng-1.2.1beta1.tar
2009-04-06 16:06:30 -05:00
Glenn Randers-Pehrson
10781048be
Imported from libpng-1.2.0.tar
2009-04-06 16:06:28 -05:00
Glenn Randers-Pehrson
1b8e567237
Imported from libpng-1.2.0rc1.tar
2009-04-06 16:06:26 -05:00
Glenn Randers-Pehrson
1ea0ff34fa
Imported from libpng-1.2.0beta5.tar
2009-04-06 16:06:24 -05:00
Glenn Randers-Pehrson
b182893c04
Imported from libpng-1.2.0beta4.tar
2009-04-06 16:06:22 -05:00
Glenn Randers-Pehrson
8b6a889881
Imported from libpng-1.2.0beta3.tar
2009-04-06 16:06:20 -05:00
Glenn Randers-Pehrson
3097f618f2
Imported from libpng-1.2.0beta2.tar
2009-04-06 16:06:18 -05:00
Glenn Randers-Pehrson
1fd5fb33c2
Imported from libpng-1.2.0beta1.tar
2009-04-06 16:06:16 -05:00
Glenn Randers-Pehrson
e68f5a361b
Imported from libpng-1.0.12beta1.tar
2009-04-06 16:06:14 -05:00
Glenn Randers-Pehrson
328353990f
Imported from libpng-1.0.11.tar
2009-04-06 16:06:12 -05:00
Glenn Randers-Pehrson
82ae383331
Imported from libpng-1.0.11rc1.tar
2009-04-06 16:06:10 -05:00
Glenn Randers-Pehrson
e1eff58f87
Imported from libpng-1.0.11beta3.tar
2009-04-06 16:06:08 -05:00
Glenn Randers-Pehrson
f64a06f5ec
Imported from libpng-1.0.11beta2.tar
2009-04-06 16:06:06 -05:00
Glenn Randers-Pehrson
87c6bc984a
Imported from libpng-1.0.11beta1.tar
2009-04-06 16:06:04 -05:00
Glenn Randers-Pehrson
13cfbac075
Imported from libpng-1.0.10.tar
2009-04-06 16:06:02 -05:00
Glenn Randers-Pehrson
e164447858
Imported from libpng-1.0.10rc1.tar
2009-04-06 16:06:00 -05:00
Glenn Randers-Pehrson
1909560348
Imported from libpng-1.0.10beta1.tar
2009-04-06 16:05:58 -05:00
Glenn Randers-Pehrson
d4e8109a48
Imported from libpng-1.0.9.tar
2009-04-06 16:05:56 -05:00
Glenn Randers-Pehrson
be9de0f428
Imported from libpng-1.0.9rc2.tar
2009-04-06 16:05:54 -05:00
Glenn Randers-Pehrson
cdf140beec
Imported from libpng-1.0.9beta9.tar
2009-04-06 16:05:52 -05:00
Glenn Randers-Pehrson
231e687411
Imported from libpng-1.0.9beta8.tar
2009-04-06 16:05:51 -05:00
Glenn Randers-Pehrson
76e5fd642e
Imported from libpng-1.0.9beta7.tar
2009-04-06 16:05:49 -05:00
Glenn Randers-Pehrson
f05f8033b8
Imported from libpng-1.0.9rc1.tar
2009-04-06 16:05:47 -05:00
Glenn Randers-Pehrson
408b421265
Imported from libpng-1.0.9beta6.tar
2009-04-06 16:05:45 -05:00
Glenn Randers-Pehrson
2ad31ae31f
Imported from libpng-1.0.9beta5.tar
2009-04-06 16:05:43 -05:00
Glenn Randers-Pehrson
f6b4f45c7e
Imported from libpng-1.0.9beta4.tar
2009-04-06 16:05:41 -05:00
Glenn Randers-Pehrson
d56aca7104
Imported from libpng-1.0.9beta3.tar
2009-04-06 16:05:39 -05:00
Glenn Randers-Pehrson
f5ed0e130c
Imported from libpng-1.0.9beta2.tar
2009-04-06 16:05:37 -05:00
Glenn Randers-Pehrson
fbbb5ecb52
Imported from libpng-1.0.9beta10.tar
2009-04-06 16:05:35 -05:00
Glenn Randers-Pehrson
5e5c1e1f56
Imported from libpng-1.0.9beta1.tar
2009-04-06 16:05:33 -05:00
Glenn Randers-Pehrson
32fc5ceb91
Imported from libpng-1.0.8.tar
2009-04-06 16:05:31 -05:00
Glenn Randers-Pehrson
4766a244b2
Imported from libpng-1.0.8rc1.tar
2009-04-06 16:05:29 -05:00
Glenn Randers-Pehrson
a4d54bdb4a
Imported from libpng-1.0.8beta4.tar
2009-04-06 16:05:28 -05:00
Glenn Randers-Pehrson
ff9c947a1a
Imported from libpng-1.0.8beta3.tar
2009-04-06 16:05:26 -05:00
Glenn Randers-Pehrson
15dac0b14e
Imported from libpng-1.0.8beta2.tar
2009-04-06 16:05:24 -05:00
Glenn Randers-Pehrson
316f97a063
Imported from libpng-1.0.8beta1.tar
2009-04-06 16:05:23 -05:00
Glenn Randers-Pehrson
3d5a520610
Imported from libpng-1.0.7.tar
2009-04-06 16:05:21 -05:00
Glenn Randers-Pehrson
98b0ff4998
Imported from libpng-1.0.7rc2.tar
2009-04-06 16:05:19 -05:00
Glenn Randers-Pehrson
1394480f4b
Imported from libpng-1.0.7beta18.tar
2009-04-06 16:05:18 -05:00
Glenn Randers-Pehrson
1f2d559f70
Imported from libpng-1.0.7rc1.tar
2009-04-06 16:05:16 -05:00
Glenn Randers-Pehrson
db66d44801
Imported from libpng-1.0.7beta17.tar
2009-04-06 16:05:14 -05:00
Glenn Randers-Pehrson
d436672048
Imported from libpng-1.0.7beta16.tar
2009-04-06 16:05:13 -05:00
Glenn Randers-Pehrson
104622bebb
Imported from libpng-1.0.7beta15.tar
2009-04-06 16:05:11 -05:00
Glenn Randers-Pehrson
fc4a143ec6
Imported from libpng-1.0.7beta14.tar
2009-04-06 16:05:09 -05:00
Glenn Randers-Pehrson
ec61c23d56
Imported from libpng-1.0.7beta13.tar
2009-04-06 16:05:08 -05:00
Glenn Randers-Pehrson
1ef65b6742
Imported from libpng-1.0.7beta12.tar
2009-04-06 16:05:07 -05:00
Glenn Randers-Pehrson
752945701e
Imported from libpng-1.0.7beta11.tar
2009-04-06 16:05:05 -05:00
Glenn Randers-Pehrson
98c9d73605
Imported from libpng-1.0.6j.tar
2009-04-06 16:05:04 -05:00
Glenn Randers-Pehrson
6942d53c25
Imported from libpng-1.0.6i.tar
2009-04-06 16:05:02 -05:00
Glenn Randers-Pehrson
326320e5a9
Imported from libpng-1.0.6h.tar
2009-04-06 16:05:01 -05:00
Glenn Randers-Pehrson
228bd390ac
Imported from libpng-1.0.6g.tar
2009-04-06 16:04:59 -05:00
Glenn Randers-Pehrson
4accabb590
Imported from libpng-1.0.6f.tar
2009-04-06 16:04:58 -05:00