]> git.imager.perl.org - imager.git/log
imager.git
12 years agomore i_fatal
Tony Cook [Mon, 13 Aug 2012 08:18:17 +0000 (18:18 +1000)]
more i_fatal

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 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 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 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 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 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 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 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 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 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 agorebuild Imager::APIRef
Tony Cook [Mon, 6 Aug 2012 01:58:47 +0000 (11:58 +1000)]
rebuild Imager::APIRef

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

12 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

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

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 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 agore-work the context macros
Tony Cook [Mon, 6 Aug 2012 01:48:23 +0000 (11:48 +1000)]
re-work the context macros

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

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

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

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

12 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

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

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

12 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

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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoPNG re-work: test results of new and old read handlers
Tony Cook [Mon, 9 Apr 2012 11:02:39 +0000 (21:02 +1000)]
PNG re-work: test results of new and old read handlers

12 years agoPNG re-work: expand the pngdump.pl tool a bit
Tony Cook [Mon, 9 Apr 2012 04:59:49 +0000 (14:59 +1000)]
PNG re-work: expand the pngdump.pl tool a bit

12 years agoPNG re-work: add more test images and fix the PNG/ MANIFEST
Tony Cook [Mon, 9 Apr 2012 02:58:43 +0000 (12:58 +1000)]
PNG re-work: add more test images and fix the PNG/ MANIFEST

12 years agoPNG re-work: change note for the previous + some TODO
Tony Cook [Mon, 9 Apr 2012 02:49:11 +0000 (12:49 +1000)]
PNG re-work: change note for the previous + some TODO

12 years agoPNG re-work: read 16-bit PNG as 16-bit
Tony Cook [Fri, 6 Apr 2012 13:18:45 +0000 (23:18 +1000)]
PNG re-work: read 16-bit PNG as 16-bit

12 years agoPNG re-work: read 1 bit grey images as the common internal bilevel format
Tony Cook [Fri, 6 Apr 2012 07:30:39 +0000 (17:30 +1000)]
PNG re-work: read 1 bit grey images as the common internal bilevel format

which is really paletted

12 years agoPNG re-work: implement paletted read
Tony Cook [Fri, 6 Apr 2012 05:13:20 +0000 (15:13 +1000)]
PNG re-work: implement paletted read

12 years agoPNG re-work: remove obsolete comment and the associated unused code
Tony Cook [Mon, 2 Apr 2012 11:53:16 +0000 (21:53 +1000)]
PNG re-work: remove obsolete comment and the associated unused code

This appears to have been copied from libpng's example.c

12 years agoPNG re-work: remove direct image access
Tony Cook [Mon, 2 Apr 2012 11:49:37 +0000 (21:49 +1000)]
PNG re-work: remove direct image access

the PNG driver has long directly accessed Imager idata data
directly, which is invalid.

I may change the internal format of the data in the future for simpler
MMX/SSE implementation.

12 years agoPNG re-work: simple structural dump script for PNG files
Tony Cook [Mon, 2 Apr 2012 11:32:03 +0000 (21:32 +1000)]
PNG re-work: simple structural dump script for PNG files

12 years agoWIP PNG re-work
Tony Cook [Sat, 12 Nov 2011 05:38:41 +0000 (16:38 +1100)]
WIP PNG re-work

12 years agoPNG re-work: save png_bits and png_interlace tags
Tony Cook [Mon, 7 Nov 2011 09:11:18 +0000 (20:11 +1100)]
PNG re-work: save png_bits and png_interlace tags

12 years agoPNG re-work: add more image type TODO tests
Tony Cook [Wed, 2 Nov 2011 11:58:53 +0000 (22:58 +1100)]
PNG re-work: add more image type TODO tests

12 years agoPNG re-work: simple tests for reading various images types
Tony Cook [Tue, 14 Jun 2011 13:49:51 +0000 (23:49 +1000)]
PNG re-work: simple tests for reading various images types

including TODOs for paletted checks

12 years agoPNG re-work: test size limit handling of very wide or tall PNG images
Tony Cook [Tue, 14 Jun 2011 13:34:47 +0000 (23:34 +1000)]
PNG re-work: test size limit handling of very wide or tall PNG images

12 years agoPNG re-work: provide perl level access to the libpng version number
Tony Cook [Tue, 14 Jun 2011 13:34:11 +0000 (23:34 +1000)]
PNG re-work: provide perl level access to the libpng version number

12 years agoPNG re-work: improve error reporting for PNG read/write
Tony Cook [Sat, 11 Jun 2011 03:55:07 +0000 (13:55 +1000)]
PNG re-work: improve error reporting for PNG read/write