Commit Graph

3594 Commits

Author SHA1 Message Date
John Cupitt f38c3956af better test of C++ API 2015-05-05 09:10:08 +01:00
John Cupitt db4ee8d6b6 fix a ref leak in the C++ API
see https://github.com/jcupitt/libvips/issues/290

thanks huskier

added a write-to-buffer example as well
2015-05-04 19:44:56 +01:00
John Cupitt dbdcf91171 remove some stray decls
see https://github.com/jcupitt/libvips/issues/288

version bump as well
2015-05-04 19:41:08 +01:00
John Cupitt bfeeb3eb27 better leak reporting
Vips::print_all now shows VipsArea leaks as well
2015-05-01 16:42:23 +01:00
John Cupitt 728f5a0401 add more paths to wrapper script 2015-04-30 09:13:33 +01:00
John Cupitt bb7cbfde8d fix the draw example 2015-04-28 12:13:22 +01:00
John Cupitt 4e96db4216 try to get C++ examples highlighted
looks like gtk-doc only supports C highlighting looking at the sources
... still, get the language= tags to match what source-highlight expects
2015-04-27 17:40:33 +01:00
John Cupitt 51c85b7450 more gtk-doc fixes 2015-04-27 13:16:31 +01:00
John Cupitt f5a77dd80d start some notes on threading 2015-04-27 10:57:27 +01:00
John Cupitt ffdd9ff851 init glib langs on startup
works around a crash under heavy load, see

https://github.com/openslide/openslide/issues/161
2015-04-26 10:30:39 +01:00
John Cupitt 6c6d0d6b78 fix some compiler warnings 2015-04-25 17:39:16 +01:00
John Cupitt 12269a9a5e oops dropped one 2015-04-24 15:03:46 +01:00
John Cupitt 2f060c494d fix up translations 2015-04-24 15:03:09 +01:00
John Cupitt d484161c05 bump libtool version number 2015-04-24 14:07:35 +01:00
John Cupitt a00db6c8f1 doc cleanups 2015-04-24 12:49:50 +01:00
John Cupitt 599bc0d75c fix missing lib detect in tests 2015-04-24 10:51:01 +01:00
John Cupitt ad017dc56f add more C++ convenience functions
flipver() etc.
2015-04-24 10:10:44 +01:00
John Cupitt 3bad0528be tiny doc polish 2015-04-24 09:39:55 +01:00
John Cupitt 42efce5c66 fix various typos
thanks dg1727

see https://github.com/jcupitt/libvips/issues/277
2015-04-21 18:39:02 +01:00
John Cupitt 7ded77cd4d add a note on cli chaining 2015-04-21 16:41:03 +01:00
John Cupitt e0a5d28100 add vips_vipsload() vips_vipssave() to C API
we didn't have these in the C API before, for some reason
2015-04-21 14:29:44 +01:00
John Cupitt 3cc408fd1e hide benign message from gettextize 2015-04-20 16:54:45 +01:00
John Cupitt 7495690cd6 remove vips__image_sizeof_bandformat
we had main API macros which used an array behind the scenes,
vips__image_sizeof_bandformat[]. Swap this for a function,
vips_format_sizeof(), to help DLLs.

the array symbol is still there for compatibility
2015-04-20 14:18:17 +01:00
John Cupitt 46259f934f fix description on LabQ2sRGB
thanks dg1727

see https://github.com/jcupitt/libvips/issues/272
2015-04-20 13:03:15 +01:00
John Cupitt ef3f588b37 fix caps inconsistency 2015-04-20 09:53:13 +01:00
John Cupitt 100ae155e1 remove deprecated stuff from vips help
make the vips command-line interface no longer show any of the
deprecated vips7 interface in help

see https://github.com/jcupitt/libvips/issues/269
2015-04-20 09:47:44 +01:00
John Cupitt fcb348db64 notes on recent changes 2015-04-19 13:15:24 +01:00
John Cupitt 88a9ebd74a Merge branch 'master' of github.com:jcupitt/libvips 2015-04-19 12:31:48 +01:00
John Cupitt 24084aed85 Merge branch 'add-copy-to-memory' 2015-04-19 11:13:15 +01:00
John Cupitt 54c37e7e0d add copy-to-memory
try to make a threadsafe vips_image_wio_input()
2015-04-19 09:45:20 +01:00
John Cupitt cb7d6ec0bf Merge pull request #262 from lovell/jpeg-extension-parameters
Expose JPEG extension parameters. Support trellis quantisation, deringing and scan optimisation.
2015-04-18 23:45:54 +01:00
John Cupitt 04feec359f rewind images after write
after sinkdisc or sinkmemory, we need to rewind the image we wrote to so
that subsequent reads get the written image and don't regenerate it
2015-04-18 17:46:29 +01:00
John Cupitt 0ac29f0b0b Merge pull request #264 from lovell/magick-destroy-exception-guard
Ensure expected signature in ExceptionInfo before destroy
2015-04-18 16:40:51 +01:00
John Cupitt a5a3b062fc support saving 1 and 2 band images to webp
see https://github.com/jcupitt/libvips/issues/267

libwebp does not supportG and GA images

make a new SAVEABLE type for savers which only do RGB and RGBA
2015-04-17 16:59:28 +01:00
John Cupitt a0aacad871 much better convert to greyscale
mix RGB channels as .2, .7, .1 in linear light

see https://github.com/jcupitt/libvips/issues/266
2015-04-17 11:33:27 +01:00
John Cupitt 011b77b61b update build system files 2015-04-17 11:33:05 +01:00
John Cupitt 995137605a oops, swap abs() for fabs()
thank you clang
2015-04-17 11:32:31 +01:00
Lovell Fuller e4326fc9ad Ensure expected signature in ExceptionInfo before destroy
GraphicsMagick asserts this in DestroyExceptionInfo

read_free is called multiple times since fc5a4a9
2015-04-15 20:05:19 +01:00
John Cupitt d8ea72895a fix compiler warning 2015-04-15 08:56:12 +01:00
John Cupitt 9958d2b821 argh travis 2015-04-14 22:54:16 +01:00
John Cupitt bc62d47424 Merge pull request #263 from lovell/openslide-associated-leak
Fix small memory leak in openslide loader
2015-04-14 21:03:54 +01:00
Lovell Fuller 00e27def8e Expose new/forthcoming features of mozjpeg/libjpeg-turbo
Runtime detection via JPEG extension parameters
Compile-time detection via J_BOOLEAN_PARAM of jpeglib.h
2015-04-14 20:24:31 +01:00
Lovell Fuller 3611d0f9df Fix small memory leak in openslide loader
vips_image_set_string takes a copy of the string
2015-04-14 20:24:02 +01:00
John Cupitt da7250badb oop, put goi back for travis 2015-04-14 16:54:51 +01:00
John Cupitt 0fd6754fc4 give up on travis testing
it's just too painful to get travis up to date enough to run the full vips
test suite
2015-04-14 13:42:36 +01:00
John Cupitt f2970c81fc travis 2015-04-14 13:24:18 +01:00
John Cupitt e9707bcafd better cache trace 2015-04-14 13:18:37 +01:00
John Cupitt c1900dccd4 travis 2015-04-14 13:14:42 +01:00
John Cupitt 37df2fcbf9 travis 2015-04-14 13:01:30 +01:00
John Cupitt 6a70ac0b24 travis 2015-04-14 12:40:18 +01:00