1. 25 10月, 2012 2 次提交
  2. 30 9月, 2012 2 次提交
  3. 28 9月, 2012 1 次提交
  4. 27 9月, 2012 1 次提交
  5. 07 9月, 2012 2 次提交
    • J
      48cbba8e
    • J
      [libpng16] Changed ICC profile matrix/vector types to not depend on array · b2571470
      John Bowler 提交于
      type rules.  By the ANSI-C standard the new types should be identical to the
      previous versions, and all known versions of gcc tested with the previous
      versions except for GCC-4.2.1 work with this version.  The change makes the
      ANSI-C rule that const applied to an array of elements applies instead to the
      elements in the array moot by explicitly applying const to the base
      elements of the png_icc_matrix and png_icc_vector types. The accidental
      (harmless) 'const' previously applied to the parameters of two of the
      functions have also been removed.
      b2571470
  6. 05 9月, 2012 3 次提交
  7. 02 9月, 2012 1 次提交
    • J
      [libpng16] Made makepng and pngtest produce identical PNGs, add "--relaxed" · d099973c
      John Bowler 提交于
      option to pngtest. The "--relaxed" option turns off the benign errors that are
      enabled by default in pre-RC builds. makepng can now write ICC profiles
      where the length has not been extended to a multiple of 4, and pngtest
      now intercepts all libpng errors, allowing the previously-introduced
      "--strict test" on no warnings to actually work.
      d099973c
  8. 01 9月, 2012 3 次提交
  9. 30 8月, 2012 2 次提交
  10. 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
  11. 18 8月, 2012 2 次提交
  12. 17 8月, 2012 2 次提交
    • J
      [libpng16] Corrected fix for unknown handling in pngtest. This reinstates the · 3c1f6983
      John Bowler 提交于
      libpng handling of unknown chunks other than vpAg and sTER (including
      unsafe-to-copy chunks which were dropped before) and eliminates the
      repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
      (so the chunks are where libpng would put them).
      3c1f6983
    • J
      [libpng16] Allow fine grain control of unknown chunk APIs. This change allows · 4a6c6df6
      John Bowler 提交于
      png_set_keep_unknown_chunks() to be turned off if not required and causes
      both read and write to behave appropriately (on read this is only possible
      if the user callback is used to handle unknown chunks).  The change
      also removes the support for storing unknown chunks in the info_struct
      if the only unknown handling enabled is via the callback, allowing libpng
      to be configured with callback reading and none of the unnecessary code.
      4a6c6df6
  13. 16 8月, 2012 1 次提交
    • J
      [libpng16] Unknown handling fixes and clean up. This adds more correct option · e9567514
      John Bowler 提交于
      control of the unknown handling, corrects the pre-existing bug where
      the per-chunk 'keep' setting is ignored and makes it possible to skip
      IDAT chunks in the sequential reader (broken in earlier 1.6 versions).
      There is a new test program, test-unknown.c, which is a work in progress
      (not currently part of the test suite).  Comments in the header files now
      explain how the unknown handling works.
      e9567514
  14. 12 8月, 2012 2 次提交
  15. 11 8月, 2012 6 次提交
  16. 10 8月, 2012 5 次提交
  17. 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
  18. 03 8月, 2012 1 次提交
  19. 22 7月, 2012 2 次提交