Commit Graph

501 Commits

Author SHA1 Message Date
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