Interface Changes
- Remove glog and gflags dependencies. Now abseil-cpp is used.
- ABSL_LOG macros are used instead of S2_LOG
- The indirection could be added back if requested
- ABSL_CHECK macros are used instead of S2_CHECK
- S2_DEFINE_ now forwards to ABSL_FLAG
- ABSL_LOG macros are used instead of S2_LOG
- New files:
- s2chain_interpolation_query
- s2density_tree
- s2gmock_matchers
- s2fractal
- s2shapeutil_count_vertices
- s2shapeutil_edge_wrap
- New S2Shape functions:
- Incoming
- Outgoing
- IncidentOn
- Remove S2Shape::id()
- New predicates in s2predicates.h
- S2Region::GetCellUnionBound is now pure virtual
- Replace S2Testing::Random, which was based on random(3), with
new s2random:: namespace, based on abseil-cpp's random library.
This removes the use of global state. - Use int64_t instead of int64, etc.
- constexpr fixes
- Remove some old SWIG workarounds.
- Now requires abseil-cpp LTS 20240116
- S2Shape derived classes: Add decoding interface with S2Error
- S2Error: Interface is now similar to absl::Status, just with a
different error code type. In the future, this will probably
be replaced by absl::Status. - S2CellId: Made some functions constexpr
- s2edge_crossings: Fix CompareEdges for a case that never happens
- S2Polygon uses new S2LegacyValidQuery to validate geometry.
- S2ValidationQuery: New class
What's Changed
- Avoid deprecated
std::iterator
by @pateldeev in #353 - abseil-cpp supports vlog by @pateldeev in #354
- Update to latest google3 version by @jmr in #360
- Remove unused variable by @MBkkt in #366
- Update to 2024-06-21 google3 version by @jmr in #367
- Fix big endian build by @rschu1ze in #372
- Fix build with libcxx16 by @rschu1ze in #373
- Create and install a cmake config version file by @benbovy in #377
- Fix typos by @mwtoews in #378
- A bazel build and regression harness for s2geometry by @spendres in #361
- apply PEP621 by @zacharyburnett in #388
- Update CMakeLists.txt for python bindings by @andyneff in #394
- s2loop_measures_test: Disable GetSignedArea on arm64 macOS by @jmr in #396
- README.md: Update macOS instructions by @jmr in #397
- Fix macos build error by @andyneff in #399
- #402 update googletest for bazel build by @spendres in #404
- Update to latest google3 version by @jmr in #403
- Suggested fix for linking by @andyneff in #405
- automatically build library with
cmake
and test withctest
by @zacharyburnett in #390 - Skip GetSignedArea.ErrorAccumulation test on macOS by @jmr in #407
New Contributors
- @pateldeev made their first contribution in #353
- @rschu1ze made their first contribution in #372
- @benbovy made their first contribution in #377
- @mwtoews made their first contribution in #378
- @spendres made their first contribution in #361
- @zacharyburnett made their first contribution in #388
- @andyneff made their first contribution in #394
Full Changelog: v0.11.1...v0.12.0