1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 01 12月, 2018 1 次提交
  4. 19 8月, 2018 2 次提交
    • C
      Remove top-level const from function-scope variables · ceb32778
      Cosmin Truta 提交于
      As per the const correctness rules, top-level const-ness of data
      in automatic scopes does not propagate outside of these scopes
      (unlike const-ness at lower levels, such as pointers to const data).
      
      Previously, const was used liberally, but inconsistently across the
      libpng codebase. Using const wherever applicable is not incorrect.
      However, _consistent_ use of const is difficult to maintain in such
      conditions.
      
      In conclusion, we shall continue to use const only where doing so is
      strictly necessary:
      
      1. If a function guarantees that it will not modify an argument
         passed by pointer, the corresponding function parameter should be
         a pointer-to-const (const T *).
      
      2. Static data should not be modified, therefore it should be const.
      
      Reference:
      Google C++ Style Guide
      https://google.github.io/styleguide/cppguide.html#Use_of_const
      ceb32778
    • C
      Replace the remaining uses of PNG_CONST with const · 1ef88828
      Cosmin Truta 提交于
      In v1.6.0, compiler support for const became a requirement.
      It should be used consistently. To maintain backwards compatibility,
      PNG_CONST is still maintained in deprecated form.
      1ef88828
  5. 29 7月, 2018 1 次提交
  6. 16 7月, 2018 2 次提交
  7. 18 6月, 2018 2 次提交
  8. 08 1月, 2018 1 次提交
  9. 03 11月, 2017 1 次提交
    • U
      Misc. typos · f23b41d7
      Unknown 提交于
      Some are user facing. Some are in actual code. Most are in source comments. Also, please double check the changes in contrib/tools/pngfix.c
      f23b41d7
  10. 01 11月, 2017 1 次提交
  11. 30 10月, 2017 1 次提交
  12. 29 10月, 2017 1 次提交
  13. 21 10月, 2017 1 次提交
  14. 18 10月, 2017 1 次提交
  15. 29 9月, 2017 2 次提交
  16. 24 9月, 2017 1 次提交
  17. 23 9月, 2017 2 次提交
  18. 21 9月, 2017 2 次提交
  19. 20 9月, 2017 2 次提交
  20. 19 9月, 2017 1 次提交
  21. 03 9月, 2017 1 次提交
  22. 01 9月, 2017 1 次提交
  23. 30 8月, 2017 1 次提交
  24. 26 8月, 2017 1 次提交
  25. 25 8月, 2017 2 次提交
  26. 07 8月, 2017 1 次提交
  27. 06 8月, 2017 6 次提交