Commit Graph

3914 Commits

Author SHA1 Message Date
John Cupitt
3b34308e6d only allow [] to enclose options
we could pick up ( ) too easily before

see https://github.com/jcupitt/libvips/issues/342
2015-10-26 13:59:55 +00:00
John Cupitt
9cad049051 notes 2015-10-26 11:06:57 +00:00
John Cupitt
5160010eda add vips_array_image_empty()/_append()
to help bindings without init from array
2015-10-25 17:15:45 +00:00
John Cupitt
36617bd2e4 added vips_blob_copy()
helps ruby-vips8
2015-10-24 11:12:08 +01:00
John Cupitt
2b46b7e889 many more const decls
ruby gobject-introspection is quite fussy about needing a lot of const
declarations ... these changes help vips_image_matrix_from_array()
appear in Ruby
2015-10-23 11:45:11 +01:00
John Cupitt
649c30018e add more links to README 2015-10-23 09:45:20 +01:00
John Cupitt
64d081e726 return default value for unset props
we used to issue a warning and return early, but this can leave garbage
in the *value pointer, I think

ruby gobject-introspection will walk object props during GC and can see
state inbetween init and build when not all objects have been given a
value ... we don't want these warnings
2015-10-16 14:50:44 +01:00
John Cupitt
faf7b70e2e Merge branch '8.1'
Conflicts:
	ChangeLog
2015-10-14 13:04:36 +01:00
John Cupitt
4b25ce2cf2 note pathname parse fix 2015-10-14 13:00:41 +01:00
John Cupitt
4d95f4512c Merge branch '8.1'
Conflicts:
	ChangeLog
	configure.ac
	doc/libvips-docs.xml
2015-10-13 14:47:37 +01:00
John Cupitt
9a4d82653c ignore ':' in col 1 of vips7 paths
oh argh, we were mangling windows paths

see https://github.com/jcupitt/build-win32/issues/11
2015-10-13 14:21:17 +01:00
John Cupitt
368a74abcd better vips7 filename splitting
helps windows, see https://github.com/jcupitt/build-win32/issues/11

also add some tests
2015-10-13 10:29:53 +01:00
John Cupitt
2b2ac1b077 rename vips-8.0 as vips-8.1
also bump configure version

thanks Danilo!
2015-10-13 08:55:54 +01:00
John Cupitt
b1cd4d1124 add doc note for operation.new
since language bindings use it
2015-10-13 07:28:58 +01:00
John Cupitt
ceb1b96d06 note that quadratic is unfinished 2015-10-08 17:40:37 +01:00
John Cupitt
3e16302701 bump version to 8.2 for the next cycle 2015-10-07 14:55:28 +01:00
John Cupitt
b8a28f1a8d add vips7 wrapper for magickload_buffer
see https://github.com/jcupitt/ruby-vips/issues/69
2015-10-07 14:48:32 +01:00
John Cupitt
a7766b28b3 improve py docs 2015-10-07 12:20:22 +01:00
John Cupitt
2b2bf30fbd oops, update cpp binding 2015-10-06 22:45:37 +01:00
John Cupitt
db291daf81 two small fixes for dzsave
fix a tiny leak, fix coloured @background
2015-10-06 13:30:25 +01:00
John Cupitt
8f4dfa5cb6 Merge pull request #335 from PolarNick239/patch-1
acinlude.m4: python3 compatible print
2015-10-05 08:38:44 +01:00
Nickolay Polyarniy
b28c530979 acinlude.m4: python3 compatible print
Python3 and python2 compatible print call in configure script.
2015-10-05 01:55:58 +03:00
John Cupitt
f1802ade84 fix a segv with small images and tiff pyr
images smaller than a tile would crash the tiff writer in pyramid mode

