Commit Graph

6228 Commits

Author SHA1 Message Date
John Cupitt 123c52be70 revert to call-by-value for c++ API 2019-11-13 08:44:59 +00:00
John Cupitt 55024c71ce
Merge branch 'master' into add-stream-object 2019-11-12 14:08:02 +00:00
John Cupitt 92521c0dc6 add options back to VInterpolate
since we might use them in the future
2019-11-12 14:03:25 +00:00
John Cupitt ceb2db513d Merge branch '8.8' 2019-11-11 18:05:57 +00:00
John Cupitt 1018320043 fix make dist in master 2019-11-11 16:20:18 +00:00
John Cupitt 3ba0b285d4 switch to GDateTime 2019-11-11 15:14:04 +00:00
John Cupitt 144a9c48f9 set name in info.json 2019-11-11 15:05:51 +00:00
John Cupitt 74519a230b clean up iiif output a bit
better info.json, but still not support for the full/ directory

see https://github.com/libvips/libvips/issues/1465
2019-11-11 13:38:58 +00:00
John Cupitt b8ea3f8442 update cpp interface for stream variable rename 2019-11-11 09:24:45 +00:00
John Cupitt f5a4f41edf rename VipsStream* variables
The convention is now:

	VipStreami *streami;

We had `input` in many places, a left-over from the old VipStreamInput
name.
2019-11-11 09:09:34 +00:00
John Cupitt 998b5eea45 fix svgload sniff
by adding vips_streami_sniff_at_most()
2019-11-11 07:53:36 +00:00
John Cupitt 42b4474356 stray decl 2019-11-10 18:03:38 +00:00
John Cupitt 9e536895e4
Merge pull request #1466 from kleisauke/stream-cplusplus
Add support for streaming in the C++ binding
2019-11-10 17:30:30 +00:00
John Cupitt 441f61f3ff svgload from a stream 2019-11-10 17:23:28 +00:00
Kleis Auke Wolthuizen b49910d270 Add support for streaming in the C++ binding
See: libvips/libvips#1443.
2019-11-10 13:46:29 +01:00
Kleis Auke Wolthuizen 41c08b0ffb Add svgload_stream to the descriptors test
Seems to work!
2019-11-10 12:32:18 +01:00
John Cupitt b65a9d7328 oop, missing ! on tiff save
resolution-unit metadata was not being checked correctly on tiff save,
thanks @kayarre

see https://github.com/libvips/pyvips/issues/133
2019-11-10 10:26:13 +00:00
John Cupitt f499cefb0e add iiif layout to dzsave 2019-11-09 20:40:39 +00:00
Kleis Auke Wolthuizen 609fdb4fb6 WiP: Add svgload_stream
TODO: Should we `#ifdef HAVE_RSVG` the VipsStreamiw class?
2019-11-09 18:19:54 +01:00
John Cupitt ce4729c92b fix radload from pipe 2019-11-08 17:39:25 +00:00
Kleis Auke Wolthuizen 51ac7a6d8c WiP: Add radload stream/buffer
TODO: Does streamib supports non-seekable streams?
(cherry picked from commit bc99b26b4e0326267ffea3b34d5e4a67c7866c1b)
2019-11-08 16:04:54 +00:00
John Cupitt cefa82bacf bump version for pyvips stream test 2019-11-07 20:58:10 +00:00
John Cupitt 4804e5c299 add some basic stream tests
Only tests load and save to and from files and memory. We should test
pipes too.
2019-11-07 17:35:49 +00:00
John Cupitt 53f73881f7 rename streamo constructors
Was vips_streamo_new_from_filename(), renamed as
vips_streamo_new_to_filename(). Same for descriptor and memory.
2019-11-07 16:20:12 +00:00
John Cupitt 4cf8246312 remove some dbg code 2019-11-07 07:29:44 +00:00
John Cupitt 04280fd837 test for orc 0.4.31
the version that should start working again, hopefully
2019-11-06 23:22:17 +00:00
John Cupitt c383614c28 more cleaning up 2019-11-06 21:34:42 +00:00
John Cupitt ca5816a62c fix webp new from buffer 2019-11-06 20:37:23 +00:00
John Cupitt d992f09dfa fix webp from pipe 2019-11-06 18:23:28 +00:00
John Cupitt 3d344b4b5f add Kleis's patches
and add minimise support to radiance load
2019-11-06 17:04:13 +00:00
John Cupitt edca486f19 revise buffered input
rad load works now
2019-11-06 16:35:19 +00:00
John Cupitt de94a725aa fix up streamib a bit more
radiance load is almost working
2019-11-04 17:52:43 +00:00
John Cupitt 6d3b53174d reworking rad load 2019-11-04 10:21:31 +00:00
John Cupitt 35d661c307 make streamib a wrapper rather than a subclass
makes integration with the rest of foreign simpler
2019-11-02 16:50:59 +00:00
John Cupitt 37049af140 buffered input compiles 2019-11-01 23:24:48 +00:00
John Cupitt 805da46670 more buffered input tweaking 2019-11-01 12:57:48 +00:00
John Cupitt ca5d75f7ec start coding buffered input 2019-10-31 20:38:21 +00:00
John Cupitt 1ea58f6edb start adding buffered input 2019-10-30 17:34:04 +00:00
John Cupitt 36ed7e7ef3 Merge branch 'master' into add-stream-object 2019-10-30 09:02:09 +00:00
John Cupitt 7c5971392c tighten fuzz size limits
we are still seeing timeouts
2019-10-30 08:57:46 +00:00
John Cupitt acb68c867a remove broken link
thanks JelF

see https://github.com/libvips/libvips/issues/1458
2019-10-30 08:43:02 +00:00
John Cupitt 855c420a9c add a sanity limit to pipes
so unbounded pipes can't fill memory
2019-10-30 03:25:29 +00:00
John Cupitt 7321927361 update to GDateTime 2019-10-29 20:31:43 +00:00
John Cupitt 23663e8a88 add formatted output streams
you can printf() to output streams, implemented radiance stream write as
a test
2019-10-29 17:43:51 +00:00
John Cupitt 40d679f299 fix lseek() wrapper error handling 2019-10-28 13:02:36 +00:00
John Cupitt ab5641b4d8
Merge pull request #1455 from larskanis/fix-mingw
Fix dependency to introspect program on Windows MINGW
2019-10-28 11:03:25 +00:00
John Cupitt ed6b26fcb1 paste in various fixes from Kleis 2019-10-28 08:51:47 +00:00
John Cupitt 552043c2c8 oop name mixup 2019-10-28 08:05:15 +00:00
John Cupitt 70a83a273d fix with older glib 2019-10-28 07:36:19 +00:00
John Cupitt 8eeb415b09 Merge branch 'master' into add-stream-object 2019-10-28 05:10:11 +00:00