]> git.imager.perl.org - imager.git/log
imager.git
20 years ago - there would be a link or load time error on m_init_log() if
Tony Cook [Mon, 7 Jun 2004 04:58:01 +0000 (04:58 +0000)]
    - there would be a link or load time error on m_init_log() if
          Imager was built with IM_NOLOG, fixed by renamed init_log()
          to m_init_log() in log.c

21 years ago - update ppport.h and remove the duplicate definitions from
Tony Cook [Thu, 22 Apr 2004 07:01:07 +0000 (07:01 +0000)]
- update ppport.h and remove the duplicate definitions from
  Imager.xs.  Had to mangle ppport.h to prevent duplicate global
  function definitions.
- newer versions of tifflib require that all of the function
  pointers passed to TIFFClientOpen be non-NULL, the mmap() and
  munmap() pointers were always NULL and the sizeproc was
  sometimes NULL.

21 years agodefine aTHX_ when perl doesn't (perl 5.004 for example)
Tony Cook [Thu, 22 Apr 2004 04:06:20 +0000 (04:06 +0000)]
define aTHX_ when perl doesn't (perl 5.004 for example)

21 years agofont.c now only uses the defined T1Lib error codes
Tony Cook [Thu, 22 Apr 2004 03:46:59 +0000 (03:46 +0000)]
font.c now only uses the defined T1Lib error codes

21 years agothe scale() method now warns if scalled in a void context
Tony Cook [Thu, 22 Apr 2004 03:29:56 +0000 (03:29 +0000)]
the scale() method now warns if scalled in a void context

21 years ago - refer the user to appropriate documents in the example in
Tony Cook [Thu, 22 Apr 2004 03:04:14 +0000 (03:04 +0000)]
- refer the user to appropriate documents in the example in
  Imager.pm
- change the list of documents in Imager.pm to move the document
  names out of the =item lines so we can make them into links

21 years ago - only call FT_Get_Postscript_Name() on FT 2.0.6 and later
Tony Cook [Wed, 10 Mar 2004 13:22:41 +0000 (13:22 +0000)]
- only call FT_Get_Postscript_Name() on FT 2.0.6 and later
- put the IM_LIBPATH and IM_INCPATH values first in the search
  path so the builder gets their local versions if desired rather
  than the system versions they might be trying to avoid
- document the exp() and log() transform2() functions
- document the constants normally set by transform2().

21 years agoPrepare 0.43 release because of silly ft2 test skip problem.
Arnar Mar Hrafnkelsson [Tue, 17 Feb 2004 02:10:25 +0000 (02:10 +0000)]
Prepare 0.43 release because of silly ft2 test skip problem.

21 years ago - skip the right number of tests when FT2 isn't available
Tony Cook [Sun, 8 Feb 2004 22:44:47 +0000 (22:44 +0000)]
- skip the right number of tests when FT2 isn't available

21 years ago - added log() and exp() functions to transform2()
Tony Cook [Thu, 5 Feb 2004 04:32:16 +0000 (04:32 +0000)]
    - added log() and exp() functions to transform2()
- change the getpN() functions in transform2() to set a
  reasonable alpha if the input image has no alpha
- document the constants that transform2() defines

21 years agoAll the little fixup changes for the 0.42 release.
Arnar Mar Hrafnkelsson [Sun, 4 Jan 2004 12:42:13 +0000 (12:42 +0000)]
All the little fixup changes for the 0.42 release.

21 years agoRemoved half finished speedhack for 3ch8bit images so I can release a new version.
Arnar Mar Hrafnkelsson [Sat, 3 Jan 2004 11:02:12 +0000 (11:02 +0000)]
Removed half finished speedhack for 3ch8bit images so I can release a new version.

21 years agoWhitespace change.
Arnar Mar Hrafnkelsson [Fri, 2 Jan 2004 07:08:33 +0000 (07:08 +0000)]
Whitespace change.

