]> git.imager.perl.org - imager.git/log
imager.git
12 years agouse the standard font tests for FT2 too
Tony Cook [Sat, 23 Feb 2013 03:29:18 +0000 (14:29 +1100)]
use the standard font tests for FT2 too

12 years agotest that sub-module MANIFESTs include all the files the main MANIFEST does
Tony Cook [Sat, 23 Feb 2013 03:28:15 +0000 (14:28 +1100)]
test that sub-module MANIFESTs include all the files the main MANIFEST does

and fix the sub-module MANIFESTs

12 years agopull some basic tests all fonts should pass into Imager::Test
Tony Cook [Sat, 23 Feb 2013 03:26:55 +0000 (14:26 +1100)]
pull some basic tests all fonts should pass into Imager::Test

and make sure T1 passes them

12 years agoprefer static first
Tony Cook [Sat, 23 Feb 2013 03:08:36 +0000 (14:08 +1100)]
prefer static first

12 years agofix channel output for FT2
Tony Cook [Fri, 22 Feb 2013 12:06:13 +0000 (23:06 +1100)]
fix channel output for FT2

12 years agofix error handling for invalid utf8 for T1
Tony Cook [Fri, 22 Feb 2013 04:13:19 +0000 (15:13 +1100)]
fix error handling for invalid utf8 for T1

12 years agofix error handling in the bounding_box() wrapper method
Tony Cook [Fri, 22 Feb 2013 00:29:07 +0000 (11:29 +1100)]
fix error handling in the bounding_box() wrapper method

12 years agotests and fixes for corrrect handling of magic in T1
Tony Cook [Thu, 21 Feb 2013 09:46:08 +0000 (20:46 +1100)]
tests and fixes for corrrect handling of magic in T1

12 years agotests and fixes for correct handling of get magic in FT2
Tony Cook [Thu, 21 Feb 2013 05:40:03 +0000 (16:40 +1100)]
tests and fixes for correct handling of get magic in FT2

12 years agofix some internal FT2 documentation
Tony Cook [Thu, 21 Feb 2013 05:06:55 +0000 (16:06 +1100)]
fix some internal FT2 documentation

12 years agoremove an unused variable declaration
Tony Cook [Thu, 21 Feb 2013 03:38:20 +0000 (14:38 +1100)]
remove an unused variable declaration

12 years agofix some compiler warnings
Tony Cook [Thu, 21 Feb 2013 03:37:59 +0000 (14:37 +1100)]
fix some compiler warnings

12 years agoavoid undefined behaviour adding integers
Tony Cook [Thu, 21 Feb 2013 03:37:20 +0000 (14:37 +1100)]
avoid undefined behaviour adding integers

12 years agomark mm_log() for the API with the right gcc -Wformat magic
Tony Cook [Thu, 21 Feb 2013 03:31:18 +0000 (14:31 +1100)]
mark mm_log() for the API with the right gcc -Wformat magic

and fix the format strings vs arguments errors revealed

12 years agoupdate Changes with recent fixes
Tony Cook [Tue, 19 Feb 2013 06:36:56 +0000 (17:36 +1100)]
update Changes with recent fixes

