]> git.imager.perl.org - imager.git/log
imager.git
23 years agoAdded Destroy method for Imager::Font::TT and moved to that package name
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 11:35:04 +0000 (11:35 +0000)]
Added Destroy method for Imager::Font::TT and moved to that package name
the tt handles.  Other miscelleanious memory leaks sealed.

23 years agofix errors and some warnings on Win32
Tony Cook [Thu, 1 Nov 2001 10:25:49 +0000 (10:25 +0000)]
fix errors and some warnings on Win32

23 years agomissing binmode
Tony Cook [Thu, 1 Nov 2001 10:05:51 +0000 (10:05 +0000)]
missing binmode

23 years agoFixed most outstanding memory leaks that are revealed in the test cases.
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 05:36:14 +0000 (05:36 +0000)]
Fixed most outstanding memory leaks that are revealed in the test cases.
gif.c, bmp.c, font.c and tga.c still need to be checked.

23 years agoAdded an Imager::log_entry() function and some extra logging
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 22:26:15 +0000 (22:26 +0000)]
Added an Imager::log_entry() function and some extra logging
to some files.  Fixed a realloc -> myrealloc in tags.c

23 years agoRemoved empty default case, causes problems on sun/hpux cc.
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:48:44 +0000 (18:48 +0000)]
Removed empty default case, causes problems on sun/hpux cc.

23 years agoChanges entries and iolayer test added to manifest.
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:33:36 +0000 (18:33 +0000)]
Changes entries and iolayer test added to manifest.

23 years agochanged malloc to mymalloc in error.c and Added reading from scalars for all
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:12:54 +0000 (18:12 +0000)]
changed malloc to mymalloc in error.c and Added reading from scalars for all
formats that support iolayer.

23 years agoAdded io_buffer for reading from scalars. Also added test cases. Added
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 17:48:46 +0000 (17:48 +0000)]
Added io_buffer for reading from scalars.  Also added test cases.  Added
a myfree() call in XS code for gsamp.  Switched tags code to use mymalloc/free
which found a bufferover run in some gif tag code (test fails).  Fixed some
mymalloc/free bugs in bmp.c and tga.c.

23 years agoIncreased buffersize for iolayer buffer chains.
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 09:58:08 +0000 (09:58 +0000)]
Increased buffersize for iolayer buffer chains.

23 years agoMinor improvement on include paths for freetype2.
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 09:41:08 +0000 (09:41 +0000)]
Minor improvement on include paths for freetype2.

23 years agoFixed an endianness bug in tiff reading and switched the inclusion order for
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 08:32:11 +0000 (08:32 +0000)]
Fixed an endianness bug in tiff reading and switched the inclusion order for
freetype2 so that it is searched before /usr/local/include

23 years agoprevent warnings/errors under 5.004_04
Tony Cook [Tue, 30 Oct 2001 01:19:54 +0000 (01:19 +0000)]
prevent warnings/errors under 5.004_04

23 years agoRemoved unused variable, commented out unused function.
Arnar Mar Hrafnkelsson [Mon, 29 Oct 2001 10:11:55 +0000 (10:11 +0000)]
Removed unused variable, commented out unused function.

23 years agoFixed some mlog() messages using uninitialized variables.
Arnar Mar Hrafnkelsson [Mon, 29 Oct 2001 09:59:48 +0000 (09:59 +0000)]
Fixed some mlog() messages using uninitialized variables.

23 years agoAdded .exp files for exporting symbols for plugins on AIX, plugins now work
Arnar Mar Hrafnkelsson [Sun, 28 Oct 2001 22:30:15 +0000 (22:30 +0000)]
Added .exp files for exporting symbols for plugins on AIX, plugins now work
with no tweaking on AIX.  Also bumped the version number to 0.39pre2.

23 years agoFixed i_transform2() so malloc(0) doesn't happen. Also corrected pod errors and
Arnar Mar Hrafnkelsson [Sun, 28 Oct 2001 21:11:40 +0000 (21:11 +0000)]
Fixed i_transform2() so malloc(0) doesn't happen.  Also corrected pod errors and
added author sections to all .c files.

