Commit Graph

3350 Commits

Author SHA1 Message Date
John Cupitt
a43b591e57 Merge pull request #212 from bgilbert/present
Drop dependency on Python "future" package
2014-12-27 09:43:53 +00:00
John Cupitt
b01dd59309 fix VipsBlob read
oops, forgot the .get()
2014-12-27 09:41:01 +00:00
Benjamin Gilbert
5ed7a24f0c Drop dependency on Python "future" package
It's not widely packaged in Linux distributions, and none of the VIPS
Python code requires Python 3 semantics from any of the builtins future
was replacing.
2014-12-26 21:10:55 -05:00
John Cupitt
01b409bdba soname bump
to reflect changes in vips8 API, see

https://github.com/jcupitt/libvips/issues/211
2014-12-26 16:53:11 +00:00
John Cupitt
366e7e3a5e add gobject to Requires: line
vips C and C++ programs can link directly against things in gobject
without appearing to, for example:

	a = VIPS_OBJECT( b );

the macro will expand to include a g_type_check_instance_is_a(). So we
have to have gobject-2.0 in the link line of things like:

	g++ -g -Wall hello8.cc `pkg-config vips-cpp --cflags --libs`

see also

	https://github.com/jcupitt/libvips/issues/196
2014-12-24 10:10:14 +00:00
John Cupitt
d5f101431b modernize overrides convention 2014-12-22 11:50:59 +00:00
John Cupitt
1b86de44f4 "make check" works uninstalled
and skips tests for missing features
2014-12-22 10:35:26 +00:00
John Cupitt
a560d3b8c2 more osx help 2014-12-20 22:25:19 +00:00
John Cupitt
39c2bf9291 more stuff for homebrew 2014-12-20 17:12:12 +00:00
John Cupitt
932a16b615 improvements to test to help osx 2014-12-20 16:17:44 +00:00
John Cupitt
da007b22e6 fix up introspect program
and test with --disable-introspection
2014-12-20 10:28:30 +00:00
John Cupitt
e5b55a9398 try more intro stuff 2014-12-19 17:07:21 +00:00
John Cupitt
cd00d07711 another go at fixing gtk-doc.make
discovery! it's copied to the DOCDIR
2014-12-19 09:47:28 +00:00
John Cupitt
ba6f8044af final doc fixups
and update cplusplus binding
2014-12-18 17:20:59 +00:00
John Cupitt
6e6cabb6e0 better pyvips8 notes 2014-12-18 10:25:42 +00:00
John Cupitt
abdd98409d add configure option for pyvips8
it tests for pygobject as well
2014-12-18 09:15:58 +00:00
John Cupitt
d454b9161e more tests 2014-12-17 21:34:47 +00:00
John Cupitt
dba587916e fix fastcor for non-uchar images
oops, forgot to scale lsk
2014-12-17 17:54:44 +00:00
John Cupitt
59b47f3900 better compt for old vips_gaussmat() code 2014-12-17 10:36:14 +00:00
John Cupitt
6e2135d8b5 mask builders take prec, not integer
vips_gaussmat() and vips_logmat() used to default to float, but
vips_conv() defaulted to int ... so this failed:

	vips gaussmat m.v 2 0.1 --separable
	vips convsep k2.jpg x.jpg m.v

since we were using a small float mask with an integer convolution

This change makes everything int by default, with gaussmat having a new
param called --precision whose arg can be int or float.

The old @integer param is deprecated.
2014-12-16 20:48:11 +00:00
John Cupitt
1f85ef7fbb more convsep tests 2014-12-16 14:58:21 +00:00
John Cupitt
d62bec6ecc bug in copy fallback
for bandmean, rank and bool on one band images.
2014-12-16 14:14:32 +00:00
John Cupitt
9b3351f73a vips_getpoint() frees input region sooner
we were leaving a region active after _build(), which caused problems later if
another operation triggered a rewind (for example)
2014-12-16 13:26:01 +00:00
John Cupitt
71bb0e81d1 better Vips.py install
more work on test_convolution
2014-12-15 18:12:47 +00:00
John Cupitt
649c0afb61 use vips_sum() in vips_compass() 2014-12-15 16:14:02 +00:00
John Cupitt
c95088c68e tiny polish 2014-12-15 11:57:35 +00:00
John Cupitt
b803b8f304 oops 2014-12-12 15:56:16 +00:00
John Cupitt
7f34722f9f update gtk-doc Makefile.am
"make check" now works in docs
2014-12-12 15:51:07 +00:00
John Cupitt
195fb15f5e test for missing "future" package
see https://github.com/jcupitt/libvips/issues/208

not sure why this fails silently without the extra try block
2014-12-12 15:21:58 +00:00
John Cupitt
a9109904c1 make check both py2 and py3 2014-12-12 14:50:31 +00:00
John Cupitt
b4b8b8bd96 use bytes() for VipsBlob in python3 2014-12-11 13:08:14 +00:00
John Cupitt
d5c164898e note 2014-12-11 09:33:12 +00:00
John Cupitt
a7a025707a fix default interpolator in similarity
was not defaulting correctly
2014-12-10 17:32:56 +00:00
John Cupitt
c3102b15bb add python3 support 2014-12-10 17:02:51 +00:00
John Cupitt
9866127e6a small cleanups 2014-12-10 15:31:22 +00:00
John Cupitt
7daa70ead3 add tiny demo prog 2014-12-10 15:03:33 +00:00
John Cupitt
069ff8982c zero out edge tile buffers before tiff jpeg write
see https://github.com/jcupitt/libvips/issues/204

thanks iwbh15
2014-12-10 09:41:31 +00:00
John Cupitt
9694cc8adb output ref_count in object summary
tiny Vips.py fix too
2014-12-10 09:23:51 +00:00
John Cupitt
64bdadadf2 expand tiff write res range
see

https://github.com/jcupitt/libvips/issues/206
2014-12-10 09:23:13 +00:00
John Cupitt
aa6c883434 ignore missing class methods in Vips.py
thanks Ben

see https://github.com/jcupitt/libvips/issues/199
2014-12-05 12:50:53 +00:00
John Cupitt
ecc0975667 arg another attempt to fix travis 2014-12-05 12:31:15 +00:00
John Cupitt
ae51bbd71d try to fix travis again 2014-12-04 23:03:25 +00:00
John Cupitt
76653e9e78 add notes to logs for @density 2014-12-04 21:47:46 +00:00
John Cupitt
31d3f714ca Merge pull request #200 from lovell/magickload-density
Expose 'density' attribute for magickload
2014-12-04 21:43:00 +00:00
John Cupitt
9f0032ac03 maybe this fixes travis 2014-12-04 21:40:38 +00:00
John Cupitt
9ae19ed727 quieter gobject-introspection scan
and make sure gtk-doc.make isn't a symlink
2014-12-04 17:43:41 +00:00
Lovell Fuller
14c8aa33fc Expose 'density' attribute for magickload
Allows control of vector format resolution
2014-12-04 17:01:06 +00:00
John Cupitt
f8cca8e59d load and save XMP metadata in tiff
see https://github.com/jcupitt/libvips/issues/198
2014-12-03 09:03:09 +00:00
John Cupitt
90b78fe9c6 remove -pthread from libs
we should get it from cflags, I think
2014-12-01 13:10:02 +00:00
John Cupitt
44122ea880 more .pc changes
see https://github.com/jcupitt/libvips/issues/196
2014-12-01 12:38:49 +00:00