Commit Graph

1154 Commits

Author SHA1 Message Date
John Cupitt
df0eab1f35 TODO notes
small TODO updates
2011-03-03 22:01:43 +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
05ab548636 ri2c was broken
Oops, im_ri2c() was totally broken :-(
2011-02-28 12:16:43 +00:00
John Cupitt
3e112602f2 vector im_add was broken for int/uint
oops, im_add() with Orc was broken for uint and uint. Added more tests
to nip2 to pick this up earlier in future.
2011-02-28 11:15:09 +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
3378c2ba2c small nohalo improvement
Commented out the CHEAP option for nohalo, it gets slightly better
without it and there's not much difference to runtime.
2011-02-24 12:54:56 +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
a7d2288bad im_jpeg2vips() ignores weird APP1 chunks
Some JPEGs seem to have multiple APP1 chunks. There should only be one,
and it should only contain EXIF data (I think), but some seem to have
many.

This was causing problems: the loader was trying to read exif
from all chunks, and a second chunk with invalid data was zapping the
stored exif meta tag. As a result, things like

  vips im_copy a.jpg b.jpg

would appear to lose EXIF info if a.jpg had spurious APP1.
2011-02-21 17:01:00 +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
e59b74b646 tiny tweak to object.h
all I managed before falling asleep, ha
2011-02-15 22:49:22 +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
d5d312aa91 update README
updated the README with some notes on git
2011-02-14 11:34:13 +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
0af9b5dede started moving VipsImage to VipsObject
Started hacking VipsImage about to sit on top of VipsObject instead.
We'll get it working, then refine it, hopefully.
2011-02-03 14:35:28 +00:00
John Cupitt
826de45ba1 stuff 2011-02-03 12:52:14 +00:00
John Cupitt
aa620ea540 remove the old man pages
Finally junk the old man pages, everything is redone as gtk-doc now.
2011-02-03 11:50:58 +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
aca238dfca TODO updates 2011-02-02 21:19:13 +00:00
John Cupitt
af95502d82 final operators gtk-doc'd
All done! Good Lord. Just some parts of iofuncs/ still to do.
2011-02-02 17:17:05 +00:00
John Cupitt
097eaedd69 more gtk-doc 2011-02-02 14:49:29 +00:00
John Cupitt
afef89369b gtk-doc for interpolate
Add gtk-doc comments for VipsInterpolate.
2011-02-02 14:24:58 +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
1de1435752 oops im_zone() typo
missed a var being renamed argh
2011-02-02 12:51:40 +00:00
John Cupitt
d064818fd7 done gtk-doc for "other"
Finished gtk-doc-ing "other".
2011-02-01 14:47:08 +00:00
John Cupitt
df91b4e4a0 more gtk-doc hacking
gtk-doc more of "other", move various useless functions into deprecated
2011-02-01 14:41:46 +00:00
John Cupitt
84635be1e3 oops forgot a proto
argh
2011-02-01 13:37:18 +00:00
John Cupitt
390fd643a3 move im_dif_std() to almostdeprecated
im_dif_std() is another ancient function which I don't want to update.
You can now make this function with a simple combination of other vips
operations.

This patch includes gtk-doc for im_benchamrk.c
2011-02-01 13:27:50 +00:00
John Cupitt
117a5fedcf deprecate cooc and glds
Moved cooc and glds functions to almostdeprecated. No one uses them, no
one understanbds them, I don't want to fix them up.
2011-02-01 12:14:30 +00:00
John Cupitt
29b7806603 more .gitignore
add vim .swp files to .gitignore
2011-02-01 08:41:01 +00:00
John Cupitt
b9760f7a02 route all fopen() though util.c
im__file_open_read() / _write() now have a text_mode flag, so we can use
them everywhere and get rid of the last fopen() calls.
2011-01-31 16:15:19 +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
5764182fe3 fix up .gitignore some more
Argh more missing stuff in .gitignore.
2011-01-31 15:28:44 +00:00
John Cupitt
663c3c15fd fits reader is lazy
The fits reader is now lazy, and reads out whole tiles when it can.
Previously it read a scanline at a time, and used WIO.

We read in planes and combine with a set of im_bandjoin().

Use an im_flipver() at the end to get rows in the right order.
2011-01-31 15:24:41 +00:00
John Cupitt
c19a6d90be fits reader hacking 2011-01-28 17:14:58 +00:00