23 years agoadded some more POD
Tony Cook [Sun, 28 Oct 2001 07:10:01 +0000 (07:10 +0000)]
added some more POD

23 years agoadded some docs, need to add more
Tony Cook [Sun, 28 Oct 2001 06:49:22 +0000 (06:49 +0000)]
added some docs, need to add more

23 years agoThis test was logging to the wrong logfile.
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 20:28:08 +0000 (20:28 +0000)]
This test was logging to the wrong logfile.

23 years agoonly STRLEN types can be the second parameter of SvPV
Tony Cook [Sat, 27 Oct 2001 09:35:19 +0000 (09:35 +0000)]
only STRLEN types can be the second parameter of SvPV

23 years agoUpdated TODO
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 09:12:24 +0000 (09:12 +0000)]
Updated TODO

23 years agoAdded casts for pointer assignments in pnm.c. Removed old stale code from
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 09:02:46 +0000 (09:02 +0000)]
Added casts for pointer assignments in pnm.c.  Removed old stale code from
png.c

23 years agocheck the ft2 library too
Tony Cook [Sat, 27 Oct 2001 08:31:50 +0000 (08:31 +0000)]
check the ft2 library too

23 years agoAdded static to all internal functions for image.c and palimg.c
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 08:21:08 +0000 (08:21 +0000)]
Added static to all internal functions for image.c and palimg.c

23 years agoFixed warnings for ~0 for unsigned int variables. Also a fix for a bug
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 07:33:57 +0000 (07:33 +0000)]
Fixed warnings for ~0 for unsigned int variables.  Also a fix for a bug
in the tga code which shows on big endian machines.

23 years agofix some range checking for the fountain fill segment type
Tony Cook [Sat, 27 Oct 2001 07:30:10 +0000 (07:30 +0000)]
fix some range checking for the fountain fill segment type

23 years agomake it possible to run automated tests by adding the IM_SUPPRESS_PROMPTS
Tony Cook [Fri, 26 Oct 2001 12:33:05 +0000 (12:33 +0000)]
make it possible to run automated tests by adding the IM_SUPPRESS_PROMPTS
environment variable

23 years agoUpdated README with 2001 copyright and email address to bug us with.
Arnar Mar Hrafnkelsson [Fri, 26 Oct 2001 01:49:53 +0000 (01:49 +0000)]
Updated README with 2001 copyright and email address to bug us with.

23 years agooops, Imager/Font/Win32.pm missing from manifest
Tony Cook [Wed, 24 Oct 2001 10:38:01 +0000 (10:38 +0000)]
oops, Imager/Font/Win32.pm missing from manifest

23 years agotests missing from MANIFEST
Tony Cook [Wed, 24 Oct 2001 10:21:04 +0000 (10:21 +0000)]
tests missing from MANIFEST

23 years agobetter error checking of automatic fill conversions
Tony Cook [Wed, 24 Oct 2001 10:09:38 +0000 (10:09 +0000)]
better error checking of automatic fill conversions

23 years agoRemoved C++ comments that SunSPro and HPUX cc were not liking. Also removed
Arnar Mar Hrafnkelsson [Wed, 24 Oct 2001 10:00:39 +0000 (10:00 +0000)]
Removed C++ comments that SunSPro and HPUX cc were not liking.  Also removed
empty default cases with no break statement from switch statements.

23 years agoChanges file updated.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 23:12:31 +0000 (23:12 +0000)]
Changes file updated.

23 years agoFixes to the scale function so that edges are handled by extending the edges
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 23:09:27 +0000 (23:09 +0000)]
Fixes to the scale function so that edges are handled by extending the edges
of the image with the value at the endpoint.  This avoids ringing near edges
for some images.

23 years agoClosed memory leaks when an error occurs during load of targa images. Fixed
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 18:49:00 +0000 (18:49 +0000)]
Closed memory leaks when an error occurs during load of targa images.  Fixed
scaling bug which only occured for some scaling ratios.

23 years agoCounter correction.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 08:10:06 +0000 (08:10 +0000)]
Counter correction.

