pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
p5-Imager: update to 1.006.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Sep 20 12:36:34 2017 +0200
Changeset: f29440e41378d1c9eb58d2ff935d3c67257b93f1
Modified Files:
p5-Imager/Makefile
p5-Imager/distinfo
Log Message:
p5-Imager: update to 1.006.
- the internal i_errors() function now correctly allocates the stack
space needed for its result.
https://rt.perl.org/rt3/Ticket/Display.html?id=131938
- t/100-base/020-color.t now uses Imager::Test's test functions
instead of its own.
https://rt.cpan.org/Ticket/Display.html?id=111993
- write_multi() now returns an error result (a false value) if called
with a non-(Imager image object). Previously it would typically
crash.
https://rt.cpan.org/Ticket/Display.html?id=117878
- improve the documentation of the jpegquality parameter when
writing JPEG files.
- add code to mitigate CVE-2016-1238, Imager will no longer search the
default current directory entry in @INC when searching for file
format support modules.
Imager 1.005 - 16 Apr 2016
============
It's now been ten years since I switched to the new Changes file in
release 0.55.
- revert the ivdformat probes, they don't work as is and trying to
fix them is too much work for now.
Imager 1.004_004 - 15 Apr 2016
================
- test that the ivdformat from Config is correct and look for a valid
one if it isn't.
For the strange Win32 failures.
- fix a copy and paste error in pod in samples/samp-form.cgi
Imager 1.004_003 - 23 Mar 2016
================
- add some extra error reporting to the I/O layers tests, this might
help catch a failure seen on Win32.
http://cpantesters.org/cpan/report/99781689-6bf5-1014-897a-75cb4eee1325
Imager 1.004_002 - 20 Mar 2016
================
- don't use the seek() method on opened() handles in
t/200-file/400-basic.t. In older versions of perl such handles are
only IO::Handle objects, not IO::File, and don't have a seek()
method.
Imager 1.004_001 - 16 Mar 2016 (Birthday release - but not my birthday)
================
- re-work the t/200-file/400-basic.t to correctly handle failures
It's custom ok() function didn't have a prototype and didn't use scalar().
This caused ok() to use the note instead of the value being tested when
the method called returned an empty list. For an example of the problem
caused see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812093
- remove some noise from when Imager tried to work with bugs in old
versions of giflib. I can't do much about the new bugs.
- the new autolevels filter (Imager 0.99) used an integer for the
sample scaling factor which caused the top output level to be too
low (depending on the scaling required.) It now uses a double.
https://rt.cpan.org/Ticket/Display.html?id=111871
- the new autolevels filter had off-by-one errors calculating the
minimum and maximum luminance from the histogram. This slightly
reduced the contrast of the output image.
https://rt.cpan.org/Ticket/Display.html?id=111871
- the new autolevels filter now uses a lookup table for 8-bit images
to avoid a floating point multiply for each sample.
https://rt.cpan.org/Ticket/Display.html?id=111871
- fixed several memory leaks detected by valgrind:
- addcolors() leaked the temporary array of colors supplied to the
internal API
- make_palette() leaked the temporary image array (not the images
themselves) passed to the internal API.
- combine()/i_combine() leaked its working row buffers
- getcolorusage()/i_get_anonymous_color_histo() leaked the sample
buffer if there were too many colors
- getcolorcount()/i_count_colors() leaked the sample buffer if
there were too many colors.
- the nearest_color filter (undocumented until I find a use for it)
leaked both temporaries passed to the API and internal buffers
- the internal process of upgrading a paletted image to a direct
color image would leak a context object reference count.
- a write failure when writing to a GIF file could leak memory.
- failing to write to a 1-bit/pixel ICO image could leak memory.
- Imager no longer deliberately leaks the context object from the
initial thread. This was done to ensure there was always a context
object available, but the code that needed that now handles the
lack correctly,
- fixed some uninitialized memory usage detected by valgrind:
- rotate()/i_rotate_exact()/i_rotate_exact_bg()/i_matrix_transform()/
i_matrix_transform_bg() didn't initialize a working color value
if there was zero pixel coverage.
- i_ft2_cp() didn't initialize the complete color when producing an
intermediate image. This caused uninitialized value usage when
logging the color.
Imager 1.004 - 8 Nov 2015
============
- Imager::Color::Table is now pre-loaded by the preload() method.
https://rt.cpan.org/Ticket/Display.html?id=104896
- fix an assertion triggered under perl 5.23.4.
Thanks to A. Sinan Unur for the report and the patch.
- Imager->new can now be used to read raw image files.
https://rt.cpan.org/Ticket/Display.html?id=106836
Thanks to Richard Kelsch for reporting this.
- deal with output changes from Pod::Spell
https://github.com/perl-pod/Pod-Spell/issues/21
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f29440e41378d1c9eb58d2ff935d3c67257b93f1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-Imager/Makefile | 2 +-
p5-Imager/distinfo | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diffs:
diff --git a/p5-Imager/Makefile b/p5-Imager/Makefile
index 96a4ff92a2..3df2593960 100644
--- a/p5-Imager/Makefile
+++ b/p5-Imager/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2015/07/14 15:45:29 fhajny Exp $
-DISTNAME= Imager-1.003
+DISTNAME= Imager-1.006
PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Imager/}
diff --git a/p5-Imager/distinfo b/p5-Imager/distinfo
index 3f4ce8825f..38beb415ae 100644
--- a/p5-Imager/distinfo
+++ b/p5-Imager/distinfo
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.7 2015/07/14 15:45:29 fhajny Exp $
-SHA1 (Imager-1.003.tar.gz) = 24a40af326842c1bd640a318c47b45b458e893c9
-RMD160 (Imager-1.003.tar.gz) = 6aa1d81da1b0f69913164e0e5bdc86db7db32df9
-Size (Imager-1.003.tar.gz) = 1227310 bytes
+SHA1 (Imager-1.006.tar.gz) = 4ef06a5769718e34d47f4500cbff492a41e36b93
+RMD160 (Imager-1.006.tar.gz) = 4bb856a29e3010283d07fa0ca36e6e08fa395143
+SHA512 (Imager-1.006.tar.gz) = 53e1044fd13c0f2da61159c8ba08b0e5ab70b7da2abac70c420de95bdf64dd37cd9cd82534d4038b21c43867845a63fe74367bf7a1cdb0ff56df52f61c58c887
+Size (Imager-1.006.tar.gz) = 1230141 bytes
Home |
Main Index |
Thread Index |
Old Index