Commit Graph

3088 Commits

Author SHA1 Message Date
John Cupitt 23911afb1c add more orc debugging 2014-06-04 15:05:23 +01:00
John Cupitt d990f5cf77 fix some crashes in orc by not freeing orc stuff
a leak is better than a crash :( or build vips without orc if you don't
want a leak either

lots of stuff along the lines of:

==13114== Invalid write of size 8
==13114==    at 0xB81B229: orc_code_chunk_merge (orccodemem.c:107)
==13114==    by 0xB82B13D: orc_code_free (orccode.c:33)
==13114==    by 0xB81B89A: orc_program_free (orcprogram.c:175)
==13114==    by 0x6508AA4: vips_vector_free (vector.c:106)
2014-06-02 09:34:55 +01:00
John Cupitt 5ffa46ebac sync 2014-05-29 14:33:44 +01:00
John Cupitt e7743ddc3c finish mosaicing rewrite 2014-05-29 09:35:17 +01:00
John Cupitt 8a38cb1946 fix up global balance names
track mosaic-name now
2014-05-28 23:00:41 +01:00
John Cupitt 170efb1452 redo im_*merge1() as classes 2014-05-28 18:15:20 +01:00
John Cupitt adfda3cf14 redo im_*mosaic1() as classes 2014-05-28 15:15:06 +01:00
John Cupitt b8886fc209 wrap im_remosaic() as a class 2014-05-27 15:18:19 +01:00
John Cupitt 781a7d4dc9 wrap im_global_balance*() as a class 2014-05-26 15:02:15 +01:00
John Cupitt e2cda919ea match works 2014-05-26 14:20:38 +01:00
John Cupitt 246525e649 more hackery 2014-05-26 11:24:46 +01:00
John Cupitt 4f3b37ad04 wrap im_match*() as a class 2014-05-23 13:46:38 +01:00
John Cupitt de409ecac8 vips_mosaic() outputs mosaic params 2014-05-23 12:37:10 +01:00
John Cupitt ab12cd1c3d wrap im_*mosaic() as classes 2014-05-22 18:14:40 +01:00
John Cupitt 98012d7613 im_*merge() class wrapper works 2014-05-22 16:32:09 +01:00
John Cupitt 496d523750 wrap im_*merge() as a class 2014-05-22 14:53:18 +01:00
John Cupitt 3a4569e99b longer stall time for ahead-threads
we must stall for AGES occasionally, really the stall time is about
enforcing a certain thread ordering
2014-05-22 13:40:06 +01:00
John Cupitt c3caa595a2 complex lut was broken 2014-05-21 17:34:53 +01:00
John Cupitt 087eb233f7 auto-decode to lab, not labs
helps in many places
2014-05-19 23:35:27 +01:00
John Cupitt 011fd99a1a start fixing up the auto-decode stuff 2014-05-19 14:53:47 +01:00
John Cupitt 4993ff15d6 add Travis CI config
thanks Lovell
2014-05-19 12:54:04 +01:00
John Cupitt dea1487ed5 small oopes
thank you clang
2014-05-18 11:25:08 +01:00
John Cupitt be6503e47a definition oops 2014-05-18 11:19:09 +01:00
John Cupitt ee3cce8736 oops in vips_scale() 2014-05-18 09:47:41 +01:00
John Cupitt dc22d9c4c8 add hough_circle() to vipsCC and python
now exposed to Python and C++
2014-05-17 22:00:36 +01:00
John Cupitt 1772588eb6 small fixes
help cleanup and debug if operations fail
2014-05-16 08:28:44 +01:00
John Cupitt 8f78aaa9f7 Merge pull request #122 from lovell/op-cache-trim-move
Make cache limits 'hard' rather than 'soft' using trim after add, not before
2014-05-12 22:59:55 +01:00
Lovell Fuller a1b3820eb2 Make cache limits 'hard' rather than 'soft' using trim after add, not before 2014-05-12 21:30:30 +01:00
John Cupitt 7303261a31 allow default NULL basename in vips_type_find()
oops, got dropped in earlier commit, thanks Lovell
2014-05-12 20:15:50 +01:00
John Cupitt 22d525d54f export a better cache operator for nip2 2014-05-10 14:00:01 +01:00
John Cupitt 4d17ebb3b4 add im_tile_cache() to vips7 op db
try using this from nip2 instead of im_cache()

im_cache() uses vips_sink_screen() and is probably quite a bit slower
2014-05-09 14:56:44 +01:00
John Cupitt 25f2193992 oops 2014-05-09 13:22:57 +01:00
John Cupitt f6de1e7cb9 make libgsf-1 an optional dependency
dzsave vanishes if you don't have it, but you can still build vips
2014-05-09 13:13:18 +01:00
John Cupitt d9affe1c2a rearrange tree after dz save to fs for compat
rearrange the directory tree after dzsave for compatibility with
earlier libvips
2014-05-08 14:57:33 +01:00
John Cupitt ccead97c05 set Type on memory strip
we need to set Type on memory strips so we can convert to the output
format correctly, thanks philipgiuliani

see https://github.com/jcupitt/libvips/issues/120
2014-05-08 14:24:22 +01:00
John Cupitt f6f7d4eeed oops, don't treat RGB16 as sRGB in colourspace
we still had code to treat RGB16 inputs as sRGB even though we now have
a special set of RGB16 paths

vips copy 16bitRGB.tif x.jpg

now works
2014-05-08 14:13:40 +01:00
John Cupitt ff71a69827 Merge branch 'dzsave-gsf' 2014-05-08 12:15:55 +01:00
John Cupitt 0f1ba2c0b1 Merge branch 'dzsave-gsf'
Conflicts:
	libvips/include/vips/vips.h
2014-05-06 22:03:13 +01:00
John Cupitt 1a3c62851e move some junk to deprecated/ 2014-05-06 22:01:20 +01:00
John Cupitt c8d6aac98d safer vips_operation_new()
fixes "$ vips vips" segv
2014-05-06 18:49:20 +01:00
John Cupitt 5478a9bb81 update dzsave docs 2014-05-06 14:38:24 +01:00
John Cupitt 249c87906a TODO notes 2014-05-06 14:30:28 +01:00
John Cupitt 30808f70a5 sort out dzsave paths, auto-enable zip
rationalised output paths for dzsave

enable zip automatically if output name ends in .zip
2014-05-06 14:28:41 +01:00
John Cupitt 44f8b0d8ac better gcc attr() detect 2014-05-06 09:55:41 +01:00
John Cupitt b586f31bf0 better gcc detect 2014-05-06 09:54:09 +01:00
John Cupitt 1384f9d4e0 Merge branch 'master' into dzsave-gsf
Conflicts:
	ChangeLog
2014-05-04 17:32:42 +01:00
John Cupitt 42931c86ca oops, put "%%" squash back in vips_system()
still need this afetr all
2014-05-03 19:58:27 +01:00
John Cupitt c81a12ee00 vips_system() now uses g_spawn_command_line_sync()
helps stop stray command windows appearing on Windows, better error msg
too
2014-05-03 18:04:25 +01:00
John Cupitt 7819fde047 don't cache vips_system() 2014-05-02 20:23:29 +01:00
John Cupitt b1b3c6e9de support 1/2/4 bit palette tiff images with alpha 2014-04-30 14:39:50 +01:00