Commit Graph

2286 Commits

Author SHA1 Message Date
John Cupitt 0b23128ff6 fix two trivial compiler warnings 2013-06-29 13:08:14 +01:00
John Cupitt de796417cb TODO note 2013-06-26 09:29:04 +01:00
John Cupitt 645ff73335 whitespace 2013-06-25 17:49:42 +01:00
John Cupitt 824977a0bc remove the class init lock
the previous patch was not sufficient, remove it
2013-06-25 17:46:38 +01:00
John Cupitt bec6d2c8a6 ping all classes in dzsave
fixes a race in class build on many-core machines, see

https://github.com/jcupitt/libvips/issues/64
2013-06-25 17:44:57 +01:00
John Cupitt c3ac89df30 missing include 2013-06-25 11:30:18 +01:00
John Cupitt 9d5acf79b3 fix ushort save with values >32k
we were not setting the fits offset correctly for ushort images, thanks
weaverwb
2013-06-23 04:39:59 +01:00
John Cupitt b58f67aa90 single-thread class init
See:

  https://github.com/jcupitt/libvips/issues/64

We were seeing races in class init on very-many-core machines. GObject
is supposed to single-thread class init, I think, so this shouldn't
happen. Perhaps class init via g_type_class_ref() is not
single-threaded.
2013-06-21 09:35:04 +01:00
John Cupitt 890d7b1205 tiny polish 2013-06-20 10:05:46 +01:00
John Cupitt b20a9f78dd faster --centre logic for dzsave
don't test pixel-by-pixel for background tiles, instead track the rect
of real pixels and test for intersection

this might help performance scaling on many-core CPUs since we are no
longer spinning up a threadgroup for each output tile

thanks Kacey
2013-06-19 14:03:39 +01:00
John Cupitt 85eee0528a fix make dist 2013-06-18 13:49:26 +01:00
John Cupitt d461d082fa sync 2013-06-18 11:01:43 +01:00
John Cupitt 47adc8f08d flag more str->array errors
str->[int] and [double] conversions set the output array to size 0 on
convert fail
2013-06-18 11:00:04 +01:00
John Cupitt 2fd2fd58f7 fix up gtk-doc
fix various problems:

- out of date IGNORE in doc/reference/Makefile.am
- name clashes between private .h and public
2013-06-17 20:16:20 +01:00
John Cupitt 4c0ace34f0 docs cleanups 2013-06-17 14:54:11 +01:00
John Cupitt 301d3a1809 argh remove unknown.pot
and kill *all* .pot files
2013-06-17 12:05:29 +01:00
John Cupitt dcd2dbb756 vips_pngload_buffer() works
fix a bug in vips_jpegload_buffer() too
2013-06-17 09:41:22 +01:00
John Cupitt 005984226e add png load from buffer
though untested as yet
2013-06-16 22:51:28 +01:00
John Cupitt 1dbff8f5c0 sync 2013-06-16 12:26:27 +01:00
John Cupitt 7bdc1e54f2 allow NULL out pointer for vips2buf*()
im_vips2bufjpeg() etc. needed a valid output IMAGE*, annoyingly
2013-06-16 10:24:56 +01:00
John Cupitt dad036afbf make a baseclass for the new create thing 2013-06-14 10:34:00 +01:00
John Cupitt 038015a971 Merge remote-tracking branch 'origin/7.32' 2013-06-14 09:04:01 +01:00
John Cupitt 216d286065 fix --disable-cxx build
quadratic.c was missing from the list of non-C++ sources, thanks Michael
2013-06-14 09:01:18 +01:00
John Cupitt a1a5d0b376 sync 2013-06-14 08:53:05 +01:00
John Cupitt d7d91363ba im_sines() as a class 2013-06-13 18:46:41 +01:00
John Cupitt 6031b40b8d move im_zone*() over to a class 2013-06-13 17:37:24 +01:00
John Cupitt 85e2092cdf start im_zone() 2013-06-13 14:55:33 +01:00
John Cupitt bfa8c85837 im_grey*() as a class 2013-06-13 14:35:26 +01:00
John Cupitt cf09f3376e redo im_*eye() as a class 2013-06-13 13:50:24 +01:00
John Cupitt 4436e370c7 make a "create" package
the old "other" package, plus move some of conversion in there
2013-06-13 10:12:22 +01:00
John Cupitt 84f3fa5b19 move conver_disp to deprecated 2013-06-13 09:36:04 +01:00
John Cupitt 7430e49f91 polish vips_xyz() a bit
and remove the old one
2013-06-12 17:59:29 +01:00
John Cupitt 86f3d2b083 add vips_xyz() 2013-06-12 14:51:43 +01:00
John Cupitt de5745d1cc Merge remote-tracking branch 'origin/master' 2013-06-12 12:55:50 +01:00
John Cupitt 4c0c3f7063 don't call g_type_init() on newer glibs
stops a warning message
2013-06-11 15:22:02 +01:00
John Cupitt 87bdfd1cf5 oop turn off DEBUG 2013-06-11 14:54:01 +01:00
John Cupitt c77386f3cf vips_magickload() only reads 1st image in sequence
with an @all_frames option to get them all, thanks acrispino
2013-06-11 14:29:43 +01:00
John Cupitt e15f02161e fix up im_vips2dz args
oops arg processing wasn't right
2013-06-11 14:03:14 +01:00
John Cupitt 55bfa92725 add a vips7 interface to the deepzoom writer 2013-06-11 12:32:46 +01:00
John Cupitt 69de2f83af fix auto* change
mkinstalldirs is no longer included
2013-06-11 10:23:26 +01:00
John Cupitt 3bffb2a7e3 Merge remote-tracking branch 'origin/7.32' 2013-06-11 09:54:21 +01:00
John Cupitt 0550ace61c change Type tag for RAD
tag as scRGB, seems more sensible
2013-06-10 16:40:37 +01:00
John Cupitt c95dbe3dcd link against gthread on old glib
if glib is ancient, link against gthread ... fixes centos5 build

thanks re-boot
2013-06-09 17:09:21 +01:00
John Cupitt 0221bcd3f6 fix no-pango mode
oops again
2013-06-07 22:52:54 +01:00
John Cupitt 23f05d4d8c oops 2013-06-07 18:03:31 +01:00
John Cupitt 5d7f19beb3 fix VImage.PIL_mode_from_vips()
thanks Alessandro
2013-06-07 10:42:47 +01:00
John Cupitt d13ff241c5 don't scan whole files in israd() 2013-06-07 10:30:09 +01:00
John Cupitt ad258d9ad2 version bump 2013-06-07 09:53:22 +01:00
John Cupitt 17151241f0 better error debug 2013-06-07 09:13:18 +01:00
John Cupitt 697555962a fix vips_image_write() for non "p" sources
oops!
2013-06-06 14:43:52 +01:00