21 years ago - added comment support the postfix transform2() expression
Tony Cook [Thu, 26 Jun 2003 03:50:00 +0000 (03:50 +0000)]
    - added comment support the postfix transform2() expression
          parser
        - transform2() can now produce images with other than 3 channels.
        - added a correct T_AVREF input mapping to the typemap to
          simplify parameter lists

21 years agoimage fills with images with channels not at 4 were broken
Tony Cook [Wed, 25 Jun 2003 03:22:14 +0000 (03:22 +0000)]
image fills with images with channels not at 4 were broken

22 years agoAdded preliminary support for adding image based fonts.
Arnar Mar Hrafnkelsson [Sun, 30 Mar 2003 12:03:37 +0000 (12:03 +0000)]
Added preliminary support for adding image based fonts.

22 years agoAdded extra parameters to rubthrough so only a subimage of
Arnar Mar Hrafnkelsson [Sat, 29 Mar 2003 12:24:05 +0000 (12:24 +0000)]
Added extra parameters to rubthrough so only a subimage of
the source image is copied.

22 years ago - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
Tony Cook [Tue, 4 Mar 2003 04:13:21 +0000 (04:13 +0000)]
    - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
          which we use, define it if freetype doesn't.

22 years agoNote that only FT2 supports transforms so far.
Tony Cook [Mon, 13 Jan 2003 02:52:40 +0000 (02:52 +0000)]
Note that only FT2 supports transforms so far.

22 years ago - Debian woody supplied FT2.0.9, which didn't support
Tony Cook [Fri, 3 Jan 2003 02:06:07 +0000 (02:06 +0000)]
    - Debian woody supplied FT2.0.9, which didn't support
          FT_Has_PS_Names(), so we use the FT_HAS_GLYPH_NAMES() macro
          instead.

22 years agoFixed return type not being on seperate line.
Arnar Mar Hrafnkelsson [Tue, 31 Dec 2002 14:44:44 +0000 (14:44 +0000)]
Fixed return type not being on seperate line.

22 years ago - implemented i_t1_has_chars(), tests for same
Tony Cook [Tue, 31 Dec 2002 14:38:39 +0000 (14:38 +0000)]
    - implemented i_t1_has_chars(), tests for same
        - added ExistenceTest.{pfb,afm,ttf} for testing $font->has_chars
        - tests for Imager::Font::Type1::has_chars();
        - tests for Imager::Font::Truetype::has_chars();
        - internal and external bounding box calculations now use
          the same hint flags as text output for Freetype 2.x
        - made the i_foo_bbox() interface more expandable by using
          symbolic constants for the sizes and array offsets
        - added a / character to the ExistenceTest.foo fonts that
          overlaps the right side of the character cell, to test the
          advance width reporting.
        - added advance width to the i_foo_bbox() interface, and
          implemented it for FT2, FT1 and Type 1
        - Imager::Font::bounding_box() now returns an Imager::Font::BBox
          object in scalar context.
        - implemented $font->align() text output method, for simple output
          of aligned text
        - created Imager::Font::Wrap::wrap_text to perform simple text
          wrapping
        - FT1, FT2 and T1 fonts now support the face_name method
        - FT1, FT2 and T1 now support the glyph_names() method

22 years agofixed some minor test code hiccups
Tony Cook [Fri, 13 Dec 2002 00:34:40 +0000 (00:34 +0000)]
fixed some minor test code hiccups

22 years ago - the default tifflib warning handler was crashing on Win32
Tony Cook [Tue, 5 Nov 2002 14:14:23 +0000 (14:14 +0000)]
    - the default tifflib warning handler was crashing on Win32
          under ActivePerl, when an unrecognized tag was read from the
          file.  For now we'll just drop the warnings in the bit bucket.
          (Ticket #1513)
        - the code to read multiple tiffs didn't handle files with more
          than five images correctly, causing a memory overrun.

22 years agofixed issue reported in ticket 1748, and added smoke tests that should
Tony Cook [Tue, 5 Nov 2002 00:11:23 +0000 (00:11 +0000)]
fixed issue reported in ticket 1748, and added smoke tests that should
have been there to detect it in the first place ;)
updated t37w32font.t to allow for i_draw to i_line rename
removed non-portable call to rint()

