]> git.imager.perl.org - imager.git/log
imager.git
19 years ago- eliminate many -Wall warnings
Tony Cook [Mon, 30 Jan 2006 04:18:02 +0000 (04:18 +0000)]
- eliminate many -Wall warnings

19 years agominor POD fix in Imager::Color::Table
Tony Cook [Mon, 30 Jan 2006 03:57:12 +0000 (03:57 +0000)]
minor POD fix in Imager::Color::Table

19 years ago- supply C<imager> parameter to filters so we can register filters
Tony Cook [Mon, 30 Jan 2006 01:13:04 +0000 (01:13 +0000)]
- supply C<imager> parameter to filters so we can register filters
  implemented in perl.
- document register_filter() and add test for it
- add example to SYNOPSIS of samples/inline_replace_color.pl

19 years ago- handle the possibility of strerror() returning NULL.
Tony Cook [Fri, 27 Jan 2006 03:09:59 +0000 (03:09 +0000)]
- handle the possibility of strerror() returning NULL.

19 years ago- convert t/t07iolayer.t to Test::More
Tony Cook [Tue, 24 Jan 2006 13:35:04 +0000 (13:35 +0000)]
- convert t/t07iolayer.t to Test::More

19 years ago- make skip when Inline::C not available less verbose
Tony Cook [Mon, 23 Jan 2006 04:23:17 +0000 (04:23 +0000)]
- make skip when Inline::C not available less verbose

19 years ago- added typemap type names to types in Imager::API.
Tony Cook [Sat, 21 Jan 2006 03:50:00 +0000 (03:50 +0000)]
- added typemap type names to types in Imager::API.

19 years ago- reading a raw image no longer exits on a short read or read error,
Tony Cook [Wed, 18 Jan 2006 14:06:50 +0000 (14:06 +0000)]
- reading a raw image no longer exits on a short read or read error,
  and returns an appropriate error message in $im->errstr
- write failures when writing a raw image now return a useful
  message in $im->errstr

19 years ago- convert t/t103raw.t to Test::More
Tony Cook [Wed, 18 Jan 2006 12:40:42 +0000 (12:40 +0000)]
- convert t/t103raw.t to Test::More

19 years ago- error messages when writing TIFF images were always
Tony Cook [Wed, 18 Jan 2006 12:18:51 +0000 (12:18 +0000)]
- error messages when writing TIFF images were always
  'Could not write to buffer', more useful messages are now reported.
- error messages when writing PNM images were always
  'unable to write pnm image', more useful messages are now reported.

19 years ago- reword and provide an example for non-proportionally scaling an
Tony Cook [Wed, 18 Jan 2006 00:27:30 +0000 (00:27 +0000)]
- reword and provide an example for non-proportionally scaling an
  image.  Wording from Simon Cozens.

19 years ago- deal with freetype-config --cflags returning the directories
Tony Cook [Fri, 13 Jan 2006 06:00:32 +0000 (06:00 +0000)]
- deal with freetype-config --cflags returning the directories
  in the wrong order (Freetype 2.1.4 and earlier)
  Thanks to David Wheeler for his help in tracking this down.

19 years ago- minor changes for older perl/ExtUtils::MM
Tony Cook [Fri, 13 Jan 2006 04:38:57 +0000 (04:38 +0000)]
- minor changes for older perl/ExtUtils::MM

19 years ago- convert dynfilt/flines.c to Imager::Filter::Flines
Tony Cook [Thu, 12 Jan 2006 01:29:26 +0000 (01:29 +0000)]
- convert dynfilt/flines.c to Imager::Filter::Flines

19 years ago- document Imager::Filter::Mandelbrot
Tony Cook [Wed, 11 Jan 2006 08:24:42 +0000 (08:24 +0000)]
- document Imager::Filter::Mandelbrot

19 years ago- constify the Imager API
Tony Cook [Wed, 11 Jan 2006 04:46:01 +0000 (04:46 +0000)]
- constify the Imager API

19 years ago- added sample files missing from MANIFEST
Tony Cook [Wed, 11 Jan 2006 03:39:25 +0000 (03:39 +0000)]
- added sample files missing from MANIFEST
- added t/t92samples.t to check samples/README against MANIFEST
- added inline_replace_color.pl to samples

