Commit Graph

4624 Commits

Author SHA1 Message Date
John Cupitt
362c7efdfc argh reapply seq removal 2017-03-06 11:55:38 +00:00
John Cupitt
8c4abf7c42 allow vips images to have a missing XML block 2017-03-06 10:07:31 +00:00
John Cupitt
162e224186 notes 2017-03-05 22:24:52 +00:00
John Cupitt
39b6110968 Merge branch 'remove-seq-stalling' of github.com:jcupitt/libvips into remove-seq-stalling 2017-03-05 22:12:40 +00:00
John Cupitt
65333dd147 notes 2017-03-05 22:11:35 +00:00
John Cupitt
dd5a108854 fix up new seq mode stuff
seems to work
2017-03-05 21:59:53 +00:00
John Cupitt
55840cf131 try setting a seq meta
and only caching in shrinkv if we see the tag
2017-03-05 21:59:01 +00:00
John Cupitt
20f99b62cf more ideas 2017-03-05 21:59:01 +00:00
John Cupitt
badfb8d780 fix up new seq mode stuff
seems to work
2017-03-05 18:04:56 +00:00
John Cupitt
6e5b44ce13 try setting a seq meta
and only caching in shrinkv if we see the tag
2017-03-03 14:34:22 +00:00
John Cupitt
99a47fd2f5 more ideas 2017-03-02 14:54:53 +00:00
John Cupitt
1046619f3a Merge branch 'master' of github.com:jcupitt/libvips 2017-03-02 09:30:42 +00:00
John Cupitt
6c0fe14c90 fix expat search
should fix travis on os x
2017-03-02 09:30:10 +00:00
John Cupitt
db853ae0dd sigh travis 2017-03-01 17:37:55 +00:00
John Cupitt
3be6bb1323 notes 2017-03-01 15:52:59 +00:00
John Cupitt
1221309c62 arg priorities were wrong in hist_entropy
breaking the C API
2017-03-01 13:05:07 +00:00
John Cupitt
3d961653a9 use VIPS_MAX_COORD in a few more places
we had RANGE defined in each file before
2017-03-01 11:29:39 +00:00
John Cupitt
c7b1fb28f7 switch to expat.m4
older linuxes (and os x) do not have expat.pc, sadly
2017-03-01 11:07:51 +00:00
John Cupitt
cf18db823b add libexpat1-dev to travis 2017-03-01 10:07:36 +00:00
John Cupitt
47a4a78a33 Merge branch 'try-expat' 2017-02-28 17:19:21 +00:00
John Cupitt
c05a4b67dc fix vips-properties.xml
and we're done
2017-02-28 17:17:23 +00:00
John Cupitt
8f47c75a85 tiff uses vipdbuf 2017-02-28 16:44:12 +00:00
John Cupitt
f2a178e98f move buf writers on top of dbuf
tiff and webp not moved
2017-02-28 13:40:34 +00:00
John Cupitt
40294bb85c started png and jpg with dbuf
rad and webp still to do, maybe tiff
2017-02-27 22:06:22 +00:00
John Cupitt
a243220171 update notes after revert 2017-02-27 11:06:46 +00:00
John Cupitt
96b1aba1a7 Revert "experiment with removal of seq stall"
This reverts commit c6eb9ee0f2.
2017-02-27 10:26:59 +00:00
John Cupitt
e6b20cbd0f Revert "remove stalling"
This reverts commit 959f412380.
2017-02-27 10:26:32 +00:00
John Cupitt
e7ae10ef68 Revert "more UNBUF fixes"
This reverts commit a4d3c2a754.
2017-02-27 10:25:41 +00:00
John Cupitt
98f5421c10 Revert "remove readbehind"
This reverts commit cb83918a3f.
2017-02-27 10:24:56 +00:00
John Cupitt
b08e8cba78 Revert "better cache sizing"
This reverts commit 09774740a7.
2017-02-27 10:23:46 +00:00
John Cupitt
1912a30bec Revert "note new seq thing"
This reverts commit 156f729d75.
2017-02-27 10:23:19 +00:00
John Cupitt
90d9145d3c Revert "notes on out of order errors"
This reverts commit 67101e48be.
2017-02-27 10:22:36 +00:00
John Cupitt
e1b9c789cb add dbuf object
dynamically expanding buffer

also, escape "<>& appropriately when we write xml
2017-02-26 17:37:46 +00:00
John Cupitt
5614330cc4 remove libxml from xml save
just some printfs now
2017-02-25 18:10:42 +00:00
John Cupitt
e87654fcd9 use printf for xml write 2017-02-25 17:28:48 +00:00
John Cupitt
67101e48be notes on out of order errors 2017-02-25 15:21:48 +00:00
John Cupitt
134ce0560c use expat for xml read
we were using libxml for xml load, use expat instead, we get it for free
with glib
2017-02-25 13:07:43 +00:00
John Cupitt
dc2b567ee2 start looking at xml parse use in vips.c 2017-02-24 14:57:20 +00:00
John Cupitt
420a918cbf Merge branch 'master' into try-expat 2017-02-24 14:31:33 +00:00
John Cupitt
dbbe8b77c1 vipsheader could crash on bad field names
we were not checking the return of vips_image_get_as_string()
2017-02-24 14:30:26 +00:00
John Cupitt
9ba8d32083 add expat to package deps 2017-02-24 14:28:08 +00:00
John Cupitt
6cbda61ec1 fix thumbnail crop on rotated images
crop after rotate so we don't need to rotate the crop box

thanks ElHeineken!

see https://github.com/jcupitt/libvips/issues/608
2017-02-23 20:26:59 +00:00
John Cupitt
4bcbcbbf49 try to fix IM load of ico files
8-bit ico files were being reported at 32-bit, because we used the
->depth field to get pixel depth

try using GetImageChannelDepth() instead, who knows, it might work

see https://github.com/jcupitt/php-vips/issues/34
2017-02-23 20:05:35 +00:00
John Cupitt
156f729d75 note new seq thing 2017-02-23 20:05:11 +00:00
John Cupitt
12805808da better fix for the reorder memleak
we could try reordering during image close, and after the arrays had
been freed
2017-02-23 17:35:52 +00:00
John Cupitt
4bbd56fb0a handle transparency in vips_region_shrink()
we weren't multiplying through alpha in vips_region_shrink(), causing
fringing on pyramids with transparent elements

thanks sickrandir!

see https://github.com/jcupitt/libvips/issues/599
2017-02-23 17:04:25 +00:00
John Cupitt
f84825a634 fix a small memleak in reorder
if set_input was called more than once, it could leak the arrays

thanks @gczuba!

see https://github.com/jcupitt/libvips/issues/607
2017-02-23 07:50:35 +00:00
John Cupitt
09774740a7 better cache sizing 2017-02-22 20:11:52 +00:00
John Cupitt
4a9d10a0c8 Merge branch 'master' into remove-seq-stalling 2017-02-22 16:11:49 +00:00
John Cupitt
abfabd98ce tiny docs update 2017-02-22 13:31:27 +00:00