Commit Graph

2332 Commits

Author SHA1 Message Date
John Cupitt
58040423d2 fix --without-lcms
oops! thanks speckins
2013-03-06 17:33:25 +00:00
John Cupitt
592ace8514 better jpeg load/save API docs 2013-03-06 11:30:01 +00:00
John Cupitt
a731805344 sync 2013-03-05 14:46:08 +00:00
John Cupitt
579dd3a26e Merge remote-tracking branch 'origin/master' 2013-03-01 18:12:17 +00:00
John Cupitt
dd05529db4 fix for build against libpng16
I am sending you lightweight patch against vips to be able build it
also with libpng16.

They no longer #include string.h in png.h See section XII of [1] for
details.

Petr
2013-03-01 18:09:47 +00:00
John Cupitt
ae27de5140 more granular cache for tiny speed up 2013-03-01 10:29:01 +00:00
John Cupitt
8269a79801 vipsthumbnail sizes cache better
the vipsthumbnail cache could be too small on many-cpu machines, size it
more intelligently
2013-03-01 09:44:19 +00:00
John Cupitt
2d085f753b record the image loader
and display in header too
2013-02-27 12:51:26 +00:00
John Cupitt
ad2156a6d2 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.ac
	po/vips7.pot
2013-02-27 12:10:53 +00:00
John Cupitt
b1b1d8ae39 fix png write bug, bump version 2013-02-27 12:09:10 +00:00
John Cupitt
3a188daa20 sync 2013-02-27 09:58:42 +00:00
John Cupitt
89d19262fa remove some debugging code 2013-02-27 09:37:32 +00:00
John Cupitt
8dadd1a377 oop png icc profile write was broken 2013-02-27 08:51:28 +00:00
John Cupitt
25a7b760d0 neater "header" output 2013-02-26 13:32:40 +00:00
John Cupitt
61875a4bca fix another dzsave corner case
better padding calculation fixes yet another corner case for dzsave,
thanks Martin
2013-02-26 12:32:01 +00:00
John Cupitt
008af5ca16 hacking 2013-02-25 14:54:39 +00:00
John Cupitt
3837497613 threaded tilecache could deadlock
in threaded mode, tilecache could deadlock if the downstream pixel
source raised an error

senario:

	- thread1 starts working on tile A and flags it as a CALC
	  (calculation in progress)

	- thread2 needs tile A, sees it is being worked on, and blocks
	  until computation is done

	- thread1 hits an error ... it correctly remarks the tile as
	  PEND (calculation pending), but does not broadcast a wake-up
	  signal

	- thread2 stays blocked!

threads now broadcast a wakeup on tile error as well as on tile success

Thanks to Todd Patrick
2013-02-21 17:26:58 +00:00
John Cupitt
5cd60f3701 better behaviour for labq with bad type
labq images with the type set incorrectly were not handled well
2013-02-18 13:49:32 +00:00
John Cupitt
8251a797da tiny OS X fix 2013-02-16 17:39:56 +00:00
John Cupitt
5039736cd7 update more version numbers 2013-02-16 13:24:55 +00:00
John Cupitt
e4c2a14b7b fix make dist 2013-02-14 08:51:44 +00:00
John Cupitt
144a95dc92 sync 2013-02-13 16:27:24 +00:00
John Cupitt
174c2fa8c1 have out own lock foe dzsave
we were calling quite a few funcs from inside the global lock, some of
which used the global lock themselves

have our own file operation lock, it's neater
2013-02-13 15:19:17 +00:00
John Cupitt
4268f27d5b add a osx benchmark
'time' is very non-linux on os x, make a separate benchmark
2013-01-25 12:26:18 +00:00
John Cupitt
a9fbd26f78 recent auto* leave more test files
ignore test-driver too
2013-01-25 11:10:10 +00:00
John Cupitt
d094ed23d9 update benchmark
we used to lock the tile size to 64x64 for compatibility, let it float
now
2013-01-23 13:23:27 +00:00
John Cupitt
90709538e6 update configure system 2013-01-23 10:17:51 +00:00
John Cupitt
b3c16b69a1 version number bump
bump version for new stable cycle
2013-01-22 14:04:55 +00:00
John Cupitt
9fb16c23fc add --centre option to dzsave
with --centre turned on, in google maps mode dzsave will centre tiles
rather than placing them at the top-left

