]> git.imager.perl.org - imager.git/log
imager.git
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 [Sun, 26 Aug 2012 03:24:15 +0000 (13:24 +1000)]
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 [Sat, 25 Aug 2012 03:03:58 +0000 (13:03 +1000)]
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 [Sat, 25 Aug 2012 01:44:36 +0000 (11:44 +1000)]
add mutex functions to the API

13 years agoupdate manifest for missing files
Tony Cook [Fri, 17 Aug 2012 13:47:03 +0000 (23:47 +1000)]
update manifest for missing files

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

13 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

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

13 years agobump JPEG.pm version for iptc capture change
Tony Cook [Thu, 16 Aug 2012 09:50:05 +0000 (19:50 +1000)]
bump JPEG.pm version for iptc capture change

13 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

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

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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agorebuild Imager::APIRef
Tony Cook [Mon, 6 Aug 2012 01:58:47 +0000 (11:58 +1000)]
rebuild Imager::APIRef

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

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

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

13 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

13 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

13 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

13 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

13 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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

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

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

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

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

13 years ago0.92 release v0.92
Tony Cook [Tue, 14 Aug 2012 09:42:48 +0000 (19:42 +1000)]
0.92 release

13 years agoadd an unshipped test for checking sub-module versions are updated
Tony Cook [Tue, 14 Aug 2012 09:31:19 +0000 (19:31 +1000)]
add an unshipped test for checking sub-module versions are updated

13 years agoeliminate another unused impng.c variable
Tony Cook [Tue, 14 Aug 2012 09:30:33 +0000 (19:30 +1000)]
eliminate another unused impng.c variable

13 years agoallow building GIF/imgif.c on C89 compilers
Tony Cook [Mon, 13 Aug 2012 04:23:17 +0000 (14:23 +1000)]
allow building GIF/imgif.c on C89 compilers

13 years agofix a static vs extern function mismatch
Tony Cook [Sat, 11 Aug 2012 03:38:15 +0000 (13:38 +1000)]
fix a static vs extern function mismatch

13 years agoeliminate various unused variable warnings
Tony Cook [Mon, 13 Aug 2012 00:37:19 +0000 (10:37 +1000)]
eliminate various unused variable warnings

13 years agoremove various dangerous functions from the XS interface
Tony Cook [Mon, 6 Aug 2012 13:36:33 +0000 (23:36 +1000)]
remove various dangerous functions from the XS interface

They're either not needed or called automatically as needed

13 years agoinclude stdlib.h in the mandelbrot.c dynfilt for rand()
Tony Cook [Mon, 6 Aug 2012 13:37:39 +0000 (23:37 +1000)]
include stdlib.h in the mandelbrot.c dynfilt for rand()

13 years agoi_init_tt() has only been used internally to font.c, make it static
Tony Cook [Mon, 6 Aug 2012 01:45:38 +0000 (11:45 +1000)]
i_init_tt() has only been used internally to font.c, make it static

13 years agoallow JPEG/imexif.c to build on C89 compilers
Tony Cook [Sat, 28 Jul 2012 08:08:43 +0000 (18:08 +1000)]
allow JPEG/imexif.c to build on C89 compilers

13 years agoadd a recipe to the cookbook
Tony Cook [Fri, 13 Jul 2012 09:53:44 +0000 (19:53 +1000)]
add a recipe to the cookbook

it's been a while, and the intuition was interesting

13 years agochange notes for giflib 4.2 support
Tony Cook [Thu, 12 Jul 2012 14:24:09 +0000 (00:24 +1000)]
change notes for giflib 4.2 support

13 years agosupport giflib 4.2
Tony Cook [Thu, 12 Jul 2012 14:23:53 +0000 (00:23 +1000)]
support giflib 4.2

4.2 eliminated the GIF_LIB_VERSION macro.

13 years ago0.91 release v0.91
Tony Cook [Mon, 4 Jun 2012 12:23:01 +0000 (22:23 +1000)]
0.91 release

13 years agochange notes for recent changes
Tony Cook [Mon, 4 Jun 2012 10:30:42 +0000 (20:30 +1000)]
change notes for recent changes

