Commit Graph

11 Commits

Author SHA1 Message Date
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
Corentin Noël 69bf2be12b
Enhance the introspection support by fixing annotations (#2657)
Also refine the .metadata file
2022-02-15 10:54:40 +00:00
John Cupitt 362adae8c6
Revert "Enhance the introspection support by fixing annotations (#2655)" (#2656)
This reverts commit 47796dcda0.
2022-02-15 10:08:07 +00:00
Corentin Noël 47796dcda0
Enhance the introspection support by fixing annotations (#2655)
* Ensure that double asterisk characters are only used for gtk-doc comments

This triggers warnings when parsing the files with the introspection scanner
and gtk-doc

* Enhance the introspection support by fixing annotations

Also refine the .metadata file

Co-authored-by: John Cupitt <jcupitt@gmail.com>
2022-02-15 09:54:32 +00:00
John Cupitt 33d90b5e26 only enable sanity checks in debug mode
We had a couple of sanity checks always on. As a result, libvips could
get slow for large pipelines.

Move them into g_assert().
2019-03-01 13:01:08 +00:00
John Cupitt bfc339facb make vips_image_write() sever connections
when writing to a non-partial image, vips_image_write() now carefully severs
all connections between the two images on completion

this fixes a couple of cases where we had bad behaviour: writing to a
temp file could leave dangling pointers, see

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

and writing to a memory buffer during copy_memory coud leave dangling
pointers too, see:

https://github.com/jcupitt/ruby-vips/issues/140
2017-10-11 10:02:42 +01:00
Alistair Thomas 7452d046ca Update GObject introspection annotations for libvips/iofuncs directory 2017-09-30 13:31:00 +01:00
John Cupitt 12805808da better fix for the reorder memleak
we could try reordering during image close, and after the arrays had
been freed
2017-02-23 17:35:52 +00:00
John Cupitt f84825a634 fix a small memleak in reorder
if set_input was called more than once, it could leak the arrays

thanks @gczuba!

see https://github.com/jcupitt/libvips/issues/607
2017-02-23 07:50:35 +00: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