also, make sure blank.png is set to @background
2013-01-21 14:48:14 +00:00
John Cupitt
b2cd5f631e fix an obscure dzsave bug
in some cases dzsave could fail to write all the pyramid layers out

the problem was if a layer was odd-sized and needed rounding up so it
could be shrunk from, and if the tile size was such that the final strip
was sized exactly to fit the last line of pixels that would come into
this layer, the final line of pixels could never be interpolated

thanks to Martin for the report
2013-01-17 13:14:47 +00:00
John Cupitt
c570bf902e revert recent changes to nohalo/vsqbs
revert the changes to nohalo/vsqbs that were suppoed to switch to corner
convention, they broke addressing

this needs rethinking
2013-01-16 11:50:34 +00:00
John Cupitt
9599b5dc92 remove RCS tag
thanks testn
2013-01-15 22:14:24 +00:00
John Cupitt
6fe6171973 remove a lot of the internal flag abbreviations
GOption doesn't seem to do anything clever with repeated flag
abbreviations. Remove most of the internal ones to stop clashes with
application flags.
2013-01-15 21:26:42 +00:00
John Cupitt
caa51245c7 improve the cond wait wrapper
by removing it, we don't want to restart the timer on every loop
2013-01-15 17:23:58 +00:00
John Cupitt
384842cd0a make a fresh test dist 2013-01-15 14:52:46 +00:00
John Cupitt
1ae19e896f Merge remote-tracking branch 'origin/7.30'
Conflicts:
	libvips/conversion/sequential.c
	libvips/conversion/tilecache.c
	libvips/deprecated/im_tile_cache.c
	libvips/deprecated/vips7compat.c
	po/vips7.pot
2013-01-15 13:47:48 +00:00
John Cupitt
6ad71d29c5 7.30.7 release 2013-01-15 13:42:26 +00:00
John Cupitt
a431f5e021 clean up after fix
threaded tile cache seems a good solution --- clean up and get ready to
merge back into master
2013-01-14 17:35:05 +00:00
John Cupitt
8ab2f3eeb6 backport threaded tile cache 2013-01-14 14:51:51 +00:00
John Cupitt
ac405862ba argh 2013-01-11 14:51:12 +00:00
John Cupitt
5f917ab7e7 tiny fix for OS X 2013-01-11 10:48:44 +00:00
John Cupitt
91b39670b6 Merge remote-tracking branch 'origin/7.30' 2013-01-11 10:23:31 +00:00
John Cupitt
da0b890e84 argh 2013-01-10 14:46:20 +00:00
John Cupitt
9690bd40e9 better icc profile write for vips2png
tests for icc profile presence before reading, to avoid polluting the
error log
2013-01-09 11:33:13 +00:00
John Cupitt
2b6e3797fe fix libtool version number
we are binary API changed since 7.30, but back compat
2013-01-02 14:11:30 +00:00
John Cupitt
05324ca33c fix up affine
now passes valgrind with both vips7 and vips8 interfaces
2013-01-02 12:52:36 +00:00
John Cupitt
fbfaac319a Merge remote-tracking branch 'origin/master' into corner 2013-01-02 10:18:53 +00:00
John Cupitt
c43924f716 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.in
2012-12-31 14:40:30 +00:00
John Cupitt
1e39eb6c75 Merge remote-tracking branch 'origin/7.30' into 7.30 2012-12-31 14:25:14 +00:00
John Cupitt
ee2b1f71ce better option parsing for "vips"
The vips driver program was parsing options in a single pass. This
failed if an option came in two parts, for example:

	vips --plugin x.plg list

the argument to --plug would be picked up as the action for "vips",
since actions were selected before option parsing

Now we parse in two passes: the first pass picks up options for vips
itself and for the libvips library, then we select the action, then we
parse again, including any options created by the action
2012-12-31 14:10:54 +00:00