Commit Graph

6201 Commits

Author SHA1 Message Date
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
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
John Cupitt
ba0100eb13 revise decode/unminimise use 2019-10-28 05:04:04 +00:00
John Cupitt
cbbd4ae6dd seems to work!
just a bit more cleaning up needed ...
2019-10-27 18:19:43 +00:00
Lars Kanis
3341bbd762 Fix dependency to introspect program on Windows MINGW 2019-10-27 18:07:13 +01:00
John Cupitt
b7ad0da20c more reworking 2019-10-24 14:14:52 +01:00
John Cupitt
0e29e1c41e start reworking again 2019-10-24 10:57:52 +01:00
John Cupitt
c7582c79d2 remove lib wrapper from repo 2019-10-24 04:33:04 +01:00
John Cupitt
d9ab536a52 tiny formatting fix 2019-10-24 04:07:28 +01:00
John Cupitt
af8a3bfee7 fix stream buffer load 2019-10-23 18:47:57 +01:00
John Cupitt
bdb5e39efa just the test suite now 2019-10-23 14:51:29 +01:00
John Cupitt
a9a0dfee0f mostly works now
but

	cat k2.jpg | vips copy stdin x.jpg

still fails
2019-10-23 13:01:09 +01:00
John Cupitt
e27d6448b1 fix debug build 2019-10-22 23:07:17 +01:00
John Cupitt
60ce52512c builds
now needs testing
2019-10-22 17:37:05 +01:00
John Cupitt
ee3270f8e9 more refactoring 2019-10-22 11:08:54 +01:00
John Cupitt
2eed3ea45f add more types to optional args
thanks augustocdias

see https://github.com/libvips/libvips/issues/1449#issue-509081179
2019-10-21 20:58:59 +01:00
John Cupitt
8337e17428 add no_strip option to dzsave
it's sometimes useful to have pyramid tiles with ICC profiles

see https://github.com/libvips/libvips/issues/1451
2019-10-21 16:46:20 +01:00
John Cupitt
72cbaa9ea3 more revision 2019-10-21 15:04:30 +01:00
John Cupitt
d49e816641 start cleaning up 2019-10-21 10:57:20 +01:00
John Cupitt
4a311a5cdd Revert "start splitting up stream class"
This reverts commit 7756b8da71.
2019-10-18 18:00:23 +01:00
John Cupitt
7756b8da71 start splitting up stream class 2019-10-18 15:33:26 +01:00
John Cupitt
f99f3d3f57 revise seek() behaviour
fuzz tests fail though ... we need to split StreamInput up
2019-10-17 17:18:45 +01:00
John Cupitt
696ff2b24a fix up jpeg load
and revise descriptor test
2019-10-17 13:16:12 +01:00
John Cupitt
226819b8a8 move tiffload to streams
test_descriptors seems to fail now though, odd
2019-10-17 10:58:56 +01:00
John Cupitt
fb2ab23e26 start adding TIFF stream load
streams now have a seek() vfunc
2019-10-16 18:28:46 +01:00
John Cupitt
430fd97397 oop dropped webp free on load 2019-10-15 17:22:25 +01:00