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