summaryrefslogtreecommitdiff
path: root/src/3rdparty/clipper
Commit message (Collapse)AuthorAgeFilesLines
* Add actual text of Boost Software LicenseKai Koehne2020-08-261-0/+27
| | | | | | | | | | [ChangeLog][Third-Party Code] Added actual license text of Boost Software License (used in Clipper Polygon Clipping Library) Pick-to: 5.15 Pick-to: 5.12 Change-Id: Ie4bfc92541eaac3844a8a75044e2ba60a89adaaa Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add missing overrideAlexander Volkov2020-06-291-1/+1
| | | | | Change-Id: Ieae01bc4669cdd503f97399c622989795a0ad734 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Improve the Clipper dependency’s qt_attribution.json fileNicolas Ettlin2018-07-051-4/+4
| | | | | | | | | | | | | | This commit fixes many issues in the qt_attribution.json file of the Clipper dependency: - It adds a new description to match the Clipper project (the old one referred to the Clip2Tri project) - It changes the website URL so the Clipper project is easier to find - It adds a version number field - It updates the Copyright field to match the version used in Qt Task-number: QTBUG-69262 Change-Id: I661a9b81609bc4fb02d15b2139390991505e1c82 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Use appropriate qmake flags for optimizationsAllan Sandfeld Jensen2017-05-241-5/+4
| | | | | | | | | | Using optimize_full gives us -O3 also on icc and clang, and -O3 already implies -ftree-vectorize, and -ffast-math already implies unsafe-math- optimizations. Change-Id: Ieb1a6841da1ea3513ae624bf2468554bc62318c9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Rename libclipper namespaceThiago Marcos P. Santos2017-04-102-4/+4
| | | | | | | | | | | So it won't clash with the libclipper used by the Mapbox GL plugin when linking Qt with -static. With -static, all the plugins are linked together instead of each one having its own shared library, thus, hiding private symbols. Change-Id: I33ee4afd4b83741c5f3fae32a88da7f4a7fee75f Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Disable warnings in third-party codeThiago Macieira2017-04-031-1/+1
| | | | | | | | | | We don't care to fix them. clipper.cpp:3665:13: warning: unused variable 'firstLeft' [-Wunused-variable] sweep.cpp:706:8: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] Change-Id: I27b55fdf514247549455fffd14b17ba6040ac332 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Update clipper 3rd party libraryPaolo Angelelli2017-01-192-907/+930
| | | | | | | | | | | This patch updates the 3rdparty clipper lib The version of clipper that this patch introduces is 6.4, with SHA1: e03b24c05a322ab91fecee8240532616bd0727ee Change-Id: I957c63249ece74b2861dd2b99879db40c0636fa1 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Document licenses of Qt LocationPaolo Angelelli2016-09-232-0/+34
| | | | | | | | | | | | Add qt_attribution.json files for 3rdparty code in Qt Location, and list the attributions in the index file. Also document the different licenses the module is available under as a whole. The _legal.qdoc files apparently weren't included anywhere, and have been removed. Change-Id: I56e8b75ae044954c745b2fde6f7cd4c1e80ec1b3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix for crash on tessellation of self-intersectiong GeoPolygonsPaolo Angelelli2016-06-153-0/+5020
QtLocation makes use of a 3rd party library for polygon tessellation, poly2tri. This library is known to be weak in handling complex input, like, for example, polygons with self intersecting edges. Sanitizing the input data through clipper solves the problem, and it has already been implemented in the clip2tri library, which this patch includes and uses. Task-number: QTBUG-52076 Change-Id: I071a58e202345bc71da583995f7245361f00e8c4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>