Commit Graph

805 Commits

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