1. 30 7月, 2010 1 次提交
    • G
      [devel] · 31aee0d0
      Glenn Randers-Pehrson 提交于
        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)
      31aee0d0
  2. 24 7月, 2010 3 次提交
  3. 22 7月, 2010 1 次提交
  4. 17 7月, 2010 1 次提交
  5. 12 7月, 2010 4 次提交
  6. 06 7月, 2010 2 次提交
  7. 29 6月, 2010 2 次提交
    • G
      289500ab
    • G
      [devel] Reverted changes to call png_longjmp in contrib/gregbook · 73e28ef1
      Glenn Randers-Pehrson 提交于
      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.)
      73e28ef1
  8. 27 6月, 2010 2 次提交
  9. 26 6月, 2010 12 次提交
  10. 07 5月, 2010 1 次提交
  11. 06 5月, 2010 1 次提交
  12. 30 4月, 2010 3 次提交
  13. 29 4月, 2010 7 次提交