Age | Commit message (Collapse) | Author |
|
Bug: 33166666
Test: gerrit uploader
Change-Id: I6d5d0641ca25e115923fed15f6fc449621f4f4bf
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
(Contributed by Kyle Bentley)
|
|
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.
|
|
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.
|
|
MERGE am: 2f4a5d7c42 -s ours am: 7a2b55c047 -s ours
am: 79afc2c60a -s ours
Change-Id: Ic738180fc81069698d37c38d2b5a5268ad5aaa5c
|
|
MERGE am: 2f4a5d7c42 -s ours
am: 7a2b55c047 -s ours
Change-Id: I1fdd9586d3d60cdb0882b98f684a74018b953f50
|
|
am: 2f4a5d7c42 -s ours
Change-Id: Ib0a5798c46eb78c14d4d2bed7eb2174893a456ee
|
|
Change-Id: I763cdccb66631c589227158bae8e75d016acbc26
|
|
MERGE am: 242b5090b0 -s ours
am: 7af47f7b39 -s ours
Change-Id: Id7d4c07bf83164ab6745c0d162d36ed457cef09d
|
|
MERGE
am: 242b5090b0 -s ours
Change-Id: I45f11b482ae26f7b30fbd394814da1f64c2d91eb
|
|
Change-Id: I04bbb202a8709ab12f2564c4acd9e4fe4ec27210
|
|
|
|
|
|
|
|
Also apply style and formatting fixes
|
|
ARM-specific optimization processes 8 or 4 pixels at once.
Improves performance by around 10-22% on a recent ARM Chromebook.
|
|
|
|
(Contributed by Zhijie Liang)
|
|
am: 1bf0c27e56
Change-Id: I4cce55eb365408aaea7422c289479f708cd1b18a
|
|
am: 7cfd88bba9
Change-Id: I0450db21d43160e19174c4c0787289c9e7ffb738
|
|
am: 4bc5f654f4
Change-Id: Idb1fb703cdc8b7ac158312448f190207ed4bed50
|
|
|
|
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
|
|
|
|
Found via `codespell` and `grep`
|
|
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
|
|
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.
|
|
|
|
|
|
(Contributed by Theo Buehler)
|
|
The compatibility workaround png_memset() has been removed long ago.
The availability of memset() is a platform requirement.
|
|
Pre-ANSI function prototypes are no longer supported.
|
|
create_symlink breaks the MSYS generator in the Windows CMake.
|
|
ec756c3e7a
am: e76b621e28
Change-Id: I6372f76314059de504007dc64a211eb3f3087248
|
|
am: ec756c3e7a
Change-Id: I3ced522d1de161f810a7fcdcb8797bb3dbabb7c6
|
|
am: 62f5255389
Change-Id: I0cfb33135f3bd20bfd08156a0d369a9ac88876f4
|
|
am: 4b8da58d51
Change-Id: Idcd89a413aa7efc4bc7ccc36f64d0c63e5bd6624
|
|
|
|
|
|
Delete the files that are unused, redundant, or fundamentally broken:
def.c, makefile.bor, makefile.knr, makefile.msc, makefile.solaris-x86,
makefile.tc3
|
|
|
|
|
|
As of July 2018, this statement is no longer necessary.
|