Commit Graph

22 Commits

Author SHA1 Message Date
John Cupitt 5569022dbd use G_GNUC_* attribute system
Instead of our own compiler attr thing.

see https://github.com/libvips/libvips/issues/2871
2022-09-23 14:37:35 +01:00
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
John Cupitt 55e577a2fb rename nearest as fill_nearest
avoid a clash with the nearest-neighbour interpolator
2017-11-01 15:06:37 +00:00
John Cupitt ae54f35ed1 start tinkering 2017-11-01 13:16:36 +00:00
John Cupitt ecc8f62f6c tiny fix 2014-09-30 13:34:59 +01:00
John Cupitt 025e56c894 im_label_regions() is a class 2014-02-11 14:55:31 +00:00
John Cupitt 5983833caa deprecate im_zerox(), not very useful
morph now done
2014-01-17 18:03:46 +00:00
John Cupitt cd7fcf5cfe redo im_rank() as a class 2014-01-17 14:44:25 +00:00
John Cupitt cb96ed814e redo im_cntlines() as a class 2014-01-17 11:18:05 +00:00
John Cupitt 2e3d7db0e6 switch to new im_compass()
plus im_linedet() and im_gradient()
2013-10-25 13:46:17 +01:00
John Cupitt e74a0b71d9 almost done compass 2013-10-24 14:46:08 +01:00
John Cupitt 2720026a61 redo im_rank_image() as a class 2013-10-23 14:54:22 +01:00
John Cupitt 5475cabbf2 redo im_dilate()/erode() as classes
just a thin wrapper over the vips7 operations for now
2013-10-23 13:15:31 +01:00
John Cupitt b11de1ce22 redo im_profile() as a class
also fix an oops in the new project.c code
2013-09-21 15:21:15 +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 071abecbff rename IMAGE to VipsImage
all headers revised to rename IMAGE as VipsImage, also trimmed some junk
2011-03-10 09:41:45 +00:00
John Cupitt ceb3a6ec5c morph done phew 2010-11-12 11:47:24 +00:00
John Cupitt 60280aa318 various cleanups, remove liboil 2010-07-31 10:35:57 +00:00
John Cupitt 04f01d3e60 deprecate _raw versions 2009-11-05 14:57:30 +00:00
John Cupitt be6306172c stuff 2009-11-05 13:35:21 +00:00
John Cupitt 8200afcbb6 stuff 2009-11-04 17:20:23 +00:00
John Cupitt 42b73f0dc8 stuff 2009-11-03 19:03:47 +00:00