luz.paz
a294c1bcb6
Some more trivial source typos
...
Found via `codespell` and `grep`
2018-08-19 00:57:20 -04:00
Cosmin Truta
ceb327789b
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
2018-08-18 22:47:16 -04:00
Cosmin Truta
1ef8882814
Replace the remaining uses of PNG_CONST with 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.
2018-08-18 21:01:02 -04:00
Cosmin Truta
a873893279
Remove the "last changed" version information from source comments
...
This information is maintained by the version control system.
2018-07-28 18:47:21 -04:00
Cosmin Truta
d4fb621429
Bump version to 1.6.36.git and update copyright notice
2018-07-28 18:34:58 -04:00
Cosmin Truta
46aedd8961
Release libpng version 1.6.35
2018-07-15 23:58:00 -04:00
Cosmin Truta
a74aa9a002
[libpng16] Replace the remaining uses of png_size_t with size_t
...
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-06-17 22:37:44 -04:00
Glenn Randers-Pehrson
cde1e1fe79
[libpng16] Bump version to 1.6.35beta02
2018-03-06 14:06:57 -06:00
Glenn Randers-Pehrson
0e06b5948c
[libpng16] Imported from libpng-1.6.35beta01.tar
2018-03-06 14:06:24 -06:00
taigacon
140f3aa280
Fix png_set_option to work.
2018-03-05 22:10:41 +08:00
Glenn Randers-Pehrson
d5e4915ebe
[libpng16] Update copyright year to 2018 in png.c
2018-01-07 20:06:11 -06:00
Glenn Randers-Pehrson
fe669f6f38
[libpng16] Update copyright year
2018-01-07 19:55:19 -06:00
Unknown
f23b41d7b1
Misc. typos
...
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
2017-11-03 00:52:06 -04:00
Glenn Randers-Pehrson
2227793efc
[libpng16] Bump version to 1.6.35beta01
2017-09-29 10:52:22 -05:00
Glenn Randers-Pehrson
b78804f9a2
[libpng16] Imported from libpng-1.6.34.tar
2017-09-29 03:42:33 -05:00
Glenn Randers-Pehrson
345fc37fdc
[libpng16] Bump version to 1.6.34beta01
2017-09-28 17:51:45 -05:00
Glenn Randers-Pehrson
2ee8cb0559
[libpng16] Imported from libpng-1.6.33.tar
2017-09-28 13:58:30 -05:00
Glenn Randers-Pehrson
13a158690f
[libpng16] Imported from libpng-1.6.33rc02.tar
2017-09-23 21:25:19 -05:00
Glenn Randers-Pehrson
2da37077db
[libpng16] Bump version to 1.6.33rc02
2017-09-20 18:40:13 -05:00
Glenn Randers-Pehrson
5f0c9fabbc
[libpng16] Bump version to 1.6.33rc01
2017-09-20 15:50:17 -05:00
Glenn Randers-Pehrson
066cb34268
[libpng16] Fix some comments
2017-09-19 15:52:36 -05:00
Glenn Randers-Pehrson
562a68513e
[libpng16] Initialize tag_start etc. in png_icc_check_tag_table().
2017-09-16 20:53:21 -05:00
Glenn Randers-Pehrson
a7722aee32
[libpng16] Undo faulty attempt to stifle oss-fuzz complaint about
...
png_icc_check_tabler()
2017-09-16 08:37:54 -05:00
Glenn Randers-Pehrson
d1a0937cae
[libpng16] Still another attempt to fix oss-fuzz uninitialized value
2017-09-15 08:20:23 -05:00
Glenn Randers-Pehrson
1c98b85886
[libpng16] Bump version to 1.6.33beta04
2017-09-14 12:48:53 -05:00
Glenn Randers-Pehrson
4de130c255
[libpng16] Imported from libpng-1.6.33beta03.tar
2017-09-14 12:46:28 -05:00
Glenn Randers-Pehrson
4ddead1e1c
[libpng16] Undo failed attempt to prevent UMR in png_icc_check_table().
2017-09-14 07:21:58 -05:00
Glenn Randers-Pehrson
7d40b53fbf
[libpng16] Use png_chunk_report when handling a truncated ICC chunk.
2017-09-13 06:09:10 -05:00
Glenn Randers-Pehrson
61d29bfc80
[libpng16] Guard against Uninitialized Memory Read in png_check_icc_table(),
...
detected by the oss-fuzz project.
2017-09-12 08:22:09 -05:00
Glenn Randers-Pehrson
b5ae93d72e
[libpng16] Rearrange order of tests in png_iccp_check_tag_table()
2017-09-10 05:33:17 -05:00
Glenn Randers-Pehrson
3789cba2f2
[libpng16] Attempt to isolate an oss-fuzz issue in png_set_text_2
2017-09-08 09:34:08 -05:00
Glenn Randers-Pehrson
8592873f24
[libpng16] Attempting to fix an oss-fuzz issue.
2017-09-08 08:27:10 -05:00
Glenn Randers-Pehrson
4911714f74
[libpng16] Fix incorrect typecast of "intent" (should be png_alloc_size_t,
...
was unsigned int). Fixes github issue #175 .
2017-09-04 16:45:45 -05:00
Glenn Randers-Pehrson
fca1862ac9
[libpng16] Bump version to 1.6.33beta03
2017-09-02 19:48:40 -05:00
Glenn Randers-Pehrson
c2c8b398a9
[libpng16] Imported from libpng-1.6.33beta02.tar
2017-09-02 19:48:19 -05:00
Glenn Randers-Pehrson
5c27e93f51
[libpng16] Bump version to 1.6.33beta02
2017-08-30 07:03:12 -05:00
Glenn Randers-Pehrson
58720d3c06
[libpng16] Fix "last changed" dates
2017-08-29 12:29:03 -05:00
Glenn Randers-Pehrson
321c24b0d7
[libpng16] Bump version to 1.6.33beta01
2017-08-28 11:30:44 -05:00
Glenn Randers-Pehrson
f6ca33d42c
[libpng16] Bump version to 1.6.33beta01
2017-08-25 18:54:30 -05:00
Glenn Randers-Pehrson
df7e9dae0c
[libpng16] Imported from libpng-1.6.32.tar
2017-08-24 16:39:02 -05:00
Glenn Randers-Pehrson
1257369169
[libpng16] Bump version to 1.6.32rc03
2017-08-22 20:06:04 -05:00
Glenn Randers-Pehrson
ba5f7f6a3e
[libpng16] Bump version to 1.6.32rc02
2017-08-22 14:01:00 -05:00
Glenn Randers-Pehrson
945759162e
[libpng16] Imported from libpng-1.6.32rc01.tar
2017-08-18 20:01:11 -05:00
Glenn Randers-Pehrson
7b8b7115d9
[libpng16] Bump version to 1.6.32beta12
2017-08-07 14:25:51 -05:00
Glenn Randers-Pehrson
fa2f72258a
[libpng16] Imported from libpng-1.6.32beta11.tar
2017-08-07 09:44:32 -05:00
Glenn Randers-Pehrson
dbdeb1f3fa
[libpng16] Bump version to 1.6.32beta11
2017-08-04 20:09:13 -05:00
Glenn Randers-Pehrson
3d7f3e57b5
[libpng16] Imported from libpng-1.6.32beta10.tar
2017-08-04 20:06:23 -05:00
Glenn Randers-Pehrson
894a9869dd
[libpng16] Bump version to 1.6.32beta10
2017-08-03 18:15:46 -05:00
Glenn Randers-Pehrson
c14be73428
[libpng16] Imported from libpng-1.6.32beta09.tar
2017-08-03 18:15:21 -05:00
Glenn Randers-Pehrson
bfdabdacff
[libpng16] Bump version to 1.6.32beta09
2017-08-03 10:57:55 -05:00