Skip to content

Conversation

jmr
Copy link
Member

@jmr jmr commented Apr 2, 2024

  • 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
  • New files:
    • s2chain_interpolation_query
    • s2density_tree
    • s2gmock_matchers
    • s2fractal
    • s2shapeutil_count_vertices
    • s2shapeutil_edge_wrap
  • Requires abseil-cpp LTS 20240116
  • New S2Shape functions:
    • Incoming
    • Outgoing
    • IncidentOn
  • Remove S2Shape::id()
  • New predicates in s2predicates.h
  • S2Region::GetCellUnionBound is now pure virtual

jmr added 2 commits March 22, 2024 21:21
* Remove glog and gflags dependencies; use abseil-cpp instead.
  * Use ABSL_LOG macros instead of S2_LOG
  * Use ABSL_CHECK macros instead of S2_CHECK
* Require abseil-cpp LTS 20240116
* Remove Python SWIG.  (This will be maintained in the github branch.)
* Add new files:
  * s2chain_interpolation_query
  * s2density_tree
  * s2gmock_matchers
  * s2fractal
  * s2shapeutil_count_vertices
  * s2shapeutil_edge_wrap
* Remove S2Shape::shape(int)
* Add new predicates in s2predicates.h
* Make S2Region::GetCellUnionBound pure virtual
* Add new S2Shape functions
* Removed 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
* New files:
  * s2chain_interpolation_query
  * s2density_tree
  * s2gmock_matchers
  * s2fractal
  * s2shapeutil_count_vertices
  * s2shapeutil_edge_wrap
* Requires abseil-cpp LTS 20240116
* New S2Shape functions:
  * Incoming
  * Outgoing
  * IncidentOn
* Removed S2Shape::id()
* New predicates in s2predicates.h
* S2Region::GetCellUnionBound is now pure virtual
@smcallis
Copy link
Contributor

smcallis commented Apr 2, 2024

Whooo thanks Jesse.

@jmr jmr merged commit 418c558 into google:master Apr 4, 2024
@iljya
Copy link

iljya commented Apr 16, 2024

I believe that after this commit, the project no longer compiles with C++14. At least I got errors with this file:
src/s2/util/gtl/requires.h

With C++17 it works. C++14 is claimed to be supported in a number of places, like the README and CMakeLists.txt. I'm not sure if this was intended and simply the documentation should be updated, or not intended.

@jmr
Copy link
Member Author

jmr commented Apr 17, 2024

That's a mistake. I'll make a new PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants