Commit Graph

4622 Commits

Author SHA1 Message Date
John Cupitt 8626206278 better error message for colourspace 2016-10-26 09:49:12 +01:00
John Cupitt ccee816bef bump min pygobject version
apparently 3.12 is no longer enough :(

see

https://github.com/jcupitt/libvips/issues/199
2016-10-24 17:57:21 +01:00
John Cupitt b12d5f8205 comment typo 2016-10-21 12:32:04 +01:00
John Cupitt ca7b51fb9e revise header get/set
rework header.c

- built-in enum fields, like "interpretation" are handled as enums, not
  ints
- vips_image_get_*() functions always convert to the target type if they
  can
- rename "field" to "name" in the docs
- clarify docs
2016-10-20 12:41:32 +01:00
John Cupitt 0518e290f6 bump svg header test to first 300 bytes
to allow for longer comment lines
2016-10-20 09:31:35 +01:00
John Cupitt d9c335fd91 Merge pull request #543 from lovell/svg-buffer-is-buffer-illustrator
Increase SVG buffer check length by 50 bytes
2016-10-19 22:35:21 +01:00
Lovell Fuller de6a415832 Increase SVG buffer check length by 50 bytes
Provides support for files exported by Illustrator
2016-10-19 21:40:25 +01:00
John Cupitt 26a534eeac count threads for leak test
see https://github.com/jcupitt/libvips/issues/542
2016-10-19 10:52:18 +01:00
John Cupitt 9f97d7b4ff fix out of threads crash
we crashed if thread create failed, see

https://github.com/jcupitt/libvips/issues/542
2016-10-19 09:59:12 +01:00
John Cupitt 1a915db678 no longer need to clean up main buffers
thread-private buffers are now only on workers, no need to to start them
up or free them on the main thread
2016-10-19 09:58:13 +01:00
John Cupitt 75dee18848 Merge branch '8.4' 2016-10-18 14:23:22 +01:00
John Cupitt d785e56372 fix error detection from DGifCloseFile()
we were not testing the return from `DGifCloseFile()` against `GIF_ERROR`,
causing spurious error reports

see https://github.com/jcupitt/libvips/issues/541
2016-10-18 14:09:18 +01:00
John Cupitt ebecede462 fix doc typo 2016-10-18 12:48:47 +01:00
John Cupitt fb1ff126f4 Merge pull request #540 from lovell/declspec-by-reference-ordering
cplusplus - move assignment operators outside class, enables DLL exporting
2016-10-16 09:51:44 +01:00
Lovell Fuller e1aef0445b MSVC requires __declspec first for return by reference
Ensure consistent modifier order across all exported functions
Move assignment operators to be "outside" definitions to aid export
2016-10-15 22:02:24 +01:00
John Cupitt 156b0433d5 add dzsave_buffer
zip only ... see https://github.com/jcupitt/libvips/issues/415
2016-10-15 19:01:34 +01:00
John Cupitt c90b8be0b8 add tiffsave_buffer
add tests

also some cleanups to foreign include files

see https://github.com/jcupitt/libvips/issues/417
2016-10-15 12:29:14 +01:00
John Cupitt 6d1d6fd16c oops 2016-10-14 09:31:12 +01:00
John Cupitt ded6f17fa8 fix up new buffer.c
and make getpoint() use the threading system
2016-10-14 09:00:21 +01:00
John Cupitt b4d6d6c590 compiles, but untested 2016-10-13 14:57:18 +01:00
John Cupitt c5c3d48da7 version bump for new cycle 2016-10-13 11:43:46 +01:00
John Cupitt 6a6c8cc5dd notes 2016-10-12 17:43:25 +01:00
John Cupitt 105c396de5 argh revert that
seem to all work now, but buffer.c is getting ugly ... revise for 8.5
2016-10-12 16:40:06 +01:00
John Cupitt cf98b92dbf more tiny buffer fixups 2016-10-12 12:46:27 +01:00
John Cupitt 463d2e885f a bit more debugging code in buffer.c
watch global buffercache
2016-10-12 12:07:09 +01:00
John Cupitt c87991c9f0 notes 2016-10-12 10:32:28 +01:00
John Cupitt d042b0e88a Merge branch 'master' into fix-threadshutdown-race 2016-10-11 14:13:23 +01:00
John Cupitt bc0bde85cb remove a couple of statics
g_once() is fast enough
2016-10-11 14:12:45 +01:00
John Cupitt 7883e30d68 group all non-worker buffers
have a single place to keep all non-worker buffers, and guard it with a
lock
2016-10-11 10:47:01 +01:00
John Cupitt ccfe4cb215 seems to work?
needs stress testing still

see https://github.com/jcupitt/libvips/issues/535
2016-10-10 15:12:12 +01:00
John Cupitt 524c395f01 tiny doc fixes 2016-10-07 13:31:06 +01:00
John Cupitt ee0499af1f tiny typos 2016-10-04 15:58:03 +01:00
John Cupitt dff0960e5f fix error message for metadata get
if the type of the metadata item didn't match theh gtype you were
fetching to, the error message was wrong
2016-09-30 08:54:46 +01:00
John Cupitt db90f9f271 tiny conv improvements
- we were still using the im_aconv() wrapper, oops
- add gate and pixel count markup
2016-09-30 07:37:57 +01:00
John Cupitt b559a4dc00 more doc fixes 2016-09-27 12:29:18 +01:00
John Cupitt 246089dc82 bump version 2016-09-27 11:23:57 +01:00
John Cupitt 35892fa93c docs polishing
see https://github.com/jcupitt/ruby-vips/issues/90
2016-09-27 07:53:33 +01:00
John Cupitt 1cc3b2bd5d final tweaks for 8.4 release 2016-09-23 12:26:12 +01:00
John Cupitt 5b31408fd3 note on use of new_from_memory_copy
for py docs

see https://github.com/jcupitt/libvips/issues/346#issuecomment-248536958
2016-09-21 10:50:53 +01:00
John Cupitt eb91dda83c simplify eval handling
put the "hide-progress" test into the signal dispatch
2016-09-19 17:40:35 +01:00
John Cupitt 74089aa2e4 call _setmaxstdio() on win32
Windows has a limit of 512 files open at once for the fopen()
family of functions, and 2048 for the _open() family.

Call _setmaxstdio() in vips_init() to try to raise the stdio level to
match _open().

See https://github.com/jcupitt/libvips/issues/527
2016-09-18 12:46:19 +01:00
John Cupitt c88fa5ac73 openexr read outputs scRGB 2016-09-17 10:08:13 +01:00
John Cupitt 3b3d4f401f oh heh revert 2016-09-16 11:32:00 +01:00
John Cupitt 71bcc526b0 try Vips.py with tabs 2016-09-16 11:24:04 +01:00
John Cupitt 5b64db0aa0 revise example 2016-09-15 13:18:36 +01:00
John Cupitt a99b4cc23e argh stupid unicode 2016-09-14 14:31:38 +01:00
John Cupitt 4958adfb66 strange 2016-09-14 14:06:13 +01:00
John Cupitt 48edc5fec1 iupdate libtool version number 2016-09-14 14:02:56 +01:00
John Cupitt fd9c598584 make marble tesselate 2016-09-14 11:19:48 +01:00
John Cupitt 3723df0607 add marble example to whatsnew 2016-09-14 09:48:36 +01:00