Commit Graph

1266 Commits

Author SHA1 Message Date
John Cupitt
764ce559f8 better benchmark prog
the benchmark program (benchmark/benchmarkn.sh) runs each test three
times and just reports the fastest run

it also detects the number of CPUs you have and automatically loops the
right number of times

additionally, tiles now default to 512x512, so it explicitly sets tiles
back to 64x64 to make comparisons with earlier versions easier
2011-08-03 11:25:31 +01:00
John Cupitt
a848adc7b3 add im_concurrency_get() to operation db
to help benchmarkn.sh loop appropriately automatically
2011-08-03 11:17:57 +01:00
John Cupitt
8790e552b6 fix a race in xyz to lab
the table build had a race condition
2011-08-03 10:12:45 +01:00
John Cupitt
1bded6682e todo update 2011-07-29 13:24:52 +01:00
John Cupitt
0087b3b655 fix memleak in exif write 2011-07-29 11:41:18 +01:00
John Cupitt
122c697349 vips7compat missed old enum names
oops, ==0 missing from a strcmp()
2011-07-28 16:52:29 +01:00
John Cupitt
8cc0d033ea allow <> enclosing argument lists 2011-07-28 12:55:54 +01:00
John Cupitt
1fe6241a5e move enum gtk-doc
move the enum gtk-doc comments into the headers, matching glib's style

I hope this might fix some warnings during gtk-doc generation, but they
seeem to still be there, ah well
2011-07-28 12:22:44 +01:00
John Cupitt
e7dbd89938 bump version again, doc fixes 2011-07-26 22:37:03 +01:00
John Cupitt
cf4c5979eb more win32 fixes 2011-07-26 18:44:52 +01:00
John Cupitt
eda7a9d9d7 fixes to get win32 building 2011-07-26 16:40:26 +01:00
John Cupitt
b0e7c727fa version bump
version bump for release, get make dist working again
2011-07-26 09:59:53 +01:00
John Cupitt
1b5803af2e new man pages
restored and updated man.1 pages
2011-07-26 09:27:06 +01:00
John Cupitt
a92e500132 more CLI fixes
"vips add" shows output args, clearer display, spot too few args
2011-07-22 17:28:08 +01:00
John Cupitt
9627f889b0 reenable wrap7 for nicked vips7 ops
so now "vips im_subtract" gets you the old interface, "vips subtract"
the new one
2011-07-22 16:12:47 +01:00
John Cupitt
cfb076f726 make enum names work again
allow old names in enums, so edivips --format allows IM_BANDFMT_UCHAR,
VIPS_FORMAT_UCHAR and uchar
2011-07-22 15:56:31 +01:00
John Cupitt
0a4e314194 start fixing char->int enums use
oops was doing chart->int incorrectly for glib enums
2011-07-22 13:51:20 +01:00
John Cupitt
8dc7bb5c04 get_bytes() ignores mode
get_bytes() now strips any mode flags from the end of the filename
2011-07-22 11:41:13 +01:00
John Cupitt
058bcdfac4 disable wrap7 for now
we don't want to use wrap7 yet, we need to make sure the vips7 interface
keeps working
2011-07-18 17:13:27 +01:00
John Cupitt
ed5cb531bd wrap7 works, for images at least
still need to add masks, doubles, strings, etc.
2011-07-18 17:10:41 +01:00
John Cupitt
681e3c893e update notes 2011-07-18 09:03:33 +01:00
John Cupitt
fde23c93ef vipsobject cleanups
vipsobject always goes via set_prop so it can work with subclasses
which override these funcs (eg. wrap7)
2011-07-17 14:36:57 +01:00
John Cupitt
e11fbbb23f move vips.c usage and nickname
wrap7 now has the old vips.c nickname maker and usage code
2011-07-16 13:33:20 +01:00
John Cupitt
10b7b2eec0 wrap7 works more
"vips im_subtract" now produces a usage message via vips8
2011-07-16 12:44:35 +01:00
John Cupitt
580536e412 indent class lists
"vips list classes" now indents the class lists by structure
2011-07-16 11:26:24 +01:00
John Cupitt
03226f6f67 vips7 wrap runs
"vips list clases" now works, not tested actually supplying any args
2011-07-15 21:28:33 +01:00
John Cupitt
a9dc321afd add wrap7
add a thing to wrap vips7 functions as vips8 classes

