]> git.imager.perl.org - imager.git/blob - Changes
ignore W32/testout and remove it on a clean
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 0.77_02 - unreleased
4 ==============
5
6  - moved Win32 font support into a sub-module.
7    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
8    Uses Imager::Probe now.
9    https://rt.cpan.org/Public/Bug/Display.html?id=61328
10
11 Imager 0.77_01 - 13 Sep 2010
12 ==============
13
14  - add each library-directory/pkgconfig/ to the pkg-config search path
15    in Imager::Probe.
16    Thanks to Justin Davis.
17    https://rt.cpan.org/Ticket/Display.html?id=60491
18
19  - moved GIF, TIFF, JPEG file handling code into sub-modules in
20    preparation for separate distribution.
21    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
22
23  - optimize filled box drawing (color, not fill)
24
25 Bug fixes:
26
27  - Imager::Probe was calling ExtUtils::Liblist to initialize
28    LD_RUN_PATH supplying an undefined value rather than the found
29    directory.  Thanks to Justin Davis.
30    https://rt.cpan.org/Ticket/Display.html?id=60491
31
32  - only prepend ./ to font filenames when passing them to T1Lib and
33    then only when it would use its search mechanisms.
34    https://rt.cpan.org/Ticket/Display.html?id=60509
35
36  - fix the cache check for the X rgb.txt loader.  This is typically
37    used for color translation on Unix-like systems, and the fix
38    improves performance of supplying colors by name by about 80 times.
39    Test code that managed 3400 10x10 pixel boxes/second sped up to
40    25700 boxes/second.
41
42  - clarify that Imager doesn't write EXIF metadata to images.
43    https://rt.cpan.org/Ticket/Display.html?id=60637
44
45  - Imager::Probe can now search subdirectories under its include path.
46    Used by the PNG Makefile.PL to find headers and libraries when they
47    aren't in the base directory, as in cygwin.
48    https://rt.cpan.org/Ticket/Display.html?id=60635
49
50 Imager 0.77 - 11 Aug 2010
51 ===========
52
53 I don't want Imager::File::PNG indexed as part of Imager, but forgot
54 to update the META.yml before updating the version.
55
56  - don't index Imager::File::PNG as part of Imager
57
58  - add resources to META.yml
59
60 Imager 0.76 - not released
61 ===========
62
63 Bug fixes:
64
65  - the align_string() method would ignore a string of "0" due to a
66    mis-use of C< ||= >.
67    Thanks to Maurice Height for reporting this.
68    https://rt.cpan.org/Ticket/Display.html?id=60199
69
70 Imager 0.75_03 - 09 Aug 2010
71 ==============
72
73 Bug fixes:
74
75  - read_types() and write_types() would include png when it wasn't
76    available due to a problem with the %formats tie
77
78  - handle dependent libraries correctly (eg -lpng requiring -lz) in
79    the code run phase of library probing.
80
81 Imager 0.75_02 - 07 Aug 2010
82 ==============
83
84 Bug fixes:
85
86  - add file missing from MANIFEST, which was causing TIFF failures.
87
88 Imager 0.75_01 - 06 Aug 2010
89 ==============
90
91 Test release for the new PNG probe.
92
93  - added the ability to read multiple-image PNM files.
94    Note that unlike the pbm/pgm/ppm specification this accepts mixed
95    format files and allows white space padding between files.
96    Thanks to Philip Gwyn (Leolo) for this patch.
97
98  - moved the PNG file handling code into a sub-module in preparation
99    for separate distribution.
100    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
101    Also helps avoid complications from -I/-L compile/link options from
102    other libraries.
103
104 Bugs:
105
106  - Imager->new(data => $data) didn't try to process image file data in
107    $data
108    https://rt.cpan.org/Ticket/Display.html?id=58761
109
110  - t/t50basicoo.t no longer depends on the other tests to generate its 
111    input files.
112    https://rt.cpan.org/Ticket/Display.html?id=9798
113    Also, it wasn't testing pnm (pnm vs ppm mix-up)
114
115  - update the documentation of hardinvert to match the change in 0.62.
116    https://rt.cpan.org/Ticket/Display.html?id=59785
117
118  - added hardinvertall filter which also inverts the alpha channel
119    (sorry for the mess)
120
121  - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
122    the probe can find the library for the test run.
123    https://rt.cpan.org/Ticket/Display.html?id=57518
124
125 Imager 0.75 - 20 Jun 2010
126 ===========
127
128  - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
129    perls (not measured)
130
131 Bugs:
132
133  - an opacity fill based on a fountain fill would segfault when
134    filling an 8-bit/sample image.
135
136  - merge thickline branch polygon fix
137    https://rt.cpan.org/Ticket/Display.html?id=43518
138
139 Imager 0.74 - 7 May 2010
140 ===========
141
142 Bug fixes:
143
144  - read_multi() didn't handle a missing file format library correctly,
145    aborting on failing to call i_readgif_multi_wiol() or
146    i_readtiff_multi_wiol().
147
148  - fix spelling errors patched by Debian
149    http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
150
151  - add an (unshipped) author test to spellcheck Imager's POD.
152
153  - update the TIFF file format documentation
154    https://rt.cpan.org/Ticket/Display.html?id=56510
155
156  - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
157
158 Imager 0.73 - 15 Mar 2010
159 ===========
160
161  - implement outline circles, both anti-aliased and not
162    https://rt.cpan.org/Ticket/Display.html?id=19755
163
164  - a combine => "none" fill to a 1 or 3 channel image would produce
165    the incorrect colour.
166
167 Imager 0.72 - 09 Dec 2009
168 ===========
169
170 Bump version for release, since 0.71_03 is stable with CPAN testers.
171
172 Imager 0.71_03 - 5 Dec 2009
173 ==============
174
175  - further adjust the threads test so it only performs the tests on
176    perls where it's expected to work, and only if the threads module
177    can be loaded.
178
179 Imager 0.71_02 - 1 Dec 2009
180 ==============
181
182  - adjust the way we load the threads module for the threads test so
183    it works with non-threaded perls
184
185 Imager 0.71_01 - 30 Nov 2009
186 ===========
187
188 Bug fixes:
189
190  - use scanline oriented operations to flip images instead of pixel
191    operations
192    https://rt.cpan.org/Ticket/Display.html?id=39278
193
194  - use double/sample operations to flip large sample images instead of
195    8-bit sample operations.
196    https://rt.cpan.org/Ticket/Display.html?id=39280
197
198  - fix POD nits
199    https://rt.cpan.org/Ticket/Display.html?id=51874
200
201  - prevent double-frees when someone creates Imager objects and then
202    creates a thread.  Note: this just handles some simple cases,
203    Imager doesn't support perl threads, and isn't likely to.
204    https://rt.cpan.org/Ticket/Display.html?id=52268
205
206 Imager 0.71 - 16 Nov 2009
207 ===========
208
209  - add the opacity fill type - an adaptor that modifies the opacity of
210    another fill.
211
212 Bug fixes:
213
214  - the conv filter now enforces that the sum of the coefficients is
215    non-zero.  Also, rather than skipping pixels off the edge off the
216    edge of the image, the closest edge pixel is used.  Previously
217    dividing by the zero sum of coefficients could cause invalid
218    results or runtime exceptions.
219    Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
220    this bug.
221
222 Imager 0.70 - 21 Sep 2009
223 ===========
224
225 Bug fixes:
226
227  - release image row and comments memory on all error returns in gif
228    reader
229
230  - handle zero length extensions, previously this would cause a null
231    pointer dereference
232    Thanks to Krzysztof Wojtaś for the test data and fix for this.
233
234  - an integer division meant that preview scaling to below 1 pixel
235    wide or high (which isn't too useful anyway) was calculating using
236    NaNs on most platforms, and causing an exception on others.
237    Thanks to David Cantrell for producing a backtrace of the crash on
238    his Alpha-NetBSD CPAN test box which made it possible to track this
239    down.
240
241 Imager 0.69 - 08 Sep 2009
242 ===========
243
244 Bug fixes:
245
246  - broken test fix - was attempting to call a function skip_all, when
247    that should be a parameter to plan().
248
249  - briefly document apidocs.perl, the tool used to build
250    Imager::APIRef and make some minor enhancements
251
252  - various minor documentation enhancements and fixes.
253
254 Imager 0.68 - 07 Sep 2009
255 ===========
256
257  - Imager->new(file => $filename) and other similar incantations will
258    load the given file.
259    https://rt.cpan.org/Ticket/Display.html?id=48261
260
261 Bug fixes:
262
263  - avoid using CHECK as a label in Imager::Test
264    http://nntp.x.perl.org/group/perl.cpan.testers/5220921
265
266  - re-work most image file test files that require a library into
267    separate library present/not present files to remove stupidly long
268    conditionals
269
270  - don't treat rubthrough() outside the bounds of the target image as
271    an error.
272    http://nntp.x.perl.org/group/perl.cpan.testers/5185716
273
274 Imager 0.67_01 - 02 Sep 2009
275 ==============
276
277 Bug fixes:
278
279  - correct documentation of default of raw image interleave read
280    parameter
281    https://rt.cpan.org/Ticket/Display.html?id=42074
282
283  - add raw_ prefix to raw read parameters, though the original names
284    still work.
285
286  - fail the read if an invalid raw_interleave parameter is supplied
287
288  - warn if no interleave or raw_interleave parameter is supplied,
289    since the documented default was wrong, and incompatible with the
290    write format
291
292  - for reading raw images, if raw_storechannels > raw_datachannels,
293    set the extra channels in the image to 0
294
295  - when probing for executables like freetype-config, search for .bat
296    and .cmd on MSWin32, as well as .exe.
297    https://rt.cpan.org/Ticket/Display.html?id=49275
298
299  - re-work the external libraries section of README:
300    - list Debian and Redhat package names for each library
301    - reformatting
302    - update URLs
303
304  - use the new EU::MM META_MERGE facility instead of generating
305    META.yml from scratch
306    https://rt.cpan.org/Ticket/Display.html?id=47888
307
308  - use Devel::CheckLib (bundled, modified) to check which release of
309    libtiff is installed and reject 3.9.0
310    http://bugzilla.maptools.org/show_bug.cgi?id=2088
311    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
312
313 Imager 0.67 - 12 Dec 2008
314 ===========
315
316 Bug fixes:
317
318  - fix a packaging error
319
320 Imager 0.66 - 12 Dec 2008
321 ===========
322
323  - 24-bit color .ICO/.CUR files can now be read.
324
325 Bug fixes:
326
327  - an optimization skipping 0 src alpha values could cause the
328    rubthrough() to read past the end of a buffer.
329    http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
330
331  - corrected a reference leak where writing GIFs would leak memory.
332    This could also happen calling to_paletted().
333    Also documented the underlying long existing feature where the
334    colors parameter is filled with the generated color table and added
335    tests for it.
336    http://rt.cpan.org/Ticket/Display.html?id=41028
337
338  - write out the image size in bytes field of a BMP correctly.
339    http://rt.cpan.org/Ticket/Display.html?id=41406
340
341  - add limited tests for Imager::ExtUtils
342
343  - make Imager::ExtUtils->includes use an absolute path, since
344    a relative path could cause failures using Inline::C.
345    http://rt.cpan.org/Ticket/Display.html?id=37353
346
347  - re-arrange the POD for Imager::Font::BBox:
348    - mark total_width(), pos_width(), end_offset() obsolete, since
349      they're mostly for backwards compatibility
350    - group width methods and height methods
351    https://rt.cpan.org/Ticket/Display.html?id=39999
352
353 Imager 0.65 - 20 May 2008
354 ===========
355
356 Bug fixes:
357
358  - In some cases when an error occurs reading those parts of a JPEG
359    file after the image the scan-line buffer could be freed a second
360    time.  In cases where the the error occured while reading the image
361    data it's possible that the buffer could have leaked.
362    Thanks to Gabriel Vasseur for reporting this and help in tracking
363    it down.
364
365  - the gif_screen_height tag was overriding the screen width and being
366    ignored for the screen height when present.
367    https://rt.cpan.org/Public/Bug/Display.html?id=35568
368
369 Imager 0.64 - 23 April 2008
370 ===========
371
372 This is a bug fix release.  This includes a fix for a possible
373 security issue.
374
375 Bug fixes:
376
377  - Possible security issue: The floating point sample path for image
378    based fills had a buffer overflow.  This would overwrite the end of
379    a malloc()ed buffer with double precision floats.
380    http://rt.cpan.org/Ticket/Display.html?id=35324
381    CVE-2008-1928
382
383  - check that the result of fileno($fh) is defined rather than simply
384    true when read() or write() is supplied with an fh parameter.
385    http://rt.cpan.org/Ticket/Display.html?id=35139
386
387  - i_scale_axis() wasn't checking the result of i_img_new_ch()
388    resulting in a SIGSEGV when attempting to scale an image to a size
389    too large to fit in memory.  This is a NULL pointer access issue,
390    not a buffer overflow.
391    Added a check for the failure.
392    scale_calculate() (and hence scale()) will now fail if any of the
393    scale size parameters are a reference.
394    http://rt.cpan.org/Ticket/Display.html?id=35172
395
396  - Regression: filling a greyscale image with a hatch used the wrong
397    color channels from the supplied fg/bg colors.
398    https://rt.cpan.org/Ticket/Display.html?id=35278
399
400  - fixed a related problem for image fills.
401
402 Imager 0.63 - 7 April 2008
403 ===========
404
405 This release primarily contains changes to improve ease of use -
406 rather than you having to convert images to the appropriate number of
407 channels, Imager handles it internally.  How to handle drawing colors
408 and the default combine mode is a thornier problem left for some other
409 release.
410
411  - the font libraries are now only initialized when needed.
412    http://rt.cpan.org/Ticket/Display.html?id=28825
413
414  - moved the imtoc.perl code into Imager::Preprocess
415
416  - paste() and rubthrough() now adapt the source image data to the
417    destination, so you can now safely paste/rubthrough from greyscale
418    images to color images or back, or from alpha channel images to
419    noalpha channels or back.
420    https://rt.cpan.org/Ticket/Display.html?id=30908
421
422  - rubthrough() now falls back to pasting when the source doesn't have
423    an alpha channel.  This effectively treats the source as having a
424    max alpha channel, the right thing to do.
425    http://rt.cpan.org/Ticket/Display.html?id=29944
426
427  - re-worked most of the area filling code to use a common set of
428    functions when filling.
429    Corrected normal combine mode.
430    Rewrote most of the combine modes to match the way the SVG draft
431    defines them with respect to a translucent source and destination.
432    Added tests for translucent source and destination.
433    Added tests to check 8-bit/sample and double/sample combines work
434    similarly.
435    https://rt.cpan.org/Ticket/Display.html?id=29879
436
437  - writing a 2 or 4 channel image to a JPEG file will now write that
438    image as if composited against a background, black by default,
439    overridable with the i_background tag/parameter.
440    https://rt.cpan.org/Ticket/Display.html?id=29876
441
442  - writing a 2 or 4 channel image to a PGM/PPM file will now write
443    that image as if composited against a background, black by default,
444    overridable with the i_background tag/parameter.
445    http://rt.cpan.org/Ticket/Display.html?id=30074
446
447  - writing a 2 or 4 channel image to a BMP file will now write that
448    image as if composited against a background, black by default,
449    overridable with the i_background tag/parameter.
450    http://rt.cpan.org/Ticket/Display.html?id=30075
451
452 Bug fixes:
453
454  - Imager::Matrix2d->translate() now only requires one of the x or y
455    parameters.
456    http://rt.cpan.org/Ticket/Display.html?id=29937
457
458  - mixing qtype scaling now sets all channels of a pixel to zero if
459    the pixel has zero coverage (zero alpha).  This should produce more
460    compressible output files.
461    http://rt.cpan.org/Ticket/Display.html?id=32324
462
463  - removed the pointless #! line from lib/Imager/Font/Wrap.pm
464    Noticed when I saw:
465    https://bugzilla.redhat.com/show_bug.cgi?id=166254
466    I'm not changing the #! lines of the sample code, since it's sample
467    code, not intended for installation.
468    http://rt.cpan.org/Ticket/Display.html?id=33408
469
470  - some TGA images weren't being detected correctly as TGA images
471    https://rt.cpan.org/Ticket/Display.html?id=32925
472
473  - handling of the left-over bit for 16-bit/pixel TGA images has been
474    changed to match the behaviour of the GIMP.  Previously the bit
475    being set was treated as an opaque pixel, but one user reported a
476    problem with loading such an image.  I haven't been able to find any
477    tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
478    I'll match it's behaviour.  See issue 114913 in the GIMP's
479    bugzilla.
480    http://rt.cpan.org/Ticket/Display.html?id=32926
481
482 Imager 0.62 - 10 December 2007
483 ===========
484
485  - Makefile.PL now expands ~/path supplied to --incpath or --libpath
486    to /path under your home directory.
487    http://rt.cpan.org/Ticket/Display.html?id=29484
488
489  - the old dynaload code used Mach API functions to load dynamic
490    libraries on Mac OS X.  These APIs have been deprecated in OS X
491    10.5 and were causing some build problems.
492    So henceforth Imager uses the dlopen() family of functions, and you 
493    will need version 10.3 or later of OS X.
494
495  - added the det() function to the transform2() engine.
496    added the sample quad_to_square.pl
497    Courtesy Richard Fairhurst.
498    http://rt.cpan.org/Ticket/Display.html?id=31244
499
500 Bug fixes:
501
502  - samples/gifscale.pl sourced the base value for gif_top from
503    gif_left.
504    Thanks to Eleneldil G. Arilou for pointing this out.
505
506  - t/t82inline.t no longer loads B at runtime, to work around a bug
507    in some 5.005_0[45] installations.
508    http://rt.cpan.org/Ticket/Display.html?id=30508
509
510  - work around Module::Depends::Intrusive bug #21229
511    http://rt.cpan.org/Ticket/Display.html?id=30520
512
513  - the hardinvert filter no-longer inverts the alpha channel.
514    http://rt.cpan.org/Ticket/Display.html?id=30002
515
516  - the hardinvert filter now supports large samples
517
518 Imager 0.61_02 - 28 November 2007
519 ==============
520
521  - major TIFF support re-work
522    http://rt.cpan.org/Ticket/Display.html?id=20329
523
524  - added a C level image interface for accessing samples from 1-32
525    bits, exposed this at the perl level in getsamples()
526
527  - the conv filter now works at floating point precision for high bit
528    images
529
530  - added is_bilevel method to test whether an image should be written as
531    a bilevel image if the image format supports it.
532
533  - added -log-stderr as an Imager import list option
534
535  - added some important types to Imager::APIRef
536
537  - added test_image_double() to Imager::Test
538
539 Bug fixes:
540
541  - Imager::Fountain couldn't read GIMP gradient files with 10 or more
542    segments
543
544  - the scale() method with qtype mixing now handles images with an
545    alpha channel correctly.
546
547  - fixed a broken link from the "animated GIF" entry in the concept index.
548    Thanks to Slaven Rezic.
549    http://rt.cpan.org/Ticket/Display.html?id=30889
550
551  - on some perl's the infix expression parser test would fail due to
552    actions in the grammar returning false.  Made sure all actions return
553    a true value.
554    Thanks to Richard Fairhurst for spending a lot of time in tracking
555    down this problem.
556    http://rt.cpan.org/Public/Bug/Display.html?id=29562
557
558 Imager 0.61 - 5 November 2007
559 ===========
560
561  - added samples/gifscale.pl, which adjusts the screen size/position tags
562    when scaling an animated gif
563    http://rt.cpan.org/Ticket/Display.html?id=27591
564
565 Bug fixes:
566
567  - correct handling of sz in matrix_transform() - this should allow
568    perspective type transformations to work now.
569    http://rt.cpan.org/Ticket/Display.html?id=29936
570
571  - prevent a cast to integer warning on x64 builds in datatypes.c
572    also fixed some other type warnings
573    https://rt.cpan.org/Ticket/Display.html?id=30204
574
575  - some sub-directory tests depended on files produced by the parent
576    directory tests
577    http://rt.cpan.org/Ticket/Display.html?id=30203
578
579  - Imager::Font::Wrap doesn't correctly set savepos
580    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
581    http://rt.cpan.org/Ticket/Display.html?id=29771
582
583  - test 171 in t/t01introvert.t was failing on perls configured to
584    use long double.
585    http://rt.cpan.org/Ticket/Display.html?id=29413
586
587  - the code for the transform2() uminus operator was missing a break.
588    Added tests for better code coverage of the ops.
589    http://rt.cpan.org/Ticket/Display.html?id=29296
590
591  - the SGI RLE compression code could overflow its compression buffer
592    http://rt.cpan.org/Ticket/Display.html?id=30334
593
594  - the 32-bit output function used by the SGI code only handled values
595    under 0x10000.  This was most noticable when writing large RLE images.
596    http://rt.cpan.org/Ticket/Display.html?id=30335
597
598  - validate chan_count for chans == NULL for each of the i_gsamp()
599    implementations.
600    http://rt.cpan.org/Ticket/Display.html?id=28985
601
602  - attempt to work around the test failure at 
603    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
604    http://rt.cpan.org/Ticket/Display.html?id=29562
605
606  - improve the error messages produced when attempting to read or write
607    an unknown image file format.
608    http://rt.cpan.org/Ticket/Display.html?id=30103
609
610  - improve the transform2() documentation
611    http://rt.cpan.org/Ticket/Display.html?id=29267
612
613  - correctly generate the author key in META.yml
614    http://rt.cpan.org/Ticket/Display.html?id=30377
615
616  - correctly blend a rotated (or matrix_transformed()) image when
617    performing interpolation in the presence of an alpha channel.
618    Also corrected the centring of the rotated image on the output
619    image.
620
621 Imager 0.60 - 30 August 2007
622 ===========
623
624  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
625    now has full SGI RGB image format, including RLE and 16-bit/sample
626    images.
627    https://rt.cpan.org/Ticket/Display.html?id=8666
628
629  - logging functions are now available in the API
630
631  - applied Gabriel Vasseur's patch
632    added documentation, further tests, and support for greyscale images
633    Obviously problems are my fault :)
634    https://rt.cpan.org/Ticket/Display.html?id=28142
635
636  - the mask for ICO/CUR images is now applied as an alpha channel to
637    the returned image.  For the old behaviour, supply ico_masked => 0
638    to read() or read_multi().  This should be less confusing when
639    using Imager as a general image processor.
640    https://rt.cpan.org/Ticket/Display.html?id=29001
641
642 Bug fixes:
643
644  - in some cases it's possible for giflib/libungif to return color 
645    indexes outside the range of colors defined by the image's palette.
646    We now expand the palette to match the indexes used.
647    Thanks to Gabriel Vasseur for reporting this.
648
649  - fixed various memory leaks that could occur when failing to read png,
650    jpeg, bmp or tga files.
651
652  - to avoid confusion, channels not present in the image are returned as
653    zero by getscanline().  This has no effect on the C level i_glin()
654    and i_glinf() API functions which continue to not set the unused
655    channels.
656
657  - the convert() method now returns an image of the same sample size as
658    the source image.
659    https://rt.cpan.org/Ticket/Display.html?id=28492
660
661  - remove repeated text in Imager::Files
662    http://rt.cpan.org/Ticket/Display.html?id=27589
663
664  - be even more explicit that scale() and friends don't modify the source
665    image, but return a new image.
666    http://rt.cpan.org/Ticket/Display.html?id=28570
667
668  - improve the error message from errstr() when you try to load a font
669    for which the driver hasn't been built in Imager.
670    http://rt.cpan.org/Ticket/Display.html?id=27571
671
672  - transparency is now enabled by default when writing GIF images
673    http://rt.cpan.org/Ticket/Display.html?id=27615
674
675  - Imager would not load on Windows 98
676    http://rt.cpan.org/Ticket/Display.html?id=27653
677
678 Imager 0.59 - 14 June 2007
679 ===========
680
681 Bug fixes:
682
683  - fixes a regression introduced by the fixes for RT 11972
684    http://rt.cpan.org/Ticket/Display.html?id=27546
685
686  - cropping outside the image would return an Imager object with
687    no low-level image object, instead of returning false.
688    Fixed by: Philip Gwyn (Leolo)
689    http://rt.cpan.org/Ticket/Display.html?id=27509
690
691 Imager 0.58 - 16 May 2007
692 ===========
693
694 No significant changes from 0.57_01.
695
696 Imager 0.57_01 - 11 May 2007
697 ==============
698
699  - added to_rgb16 to produce a 16-bit/sample version of an image
700
701  - improve freetype 1.x text output efficiency
702
703 Bug fixes:
704
705  - search another place for rgb.txt, and check all the places 
706    Imager::Color checks when deciding whether to skip testing it
707    http://rt.cpan.org/Ticket/Display.html?id=26064
708
709  - use a convolution kernel size based on the stddev rather than a
710    fixed size when performing a gaussian blur
711    http://rt.cpan.org/Ticket/Display.html?id=25645
712
713  - document the difference() method's mindist parameter, and debug it.
714
715  - put the Imager release number in the Inline::C generated code to
716    regenerate Inline code when a new release of Imager is installed.
717    http://rt.cpan.org/Ticket/Display.html?id=26278
718
719  - fix rendering on alpha channel images for the FreeType 1.x driver.
720    http://rt.cpan.org/Ticket/Display.html?id=11972
721
722  - fix rendering on alpha channel images for the T1lib driver.
723    http://rt.cpan.org/Ticket/Display.html?id=11972
724
725  - reworked library probing, we can now set more than one probe
726    function for a library.  Disabled the default (non-freetype-config)
727    library probe and added an extra probe function that searches for
728    both ft2build.h and whatever it includes, and adds -I as needed.
729    Hopefully this will fix build problems like
730    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
731    http://rt.cpan.org/Ticket/Display.html?id=26086
732
733 Imager 0.57 - 30 Apr 2007
734 ===========
735
736 This is a maintenence release fixing a security issue in Imager.
737
738  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
739    overflow in malloced memory.  There will be further discussion of
740    this issue in the ticket below.
741    http://rt.cpan.org/Ticket/Display.html?id=26811
742    CVE-2007-2459  CVE-2007-2413
743    The descriptions at cve.mitre.org varied in quality, please see the
744    ticket at rt.cpan.org for a more accurate description of the issue.
745
746 Imager 0.56 - 1 Apr 2007
747 ===========
748
749  - added support for reading 16-bit/sample PGM/PPM images
750
751  - added support for writing 16-bit/sample PGM/PPM images
752
753  - improved performance of reading PBM/PGM/PPM images
754
755  - added support for writing PBM images if the image is paletted and
756    contains only black and white
757
758  - added a new make_colors value - "mono"
759
760  - switched from the svn log Changes to a manual Changes to reduce
761    noise
762
763  - new sample code - samples/flasher.pl
764
765 Bug fixes:
766
767  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
768    was returning an image object with an extra reference, this
769    resulted in a memory leak.
770    http://rt.cpan.org/Ticket/Display.html?id=24992
771
772  - fix rendering on alpha channel images for the FreeType 2.x driver
773    http://rt.cpan.org/Ticket/Display.html?id=11972
774
775  - reading bmp files now consitently handles short reads.  You can now
776    supply a parameter to treat a short read as successful and set
777    i_incomplete
778    http://rt.cpan.org/Ticket/Display.html?id=8426
779
780  - previously, reading ASCII PBM files required spaces between samples,
781    even though the format doesn't require that
782
783  - improved documentation of the unsharpmask filter (I hope)
784    http://rt.cpan.org/Ticket/Display.html?id=25531
785
786  - force flushing of the output from i_tt_dump_names() and test output
787    in t/t35ttfont.t to prevent output from being mixed up.
788    https://rt.cpan.org/Ticket/Display.html?id=24859
789
790  - rewrite a conditional expression as an if() to hopefully work around
791    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
792    https://rt.cpan.org/Ticket/Display.html?id=25561
793
794  - avoid Data::Dumper in regops.perl to support older releases of perl
795    https://rt.cpan.org/Ticket/Display.html?id=24391
796
797 Imager 0.55 - 16 Dec 2006
798 ===========
799
800 This is primarily a bug fix release.
801
802 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
803
804 There is one new feature:
805
806  - the Win32 font driver now supports UTF8 (RT 22166)
807    http://www.cpanforum.com/threads/3276
808    http://rt.cpan.org/Ticket/Display.html?id=22166
809
810 Several bugs were fixed:
811
812  - the string() method would not output the string "0"
813    http://rt.cpan.org/Public/Bug/Display.html?id=21770
814
815  - fills.c was failing to compile on Solaris 10 (compiler unknown)
816    http://rt.cpan.org/Public/Bug/Display.html?id=21944
817
818  - the gif_disposal and gif_user_input tags weren't being read from
819    the file correctly
820    http://rt.cpan.org/Public/Bug/Display.html?id=22192
821
822  - gif.c was failing to build under MSVC
823    http://rt.cpan.org/Ticket/Display.html?id=23922
824
825  - in some cases strings passed to the string() method were treated as
826    terminated by NUL (chr 0)
827    http://rt.cpan.org/Public/Bug/Display.html?id=21770
828
829  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
830    that's the default build name for zlib on Win32.
831    http://rt.cpan.org/Ticket/Display.html?id=23064
832
833  - search $Config{incpath} for headers too, which we should have been
834    doing all along.
835
836 Win32 font driver fixes:
837
838  - the global descent value from bounding box was the wrong sign
839    http://www.cpanforum.com/threads/3276
840
841  - if the first or last glyph overflowed the left or right side of the
842    advance width they would be clipped
843
844
845 Imager 0.54 - 14 Sep 2006
846 ===========
847
848 This is primarily a feature release:
849
850  - a new qtype value 'mixing' has been added to the scale()
851    method. This is faster than 'normal', slower than 'preview'. This
852    is based on the method used by pnmscale, and seems to produce less
853    blurry results than normal.
854    http://rt.cpan.org/Public/Bug/Display.html?id=20677
855
856  - the rubthrough() method can now render onto images with an alpha
857    channel.
858    http://rt.cpan.org/Ticket/Display.html?id=20678
859
860  - the read_multi() method now falls back to calling doing a single
861    image read via the read() method and write_multi() will now fall
862    back to calling write() if a single image is supplied. This means
863    you can simply call the read_multi() or write_multi() functions
864    without having to check if the type is formatted by that method.
865    http://rt.cpan.org/Ticket/Display.html?id=19457
866    http://rt.cpan.org/Ticket/Display.html?id=19458
867
868  - the GIF loop extension can now be written. If you don't have
869    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
870    should upgrade.
871    http://rt.cpan.org/Ticket/Display.html?id=21185
872
873  - getscanline() and setscanline() can now read/write palette index
874    based data from/to the image for paletted images, by setting type to
875    'index'.
876    http://rt.cpan.org/Ticket/Display.html?id=20338
877
878  - we no longer hassle you to disable GIF support
879    http://rt.cpan.org/Ticket/Display.html?id=20687
880
881  - minor documentation fixes
882
883
884 Imager 0.53 - 26 Jul 2006
885 ===========
886
887 This is a bugfix release.
888
889 Some test code was left in a code path not covered by the test
890 suite. A test was added to cover this code path and the test code was
891 removed.
892 http://rt.cpan.org/Public/Bug/Display.html?id=20705
893
894
895 Imager 0.52 - 25 Jul 2006
896 ===========
897
898 This is primarily a feature release, but contains a fair few bug
899 fixes, new features:
900
901  - ability to read and write MS Windows ICO and CUR files
902
903  - you can now add file format plugins to support new file formats
904
905  - add POD coverage tests
906
907  - setcolors() and addcolors() now accept color names and so on
908    instead of requiring Imager::Color objects.
909    http://rt.cpan.org/Ticket/Display.html?id=20056
910
911  - flood_fill() can now fill to a specified border color instead of
912    just to the area the same color as the seed.
913    http://rt.cpan.org/Ticket/Display.html?id=19618
914
915
916 Bug fixes:
917
918  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
919    calculating the advance width.
920    http://rt.cpan.org/Public/Bug/Display.html?id=20554
921
922  - bounding_box for the T1 driver wasn't including leading and
923    trailing spaces in the bounding box as the other drivers did, it also
924    produced strange results for empty strings or strings containing only
925    spaces
926
927  - when reading CMYK jpeg images they were being transferred to the
928    image object as is, producing a four channel image. It only looked ok
929    due to an old still unfixed Photoshop bug. We now convert from the
930    inverted CMYK that photoshop (and Corel for example) produce into RGB.
931    http://rt.cpan.org/Ticket/Display.html?id=20416
932
933  - reading a CYMK TIFF would result in a 4 channel image, reading any
934    image with more than 4 channels (eg. RGB with 2 alpha channels) would
935    result in an error.
936    http://rt.cpan.org/Ticket/Display.html?id=20415
937
938  - added /usr/local/include to the default include search path, since
939    we were already searching /usr/local/lib for libraries.
940
941 And various minor fixes and documentation updates.
942
943
944 Imager 0.51 - 23 Apr 2006
945 ===========
946
947  - fix a validation bug when processing JPEG EXIF data that can cause
948    a crash
949    http://rt.cpan.org/Public/Bug/Display.html?id=18496
950
951  - fix mis-processing of the src_maxx and src_maxy parameters of the
952    paste() method
953    http://rt.cpan.org/Public/Bug/Display.html?id=18712
954
955  - fix a problem in Imager's "smart" handling of the color parameter
956    to various methods.
957    http://rt.cpan.org/Public/Bug/Display.html?id=18561
958
959
960 Imager 0.50 - 29 Mar 2006
961 ===========
962
963  - CRITICAL: fixes a segmentation fault from attempting to write a 2
964    or 4 channel image to jpeg or a 2 channel image to tga where the
965    output is an in-memeory buffer.
966    http://rt.cpan.org/Public/Bug/Display.html?id=18397
967
968  - fixes an incorrect pointer parameter in the PNG code
969    http://rt.cpan.org/Public/Bug/Display.html?id=18051
970
971  - skip Inline::C tests when building in a directory with spaces
972    http://rt.cpan.org/Public/Bug/Display.html?id=18049