23 years agoAdding test for targa images.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 08:04:53 +0000 (08:04 +0000)]
Adding test for targa images.

23 years agoCompleted the calling interface from perl to c for targa images.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 06:43:49 +0000 (06:43 +0000)]
Completed the calling interface from perl to c for targa images.

23 years agoCleaned up io.h, io.c which had functions not used any more, removed unused
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 02:04:59 +0000 (02:04 +0000)]
Cleaned up io.h, io.c which had functions not used any more, removed unused
and dated code from pnm.c.  Moved functions specific to raw images to raw.c
from io.c

23 years agotga.c should now support reading/writing all variants of targa files. XS needs
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 15:12:34 +0000 (15:12 +0000)]
tga.c should now support reading/writing all variants of targa files.  XS needs
updating for writing targa files.  Also fixed a misplaced parenthesis in malloc
debug code.

23 years agoCode to free up resources for Imager::IO objects.
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 11:35:57 +0000 (11:35 +0000)]
Code to free up resources for Imager::IO objects.

23 years agoVarious Changes to the memory accounting code, myrealloc() added.
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 00:22:38 +0000 (00:22 +0000)]
Various Changes to the memory accounting code, myrealloc() added.

23 years agoadded POD to trans2.c
Tony Cook [Sun, 21 Oct 2001 12:20:25 +0000 (12:20 +0000)]
added POD to trans2.c
added i_error handling to transform2
clean up the perl side of transform2
tests for same

23 years agoAdded support for writing paletted targa images.
Arnar Mar Hrafnkelsson [Thu, 18 Oct 2001 03:04:25 +0000 (03:04 +0000)]
Added support for writing paletted targa images.

23 years agoPreliminary support for writing targa files. Compression not working yet.
Arnar Mar Hrafnkelsson [Wed, 17 Oct 2001 21:03:43 +0000 (21:03 +0000)]
Preliminary support for writing targa files.  Compression not working yet.

23 years agominor documentation clarification
Tony Cook [Wed, 17 Oct 2001 13:08:03 +0000 (13:08 +0000)]
minor documentation clarification

23 years agoinitial cut
Tony Cook [Thu, 11 Oct 2001 14:11:53 +0000 (14:11 +0000)]
initial cut

23 years agosome fixes to double/sample image support
Tony Cook [Thu, 11 Oct 2001 09:52:16 +0000 (09:52 +0000)]
some fixes to double/sample image support
make $img->bits return "double" for double/sample images

23 years agotest for dropping of % sign
Tony Cook [Wed, 10 Oct 2001 23:36:03 +0000 (23:36 +0000)]
test for dropping of % sign

23 years agobeen fixed
Tony Cook [Sun, 7 Oct 2001 23:44:34 +0000 (23:44 +0000)]
been fixed

23 years agooops
Tony Cook [Sun, 7 Oct 2001 23:23:04 +0000 (23:23 +0000)]
oops

23 years agoadded double/sample image support
Tony Cook [Sun, 7 Oct 2001 22:46:49 +0000 (22:46 +0000)]
added double/sample image support

23 years agoUpdated Changes file for recent diffs
Arnar Mar Hrafnkelsson [Sun, 7 Oct 2001 16:25:22 +0000 (16:25 +0000)]
Updated Changes file for recent diffs

23 years agoRewrote most of tga.c so that It now should be able to read all variants of
Arnar Mar Hrafnkelsson [Sun, 7 Oct 2001 16:22:20 +0000 (16:22 +0000)]
Rewrote most of tga.c so that It now should be able to read all variants of
tga.c except types 32 and 33.

23 years agostop ft1.x support dropping descenders
Tony Cook [Fri, 5 Oct 2001 13:49:21 +0000 (13:49 +0000)]
stop ft1.x support dropping descenders

23 years agoyep, we need these
Tony Cook [Sun, 30 Sep 2001 11:56:51 +0000 (11:56 +0000)]
yep, we need these

23 years agoFixes some warnings about unused variables and missing prototypes.
Arnar Mar Hrafnkelsson [Sun, 30 Sep 2001 09:35:12 +0000 (09:35 +0000)]
Fixes some warnings about unused variables and missing prototypes.

