Commit Graph

4633 Commits

Author SHA1 Message Date
John Cupitt
e6bbfe4672 more centos5 fixes
can't use GRegexp if we need to support centos5 ... vipsthumbnail was
using it to parse geometry strings

new geo parser, plus some tests

see https://github.com/jcupitt/libvips/issues/622
2017-03-15 12:08:52 +00:00
John Cupitt
bd4fad332e another tweak for centos
see https://github.com/jcupitt/libvips/issues/622
2017-03-15 10:16:19 +00:00
John Cupitt
7ea24b7c05 try to help centos5
we were using something from glib 2.14, though configure allows glib 2.6

see https://github.com/jcupitt/libvips/issues/622
2017-03-15 09:15:21 +00:00
John Cupitt
d4f6e56ff7 rename vips-8.4 wrapper script
getting ready for 8.5 release
2017-03-15 09:14:45 +00:00
John Cupitt
55386024c1 notes 2017-03-14 14:58:33 +00:00
John Cupitt
2ef1896fd0 better smartcrop
attention mode now centres on objects, rather than discarding
non-objects
2017-03-14 11:08:07 +00:00
John Cupitt
fd6006bacb Merge branch 'master' into add-smartcrop 2017-03-13 20:41:22 +00:00
John Cupitt
36f5d5695c start whatsnew for 8.5 2017-03-13 14:56:19 +00:00
John Cupitt
8062a4b1e6 update cpp API for arg order changes
hopefully user code won't see this
2017-03-13 13:28:37 +00:00
John Cupitt
fc7f9d4941 fix some load nicknames 2017-03-13 10:20:42 +00:00
John Cupitt
51f96ce9af argh revert the arg order change
we need to patch bindings instead
2017-03-13 08:24:06 +00:00
John Cupitt
d854c18a2f update notes 2017-03-11 12:37:03 +00:00
John Cupitt
d7da3c7de7 fix vips_resize() bug
if hscale and vscale were very different, resize could fail with "reduce
factor too large" ... just a silly typo
2017-03-10 10:22:40 +00:00
John Cupitt
9eab57c31d Merge branch 'master' into add-smartcrop 2017-03-08 17:17:16 +00:00
John Cupitt
9e6832b34d add --smartcrop to vipsthumbnail
does the obvious thing
2017-03-08 14:31:00 +00:00
John Cupitt
2b52f87c24 note change to tilecache 2017-03-08 09:10:38 +00:00
John Cupitt
7a5345e013 remove "access" from linecache, use the base class
stops us having two "access" params
2017-03-07 20:48:10 +00:00
John Cupitt
55dcaa4ae4 add vips_rot90() etc. convenience funcs
90/180/270 rotate as convenience functions
2017-03-07 17:36:49 +00:00
John Cupitt
205fb817e8 change three C API funcs to match Python/C++/CLI
vips_math2_const(), vips_boolean_const() and vips_relational_const() had
the const and oper args reversed from the Python/CLI/C++ API

add something to check for arg priority conflicts and resolve the
conflicts it found
2017-03-07 14:28:31 +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
d40773515c add smartcrop 2017-03-01 15:41:26 +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