22 years agoTypo fix.
Arnar Mar Hrafnkelsson [Sun, 15 Sep 2002 23:15:21 +0000 (23:15 +0000)]
Typo fix.

22 years agoChanges to t50basicoo.t test... not working yet.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:46:57 +0000 (01:46 +0000)]
Changes to t50basicoo.t test... not working yet.

22 years agoAdded breaks into switch statements.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:27:14 +0000 (01:27 +0000)]
Added breaks into switch statements.

22 years agoRemoved wierd extra code.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:23:00 +0000 (01:23 +0000)]
Removed wierd extra code.

22 years agoAutodetection of fileformat as loading.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 00:32:20 +0000 (00:32 +0000)]
Autodetection of fileformat as loading.

22 years agoMore debugging for auto probing of image types.
Arnar Mar Hrafnkelsson [Tue, 20 Aug 2002 01:32:11 +0000 (01:32 +0000)]
More debugging for auto probing of image types.

22 years agoMore support for autodetection of formats, still some error comes up in
Arnar Mar Hrafnkelsson [Tue, 20 Aug 2002 00:54:15 +0000 (00:54 +0000)]
More support for autodetection of formats, still some error comes up in
t50basicoo.t.

22 years agoFixed broken 'not ok' message.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 23:59:33 +0000 (23:59 +0000)]
Fixed broken 'not ok' message.

22 years agoSupport for probing for fileformats.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 22:48:07 +0000 (22:48 +0000)]
Support for probing for fileformats.

22 years agoRemoved cruft since not all formats supported loading with iolayer.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 18:56:46 +0000 (18:56 +0000)]
Removed cruft since not all formats supported loading with iolayer.

22 years agoAdded extra paths for rgb.txt on solaris.
Arnar Mar Hrafnkelsson [Wed, 14 Aug 2002 16:04:33 +0000 (16:04 +0000)]
Added extra paths for rgb.txt on solaris.

22 years agotemporary scaling test code, proper defaults for crop().
Arnar Mar Hrafnkelsson [Thu, 8 Aug 2002 06:00:51 +0000 (06:00 +0000)]
temporary scaling test code, proper defaults for crop().

22 years agoFixed r= instead of r=> in 4 places!
Arnar Mar Hrafnkelsson [Wed, 17 Jul 2002 18:20:49 +0000 (18:20 +0000)]
Fixed r= instead of r=> in 4 places!

22 years agoDoc patch so people know where to look for new().
Arnar Mar Hrafnkelsson [Wed, 17 Jul 2002 18:18:10 +0000 (18:18 +0000)]
Doc patch so people know where to look for new().

22 years agoFixed tiff handling of images all contained in a single strip
Arnar Mar Hrafnkelsson [Tue, 9 Jul 2002 14:52:30 +0000 (14:52 +0000)]
Fixed tiff handling of images all contained in a single strip
(rowsperstrip = -1) and added a hack for images missing the rowsperstrip
tag.

22 years agowatermark was using a hardcoded size for watermarks (how embarrasing!).
Arnar Mar Hrafnkelsson [Fri, 21 Jun 2002 15:38:19 +0000 (15:38 +0000)]
watermark was using a hardcoded size for watermarks (how embarrasing!).

22 years agoFixed missing word in pod doc, thanks Juerd.
Arnar Mar Hrafnkelsson [Fri, 31 May 2002 13:05:05 +0000 (13:05 +0000)]
Fixed missing word in pod doc, thanks Juerd.

22 years agoFixed empty string handling for tt font driver.
Arnar Mar Hrafnkelsson [Thu, 30 May 2002 17:00:45 +0000 (17:00 +0000)]
Fixed empty string handling for tt font driver.

22 years ago- update the URLs for libpng and zlib
Tony Cook [Thu, 23 May 2002 02:44:35 +0000 (02:44 +0000)]
- update the URLs for libpng and zlib

