]> git.imager.perl.org - imager.git/log
imager.git
19 years agomake sure meta.tmp is cleaned up
Tony Cook [Tue, 24 May 2005 05:07:50 +0000 (05:07 +0000)]
make sure meta.tmp is cleaned up

19 years ago- use a temp file to avoid messing with echo on Win32 when building
Tony Cook [Tue, 24 May 2005 04:59:30 +0000 (04:59 +0000)]
- use a temp file to avoid messing with echo on Win32 when building
  META.yml

19 years ago- work around junk that pkg-config sends to stderr on FreeBSD 4.10
Tony Cook [Tue, 24 May 2005 04:17:34 +0000 (04:17 +0000)]
- work around junk that pkg-config sends to stderr on FreeBSD 4.10
- testimg/base.jpg was missing from the MANIFEST, causing test failures

19 years agoadded Test::More files to MANIFEST
Tony Cook [Tue, 24 May 2005 04:12:05 +0000 (04:12 +0000)]
added Test::More files to MANIFEST

19 years agowas missing use lib 't';
Tony Cook [Tue, 24 May 2005 03:47:20 +0000 (03:47 +0000)]
was missing use lib 't';

19 years agoadd missing SKIP label
Tony Cook [Tue, 24 May 2005 01:24:39 +0000 (01:24 +0000)]
add missing SKIP label

19 years agoadded C< use lib 't'; > where needed
Tony Cook [Tue, 24 May 2005 01:15:40 +0000 (01:15 +0000)]
added C< use lib 't'; > where needed

19 years ago- add tests to exercise hatch fills for floating images. This code is
Tony Cook [Tue, 24 May 2005 01:09:50 +0000 (01:09 +0000)]
- add tests to exercise hatch fills for floating images.  This code is
  mis-generated with the gcc 4.0 that ships with OS X 10.4

19 years ago- fixed an inverted condition checking the giflib version, and
Tony Cook [Tue, 17 May 2005 02:02:25 +0000 (02:02 +0000)]
- fixed an inverted condition checking the giflib version, and
  replaced a manual test skip in t/t105gif.t

19 years agofix broken commit
Tony Cook [Tue, 17 May 2005 01:00:33 +0000 (01:00 +0000)]
fix broken commit

19 years ago- Imager no longer assumes that MSVC is the only native Win32
Tony Cook [Tue, 17 May 2005 00:25:54 +0000 (00:25 +0000)]
- Imager no longer assumes that MSVC is the only native Win32
  compiler, MinGW can be used to build Imager.

19 years ago- prevent warnings from Makefile.PL when there's no libraries found
Tony Cook [Tue, 17 May 2005 00:22:22 +0000 (00:22 +0000)]
- prevent warnings from Makefile.PL when there's no libraries found

19 years ago- fix the filter examples in Imager::Filter so they don't indicate that
Tony Cook [Tue, 17 May 2005 00:19:15 +0000 (00:19 +0000)]
- fix the filter examples in Imager::Filter so they don't indicate that
  a new image is returned (the filter() method works in-place)
- add examples for the fountain filter

19 years agogot something done
Tony Cook [Mon, 16 May 2005 06:34:18 +0000 (06:34 +0000)]
got something done

19 years ago- the setcolors() had a fencepost error making it impossible to
Tony Cook [Wed, 11 May 2005 14:37:29 +0000 (14:37 +0000)]
- the setcolors() had a fencepost error making it impossible to
  use it to set the last color in the palette.
  http://rt.cpan.org/NoAuth/Bug.html?id=12676

19 years agosomething done
Tony Cook [Wed, 11 May 2005 14:35:31 +0000 (14:35 +0000)]
something done

19 years ago- the internal function used to probe file formats if the type
Tony Cook [Wed, 11 May 2005 13:43:29 +0000 (13:43 +0000)]
- the internal function used to probe file formats if the type
  parameter wasn't passed to the read() method would produce
  diagnostics on stdout, precluding use in web applications.  Silenced
  it.

19 years agomore stuff TODO
Tony Cook [Wed, 11 May 2005 12:47:25 +0000 (12:47 +0000)]
more stuff TODO

19 years agoSupport mingw built perl
Tony Cook [Wed, 11 May 2005 12:43:38 +0000 (12:43 +0000)]
Support mingw built perl

19 years ago- removed the bug reporting email address to prevent spammers stripping
Tony Cook [Sat, 7 May 2005 23:40:11 +0000 (23:40 +0000)]
- removed the bug reporting email address to prevent spammers stripping
  it.  The URL is still there and if someone knows how rt.cpan.org works
  they can still figure out the email.

