Commit Graph

304 Commits

Author SHA1 Message Date
John Cupitt
9297a96ecf support libpng-1.5
libpng-1.5 removes some old API that libvips still used ... update png
read/write to support the new API
2011-03-17 14:17:03 +00:00
John Cupitt
73839df294 move some vips object stuff about
move some vipsobject code out of util.c
2011-03-17 13:22:02 +00:00
John Cupitt
ac801dd1fc rename Rect as VipsRect
move Rect to the new Vips namespace, add gtkdoc comments, add back
compat stuff
2011-03-17 13:05:46 +00:00
John Cupitt
cfe34cacd2 back to vipsobject again
but without properties now
2011-03-16 18:26:32 +00:00
John Cupitt
2abb0f8d99 move VipsRegion off VipsObject again
We were having various unfixable segvs with VipsRegion on top of
VipsObject. Move back to a simple struct to reestablish stability,
then try slowly moving back to GObject again.
2011-03-16 14:27:34 +00:00
John Cupitt
48a91627d1 small further change
helps a bit more, perhaps
2011-03-14 18:01:34 +00:00
John Cupitt
4cdd5640ea fix crash in nip2 make check
fully init region before we go parallel.
2011-03-14 15:59:33 +00:00
John Cupitt
cc6535acff rename ->progress
->progress, the image we signal progress on, has become progress_signal.
There's a progress class as well now, it was just too confusing.
2011-03-11 14:08:10 +00:00
John Cupitt
e17435c105 small fixes
small fixes and we now pass all tests
2011-03-11 13:53:59 +00:00
John Cupitt
939ce4fd51 rewind is an object method
make rewind a method on object, image uses it to preserve filename and
mode across rewind
2011-03-10 23:44:38 +00:00
John Cupitt
e180c9ec52 better object rewind
added a vips_object_rewind() to allow rebuild, though it's not quite
working yet, see TODO
2011-03-10 14:44:38 +00:00
John Cupitt
834630e562 removed debug.c
debug and sanity checking are now part of object
2011-03-10 14:17:02 +00:00
John Cupitt
b8e526d40e now runs simple operations
im_copy and im_invert at least seem to work
2011-03-09 17:45:37 +00:00
John Cupitt
fd26b098b7 it runs!
"vips im_avg poop.png" now works, amazing. Test a few more things before
we merge back to master.
2011-03-07 15:52:53 +00:00
John Cupitt
53f4eb7811 now sort-of runs
small fixes and now it sort-of runs
2011-03-06 22:05:57 +00:00
John Cupitt
c49db35cfa all compiles and links cleanly
or mostly, anyway, try running next
2011-03-05 12:07:18 +00:00
John Cupitt
bb813a21b5 libvips builds
clean build, phew, try tools next
2011-03-04 16:14:13 +00:00
John Cupitt
ab427d906b iofuncs compiles
except for a reset thing we need argh
2011-03-03 17:54:08 +00:00
John Cupitt
6fa48b0e7d region done
VipsRegion now exists, up to semaphore.c
2011-03-03 14:49:12 +00:00
John Cupitt
3d55a7876c half-way though moving REGION
init / dest / type need to be done
2011-03-02 21:53:32 +00:00
John Cupitt
6b9ddf6f54 up to REGION now
more hackery, we've now reached REGION
2011-03-02 14:13:05 +00:00
John Cupitt
be134f4b82 remove setbuf
... and start on sink*().
2011-03-01 22:07:48 +00:00
John Cupitt
7257c5426a split vips_new_*() modes up
New modes and properties mean we can use _build() for all the vipsimage init
stuff now.
2011-03-01 14:49:16 +00:00
John Cupitt
17c5ab4383 remove im_binfile
im_binfile is now folded into image.c
2011-02-28 18:00:03 +00:00
John Cupitt
2a2fef64f3 vips and error done
more files compile
2011-02-26 14:46:38 +00:00
John Cupitt
d203195fff dispatch.c compiles
woo!
2011-02-25 20:28:59 +00:00
John Cupitt
241187146f debug.c makes it
by removing most of it, argh. add _sanity() as an object mthod.
2011-02-25 18:07:09 +00:00
John Cupitt
8aca405527 doing debug.c
working through the rest of iofuncs, the enum stuff in debug.c needs
ripping out next
2011-02-24 21:15:03 +00:00
John Cupitt
aa8e27bd3c it compiles!
The new image.c now compiles. Next: get everything else to compile too.
2011-02-24 15:06:49 +00:00
John Cupitt
7155550c18 more hacking
yet more vipsimage twonking
2011-02-24 12:51:52 +00:00
John Cupitt
16b032f8c1 more hackery
getting closer, stuck on vips image byte-swap logic now, probably need a
im_file2vips() type function
2011-02-23 17:38:24 +00:00
John Cupitt
1d364cd9f1 sigh more hacking
Yet more VipsImage fiddling.
2011-02-22 21:46:17 +00:00
John Cupitt
20cd123caa more vipsimage-vipsobject hacking
sigh
2011-02-21 17:44:31 +00:00
John Cupitt
7a704bad50 more VipsImage hackery
getting closer to compiling
2011-02-21 09:16:17 +00:00
John Cupitt
7f081f4d54 more hackery
headers compile now, just about, working on image.c
2011-02-16 14:40:31 +00:00
John Cupitt
62836151d4 more vipsimage hacking
Moved all of im_close.c and im_open.c into the image.c class file,
various small cleanups.
2011-02-15 14:41:46 +00:00
John Cupitt
cbc366cd7d more image to object hackery
More movement of VipsImage to a subclass of VipsObject. im_close.c still
to do. Added wrappings for the enums.
2011-02-14 18:23:01 +00:00
John Cupitt
8dbb43570e sync before trip
synced to github before holiday
2011-02-05 12:52:29 +00:00
John Cupitt
e54bdd0868 more VipsImage on VipsObject hacking
more hacking about to get VipsImage on top of VipsObject
2011-02-04 14:42:07 +00:00
John Cupitt
729b680841 set MAP_NOCACHE if we can
Set the MAP_NOCACHE flags in mmap() if we can. On OS X this stops the
mad super-aggressive disc caching and produces a huge improveemnt in
performance.
2011-02-02 21:56:40 +00:00
John Cupitt
444887e57f more informative progress messages
--vips-progress now tells you nthreads, tile size and nlines. For
example:

