Commit Graph

161 Commits

Author SHA1 Message Date
b49c062fa4 New upstream version 2.10.34 2023-03-01 18:41:57 -05:00
30c23df646 New upstream version 2.10.32 2022-08-01 09:14:18 -04:00
52519f1290 New upstream version 2.10.30 2021-12-27 21:32:02 -05:00
1ff0cc1f5c New upstream version 2.10.28 2021-09-19 12:12:14 -04:00
6c74aa8490 New upstream version 2.10.24 2021-07-18 14:31:43 -04:00
c6b46b63b5 New upstream version 2.10.20 2020-08-26 11:05:56 +01:00
8e7900cbf2 New upstream version 2.10.18 2020-03-29 00:23:03 -04:00
Ell
860415b0f8 libgimpmath: fix unsorted line in gimpmath.def
(cherry picked from commit 75838a59a8)
2020-02-16 00:34:25 +02:00
Ell
54a95ab75b libgimpmath: add gimp_matrix3_equal()
... which compares two matrices.
2020-01-16 00:35:06 +02:00
Ell
628833426a libgimpmath: add version annotations to new matrix functions 2020-01-15 18:25:06 +02:00
Ell
27ad1316dd libgimpmath: add new matrix functions to .def file
... and fix docs for gimp_matrix4_transform_point().

(cherry picked from commit 9d015b7b1a)
2020-01-07 10:04:08 +02:00
Ell
2412b5fc99 libgimpmath: add various GimpMatrix4 functions
Add gimp_matrix4_{identity,mult,transform_point}().
2020-01-06 23:10:04 +02:00
Ell
d546e3b813 libgimpmath: add various GimpMatrix2 functions
Add gimp_matrix2_{determinant,invert,transform_point}().
2020-01-06 23:10:04 +02:00
b4569d3b18 New upstream version 2.10.12 2019-10-13 20:52:44 -04:00
a831531d88 New upstream version 2.10.8 2018-11-08 20:11:56 -05:00
4e58d00eae libgimpmath: fix typo in various places: s/orthognal/orthogonal/.
(cherry picked from commit 4dc45f9658)
2018-11-07 23:40:53 +01:00
9bb61b2a3c New upstream version 2.10.6 2018-08-20 09:59:39 -04:00
a88c0ffb93 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
efdf9e63ac New upstream version 2.10.2 2018-05-20 22:48:19 -04:00
07c3f6bee3 New upstream version 2.10.0 2018-04-27 11:44:24 -04:00
566351d422 New upstream version 2.10.0~RC2 2018-04-19 11:58:35 -04:00
6ee700fd3d New upstream version 2.10.0~RC1 2018-03-28 12:37:30 -04:00
4e910d9e95 New upstream version 2.8.22 2018-03-28 09:56:30 -04:00
Ell
23f6369658 libgimpmath: remove gimp_matrix3_will_explode()
It's no longer needed since last commit, and since it's new in
2.10, we might as well remove it.

This reverts the rest of 768d06614f.
2018-01-28 16:37:34 -05:00
Ell
e9f45798d0 libgimpmath: add SAFE_CLAMP() macro
The SAFE_CLAMP() macro is similar to CLAMP(), however, its result
is always within the specified range, even if the input is NaN.
2017-11-19 07:12:28 -05:00
Ell
80a526861f Bug 788461 - Selection with a Fixed size is created with an ...
... off-by one size in special cases

The last commit wasn't drastic enough.  We changed SIGNED_ROUND()
to use RINT(), which, in turn, may use rint().  However, rint()
effectively breaks ties to even, so that we get stuff like
'rint (1.5) - rint (0.5) == 2.0 - 0.0 == 2.0'.  This can't be
good--it's entirely possible that we're bitten by this in other
cases without noticing.

Avoid rint() entirely in RINT(), and always use 'floor (x) + 0.5'
instead, which always breaks ties up.  Hopefully, this doesn't
break anything else...
2017-10-05 17:50:07 -04:00
Ell
e8b37a7a25 Bug 788461 - Selection with a Fixed size is created with an ...
... off-by one size in special cases

SIGNED_ROUND(), which is used by GimpToolRectangle, among other
things, used to round negative values which lie exactly between
two integers, i.e., -foo.5, down.  This could lead to the rectangle
being one pixel bigger than expected, in either dimension, when one
of its edges had a negative coordinate, and the opposite edge had a
positive coordinate.

Fix SIGNED_ROUND() to always round such values up, regardless of
sign.
2017-10-05 16:16:09 -04:00
caef6d0deb libgimp*: various doc fixes 2017-06-03 21:22:12 +02:00
a24a6dd1fc Makefile: fix VPATH builds for win32.
(cherry picked from commit 8c1cd7caac)
2017-03-07 00:06:54 +01:00
b364563165 New upstream version 2.8.20 2017-03-04 16:10:34 -05:00
768d06614f Bug 316479 - The Perspective Tool creates an empy image...
...instead of transforming it

Add gimp_matrix3_will_explode() which determines if a transform
matrix will blow up something in a rectangle to infinity, and use
the function so set both the GIMP and GEGL code paths to clip the
transform to the input size.
2016-11-08 17:26:21 +01:00
f5ecc53f3e Fix a lot of warnings all over the place
Deprecated stuff, unused variables. Includes parts of a patch from
Shlomi Fish from bug #768855.
2016-10-31 01:36:35 +01:00
7c6d74dc87 Imported Upstream version 2.8.18 2016-07-14 16:43:52 -04:00
dd9b0fc55b Bug 768044 - Fix many typos
This fixes many typos in comments and one in a user-visible string (msgid
"center abscisse" changed to "center abscissa" in affected po files. too).
2016-06-26 00:35:24 +02:00
66d1b776a9 Imported Upstream version 2.8.16 2015-11-24 14:17:30 -05:00
8005eea835 Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
24da0007a4 libgimp*: some API doc fixes 2015-05-31 14:40:20 +02:00
bf2f572083 Imported Upstream version 2.8.14 2014-09-20 13:16:57 -04:00
8c1cd7caac Makefile: fix VPATH builds for win32. 2014-09-14 18:28:26 +02:00
06b2dd35c2 libgimpmath: fix formatting in gimpmatrix.h 2014-07-14 22:55:26 +02:00
b54b59c9e8 Use EXTRA_foo_DEPENDENCIES for adding .def files
The foo_DEPENDENCIES rule replaces the default dependencies, where
EXTRA_foo_DEPENDENCIES just appends to it. This was causing libgimp
and libgimpui to build out of order.
2014-03-15 14:23:38 -07:00
13ee151a1e libgimp*: use LIBADD and DEPENDENCIES consistently in all Makefiles 2014-03-14 22:39:51 +01:00
b8aa0b67d1 Imported Upstream version 2.8.10 2013-12-04 20:45:50 -05:00
a7debe0231 Imported Upstream version 2.8.6 2013-07-01 20:23:15 -04:00
ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
ba98aedcb1 Bug 680290: -90 degree rotation distortion of layer
The previous code did not consider that a transformation
described by a matrix with non integer values in the 3rd
column or by a non affine matrix requires interpolation

and make floating point arithmetic rounding errors
consistent with INTERPOLATION_NONE
2013-06-01 17:07:24 +02:00
606532f5a8 Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
(cherry picked from commit 4a5a6ef914)
2013-02-13 00:27:36 +01:00
4a5a6ef914 Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
2013-02-13 00:08:39 +01:00
3e7e28c5ef Imported Upstream version 2.8.2 2012-09-09 22:04:14 -04:00
f03e90f6fe Imported Upstream version 2.8.0 2012-05-05 12:33:49 +02:00