Kleis Auke Wolthuizen
0337c09700
Cleanup gettext handling ( #2695 )
...
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
John Cupitt
801111a2fa
better dint rules
...
We had some special cases coded for dhint inheritance, but they could
fail in some edge cases. Revert to something simpler and more
predictable.
see https://github.com/libvips/libvips/issues/1810
2020-09-08 13:50:14 +01:00
Kleis Auke Wolthuizen
9246094033
Fix function pointer cast issues
...
It is undefined behavior in C and C++ to cast a function pointer
to another type and call it that way. This does work in most native
platforms, however, despite it being UB, but in WASM it can fail.
See:
https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
2020-06-30 13:35:41 +02:00
John Cupitt
3921e63561
fix vips image writes of more than 2gb
...
With very wide images and huge numbers of threads, it was possible to
trigger an int overflow in write_vips().
Thanks @erdmann
See https://github.com/libvips/libvips/issues/1306
2019-05-07 13:56:52 +01:00
Angel Sánchez
7125608904
WinSDK stdlib.h has only abs function for int, long, long long and __int64 parameteres, cstdlib has the abs function with a double parameter
2018-05-31 14:00:35 +02:00
Alistair Thomas
7452d046ca
Update GObject introspection annotations for libvips/iofuncs directory
2017-09-30 13:31:00 +01:00
John Cupitt
f302bd6570
all working!
2017-01-12 14:06:54 +00:00
John Cupitt
3d216da8c9
rename recomp as reorder
2017-01-12 09:15:10 +00:00
John Cupitt
d1ef5a6890
compiles, needs more testing
2017-01-11 14:05:50 +00:00
John Cupitt
2be0b97dce
switch to g_warning()_/g_info()
...
we had vips_warn() and vips_info(), but they are a bit crappy ... switch
to g_warning() and g_info() instead
see https://github.com/jcupitt/libvips/issues/544
2017-01-03 15:52:27 +00:00
John Cupitt
8ebed8fe03
fix the bg render thread in sinkscreen
...
it could exit under heavy load, resulting in black everywhere ... now
let it exit when there's no work, and restart next time a dirty tile
appears
2015-12-02 15:51:25 +00:00
John Cupitt
98e80903e0
metadata was not being saved to vips files
...
broken by the rewind changes a few weeks ago
added a test too
2015-05-28 16:19:32 +01:00
John Cupitt
04feec359f
rewind images after write
...
after sinkdisc or sinkmemory, we need to rewind the image we wrote to so
that subsequent reads get the written image and don't regenerate it
2015-04-18 17:46:29 +01:00
John Cupitt
be4ffa6d8a
more pyvips8 docs
...
and cleanups of various small doc markup errors
2014-11-07 14:49:18 +00:00
John Cupitt
e6a2994c8d
small fixes
2014-10-18 15:42:56 +01:00
John Cupitt
af84b3097c
more docs work
2014-08-19 16:57:37 +01:00
John Cupitt
12cf71a6a9
combin copy_fields and demand_hint
...
We had two API calls, vips_image_copy_fields() and vips_demand_hint().
They are now combined in the single vips_image_pipeline() call.
All operations are now slightly smaller and simpler.
2013-10-22 09:29:40 +01:00
John Cupitt
8956ba536b
fix some cppcheck warnings
2013-05-01 18:46:15 +01:00
John Cupitt
0c6da0c330
fix demand hints for shrink
...
"vips shrink" was broken due to wonky demand hints, thanks Jan
2013-04-08 13:08:24 +01:00
Benjamin Gilbert
8cc76a6ba3
Update address for Free Software Foundation
...
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt
4901c9f6a5
clean out debugging code
2012-10-31 09:17:21 +00:00
John Cupitt
8e0de67f65
sync
2012-10-30 17:16:55 +00:00
John Cupitt
78fb2dd75b
Merge remote-tracking branch 'origin/master' into parallel-read
...
Conflicts:
libvips/foreign/openslide2vips.c
2012-10-16 23:46:01 +01:00
John Cupitt
0c87863222
argh still deadlocks on example.rb
2012-09-04 14:56:22 +01:00
John Cupitt
88deea9a09
oop typo
...
stray _unlock()
2012-07-15 06:05:34 +01:00
John Cupitt
87e37e83e2
Merge remote-tracking branch 'origin/7.28'
...
Conflicts:
libvips/iofuncs/generate.c
libvips/iofuncs/init.c
po/vips7.pot
2012-07-09 14:09:25 +01:00
John Cupitt
8582e40307
improve use from many threads
...
lock around the operation cache and the upstrea/downstream link system
so vips works when used from many threads: you can now create an image
in one thread and process it in another
2012-07-09 13:47:09 +01:00
John Cupitt
cff8f44373
improve thread-safety
...
the cache and link thing now lock, so you can create images and process
them from several threads
2012-07-07 18:37:47 +01:00
John Cupitt
3694a2edc5
add sequential mode to vips7
...
the tiff and jpg readers let you give :seq as well
2012-06-24 09:44:50 +01:00
John Cupitt
daac11b01c
add "minimise" signal
...
on end of an image loop, send a "minimise" signal down the pipeline
tilecache listens for this signal on its output and drops the cache
helps reduce ruby memuse
2012-06-23 11:51:57 +01:00
John Cupitt
3dcd3729a0
fix interlaced png read
...
also remove old sinkmemory
2012-02-17 17:59:09 +00:00
John Cupitt
fcf052ab09
new sinkmemory works, more png fixing
2012-02-17 17:12:51 +00:00
John Cupitt
c197e2f90e
more robust enum printing
2012-01-27 17:14:59 +00:00
John Cupitt
49d3542cc7
remove outchecks, again
2011-12-21 19:00:32 +00:00
John Cupitt
a62f5f8832
remove wio_output
2011-12-21 12:08:29 +00:00
John Cupitt
3015d7d7b8
move imagemagick load over to the new style
2011-12-19 08:58:04 +00:00
John Cupitt
b9db7249f4
new-style CLI save working
2011-11-27 21:31:21 +00:00
John Cupitt
f2d9001cce
rename function members
...
some function members were not named with a trailing _fn, causing
confusion
2011-11-02 09:22:30 +00:00
John Cupitt
952199e92a
add VipsCopy
...
add a basic VipsCopy operation, also demand_hint is now void
2011-09-29 13:34:14 +01:00
John Cupitt
ae8faf6597
remove dmalloc support
...
we never used it and valgrind etc. is better anyway
2011-09-23 17:12:47 +01:00
John Cupitt
35a7515e3f
small bugfixes
...
various bugfixes ... nip2 runs reliably again now
2011-06-02 15:34:57 +01:00
John Cupitt
1f3f20ee4e
new cli working
...
some final testing needed
2011-05-13 14:47:23 +01:00
John Cupitt
8ddc805878
phew all done
...
iofuncs is now all on the vips_ namespace, and all revised, hopefully
2011-03-28 17:18:06 +01:00
John Cupitt
4120f7b296
cleanup util
...
just a few little things left, yay
2011-03-28 16:03:31 +01:00
John Cupitt
842d2e1b16
more more stuff to vips_
...
window, memory, buffer, b64 all moved to the vips_ namespace
2011-03-25 14:01:12 +00:00
John Cupitt
b8e4c57830
move im_generate to vips_
...
rename and reorganise im_generate and friends
2011-03-25 09:52:36 +00:00
John Cupitt
9259d686f9
fold im_demand_hint
...
demand hint stuff moves into generate
2011-03-24 17:03:27 +00:00