Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-18 | Remove top-level const from function-scope variables | 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 | |||
2018-08-18 | Replace the remaining uses of PNG_CONST with const | 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. | |||
2018-07-28 | Remove the "last changed" version information from source comments | Cosmin Truta | |
This information is maintained by the version control system. | |||
2018-07-15 | Release libpng version 1.6.35 | Cosmin Truta | |
2018-06-17 | [libpng16] Replace the remaining uses of png_size_t with size_t | Cosmin Truta | |
In v1.6.0, size_t became a required type. It should be used consistently. To maintain backwards compatibility, png_size_t is still maintained in deprecated form. | |||
2018-03-06 | [libpng16] Imported from libpng-1.6.35beta01.tar | Glenn Randers-Pehrson | |
2017-11-04 | [libpng16] Initialize entire 256-entry palette in png_set_PLTE(). | Glenn Randers-Pehrson | |
2017-10-29 | [libpng16] Revert recent changes that did not help with oss-fuzz issues | Glenn Randers-Pehrson | |
2017-10-19 | [libpng16] Use png_calloc instead of png_malloc in png_set_tRNS | Glenn Randers-Pehrson | |
2017-10-17 | [libpng16] Initialize entire palette array to zero in png_handle_PLTE(). | Glenn Randers-Pehrson | |
2017-10-17 | [libpng16] Revert recent changes to pngset.c | Glenn Randers-Pehrson | |
2017-10-16 | [libpng16] Free tRNS chunk data when abandoning it | Glenn Randers-Pehrson | |
2017-10-16 | [libpng16] Do not enable tRNS having trans_color with out-of-range value. | Glenn Randers-Pehrson | |
2017-10-15 | [libpng16] Nullify trans_color with out-of-range value, to stop oss-fuzz issue. | Glenn Randers-Pehrson | |
2017-09-19 | [libpng16] Fix some comments | Glenn Randers-Pehrson | |
2017-09-16 | [libpng16] Undo another faulty attempt to stifle oss-fuzz complaint | Glenn Randers-Pehrson | |
2017-09-15 | [libng16] Attempt to stop Use of Uninitialized Value in png_set_text_2() | Glenn Randers-Pehrson | |
2017-09-15 | [libpng16] Still another attempt to fix oss-fuzz uninitialized value | Glenn Randers-Pehrson | |
2017-09-14 | [libpng16] Imported from libpng-1.6.33beta03.tar | Glenn Randers-Pehrson | |
2017-09-13 | [libpng16] Undo failed attempt to debug UMR in png_set_text_2(). | Glenn Randers-Pehrson | |
2017-09-12 | [libpng16] Attempt to debug Uninitialized Memory Read in png_set_text_2(), | Glenn Randers-Pehrson | |
detected by the oss-fuzz project. | |||
2017-09-10 | [libpng16] Trying to avoid a UMR in png_set_text_2((). | Glenn Randers-Pehrson | |
2017-09-10 | [libpng16] Trying to isolate oss-fuzz issue in png_set_text_2(). | Glenn Randers-Pehrson | |
2017-09-08 | [libpng16] Attempt to isolate an oss-fuzz issue in png_set_text_2 | Glenn Randers-Pehrson | |
2017-08-29 | [libpng16] Fix "last changed" dates | Glenn Randers-Pehrson | |
2017-08-25 | [libpng16] Bump version to 1.6.33beta01 | Glenn Randers-Pehrson | |
2017-08-24 | [libpng16] Imported from libpng-1.6.32.tar | Glenn Randers-Pehrson | |
2017-08-05 | [libpng16] Added "eXIf" to "chunks_to_ignore[]" in ↵ | Glenn Randers-Pehrson | |
png_set_keep_unknown_chunks(). | |||
2017-08-03 | [libpng16] Restored png_get_eXIf_1() and png_set_eXIf_1() because ↵ | Glenn Randers-Pehrson | |
strlen(eXIf_buf) does not work (the eXIf chunk data can contain zeroes). | |||
2017-08-02 | [libpng16] Removed png_get_eXIf_1() and png_set_eXIf_1(). | Glenn Randers-Pehrson | |
2017-08-02 | [libpng16] Restored png_get_eXIf() and png_set_eXIf() to maintain API ↵ | Glenn Randers-Pehrson | |
compatability. | |||
2017-08-01 | [libpng16] Stop memory leak when returning from png_handle_eXIf() with an error | Glenn Randers-Pehrson | |
(Bug report from the OSS-fuzz project). | |||
2017-07-31 | [libpng16] Update "Last changed" dates and some copyright years | Glenn Randers-Pehrson | |
2017-07-31 | [libpng16] Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1() | Glenn Randers-Pehrson | |
and png_set_eXIf_1(), respectively, to avoid breaking API compatibility with libpng-1.6.31. | |||
2017-07-31 | [libpng16] Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf() | Glenn Randers-Pehrson | |
in pngwrite.c, and made various other fixes to png_write_eXIf(). Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif to arguments for png_get_eXIf() and png_set_eXIf(). | |||
2017-07-13 | [libpng16] Implement eXIf chunk support | Glenn Randers-Pehrson | |
2017-06-29 | [libpng16] Update some "last changed" dates | Glenn Randers-Pehrson | |
2017-03-30 | [libpng16] Update CHANGES, ANNOUNCE, and "last changed" dates. | Glenn Randers-Pehrson | |
2017-03-29 | silence clang -Wcomma warnings | Viktor Szakats | |
2016-10-19 | [libpng16] Imported from libpng-1.6.26.tar | Glenn Randers-Pehrson | |
2016-10-02 | [libpng16] Quieted 45 (out of 86 remaining) -Wconversion compiler warnings | Glenn Randers-Pehrson | |
2016-09-03 | [libpng16] Update CHANGES and ANNOUNCE and last-changed date in pngset.c | Glenn Randers-Pehrson | |
2016-09-02 | [libpng16] png_set_pCAL: do not png_error on read | John Bowler | |
Because png_handle_pCAL has allocated memory to free. Signed-off-by: John Bowler <jbowler@acm.org> | |||
2016-08-03 | [libpng16] Imported from libpng-1.6.24.tar | Glenn Randers-Pehrson | |
2016-07-15 | [libpng16] Fixed more indentation | Glenn Randers-Pehrson | |
2016-07-13 | [libpng16] Fixed some indentation to comply with our coding style. | Glenn Randers-Pehrson | |
2016-07-01 | [libpng16] Updated CHANGES and ANNOUNCE | Glenn Randers-Pehrson | |
2016-07-01 | pngcp: tool to copy PNG files | John Bowler | |
This adds pngcp to the build together with a pngcp.dfa configuration test; the test revealed some configuration bugs which are fixed by corrections to the _SUPPORTED macros. pngcp builds on all tested configurations and a number of bugs have been fixed to make this happen relative to the version in libpng 1.7 contrib/examples. pngcp.dfa will have to be different for 1.7 but pngcp.c should work fine (not yet tested). pngcp itself is still missing a usage message; this is a preliminary version, although since it behaves the same way as 'cp' most unoids shouldn't have a problem using it correctly. Signed-off-by: John Bowler <jbowler@acm.org> | |||
2016-06-09 | [libpng16] Imported from libpng-1.6.23.tar | Glenn Randers-Pehrson | |
2016-05-27 | [libpng16] Ensure png_ptr->trans_values is set in png_set_tRNS(). | Glenn Randers-Pehrson | |