Commit Graph
32 Commits
Author SHA1 Message Date
davidair 4713ddf8df Version updates for 5.2.0 (#1355) 2018-05-30 11:53:51 -04:00
Ryan Wilson 21c17dd188 Bump version numbers for 5.1.0 (#1320)
* Bump version numbers for 5.1.0

* Update push pods script for releasing SDKs.

* Fix Core library version string.
2018-05-23 10:31:30 -04:00
Gil d439bbccd4 Add a HARD_ASSERT C++ assertion macro (#1304)
* Add HARD_ASSERT
* Use HARD_ASSERT
* Remove FIREBASE_ASSERT
* Remove StringPrintf
2018-05-22 13:21:08 -07:00
Paul Beusterien 8bdafd9f14 Version updates for 5.0.1 (#1272) 2018-05-14 07:14:22 -07:00
Paul Beusterien 71aaeb57b1 Remove non-technical FirebaseAnalytics dependencies (#1130) 2018-04-25 08:34:10 -07:00
Paul Beusterien d1ee622dfb podspec updates for Firebase 5 2018-04-25 08:34:10 -07:00
Ryan Wilson 465e9a1f0e Update component versions for 4.12.0 (#1024) 2018-04-04 10:56:23 -04:00
Paul Beusterien d5afb9bbf3 Version bumps for 4.11.0 (#919) 2018-03-14 07:00:34 -07:00
zxu e41f4b1857 Merge Release 4.10.1 into Master (#896)
* Version bumps for Firebase 4.10.1 (#891)

* Minimal fix for b/74357976 (#890)

Fixes b/74357976 which caused unauthenticated users to be unable to reach the Firestore backend and updates the changelog.

* Copy all C++ strings to NSString where they're not obviously safe (#893)

This fixes a known instances of memory corruption where in
FSTLevelDBMutationQueue, the NSString view was retained for later, and
the incorrect user was used, causing b/74381054.

gRPC does not necessarily copy its string argumnets and if our hostname
were configured to a non-default one it's possible that we could corrupt
the host cache too.

All remaining usages of util::WrapNSStringNoCopy are obviously safe:
passed into logging or other known transient usages.

* fix lint
2018-03-09 11:48:07 -05:00
Paul Beusterien 8af210f9df Fix Firestore podspec overlay build (#866) 2018-02-28 09:33:27 -08:00
Paul Beusterien 85dc1d4ec9 Version bumps for Firebase 4.10.0 (#859) 2018-02-27 07:25:18 -08:00
rsgowman aa6f1ae099 Disable -Wrange-loop-analysis for abseil (#807)
absl includes code like this:
```
void fn(std::initializer_list<absl::string_view> pieces) {
  ...
  for (const absl::string_view piece : pieces) total_size += piece.size();
```

clang objects, suggesting that a reference should be used instead, i.e.:
```
  for (const absl::string_view& piece : pieces) total_size += piece.size();
```

But:
a) we don't want to touch absl code
b) string_views are cheap to copy (and absl recommends copying
string_views rather than taking references as it may result in smaller
code)
c) some brief, naive benchmarking suggests there's no significant
different in this case (i.e. (b) is correct.)

Note that -Wrange-loop-analysis is already exlicitly enabled in our
cmake build.
2018-02-16 12:04:06 -05:00
Paul Beusterien ef55eeff42 Require official 1.4.0 for min CocoaPods version (#806) 2018-02-16 07:43:20 -08:00
rsgowman 7a97f6c2ab Enable -Wcomma for our build; disable it for abseil. (#799)
In order to use different cflags for abseil, this patch splits it out
into a subspec within the pod.

The cmake side of things "just works" since Firestore/CMakeLists.txt
includes abseil before setting our compiler flags.
2018-02-16 09:47:30 -05:00
Paul Beusterien ac13e30e63 Version bumps for 4.9.0 (#774) 2018-02-08 09:49:49 -08:00
Rich Gowman 82a65ee12b Fix xcode build errors re nanopb
Involves adding PODS_ROOT/nanopb to include path (to allow include
<pb.h>) and Firestore/Protos/nanopb to include path (to allow include
"google/api/annotations.pb.h" and similar).

In both cases, this is to allow auto-generated code to function
properly.
2018-02-06 13:39:18 -05:00
Gil 32266c5d1c Make sure Firestore/core/include is in the podspec (#748) 2018-02-02 13:12:24 -08:00
Gil 1f77212036 Properly publish Abseil sources as a part of the podspec (#704)
* Properly include abseil sources
* Exclude abseil tests
2018-01-24 20:34:37 -08:00
Gil 9f7c094f9f Add platform detection logic for SecureRandom (#676)
* Add CMake platform detection logic for SecureRandom

Now only builds secure_random_arc4random.cc if available.

Remove firebase/firestore/base/port.h. Nothing else was in that
directory.

* Add a SecureRandom implementation that uses OpenSSL

This is usable on Linux, Windows, and Android

* Properly check return from RAND_bytes
2018-01-19 12:20:46 -08:00
Paul Beusterien cda67e4faa Merge pull request #680 from firebase/release-4.8.1
Merge Release 4.8.1
2018-01-18 13:29:15 -08:00
Gil 2700198d93 Add assert_test to the Xcode build (#671)
* Exclude stdio-backed assert from the Xcode build

* Add assert_test to the Xcode build
2018-01-16 13:16:58 -05:00
Benoit St-Pierre d5012f3fec Version bump for 4.8.1 Release
Updated the version numbers of pods which are being released in 4.8.1
2018-01-11 12:30:04 -05:00
Gil 1ede1c9cb3 Use the log_apple.mm logger from C++ on iOS (#593)
* Add all .mm files in Firestore/core to the build (which matches
  log_apple.mm).
* Exclude log_stdio.cc
* Add log_test.cc to the project
2018-01-01 17:17:53 -08:00
Kyle Ju c7f8d7f8da Merge pull request #576 from firebase/release-4.8.0
Release 4.8.0
2017-12-19 11:08:58 -05:00
Kyle Ju e16c38688b Update component versions for Firebase 4.8.0 (#561) 2017-12-12 17:24:19 -05:00
Gil a4d2614d73 Remove prerelease abseil code (#558)
* Add abseil bits to the iOS build

* Migrate from prerelease to published abseil bits in ordered_code

* Remove prerelease abseil code
2017-12-11 19:50:14 -08:00
Marek Gilbert ed26e832f6 Explicitly handle Firestore/third_party/Immutable
This allows Firestore/third_party to include a mix of Objective-C and
C++ code.
2017-12-07 13:02:52 -08:00
Paul Beusterien 30f0c656c5 Merge pull request #515 from firebase/release-4.7.0
Release 4.7.0
2017-11-30 14:30:35 -08:00
Gil 530437ea7a Move sources into firebase::firestore and internal namespaces (#494)
* Move sources into firebase::firestore and internal namespaces

Combine support and core/util packages; this distinction wasn't really
paying its freight.
2017-11-30 12:26:16 -08:00
rsgowman 072c3ae93d Remove dependency on FirebaseAuth (#505)
We now use the internal core functionality instead.
2017-11-30 13:36:48 -05:00
Paul Beusterien 53d2359f00 Update component versions for Firebase 4.7.0 (#497) 2017-11-28 07:26:57 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00