imager.git
11 years agomissed a PERL_NO_GET_CONTEXT
Tony Cook [Sun, 20 Jun 2010 09:33:09 +0000 (09:33 +0000)]
missed a PERL_NO_GET_CONTEXT

11 years ago - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
Tony Cook [Thu, 6 May 2010 14:42:28 +0000 (14:42 +0000)]
 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
   perls (not measured)

11 years ago0.74 release
Tony Cook [Thu, 6 May 2010 14:23:56 +0000 (14:23 +0000)]
0.74 release

11 years agoadd Imager::IO docs to the MANIFEST
Tony Cook [Thu, 6 May 2010 14:20:29 +0000 (14:20 +0000)]
add Imager::IO docs to the MANIFEST

update MANIFEST.SKIP to skip more stuff we don't ship, or is generated

11 years agoupdate the TIFF documentation
Tony Cook [Mon, 12 Apr 2010 11:58:09 +0000 (11:58 +0000)]
update the TIFF documentation

11 years agospell checking author test
Tony Cook [Mon, 12 Apr 2010 11:23:23 +0000 (11:23 +0000)]
spell checking author test

11 years agohuge spelling update and spell checking patch
Tony Cook [Mon, 12 Apr 2010 11:23:03 +0000 (11:23 +0000)]
huge spelling update and spell checking patch