in and in use, but not yet working
2011-07-15 14:37:20 +01:00
John Cupitt
5b97d5210a more vips7 wrapper hackery
small changes to vipsobject etc. as well ... warn on read of unset
props, for example, and dont pointlessly set the set/set ops in
subclasses
2011-07-13 14:51:02 +01:00
John Cupitt
516b76da7b started a wrapper for vips7 functions
have a go at automatically wrapping up a vips7 im_function as a vips8 class
2011-07-12 17:21:45 +01:00
John Cupitt
2ee4fefa46 better temp files for im_vips2tiff() pyramids
im_vips2tiff() used to keep intermediate files in the same directory as
the destination file ... instead, make temp files using im__temp_name(),
see im_system_image().
2011-07-12 15:27:22 +01:00
John Cupitt
0f20f9152b icc import/export cast inputs 2011-07-12 14:56:58 +01:00
John Cupitt
e84640af58 im_falsecolour() does implicit conversion
convert input automatically to mono 8-bit in falsecolour
2011-07-12 13:30:25 +01:00
John Cupitt
c78e3382fc TODO notes
updated the TODO again
2011-07-08 14:28:08 +01:00
John Cupitt
6131388cc4 jpeg cmyk write was not inverting
the change to vips_sink_disc() for vips2jpeg make CMYK write fail, argh

thanks to Ole for the report
2011-07-08 11:34:26 +01:00
John Cupitt
b04daa4849 added deprecated wrapper for im_remainderconst_vec
forgot to add a dispatch wrapper for im_remainderconst_vec when we reanmed to
im_remainder_vec
2011-06-27 15:47:01 +01:00
John Cupitt
180fa919e2 blend does sizealike
added sizealike to im_blend()
2011-06-27 12:28:10 +01:00
John Cupitt
53492613bd merge change from aturcotte 2011-06-23 10:55:02 +01:00
John Cupitt
edbe0c99cc fix strange warning with binary ppm load
Binary ppm load would always warn about "file too long". The image size
prediction was missing the image header size.
2011-06-22 13:51:26 +01:00
John Cupitt
2cb45f698e fix two small bugs
VipsPool was not linking to the parent class correctly, ifthenelse had
tangled images.
2011-06-21 14:42:39 +01:00
John Cupitt
3126e5100d get interpolate new from string working
vips_type_map() has to see abstract types now so we can get the
baseclass for interpolate. interpolate class has to set the nickname.
2011-06-21 11:08:56 +01:00
John Cupitt
642305327e oops 2011-06-20 10:29:00 +01:00
John Cupitt
d3b29f9cd2 start gobject-introspection experiments
messing about with gi for python bindings
2011-06-20 08:31:20 +01:00
John Cupitt
f85655052e build xyz2lab tables in im_col_*
added calls to build xyz2lab tables, thanks hkaimio
2011-06-19 17:15:10 +01:00
John Cupitt
863325a257 cleanups before attempting gobject base 2011-06-18 17:47:56 +01:00
John Cupitt
4918a67e14 init more types on startup
create VipsImage and VipsRegion types on vips_init()
2011-06-18 17:42:06 +01:00
John Cupitt
e346187043 new python cleanups
seems to work now, try an operation next
2011-06-18 13:34:52 +01:00
John Cupitt
3628692799 add experimental ctypes Python binding
start hacking on a new Python interface
2011-06-17 14:50:14 +01:00
John Cupitt
3920f5dc7e get im_system_image() working again
chop stuff about to get system image working again.
2011-06-16 13:54:13 +01:00
John Cupitt
6a582ae1a9 test for res-unit meta before fetching
if the res-unit meta is missing, don't generate an error message
2011-06-16 11:34:20 +01:00
John Cupitt
f85c36edee oop double free() in system_image on error 2011-06-15 22:17:08 +01:00