summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-17Add default code reviewers into OWNERSChih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: I6d5d0641ca25e115923fed15f6fc449621f4f4bf
2018-12-30scripts: Delete makefile.ne12bsd; clean up makefile.*bsdCosmin Truta
2018-12-30Bump version to 1.6.37.gitCosmin Truta
2018-12-01Join the branches 'libpng16' and 'master'Cosmin Truta
The branch 'libpng16' is for tracking libpng version 1.6.x. The branch 'master' is for tracking the latest stable libpng version. These branches will diverge again at the next major libpng upgrade.
2018-12-01Release libpng version 1.6.36Cosmin Truta
2018-12-01[master] Imported from libpng-1.6.36.tarCosmin Truta
2018-11-25Introduce the PNG Reference Library License version 2Cosmin Truta
The new libpng license comprises the terms and conditions from the zlib license, and the disclaimer from the Boost license. The legacy libpng license, used until libpng-1.6.35, is appended to the new license, following the precedent established in the Python Software Foundation License version 2. From now on, the list of contributing authors shall be maintained in a separate AUTHORS file. The lists of previous contributing authors, mentioned in the legacy libpng license and considered to be an integral part of that license, are kept intact, with no further updates.
2018-11-25Clean up config, scripts, examples, etc.Cosmin Truta
2018-11-23CMakeLists: Fix incorrect creation of pkg-config fileKyle Bentley
(Contributed by Kyle Bentley)
2018-11-17CMakeLists: Require CMake version 3.1 or newerCosmin Truta
Although CMake version 3.0.2 was previously required, the policies CMP0053 and CMP0054, introduced only in CMake version 3.1 and used in this CMakeLists file, can have surprising effects under an older CMake version. Simplify the CMakeLists file by setting the global policy version to 3.1, and remove the specific policy settings. As an added bonus, remove the vestigial workarounds for all ancient CMake versions.
2018-11-17CMakeLists: Fix detection of libmCosmin Truta
Only use libm on Unix and Unix-like systems, except for Apple (where it's unnecessary), and BeOS and Haiku (where it's unavailable). Avoid searching for libm at explicit locations. They may be incorrect, especially for cross-platform builds.
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 2f4a5d7c42 -s ours am: 7a2b55c047 -s ours am: 79afc2c60a -s ours Change-Id: Ic738180fc81069698d37c38d2b5a5268ad5aaa5c
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 2f4a5d7c42 -s ours am: 7a2b55c047 -s ours Change-Id: I1fdd9586d3d60cdb0882b98f684a74018b953f50
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGEBill Yi
am: 2f4a5d7c42 -s ours Change-Id: Ib0a5798c46eb78c14d4d2bed7eb2174893a456ee
2018-10-24Merge pie-platform-release to aosp-master - DO NOT MERGEBill Yi
Change-Id: I763cdccb66631c589227158bae8e75d016acbc26
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 242b5090b0 -s ours am: 7af47f7b39 -s ours Change-Id: Id7d4c07bf83164ab6745c0d162d36ed457cef09d
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 242b5090b0 -s ours Change-Id: I45f11b482ae26f7b30fbd394814da1f64c2d91eb
2018-10-24Merge pi-platform-release to stage-aosp-master - DO NOT MERGEBill Yi
Change-Id: I04bbb202a8709ab12f2564c4acd9e4fe4ec27210
2018-09-04Rerun autogen.shCosmin Truta
2018-09-04Remove the "last changed" version information from source commentsCosmin Truta
2018-09-04Fix the build with MSVC ARM64Cosmin Truta
2018-09-04Restore the ANSI C compliance after adding the ARM optimizationCosmin Truta
Also apply style and formatting fixes
2018-09-04Optimize png_do_expand_palette for ARMRichard Townsend
ARM-specific optimization processes 8 or 4 pixels at once. Improves performance by around 10-22% on a recent ARM Chromebook.
2018-09-03Restore the ANSI C compliance after applying the MSVC ARM64 fixCosmin Truta
2018-09-03Fix build errors with MSVC ARM64zzzzRuby
(Contributed by Zhijie Liang)
2018-08-29Merge "Undefine PNG_READ_OPT_PLTE_SUPPORTED" am: 4bc5f654f4 am: 7cfd88bba9Leon Scroggins III
am: 1bf0c27e56 Change-Id: I4cce55eb365408aaea7422c289479f708cd1b18a
2018-08-29Merge "Undefine PNG_READ_OPT_PLTE_SUPPORTED" am: 4bc5f654f4Leon Scroggins III
am: 7cfd88bba9 Change-Id: I0450db21d43160e19174c4c0787289c9e7ffb738
2018-08-29Merge "Undefine PNG_READ_OPT_PLTE_SUPPORTED"Leon Scroggins III
am: 4bc5f654f4 Change-Id: Idb1fb703cdc8b7ac158312448f190207ed4bed50
2018-08-29Merge "Undefine PNG_READ_OPT_PLTE_SUPPORTED"Treehugger Robot
2018-08-28Undefine PNG_READ_OPT_PLTE_SUPPORTEDLeon Scroggins III
Bug: 113211371 Test: not feasible - this prevents out of bounds read With PNG_READ_OPT_PLTE_SUPPORTED defined, a PLTE chunk following a tRNS chunk will negate the tRNS chunk for an image which is not paletted. The result is that we may read out of bounds. Change-Id: I4c6032e077b220f8349ab9e7c4102c460d1a7ea2
2018-08-19Prefer memcpy to manual pointer arithmetic.Samuel Williams
2018-08-19Some more trivial source typosluz.paz
Found via `codespell` and `grep`
2018-08-18Remove top-level const from function-scope variablesCosmin 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-18Replace the remaining uses of PNG_CONST with constCosmin 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-08-18CMakeLists: Update the contributor listCosmin Truta
2018-08-18CMakeLists: Fix styleCosmin Truta
2018-08-12Fix a build warning on OpenBSDCosmin Truta
(Contributed by Theo Buehler)
2018-08-11configure: Remove the memset check and the HAVE_MEMSET macroCosmin Truta
The compatibility workaround png_memset() has been removed long ago. The availability of memset() is a platform requirement.
2018-08-11CMakeLists: Remove the PNGARG optionCosmin Truta
Pre-ANSI function prototypes are no longer supported.
2018-08-10CMakeLists: Avoid symlinks on MSYSCosmin Truta
create_symlink breaks the MSYS generator in the Windows CMake.
2018-08-01Merge "Make libpng recovery_available" am: 4b8da58d51 am: 62f5255389 am: ↵Tao Bao
ec756c3e7a am: e76b621e28 Change-Id: I6372f76314059de504007dc64a211eb3f3087248
2018-08-01Merge "Make libpng recovery_available" am: 4b8da58d51 am: 62f5255389Tao Bao
am: ec756c3e7a Change-Id: I3ced522d1de161f810a7fcdcb8797bb3dbabb7c6
2018-08-01Merge "Make libpng recovery_available" am: 4b8da58d51Tao Bao
am: 62f5255389 Change-Id: I0cfb33135f3bd20bfd08156a0d369a9ac88876f4
2018-08-01Merge "Make libpng recovery_available"Tao Bao
am: 4b8da58d51 Change-Id: Idcd89a413aa7efc4bc7ccc36f64d0c63e5bd6624
2018-08-02Merge "Make libpng recovery_available"Tao Bao
2018-08-01CMake: Fix compilation on systems without libmCameron Cawley
2018-07-29Clean up the scripts/ directoryCosmin Truta
Delete the files that are unused, redundant, or fundamentally broken: def.c, makefile.bor, makefile.knr, makefile.msc, makefile.solaris-x86, makefile.tc3
2018-07-29Update projects/vstudioCosmin Truta
2018-07-29Update the documentationCosmin Truta
2018-07-28Remove the Y2K compliance statementCosmin Truta
As of July 2018, this statement is no longer necessary.