imager.git
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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()

8 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

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

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

8 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

8 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

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

8 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

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

8 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

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

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

8 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.

8 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)

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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

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

8 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

8 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

8 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.

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

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

8 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()

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

8 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

8 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

8 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

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

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

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

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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

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

8 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.

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

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

8 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

8 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

8 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

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

8 years agoupdate datatypes.c with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:55:22 +0000 (11:55 +1000)]
update datatypes.c with IMAGER_NO_CONTEXT

8 years agoupdate guassian.im with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:23:51 +0000 (11:23 +1000)]
update guassian.im with IMAGER_NO_CONTEXT

8 years agoupdate flip.im with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:36:33 +0000 (11:36 +1000)]
update flip.im with IMAGER_NO_CONTEXT

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

8 years agoupdate hlines.c to IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:46:00 +0000 (11:46 +1000)]
update hlines.c to IMAGER_NO_CONTEXT

8 years agoupdate img16.c to avoid mm_log()
Tony Cook [Mon, 6 Aug 2012 01:46:53 +0000 (11:46 +1000)]
update img16.c to avoid mm_log()

8 years agoupdate img8.c to avoid mm_log()
Tony Cook [Mon, 6 Aug 2012 01:47:29 +0000 (11:47 +1000)]
update img8.c to avoid mm_log()

8 years agoupdate imgdouble.c to avoid mm_log().
Tony Cook [Mon, 6 Aug 2012 01:47:52 +0000 (11:47 +1000)]
update imgdouble.c to avoid mm_log().

8 years agore-work the context macros
Tony Cook [Mon, 6 Aug 2012 01:48:23 +0000 (11:48 +1000)]
re-work the context macros

8 years agoupdate convert.im to IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:17:24 +0000 (11:17 +1000)]
update convert.im to IMAGER_NO_CONTEXT

8 years agoupdate draw.c to IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:21:49 +0000 (11:21 +1000)]
update draw.c to IMAGER_NO_CONTEXT

8 years agoupdate fills.c to IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:22:45 +0000 (11:22 +1000)]
update fills.c to IMAGER_NO_CONTEXT

8 years agoupdate filters.im with IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:23:35 +0000 (11:23 +1000)]
update filters.im with IMAGER_NO_CONTEXT

8 years agoupdate conv.im to IMAGER_NO_CONTEXT
Tony Cook [Mon, 6 Aug 2012 01:16:57 +0000 (11:16 +1000)]
update conv.im to IMAGER_NO_CONTEXT

8 years agoimplement reference counting for context objects
Tony Cook [Thu, 12 Jul 2012 13:00:22 +0000 (23:00 +1000)]
implement reference counting for context objects

This works, even with threading.

8 years agomasked images weren't using the image allocation API
Tony Cook [Thu, 12 Jul 2012 12:59:24 +0000 (22:59 +1000)]
masked images weren't using the image allocation API

Since the reference counting for context objects requires that image
implementations use the API, this broke.

8 years agoWIP, OMG it works
Tony Cook [Sun, 10 Jun 2012 14:03:53 +0000 (00:03 +1000)]
WIP, OMG it works

8 years agoWIP, it compiles
Tony Cook [Mon, 6 Aug 2012 13:39:12 +0000 (23:39 +1000)]
WIP, it compiles

8 years agoWIP, more context changes
Tony Cook [Thu, 24 May 2012 07:23:21 +0000 (17:23 +1000)]
WIP, more context changes

8 years agoWIP context objects
Tony Cook [Fri, 11 May 2012 10:41:05 +0000 (20:41 +1000)]
WIP context objects