Lovell Fuller
66e3c81fe7
Ensure VImage::set uses class to determine type
...
Prevents null GType and associated segfault
2020-09-13 19:53:19 +01:00
John Cupitt
4073f8082b
more small doc tweaks
2020-09-09 13:52:38 +01:00
John Cupitt
c501e024dc
integrate new C++ docs in main docs
2020-09-09 12:49:48 +01:00
John Cupitt
875c0fdf3c
finish C++ doc comments
2020-09-09 11:13:22 +01:00
John Cupitt
a08eb1cc64
don't add generated latex to repo
2020-09-09 08:56:26 +01:00
John Cupitt
801111a2fa
better dint rules
...
We had some special cases coded for dhint inheritance, but they could
fail in some edge cases. Revert to something simpler and more
predictable.
see https://github.com/libvips/libvips/issues/1810
2020-09-08 13:50:14 +01:00
John Cupitt
6357fd5651
more C++ docs
2020-09-07 19:26:51 +01:00
John Cupitt
3fcaf1ea06
add some more C++ docs
2020-09-07 18:02:50 +01:00
John Cupitt
b42f72cd56
add a README.md for cpp
2020-09-06 17:47:46 +01:00
John Cupitt
e0bc345aef
revise doxy flags to configure
2020-09-06 16:10:55 +01:00
John Cupitt
1864729771
Merge branch 'add-doxygen'
2020-09-06 14:03:29 +01:00
John Cupitt
17c16c0bb6
Merge branch '8.10'
2020-09-06 13:02:34 +01:00
John Cupitt
6b2079bfd3
update magick metadata naming
...
IM seem to have changed their rules for naming metadata chunks. They are
now lowercase and ICM is renamed to ICC. Add a simple test too.
See https://github.com/libvips/ruby-vips/issues/246
2020-09-06 12:59:10 +01:00
John Cupitt
8bdc327320
Merge branch '8.10'
2020-09-04 17:12:45 +01:00
John Cupitt
00096813da
note render thread change in changelog
2020-09-04 12:41:19 +01:00
John Cupitt
610eea5462
Merge branch '8.10'
2020-09-03 19:33:09 +01:00
John Cupitt
a88061dfec
fix jpegload autorotate
...
thanks chregu
see https://github.com/libvips/php-vips/issues/105
2020-09-03 19:31:56 +01:00
John Cupitt
55d5837f0c
Merge branch '8.10'
2020-09-01 12:38:58 +01:00
John Cupitt
20a5448da1
fix handling of "squash" param in tiffsave
...
the deprecated param was not being detected correctly, breaking vips7
compat in some cases
see https://github.com/libvips/libvips/issues/1801
2020-09-01 12:34:09 +01:00
John Cupitt
a3dfa3911e
Merge branch '8.10'
2020-08-31 14:10:43 +01:00
John Cupitt
285ab2e6cc
better mask sizing for gaussmat
...
We were calculating the mask size incorrectly for small masks.
Thanks johntrunc
see https://github.com/libvips/libvips/issues/1793
2020-08-31 13:37:08 +01:00
John Cupitt
817bb1d65c
fix typo
2020-08-28 19:06:21 +01:00
John Cupitt
2c4c4132e8
Merge branch '8.10'
2020-08-28 17:47:40 +01:00
John Cupitt
99423649b9
start sinkscreen thread on first use
...
we were starting the sinkscreen background thread during vips_init() --
instead, start it on first use
see https://github.com/libvips/libvips/issues/1792
2020-08-28 17:46:23 +01:00
John Cupitt
d5aaf3d056
Merge pull request #1795 from kleisauke/sinkscreen-mem-leak
...
Fix a small memory leak in sinkscreen
2020-08-28 16:56:09 +01:00
Kleis Auke Wolthuizen
9f5304632f
Fix a small memory leak in sinkscreen
2020-08-27 18:11:03 +02:00
John Cupitt
caa1cb9d9b
improve docs for arrayjoin
...
see https://github.com/libvips/pyvips/issues/202
2020-08-24 17:42:33 +01:00
John Cupitt
b07cfa858a
note svg fix
2020-08-21 11:39:33 +01:00
Lovell Fuller
69ee8a32b6
Ensure SVG loader skips input with chars outside x09-x7F range
...
Add test with example valid WebP image that happens to contain
the string '<svg' within its compressed image data.
2020-08-21 11:38:40 +01:00
John Cupitt
7a8e891632
Merge pull request #1787 from lovell/svg-loader-skip-control-chars
...
Ensure SVG loader skips input with chars outside x09-x7F range
2020-08-21 11:37:10 +01:00
Lovell Fuller
489324f392
Ensure SVG loader skips input with chars outside x09-x7F range
...
Add test with example valid WebP image that happens to contain
the string '<svg' within its compressed image data.
2020-08-21 10:17:08 +01:00
John Cupitt
fa84d297dd
note how to list interpolators
2020-08-20 07:05:13 +01:00
John Cupitt
409301a200
improve C++ API
...
Make VObject inheritance public, so we can have a single set() for all
VObject-derived types.
2020-08-19 15:08:28 +01:00
John Cupitt
2188e79283
Merge branch 'master' into add-doxygen
2020-08-19 14:37:56 +01:00
John Cupitt
99313edb68
fix some unknown types
...
We were missing VipsInterpolate and guint64. Add guint64 set() as well.
see 636e265477 (commitcomment-41589463)
2020-08-19 14:36:50 +01:00
John Cupitt
f8faa5f7f7
Merge branch '8.10'
2020-08-19 11:12:18 +01:00
John Cupitt
270933c281
convert no-profile CMYK to RGB on save
...
Use the fallback cmyk profile to convert to RGB on save if the image has
no embedded profile.
Thanks augustocdias.
See https://github.com/libvips/libvips/issues/1767
2020-08-19 11:09:38 +01:00
John Cupitt
d4c20e6d1c
a few more doc comments
2020-08-18 01:28:40 +01:00
John Cupitt
5e985ad187
add doc comments for VError and VInterpolate
2020-08-17 19:16:03 +01:00
John Cupitt
636e265477
revise cpp codegen again
...
use f'' strings, polish formatting
2020-08-17 18:07:11 +01:00
John Cupitt
6cabb3e301
add doxygen to the build system
...
configure tests for it, make runs it, make install copies the generated
html
2020-08-17 17:54:42 +01:00
John Cupitt
182e88957e
prevent 0-length buffers reaching imagemagick
...
im6 seems to have added an assert for this
see https://github.com/libvips/libvips/pull/1785
2020-08-17 14:18:59 +01:00
Lovell Fuller
b73bc3a855
Ensure magick buffer+file checks use consistent min length guard
...
Prevents a zero-length buffer from crashing GetImageMagick
It looks like the fix for magick7 in #1642 is also now required
for magick6 as the assertion appears to have been backported.
2020-08-17 14:17:55 +01:00
John Cupitt
c7bab32109
add optional params to doc strings
2020-08-17 14:11:17 +01:00
John Cupitt
98fdc17d2d
Merge pull request #1785 from lovell/magick-is-a-buffer-min-len
...
Ensure magick buffer+file checks use consistent min length guard
2020-08-17 12:51:37 +01:00
Lovell Fuller
f844dbb623
Ensure magick buffer+file checks use consistent min length guard
...
Prevents a zero-length buffer from crashing GetImageMagick
It looks like the fix for magick7 in #1642 is also now required
for magick6 as the assertion appears to have been backported.
2020-08-17 12:29:19 +01:00
John Cupitt
0d9dce4326
move vips-operators.h into the header
...
doxy hates #include inside classes
2020-08-17 10:58:49 +01:00
John Cupitt
cdcf63f8e5
fix regression in thumbnail of pyr tiff
...
The new subifd pyramid thumbnail code broke the old page-based pyramid
detector.
Thanks tand826
See https://github.com/libvips/libvips/issues/1784
2020-08-17 10:10:23 +01:00
John Cupitt
dfaabfc951
experiment with doxygen for C++ docs
2020-08-17 09:35:51 +01:00
John Cupitt
e4f1210d20
update wrapper script
...
fixes "make check".
2020-08-14 14:02:55 +01:00