19 years agoput the detail output file in a saner place
Tony Cook [Sat, 7 May 2005 23:34:19 +0000 (23:34 +0000)]
put the detail output file in a saner place

19 years agosomething got done!
Tony Cook [Mon, 2 May 2005 14:42:25 +0000 (14:42 +0000)]
something got done!

19 years ago- the Win32 font driver bounding_box() method now puts accuarate values
Tony Cook [Mon, 2 May 2005 14:37:48 +0000 (14:37 +0000)]
- the Win32 font driver bounding_box() method now puts accuarate values
  in the ascent and descent values, previous that were set to the
  font ascent/descent rather than the values specific to the string.
- supplying align=>0 to the win32 font driver string() function
  now aligns in the same way as the other drivers.

19 years ago- the FT1.x driver now supports the align parameter correctly.
Tony Cook [Mon, 2 May 2005 14:11:26 +0000 (14:11 +0000)]
- the FT1.x driver now supports the align parameter correctly.
  Tests were added to each driver to check correct handling of the align
  parameter.

19 years agochanged alignment tests a bit
Tony Cook [Mon, 2 May 2005 12:44:31 +0000 (12:44 +0000)]
changed alignment tests a bit

19 years agoadded alignment tests
Tony Cook [Sat, 30 Apr 2005 00:15:04 +0000 (00:15 +0000)]
added alignment tests

19 years ago- the internal i_tags_get_string() function now acts correctly for
Tony Cook [Fri, 29 Apr 2005 14:36:04 +0000 (14:36 +0000)]
- the internal i_tags_get_string() function now acts correctly for
  integer only tags.

20 years ago- Imager::Matrix2d->rotate() would only rotate around the supplied
Tony Cook [Wed, 27 Apr 2005 07:59:43 +0000 (07:59 +0000)]
- Imager::Matrix2d->rotate() would only rotate around the supplied
  centre point if both 'x' and 'y' were non-zero.

20 years agoright bearings done
Tony Cook [Wed, 27 Apr 2005 07:33:15 +0000 (07:33 +0000)]
right bearings done

20 years agoskip the right number for when there's no FT1
Tony Cook [Tue, 26 Apr 2005 11:10:01 +0000 (11:10 +0000)]
skip the right number for when there's no FT1
skip the win32 addfontresource on cygwin since it's non-obvious
how to get the path to the fontfile