11 years ago - fix spelling errors patched by Debian (please report the issues you
Tony Cook [Sun, 4 Apr 2010 00:04:44 +0000 (00:04 +0000)]
 - fix spelling errors patched by Debian (please report the issues you
   patch)

11 years agohandle missing libraries in read_multi()
Tony Cook [Fri, 2 Apr 2010 09:11:55 +0000 (09:11 +0000)]
handle missing libraries in read_multi()

11 years ago0.73 release
Tony Cook [Mon, 15 Mar 2010 07:21:26 +0000 (07:21 +0000)]
0.73 release

11 years agoadd examples of drawing arcs
Tony Cook [Mon, 15 Mar 2010 07:19:30 +0000 (07:19 +0000)]
add examples of drawing arcs

11 years agotest the documented mechanism for drawing an arc through 0 degrees
Tony Cook [Mon, 15 Mar 2010 06:47:42 +0000 (06:47 +0000)]
test the documented mechanism for drawing an arc through 0 degrees

11 years agofix for replacement fill producing the wrong colour
Tony Cook [Thu, 11 Mar 2010 05:59:44 +0000 (05:59 +0000)]
fix for replacement fill producing the wrong colour

11 years agooffset in the test code instead
Tony Cook [Thu, 11 Mar 2010 02:17:13 +0000 (02:17 +0000)]
offset in the test code instead

11 years agorevert the offset for AA filled arcs
Tony Cook [Thu, 11 Mar 2010 02:16:53 +0000 (02:16 +0000)]
revert the offset for AA filled arcs

11 years agomerge circle outline branch
Tony Cook [Thu, 25 Feb 2010 08:37:52 +0000 (08:37 +0000)]
merge circle outline branch

11 years agoImager 0.72 release (commit done way after release) Imager-0.72
Tony Cook [Fri, 29 Jan 2010 03:20:59 +0000 (03:20 +0000)]
Imager 0.72 release (commit done way after release)

11 years ago0.71_03 release
Tony Cook [Fri, 4 Dec 2009 14:19:13 +0000 (14:19 +0000)]
0.71_03 release

11 years agomore threads tests adjustments
Tony Cook [Fri, 4 Dec 2009 14:16:10 +0000 (14:16 +0000)]
more threads tests adjustments

11 years ago0.71_02 release
Tony Cook [Tue, 1 Dec 2009 09:02:30 +0000 (09:02 +0000)]
0.71_02 release

11 years agoload threads so it doesn't abort with no threads
Tony Cook [Tue, 1 Dec 2009 06:37:10 +0000 (06:37 +0000)]
load threads so it doesn't abort with no threads

11 years ago0.71_01 release
Tony Cook [Mon, 30 Nov 2009 07:13:35 +0000 (07:13 +0000)]
0.71_01 release

11 years agoadd threads tests to the manifest
Tony Cook [Mon, 30 Nov 2009 07:13:21 +0000 (07:13 +0000)]
add threads tests to the manifest

11 years agoprevent double frees when Imager is loaded when threads are created
Tony Cook [Mon, 30 Nov 2009 07:10:21 +0000 (07:10 +0000)]
prevent double frees when Imager is loaded when threads are created

11 years agomake sure flipping paletted images is covered
Tony Cook [Wed, 25 Nov 2009 06:50:51 +0000 (06:50 +0000)]
make sure flipping paletted images is covered

11 years ago - fix POD nits
Tony Cook [Tue, 24 Nov 2009 08:04:29 +0000 (08:04 +0000)]
 - fix POD nits
   https://rt.cpan.org/Ticket/Display.html?id=51874

11 years ago - use scanline oriented operations to flip images instead of pixel
Tony Cook [Tue, 24 Nov 2009 08:02:16 +0000 (08:02 +0000)]
 - use scanline oriented operations to flip images instead of pixel
   operations
   https://rt.cpan.org/Ticket/Display.html?id=39278

 - use double/sample operations to flip large sample images instead of
   8-bit sample operations.
   https://rt.cpan.org/Ticket/Display.html?id=39280

11 years agoallow trailing whitespace on #/code lines
Tony Cook [Tue, 24 Nov 2009 07:52:31 +0000 (07:52 +0000)]
allow trailing whitespace on #/code lines

11 years agocorrect cast
Tony Cook [Tue, 24 Nov 2009 07:18:35 +0000 (07:18 +0000)]
correct cast

11 years ago0.71 release Imager-0.71
Tony Cook [Mon, 16 Nov 2009 04:11:34 +0000 (04:11 +0000)]
0.71 release

11 years agodocument opacity fill in changes, typo fixes, fix some alpha ->
Tony Cook [Tue, 10 Nov 2009 12:07:44 +0000 (12:07 +0000)]
document opacity fill in changes, typo fixes, fix some alpha ->
opacity I missed

11 years agodocument some undocumented Makefile.PL parameters
Tony Cook [Tue, 10 Nov 2009 11:53:47 +0000 (11:53 +0000)]
document some undocumented Makefile.PL parameters

11 years agoauto-convert the "other" parameter for opacity fills
Tony Cook [Fri, 6 Nov 2009 10:00:31 +0000 (10:00 +0000)]
auto-convert the "other" parameter for opacity fills

11 years agofix the docs to match the change from alpha -> opacity
Tony Cook [Fri, 6 Nov 2009 09:44:07 +0000 (09:44 +0000)]
fix the docs to match the change from alpha -> opacity

11 years agoadd opacity adaption fills
Tony Cook [Fri, 6 Nov 2009 09:42:03 +0000 (09:42 +0000)]
add opacity adaption fills

12 years ago - the conv filter now enforces that the sum of the coefficients is
Tony Cook [Mon, 28 Sep 2009 09:33:53 +0000 (09:33 +0000)]
 - the conv filter now enforces that the sum of the coefficients is
   non-zero.  Also, rather than skipping pixels off the edge off the
   edge of the image, the closest edge pixel is used.  Previously
   dividing by the zero sum of coefficients could cause invalid
   results or runtime exceptions.
   Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
   this bug.

12 years ago0.70 release
Tony Cook [Mon, 21 Sep 2009 03:32:39 +0000 (03:32 +0000)]
0.70 release

12 years agorename I_STRING to IM_STRING, since I_STRING conflicts with a perl
Tony Cook [Mon, 21 Sep 2009 03:30:23 +0000 (03:30 +0000)]
rename I_STRING to IM_STRING, since I_STRING conflicts with a perl
config.h symbol

12 years ago - an integer division meant that preview scaling to below 1 pixel
Tony Cook [Thu, 17 Sep 2009 12:26:22 +0000 (12:26 +0000)]
 - an integer division meant that preview scaling to below 1 pixel
   wide or high (which isn't too useful anyway) was calculating using
   NaNs on most platforms, and causing an exception on others.
   Thanks to David Cantrell for producing a backtrace of the crash on
   his Alpha-NetBSD CPAN test box which made it possible to track this
   down.

12 years agowe don't prompt for gif support anymore
Tony Cook [Thu, 17 Sep 2009 11:59:33 +0000 (11:59 +0000)]
we don't prompt for gif support anymore

12 years agohandle zero length extensions correctly
Tony Cook [Tue, 15 Sep 2009 11:23:31 +0000 (11:23 +0000)]
handle zero length extensions correctly

12 years agorelease GifRow and comments memory on all error returns (revealed by
Tony Cook [Fri, 11 Sep 2009 07:07:12 +0000 (07:07 +0000)]
release GifRow and comments memory on all error returns (revealed by
fuzzer + valgrind)

12 years ago0.69 release
Tony Cook [Tue, 8 Sep 2009 09:03:56 +0000 (09:03 +0000)]
0.69 release

12 years agochanges note for test fix
Tony Cook [Tue, 8 Sep 2009 08:53:04 +0000 (08:53 +0000)]
changes note for test fix

12 years agocall plan skip_all => ... instead of skip_all(...) in t102png.t
Tony Cook [Tue, 8 Sep 2009 00:17:09 +0000 (00:17 +0000)]
call plan skip_all => ... instead of skip_all(...) in t102png.t

12 years agoAPI documentation (mostly)
Tony Cook [Mon, 7 Sep 2009 14:06:01 +0000 (14:06 +0000)]
API documentation (mostly)

12 years ago0.68 release
Tony Cook [Mon, 7 Sep 2009 05:10:34 +0000 (05:10 +0000)]
0.68 release

12 years agovarious minor documentation updates and fixes
Tony Cook [Mon, 7 Sep 2009 04:54:41 +0000 (04:54 +0000)]
various minor documentation updates and fixes

12 years agoImager->new(file => $filename) does the obvious thing now
Tony Cook [Sun, 6 Sep 2009 01:48:21 +0000 (01:48 +0000)]
Imager->new(file => $filename) does the obvious thing now

12 years agorubthrough change
Tony Cook [Sat, 5 Sep 2009 02:09:21 +0000 (02:09 +0000)]
rubthrough change

12 years agoseparate tiff and no tiff tests
Tony Cook [Sat, 5 Sep 2009 01:09:28 +0000 (01:09 +0000)]
separate tiff and no tiff tests

12 years agore-work gif tests to move no gif available tests to a separate file
Tony Cook [Sat, 5 Sep 2009 00:24:20 +0000 (00:24 +0000)]
re-work gif tests to move no gif available tests to a separate file

12 years agoseparate no png support tests into a separate test file to avoid the
Tony Cook [Sat, 5 Sep 2009 00:05:49 +0000 (00:05 +0000)]
separate no png support tests into a separate test file to avoid the
huge conditional

12 years agore-work jpeg tests - move "no jpeg support" tests into t101nojpeg.t to
Tony Cook [Fri, 4 Sep 2009 23:57:59 +0000 (23:57 +0000)]
re-work jpeg tests - move "no jpeg support" tests into t101nojpeg.t to
avoid stupidly long conditionals

12 years agoreport library version numbers where we already have the XS for it
Tony Cook [Fri, 4 Sep 2009 23:46:21 +0000 (23:46 +0000)]
report library version numbers where we already have the XS for it

12 years agoavoid using CHECK as a label, since 5.11.x chokes on it
Tony Cook [Fri, 4 Sep 2009 23:45:37 +0000 (23:45 +0000)]
avoid using CHECK as a label, since 5.11.x chokes on it

12 years ago0.67_01 release
Tony Cook [Thu, 3 Sep 2009 01:52:51 +0000 (01:52 +0000)]
0.67_01 release

12 years agoadd more context to libtiff probe comment
Tony Cook [Wed, 2 Sep 2009 06:34:16 +0000 (06:34 +0000)]
add more context to libtiff probe comment

12 years agoupdate Changes with libtiff probe info
Tony Cook [Wed, 2 Sep 2009 06:32:19 +0000 (06:32 +0000)]
update Changes with libtiff probe info

12 years agoportability to Windows/VC++
Tony Cook [Tue, 1 Sep 2009 13:28:31 +0000 (13:28 +0000)]
portability to Windows/VC++

12 years agoextract the installed tifflib version and don't use tifflib if it's
Tony Cook [Tue, 1 Sep 2009 12:29:09 +0000 (12:29 +0000)]
extract the installed tifflib version and don't use tifflib if it's
3.9.1

12 years ago - use the new EU::MM META_MERGE facility instead of generating
Tony Cook [Mon, 31 Aug 2009 13:57:23 +0000 (13:57 +0000)]
 - use the new EU::MM META_MERGE facility instead of generating
   META.yml from scratch
   https://rt.cpan.org/Ticket/Display.html?id=47888

12 years ago - re-work the external libraries section of README:
Tony Cook [Mon, 31 Aug 2009 13:31:04 +0000 (13:31 +0000)]
 - re-work the external libraries section of README:
   - list Debian and Redhat package names for each library
   - reformatting
   - update URLs

12 years agofix synopsis to load the required modules
Tony Cook [Mon, 31 Aug 2009 12:03:58 +0000 (12:03 +0000)]
fix synopsis to load the required modules

12 years agonote the last change
Tony Cook [Mon, 31 Aug 2009 12:03:14 +0000 (12:03 +0000)]
note the last change

12 years agolook for .bat and .cmd files when probing for executables on MSWIN32
Tony Cook [Mon, 31 Aug 2009 11:56:18 +0000 (11:56 +0000)]
look for .bat and .cmd files when probing for executables on MSWIN32

12 years agoImager::Font is pretty useless without Imager, so add C< use Imager; >
Tony Cook [Thu, 2 Jul 2009 09:33:09 +0000 (09:33 +0000)]
Imager::Font is pretty useless without Imager, so add C< use Imager; >
to that too (Imager loads Imager::Font)

12 years agoImager::Files isn't a C<use>able module, make that more obvious by
Tony Cook [Thu, 2 Jul 2009 09:30:45 +0000 (09:30 +0000)]
Imager::Files isn't a C<use>able module, make that more obvious by
adding C< use Imager; > to the synopsis

12 years ago - correct documentation of default of raw image interleave read
Tony Cook [Thu, 15 Jan 2009 11:43:47 +0000 (11:43 +0000)]
 - correct documentation of default of raw image interleave read
   parameter
   https://rt.cpan.org/Ticket/Display.html?id=42074

 - add raw_ prefix to raw read parameters, though the original names
   still work.

 - fail the read if an invalid raw_interleave parameter is supplied

 - warn if no interleave or raw_interleave parameter is supplied,
   since the documented default was wrong, and incompatible with the
   write format

 - for reading raw images, if raw_storechannels > raw_datachannels,
   set the extra channels in the image to 0

12 years agofix jpg to jpeg in the list of image file formats in the synopsis
Tony Cook [Sat, 13 Dec 2008 00:33:52 +0000 (00:33 +0000)]
fix jpg to jpeg in the list of image file formats in the synopsis

12 years ago0.67 release
Tony Cook [Fri, 12 Dec 2008 11:51:19 +0000 (11:51 +0000)]
0.67 release

12 years agoadd file required for ICO tests
Tony Cook [Fri, 12 Dec 2008 11:50:02 +0000 (11:50 +0000)]
add file required for ICO tests

12 years ago0.66 release
Tony Cook [Fri, 12 Dec 2008 11:42:45 +0000 (11:42 +0000)]
0.66 release

12 years ago - re-arrange the POD for Imager::Font::BBox:
Tony Cook [Fri, 12 Dec 2008 10:23:18 +0000 (10:23 +0000)]
 - re-arrange the POD for Imager::Font::BBox:
   - mark total_width(), pos_width(), end_offset() obsolete, since
     they're mostly for backwards compatibility
   - group width methods and height methods
   https://rt.cpan.org/Ticket/Display.html?id=39999

12 years ago - add limited tests for Imager::ExtUtils
Tony Cook [Fri, 12 Dec 2008 09:40:19 +0000 (09:40 +0000)]
 - add limited tests for Imager::ExtUtils

 - make Imager::ExtUtils->includes use an absolute path, since
   a relative path could cause failures using Inline::C.
   http://rt.cpan.org/Ticket/Display.html?id=37353

12 years ago - write out the image size in bytes field of a BMP correctly.
Tony Cook [Fri, 12 Dec 2008 08:49:27 +0000 (08:49 +0000)]
 - write out the image size in bytes field of a BMP correctly.
   http://rt.cpan.org/Ticket/Display.html?id=41406

12 years ago - corrected a reference leak where writing GIFs would leak memory.
Tony Cook [Thu, 11 Dec 2008 11:04:53 +0000 (11:04 +0000)]
 - corrected a reference leak where writing GIFs would leak memory.
   This could also happen calling to_paletted().
   Also documented the underlying long existing feature where the
   colors parameter is filled with the generated color table and added
   tests for it.
   http://rt.cpan.org/Ticket/Display.html?id=41028

12 years agoextend the synopsis a little so people realize type is optional for
Tony Cook [Sat, 29 Nov 2008 23:38:12 +0000 (23:38 +0000)]
extend the synopsis a little so people realize type is optional for
reading and often for writing.

also, simple examples of other data sources/sinks

12 years agobe more consistent with =item * for the I/O parameters
Tony Cook [Sat, 29 Nov 2008 23:29:36 +0000 (23:29 +0000)]
be more consistent with =item * for the I/O parameters

12 years agonote the memory leak fix in Changes
Tony Cook [Wed, 19 Nov 2008 09:09:40 +0000 (09:09 +0000)]
note the memory leak fix in Changes

12 years agoavoid a leaked reference if we create the colors array ref ourselves
Tony Cook [Wed, 19 Nov 2008 08:29:25 +0000 (08:29 +0000)]
avoid a leaked reference if we create the colors array ref ourselves
when copying colors back after a write

since this behaviour is undocumented and untested, perhaps it should
be removed

13 years ago - 24-bit color .ICO/.CUR files can now be read.
Tony Cook [Wed, 28 May 2008 04:27:34 +0000 (04:27 +0000)]
 - 24-bit color .ICO/.CUR files can now be read.

13 years ago - an optimization skipping 0 src alpha values could cause the
Tony Cook [Mon, 26 May 2008 06:44:34 +0000 (06:44 +0000)]
 - an optimization skipping 0 src alpha values could cause the
   rubthrough() to read past the end of a buffer.
   http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html

13 years agoforgot to commit (and release!) the version of Changes with the
Tony Cook [Mon, 26 May 2008 06:41:57 +0000 (06:41 +0000)]
forgot to commit (and release!) the version of Changes with the
release date

13 years agoImager 0.65 release Imager-0.65
Tony Cook [Tue, 20 May 2008 06:34:16 +0000 (06:34 +0000)]
Imager 0.65 release

13 years ago - the gif_screen_height tag was overriding the screen width and being
Tony Cook [Mon, 5 May 2008 05:02:26 +0000 (05:02 +0000)]
 - the gif_screen_height tag was overriding the screen width and being
   ignored for the screen height when present.
   https://rt.cpan.org/Public/Bug/Display.html?id=35568

13 years agomyfree_file_line no longer treats freeing a NULL pointer as an error
Tony Cook [Mon, 5 May 2008 02:47:23 +0000 (02:47 +0000)]
myfree_file_line no longer treats freeing a NULL pointer as an error

13 years ago - In some cases when an error occurs reading those parts of a JPEG
Tony Cook [Wed, 30 Apr 2008 10:54:57 +0000 (10:54 +0000)]
 - In some cases when an error occurs reading those parts of a JPEG
   file after the image the scan-line buffer could be freed a second
   time.  In cases where the the error occured while reading the image
   data it's possible that the buffer could have leaked.
   Thanks to Gabriel Vasseur for reporting this and help in tracking
   it down.

13 years agomissed some t/testtools.pl usage
Tony Cook [Tue, 29 Apr 2008 23:11:55 +0000 (23:11 +0000)]
missed some t/testtools.pl usage

13 years agoeliminate t/testtools.pl
Tony Cook [Tue, 29 Apr 2008 02:05:22 +0000 (02:05 +0000)]
eliminate t/testtools.pl

have t/t35ttfont.pl check the font is created, this may have been the
cause of the failure at
http://www.nntp.perl.org/group/perl.cpan.testers/1313902

13 years agoadd CVE for the security issue
Tony Cook [Tue, 29 Apr 2008 02:02:37 +0000 (02:02 +0000)]
add CVE for the security issue

13 years ago0.64 release
Tony Cook [Wed, 23 Apr 2008 04:07:56 +0000 (04:07 +0000)]
0.64 release

13 years ago - fixed a related problem for image fills.
Tony Cook [Wed, 23 Apr 2008 01:00:02 +0000 (01:00 +0000)]
 - fixed a related problem for image fills.

 - Possible security issue: The floating point sample path for image
   based fills had a buffer overflow.  This would overwrite the end of
   a malloc()ed buffer with double precision floats.

13 years ago - Regression: filling a greyscale image with a hatch used the wrong
Tony Cook [Tue, 22 Apr 2008 04:10:06 +0000 (04:10 +0000)]
 - Regression: filling a greyscale image with a hatch used the wrong
   color channels from the supplied fg/bg colors.
   https://rt.cpan.org/Ticket/Display.html?id=35278

13 years ago - check that the result of fileno($fh) is defined rather than simply
Tony Cook [Fri, 18 Apr 2008 04:36:55 +0000 (04:36 +0000)]
 - check that the result of fileno($fh) is defined rather than simply
   true when read() or write() is supplied with an fh parameter.
   http://rt.cpan.org/Ticket/Display.html?id=35139

 - i_scale_axis() wasn't checking the result of i_img_new_ch()
   resulting in a SIGSEGV when attempting to scale an image to a size
   too large to fit in memory.  This is a NULL pointer access issue,
   not a buffer overflow.
   Added a check for the failure.
   scale_calculate() (and hence scale()) will now fail if any of the
   scale size parameters are a reference.
   http://rt.cpan.org/Ticket/Display.html?id=35172

13 years agoTODO: elliptical arc
Tony Cook [Wed, 16 Apr 2008 23:59:41 +0000 (23:59 +0000)]
TODO: elliptical arc

arc() now does AA filled areas, correct the BUGS in Imager::Draw

13 years agoImager 0.63 release Imager-0.63
Tony Cook [Mon, 7 Apr 2008 09:14:27 +0000 (09:14 +0000)]
Imager 0.63 release

13 years agosome of the changes were bugs, put them under the bug heading
Tony Cook [Mon, 7 Apr 2008 07:58:31 +0000 (07:58 +0000)]
some of the changes were bugs, put them under the bug heading

explain the release

13 years agowarning clean up - clean up unusued variables, fix some const
Tony Cook [Mon, 7 Apr 2008 07:54:53 +0000 (07:54 +0000)]
warning clean up - clean up unusued variables, fix some const
correctness

removed some #if 0 code

13 years agonew plans
Tony Cook [Mon, 7 Apr 2008 07:54:22 +0000 (07:54 +0000)]
new plans