22 years ago- mc_web_map was storing colors with an alpha of 0
Tony Cook [Thu, 23 May 2002 01:01:27 +0000 (01:01 +0000)]
- mc_web_map was storing colors with an alpha of 0

22 years agowe want the low-level functions too
Tony Cook [Fri, 10 May 2002 04:20:55 +0000 (04:20 +0000)]
we want the low-level functions too

22 years ago - handle UTF8 strings passed to T1 low-level functions
Tony Cook [Thu, 9 May 2002 13:23:08 +0000 (13:23 +0000)]
    - handle UTF8 strings passed to T1 low-level functions
        - handle flags for underline, strikethrough and overline for T1
          low-level output functions
        - OO interfaces to UTF8 and flags, for now leaving the flags as
          specific to Imager::Font::Type1

22 years agohas_chars() support for freetype 1.x
Tony Cook [Sun, 5 May 2002 03:33:00 +0000 (03:33 +0000)]
has_chars() support for freetype 1.x
minor bug fixes

22 years agoModified i_line_aa to use a modified bresenham algorithm. This method
Arnar Mar Hrafnkelsson [Sun, 5 May 2002 03:11:13 +0000 (03:11 +0000)]
Modified i_line_aa to use a modified bresenham algorithm.  This method
also does endpoint handling like i_line does.  This will hopefully make
line drawing more consistent.

22 years agoSwitched i_draw to i_line, added endpoint boolean condition,
Arnar Mar Hrafnkelsson [Thu, 2 May 2002 20:20:34 +0000 (20:20 +0000)]
Switched i_draw to i_line, added endpoint boolean condition,
switched the algorithm to Bresenham from a stupid floating point
implementation.  Updated docs.

22 years agovarious changes from trying to build on testdrive
Tony Cook [Wed, 1 May 2002 13:53:46 +0000 (13:53 +0000)]
various changes from trying to build on testdrive

22 years ago(Hopefully) last fix for flood fill crash.
Arnar Mar Hrafnkelsson [Wed, 1 May 2002 11:10:58 +0000 (11:10 +0000)]
(Hopefully) last fix for flood fill crash.

22 years agoSecond attempt at flood fix.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 18:32:41 +0000 (18:32 +0000)]
Second attempt at flood fix.

22 years agoflood fill fix added to changelog.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 13:22:13 +0000 (13:22 +0000)]
flood fill fix added to changelog.

22 years agoFixed missing check that cause out of bounds access on bitmaps for flood fills.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 13:02:17 +0000 (13:02 +0000)]
Fixed missing check that cause out of bounds access on bitmaps for flood fills.

22 years agoAdded checks to flood fill functions for seed pixel being outside of
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 00:35:13 +0000 (00:35 +0000)]
Added checks to flood fill functions for seed pixel being outside of
the image.

22 years agolog of discussion on IRC
Tony Cook [Mon, 29 Apr 2002 23:15:33 +0000 (23:15 +0000)]
log of discussion on IRC

22 years agocomplex lines
Tony Cook [Mon, 29 Apr 2002 06:14:07 +0000 (06:14 +0000)]
complex lines

23 years agoDoc Patches from Cogent.
Arnar Mar Hrafnkelsson [Sat, 20 Apr 2002 06:36:55 +0000 (06:36 +0000)]
Doc Patches from Cogent.

23 years agosecond argument to SvPV() must have type STRLEN
Tony Cook [Thu, 18 Apr 2002 14:29:00 +0000 (14:29 +0000)]
second argument to SvPV() must have type STRLEN

23 years agosupport UTF with Freetype 1.x
Tony Cook [Thu, 18 Apr 2002 14:05:00 +0000 (14:05 +0000)]
support UTF with Freetype 1.x

23 years ago - document the values for the read() and write() method type
Tony Cook [Tue, 16 Apr 2002 12:51:10 +0000 (12:51 +0000)]
    - document the values for the read() and write() method type
          parameter

