Commit Graph

27 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 29d073c04c now compiles cleanly with -Wstrict-prototypes
some downstream packages were seeing lots of spurious warnings
2015-01-21 09:02:56 +00: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 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
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 fcf052ab09 new sinkmemory works, more png fixing 2012-02-17 17:12:51 +00:00
John Cupitt a5b3eb2040 amke vips_cache() a vips8 operation 2012-01-13 13:15:56 +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 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 553ccc9e45 deprecate wrap*()
move im_wrapone() etc. to deprecated (or vips7compat), we'll use an
operation class instead
2011-03-25 12:23:19 +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
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 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 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 0d2bdac332 gtk-doc fixes 2010-10-22 13:49:36 +00:00
John Cupitt 56c1c9c036 im_iterate() has an optional threadpool backend too 2010-04-09 16:51:45 +00:00
John Cupitt cd9bdf48c0 stuff 2010-04-01 12:42:37 +00:00
John Cupitt 1082e5b0f1 finished iofunc docs 2009-10-22 12:02:27 +00:00
John Cupitt f9adf20874 gtkdoc comments for check 2009-10-12 15:27:18 +00:00
John Cupitt c7e973b4db stuff 2009-10-11 21:43:22 +00:00