see https://github.com/jcupitt/libvips/issues/333
2015-10-02 15:44:18 +01:00
John Cupitt
a67c1d6d57 final tweak for coverity 2015-09-30 14:42:53 +01:00
John Cupitt
864dfbf7aa more small coverity fixes 2015-09-30 13:42:42 +01:00
John Cupitt
d3351c77a3 revert a test change for coverity 2015-09-30 11:47:10 +01:00
John Cupitt
e6a8485d70 oops 2015-09-30 11:37:42 +01:00
John Cupitt
67a45a3749 more small coverity tweaks 2015-09-30 11:11:11 +01:00
John Cupitt
2a82286dad more oopses from coverity 2015-09-30 10:08:36 +01:00
John Cupitt
d88dd1ab72 fix a few coverity issues
a couple of minor bugs, and a lot of warnings
2015-09-30 09:54:50 +01:00
John Cupitt
3b75d90174 copy photoshop data in tiff load/save
well, try anyway, it might work

see https://github.com/jcupitt/libvips/issues/332
2015-09-29 18:02:30 +01:00
John Cupitt
3889dcc3e2 make tiff load and save IPCT data
we did XMP already, but add IPCT as well

see https://github.com/jcupitt/libvips/issues/332
2015-09-29 17:41:11 +01:00
John Cupitt
e62df8c573 fix more cppcheck warnings
cppcheck now passes, with a few false positives

see https://github.com/jcupitt/libvips/issues/331
2015-09-29 09:23:01 +01:00
John Cupitt
01025328da fix some cppcheck warnings
try:

$ cppcheck -f --enable=warning,performance,portability -j4 . 2> err.txt

there are still some left, see:

see https://github.com/jcupitt/libvips/issues/331
2015-09-28 22:01:15 +01:00
John Cupitt
3207cca96c make python use a logging domain
the python binding now makes it's own logger, gi.overrides.Vips. This
makes Vips play nicely with larger programs which also use logging.

See;

https://github.com/jcupitt/libvips/issues/330
2015-09-26 12:03:20 +01:00
John Cupitt
ec0e74e1a7 better vips7 filename option parsing
we failed to remove :options from filenames which had no file type extension
2015-09-21 14:44:00 +01:00
John Cupitt
956e2f5cdf tiny cleanups
see https://github.com/jcupitt/libvips/pull/327

- small layout changes
- rename @linespacing as @spacing
- add ChangeLog notes and gtk-doc notes
- fix text arg priority
2015-09-20 11:08:44 +01:00
John Cupitt
1cdeefe955 Merge pull request #327 from leiyangyou/master
create/text: adding linespacing support
2015-09-20 10:54:12 +01:00
Lei Yang
13fad7a264 create/text: adding linespacing support 2015-09-18 22:01:18 +08:00
John Cupitt
96796d3202 Merge branch 'fix-dzsave-overlap' 2015-09-10 14:08:42 +01:00
John Cupitt
82b4f2037b add some dzsave tests
does not test all options yet though
2015-09-10 14:07:48 +01:00
John Cupitt
af472b1237 oops 2015-09-09 17:29:01 +01:00
John Cupitt
f1c34932b6 working, at least with bug case
working, at least with robclouth test case

see

https://github.com/jcupitt/libvips/issues/326#issuecomment-138888981
2015-09-09 17:27:19 +01:00
John Cupitt
6ec2364f84 TODO note 2015-09-09 16:08:03 +01:00
John Cupitt
3d0108c3bd almost done fixing dzsave
see

https://github.com/jcupitt/libvips/issues/326

see TODO, problem with bottom edge tiles
2015-09-09 14:53:10 +01:00
John Cupitt
75a0b5b789 add vips_entropy()
calculates image entropy from a histogram
2015-08-11 14:00:43 +01:00
John Cupitt
35232e751d make log/log10 zero-avoiding
stops -inf appearing in images
2015-08-11 13:59:11 +01:00
John Cupitt
b3085f9f09 Merge branch 'master' of github.com:jcupitt/libvips 2015-07-30 11:34:12 +01:00
John Cupitt
63d61416e4 warn if autorot + no exif
warn if you use the --rotate option to vipsthumbnail but vips has been
built without libexif

see https://github.com/jcupitt/libvips/issues/319
2015-07-30 11:32:53 +01:00
John Cupitt
af4300ed8a fix Python new_from_array()
under some circumstances it could modify the passed-in array, now it
copies
2015-07-27 15:34:19 +01:00