Commit Graph

34 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen 07edfe37b1
Improve symbol visibility (#2688)
* Improve symbol visibility

* Decorate required internal symbols with VIPS_API

* Remove a couple of stray header decls

* Incorporate review comment

- Ensure symbol visibility is also set on static libraries.
- Prefer to use `cc.has_function_attribute('visibility:hidden')`.

* Don't export internal deprecated symbols

* Move deprecated symbols to vips7compat.h

* `IM_FORMAT_H` -> `VIPS_FORMAT_H`

* Move `vips_window_ref` compat stub to `vips7compat.c`

* Disable deprecation warnings internally

* `vips_image_get_kill` -> `vips_image_iskilled`

* Ensure API compatibility

* Add missing include directives

* Move `vips__init` decl to vips7compat

* Move `vips__get_sizeof_vipsobject` to vips7compat

* Fix introspection build

* Fix 2 introspection warnings

* Ensure compatibility with vipsdisp

/usr/bin/ld: tilesource.o: in function `tile_source_new_from_source':
vipsdisp/tilesource.c:1627: undefined reference to `vips__region_no_ownership'
2022-04-16 10:58:55 +01: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 f637206e8d move vips_threadpool_push to internal API
and rename as vips__thread_execute()
2021-05-17 08:42:39 +01:00
Kleis Auke Wolthuizen 80e0cc3d12 Reuse threads by using GLib's threadpool 2021-05-03 13:21:45 +02:00
John Cupitt 7938903d22 don't size caches by image width
we were sizing buffers partly by image width, which could cause caches
to be too small if width changed down a pipeline

see https://github.com/jcupitt/libvips/issues/639
2017-04-23 08:31:16 +01:00
John Cupitt fc9322f71b move concurrency_set into the public API
oops, it was off in threadpool and wasn't being scanned
2016-09-09 08:52:14 +01:00
John Cupitt 9c18f1b4d5 yet mmore doc fixes
classes are working again in gtk-doc, yay
2016-07-13 22:39:16 +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 573b94e3ec more docs argh 2014-08-19 17:57:27 +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 b34c07a88f reorganise sink base class
the thread state made by sinkmemory was missing a member needed by the
base class ... move ->stop into vips thread state
2011-11-02 10:27:33 +00:00
John Cupitt 2909cb93a4 add a 'stop' param to generate
generate now has a 'stop' param, set this to indicate early successful
termination

this will be used by VipsMin and friends to stop scanning early for
conditions like seen a 0 in a uchar image while searching for min
2011-08-29 14:29:33 +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 56840af97d fix im_cache
im_cache updated
2011-03-25 12:52:48 +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 3d55a7876c half-way though moving REGION
init / dest / type need to be done
2011-03-02 21:53:32 +00:00
John Cupitt 0d2bdac332 gtk-doc fixes 2010-10-22 13:49:36 +00:00
John Cupitt fdbdba432b strip out threadgroup 2010-04-16 21:21:15 +00:00
John Cupitt 54730feadc im_vips2tiff() uses vips_sink() instead of threadgroup 2010-04-16 15:48:30 +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 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 0194d803e2 stuff 2010-03-22 15:38:17 +00:00
John Cupitt 55541cdfc8 stuff 2010-03-21 22:39:47 +00:00
John Cupitt 2bbcf5aa5e threadpool progress feedback 2010-03-21 13:54:56 +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 6d0e4b73e8 experimental threadpool 2010-03-17 16:16:26 +00:00