- 16 1月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
changes some of the macro definitions in png.h, app code may need corresponding changes.
-
- 15 1月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
truncated (bug introduced in libpng-1.5.3beta05).
-
- 14 1月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 12 1月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
and cleaned up some indentation problems.
-
- 02 1月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 30 12月, 2011 4 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
when png_uint_32 and unsigned long are of different sizes.
-
由 Glenn Randers-Pehrson 提交于
-
- 29 12月, 2011 1 次提交
-
-
由 John Bowler 提交于
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.
-
- 28 12月, 2011 1 次提交
-
-
由 John Bowler 提交于
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.
-
- 27 12月, 2011 1 次提交
-
-
由 Gilles Espinasse 提交于
to the proper location in configure.ac (Gilles Espinasse).
-
- 24 12月, 2011 6 次提交
-
-
由 Glenn Randers-Pehrson 提交于
It was not actually possible to use it uninitialized but gcc doesn't know that.
-
由 John Bowler 提交于
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.
-
由 John Bowler 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
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.
-
由 John Bowler 提交于
and only calls one other internal function and memset.
-
- 23 12月, 2011 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 22 12月, 2011 8 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
-
由 John Bowler 提交于
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.
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
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.
-
- 21 12月, 2011 4 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 18 12月, 2011 5 次提交
-
-
由 John Bowler 提交于
separate. The include path of 'config.h' was erroneously made relative in pngvalid.c in libpng 1.5.7.
-
由 John Bowler 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 17 12月, 2011 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
problems with build scripts that search for config.h and find an inappropriate one in the standard paths.
-