Kleis Auke Wolthuizen
0629a5de7f
Ensure consistent formatting of `->format_table` ( #3199 )
2022-11-30 09:41:05 +00:00
Kleis Auke Wolthuizen
bae0342d95
Update C++ binding and function list ( #2851 )
...
* Update C++ binding and function list
Also, start with a capital letter in descriptions whenever possible.
* Ensure `dzsave_target` is generated
2022-06-10 14:43:44 +01:00
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
John Cupitt
7b26bd1fdf
add more "const" decls
2020-03-05 13:41:41 +00:00
John Cupitt
0b3ece5b42
new constants code now passes all tests
2019-08-21 16:36:18 +01:00
John Cupitt
ed2054dbbc
revise arithmetic with const
...
there's a problem with out of bounds values, for example:
vips relational_const k2.jpg x.v equal 1000
actually finds pixels == 255, since 1000 is saturated converted to 255
before the test starts.
This patch reworks arithmetic against const values to fix this.
2019-08-21 10:35:48 +01:00
Alistair Thomas
9303ee2511
Update GObject introspection annotations for /libvips/arithmetic directory
2017-09-20 10:36:21 +01:00
John Cupitt
51f96ce9af
argh revert the arg order change
...
we need to patch bindings instead
2017-03-13 08:24:06 +00:00
John Cupitt
205fb817e8
change three C API funcs to match Python/C++/CLI
...
vips_math2_const(), vips_boolean_const() and vips_relational_const() had
the const and oper args reversed from the Python/CLI/C++ API
add something to check for arg priority conflicts and resolve the
conflicts it found
2017-03-07 14:28:31 +00:00
John Cupitt
07a1903390
use g_assert_not_reached()
...
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
John Cupitt
bb50478d77
fix more, moreeq
...
there was a problem with operation caching in complex programs because of
the way we were swapping pointers
2014-09-17 11:21:34 +01:00
John Cupitt
de594151a5
rename NOTEQUAL as NOTEQ
...
since <= is LESSEQ
python has some relational overloads now
2014-09-16 17:25:20 +01:00
John Cupitt
573b94e3ec
more docs argh
2014-08-19 17:57:27 +01:00
John Cupitt
4167bdf0e6
small operation description fixes
...
more consistency, fix a couple of missing ones
2014-02-03 09:25:09 +00:00
John Cupitt
4aedd7cd16
put the ORC stuff back in arithmetic
...
ready to use on linear.c
2013-12-03 12:39:13 +00:00
John Cupitt
0bb052414a
use plain "restrict"
...
configure changes this to __restrict__ for us, if the compiler supports
it
2013-12-03 08:53:36 +00:00
John Cupitt
7c43e3d332
remove the orc stuff from arithmetic
...
no faster than gcc auto vec
2013-12-02 11:22:08 +00:00
John Cupitt
dccc5d5180
add __restrict__ markup to loop pointers
...
helps auto-vec
also remove a couple of if()s from inner loops, again, helps auto-vec
2013-11-30 13:55:10 +00:00
John Cupitt
f0d4760560
redo correlation funcs as classes
...
im_fastcor()
im_spcor()
im_gradcor()
though gradcor we just deprecate, it's complex and hardly used ...
rework later is anyone complains
2013-11-08 14:09:42 +00: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
ee8d11ec6b
small cleanups
2012-12-07 11:32:33 +00:00
John Cupitt
26f2105e5b
make everything LGPL2.1+
...
some files were incorrectly tagged as GPL, thanks Dmitry
2012-09-17 11:52:32 +01:00
John Cupitt
cd1b215579
vips8 more/moreeq were broken
...
The code to swap the args and use less instead was wrong.
2012-07-16 14:09:03 +01:00
John Cupitt
8344dbb808
complex ==, != was broken
...
argh the broken test suite was hiding some nasties
2012-03-01 14:09:52 +00:00
John Cupitt
d0ec401a12
hackery to get goi working
2011-12-31 18:22:42 +00:00
John Cupitt
3b238d4e7e
finish revising new docs
2011-11-18 14:34:33 +00:00
John Cupitt
3c608233e5
moved remainder over to a class
2011-11-12 13:29:32 +00:00
John Cupitt
827e5311c1
finish unaryconst, move relational to it
2011-11-11 21:54:45 +00:00
John Cupitt
d9e2920cf8
started adding unaryconst operators
2011-11-11 14:44:35 +00:00
John Cupitt
26ae049d91
redo binary relational as a class
2011-11-11 13:45:12 +00:00