19 years agomake more C89 compliant
Tony Cook [Tue, 10 Jan 2006 03:26:55 +0000 (03:26 +0000)]
make more C89 compliant

19 years ago- start of external Imager API access:
Tony Cook [Tue, 10 Jan 2006 03:09:58 +0000 (03:09 +0000)]
- start of external Imager API access:
  - rename headers to avoid conflicts:
    - image.h to imager.h
    - imagei.h to imageri.h
    - datatypes.h to imdatatypes.h
    - config.h to imconfig.h (created by Makefile.PL)
  - moved all public types defined in imager.h to imdatatypes.h
  - supply the PM parameter to WriteMakefile(), to install headers
    under Imager/include, and the Imager typemap in Imager/typemap.
    We scan the MANIFEST for files to add to PM.
  - add "i_" prefix on some functions useful as public at the C level.
  - moved the typedefs that support the typemap from Imager.xs to
    imperl.h
  - set the global callbacks hook in the Imager.xs BOOT section
  - API cleanup:
    - define i_tags_set(), i_tags_setn() - we might not allow multiple
      values for a tag in the future
    - i_copy() now returns a new image instead of doing horrible inplace
      things to an existing image
    - provide actual functions for all of the macros we define in imager.h
      so we can put them in the global callbacks structure
  - define global functions structure (imexttypes.h)
    and initialize it (imext.c)
  - add API include header with macros to setup the define and
    initialize the local callbacks pointer, and macros to call the API
    functions.
  - build Imager::APIRef from C sources, including updating the sources
    to include documentation for each API function.
  - convert dyntest and mandelbrot dynfilts into XS modules (too easy)
  - simple Imager::CountColor example
- support Inline::C :
  - typemap changes to accept Imager or Imager::ImgRaw objects as
    image parameters
  - define Imager output type for trivial cases of returning an i_img as
    a full Imager object
  - Inline WITH hook to filter Imager XS types into types Inline::C can
    accept, supply appropriate headers and initialization.
  - test script t/t82inline.t
- try to use XSLoader instead of DynaLoader (but fallback if necessary)
- paste() can now paste a subset of the source image.
- paste() now has better tests
- paste() should now be faster for larger pastes

19 years ago- extra concept index entries
Tony Cook [Mon, 9 Jan 2006 07:44:57 +0000 (07:44 +0000)]
- extra concept index entries
- Imager::Draw - align_string()'s valign parameter was invalid in the
  synopsis

19 years ago- don't destroy image before creating it in error handling in bmp.c
Tony Cook [Wed, 4 Jan 2006 00:52:57 +0000 (00:52 +0000)]
- don't destroy image before creating it in error handling in bmp.c

19 years ago- set the locale to "C" properly when testing ft1.x error messages
Tony Cook [Fri, 30 Dec 2005 12:06:34 +0000 (12:06 +0000)]
- set the locale to "C" properly when testing ft1.x error messages

19 years ago- bump to 0.47
Tony Cook [Fri, 30 Dec 2005 05:58:06 +0000 (05:58 +0000)]
- bump to 0.47

19 years ago- bump to 0.46_01 for testing
Tony Cook [Fri, 30 Dec 2005 05:31:19 +0000 (05:31 +0000)]
- bump to 0.46_01 for testing

19 years ago- outputting a single space using the Freetype 1.x driver (type=>'tt')
Tony Cook [Fri, 30 Dec 2005 05:28:48 +0000 (05:28 +0000)]
- outputting a single space using the Freetype 1.x driver (type=>'tt')
  was producing a divide by zero error.

19 years ago- switched to subversion - changed $VERSION that was based on Revision
Tony Cook [Fri, 30 Dec 2005 05:26:41 +0000 (05:26 +0000)]
- switched to subversion - changed $VERSION that was based on Revision
  tag to be manually handled.

19 years ago- bump version to 0.46
Tony Cook [Mon, 19 Dec 2005 23:18:58 +0000 (23:18 +0000)]
- bump version to 0.46

19 years agothink about 0.47
Tony Cook [Mon, 19 Dec 2005 23:07:11 +0000 (23:07 +0000)]
think about 0.47

19 years ago- minor changes to Imager::Transformations
Tony Cook [Mon, 19 Dec 2005 23:06:52 +0000 (23:06 +0000)]
- minor changes to Imager::Transformations

