[Git][debian-gis-team/aggdraw][upstream] New upstream version 1.3.18

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Oct 21 14:11:58 BST 2023



Antonio Valentino pushed to branch upstream at Debian GIS Project / aggdraw


Commits:
55848fe6 by Antonio Valentino at 2023-10-21T13:04:31+00:00
New upstream version 1.3.18
- - - - -


3 changed files:

- CHANGELOG.md
- agg2/include/agg_trans_affine.h
- setup.py


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,13 @@
 # The aggdraw Library
 
+## Version 1.3.18
+
+- Remove "register" keyword from AGG C++ for compiler compatibility
+
+## Version 1.3.17
+
+- Fix Python 3.12 compatibility
+
 ## Version 1.3.16
 
 - Build changes to support for Python 3.12


=====================================
agg2/include/agg_trans_affine.h
=====================================
@@ -251,7 +251,7 @@ namespace agg
     //------------------------------------------------------------------------
     inline void trans_affine::transform(double* x, double* y) const
     {
-        register double tx = *x;
+        double tx = *x;
         *x = tx * m0 + *y * m2 + m4;
         *y = tx * m1 + *y * m3 + m5;
     }
@@ -259,9 +259,9 @@ namespace agg
     //------------------------------------------------------------------------
     inline void trans_affine::inverse_transform(double* x, double* y) const
     {
-        register double d = determinant();
-        register double a = (*x - m4) * d;
-        register double b = (*y - m5) * d;
+        double d = determinant();
+        double a = (*x - m4) * d;
+        double b = (*y - m5) * d;
         *x = a * m3 - b * m2;
         *y = b * m0 - a * m1;
     }


=====================================
setup.py
=====================================
@@ -21,7 +21,7 @@ from sysconfig import get_config_var
 from packaging.version import Version
 from setuptools import setup, Extension
 
-VERSION = "1.3.17"
+VERSION = "1.3.18"
 
 SUMMARY = "High quality drawing interface for PIL."
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/55848fe6058872f44786acac6b6a52baad77aafe

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/55848fe6058872f44786acac6b6a52baad77aafe
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20231021/5364fbbb/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list