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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

10 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().

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

10 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

10 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

10 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

10 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

10 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

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

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

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

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

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

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

10 years ago[rt #65814] extra diagnostics
Tony Cook [Sat, 24 Nov 2012 02:36:03 +0000 (13:36 +1100)]
[rt #65814] extra diagnostics

10 years agochange note for reporting the FT2 library version
Tony Cook [Fri, 23 Nov 2012 12:16:19 +0000 (23:16 +1100)]
change note for reporting the FT2 library version

10 years agoreport the Freetype 2 library version to STDERR in the first FT2 test
Tony Cook [Fri, 23 Nov 2012 12:15:27 +0000 (23:15 +1100)]
report the Freetype 2 library version to STDERR in the first FT2 test

this *may* allow diagnosis of some test failures

10 years agochange notes up to date
Tony Cook [Fri, 23 Nov 2012 10:18:11 +0000 (21:18 +1100)]
change notes up to date

10 years ago[rt #81198] clarify the return value of getpixel()
Tony Cook [Tue, 20 Nov 2012 07:33:40 +0000 (18:33 +1100)]
[rt #81198] clarify the return value of getpixel()

10 years agobump T1 version due to change for parallel testing
Tony Cook [Tue, 20 Nov 2012 07:33:10 +0000 (18:33 +1100)]
bump T1 version due to change for parallel testing

10 years agoavoid a race condition on parallel testing for T1/
Tony Cook [Mon, 12 Nov 2012 10:23:01 +0000 (21:23 +1100)]
avoid a race condition on parallel testing for T1/

10 years agofix handling of yoff for untransformed image based fills
Tony Cook [Fri, 19 Oct 2012 11:54:34 +0000 (22:54 +1100)]
fix handling of yoff for untransformed image based fills

10 years agoadd examples to the Imager::Fill documentation
Tony Cook [Fri, 19 Oct 2012 11:54:01 +0000 (22:54 +1100)]
add examples to the Imager::Fill documentation

10 years agodoc cleanups for Imager::Fill
Tony Cook [Thu, 18 Oct 2012 10:58:12 +0000 (21:58 +1100)]
doc cleanups for Imager::Fill

10 years ago0.93 release v0.93
Tony Cook [Mon, 15 Oct 2012 10:12:53 +0000 (21:12 +1100)]
0.93 release

10 years agochanges note for sub-module --verbose handling
Tony Cook [Mon, 15 Oct 2012 09:37:53 +0000 (20:37 +1100)]
changes note for sub-module --verbose handling

10 years ago[rt #75878] pass --verbose through to Imager::Probe in sub-modules
Tony Cook [Mon, 15 Oct 2012 09:30:09 +0000 (20:30 +1100)]
[rt #75878] pass --verbose through to Imager::Probe in sub-modules

10 years agobump PNG and W32 versions since they've changed
Tony Cook [Mon, 15 Oct 2012 09:18:34 +0000 (20:18 +1100)]
bump PNG and W32 versions since they've changed

10 years agonote .dSYM clean up change
Tony Cook [Mon, 15 Oct 2012 09:14:17 +0000 (20:14 +1100)]
note .dSYM clean up change

10 years agoDevel::CheckLib: remove generated .dSYM directories on OS X
Tony Cook [Mon, 15 Oct 2012 08:58:26 +0000 (19:58 +1100)]
Devel::CheckLib: remove generated .dSYM directories on OS X

10 years agoinitialize the SortFlag for colour maps for giflib 5.x
Tony Cook [Mon, 15 Oct 2012 08:39:36 +0000 (19:39 +1100)]
initialize the SortFlag for colour maps for giflib 5.x

10 years agoignore build products on OS X
Tony Cook [Mon, 15 Oct 2012 08:05:17 +0000 (19:05 +1100)]
ignore build products on OS X

10 years agocheck for the uninitialized gif89 bug in 4.2.0 and probe for the 5.0.1 api
Tony Cook [Fri, 12 Oct 2012 09:42:25 +0000 (20:42 +1100)]
check for the uninitialized gif89 bug in 4.2.0 and probe for the 5.0.1 api

10 years agoupdate Changes
Tony Cook [Fri, 12 Oct 2012 07:55:30 +0000 (18:55 +1100)]
update Changes

10 years agore-work GIF version setting to support the upcoming 5.0.1 mechanism
Tony Cook [Fri, 12 Oct 2012 00:35:45 +0000 (11:35 +1100)]
re-work GIF version setting to support the upcoming 5.0.1 mechanism

also test that it works, since it won't for 4.2.0 and 5.0.0

10 years agonote the setsamples() change
Tony Cook [Mon, 8 Oct 2012 10:09:02 +0000 (21:09 +1100)]
note the setsamples() change

10 years ago[rt #79990] don't copy setsamples() data parameter
Tony Cook [Mon, 8 Oct 2012 10:08:06 +0000 (21:08 +1100)]
[rt #79990] don't copy setsamples() data parameter

since it may be a large scalar.

10 years agonote the Image::ExifData change
Tony Cook [Mon, 8 Oct 2012 09:12:51 +0000 (20:12 +1100)]
note the Image::ExifData change

10 years ago[rt #79251] note Image::ExifTool in a few places
Tony Cook [Mon, 8 Oct 2012 09:12:06 +0000 (20:12 +1100)]
[rt #79251] note Image::ExifTool in a few places

10 years agovarious changes updates
Tony Cook [Mon, 8 Oct 2012 08:47:54 +0000 (19:47 +1100)]
various changes updates

10 years ago[rt #79989] setsamples() isn't 16-bit only
Tony Cook [Mon, 8 Oct 2012 08:46:05 +0000 (19:46 +1100)]
[rt #79989] setsamples() isn't 16-bit only

and hasn't been for a long while.

Other minor edits

10 years agoforce gif89a for transparency only when needed
Tony Cook [Mon, 8 Oct 2012 05:31:07 +0000 (16:31 +1100)]
force gif89a for transparency only when needed

10 years ago[rt #79922] catch an invalid matrix supplied to convert()
Tony Cook [Sat, 29 Sep 2012 01:22:08 +0000 (11:22 +1000)]
[rt #79922] catch an invalid matrix supplied to convert()

10 years agobump versions of sub-modules that have been updated
Tony Cook [Sat, 29 Sep 2012 01:06:35 +0000 (11:06 +1000)]
bump versions of sub-modules that have been updated

10 years ago[rt #79029] support giflib 5
Tony Cook [Sat, 29 Sep 2012 01:06:03 +0000 (11:06 +1000)]
[rt #79029] support giflib 5

10 years agoavoid using globals when capturing TIFF warnings
Tony Cook [Thu, 16 Aug 2012 09:54:21 +0000 (19:54 +1000)]
avoid using globals when capturing TIFF warnings

10 years agoallow freetype-config to be found on cygwin
Tony Cook [Wed, 12 Sep 2012 05:19:51 +0000 (15:19 +1000)]
allow freetype-config to be found on cygwin

10 years agomatch error message strings to those from T1Lib
Tony Cook [Sun, 9 Sep 2012 04:21:36 +0000 (14:21 +1000)]
match error message strings to those from T1Lib

10 years agomake capturing IPTC content thread-safe
Tony Cook [Tue, 14 Aug 2012 05:10:13 +0000 (15:10 +1000)]
make capturing IPTC content thread-safe

10 years agorevert threading changes, they aren't ready for the mainline yet
Tony Cook [Sat, 29 Sep 2012 00:05:51 +0000 (10:05 +1000)]
revert threading changes, they aren't ready for the mainline yet

10 years agoreturn a value from test_mutex()
Tony Cook [Fri, 21 Sep 2012 04:40:18 +0000 (14:40 +1000)]
return a value from test_mutex()

10 years agoproperly initialize slot_alloc in context objects
Tony Cook [Tue, 18 Sep 2012 01:52:14 +0000 (11:52 +1000)]
properly initialize slot_alloc in context objects

10 years agoadding tracing for the slot APIs
Tony Cook [Mon, 17 Sep 2012 09:34:12 +0000 (19:34 +1000)]
adding tracing for the slot APIs

10 years agochange note for 39bfc9d3d
Tony Cook [Wed, 12 Sep 2012 05:21:59 +0000 (15:21 +1000)]
change note for 39bfc9d3d

10 years agoallow freetype-config to be found on cygwin
Tony Cook [Wed, 12 Sep 2012 05:19:51 +0000 (15:19 +1000)]
allow freetype-config to be found on cygwin

10 years agonote the 0.92_01 dev release
Tony Cook [Tue, 11 Sep 2012 10:44:58 +0000 (20:44 +1000)]
note the 0.92_01 dev release

10 years ago[rt #79029] add support for giflib 5.0
Tony Cook [Thu, 23 Aug 2012 12:59:13 +0000 (22:59 +1000)]
[rt #79029] add support for giflib 5.0

10 years agoimproved thread safety for Imager
Tony Cook [Tue, 11 Sep 2012 10:09:58 +0000 (20:09 +1000)]
improved thread safety for Imager

10 years agoadd mutex functions to the API
Tony Cook [Fri, 17 Aug 2012 14:13:34 +0000 (00:13 +1000)]
add mutex functions to the API

10 years agonote the ft1 change in Changes
Tony Cook [Tue, 11 Sep 2012 09:49:01 +0000 (19:49 +1000)]
note the ft1 change in Changes

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

10 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

10 years agoupdate Changes for FT2 thread safety
Tony Cook [Sun, 9 Sep 2012 13:58:02 +0000 (23:58 +1000)]
update Changes for FT2 thread safety

10 years agomore thread docs
Tony Cook [Sun, 9 Sep 2012 13:55:54 +0000 (23:55 +1000)]
more thread docs

10 years agothread safety for the FT2 driver
Tony Cook [Sun, 9 Sep 2012 13:55:43 +0000 (23:55 +1000)]
thread safety for the FT2 driver

10 years agoupdate MANIFEST for the T1 changes
Tony Cook [Sun, 9 Sep 2012 13:53:14 +0000 (23:53 +1000)]
update MANIFEST for the T1 changes

10 years agoupdate changes for T1
Tony Cook [Sun, 9 Sep 2012 04:58:54 +0000 (14:58 +1000)]
update changes for T1

10 years agoupdate changes
Tony Cook [Sun, 9 Sep 2012 04:30:46 +0000 (14:30 +1000)]
update changes

10 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

10 years agomatch error message strings to those from T1Lib
Tony Cook [Sun, 9 Sep 2012 04:21:36 +0000 (14:21 +1000)]
match error message strings to those from T1Lib

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

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

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

10 years agouse stdc malloc instead of mymalloc()
Tony Cook [Sun, 26 Aug 2012 03:24:15 +0000 (13:24 +1000)]
use stdc malloc instead of mymalloc()

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

10 years agoavoid re-entrancy into giflib using the mutex API
Tony Cook [Sat, 25 Aug 2012 03:03:58 +0000 (13:03 +1000)]
avoid re-entrancy into giflib using the mutex API