19 years ago- change the use in t/t91.pod to require version 1.00 of Test::Pod
Tony Cook [Tue, 13 Dec 2005 22:43:02 +0000 (22:43 +0000)]
- change the use in t/t91.pod to require version 1.00 of Test::Pod

19 years ago0.45_02 commit
Tony Cook [Mon, 12 Dec 2005 03:17:54 +0000 (03:17 +0000)]
0.45_02 commit

19 years agomore incorrect test counts on missing libs
Tony Cook [Mon, 12 Dec 2005 02:58:00 +0000 (02:58 +0000)]
more incorrect test counts on missing libs

19 years ago- some test scripts weren't fixing @INC correctly
Tony Cook [Mon, 12 Dec 2005 02:53:59 +0000 (02:53 +0000)]
- some test scripts weren't fixing @INC correctly
- t/t101jpeg.t wasn't skipping enough when there was no jpeg support

19 years agocommit META.yml
Tony Cook [Mon, 12 Dec 2005 02:17:52 +0000 (02:17 +0000)]
commit META.yml

19 years ago0.45_01 bump
Tony Cook [Mon, 12 Dec 2005 02:04:42 +0000 (02:04 +0000)]
0.45_01 bump

19 years agominor documentation touchups
Tony Cook [Mon, 12 Dec 2005 02:03:17 +0000 (02:03 +0000)]
minor documentation touchups

19 years ago- decode the EXIF GPS IFD as well
Tony Cook [Mon, 12 Dec 2005 02:02:27 +0000 (02:02 +0000)]
- decode the EXIF GPS IFD as well

19 years agofix the bug number
Tony Cook [Thu, 8 Dec 2005 05:42:42 +0000 (05:42 +0000)]
fix the bug number

19 years ago- clean up Imager::Font documentation:
Tony Cook [Thu, 8 Dec 2005 05:42:14 +0000 (05:42 +0000)]
- clean up Imager::Font documentation:
   - string now documented in Imager::Draw
   - add parameter list documentation
- document the utf8 parameter for bounding_box(), has_chars()
  Resolves: http://rt.cpan.org/NoAuth/Bug.html?id=16094

19 years ago- the has_chars() method now checks the font objects utf8 flag as well
Tony Cook [Thu, 8 Dec 2005 05:27:57 +0000 (05:27 +0000)]
- the has_chars() method now checks the font objects utf8 flag as well
  as the utf8 parameter.

19 years agoskip some extra tests when freetype 1.x not available
Tony Cook [Thu, 8 Dec 2005 00:19:40 +0000 (00:19 +0000)]
skip some extra tests when freetype 1.x not available

19 years agofix stupid bug in align_string()
Tony Cook [Thu, 8 Dec 2005 00:09:54 +0000 (00:09 +0000)]
fix stupid bug in align_string()

19 years ago- read/write i_xres, i_yres, i_aspect only tage with JPEG files,
Tony Cook [Wed, 7 Dec 2005 13:06:21 +0000 (13:06 +0000)]
- read/write i_xres, i_yres, i_aspect only tage with JPEG files,
  and read/write jpeg_density_unit (+_name) tag
- save the jpeg_comment tag when writing

19 years ago- added experimental EXIF decoding when reading JPEG files.
Tony Cook [Wed, 7 Dec 2005 03:38:48 +0000 (03:38 +0000)]
- added experimental EXIF decoding when reading JPEG files.

19 years ago- added integer overflow checks to many memory allocation calls
Tony Cook [Mon, 5 Dec 2005 03:23:08 +0000 (03:23 +0000)]
- added integer overflow checks to many memory allocation calls

19 years ago- add smoke test for nearest_color filter
Tony Cook [Mon, 5 Dec 2005 03:17:50 +0000 (03:17 +0000)]
- add smoke test for nearest_color filter

19 years ago- expand Imager::Draw:
Tony Cook [Mon, 5 Dec 2005 02:21:31 +0000 (02:21 +0000)]
- expand Imager::Draw:
  - make all methods items
  - document parameters
  - more examples
  - add AUTHOR, REVISION.

19 years agoreport errors to right place when we can
Tony Cook [Mon, 5 Dec 2005 02:17:14 +0000 (02:17 +0000)]
report errors to right place when we can