23 years agoquote the use of min in type=>min, and at least give it some basic
Tony Cook [Mon, 15 Apr 2002 23:26:11 +0000 (23:26 +0000)]
quote the use of min in type=>min, and at least give it some basic
documentation (scale() in Imager::Transformations)

23 years agoBumped version to 0.41 for trivial gif test fix.
Arnar Mar Hrafnkelsson [Fri, 12 Apr 2002 12:21:29 +0000 (12:21 +0000)]
Bumped version to 0.41 for trivial gif test fix.
NOTE: forgot to add changes entry for 0.41.

23 years agoit was meant to be skipn(), and output the skipped numbers correctly
Tony Cook [Fri, 12 Apr 2002 11:54:32 +0000 (11:54 +0000)]
it was meant to be skipn(), and output the skipped numbers correctly

23 years agotext, text, text
Tony Cook [Fri, 12 Apr 2002 01:19:02 +0000 (01:19 +0000)]
text, text, text

23 years agoAdded t/testtools.pl to MANIFEST.
Arnar Mar Hrafnkelsson [Wed, 10 Apr 2002 23:28:43 +0000 (23:28 +0000)]
Added t/testtools.pl to MANIFEST.

23 years agoRemoved heading of logo example in pod.
Arnar Mar Hrafnkelsson [Wed, 10 Apr 2002 23:14:42 +0000 (23:14 +0000)]
Removed heading of logo example in pod.

23 years ago- handle the first "buggy giflib" test more portably. Previously
Tony Cook [Sat, 6 Apr 2002 03:30:42 +0000 (03:30 +0000)]
- handle the first "buggy giflib" test more portably.  Previously
it used fork() which caused problems on systems that didn't have
a real fork().

23 years agoclarify the crop() documentation just for merlyn
Tony Cook [Fri, 5 Apr 2002 08:43:46 +0000 (08:43 +0000)]
clarify the crop() documentation just for merlyn

23 years agogive the output a good alpha channel if it doesn't have one
Tony Cook [Wed, 3 Apr 2002 13:21:37 +0000 (13:21 +0000)]
give the output a good alpha channel if it doesn't have one

23 years agoBumped version to 0.40pre2
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 14:38:14 +0000 (14:38 +0000)]
Bumped version to 0.40pre2

23 years agoDSO_close wasn't returning a value on Win32
Tony Cook [Mon, 1 Apr 2002 14:26:44 +0000 (14:26 +0000)]
DSO_close wasn't returning a value on Win32

23 years agoTab fixes :)
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 14:01:11 +0000 (14:01 +0000)]
Tab fixes :)

23 years agoAdded Imager version to output log.
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 13:55:25 +0000 (13:55 +0000)]
Added Imager version to output log.

23 years agonote the change
Tony Cook [Mon, 1 Apr 2002 02:28:22 +0000 (02:28 +0000)]
note the change

23 years agohide or rename any symbols that are likely to conflict with other
Tony Cook [Mon, 1 Apr 2002 02:23:06 +0000 (02:23 +0000)]
hide or rename any symbols that are likely to conflict with other
libraries or perl

23 years agodifference() method
Tony Cook [Sun, 31 Mar 2002 12:41:54 +0000 (12:41 +0000)]
difference() method

23 years ago - hide more of our Darwin dlload emulation to prevent runtime
Tony Cook [Sun, 31 Mar 2002 11:09:10 +0000 (11:09 +0000)]
    - hide more of our Darwin dlload emulation to prevent runtime
          symbol conflicts
        - use INT2PTR() and PTR2IV() macros instead of direct casts to
          prevent pointer vs int size warnings on 64-bit builds of perl.
        - add our own INT2PTR and PTR2IV definitions when perl doesn't
          supply them

23 years agotry to fix OSX warnings
Tony Cook [Sun, 31 Mar 2002 10:46:54 +0000 (10:46 +0000)]
try to fix OSX warnings

