|
77c3a392
|
2022-11-20T21:23:33
|
|
Clean up comments and whitespace characters in source files
Remove all remaining "last changed" version info from source comments.
(The version control system maintains this information automatically.)
Delete the trailing whitespace characters.
|
|
85acd919
|
2018-12-01T09:36:00
|
|
[master] Imported from libpng-1.6.36.tar
|
|
ceb32778
|
2018-08-18T22:47:16
|
|
Remove top-level const from function-scope variables
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
|
|
b363e01e
|
2017-03-16T07:21:03
|
|
[master] Imported from libpng-1.6.29.tar
|
|
d42e88d5
|
2017-03-16T07:21:03
|
|
[libpng16] Imported from libpng-1.6.29.tar
|
|
b475d059
|
2017-02-22T15:09:20
|
|
[libpng16] Update credits and copyright information about powerpc-vsx code
|
|
8a242668
|
2017-02-01T14:26:02
|
|
Added warning with supported OSes list for VSX check
|
|
b42e8bce
|
2017-02-01T14:03:57
|
|
Added PNG_UNUSED macro in contrib/powerpc/linux{_aux}.c
|
|
b1be7846
|
2017-02-01T13:58:54
|
|
Fixed mixed tabs and spaces in contrib/powerpc/linux_aux.c
|
|
f2b82916
|
2017-01-31T12:13:39
|
|
Removed commentary about contrib/powerpc/READM
|
|
80041d15
|
2017-01-31T15:07:14
|
|
Update contrib/powerpc/linux_aux.c header
|
|
bea573d3
|
2017-01-31T11:59:11
|
|
Added auxv-based VSX detection method for PowerPC and enabled it by default
|