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