lib2geom:master

Last commit made on 2024-03-17
Get this branch:
git clone -b master https://git.launchpad.net/lib2geom

Branch merges

Branch information

Name:
master
Repository:
lp:lib2geom

Recent commits

ac32823... by PBS

Port toys to GTK4

d4cd02d... by PBS

Update build flags for GTK4

8ce70e2... by SK1PPR <email address hidden>

Add tests for setFinal and setInitial

e63f59c... by SK1PPR <email address hidden>

Fix setFinal crash on empty path

Crash was caused by addressing of illegal index of array (-1).

efe3223... by PBS

Stop Bernsteins from breaking ODR

There are two conflicting definitions of the Bernsteins class.
Put each of them in an anomymous namespace to fix the ODR violation.

Fixes https://gitlab.com/inkscape/lib2geom/-/issues/71

b1120d3... by PBS

Switch to ninja build

This mysteriously fixes the coverage job.

fda01fe... by PBS

Explicitly specify search paths in CodeCoverage.cmake

Use --gcov-object-directory, or it defaults to --gcov-object-directory
and --root, the latter of which picks up other build directories.

273ad94... by PBS

Bump C++ version to C++20

C++20 error fixes:
* Remove superfluous template arguments on constructors.
* Repeat EdgeLabel concept for each out-of-line function definition.
* Explicitly qualify Geom::integrate and Geom::lerp.
* Use nullptr instead of NULL as variadic argument sentinels.

Other error fixes:
* Disable files that include the non-standard libaffa <aa.h> header.

C++20 warning fixes:
* Use NVI for Curve equality operator to fix ambiguity warnings.
* Ambiguous ShearBase equality operator due to Base-Derived arguments.
* Fix implicit capture of 'this' warnings for lambdas.
* Fix enum used in arithmetic by inserting a conversion to int.

Other warning fixes:
* Catch polymorphic exception types by const reference, not by value.
* Remove some unused variables.
* Fix uninitialised 'size' variable potentially passed to printf.
* Fix off-by-one buffer overflow due to null terminator.
* Replace deprecated G_APPLICATION_FLAGS_NONE.
* Fix use of uninitialised 'side' with assert(false) on default case.

Bonus:
* Remove no-longer necessary typenames / qualifications in PlanarGraph.

82de4fa... by Marc Jeanmougin <email address hidden>

Bump master version to 1.4

Inkscape current master (future 1.4) cannot be compiled with 2geom 1.3

8a246a8... by Hendrik Roehm <email address hidden>

Add timesWithRadiusOfCurvature to bezierCurve