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
Kleis Auke Wolthuizen
50a74ceeec
Mark some functions and variables as static ( #2691 )
...
These are only used in the same file, and not exported.
2022-02-27 13:41:39 +00:00
Kleis Auke Wolthuizen
2735b71292
Simplify preprocessor directives
2021-04-22 12:04:05 +02:00
Kleis Auke Wolthuizen
fb61f0fa44
Define ENABLE_DEPRECATED in config.h
...
Do not check for VIPS_ENABLE_DEPRECATED as it could
come from an earlier version of libvips.
2020-07-07 12:16:43 +02:00
Kleis Auke Wolthuizen
230d2acfea
Disable IM_* environment variables when --disable-deprecated
2020-06-18 14:15:37 +02:00
John Cupitt
4cf8246312
remove some dbg code
2019-11-07 07:29:44 +00:00
John Cupitt
04280fd837
test for orc 0.4.31
...
the version that should start working again, hopefully
2019-11-06 23:22:17 +00:00
John Cupitt
75e69cc1e5
disable Orc if CET is on
...
If we are building with -fcf-protection (run-time checking of
indirect jumps) then Orc won't work. Make sure it's off.
Orc may support -fcf-protection in the future, but does not in June 2019.
https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcf-protection
https://gitlab.freedesktop.org/gstreamer/orc/issues/17
see https://github.com/libvips/libvips/issues/1006#issuecomment-501802550
2019-06-14 14:22:00 +01: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
e45c5a587e
int vector path done
...
seems to sort-of work
2016-06-29 17:49:02 +01:00
John Cupitt
bd7bad1916
almost done vector path
2016-06-28 11:07:20 +01:00
John Cupitt
3115310bb7
fix no-orc builds
2016-03-26 10:45:31 +00:00
John Cupitt
ba3ae9e671
finished!
...
fix up preciscion and signedness issues, simpler inner loop
2016-03-21 11:08:38 +00:00
John Cupitt
57cba39607
switch to 2.6 bits
...
almost working
2016-03-20 22:29:25 +00:00
John Cupitt
74984f1049
off by one error
...
didn't always write the output
2016-03-19 10:37:02 +00:00
John Cupitt
05156edd15
add orc path for reducev
...
works, but still not quite right, see some banding
2016-03-18 17:41:51 +00:00
John Cupitt
a57cccbf0f
fix with orc-0.4.11
2015-12-08 15:33:57 +00:00
John Cupitt
06a627fc51
fix against older orcs
...
oops, older orcs don't have those limit constants
2015-12-08 15:16:52 +00:00
John Cupitt
a0ead35bbb
possible improve orc stability
...
mutex around calls to the orc compiler, check more error returns, use
limits from the orc headers
2015-12-08 14:57:48 +00:00
John Cupitt
3faffa4c54
reenable orc program free
...
The bug has been fixed, see:
https://bugzilla.gnome.org/show_bug.cgi?id=731227
Summary:
orc pre-0.4.19 leaks
orc 0.4.19 crashes
orc 0.4.20+ has few leaks and does not crash
2014-06-05 08:51:31 +01:00
John Cupitt
a1db626713
turn off orc program free
...
stops a crash, makes a memleak
see https://bugzilla.gnome.org/show_bug.cgi?id=731227
2014-06-04 18:53:55 +01:00
John Cupitt
f1f6bde680
option to trace all orc calls
...
used to generate the program here:
https://bugzilla.gnome.org/show_bug.cgi?id=731227
2014-06-04 18:51:53 +01:00
John Cupitt
23911afb1c
add more orc debugging
2014-06-04 15:05:23 +01:00
John Cupitt
d990f5cf77
fix some crashes in orc by not freeing orc stuff
...
a leak is better than a crash :( or build vips without orc if you don't
want a leak either
lots of stuff along the lines of:
==13114== Invalid write of size 8
==13114== at 0xB81B229: orc_code_chunk_merge (orccodemem.c:107)
==13114== by 0xB82B13D: orc_code_free (orccode.c:33)
==13114== by 0xB81B89A: orc_program_free (orcprogram.c:175)
==13114== by 0x6508AA4: vips_vector_free (vector.c:106)
2014-06-02 09:34:55 +01:00
John Cupitt
ee88271d06
use VIPS_ prefix for env vars
...
stuff
2014-04-26 19:59:20 +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
8f364a8b51
rename some _get funcs
...
all the _get_ funcs that returned a bool have become _isthing()
functions, eg.
vips_object_argument_get_assigned() ->
vips_object_argument_isset()
2012-11-09 13:08:59 +00:00
John Cupitt
fd160a4793
oops remove a print
...
left some debugging in
2012-03-13 13:44:51 +00:00
John Cupitt
b8d977544c
lower I thresh for orc compile
...
fixes a segv with very large and complex morph masks
2012-03-13 13:11:06 +00:00
John Cupitt
d0ec401a12
hackery to get goi working
2011-12-31 18:22:42 +00: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
2a66c50410
mostly working
2011-05-11 22:07:30 +01:00
John Cupitt
03d54dd099
im_conv() bug fixed
...
there was a typo in overflow estimation which could cause vips to use
the vector path when it should not, resulting in errors
2011-05-09 16:56:41 +01:00
John Cupitt
4120f7b296
cleanup util
...
just a few little things left, yay
2011-03-28 16:03:31 +01:00
John Cupitt
ab427d906b
iofuncs compiles
...
except for a reset thing we need argh
2011-03-03 17:54:08 +00:00
John Cupitt
b0f162478f
more im_conv improvements
2010-11-18 12:36:49 +00:00
John Cupitt
c1b197bc54
oops orc disabling
2010-11-17 12:32:54 +00:00
John Cupitt
425795a8c8
multipass mode for im_conv()
2010-11-08 17:24:58 +00:00
John Cupitt
25267f26eb
stuff
2010-11-05 20:42:56 +00:00
John Cupitt
526590d244
fix vector stuff
2010-11-05 10:52:29 +00:00
John Cupitt
3dfc8d8ee2
stuff
2010-11-04 17:30:49 +00:00
John Cupitt
5bedec65da
argh
2010-11-04 14:54:23 +00:00
John Cupitt
f930fe061b
use names less in orc
2010-11-04 13:50:20 +00:00
John Cupitt
f3b5bfde80
merge orc branch
2010-11-01 17:46:47 +00:00