19 years ago- linkify Imager.pm a bit more
Tony Cook [Mon, 5 Dec 2005 02:16:40 +0000 (02:16 +0000)]
- linkify Imager.pm a bit more

19 years ago- improved missing argument handling a little for the string() method
Tony Cook [Mon, 5 Dec 2005 02:15:47 +0000 (02:15 +0000)]
- improved missing argument handling a little for the string() method

19 years agofix some rt URLs
Tony Cook [Sun, 4 Dec 2005 23:37:34 +0000 (23:37 +0000)]
fix some rt URLs

19 years agoadd rt URL to a fixed bug
Tony Cook [Sun, 4 Dec 2005 22:50:39 +0000 (22:50 +0000)]
add rt URL to a fixed bug

19 years agoadd link to ico format
Tony Cook [Sat, 3 Dec 2005 13:13:14 +0000 (13:13 +0000)]
add link to ico format

19 years ago- added samples/align-string.pl
Tony Cook [Sat, 3 Dec 2005 13:12:47 +0000 (13:12 +0000)]
- added samples/align-string.pl

19 years ago- implemented valign=>'end' for Imager::Font->align
Tony Cook [Sat, 3 Dec 2005 01:30:09 +0000 (01:30 +0000)]
- implemented valign=>'end' for Imager::Font->align
- added $img->align_string() as a way to call Imager::Font->align

19 years agoremove unused code
Tony Cook [Tue, 29 Nov 2005 09:41:33 +0000 (09:41 +0000)]
remove unused code

19 years ago- the straight edges of filled arcs weren't being drawn correctly,
Tony Cook [Tue, 29 Nov 2005 09:27:16 +0000 (09:27 +0000)]
- the straight edges of filled arcs weren't being drawn correctly,
  causing minor artifacts at the inner and external corners

19 years ago- filled polygons using a complex fill with combine != 0 (none) didn't
Tony Cook [Tue, 29 Nov 2005 09:20:31 +0000 (09:20 +0000)]
- filled polygons using a complex fill with combine != 0 (none) didn't
  correctly handle polygons that crossed a given scanline more than once.

19 years ago- check the correct directory when adding the cygwin Win32 API include
Tony Cook [Tue, 29 Nov 2005 08:34:36 +0000 (08:34 +0000)]
- check the correct directory when adding the cygwin Win32 API include
  path (Makefile.PL).  This was a later response to #16094
  Resolves: http://rt.cpan.org/NoAuth/Bug.html?16094
- add --nolog command-line switch to Makefile.PL to disable logging

19 years ago- arc(..., fill=> ...) wasn't handling concave areas correctly
Tony Cook [Sun, 27 Nov 2005 12:24:43 +0000 (12:24 +0000)]
- arc(..., fill=> ...) wasn't handling concave areas correctly
- arc(..., color=>...) wasn't properly filling it's area

19 years ago- the order of the returned values for Imager::Font's align() method
Tony Cook [Sat, 26 Nov 2005 13:00:14 +0000 (13:00 +0000)]
- the order of the returned values for Imager::Font's align() method
  was incorrect.

19 years ago- arc(..., fill=> ...) wasn't handling concave areas correctly
Tony Cook [Sat, 26 Nov 2005 02:52:56 +0000 (02:52 +0000)]
- arc(..., fill=> ...) wasn't handling concave areas correctly
- arc(..., color=>...) wasn't properly filling it's area
- added experimental antialiased support to arc()

19 years ago- fixes to verbose mode in Makefile.PL, also added a -v switch so you
Tony Cook [Fri, 25 Nov 2005 00:04:29 +0000 (00:04 +0000)]
- fixes to verbose mode in Makefile.PL, also added a -v switch so you
  can enable it via the command-line
  Resolves: http://rt.cpan.org/NoAuth/Bug.html?id=16094

19 years agofix typo
Tony Cook [Wed, 16 Nov 2005 03:35:03 +0000 (03:35 +0000)]
fix typo

19 years ago- add samples/tk-photo.pl
Tony Cook [Mon, 14 Nov 2005 04:31:30 +0000 (04:31 +0000)]
- add samples/tk-photo.pl