23 years agoAdded i_bumpmap_complex and corresponding filterentry and documentation.
Arnar Mar Hrafnkelsson [Sun, 30 Sep 2001 03:56:01 +0000 (03:56 +0000)]
Added i_bumpmap_complex and corresponding filterentry and documentation.

23 years agooops, forgot to return a value
Tony Cook [Tue, 25 Sep 2001 08:38:43 +0000 (08:38 +0000)]
oops, forgot to return a value

23 years agosupposedly FT2 supports all of these
Tony Cook [Sun, 23 Sep 2001 12:44:01 +0000 (12:44 +0000)]
supposedly FT2 supports all of these

23 years agoclamp i_conv() at both ends
Tony Cook [Wed, 19 Sep 2001 12:27:16 +0000 (12:27 +0000)]
clamp i_conv() at both ends

23 years agoclamp low end too
Tony Cook [Wed, 19 Sep 2001 12:17:27 +0000 (12:17 +0000)]
clamp low end too

23 years agoimplement unsharp mask
Tony Cook [Wed, 19 Sep 2001 10:59:41 +0000 (10:59 +0000)]
implement unsharp mask

23 years agoimage based fills
Tony Cook [Wed, 19 Sep 2001 02:15:08 +0000 (02:15 +0000)]
image based fills

23 years agohave ->arc() call i_circle_aa when drawing a solid aa complete circle
Tony Cook [Tue, 18 Sep 2001 11:22:09 +0000 (11:22 +0000)]
have ->arc() call i_circle_aa when drawing a solid aa complete circle

23 years agoan idea
Tony Cook [Tue, 18 Sep 2001 10:35:38 +0000 (10:35 +0000)]
an idea

23 years agoprevent const char * to char * conversion warning
Tony Cook [Tue, 18 Sep 2001 05:29:05 +0000 (05:29 +0000)]
prevent const char * to char * conversion warning

23 years agowriting a paletted image as GIF should be a bit more efficient
Tony Cook [Tue, 18 Sep 2001 04:42:54 +0000 (04:42 +0000)]
writing a paletted image as GIF should be a bit more efficient

23 years agoAdds reading of non colour mapped targa images.
Arnar Mar Hrafnkelsson [Sun, 16 Sep 2001 21:16:14 +0000 (21:16 +0000)]
Adds reading of non colour mapped targa images.

23 years agoAdds reading capabilities for certain variants of targa, writer code has not been
Arnar Mar Hrafnkelsson [Sun, 16 Sep 2001 09:01:54 +0000 (09:01 +0000)]
Adds reading capabilities for certain variants of targa, writer code has not been
done yet.

23 years agomake write errors for jpegs cause errors at the top level
Tony Cook [Sat, 15 Sep 2001 04:14:14 +0000 (04:14 +0000)]
make write errors for jpegs cause errors at the top level

23 years agofixed the font problems
Tony Cook [Fri, 14 Sep 2001 11:03:02 +0000 (11:03 +0000)]
fixed the font problems

23 years agofixed cut off of left of first character if it went to left of CP
Tony Cook [Fri, 14 Sep 2001 10:51:56 +0000 (10:51 +0000)]
fixed cut off of left of first character if it went to left of CP
fixed artifacts when characters overlap
for freetype1 driver

23 years agomake it a bit more portable - old pnmscale complains
Tony Cook [Thu, 13 Sep 2001 11:06:48 +0000 (11:06 +0000)]
make it a bit more portable - old pnmscale complains

23 years agosimple benchmark for scaling
Tony Cook [Thu, 13 Sep 2001 10:53:57 +0000 (10:53 +0000)]
simple benchmark for scaling

23 years agothis is asked about occasionally
Tony Cook [Tue, 11 Sep 2001 12:25:59 +0000 (12:25 +0000)]
this is asked about occasionally

23 years agoforgot to add change note for this
Tony Cook [Tue, 11 Sep 2001 02:05:24 +0000 (02:05 +0000)]
forgot to add change note for this

