John Cupitt
8f95b08218
put seq access back in to tilecache
...
We removed seq mode from tilecache a few months ago as part of a
simplification, but it turns out it's needed for vips_sequential().
see https://github.com/libvips/libvips/issues/1494#issuecomment-565099645
2019-12-17 16:58:31 +00:00
Tomáš Szabo
982e323c71
docs: replace gif-loop
with loop
2019-12-17 16:28:04 +01:00
Tomáš Szabo
1fde574a86
Merge branch 'master' of https://github.com/libvips/libvips
2019-12-17 07:39:14 +01:00
Tomáš Szabo
bff5e6a78d
chore: add .editorconfig
2019-12-17 07:28:40 +01:00
Tomáš Szabo
d14e0d5c97
feat: add normalized loop
field
2019-12-17 07:28:28 +01:00
John Cupitt
45015b002a
stray DEBUG
2019-12-14 05:19:18 +00:00
John Cupitt
2f806320f3
Merge branch 'master' of github.com:libvips/libvips
2019-12-14 05:18:20 +00:00
John Cupitt
1fd3b478e1
always check memory area length
...
vips_image_new_from_memory() allowed you to use length == 0 to mean
"don't check memory length". This was part of some very old vips7
compatibility.
The ppm loader could pass length == 0 if header size was equal to file
size, bypassing the length check.
2019-12-14 05:13:44 +00:00
John Cupitt
112dc9101a
remove early shutdown from tiff reader
...
since streams do this automatically now
2019-12-13 14:19:09 +00:00
John Cupitt
6fea2e7c57
clip negatives off LABS L in tiff save
...
Negative L in LABS needs to be trimmed off before savingf as TIFF.
Thanks angelmixu.
See https://github.com/libvips/libvips/issues/1499
2019-12-13 12:45:49 +00:00
John Cupitt
e236f19f97
add fallbacks to new_from_stream
...
If the stream-based loaders fail, vips_image_new_from_stream() now falls
back to the old file and buffer loaders.
The file and buffer loaders already try the stream loaders first.
2019-12-10 17:19:12 +00:00
John Cupitt
56090c6fa7
fix another compiler warning
2019-12-08 14:16:52 +00:00
John Cupitt
dd4b2e9c23
fix some clang warnings
2019-12-08 13:08:38 +00:00
John Cupitt
40bffa8cc6
small reformats
...
plus remove save multiband as separated multiink
2019-12-07 17:41:53 +00:00
John Cupitt
22a1150cb6
Merge branch 'improve-file-formats' of https://github.com/angelmixu/libvips into angelmixu-improve-file-formats
2019-12-07 17:10:03 +00:00
John Cupitt
897089069d
README tweak
2019-12-07 17:02:26 +00:00
John Cupitt
d3d80ed0b4
tone down opencollective begging
2019-12-07 16:59:33 +00:00
John Cupitt
6d0f4ce5ef
Merge pull request #1448 from opencollective/opencollective
...
Activating Open Collective
2019-12-07 16:54:53 +00:00
John Cupitt
317feec6a4
update docs
2019-12-06 16:58:47 +00:00
John Cupitt
d10c870a32
fix for no seek handler defined
...
We need to use the emitv signal emit function to be able to set a default value.
2019-12-06 16:58:01 +00:00
John Cupitt
a50405c1f7
fix some run-time errors from clang
...
Travis is now running with some amount of run-time checking enabled and
it spotted a couple of harmless things.
2019-12-05 14:14:27 +00:00
John Cupitt
a382359e65
don't test features in unminimise
...
This was circular: test features needed an unminimised stream, but
unminimise used to test features.
2019-12-05 10:35:15 +00:00
John Cupitt
4dbbc2d415
more dbg code
2019-12-04 17:40:49 +00:00
John Cupitt
ec7aa1d6b6
delay testing stream properties until we have to
...
This makes stream object creation simpler: you don't need to have
everything set up before build occurs, so you can attach signal handlers
for read and seek later.
2019-12-04 16:46:00 +00:00
Angel Sánchez
c85454f56c
Merge branch 'refs/heads/master' into improve-file-formats
...
# Conflicts:
# libvips/conversion/switch.c
2019-12-04 11:49:18 +01:00
John Cupitt
ae7aaea077
doc polish
2019-12-01 15:29:28 +00:00
John Cupitt
43fff7b10d
fix map of input streams
...
The logic was a bit wonky. Thanks Kleis.
See https://github.com/kleisauke/net-vips/issues/33#issuecomment-559971456
2019-11-30 19:13:26 +00:00
John Cupitt
5121e203f8
polish docs
2019-11-30 18:39:00 +00:00
John Cupitt
163b0165d7
Merge pull request #1483 from libvips/check-metadata-changes
...
block metadata changes on shared images
2019-11-30 17:37:20 +00:00
John Cupitt
686829166d
fix some more metadata updates
...
some more minor cases picked up by the test suite
2019-11-30 12:11:23 +00:00
John Cupitt
168e6ca4f5
Merge pull request #1486 from kleisauke/cpp-function-list
...
Update C++ binding and function list
2019-11-29 14:12:44 +00:00
Kleis Auke Wolthuizen
2499b38403
Update C++ binding and function list
...
The generators use the new Introspect class of pyvips.
2019-11-29 14:51:03 +01:00
John Cupitt
d88ce970b7
make operation cache invalidation advisory
...
This patch makes operation cache invalidate advisory rather than
immediate. Operations set a mark on cache entries meaning "this entry is
no longer valid", then the entry is removed next time the operation
is looked up.
This breaks the loop (now the cache can remove operations, but operations
can't remove cache entries), so it should be safer (I think). Everything
is inside a mutex, at least.
see https://github.com/libvips/libvips/issues/1484
2019-11-28 17:41:35 +00:00
John Cupitt
5c7a649001
fix test suite for metadata changes
...
added a few more .copy() calls
2019-11-28 15:59:09 +00:00
John Cupitt
acd9101037
always copy before exif_update
...
During write, we often call vips__exif_update(). This updates the exif
block from the other image metadata prior to save.
Always copy the image before calling this.
See https://github.com/lovell/sharp/issues/1986
2019-11-28 14:45:02 +00:00
John Cupitt
20cee5d041
block metadata changes on shared images
...
If images are shared (ref count > 1), block changes to the set of
metadata items on the image. These can cause crashes in highly threaded
programs.
See https://github.com/lovell/sharp/issues/1986
2019-11-28 09:59:30 +00:00
John Cupitt
1a2a4a41f1
remove dbg code now travis is fixed
2019-11-27 22:20:33 +00:00
John Cupitt
5d25e2d850
more travis tweaks
2019-11-27 20:27:40 +00:00
John Cupitt
9f6ea7b799
more dbg code to help travis
2019-11-27 20:09:04 +00:00
John Cupitt
b08bfede5f
try fixing the stream test on travis
2019-11-27 17:30:13 +00:00
John Cupitt
b003b36d7a
Merge branch '8.8'
2019-11-27 15:30:33 +00:00
John Cupitt
0bc49a485e
remove use of realpath
...
It won't work on linux systems with grsec.
2019-11-27 15:14:42 +00:00
John Cupitt
002b2a28e1
fix test suite
...
for the new jpg sample image
2019-11-27 11:48:50 +00:00
John Cupitt
48f675db45
update jpg name in variables.sh.in as well
2019-11-27 08:58:30 +00:00
John Cupitt
49a8f0779d
Merge branch '8.8'
2019-11-26 09:15:39 +00:00
John Cupitt
ec41c42a3a
revise test_cli for new sample jpg
2019-11-26 09:14:40 +00:00
John Cupitt
d00573b26a
remove utf-8 filename example
...
too tricky to make it work on both py27 and py37
2019-11-26 09:07:10 +00:00
John Cupitt
14859f9862
polish comments
2019-11-25 20:50:27 +00:00
John Cupitt
2eebcb0c07
update tests for streami renames
2019-11-25 18:39:50 +00:00
John Cupitt
aa783514cf
update TOC for docs
...
and update translation files
2019-11-25 17:48:44 +00:00