13 years ago[rt.cpan.org #68910] write a brief security overview
Tony Cook [Mon, 4 Jun 2012 10:30:20 +0000 (20:30 +1000)]
[rt.cpan.org #68910] write a brief security overview

13 years agoadded the check_file_limits() method to Imager
Tony Cook [Mon, 4 Jun 2012 10:00:15 +0000 (20:00 +1000)]
added the check_file_limits() method to Imager

This exposes the i_int_check_image_file_limits() API.

Since I'd expected people to be able to write file handlers in perl,
such authors need access to the file size limit checking mechanism.

13 years agoset_file_limits(reset => 1) now resets to defaults, not zero.
Tony Cook [Mon, 4 Jun 2012 09:58:24 +0000 (19:58 +1000)]
set_file_limits(reset => 1) now resets to defaults, not zero.

Previously reset would set max_bytes to 0 (unlimited), it now
sets max_bytes to it's default of 2**30.

13 years agoadjust the test error messages to match the new module load errors
Tony Cook [Sat, 26 May 2012 02:33:49 +0000 (12:33 +1000)]
adjust the test error messages to match the new module load errors

13 years ago[rt #77063] improve rotate(degrees => ...) results.
Tony Cook [Sat, 26 May 2012 02:32:53 +0000 (12:32 +1000)]
[rt #77063] improve rotate(degrees => ...) results.

13 years ago[rt #77173] improve error reporting on an API version mismatch
Tony Cook [Thu, 24 May 2012 09:09:41 +0000 (19:09 +1000)]
[rt #77173] improve error reporting on an API version mismatch

13 years agoelimintate IIM_new and IIM_DESTROY from Imager's internals
Tony Cook [Fri, 11 May 2012 12:28:50 +0000 (22:28 +1000)]
elimintate IIM_new and IIM_DESTROY from Imager's internals

They only matter for XS

13 years agoyes 0.90 has been released
Tony Cook [Fri, 11 May 2012 11:52:32 +0000 (21:52 +1000)]
yes 0.90 has been released

13 years ago0.90 release v0.90
Tony Cook [Mon, 30 Apr 2012 09:02:56 +0000 (19:02 +1000)]
0.90 release

13 years agoupdate PNG Changes/.pm for release
Tony Cook [Mon, 30 Apr 2012 09:00:04 +0000 (19:00 +1000)]
update PNG Changes/.pm for release

13 years agoMerge branch 'png'
Tony Cook [Sun, 29 Apr 2012 04:54:18 +0000 (14:54 +1000)]
Merge branch 'png'

13 years agoPNG re-work: prepare for merge
Tony Cook [Sun, 29 Apr 2012 04:53:35 +0000 (14:53 +1000)]
PNG re-work: prepare for merge

13 years agoPNG re-work: finish up the tag documentation
Tony Cook [Sun, 29 Apr 2012 03:11:32 +0000 (13:11 +1000)]
PNG re-work: finish up the tag documentation

13 years agoPNG re-work: start documenting new tags
Tony Cook [Mon, 23 Apr 2012 05:18:08 +0000 (15:18 +1000)]
PNG re-work: start documenting new tags

13 years agoPNG re-work: saving imager tags as PNG chunks
Tony Cook [Fri, 20 Apr 2012 10:15:25 +0000 (20:15 +1000)]
PNG re-work: saving imager tags as PNG chunks

13 years agoPNG re-work: fix line length calculations for pngdump.pl
Tony Cook [Fri, 20 Apr 2012 10:14:51 +0000 (20:14 +1000)]
PNG re-work: fix line length calculations for pngdump.pl

13 years agoPNG re-work: process the bKGD chunk into an i_background tag
Tony Cook [Mon, 16 Apr 2012 09:05:53 +0000 (19:05 +1000)]
PNG re-work: process the bKGD chunk into an i_background tag

13 years agoPNG re-work: test tags from PNG reads and re-work a little
Tony Cook [Sun, 15 Apr 2012 04:50:52 +0000 (14:50 +1000)]
PNG re-work: test tags from PNG reads and re-work a little

libpng synthesizes gAMA and cHRM chunks on input when sRGB is present,
so ignore them if sRGB is present.

No longer generate a png_text tag when the keyword is recognized.

Added png_time

13 years agoPNG re-work: ignore some build and test detritus for the PNG manifest
Tony Cook [Sun, 15 Apr 2012 04:48:07 +0000 (14:48 +1000)]
PNG re-work: ignore some build and test detritus for the PNG manifest

13 years agoPNG re-work: update pngdump.pl to dump IDAT data
Tony Cook [Sun, 15 Apr 2012 04:47:14 +0000 (14:47 +1000)]
PNG re-work: update pngdump.pl to dump IDAT data

13 years agoPNG re-work: avoid the comment in qw() warning
Tony Cook [Sun, 15 Apr 2012 04:46:49 +0000 (14:46 +1000)]
PNG re-work: avoid the comment in qw() warning

13 years agoPNG re-work: update Changes for the most recent changes
Tony Cook [Sun, 15 Apr 2012 03:26:13 +0000 (13:26 +1000)]
PNG re-work: update Changes for the most recent changes

13 years agoPNG-rework: forward png flush output through to i_io_flush()
Tony Cook [Sun, 15 Apr 2012 03:20:19 +0000 (13:20 +1000)]
PNG-rework: forward png flush output through to i_io_flush()

13 years agoPNG re-work: support writing 16-bit/sample images
Tony Cook [Sat, 14 Apr 2012 02:52:22 +0000 (12:52 +1000)]
PNG re-work: support writing 16-bit/sample images

13 years agoPNG re-work: handle writing bilevel files
Tony Cook [Thu, 12 Apr 2012 12:55:45 +0000 (22:55 +1000)]
PNG re-work: handle writing bilevel files

13 years agoPNG re-work: paletted file writes
Tony Cook [Thu, 12 Apr 2012 09:55:56 +0000 (19:55 +1000)]
PNG re-work: paletted file writes

13 years agoPNG re-work: split out write handling
Tony Cook [Tue, 10 Apr 2012 08:32:59 +0000 (18:32 +1000)]
PNG re-work: split out write handling

13 years agoPNG re-work: collect more text tags
Tony Cook [Mon, 9 Apr 2012 11:03:42 +0000 (21:03 +1000)]
PNG re-work: collect more text tags

13 years agoPNG re-work: remove unused variables
Tony Cook [Mon, 9 Apr 2012 11:03:22 +0000 (21:03 +1000)]
PNG re-work: remove unused variables