20 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
Tony Cook [Tue, 26 Apr 2005 10:45:21 +0000 (10:45 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
  methods.  Hopefully this and the advance_width() method fills out
  the Imager bounding box interface to a useful state.
  Implemented for all four font drivers.
- Win32 font bounding_box() method now supports the advance width
  and right bearing values.

20 years agoremove old #if ed out code
Tony Cook [Tue, 26 Apr 2005 09:07:39 +0000 (09:07 +0000)]
remove old #if ed out code

20 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
Tony Cook [Tue, 26 Apr 2005 08:55:35 +0000 (08:55 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
  methods.  Hopefully this and the advance_width() method fills out
  the Imager bounding box interface to a useful state.
  Implemented for FT2, FT1.x, T1Lib so far.

20 years agofix a warning
Tony Cook [Tue, 26 Apr 2005 07:40:40 +0000 (07:40 +0000)]
fix a warning

20 years agoconverted to Test::More
Tony Cook [Mon, 25 Apr 2005 08:41:32 +0000 (08:41 +0000)]
converted to Test::More

20 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
Tony Cook [Sun, 24 Apr 2005 11:28:01 +0000 (11:28 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
  methods.  Hopefully this and the advance_width() method fills out
  the Imager bounding box interface to a useful state.
  Implemented for FT2 so far.

20 years agoconvert to Test::More
Tony Cook [Sat, 23 Apr 2005 13:37:05 +0000 (13:37 +0000)]
convert to Test::More

20 years agoadded use strict
Tony Cook [Sat, 23 Apr 2005 03:06:06 +0000 (03:06 +0000)]
added use strict

20 years agosome stuff done
Tony Cook [Fri, 22 Apr 2005 05:43:06 +0000 (05:43 +0000)]
some stuff done

20 years ago- the FT 1.x was comparing versus an uninitialized variable when
Tony Cook [Thu, 21 Apr 2005 14:58:55 +0000 (14:58 +0000)]
- the FT 1.x was comparing versus an uninitialized variable when
  checking the end of string when calculating the right side bearing
  used to adjust pos_width for glyphs that overlap the right side of the
  advance width.

20 years agoconverted to Test::More
Tony Cook [Thu, 21 Apr 2005 14:41:54 +0000 (14:41 +0000)]
converted to Test::More

20 years agofound a bug
Tony Cook [Thu, 21 Apr 2005 14:07:33 +0000 (14:07 +0000)]
found a bug

20 years agomissed a SKIP: label for use on non-Win32
Tony Cook [Wed, 20 Apr 2005 15:26:28 +0000 (15:26 +0000)]
missed a SKIP: label for use on non-Win32

20 years ago- Imager::Font::BBox advance_width() method was falling back to
Tony Cook [Wed, 20 Apr 2005 15:21:29 +0000 (15:21 +0000)]
- Imager::Font::BBox advance_width() method was falling back to
  the wrong value when the font driver's low level function
  didn't return the advance width.

20 years ago- fix a few compiler warnings
Tony Cook [Wed, 20 Apr 2005 14:52:29 +0000 (14:52 +0000)]
- fix a few compiler warnings
- document the Imager::Font::BBox advance_width() method

20 years ago- the segments parameter supplied to the fountain filter and the
Tony Cook [Wed, 20 Apr 2005 13:38:40 +0000 (13:38 +0000)]
- the segments parameter supplied to the fountain filter and the
  fountain fill contructor now accepts color names or other
  descriptions as other functions do.

20 years ago- newer versions of GIMP add a line to gradient files before the
Tony Cook [Fri, 15 Apr 2005 10:48:27 +0000 (10:48 +0000)]
- newer versions of GIMP add a line to gradient files before the
  segment count giving a descriptive name of the gradient.
  Imager::Fountain can now read and write such gradient files.  The
  interface is a bit indirect, but I'd like to preserve
  Imager::Fountain as a blessed array ref for now.

20 years agoconverted to Test::More
Tony Cook [Wed, 13 Apr 2005 14:12:21 +0000 (14:12 +0000)]
converted to Test::More

20 years ago- added sample code for handling images uploaded via a HTML form.
Tony Cook [Tue, 12 Apr 2005 14:41:28 +0000 (14:41 +0000)]
- added sample code for handling images uploaded via a HTML form.

20 years agonew samples
Tony Cook [Tue, 12 Apr 2005 14:30:35 +0000 (14:30 +0000)]
new samples

20 years ago- Makefile.PL now adds rules to generate a suitable META.yml to the
Tony Cook [Wed, 6 Apr 2005 11:36:29 +0000 (11:36 +0000)]
- Makefile.PL now adds rules to generate a suitable META.yml to the
  generated Makefile.

20 years agoupdates, rearranged to get the stuff still needed at the top
Tony Cook [Wed, 6 Apr 2005 11:36:06 +0000 (11:36 +0000)]
updates, rearranged to get the stuff still needed at the top

20 years ago- added samp-form.cgi and samp-image.cgi to the samples directory to
Tony Cook [Sat, 26 Mar 2005 14:18:55 +0000 (14:18 +0000)]
- added samp-form.cgi and samp-image.cgi to the samples directory to
  demonstrate displaying a generated image on a HTML page.

20 years agoCGI samples
Tony Cook [Sat, 26 Mar 2005 14:06:22 +0000 (14:06 +0000)]
CGI samples

20 years ago- Imager::Cookbook wasn't included in the MANIFEST
Tony Cook [Wed, 16 Mar 2005 13:56:12 +0000 (13:56 +0000)]
- Imager::Cookbook wasn't included in the MANIFEST

20 years ago- added README for samples directory, describes interleave.pl and
Tony Cook [Wed, 16 Mar 2005 13:48:51 +0000 (13:48 +0000)]
- added README for samples directory, describes interleave.pl and
  anaglyph.pl to start.
- the XS for the internal i_glin() function wasn't copying the pixel
  values across to the returned color objects.
  http://rt.cpan.org/NoAuth/Bug.html?id=11860

20 years ago- correct email addresses in the README file, and include bug reporting
Tony Cook [Wed, 16 Mar 2005 13:28:18 +0000 (13:28 +0000)]
- correct email addresses in the README file, and include bug reporting
  information there too

20 years agominor typo
Tony Cook [Wed, 16 Mar 2005 13:20:56 +0000 (13:20 +0000)]
minor typo

20 years agosize reduced to reduce dist size
Tony Cook [Wed, 16 Mar 2005 13:18:24 +0000 (13:18 +0000)]
size reduced to reduce dist size

20 years agoInitial version
Tony Cook [Wed, 16 Mar 2005 02:58:09 +0000 (02:58 +0000)]
Initial version

20 years agofix the second argument in the synopsis
Tony Cook [Tue, 15 Mar 2005 13:46:32 +0000 (13:46 +0000)]
fix the second argument in the synopsis

20 years agoinitial version
Tony Cook [Mon, 14 Mar 2005 02:44:49 +0000 (02:44 +0000)]
initial version

20 years ago- the convert, crop, rotate, copy, matrix_transform, to_paletted, to_rgb8,
Tony Cook [Fri, 11 Mar 2005 11:57:34 +0000 (11:57 +0000)]
- the convert, crop, rotate, copy, matrix_transform, to_paletted, to_rgb8,
  scaleX and scaleY methods now warn when called in void context.
  http://rt.cpan.org/NoAuth/Bug.html?id=9672

20 years agomake sure we can see the supplied copy of Test::More
Tony Cook [Fri, 11 Mar 2005 11:47:48 +0000 (11:47 +0000)]
make sure we can see the supplied copy of Test::More

20 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 11:31:45 +0000 (11:31 +0000)]
convert to Test::More

20 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 11:16:31 +0000 (11:16 +0000)]
convert to Test::More

20 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:52:39 +0000 (10:52 +0000)]
convert to Test::More

20 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:39:46 +0000 (10:39 +0000)]
convert to Test::More

20 years ago- calling the read() method for a format not included in the Imager build,
Tony Cook [Tue, 8 Mar 2005 08:02:59 +0000 (08:02 +0000)]
- calling the read() method for a format not included in the Imager build,
  for example, JPEG with no libjpeg installed, would crash with an
  undefined function error (modified by DynaLoaders dependence on
  AutoLoader.
  http://rt.cpan.org/NoAuth/Bug.html?id=9618
- some test scripts have been modified to use Test::More, which is now
  included under the t directory.  Eventually all will be modified to use
  Test::More and the duplicates in t/testtools.pl will be removed

20 years agobase for hand edited JPEG file
Tony Cook [Tue, 8 Mar 2005 07:36:45 +0000 (07:36 +0000)]
base for hand edited JPEG file

20 years agobase for hand-edited test tga images
Tony Cook [Tue, 8 Mar 2005 07:36:15 +0000 (07:36 +0000)]
base for hand-edited test tga images

20 years agoadded testimg/longid.tga used to test the long idstring bug
Tony Cook [Tue, 8 Mar 2005 07:34:10 +0000 (07:34 +0000)]
added testimg/longid.tga used to test the long idstring bug

20 years agotest with a long TGA id
Tony Cook [Tue, 8 Mar 2005 07:29:34 +0000 (07:29 +0000)]
test with a long TGA id

20 years agoclarify that the change was specific to TGA images
Tony Cook [Tue, 8 Mar 2005 07:28:23 +0000 (07:28 +0000)]
clarify that the change was specific to TGA images

20 years ago- reading an image with an idstring of 128 or more bytes would result
Tony Cook [Mon, 28 Feb 2005 06:56:27 +0000 (06:56 +0000)]
- reading an image with an idstring of 128 or more bytes would result
  in an allocation error, if the platform char type was signed
- tests now check that tga tags are set

20 years ago- call read() instead of open() in the example code in Imager.pm,
Tony Cook [Thu, 10 Feb 2005 13:12:56 +0000 (13:12 +0000)]
- call read() instead of open() in the example code in Imager.pm,
  and mention that open() is an alias for read().
  http://rt.cpan.org/NoAuth/Bug.html?id=11431
- added reference list of crop() parameters.
  http://rt.cpan.org/NoAuth/Bug.html?id=11430

20 years agoa little more detail
Tony Cook [Thu, 10 Feb 2005 12:53:20 +0000 (12:53 +0000)]
a little more detail

20 years ago- add scaleX/scaleY to the method index and gives them some examples
Tony Cook [Thu, 10 Feb 2005 12:50:44 +0000 (12:50 +0000)]
- add scaleX/scaleY to the method index and gives them some examples

20 years agosome stuff done
Tony Cook [Thu, 10 Feb 2005 12:49:30 +0000 (12:49 +0000)]
some stuff done

20 years agofix some function headers, removed some junk code
Tony Cook [Thu, 10 Feb 2005 12:46:22 +0000 (12:46 +0000)]
fix some function headers, removed some junk code

20 years agomore todo
Tony Cook [Thu, 10 Feb 2005 12:44:57 +0000 (12:44 +0000)]
more todo

20 years agoadd entries for the filters to the concept index
Tony Cook [Wed, 2 Feb 2005 12:19:37 +0000 (12:19 +0000)]
add entries for the filters to the concept index

20 years ago- the right-side bearing used to adjust the final width wasn't being
Tony Cook [Mon, 31 Jan 2005 14:08:57 +0000 (14:08 +0000)]
- the right-side bearing used to adjust the final width wasn't being
  calculated correctly, this would cause the bounding_box() function for
  freetype 2.x to return a larger than expected text width.
  http://rt.cpan.org/NoAuth/Bug.html?id=11291

20 years agosome stuff done, moved 0.44 down to the end
Tony Cook [Mon, 31 Jan 2005 13:55:56 +0000 (13:55 +0000)]
some stuff done, moved 0.44 down to the end

20 years agorevert the precalculation of the sum of the coefficients - it
Tony Cook [Mon, 31 Jan 2005 09:07:58 +0000 (09:07 +0000)]
revert the precalculation of the sum of the coefficients - it
was incorrect

20 years ago- eliminate unused variables and static functions
Tony Cook [Mon, 24 Jan 2005 13:18:48 +0000 (13:18 +0000)]
- eliminate unused variables and static functions
- simplify some XS code by adding another typemap entry

20 years agolink to the cookbook
Tony Cook [Mon, 24 Jan 2005 13:17:21 +0000 (13:17 +0000)]
link to the cookbook

20 years agovarious TODOs done, new ones added
Tony Cook [Mon, 24 Jan 2005 13:15:20 +0000 (13:15 +0000)]
various TODOs done, new ones added

20 years ago- minor cleanup of Imager::Fill
Tony Cook [Mon, 24 Jan 2005 12:58:21 +0000 (12:58 +0000)]
- minor cleanup of Imager::Fill

20 years agomissed setting it for centimetres
Tony Cook [Mon, 24 Jan 2005 12:04:00 +0000 (12:04 +0000)]
missed setting it for centimetres

20 years ago- more examples in Imager::Draw
Tony Cook [Mon, 24 Jan 2005 10:45:56 +0000 (10:45 +0000)]
- more examples in Imager::Draw

20 years ago- explicitly document there are no PNG specific tags.
Tony Cook [Mon, 24 Jan 2005 10:44:45 +0000 (10:44 +0000)]
- explicitly document there are no PNG specific tags.

20 years ago- calculate the sum of the coefficients once rather than for every
Tony Cook [Mon, 24 Jan 2005 10:43:45 +0000 (10:43 +0000)]
- calculate the sum of the coefficients once rather than for every
  pixel in i_conv() (convolution filter)

20 years ago- added simple examples to most of the filters documented in
Tony Cook [Mon, 24 Jan 2005 10:38:34 +0000 (10:38 +0000)]
- added simple examples to most of the filters documented in
  Imager::Filters

20 years ago- Makefile.PL now accepts command-line options to set include and library
Tony Cook [Mon, 24 Jan 2005 10:26:25 +0000 (10:26 +0000)]
- Makefile.PL now accepts command-line options to set include and library
  directories and to enable/disable drivers.

20 years ago- scanning for required include files is now down by directory rather
Tony Cook [Mon, 24 Jan 2005 10:19:50 +0000 (10:19 +0000)]
- scanning for required include files is now down by directory rather
  than by file, using -e to check for the existence for a file rather than
  doing an eq against every filename in the directory.
- previously we only checked a candidate include directory for freetype.h
  to consider it a valid FT1.x include directory.  We now check if it
  contains fterrors.h too, if it does, then it's from a FT2 installation
  and we ignore it.

20 years ago- Makefile.PL now builds imconfig.h with #defines for libraries
Tony Cook [Thu, 6 Jan 2005 09:43:43 +0000 (09:43 +0000)]
- Makefile.PL now builds imconfig.h with #defines for libraries
  present (and for the GIF library version) rather than putting them
  into CFLAGS

20 years agoremoved junk entry
Tony Cook [Thu, 6 Jan 2005 09:42:03 +0000 (09:42 +0000)]
removed junk entry

20 years ago- avoid complaining about include/lib directories we pull from
Tony Cook [Thu, 6 Jan 2005 09:04:43 +0000 (09:04 +0000)]
- avoid complaining about include/lib directories we pull from
  perl's config or we have built-in

20 years agohad =cut instead of =back
Tony Cook [Wed, 5 Jan 2005 03:38:57 +0000 (03:38 +0000)]
had =cut instead of =back