Commit Graph

4666 Commits

Author SHA1 Message Date
John Cupitt
73c370e7e9 small fixes to make helgrind pass
nothing significant, but watermark.c now passes helgrind cleanly
2017-03-27 09:59:04 +01:00
John Cupitt
cf938280d0 fix a few small things
found with clang static analyzer
2017-03-25 17:55:08 +00:00
John Cupitt
edf513cf27 fix for vips_image_get_fields()
perhaps it'll work now
2017-03-25 17:10:52 +00:00
John Cupitt
eb19321de1 update threadsanitizer notes
doesn't work though :( looks like (like helgrind) it can't see locks
2017-03-25 16:36:33 +00:00
John Cupitt
49d51e4eb6 fix a compiler wanring
thank you clang
2017-03-25 16:10:30 +00:00
John Cupitt
bcf914bce7 let osx travis fail
brew is rather unreliable
2017-03-25 14:04:07 +00:00
John Cupitt
cd2c1324c5 version bump for release
and for the one tiny change
2017-03-25 13:57:33 +00:00
John Cupitt
76ec6d5a8a init a few more types directly
threadstate objects inited during startup, since they can (potentially)
be built from threads
2017-03-25 13:37:05 +00:00
John Cupitt
6c6eb3a2b2 add some more fc supps
valgrind now runs cleanly on 16.10 with vips_text()
2017-03-25 11:25:00 +00:00
John Cupitt
6bf83d1ddc premultiply before startcrop search
or there might be stuff hidden in the fully transparent areas

see https://github.com/jcupitt/libvips/issues/619
2017-03-18 10:55:38 +00:00
John Cupitt
077978904a fix sigma scaling in smartcrop 2017-03-17 10:45:20 +00:00
John Cupitt
c4129c1a44 more smartcrop polishing
- fix a ref leak
- fix a rounding problem
- scale blur with crop size
2017-03-17 10:10:58 +00:00
John Cupitt
c00c518228 improve smartcrop
add a gaussblur before maxpos ... this represents the size of the crop
area, or how large an area we should consider when calculating the best
position

see https://github.com/jcupitt/libvips/issues/619
2017-03-16 13:52:09 +00:00
John Cupitt
18586bec8a finish whatsnew for 8.5 2017-03-15 14:48:03 +00:00
John Cupitt
0a5375b6cd Merge branch 'master' into remove-seq-stalling 2017-03-15 12:26:44 +00:00
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
f8cc9533b3 Merge branch 'remove-seq-stalling' of github.com:jcupitt/libvips into remove-seq-stalling 2017-03-10 13:22:13 +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
507212e3d8 Merge branch 'master' into remove-seq-stalling 2017-03-08 09:30:48 +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
3ca206815c put a seq on reducev too 2017-03-07 11:27:36 +00:00
John Cupitt
a310743b9b notes 2017-03-07 09:57:38 +00:00
John Cupitt
daaea28a5e shrinkv seq cache should be another sequential 2017-03-06 16:25:19 +00:00
John Cupitt
e4ab251fd1 small cleanups
make embed less chatty with --vips-cache-trace

shrink can use linecache now

found a fail case on the work machine
2017-03-06 14:51:45 +00:00
John Cupitt
755fa74c30 remove single-thread-first-tile thing
new seq system makes it unnecessary
2017-03-06 13:15:25 +00:00
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