Cosmin Truta
27e8b99287
pngminus: Use the system zlib by default
...
If a zlib source tree exists besides the libpng source tree in the
same parent directory, the pngminus build may fail, unless the zlib
tree is built fully. In order to avoid this failing scenario, do not
use the custom-built zlib by default.
(The custom-built zlib is still necessary on platforms that lack a
system-built zlib.)
2019-04-10 22:23:25 -04:00
Willem van Schaik
62a56d4fcc
pngminus: Change license to MIT, etc.
...
Change the license to MIT.
Move the license text from the source files to a LICENSE file.
Move the change log from the source files to a CHANGES file.
Delete the Turbo C makefile and simplify the Linux makefile heavily.
Create explicitly named static and shared executables in the makefile.
Refresh the README file a bit from the twenty year old one.
Signed-off-by: Willem van Schaik <willem@schaik.com>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2019-04-10 22:23:25 -04:00
Cosmin Truta
3342fafa60
pngminus: Add a CMakeLists file
2019-04-10 22:23:25 -04:00
Cosmin Truta
3f0f1d5579
pngminus: Improve portability and fix style (cont'd)
2019-04-10 22:23:25 -04:00
Cosmin Truta
dcefbc7dcd
pngminus: Improve portability and fix style
2019-04-10 22:23:25 -04:00
Cosmin Truta
1f0221fad7
pngminus: Fix a buffer overflow in tokenizer
2019-04-10 22:23:25 -04:00
luz.paz
eb91c0e4ed
More misc. typos
...
found via `codespell-q 3`
please review
2018-02-09 06:57:29 -05: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
50d2d49220
[libpng16] Imported from libpng-1.6.33beta01.tar
2017-08-28 18:34:23 -05:00
Christian Hesse
14a8996fe6
[libpng] Updated PNGMINUS_UNUSED macro and comments in contrib/pngminus/p*.c
2017-08-28 11:28:18 -05:00
Glenn Randers-Pehrson
5c616548a0
[libpng16] Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added
...
missing parenthesis in contrib/pngminus/pnm2png.c (bug report by Christian
Hesse).
2017-08-28 07:13:22 -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
bcb739a864
[libpng16]Fix several "{" that were written in a different coding style;
...
update version number and copyright year
2017-08-11 10:14:33 -05:00
Glenn Randers-Pehrson
c5f801c82b
[libpng16] Fix typo
2017-08-07 14:35:06 -05:00
Glenn Randers-Pehrson
646fad9d55
[libpng16] Check for 0 return from png_get_rowbytes() in contrib/pngminus/*.c
...
to stop some Coverity issues (162705, 162706, and 162707).
2017-08-07 14:22:56 -05:00
Glenn Randers-Pehrson
11c25c0e9e
[libng16] Update copyright notices in revised "contrib" files.
2017-04-23 18:48:32 -05:00
Glenn Randers-Pehrson
53f22aed41
[libpng16] Document need to check for integer overflow when allocating a pixel
...
buffer for multiple rows in contrib/gregbook, contrib/pngminus, example.c, and
in the manual (suggested by Jaeseung Choi).
2017-04-22 15:21:58 -05:00
Glenn Randers-Pehrson
436ce2c6e9
[libpng16] Bump version to 1.6.26rc02
2016-10-17 12:46:41 -05:00
Glenn Randers-Pehrson
8b83ff3704
[libpng16] Change "n bit" to "n-bit" in comments.
2015-08-13 20:57:18 -05:00
Glenn Randers-Pehrson
67806d44c1
[libpng16] Imported from libpng-1.6.19beta01.tar
2015-07-30 11:18:15 -05:00
Glenn Randers-Pehrson
f1b547a509
[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING
2014-11-04 23:33:46 -06:00
Glenn Randers-Pehrson
f36a94207c
[libpng16] Quieted -Wsign-compare and -Wclobber compiler warnings in
...
contrib/pngminus/*.c
2014-06-13 11:06:33 -05:00
Glenn Randers-Pehrson
86b8016ee9
[libpng16] Fix some permissions
2014-04-06 12:01:51 -05:00
Glenn Randers-Pehrson
4250328102
[libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
2014-01-12 10:49:40 -06:00
Glenn Randers-Pehrson
afd6cecb76
[libpng16] Imported from libpng-1.6.3beta06.tar
2013-05-12 18:36:09 -05:00
Glenn Randers-Pehrson
3f2b5a6670
libpng16] Updated contrib/pngminus/pnm2png.c (Paul Stewart):
...
Fixed whitespace handling
Added a call to png_set_packing()
Initialize dimension values so if sscanf fails at least we have known
invalid values.
2013-05-08 10:09:19 -05:00
Glenn Randers-Pehrson
db67cba8d4
[libpng16] Check for EOF in contrib/pngminus/pnm2png.c (Paul Stewart).
...
Ignore "#" delimited comments in input file to pnm2png.c.
2013-05-07 14:31:35 -05:00
Glenn Randers-Pehrson
871b1d0fab
[libpng16] Bump version to 1.6.1beta05
2013-03-02 15:03:15 -06:00
Glenn Randers-Pehrson
f3af706c2a
[libpng16] Imported from libpng-1.6.0beta05.tar
2013-03-01 21:38:03 -06:00
John Bowler
6f237b6bf0
[libpng16] Remove whitespace at end of lines
2012-03-02 13:20:52 -06:00
Glenn Randers-Pehrson
da1c5ca65a
[libpng16] Imported from libpng-1.6.0beta05.tar
2012-01-14 20:44:14 -06:00
Glenn Randers-Pehrson
04ab33560f
[libpng16] Revised contrib/pngminus/pnm2png.c to avoid warnings
...
when png_uint_32 and unsigned long are of different sizes.
2011-12-29 10:24:50 -06:00
Glenn Randers-Pehrson
7455cbf47e
[libpng16] Update internal version numbering and SO-numbers
2011-11-24 14:49:01 -06:00
Glenn Randers-Pehrson
4164c6f949
[devel] Reverted non-portable GNU syntax in makefile (?=, +=)
2011-07-12 06:11:42 -05:00
Glenn Randers-Pehrson
4b2237a6a4
[devel] Updated contrib/pngminus/makefile.std
2011-07-11 17:52:05 -05:00
Glenn Randers-Pehrson
850769f787
[devel] Revised contrib/visupng, gregbook, and pngminim
...
to demonstrate chop_16_to_8
2011-06-16 09:08:53 -05:00
Glenn Randers-Pehrson
af855e415d
[devel] Remove some trailing blanks.
2011-05-07 10:54:28 -05:00
Glenn Randers-Pehrson
b92e2f7335
[devel] Expanded TAB characters in contrib/pngminus
2010-03-15 09:48:37 -05:00
Glenn Randers-Pehrson
ec3f949874
[devel] Fixed some deprecated usages in the contrib directory.
2009-11-09 10:49:12 -06:00
Glenn Randers-Pehrson
eb58091392
Imported from libpng-1.4.0beta25.tar
2009-04-06 16:10:05 -05:00
Glenn Randers-Pehrson
6bc53be992
Imported from libpng-1.4.0beta7.tar
2009-04-06 16:09:25 -05:00
Glenn Randers-Pehrson
86dc981475
Imported from libpng-1.4.0beta3.tar
2009-04-06 16:09:16 -05:00
Glenn Randers-Pehrson
d60b8fab03
Imported from libpng-1.4.0beta2.tar
2009-04-06 16:09:14 -05:00
Glenn Randers-Pehrson
377657d1d6
Imported from libpng-1.2.2beta4.tar
2009-04-06 16:06:49 -05:00
Glenn Randers-Pehrson
5a0be341ba
Imported from libpng-1.2.1beta1.tar
2009-04-06 16:06:30 -05:00
Glenn Randers-Pehrson
5e5c1e1f56
Imported from libpng-1.0.9beta1.tar
2009-04-06 16:05:33 -05:00
Glenn Randers-Pehrson
228bd390ac
Imported from libpng-1.0.6g.tar
2009-04-06 16:04:59 -05:00
Glenn Randers-Pehrson
520a764cd7
Imported from libpng-1.0.6.tar
2009-04-06 16:04:52 -05:00
Glenn Randers-Pehrson
a77ef625a6
Imported from libpng-1.0.5s.tar
2009-04-06 16:04:50 -05:00
Glenn Randers-Pehrson
61c32d9e66
Imported from libpng-1.0.5q.tar
2009-04-06 16:04:49 -05:00