X-Git-Url: http://git.imager.perl.org/imager.git/blobdiff_plain/10b85929cebd3212415ae519ef00a37fd1185842..fa61d195d2a81a31b56d1d4599e9234581e4315d:/Changes diff --git a/Changes b/Changes index 98fd5b10..b510d4e7 100644 --- a/Changes +++ b/Changes @@ -1,13 +1,374 @@ Imager release history. Older releases can be found in Changes.old -Imager 0.76 +Imager 0.84_01 - 8 Aug 2011 +============== + +Development release as a sanity check for the types re-work. + +Massive types re-work: + + - the type used internally for pixel co-ordinates and image sizes is + now 64-bit on 64-bit platforms (at least sane ones). + + - size_t is now used consistently for memory block sizes. + + - since this changes the binary interface, the Imager API version has + been incremented. Any module that uses the API will need to be + rebuilt. In most cases that will be enough, but calls to any APIs + that take a pointer to image sizes may need source changes. + + - you should be able to create very large images on 64-bit systems, + if you have enough memory. Successfully created a 32768 x 49192 x + 3 channel image, filled with a tiled image and scaled it. The + unscaled image was also successfully saved to a JPEG. + + - check the image size before attempting to write BMP, GIF, JPEG, + PNG, SGI, TGA, TIFF images. + + - correctly handle reading TGA images over 32767 pixels wide or tall. + +Incidental changes: + + - the gif_left and gif_top tags are now clamped to non-negative + values when writing a GIF image. + + - removed dead callback read/write code + +The default maximum memory size when reading files is now 1G. + +Imager 0.84 - 20 Jun 2011 +=========== + + - Imager no longer inherits from Exporter (unless you're running an + old, old perl. + + - Imager can now write progressive JPEGs (it could always read them). + https://rt.cpan.org/Ticket/Display.html?id=68691 + +Bug fixes: + + - re-work, document and test Imager's logging facility. + https://rt.cpan.org/Ticket/Display.html?id=65227 + + - fix META.yml testing and the generated META.yml + https://rt.cpan.org/Ticket/Display.html?id=65235 + + - test and add error reporting to to_*() family methods + + - add to_rgb_double() method. + https://rt.cpan.org/Ticket/Display.html?id=65101 + + - Imager no longer exports anything by default + https://rt.cpan.org/Ticket/Display.html?id=65228 + + - convert colors to grayscale if the supplied (or generated) palette + contains only grays when performing error diffusion color + translation. + https://rt.cpan.org/Ticket/Display.html?id=68508 + + - writing a paletted image to GIF wouldn't always use the colors + supplied (or generated, eg. via make_colors => "mono"), which was + confusing at best. + https://rt.cpan.org/Ticket/Display.html?id=67912 + + - replace (imager|tony)@imager.perl.org in the doc, since I don't + plan to continue receiving mail at that address. + https://rt.cpan.org/Ticket/Display.html?id=68591 + +Imager 0.83 - 21 May 2011 =========== +Bug fixes: + + - diag() the error message on failure for some TIFF tests that are + failing on a Solaris smoker. + http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45 + +Imager 0.82_01 - 17 May 2011 +============== + +Dev release, in case the compose tests are too sensitive. + +Bug fixes: + + - Imager::Font::T1 incorrectly checked for absolute filename under + Win32. Thanks to kmx for the report and fix. + https://rt.cpan.org/Ticket/Display.html?id=67963 + + - compose() with the target, source or mask position off the top or + left of the target image didn't clip the source image correctly. + https://rt.cpan.org/Ticket/Display.html?id=67220 + + - compose() now returns a useful error message on a non-positive + opacity. + + - compose.im now at 100% test coverage. (As opposed to, umm, much, + much less.) + +Imager 0.82 - 14 Mar 2011 +=========== + +Bug fixes: + + - eliminate calls to i_has_format() from the test suite, since it's + no longer a useful way to check for file format support. Eliminate + i_has_format() from the functions exposed via XS. + https://rt.cpan.org/Ticket/Display.html?id=65863 + + - eliminate calls to note(), which isn't in the (very old) version of + Test::More we have as a pre-requisite. note() is modern enough + that I don't feel a need to require a Test::More upgrade for it. + https://rt.cpan.org/Ticket/Display.html?id=65864 + + - skip the threads tests on Test::More 2.00_* + https://rt.cpan.org/Ticket/Display.html?id=65812 + + - add an (unshipped) test to check Imager's internal POD links + https://rt.cpan.org/Ticket/Display.html?id=65749 + + - improve the library detection summary + https://rt.cpan.org/Ticket/Display.html?id=9675 + + - increase the version of Imager::Font::Type1 so that upgrades don't + downgrade the version in this file. + https://rt.cpan.org/Ticket/Display.html?id=66250 + + - if we see an -rpath (or -R) option in $Config{lddlflags} supply + that option for the directories that would normally go in + LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH. + https://rt.cpan.org/Ticket/Display.html?id=65955 + +Imager 0.81 - 14 Feb 2011 +=========== + + - added coverage tests for masked images (maskimg.c @100% test coverage) + + - add hsv() method to Imager::Color + Thanks to Leolo (Philip Gwyn) + https://rt.cpan.org/Ticket/Display.html?id=65385 + + - split libt1 Type 1 font support into a sub-module + https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) + + - add a preload() class method for use in forking servers, and to + work around limitations in PAR. + https://rt.cpan.org/Ticket/Display.html?id=65665 + +Bug fixes: + + - paletted writes to a masked image are now masked correctly. + Revealed by new coverage tests. + + - update the filter plugin documentation. + https://rt.cpan.org/Ticket/Display.html?id=56513 + + - add the matrix() method to Imager::Matrix2d to allow creation of a + matrix with specified co-efficients. You can now multiple an + Imager::Matrix2d object by a 9 element array ref or a number. + https://rt.cpan.org/Ticket/Display.html?id=29938 + + - really fix loading TTF fonts with FT2 when FT1 isn't available. + Thanks to Leolo (Philip Gwyn) + https://rt.cpan.org/Ticket/Display.html?id=65386 + https://rt.cpan.org/Ticket/Display.html?id=62855 + + - make sure each test script that needs testout/ creates it. + https://rt.cpan.org/Ticket/Display.html?id=65088 + + - handle a slightly different warning from libtiff 4.x + https://rt.cpan.org/Ticket/Display.html?id=65268 + + - the sat transform2() op returned an incorrect saturation. + https://rt.cpan.org/Ticket/Display.html?id=65391 + +Imager 0.80 - 17 Jan 2011 +=========== + + - added coverage tests for Imager::Fountain and Imager::Color::Float + + - Imager is now maintained in git + http://git.imager.perl.org/imager.git + git://git.imager.perl.org/imager.git + +Bug fixes: + + - images with an translucent alpha channel were not scaled correctly + by the default (qtype=normal) scaling method. + https://rt.cpan.org/Public/Bug/Display.html?id=63922 + + - Imager::Color::Float now translates "#FFFFFF" to white instead of + just a little darker. + + - make the default color map build algorithm "mediancut". This + changes the default color map builder for writing GIFs back to what + it was in 0.77, reverting a performance regression. + https://rt.cpan.org/Ticket/Display.html?id=64785 + + - handle failure to create a masked image correctly + +Imager 0.79 - 10 Dec 2010 +=========== + + - add Imager::Test to the POD coverage tests and document the missing + functions. + + - the convert() method now optimizes the case where all output + channels are either 0, sourced from a single input channel or 1. + This significantly speeds up presets like "addalpha", "green". + https://rt.cpan.org/Ticket/Display.html?id=51254 + + - add wiggle.pl sample, as suggested by Dan Oppenheim. + + - add the combine() method to combine channels from multiple source + images into a new image + https://rt.cpan.org/Ticket/Display.html?id=11872 + +Bug fixes: + + - treat the co-efficients for convert() as doubles instead of floats. + + - If a higher (earlier) priority font handler failed to load, that + would crash preventing loading of later font handlers. + https://rt.cpan.org/Ticket/Display.html?id=62855 + + - parse defines from the options returned by pkg-config --cflags + https://rt.cpan.org/Ticket/Display.html?id=63223 + + - a regen of the MANIFEST revealed that GIF and FT2 tests weren't + included in the tarball. They are now included. + +Imager 0.78 - 4 Oct 2010 +=========== + +Bug fixes: + + - don't access deprecated members of the png_structp. + https://rt.cpan.org/Ticket/Display.html?id=60242 + + - document that using color objects is faster than supplying colors + by name, etc. + https://rt.cpan.org/Ticket/Display.html?id=61047 + + - Imager::Probe now accepts array references for incpath and libpath. + https://rt.cpan.org/Ticket/Display.html?id=60244 + +Imager 0.77_02 - 27 Sep 2010 +============== + + - moved Win32, FreeType 2 font support into sub-modules. + https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) + Uses Imager::Probe now. + https://rt.cpan.org/Public/Bug/Display.html?id=61328 + + - tested successfully with jpeg-8b + https://rt.cpan.org/Ticket/Display.html?id=60221 + +Bug fixes: + + - from _01: look for missing file support test files in the right + places. + + - flood_fill() wouldn't fill the right side of a single scan-line + fill area. + Thanks to Nicolas Roggli for reporting this. + + - flood_fill wouldn't fill to the left edge of the image if the + starting line didn't reach the left edge. + Thanks to Nicolas Roggli for reporting this. + +Imager 0.77_01 - 13 Sep 2010 +============== + + - add each library-directory/pkgconfig/ to the pkg-config search path + in Imager::Probe. + Thanks to Justin Davis. + https://rt.cpan.org/Ticket/Display.html?id=60491 + + - moved GIF, TIFF, JPEG file handling code into sub-modules in + preparation for separate distribution. + https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) + + - optimize filled box drawing (color, not fill) + +Bug fixes: + + - Imager::Probe was calling ExtUtils::Liblist to initialize + LD_RUN_PATH supplying an undefined value rather than the found + directory. Thanks to Justin Davis. + https://rt.cpan.org/Ticket/Display.html?id=60491 + + - only prepend ./ to font filenames when passing them to T1Lib and + then only when it would use its search mechanisms. + https://rt.cpan.org/Ticket/Display.html?id=60509 + + - fix the cache check for the X rgb.txt loader. This is typically + used for color translation on Unix-like systems, and the fix + improves performance of supplying colors by name by about 80 times. + Test code that managed 3400 10x10 pixel boxes/second sped up to + 25700 boxes/second. + + - clarify that Imager doesn't write EXIF metadata to images. + https://rt.cpan.org/Ticket/Display.html?id=60637 + + - Imager::Probe can now search subdirectories under its include path. + Used by the PNG Makefile.PL to find headers and libraries when they + aren't in the base directory, as in cygwin. + https://rt.cpan.org/Ticket/Display.html?id=60635 + +Imager 0.77 - 11 Aug 2010 +=========== + +I don't want Imager::File::PNG indexed as part of Imager, but forgot +to update the META.yml before updating the version. + + - don't index Imager::File::PNG as part of Imager + + - add resources to META.yml + +Imager 0.76 - not released +=========== + +Bug fixes: + + - the align_string() method would ignore a string of "0" due to a + mis-use of C< ||= >. + Thanks to Maurice Height for reporting this. + https://rt.cpan.org/Ticket/Display.html?id=60199 + +Imager 0.75_03 - 09 Aug 2010 +============== + +Bug fixes: + + - read_types() and write_types() would include png when it wasn't + available due to a problem with the %formats tie + + - handle dependent libraries correctly (eg -lpng requiring -lz) in + the code run phase of library probing. + +Imager 0.75_02 - 07 Aug 2010 +============== + +Bug fixes: + + - add file missing from MANIFEST, which was causing TIFF failures. + +Imager 0.75_01 - 06 Aug 2010 +============== + +Test release for the new PNG probe. + - added the ability to read multiple-image PNM files. Note that unlike the pbm/pgm/ppm specification this accepts mixed format files and allows white space padding between files. Thanks to Philip Gwyn (Leolo) for this patch. + - moved the PNG file handling code into a sub-module in preparation + for separate distribution. + https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) + Also helps avoid complications from -I/-L compile/link options from + other libraries. + Bugs: - Imager->new(data => $data) didn't try to process image file data in