Commit Graph

523 Commits

Author SHA1 Message Date
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
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
98914f74bf [devel] Bump back to version libpng-1.5.0beta24 2010-04-29 10:57:18 -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
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
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
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
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
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
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
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
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
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