19 years ago- expand Imager::ImageTypes:
Tony Cook [Mon, 14 Nov 2005 04:14:28 +0000 (04:14 +0000)]
- expand Imager::ImageTypes:
  - make all methods into =items
  - document parameters
  - more examples
  - add AUTHOR/REVISION/SEE ALSO

19 years ago- added t/t91pod.t
Tony Cook [Fri, 11 Nov 2005 12:29:10 +0000 (12:29 +0000)]
- added t/t91pod.t

19 years ago- converted t/t021sixteen.t to use Test::More
Tony Cook [Fri, 11 Nov 2005 12:08:10 +0000 (12:08 +0000)]
- converted t/t021sixteen.t to use Test::More
- 16-bit per sample images were ignoring the channel mask

19 years ago- setmask() now returns true on success and reports a missing mask
Tony Cook [Fri, 11 Nov 2005 11:04:23 +0000 (11:04 +0000)]
- setmask() now returns true on success and reports a missing mask
  parameter.
- double per sample images were ignoring the channel mask.

19 years ago- t1 library re-initialization modified to support T1Lib 5.1.0
Tony Cook [Sat, 5 Nov 2005 10:04:10 +0000 (10:04 +0000)]
- t1 library re-initialization modified to support T1Lib 5.1.0

19 years ago- converted t/t022double.t to use Test::More
Tony Cook [Tue, 1 Nov 2005 13:11:28 +0000 (13:11 +0000)]
- converted t/t022double.t to use Test::More

19 years ago- maxcolors now must be at least 1 when creating a paletted image.
Tony Cook [Mon, 31 Oct 2005 04:47:08 +0000 (04:47 +0000)]
- maxcolors now must be at least 1 when creating a paletted image.

19 years ago- INCOMPATIBLE CHANGE:
Tony Cook [Thu, 27 Oct 2005 04:51:38 +0000 (04:51 +0000)]
- INCOMPATIBLE CHANGE:
  reading a gif file will now read the first image from the file rather
  than the a consolidated image.  If you want the old behaviour supply
  C<< gif_consolidate=>1 >> to the read() method.  Older versions of
  Imager will accept this parameter and produce the same result.
- you can now supply a page parameter to read() to read a given page
  from a GIF file.
- reading a multi-image GIF was leaking memory (a line buffer per file)

19 years ago- added sampled/slant_text.pl, and notes on shearing/rotating text in
Tony Cook [Tue, 25 Oct 2005 07:14:07 +0000 (07:14 +0000)]
- added sampled/slant_text.pl, and notes on shearing/rotating text in
  Imager::Cookbook.

19 years ago- added samples/border.pl, and notes on adding a border in
Tony Cook [Sun, 23 Oct 2005 14:11:40 +0000 (14:11 +0000)]
- added samples/border.pl, and notes on adding a border in
  Imager::Cookbook.

19 years agomore to do
Tony Cook [Sun, 23 Oct 2005 14:10:54 +0000 (14:10 +0000)]
more to do

19 years agoadd page parameter to read() method when reading TIFF files
Tony Cook [Wed, 19 Oct 2005 03:50:59 +0000 (03:50 +0000)]
add page parameter to read() method when reading TIFF files

19 years ago- add samples/replace_color.pl
Tony Cook [Mon, 10 Oct 2005 02:36:00 +0000 (02:36 +0000)]
- add samples/replace_color.pl

19 years agopremature commit the last time
Tony Cook [Mon, 10 Oct 2005 02:03:17 +0000 (02:03 +0000)]
premature commit the last time

19 years ago- renamed lib/Imager/Cookbook.pm to lib/Imager/Cookbook.pod - CPANTS
Tony Cook [Mon, 10 Oct 2005 01:57:24 +0000 (01:57 +0000)]
- renamed lib/Imager/Cookbook.pm to lib/Imager/Cookbook.pod - CPANTS
  complains about it not having 'use strict;'

19 years agomore minor POD fixes
Tony Cook [Fri, 30 Sep 2005 07:10:25 +0000 (07:10 +0000)]
more minor POD fixes

19 years ago- Imager::Font->new() for the tt (Freetype 1.x) driver now correctly
Tony Cook [Fri, 30 Sep 2005 06:20:29 +0000 (06:20 +0000)]
- Imager::Font->new() for the tt (Freetype 1.x) driver now correctly
  handles errors from i_tt_new(), and passed error messages now
  generated by i_tt_new().