$ vips --vips-progress im_shrink big.v x.v 8 8
vips x.v: 2 threads, 2858 x 1 tiles, groups of 4 scanlines
vips x.v: done in 43s
$
2011-02-02 12:52:54 +00:00
John Cupitt
233cbf1f15 get all fopen()s going through util.c
Add a text_mode flag to im__file_open_write() and _read() so we can
route all fopen() though these two functions.
2011-01-31 16:00:35 +00:00
John Cupitt
f70ae48de3 faster tiled tiff read, faster im_tile_cache() 2010-12-12 17:46:14 +00:00
John Cupitt
404778cc3c oop, better sync sinkscreen fix 2010-11-27 20:50:35 +00:00
John Cupitt
197877e32c fix im_cache 2010-11-25 17:20:14 +00:00
John Cupitt
b0f162478f more im_conv improvements 2010-11-18 12:36:49 +00:00
John Cupitt
c1b197bc54 oops orc disabling 2010-11-17 12:32:54 +00:00
John Cupitt
ceb3a6ec5c morph done phew 2010-11-12 11:47:24 +00:00
John Cupitt
425795a8c8 multipass mode for im_conv() 2010-11-08 17:24:58 +00:00
John Cupitt
25267f26eb stuff 2010-11-05 20:42:56 +00:00
John Cupitt
526590d244 fix vector stuff 2010-11-05 10:52:29 +00:00
John Cupitt
3dfc8d8ee2 stuff 2010-11-04 17:30:49 +00:00
John Cupitt
5bedec65da argh 2010-11-04 14:54:23 +00:00
John Cupitt
f930fe061b use names less in orc 2010-11-04 13:50:20 +00:00
John Cupitt
f3b5bfde80 merge orc branch 2010-11-01 17:46:47 +00:00
John Cupitt
9b3d081994 oops, init status 2010-10-27 15:49:57 +00:00
John Cupitt
13723a1cec oops 2010-10-22 15:39:11 +00:00
John Cupitt
0d2bdac332 gtk-doc fixes 2010-10-22 13:49:36 +00:00
John Cupitt
b70319cbec gtkdoc fixes 2010-10-21 21:05:26 +00:00
John Cupitt
6b1c5b8e56 im_draw_mask() added 2010-09-28 16:06:58 +00:00
John Cupitt
d215ef4a33 im_inserplace() hacking 2010-08-25 11:15:36 +00:00
John Cupitt
f27ab2fa3f fix window_offset stuff, fix a performance problem 2010-08-12 15:56:07 +00:00
John Cupitt
669dda83d2 stuff 2010-08-01 20:27:47 +00:00
John Cupitt
60280aa318 various cleanups, remove liboil 2010-07-31 10:35:57 +00:00
John Cupitt
b05bd38cae stuff 2010-07-30 15:51:34 +00:00
John Cupitt
57d7d02214 fixes to rd mode 2010-07-30 12:17:46 +00:00
John Cupitt
7e6deb8548 stuff 2010-07-30 08:40:22 +00:00
John Cupitt
d2f5893641 disc open stuff 2010-07-29 21:08:30 +00:00
John Cupitt
9ea66365c4 add rd mode to im_open() 2010-07-29 10:51:51 +00:00
John Cupitt
f822234c4e use GetTempPath() on WIndows 2010-07-29 10:18:44 +00:00
John Cupitt
6edf57eed9 fixes from Tim Elliott 2010-07-17 15:57:22 +00:00
John Cupitt
3f8259e390 vips.exe is less chatty 2010-06-24 16:02:00 +00:00
John Cupitt
75fdc5ae4e moreconst fixes, sinkdisc fixes, constant vector clip added 2010-06-23 15:45:43 +00:00
John Cupitt
06141a2516 better region repaint during drag 2010-06-21 17:14:29 +00:00
John Cupitt
7fd672f595 faster, more accurate bilinear/bicubic 2010-05-30 17:26:23 +00:00
John Cupitt
84398a7686 i18n fixes 2010-05-25 16:46:03 +00:00
John Cupitt
b4925940fb add German translation 2010-05-24 10:05:59 +00:00
Nicolas Robidoux
7de848e644 removed all traces of yafrsmooth (obsolete prototype) 2010-05-15 22:24:27 +00:00
John Cupitt
cf0ba3b887 fix a race in threadpool 2010-05-11 20:22:12 +00:00
John Cupitt
8ba026875b stuff 2010-05-10 17:10:55 +00:00
John Cupitt
daf074e950 PFM read / write 2010-05-03 16:52:15 +00:00
John Cupitt
1d473ef5cc stuff 2010-04-30 19:16:39 +00:00
John Cupitt
f1d04ee443 stuff 2010-04-29 13:49:28 +00:00
John Cupitt
936a89bf3e stuff 2010-04-29 11:49:41 +00:00
John Cupitt
ae2ef9c04e stuff 2010-04-29 07:50:27 +00:00
John Cupitt
205328f76f no-threads sinkscreen fix 2010-04-18 09:50:57 +00:00
John Cupitt
6671591791 fixes to get paintbox working again 2010-04-17 22:02:34 +00:00
John Cupitt
4dd1fb608a fixes to get paintbox working again 2010-04-17 14:20:36 +00:00
John Cupitt
fdbdba432b strip out threadgroup 2010-04-16 21:21:15 +00:00
John Cupitt
f1ebc12fb1 added sinkmemory, started removing threadgroup 2010-04-16 16:09:48 +00:00
John Cupitt
54730feadc im_vips2tiff() uses vips_sink() instead of threadgroup 2010-04-16 15:48:30 +00:00
John Cupitt
31b06dbc5a sink_screen works 2010-04-16 13:44:24 +00:00
John Cupitt
41921942e6 stuff 2010-04-15 20:32:55 +00:00
John Cupitt
732caaf7d8 stuff 2010-04-14 20:44:06 +00:00
John Cupitt
7ca1fb4909 stuff 2010-04-12 17:27:11 +00:00
John Cupitt
fb965a7136 stuff 2010-04-11 20:24:04 +00:00
John Cupitt
eb4d3f9fd5 vips_sink_screen() hacking 2010-04-10 08:35:55 +00:00
John Cupitt
56c1c9c036 im_iterate() has an optional threadpool backend too 2010-04-09 16:51:45 +00:00
John Cupitt
5b00c86bab add VIPS_DEBUG_MSG 2010-04-06 09:02:26 +00:00
John Cupitt
cd9bdf48c0 stuff 2010-04-01 12:42:37 +00:00
John Cupitt
7dfca6e806 hist hacking 2010-03-24 13:53:09 +00:00
John Cupitt
2c2aa11cd9 hist hacking 2010-03-24 10:14:16 +00:00
John Cupitt
55541cdfc8 stuff 2010-03-21 22:39:47 +00:00
John Cupitt
064bd55a98 version bump, use wbuffer2 everywhere 2010-03-21 15:00:39 +00:00
John Cupitt
2bbcf5aa5e threadpool progress feedback 2010-03-21 13:54:56 +00:00
John Cupitt
cdbda60d2e wooo, threadpool works 2010-03-21 00:49:30 +00:00
John Cupitt
8d7dcfe5f6 added wbuffer2 2010-03-20 23:56:35 +00:00
John Cupitt
dedbe06ea4 stuff 2010-03-19 14:54:12 +00:00
John Cupitt
b0c8ddc1df threadpool compiles 2010-03-18 22:08:07 +00:00
John Cupitt
b68a25a229 stuff 2010-03-18 15:05:24 +00:00
John Cupitt
87fddf9cd1 fix a race in im_render() invalidation 2010-03-17 13:34:23 +00:00
John Cupitt
223c964496 better nprocs guessing 2010-03-16 10:34:47 +00:00
John Cupitt
55d78a4dcf stuff 2010-03-15 18:11:36 +00:00
John Cupitt
980c03dd67 stuff 2010-03-15 17:12:22 +00:00
John Cupitt
f6373987e1 better mask painting in im_render() 2010-03-15 16:00:28 +00:00
John Cupitt
7c1d0a7bfb scale output buffers with nthr for smalltile 2010-03-14 20:12:41 +00:00
John Cupitt
49d7f542cc more repaint hacking 2010-03-12 16:48:22 +00:00
John Cupitt
a8ffcdaaf4 stuff 2010-03-12 14:40:27 +00:00
John Cupitt
3f10e78b91 stuff 2010-03-12 09:05:08 +00:00
John Cupitt
ced43ce70e oops, keep Render alive for longer 2010-03-10 21:26:45 +00:00
John Cupitt
f652e56abe oops, keep Render alive for longer 2010-03-10 20:12:39 +00:00
John Cupitt
96964001c7 oops, keep Render alive for longer 2010-03-10 20:09:44 +00:00
John Cupitt
c80452f70b oops upstream/downstream typo 2010-03-10 15:35:55 +00:00
John Cupitt
49b6534033 icc profiles are searched for 2010-03-09 11:50:49 +00:00
John Cupitt
a3456511b6 rename parent/child as upstream/downstream 2010-03-08 17:52:32 +00:00
John Cupitt
8b24518422 fix to buffer caching 2010-03-06 17:42:17 +00:00
John Cupitt
1897f062d6 stuff 2010-03-05 20:22:39 +00:00
John Cupitt
94b8f79a22 stuff 2010-03-05 20:21:06 +00:00
John Cupitt
060b4d4a3d argh broken everything 2010-03-05 14:43:49 +00:00
John Cupitt
3c18b0f0c1 stuff 2010-02-17 17:17:38 +00:00
John Cupitt
81afcea40d stuff 2010-02-15 17:32:21 +00:00
John Cupitt
f9b29783f5 png fix, doc fixes 2010-02-05 13:32:08 +00:00
John Cupitt
aace4d6ee6 stuff 2010-02-04 22:03:49 +00:00
John Cupitt
2932f383bc convolution docs 2010-02-03 16:24:05 +00:00
John Cupitt
d5a4ecb767 gtkdoc im_extract 2010-01-29 13:40:27 +00:00
John Cupitt
14516e72d3 conversion gtkdocs 2010-01-28 16:05:57 +00:00
John Cupitt
95a57de46c im_region_black() etc. 2010-01-27 14:40:24 +00:00
John Cupitt
f0baf6e108 oops 2010-01-27 08:12:31 +00:00
John Cupitt
79c050c814 added vips_bandfmt_*() 2010-01-26 21:28:33 +00:00
John Cupitt
e0d4e0c158 added im_meta_remove 2010-01-25 14:23:30 +00:00
John Cupitt
3673808aa4 flood fixes 2010-01-22 16:56:57 +00:00
John Cupitt
a4cdba13b2 paintbox fixes 2010-01-22 16:17:23 +00:00
John Cupitt
c5e3ce4408 stuff 2010-01-21 17:04:00 +00:00
John Cupitt
1861c82cf6 bump to 7.21, im_system_image works 2010-01-15 14:22:11 +00:00
John Cupitt
2f0a6ab66b stuff 2010-01-14 22:07:07 +00:00
John Cupitt
fe42882030 stuff 2010-01-14 16:49:45 +00:00
John Cupitt
ddb12bf8d3 man page spelling errors 2010-01-11 09:06:21 +00:00
John Cupitt
157e01bb4c added postclose callbacks 2010-01-10 21:28:38 +00:00
John Cupitt
88779a7e3b add im_system_image() 2010-01-08 16:58:44 +00:00
John Cupitt
377b76b255 add --disable-cxx option 2010-01-08 14:28:40 +00:00