|
bd41aa64
|
2025-09-29T22:06:04
|
|
api! Remove the experimental (and incomplete) ERROR_NUMBERS code
The purpose of this feature is to optionally prepend standardized
numbers to error and warning messages. The ERROR_NUMBERS feature was
first drafted in libpng-1.2.0 and further developed in libpng-1.4.0;
and yet, it was always disabled by default, and never completed.
In the light of a recent report concerning the security hazards arising
from enabling this code in custom libpng builds, we think it's best to
simply remove all the code written to support this feature.
Based on removal in libpng18, but keeping functions and options as
no-ops for backwards compatibility.
Co-authored-by: Cosmin Truta <ctruta@gmail.com>
|
|
c9049172
|
2025-04-25T15:35:11
|
|
Discourage the inclusion of private headers outside libpng
Add checks inside the private png*.h header files, in order to reduce
unintentional occurences of application backdoors.
Such backdoors might occur, for example, when we make changes to the
internal data structures that might somehow "leak" from the libpng
code into the user code. The applications that use the libpng API must
pretend not to know that these headers exist at all.
Co-authored-by: John Bowler <jbowler@acm.org>
Signed-off-by: John Bowler <jbowler@acm.org>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
|
|
d7d950e8
|
2024-10-10T14:09:02
|
|
[libpng16] chore: Clean up the leading blank lines from all source files
The leading blank lines are apparently an artefact of an older source
control system. They are not required and they look like accidents,
because starting a source file with a blank line is not a regular habit
of software developers nowadays.
This is a cherry-pick of commit 37cc20add8fb5b83bb5299a26cd3b41e0f776017
from branch 'libpng18'.
Signed-off-by: John Bowler <jbowler@acm.org>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
|
|
85acd919
|
2018-12-01T09:36:00
|
|
[master] Imported from libpng-1.6.36.tar
|
|
a8738932
|
2018-07-28T18:47:21
|
|
Remove the "last changed" version information from source comments
This information is maintained by the version control system.
|
|
5756fcab
|
2016-01-15T09:52:13
|
|
[master] Imported from libpng-1.6.21.tar
|
|
4d8de339
|
2015-12-13T22:41:17
|
|
[libpng16] Update copyright uears in source files.
|
|
2b667e49
|
2015-03-26T08:06:25
|
|
[master] Imported from libpng-1.6.17.tar
|
|
43d90b16
|
2015-02-17T10:44:26
|
|
[libpng16] Bump version to 1.6.17beta04
|
|
339ef1ec
|
2013-12-19T09:04:52
|
|
[master] Imported from libpng-1.6.8.tar
|
|
be3977de
|
2013-12-19T09:04:52
|
|
[libpng16] Imported from libpng-1.6.8.tar
|
|
83b132f1
|
2013-11-28T14:00:04
|
|
[libpng16] Changed deprecated png_free_default() to free() in pngtest.c
Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
to '"%s" m' to improve portability among compilers.
|
|
1f63da34
|
2013-11-28T13:41:10
|
|
[libpng16] Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
to '"%s" m' to improve portability among compilers.
Changed png_free_default() to free() in pngtest.c
|
|
f5ea1b70
|
2011-01-06T06:42:51
|
|
[devel] Imported from libpng-1.5.0.tar
|
|
64b863cd
|
2011-01-04T09:57:06
|
|
[devel] Update copyright year and bump to version libpng-1.5.0rc07
|
|
f0eda4e8
|
2010-10-15T15:01:57
|
|
[devel] Imported from libpng-1.5.0beta51.tar
|
|
7e1fabe2
|
2010-10-14T07:29:03
|
|
[devel] Imported from libpng-1.5.0beta50.tar
|
|
1b49a71d
|
2010-10-07T20:59:06
|
|
[devel] Imported from libpng-1.5.0beta49.tar
|
|
83b4fc4a
|
2010-10-04T23:03:24
|
|
[devel] Imported from libpng-1.5.0beta48.tar
|
|
b0876110
|
2010-10-04T17:24:36
|
|
[devel] Fixed problem with symbols creation in Makefile.am which was assuming
that CCP writes to standard output by default (Martin Banky).
|
|
bcb3aac3
|
2010-09-10T22:05:27
|
|
[devel] Fixed a number of problems with 64-bit compilation reported by Visual
Studio 2010 (John Bowler).
|
|
39515c9e
|
2010-08-28T06:21:35
|
|
[devel] Imported from libpng-1.5.0beta46.tar
|
|
a7119547
|
2010-08-26T07:07:37
|
|
[devel] Imported from libpng-1.5.0beta45.tar
|
|
9b362b1e
|
2010-08-24T09:03:56
|
|
[devel] Bump to version libpng-1.5.0beta45
|
|
363f96e7
|
2010-08-11T09:00:26
|
|
[devel] Imported from libpng-1.5.0beta41.tar
|
|
836fe66e
|
2010-08-06T06:52:34
|
|
[devel] Imported from libpng-1.5.0beta40.tar
|
|
2c700f97
|
2010-08-02T07:42:08
|
|
[devel] Imported from libpng-1.5.0beta39.tar
|
|
48dc6ebf
|
2010-07-31T07:09:58
|
|
[devel] Revised png_get_int_16() to be similar to png_get_int_32().
|
|
6c47e84d
|
2010-07-29T19:00:42
|
|
[devel] Bump to version libpng-1.5.0beta36
|
|
31aee0d0
|
2010-07-29T17:39:14
|
|
[devel]
Fixed point APIs are now supported throughout (no missing APIs).
Internal fixed point arithmetic support exists for all internal floating
point operations.
sCAL validates the floating point strings it is passed.
Safe, albeit rudimentary, Watcom support is provided by PNG_API_RULE==2
Two new APIs exist to get the number of passes without turning on the
PNG_INTERLACE transform and to get the number of rows in the current
pass.
A new test program, pngvalid.c, validates the gamma code.
Errors in the 16 bit gamma correction (overflows) have been corrected.
cHRM chunk testing is done consistently (previously the floating point
API bypassed it, because the test really didn't work on FP, now the test
is performed on the actual values to be stored in the PNG file so it
works in the FP case too.)
Most floating point APIs now simply call the fixed point APIs after
converting the values to the fixed point form used in the PNG file.
The standard headers no longer include zlib.h, which is currently only
required for pngstruct.h and can therefore be internal.
(Patches by John Bowler)
|
|
915bab5f
|
2010-07-24T08:22:59
|
|
[devel] Bump to version libpng-1.5.0beta35
|
|
39a8bb71
|
2010-07-12T06:43:50
|
|
[devel] Imported from libpng-1.5.0beta34.tar
|
|
aa4e359f
|
2010-07-06T07:40:47
|
|
[devel] Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
|
|
289500ab
|
2010-06-28T20:14:31
|
|
[devel] Imported from libpng-1.5.0beta33.tar
|
|
4db34423
|
2010-06-25T20:13:41
|
|
[devel] Imported from libpng-1.5.0beta32.tar
|
|
821b7106
|
2010-06-24T16:16:32
|
|
[devel] Imported from libpng-1.5.0beta31.tar
|
|
ef3831a1
|
2010-06-22T13:03:32
|
|
[devel] Imported from libpng-1.5.0beta30.tar
|
|
5feb87cd
|
2010-06-21T12:28:05
|
|
[devel] Imported from libpng-1.5.0beta29.tar
|
|
57d96179
|
2010-06-19T19:25:17
|
|
[devel] Imported from libpng-1.5.0beta28.tar
|
|
5b3d554e
|
2010-06-18T21:55:53
|
|
[devel] Imported from libpng-1.5.0beta26.tar
|
|
53c07f59
|
2010-06-18T18:55:55
|
|
[devel] Imported from libpng-1.5.0beta25.tar
|
|
537c1a57
|
2010-05-07T09:42:14
|
|
[devel] Imported from libpng-1.5.0beta24.tar
|
|
f24daf23
|
2010-05-06T09:44:04
|
|
[devel] Added more blank lines for readability.
|
|
aa3143cf
|
2010-04-29T10:53:48
|
|
[devel] Imported from libpng-1.5.0beta23.tar
|
|
bb317fb0
|
2010-04-28T07:44:23
|
|
[devel] Bump to libpng-1.5.0beta22
|
|
deec549d
|
2010-04-26T22:44:40
|
|
[devel] Imported from libpng-1.5.0beta21.tar
|
|
9c5beb56
|
2010-04-24T20:25:19
|
|
[devel] Bump back to version libpng-1.5.0beta21
|
|
b56e0d06
|
2010-04-24T12:10:36
|
|
[devel] Imported from libpng-1.5.0beta19.tar
|
|
5623f781
|
2010-04-17T19:08:05
|
|
[devel] Imported from libpng-1.5.0beta18.tar
|
|
862cb20e
|
2010-04-16T22:12:51
|
|
[devel] Freeze build-time only configuration in the build.
In all prior versions of libpng most configuration options
controlled by compiler #defines had to be repeated by the
application code that used libpng. This patch changes this
so that compilation options that can only be changed at build
time are frozen in the build. Options that are compiler
dependent (and those that are system dependent) are evaluated
each time - pngconf.h holds these. Options that can be changed
per-file in the application are in png.h. Frozen options are
in the new installed header file pnglconf.h
|
|
3cd7cffd
|
2010-04-16T19:27:08
|
|
[devel] Imported from libpng-1.5.0beta17.tar
|
|
c2fa196d
|
2010-04-01T07:16:01
|
|
[devel] Imported from libpng-1.5.0beta16.tar
|
|
b2eacd3e
|
2010-03-17T07:31:48
|
|
[devel] Imported from libpng-1.5.0beta15.tar
|
|
d7da8bb1
|
2010-03-13T20:30:10
|
|
[devel] Eliminated scripts/*.def in favor of libpng.def;
updated projects/visualc71 and removed scripts/makefile.cygwin.
|
|
eae8e36e
|
2010-03-12T17:36:53
|
|
[devel] PNG_EXPORT changed to include an 'ordinal' field
for DEF file generation.
PNG_CALLBACK added to make callback definitions uniform. PNGAPI split
into PNGCAPI (base C form), PNGAPI (exports) and PNGCBAPI (callbacks),
and appropriate changes made to all files. Cygwin builds re-hinged to
allow procedure call standard changes and to remove the need for the DEF
file (fixes build on Cygwin).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe) or to glennrp at users.sourceforge.net
Glenn R-P
|
|
632a84ef
|
2010-03-09T22:28:33
|
|
[devel] Make all png_debug macros into *unterminated* statements
or expressions (i.e. a trailing ';' must always be added) and correct
the format statements in various png_debug messages.
|
|
c957b6b0
|
2010-03-08T21:47:07
|
|
[devel] Bump to version libpng-1.5.0beta13
|
|
86f88ddd
|
2010-03-08T21:28:21
|
|
[devel] Imported from libpng-1.5.0beta12.tar
|
|
c17c957f
|
2010-03-08T21:26:48
|
|
[devel] Added copyright statement to pngdebug.h
and removed a redundant line from the copyright info in pngconf.h
|
|
c3cd22b4
|
2010-03-08T21:10:25
|
|
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
|