Tony Cook [Mon, 22 May 2006 03:23:11 +0000 (03:23 +0000)]
added "kwalitee" test script:
- currently tests all pl/pm/PL files have use strict
- added use strict to all pl/pm/PL files with code in them
Tony Cook [Mon, 22 May 2006 03:18:27 +0000 (03:18 +0000)]
i_test_format_probe:
- added Utah RLE,
- separated ICO and CUR file formats,
- fix duplicate PCX entry
Tony Cook [Sat, 29 Apr 2006 14:53:11 +0000 (14:53 +0000)]
minor updates, make it clear in the title this documents the C level.
tags is now used.
there's been a double image type for a while now.
Tony Cook [Sat, 29 Apr 2006 14:44:27 +0000 (14:44 +0000)]
changed the title to better reflect what it documents - model, not
internals.
Split out the initial paragraphs into more concise statements.
Tony Cook [Wed, 19 Apr 2006 12:19:56 +0000 (12:19 +0000)]
- Calling setpixel() with color set to [ 0, 0, 0 ] would crash with
Can't locate object method "new" via package "Imager::Color::Float" ...
- having the color parameter code create floating point colors could
cause other problems too, since most of the underlying functions can't
handle them, so removed the attempt to create float colors.
Fixes #18561
Tony Cook [Wed, 19 Apr 2006 04:05:45 +0000 (04:05 +0000)]
Specifying the bottom edge of the source image to paste was broken in
a couple of different ways.
Fixes #18712
Tony Cook [Mon, 3 Apr 2006 23:53:26 +0000 (23:53 +0000)]
add AUTHOR, SEE ALSO, REVISION sections
Tony Cook [Sun, 2 Apr 2006 06:57:56 +0000 (06:57 +0000)]
fix range checking on IFD entry data types. This could cause various
crashes.
Fixes #18496
Tony Cook [Thu, 30 Mar 2006 07:14:17 +0000 (07:14 +0000)]
backport fix for RT issue 18397
Tony Cook [Thu, 30 Mar 2006 04:41:41 +0000 (04:41 +0000)]
add format probes for SGI RGB, ILBM, XPM, PCX, FITS, Photoshop, EPS
if you have an entry for some other format you want to implement let
me know.
Tony Cook [Fri, 24 Mar 2006 09:49:57 +0000 (09:49 +0000)]
- implement reading MS Windows icon files
- add t/Pod/Coverage/Imager.pm to MANIFEST
- skip some more trash in MANIFEST.SKIP
Tony Cook [Fri, 24 Mar 2006 04:26:24 +0000 (04:26 +0000)]
make the targa probe even stricter
Tony Cook [Thu, 23 Mar 2006 14:09:57 +0000 (14:09 +0000)]
- added support for registering file readers
- if you supply and unknown type value (or Imager probes and finds
one) then Imager will attempt to load "Imager::File::\Utypecode" (this
can register a file reader.)
- note: these changes may mean slightly different errors if you call
read_multi() with no file or type parameters, since read_multi() now
attempts to do the same file format probe that read() does.
Tony Cook [Thu, 23 Mar 2006 13:41:56 +0000 (13:41 +0000)]
- i_test_format_probe() now attempts to detect MS Windows Icon/cursor files
- made the TGA probe a bit more specific since it was giving false
positives on icon files.
Tony Cook [Wed, 22 Mar 2006 01:01:15 +0000 (01:01 +0000)]
More iolayers work:
- rename the callback types
- move types and the call macros into iolayer.t
- move typedef for Imager__IO to imperl.h
so now io glue objects can be used from XS/Inline
Tony Cook [Thu, 16 Mar 2006 05:41:10 +0000 (05:41 +0000)]
more iolayer goodness:
- make write/read/seek/close on an IO object visible as methods from perl
- allow SEEK_CUR on bufchains
Tony Cook [Wed, 15 Mar 2006 12:49:49 +0000 (12:49 +0000)]
io_glue_destroy() now uses an extra callback to handle type specific
destruction, instead of switching on "class"
Tony Cook [Wed, 15 Mar 2006 12:08:47 +0000 (12:08 +0000)]
iolayer modifications:
- move private types and functions into iolayers.c
- make each layer "new" function do the initialization that
io_commit_types() was doing.
Tony Cook [Wed, 15 Mar 2006 11:32:59 +0000 (11:32 +0000)]
fixed incorrect filename for t/t93podcover.t in MANIFEST
Tony Cook [Tue, 14 Mar 2006 00:50:09 +0000 (00:50 +0000)]
remove the reference to IRC from SUPPORT, I'm not paying enough
attention there for it to be useful. Yes, there is a channel, but the
mailing list/perlmonks/direct email/cpanratings are more likely to get
you some help.
Tony Cook [Mon, 13 Mar 2006 02:46:48 +0000 (02:46 +0000)]
prevent the parseiptc method from warning when there's no IPTC data to
process
Tony Cook [Mon, 13 Mar 2006 01:58:44 +0000 (01:58 +0000)]
POD coverage tests, as a TODO for now
Tony Cook [Sat, 11 Mar 2006 13:16:47 +0000 (13:16 +0000)]
rename some private functions to private names
Tony Cook [Thu, 9 Mar 2006 00:56:19 +0000 (00:56 +0000)]
malloc_state() no longer writes to stdout when Imager is built without
memory debugging
Tony Cook [Wed, 8 Mar 2006 12:11:41 +0000 (12:11 +0000)]
initial targets for 0.50
Tony Cook [Wed, 8 Mar 2006 11:56:41 +0000 (11:56 +0000)]
Skip Inline tests when we're in a directory containing spaces in the
path, since Inline itself errors out when used in such a directory.
See #4150.
Fixes: 18049.
Tony Cook [Tue, 7 Mar 2006 12:06:50 +0000 (12:06 +0000)]
removed unreachable code (mymalloc() succeeds or exit()s)
Tony Cook [Tue, 7 Mar 2006 12:01:38 +0000 (12:01 +0000)]
Actually get the changes in the right order.
Tony Cook [Tue, 7 Mar 2006 11:54:01 +0000 (11:54 +0000)]
New changes will be listed most recent first, and is generated from
svn log.
Changes for older revisions of Imager can be found in Changes.old.
Tony Cook [Tue, 7 Mar 2006 00:50:39 +0000 (00:50 +0000)]
- bump to 0.49
Tony Cook [Tue, 7 Mar 2006 00:25:10 +0000 (00:25 +0000)]
- some error paths when reading GIF images weren't closing the GIF
read object. (detected by valgrind)
Tony Cook [Mon, 6 Mar 2006 00:48:03 +0000 (00:48 +0000)]
- writing to a PNG file was leaking one memory block
(detected by valgrind)
Tony Cook [Sun, 5 Mar 2006 23:37:36 +0000 (23:37 +0000)]
- i_gsampf() (used to implement getsamples() for floating point samples)
was leaking memory. (detected by valgrind)
Tony Cook [Sun, 5 Mar 2006 23:10:00 +0000 (23:10 +0000)]
- free the TIFF object correctly when reading a TIFF image and the
page number is out of range.
Tony Cook [Sun, 5 Mar 2006 13:54:59 +0000 (13:54 +0000)]
- some jpeg.c logging calls didn't include parameters enough to match
the supplied format string.
- in some cases memory wasn't being freed during error handling when
reading jpeg images
Tony Cook [Sun, 5 Mar 2006 13:10:59 +0000 (13:10 +0000)]
get the regexp right this time
Tony Cook [Sun, 5 Mar 2006 12:59:01 +0000 (12:59 +0000)]
- tifflib 3.8.0 with MDI (Microsoft(tm) TIFF) support produces a
different error when it reads a file with a bad magic number.
Update the test to handle the possible messages.
Tony Cook [Sun, 5 Mar 2006 08:36:09 +0000 (08:36 +0000)]
- handle short EXIF user_comment fields correctly, previously Imager
would read (and potentially) write beyond the end of an allocated block,
or through a NULL pointer if the EXIF user_comment field was less
than 8 bytes long.
https://rt.cpan.org/Ticket/Display.html?id=17981
Tony Cook [Fri, 3 Mar 2006 04:37:40 +0000 (04:37 +0000)]
- bump to 0.48
Tony Cook [Wed, 1 Mar 2006 02:15:22 +0000 (02:15 +0000)]
- removed unused hashinfo() function from Imager.xs
- added =items for various methods, so Pod::Coverage will pick them up
(Pod::Coverage tests to be added in 0.49)
Tony Cook [Tue, 21 Feb 2006 04:59:41 +0000 (04:59 +0000)]
bump to 0.47_01
Tony Cook [Tue, 21 Feb 2006 04:54:43 +0000 (04:54 +0000)]
- fix/simplify META.yml generation - we now generate META.yml at
Makefile.PL time, since trying to work with EU::MM to generate a
custom META.yml was a waste.
Tony Cook [Tue, 21 Feb 2006 00:57:24 +0000 (00:57 +0000)]
- added version/level to the API function table structure
Tony Cook [Fri, 17 Feb 2006 13:13:55 +0000 (13:13 +0000)]
prevent duplicate probe messages for freetype 1.x probing
Tony Cook [Fri, 17 Feb 2006 12:59:34 +0000 (12:59 +0000)]
put the prototypes line in the right place
Tony Cook [Fri, 17 Feb 2006 12:58:32 +0000 (12:58 +0000)]
add PROTOTYPES lines to XS that were missing them
Tony Cook [Fri, 17 Feb 2006 12:39:15 +0000 (12:39 +0000)]
- make win32.c const happy
- make raw.c C89 compliant
Tony Cook [Fri, 17 Feb 2006 12:38:13 +0000 (12:38 +0000)]
- make win32.c const happy
- make raw.c C89 compliant
Tony Cook [Fri, 17 Feb 2006 12:03:48 +0000 (12:03 +0000)]
oops
Tony Cook [Fri, 17 Feb 2006 12:01:20 +0000 (12:01 +0000)]
- more memory allocation integer overflow auditing
- IM_DEBUG_MALLOC wasn't interacting well with the API
Tony Cook [Fri, 17 Feb 2006 08:31:28 +0000 (08:31 +0000)]
- eliminate sign warning from image.c
- make TIFF detection stricter
Tony Cook [Fri, 17 Feb 2006 08:12:28 +0000 (08:12 +0000)]
point dyn loader users at external filters docs
Tony Cook [Fri, 17 Feb 2006 06:48:17 +0000 (06:48 +0000)]
- expand Imager::Transformations:
- document parameters more explicitly
- document return values
- add examples
- add AUTHOR, SEE ALSO, REVISION
Tony Cook [Thu, 16 Feb 2006 06:41:41 +0000 (06:41 +0000)]
- minor clean up of rubthrough() method
- error handling tests for rubthrough()
Tony Cook [Mon, 13 Feb 2006 08:04:18 +0000 (08:04 +0000)]
- convert t/t69rubthru.t to Test::More
Tony Cook [Sat, 11 Feb 2006 12:57:12 +0000 (12:57 +0000)]
- rotate()s back parameter now accepts color names like other methods
Tony Cook [Fri, 10 Feb 2006 08:20:26 +0000 (08:20 +0000)]
- add tests for scaleX()/scaleY()
- expand documentation of scaleX()/scaleY()
Tony Cook [Thu, 9 Feb 2006 23:45:56 +0000 (23:45 +0000)]
- check $Config{ldflags} and $Config{ccflags} for places to search for
headers and libraries. This deals with the way the fink build of perl
puts -L/sw/lib in ldflags rather than using loclibpth
- eliminate some of the duplication of -I and -L options in LIBS and INC
- Makefile.PL now uses strict.
- the search for freetype1.x headers is now smarter
Tony Cook [Sun, 5 Feb 2006 14:25:45 +0000 (14:25 +0000)]
- sick of $opts{scalefactor} in scale(), give it a scalar to call it's
own.
Tony Cook [Sun, 5 Feb 2006 14:07:23 +0000 (14:07 +0000)]
- scale() can now expect an Image::Math::Constrain object as a scaling
constraint via the constrain parameter.
- added tests for the various ways we can specify scaling size
- documented scale()'s scalefactor parameter
Tony Cook [Sun, 5 Feb 2006 13:15:20 +0000 (13:15 +0000)]
- smarter warning removal
- handle effects of byte ordering when testing tiff error messages
Tony Cook [Sun, 5 Feb 2006 13:04:49 +0000 (13:04 +0000)]
- make scale() fail if an invalid type is supplied (previously
documented as undefined behaviour)
- add error handling tests for scale()
Tony Cook [Sun, 5 Feb 2006 11:49:44 +0000 (11:49 +0000)]
more todo
Tony Cook [Tue, 31 Jan 2006 00:21:35 +0000 (00:21 +0000)]
- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
since T.4 normally works that way, and MINISBLACK confuses some readers.
Tony Cook [Tue, 31 Jan 2006 00:06:47 +0000 (00:06 +0000)]
- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
since T.4 normally works that way, and MINISBLACK confuses some readers.
Tony Cook [Mon, 30 Jan 2006 23:37:31 +0000 (23:37 +0000)]
- update README to match unbuggy giflib
- document index parameter of Imager::Font->new()
Tony Cook [Mon, 30 Jan 2006 04:18:02 +0000 (04:18 +0000)]
- eliminate many -Wall warnings
Tony Cook [Mon, 30 Jan 2006 03:57:12 +0000 (03:57 +0000)]
minor POD fix in Imager::Color::Table
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
Tony Cook [Fri, 27 Jan 2006 03:09:59 +0000 (03:09 +0000)]
- handle the possibility of strerror() returning NULL.
Tony Cook [Tue, 24 Jan 2006 13:35:04 +0000 (13:35 +0000)]
- convert t/t07iolayer.t to Test::More
Tony Cook [Mon, 23 Jan 2006 04:23:17 +0000 (04:23 +0000)]
- make skip when Inline::C not available less verbose
Tony Cook [Sat, 21 Jan 2006 03:50:00 +0000 (03:50 +0000)]
- added typemap type names to types in Imager::API.
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
Tony Cook [Wed, 18 Jan 2006 12:40:42 +0000 (12:40 +0000)]
- convert t/t103raw.t to Test::More
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.
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.
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.
Tony Cook [Fri, 13 Jan 2006 04:38:57 +0000 (04:38 +0000)]
- minor changes for older perl/ExtUtils::MM
Tony Cook [Thu, 12 Jan 2006 01:29:26 +0000 (01:29 +0000)]
- convert dynfilt/flines.c to Imager::Filter::Flines
Tony Cook [Wed, 11 Jan 2006 08:24:42 +0000 (08:24 +0000)]
- document Imager::Filter::Mandelbrot
Tony Cook [Wed, 11 Jan 2006 04:46:01 +0000 (04:46 +0000)]
- constify the Imager API
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
Tony Cook [Tue, 10 Jan 2006 03:26:55 +0000 (03:26 +0000)]
make more C89 compliant
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
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
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
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
Tony Cook [Fri, 30 Dec 2005 05:58:06 +0000 (05:58 +0000)]
- bump to 0.47
Tony Cook [Fri, 30 Dec 2005 05:31:19 +0000 (05:31 +0000)]
- bump to 0.46_01 for testing
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.
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.
Tony Cook [Mon, 19 Dec 2005 23:18:58 +0000 (23:18 +0000)]
- bump version to 0.46
Tony Cook [Mon, 19 Dec 2005 23:07:11 +0000 (23:07 +0000)]
think about 0.47
Tony Cook [Mon, 19 Dec 2005 23:06:52 +0000 (23:06 +0000)]
- minor changes to Imager::Transformations
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
Tony Cook [Mon, 12 Dec 2005 03:17:54 +0000 (03:17 +0000)]
0.45_02 commit
Tony Cook [Mon, 12 Dec 2005 02:58:00 +0000 (02:58 +0000)]
more incorrect test counts on missing libs
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
Tony Cook [Mon, 12 Dec 2005 02:17:52 +0000 (02:17 +0000)]
commit META.yml