23 years agouse INT2PTR if available
Tony Cook [Sun, 31 Mar 2002 10:41:36 +0000 (10:41 +0000)]
use INT2PTR if available

23 years agooops
Tony Cook [Sun, 31 Mar 2002 10:11:40 +0000 (10:11 +0000)]
oops

23 years agohide some more symbols that OSX complains about
Tony Cook [Sun, 31 Mar 2002 10:09:43 +0000 (10:09 +0000)]
hide some more symbols that OSX complains about

23 years agoFixed memory leak in freetype 1 cache.
Arnar Mar Hrafnkelsson [Sun, 31 Mar 2002 05:42:14 +0000 (05:42 +0000)]
Fixed memory leak in freetype 1 cache.

23 years agoFix for pod to make work with 5.005_03
Arnar Mar Hrafnkelsson [Sun, 31 Mar 2002 03:10:11 +0000 (03:10 +0000)]
Fix for pod to make work with 5.005_03

23 years agoget it right
Tony Cook [Sun, 31 Mar 2002 02:12:46 +0000 (02:12 +0000)]
get it right

23 years agomake sure we have alarm() support
Tony Cook [Sun, 31 Mar 2002 02:09:37 +0000 (02:09 +0000)]
make sure we have alarm() support

23 years agodisable the alarm after the test
Tony Cook [Sat, 30 Mar 2002 22:49:22 +0000 (22:49 +0000)]
disable the alarm after the test

23 years ago - i_box_cfill() went into an infinite loop on fountain fills
Tony Cook [Sat, 30 Mar 2002 13:59:13 +0000 (13:59 +0000)]
    - i_box_cfill() went into an infinite loop on fountain fills
          or fills on images with more than 8-bits/sample

23 years ago - handle the presence of the default broken giflib better,
Tony Cook [Fri, 29 Mar 2002 12:14:23 +0000 (12:14 +0000)]
    - handle the presence of the default broken giflib better,
          by giving them some more prose about the problem, and skipping
          all but the first test that fails with the broken giflib

23 years agoupdate skip count
Tony Cook [Mon, 25 Mar 2002 12:10:35 +0000 (12:10 +0000)]
update skip count

23 years agoTicket #369 - writing grayscale images to GIF
Tony Cook [Mon, 25 Mar 2002 11:52:49 +0000 (11:52 +0000)]
Ticket #369 - writing grayscale images to GIF
related change to support passing const channel arrays to i_gsamp()

23 years agodocument the t1log option to Imager::init()
Tony Cook [Tue, 19 Mar 2002 08:21:59 +0000 (08:21 +0000)]
document the t1log option to Imager::init()

23 years agomark end of 0.40pre1 changes
Tony Cook [Tue, 19 Mar 2002 00:28:25 +0000 (00:28 +0000)]
mark end of 0.40pre1 changes

23 years agoquote a few hash keys to prevent warnings on 5.004
Tony Cook [Tue, 19 Mar 2002 00:23:12 +0000 (00:23 +0000)]
quote a few hash keys to prevent warnings on 5.004

23 years agoforgot the ticket number
Tony Cook [Tue, 19 Mar 2002 00:08:07 +0000 (00:08 +0000)]
forgot the ticket number

23 years ago*** empty log message ***
Tony Cook [Mon, 18 Mar 2002 23:59:36 +0000 (23:59 +0000)]
*** empty log message ***

23 years agoSky's patch so Makefile.PL picks up libraries in correct order.
Arnar Mar Hrafnkelsson [Mon, 18 Mar 2002 13:50:34 +0000 (13:50 +0000)]
Sky's patch so Makefile.PL picks up libraries in correct order.

23 years agoBumped version to 0.40pre1.
Arnar Mar Hrafnkelsson [Sun, 17 Mar 2002 04:53:55 +0000 (04:53 +0000)]
Bumped version to 0.40pre1.

23 years agoremoved the items we've done
Tony Cook [Fri, 8 Mar 2002 05:30:19 +0000 (05:30 +0000)]
removed the items we've done