23 years agogenerates a page that demonstrates various combining modes
Tony Cook [Mon, 10 Sep 2001 12:28:44 +0000 (12:28 +0000)]
generates a page that demonstrates various combining modes

23 years agobetter error handling
Tony Cook [Mon, 10 Sep 2001 10:50:24 +0000 (10:50 +0000)]
better error handling
handle combining modes for non-transparent colors

23 years agomaybe I'll learn to type one day
Tony Cook [Mon, 10 Sep 2001 07:29:54 +0000 (07:29 +0000)]
maybe I'll learn to type one day

23 years agosee how this goes - updated the test result after getting the same on 3 environments
Tony Cook [Mon, 10 Sep 2001 07:27:46 +0000 (07:27 +0000)]
see how this goes - updated the test result after getting the same on 3 environments

23 years agomis-handling for hues
Tony Cook [Mon, 10 Sep 2001 07:25:01 +0000 (07:25 +0000)]
mis-handling for hues

23 years agoshould use binmode
Tony Cook [Mon, 10 Sep 2001 07:11:15 +0000 (07:11 +0000)]
should use binmode

23 years agodidn't handle wiol versions of writeppm
Tony Cook [Mon, 10 Sep 2001 06:48:32 +0000 (06:48 +0000)]
didn't handle wiol versions of writeppm

23 years agoboth done
Tony Cook [Sun, 9 Sep 2001 15:00:44 +0000 (15:00 +0000)]
both done

23 years agominor error handling in bmp.c
Tony Cook [Sun, 9 Sep 2001 14:48:00 +0000 (14:48 +0000)]
minor error handling in bmp.c
more complex fill combining types

23 years agovarious
Tony Cook [Fri, 7 Sep 2001 15:02:54 +0000 (15:02 +0000)]
various

23 years agoAdded some source code docs
Tony Cook [Sun, 2 Sep 2001 13:19:51 +0000 (13:19 +0000)]
Added some source code docs

23 years agoan extra stipple
Tony Cook [Sun, 2 Sep 2001 12:37:14 +0000 (12:37 +0000)]
an extra stipple
expose flood_fill as a method
add a general fill version of flood fill

23 years agodrop some whitespace
Tony Cook [Sun, 2 Sep 2001 11:24:20 +0000 (11:24 +0000)]
drop some whitespace

23 years agobetter scale* fills
Tony Cook [Sun, 2 Sep 2001 00:50:50 +0000 (00:50 +0000)]
better scale* fills

23 years agosupport for generic fills for box and arc, with solid, hatched
Tony Cook [Sat, 1 Sep 2001 16:06:33 +0000 (16:06 +0000)]
support for generic fills for box and arc, with solid, hatched
and fountain fills implemented

23 years agobased on discussion with lathos on IRC
Tony Cook [Thu, 30 Aug 2001 12:48:53 +0000 (12:48 +0000)]
based on discussion with lathos on IRC

23 years agoimplement fountain fills similar to most paint programs
Tony Cook [Wed, 29 Aug 2001 09:27:35 +0000 (09:27 +0000)]
implement fountain fills similar to most paint programs
minor bug fixes

23 years agosuggested by coral (IRC)
Tony Cook [Fri, 24 Aug 2001 12:09:53 +0000 (12:09 +0000)]
suggested by coral (IRC)

23 years agovarious JPEG fixes
Tony Cook [Wed, 22 Aug 2001 00:49:25 +0000 (00:49 +0000)]
various JPEG fixes

23 years agoadded OO interfaces for some filters
Tony Cook [Sun, 19 Aug 2001 13:14:02 +0000 (13:14 +0000)]
added OO interfaces for some filters
added a test script for the filters
committing some BMP changes I forgot to commit

23 years agoWindows BMP file support
Tony Cook [Sun, 19 Aug 2001 11:33:25 +0000 (11:33 +0000)]
Windows BMP file support

23 years agocompressed BMP files for testing
Tony Cook [Sun, 19 Aug 2001 10:23:56 +0000 (10:23 +0000)]
compressed BMP files for testing