19 years agoadded a brief tutorial
Tony Cook [Thu, 29 Sep 2005 01:55:40 +0000 (01:55 +0000)]
added a brief tutorial

19 years ago- move include t1lib out of image.h to font.c, since nothing it
Tony Cook [Tue, 13 Sep 2005 10:07:54 +0000 (10:07 +0000)]
- move include t1lib out of image.h to font.c, since nothing it
  provides is needed elsewhere.
- minor POD fixes

19 years ago- limit limits.c to C89
Tony Cook [Thu, 8 Sep 2005 07:32:17 +0000 (07:32 +0000)]
- limit limits.c to C89
- the gif tests weren't skipping enough when there was no gif support

19 years ago- implement getscanline(), setscanline() and getsamples() methods.
Tony Cook [Thu, 8 Sep 2005 04:16:47 +0000 (04:16 +0000)]
- implement getscanline(), setscanline() and getsamples() methods.
  These are low level methods for fast access to image data, based on
  existing C functions that Imager uses internally.

19 years ago- new example for convert() method based on Leolo's query
Tony Cook [Fri, 26 Aug 2005 05:04:37 +0000 (05:04 +0000)]
- new example for convert() method based on Leolo's query

19 years ago- implement/test/document set_file_limits()/get_file_limits() methods,
Tony Cook [Fri, 26 Aug 2005 04:39:06 +0000 (04:39 +0000)]
- implement/test/document set_file_limits()/get_file_limits() methods,
  which allow limits on the size of image files read.

19 years ago- convert t/t107bmp.t to Test::More
Tony Cook [Wed, 24 Aug 2005 01:10:49 +0000 (01:10 +0000)]
- convert t/t107bmp.t to Test::More
- convert t/t108tga.t to Test::More
- error messages generated reading JPEG or PNG images are now
  available via errstr()
- implement/test/document set_file_limits()/get_file_limits() methods,
  which allow limits on the size of image files read.

19 years ago- convert t/t104ppm.t to Test::More
Tony Cook [Thu, 18 Aug 2005 02:06:44 +0000 (02:06 +0000)]
- convert t/t104ppm.t to Test::More

19 years ago- added VERSION numbers to most .pms
Tony Cook [Mon, 8 Aug 2005 04:18:45 +0000 (04:18 +0000)]
- added VERSION numbers to most .pms

19 years ago- prevent warnings when looking up a GIMP color with no palette
Tony Cook [Sun, 7 Aug 2005 10:48:29 +0000 (10:48 +0000)]
- prevent warnings when looking up a GIMP color with no palette
  parameter and $ENV{HOME} not set.

19 years ago- convert t/t15color.t to Test::More
Tony Cook [Thu, 4 Aug 2005 14:40:37 +0000 (14:40 +0000)]
- convert t/t15color.t to Test::More

19 years agomore to do
Tony Cook [Thu, 4 Aug 2005 06:31:50 +0000 (06:31 +0000)]
more to do

19 years ago- remove old #if 0 code from Imager.xs
Tony Cook [Thu, 4 Aug 2005 06:24:57 +0000 (06:24 +0000)]
- remove old #if 0 code from Imager.xs

19 years ago- loading filter DLLs/DSOs had an off-by-one error allocating a buffer
Tony Cook [Thu, 4 Aug 2005 06:24:03 +0000 (06:24 +0000)]
- loading filter DLLs/DSOs had an off-by-one error allocating a buffer
  for the filename of the library (does anyone use this functionality?)

19 years ago- added tiff_bitspersample and tiff_photometric tags to tiff images
Tony Cook [Wed, 3 Aug 2005 06:34:18 +0000 (06:34 +0000)]
- added tiff_bitspersample and tiff_photometric tags to tiff images
  when read

19 years agomore stuff to do
Tony Cook [Wed, 3 Aug 2005 04:34:36 +0000 (04:34 +0000)]
more stuff to do

19 years agoput off antialiasing work
Tony Cook [Tue, 28 Jun 2005 14:13:10 +0000 (14:13 +0000)]
put off antialiasing work

19 years agore-arrange for priority
Tony Cook [Sat, 25 Jun 2005 03:47:27 +0000 (03:47 +0000)]
re-arrange for priority