1. 02 3月, 2013 1 次提交
  2. 19 2月, 2013 1 次提交
  3. 18 2月, 2013 2 次提交
  4. 17 2月, 2013 1 次提交
  5. 16 2月, 2013 1 次提交
  6. 14 2月, 2013 1 次提交
  7. 20 1月, 2013 1 次提交
  8. 11 1月, 2013 1 次提交
  9. 01 1月, 2013 1 次提交
  10. 14 12月, 2012 1 次提交
  11. 01 11月, 2012 1 次提交
  12. 26 10月, 2012 1 次提交
    • J
      [libpng16] Changed ICC profile support to allow use of an external color · f8dfd123
      John Bowler 提交于
      management system (CMS). In practice it is not possible to obtain cHRM
      information reliably using just the end-point tags because they do not exist
      in the vast majority of profiles.  Instead it is necessary to run the endpoints
      through the ICC colorimetric intent transform (as described in the v4
      spec).  Since this is likely to be too much code inside libpng for too
      little gain (it implies a fairly complete CMS implementation) the code
      has been changed to allow an external CMS to be used.  This code is
      temporarily disabled until a suitable set of test cases using one or more
      external CMS implementations have been implemented.
      f8dfd123
  13. 11 10月, 2012 1 次提交
  14. 05 9月, 2012 1 次提交
    • J
      [libpng16] Improved ICC profile handling including cHRM chunk generation and · b98681b4
      John Bowler 提交于
      fixed Cygwin+MSVC build errors. The ICC profile handling now includes more
      checking.  Several errors that caused rejection of the profile are now
      handled with a warning in such a way that the invalid profiles will be
      read by default in release (but not pre-RC) builds but will not be
      written by default.  The easy part of handling a cHRM chunk is written,
      where the ICC profile contains the required data.  The more difficult
      part plus guessing a gAMA value requires code to pass selected RGB values
      through the profile.
      b98681b4
  15. 26 8月, 2012 1 次提交
    • J
      [libpng16] Cleaned up and corrected ICC profile handling. · 14d0ca62
      John Bowler 提交于
          contrib/libtests/makepng: corrected 'rgb' and 'gray' cases.  profile_error
          messages could be truncated; made a correct buffer size calculation and
          adjusted pngerror.c appropriately. png_icc_check_* checking improved;
          changed the functions to receive the correct color type of the PNG on read
          or write and check that it matches the color space of the profile (despite
          what the comments said before, there is danger in assuming the app will
          cope correctly with an RGB profile on a grayscale image and, since it
          violates the PNG spec, allowing it is certain to produce inconsistent
          app behavior and might even cause app crashes.) Check that profiles
          contain the tags needed to process the PNG (tags all required by the ICC
          spec). Removed unused PNG_STATIC from pngpriv.h.
      14d0ca62
  16. 23 8月, 2012 1 次提交
  17. 16 8月, 2012 2 次提交
  18. 11 8月, 2012 3 次提交
  19. 10 8月, 2012 2 次提交
  20. 09 8月, 2012 1 次提交
    • J
      [libpng16] Fixed configurations where floating point is completely disabled. · 0a9f8eb2
      John Bowler 提交于
      Because of the changes to support symbol prefixing PNG_INTERNAL_FUNCTION
      declares floating point APIs during libpng builds even if they are completely
      disabled. This requires the png floating point types (png_double*) to be
      declared even though the functions are never actually defined.  This
      change provides a dummy definition so that the declarations work, yet any
      implementation will fail to compile because of an incomplete type.
      0a9f8eb2
  21. 30 4月, 2012 1 次提交
    • J
      [libpng16] Removed need for -Wno-cast-align with clang. clang correctly warns · b4541692
      John Bowler 提交于
      on alignment increasing pointer casts when -Wcast-align is passed. This
      fixes the cases clang warns about either (pngread.c) by eliminating the
      casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast
      is previously verified or pngstest.c where it is OK by introducing new
      png_aligncast macros to do the cast in a way that clang accepts.
      b4541692
  22. 24 4月, 2012 1 次提交
  23. 29 3月, 2012 1 次提交
  24. 21 3月, 2012 1 次提交
  25. 19 3月, 2012 1 次提交
  26. 09 3月, 2012 2 次提交
  27. 06 3月, 2012 2 次提交
  28. 04 3月, 2012 1 次提交
  29. 03 3月, 2012 2 次提交
  30. 02 3月, 2012 1 次提交
  31. 25 2月, 2012 1 次提交
  32. 14 2月, 2012 1 次提交
    • J
      [libpng16] Fixed fixed/float API export conditionals. 1) If FIXED_POINT or · bce79882
      John Bowler 提交于
          FLOATING_POINT options were switched off, png.h ended up with lone ';'
          characters.  This is not valid ANSI-C outside a function.  The ';'
          characters have been moved inside the definition of PNG_FP_EXPORT and
          PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
          of the corresponding functions were completely omitted, even though some
          of them are still used internally.  The result is still valid, but
          produces warnings from gcc with some warning options (including -Wall). The
          fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
          when png.h is included from pngpriv.h.
      bce79882