]> git.imager.perl.org - imager.git/blob - Changes
convert more tests to Test::More
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 0.61 - unreleased
4 ===========
5
6  - added samples/gifscale.pl, which adjusts the screen size/position tags
7    when scaling an animated gif
8    http://rt.cpan.org/Ticket/Display.html?id=27591
9
10 Bug fixes:
11
12  - correct handling of sz in matrix_transform() - this should allow
13    perspective type transformations to work now.
14    http://rt.cpan.org/Ticket/Display.html?id=29936
15
16  - prevent a cast to integer warning on x64 builds in datatypes.c
17    also fixed some other type warnings
18    https://rt.cpan.org/Ticket/Display.html?id=30204
19
20  - some sub-directory tests depended on files produced by the parent
21    directory tests
22    http://rt.cpan.org/Ticket/Display.html?id=30203
23
24  - Imager::Font::Wrap doesn't correctly set savepos
25    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
26    http://rt.cpan.org/Ticket/Display.html?id=29771
27
28  - test 171 in t/t01introvert.t was failing on perls configured to
29    use long double.
30    http://rt.cpan.org/Ticket/Display.html?id=29413
31
32 Imager 0.60 - 30 August 2007
33 ===========
34
35  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
36    now has full SGI RGB image format, including RLE and 16-bit/sample
37    images.
38    https://rt.cpan.org/Ticket/Display.html?id=8666
39
40  - logging functions are now available in the API
41
42  - applied Gabriel Vasseur's patch
43    added documentation, further tests, and support for greyscale images
44    Obviously problems are my fault :)
45    https://rt.cpan.org/Ticket/Display.html?id=28142
46
47  - the mask for ICO/CUR images is now applied as an alpha channel to
48    the returned image.  For the old behaviour, supply ico_masked => 0
49    to read() or read_multi().  This should be less confusing when
50    using Imager as a general image processor.
51    https://rt.cpan.org/Ticket/Display.html?id=29001
52
53 Bug fixes:
54
55  - in some cases it's possible for giflib/libungif to return color 
56    indexes outside the range of colors defined by the image's palette.
57    We now expand the palette to match the indexes used.
58    Thanks to Gabriel Vasseur for reporting this.
59
60  - fixed various memory leaks that could occur when failing to read png,
61    jpeg, bmp or tga files.
62
63  - to avoid confusion, channels not present in the image are returned as
64    zero by getscanline().  This has no effect on the C level i_glin()
65    and i_glinf() API functions which continue to not set the unused
66    channels.
67
68  - the convert() method now returns an image of the same sample size as
69    the source image.
70    https://rt.cpan.org/Ticket/Display.html?id=28492
71
72  - remove repeated text in Imager::Files
73    http://rt.cpan.org/Ticket/Display.html?id=27589
74
75  - be even more explicit that scale() and friends don't modify the source
76    image, but return a new image.
77    http://rt.cpan.org/Ticket/Display.html?id=28570
78
79  - improve the error message from errstr() when you try to load a font
80    for which the driver hasn't been built in Imager.
81    http://rt.cpan.org/Ticket/Display.html?id=27571
82
83  - transparency is now enabled by default when writing GIF images
84    http://rt.cpan.org/Ticket/Display.html?id=27615
85
86  - Imager would not load on Windows 98
87    http://rt.cpan.org/Ticket/Display.html?id=27653
88
89 Imager 0.59 - 14 June 2007
90 ===========
91
92 Bug fixes:
93
94  - fixes a regression introduced by the fixes for RT 11972
95    http://rt.cpan.org/Ticket/Display.html?id=27546
96
97  - cropping outside the image would return an Imager object with
98    no low-level image object, instead of returning false.
99    Fixed by: Philip Gwyn (Leolo)
100    http://rt.cpan.org/Ticket/Display.html?id=27509
101
102 Imager 0.58 - 16 May 2007
103 ===========
104
105 No significant changes from 0.57_01.
106
107 Imager 0.57_01 - 11 May 2007
108 ==============
109
110  - added to_rgb16 to produce a 16-bit/sample version of an image
111
112  - improve freetype 1.x text output efficiency
113
114 Bug fixes:
115
116  - search another place for rgb.txt, and check all the places 
117    Imager::Color checks when deciding whether to skip testing it
118    http://rt.cpan.org/Ticket/Display.html?id=26064
119
120  - use a convolution kernel size based on the stddev rather than a
121    fixed size when performing a gaussian blur
122    http://rt.cpan.org/Ticket/Display.html?id=25645
123
124  - document the difference() method's mindist parameter, and debug it.
125
126  - put the Imager release number in the Inline::C generated code to
127    regenerate Inline code when a new release of Imager is installed.
128    http://rt.cpan.org/Ticket/Display.html?id=26278
129
130  - fix rendering on alpha channel images for the FreeType 1.x driver.
131    http://rt.cpan.org/Ticket/Display.html?id=11972
132
133  - fix rendering on alpha channel images for the T1lib driver.
134    http://rt.cpan.org/Ticket/Display.html?id=11972
135
136  - reworked library probing, we can now set more than one probe
137    function for a library.  Disabled the default (non-freetype-config)
138    library probe and added an extra probe function that searches for
139    both ft2build.h and whatever it includes, and adds -I as needed.
140    Hopefully this will fix build problems like
141    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
142    http://rt.cpan.org/Ticket/Display.html?id=26086
143
144 Imager 0.57 - 30 Apr 2007
145 ===========
146
147 This is a maintenence release fixing a security issue in Imager.
148
149  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
150    overflow in malloced memory.  There will be further discussion of
151    this issue in the ticket below.
152    http://rt.cpan.org/Ticket/Display.html?id=26811
153    CVE-2007-2459  CVE-2007-2413
154    The descriptions at cve.mitre.org varied in quality, please see the
155    ticket at rt.cpan.org for a more accurate description of the issue.
156
157 Imager 0.56 - 1 Apr 2007
158 ===========
159
160  - added support for reading 16-bit/sample PGM/PPM images
161
162  - added support for writing 16-bit/sample PGM/PPM images
163
164  - improved performance of reading PBM/PGM/PPM images
165
166  - added support for writing PBM images if the image is paletted and
167    contains only black and white
168
169  - added a new make_colors value - "mono"
170
171  - switched from the svn log Changes to a manual Changes to reduce
172    noise
173
174  - new sample code - samples/flasher.pl
175
176 Bug fixes:
177
178  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
179    was returning an image object with an extra reference, this
180    resulted in a memory leak.
181    http://rt.cpan.org/Ticket/Display.html?id=24992
182
183  - fix rendering on alpha channel images for the FreeType 2.x driver
184    http://rt.cpan.org/Ticket/Display.html?id=11972
185
186  - reading bmp files now consitently handles short reads.  You can now
187    supply a parameter to treat a short read as successful and set
188    i_incomplete
189    http://rt.cpan.org/Ticket/Display.html?id=8426
190
191  - previously, reading ASCII PBM files required spaces between samples,
192    even though the format doesn't require that
193
194  - improved documentation of the unsharpmask filter (I hope)
195    http://rt.cpan.org/Ticket/Display.html?id=25531
196
197  - force flushing of the output from i_tt_dump_names() and test output
198    in t/t35ttfont.t to prevent output from being mixed up.
199    https://rt.cpan.org/Ticket/Display.html?id=24859
200
201  - rewrite a conditional expression as an if() to hopefully work around
202    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
203    https://rt.cpan.org/Ticket/Display.html?id=25561
204
205  - avoid Data::Dumper in regops.perl to support older releases of perl
206    https://rt.cpan.org/Ticket/Display.html?id=24391
207
208 Imager 0.55 - 16 Dec 2006
209 ===========
210
211 This is primarily a bug fix release.
212
213 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
214
215 There is one new feature:
216
217  - the Win32 font driver now supports UTF8 (RT 22166)
218    http://www.cpanforum.com/threads/3276
219    http://rt.cpan.org/Ticket/Display.html?id=22166
220
221 Several bugs were fixed:
222
223  - the string() method would not output the string "0"
224    http://rt.cpan.org/Public/Bug/Display.html?id=21770
225
226  - fills.c was failing to compile on Solaris 10 (compiler unknown)
227    http://rt.cpan.org/Public/Bug/Display.html?id=21944
228
229  - the gif_disposal and gif_user_input tags weren't being read from
230    the file correctly
231    http://rt.cpan.org/Public/Bug/Display.html?id=22192
232
233  - gif.c was failing to build under MSVC
234    http://rt.cpan.org/Ticket/Display.html?id=23922
235
236  - in some cases strings passed to the string() method were treated as
237    terminated by NUL (chr 0)
238    http://rt.cpan.org/Public/Bug/Display.html?id=21770
239
240  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
241    that's the default build name for zlib on Win32.
242    http://rt.cpan.org/Ticket/Display.html?id=23064
243
244  - search $Config{incpath} for headers too, which we should have been
245    doing all along.
246
247 Win32 font driver fixes:
248
249  - the global descent value from bounding box was the wrong sign
250    http://www.cpanforum.com/threads/3276
251
252  - if the first or last glyph overflowed the left or right side of the
253    advance width they would be clipped
254
255
256 Imager 0.54 - 14 Sep 2006
257 ===========
258
259 This is primarily a feature release:
260
261  - a new qtype value 'mixing' has been added to the scale()
262    method. This is faster than 'normal', slower than 'preview'. This
263    is based on the method used by pnmscale, and seems to produce less
264    blurry results than normal.
265    http://rt.cpan.org/Public/Bug/Display.html?id=20677
266
267  - the rubthrough() method can now render onto images with an alpha
268    channel.
269    http://rt.cpan.org/Ticket/Display.html?id=20678
270
271  - the read_multi() method now falls back to calling doing a single
272    image read via the read() method and write_multi() will now fall
273    back to calling write() if a single image is supplied. This means
274    you can simply call the read_multi() or write_multi() functions
275    without having to check if the type is formatted by that method.
276    http://rt.cpan.org/Ticket/Display.html?id=19457
277    http://rt.cpan.org/Ticket/Display.html?id=19458
278
279  - the GIF loop extension can now be written. If you don't have
280    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
281    should upgrade.
282    http://rt.cpan.org/Ticket/Display.html?id=21185
283
284  - getscanline() and setscanline() can now read/write palette index
285    based data from/to the image for paletted images, by setting type to
286    'index'.
287    http://rt.cpan.org/Ticket/Display.html?id=20338
288
289  - we no longer hassle you to disable GIF support
290    http://rt.cpan.org/Ticket/Display.html?id=20687
291
292  - minor documentation fixes
293
294
295 Imager 0.53 - 26 Jul 2006
296 ===========
297
298 This is a bugfix release.
299
300 Some test code was left in a code path not covered by the test
301 suite. A test was added to cover this code path and the test code was
302 removed.
303 http://rt.cpan.org/Public/Bug/Display.html?id=20705
304
305
306 Imager 0.52 - 25 Jul 2006
307 ===========
308
309 This is primarily a feature release, but contains a fair few bug
310 fixes, new features:
311
312  - ability to read and write MS Windows ICO and CUR files
313
314  - you can now add file format plugins to support new file formats
315
316  - add POD coverage tests
317
318  - setcolors() and addcolors() now accept color names and so on
319    instead of requiring Imager::Color objects.
320    http://rt.cpan.org/Ticket/Display.html?id=20056
321
322  - flood_fill() can now fill to a specified border color instead of
323    just to the area the same color as the seed.
324    http://rt.cpan.org/Ticket/Display.html?id=19618
325
326
327 Bug fixes:
328
329  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
330    calculating the advance width.
331    http://rt.cpan.org/Public/Bug/Display.html?id=20554
332
333  - bounding_box for the T1 driver wasn't including leading and
334    trailing spaces in the bounding box as the other drivers did, it also
335    produced strange results for empty strings or strings containing only
336    spaces
337
338  - when reading CMYK jpeg images they were being transferred to the
339    image object as is, producing a four channel image. It only looked ok
340    due to an old still unfixed Photoshop bug. We now convert from the
341    inverted CMYK that photoshop (and Corel for example) produce into RGB.
342    http://rt.cpan.org/Ticket/Display.html?id=20416
343
344  - reading a CYMK TIFF would result in a 4 channel image, reading any
345    image with more than 4 channels (eg. RGB with 2 alpha channels) would
346    result in an error.
347    http://rt.cpan.org/Ticket/Display.html?id=20415
348
349  - added /usr/local/include to the default include search path, since
350    we were already searching /usr/local/lib for libraries.
351
352 And various minor fixes and documentation updates.
353
354
355 Imager 0.51 - 23 Apr 2006
356 ===========
357
358  - fix a validation bug when processing JPEG EXIF data that can cause
359    a crash
360    http://rt.cpan.org/Public/Bug/Display.html?id=18496
361
362  - fix mis-processing of the src_maxx and src_maxy parameters of the
363    paste() method
364    http://rt.cpan.org/Public/Bug/Display.html?id=18712
365
366  - fix a problem in Imager's "smart" handling of the color parameter
367    to various methods.
368    http://rt.cpan.org/Public/Bug/Display.html?id=18561
369
370
371 Imager 0.50 - 29 Mar 2006
372 ===========
373
374  - CRITICAL: fixes a segmentation fault from attempting to write a 2
375    or 4 channel image to jpeg or a 2 channel image to tga where the
376    output is an in-memeory buffer.
377    http://rt.cpan.org/Public/Bug/Display.html?id=18397
378
379  - fixes an incorrect pointer parameter in the PNG code
380    http://rt.cpan.org/Public/Bug/Display.html?id=18051
381
382  - skip Inline::C tests when building in a directory with spaces
383    http://rt.cpan.org/Public/Bug/Display.html?id=18049