Commit Graph
15 Commits
Author SHA1 Message Date
Marek Gilbert ef59c11f82 Merge branch 'abseil-mirror' into merge
Add StrCat, StrJoin and the rest of //strings from abseil-cpp (#756)

From abseil-cpp version bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 10:06:42 -08:00
Marek Gilbert 53a125580d Merge commit 'abseil-mirror' into merge
Update abseil-cpp to a new upstream (#754)

Update to bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:43:24 -08:00
Gil 582e4baf37 Add StrCat, StrJoin and the rest of //strings from abseil-cpp (#756)
From abseil-cpp version bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:35:10 -08:00
Gil 28850292d4 Update abseil-cpp to a new upstream (#754)
Update to bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:28:30 -08:00
Gil 39d8252300 Port comparison to C++ (#678)
This reimplements our comparison functions as C++ Comparators and then provides compatibility shims for interoperating with existing Objective-C usage.

A few specialized comparators aren't suitable for porting but only have a single usage (e.g. CompareBytes for comparing NSData * instances). In these cases I've moved them into the caller.

* Use int32_t for typeof(ID) in FSTDocumentReference

* Migrate callers of FSTComparison.h to Objective-C++

* Port comparison to C++

* Migrate usages of FSTComparison.h to C++ equivalents

* Remove FSTComparison
2018-01-19 12:27:11 -08:00
Gil 0f6103e404 Port StringPrintf from //base (#624)
* Port StringPrintf from //base.

  Prefer this to approaches based on variadic templates. While the variadic
  template mechanisms are strictly safer, they result in binary bloat we
  can't afford.

  This is essentially the same StringPrintf previously open sourced as a
  part of protobuf, though updated for C++11 which saves a copy and a
  temporary buffer on the heap.

* Add abseil as a subdirectory of Firestore

  This saves having to redefine all the libraries that abseil defines as
  imported libraries.

* Rename firebase_firesture_util_log_* targets

  Cut the log out of the name to reflect that these will get more
  components besides just logging.
2018-01-08 08:57:36 -08:00
Marek Gilbert 3bc5488644 Add absl/base/internal/endian.h back into the build 2017-12-09 17:42:16 -08:00
Marek Gilbert 035411e3ab Merge branch 'master' into abseil-import 2017-12-09 17:41:58 -08:00
Marek Gilbert cd17b85587 Import absl/base/internal/endian.h 2017-12-09 17:29:26 -08:00
Marek Gilbert 56c8c06594 Fix whitespace 2017-12-08 09:43:13 -08:00
Marek Gilbert e00d46e8c9 Remove commented out code 2017-12-07 17:33:57 -08:00
Marek Gilbert 58ff30b73f Import a subset of abseil sources 2017-12-07 13:02:52 -08:00
Marek Gilbert 36cd94a04f Cut down absl CMakeLists to only include the things we use 2017-12-07 13:02:52 -08:00
Marek Gilbert 1641a0d791 Consume googletest in the standard CMake way 2017-12-07 13:02:52 -08:00
Marek Gilbert 3693d70a24 Remove use of absl::synchronization_internal::ThreadPool 2017-12-07 13:02:52 -08:00