12 years ago[rt #83434] fix a POD list mixing named and bulleted items
Tony Cook [Tue, 19 Feb 2013 06:26:58 +0000 (17:26 +1100)]
[rt #83434] fix a POD list mixing named and bulleted items

12 years agoavoid a probably unwarranted compiler warning
Tony Cook [Mon, 18 Feb 2013 12:31:35 +0000 (23:31 +1100)]
avoid a probably unwarranted compiler warning

12 years agochange note for the rotate change
Tony Cook [Mon, 18 Feb 2013 12:31:18 +0000 (23:31 +1100)]
change note for the rotate change

12 years ago[rt #83212] avoid a possible bad optimizer on centos 5.9
Tony Cook [Mon, 18 Feb 2013 12:21:45 +0000 (23:21 +1100)]
[rt #83212] avoid a possible bad optimizer on centos 5.9

rotate(degrees => 270) was producing glitches near the horizontal and
vertical centrelines only on 5.9 with the default (perl config
specified) optimizations.  These disappeared when Imager was built with
-O1 instead.

Re-arranged some code to avoid duplicate floor() and double -> long
conversions which seems to have avoided the optimization problem.

12 years agohandle older perls for the new perlio integration
Tony Cook [Mon, 18 Feb 2013 08:59:10 +0000 (19:59 +1100)]
handle older perls for the new perlio integration

12 years agoskip t/x30podlinkcheck.t if Pod::Parser 1.50 not available
Tony Cook [Mon, 18 Feb 2013 08:58:22 +0000 (19:58 +1100)]
skip t/x30podlinkcheck.t if Pod::Parser 1.50 not available

12 years agoupdate sub-module READMEs
Tony Cook [Mon, 18 Feb 2013 04:48:51 +0000 (15:48 +1100)]
update sub-module READMEs

- they point at the -dev or -devel package

- they point at Imager::Install

- other minor changes

12 years agochange note for the JPEG version reporting change
Tony Cook [Mon, 18 Feb 2013 03:20:35 +0000 (14:20 +1100)]
change note for the JPEG version reporting change

12 years agotest code now reports the (compile-time) library version
Tony Cook [Mon, 18 Feb 2013 03:19:25 +0000 (14:19 +1100)]
test code now reports the (compile-time) library version

12 years agomake errep.pl's report more verbose
Tony Cook [Fri, 15 Feb 2013 09:56:15 +0000 (20:56 +1100)]
make errep.pl's report more verbose

12 years agoPNG supports more sample sizes now
Tony Cook [Fri, 15 Feb 2013 09:55:47 +0000 (20:55 +1100)]
PNG supports more sample sizes now

12 years agochange note for README to Imager::Install move
Tony Cook [Fri, 15 Feb 2013 06:01:13 +0000 (17:01 +1100)]
change note for README to Imager::Install move

12 years agomove most of README to lib/Imager/Install.pod
Tony Cook [Fri, 15 Feb 2013 05:43:11 +0000 (16:43 +1100)]
move most of README to lib/Imager/Install.pod

12 years ago[rt #82743] fix the Graphics::Magick link
Tony Cook [Mon, 21 Jan 2013 10:31:22 +0000 (21:31 +1100)]
[rt #82743] fix the Graphics::Magick link

12 years agotest Imager::IO::new_fh() itself with a perlio handle
Tony Cook [Mon, 21 Jan 2013 10:10:30 +0000 (21:10 +1100)]
test Imager::IO::new_fh() itself with a perlio handle

12 years agoSupport tied/layered fh parameters for read()/write()
Tony Cook [Sat, 12 Jan 2013 04:28:54 +0000 (15:28 +1100)]
Support tied/layered fh parameters for read()/write()

12 years agochange note for the file handle changes
Tony Cook [Sat, 12 Jan 2013 04:28:22 +0000 (15:28 +1100)]
change note for the file handle changes

12 years agosupport tied file handles
Tony Cook [Sat, 12 Jan 2013 03:20:18 +0000 (14:20 +1100)]
support tied file handles

12 years agosupport for perl 5.6
Tony Cook [Fri, 11 Jan 2013 23:35:25 +0000 (10:35 +1100)]
support for perl 5.6

12 years agouse PerlIO_* calls to read/write if supplied a fh
Tony Cook [Fri, 11 Jan 2013 12:27:39 +0000 (23:27 +1100)]
use PerlIO_* calls to read/write if supplied a fh

12 years agocorrect the version for improved threads support
Tony Cook [Sat, 15 Dec 2012 00:07:32 +0000 (11:07 +1100)]
correct the version for improved threads support

12 years agorelease Imager 0.94 v0.94
Tony Cook [Fri, 14 Dec 2012 23:03:16 +0000 (10:03 +1100)]
release Imager 0.94

12 years agobump FT2 version to differentiate from Imager 0.93_02
Tony Cook [Fri, 14 Dec 2012 22:38:28 +0000 (09:38 +1100)]
bump FT2 version to differentiate from Imager 0.93_02

12 years agoimproved support for threads
Tony Cook [Fri, 14 Dec 2012 09:44:16 +0000 (20:44 +1100)]
improved support for threads

12 years agoupdate skip messages to match Imager's new threads support
Tony Cook [Fri, 14 Dec 2012 09:43:39 +0000 (20:43 +1100)]
update skip messages to match Imager's new threads support

12 years agonote ABI compatibility restoration
Tony Cook [Fri, 23 Nov 2012 10:23:10 +0000 (21:23 +1100)]
note ABI compatibility restoration

12 years agorestore ABI level 5 compatibility
Tony Cook [Mon, 19 Nov 2012 08:33:51 +0000 (19:33 +1100)]
restore ABI level 5 compatibility

12 years agoconsistently use _valid_image() internally to ensure image validity
Tony Cook [Mon, 12 Nov 2012 10:09:46 +0000 (21:09 +1100)]
consistently use _valid_image() internally to ensure image validity

and test for it.

12 years agocheck for the remnant from thread creation in _valid_image
Tony Cook [Mon, 12 Nov 2012 10:09:09 +0000 (21:09 +1100)]
check for the remnant from thread creation in _valid_image

CLONE_SKIP simply unblesses the thingy on thread creation, so for the
image to be valid the IMG entry needs to be blessed (as well as true)

12 years agoallow supplying make options to imcover.perl and abort on make failure
Tony Cook [Mon, 12 Nov 2012 10:02:47 +0000 (21:02 +1100)]
allow supplying make options to imcover.perl and abort on make failure

12 years agoconvert t68map.t to Test::More
Tony Cook [Fri, 9 Nov 2012 10:57:45 +0000 (21:57 +1100)]
convert t68map.t to Test::More

12 years agotest image file limits are thread localized
Tony Cook [Mon, 29 Oct 2012 10:44:40 +0000 (21:44 +1100)]
test image file limits are thread localized

12 years agodocument when the slot destructor is called
Tony Cook [Mon, 29 Oct 2012 10:03:51 +0000 (21:03 +1100)]
document when the slot destructor is called

12 years agoavoid some possible race conditions for context slots
Tony Cook [Mon, 29 Oct 2012 10:03:35 +0000 (21:03 +1100)]
avoid some possible race conditions for context slots

12 years agoproperly initialize slot_alloc for new contexts
Tony Cook [Mon, 29 Oct 2012 10:01:49 +0000 (21:01 +1100)]
properly initialize slot_alloc for new contexts

12 years agohandle the race between writing the head and tail of an entry between threads
Tony Cook [Sat, 27 Oct 2012 02:18:10 +0000 (13:18 +1100)]
handle the race between writing the head and tail of an entry between threads

in some cases the head and tails from different threads would interleave

12 years agoclean up some old junk in log.c
Tony Cook [Sat, 27 Oct 2012 02:16:52 +0000 (13:16 +1100)]
clean up some old junk in log.c

12 years agotests for context handling of the error stack
Tony Cook [Sat, 27 Oct 2012 01:21:58 +0000 (12:21 +1100)]
tests for context handling of the error stack

12 years agodon't clone the error stack
Tony Cook [Sat, 27 Oct 2012 01:18:13 +0000 (12:18 +1100)]
don't clone the error stack

12 years agotest thread context handling for logging
Tony Cook [Thu, 25 Oct 2012 13:12:10 +0000 (00:12 +1100)]
test thread context handling for logging

12 years agoabort under automated testing if we can't find threads support code
Tony Cook [Thu, 25 Oct 2012 04:01:06 +0000 (15:01 +1100)]
abort under automated testing if we can't find threads support code

12 years agoonly define im_assert_fail() when assertions are enabled.
Tony Cook [Thu, 25 Oct 2012 03:43:29 +0000 (14:43 +1100)]
only define im_assert_fail() when assertions are enabled.

12 years agoavoid trying to gcov unincluded files
Tony Cook [Thu, 25 Oct 2012 03:42:59 +0000 (14:42 +1100)]
avoid trying to gcov unincluded files

some C files included with Imager are not included in every build
avoid the noise of trying to gcov them when they aren't

12 years agopass extra imcover.perl command-line options through to Makefile.PL
Tony Cook [Thu, 25 Oct 2012 03:41:50 +0000 (14:41 +1100)]
pass extra imcover.perl command-line options through to Makefile.PL

12 years agoallow coverage testing to test only .c code coverage
Tony Cook [Thu, 25 Oct 2012 03:39:06 +0000 (14:39 +1100)]
allow coverage testing to test only .c code coverage

this allows me to test coverage of code only tested by threading,
since Devel::Cover and ithreads don't (or didn't) get along well.

12 years agohopefully fix the seg fault on darwin
Tony Cook [Mon, 22 Oct 2012 11:18:57 +0000 (22:18 +1100)]
hopefully fix the seg fault on darwin

also fixes a leak where the old fh wasn't closed when init_log was called

12 years agonote the ft1 change in Changes
Tony Cook [Sat, 20 Oct 2012 00:17:39 +0000 (11:17 +1100)]
note the ft1 change in Changes

12 years agosupport threading with Imager's Freetype 1.x driver
Tony Cook [Mon, 10 Sep 2012 12:33:56 +0000 (22:33 +1000)]
support threading with Imager's Freetype 1.x driver

This creates a new engine for each perl thread, which is meant to be
enough to be thread safe.

12 years agorename font.c to fontft1.c, since it only does FT1 now
Tony Cook [Mon, 10 Sep 2012 10:18:43 +0000 (20:18 +1000)]
rename font.c to fontft1.c, since it only does FT1 now

12 years agoupdate Changes for FT2 thread safety
Tony Cook [Sat, 20 Oct 2012 00:14:40 +0000 (11:14 +1100)]
update Changes for FT2 thread safety

12 years agomore thread docs
Tony Cook [Mon, 15 Oct 2012 13:15:51 +0000 (00:15 +1100)]
more thread docs

12 years agothread safety for the FT2 driver
Tony Cook [Mon, 15 Oct 2012 13:12:29 +0000 (00:12 +1100)]
thread safety for the FT2 driver

12 years agoprovide better control over AA, and improve error handling
Tony Cook [Sun, 9 Sep 2012 04:21:58 +0000 (14:21 +1000)]
provide better control over AA, and improve error handling

12 years agothread-safe T1lib interface
Tony Cook [Sun, 9 Sep 2012 01:43:11 +0000 (11:43 +1000)]
thread-safe T1lib interface

T1lib itself doesn't provide a thread-safe API, so we control access
to it via a mutex.

12 years agomore TODOs
Tony Cook [Sun, 26 Aug 2012 05:18:45 +0000 (15:18 +1000)]
more TODOs

12 years agoadd the context slot APIs
Tony Cook [Sun, 26 Aug 2012 05:18:27 +0000 (15:18 +1000)]
add the context slot APIs

12 years agouse stdc malloc instead of mymalloc()
Tony Cook [Mon, 15 Oct 2012 12:26:11 +0000 (23:26 +1100)]
use stdc malloc instead of mymalloc()

12 years agodocument threads support
Tony Cook [Sat, 18 Aug 2012 00:20:44 +0000 (10:20 +1000)]
document threads support

12 years agoavoid re-entrancy into giflib using the mutex API
Tony Cook [Mon, 15 Oct 2012 12:23:22 +0000 (23:23 +1100)]
avoid re-entrancy into giflib using the mutex API

12 years agoavoid re-entrancy into libtiff using the mutex api
Tony Cook [Sat, 25 Aug 2012 03:00:08 +0000 (13:00 +1000)]
avoid re-entrancy into libtiff using the mutex api

12 years agoadd mutex functions to the API
Tony Cook [Mon, 22 Oct 2012 10:01:41 +0000 (21:01 +1100)]
add mutex functions to the API

12 years agoupdate MANIFEST for missing files
Tony Cook [Mon, 15 Oct 2012 11:32:05 +0000 (22:32 +1100)]
update MANIFEST for missing files

12 years agostart a change note
Tony Cook [Thu, 16 Aug 2012 09:54:41 +0000 (19:54 +1000)]
start a change note

12 years agotest for uncommitted changes too
Tony Cook [Thu, 16 Aug 2012 09:50:20 +0000 (19:50 +1000)]
test for uncommitted changes too

12 years agofill out documentation
Tony Cook [Mon, 13 Aug 2012 12:17:22 +0000 (22:17 +1000)]
fill out documentation

12 years agoeliminate some unused code
Tony Cook [Tue, 14 Aug 2012 05:09:53 +0000 (15:09 +1000)]
eliminate some unused code

12 years agopick up im_ prefix functions too
Tony Cook [Mon, 13 Aug 2012 08:09:52 +0000 (18:09 +1000)]
pick up im_ prefix functions too

12 years agoavoid i_push_errorf() and i_fatal() in a few more places
Tony Cook [Mon, 13 Aug 2012 08:12:07 +0000 (18:12 +1000)]
avoid i_push_errorf() and i_fatal() in a few more places

12 years agoadd i_errors()/im_errors() to the API
Tony Cook [Mon, 13 Aug 2012 08:17:07 +0000 (18:17 +1000)]
add i_errors()/im_errors() to the API

12 years agomore i_fatal
Tony Cook [Mon, 13 Aug 2012 08:18:17 +0000 (18:18 +1000)]
more i_fatal

12 years agofix C89 and non-threaded builds
Tony Cook [Mon, 13 Aug 2012 09:02:17 +0000 (19:02 +1000)]
fix C89 and non-threaded builds

12 years agoremove the obsolete and unused i_img_new() function
Tony Cook [Mon, 6 Aug 2012 13:06:43 +0000 (23:06 +1000)]
remove the obsolete and unused i_img_new() function

12 years agohide the i_push_errorf() prototype for IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 13:08:59 +0000 (23:08 +1000)]
hide the i_push_errorf() prototype for IMAGER_NO_CONTEXT

since you end up using the i_get_context() instead of the local
dIMCTX* or pIMCTX context

12 years agoupdate bmp.c to IMAGER_NO_CONTEXT
Tony Cook [Sat, 11 Aug 2012 03:37:43 +0000 (13:37 +1000)]
update bmp.c to IMAGER_NO_CONTEXT

12 years agomake dIMCTXio() public
Tony Cook [Sat, 11 Aug 2012 03:40:23 +0000 (13:40 +1000)]
make dIMCTXio() public

it's useful for with IMAGER_NO_CONTEXT for file read handlers

12 years agoadd some context dependent functions to the API
Tony Cook [Sat, 11 Aug 2012 04:39:00 +0000 (14:39 +1000)]
add some context dependent functions to the API

12 years agotest the API under IMAGER_NO_CONTEXT
Tony Cook [Sat, 11 Aug 2012 04:39:27 +0000 (14:39 +1000)]
test the API under IMAGER_NO_CONTEXT

12 years agohide i_fatal() under IMAGER_NO_CONTEXT
Tony Cook [Sat, 11 Aug 2012 04:40:10 +0000 (14:40 +1000)]
hide i_fatal() under IMAGER_NO_CONTEXT

to ensure the local aIMCTX is used.

12 years agorebuild Imager::APIRef
Tony Cook [Mon, 15 Oct 2012 11:26:07 +0000 (22:26 +1100)]
rebuild Imager::APIRef

12 years agodon't define mm_log() with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:58:17 +0000 (11:58 +1000)]
don't define mm_log() with IMAGER_NO_CONTEXT

since you may end up using a different context to that stored locally.

12 years agolog more drawing primitives
Tony Cook [Mon, 6 Aug 2012 01:58:32 +0000 (11:58 +1000)]
log more drawing primitives

12 years agoremove more unused variable warnings
Tony Cook [Mon, 13 Aug 2012 00:37:32 +0000 (10:37 +1000)]
remove more unused variable warnings

12 years agoupdate I/O layers to accept a context on creation
Tony Cook [Mon, 6 Aug 2012 01:49:12 +0000 (11:49 +1000)]
update I/O layers to accept a context on creation

12 years agoupdate limits.c with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:54:07 +0000 (11:54 +1000)]
update limits.c with IMAGER_NO_CONTEXT

12 years agoupdate log.c with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:54:31 +0000 (11:54 +1000)]
update log.c with IMAGER_NO_CONTEXT